/* ============================================================
   PREMIER DRIVING SCHOOL — site.css
   "Summer Drive" editorial system: warm cream canvas, single
   voltage-blue accent, hairline Cormorant serif + Inter grotesk,
   flat shadowless surfaces, Ash hairline dividers, 0-radius cards,
   60px outlined / ink pills.
   ============================================================ */

:root {
  --cream:   #fff8f1;
  --paper:   #f6f0e6;   /* subtly deeper warm paper for alternating bands */
  --card:    #fffdf8;   /* card surface — a hair lighter than the canvas   */
  --ash:     #e3ddd2;   /* warm hairline divider / card border             */
  --ash-2:   #d8d1c4;   /* input borders                                   */
  --ink:     #14110d;   /* near-black display / values                     */
  --body:    #423d34;   /* long-form body copy                             */
  --muted:   #857c6d;   /* captions, notes                                 */
  --blue:    #006eff;   /* voltage blue — the only chromatic voice         */
  --blue-2:  #005ce0;
  --f-serif: 'Cormorant', Georgia, 'Times New Roman', serif;
  --f-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --maxw: 1180px;
  --pad: clamp(22px, 6vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
section[id] { scroll-margin-top: 120px; }  /* clear the tall fixed bar on anchor jumps */

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 12px 18px;
  font-family: var(--f-sans); font-size: 14px; text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- shared type ---------- */
.label {
  font-family: var(--f-sans); font-weight: 500; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--blue);
  margin: 0 0 18px;
}
.label--ondark { color: #bcd4ff; }

/* section headers share the hero's heavy blue uppercase voice */
.display { font-family: var(--f-sans); font-weight: 900; text-transform: uppercase; color: var(--blue); letter-spacing: -0.03em; line-height: 0.95; }
.display--lg { font-size: clamp(34px, 5vw, 64px); }
.display--sm { font-size: clamp(20px, 2.2vw, 25px); font-weight: 800; text-transform: none; color: var(--ink); line-height: 1.12; letter-spacing: -0.02em; }

.body-copy { font-size: clamp(16px, 1.55vw, 19px); line-height: 1.62; color: var(--body); max-width: 620px; }

.eyebrow {
  font-family: var(--f-sans); font-weight: 500; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--blue);
  margin: 0 0 22px;
}

.stars { color: var(--blue); letter-spacing: 3px; }

/* ---------- pills & links ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-sans); font-weight: 500; font-size: 15px; letter-spacing: 0.005em;
  padding: 15px 30px; border-radius: 60px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.pill--ink   { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pill--ink:hover   { background: #000; border-color: #000; }
.pill--blue  { background: transparent; color: var(--blue); border-color: var(--blue); }
.pill--blue:hover  { background: rgba(0,110,255,0.07); }
.pill--cream { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.pill--cream:hover { background: #fff; transform: translateY(-1px); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-sans); font-weight: 500; font-size: 15px;
  color: var(--blue); text-decoration: none; letter-spacing: 0.005em;
}
.arrow-link .arr { transition: transform .25s ease; }
.arrow-link:hover .arr { transform: translateX(5px); }
.arrow-link--ondark { color: #eaf1ff; }

/* ============================================================
   NAV
   ============================================================ */
/* Transparent nav rides the top of the hero with a BIG hanging badge logo
   and scrolls away with the page. Past the hero it returns as a solid,
   fixed cream bar (dropping in from the top) with the logo aboard. */
.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 100;
  background: transparent;
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  height: 78px; display: flex; align-items: center; gap: 22px;
}
.nav--solid {
  position: fixed;
  background: rgba(255,248,241,0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ash);
  animation: navDrop .35s ease;
}
@keyframes navDrop { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.brand { display: flex; text-decoration: none; flex-shrink: 0; align-self: flex-start; margin-top: 14px; }
.brand-logo {
  height: clamp(104px, 9.5vw, 136px); width: auto;
  filter: drop-shadow(0 10px 24px rgba(20,44,92,0.28));
  transition: height .25s ease;
}
.nav--solid .nav-inner { height: auto; padding-top: 8px; padding-bottom: 8px; }
.nav--solid .brand { align-self: center; margin-top: 0; }
.nav--solid .brand-logo { height: 92px; filter: none; }

.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-link { font-family: var(--f-sans); font-weight: 400; font-size: 15px; color: #2c2822; text-decoration: none; letter-spacing: 0.005em; transition: color .2s ease; }
.nav-link:hover { color: var(--blue); }
.nav-phone { font-variant-numeric: tabular-nums; }
.nav-cta { padding: 11px 22px; font-size: 14px; }

.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--ash-2); background: transparent; border-radius: 0; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; margin-left: auto; }
.menu-btn .bar { width: 20px; height: 1.5px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.menu-btn[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--f-serif); font-weight: 400; font-size: 30px; color: var(--ink); text-decoration: none; padding: 12px; }
.mobile-menu a.pill { font-family: var(--f-sans); font-size: 16px; margin-top: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero-inner {
  position: relative; z-index: 2; min-height: 100svh;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(30px, 5vw, 68px);
  align-items: start;
  padding-block: clamp(168px, 20vh, 208px) clamp(190px, 26vh, 300px);
}

/* editorial backdrop */
.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-sun { position: absolute; top: -70px; right: -70px; width: min(460px, 56vw); opacity: 0.5; }

/* ---- driving scene: mountains on the horizon, perspective road,
        the roadster cruising toward the viewer ---- */
.scene { position: absolute; inset: 0; overflow: hidden; }
.scene-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-art--m { display: none; }

/* dashes flow along the road toward the viewer. Speed is matched to the
   wheels' surface speed (~215 px/s) so the car and road read as ONE motion */
.dash-line { animation: dashFlow 0.56s linear infinite; }
@keyframes dashFlow { to { stroke-dashoffset: -120; } }

.car-scene {
  position: absolute; left: calc(50% - clamp(48px, 5.2vw, 80px)); bottom: clamp(20px, 4.5vh, 50px);
  width: clamp(370px, 40vw, 590px); transform: translateX(-50%);
}
/* small clockwise tilt aligns the car's heading with the road's diagonal */
.car-tilt { transform: rotate(6deg); transform-origin: 50% 78%; }
.car-arrive { animation: carArrive 1.1s cubic-bezier(.22,.68,.28,1) both; transform-origin: 50% 86%; }
/* fast, small idle-bob — the reference car's engine-running shake */
.car-float  { position: relative; animation: carIdle 0.82s ease-in-out infinite; }
.car-img { width: 100%; height: auto; display: block; }

/* spinning wheels overlaid on the baked-in tires (perspective ellipses:
   a circle of spokes squished by scaleX so it spins in-plane) */
.wheel { position: absolute; border-radius: 50%; overflow: hidden; transform: translate(-50%, -50%) scaleX(var(--sx)); }
.wheel--front { left: 52.3%; top: 72%;   width: 12.6%; height: 26.3%; --sx: 0.66; }
.wheel--rear  { left: 88.8%; top: 55.2%; width: 10%;   height: 20.9%; --sx: 0.60; }
.spokes { width: 100%; height: 100%; animation: wheelSpin 0.95s linear infinite; }
@keyframes wheelSpin { to { transform: rotate(-360deg); } }

@keyframes carArrive {
  from { opacity: 0; transform: translateY(-12px) scale(0.6); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes carIdle {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3.5px); }
}

.hero-text { max-width: 620px; }
.hero-title {
  font-family: var(--f-sans); font-weight: 900; text-transform: uppercase;
  color: var(--blue); font-size: clamp(50px, 7.4vw, 94px); line-height: 0.9;
  letter-spacing: -0.035em; margin: 0 0 16px;
}
.hero-accent {
  font-family: var(--f-serif); font-weight: 400; font-style: italic;
  font-size: clamp(19px, 2.1vw, 27px); line-height: 1.15; color: var(--ink);
  letter-spacing: -0.01em; margin: 0 0 20px;
}
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--body); max-width: 540px; margin: 0 0 32px; }
.hero-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
/* Google badge — the TriState hero-card pattern */
.google-badge {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 30px;
  background: #fff; border-radius: 14px; padding: 13px 20px;
  box-shadow: 0 16px 42px rgba(20,44,92,0.16), 0 0 0 1px rgba(20,17,13,0.04);
}
.gb-g { width: 34px; height: 34px; flex-shrink: 0; }
.gb-divider { width: 1px; height: 38px; background: rgba(20,17,13,0.12); flex-shrink: 0; }
.gb-col { display: flex; flex-direction: column; gap: 3px; }
.gb-row { display: flex; align-items: center; gap: 8px; }
.gb-stars { height: 17px; width: 94px; }
.gb-row strong { font-family: var(--f-sans); font-size: 18px; font-weight: 800; color: var(--ink); }
.gb-caption { font-family: var(--f-sans); font-size: 13.5px; font-weight: 500; color: var(--muted); }

/* quote card */
.quote-card { position: relative; z-index: 2; background: var(--card); border: 1px solid var(--ash); padding: clamp(22px, 2.4vw, 32px); scroll-margin-top: 100px; }
.quote-title { font-family: var(--f-sans); font-weight: 800; font-size: clamp(22px, 2.5vw, 27px); color: var(--ink); line-height: 1.05; letter-spacing: -0.02em; }
.quote-sub { font-family: var(--f-sans); font-size: 14.5px; color: var(--muted); margin: 7px 0 16px; }

.q-label { display: block; font-family: var(--f-sans); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: #6b6456; margin: 12px 0 6px; }
.q-label:first-of-type { margin-top: 0; }
.q-opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: #b1a897; font-size: 11.5px; }
.q-input {
  width: 100%; padding: 11px 13px; border: 1px solid var(--ash-2); border-radius: 0;
  background: #fff; color: var(--ink); font-family: var(--f-sans); font-size: 15px; line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.q-input::placeholder { color: #b1a897; }
.q-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px rgba(0,110,255,0.14); }
.q-select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 38px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23006eff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
}
.q-area { resize: vertical; min-height: 58px; }
.q-submit { width: 100%; margin-top: 18px; }
.q-note { font-family: var(--f-sans); font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 10px; }

.q-thanks { text-align: center; padding: 20px 4px 6px; }
.q-thanks-title { font-family: var(--f-serif); font-weight: 400; font-size: 24px; color: var(--blue); margin-bottom: 8px; }
.q-thanks p { font-family: var(--f-sans); font-size: 15px; color: var(--body); }
.q-thanks a { color: var(--blue); font-weight: 500; text-decoration: none; }

/* ============================================================
   BANDS
   ============================================================ */
.band { position: relative; overflow: hidden; padding: clamp(74px, 11vw, 138px) 0; border-top: 1px solid var(--ash); }
.band--paper { background: var(--paper); }
.band .container { position: relative; z-index: 1; }
/* flat editorial backdrop doodles: route rings, dashed lines, faint peaks */
.deco { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sec-head { margin-bottom: clamp(44px, 5vw, 68px); }
.sec-head .label { margin-bottom: 14px; }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* manifesto */
.manifesto .display { margin-bottom: 28px; }
.manifesto-copy { font-size: clamp(18px, 2vw, 24px); line-height: 1.5; color: var(--body); max-width: 760px; }

/* ---------- programs: two wide cards per row ---------- */
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.program-card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--ash);
  transition: border-color .25s ease, transform .25s ease;
}
.program-card:hover { border-color: var(--blue); transform: translateY(-4px); }
.program-media { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--ash); }
.program-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.program-card:hover .program-media img { transform: scale(1.045); }
.program-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: clamp(22px, 2.4vw, 34px); }
.num { font-family: var(--f-sans); font-weight: 900; font-size: 15px; letter-spacing: 0.12em; color: var(--blue); opacity: 0.75; }
.program-body p { font-size: 15.5px; line-height: 1.6; color: var(--body); flex: 1; max-width: 52ch; }
.program-body .arrow-link { margin-top: 6px; font-size: 15px; }

/* ---------- stats: bold scoreboard band ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--ash); padding-block: clamp(34px, 4vw, 54px); }
.stat { text-align: center; padding: 6px clamp(12px, 2vw, 26px); }
.stat + .stat { border-left: 1px solid var(--ash); }
.stat-value { font-family: var(--f-sans); font-weight: 900; color: var(--blue); font-size: clamp(48px, 6.2vw, 84px); line-height: 1; letter-spacing: -0.035em; }
.stat-sm { font-size: 0.32em; letter-spacing: 0; font-weight: 800; }
.stat-label { font-family: var(--f-sans); font-weight: 600; font-size: 14px; color: var(--body); margin-top: 13px; }

/* ---------- method (scenic band) ---------- */
.method { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(440px, 64vh, 660px); }
.method-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.method-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,248,241,0.35) 0%, rgba(255,248,241,0.04) 46%, rgba(20,17,13,0.10) 100%); }
.method-wrap { position: relative; z-index: 2; width: 100%; }
.method-card { background: var(--cream); border: 1px solid var(--ash); padding: clamp(30px, 4vw, 54px); max-width: 560px; }
.method-card .label { margin-bottom: 16px; }
.method-card .display { margin-bottom: 22px; }
.method-card .body-copy { margin-bottom: 26px; }

/* ---------- reviews: big-card carousel ---------- */
.carousel-nav { display: flex; gap: 10px; padding-bottom: 6px; }
.cbtn {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--blue);
  background: transparent; color: var(--blue); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.cbtn svg { width: 22px; height: 22px; }
.cbtn:hover { background: var(--blue); color: var(--cream); }
.cbtn:disabled { opacity: 0.3; cursor: default; }
.cbtn:disabled:hover { background: transparent; color: var(--blue); }

.review-track {
  display: flex; gap: clamp(18px, 2vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 8px;
}
.review-track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 clamp(320px, 42vw, 540px); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 18px;
  background: var(--card); border: 1px solid var(--ash);
  padding: clamp(30px, 3vw, 44px); margin: 0;
}
.review .stars { font-size: 16px; }
.review blockquote { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.45; color: #2b2822; letter-spacing: -0.01em; flex: 1; }
.who { font-family: var(--f-sans); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); }
.reviews-foot { margin-top: clamp(30px, 3.5vw, 44px); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--ash); padding: clamp(28px, 2.6vw, 38px); }
.price-card--feature { border: 1.5px solid var(--blue); }
.price-tag { position: absolute; top: 18px; right: 18px; font-family: var(--f-sans); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); border: 1px solid var(--blue); border-radius: 60px; padding: 5px 11px; }
.price-name { font-family: var(--f-sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; color: #6b6456; }
.price-value { font-family: var(--f-sans); font-weight: 900; color: var(--ink); font-size: clamp(42px, 4.8vw, 58px); line-height: 1; margin-top: 10px; letter-spacing: -0.03em; }
.price-per { font-family: var(--f-sans); font-size: 14px; color: var(--muted); margin-top: 7px; }
.price-feats { list-style: none; margin: 22px 0 26px; padding: 22px 0 0; border-top: 1px solid var(--ash); display: flex; flex-direction: column; gap: 12px; }
.price-feats li { position: relative; padding-left: 25px; font-family: var(--f-sans); font-size: 14.5px; line-height: 1.4; color: var(--body); }
.price-feats li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 600; }
.price-card .pill { margin-top: auto; width: 100%; }
.price-note { text-align: center; margin-top: 28px; font-family: var(--f-sans); font-size: 14px; color: var(--muted); }
.price-note a { color: var(--blue); text-decoration: none; font-weight: 500; white-space: nowrap; }

/* ---------- cta band (video) ---------- */
.cta-band { position: relative; overflow: hidden; background: #0a2044; }
.cta-band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,32,86,0.60) 0%, rgba(3,18,52,0.74) 100%); }
.cta-content { position: relative; z-index: 2; text-align: center; padding-block: clamp(92px, 13vw, 152px); }
.cta-title { color: var(--cream); margin: 0 auto 34px; max-width: 15ch; }
.cta-ctas { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--cream); border-top: 1px solid var(--ash); padding: clamp(64px, 8vw, 96px) 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.25fr 1fr; gap: clamp(28px, 3vw, 48px); }
.footer-brand .wordmark { font-family: var(--f-serif); font-weight: 500; font-size: 26px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.footer-brand .wordmark span { color: var(--blue); font-style: italic; font-size: 0.78em; }
.footer-brand p { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--body); max-width: 350px; }
.foot-rating { font-family: var(--f-sans); }
.foot-rating .stars { font-size: 13px; }
.footer h4 { font-family: var(--f-sans); font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; color: var(--muted); margin-bottom: 15px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer li a, .footer li span { font-family: var(--f-sans); font-size: 15px; color: var(--body); text-decoration: none; line-height: 1.4; transition: color .2s ease; }
.footer li a:hover { color: var(--blue); }
.footer-bottom { margin-top: clamp(42px, 5vw, 66px); padding-top: 22px; border-top: 1px solid var(--ash); display: flex; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; font-family: var(--f-sans); font-size: 13px; color: var(--muted); }

/* ============================================================
   MOBILE STICKY BAR
   ============================================================ */
/* floating CTA buttons (no panel) — revealed only after the hero scrolls
   out of view and hidden again over the footer (see site.js) */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: 10px; padding: 0 clamp(14px, 4vw, 20px) calc(14px + env(safe-area-inset-bottom, 0px)); background: none; border: none; pointer-events: none; transform: translateY(150%); opacity: 0; transition: transform .32s ease, opacity .32s ease; }
.mobile-bar.bar-show { transform: none; opacity: 1; }
.mobile-bar a { pointer-events: auto; flex: 1; text-align: center; text-decoration: none; font-family: var(--f-sans); font-weight: 600; font-size: 15px; padding: 15px; border-radius: 60px; box-shadow: 0 12px 28px rgba(20,44,92,0.30); }
.mb-book { background: var(--ink); color: var(--cream); flex: 2.4; }
.mb-call { background: var(--cream); color: var(--blue); border: 1.5px solid var(--blue); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding-block: clamp(134px, 28vw, 195px) clamp(56px, 8vh, 92px); }
  .hero-text { max-width: 640px; }
  .quote-card { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
  .footer-brand { grid-column: 1 / -1; }

  /* mobile hero: the landscape is a quiet BACKGROUND band behind the text —
     its own portrait scene (taller mountains, short low road), the car small
     like a background element, and every line of text readable */
  .scene { top: 0; bottom: auto; height: min(56svh, 430px); }
  .scene-art--w { display: none; }
  .scene-art--m { display: block; }
  .car-scene { top: auto; bottom: clamp(2px, 1vw, 10px); left: calc(50% - 6vw); width: min(50vw, 215px); }
  .car-tilt { transform: rotate(6deg); }
  /* smaller wheels on mobile -> slower ground speed; keep dash flow synced.
     (Duration must shift the pattern by exactly one 120-unit period.) */
  .scene-art--m .dash-line { animation-duration: 0.95s; }
  .hero-accent { margin-top: 14px; }
  /* paragraph drops below the scene band, onto clean cream */
  .hero-sub { margin-top: clamp(138px, 38vw, 186px); }
  .eyebrow, .hero-title, .hero-accent {
    text-shadow: 0 1px 2px rgba(255,248,241,0.9), 0 2px 14px rgba(255,248,241,0.85), 0 0 28px rgba(255,248,241,0.7);
  }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; margin-left: auto; margin-top: 17px; }
  .nav--solid .menu-btn { margin-top: 0; }
  .nav-cta { display: none; }
  .brand-logo { height: 96px; }
  .nav--solid .brand-logo { height: 72px; }
}
@media (max-width: 760px) {
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .mobile-bar { display: flex; }
  .review { flex-basis: min(86vw, 420px); }
  .program-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .stat:nth-child(3), .stat:nth-child(4) { padding-top: 30px; border-top: 1px solid var(--ash); }
  .stat + .stat { border-left: 1px solid var(--ash); }
  .stat:nth-child(3) { border-left: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .car-arrive, .car-float, .dash-line, .spokes { animation: none; opacity: 1; }
  .car-arrive, .car-float { transform: none; }
  .program-media img, .program-card, .pill, .arrow-link .arr { transition: none; }
}
