/* ============================================================
   FlyF1eet — editorial automotive
   Cinematic, dark-led, full-bleed, oversized. Light/dark rhythm.
   Type: Archivo (display) · Inter (body) · Space Mono (data)
   ============================================================ */

/* ============================================================
   DESIGN TOKENS — Phase B0 foundation (governed)
   Cinematic editorial minimalism · platinum accent.
   Layers: primitive → semantic → component. Legacy aliases at the
   end keep every existing selector working unchanged.
   ============================================================ */
:root {
  /* ---- primitive: ink (cool near-black cinema surfaces) ---- */
  --ink-950: #07080b;
  --ink-900: #0e1015;
  --ink-800: #151922;
  --ink-700: #1e2432;

  /* ---- primitive: paper (warm-neutral light surfaces) ---- */
  --paper-0:   #ffffff;
  --paper-50:  #f8f7f4;   /* warm off-white (was cool #f4f5f7) */
  --paper-100: #f0efeb;   /* warm (was cool #eceef2) */
  --paper-200: #e6e4de;

  /* ---- primitive: neutral text ramp ---- */
  --neutral-900: #121419;
  --neutral-700: #3b3f49;
  --neutral-500: #6a6f7d;
  --neutral-400: #9195a1;

  /* ---- primitive: platinum (metallic brand accent) ---- */
  --platinum-100: #eceef1;
  --platinum-300: #cfd4da;
  --platinum-400: #b7bec7;   /* core accent */
  --platinum-600: #8b93a0;   /* accent, stronger */

  /* ---- semantic: surfaces ---- */
  --color-ink:     var(--ink-950);
  --color-ink-2:   var(--ink-900);
  --color-ink-3:   var(--ink-800);
  --color-paper:   var(--paper-50);
  --color-paper-2: var(--paper-100);
  --color-surface: var(--paper-0);

  /* ---- semantic: text ---- */
  --color-fg:       var(--neutral-900);   /* on paper */
  --color-fg-2:     var(--neutral-700);
  --color-muted:    var(--neutral-500);
  --color-faint:    var(--neutral-400);
  --color-on-ink:   #f5f6f8;              /* on cinema dark */
  --color-on-ink-2: #b7bcc6;
  --color-on-ink-3: #7d8391;

  /* ---- semantic: accent (platinum) vs action (high-contrast CTA) ---- */
  --color-accent:        var(--platinum-400);
  --color-accent-strong: var(--platinum-600);
  --color-action:        var(--neutral-900);  /* primary CTA fill on paper */
  --color-on-action:     #ffffff;

  /* ---- semantic: rules / hairlines ---- */
  --rule:          #e2e4ea;
  --rule-2:        #d2d5dd;
  --rule-on-ink:   rgba(255,255,255,.14);
  --rule-on-ink-2: rgba(255,255,255,.26);

  /* ---- semantic: focus (accessible; platinum fails contrast on paper) ---- */
  --focus:         var(--neutral-900);
  --focus-on-ink:  var(--color-on-ink);

  /* ---- typography ---- */
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-serif:   "Playfair Display", Georgia, "Times New Roman", serif; /* editorial italic accents (web font added in B2 on first use) */
  --font-mono:    "Space Mono", ui-monospace, monospace;

  /* type scale (rem; fluid at the display end) */
  --text-2xs: 0.6875rem;  /* 11 */
  --text-xs:  0.75rem;    /* 12 */
  --text-sm:  0.875rem;   /* 14 */
  --text-base:1rem;       /* 16 */
  --text-md:  1.125rem;   /* 18 */
  --text-lg:  1.375rem;   /* 22 */
  --text-xl:  clamp(1.75rem, 3.4vw, 2.25rem);
  --text-2xl: clamp(2.25rem, 5vw, 3.5rem);
  --text-3xl: clamp(3rem, 7vw, 5rem);
  --text-4xl: clamp(3.5rem, 9vw, 6.5rem);

  --leading-tight: 1.05;
  --leading-snug:  1.2;
  --leading-body:  1.55;
  --tracking-tight: -0.03em;
  --tracking-wide:  0.08em;
  --tracking-label: 0.2em;

  /* ---- spacing scale (4 / 8) ---- */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px; --space-11: 160px;

  /* ---- layout / grid ---- */
  --container:        1440px;
  --container-narrow: 1100px;
  --gutter: clamp(16px, 2.4vw, 40px);
  --pad:    clamp(20px, 5vw, 90px);
  --grid-cols: 12;

  /* ---- radii (restrained / sharp) ---- */
  --radius-none: 0;
  --radius-xs: 2px;
  --radius-s:  6px;
  --radius-m:  10px;
  --radius-pill: 999px;

  /* ---- borders ---- */
  --border-hair: 1px;

  /* ---- shadows (editorial, low) ---- */
  --shadow-sm: 0 1px 2px rgba(8,9,12,.06);
  --shadow-md: 0 18px 40px -24px rgba(8,9,12,.35);
  --shadow-lg: 0 50px 90px -40px rgba(0,0,0,.5);

  /* ---- motion ---- */
  --dur-1: 120ms; --dur-2: 200ms; --dur-3: 320ms; --dur-4: 480ms; --dur-5: 720ms;
  --ease:          cubic-bezier(.19, 1, .22, 1);   /* signature ease-out (kept) */
  --ease-out:      cubic-bezier(.22,.61,.36,1);
  --ease-in:       cubic-bezier(.55,.06,.68,.19);
  --ease-standard: cubic-bezier(.4,0,.2,1);

  /* ============================================================
     LEGACY ALIASES — existing selectors resolve through the
     governed tokens above. Values are unchanged except the
     approved warm-paper shift (--paper / --paper-2).
     ============================================================ */
  --paper:      var(--color-paper);
  --paper-2:    var(--color-paper-2);
  --surface:    var(--color-surface);
  --ink:        var(--color-fg);
  --ink-2:      var(--color-fg-2);
  --muted:      var(--color-muted);
  --silver:     var(--color-faint);
  --hairline:   var(--rule);
  --hairline-2: var(--rule-2);
  --void:       var(--color-ink);
  --void-2:     var(--color-ink-2);
  --void-3:     var(--color-ink-3);
  --on-dark:    var(--color-on-ink);
  --on-dark-2:  var(--color-on-ink-2);
  --on-dark-3:  var(--color-on-ink-3);
  --rule-dark:  var(--rule-on-ink);
  --rule-dark-2:var(--rule-on-ink-2);
  --accent:     var(--color-action);   /* stays high-contrast ink for buttons/admin/focus */
  --maxw:       var(--container);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--text-base); line-height: var(--leading-body);
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; text-wrap: balance; }
ol, ul { margin: 0; padding: 0; list-style: none; }

/* ---- global interaction + accessibility foundations ---- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}
/* light focus ring on cinematic dark surfaces */
:where(.section--dark, .hero, .showcase, .nav) :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline-color: var(--focus-on-ink);
}
::selection { background: var(--color-accent); color: var(--color-ink); }

/* ---- reduced motion: render final states, no non-essential motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

#book, #fleet, #how, #why, #featured, #brand, #cta { scroll-margin-top: 70px; }
:where(#book, #fleet, #how, #why, #featured, #brand, #cta):focus { outline: none; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--ink); color: #fff; padding: 12px 18px; font-family: var(--font-mono); font-size: 13px; }
.skip-link:focus { left: 0; }

.payreturn { position: fixed; top: 0; left: 0; right: 0; z-index: 600; padding: 14px 20px; text-align: center; font-family: var(--font-mono); font-size: 13px; background: var(--ink); color: #fff; }
.payreturn--ok { background: #0a7d54; }

.section--dark { background: var(--void); color: var(--on-dark); }

/* ---- shared editorial atoms ---- */
.eyebrow, .kicker {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin: 0;
}
.eyebrow--on-dark, .kicker--on-dark { color: var(--on-dark-3); }
.kicker { display: inline-flex; align-items: center; gap: 14px; }
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--color-accent-strong); }

.arrow { display: inline-block; transition: transform .45s var(--ease); }

.cta-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink); padding: 6px 0; position: relative;
  background: transparent; border: none; cursor: pointer;
}
.cta-ghost::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform-origin: left; transition: transform .5s var(--ease); }
.cta-ghost:hover .arrow { transform: translateX(8px); }
.cta-ghost:active { opacity: .72; }
.cta-ghost:disabled, .cta-ghost[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.cta-ghost--light { color: var(--on-dark); }

/* buttons kept for the modal / booking flow */
.btn {
  --btn-bg: var(--accent); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .05em;
  padding: 15px 24px; cursor: pointer; border: 1px solid transparent; border-radius: var(--radius-s);
  background: var(--btn-bg); color: var(--btn-fg); transition: background .25s ease, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn--solid:hover { --btn-bg: #000; }
/* secondary (outlined) */
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--hairline-2); }
.btn--ghost:hover { border-color: var(--ink); }
/* secondary on cinematic dark surfaces */
.btn--on-dark { --btn-fg: var(--on-dark); }
.btn--on-dark.btn--ghost { border-color: var(--rule-on-ink-2); }
.btn--on-dark.btn--ghost:hover { border-color: var(--on-dark); background: rgba(255,255,255,.06); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
/* loading state (available system state; text hidden, spinner centered) */
.btn[aria-busy="true"] { pointer-events: none; position: relative; color: transparent; }
.btn[aria-busy="true"]::after { content: ""; position: absolute; top: 50%; left: 50%; width: 15px; height: 15px; margin: -8px 0 0 -8px; border: 2px solid var(--btn-fg); border-top-color: transparent; border-radius: 50%; animation: btnspin .7s linear infinite; }
@keyframes btnspin { to { transform: rotate(360deg); } }

/* ============================================================
   FOUNDATION UTILITIES — Phase B0
   Available for sections to adopt in later phases; applying
   these classes is a per-section job (B1+), not done here.
   ============================================================ */
/* layout: editorial container + 12-col grid */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.container--narrow { max-width: var(--container-narrow); }
.grid12 { display: grid; grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr)); gap: var(--gutter); }
@media (max-width: 768px) { .grid12 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); } }

/* typography hierarchy */
.t-display     { font-family: var(--font-display); font-weight: 900; line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
.t-display--xl { font-size: var(--text-4xl); }
.t-display--lg { font-size: var(--text-3xl); }
.t-heading     { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); line-height: var(--leading-snug); letter-spacing: -.02em; }
.t-title       { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); line-height: 1.15; }
.t-lede        { font-size: var(--text-md); line-height: var(--leading-body); color: var(--color-fg-2); max-width: 60ch; }
.t-label       { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; }
.t-serif       { font-family: var(--font-serif); font-style: italic; font-weight: 500; } /* editorial accent */
.t-mono        { font-family: var(--font-mono); }
.text-accent   { color: var(--color-accent-strong); }
.tnum          { font-variant-numeric: tabular-nums; }

/* media frame (namespaced to avoid the __media BEM blocks) */
.media-frame { position: relative; overflow: hidden; background: var(--color-paper-2); }
.media-frame > img, .media-frame > video { width: 100%; height: 100%; object-fit: cover; }
.media-frame--contain > img { object-fit: contain; }

/* misc atoms */
.hairline { border: 0; border-top: var(--border-hair) solid var(--rule); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================================
   NAV — cinematic overlay → solid on scroll (Phase B1)
   Transparent over the hero, solid ink bar once scrolled.
   No backdrop-filter (Phase A discipline): solid fill only.
   ============================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; transition: background var(--dur-4) ease, border-color var(--dur-4) ease; border-bottom: var(--border-hair) solid transparent; }
.nav__inner { max-width: var(--container); margin: 0 auto; padding: clamp(15px, 2.1vw, 22px) var(--pad); display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.nav--over { color: var(--on-dark); }
/* Solid near-opaque bar instead of a per-frame backdrop-filter blur (Phase A):
   the premium darkening with none of the mobile GPU cost of re-blurring. */
.nav.is-stuck { background: rgba(9,11,14,.92); border-bottom-color: var(--rule-dark); color: var(--on-dark); }

/* brand lockup — real mark preserved, FLYFLEET uppercase */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 38px; height: 22px; background: url("/assets/flyfleet-mark.png") center/contain no-repeat; filter: invert(1) brightness(1.7); }
.brand__name { font-family: var(--font-display); font-weight: 900; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; color: inherit; }

/* primary links — mono, editorial, platinum hover/focus indicator */
.nav__links { display: flex; gap: clamp(22px, 2.6vw, 36px); margin-left: clamp(8px, 2vw, 24px); }
.nav__links a { position: relative; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: inherit; opacity: .74; padding: 6px 0; transition: opacity var(--dur-2) ease; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-3) var(--ease); }
.nav__links a:hover, .nav__links a:focus-visible { opacity: 1; }
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); }

.nav__actions { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.nav__phone { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: inherit; opacity: .74; transition: opacity var(--dur-2) ease; }
.nav__phone:hover { opacity: 1; }

/* the one obvious Reserve CTA — restrained outlined button, strong on the dark bar */
.nav__cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: inherit; padding: 10px 18px; border: var(--border-hair) solid currentColor; border-radius: var(--radius-s); opacity: .92; transition: background var(--dur-2) ease, color var(--dur-2) ease, opacity var(--dur-2) ease; }
.nav__cta:hover { opacity: 1; background: var(--color-on-ink); color: var(--color-ink); border-color: var(--color-on-ink); }
.nav__cta:hover .arrow { transform: translateX(6px); }

/* hamburger → X (CSS only; reuses the existing toggle JS + aria-expanded) */
.nav__toggle { display: none; width: 44px; height: 44px; border: var(--border-hair) solid var(--rule-on-ink-2); background: transparent; cursor: pointer; margin-left: auto; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: var(--radius-xs); }
.nav__toggle span { width: 18px; height: 1.5px; background: currentColor; display: block; transition: transform var(--dur-2) var(--ease), opacity var(--dur-2) ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
.nav__mobile { display: none; }
@keyframes navOverlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes navLinkIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ============================================================
   HERO — cinematic editorial stage (Phase B2)
   Full-bleed dark opening; oversized editorial headline; the real 3D
   car is the centrepiece over a lit plinth. Solid scrims — no blur.
   ============================================================ */
.hero { position: relative; min-height: 100svh; background: var(--void); color: var(--on-dark); overflow: hidden; display: flex; flex-direction: column; }
.hero__atmos {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(58% 56% at 70% 56%, rgba(158,164,176,.24), transparent 62%),
    radial-gradient(120% 120% at 50% -10%, #171a22 0%, #0a0b0f 58%, #07080b 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; box-shadow: inset 0 -140px 180px -80px rgba(0,0,0,.72); }
/* headline column + a larger clear stage for the car (car-forward balance) */
.hero__grid {
  position: relative; z-index: 2; flex: 1; width: 100%; max-width: var(--container); margin: 0 auto;
  padding: clamp(112px, 15vh, 176px) var(--pad) clamp(20px, 3vh, 44px);
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center; gap: clamp(24px, 4vw, 64px);
}
.hero__copy { min-width: 0; }
/* eyebrow: mono label with a platinum index tick */
.hero__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(22px, 2.4vw, 30px); }
.hero__eyebrow-idx { font-weight: 700; color: var(--color-accent-strong); }
/* headline: restrained, cohesive — one grotesque voice, two tones. Not shouting. */
.hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 7.2vw, 104px); line-height: .98; letter-spacing: -.035em; color: #fff; margin: 0; text-wrap: balance; }
.hero__title-accent { color: var(--platinum-300); }
.hero__lede { max-width: 34ch; margin: clamp(22px, 2.6vw, 32px) 0 clamp(28px, 3vw, 38px); font-family: var(--font-body); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.6; color: var(--on-dark-2); }
.hero__copy .cta-ghost { color: var(--on-dark); }

/* entrance reveal — CSS only; the global reduced-motion block renders final state */
.hero__eyebrow { animation: heroRise var(--dur-4) var(--ease) both; }
.hero__title   { animation: heroRise var(--dur-4) var(--ease) 90ms both; }
.hero__lede    { animation: heroRise var(--dur-4) var(--ease) 170ms both; }
.hero__link    { animation: heroRise var(--dur-4) var(--ease) 240ms both; }
@keyframes heroRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero__stagewrap { position: relative; height: min(80vh, 720px); min-width: 0; }
/* lit plinth — an intentional first paint while the 2.4MB model loads (no blur) */
.stage__plinth { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(56% 42% at 50% 74%, rgba(183,190,199,.16), transparent 70%),
    radial-gradient(26% 14% at 50% 90%, rgba(0,0,0,.5), transparent 76%);
}
.stage { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.stage:active { cursor: grabbing; }
.stage canvas { display: block; }
.stage__fallback { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; }
.stage__fallback[hidden] { display: none; }
.stage__fallback-inner { width: min(84%, 560px); filter: invert(1) brightness(1.4) opacity(.85); }
.stage__hint { position: absolute; left: 0; right: 0; bottom: -6px; z-index: 2; text-align: center; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-3); margin: 0; }

/* ---- search console — premium instrument panel (solid scrim, no backdrop-filter) ---- */
.searchbar {
  position: relative; z-index: 4; margin-top: auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr auto;
  background: rgba(10,12,15,.86); border-top: var(--border-hair) solid var(--rule-on-ink-2);
}
.searchbar__field { padding: clamp(13px,1.5vw,18px) clamp(18px, 2.6vw, 34px); border-right: var(--border-hair) solid var(--rule-on-ink); display: flex; flex-direction: column; justify-content: center; gap: 5px; min-width: 0; min-height: 66px; transition: background var(--dur-2) ease; }
.searchbar__field:focus-within { background: rgba(255,255,255,.035); }
.searchbar .console__field label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-3); margin: 0; }
.searchbar .console__field input { font-family: var(--font-body); font-size: 15px; color: var(--on-dark); background: transparent; border: none; border-radius: 0; padding: 2px 0; width: 100%; min-height: 22px; }
.searchbar .console__field input::placeholder { color: var(--on-dark-3); }
.searchbar .console__field input:focus { outline: none; border: none; }
.searchbar .console__field input::-webkit-calendar-picker-indicator { filter: invert(.8); opacity: .6; cursor: pointer; }
/* the obvious booking entry — strong filled action on the dark console */
.searchbar__go { padding: 0 clamp(24px, 3vw, 46px); min-height: 66px; background: var(--color-on-ink); color: var(--color-ink); border: none; cursor: pointer; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background var(--dur-2) ease; }
.searchbar__go:hover { background: #fff; }
.searchbar__go:hover .arrow { transform: translateX(6px); }
.searchbar__go:active { transform: translateY(1px); }
.searchbar__status { grid-column: 1 / -1; margin: 0; padding: 12px clamp(18px,2.6vw,34px); border-top: var(--border-hair) solid var(--rule-on-ink); font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-2); }
.searchbar__status:empty { display: none; }
.searchbar__trust { grid-column: 1 / -1; margin: 0; padding: 12px clamp(18px,2.6vw,34px); border-top: var(--border-hair) solid var(--rule-on-ink); font-family: var(--font-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--on-dark-3); }

/* ============================================================
   BRAND MOMENT — FlyFleet identity (dark, continuous with the hero)
   ============================================================ */
.statement { position: relative; background: var(--void); color: var(--on-dark); text-align: center; padding: clamp(96px, 17vw, 240px) var(--pad); overflow: hidden; }
.statement::before { content: ""; position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: min(80vw, 900px); height: min(60vh, 520px); background: radial-gradient(60% 60% at 50% 50%, rgba(122,136,168,.12), transparent 70%); pointer-events: none; }
.statement__kicker { position: relative; display: block; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 30px; }
.statement__mark { position: relative; display: block; width: clamp(72px, 8vw, 118px); height: clamp(42px, 4.6vw, 66px); margin: 0 auto 26px; background: url("/assets/flyfleet-mark.png") center/contain no-repeat; filter: invert(1) brightness(1.85); }
.statement__word {
  position: relative; font-family: var(--font-display); font-weight: 900; line-height: .88;
  font-size: clamp(40px, 13vw, 200px); letter-spacing: -.045em; margin: 0; color: var(--on-dark);
  white-space: nowrap; /* one line; JS fits it to the frame width */
}
.statement__word span { display: inline-block; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .statement__word span {
    background-image: linear-gradient(180deg, #ffffff 0%, #d6d9e0 46%, #979dab 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  }
}
/* left-to-right identity wipe */
.statement__word.reveal { opacity: 0; transform: none; clip-path: inset(0 101% 0 -1%); transition: opacity 1s ease, clip-path 1.5s var(--ease); }
.statement__word.reveal.is-in { opacity: 1; clip-path: inset(0 -1% 0 -1%); }
/* the editorial-accent voice: serif italic, used deliberately for this one brand line
   (the intentional home for the serif in the type system) */
.statement__line { position: relative; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(19px, 2.4vw, 27px); color: var(--on-dark-2); max-width: 30ch; margin: 34px auto 0; line-height: 1.4; letter-spacing: .005em; }

/* ============================================================
   FEATURED — scroll-driven vehicle showcase (built by app.js)
   A sticky dark stage; the active vehicle crossfades as you scroll.
   Section height is set in JS (one viewport per vehicle).
   ============================================================ */
.showcase { position: relative; background: var(--void); color: var(--on-dark); }
.showcase__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(84px, 12vh, 120px) var(--pad) clamp(40px, 6vh, 66px);
}
.showcase__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex: none; }
.showcase__brand { display: inline-flex; align-items: center; gap: 12px; }
.showcase__brand .brand__mark { width: 34px; height: 20px; background: url("/assets/flyfleet-mark.png") center/contain no-repeat; filter: invert(1) brightness(1.7); }
.showcase__brandname { font-family: var(--font-display); font-weight: 900; font-size: 18px; letter-spacing: .02em; text-transform: uppercase; color: var(--on-dark); }
.showcase__label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-3); padding-left: 14px; border-left: 1px solid var(--rule-dark); }
.showcase__counter { font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; color: var(--on-dark-2); }
.showcase__slides { position: relative; flex: 1; min-height: 0; margin: clamp(20px,4vh,44px) 0; overflow: hidden; }

/* cinematic, directional, scroll-driven transitions */
.slide {
  position: absolute; inset: 0; display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center; gap: clamp(24px, 4vw, 70px);
  opacity: 0; transform: translateX(72px) scale(.965); pointer-events: none;
  transition: opacity .85s var(--ease), transform 1.05s var(--ease);
}
.slide.is-before { transform: translateX(-72px) scale(.965); }
.slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.slide__media { grid-column: 2; grid-row: 1; position: relative; height: 100%; min-height: 0; cursor: pointer;
  background: radial-gradient(58% 66% at 50% 52%, rgba(120,136,168,.20), transparent 72%); }
/* Soft contact shadow drawn purely with a radial gradient (extended soft stop) —
   no blur() filter, so it costs nothing to composite during scroll. */
.slide__media::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 4%; height: 8%; background: radial-gradient(ellipse at center, rgba(0,0,0,.5), transparent 78%); pointer-events: none; }
/* Inactive → active is a cheap rack-focus: scale + opacity + brightness (all GPU-
   composited). The previous blur(7px) transition was the costliest per-slide paint
   during scroll; brightness gives the same "defocused/into-focus" read for far less. */
.slide__img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: center; transform: scale(1.06); opacity: .55; filter: brightness(.7); transition: transform 1.25s var(--ease), opacity 1s ease, filter 1s ease; }
.slide.is-active .slide__img { transform: scale(1); opacity: 1; filter: brightness(1); }
.slide__media .art { display: grid; place-items: center; height: 100%; }
.slide__taken { position: absolute; top: 8px; left: 8px; z-index: 2; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(7,8,11,.7); padding: 7px 12px; }
.slide__panel { grid-column: 1; grid-row: 1; min-width: 0; }
/* staggered text reveal with the active vehicle */
.slide__cat, .slide__name, .slide__spec, .slide__foot { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .85s var(--ease); }
.slide.is-active .slide__cat { opacity: 1; transform: none; transition-delay: .14s; }
.slide.is-active .slide__name { opacity: 1; transform: none; transition-delay: .22s; }
.slide.is-active .slide__spec { opacity: 1; transform: none; transition-delay: .30s; }
.slide.is-active .slide__foot { opacity: 1; transform: none; transition-delay: .38s; }
.slide__cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-3); margin: 0 0 18px; }
.slide__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.6vw, 68px); line-height: .98; letter-spacing: -.035em; color: #fff; margin: 0 0 18px; }
.slide__spec { font-family: var(--font-mono); font-size: clamp(12px, 1.1vw, 14.5px); letter-spacing: .03em; color: var(--on-dark-2); margin: 0 0 30px; }
.slide__foot { display: flex; align-items: baseline; gap: 30px; flex-wrap: wrap; }
.slide__price { font-family: var(--font-mono); font-weight: 700; color: #fff; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.01em; }
.slide__price .per { font-size: 12px; color: var(--on-dark-3); letter-spacing: .05em; margin-left: 6px; }

.showcase__ticks { flex: none; display: flex; gap: 10px; }
.showcase__ticks .tick { width: 42px; height: 2px; background: var(--rule-dark-2); transition: background .4s ease; }
.showcase__ticks .tick.is-on { background: var(--on-dark); }

/* ============================================================
   FLEET — interactive vehicle selector on a dark cinematic stage
   (built by app.js: vehSlideHTML / vehNavHTML / vehPanelHTML)
   The 01–05 index switches the focused vehicle; the large image
   crossfades (CSS), the panel swaps in. The car is the star.
   ============================================================ */
.fleet { background: var(--void); color: var(--on-dark); padding: clamp(84px, 12vw, 156px) 0 clamp(96px, 13vw, 180px); overflow: hidden; }
.fleet__head { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(20px,3vw,40px); flex-wrap: wrap; border-bottom: var(--border-hair) solid var(--rule-dark); padding-bottom: clamp(20px,2.4vw,30px); }
.fleet__headline .kicker { color: var(--on-dark-3); margin-bottom: clamp(14px,1.6vw,20px); }
.fleet__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 5.4vw, 74px); line-height: .96; letter-spacing: -.035em; color: var(--on-dark); }
.fleet__title-accent { color: var(--color-accent-strong); }
.filters { display: flex; flex-wrap: wrap; gap: clamp(16px, 2.4vw, 28px); }
.chip { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; background: transparent; color: var(--on-dark-3); border: none; cursor: pointer; position: relative; transition: color var(--dur-2) ease; }
.chip::after { content: ""; position: absolute; left: 0; bottom: 8px; width: 100%; height: 1.5px; background: var(--color-accent-strong); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-3) var(--ease); }
.chip:hover { color: var(--on-dark); }
.chip--on { color: var(--on-dark); }
.chip--on::after { transform: scaleX(1); }
.fleet__note { max-width: var(--container); margin: clamp(16px,2vw,24px) auto 0; padding: 0 var(--pad); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--on-dark-2); }

.grid { max-width: var(--container); margin: clamp(40px,5vw,76px) auto 0; padding: 0 var(--pad); }
.selector { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); gap: clamp(30px,4.5vw,80px); align-items: center; }

/* the stage — one big car at a time, crossfading */
.selector__stage { position: relative; aspect-ratio: 5 / 6; overflow: hidden; background: var(--void-2); border: var(--border-hair) solid var(--rule-dark); }
.veh { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity .6s var(--ease), transform .9s var(--ease), visibility 0s linear .6s; }
.veh.is-active { opacity: 1; visibility: visible; transform: scale(1); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.veh__img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.veh__tag { position: absolute; top: 18px; left: 18px; z-index: 2; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(7,8,11,.6); padding: 7px 13px; }
.veh__taken { position: absolute; bottom: 18px; left: 18px; z-index: 2; font: 700 10px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(7,8,11,.82); padding: 8px 12px; }

/* the side — focused-vehicle panel + the index navigation */
.selector__side { display: flex; flex-direction: column; gap: clamp(28px,4vw,48px); min-width: 0; }
.selector__panel { min-width: 0; }
.selector__panel > * { animation: panelIn .5s var(--ease) both; }
.selector__panel > *:nth-child(2) { animation-delay: .05s; }
.selector__panel > *:nth-child(3) { animation-delay: .10s; }
.selector__panel > *:nth-child(4) { animation-delay: .15s; }
.selector__panel > *:nth-child(5) { animation-delay: .20s; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.veh__topline { display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(16px,2vw,22px); font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.veh__idx { color: var(--color-accent-strong); font-weight: 700; }
.veh__cat { color: var(--on-dark-3); padding-left: 14px; border-left: 1px solid var(--rule-dark); }
.veh__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 54px); line-height: .98; letter-spacing: -.035em; color: #fff; margin: 0 0 16px; }
.veh__spec { font-family: var(--font-mono); font-size: clamp(11.5px,1vw,13.5px); text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark-2); margin: 0 0 clamp(24px,3vw,36px); }
.veh__foot { display: flex; align-items: baseline; gap: clamp(22px,3.5vw,44px); flex-wrap: wrap; margin: 0 0 18px; }
.veh__price { font-family: var(--font-mono); font-weight: 700; font-size: clamp(26px,2.8vw,40px); color: #fff; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.veh__price .per { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--on-dark-3); font-weight: 400; margin-top: 6px; }
.veh__foot .cta-ghost { color: var(--on-dark); }
.veh__terms { font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-3); letter-spacing: .03em; margin: 0; }

.selector__index { display: flex; flex-direction: column; }
.veh-nav { display: flex; align-items: center; gap: 16px; width: 100%; padding: clamp(13px,1.5vw,17px) 0; min-height: 48px; background: transparent; border: none; border-top: 1px solid var(--rule-dark); cursor: pointer; text-align: left; color: var(--on-dark-3); transition: color var(--dur-2) ease; }
.veh-nav:last-child { border-bottom: 1px solid var(--rule-dark); }
.veh-nav__idx { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--on-dark-3); width: 2.2em; flex: none; transition: color var(--dur-2) ease; }
.veh-nav__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(15px,1.5vw,19px); letter-spacing: -.01em; color: inherit; }
.veh-nav:hover { color: var(--on-dark); }
.veh-nav.is-on { color: #fff; }
.veh-nav.is-on .veh-nav__idx { color: var(--color-accent-strong); }

/* ============================================================
   DARK EXPERIENCE — Reserve / Deliver / Drive
   ============================================================ */
.experience { padding: clamp(90px, 14vw, 200px) var(--pad); }
.experience__intro { max-width: var(--maxw); margin: 0 auto clamp(40px, 6vw, 90px); }
.experience__intro .kicker { color: var(--on-dark-3); margin-bottom: 26px; }
.experience__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(38px, 6vw, 88px); line-height: .96; letter-spacing: -.04em; color: var(--on-dark); }
.experience__list { max-width: var(--maxw); margin: 0 auto; }
.xrow { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(24px, 5vw, 80px); padding: clamp(34px, 5vw, 60px) 0; border-top: 1px solid var(--rule-dark); }
.xrow:last-child { border-bottom: 1px solid var(--rule-dark); }
.xrow__no { font-family: var(--font-display); font-weight: 900; font-size: clamp(48px, 8vw, 150px); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--rule-dark-2); }
.xrow__main { min-width: 0; }
.xrow__word { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 5.5vw, 82px); line-height: .96; letter-spacing: -.035em; color: #fff; margin-bottom: 14px; }
.xrow__copy { font-family: var(--font-body); font-size: clamp(14px, 1.3vw, 16px); line-height: 1.6; color: var(--on-dark-2); max-width: 46ch; }
.xrow__arrow { font-size: clamp(30px, 4vw, 56px); color: var(--on-dark-3); transition: transform .5s var(--ease), color .4s ease; }
.xrow:hover .xrow__arrow { transform: translateX(14px); color: #fff; }

/* ============================================================
   WHY — typographic statement
   ============================================================ */
.why { background: var(--paper); padding: clamp(90px, 14vw, 190px) var(--pad); }
.why .kicker { color: var(--muted); }
.why__statement { max-width: 16ch; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 6vw, 84px); line-height: .96; letter-spacing: -.03em; color: var(--ink); margin: 26px 0 24px; }
.why__lead { max-width: 44ch; font-family: var(--font-body); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--muted); margin: 0 0 clamp(50px, 7vw, 96px); }
.why__points { max-width: var(--maxw); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 60px); }
.why__point { border-top: 1px solid var(--hairline-2); padding-top: 22px; }
.why__no { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--silver); }
.why__point p { font-family: var(--font-body); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.55; color: var(--ink-2); margin: 16px 0 0; }

/* ============================================================
   CLOSING CTA — the last frame of the ad
   ============================================================ */
.closing { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.closing__media { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(7,8,11,.62), rgba(7,8,11,.72)), url("/assets/fleet/bmw-4-rear.webp"); background-size: cover; background-position: center 35%; }
.closing::after { content: ""; position: absolute; inset: 0; z-index: 1; box-shadow: inset 0 -160px 200px -80px rgba(0,0,0,.8); pointer-events: none; }
.closing__inner { position: relative; z-index: 2; padding: 0 var(--pad); max-width: var(--maxw); margin: 0 auto; width: 100%; }
.closing__inner .kicker { color: var(--on-dark-3); margin-bottom: 24px; }
.closing__title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 8.4vw, 138px); line-height: .92; letter-spacing: -.04em; color: #fff; margin: 0 0 36px; }
.closing .cta-ghost { color: var(--on-dark); font-size: 14px; }

/* ============================================================
   FOOTER — minimal luxury
   ============================================================ */
/* ============================================================
   FOOTER — editorial closing moment (Phase B1)
   Large metallic FLYFLEET sign-off; real mark + all real contact
   details and links preserved exactly.
   ============================================================ */
.footer { padding: clamp(80px, 10vw, 132px) var(--pad) calc(env(safe-area-inset-bottom, 0px) + 44px); }
.footer__top { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 2.5vw, 28px); padding-bottom: clamp(44px, 6vw, 76px); }
.footer .brand { align-items: center; gap: clamp(12px, 1.6vw, 20px); }
.footer .brand__mark { width: clamp(42px, 5vw, 66px); height: clamp(25px, 3vw, 39px); }
.footer .brand__name { font-size: clamp(40px, 8vw, 92px); line-height: .92; letter-spacing: -.01em; color: var(--on-dark); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .footer .brand__name {
    background-image: linear-gradient(180deg, #ffffff 0%, #cfd4da 62%, #8b93a0 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  }
}
.footer__tag { font-family: var(--font-body); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.5; color: var(--on-dark-2); margin: 0; max-width: 42ch; }
.footer__cols { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); padding: clamp(40px, 5vw, 64px) 0; border-top: var(--border-hair) solid var(--rule-dark); }
.footer__cols h4 { font-family: var(--font-mono); font-weight: 700; font-size: 10.5px; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--on-dark-3); margin: 0 0 20px; }
.footer__cols a, .footer__note { display: block; font-size: 14.5px; color: var(--on-dark-2); padding: 7px 0; min-height: 32px; transition: color var(--dur-2) ease; }
.footer__cols a { min-height: 40px; display: flex; align-items: center; }
.footer__cols a:hover { color: var(--on-dark); }
.footer__cols a:not(.footer__social):hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 4px; }
.footer__social { display: inline-flex; align-items: center; gap: 10px; }
.footer__ico { display: inline-flex; color: var(--on-dark-3); transition: color var(--dur-2) ease; }
.footer__ico svg { width: 15px; height: 15px; display: block; }
.footer__social:hover .footer__ico { color: var(--color-accent); }
.footer__social-label { font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; }
.footer__social--plain .footer__social-label { text-transform: none; letter-spacing: normal; }
.footer__base { max-width: var(--container); margin: 0 auto; padding-top: 28px; border-top: var(--border-hair) solid var(--rule-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--on-dark-3); }
.footer__legal a { color: inherit; text-decoration: none; opacity: .85; transition: opacity var(--dur-2) ease; }
.footer__legal a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer__company { max-width: var(--container); margin: 12px auto 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .03em; line-height: 1.5; color: var(--on-dark-3); }

/* ============================================================
   BOOKING MODAL (functional — visually refined)
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6,7,10,.72); backdrop-filter: blur(8px); animation: fade .25s ease; }
.modal__panel { position: relative; z-index: 1; width: min(780px, 100%); max-height: 92vh; overflow: auto; background: var(--surface); padding: clamp(24px, 3vw, 44px); box-shadow: var(--shadow-lg); animation: pop .4s var(--ease); }
.modal__x { position: absolute; top: 18px; right: 18px; z-index: 2; width: 40px; height: 40px; border: 1px solid var(--hairline-2); background: var(--surface); color: var(--muted); font-size: 22px; cursor: pointer; display: grid; place-items: center; transition: color .2s, border-color .2s; }
.modal__x:hover { color: var(--ink); border-color: var(--ink); }
.modal__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 4vw, 38px); letter-spacing: -.03em; margin: 4px 0 24px; color: var(--ink); }
.modal .eyebrow { color: var(--muted); margin-bottom: 8px; }

.summary { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: clamp(18px, 2.6vw, 30px); align-items: center; background: var(--paper); padding: clamp(16px, 1.8vw, 22px); margin-bottom: 24px; }
.summary__art { min-width: 0; }
.summary__art svg { width: 100%; height: auto; }
.summary__meta h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(21px, 2.4vw, 27px); letter-spacing: -.025em; margin: 0 0 6px; color: var(--ink); }
.summary__meta .summary__model { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .02em; margin: 0; }
.summary__meta .when { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); margin: 14px 0 0; }
.spec-grid { margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.specg { display: flex; align-items: center; gap: 9px; padding: 11px 12px; background: var(--surface); min-width: 0; }
.specg__ico { color: var(--silver); line-height: 0; flex: none; }
.specg__ico svg { width: 20px; height: 20px; display: block; }
.specg__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.specg__k { font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.specg__v { font-family: var(--font-mono); font-weight: 700; font-size: 12.5px; color: var(--ink); line-height: 1.25; overflow-wrap: break-word; }

.bform { display: flex; flex-direction: column; gap: 15px; }
.bform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.console__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.console__field label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.console__field input, .console__field select { font-family: var(--font-body); font-size: 15.5px; color: var(--ink); border: 1px solid var(--hairline-2); border-radius: var(--radius-s); padding: 12px 14px; background: var(--surface); width: 100%; transition: border-color .18s ease; }
.console__field input:focus, .console__field select:focus { outline: none; border-color: var(--accent); }
.console__field label .opt { text-transform: none; letter-spacing: 0; color: var(--silver); }
#deliveryFields[hidden] { display: none; }
.bform__delivery-note { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.bform__delivery-note.is-quote { color: var(--ink-2); }
.bform__delivery-note.is-warn { color: #c0392b; }
.bform__error { color: #c0392b; background: #fdeceb; border: 1px solid #f5cbc7; border-radius: var(--radius-s); padding: 11px 14px; font-size: 14px; margin: 0; }
.bform__fine { text-align: center; color: var(--muted); font-size: 12px; line-height: 1.55; margin: 6px 0 0; }
.price { border-top: 1px solid var(--hairline); padding-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.price__row { display: flex; justify-content: space-between; gap: 16px; font-family: var(--font-mono); font-size: 14px; color: var(--ink-2); }
.price__row .muted, .price__row.muted { color: var(--muted); }
.price__row--total { border-top: 1px solid var(--hairline); padding-top: 12px; margin-top: 3px; font-size: 17px; font-weight: 700; color: var(--ink); }
.done { text-align: center; }
.done__check { width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%; background: var(--paper-2); color: var(--ink); display: grid; place-items: center; font-size: 30px; font-weight: 700; }
.done__ref { font-family: var(--font-mono); font-size: 15px; margin: 0 0 18px; }
.done__ref b { color: var(--ink); letter-spacing: .06em; }
.done .summary { text-align: left; }
.done__note { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 16px 0 22px; }

/* modal gallery + lightbox (behaviour preserved) */
.gallery__main { position: relative; display: block; width: 100%; padding: 0; aspect-ratio: 3 / 4; border: 1px solid var(--hairline); overflow: hidden; cursor: zoom-in; background: radial-gradient(125% 90% at 50% 12%, #fff 0%, var(--paper) 60%, var(--paper-2) 100%); }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery__zoom { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(7,8,11,.55); color: #fff; font-size: 15px; backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s ease; }
.gallery__main:hover .gallery__zoom, .gallery__main:focus-visible .gallery__zoom { opacity: 1; }
.summary__art > img { width: 100%; height: auto; display: block; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.gallery__thumb { padding: 0; aspect-ratio: 3 / 4; border: 1px solid var(--hairline); overflow: hidden; background: var(--paper); cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumb:hover { transform: translateY(-1px); border-color: var(--hairline-2); }
.gallery__thumb.is-on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }

.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(6px, 2vw, 22px); padding: clamp(12px, 3vw, 32px); }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(6,7,10,.92); animation: fade .2s ease; }
.lightbox__x { position: absolute; top: 18px; right: 20px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font-size: 24px; cursor: pointer; }
.lightbox__nav { position: relative; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; font-size: 26px; cursor: pointer; }
.lightbox__nav:hover { background: rgba(255,255,255,.16); }
.lightbox__stage { position: relative; z-index: 2; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lightbox__stage img { max-width: 100%; max-height: 82vh; object-fit: contain; animation: fade .25s ease; }
.lightbox__cap { font-family: var(--font-mono); font-size: 12.5px; color: rgba(255,255,255,.8); }
.lightbox--single .lightbox__nav { display: none; }

/* ============================================================
   ANIMATION + REVEALS
   ============================================================ */
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.99); } to { opacity: 1; transform: none; } }
/* One-shot entrance (IntersectionObserver unobserves after firing). No persistent
   will-change — it would pin every reveal element to its own GPU layer for the life
   of the page; transform/opacity here are cheap to composite on demand. */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s var(--ease); transition-delay: calc(var(--rd, 0) * 80ms); }
.reveal.is-in { opacity: 1; transform: none; }
/* light staggered entrances for editorial lists (drives the existing --rd delay;
   no scroll JS — the IntersectionObserver just toggles .is-in once) */
.experience__list .xrow:nth-child(2), .why__points .why__point:nth-child(2) { --rd: 1; }
.experience__list .xrow:nth-child(3), .why__points .why__point:nth-child(3) { --rd: 2; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .chip, .nav, .arrow, .xrow__arrow, .cta-ghost::after { transition: none; }
  .veh { transform: none; transition: opacity .001s linear; }
  .veh.is-active { transform: none; }
  .selector__panel > * { animation: none; }
  .statement__word.reveal { clip-path: none; transition: opacity .3s ease; }
  .modal__panel, .modal__backdrop, .lightbox__backdrop, .lightbox__stage img { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  /* selector stacks: big car stage on top, panel + index below */
  .selector { grid-template-columns: 1fr; gap: clamp(24px, 4vw, 36px); }
  .selector__stage { aspect-ratio: 4 / 5; }
  .why__points { grid-template-columns: 1fr; gap: 0; }
  .why__point { border-top: 1px solid var(--hairline-2); padding: 22px 0; }
}

@media (max-width: 900px) {
  .nav__links, .nav__phone, .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  /* full-height editorial overlay — solid ink (no blur), safe-area aware.
     Sits just below the nav bar's z-index so the brand + X stay tappable to close. */
  .nav__mobile[data-open] {
    display: flex; flex-direction: column; justify-content: center; gap: 2px;
    position: fixed; inset: 0; z-index: 190; overflow-y: auto;
    background: var(--color-ink);
    padding: calc(env(safe-area-inset-top, 0px) + 96px)
             max(var(--pad), env(safe-area-inset-right, 0px))
             calc(env(safe-area-inset-bottom, 0px) + 44px)
             max(var(--pad), env(safe-area-inset-left, 0px));
    animation: navOverlayIn var(--dur-3) var(--ease);
  }
  .nav__mobile a {
    display: flex; align-items: center; min-height: 56px; padding: 10px 0;
    font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 8.5vw, 46px);
    letter-spacing: -.01em; text-transform: uppercase; color: var(--on-dark);
    border-bottom: var(--border-hair) solid var(--rule-dark);
    opacity: 0; animation: navLinkIn var(--dur-3) var(--ease) forwards;
  }
  .nav__mobile a:nth-child(1) { animation-delay: 40ms; }
  .nav__mobile a:nth-child(2) { animation-delay: 80ms; }
  .nav__mobile a:nth-child(3) { animation-delay: 120ms; }
  .nav__mobile a:nth-child(4) { animation-delay: 160ms; }
  .nav__mobile a:last-child { animation-delay: 200ms; color: var(--color-accent); border-bottom: none; }

  /* hero stacks: headline on top, car in its own clear stage below */
  .hero__grid { grid-template-columns: 1fr; align-content: center; gap: clamp(14px, 3vh, 26px); padding-top: clamp(90px, 13vh, 122px); }
  .hero__stagewrap { height: clamp(280px, 42vh, 440px); order: 2; }
  .hero__title { font-size: clamp(40px, 10vw, 68px); line-height: .94; }

  /* showcase slides stack: car above, details below */
  .slide { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: clamp(14px, 2vh, 22px); }
  .slide__media { grid-column: 1; grid-row: 1; }
  .slide__panel { grid-column: 1; grid-row: 2; }
  .slide__name { font-size: clamp(28px, 7vw, 46px); }
  .slide__spec { margin-bottom: 20px; }
}

@media (max-width: 720px) {
  .searchbar { grid-template-columns: 1fr 1fr; }
  .searchbar__field:nth-child(1) { grid-column: 1 / -1; border-right: none; border-bottom: 1px solid var(--rule-dark); }
  .searchbar__field:nth-child(3) { border-right: none; }
  .searchbar__go { grid-column: 1 / -1; padding: 16px; border-top: 1px solid var(--rule-dark); justify-content: center; }

  .fleet__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .summary { grid-template-columns: 1fr; gap: 16px; }
  .gallery__main { aspect-ratio: 4 / 5; max-height: 62vh; }
  .gallery__zoom { opacity: 1; }
  .bform__row { grid-template-columns: 1fr; }
  .modal__panel { padding: 22px 18px; }

  .xrow { grid-template-columns: auto 1fr; gap: 14px 20px; }
  .xrow__no { grid-row: 1; }
  .xrow__arrow { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; }
  .xrow__main { grid-column: 1 / -1; }

  .footer__top { flex-direction: column; gap: 14px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .footer__base { flex-direction: column; gap: 8px; }
}
