/* ============================================================
   ON THE ROAD (OTR) v7.0 - Full-Bleed Layered Sheet & Motion System
   Inspired by Linea (21st.app) · 100% Solid Hex Palette · Zero Clutter
   ============================================================ */

:root {
  /* 100% Solid Official Brand Palette */
  --bg-surface: #FFFFFF;
  --bg-canvas: #F2F4F6;
  --bg-grey: #E4E4E7;
  --bg-grey-hover: #D4D4D8;
  --bg-dark: #0B0C0E;
  --bg-dark-card: #1B1B1E;
  --road-grey: #667085;

  /* Signal Orange */
  --brand-orange: #F25C05;
  --brand-orange-hover: #D94E00;
  --brand-orange-soft: #FFF1E8;
  --brand-orange-border: #FFD4BA;

  /* Solid Ink */
  --ink-primary: #0B0C0E;
  --ink-body: #3F3F46;
  --ink-muted: #667085;
  --ink-on-dark: #FFFFFF;
  --ink-on-dark-soft: #A1A1AA;

  /* Hairlines & Subtle Depth */
  --border-solid: #E4E4E7;
  --border-strong: #D4D4D8;
  --border-dark: #27272A;
  --sh-card: 0 14px 32px -20px #D4D4D8;
  --sh-float: 0 26px 52px -24px #0B0C0E;
  --sh-journey: 0 8px 20px -12px #0B0C0E3D;
  --sh-carousel: 0 18px 42px -24px #0B0C0E66;
  --journey-photo-overlay: linear-gradient(90deg, #0B0C0EED, #0B0C0E99 48%, #0B0C0E00 85%), linear-gradient(0deg, #0B0C0EAA, #0B0C0E00 75%);
  --journey-mobile-overlay: linear-gradient(0deg, #0B0C0EFA 0%, #0B0C0ED9 48%, #0B0C0E00 100%);
  --closing-mobile-overlay: linear-gradient(0deg, #0B0C0EF5 0%, #0B0C0ECC 30%, #0B0C0E40 65%, #0B0C0E14 100%);

  /* Architectural Radii & Easing */
  --r-sheet: 56px;
  --r-bento: 28px;
  --r-card: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --r-pill: 999px;
  --maxw: 1380px;
  --pad-x: clamp(20px, 4.5vw, 64px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font-body);
  background-color: var(--bg-surface);
  color: var(--ink-body);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 3px;
}

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 300;
  background-color: var(--brand-orange); color: #FFFFFF;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  padding: 12px 20px; border-radius: var(--r-pill); transition: top .2s;
}
.skip-link:focus { top: 14px; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2.5px; width: 0%;
  background-color: var(--brand-orange); z-index: 160; pointer-events: none;
}

/* ---------- Editorial Layout & Typography ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: clamp(72px, 8.5vw, 124px) 0; position: relative; }
.section--white { background-color: var(--bg-surface); }
.section--grey { background-color: var(--bg-canvas); }
.section--dark { background-color: var(--bg-dark); color: var(--ink-on-dark); }
.on-dark { color: var(--ink-on-dark); }

/* Layered Full-Bleed Architectural Sheets (Linea .m-band Architecture) */
.sheet-section {
  position: relative;
  z-index: 2;
  isolation: isolate;
  margin-top: calc(var(--r-sheet) * -1);
  padding-top: clamp(76px, 9vw, 124px);
  padding-bottom: calc(clamp(76px, 9vw, 124px) + var(--r-sheet));
}
.sheet-section--last {
  padding-bottom: clamp(72px, 8.5vw, 116px);
}
.sheet-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--bg-surface);
  clip-path: inset(0% var(--sheet-side, 0%) 0% var(--sheet-side, 0%) round var(--sheet-rad, var(--r-sheet)) var(--sheet-rad, var(--r-sheet)) 0px 0px);
  will-change: clip-path;
}
.sheet-bg--canvas { background-color: var(--bg-canvas); }
.sheet-bg--dark { background-color: var(--bg-dark); }
.sheet-section > :not(.sheet-bg) { position: relative; z-index: 1; }

h1, h2, h3, h4, .h1, .h2, .h3 {
  font-family: var(--font-display);
  color: var(--ink-primary);
  font-kerning: normal;
  text-wrap: balance;
}
.section--dark h1, .section--dark h2, .section--dark h3,
.on-dark h1, .on-dark h2, .on-dark h3,
.pkg-card--dark h3, .pkg-card--dark .pkg-price { color: #FFFFFF; }

.h1 { font-size: clamp(38px, 5.6vw, 76px); font-weight: 800; line-height: 1.01; letter-spacing: -0.038em; }
.h2 { font-size: clamp(30px, 4.1vw, 56px); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; }
.h3 { font-size: clamp(20px, 1.6vw, 25px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.lead { font-size: clamp(16.5px, 1.35vw, 20px); color: var(--ink-body); line-height: 1.55; max-width: 48ch; text-wrap: pretty; }
p, .read-along { text-wrap: pretty; }
.on-dark .lead, .section--dark .lead { color: #D4D4D8; }

.kicker {
  display: block;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 14px;
}
.on-dark .kicker, .section--dark .kicker { color: #A1A1AA; }

/* Legacy Eyebrow Compatibility for Subpages & Blog */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow--dark { color: #98A2B3; }
.eyebrow--orange { color: var(--ink-primary); }

/* Scroll-Driven Word-by-Word Reading Illumination (Linea readAlong) */
.read-along {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.25vw, 31px);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: -0.022em;
  color: var(--ink-primary);
}
.on-dark .read-along { color: #FFFFFF; }
.read-along .r-word {
  opacity: var(--w-ink, 1);
  transition: opacity .12s linear;
}

/* ---------- Linea Tactile Pill Buttons & Underline Links ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 28px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.1;
  white-space: nowrap; border: 1.5px solid transparent;
  transition: transform .35s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.96); }

/* Arrow glide (replaces the equalizer bars): the arrow slides out, its twin slides in */
.btn-arrow { position: relative; width: 16px; height: 16px; overflow: hidden; flex: none; }
.btn-arrow svg {
  position: absolute; inset: 0; width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .34s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-arrow svg + svg { transform: translateX(-130%); }
.btn:hover .btn-arrow svg:first-child { transform: translateX(130%); }
.btn:hover .btn-arrow svg + svg { transform: translateX(0); }

/* transitions.dev: text-states-swap */
:root { --text-swap-dur: 180ms; --text-swap-translate-y: 6px; --text-swap-blur: 2px; --text-swap-ease: ease-in-out; }
.t-text-swap {
  display: inline-block; transform: translateY(0); filter: blur(0); opacity: 1;
  transition: transform var(--text-swap-dur) var(--text-swap-ease), filter var(--text-swap-dur) var(--text-swap-ease), opacity var(--text-swap-dur) var(--text-swap-ease);
}
.t-text-swap.is-exit { transform: translateY(calc(var(--text-swap-translate-y) * -1)); filter: blur(var(--text-swap-blur)); opacity: 0; }
.t-text-swap.is-enter-start { transform: translateY(var(--text-swap-translate-y)); filter: blur(var(--text-swap-blur)); opacity: 0; transition: none; }
@media (prefers-reduced-motion: reduce) { .t-text-swap { transition: none !important; } }

.btn-dot {
  display: inline-grid; place-items: center; width: 22px; height: 22px;
  border-radius: var(--r-pill); font-size: 13px; line-height: 1; flex: none;
  transition: transform .35s var(--ease);
}
.btn:hover .btn-dot { transform: translateX(4px); }

.btn--orange { background-color: var(--brand-orange); color: #FFFFFF; border-color: var(--brand-orange); }
.btn--orange .btn-dot { background-color: #FFFFFF; color: var(--brand-orange); }
.btn--orange:hover { background-color: var(--brand-orange-hover); border-color: var(--brand-orange-hover); }

.btn--primary { background-color: var(--bg-dark); color: #FFFFFF; border-color: var(--bg-dark); }
.btn--primary .btn-dot { background-color: #27272A; color: #FFFFFF; }
.btn--primary:hover { background-color: #27272A; border-color: #27272A; }

.btn--white { background-color: var(--bg-surface); color: var(--ink-primary); border-color: var(--border-strong); }
.btn--white .btn-dot { background-color: var(--bg-dark); color: #FFFFFF; }
.btn--white:hover { background-color: var(--bg-canvas); border-color: var(--ink-primary); }

.btn--grey { background-color: var(--bg-canvas); color: var(--ink-primary); border-color: var(--border-solid); }
.btn--grey .btn-dot { background-color: var(--bg-dark); color: #FFFFFF; }
.btn--grey:hover { background-color: var(--bg-grey); border-color: var(--ink-primary); }

.btn--sm { min-height: 42px; padding: 9px 20px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* Smooth Dual-Layer Underline Links (Linea .m-link) */
.m-link, .link-wipe, .footer-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700;
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(var(--border-strong), var(--border-strong));
  background-size: 0% 1.5px, 100% 1.5px;
  background-position: 0 100%, 100% 100%;
  background-repeat: no-repeat;
  transition: background-size .45s var(--ease), color .2s ease;
}
.on-dark .m-link {
  background-image: linear-gradient(#FFFFFF, #FFFFFF), linear-gradient(#667085, #667085);
}
.footer-link, .link-wipe {
  background-image: linear-gradient(var(--brand-orange), var(--brand-orange));
  background-size: 0% 1.5px;
  background-position: 0 100%;
}
.m-link { position: relative; }
.m-link::after { content: ""; position: absolute; inset: -12px -6px; }
.m-link:hover { background-size: 100% 1.5px, 100% 1.5px; color: var(--brand-orange-hover); }
.on-dark .m-link:hover { color: #FFFFFF; }
.footer-link:hover, .link-wipe:hover { background-size: 100% 1.5px; color: var(--brand-orange); }

.pill-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--ink-primary); padding-bottom: 3px;
  border-bottom: 1.5px solid var(--border-strong);
  transition: border-color .25s ease, color .25s ease;
}
.pill-link:hover { border-color: var(--brand-orange); color: var(--brand-orange); }

/* Live Caption Pill (Linea .m-caption) */
.m-caption {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 10px 18px 10px 14px; border-radius: var(--r-pill);
  background-color: #0B0C0E; color: #FFFFFF;
  border: 1px solid #27272A;
  font-family: var(--font-display); font-size: 13.5px; font-weight: 600;
  box-shadow: var(--sh-float);
}
.m-caption--light {
  background-color: #FFFFFF; color: #0B0C0E; border-color: var(--border-solid);
  box-shadow: var(--sh-card);
}

/* Sliding Segmented Control (48px targets, optional line icon) */
.seg-control {
  position: relative; display: inline-flex; align-items: center;
  padding: 4px; border-radius: var(--r-pill);
  background-color: var(--bg-canvas);
}
.seg-thumb {
  position: absolute; top: 4px; left: 4px; height: calc(100% - 8px);
  border-radius: var(--r-pill); background-color: var(--bg-dark);
  transition: transform .38s var(--ease), width .38s var(--ease);
  z-index: 1; pointer-events: none;
}
.seg-btn {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--ink-body);
  transition: color .25s ease; white-space: nowrap;
}
.seg-btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.seg-btn:hover { color: var(--ink-primary); }
.seg-btn.active { color: #FFFFFF; }

/* ============================================================
   FULL-BLEED NAVIGATION OVERLAY (TRANSPARENT ON HERO -> SOLID ON SCROLL)
   ============================================================ */
.nav-wrap {
  --nav-h: 82px;
  position: sticky; top: 0; z-index: 95;
}
body.has-bleed-hero .nav-wrap {
  position: fixed; top: 0; left: 0; right: 0;
}
.nav-pill {
  height: var(--nav-h);
  padding: 0 max(var(--pad-x), calc((100vw - var(--maxw)) / 2 + var(--pad-x)));
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background-color: #FFFFFF;
  transition: box-shadow .3s var(--ease);
}
.nav-wrap.scrolled .nav-pill {
  box-shadow: 0 1px 0 rgba(11, 12, 14, 0.06), 0 10px 28px -18px rgba(11, 12, 14, 0.3);
}

.brand { display: inline-flex; align-items: center; flex: none; }

/* Wordmark logo: "ON THE ROAD" with the slogan beneath. No monogram. */
.brand-name { display: flex; flex-direction: column; line-height: 1.06; }
.brand-name b { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: 0.015em; color: var(--ink-primary); transition: color .25s; }
.brand-name span { font-size: 9.5px; font-weight: 700; color: var(--road-grey); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; margin-top: 4px; transition: color .25s; }

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  font-family: var(--font-display); font-size: 14.5px; font-weight: 600;
  color: var(--ink-body); padding: 4px 0;
  background-image: linear-gradient(var(--brand-orange), var(--brand-orange));
  background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: color .2s ease, background-size .35s var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink-primary); background-size: 100% 1.5px; }
.nav-links a.active { color: var(--ink-primary); font-weight: 800; }

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--r-pill);
  border: 1.5px solid var(--border-strong); background-color: var(--bg-surface);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background-color: var(--ink-primary); border-radius: 2px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background-color: var(--bg-dark); color: #FFFFFF;
  display: flex; flex-direction: column; padding: 20px 24px 32px;
  transform: translateX(100%); transition: transform .4s var(--ease);
  visibility: hidden; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mm-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--border-dark); }
.mobile-menu .brand-name b { color: #FFFFFF; }
.mobile-menu .brand-name span { color: #A1A1AA; }
.mm-close {
  width: 44px; height: 44px; border-radius: var(--r-pill);
  border: 1px solid #3F3F46; background-color: #1B1B1E;
  font-size: 22px; color: #FFFFFF; display: grid; place-items: center;
}
.mm-nav { display: flex; flex-direction: column; gap: 4px; margin: 24px 0; }
.mm-link {
  padding: 12px 4px; font-family: var(--font-display);
  font-size: 20px; font-weight: 700; color: #FFFFFF;
  border-bottom: 1px solid #1B1B1E;
}
.mm-actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }

/* ============================================================
   1. HERO: one clear message, real learners, sharp photography
   No blur layer, no duplicated images. Real pass photos at native
   resolution, feathered briefly into Jet Black.
   ============================================================ */
.hero-bleed {
  --hero-photo-w: min(50vw, 760px);
  --hero-edge: max(var(--pad-x), calc((100vw - var(--maxw)) / 2 + var(--pad-x)));
  position: relative;
  z-index: 1;
  isolation: isolate;
  min-height: clamp(680px, 100svh, 920px);
  background-color: var(--bg-dark);
  color: #FFFFFF;
  display: flex;
  align-items: flex-end;
  padding: 124px 0 calc(var(--r-sheet) + clamp(44px, 5vw, 68px));
  overflow: hidden;
}
/* Nav legibility over the top of the photo */
.hero-bleed::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 120px;
  z-index: 2; pointer-events: none;
  background: linear-gradient(#0B0C0E, rgba(11, 12, 14, 0));
  opacity: 0.5;
  display: none;
}
.hero-shade {
  /* Dark, softly blurred wash behind the headline. Its only hard edges are the hero's own edges,
     so it can never draw a line inside the hero. Eased stops avoid gradient banding. */
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 12, 14, 0.8) 0%, rgba(11, 12, 14, 0.74) 34%, rgba(11, 12, 14, 0.6) 44%, rgba(11, 12, 14, 0.38) 51%, rgba(11, 12, 14, 0.18) 56%, rgba(11, 12, 14, 0.06) 60%, rgba(11, 12, 14, 0) 63%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 40%, rgba(0, 0, 0, 0.82) 46%, rgba(0, 0, 0, 0.55) 51%, rgba(0, 0, 0, 0.28) 56%, rgba(0, 0, 0, 0.08) 60%, transparent 63%);
  mask-image: linear-gradient(90deg, #000 0%, #000 40%, rgba(0, 0, 0, 0.82) 46%, rgba(0, 0, 0, 0.55) 51%, rgba(0, 0, 0, 0.28) 56%, rgba(0, 0, 0, 0.08) 60%, transparent 63%);
}
.hero-visual {
  position: absolute; top: 72px; right: 0; bottom: 0;
  width: var(--hero-photo-w);
  margin: 0;
  z-index: 1;
}
.hero-photos {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.06) 3%, rgba(0, 0, 0, 0.2) 7%, rgba(0, 0, 0, 0.42) 11%, rgba(0, 0, 0, 0.65) 15%, rgba(0, 0, 0, 0.85) 19%, #000 24%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.06) 3%, rgba(0, 0, 0, 0.2) 7%, rgba(0, 0, 0, 0.42) 11%, rgba(0, 0, 0, 0.65) 15%, rgba(0, 0, 0, 0.85) 19%, #000 24%);
}
/* Short scrim only where the caption sits */
.hero-visual::after {
  content: "";
  position: absolute; bottom: 0; right: 0; left: calc(var(--hero-photo-w) - 100vw); height: 40%;
  z-index: 2; pointer-events: none;
  background: linear-gradient(rgba(11, 12, 14, 0), rgba(11, 12, 14, 0.55) 45%, #0B0C0E 100%);
}
/* Desktop: the same photo, darkened and softly blurred, fills the space behind the headline */
.hero-ambient { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-amb { position: absolute; inset: -48px; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.hero-amb.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s linear 0s; }
.hero-amb img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); filter: blur(22px) brightness(0.5) saturate(1.1); }

.hero-shot { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hero-shot img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, 50% 30%);
  transform: scale(1.03);
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-shot.is-active { opacity: 1; }
.hero-shot.is-active img { transform: none; }

/* Proof caption: the learner's own words, anchored to their photo */
.hero-proof {
  position: absolute; z-index: 3;
  right: var(--hero-edge);
  bottom: calc(var(--r-sheet) + clamp(44px, 5vw, 68px));
  width: min(400px, calc(100% - 64px));
  text-shadow: 0 1px 14px rgba(11, 12, 14, 0.55);
}
.hero-proof-quote {
  display: block;
  font-family: var(--font-display); font-size: 19px; font-weight: 600;
  line-height: 1.45; letter-spacing: -0.01em;
  color: #FFFFFF; max-width: 34ch; text-wrap: pretty;
}
.hero-proof-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.hero-proof-who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hero-proof-who b { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 800; line-height: 1.2; color: #FFFFFF; }
.hero-proof-who span { display: block; font-size: 14px; font-weight: 500; line-height: 1.35; color: #D0D5DD; }
.hero-proof-ctrl { display: flex; gap: 6px; flex: none; text-shadow: none; }
.hero-ctrl {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: var(--r-pill);
  background-color: #202227; color: #FFFFFF;
  transition: background-color .2s ease, transform .16s ease-out;
}
.hero-ctrl:hover { background-color: #30333A; }
.hero-ctrl:active { transform: scale(0.96); }
.hero-ctrl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-ctrl .ico-swap { position: relative; width: 18px; height: 18px; }
.hero-ctrl .ico-swap svg {
  position: absolute; inset: 0;
  transition: opacity .2s cubic-bezier(0.2, 0, 0, 1), transform .2s cubic-bezier(0.2, 0, 0, 1), filter .2s cubic-bezier(0.2, 0, 0, 1);
}
.hero-ctrl .i-play { opacity: 0; transform: scale(0.25); filter: blur(4px); stroke-width: 1.8; }
.hero-ctrl.is-paused .i-pause { opacity: 0; transform: scale(0.25); filter: blur(4px); }
.hero-ctrl.is-paused .i-play { opacity: 1; transform: none; filter: none; }

/* Copy: one clear message, one clear action, then the facts */
.hero-content-wrap {
  position: relative; z-index: 3; width: 100%;
  transform: translate3d(0, calc(var(--hero-p, 0) * -60px), 0);
}
.hero-copy-col { max-width: min(660px, calc(100vw - var(--hero-edge) - var(--hero-photo-w) - 24px)); }
.hero-copy-col .h1 { color: #FFFFFF; font-size: clamp(38px, 5.15vw, 74px); }
.hero-copy-col .lead { margin-top: 22px; color: #D0D5DD; max-width: 44ch; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 32px; }
.hero-actions .m-link { position: relative; font-size: 16px; }
.hero-actions .m-link::after { content: ""; position: absolute; inset: -14px -8px; }
.hero-facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px;
  font-family: var(--font-display); font-size: 14px; font-weight: 600; line-height: 1.4; color: #D0D5DD;
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--brand-orange); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero-facts .hero-fact-tel svg { stroke-width: 1.8; }
.hero-facts a { display: inline-block; padding: 12px 0; margin: -12px 0; transition: color .2s ease; }
.hero-facts a:hover { color: #FFFFFF; }

/* ============================================================
   2. STAT LOOP: shorter, quieter, no separators
   ============================================================ */
#trackRecord.sheet-section { padding-top: clamp(30px, 3.2vw, 44px); }
.minimal-loop-band { width: 100%; margin-bottom: clamp(56px, 7vw, 96px); }
.minimal-loop-viewport {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.minimal-loop-track {
  display: flex; align-items: baseline;
  width: max-content;
  animation: loopLTR 70s linear infinite;
}
.minimal-loop-viewport:hover .minimal-loop-track { animation-play-state: paused; }
@keyframes loopLTR {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
.minimal-stat-item {
  flex: none;
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 0 34px;
  white-space: nowrap;
}
.minimal-stat-item b {
  display: inline-block;
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1.2;
  color: var(--ink-primary);
}
.minimal-stat-item span { font-size: 15px; font-weight: 500; color: var(--ink-muted); }

/* Editorial Split Manifesto Header (Linea #listen__head) */
.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(48px, 6.5vw, 84px);
}

/* ============================================================
   3. JOURNEY: steps + sticky photo. Every step fully legible;
   the step in view sits on a soft grey card, the photo follows.
   ============================================================ */
#journey .read-along { font-size: clamp(19px, 1.9vw, 26px); line-height: 1.42; }
.journey-tilt-track { position: relative; }
.journey-tilt-stage { padding: 12px 0 36px; }
.journey-tilt-deck { list-style: none; display: grid; gap: 24px; }
.journey-tilt-card { position: relative; min-height: 600px; overflow: hidden; border-radius: var(--r-bento); background: var(--bg-dark); color: var(--ink-on-dark); transform-origin: 50% 0; box-shadow: var(--sh-journey); }
.journey-tilt-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.journey-tilt-card::before { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--journey-photo-overlay); }
.journey-tilt-body { position: relative; z-index: 2; min-height: inherit; display: flex; flex-direction: column; justify-content: space-between; padding: 36px 40px; gap: 40px; }
.journey-tilt-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.journey-tilt-copy { max-width: 570px; }
.journey-tilt-copy h3 { font-size: 36px; line-height: 1.18; letter-spacing: 0; color: var(--ink-on-dark); }
.journey-tilt-copy p { margin-top: 16px; font-size: 16px; line-height: 1.6; }
.journey-tilt-copy ul { list-style: none; display: grid; gap: 8px; margin-top: 20px; font-size: 14px; }
.journey-tilt-copy li { border-top: 1px solid var(--road-grey); padding-top: 8px; }
.journey-tilt-shade { position: absolute; inset: 0; z-index: 3; background: var(--bg-dark); opacity: 0; pointer-events: none; }
.tilt-enabled { height: 400svh; }
.tilt-enabled .journey-tilt-stage { position: sticky; top: 80px; height: calc(100svh - 96px); display: flex; flex-direction: column; overflow: clip; }
.tilt-enabled .journey-tilt-deck { position: relative; display: block; flex: 1; min-height: 0; width: min(88%, 1040px); margin: 16px auto 28px; }
.tilt-enabled .journey-tilt-card { position: absolute; inset: 0; min-height: 0; will-change: transform; }
.tilt-enabled .journey-tilt-body { height: 100%; min-height: 0; }
.tilt-mobile-stack .journey-tilt-card { position: sticky; will-change: transform; }
.tilt-mobile-stack .journey-tilt-deck { align-items: start; }
@media (max-width: 760px) {
  .journey-tilt-card { min-height: 540px; border-radius: var(--r-card); }
  .journey-tilt-deck { padding: 0 14px; }
  .journey-tilt-card::before { background: var(--journey-mobile-overlay); }
  .journey-tilt-body { padding: 24px 24px 84px; gap: 32px; }
  .journey-tilt-copy h3 { font-size: 25px; }
  .journey-tilt-copy p { font-size: 14px; line-height: 1.55; margin-top: 12px; }
  .journey-tilt-copy ul { font-size: 12px; margin-top: 16px; }
  .tilt-enabled .journey-tilt-stage { top: 72px; height: calc(100svh - 86px); }
  .tilt-enabled .journey-tilt-deck { width: 90%; margin: 6px auto 20px; padding: 0; }
}
.journey-sticky-layout {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5.2fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}
.journey-row-photo { display: none; }
.journey-steps-list { list-style: none; display: grid; gap: 6px; }
.journey-step-row {
  padding: 30px 34px 32px;
  border-radius: var(--r-card);
  cursor: pointer;
  transition: background-color .35s var(--ease);
}
.journey-step-row:hover { background-color: #F8F9FB; }
.journey-step-row.is-active { background-color: var(--bg-canvas); }
.journey-step-ico { display: block; width: 30px; height: 30px; margin-bottom: 14px; color: var(--brand-orange); }
.journey-step-ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.journey-step-row h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.025em; line-height: 1.2; }
.journey-step-row p { margin-top: 10px; font-size: 16px; color: var(--ink-body); max-width: 48ch; line-height: 1.6; text-wrap: pretty; }
.journey-step-points {
  list-style: none; display: grid; gap: 9px; margin-top: 18px;
  font-family: var(--font-display); font-size: 14.5px; font-weight: 600; line-height: 1.45; color: var(--ink-primary);
}
.journey-step-points li { display: flex; align-items: flex-start; gap: 10px; }
.journey-step-points svg { width: 16px; height: 16px; margin-top: 2px; flex: none; fill: none; stroke: var(--brand-orange); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.journey-sticky-aside { position: sticky; top: 112px; margin: 0; }
.journey-sticky-frame {
  position: relative;
  aspect-ratio: 4 / 4.7;
  max-height: calc(100svh - 150px);
  border-radius: var(--r-bento);
  overflow: hidden;
  background-color: var(--bg-canvas);
}
.journey-stage-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity .6s ease, transform 1s var(--ease);
}
.journey-stage-img.is-active { opacity: 1; transform: none; }
.journey-frame-cap {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  max-width: calc(100% - 40px);
  padding: 10px 14px; border-radius: 14px;
  background-color: #FFFFFF; color: var(--ink-primary);
  font-family: var(--font-display); font-size: 14px; font-weight: 700; line-height: 1.3;
  box-shadow: 0 1px 2px rgba(11, 12, 14, 0.1), 0 8px 20px -8px rgba(11, 12, 14, 0.25);
}

/* ============================================================
   4. COURSES: four clear ways forward, bespoke line visuals
   ============================================================ */
.section-head-clean {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 40px; margin-bottom: clamp(40px, 5vw, 64px);
}
.courses-editorial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.course-editorial-item {
  display: flex; flex-direction: column;
  background-color: #FFFFFF;
  border-radius: var(--r-bento);
  padding: 14px 14px 28px;
  box-shadow: 0 1px 2px rgba(11, 12, 14, 0.05), 0 14px 34px -20px rgba(11, 12, 14, 0.2);
}
.course-visual {
  aspect-ratio: 16 / 7.4;
  display: grid; place-items: center;
  padding: 18px;
  border-radius: 18px;
  background-color: var(--bg-canvas);
  overflow: hidden;
}
.course-visual svg { width: auto; height: 74%; max-width: 84%; overflow: visible; }
.course-editorial-meta {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 22px 14px 0;
  font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--ink-muted);
}
.course-editorial-meta b { font-size: 14px; font-weight: 800; color: var(--ink-primary); white-space: nowrap; }
.course-editorial-item h3 { padding: 8px 14px 0; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.025em; }
.course-editorial-item p { padding: 10px 14px 0; font-size: 15.5px; color: var(--ink-body); max-width: 50ch; line-height: 1.6; flex: 1; text-wrap: pretty; }
.course-editorial-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 22px 14px 0; }

/* Line visuals: Jet ink, Signal Orange accent, drawn on when the card reveals */
.cv { --cv-ink: #0B0C0E; --cv-acc: var(--brand-orange); --cv-soft: #D0D5DD; }
.cv .ln { fill: none; stroke: var(--cv-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cv .ln.soft { stroke: var(--cv-soft); }
.cv .ln.acc { stroke: var(--cv-acc); }
.cv .fill-acc { fill: var(--cv-acc); }
.cv .fill-ink { fill: var(--cv-ink); }
.cv text { font-family: var(--font-display); font-size: 17px; font-weight: 800; fill: var(--cv-ink); dominant-baseline: middle; }
.cv text.dl { font-size: 13px; font-weight: 700; fill: #667085; }
.cv text.tl { font-size: 13px; font-weight: 700; fill: #667085; }
.cv-manual .cv-knob { transform: translate(100px, 45px); }
.cv-manual .g1, .cv-auto .ld { fill: var(--cv-acc); }
.cv-auto .cv-sel { transform: translateY(90px); }
.cv-nerv .cv-needle { transform-box: view-box; transform-origin: 160px 140px; transform: rotate(-36deg); }
.cv-int .day { fill: var(--cv-acc); transform-box: fill-box; transform-origin: center; }
.cv-int .test-day { transform-box: fill-box; transform-origin: center; }

.js .cv .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s cubic-bezier(0.65, 0, 0.35, 1) .15s; }
.js .reveal.in .cv .draw { stroke-dashoffset: 0; }
.js .cv-manual .cv-knob { transform: translate(160px, 85px); }
.js .cv-manual .g1, .js .cv-auto .ld { fill: var(--cv-ink); transition: fill .3s ease 1.9s; }
.js .reveal.in .cv-manual .g1, .js .reveal.in .cv-auto .ld { fill: var(--cv-acc); }
.js .reveal.in .cv-manual .cv-knob { animation: cvKnobToFirst 1s cubic-bezier(0.65, 0, 0.35, 1) 1s both; }
@keyframes cvKnobToFirst {
  0% { transform: translate(160px, 85px); }
  50% { transform: translate(100px, 85px); }
  100% { transform: translate(100px, 45px); }
}
.js .cv-auto .cv-sel { transform: translateY(0); }
.js .reveal.in .cv-auto .cv-sel { animation: cvSelToDrive 1.6s cubic-bezier(0.65, 0, 0.35, 1) .9s both; }
@keyframes cvSelToDrive {
  0% { transform: translateY(0); } 22% { transform: translateY(30px); } 36% { transform: translateY(30px); }
  58% { transform: translateY(60px); } 72% { transform: translateY(60px); } 100% { transform: translateY(90px); }
}
.js .cv-nerv .cv-needle { transform: rotate(-90deg); transition: transform 1.4s cubic-bezier(0.34, 1.2, 0.64, 1) .6s; }
.js .reveal.in .cv-nerv .cv-needle { transform: rotate(-36deg); }
.js .cv-int .day, .js .cv-int .test-day { opacity: 0; transform: scale(0.6); transition: opacity .3s ease, transform .4s cubic-bezier(0.34, 1.4, 0.64, 1); transition-delay: calc(var(--d, 0) * 90ms + 0.3s); }
.js .reveal.in .cv-int .day, .js .reveal.in .cv-int .test-day { opacity: 1; transform: none; }

/* ============================================================
   5. PACKAGES & PRICING: weekday and weekend prices side by side
   ============================================================ */
.packages-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 28px 40px; margin-bottom: 40px;
}
.packages-head .h2 { margin: 6px 0 10px; }
.pricing-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 20px; }
.pc-group { display: flex; flex-direction: column; gap: 8px; }
.pc-label { padding-left: 8px; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--ink-muted); }

.packages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.pkg-card {
  display: flex; flex-direction: column;
  padding: 28px 24px 24px;
  border-radius: var(--r-bento);
  background-color: var(--bg-canvas);
  color: var(--ink-primary);
}
.pkg-card--featured { background-color: var(--bg-dark); color: #FFFFFF; }
.pkg-card--white { background-color: #FFFFFF; }
.pkg-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-family: var(--font-display); font-size: 12.5px; font-weight: 700; color: var(--ink-muted); }
.pkg-card--featured .pkg-meta { color: #98A2B3; }
.pkg-card h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.015em; color: inherit; }
.pkg-card--featured h3 { color: #FFFFFF; }
.pkg-flag { flex: none; font-family: var(--font-display); font-size: 12.5px; font-weight: 800; color: var(--brand-orange); white-space: nowrap; }
.pkg-desc { margin-top: 8px; min-height: calc(1.55em * 3); font-size: 14px; line-height: 1.55; color: var(--ink-body); text-wrap: pretty; }
.pkg-card--featured .pkg-desc { color: #D0D5DD; }
.pkg-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.pkg-price-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pkg-price-col:only-child { grid-column: 1 / -1; }
.pkg-price-col small { font-size: 12.5px; font-weight: 600; color: var(--ink-muted); }
.pkg-card--featured .pkg-price-col small { color: #98A2B3; }
.pkg-price-col b {
  font-family: var(--font-display); font-size: clamp(26px, 2.1vw, 32px); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.pkg-price-col b.is-text { font-size: 20px; letter-spacing: -0.015em; }
.pkg-note { font-size: 13px; font-weight: 600; color: var(--ink-body); }
.pkg-card--featured .pkg-note { color: #D0D5DD; }
.pkg-rate { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.pkg-card--featured .pkg-rate { color: #98A2B3; }
.pkg-points { list-style: none; display: grid; gap: 9px; margin: 22px 0 24px; }
.pkg-points li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.pkg-card--featured .pkg-points li { color: #F2F4F6; }
.pkg-points svg { width: 15px; height: 15px; margin-top: 2px; flex: none; fill: none; stroke: var(--brand-orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pkg-cta { margin-top: auto; }
.btn--soft { background-color: #FFFFFF; color: var(--ink-primary); border-color: #FFFFFF; }
.btn--soft:hover { background-color: var(--bg-dark); border-color: var(--bg-dark); color: #FFFFFF; }
.pkg-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 28px; }
.pkg-foot p { font-size: 14px; color: var(--ink-muted); max-width: 70ch; }

/* Learner pricing carousel: the active package leads, siblings sweep in from either side. */
.packages-carousel { width: 100%; }
.packages-carousel-bar { display: none; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.packages-carousel.is-enhanced .packages-carousel-bar { display: flex; }
.packages-carousel-hint { font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.packages-carousel-nav { display: flex; align-items: center; gap: 12px; }
.packages-carousel-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none; border: 1px solid var(--border-solid);
  border-radius: 50%; background-color: var(--bg-surface); color: var(--ink-primary);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.packages-carousel-btn:hover { background-color: var(--bg-dark); border-color: var(--bg-dark); color: var(--ink-on-dark); }
.packages-carousel-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.packages-carousel-position { min-width: 42px; text-align: center; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
#packagesGrid.is-enhanced {
  display: block; position: relative; margin: 0; padding: 0;
  overflow: hidden; touch-action: pan-y pinch-zoom; user-select: none; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #0B0C0E 5%, #0B0C0E 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #0B0C0E 5%, #0B0C0E 95%, transparent 100%);
}
#packagesGrid.is-enhanced.is-dragging { cursor: grabbing; }
#packagesGrid.is-enhanced .pkg-card {
  position: absolute; top: 0; left: 50%; width: var(--pkg-card-w, 380px);
  margin: 0; border: 1px solid var(--border-solid); cursor: pointer;
  box-shadow: var(--sh-carousel);
  transform-origin: center center; will-change: transform, opacity;
}
#packagesGrid.is-enhanced .pkg-card--featured { border-color: var(--bg-dark); }
#packagesGrid.is-enhanced .pkg-card.is-active { cursor: default; }
#packagesGrid.is-enhanced .pkg-card:not(.is-active) .pkg-cta { pointer-events: none; }
#packagesGrid:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 5px; border-radius: var(--r-sm); }

@media (max-width: 760px) {
  .packages-carousel-bar { justify-content: flex-start; gap: 12px; margin-top: 14px; }
  .packages-carousel-hint { display: none; }
  .packages-carousel-nav { order: 1; gap: 8px; }
}

/* ============================================================
   6. MINIMAL FULL-BLEED STUDENT STORIES (1 VIDEO + 2 PHOTO LOOPS)
   ============================================================ */
.stories-band-label {
  display: flex; align-items: baseline; justify-content: center; gap: 12px;
  margin: 0 0 16px; padding-top: 2px; text-align: center;
}
.stories-band-label h3 { font-size: 18px; letter-spacing: -0.02em; }
.stories-band-label span { font-size: 13px; color: var(--ink-muted); }

.video-loop-wrap, .rev-loop-wrap {
  overflow: hidden; width: 100%; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #0B0C0E 5%, #0B0C0E 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #0B0C0E 5%, #0B0C0E 95%, transparent 100%);
}
.video-loop-wrap { margin-bottom: 44px; }
.rev-loop-wrap { margin-bottom: 14px; }

.video-loop-track { display: flex; gap: 22px; width: max-content; animation: loopRTL 42s linear infinite; }
.video-loop-wrap:hover .video-loop-track,
.video-loop-wrap:focus-within .video-loop-track,
.video-loop-wrap.is-playing .video-loop-track { animation-play-state: paused; }

.video-loop-card {
  width: 296px; flex: none;
  background-color: var(--bg-surface);
  border-radius: var(--r-card); overflow: hidden;
  display: flex; flex-direction: column;
}
.video-media { position: relative; aspect-ratio: 9 / 12.2; background-color: #0B0C0E; overflow: hidden; }
.video-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.video-body small { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.video-body b { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--ink-primary); }
.video-body p { font-size: 13.5px; color: var(--ink-body); line-height: 1.5; }

.rev-loop-track { display: flex; gap: 18px; width: max-content; }
.rev-loop-rtl { animation: loopRTL 50s linear infinite; }
.rev-loop-ltr { animation: loopLTR 52s linear infinite; }
.rev-loop-wrap:hover .rev-loop-track { animation-play-state: paused; }
@keyframes loopRTL {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Review Card with Larger Profile Portraits */
.rev-story-card {
  width: 410px; flex: none;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-solid);
  border-radius: var(--r-card); padding: 24px 26px;
  box-shadow: var(--sh-card);
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.rev-stars-row { display: flex; gap: 3px; color: var(--brand-orange); }
.rev-stars-row svg { width: 15px; height: 15px; fill: currentColor; }
.rev-story-card p {
  font-size: 15px; color: var(--ink-primary); line-height: 1.56;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.rev-author-row { display: flex; align-items: center; gap: 15px; }
.rev-author-row img {
  width: 68px; height: 68px; border-radius: 18px;
  object-fit: cover; object-position: center 18%;
  border: 1.5px solid var(--border-solid);
  flex: none; background-color: var(--bg-grey);
}
.rev-author-row b { display: block; font-family: var(--font-display); font-size: 15.5px; font-weight: 800; color: var(--ink-primary); }
.rev-author-row span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-muted); margin-top: 2px; }

/* ============================================================
   7. SPACIOUS INSTRUCTORS & FULL-BLEED DARK ADI SHEET
   ============================================================ */
.team-editorial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 5vw, 72px); }
.team-editorial-col { display: flex; flex-direction: column; gap: 14px; }
.team-editorial-col small {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted);
}
.team-editorial-col h3 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.03em; }
.team-editorial-col .team-focus { font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--ink-primary); }
.team-editorial-col .team-bio { font-size: 15.5px; color: var(--ink-body); line-height: 1.62; max-width: 48ch; text-wrap: pretty; }
.team-editorial-col .team-coverage-line { display: grid; gap: 4px; padding-top: 4px; font-size: 14px; line-height: 1.6; color: var(--ink-muted); max-width: 52ch; }
.team-coverage-line strong { font-family: var(--font-display); font-size: 13px; color: var(--ink-primary); }

/* ============================================================
   ON THE ROAD INSTRUCTOR ACADEMY: Signal Orange sheet,
   black and white components (body text stays Jet Black for AA)
   ============================================================ */
.sheet-bg--orange { background-color: var(--brand-orange); }
.on-orange { color: var(--ink-primary); }
.on-orange .kicker, .on-orange .read-along { color: var(--ink-primary); }
.on-orange .m-link { background-image: linear-gradient(#0B0C0E, #0B0C0E), linear-gradient(rgba(11, 12, 14, 0.32), rgba(11, 12, 14, 0.32)); }
.on-orange .m-link:hover { color: var(--ink-primary); }
.adi-title { font-size: clamp(38px, 5.6vw, 84px); line-height: 0.98; letter-spacing: -0.042em; max-width: 12ch; }

.adi-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.adi-photo-card { position: relative; margin: 0; min-height: 480px; border-radius: var(--r-bento); overflow: hidden; background-color: var(--bg-dark); }
.adi-photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.adi-photo-badge {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 24px; border-radius: 20px;
  background-color: var(--bg-dark); color: #FFFFFF;
}
.adi-photo-badge b { font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 1.25; letter-spacing: -0.015em; }
.adi-photo-badge ul { list-style: none; display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: #D0D5DD; }
.adi-photo-badge li { display: flex; align-items: center; gap: 10px; }
.adi-photo-badge svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--brand-orange); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.adi-stage-stack { display: flex; flex-direction: column; gap: 16px; }
.adi-stage-card {
  flex: 1;
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: start;
  padding: 28px 30px;
  border-radius: var(--r-bento);
  background-color: #FFFFFF; color: var(--ink-primary);
}
.adi-part { font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--brand-orange); white-space: nowrap; }
.adi-stage-copy h3 { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.25; letter-spacing: -0.02em; color: var(--ink-primary); }
.adi-stage-copy p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-body); max-width: 52ch; text-wrap: pretty; }

.adi-pkg-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.adi-pkg-header h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.025em; color: var(--ink-primary); }
.adi-swipe-hint { display: none; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--ink-primary); }
.adi-pkg-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 36px; }
.adi-pkg-chip {
  display: flex; flex-direction: column; gap: 6px;
  min-height: 176px; padding: 22px 22px 24px;
  border-radius: 22px;
  background-color: var(--bg-dark); color: #FFFFFF;
  transition: transform .25s var(--ease), background-color .2s ease;
}
.adi-pkg-chip:hover { transform: translateY(-3px); background-color: #1D1F24; }
.adi-pkg-chip.is-featured, .adi-pkg-chip.is-featured:hover { background-color: #FFFFFF; color: var(--ink-primary); }
.adi-pkg-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: auto; padding-bottom: 22px; }
.adi-pkg-chip b { font-family: var(--font-display); font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.adi-pkg-top svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.adi-pkg-chip:hover .adi-pkg-top svg { transform: translateX(3px); }
.adi-pkg-chip strong { font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.3; }
.adi-pkg-chip small { font-size: 13px; font-weight: 600; color: #98A2B3; }
.adi-pkg-chip.is-featured small { color: var(--ink-muted); }
.adi-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* ============================================================
   8. COVERAGE MAP, WALKTHROUGH FORM & MINIMAL HAIRLINE FAQS
   ============================================================ */
.areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4.5vw, 64px); align-items: start; }
.areas-copy .h2 { margin: 4px 0 14px; }
.areas-copy .lead { margin-bottom: 24px; }
.area-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.area-btn {
  padding: 8px 15px; border-radius: var(--r-pill); font-family: var(--font-display);
  font-size: 13px; font-weight: 700; background-color: var(--bg-canvas);
  color: var(--ink-primary); border: 1px solid transparent;
  transition: background-color .2s, color .2s;
}
.area-btn small { font-size: 12px; font-weight: 600; color: var(--ink-muted); margin-left: 4px; }
.area-btn:hover { background-color: var(--bg-grey); }
.area-btn.active { background-color: var(--bg-dark); color: #FFFFFF; }
.area-btn.active small { color: #A1A1AA; }

.area-focus { margin-top: 22px; padding: 20px 22px; border-radius: 20px; background-color: var(--bg-canvas); }
.area-focus-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.area-focus-label { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--ink-primary); }
.area-focus p { font-size: 14.5px; color: var(--ink-body); line-height: 1.55; margin-bottom: 14px; }

.areas-right { display: flex; flex-direction: column; gap: 16px; }
.map-panel { height: 370px; border-radius: var(--r-bento); overflow: hidden; background-color: var(--bg-canvas); }
.map-panel .leaflet-tile-pane { filter: saturate(0.22) contrast(1.03); }
#map { width: 100%; height: 100%; }
.marker-pin {
  width: 14px; height: 14px; border-radius: 50%;
  background-color: var(--bg-dark); border: 3px solid #FFFFFF;
}
.custom-map-marker.is-active .marker-pin { background-color: var(--brand-orange); transform: scale(1.35); }
.map-tooltip {
  background-color: var(--bg-dark) !important; color: #FFFFFF !important;
  border: none !important; border-radius: 999px !important;
  padding: 3px 10px !important; font-family: var(--font-display); font-size: 11px; font-weight: 700;
}

.postcode-card { background-color: var(--bg-canvas); border-radius: var(--r-card); padding: 22px 24px; }
.postcode-card h3 { font-size: 17px; margin-bottom: 4px; }
.postcode-card label { display: block; font-size: 13.5px; color: var(--ink-body); margin-bottom: 12px; }
.postcode-card .input { background-color: #FFFFFF; }
.postcode-card .input:hover { background-color: #FFFFFF; border-color: #D0D5DD; }
.pc-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.input {
  width: 100%; min-height: 50px; padding: 12px 18px; border-radius: var(--r-pill);
  background-color: var(--bg-surface); border: 1px solid var(--border-strong);
  color: var(--ink-primary); font-size: 15px; outline: none;
  transition: border-color .2s;
}
.input:focus { border-color: var(--brand-orange); }
.pc-result { font-size: 13.5px; font-weight: 700; margin-top: 10px; display: none; }
.pc-result.ok { display: block; color: var(--ink-primary); }
.pc-result.no { display: block; color: var(--brand-orange-hover); }

/* ============================================================
   FORMS: personalised match, contact form, modal, postcode.
   Minimal filled controls, one line-icon per option, 48px+ targets.
   ============================================================ */
:root {
  /* transitions.dev: page-side-by-side */
  --page-slide-dur: 250ms; --page-fade-dur: 250ms; --page-slide-distance: 8px; --page-blur: 3px;
  --page-stagger: 0ms; --page-exit-enabled: 1;
  --page-slide-ease: cubic-bezier(0.22, 1, 0.36, 1); --page-fade-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* transitions.dev: success-check */
  --check-opacity-dur: 500ms; --check-rotate-dur: 500ms; --check-rotate-from: 80deg; --check-bob-dur: 500ms;
  --check-y-amount: 40px; --check-blur-dur: 500ms; --check-blur-from: 10px; --check-path-dur: 500ms; --check-path-delay: 80ms;
  --check-ease-out: cubic-bezier(0.22, 1, 0.36, 1); --check-ease-opacity: cubic-bezier(0.22, 1, 0.36, 1);
  --check-ease-rotate: cubic-bezier(0.22, 1, 0.36, 1); --check-ease-bob: cubic-bezier(0.34, 1.35, 0.64, 1); --check-ease-path: cubic-bezier(0.22, 1, 0.36, 1);
  /* transitions.dev: error-state-shake */
  --shake-distance: 6px; --shake-overshoot: 4px; --shake-dur-a: 80ms; --shake-dur-b: 60ms;
  --shake-ease: cubic-bezier(0.22, 1, 0.36, 1); --revert-hold: 3000ms; --revert-dur: 280ms;
}

.qualify-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(26px, 4vw, 48px);
  border-radius: 36px;
  background-color: var(--bg-dark);
}
.qualify-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.qualify-copy .h2 { color: #FFFFFF; font-size: clamp(28px, 3.3vw, 44px); }
.qualify-copy .lead { color: #D0D5DD; font-size: 16px; }
.qualify-points { list-style: none; display: grid; gap: 10px; margin: 6px 0 8px; font-family: var(--font-display); font-size: 14.5px; font-weight: 600; color: #FFFFFF; }
.qualify-points li { display: flex; align-items: center; gap: 10px; }
.qualify-points svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--brand-orange); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.quiz-shell {
  width: 100%; max-width: 820px; margin: 0 auto;
  padding: clamp(22px, 3.4vw, 40px);
  border-radius: var(--r-bento);
  background-color: #FFFFFF; color: var(--ink-body);
  box-shadow: 0 1px 2px rgba(11, 12, 14, 0.05), 0 18px 40px -24px rgba(11, 12, 14, 0.25);
}
.qualify-stage .quiz-shell { margin: 0; max-width: none; box-shadow: none; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-bottom: 8px; }
.quiz-step-label { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.quiz-preset-banner { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--ink-primary); }
.quiz-preset-banner svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--brand-orange); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.quiz-back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 6px; border-radius: 10px; font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--ink-primary); transition: color .15s ease; }
.quiz-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quiz-back:hover { color: var(--brand-orange-hover); }
.quiz-q, .qualify-stage .quiz-q { margin-bottom: 6px; font-size: clamp(21px, 2.1vw, 27px); letter-spacing: -0.025em; color: var(--ink-primary); text-wrap: balance; }
.quiz-hint { margin-bottom: 22px; font-size: 14.5px; color: var(--ink-muted); text-wrap: pretty; }

/* transitions.dev page-side-by-side, adapted for a single re-rendered pane: next enters from the right, back from the left */
.quiz-slide.t-page-in { animation: tPageIn var(--page-slide-dur) var(--page-slide-ease) both; }
@keyframes tPageIn {
  from { opacity: 0; transform: translateX(calc(var(--page-slide-distance) * 2 * var(--t-dir, 1) * var(--page-exit-enabled))); filter: blur(var(--page-blur)); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.quiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quiz-opt {
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 14px 16px;
  border-radius: 18px; text-align: left;
  background-color: var(--bg-canvas);
  transition: background-color .18s ease, transform .16s ease-out;
}
.quiz-opt:hover { background-color: #E7EAEE; }
.quiz-opt:active { transform: scale(0.98); }
.quiz-opt.selected { background-color: var(--bg-dark); }
.quiz-opt-ico { display: grid; place-items: center; width: 28px; height: 28px; flex: none; color: var(--ink-primary); transition: color .18s ease; }
.quiz-opt-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.quiz-opt-num { font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.quiz-opt.selected .quiz-opt-ico { color: var(--brand-orange); }
.quiz-opt-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.quiz-opt-text b { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--ink-primary); }
.quiz-opt-text span { font-size: 13px; line-height: 1.4; color: var(--ink-body); }
.quiz-opt.selected .quiz-opt-text b { color: #FFFFFF; }
.quiz-opt.selected .quiz-opt-text span { color: #D0D5DD; }

.quiz-area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.quiz-chip {
  display: flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 14px; border-radius: 14px;
  background-color: var(--bg-canvas); color: var(--ink-primary);
  font-family: var(--font-display); font-size: 14px; font-weight: 700; text-align: left;
  transition: background-color .18s ease, color .18s ease;
}
.quiz-chip svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.quiz-chip:hover { background-color: #E7EAEE; }
.quiz-chip.selected { background-color: var(--bg-dark); color: #FFFFFF; }
.quiz-chip.selected svg { color: var(--brand-orange); }

/* Inputs: filled, no hairline borders, 52px */
.input {
  width: 100%; min-height: 52px; padding: 0 18px;
  border-radius: 14px; border: 1.5px solid transparent;
  background-color: var(--bg-canvas); color: var(--ink-primary);
  font-size: 16px; outline: none;
  transition: border-color 150ms ease-out, background-color .15s ease;
}
.input::placeholder { color: var(--ink-muted); }
.input:hover { background-color: #E7EAEE; }
.input:focus { background-color: #FFFFFF; border-color: var(--ink-primary); }
.field-group label, .quiz-label { display: block; margin-bottom: 8px; font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--ink-primary); }
.pc-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.quiz-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.quiz-fields .field-group:first-child { grid-column: 1 / -1; }
.quiz-pref { margin: 0 0 18px; padding: 0; border: 0; }
.quiz-pref-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.quiz-pref-opt {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 14px;
  background-color: var(--bg-canvas); color: var(--ink-primary);
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  cursor: pointer; transition: background-color .18s ease, color .18s ease;
}
.quiz-pref-opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.quiz-pref-opt svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.quiz-pref-opt:hover { background-color: #E7EAEE; }
.quiz-pref-opt.is-checked { background-color: var(--bg-dark); color: #FFFFFF; }
.quiz-pref-opt.is-checked svg { color: var(--brand-orange); }
.quiz-pref-opt:focus-within { outline: 2px solid var(--brand-orange); outline-offset: 2px; }
.quiz-consent { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 14px; line-height: 1.5; color: var(--ink-body); cursor: pointer; }
.quiz-consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--brand-orange); cursor: pointer; }
.quiz-consent a { font-weight: 700; color: var(--ink-primary); text-decoration: underline; text-underline-offset: 3px; }

/* transitions.dev: error-state-shake */
.t-input { transition: border-color 150ms ease-out; }
.t-input.is-error { border-color: var(--brand-orange); transition: border-color var(--revert-dur, 280ms) ease-out; }
.quiz-consent .t-input.is-error { outline: 2px solid var(--brand-orange); outline-offset: 2px; }
.t-input.is-shaking { animation: t-input-shake calc(var(--shake-dur-a) * 2 + var(--shake-dur-b) * 2) linear; }
@keyframes t-input-shake {
  0%      { transform: translateX(0);                                 animation-timing-function: var(--shake-ease); }
  28.57%  { transform: translateX(var(--shake-distance));             animation-timing-function: var(--shake-ease); }
  57.14%  { transform: translateX(calc(var(--shake-distance) * -1)); animation-timing-function: var(--shake-ease); }
  78.57%  { transform: translateX(var(--shake-overshoot));            animation-timing-function: var(--shake-ease); }
  100%    { transform: translateX(0); }
}
.t-error-msg {
  display: flex; align-items: center; gap: 8px;
  max-height: 0; margin: 0; overflow: hidden;
  font-size: 14px; font-weight: 700; color: var(--ink-primary);
  opacity: 0; visibility: hidden;
  transition: opacity var(--revert-dur, 280ms) ease-out, max-height var(--revert-dur, 280ms) ease-out, margin var(--revert-dur, 280ms) ease-out, visibility 0s linear var(--revert-dur, 280ms);
}
.t-error-msg svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--brand-orange); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.t-input-wrap.is-error .t-error-msg { max-height: 80px; margin: 12px 0 14px; opacity: 1; visibility: visible; transition: opacity var(--revert-dur, 280ms) ease-out, max-height var(--revert-dur, 280ms) ease-out, margin var(--revert-dur, 280ms) ease-out, visibility 0s linear 0s; }

.plan-card { margin-bottom: 22px; padding: 20px 22px; border-radius: 20px; background-color: var(--bg-canvas); }
.plan-card small { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--ink-muted); }
.plan-card h4 { margin-bottom: 6px; font-size: 18px; letter-spacing: -0.015em; color: var(--ink-primary); }
.plan-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-body); }

/* Done: transitions.dev success-check */
.quiz-done-check { display: grid; place-items: center; width: 56px; height: 56px; margin: 6px 0 18px; border-radius: 999px; background-color: var(--brand-orange); color: #FFFFFF; }
.t-success-check { display: inline-block; transform-origin: center; opacity: 0; }
.t-success-check svg { display: block; overflow: visible; }
.t-success-check svg path { stroke-dasharray: 20; stroke-dashoffset: 20; }
.t-success-check[data-state="in"] {
  animation:
    t-check-fade   var(--check-opacity-dur) var(--check-ease-opacity) forwards,
    t-check-rotate var(--check-rotate-dur)  var(--check-ease-rotate)  forwards,
    t-check-blur   var(--check-blur-dur)    var(--check-ease-out)     forwards,
    t-check-bob    var(--check-bob-dur)     var(--check-ease-bob)     forwards;
}
.t-success-check[data-state="in"] svg path { animation: t-check-draw var(--check-path-dur) var(--check-ease-path) var(--check-path-delay, 0ms) forwards; }
@keyframes t-check-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes t-check-rotate { from { transform: rotate(var(--check-rotate-from)); } to { transform: rotate(0deg); } }
@keyframes t-check-blur { from { filter: blur(var(--check-blur-from)); } to { filter: blur(0); } }
@keyframes t-check-bob { from { translate: 0 var(--check-y-amount); } to { translate: 0 0; } }
@keyframes t-check-draw { to { stroke-dashoffset: 0; } }
.plan-list { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0 0 24px; padding: 20px 22px; border-radius: 20px; background-color: var(--bg-canvas); }
.plan-list dt { font-size: 13.5px; font-weight: 600; color: var(--ink-muted); }
.plan-list dd { margin: 0; font-family: var(--font-display); font-size: 14.5px; font-weight: 700; color: var(--ink-primary); }
.plan-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz-shell .btn--soft { background-color: var(--bg-canvas); border-color: var(--bg-canvas); }

.quiz-modal {
  position: fixed; inset: 0; z-index: 250;
  display: none; flex-direction: column; overflow-y: auto;
  padding: 24px 20px 48px;
  background-color: var(--bg-canvas);
}
.quiz-modal.open { display: flex; }
.quiz-modal-bar { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 820px; margin: 0 auto 18px; }
.modal-close-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 20px 0 16px; border-radius: var(--r-pill);
  background-color: #FFFFFF; color: var(--ink-primary);
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  transition: background-color .2s ease, color .2s ease;
}
.modal-close-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.modal-close-btn:hover { background-color: var(--bg-dark); color: #FFFFFF; }
@media (prefers-reduced-motion: reduce) {
  .quiz-slide.t-page-in { animation: none !important; }
  .t-input { animation: none !important; transform: none !important; }
  .t-success-check { animation: none !important; opacity: 1; }
  .t-success-check svg path { animation: none !important; stroke-dashoffset: 0 !important; }
}

/* FAQ: soft grey rows, no hairlines; panel reveal via grid rows */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-copy .h2 { margin: 4px 0 14px; }
.faq-list { display: grid; gap: 8px; }
.faq-item { border-radius: 20px; background-color: var(--bg-canvas); }
.faq-trigger {
  width: 100%; min-height: 64px; padding: 20px 22px 20px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-radius: 20px; text-align: left;
  font-family: var(--font-display); font-size: clamp(16px, 1.4vw, 19px); font-weight: 700; color: var(--ink-primary);
}
.faq-plus {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background-color: #FFFFFF; color: var(--ink-primary);
  transition: transform .35s var(--ease), background-color .25s ease, color .25s ease;
}
.faq-plus svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.faq-trigger:hover .faq-plus { background-color: var(--bg-dark); color: #FFFFFF; }
.faq-item.is-open .faq-plus { transform: rotate(45deg); background-color: var(--bg-dark); color: #FFFFFF; }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .36s var(--ease); }
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }
.faq-panel-inner p { padding: 0 70px 24px 26px; font-size: 15.5px; color: var(--ink-body); line-height: 1.65; max-width: 64ch; }

/* ============================================================
   9. SCROLL-EXPANDING PHOTO WINDOW CTA & LINEA GIANT WORDMARK FOOTER
   ============================================================ */
.closing-window-sec {
  position: relative; z-index: 2; isolation: isolate;
  margin-top: calc(var(--r-sheet) * -1);
  padding: clamp(56px, 7vw, 96px) 0 0;
  color: #FFFFFF;
}
.closing-window-grid { display: grid; }
.closing-window-media, .closing-window-copy { grid-area: 1 / 1; }
.closing-window-media {
  position: relative; overflow: hidden;
  height: min(76vh, 620px); min-height: 440px;
  background-color: #1B1B1E;
  clip-path: inset(var(--win-y, 0%) var(--win-x, 0%) round var(--win-r, 28px));
  will-change: clip-path;
}
.closing-window-media picture { display: block; width: 100%; height: 100%; }
.closing-window-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 15%;
  transform: scale(var(--win-s, 1));
  will-change: transform;
}
.closing-window-shade {
  position: absolute; inset: 0;
  background-color: #0B0C0E;
  opacity: 0.48;
}
.closing-window-copy {
  position: relative; z-index: 2; align-self: end;
  max-width: 620px; padding: clamp(28px, 4.5vw, 56px);
  display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
}
.closing-window-copy h2 { color: #FFFFFF; }
.closing-window-text { display: contents; }
.closing-window-copy p { color: #E4E4E7; font-size: clamp(16px, 1.3vw, 19px); max-width: 40ch; }
.closing-window-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; padding-top: 4px; }

.footer {
  background-color: var(--bg-dark); color: #D4D4D8;
  padding: clamp(56px, 7vw, 92px) 0 36px;
  position: relative; z-index: 2;
}
.footer-cta-band {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px 64px; align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.footer-cta-title { font-family: var(--font-display); font-size: clamp(44px, 7vw, 104px); font-weight: 800; line-height: 0.95; letter-spacing: -0.045em; color: #FFFFFF; }
.footer-cta-side p { max-width: 44ch; margin-bottom: 22px; font-size: 16px; line-height: 1.6; color: #D0D5DD; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.footer-contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: clamp(48px, 6vw, 80px); }
.footer-contact-card {
  position: relative;
  display: flex; flex-direction: column; gap: 28px;
  min-height: 150px; padding: 22px;
  border-radius: 22px;
  background-color: #16181C; color: #FFFFFF;
  transition: transform .25s var(--ease);
}
.footer-contact-card:hover { background-color: #202227; transform: translateY(-3px); }
.fcc-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--brand-orange); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fcc-text { display: flex; flex-direction: column; gap: 4px; margin-top: auto; min-width: 0; }
.fcc-text small { font-size: 13px; font-weight: 600; color: #98A2B3; }
.fcc-text b { font-family: var(--font-display); font-size: clamp(14px, 1.15vw, 17px); font-weight: 700; line-height: 1.3; overflow-wrap: break-word; }
.fcc-arrow { position: absolute; top: 22px; right: 22px; }
.fcc-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.footer-contact-card:hover .fcc-arrow svg { transform: translate(2px, -2px); }

.footer-top-split {
  display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: 48px;
}
.footer-pitch { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; max-width: 380px; }
.footer-wordmark { display: inline-flex; }
.footer-pitch .brand-name--footer b { font-size: 27px; color: #FFFFFF; }
.footer-pitch .brand-name--footer span { font-size: 10px; letter-spacing: 0.16em; color: var(--brand-orange); margin-top: 7px; }
.footer-pitch p { font-size: 15px; color: #98A2B3; line-height: 1.6; }
.footer-hours { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; padding: 16px 18px; border-radius: 16px; background-color: #16181C; }
.footer-hours small { font-size: 13px; font-weight: 600; color: #98A2B3; }
.footer-hours b { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: #FFFFFF; }
.footer-hours span { font-size: 13.5px; color: #98A2B3; }

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer h4 { font-family: var(--font-display); font-size: 12.5px; font-weight: 700; color: #98A2B3; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer ul { list-style: none; display: grid; gap: 12px; font-size: 15px; color: #FFFFFF; }

.footer { overflow: hidden; }
.footer-top-split { position: relative; z-index: 1; }
.footer-giant-brand { position: relative; z-index: 0; margin-top: clamp(16px, 2.4vw, 28px); pointer-events: none; user-select: none; }
.footer-giant-word {
  font-family: var(--font-display);
  font-size: clamp(40px, 10.4vw, 150px);
  font-weight: 800; line-height: 0.84; letter-spacing: -0.048em;
  color: #26282E; white-space: nowrap;
  margin-top: -0.72em;
  filter: blur(1.5px);
  transform: translate3d(0, calc((1 - var(--foot-p, 1)) * 30%), 0);
}
.footer-giant-word otr-road { color: #3D424C; }
.footer-bottom {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px;
  font-size: 13px; color: #98A2B3;
}
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 4px 20px; color: #D0D5DD; }
.footer-bottom .legal a { display: inline-flex; align-items: center; min-height: 44px; }

/* Floating corner widgets: two compact actions, stacked one above the other */
.mobile-cta {
  display: none; position: fixed; right: 12px; bottom: max(var(--widget-bottom, 16px), env(safe-area-inset-bottom)); z-index: 80;
  flex-direction: column; align-items: stretch; gap: 8px;
  padding: 0;
}
.mobile-cta .btn {
  min-height: 36px; padding: 8px 14px; font-size: 12.5px;
  box-shadow: 0 10px 24px -10px rgba(11, 12, 14, 0.5), 0 2px 6px rgba(11, 12, 14, 0.18);
}
body.modal-open .mobile-cta { display: none !important; }
.mobile-cta.is-hero-visible { visibility: hidden; pointer-events: none; }

/* ============================================================
   DEDICATED SUBPAGES (PRICING, ADI ACADEMY, MANUAL, AUTO, AREAS, TERMS)
   ============================================================ */
.sub-hero {
  background-color: var(--bg-canvas);
  padding: clamp(44px, 6vw, 84px) 0;
  border-bottom: 1px solid var(--border-solid);
}
.sub-hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink-primary); }
.sub-hero .h1 { font-size: clamp(32px, 4.2vw, 54px); margin: 12px 0 16px; }
.sub-hero-photo { border-radius: var(--r-bento); overflow: hidden; aspect-ratio: 4 / 3; background-color: var(--bg-grey); }
.sub-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.aeo-answer { margin-top: 26px; padding: 18px 20px; border-radius: 18px; background-color: #FFFFFF; }
.section--white .aeo-answer { background-color: var(--bg-canvas); }
.aeo-answer strong { display: block; font-family: var(--font-display); font-size: 12px; font-weight: 800; color: var(--ink-primary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.aeo-answer p { font-size: 14.5px; color: var(--ink-body); line-height: 1.6; }

.section-head-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head-split .h2 { margin-top: 10px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2, .policy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.solid-card {
  background-color: var(--bg-canvas); border-radius: var(--r-card); padding: 28px;
  transition: transform .35s var(--ease);
}
.solid-card:hover { transform: translateY(-4px); }
.solid-card h3, .solid-card h2.h3 { font-size: 20px; margin: 12px 0 8px; }
.solid-card p { font-size: 15px; color: var(--ink-body); line-height: 1.6; }
.ui-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background-color: var(--bg-surface); color: var(--brand-orange);
}
.ui-icon svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.course-points { list-style: none; display: grid; gap: 10px; margin: 8px 0; }
.course-points li { position: relative; padding-left: 28px; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--ink-primary); }
.course-points li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F25C05' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E") no-repeat center / contain;
}

.rev-filter-btn, .ctrl-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 0; border-radius: var(--r-pill);
  background-color: var(--bg-canvas); color: var(--ink-primary);
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  transition: background-color .2s ease, color .2s ease;
}
.rev-filter-btn.active, .ctrl-btn[aria-pressed="true"] { background-color: var(--bg-dark); color: #FFFFFF; }

.journey-stage-card { background-color: var(--bg-canvas); border-radius: var(--r-bento); overflow: hidden; }
.journey-stage-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.journey-progress-wrap { display: grid; gap: 8px; }
.journey-progress-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--ink-muted); }
.journey-progress-track { height: 5px; border-radius: 999px; background-color: var(--bg-grey); overflow: hidden; }
.journey-progress-fill { height: 100%; background-color: var(--brand-orange); border-radius: 999px; transition: width .45s var(--ease); }
.journey-checks { list-style: none; display: grid; gap: 8px; }
.journey-checks li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink-primary); }
.journey-checks li svg { width: 16px; height: 16px; stroke: var(--brand-orange); fill: none; stroke-width: 2.3; flex: none; }

.adi-calc-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 32px; align-items: center; }
.adi-slider-group { display: grid; gap: 18px; }
.adi-slider-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.adi-slider-top label { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink-primary); }
.adi-slider-val { font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--ink-primary); }
.adi-range { width: 100%; accent-color: var(--brand-orange); cursor: pointer; height: 6px; }
.adi-result-card { background-color: var(--bg-dark); color: #FFFFFF; border-radius: var(--r-bento); padding: 32px; display: grid; gap: 18px; }
.adi-result-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.adi-result-cell { background-color: var(--bg-dark-card); border-radius: var(--r-md); padding: 18px; }
.adi-result-cell small { display: block; color: #A1A1AA; font-size: 12px; margin-bottom: 4px; }
.adi-result-cell b { font-family: var(--font-display); font-size: clamp(24px, 2.5vw, 32px); font-weight: 800; color: #FFFFFF; }
.adi-result-cell b.is-orange { color: var(--brand-orange); }

/* Grid Min-Width Guard */
.editorial-split > *, .journey-sticky-layout > *, .courses-editorial-grid > *, .packages-grid > *,
.team-editorial-grid > *, .adi-visual-grid > *, .adi-pkg-row > *, .qualify-stage > *, .footer-contact-cards > *,
.areas-grid > *, .faq-grid > *, .footer-top-split > *, .sub-hero-grid > *, .adi-calc-grid > *, .grid-3 > *, .grid-2 > *, .policy-grid > * {
  min-width: 0;
}

/* Scroll Reveal Choreography */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .65s var(--ease), transform .75s var(--ease);
}
.js .reveal.in { opacity: 1; transform: translate3d(0, 0, 0); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .minimal-loop-track, .video-loop-track, .rev-loop-track { animation: none !important; }
  .hero-shot, .hero-shot img, .btn-arrow svg, .hero-ctrl .ico-swap svg { transition: none !important; }
  .cv .draw { stroke-dashoffset: 0 !important; transition: none !important; }
  .cv-manual .cv-knob, .cv-auto .cv-sel, .cv-int .day, .cv-int .test-day { animation: none !important; transition: none !important; opacity: 1 !important; }
  .js .cv-manual .cv-knob { transform: translate(100px, 45px); }
  .js .cv-auto .cv-sel { transform: translateY(90px); }
  .js .cv-int .day, .js .cv-int .test-day { transform: none; }
  .js .cv-nerv .cv-needle { transform: rotate(-36deg); transition: none; }
  .js .cv-manual .g1, .js .cv-auto .ld { fill: var(--cv-acc); }
}

/* ============================================================
   RESPONSIVE / COMPACT MOBILE-FIRST
   ============================================================ */
@media (max-width: 1120px) {
  .nav-links, .nav-cta-desktop { display: none; }
  .nav-toggle { display: flex; }
  .packages-grid, .adi-pkg-row, .footer-contact-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  :root { --r-sheet: 36px; }
  .editorial-split, .areas-grid, .faq-grid, .footer-top-split, .sub-hero-grid, .adi-calc-grid,
  .qualify-stage {
    grid-template-columns: 1fr;
  }
  .hero-bleed { display: block; min-height: 0; padding: var(--nav-h, 72px) 0 calc(var(--r-sheet) + 22px); }
  .hero-bleed::before { height: 150px; opacity: 0.6; }
  .hero-ambient, .hero-shade { display: none; }
  .hero-visual { position: relative; top: 0; width: 100%; height: min(400px, 50svh); }
  .hero-photos {
    -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
  }
  .hero-visual::after { left: 0; height: 60%; background: linear-gradient(rgba(11, 12, 14, 0), #0B0C0E 86%); opacity: 0.9; }
  .hero-proof { left: var(--pad-x); right: var(--pad-x); width: auto; bottom: 4px; text-shadow: none; }
  .hero-proof-quote {
    font-size: 15px; max-width: none;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .hero-proof-row { margin-top: 12px; }
  .hero-proof-who b { font-size: 14px; }
  .hero-proof-who span { font-size: 13px; }
  .hero-content-wrap { padding-top: 28px; transform: none; }
  .hero-copy-col { max-width: 640px; }

  /* Journey on mobile: stacked sticky cards, photo on top */
  .journey-sticky-layout { display: block; }
  .journey-sticky-aside { display: none; }
  .journey-steps-list { display: flex; flex-direction: column; gap: 18px; padding-bottom: 12px; }
  .journey-row-photo { display: block; margin: 0 0 18px; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background-color: var(--bg-canvas); }
  .journey-row-photo img { width: 100%; height: 100%; object-fit: cover; }
  .journey-step-row,
  .journey-step-row.is-active {
    position: sticky;
    top: calc(74px + var(--j-idx, 0) * 14px);
    z-index: calc(2 + var(--j-idx, 0));
    padding: 12px 12px 24px;
    background-color: #FFFFFF;
    border-radius: 24px;
    cursor: default;
    box-shadow: 0 1px 2px rgba(11, 12, 14, 0.06), 0 14px 34px -14px rgba(11, 12, 14, 0.26);
    transform: scale(calc(1 - var(--j-cover, 0) * 0.04));
    transform-origin: 50% 0%;
  }
  .journey-step-row:hover { background-color: #FFFFFF; }
  .journey-step-row h3, .journey-step-row p, .journey-step-points, .journey-step-ico { margin-left: 8px; margin-right: 8px; }
  .journey-step-ico { width: 26px; height: 26px; margin-bottom: 10px; }
  .journey-step-ico svg { width: 26px; height: 26px; }
  .journey-step-row h3 { font-size: 21px; }
  .journey-step-row p { font-size: 15px; line-height: 1.55; margin-top: 8px; }
  .journey-step-points { font-size: 13.5px; gap: 7px; margin-top: 14px; }

  /* ADI Academy on mobile: sticky stack + swipe packages */
  .adi-visual-grid { display: flex; flex-direction: column; gap: 20px; padding-bottom: 12px; }
  .adi-stage-stack { display: contents; }
  .adi-photo-card { height: 300px; min-height: 300px; border-radius: 24px; }
  .adi-photo-badge { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; gap: 10px; }
  .adi-photo-badge b { font-size: 17px; }
  .adi-photo-badge ul { font-size: 13px; gap: 6px; }
  .adi-stage-card { flex: none; min-height: 220px; grid-template-columns: 1fr; gap: 14px; padding: 24px 22px; border-radius: 24px; }
  .adi-photo-card[data-adi-stack],
  .adi-stage-card[data-adi-stack],
  .js .reveal.in[data-adi-stack] {
    opacity: 1;
    position: sticky;
    top: calc(74px + var(--adi-i, 0) * 14px);
    z-index: calc(2 + var(--adi-i, 0));
    transform: scale(calc(1 - var(--adi-cover, 0) * 0.05));
    transform-origin: 50% 0%;
    box-shadow: 0 1px 2px rgba(11, 12, 14, 0.08), 0 16px 36px -16px rgba(11, 12, 14, 0.38);
    will-change: transform;
  }
  .adi-swipe-hint { display: inline; }
  .adi-pkg-row {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--pad-x) * -1) 28px; padding: 0 var(--pad-x) 4px; scroll-padding: 0 var(--pad-x);
  }
  .adi-pkg-row::-webkit-scrollbar { display: none; }
  .adi-pkg-chip { scroll-snap-align: start; }
}

@media (max-width: 760px) {
  :root { --r-sheet: 28px; }
  .section { padding: 56px 0; }
  .nav-wrap { --nav-h: 70px; }
  .brand-name b { font-size: 19px; }
  .brand-name span { font-size: 8.5px; letter-spacing: 0.1em; }
  .footer-pitch .brand-name--footer b { font-size: 23px; }
  .footer-pitch .brand-name--footer span { font-size: 9px; letter-spacing: 0.12em; }
  .hero-visual { height: min(378px, 46svh); }
  .hero-copy-col .h1 { font-size: clamp(28px, 7.4vw, 35px); line-height: 1.04; }
  .hero-copy-col .lead { font-size: 14.5px; margin-top: 12px; }
  .hero-bleed .hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 22px; }
  .hero-bleed .hero-actions .btn { width: 100%; min-height: 52px; justify-content: center; }
  .hero-bleed .hero-actions .m-link { align-self: flex-start; font-size: 15px; text-align: left; }
  .hero-facts { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px 20px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 12.5px; }
  .hero-proof-quote { font-size: 14.5px; line-height: 1.4; }
  .hero-proof-row { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .hero-content-wrap { padding-top: 26px; }
  .hero-facts .hero-fact-tel { display: none; }
  .minimal-stat-item { padding: 0 24px; }
  .minimal-stat-item b { font-size: 17px; }
  .minimal-stat-item span { font-size: 14px; }
  .courses-editorial-grid, .packages-grid, .team-editorial-grid, .footer-contact-cards,
  .grid-3, .grid-2, .policy-grid, .quiz-options, .quiz-fields, .adi-result-row {
    grid-template-columns: 1fr;
  }
  .qualify-stage { border-radius: 26px; padding: 22px 18px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  /* Shade the invitation over the photo; keep both actions beneath it. */
  .closing-window-grid { grid-template-columns: minmax(0, 1fr); }
  .closing-window-media { grid-area: 1 / 1; }
  .closing-window-media {
    width: 100%; height: auto; min-height: 400px; max-height: 420px;
    aspect-ratio: 4 / 5; border-radius: var(--r-sm);
    clip-path: none; will-change: auto;
  }
  .closing-window-media img {
    object-position: center 22%; transform: none; will-change: auto;
  }
  .closing-window-shade { display: block; background: var(--closing-mobile-overlay); opacity: 1; }
  .closing-window-copy { display: contents; }
  .closing-window-text {
    display: flex; flex-direction: column; gap: 12px;
    grid-area: 1 / 1; align-self: end; position: relative; z-index: 2;
    min-width: 0; padding: 24px 20px;
  }
  .closing-window-copy h2 { color: var(--ink-on-dark); font-size: 28px; line-height: 1.2; letter-spacing: 0; }
  .closing-window-copy p { color: var(--bg-grey); font-size: 15px; line-height: 1.6; max-width: none; }
  .closing-window-actions { grid-area: 2 / 1; position: relative; z-index: 2; width: 100%; padding-top: 16px; flex-direction: column; align-items: stretch; gap: 12px; }
  .closing-window-actions .btn { width: 100%; }
  .closing-window-actions .m-link { display: flex; align-items: center; justify-content: center; align-self: stretch; min-height: 48px; border: 1px solid var(--ink-on-dark-soft); border-radius: var(--r-pill); color: var(--ink-on-dark); background-image: none; }
  .rev-story-card { width: 324px; padding: 20px; }
  .rev-author-row img { width: 58px; height: 58px; border-radius: 15px; }
  .video-loop-card { width: 252px; }
  .pc-row { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 0; }
}

/* ============================================================
   REDESIGN 2026-12: responsive overrides (kept last on purpose)
   ============================================================ */
@media (max-width: 1120px) {
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .course-visual { aspect-ratio: 16 / 9; }
  .course-editorial-links { flex-direction: column; align-items: stretch; gap: 14px; }
  .course-editorial-links .btn { width: 100%; }
  .course-editorial-links .m-link { align-self: center; }

  .pricing-controls { width: 100%; flex-direction: column; align-items: stretch; gap: 12px; }
  .pricing-controls .pc-group {
    display: grid; grid-template-columns: 60px minmax(0, 1fr); align-items: center; gap: 12px;
  }
  .pricing-controls .pc-label { padding-left: 0; color: var(--ink-primary); }
  .pricing-controls .seg-control { display: flex; width: 100%; min-width: 0; }
  .pricing-controls .seg-btn { flex: 1; min-width: 0; padding: 0 8px; font-size: 13px; }
  .pricing-controls .seg-btn svg { display: none; }
  .pricing-controls .seg-btn:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 2px; }
  .packages-grid {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px;
    margin: 0; padding: 4px 0 8px;
  }
  .packages-grid > .pkg-card { min-width: 0; }
  .pkg-desc { min-height: 0; }
  .pkg-foot { flex-direction: column; align-items: flex-start; }
  .adi-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .adi-actions .btn { width: 100%; }
  .adi-actions .m-link { align-self: center; }
  .quiz-shell { padding: 20px 16px 22px; border-radius: 24px; min-width: 0; }
  .quiz-shell .quiz-opt-text, .quiz-shell .quiz-chip span, .quiz-shell .plan-list dd { min-width: 0; overflow-wrap: anywhere; }
  .quiz-shell .field-group, .quiz-shell .pc-row > * { min-width: 0; }
  .quiz-shell .btn, .quiz-shell .btn__label { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
  .quiz-shell .quiz-pref-opts { grid-template-columns: 1fr; }
  .quiz-shell .quiz-pref-opt { justify-content: flex-start; padding: 0 14px; }
  .quiz-area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quiz-fields .field-group:first-child { grid-column: auto; }
  /* Booking overlay: keep the header and every form step inside the phone screen. */
  .quiz-modal {
    height: 100dvh;
    padding: 0 16px max(24px, env(safe-area-inset-bottom));
    overscroll-behavior: contain;
    scroll-padding-top: 96px;
  }
  .quiz-modal-bar {
    position: sticky; top: 0; z-index: 2; flex-shrink: 0;
    gap: 12px; margin-bottom: 12px;
    padding: max(12px, env(safe-area-inset-top)) 0 12px;
    background-color: var(--bg-canvas);
  }
  .quiz-modal-bar .brand { flex: 1; min-width: 0; }
  .quiz-modal-bar .brand-name { min-width: 0; white-space: normal; }
  .quiz-modal-bar .brand-name b { font-size: 15px; line-height: 1.35; white-space: normal; }
  .quiz-modal-bar .brand-name > span { font-size: 10px; line-height: 1.4; white-space: normal; letter-spacing: 0; }
  .quiz-modal .modal-close-btn {
    width: 44px; min-height: 44px; flex-shrink: 0;
    justify-content: center; padding: 0; gap: 0; font-size: 0;
  }
  .quiz-modal .modal-close-btn svg { width: 20px; height: 20px; }
  .quiz-modal .quiz-shell { flex-shrink: 0; min-width: 0; }
  .quiz-modal .quiz-q { font-size: 22px; line-height: 1.35; letter-spacing: 0; }
  .quiz-modal .quiz-preset-banner { align-items: flex-start; overflow-wrap: anywhere; }
  .quiz-modal .quiz-opt { padding: 12px; gap: 10px; }
  .quiz-modal .quiz-opt-text { overflow-wrap: anywhere; }
  .quiz-modal .quiz-area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quiz-modal .quiz-chip { padding: 10px; gap: 6px; }
  .quiz-modal .quiz-chip span { min-width: 0; overflow-wrap: anywhere; }
  .quiz-modal .quiz-pref-opts { grid-template-columns: 1fr; }
  .quiz-modal .quiz-pref-opt { justify-content: flex-start; padding: 0 14px; }
  .quiz-modal .field-group, .quiz-modal .pc-row > * { min-width: 0; }
  .quiz-modal .btn { white-space: normal; min-width: 0; }
  .quiz-modal .btn__label { min-width: 0; overflow-wrap: anywhere; }
  .quiz-modal .plan-list dd, .quiz-modal .plan-card { overflow-wrap: anywhere; }
  .pc-row .btn { width: 100%; }
  .plan-actions { flex-direction: column; }
  .plan-actions .btn { width: 100%; }
  .plan-list { grid-template-columns: 1fr; gap: 2px; }
  .plan-list dd { margin-bottom: 10px; }
  .qualify-copy .m-link { align-self: center; text-align: center; }

  /* Button groups: full width and centred on mobile, 48px minimum */
  .btn--sm { min-height: 48px; }
  .footer-cta-band { grid-template-columns: 1fr; }
  .footer-cta-actions { flex-direction: column; }
  .footer-cta-actions .btn { width: 100%; }
  .closing-window-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .closing-window-actions .btn { width: 100%; }
  .closing-window-actions .m-link { align-self: stretch; }
  .section-head-clean > .btn { width: 100%; }
  .footer-contact-cards { grid-template-columns: 1fr; gap: 8px; }
  .footer-contact-card { flex-direction: row; align-items: center; gap: 14px; min-height: 76px; padding: 16px 52px 16px 18px; }
  .fcc-text { margin-top: 0; }
  .fcc-text b { font-size: 16px; overflow-wrap: normal; }
  .fcc-arrow { top: 50%; right: 18px; transform: translateY(-50%); }
  .faq-trigger { padding: 18px 18px 18px 20px; }
  .faq-panel-inner p { padding: 0 20px 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 920px) and (min-width: 761px) {
  .footer-contact-cards { grid-template-columns: repeat(2, 1fr); }
}

.adi-result-card .kicker { color: #98A2B3; }

/* Brand name: "ROAD" in grey wherever ON THE ROAD appears (logotype styling) */
otr-road { color: #667085; }
.on-dark otr-road, .section--dark otr-road, .footer otr-road, .qualify-stage otr-road, .adi-result-card otr-road,
.mobile-menu otr-road, .post-cta otr-road { color: #98A2B3; }
.on-orange otr-road { color: #F2F4F6; }
.btn otr-road { color: inherit; }
@media (prefers-reduced-motion: reduce) { .hero-amb { transition: none !important; } }
.footer .footer-giant-word otr-road { color: #3D424C; }
/* Decorative wordmark drawn with CSS so it stays out of the text and accessibility tree */
.footer-giant-word::before { content: "ON THE "; }
.footer-giant-word::after { content: "ROAD"; color: #3D424C; }

/* ============================================================
   ADI PAGE: orange hero, three-stage path, designed sliders
   ============================================================ */
.sub-hero--orange { background-color: var(--brand-orange); }
.sub-hero--orange .crumbs, .sub-hero--orange .crumbs a { color: var(--ink-primary); }
.sub-hero--orange .h1, .sub-hero--orange .lead { color: var(--ink-primary); }
.sub-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin: 28px 0 8px; }
.adi-path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.adi-path-card { display: flex; flex-direction: column; padding: 30px 28px 32px; border-radius: var(--r-bento); background-color: var(--bg-canvas); }
.adi-path-card h3 { margin-top: 18px; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.25; letter-spacing: -0.02em; color: var(--ink-primary); }
.adi-path-card > p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--ink-body); }
.adi-path-points { list-style: none; display: grid; gap: 9px; margin-top: 20px; font-family: var(--font-display); font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--ink-primary); }
.adi-path-points li { display: flex; align-items: flex-start; gap: 10px; }
.adi-path-points svg { width: 16px; height: 16px; margin-top: 2px; flex: none; fill: none; stroke: var(--brand-orange); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
#adiCalcHeading { margin: 4px 0 12px; }
.adi-calc-lead { margin-bottom: 30px; }
.adi-result-note { font-size: 13.5px; line-height: 1.58; color: #98A2B3; }
.adi-slider-top { margin-bottom: 12px; }
.adi-slider-val { font-variant-numeric: tabular-nums; }
.adi-range { --fill: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.adi-range:focus { outline: none; }
.adi-range::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--brand-orange) var(--fill), #E4E7EC var(--fill)); }
.adi-range::-moz-range-track { height: 6px; border-radius: 999px; background-color: #E4E7EC; }
.adi-range::-moz-range-progress { height: 6px; border-radius: 999px; background-color: var(--brand-orange); }
.adi-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border: 0; border-radius: 50%; background-color: var(--bg-dark); box-shadow: 0 0 0 4px #FFFFFF, 0 2px 8px rgba(11, 12, 14, 0.3); transition: transform .15s ease-out; }
.adi-range::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background-color: var(--bg-dark); box-shadow: 0 0 0 4px #FFFFFF, 0 2px 8px rgba(11, 12, 14, 0.3); }
.adi-range:active::-webkit-slider-thumb { transform: scale(1.1); }
.adi-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px #FFFFFF, 0 0 0 6px var(--brand-orange); }
.adi-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px #FFFFFF, 0 0 0 6px var(--brand-orange); }
@media (max-width: 920px) { .adi-path { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .sub-hero-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .sub-hero-actions .btn { width: 100%; }
  .sub-hero-actions .m-link { align-self: center; }
}

otr-brand { white-space: nowrap; }

/* ============================================================
   VIDEO STORIES: connected carousel (inspired by 21st.dev connected-carousel)
   Active card centre-stage, slim peeks either side joined by connector notches.
   ============================================================ */
.vstories {
  --aw: 780px; --ah: 500px;
  --vs-spring: cubic-bezier(0.25, 1.12, 0.4, 1);
  position: relative; width: 100%; overflow: hidden;
  padding: 14px 0 8px; margin-bottom: clamp(18px, 2.2vw, 30px);
  outline: none;
}
.vstories:focus-visible .vs-card[data-off="0"] { outline: 2px solid var(--brand-orange); outline-offset: 4px; }
.vs-stage { position: relative; height: calc(var(--ah) + 24px); }
.vs-card {
  position: absolute; left: 50%; top: 50%;
  width: var(--w); height: var(--h);
  transform: translate3d(var(--x), calc(var(--h) / -2), 0);
  opacity: var(--o, 1);
  border-radius: 30px;
  background-color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(95, 109, 119, 0.1), 0 4px 12px rgba(95, 109, 119, 0.07);
  cursor: pointer; z-index: 2;
  transition: transform .72s var(--vs-spring), width .72s var(--vs-spring), height .72s var(--vs-spring), opacity .45s ease;
}
.vs-card.vs-no-anim { transition: none !important; }
.vs-card[data-off="0"] { cursor: default; z-index: 1; }
.vs-card[data-off="0"] { --w: var(--aw); --h: var(--ah); --x: calc(var(--aw) / -2); }
.vs-card[data-off="-1"] { --w: 108px; --h: 340px; --x: calc(var(--aw) / -2 - 20px - 108px); }
.vs-card[data-off="1"] { --w: 108px; --h: 340px; --x: calc(var(--aw) / 2 + 20px); }
.vs-card[data-off="-2"], .vs-card[data-off="-3"] { --w: 72px; --h: 200px; --x: calc(var(--aw) / -2 - 260px); --o: 0; pointer-events: none; }
.vs-card[data-off="2"], .vs-card[data-off="3"] { --w: 72px; --h: 200px; --x: calc(var(--aw) / 2 + 188px); --o: 0; pointer-events: none; }
.vs-card[data-off="-3"] { --x: calc(var(--aw) / -2 - 360px); }
.vs-card[data-off="3"] { --x: calc(var(--aw) / 2 + 288px); }
.vs-card[data-off="-1"]:hover, .vs-card[data-off="1"]:hover { box-shadow: 0 14px 34px rgba(95, 109, 119, 0.16), 0 4px 12px rgba(95, 109, 119, 0.08); }

.vs-notch { position: absolute; top: 0; bottom: 0; z-index: 3; width: 22px; height: 42px; margin: auto 0; color: #FFFFFF; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
.vs-notch svg { display: block; width: 100%; height: 100%; fill: currentColor; overflow: visible; }
.vs-notch--r { left: calc(100% - 1px); }
.vs-notch--l { right: calc(100% - 1px); }
.vs-card[data-off="-1"] .vs-notch--r, .vs-card[data-off="1"] .vs-notch--l { opacity: 1; transition-delay: .25s; }

.vs-inner { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.vs-peek { position: absolute; inset: 0; padding: 8px; transition: opacity .22s ease-out; }
.vs-peek img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; background-color: var(--bg-canvas); }
.vs-card[data-off="0"] .vs-peek { opacity: 0; pointer-events: none; }
.vs-body {
  position: absolute; left: 50%; top: 50%;
  width: var(--aw); height: var(--ah);
  transform: translate(-50%, -50%);
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px;
  padding: 28px;
  opacity: 0; pointer-events: none;
  transition: opacity .28s ease;
}
.vs-card[data-off="0"] .vs-body { opacity: 1; pointer-events: auto; transition-delay: .18s; }
.vs-text { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-width: 0; padding: 6px 2px; }
.vs-text h3 { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.12; letter-spacing: -0.03em; color: var(--ink-primary); text-wrap: balance; }
.vs-quote { font-family: var(--font-display); font-size: clamp(16px, 1.3vw, 19px); font-weight: 600; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink-body); text-wrap: pretty; }
.vs-chips { display: flex; flex-direction: column; align-items: flex-start; }
.vs-chip { display: inline-flex; align-items: center; padding: 6px 11px; border-radius: 7px; background-color: var(--bg-canvas); font-family: var(--font-display); font-size: 13.5px; font-weight: 800; color: var(--ink-primary); white-space: nowrap; }
.vs-chip--muted { font-weight: 600; color: var(--ink-muted); }
.vs-chip-link { display: block; height: 7px; margin: -1px 0 -1px 14px; color: var(--bg-canvas); line-height: 0; }
.vs-chip-link svg { display: block; fill: currentColor; overflow: visible; }
.vs-media { position: relative; min-height: 0; overflow: hidden; border-radius: 22px; background-color: var(--bg-dark); }
.vs-media video { display: block; width: 100%; height: 100%; object-fit: cover; }

.vs-controls { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.vs-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; background-color: #FFFFFF; color: var(--ink-primary); box-shadow: 0 1px 2px rgba(11, 12, 14, 0.08), 0 6px 16px -8px rgba(11, 12, 14, 0.25); transition: background-color .2s ease, color .2s ease, transform .16s ease-out; }
.vs-btn:hover { background-color: var(--bg-dark); color: #FFFFFF; }
.vs-btn:active { transform: scale(0.96); }
.vs-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vs-btn .ico-swap { position: relative; width: 18px; height: 18px; }
.vs-btn .ico-swap svg { position: absolute; inset: 0; transition: opacity .2s cubic-bezier(0.2, 0, 0, 1), transform .2s cubic-bezier(0.2, 0, 0, 1), filter .2s cubic-bezier(0.2, 0, 0, 1); }
.vs-btn .i-play { opacity: 0; transform: scale(0.25); filter: blur(4px); stroke-width: 1.8; }
.vs-btn.is-paused .i-pause { opacity: 0; transform: scale(0.25); filter: blur(4px); }
.vs-btn.is-paused .i-play { opacity: 1; transform: none; filter: none; }

@media (max-width: 1119px) {
  .vstories { --aw: 580px; --ah: 460px; }
  .vs-card[data-off="-1"] { --w: 92px; --h: 320px; --x: calc(var(--aw) / -2 - 18px - 92px); }
  .vs-card[data-off="1"] { --w: 92px; --h: 320px; --x: calc(var(--aw) / 2 + 18px); }
  .vs-body { grid-template-columns: minmax(0, 1fr) 230px; gap: 20px; padding: 22px; }
}
@media (max-width: 767px) {
  .vstories { --aw: min(300px, calc(100vw - 96px)); --ah: 600px; }
  .vs-card { border-radius: 26px; }
  .vs-card[data-off="-1"] { --w: 52px; --h: 430px; --x: calc(var(--aw) / -2 - 14px - 52px); }
  .vs-card[data-off="1"] { --w: 52px; --h: 430px; --x: calc(var(--aw) / 2 + 14px); }
  .vs-card[data-off="-2"], .vs-card[data-off="-3"] { --x: calc(var(--aw) / -2 - 220px); }
  .vs-card[data-off="2"], .vs-card[data-off="3"] { --x: calc(var(--aw) / 2 + 160px); }
  .vs-notch { width: 16px; height: 32px; }
  .vs-peek img { border-radius: 18px; }
  .vs-body { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 14px; padding: 16px; }
  .vs-text { gap: 10px; padding: 2px; }
  .vs-text h3 { font-size: 21px; }
  .vs-quote { font-size: 14.5px; }
  .vs-media { border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .vs-card, .vs-body, .vs-peek, .vs-notch, .vs-btn .ico-swap svg { transition: none !important; }
}

/* Hero v8: AI-extended photos fill the whole cover; only a light blur on the headline side */
@media (min-width: 921px) {
  .hero-bleed .hero-photos { display: none; }
  .hero-bleed .hero-amb { inset: 0; }
  .hero-bleed .hero-amb img { object-position: right center; filter: brightness(0.92); }
  .hero-bleed .hero-shade {
    background: linear-gradient(90deg, rgba(11,12,14,.72) 0%, rgba(11,12,14,.6) 36%, rgba(11,12,14,.32) 52%, rgba(11,12,14,.1) 64%, rgba(11,12,14,0) 74%);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 50%, rgba(0,0,0,.6) 62%, rgba(0,0,0,.25) 70%, transparent 78%);
    mask-image: linear-gradient(90deg, #000 0%, #000 50%, rgba(0,0,0,.6) 62%, rgba(0,0,0,.25) 70%, transparent 78%);
  }
}
.quiz-modal-bar .brand-name b { font-size: 18px; letter-spacing: 0; }
.quiz-modal-bar .brand-name span { font-size: 11px; letter-spacing: 0.06em; margin-top: 3px; }
/* Footer: centred giant wordmark, compact contact buttons */
.footer-giant-brand { text-align: center; }
.footer-giant-word { display: inline-block; }
.footer-contact-card { min-height: 0; padding: 16px 48px 16px 18px; flex-direction: row; align-items: center; gap: 12px; }
.footer-contact-card .fcc-text { margin-top: 0; }
.footer-contact-card .fcc-text small { display: none; }
.footer-contact-card .fcc-text b { font-size: 16px; }
.footer-contact-card .fcc-ico svg { width: 22px; height: 22px; }
.footer-contact-card .fcc-arrow { top: 50%; right: 16px; transform: translateY(-50%); }

/* Homepage Road Climb Intro Overlay */
.site-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #FFFFFF;
  display: none;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s ease;
}
html.intro-active { overflow: hidden; }
html.intro-active .site-intro { display: block; }
.site-intro.is-exit-up { transform: translateY(-100%); }
.site-intro-sound {
  position: absolute; top: max(18px, env(safe-area-inset-top));
  left: max(18px, env(safe-area-inset-left)); z-index: 3;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--border-solid); border-radius: var(--r-pill);
  color: var(--ink-muted); background: var(--bg-surface);
}
.site-intro-sound svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.site-intro-sound .intro-sound-waves { display: none; }
.site-intro-sound[aria-pressed="true"] .intro-sound-waves { display: block; }
.site-intro-sound[aria-pressed="true"] .intro-sound-muted { display: none; }
.site-intro-sound:disabled { display: none; }
.site-intro-skip {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  z-index: 2;
  appearance: none;
  border: 1px solid #E4E7EC;
  background: #FFFFFF;
  color: #667085;
  font-family: "Inter", "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.site-intro-skip:hover,
.site-intro-skip:focus-visible { color: #0B0C0E; border-color: #0B0C0E; outline: none; }
.site-intro-scene { position: relative; width: 100%; height: 100%; }
.site-intro-scene svg { width: 100%; height: 100%; display: block; }
.site-intro-wordmark {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: clamp(15px, 2.4vw, 22px);
  color: #0B0C0E;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.site-intro-scene .plate-l,
.site-intro-scene .plate-p { transform-box: fill-box; transform-origin: center; }
.site-intro-scene .plate-p { opacity: 0; }
.site-intro-scene.scene-a .road-fill {
  transform-box: fill-box;
  transform-origin: bottom center;
  transform: scaleY(0);
}
.site-intro-scene.scene-a .road-dashes { opacity: 0; }
.site-intro-scene.scene-a .car-a {
  transform-box: fill-box;
  transform-origin: center;
  transform: translateY(260px);
}
.site-intro-scene.scene-a.is-playing .road-fill {
  animation: otr-road-draw 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.site-intro-scene.scene-a.is-playing .road-dashes {
  animation: otr-dashes-in 0.35s ease 0.25s forwards;
}
.site-intro-scene.scene-a.is-playing .car-a {
  animation: otr-car-drive 2.65s cubic-bezier(0.32, 0.02, 0.24, 1) 0.25s forwards;
}
.site-intro-scene.scene-a.is-playing .plate-l {
  animation: otr-plate-l-out 0.26s ease-in 1.75s forwards;
}
.site-intro-scene.scene-a.is-playing .plate-p {
  animation: otr-plate-p-in 0.26s ease-out 1.98s forwards;
}
.site-intro-scene.scene-a.is-playing .site-intro-wordmark {
  animation: otr-wordmark-show 1.35s ease 1.15s forwards;
}
@keyframes otr-road-draw {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes otr-dashes-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes otr-car-drive {
  0%   { transform: translate(0px, 260px) rotate(0deg); }
  34%  { transform: translate(0px, 6px) rotate(0deg); }
  45%  { transform: translate(-10px, 2px) rotate(-3.2deg); }
  58%  { transform: translate(9px, -2px) rotate(2.8deg); }
  70%  { transform: translate(0px, 0px) rotate(0deg); }
  80%  { transform: translate(0px, 4px) rotate(0deg); }
  100% { transform: translate(0px, -310px) rotate(0deg); }
}
@keyframes otr-plate-l-out {
  0%   { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0); opacity: 0; }
}
@keyframes otr-plate-p-in {
  0%   { transform: scaleX(0); opacity: 0; }
  100% { transform: scaleX(1); opacity: 1; }
}
@keyframes otr-wordmark-show {
  0%   { opacity: 0; transform: translate(-50%, 6px); }
  22%  { opacity: 1; transform: translate(-50%, 0); }
  82%  { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -6px); }
}
.site-intro-grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: 0.07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: otr-grain 0.5s steps(4) infinite;
}
@keyframes otr-grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-4%, 3%); }
  50% { transform: translate(3%, -2%); } 75% { transform: translate(-2%, -4%); } 100% { transform: translate(0, 0); }
}
.site-intro-scene .intro-side, .site-intro-scene .intro-kerb { opacity: 0; }
.site-intro-scene .intro-speed { opacity: 0; }
.site-intro-scene.is-playing .intro-side { animation: otr-side-in 0.5s ease 0.15s forwards, otr-side-move 2.6s linear 0.15s forwards; }
.site-intro-scene.is-playing .intro-kerb { animation: otr-side-in 0.4s ease 0.2s forwards, otr-kerb-move 2.6s linear 0.2s forwards; }
.site-intro-scene.is-playing .intro-speed { animation: otr-speed 0.5s ease 2.2s forwards; }
@keyframes otr-side-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes otr-side-move { from { transform: translateY(-20px); } to { transform: translateY(70px); } }
@keyframes otr-kerb-move { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -80; } }
@keyframes otr-speed { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0.6; } }
@media (prefers-reduced-motion: reduce) {
  .site-intro { display: none !important; }
}
