/* ==========================================================================
   MAINTENANCE MAGICIANS — Driveway Sealing Page
   Uses quote.css for shared buttons, header, footer, and utility styles.
   ========================================================================== */

/* ==========================================================================
   1. PAGE BASE
   ========================================================================== */

.mm-driveway-page {
  background: var(--mm-light);
  overflow-x: hidden;
  --header-h: 72px;
}

/* ==========================================================================
   2. SECTION BASE
   ========================================================================== */

.mmd-section {
  padding: clamp(72px, 10vw, 112px) 0;
}

/* ==========================================================================
   3. SCROLL REVEAL
   ========================================================================== */

.mm-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--mm-ease), transform 0.65s var(--mm-ease);
}

.mm-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mm-reveal--delay-1 { transition-delay: 0.08s; }
.mm-reveal--delay-2 { transition-delay: 0.16s; }
.mm-reveal--delay-3 { transition-delay: 0.24s; }
.mm-reveal--delay-4 { transition-delay: 0.32s; }

/* ==========================================================================
   4. SECTION HEADERS
   ========================================================================== */

.mm-section-heading--light {
  color: #fff;
}

.mm-section-sub--light {
  color: var(--mm-text-dim);
}

/* ==========================================================================
   5. HEADER NAV
   ========================================================================== */

.mm-driveway-page .mm-header__nav {
  margin-left: auto;
}

.mm-driveway-page .mm-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mm-driveway-page .mm-nav__link {
  display: block;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.mm-driveway-page .mm-nav__link:hover,
.mm-driveway-page .mm-nav__link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.mm-driveway-page .mm-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.mm-driveway-page .mm-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mm-driveway-page .mm-hamburger__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.25s var(--mm-ease), opacity 0.25s var(--mm-ease);
}

.mm-driveway-page .mm-header__hamburger[aria-expanded="true"] .mm-hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mm-driveway-page .mm-header__hamburger[aria-expanded="true"] .mm-hamburger__bar:nth-child(2) {
  opacity: 0;
}

.mm-driveway-page .mm-header__hamburger[aria-expanded="true"] .mm-hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mm-driveway-page .mm-header__nav.is-open {
  display: block;
}

/* ==========================================================================
   6. HERO
   ========================================================================== */

.mmd-hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  padding: calc(100px + var(--header-h)) 0 88px;
  color: #fff;
  overflow: hidden;
}

.mmd-hero__bg,
.mmd-hero__overlay,
.mmd-hero__decor {
  position: absolute;
  inset: 0;
}

.mmd-hero__bg {
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.06);
  filter: saturate(0.9) contrast(1.04);
  will-change: transform;
}

.mmd-hero__overlay {
  background:
    radial-gradient(circle at 72% 20%, rgba(90, 47, 127, 0.2), transparent 30%),
    radial-gradient(circle at top right, rgba(212, 160, 23, 0.18), transparent 32%),
    radial-gradient(circle at left 28%, rgba(18, 28, 40, 0.36), transparent 34%),
    linear-gradient(108deg, rgba(10, 14, 18, 0.86), rgba(34, 18, 46, 0.58) 44%, rgba(41, 24, 10, 0.8));
}

.mmd-hero__decor {
  pointer-events: none;
}

.mmd-hero__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(26px);
  opacity: 0.32;
}

.mmd-hero__orb--one {
  top: 72px;
  right: 10%;
  width: 240px;
  height: 240px;
  background: rgba(212, 160, 23, 0.2);
}

.mmd-hero__orb--two {
  bottom: 56px;
  left: 6%;
  width: 180px;
  height: 180px;
  background: rgba(74, 95, 127, 0.2);
}

.mmd-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 430px);
  gap: 42px;
  align-items: center;
}

.mmd-hero__content {
  max-width: 720px;
}

.mmd-hero__heading {
  font-family: var(--mm-font-head);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 11ch;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
}

.mmd-hero__sub {
  max-width: 58ch;
  margin: 0;
  font-size: clamp(1.02rem, 1.6vw, 1.14rem);
  line-height: 1.74;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.34);
}

.mmd-hero__checks {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  max-width: 600px;
}

.mmd-hero__check {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(43, 36, 53, 0.94), rgba(62, 51, 75, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 34px rgba(8, 6, 16, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mmd-hero__check-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(212, 160, 23, 0.18);
  color: #ffd369;
  box-shadow: inset 0 0 0 1px rgba(255, 211, 105, 0.12);
}

.mmd-hero__check-copy {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.45;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

/* Hero Card — Booking Status */
.mmd-hero__card {
  background: linear-gradient(180deg, rgba(248, 243, 232, 0.97), rgba(238, 231, 218, 0.95));
  border: 1px solid rgba(56, 33, 17, 0.08);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 28px 80px rgba(8, 10, 14, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mmd-hero__card-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(109, 70, 17, 0.09);
  color: #6d4611;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mmd-hero__card-heading {
  margin: 16px 0 12px;
  font-family: var(--mm-font-head);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: #1b1720;
}

.mmd-hero__card-copy {
  margin: 0 0 18px;
  color: rgba(27, 23, 32, 0.84);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* Booking Status Bar */
.mmd-hero__booking {
  margin-bottom: 22px;
}

.mmd-hero__booking-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.mmd-hero__booking-month {
  font-family: var(--mm-font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: #1b1720;
}

.mmd-hero__booking-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #7a5427;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mmd-hero__booking-bar {
  height: 10px;
  border-radius: 5px;
  background: rgba(44, 34, 26, 0.08);
  overflow: hidden;
}

.mmd-hero__booking-fill {
  height: 100%;
  width: 0;
  border-radius: 5px;
  background: linear-gradient(90deg, #d4a017, #f1cb71);
  transition: width 1.8s var(--mm-ease);
}

.mmd-hero__booking-fill.is-loaded {
  width: var(--booking-pct, 72%);
}

.mmd-hero__booking-pct {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: rgba(27, 23, 32, 0.74);
}

.mmd-hero__card-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.mmd-hero__stat {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(44, 34, 26, 0.08);
}

.mmd-hero__stat strong {
  display: block;
  color: #1b1720;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.mmd-hero__stat span {
  display: block;
  color: rgba(27, 23, 32, 0.68);
  font-size: 0.82rem;
  line-height: 1.4;
}

.mmd-hero__card-cta {
  width: 100%;
  margin-top: 2px;
  justify-content: center;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #2c1734, #472252);
  color: #fff !important;
  box-shadow: 0 16px 36px rgba(44, 23, 52, 0.28);
}

.mmd-hero__card-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.16) 42%, transparent 70%);
  transform: translateX(-135%);
  transition: transform 0.7s var(--mm-ease);
}

.mmd-hero__card-cta:hover,
.mmd-hero__card-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(44, 23, 52, 0.34);
  background: linear-gradient(135deg, #372043, #5a2f6a);
}

.mmd-hero__card-cta:hover::before,
.mmd-hero__card-cta:focus-visible::before {
  transform: translateX(135%);
}

.mmd-hero__card-cta svg {
  position: relative;
  z-index: 1;
  animation: mmd-cta-arrow-nudge 1.8s ease-in-out infinite;
}

.mmd-hero__card-meta {
  margin-top: 12px;
  color: rgba(27, 23, 32, 0.76);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.mmd-hero__card-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(44, 34, 26, 0.09);
  color: rgba(27, 23, 32, 0.78);
  font-size: 0.88rem;
  line-height: 1.55;
}

@keyframes mmd-cta-arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

/* Scroll hint */
.mmd-hero__scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border-radius: 13px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.mm-scroll-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  animation: mm-scroll-bounce 2s ease-in-out infinite;
}

@keyframes mm-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(12px); opacity: 0.3; }
}

/* ==========================================================================
   6. PROOF STRIP
   ========================================================================== */

.mmd-proof {
  margin-top: -18px;
  position: relative;
  z-index: 2;
  padding-bottom: 56px;
}

.mmd-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mmd-proof__item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(90, 47, 127, 0.08);
  box-shadow: 0 18px 40px rgba(18, 11, 33, 0.08);
  transition: transform 0.3s var(--mm-ease), box-shadow 0.3s var(--mm-ease);
}

.mmd-proof__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(18, 11, 33, 0.12);
}

.mmd-proof__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--mm-purple-pale);
  color: var(--mm-purple);
}

.mmd-proof__icon--green {
  background: rgba(45, 134, 83, 0.12);
  color: var(--mm-green);
}

.mmd-proof__icon--gold {
  background: rgba(212, 160, 23, 0.12);
  color: var(--mm-gold);
}

.mmd-proof__number {
  font-family: var(--mm-font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--mm-purple-dark);
  line-height: 1.2;
}

.mmd-proof__label {
  color: rgba(41, 31, 57, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ==========================================================================
   7. DECAY TIMELINE
   ========================================================================== */

.mmd-timeline {
  background:
    radial-gradient(circle at 20% 20%, rgba(212, 160, 23, 0.1), transparent 30%),
    linear-gradient(135deg, var(--mm-purple-deeper), var(--mm-dark));
  color: #fff;
}

.mmd-timeline__track {
  position: relative;
  margin-top: 8px;
}

.mmd-timeline__connector {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--mm-purple-light), var(--mm-gold), #e74c3c);
  border-radius: 2px;
  transition: width 1.6s var(--mm-ease);
  transform: translateY(-50%);
  z-index: 0;
}

.mmd-timeline__connector.is-visible {
  width: 100%;
}

.mmd-timeline__stages {
  display: flex;
  gap: 18px;
  position: relative;
  z-index: 1;
  padding: 20px 0;
}

.mmd-timeline__stage {
  flex: 1 1 0;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px 24px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s var(--mm-ease), transform 0.5s var(--mm-ease), border-color 0.3s;
}

.mmd-timeline__stage.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mmd-timeline__stage--danger {
  border-color: rgba(231, 76, 60, 0.4);
}

.mmd-timeline__stage--danger .mmd-timeline__year {
  color: #ff6b6b;
}

.mmd-timeline__year {
  font-family: var(--mm-font-head);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mm-gold);
  margin-bottom: 14px;
}

.mmd-timeline__icon {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.mmd-timeline__stage h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.mmd-timeline__stage p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.mmd-timeline__cta {
  margin-top: 36px;
  text-align: center;
}

.mmd-timeline__cta p {
  max-width: 620px;
  margin: 0 auto 20px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}

/* ==========================================================================
   8. BEFORE / AFTER COMPARISON SLIDER
   ========================================================================== */

.mmd-compare {
  background:
    radial-gradient(circle at 16% 18%, rgba(212, 160, 23, 0.1), transparent 28%),
    linear-gradient(135deg, #1b1028, #0f1623);
  color: #fff;
}

.mmd-compare .mm-section-heading {
  color: #fff;
}

.mmd-compare .mm-section-sub,
.mmd-compare .mm-eyebrow {
  color: var(--mm-text-dim);
}

.mmd-compare__slider-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.mm-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  cursor: ew-resize;
  box-shadow: 0 24px 60px rgba(18, 11, 33, 0.12);
  user-select: none;
  -webkit-user-select: none;
}

.mm-slider__before,
.mm-slider__after {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.mm-slider__before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.mm-slider__after {
  z-index: 1;
}

.mm-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
}

.mm-slider__handle-line {
  flex: 1;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.mm-slider__handle-knob {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mm-purple);
}

.mm-slider__label {
  position: absolute;
  top: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mm-slider__label--before {
  left: 16px;
  background: rgba(13, 8, 24, 0.86);
  color: #fff;
}

.mm-slider__label--after {
  right: 16px;
  background: rgba(45, 134, 83, 0.9);
  color: #fff;
}

/* Thumbnail gallery */
.mmd-compare__thumbs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.mmd-compare__thumb {
  width: 120px;
  height: 80px;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid transparent;
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color 0.3s var(--mm-ease), transform 0.3s var(--mm-ease), box-shadow 0.3s;
}

.mmd-compare__thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.mmd-compare__thumb.is-active {
  border-color: var(--mm-gold);
  box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.45), 0 14px 34px rgba(0, 0, 0, 0.28);
}

.mmd-compare__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   9. ANATOMY CROSS-SECTION
   ========================================================================== */

.mmd-anatomy {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(212, 160, 23, 0.1), transparent 24%),
    radial-gradient(circle at 82% 20%, rgba(90, 47, 127, 0.08), transparent 22%),
    linear-gradient(180deg, #fffdf9 0%, #f5f0e9 100%);
  color: var(--mm-text);
}

.mmd-anatomy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 30%, rgba(255, 255, 255, 0.28));
  pointer-events: none;
}

.mmd-anatomy .mm-section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
}

.mmd-anatomy .mm-section-heading {
  max-width: 15ch;
  font-size: clamp(2.4rem, 4.8vw, 4.1rem);
  color: var(--mm-text);
}

.mmd-anatomy .mm-section-sub {
  max-width: 60ch;
  font-size: 1.05rem;
  color: var(--mm-text-muted);
}

.mmd-anatomy__layout {
  display: grid;
  gap: 26px;
  align-items: start;
}

.mmd-anatomy__stage {
  display: flex;
  justify-content: center;
}

/* Visual Diagram */
.mmd-anatomy__visual {
  position: relative;
  width: min(100%, 980px);
  padding: clamp(24px, 3vw, 34px);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(14, 20, 30, 0.97), rgba(9, 13, 20, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.mmd-anatomy__visual::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: 64px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.18), transparent 68%);
  pointer-events: none;
}

.mmd-anatomy__visual-head,
.mmd-anatomy__demo,
.mmd-anatomy__visual-note {
  position: relative;
  z-index: 1;
}

.mmd-anatomy__visual-head {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  text-align: center;
  justify-items: center;
}

.mmd-anatomy__visual-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--mm-gold-light);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mmd-anatomy__visual-copy {
  margin: 0;
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.68;
}

.mmd-anatomy__sequence-note {
  position: relative;
  min-height: 48px;
  margin-bottom: 12px;
}

.mmd-anatomy__sequence-state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--mm-ease), transform 0.35s var(--mm-ease);
}

.mmd-anatomy__visual.is-unprotected .mmd-anatomy__sequence-state--before,
.mmd-anatomy__visual.is-protected .mmd-anatomy__sequence-state--after {
  opacity: 1;
  transform: translateY(0);
}

.mmd-anatomy__weather-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.6s var(--mm-ease) 1.8s, transform 0.6s var(--mm-ease) 1.8s;
}

.mmd-anatomy__visual.is-built .mmd-anatomy__weather-nav {
  opacity: 1;
  transform: translateY(0);
}

.mmd-anatomy__weather-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.35s var(--mm-ease), border-color 0.35s var(--mm-ease), color 0.35s var(--mm-ease), transform 0.35s var(--mm-ease);
}

.mmd-anatomy__weather-pill svg {
  flex-shrink: 0;
}

.mmd-anatomy__visual.is-rain .mmd-anatomy__weather-pill--rain,
.mmd-anatomy__visual.is-uv .mmd-anatomy__weather-pill--uv,
.mmd-anatomy__visual.is-frost .mmd-anatomy__weather-pill--frost {
  transform: translateY(-2px);
}

.mmd-anatomy__visual.is-rain .mmd-anatomy__weather-pill--rain {
  background: rgba(100, 180, 255, 0.12);
  border-color: rgba(100, 180, 255, 0.28);
  color: #9ed0ff;
}

.mmd-anatomy__visual.is-uv .mmd-anatomy__weather-pill--uv {
  background: rgba(255, 210, 80, 0.14);
  border-color: rgba(255, 210, 80, 0.32);
  color: #ffe183;
}

.mmd-anatomy__visual.is-frost .mmd-anatomy__weather-pill--frost {
  background: rgba(200, 220, 255, 0.13);
  border-color: rgba(200, 220, 255, 0.3);
  color: #e0ecff;
}

.mmd-anatomy__demo {
  position: relative;
  padding: 126px 0 0;
}

.mmd-anatomy__weather-scene {
  position: absolute;
  inset: 0 0 auto;
  height: 220px;
  pointer-events: none;
  overflow: hidden;
}

.mmd-anatomy__sky {
  position: absolute;
  inset: 0 12% 54px;
  border-radius: 28px;
  opacity: 0;
  transition: opacity 0.45s var(--mm-ease);
}

.mmd-anatomy__sky--rain {
  background:
    radial-gradient(circle at 50% 20%, rgba(166, 198, 255, 0.24), transparent 18%),
    linear-gradient(180deg, rgba(73, 107, 150, 0.22), rgba(14, 20, 30, 0));
}

.mmd-anatomy__sky--uv {
  background:
    radial-gradient(circle at 72% 12%, rgba(255, 217, 120, 0.38), transparent 15%),
    linear-gradient(180deg, rgba(255, 205, 79, 0.12), rgba(14, 20, 30, 0));
}

.mmd-anatomy__sky--frost {
  background:
    radial-gradient(circle at 48% 24%, rgba(226, 238, 255, 0.2), transparent 18%),
    linear-gradient(180deg, rgba(190, 215, 255, 0.12), rgba(14, 20, 30, 0));
}

.mmd-anatomy__visual.is-rain .mmd-anatomy__sky--rain,
.mmd-anatomy__visual.is-uv .mmd-anatomy__sky--uv,
.mmd-anatomy__visual.is-frost .mmd-anatomy__sky--frost {
  opacity: 1;
}

.mmd-anatomy__rain-drop,
.mmd-anatomy__rain-seep,
.mmd-anatomy__uv-ray,
.mmd-anatomy__frost-crystal,
.mmd-anatomy__barrier-glow {
  position: absolute;
  opacity: 0;
  will-change: transform, opacity;
}

.mmd-anatomy__rain-drop {
  top: 18px;
  width: 2px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(189, 224, 255, 0), rgba(142, 201, 255, 0.85));
}

.mmd-anatomy__weather-scene .mmd-anatomy__rain-drop:nth-child(4)  { left: 17%; animation-delay: 0s; }
.mmd-anatomy__weather-scene .mmd-anatomy__rain-drop:nth-child(5)  { left: 25%; animation-delay: 0.32s; }
.mmd-anatomy__weather-scene .mmd-anatomy__rain-drop:nth-child(6)  { left: 33%; animation-delay: 0.12s; }
.mmd-anatomy__weather-scene .mmd-anatomy__rain-drop:nth-child(7)  { left: 42%; animation-delay: 0.45s; }
.mmd-anatomy__weather-scene .mmd-anatomy__rain-drop:nth-child(8)  { left: 51%; animation-delay: 0.2s; }
.mmd-anatomy__weather-scene .mmd-anatomy__rain-drop:nth-child(9)  { left: 60%; animation-delay: 0.6s; }
.mmd-anatomy__weather-scene .mmd-anatomy__rain-drop:nth-child(10) { left: 69%; animation-delay: 0.26s; }
.mmd-anatomy__weather-scene .mmd-anatomy__rain-drop:nth-child(11) { left: 77%; animation-delay: 0.52s; }

.mmd-anatomy__visual.is-rain .mmd-anatomy__rain-drop {
  opacity: 1;
  animation: mmd-rain-fall 1.35s linear infinite;
}

.mmd-anatomy__rain-seep {
  top: 130px;
  width: 4px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(137, 198, 255, 0.85), rgba(137, 198, 255, 0));
  filter: blur(0.2px);
}

.mmd-anatomy__weather-scene .mmd-anatomy__rain-seep:nth-child(12) { left: 40%; animation-delay: 0.1s; }
.mmd-anatomy__weather-scene .mmd-anatomy__rain-seep:nth-child(13) { left: 50%; animation-delay: 0.35s; }
.mmd-anatomy__weather-scene .mmd-anatomy__rain-seep:nth-child(14) { left: 60%; animation-delay: 0.55s; }

.mmd-anatomy__visual.is-rain .mmd-anatomy__rain-seep {
  opacity: 0.16;
  animation: mmd-rain-seep 1.8s ease-in-out infinite;
}

.mmd-anatomy__visual.is-unprotected.is-rain .mmd-anatomy__rain-seep {
  opacity: 0.62;
}

.mmd-anatomy__uv-ray {
  top: 4px;
  right: 24%;
  width: 10px;
  height: 168px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 220, 120, 0.92), rgba(255, 220, 120, 0.05));
  filter: blur(0.5px);
  transform-origin: top center;
}

.mmd-anatomy__weather-scene .mmd-anatomy__uv-ray:nth-child(15) { transform: rotate(6deg);  right: 24%; animation-delay: 0s; }
.mmd-anatomy__weather-scene .mmd-anatomy__uv-ray:nth-child(16) { transform: rotate(16deg); right: 31%; animation-delay: 0.2s; }
.mmd-anatomy__weather-scene .mmd-anatomy__uv-ray:nth-child(17) { transform: rotate(-6deg); right: 18%; animation-delay: 0.45s; }
.mmd-anatomy__weather-scene .mmd-anatomy__uv-ray:nth-child(18) { transform: rotate(28deg); right: 36%; animation-delay: 0.6s; }

.mmd-anatomy__visual.is-uv .mmd-anatomy__uv-ray {
  opacity: 0.7;
  animation: mmd-uv-beam 1.9s ease-in-out infinite;
}

.mmd-anatomy__frost-crystal {
  top: 26px;
  width: 20px;
  height: 20px;
  background:
    linear-gradient(180deg, transparent 0 12%, rgba(238, 246, 255, 0.94) 12% 88%, transparent 88%),
    linear-gradient(90deg, transparent 0 12%, rgba(238, 246, 255, 0.94) 12% 88%, transparent 88%);
  filter: drop-shadow(0 0 10px rgba(188, 218, 255, 0.3));
}

.mmd-anatomy__frost-crystal::before,
.mmd-anatomy__frost-crystal::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 12%, rgba(238, 246, 255, 0.94) 12% 88%, transparent 88%),
    linear-gradient(90deg, transparent 0 12%, rgba(238, 246, 255, 0.94) 12% 88%, transparent 88%);
}

.mmd-anatomy__frost-crystal::before {
  transform: rotate(60deg);
}

.mmd-anatomy__frost-crystal::after {
  transform: rotate(-60deg);
}

.mmd-anatomy__weather-scene .mmd-anatomy__frost-crystal:nth-child(19) { left: 24%; animation-delay: 0s; }
.mmd-anatomy__weather-scene .mmd-anatomy__frost-crystal:nth-child(20) { left: 38%; top: 20px; animation-delay: 0.18s; }
.mmd-anatomy__weather-scene .mmd-anatomy__frost-crystal:nth-child(21) { left: 50%; top: 42px; animation-delay: 0.38s; }
.mmd-anatomy__weather-scene .mmd-anatomy__frost-crystal:nth-child(22) { left: 63%; top: 18px; animation-delay: 0.58s; }
.mmd-anatomy__weather-scene .mmd-anatomy__frost-crystal:nth-child(23) { left: 76%; animation-delay: 0.82s; }

.mmd-anatomy__visual.is-frost .mmd-anatomy__frost-crystal {
  opacity: 0.88;
  animation: mmd-frost-drift 2.7s linear infinite;
}

.mmd-anatomy__visual.is-unprotected.is-frost .mmd-anatomy__frost-crystal {
  opacity: 0.96;
}

.mmd-anatomy__barrier-glow {
  left: 50%;
  top: 154px;
  width: min(88%, 620px);
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(214, 190, 105, 0.85), rgba(255, 255, 255, 0));
  filter: blur(6px);
}

.mmd-anatomy__visual.is-rain .mmd-anatomy__barrier-glow,
.mmd-anatomy__visual.is-uv .mmd-anatomy__barrier-glow,
.mmd-anatomy__visual.is-frost .mmd-anatomy__barrier-glow {
  opacity: 0.72;
  animation: mmd-barrier-glow 1.8s ease-in-out infinite;
}

.mmd-anatomy__visual.is-unprotected .mmd-anatomy__barrier-glow {
  opacity: 0;
  animation: none;
}

.mmd-anatomy__layers-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 640px);
  margin: 0 auto;
}

.mmd-anatomy__layers-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mmd-anatomy__layers-caption strong {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* Layers */
.mmd-anatomy__layers {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.mmd-anatomy__layer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--mm-ease), transform 0.6s var(--mm-ease), box-shadow 0.3s var(--mm-ease);
  border-radius: 18px;
  overflow: hidden;
}

.mmd-anatomy__layer.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mmd-anatomy__layer.is-active {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 0 4px rgba(212, 160, 23, 0.12);
}

.mmd-anatomy__layer::before,
.mmd-anatomy__layer::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--mm-ease);
}

.mmd-anatomy__layer-label {
  position: relative;
  z-index: 2;
  font-family: var(--mm-font-head);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.mmd-anatomy__layer--sealcoat {
  height: 48px;
  background: linear-gradient(180deg, #171a1f, #090c10);
  box-shadow: inset 0 1px 0 rgba(212, 160, 23, 0.42), 0 10px 24px rgba(212, 160, 23, 0.12);
}

.mmd-anatomy__layer--sealcoat .mmd-anatomy__layer-label {
  color: var(--mm-gold-light);
}

.mmd-anatomy__layer--crack-fill {
  height: 38px;
  background: linear-gradient(180deg, #654225, #3e2816);
}

.mmd-anatomy__layer--crack-fill .mmd-anatomy__layer-label {
  color: #e8c88a;
}

.mmd-anatomy__layer--asphalt {
  height: 126px;
  background: linear-gradient(180deg, #444957, #2c323f);
}

.mmd-anatomy__layer--asphalt .mmd-anatomy__layer-label {
  color: rgba(255, 255, 255, 0.9);
}

.mmd-anatomy__asphalt-crack {
  position: absolute;
  left: 50%;
  top: 14px;
  width: 150px;
  height: 92px;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--mm-ease), transform 0.35s var(--mm-ease);
  background:
    linear-gradient(135deg, transparent 0 39%, rgba(15, 16, 20, 0.96) 39% 45%, transparent 45% 100%),
    linear-gradient(215deg, transparent 0 42%, rgba(15, 16, 20, 0.9) 42% 47%, transparent 47% 100%),
    linear-gradient(175deg, transparent 0 47%, rgba(15, 16, 20, 0.96) 47% 52%, transparent 52% 100%);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.mmd-anatomy__visual.is-unprotected .mmd-anatomy__asphalt-crack,
.mmd-anatomy__visual.is-rain .mmd-anatomy__asphalt-crack,
.mmd-anatomy__visual.is-frost .mmd-anatomy__asphalt-crack {
  opacity: 0.82;
}

.mmd-anatomy__visual.is-frost .mmd-anatomy__asphalt-crack {
  transform: translateX(-50%) scale(1.04);
}

.mmd-anatomy__layer--subbase {
  height: 84px;
  background: linear-gradient(180deg, #83735f, #9a8b78);
}

.mmd-anatomy__layer--subbase .mmd-anatomy__layer-label {
  color: #fff;
}

.mmd-anatomy__visual.is-rain .mmd-anatomy__layer--sealcoat::before {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(126, 191, 255, 0.15), rgba(126, 191, 255, 0)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 14px, transparent 14px 44px);
  mix-blend-mode: screen;
  animation: mmd-seal-rain 1.35s linear infinite;
}

.mmd-anatomy__visual.is-rain .mmd-anatomy__layer--crack-fill::before {
  opacity: 0.4;
  background: repeating-linear-gradient(90deg, transparent 0 24px, rgba(114, 186, 255, 0.36) 24px 28px, transparent 28px 52px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 90%);
  animation: mmd-seal-rain 1.6s linear infinite;
}

.mmd-anatomy__visual.is-unprotected.is-rain .mmd-anatomy__layer--asphalt::before {
  opacity: 0.88;
  background:
    linear-gradient(180deg, rgba(115, 187, 255, 0.12), rgba(115, 187, 255, 0)),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(115, 187, 255, 0.32) 46px 50px, transparent 50px 86px);
  animation: mmd-seal-rain 1.45s linear infinite;
}

.mmd-anatomy__visual.is-unprotected.is-rain .mmd-anatomy__layer--subbase::before {
  opacity: 0.24;
  background: linear-gradient(180deg, rgba(115, 187, 255, 0.2), rgba(115, 187, 255, 0));
}

.mmd-anatomy__visual.is-uv .mmd-anatomy__layer--sealcoat::before {
  opacity: 1;
  background: linear-gradient(90deg, rgba(255, 214, 98, 0.08), rgba(255, 243, 191, 0.55), rgba(255, 214, 98, 0.08));
  animation: mmd-uv-scan 2.1s ease-in-out infinite;
}

.mmd-anatomy__visual.is-uv .mmd-anatomy__layer--asphalt::before {
  opacity: 0.24;
  background: linear-gradient(180deg, rgba(255, 210, 90, 0.12), rgba(255, 210, 90, 0));
}

.mmd-anatomy__visual.is-unprotected.is-uv .mmd-anatomy__layer--asphalt::before {
  opacity: 0.66;
  background: linear-gradient(180deg, rgba(255, 208, 84, 0.24), rgba(255, 208, 84, 0.05));
}

.mmd-anatomy__visual.is-frost .mmd-anatomy__layer--sealcoat::before {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(228, 242, 255, 0.44), rgba(228, 242, 255, 0.1)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.2) 0 10px, transparent 10px 24px);
}

.mmd-anatomy__visual.is-frost .mmd-anatomy__layer--crack-fill::before {
  opacity: 0.34;
  background: linear-gradient(180deg, rgba(214, 236, 255, 0.3), rgba(214, 236, 255, 0));
}

.mmd-anatomy__visual.is-unprotected.is-frost .mmd-anatomy__layer--asphalt::before {
  opacity: 0.52;
  background:
    linear-gradient(180deg, rgba(220, 236, 255, 0.22), rgba(220, 236, 255, 0.05)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0 10px, transparent 10px 26px);
}

.mmd-anatomy__visual-note {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mmd-anatomy__visual-note-label {
  color: var(--mm-gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mmd-anatomy__visual-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.91rem;
  line-height: 1.58;
}

/* Annotation Cards */
.mmd-anatomy__annotations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.mmd-anatomy__card {
  position: relative;
  min-height: 0;
  padding: 22px 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 245, 237, 0.96));
  border: 1px solid rgba(90, 47, 127, 0.1);
  box-shadow: 0 18px 40px rgba(18, 11, 33, 0.08);
  transition: transform 0.3s var(--mm-ease), background 0.3s var(--mm-ease), box-shadow 0.3s var(--mm-ease), border-color 0.3s;
}

.mmd-anatomy__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, rgba(212, 160, 23, 0.96), rgba(255, 255, 255, 0.06));
  opacity: 0.34;
  transition: opacity 0.3s var(--mm-ease);
}

.mmd-anatomy__card:hover,
.mmd-anatomy__card:focus-within {
  transform: translateY(-3px);
}

.mmd-anatomy__card.is-active {
  border-color: rgba(212, 160, 23, 0.34);
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(245, 237, 223, 0.98));
  box-shadow: 0 20px 50px rgba(18, 11, 33, 0.14);
}

.mmd-anatomy__card.is-active::before {
  opacity: 1;
}

.mmd-anatomy__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.mmd-anatomy__card-num {
  font-family: var(--mm-font-head);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(212, 160, 23, 0.12);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--mm-gold);
  letter-spacing: 0.08em;
  margin-bottom: 0;
}

.mmd-anatomy__card-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(90, 47, 127, 0.06);
  color: rgba(33, 24, 47, 0.66);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mmd-anatomy__card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--mm-text);
}

.mmd-anatomy__card p {
  margin: 0;
  max-width: none;
  font-size: 0.88rem;
  color: var(--mm-text-muted);
  line-height: 1.62;
}

@keyframes mmd-rain-fall {
  0% { transform: translateY(-24px); opacity: 0; }
  12% { opacity: 1; }
  72% { opacity: 1; }
  100% { transform: translateY(158px); opacity: 0; }
}

@keyframes mmd-rain-seep {
  0%, 100% { transform: scaleY(0.2); opacity: 0; }
  38% { transform: scaleY(1); opacity: 0.55; }
  72% { opacity: 0.18; }
}

@keyframes mmd-seal-rain {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 100%, 48px 0; }
}

@keyframes mmd-uv-beam {
  0%, 100% { opacity: 0.16; }
  50% { opacity: 0.74; }
}

@keyframes mmd-uv-scan {
  0% { transform: translateX(-42%); }
  50% { transform: translateX(42%); }
  100% { transform: translateX(-42%); }
}

@keyframes mmd-frost-drift {
  0% { transform: translate3d(0, -10px, 0) scale(0.72); opacity: 0; }
  20% { opacity: 0.8; }
  55% { transform: translate3d(5px, 26px, 0) scale(1); opacity: 0.92; }
  100% { transform: translate3d(-8px, 88px, 0) scale(0.82); opacity: 0; }
}

@keyframes mmd-barrier-glow {
  0%, 100% { opacity: 0.28; transform: translateX(-50%) scaleX(0.96); }
  50% { opacity: 0.82; transform: translateX(-50%) scaleX(1.02); }
}

/* ==========================================================================
   9b. REALISTIC CROSS-SECTION (v2) — mmd-xsection
   ========================================================================== */

.mmd-xsection {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(212, 160, 23, 0.1), transparent 24%),
    radial-gradient(circle at 82% 20%, rgba(90, 47, 127, 0.08), transparent 22%),
    linear-gradient(180deg, #fffdf9 0%, #f5f0e9 100%);
  color: var(--mm-text);
}

.mmd-xsection::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 30%, rgba(255, 255, 255, 0.28));
  pointer-events: none;
}

.mmd-xsection .mm-section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
}

.mmd-xsection .mm-section-heading {
  max-width: 15ch;
  font-size: clamp(2.4rem, 4.8vw, 4.1rem);
  color: var(--mm-text);
}

.mmd-xsection .mm-section-sub {
  max-width: 60ch;
  font-size: 1.05rem;
  color: var(--mm-text-muted);
}

.mmd-xsection__layout {
  display: grid;
  gap: 26px;
  align-items: start;
}

.mmd-xsection__stage {
  display: flex;
  justify-content: center;
}

/* Visual Container */
.mmd-xsection__visual {
  position: relative;
  width: min(100%, 980px);
  padding: clamp(24px, 3vw, 34px);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(14, 20, 30, 0.97), rgba(9, 13, 20, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.mmd-xsection__visual::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: 64px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.18), transparent 68%);
  pointer-events: none;
}

.mmd-xsection__visual-head,
.mmd-xsection__demo,
.mmd-xsection__visual-note {
  position: relative;
  z-index: 1;
}

.mmd-xsection__visual-head {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  text-align: center;
  justify-items: center;
}

.mmd-xsection__visual-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--mm-gold-light);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mmd-xsection__visual-copy {
  margin: 0;
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.68;
}

/* Sequence Note */
.mmd-xsection__sequence-note {
  position: relative;
  min-height: 48px;
  margin-bottom: 12px;
}

.mmd-xsection__sequence-state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--mm-ease), transform 0.35s var(--mm-ease);
}

.mmd-xsection__visual.is-unprotected .mmd-xsection__sequence-state--before,
.mmd-xsection__visual.is-protected .mmd-xsection__sequence-state--after {
  opacity: 1;
  transform: translateY(0);
}

/* Weather Nav */
.mmd-xsection__weather-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.6s var(--mm-ease) 1.8s, transform 0.6s var(--mm-ease) 1.8s;
}

.mmd-xsection__visual.is-built .mmd-xsection__weather-nav {
  opacity: 1;
  transform: translateY(0);
}

.mmd-xsection__weather-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.35s var(--mm-ease), border-color 0.35s var(--mm-ease), color 0.35s var(--mm-ease), transform 0.35s var(--mm-ease);
}

.mmd-xsection__weather-pill svg { flex-shrink: 0; }

.mmd-xsection__visual.is-rain .mmd-xsection__weather-pill--rain,
.mmd-xsection__visual.is-uv .mmd-xsection__weather-pill--uv,
.mmd-xsection__visual.is-frost .mmd-xsection__weather-pill--frost {
  transform: translateY(-2px);
}

.mmd-xsection__visual.is-rain .mmd-xsection__weather-pill--rain {
  background: rgba(100, 180, 255, 0.12);
  border-color: rgba(100, 180, 255, 0.28);
  color: #9ed0ff;
}

.mmd-xsection__visual.is-uv .mmd-xsection__weather-pill--uv {
  background: rgba(255, 210, 80, 0.14);
  border-color: rgba(255, 210, 80, 0.32);
  color: #ffe183;
}

.mmd-xsection__visual.is-frost .mmd-xsection__weather-pill--frost {
  background: rgba(200, 220, 255, 0.13);
  border-color: rgba(200, 220, 255, 0.3);
  color: #e0ecff;
}

/* Demo & Weather Scene */
.mmd-xsection__demo {
  position: relative;
  padding: 126px 0 0;
}

.mmd-xsection__weather-scene {
  position: absolute;
  inset: 0 0 auto;
  height: 220px;
  pointer-events: none;
  overflow: hidden;
}

.mmd-xsection__sky {
  position: absolute;
  inset: 0 12% 54px;
  border-radius: 28px;
  opacity: 0;
  transition: opacity 0.45s var(--mm-ease);
}

.mmd-xsection__sky--rain {
  background:
    radial-gradient(circle at 50% 20%, rgba(166, 198, 255, 0.24), transparent 18%),
    linear-gradient(180deg, rgba(73, 107, 150, 0.22), rgba(14, 20, 30, 0));
}

.mmd-xsection__sky--uv {
  background:
    radial-gradient(circle at 72% 12%, rgba(255, 217, 120, 0.38), transparent 15%),
    linear-gradient(180deg, rgba(255, 205, 79, 0.12), rgba(14, 20, 30, 0));
}

.mmd-xsection__sky--frost {
  background:
    radial-gradient(circle at 48% 24%, rgba(226, 238, 255, 0.2), transparent 18%),
    linear-gradient(180deg, rgba(190, 215, 255, 0.12), rgba(14, 20, 30, 0));
}

.mmd-xsection__visual.is-rain .mmd-xsection__sky--rain,
.mmd-xsection__visual.is-uv .mmd-xsection__sky--uv,
.mmd-xsection__visual.is-frost .mmd-xsection__sky--frost {
  opacity: 1;
}

/* Weather Elements */
.mmd-xsection__rain-drop,
.mmd-xsection__rain-seep,
.mmd-xsection__uv-ray,
.mmd-xsection__frost-crystal,
.mmd-xsection__barrier-glow {
  position: absolute;
  opacity: 0;
  will-change: transform, opacity;
}

.mmd-xsection__rain-drop {
  top: 18px;
  width: 2px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(189, 224, 255, 0), rgba(142, 201, 255, 0.85));
}

.mmd-xsection__weather-scene .mmd-xsection__rain-drop:nth-child(4)  { left: 17%; animation-delay: 0s; }
.mmd-xsection__weather-scene .mmd-xsection__rain-drop:nth-child(5)  { left: 25%; animation-delay: 0.32s; }
.mmd-xsection__weather-scene .mmd-xsection__rain-drop:nth-child(6)  { left: 33%; animation-delay: 0.12s; }
.mmd-xsection__weather-scene .mmd-xsection__rain-drop:nth-child(7)  { left: 42%; animation-delay: 0.45s; }
.mmd-xsection__weather-scene .mmd-xsection__rain-drop:nth-child(8)  { left: 51%; animation-delay: 0.2s; }
.mmd-xsection__weather-scene .mmd-xsection__rain-drop:nth-child(9)  { left: 60%; animation-delay: 0.6s; }
.mmd-xsection__weather-scene .mmd-xsection__rain-drop:nth-child(10) { left: 69%; animation-delay: 0.26s; }
.mmd-xsection__weather-scene .mmd-xsection__rain-drop:nth-child(11) { left: 77%; animation-delay: 0.52s; }

.mmd-xsection__visual.is-rain .mmd-xsection__rain-drop {
  opacity: 1;
  animation: mmd-rain-fall 1.35s linear infinite;
}

.mmd-xsection__rain-seep {
  top: 130px;
  width: 4px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(137, 198, 255, 0.85), rgba(137, 198, 255, 0));
  filter: blur(0.2px);
}

.mmd-xsection__weather-scene .mmd-xsection__rain-seep:nth-child(12) { left: 40%; animation-delay: 0.1s; }
.mmd-xsection__weather-scene .mmd-xsection__rain-seep:nth-child(13) { left: 50%; animation-delay: 0.35s; }
.mmd-xsection__weather-scene .mmd-xsection__rain-seep:nth-child(14) { left: 60%; animation-delay: 0.55s; }

.mmd-xsection__visual.is-rain .mmd-xsection__rain-seep {
  opacity: 0.16;
  animation: mmd-rain-seep 1.8s ease-in-out infinite;
}

.mmd-xsection__visual.is-unprotected.is-rain .mmd-xsection__rain-seep {
  opacity: 0.62;
}

.mmd-xsection__uv-ray {
  top: 4px;
  right: 24%;
  width: 10px;
  height: 168px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 220, 120, 0.92), rgba(255, 220, 120, 0.05));
  filter: blur(0.5px);
  transform-origin: top center;
}

.mmd-xsection__weather-scene .mmd-xsection__uv-ray:nth-child(15) { transform: rotate(6deg);  right: 24%; animation-delay: 0s; }
.mmd-xsection__weather-scene .mmd-xsection__uv-ray:nth-child(16) { transform: rotate(16deg); right: 31%; animation-delay: 0.2s; }
.mmd-xsection__weather-scene .mmd-xsection__uv-ray:nth-child(17) { transform: rotate(-6deg); right: 18%; animation-delay: 0.45s; }
.mmd-xsection__weather-scene .mmd-xsection__uv-ray:nth-child(18) { transform: rotate(28deg); right: 36%; animation-delay: 0.6s; }

.mmd-xsection__visual.is-uv .mmd-xsection__uv-ray {
  opacity: 0.7;
  animation: mmd-uv-beam 1.9s ease-in-out infinite;
}

.mmd-xsection__frost-crystal {
  top: 26px;
  width: 20px;
  height: 20px;
  background:
    linear-gradient(180deg, transparent 0 12%, rgba(238, 246, 255, 0.94) 12% 88%, transparent 88%),
    linear-gradient(90deg, transparent 0 12%, rgba(238, 246, 255, 0.94) 12% 88%, transparent 88%);
  filter: drop-shadow(0 0 10px rgba(188, 218, 255, 0.3));
}

.mmd-xsection__frost-crystal::before,
.mmd-xsection__frost-crystal::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 12%, rgba(238, 246, 255, 0.94) 12% 88%, transparent 88%),
    linear-gradient(90deg, transparent 0 12%, rgba(238, 246, 255, 0.94) 12% 88%, transparent 88%);
}

.mmd-xsection__frost-crystal::before { transform: rotate(60deg); }
.mmd-xsection__frost-crystal::after  { transform: rotate(-60deg); }

.mmd-xsection__weather-scene .mmd-xsection__frost-crystal:nth-child(19) { left: 24%; animation-delay: 0s; }
.mmd-xsection__weather-scene .mmd-xsection__frost-crystal:nth-child(20) { left: 38%; top: 20px; animation-delay: 0.18s; }
.mmd-xsection__weather-scene .mmd-xsection__frost-crystal:nth-child(21) { left: 50%; top: 42px; animation-delay: 0.38s; }
.mmd-xsection__weather-scene .mmd-xsection__frost-crystal:nth-child(22) { left: 63%; top: 18px; animation-delay: 0.58s; }
.mmd-xsection__weather-scene .mmd-xsection__frost-crystal:nth-child(23) { left: 76%; animation-delay: 0.82s; }

.mmd-xsection__visual.is-frost .mmd-xsection__frost-crystal {
  opacity: 0.88;
  animation: mmd-frost-drift 2.7s linear infinite;
}

.mmd-xsection__visual.is-unprotected.is-frost .mmd-xsection__frost-crystal {
  opacity: 0.96;
}

/* Barrier Glow — positioned just above the layers */
.mmd-xsection__barrier-glow {
  left: 50%;
  top: 154px;
  width: min(88%, 620px);
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(214, 190, 105, 0.85), rgba(255, 255, 255, 0));
  filter: blur(6px);
}

.mmd-xsection__visual.is-rain .mmd-xsection__barrier-glow,
.mmd-xsection__visual.is-uv .mmd-xsection__barrier-glow,
.mmd-xsection__visual.is-frost .mmd-xsection__barrier-glow {
  opacity: 0.72;
  animation: mmd-barrier-glow 1.8s ease-in-out infinite;
}

.mmd-xsection__visual.is-unprotected .mmd-xsection__barrier-glow {
  opacity: 0;
  animation: none;
}

/* Cutaway Caption */
.mmd-xsection__cutaway-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mmd-xsection__cutaway-caption strong {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* Cutaway Container */
.mmd-xsection__cutaway-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 640px);
  margin: 0 auto;
}

.mmd-xsection__cutaway {
  position: relative;
  border-radius: 8px;
  overflow: visible;
}

/* Surface — top-down perspective of the driving surface */
.mmd-xsection__surface {
  position: relative;
  height: 28px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0 2px,
      transparent 2px 18px
    ),
    linear-gradient(180deg, #2a2e36, #1e2128);
  border-radius: 6px 6px 0 0;
  transform: perspective(600px) rotateX(35deg);
  transform-origin: bottom center;
  margin-bottom: -1px;
  z-index: 3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Grass Edges */
.mmd-xsection__grass {
  position: absolute;
  top: -8px;
  width: 32px;
  height: calc(100% + 8px);
  z-index: 4;
  pointer-events: none;
}

.mmd-xsection__grass--left {
  left: -24px;
  background: linear-gradient(180deg,
    #4a8c3f 0%,
    #3d7a34 15%,
    #5a9e4f 15.5%,
    #3d7a34 30%,
    #4a8c3f 30.5%,
    #357030 60%,
    #4a3520 85%,
    #3c2a18 100%
  );
  border-radius: 6px 0 0 6px;
  mask-image: linear-gradient(90deg, black 40%, rgba(0,0,0,0.6) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, black 40%, rgba(0,0,0,0.6) 70%, transparent 100%);
}

.mmd-xsection__grass--left::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 20px;
  background:
    conic-gradient(from 250deg at 4px 100%, #4a8c3f 0deg, transparent 35deg),
    conic-gradient(from 260deg at 10px 100%, #3d7a34 0deg, transparent 30deg),
    conic-gradient(from 245deg at 16px 100%, #5a9e4f 0deg, transparent 38deg),
    conic-gradient(from 255deg at 22px 100%, #3d7a34 0deg, transparent 32deg),
    conic-gradient(from 248deg at 28px 100%, #4a8c3f 0deg, transparent 34deg);
}

.mmd-xsection__grass--right {
  right: -24px;
  background: linear-gradient(180deg,
    #4a8c3f 0%,
    #3d7a34 15%,
    #5a9e4f 15.5%,
    #3d7a34 30%,
    #4a8c3f 30.5%,
    #357030 60%,
    #4a3520 85%,
    #3c2a18 100%
  );
  border-radius: 0 6px 6px 0;
  mask-image: linear-gradient(270deg, black 40%, rgba(0,0,0,0.6) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(270deg, black 40%, rgba(0,0,0,0.6) 70%, transparent 100%);
}

.mmd-xsection__grass--right::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 20px;
  background:
    conic-gradient(from 250deg at 4px 100%, #5a9e4f 0deg, transparent 34deg),
    conic-gradient(from 258deg at 10px 100%, #3d7a34 0deg, transparent 30deg),
    conic-gradient(from 248deg at 16px 100%, #4a8c3f 0deg, transparent 36deg),
    conic-gradient(from 262deg at 22px 100%, #357030 0deg, transparent 28deg),
    conic-gradient(from 252deg at 28px 100%, #4a8c3f 0deg, transparent 33deg);
}

/* Layers Container — the cross-section cut */
.mmd-xsection__layers {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 0 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Cut Edge Highlight — the angled line */
.mmd-xsection__layers::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
  z-index: 5;
  clip-path: polygon(0 0, 100% 12%, 100% 100%, 0 100%);
}

/* Individual Layers */
.mmd-xsection__layer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--mm-ease), transform 0.6s var(--mm-ease), box-shadow 0.3s var(--mm-ease);
  overflow: hidden;
}

.mmd-xsection__layer.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mmd-xsection__layer.is-active {
  box-shadow: inset 0 0 0 2px rgba(212, 160, 23, 0.3), 0 0 16px rgba(212, 160, 23, 0.1);
}

.mmd-xsection__layer::before,
.mmd-xsection__layer::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--mm-ease);
}

.mmd-xsection__layer-label {
  position: relative;
  z-index: 2;
  font-family: var(--mm-font-head);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* --- Sealcoat: very thin coating --- */
.mmd-xsection__layer--sealcoat {
  height: 10px;
  background: linear-gradient(180deg, #0d0f13, #171a1f);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(212, 160, 23, 0.1);
}

.mmd-xsection__layer--sealcoat .mmd-xsection__layer-label {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--mm-gold-light);
}

/* --- Asphalt: main pavement with aggregate speckle texture --- */
.mmd-xsection__layer--asphalt {
  height: 90px;
  background:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(circle at 45% 70%, rgba(255,255,255,0.04) 1.2px, transparent 1.2px),
    radial-gradient(circle at 72% 35%, rgba(200,200,210,0.05) 1px, transparent 1px),
    radial-gradient(circle at 30% 55%, rgba(255,255,255,0.03) 0.8px, transparent 0.8px),
    radial-gradient(circle at 85% 80%, rgba(220,220,230,0.04) 1.3px, transparent 1.3px),
    radial-gradient(circle at 58% 15%, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(180deg, #3e434e, #2c323f);
  background-size: 24px 20px, 30px 26px, 18px 22px, 14px 16px, 22px 18px, 26px 24px, 100% 100%;
}

.mmd-xsection__layer--asphalt .mmd-xsection__layer-label {
  color: rgba(255, 255, 255, 0.9);
}

/* Asphalt Crack — visible when unprotected */
.mmd-xsection__asphalt-crack {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 120px;
  height: 72px;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--mm-ease), transform 0.35s var(--mm-ease);
  background:
    linear-gradient(135deg, transparent 0 39%, rgba(15, 16, 20, 0.96) 39% 44%, transparent 44% 100%),
    linear-gradient(215deg, transparent 0 42%, rgba(15, 16, 20, 0.9) 42% 46%, transparent 46% 100%),
    linear-gradient(175deg, transparent 0 47%, rgba(15, 16, 20, 0.96) 47% 51%, transparent 51% 100%);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.mmd-xsection__visual.is-unprotected .mmd-xsection__asphalt-crack,
.mmd-xsection__visual.is-rain .mmd-xsection__asphalt-crack,
.mmd-xsection__visual.is-frost .mmd-xsection__asphalt-crack {
  opacity: 0.82;
}

.mmd-xsection__visual.is-frost .mmd-xsection__asphalt-crack {
  transform: translateX(-50%) scale(1.04);
}

/* Crack Fill Lines — thin lines inside asphalt representing filled cracks */
.mmd-xsection__crack-fill-lines {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--mm-ease);
  z-index: 1;
  background:
    linear-gradient(170deg, transparent 26%, rgba(101, 66, 37, 0.92) 26.8%, rgba(101, 66, 37, 0.92) 27.8%, transparent 28.5%),
    linear-gradient(185deg, transparent 46%, rgba(101, 66, 37, 0.88) 46.6%, rgba(101, 66, 37, 0.88) 47.6%, transparent 48.2%),
    linear-gradient(165deg, transparent 65%, rgba(101, 66, 37, 0.92) 65.6%, rgba(101, 66, 37, 0.92) 66.6%, transparent 67.2%);
}

.mmd-xsection__crack-fill-lines.is-visible {
  opacity: 1;
}

.mmd-xsection__crack-fill-lines.is-active {
  background:
    linear-gradient(170deg, transparent 26%, rgba(161, 116, 57, 1) 26.8%, rgba(161, 116, 57, 1) 27.8%, transparent 28.5%),
    linear-gradient(185deg, transparent 46%, rgba(161, 116, 57, 0.95) 46.6%, rgba(161, 116, 57, 0.95) 47.6%, transparent 48.2%),
    linear-gradient(165deg, transparent 65%, rgba(161, 116, 57, 1) 65.6%, rgba(161, 116, 57, 1) 66.6%, transparent 67.2%);
}

/* --- Gravel Base: spotted aggregate stone pattern --- */
.mmd-xsection__layer--gravel {
  height: 130px;
  background:
    radial-gradient(ellipse 4px 3px at 10% 20%, rgba(200,190,170,0.55) 0%, transparent 100%),
    radial-gradient(ellipse 3px 4px at 25% 50%, rgba(180,170,150,0.5) 0%, transparent 100%),
    radial-gradient(ellipse 5px 3px at 40% 30%, rgba(170,160,140,0.45) 0%, transparent 100%),
    radial-gradient(ellipse 3px 5px at 55% 70%, rgba(190,180,160,0.5) 0%, transparent 100%),
    radial-gradient(ellipse 4px 4px at 70% 40%, rgba(200,190,170,0.45) 0%, transparent 100%),
    radial-gradient(ellipse 3px 3px at 85% 60%, rgba(180,170,150,0.5) 0%, transparent 100%),
    radial-gradient(ellipse 5px 4px at 15% 80%, rgba(195,185,165,0.4) 0%, transparent 100%),
    radial-gradient(ellipse 4px 3px at 60% 15%, rgba(185,175,155,0.45) 0%, transparent 100%),
    radial-gradient(ellipse 3px 4px at 80% 85%, rgba(175,165,145,0.5) 0%, transparent 100%),
    radial-gradient(ellipse 4px 5px at 45% 90%, rgba(190,180,160,0.4) 0%, transparent 100%),
    linear-gradient(180deg, #83735f 0%, #8a7c68 30%, #9a8b78 100%);
  background-size:
    32px 28px, 28px 24px, 36px 30px, 24px 32px, 30px 26px,
    26px 34px, 34px 22px, 22px 36px, 38px 28px, 20px 30px,
    100% 100%;
}

.mmd-xsection__layer--gravel .mmd-xsection__layer-label {
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* --- Soil/Subgrade: earthy brown with organic striations --- */
.mmd-xsection__layer--soil {
  height: 90px;
  background:
    repeating-linear-gradient(
      176deg,
      transparent,
      transparent 6px,
      rgba(0, 0, 0, 0.08) 6px,
      rgba(0, 0, 0, 0.08) 7px
    ),
    radial-gradient(circle at 20% 40%, rgba(80, 50, 25, 0.2) 2px, transparent 2px),
    radial-gradient(circle at 60% 70%, rgba(90, 60, 30, 0.15) 1.5px, transparent 1.5px),
    radial-gradient(circle at 40% 20%, rgba(70, 45, 20, 0.18) 1px, transparent 1px),
    radial-gradient(circle at 80% 50%, rgba(85, 55, 28, 0.15) 2px, transparent 2px),
    linear-gradient(180deg, #7a5c3a 0%, #6b4e30 35%, #5e4428 65%, #4a3520 100%);
  background-size: 100% 100%, 16px 14px, 20px 18px, 12px 16px, 18px 12px, 100% 100%;
  border-radius: 0 0 4px 4px;
}

.mmd-xsection__layer--soil .mmd-xsection__layer-label {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

/* Weather Effects on Layers */
.mmd-xsection__visual.is-rain .mmd-xsection__layer--sealcoat::before {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(126, 191, 255, 0.2), rgba(126, 191, 255, 0)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 14px, transparent 14px 44px);
  mix-blend-mode: screen;
  animation: mmd-seal-rain 1.35s linear infinite;
}

.mmd-xsection__visual.is-unprotected.is-rain .mmd-xsection__layer--asphalt::before {
  opacity: 0.88;
  background:
    linear-gradient(180deg, rgba(115, 187, 255, 0.14), rgba(115, 187, 255, 0)),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(115, 187, 255, 0.32) 46px 50px, transparent 50px 86px);
  animation: mmd-seal-rain 1.45s linear infinite;
}

.mmd-xsection__visual.is-unprotected.is-rain .mmd-xsection__layer--gravel::before {
  opacity: 0.28;
  background: linear-gradient(180deg, rgba(115, 187, 255, 0.22), rgba(115, 187, 255, 0));
}

.mmd-xsection__visual.is-unprotected.is-rain .mmd-xsection__layer--soil::before {
  opacity: 0.16;
  background: linear-gradient(180deg, rgba(115, 187, 255, 0.14), rgba(115, 187, 255, 0));
}

.mmd-xsection__visual.is-uv .mmd-xsection__layer--sealcoat::before {
  opacity: 1;
  background: linear-gradient(90deg, rgba(255, 214, 98, 0.08), rgba(255, 243, 191, 0.55), rgba(255, 214, 98, 0.08));
  animation: mmd-uv-scan 2.1s ease-in-out infinite;
}

.mmd-xsection__visual.is-uv .mmd-xsection__layer--asphalt::before {
  opacity: 0.24;
  background: linear-gradient(180deg, rgba(255, 210, 90, 0.12), rgba(255, 210, 90, 0));
}

.mmd-xsection__visual.is-unprotected.is-uv .mmd-xsection__layer--asphalt::before {
  opacity: 0.66;
  background: linear-gradient(180deg, rgba(255, 208, 84, 0.24), rgba(255, 208, 84, 0.05));
}

.mmd-xsection__visual.is-frost .mmd-xsection__layer--sealcoat::before {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(228, 242, 255, 0.44), rgba(228, 242, 255, 0.1)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.2) 0 10px, transparent 10px 24px);
}

.mmd-xsection__visual.is-unprotected.is-frost .mmd-xsection__layer--asphalt::before {
  opacity: 0.52;
  background:
    linear-gradient(180deg, rgba(220, 236, 255, 0.22), rgba(220, 236, 255, 0.05)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0 10px, transparent 10px 26px);
}

/* Visual Note */
.mmd-xsection__visual-note {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mmd-xsection__visual-note-label {
  color: var(--mm-gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mmd-xsection__visual-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.91rem;
  line-height: 1.58;
}

/* Annotation Cards */
.mmd-xsection__annotations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.mmd-xsection__card {
  position: relative;
  min-height: 0;
  padding: 22px 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 245, 237, 0.96));
  border: 1px solid rgba(90, 47, 127, 0.1);
  box-shadow: 0 18px 40px rgba(18, 11, 33, 0.08);
  transition: transform 0.3s var(--mm-ease), background 0.3s var(--mm-ease), box-shadow 0.3s var(--mm-ease), border-color 0.3s;
}

.mmd-xsection__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, rgba(212, 160, 23, 0.96), rgba(255, 255, 255, 0.06));
  opacity: 0.34;
  transition: opacity 0.3s var(--mm-ease);
}

.mmd-xsection__card:hover,
.mmd-xsection__card:focus-within {
  transform: translateY(-3px);
}

.mmd-xsection__card.is-active {
  border-color: rgba(212, 160, 23, 0.34);
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(245, 237, 223, 0.98));
  box-shadow: 0 20px 50px rgba(18, 11, 33, 0.14);
}

.mmd-xsection__card.is-active::before {
  opacity: 1;
}

.mmd-xsection__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.mmd-xsection__card-num {
  font-family: var(--mm-font-head);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(212, 160, 23, 0.12);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--mm-gold);
  letter-spacing: 0.08em;
}

.mmd-xsection__card-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(90, 47, 127, 0.06);
  color: rgba(33, 24, 47, 0.66);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mmd-xsection__card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--mm-text);
}

.mmd-xsection__card p {
  margin: 0;
  max-width: none;
  font-size: 0.88rem;
  color: var(--mm-text-muted);
  line-height: 1.62;
}

/* ==========================================================================
   10. COST OF NEGLECT
   ========================================================================== */

.mmd-neglect {
  background: linear-gradient(180deg, #ffffff, #f7f3fc);
}

.mmd-neglect__comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
}

.mmd-neglect__option {
  position: relative;
  padding: 32px 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(90, 47, 127, 0.08);
  box-shadow: 0 18px 44px rgba(18, 11, 33, 0.06);
}

.mmd-neglect__badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.mmd-neglect__badge--green {
  background: rgba(45, 134, 83, 0.12);
  color: var(--mm-green);
}

.mmd-neglect__badge--red {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.mmd-neglect__option h3 {
  margin: 0 0 16px;
  font-family: var(--mm-font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--mm-text);
}

.mmd-neglect__cost {
  margin-bottom: 20px;
}

.mmd-neglect__amount {
  display: block;
  font-family: var(--mm-font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--mm-text);
  line-height: 1.2;
}

.mmd-neglect__option--seal .mmd-neglect__amount {
  color: var(--mm-green);
}

.mmd-neglect__option--neglect .mmd-neglect__amount {
  color: #e74c3c;
}

.mmd-neglect__freq {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--mm-text-muted);
}

.mmd-neglect__bar-wrap {
  height: 16px;
  border-radius: 8px;
  background: rgba(90, 47, 127, 0.06);
  overflow: hidden;
  margin-bottom: 20px;
}

.mmd-neglect__bar {
  height: 100%;
  border-radius: 8px;
  width: 0;
  transition: width 1.4s var(--mm-ease);
}

.mmd-neglect__bar.is-visible {
  width: var(--bar-target);
}

.mmd-neglect__bar--green {
  background: linear-gradient(90deg, var(--mm-green), #4ade80);
}

.mmd-neglect__bar--red {
  background: linear-gradient(90deg, #e74c3c, #ff6b6b);
}

.mmd-neglect__lifespan {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--mm-text-muted);
}

.mmd-neglect__option--seal .mmd-neglect__lifespan svg {
  color: var(--mm-green);
}

.mmd-neglect__option--neglect .mmd-neglect__lifespan svg {
  color: #e74c3c;
}

.mmd-neglect__vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mm-font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--mm-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mmd-neglect__callout {
  max-width: 700px;
  margin: 36px auto 0;
  text-align: center;
}

.mmd-neglect__callout p {
  margin: 0 0 20px;
  color: var(--mm-text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   11. SERVICE AREAS
   ========================================================================== */

.mmd-areas {
  background:
    radial-gradient(circle at top left, rgba(212, 160, 23, 0.1), transparent 28%),
    linear-gradient(135deg, var(--mm-dark-2), var(--mm-dark));
  color: #fff;
}

.mmd-areas__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: center;
}

.mmd-areas__sub {
  margin: 0 0 24px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.mmd-areas__proof {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mmd-areas__proof-number {
  font-family: var(--mm-font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--mm-gold);
}

.mmd-areas__proof-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.mmd-areas__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mmd-areas__chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.3s, transform 0.3s var(--mm-ease);
}

.mmd-areas__chip:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ==========================================================================
   12. REVIEWS
   ========================================================================== */

.mmd-reviews {
  background:
    radial-gradient(circle at top left, rgba(212, 160, 23, 0.12), transparent 30%),
    linear-gradient(135deg, var(--mm-purple-deeper), var(--mm-dark));
  color: #fff;
}

.mmd-reviews__sub {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  text-align: center;
}

.mmd-reviews__widget {
  margin-top: 20px;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   13. FAQ
   ========================================================================== */

.mmd-faq {
  background: #fff;
}

.mmd-faq__list {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.mmd-faq__item {
  border: 1px solid rgba(90, 47, 127, 0.1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 11, 33, 0.04);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.mmd-faq__item[open] {
  box-shadow: 0 18px 44px rgba(18, 11, 33, 0.08);
}

.mmd-faq__question {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 22px;
  font-family: var(--mm-font-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--mm-text);
  transition: color 0.2s;
}

.mmd-faq__question::-webkit-details-marker {
  display: none;
}

.mmd-faq__question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mm-purple);
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform 0.3s var(--mm-ease);
}

.mmd-faq__item[open] .mmd-faq__question::after {
  content: "\2212";
  transform: translateY(-50%);
}

.mmd-faq__answer {
  padding: 0 22px 22px;
}

.mmd-faq__answer p {
  margin: 0;
  color: var(--mm-text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   14. CTA
   ========================================================================== */

.mmd-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mm-purple-deeper), var(--mm-dark));
  color: #fff;
}

.mmd-cta__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(212, 160, 23, 0.14), transparent 28%),
    radial-gradient(circle at 82% 28%, rgba(122, 79, 160, 0.22), transparent 26%);
  pointer-events: none;
}

.mmd-cta__inner {
  position: relative;
  z-index: 1;
}

.mmd-cta__content {
  max-width: 760px;
}

.mmd-cta__sub {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.mmd-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* ==========================================================================
   15. STICKY CTA (Mobile)
   ========================================================================== */

.mmd-sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9997;
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s var(--mm-ease), transform 0.3s var(--mm-ease);
}

.mmd-sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mmd-sticky-cta .mm-btn {
  width: 100%;
}

/* ==========================================================================
   16. RESPONSIVE — max-width: 1200px
   ========================================================================== */

@media (max-width: 1200px) {
  .mmd-proof__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mmd-hero__inner,
  .mmd-areas__layout {
    grid-template-columns: 1fr;
  }

  .mmd-hero__content {
    max-width: 720px;
  }

  .mmd-hero__card {
    max-width: 520px;
  }

  .mmd-anatomy__visual {
    width: min(100%, 920px);
    margin: 0 auto;
  }

  .mmd-anatomy__annotations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mmd-xsection__visual {
    width: min(100%, 920px);
    margin: 0 auto;
  }

  .mmd-xsection__annotations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   17. RESPONSIVE — max-width: 900px
   ========================================================================== */

@media (max-width: 900px) {
  .mm-driveway-page .mm-header__nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(13, 8, 24, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px 24px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 999;
  }

  .mm-driveway-page .mm-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .mm-driveway-page .mm-nav__link {
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: 10px;
  }

  .mm-driveway-page .mm-header__hamburger {
    display: flex;
  }

  .mm-driveway-page .mm-header__actions .mm-btn {
    display: none;
  }

  .mm-driveway-page .mm-header__actions .mm-btn--sm {
    display: none;
  }

  .mmd-timeline__stages {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    scrollbar-width: none;
  }

  .mmd-timeline__stages::-webkit-scrollbar {
    display: none;
  }

  .mmd-timeline__stage {
    flex: 0 0 260px;
    scroll-snap-align: center;
  }

  .mmd-timeline__connector {
    display: none;
  }

  .mmd-neglect__comparison {
    grid-template-columns: 1fr;
  }

  .mmd-neglect__vs {
    justify-self: center;
  }

  .mmd-proof {
    margin-top: -8px;
    padding-bottom: 40px;
  }

  .mmd-anatomy__demo {
    padding-top: 112px;
  }

  .mmd-anatomy__annotations {
    gap: 16px;
  }

  .mmd-anatomy__weather-scene {
    height: 196px;
  }

  .mmd-anatomy__barrier-glow {
    top: 144px;
  }

  .mmd-xsection__demo {
    padding-top: 112px;
  }

  .mmd-xsection__annotations {
    gap: 16px;
  }

  .mmd-xsection__weather-scene {
    height: 196px;
  }

  .mmd-xsection__barrier-glow {
    top: 144px;
  }
}

/* ==========================================================================
   18. RESPONSIVE — max-width: 640px
   ========================================================================== */

@media (max-width: 640px) {
  .mmd-hero {
    min-height: auto;
    padding: calc(86px + var(--header-h)) 0 72px;
  }

  .mmd-hero__heading {
    max-width: none;
  }

  .mmd-hero__check {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 13px 14px;
  }

  .mmd-hero__check-icon {
    width: 38px;
    height: 38px;
  }

  .mmd-hero__booking-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .mmd-hero__actions,
  .mmd-cta__actions {
    flex-direction: column;
  }

  .mmd-hero__actions .mm-btn,
  .mmd-cta__actions .mm-btn {
    width: 100%;
  }

  .mmd-hero__card,
  .mmd-anatomy__card,
  .mmd-neglect__option {
    padding: 22px;
  }

  .mmd-anatomy .mm-section-heading {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .mmd-anatomy .mm-section-sub {
    font-size: 1rem;
  }

  .mmd-anatomy__visual {
    padding: 22px;
    border-radius: 26px;
  }

  .mmd-anatomy__visual-head {
    margin-bottom: 18px;
  }

  .mmd-anatomy__weather-nav {
    gap: 8px;
  }

  .mmd-anatomy__weather-pill {
    font-size: 0.72rem;
    padding: 9px 12px;
  }

  .mmd-anatomy__demo {
    padding-top: 92px;
  }

  .mmd-anatomy__weather-scene {
    height: 176px;
  }

  .mmd-anatomy__barrier-glow {
    top: 132px;
  }

  .mmd-anatomy__layers-caption,
  .mmd-anatomy__card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .mmd-anatomy__annotations {
    grid-template-columns: 1fr;
  }

  .mmd-anatomy__weather-scene .mmd-anatomy__rain-drop:nth-child(n),
  .mmd-anatomy__weather-scene .mmd-anatomy__rain-seep:nth-child(n),
  .mmd-anatomy__weather-scene .mmd-anatomy__uv-ray:nth-child(n),
  .mmd-anatomy__weather-scene .mmd-anatomy__frost-crystal:nth-child(n) {
    transform-origin: center top;
  }

  .mmd-xsection .mm-section-heading {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .mmd-xsection .mm-section-sub {
    font-size: 1rem;
  }

  .mmd-xsection__visual {
    padding: 22px;
    border-radius: 26px;
  }

  .mmd-xsection__visual-head {
    margin-bottom: 18px;
  }

  .mmd-xsection__weather-nav {
    gap: 8px;
  }

  .mmd-xsection__weather-pill {
    font-size: 0.72rem;
    padding: 9px 12px;
  }

  .mmd-xsection__demo {
    padding-top: 92px;
  }

  .mmd-xsection__weather-scene {
    height: 176px;
  }

  .mmd-xsection__barrier-glow {
    top: 132px;
  }

  .mmd-xsection__cutaway-caption,
  .mmd-xsection__card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .mmd-xsection__annotations {
    grid-template-columns: 1fr;
  }

  .mmd-xsection__grass {
    width: 20px;
    left: -14px;
  }

  .mmd-xsection__grass--right {
    left: auto;
    right: -14px;
  }

  .mmd-xsection__weather-scene .mmd-xsection__rain-drop:nth-child(n),
  .mmd-xsection__weather-scene .mmd-xsection__rain-seep:nth-child(n),
  .mmd-xsection__weather-scene .mmd-xsection__uv-ray:nth-child(n),
  .mmd-xsection__weather-scene .mmd-xsection__frost-crystal:nth-child(n) {
    transform-origin: center top;
  }

  .mmd-proof__grid {
    grid-template-columns: 1fr;
  }

  .mmd-proof__item {
    gap: 14px;
  }

  .mmd-hero__card-stats {
    grid-template-columns: 1fr;
  }

  .mmd-compare__thumbs {
    gap: 10px;
  }

  .mmd-compare__thumb {
    width: 90px;
    height: 60px;
  }

  .mmd-faq__question {
    font-size: 0.97rem;
    padding-right: 48px;
  }

  .mmd-sticky-cta {
    display: block;
  }

  .mmd-areas__proof {
    flex-direction: column;
    gap: 6px;
  }

  .mmd-areas__chips {
    gap: 8px;
  }

  .mmd-areas__chip {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   19. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .mm-reveal,
  .mmd-timeline__stage,
  .mmd-anatomy__layer,
  .mmd-anatomy__weather-nav,
  .mmd-neglect__bar,
  .mmd-hero__booking-fill,
  .mmd-timeline__connector {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .mmd-anatomy__rain-drop,
  .mmd-anatomy__rain-seep,
  .mmd-anatomy__uv-ray,
  .mmd-anatomy__frost-crystal,
  .mmd-anatomy__barrier-glow,
  .mmd-anatomy__layer::before,
  .mmd-anatomy__layer::after {
    animation: none !important;
    transition: none !important;
  }

  .mmd-xsection__layer,
  .mmd-xsection__weather-nav,
  .mmd-xsection__crack-fill-lines {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .mmd-xsection__rain-drop,
  .mmd-xsection__rain-seep,
  .mmd-xsection__uv-ray,
  .mmd-xsection__frost-crystal,
  .mmd-xsection__barrier-glow,
  .mmd-xsection__layer::before,
  .mmd-xsection__layer::after {
    animation: none !important;
    transition: none !important;
  }

  .mm-scroll-dot {
    animation: none;
  }

  .mmd-sticky-cta {
    transition: none !important;
  }
}
