/* NERO · brand layer (restart, 2026-11-25: "START OVER", "USE WHAT YOU HAVE", "I DONT WANT THE SITE TO LOOK DARK").
   A light manufacturer's site built from the person's ten references:
   - Porsche Mission X / Pagani: the person's white studio renders sit on a white page as collectible objects, whole
     and very large; close-ups cut from the same renders are the material photography.
   - McLaren W1 / Koenigsegg: one display voice, Archivo Expanded 600 in capitals, for headlines and figures; Archivo
     at normal width for everything read.
   - Rimac: image first, then figures, then engineering. Lotus Evija: the cockpit as its own chapter, no numbering.
   - MERIDIAN: the circular menu button and the logo-fill loader. McLaren: the chapter bar at the foot of the screen.
   - NERO red #B3121C is the identity: the one action, the active mark, the footer. No dark sections, no glass,
     no gradients, radius 0 except the deliberate circles. */

:root {
  --gutter: clamp(1rem, 0.3rem + 3.2vw, 3.5rem);
  --header-h: 82px;
  --ink: #0B0B0C;
  --red: #B3121C;
  --rule: #E2E4E7;
  --cols: repeat(12, minmax(0, 1fr));
  --h2: clamp(2.3rem, 0.9rem + 4.4vw, 6.2rem);
  --pad-chapter: clamp(6rem, 3rem + 9vw, 11rem);
}

html { background: #fff; }
body { font-family: var(--font-body); font-size: 1.125rem; line-height: 1.5; background: var(--color-bg); color: var(--color-fg); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

/* The display voice: one face, one width, one weight */
.hero-title, h2, .air-big, .fig-num, .hero-tag, .dossier-row dd, .panels-lines a {
  font-family: var(--font-display); font-stretch: 125%; font-weight: 600; text-transform: uppercase;
  letter-spacing: -0.012em; text-wrap: balance;
}
h2 { font-size: var(--h2); line-height: 0.92; margin: 0; }

/* ---------- Header: menu ring left, wordmark centred, the red action right (the home page has none: Reserve is pinned at the foot) ---------- */
.site-header {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h); min-height: 0; padding: 0 var(--gutter);
  background: #fff; color: var(--ink); border-bottom: 1px solid var(--rule);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.menu-button {
  justify-self: start; display: inline-flex; align-items: center; gap: 0.9rem;
  background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font: 500 1rem/1 var(--font-body);
}
.menu-ring {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid currentColor;
  display: grid; place-content: center; gap: 6px; transition: background-color 0.15s ease-out, color 0.15s ease-out;
}
.menu-ring span { display: block; width: 16px; height: 1.5px; background: currentColor; }
.menu-button:hover .menu-ring { background: var(--ink); color: #fff; transition-duration: 0.25s; }
.site-header .brand { justify-self: center; color: var(--ink); display: block; }
.wordmark { display: block; width: clamp(112px, 64px + 8vw, 210px); height: auto; }
.header-action { justify-self: end; }

.btn {
  border-radius: 0; background: var(--red); color: #fff; height: 52px; padding: 0 1.75rem;
  font: 500 1rem/1 var(--font-body); letter-spacing: 0.01em; justify-content: center;
}
.btn:hover { background: var(--ink); color: #fff; }
.site-header a.btn { font-weight: 500; }

/* ---------- Loader: the emblem fills with red (loader.js drives .loader-fill with real progress) ---------- */
#loader { background: #fff; }
.loader-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.loader-bar {
  width: 132px; height: 82px; background: #E4E6E9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='320 35 300 185'%3E%3Cpath d='M342 57 L380 57 L596 198 L556 198 Z M342 108 L359 117 L359 198 L342 198 Z M577 57 L594 57 L594 152 L577 145 Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='320 35 300 185'%3E%3Cpath d='M342 57 L380 57 L596 198 L556 198 Z M342 108 L359 117 L359 198 L342 198 Z M577 57 L594 57 L594 152 L577 145 Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.loader-fill { background: var(--red); }

/* ---------- The chapter bar (desktop): fixed at the foot once the unveiling has passed ----------
   The chapters part either side of the centre, which is Reserve's (.reserve-dock, below), so the button sits in the bar. */
:root { --dock-w: 7.5rem; --mb-gap: clamp(1.25rem, 2.6vw, 3rem); }
.model-bar {
  position: fixed; inset: auto 0 0 0; z-index: 40; height: 60px;
  display: grid; grid-template-columns: minmax(0, 1fr) calc(var(--dock-w) + 2 * var(--mb-gap)) minmax(0, 1fr); align-items: center; padding: 0 var(--gutter);
  background: #fff; color: var(--ink); border-top: 1px solid var(--rule);
}
.model-bar-side { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-width: 0; }
.model-bar-side + .model-bar-side { grid-column: 3; }
@media (max-width: 1239px) { .model-bar-note { display: none; } }
.motion .model-bar:not(.is-ready) { visibility: hidden; }
.model-bar:focus-within { transform: none !important; translate: none !important; visibility: visible !important; }
.model-bar-mark { justify-self: start; color: var(--red); display: block; }
.model-bar-mark svg { display: block; width: 36px; height: auto; }
.model-bar-links { display: flex; gap: var(--mb-gap); list-style: none; margin: 0; padding: 0; }
.model-bar-links a {
  display: block; padding: 19px 0 17px; color: var(--ink); text-decoration: none; font: 500 1rem/1 var(--font-body); white-space: nowrap;
  border-bottom: 2px solid transparent; transition: border-color 0.15s ease-out;
}
.model-bar-links a:hover { border-bottom-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.model-bar-links a[aria-current="true"] { border-bottom-color: var(--red); }
.model-bar-note { justify-self: end; margin: 0; color: var(--color-muted); font-size: 1rem; }
@media (max-width: 899px), (max-height: 519px) { .model-bar { display: none; } }

/* ---------- Reserve, pinned at the foot, centred (the person, 2026-11-30) ----------
   Not in the header, so the opening is the menu, the wordmark and the car. It rises with the chapter bar as the
   unveiling ends (an engine scrub, index.html) and sits in the bar's centre; where there's no bar (phones, short
   screens) it stands on its own above the safe area. Shown once the engine has placed it, like the bar. */
.reserve-dock {
  position: fixed; inset: auto 0 0 0; z-index: 41; height: 60px;
  display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.reserve-dock .btn { pointer-events: auto; width: var(--dock-w); height: 44px; padding: 0; }
.motion .reserve-dock:not(.is-ready) { visibility: hidden; }
.reserve-dock:focus-within { transform: none !important; translate: none !important; visibility: visible !important; }
.reserve-dock.is-clear { visibility: hidden; }   /* steps aside while a keyboard-focused control sits behind it (js/site.js) */
@media (max-width: 899px), (max-height: 519px) {
  .reserve-dock { height: auto; padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
  .reserve-dock .btn { width: auto; height: 48px; padding: 0 2.25rem; box-shadow: 0 0 0 1.5px #fff; }   /* a white edge keeps it apart from the red car in the pictures it crosses */
  body:has(.reserve-dock) .site-footer { padding-bottom: calc(1.75rem + 4rem + env(safe-area-inset-bottom)); }
  html:has(.reserve-dock) { scroll-padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
}

/* ---------- Menu (panels): red, mist, then the white page; the chapters in the display voice ---------- */
.panels { --panels-1: #B3121C; --panels-2: #F2F3F4; --panels-3: #FFFFFF; color: var(--ink); }
.panels-kicker { color: var(--color-muted); font-size: 1.15rem; }
.panels-lines a { font-size: clamp(2.2rem, 0.9rem + 4.6vw, 6rem); line-height: 1.04; opacity: 0.26; }
.panels-close { font: 500 1rem/1 var(--font-body); height: 48px; padding: 0 1.4rem; border-width: 1.5px; top: 14px; }

/* ---------- ★ The unveiling ---------- */
.hero { position: relative; background: #fff; display: block; align-content: normal; min-height: 0; padding: 0; }
.hero h1 { max-width: none; }
.hero-stage {
  position: relative; min-height: 100svh; overflow: clip;
  display: grid; grid-template-rows: auto 1fr;
  padding: calc(var(--header-h) + clamp(1.5rem, 5vh, 3.5rem)) var(--gutter) clamp(1rem, 3.5vh, 2.25rem);
}
.hero-type { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: var(--gutter); }
.hero-title { flex: none; font-size: clamp(2.5rem, 0.8rem + 6.8vw, 9.5rem); line-height: 0.9; margin: 0; }
.hero-side { max-width: 21rem; padding-top: 0.5rem; display: grid; gap: 0.9rem; text-align: right; }
.hero-tag { display: block; font-size: clamp(1.1rem, 0.7rem + 0.9vw, 1.65rem); line-height: 1.05; }
.hero-lede { display: block; font-size: clamp(1.05rem, 0.9rem + 0.3vw, 1.3rem); line-height: 1.4; color: var(--color-muted); }
/* the car: as large as the screen allows under the headline, never cropped (the render's own white margins only) */
.hero-car {
  margin: 0; align-self: end; justify-self: center; position: relative; z-index: 1;
  transform-origin: 204.861% 85.714%;   /* the travel's origin: the heading's vanishing point, on the tyres' ground line (drive_rig.py) */
  width: min(100%, calc((100svh - var(--header-h) - 5.5rem - 1.8 * (0.8rem + 6.8vw)) * 2.2857));
}
/* the drive-out: a sticky track at every width (native scroll on phones, no GSAP pin) */
.motion .hero { height: 240svh; }
.motion .hero-stage { position: sticky; top: 0; height: 100svh; }
/* the statement rises behind the departing car (2026-11-27: the drive-out ended on a whole empty screen). It starts
   --hero-overlap before the track ends and passes under the car, which stays in front because it is passing the lens.
   The hero's white stops where the statement begins, so the words show through the empty stage. */
:root { --hero-overlap: 60svh; }   /* measured: at 60svh no screen of the seam drops below 46% content at 1440 (was 1%) */
.motion .hero { z-index: 2; background: none; }
.motion .hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: var(--hero-overlap); z-index: -1; background: #fff; }
.motion .statement-block { margin-top: calc(-1 * var(--hero-overlap)); }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* the car's rig, placed in the render's own pixels (keyframes/work/drive_rig.py prints these numbers):
   ground shadow, then each wheel (still back: tyre, lip, well; turning face bent into its dish; still caliper),
   then the body shell on its springs with its motion blur */
.hero-car .car-shadow { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.hw { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hw > img { position: absolute; display: block; max-width: none; }
.hw-f .hw-back { left: 61.2153%; top: 33.0952%; width: 10.1042%; height: 53.4127%; }
.hw-f .hw-cal { left: 64.7569%; top: 46.9048%; width: 3.5764%; height: 24.2063%; z-index: 2; }
.hw-r .hw-back { left: 89.1319%; top: 25.2381%; width: 5.7639%; height: 42.4603%; }
.hw-r .hw-cal { left: 90.625%; top: 46.1905%; width: 1.1111%; height: 2.5397%; z-index: 2; }
.wheel { position: absolute; z-index: 1; display: block; }
.wheel-f { left: 56.7014%; top: 39.5238%; width: 18.8889%; height: 43.1746%; transform: rotate(2.2deg) scaleX(0.35662); filter: url(#dish-f); }
.wheel-r { left: 85.3125%; top: 29.5238%; width: 14.5833%; height: 33.3333%; transform: rotate(1.6deg) scaleX(0.27619); filter: url(#dish-r); }
.wheel-spin { position: absolute; inset: 0; display: block; }
.wheel-spin img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wheel-blur { opacity: 0; }
.car-pitch { position: relative; z-index: 3; display: block; transform-origin: 84.375% 49.365%; }
.car-body, .car-body img { position: relative; display: block; width: 100%; height: auto; }
.hero-car .car-blur { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
/* the racetrack under the car (2026-11-28): a twin of the car's box in the same grid cell, so the track, rendered through
   the render's own camera, keeps the car's frame at every size; the image reaches past the box on every side
   (keyframes/work/hero_track.py: the canvas is render px -1500..4380 x -560..4300 around the 2880 x 1260 frame) */
.hero-car, .hero-ground { grid-row: 2; grid-column: 1; }
.hero-ground {
  margin: 0; align-self: end; justify-self: center; position: relative; z-index: 0; aspect-ratio: 2880 / 1260; pointer-events: none;
  width: min(100%, calc((100svh - var(--header-h) - 5.5rem - 1.8 * (0.8rem + 6.8vw)) * 2.2857));
}
.hg-in, .hg-out, .hg-tilt { position: absolute; inset: 0; }
.hg-img { position: absolute; left: -52.0833%; top: -44.4444%; width: 204.1667%; max-width: none; height: auto; display: block; }
@media (max-width: 1180px) {
  .hero-type { flex-direction: column; gap: 1.25rem; }
  .hero-side { text-align: left; padding-top: 0; }
}
@media (max-aspect-ratio: 1/1) {
  .hero-car, .hero-ground { align-self: center; width: 100%; }
}

/* ---------- Statement (editorial) ---------- */
.statement-block { padding: clamp(5rem, 2rem + 6vw, 8.5rem) var(--gutter) clamp(3rem, 1rem + 4vw, 6rem); background: #fff; }
.statement-grid { display: grid; grid-template-columns: var(--cols); gap: var(--gutter); align-items: end; }
.statement-block .statement-text {
  grid-column: 1 / span 7; margin: 0; max-width: 19ch; text-align: left;
  font-family: var(--font-body); font-weight: 400; font-stretch: 100%; text-transform: none;
  font-size: clamp(2rem, 0.8rem + 3.7vw, 5.4rem); line-height: 1.04; letter-spacing: -0.032em;
}
.statement-media { grid-column: 8 / span 5; margin: 0; }
.statement-media img { display: block; width: 100%; height: auto; }

/* ---------- Chapter heads: the display line left, one paragraph right ---------- */
.chapter-head { display: grid; grid-template-columns: var(--cols); gap: var(--gutter); align-items: end; padding: 0 var(--gutter); margin-bottom: clamp(2.5rem, 1rem + 4vw, 5.5rem); }
.chapter-head h2 { grid-column: 1 / span 8; }
.chapter-lede { grid-column: 9 / span 4; margin: 0; max-width: 34ch; color: var(--color-muted); font-size: clamp(1.1rem, 0.95rem + 0.35vw, 1.35rem); line-height: 1.45; }
.frame { margin: 0; overflow: clip; background: #fff; }
.frame picture, .frame img { display: block; width: 100%; height: 100%; }
.frame img { object-fit: cover; }

/* ---------- Design: one car very large, the close-ups around it ---------- */
.design { padding: clamp(3rem, 1rem + 4vw, 6rem) 0 var(--pad-chapter); background: #fff; }
.design .chapter-head { align-items: start; row-gap: 1.5rem; }
.design .chapter-head h2 { grid-column: 1 / span 8; }
.design .chapter-lede { grid-column: 1 / span 5; grid-row: 2; }
.design-grid { display: grid; grid-template-columns: var(--cols); column-gap: var(--gutter); row-gap: clamp(3rem, 1rem + 6vw, 8rem); padding: 0 var(--gutter); }
.d-main-slot { grid-column: 1 / -1; grid-row: 1; }   /* never moves: the photograph's zoom measures it */
.d-main { aspect-ratio: 2879 / 1168; }
.d-main img { object-fit: contain; }
.d-wheel { grid-column: 1 / span 4; grid-row: 2; aspect-ratio: 1600 / 1560; align-self: start; }
.d-scoop { grid-column: 6 / span 7; grid-row: 2; aspect-ratio: 2000 / 1276; align-self: end; }
.d-line { margin: 0; font-size: clamp(1.35rem, 0.9rem + 1.1vw, 2.1rem); line-height: 1.2; letter-spacing: -0.015em; font-weight: 500; max-width: 22ch; }
.d-line-1 { grid-column: 1 / span 4; grid-row: 3; align-self: start; }
.d-tail { grid-column: 6 / span 7; grid-row: 3 / span 2; aspect-ratio: 2400 / 1154; }
.d-line-2 { grid-column: 1 / span 4; grid-row: 4; align-self: end; }

/* ---------- ★ The tunnel ---------- */
.tunnel { position: relative; background: #fff; }
.air-stage {
  position: relative; min-height: 100svh; overflow: clip;
  display: grid; grid-template-columns: var(--cols); grid-template-rows: auto 1fr; column-gap: var(--gutter);
  padding: calc(var(--header-h) + clamp(1.5rem, 5vh, 3.5rem)) var(--gutter) clamp(1rem, 3vh, 2rem);
}
.tunnel-title { grid-column: 1 / span 6; grid-row: 1; position: relative; z-index: 2; }
.air-beats { grid-column: 8 / span 5; grid-row: 1; position: relative; z-index: 2; list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.air-big { margin: 0; font-size: clamp(2rem, 0.8rem + 3.4vw, 5rem); line-height: 0.95; }
.air-text { margin: 0.9rem 0 0; max-width: 30ch; font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.3rem); line-height: 1.45; color: var(--color-muted); }
.air-car {
  grid-column: 1 / -1; grid-row: 2; align-self: end; justify-self: center; position: relative; margin: 0 0 3vh; transform-origin: 50% 100%;
  width: min(100%, 84vw, calc((100svh - var(--header-h) - 20rem) * 3));
}
.air-state { margin: 0; }
.air-state img { display: block; width: 100%; height: auto; }
.air-state + .air-state { position: absolute; inset: 0; }
.air-state:not(.is-active) { opacity: 0; visibility: hidden; }
.air-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
/* the held version: a sticky track, one statement at a time (a timed switch, never a scrubbed fade) */
.motion .tunnel:not(.scene-off) { height: 340svh; }
.motion .tunnel:not(.scene-off) .air-stage { position: sticky; top: 0; height: 100svh; }
.motion .tunnel:not(.scene-off) .air-beats { gap: 0; }
.motion .tunnel:not(.scene-off) .air-beat { grid-area: 1 / 1; transition: opacity calc(0.3s * var(--motion-speed)) ease-in, transform calc(0.3s * var(--motion-speed)) ease-in, visibility 0s calc(0.3s * var(--motion-speed)); }
.motion .tunnel:not(.scene-off) .air-beat:not(.is-active) { opacity: 0; transform: translateY(-14px); visibility: hidden; }
.motion .tunnel:not(.scene-off) .air-beat.is-active { transition: opacity calc(0.45s * var(--motion-speed)) cubic-bezier(0.16, 1, 0.3, 1) calc(0.12s * var(--motion-speed)), transform calc(0.45s * var(--motion-speed)) cubic-bezier(0.16, 1, 0.3, 1) calc(0.12s * var(--motion-speed)); }
.motion .tunnel:not(.scene-off) .air-state { transition: opacity calc(0.45s * var(--motion-speed)) ease-out, visibility 0s; }
.motion .tunnel:not(.scene-off) .air-state:not(.is-active) { transition: opacity calc(0.45s * var(--motion-speed)) ease-out, visibility 0s calc(0.45s * var(--motion-speed)); }

/* ---------- Performance: image, then figures ---------- */
.performance { padding: var(--pad-chapter) 0 clamp(2.5rem, 1rem + 3vw, 4.5rem); background: #fff; }   /* the cockpit's heading arrives while the figures are still on screen (2026-11-27: 352 px of white between them at 1440) */
.perf-car { margin: 0 auto; width: min(100% - 2 * var(--gutter), 1480px); transform-origin: 50% 85%; }
.perf-car .xray > picture img { display: block; width: 100%; height: auto; }
/* the X-ray lens (scene "xray"): a round window that slides over a still radiograph registered to the photo */
.xray { position: relative; cursor: crosshair; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.xray-lens {
  position: absolute; left: 0; top: 0; z-index: 2; width: 240px; height: 240px; border-radius: 50%; overflow: hidden;
  pointer-events: none; background: #050506; opacity: 0;
  box-shadow: 0 0 0 1.5px var(--red), 0 22px 50px rgb(11 11 12 / 0.28);
}
.xray-lens picture { display: block; }
.xray-lens img { position: absolute; left: 0; top: 0; max-width: none; display: block; }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); margin: clamp(3rem, 6vw, 5.5rem) var(--gutter) 0; padding-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1.5px solid var(--ink); }
.figure dt { color: var(--color-muted); font-size: 1.05rem; margin-bottom: 0.7rem; }
.figure dd { margin: 0; display: flex; align-items: baseline; gap: 0.3em; white-space: nowrap; }
.fig-num { font-size: clamp(2.2rem, 0.5rem + 3.6vw, 5.6rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.035em; }
.fig-unit { font-size: clamp(1.05rem, 0.8rem + 0.6vw, 1.6rem); font-weight: 500; }

/* ---------- The cockpit: one camera move through the cabin (2026-11-27, replaces the arrow-and-dots gallery) ----------
   Motion off: the four views in a column, the four labels listed. Motion on: one sticky track; the views share one frame;
   each new view is a window sliding in from the right (.cab-view xPercent 101 → 0, starting just clear of the frame so its red edge is hidden) over a picture held still
   (.cab-counter −101 → 0, the same ease, so they cancel exactly), arriving with a little forward drift (.cab-settle)
   while the view it covers keeps pushing in (.cab-push). The window's leading edge is the car's red thread of light. */
.interior { padding: clamp(3rem, 1rem + 4vw, 6rem) 0; background: #fff; }
.cabin-frame { margin: 0 var(--gutter); display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.cab-view { margin: 0; position: relative; overflow: clip; aspect-ratio: 2880 / 1621; background: #111; }
.cab-counter, .cab-settle, .cab-push { display: block; width: 100%; height: 100%; }
.cab-view img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* where each push heads (the wheel's N, the seat, the spine, the road ahead); a crop centres there too */
.cab-v1 { --focus: 34% 44%; }
.cab-v2 { --focus: 20% 50%; }
.cab-v3 { --focus: 60% 55%; }
.cab-v4 { --focus: 42% 24%; }
.cab-settle, .cab-push { transform-origin: var(--focus); }
.cab-view img { object-position: var(--focus); }
.cab-labels { list-style: none; margin: clamp(1.5rem, 3vw, 2.5rem) var(--gutter) 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem var(--gutter); }
.cab-label .air-text { margin-top: 0.6rem; }
.motion .cabin-track { height: 380svh; }
.motion .cabin-stage {
  position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: minmax(0, 1fr) auto;
  padding: calc(var(--header-h) + clamp(0.75rem, 2.5vh, 1.75rem)) var(--gutter) calc(60px + clamp(0.75rem, 2.5vh, 1.75rem));
}
.motion .cabin-frame { margin: 0; position: relative; display: block; min-height: 0; overflow: clip; background: #111; }
.motion .cab-view { position: absolute; inset: 0; aspect-ratio: auto; }
.motion .cab-view:not(.cab-v1) { box-shadow: -2px 0 0 var(--red); }
.motion .cab-labels { margin: clamp(0.9rem, 2.2vh, 1.6rem) 0 0; grid-template-columns: minmax(0, 1fr); }
.motion .cab-label { grid-area: 1 / 1; overflow: clip; }
/* every label fills the shared cell, so one rolled out by 110% of itself always leaves it (a short label in a cell sized
   by a two-line one stayed in view, 2026-11-28) */
.motion .cab-label > div, .motion .cab-label > div > div { height: 100%; }
.motion .cab-line { display: grid; grid-template-columns: var(--cols); column-gap: var(--gutter); align-items: end; }
.motion .cab-line .air-big { grid-column: 1 / span 7; }
.motion .cab-line .air-text { grid-column: 8 / span 5; margin: 0; }
@media (max-width: 899px) {
  .cab-labels { grid-template-columns: minmax(0, 1fr); }
  .motion .cabin-stage { grid-template-rows: auto auto; align-content: center; padding-bottom: clamp(0.75rem, 2.5vh, 1.75rem); }
  /* 14.5rem: the label, its text and the row of trims under it (the trims added 2026-11-29) */
  .motion .cabin-frame { aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 14.5rem); width: 100%; justify-self: center; }
  .motion .cab-line { display: block; }
  .motion .cab-line .air-text { margin-top: 0.5rem; }
}

/* ---------- The cockpit's trims (2026-11-29, the person: "i want each to have a touch activated transformation, how the
   cockpit can be customized"; js/scenes/trim.js) ----------
   Each view's trims sit inside its .cab-push, so the camera's push scales them with the picture. A tap spreads the next
   trim out from the finger: the layer's mask is a circle with a soft outer edge, grown by the scene (--tr). */
.cab-push { position: relative; }
.cab-pic { display: block; width: 100%; height: 100%; }
.trim { position: absolute; inset: 0; pointer-events: none; isolation: isolate; }
.trim-layer { position: absolute; inset: 0; display: block; visibility: hidden; }
.trim-layer.is-on { visibility: visible; }
.trim-layer.is-spreading {
  -webkit-mask-image: radial-gradient(circle at var(--tx) var(--ty), #000 calc(var(--tr) * 0.88), transparent var(--tr));
          mask-image: radial-gradient(circle at var(--tx) var(--ty), #000 calc(var(--tr) * 0.88), transparent var(--tr));
}
.has-trim { cursor: pointer; }
.trim-pick { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1.35rem; margin-top: 0.7rem; }
.trim-pick[hidden] { display: none; }
.trim-pick-name { font: 400 1.05rem/1 var(--font-body); color: var(--color-muted); }
.trim-pick button {
  -webkit-appearance: none; appearance: none; background: none; border: 0; border-radius: 0;
  min-height: 44px; padding: 0.75rem 0 0.6rem; border-bottom: 2px solid transparent;
  font: 500 1.05rem/1 var(--font-body); color: var(--ink); cursor: pointer;
  transition: border-color 0.18s cubic-bezier(0.33, 1, 0.68, 1);
}
.trim-pick button[aria-pressed="true"] { border-bottom-color: var(--red); }
/* the ring drawn inside the button: the label's clip would cut an outside ring's lower edge */
.trim-pick button { margin-inline: -0.3rem; padding-inline: 0.3rem; }
.trim-pick button:focus-visible { outline-offset: -2px; }
.motion .cab-line .cab-copy { grid-column: 8 / span 5; }
/* a label with one wrapper: its text block keeps its own height (the wrappers' 100% is for the rolling divs) */
.motion .cab-label .cab-copy { height: auto; }
/* the labels share one cell, and a rolled-out label's outer wrapper stays there, empty and transparent, over the
   labels before it: only the trims take the pointer, so a click reaches the buttons of the label that shows */
.motion .cab-label { pointer-events: none; }
.motion .cab-label .trim-pick { pointer-events: auto; }
.motion .cab-label .trim-pick.is-out { pointer-events: none; }

/* ---------- The battery: the pack opened in layers (2026-11-28, the person: "a section for the technology that powers
   the car with a display of the battery technology it uses") ----------
   Three Blender renders of one pack (keyframes/work/battery_pack.py: lid, modules, floor) and their shadow overlays sit in
   one box in the render's own frame; each image's place is in cqw, written by keyframes/work/battery_layout.py (the
   battery:layout block below). Motion off: the opened pack, the three labels beside their parts (listed under it on a
   phone). Motion on: one sticky track; the camera (.pack-cam-t, .pack-cam) holds the closed pack centred and a touch
   closer, then eases back while the lid lifts away; then the cells lift off the cold plate. A wrapper's size is its
   distance (.pack-h's width the sideways move, .pack-v's height the rise, .pack-cam-t's the camera's), so the same scrub
   values fan the layers up and to the right on a wide screen and straight up on a phone. Every move is the engine's
   scrub; an orthographic render makes each 3D move a plain translation, and the higher layer is always drawn over. */
.battery { padding: clamp(3rem, 1rem + 4vw, 6rem) 0 clamp(2rem, 1rem + 2vw, 3.5rem); background: #fff; overflow-x: clip; }
.pack-stage { padding: 0 var(--gutter); }
.pack-frame { position: relative; container-type: inline-size; margin: 0 auto; width: min(100%, 1500px); }
.pack-world { position: relative; width: 100%; aspect-ratio: var(--pack-aspect); }
.pack-cam-t, .pack-cam, .pack-h, .pack-v { position: absolute; left: 0; top: 0; }
.pack-cam-t { width: var(--cam-x); height: var(--cam-y); }
.pack-cam { width: 100cqw; height: calc(100cqw / (var(--pack-aspect))); transform-origin: var(--pack-origin); }
.pack-h { height: 0; }
.pack-v { width: 0; }
.pack-mod { width: var(--mod-x); }
.pack-mod .pack-v { height: var(--mod-y); }
.pack-lid { width: var(--lid-x); }
.pack-lid .pack-v { height: var(--lid-y); }
.pack-img { position: absolute; display: block; max-width: none; height: auto; left: calc(var(--l) * 1cqw); top: calc(var(--t) * 1cqw); width: calc(var(--w) * 1cqw); pointer-events: none; }
.pack-gs-lid { opacity: 0.55; }
.pack-gs-mod { opacity: 0.7; }
.pack-ct-lid, .pack-ct-mod { opacity: 0; }
.motion .pack-ct-lid, .motion .pack-ct-mod { opacity: 1; }
/* the labels: the display voice for the name, the text voice for the line; a hairline to the part it names */
.pack-labels { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.pack-label { pointer-events: auto; }
.pack-label { --big: clamp(1.35rem, 0.75rem + 1.25vw, 2.35rem); position: absolute; left: calc(var(--x) * 1cqw); top: calc(var(--y) * 1cqw - 0.5 * var(--big)); width: calc(var(--lw) * 1cqw); }
.pack-label > div, .pack-label > div > div { position: relative; }
.pack-big { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 600; text-transform: uppercase; font-size: var(--big, clamp(1.35rem, 0.75rem + 1.25vw, 2.35rem)); line-height: 1; }
.pack-label .air-text { margin-top: 0.55rem; max-width: 30ch; }
.pack-lead { position: absolute; top: calc(0.5 * var(--big) - 0.75px); height: 1.5px; width: calc(var(--lead) * 1cqw - 1rem); background: var(--ink); }
.pack-label.to-right { text-align: right; }
.pack-label.to-right .air-text { margin-left: auto; }
.pack-label.to-right .pack-lead { left: calc(100% + 1rem); transform-origin: 0 50%; }
.pack-label.to-left .pack-lead { right: calc(100% + 1rem); transform-origin: 100% 50%; }
.motion .pack-track { height: 320svh; }
.motion .pack-stage {
  position: sticky; top: 0; height: 100svh; display: grid; align-content: center;
  padding: calc(var(--header-h) + clamp(0.75rem, 2.5vh, 1.75rem)) var(--gutter) calc(60px + clamp(0.75rem, 2.5vh, 1.75rem));
}
.motion .pack-frame { width: min(100%, 1500px, calc((100svh - var(--header-h) - 60px - 3.5rem) * (var(--pack-aspect)))); }
/* the labels a phone shows one at a time stay up together on a wide screen */
/* the labels are uncovered in place (two opposing slides in a clip), never faded, so a reader who stops mid-way reads
   them at full contrast (WCAG 1.4.3, 2026-11-30); on wide screens they stay once in (no wipe out) */
/* the window is the moving outer of each pair: it clips, its counter holds the words still */
.pack-copy > .pack-wipe, .pack-wipe > .pack-out { overflow: clip; }
@media (min-width: 900px) { .motion .pack-out { transform: none !important; translate: none !important; } }
@media (max-width: 899px) {
  .pack-label { position: static; width: auto; }
  .pack-lead { display: none; }
  .pack-labels { position: static; display: grid; gap: 1.75rem; margin-top: 1.75rem; }
  .pack-label.to-right { text-align: left; }
  .pack-label.to-right .air-text { margin-left: 0; }
  .motion .pack-stage { padding-bottom: clamp(0.75rem, 2.5vh, 1.75rem); }
  .motion .pack-frame { width: min(100%, calc((100svh - var(--header-h) - 10.5rem) * (var(--pack-aspect)))); }
  .motion .pack-labels { margin-top: 1rem; gap: 0; }
  .motion .pack-label { grid-area: 1 / 1; }
}

/* battery:layout:start (written by keyframes/work/battery_layout.py; positions in cqw of .pack-world) */
.battery { --pack-aspect: 4115 / 2002; --mod-x: 17.5137cqw; --mod-y: 7.0612cqw; --lid-x: 37.7928cqw; --lid-y: 16.9469cqw; --cam-x: 6.8287cqw; --cam-y: 8.469cqw; --pack-origin: 43.1713cqw 32.7947cqw; }
.pack-lid-img { --l: 64.4513; --t: 2.0568; --w: 33.0255; }
.pack-modules { --l: 44.9013; --t: 12.307; --w: 31.5431; }
.pack-floor { --l: 19.2953; --t: 14.3378; --w: 48.1166; }
.pack-ct-lid { --l: 24.1069; --t: 18.1531; --w: 37.9587; }
.pack-ct-mod { --l: 24.1069; --t: 18.1531; --w: 37.9587; }
.pack-gs-mod { --l: 37.781; --t: 14.8724; --w: 46.4642; }
.pack-gs-lid { --l: 52.9082; --t: 9.0401; --w: 57.74; }
.pack-label-lid { --x: 0.0; --y: 3.7639; --lw: 22.8433; --lead: 41.6081; }
.pack-label-cells { --x: 0.0; --y: 18.469; --lw: 22.8433; --lead: 21.9852; }
.pack-label-plate { --x: 0.0; --y: 33.1742; --lw: 22.8433; --lead: 2.7461; }
@media (max-width: 899px) {
  .battery { --pack-aspect: 1833 / 2345; --mod-x: 0.0cqw; --mod-y: 25.641cqw; --lid-x: 0.0cqw; --lid-y: 57.8287cqw; --cam-x: 0.0cqw; --cam-y: 28.3688cqw; --pack-origin: 50.0cqw 92.335cqw; }
  .pack-lid-img { --l: 12.9296; --t: 3.5461; --w: 74.1408; }
  .pack-modules { --l: 14.5663; --t: 36.5521; --w: 70.8129; }
  .pack-floor { --l: -3.6007; --t: 50.9002; --w: 108.0196; }
  .pack-ct-lid { --l: 7.2013; --t: 59.4654; --w: 85.2155; }
  .pack-ct-mod { --l: 7.2013; --t: 59.4654; --w: 85.2155; }
  .pack-gs-mod { --l: -1.4184; --t: 52.1004; --w: 104.3099; }
  .pack-gs-lid { --l: -12.9842; --t: 39.0071; --w: 129.6236; }
}
/* battery:layout:end */

/* ---------- Reserve (reserve.html, custom scene "checkout"; redesigned 2026-12-01: "more style, more status, it needs
   to feel more like a real choice", the person's pick "B then C") ----------
   Three decisions, each two or three real alternatives at full height: the chosen one sweeps across as a pane of glass
   (the ink divider travelling with it) and stays, named large. Then the atelier's extras beside a stage of the car, your
   details, and the unveiling: two white sheets of air over the car, parted by scrolling. Ruled type, never cards; red
   only for what acts (a ticked box, the current step, the action). Motion off or no script: every step listed in order,
   the sheets standing open. */
.reserve-page main { padding-top: var(--header-h); }
.checkout { padding: clamp(2.5rem, 1rem + 4vw, 5rem) var(--gutter) calc(110px + 3rem); background: #fff; }
.co-head { display: grid; grid-template-columns: var(--cols); gap: var(--gutter); align-items: end; margin-bottom: clamp(1.5rem, 0.75rem + 2vw, 2.5rem); }
.co-title { grid-column: 1 / span 8; margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 600; text-transform: uppercase; font-size: clamp(2.2rem, 0.9rem + 3.2vw, 4.6rem); line-height: 0.92; letter-spacing: -0.01em; }
.co-title br { display: none; }
.co-held { grid-column: 9 / span 4; margin: 0; font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.25rem); line-height: 1.5; }
.co-held a { color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
.co-js .checkout:not(.co-unveiled) + .unveil { display: none; }   /* the reveal comes after the decisions */
.co-head .chapter-lede { grid-column: 9 / span 4; }
.co-steps { list-style: none; margin: 0 0 clamp(1.5rem, 3vw, 2.5rem); padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gutter); border-top: 1.5px solid var(--ink); }
.co-steps button { width: 100%; display: flex; gap: 0.6rem; align-items: baseline; padding: 1.05rem 0 0.95rem; background: none; border: 0; border-bottom: 2px solid transparent; font: 500 1.05rem/1.2 var(--font-body); color: var(--color-muted); text-align: left; cursor: pointer; }
.co-steps button.is-done { color: var(--ink); }
.co-steps button[aria-current="step"] { color: var(--ink); border-bottom-color: var(--red); }
.co-steps button:hover:not([disabled]) { color: var(--ink); }
.co-steps button[disabled] { cursor: default; }
.co-body { display: grid; grid-template-columns: var(--cols); column-gap: var(--gutter); align-items: start; }
.co-stage { grid-column: 1 / span 7; position: sticky; top: calc(var(--header-h) + 1.25rem); }
.co-frame { position: relative; aspect-ratio: 3 / 2; overflow: hidden; overflow: clip; background: #fff; }
.co-view { position: absolute; inset: 0; margin: 0; overflow: hidden; overflow: clip; background: #fff; visibility: hidden; }
.co-view.is-on { visibility: visible; }
.co-view.is-entering { box-shadow: -2px 0 0 var(--red); }
.co-counter { position: absolute; inset: 0; transform-origin: var(--focus, 50% 50%); }
.co-view picture, .co-view picture img { display: block; width: 100%; height: 100%; }
.co-view picture img { object-fit: cover; object-position: var(--focus, 50% 50%); }
.co-view[data-fit="contain"] .co-counter { padding: 6% 4%; }
.co-view[data-fit="contain"] picture img { object-fit: contain; }
.co-panels { grid-column: 9 / span 4; }
.co-full .co-stage, .checkout:not(.co-live) .co-stage { display: none; }
.co-full .co-panels, .checkout:not(.co-live) .co-panels { grid-column: 1 / -1; }
.co-panel { margin: 0 0 3rem; padding: 0; border: 0; min-width: 0; }
.co-live .co-panel { margin-bottom: 0; }
.co-live .co-panel:not(.is-current) { display: none; }
.co-legend { margin: 0 0 0.9rem; padding: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 600; text-transform: uppercase; font-size: clamp(1.6rem, 0.9rem + 1.6vw, 2.6rem); line-height: 1; }
.co-legend:focus { outline: none; }
.co-intro { margin: 0 0 1.5rem; max-width: 40ch; font-size: 1.05rem; line-height: 1.5; color: var(--color-muted); }

/* a decision: the alternatives side by side at full height, divided by ink */
.co-choice { position: relative; }
.co-choice .co-legend { font-size: clamp(1.3rem, 0.9rem + 1vw, 1.9rem); margin-bottom: 1rem; }
.co-alts { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); grid-template-rows: 100%; height: max(30rem, calc(100svh - var(--header-h) - 92px - 10.5rem)); border-top: 1.5px solid var(--ink); overflow: hidden; overflow: clip; }
.co-alt { position: relative; grid-row: 1; min-width: 0; overflow: hidden; overflow: clip; cursor: pointer; }
.co-alt:nth-child(1) { grid-column: 1; }
.co-alt:nth-child(2) { grid-column: 2; }
.co-alt:nth-child(3) { grid-column: 3; }
.co-alt + .co-alt { border-left: 1.5px solid var(--ink); }
/* the radio covers its whole pane (invisible): the pane is its hit area, and focus is never "under" the picture */
.co-alt input { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.co-alt-in { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; transform-origin: 50% 60%; }
.co-alt-copy { display: grid; justify-items: start; gap: 0.5rem; padding: clamp(1rem, 0.5rem + 1.1vw, 1.75rem) clamp(1rem, 0.5rem + 1.5vw, 2.5rem) 0.5rem; }
.co-alt-name { font-family: var(--font-display); font-stretch: 125%; font-weight: 600; text-transform: uppercase; line-height: 0.92; letter-spacing: -0.01em; font-size: clamp(2.2rem, calc((100vw - 2 * var(--gutter)) / var(--n) / 7.6), 6.4rem); color: var(--ink); transition: color 0.24s ease; }
.co-alt-line { max-width: 34ch; font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.25rem); line-height: 1.45; color: var(--ink); }
.co-alt-price { font-size: 1.1rem; font-variant-numeric: tabular-nums; color: var(--color-muted); }
.co-alt-pic { position: relative; flex: 1; min-height: 0; overflow: hidden; overflow: clip; }
.co-alt-pic picture, .co-alt-pic img { display: block; width: 100%; height: 100%; }
.co-alt-pic img { object-fit: cover; object-position: var(--focus, 50% 50%); transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
@media (hover: hover) and (pointer: fine) {
  .co-choice:not(.is-chosen) .co-alts:hover .co-alt:not(:hover) .co-alt-name { color: #8C9095; }
  .co-choice:not(.is-chosen) .co-alt:hover .co-alt-pic img { transform: scale(1.03); }
}
/* chosen: it spans the whole decision; what it covers stays beneath until the pane has crossed */
.co-alt.is-taken, .co-alt.is-under { grid-column: 1 / -1; border-left: 0; }
.co-alt.is-under { z-index: 2; }
.co-alt.is-taken { z-index: 3; }
.co-alt.is-sweeping { box-shadow: 0 0 56px rgba(11, 11, 12, 0.22), inset 1.5px 0 0 rgba(255, 255, 255, 0.95), inset -1.5px 0 0 rgba(255, 255, 255, 0.95); }
.co-alt.is-taken .co-alt-pic img, .co-alt.is-under .co-alt-pic img { object-position: var(--wide, var(--focus, 50% 50%)); }
.co-alt.is-taken .co-alt-name, .co-alt.is-under .co-alt-name { font-size: clamp(2.8rem, 1rem + 6vw, 8.5rem); }
.co-alt.is-taken .co-alt-copy, .co-alt.is-under .co-alt-copy { padding-right: clamp(12rem, 8rem + 8vw, 18rem); }
.co-alt:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: -6px; }
.checkout:not(.co-live) .co-alt input:checked ~ .co-alt-in .co-alt-name { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.1em; }
.co-panel:disabled .co-alt { cursor: default; }
.co-or { position: absolute; z-index: 4; top: clamp(1.25rem, 0.6rem + 1.4vw, 2.25rem); right: clamp(1rem, 0.5rem + 1.5vw, 2.5rem); margin: 0; font-size: clamp(1.1rem, 0.95rem + 0.4vw, 1.35rem); line-height: 1.6; }
.co-or[hidden] { display: none; }
.co-or-btn { padding: 0 0 0.05rem; background: none; border: 0; border-bottom: 1.5px solid var(--ink); font-family: inherit; font-size: inherit; font-weight: 500; line-height: inherit; color: var(--ink); cursor: pointer; }
.co-or-btn:hover { border-bottom-color: var(--red); }
.co-or-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* the atelier's extras: ruled rows beside the stage */
.co-opt { position: relative; display: grid; grid-template-columns: 1.25rem minmax(0, 1fr) auto; column-gap: 1rem; row-gap: 0.35rem; padding: 1.1rem 0; border-top: 1px solid var(--rule); cursor: pointer; }
.co-opt:last-of-type { border-bottom: 1px solid var(--rule); }
.co-opt input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.co-check { grid-column: 1; grid-row: 1; position: relative; width: 1.25rem; height: 1.25rem; margin-top: 0.05rem; border: 1.5px solid var(--ink); }
.co-check span { position: absolute; inset: 3px; background: var(--red); transform: scale(0); transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1); }
.co-opt input:checked + .co-check span { transform: scale(1); }
.co-opt input:focus-visible + .co-check { outline: 2px solid var(--red); outline-offset: 3px; }
.co-radio .co-check, .co-radio .co-check span { border-radius: 50%; }
.co-opt-name { grid-column: 2; grid-row: 1; font: 500 1.15rem/1.25 var(--font-body); color: var(--ink); }
.co-opt-price { grid-column: 3; grid-row: 1; font-size: 1.05rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-opt-line { grid-column: 2 / span 2; max-width: 42ch; font-size: 1rem; line-height: 1.45; color: var(--color-muted); }
.co-opt:hover .co-opt-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }

/* your details */
.co-review { margin: 0 0 2rem; border-top: 1.5px solid var(--ink); }
.co-review div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
.co-review dt { color: var(--ink); }
.co-review dd { margin: 0; font-variant-numeric: tabular-nums; }
.co-review .is-total dt, .co-review .is-total dd { font-weight: 500; font-size: 1.2rem; }
.co-fields { display: grid; gap: 1.5rem; margin-bottom: 2.25rem; }
.co-fields label { display: grid; gap: 0.5rem; font-size: 1rem; color: var(--color-muted); }
.co-fields input, .co-fields select { width: 100%; padding: 0.7rem 0; font: 400 1.2rem/1.3 var(--font-body); color: var(--ink); background: transparent; border: 0; border-radius: 0; border-bottom: 1.5px solid var(--ink); }
.co-fields input:focus, .co-fields select:focus { outline: none; border-bottom-color: var(--red); }
.co-fields input:focus-visible, .co-fields select:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.co-pay-title { margin: 0 0 0.4rem; font-weight: 500; color: var(--ink); }
.co-pay-note { margin: 0 0 0.75rem; max-width: 42ch; font-size: 1rem; line-height: 1.45; color: var(--color-muted); }
.co-edit { margin-left: 0.75rem; padding: 0; background: none; border: 0; border-bottom: 1px solid currentColor; font: 400 0.95rem/1.2 var(--font-body); color: var(--color-muted); cursor: pointer; }
.co-edit:hover { color: var(--ink); }
.co-consent { display: flex; gap: 0.8rem; align-items: flex-start; margin: 1.75rem 0 1.25rem; font-size: 1rem; line-height: 1.45; color: var(--color-muted); cursor: pointer; }
.co-consent input { flex: none; width: 1.2rem; height: 1.2rem; margin: 0.15rem 0 0; accent-color: var(--red); }
.co-error { margin: 0 0 1rem; color: var(--red); font-size: 1.05rem; }
.co-again { padding: 0.45rem 0; background: none; border: 0; border-bottom: 1.5px solid var(--ink); font: 500 1.05rem/1 var(--font-body); color: var(--ink); cursor: pointer; }

/* the summary bar, fixed at the foot; it steps aside once the unveiling holds the screen */
.co-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: var(--cols); column-gap: var(--gutter); align-items: center; height: 92px; padding: 0 var(--gutter); background: #fff; border-top: 1.5px solid var(--ink); transition: opacity 0.24s ease, visibility 0.24s; }
.co-bar.is-off { opacity: 0; visibility: hidden; }
.reserve-page .header-action { transition: opacity 0.24s ease, visibility 0.24s; }
.co-unveiling .header-action { opacity: 0; visibility: hidden; }
.co-bar p { margin: 0; }
.co-bar-k { display: block; margin-bottom: 0.3rem; font: 400 0.9rem/1 var(--font-body); color: var(--color-muted); }
.co-bar-car { grid-column: 1 / span 3; font-family: var(--font-display); font-stretch: 125%; font-weight: 600; text-transform: uppercase; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.co-bar-opts { display: block; margin-top: 0.4rem; font: 400 0.95rem/1 var(--font-body); text-transform: none; color: var(--color-muted); }
.co-bar-total { grid-column: 5 / span 3; }
.co-bar-total output { font-family: var(--font-display); font-stretch: 125%; font-weight: 600; font-size: clamp(1.3rem, 0.8rem + 1vw, 1.9rem); line-height: 1; font-variant-numeric: tabular-nums; }
.co-bar-deposit { grid-column: 8 / span 2; }
.co-bar-deposit output { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.co-bar-nav { grid-column: 10 / span 3; display: flex; justify-content: flex-end; align-items: center; gap: 1.25rem; }
.co-back { padding: 0.5rem 0; background: none; border: 0; border-bottom: 1.5px solid transparent; font: 500 1.05rem/1 var(--font-body); color: var(--ink); cursor: pointer; }
.co-back:hover { border-bottom-color: var(--ink); }
.co-back[disabled] { visibility: hidden; }
.co-next { height: 56px; padding: 0 1.75rem; border: 0; font-size: 1.05rem; cursor: pointer; }
.checkout:not(.co-live) .co-bar-nav, .co-reserved .co-bar-nav { display: none; }

/* the unveiling: the car under two white sheets of air, parted by scrolling (engine scrub; open without motion) */
.unveil { position: relative; height: 230svh; background: #fff; }
.motion main > .checkout { z-index: 2; }   /* its fixed summary bar stays above the unveiling's sheets (chapters sit at 1) */
.unveil-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; overflow: clip; }
.unveil-car { position: absolute; inset: 0 0 6% 0; display: grid; place-items: center; transform-origin: 50% 47%; }
/* here the headlights answer the reservation, not a press: the car is a picture under the sheets, never a focus stop */
.unveil-car .lights { width: min(88vw, 1240px); pointer-events: none; cursor: default; }
.unveil-car .lights picture img { display: block; width: 100%; height: auto; }
.veil { position: absolute; left: 0; right: 0; height: 50%; background: rgba(255, 255, 255, 0.86); z-index: 2; }
/* without motion the sheets stand open by position, never by a transform (the scrub moves them 46% and 34% of their height) */
.veil-top { top: -23%; border-bottom: 1.5px solid var(--ink); }
.veil-bottom { bottom: -17%; border-top: 1.5px solid var(--ink); }
.motion .veil-top { top: 0; }
.motion .veil-bottom { bottom: 0; }
.veil-air { position: absolute; inset: 0; width: 100%; height: 100%; }
.veil-air path { fill: none; stroke: var(--ink); stroke-opacity: 0.24; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.veil-copy { position: absolute; left: var(--gutter); right: var(--gutter); text-align: center; }
.veil-top .veil-copy { bottom: clamp(1.25rem, 3.5svh, 2.75rem); display: grid; justify-items: center; }
.veil-bottom .veil-copy { top: clamp(1.5rem, 3.5svh, 2.75rem); display: grid; justify-items: center; }
.veil-kicker { margin: 0 0 0.7rem; font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.3rem); color: var(--color-muted); }
.veil-name { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 600; text-transform: uppercase; font-size: clamp(1.9rem, 0.7rem + 3.4vw, 4.4rem); line-height: 0.98; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.unveil-commit { display: grid; justify-items: center; gap: 1.25rem; }
.unveil-commit[hidden], .unveil-done[hidden] { display: none; }
.unveil-spec { margin: 0; max-width: 46ch; font-family: var(--font-display); font-stretch: 125%; font-weight: 600; text-transform: uppercase; font-size: clamp(1.15rem, 0.7rem + 1.1vw, 1.9rem); line-height: 1.12; letter-spacing: -0.005em; text-wrap: balance; }
.unveil-submit { height: 60px; padding: 0 2.25rem; border: 0; font-size: 1.1rem; cursor: pointer; }
.unveil-done { display: grid; justify-items: center; gap: 0.8rem; max-width: 54ch; }
.unveil-done:focus { outline: none; }
.unveil-done-title { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 600; text-transform: uppercase; font-size: clamp(1.6rem, 0.9rem + 2vw, 2.8rem); line-height: 0.95; }
.unveil-done-text { margin: 0; font-size: 1.1rem; line-height: 1.5; color: var(--color-muted); }
.unveil-done-text strong { color: var(--ink); font-weight: 500; }

/* a short screen (or 400% zoom): the unveiling reads in order, name, car, choices and the action, the sheets open by layout */
@media (max-height: 500px) {
  .unveil { height: auto; }
  .unveil-stage { position: relative; height: auto; overflow: visible; display: flex; flex-direction: column; padding: 1.5rem 0 2.5rem; }
  .veil, .motion .veil-top, .motion .veil-bottom { position: relative; top: auto; bottom: auto; height: auto; border: 0; transform: none !important; translate: none !important; }
  .veil-air { display: none; }
  .veil-copy { position: static; }
  .veil-top { order: 1; }
  .unveil-car { order: 2; position: relative; inset: auto; margin: 1.25rem 0; }
  .veil-bottom { order: 3; }
}
@media (max-width: 899px) {
  .co-title, .co-head .chapter-lede { grid-column: 1 / -1; }
  .co-steps { column-gap: 0.5rem; }
  .co-steps button { flex-direction: column; gap: 0.35rem; font-size: 0.95rem; line-height: 1.15; padding: 0.85rem 0 0.75rem; }
  .co-held { grid-column: 1 / -1; }
  .co-alt.is-taken .co-alt-copy, .co-alt.is-under .co-alt-copy { padding-right: 0; }
  .co-stage, .co-panels { grid-column: 1 / -1; }
  .co-stage { position: relative; top: 0; margin-bottom: 1.75rem; }
  .co-frame { aspect-ratio: 4 / 3; }
  .co-alts { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(var(--n), minmax(0, 1fr)); height: calc(var(--n) * 15rem); }
  .co-alt:nth-child(n) { grid-column: 1; }
  .co-alt:nth-child(2) { grid-row: 2; }
  .co-alt:nth-child(3) { grid-row: 3; }
  .co-alt + .co-alt { border-left: 0; border-top: 1.5px solid var(--ink); }
  .co-alt.is-taken, .co-alt.is-under { grid-row: 1 / -1; border-top: 0; }
  .co-alt-copy { padding: 0.9rem 0 0.7rem; gap: 0.35rem; }
  .co-alt-name { font-size: clamp(2rem, 9vw, 3.2rem); }
  .co-alt.is-taken .co-alt-name, .co-alt.is-under .co-alt-name { font-size: clamp(2.4rem, 11vw, 3.8rem); }
  .co-alt:not(.is-taken):not(.is-under) .co-alt-line { display: none; }
  .co-choice { display: flex; flex-direction: column; }
  /* the chosen pane stands tall on a phone: the whole car for the wing, the seats for the cabin */
  .co-choice[data-choice="wing"] .co-alt.is-taken .co-alt-pic img { object-fit: contain; object-position: 50% 40%; }
  .co-choice[data-choice="cabin"] .co-alt.is-taken .co-alt-pic img { object-position: 14% 62%; }
  .co-or { position: static; order: -1; margin: 0 0 0.75rem; }
  .co-bar { grid-template-columns: minmax(0, 1fr) auto; height: auto; padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom)); row-gap: 0.25rem; }
  .co-bar-car, .co-bar-deposit { display: none; }
  .co-bar-total { grid-column: 1; }
  .co-bar-nav { grid-column: 2; gap: 0.9rem; }
  .co-next { height: 50px; padding: 0 1rem; font-size: 1rem; }
  .co-bar-nav { gap: 0.75rem; }
  .co-bar-total output { font-size: 1.15rem; }
}

/* ---------- The film ---------- */
.drive { padding: var(--pad-chapter) var(--gutter); background: #fff; overflow-x: clip; }
.drive-inner { display: grid; grid-template-columns: var(--cols); gap: var(--gutter); align-items: end; transform-origin: 50% 100%; }
.drive-copy { grid-column: 1 / span 3; display: grid; gap: 1.5rem; align-self: end; }
.drive-copy h2 { font-size: clamp(2rem, 0.9rem + 2.4vw, 3.8rem); }
.drive-copy .chapter-lede { grid-column: auto; }
.drive-push { grid-column: 4 / span 9; justify-self: end; width: min(100%, 1000px); }
.drive-film { width: 100%; padding: 0; margin: 0; }
.drive-film .clip-frame video { aspect-ratio: 1356 / 676; background: var(--color-surface); }

/* ---------- The figures ---------- */
.facts { padding: clamp(4rem, 2rem + 5vw, 8rem) 0 clamp(4rem, 2rem + 4vw, 7rem); background: #fff; }
.facts .dossier-list { margin: 0 var(--gutter); border-top: 1.5px solid var(--ink); }
.facts .dossier-row { grid-template-columns: var(--cols); gap: var(--gutter); align-items: baseline; padding-block: clamp(1rem, 0.6rem + 1.2vw, 1.75rem); border-bottom: 1px solid var(--rule); }
.facts .dossier-row dt { grid-column: 1 / span 4; font-size: 1.15rem; color: var(--color-muted); }
.facts .dossier-row dd { grid-column: 5 / span 8; text-transform: none; font-size: clamp(1.5rem, 0.8rem + 2vw, 3rem); line-height: 1.05; font-variant-numeric: tabular-nums; }
.facts .dossier-row dd span { margin-left: 0.6em; font-family: var(--font-body); font-stretch: 100%; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: clamp(1rem, 0.9rem + 0.3vw, 1.25rem); color: var(--color-muted); }

/* ---------- Press releases: a row thrown back through the years (the engine's drag scene) ----------
   One rule runs the length of the row, like the tunnel's floor line; the year stands above it where the year changes.
   Type only, no cards: the date, the headline and one line under it, and the whole column opens the release. */
.press { padding: clamp(4rem, 2rem + 5vw, 8rem) 0 clamp(4rem, 2rem + 4vw, 7rem); background: #fff; }
.press-body { transform-origin: 50% 100%; }
.press-row { --drag-gutter: var(--gutter); --drag-gap: 0px; --press-year: clamp(2rem, 1.2rem + 2.2vw, 3.4rem); }
.press-item { position: relative; display: flex; flex-direction: column; width: clamp(17rem, 12rem + 14vw, 26rem);
  padding: 0 clamp(1.5rem, 0.8rem + 1.6vw, 2.75rem) 0.25rem 0; }
.press-item::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--press-year) + 1rem); height: 1.5px; background: var(--ink); }
.press-year { display: block; height: calc(var(--press-year) + 1rem); padding-bottom: 0.9rem; box-sizing: border-box;
  font-family: var(--font-display); font-stretch: 125%; font-weight: 600; font-size: var(--press-year); line-height: 1;
  letter-spacing: -0.012em; font-variant-numeric: tabular-nums; }
.press-year:not(:empty) { display: flex; align-items: flex-end; }
.press-date { margin: 1.25rem 0 0.8rem; color: var(--color-muted); font-size: 1.05rem; }
.press-title { margin: 0; font-family: var(--font-body); font-weight: 500; font-size: clamp(1.35rem, 1rem + 0.9vw, 1.9rem);
  line-height: 1.14; letter-spacing: -0.012em; text-wrap: balance; }
.press-title a { color: var(--ink); text-decoration: none; }
.press-title a::after { content: ""; position: absolute; inset: 0; }   /* the whole column opens the release */
.press-item:hover .press-title a, .press-title a:focus-visible { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
.press-dek { margin: 0.8rem 0 0; max-width: 32ch; color: var(--color-muted); font-size: 1.1rem; line-height: 1.42; }
.press-row .drag-controls { margin-top: clamp(1.75rem, 1rem + 2vw, 3rem); }
.press-row .drag-bar { height: 1.5px; }
@media (hover: hover) and (pointer: fine) { .press-row .drag-viewport { cursor: grab; } .press-row.is-throwing .drag-viewport:active { cursor: grabbing; } }
.press-all { margin: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) var(--gutter) 0; font-size: 1.15rem; }
.press-all a { color: var(--ink); font-weight: 500; text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
@media (max-width: 899px) { .press-item { width: min(80vw, 24rem); } }

/* ---------- ★ The private viewing ---------- */
.request { display: grid; grid-template-columns: var(--cols); column-gap: var(--gutter); padding: clamp(4.5rem, 2.5rem + 4vw, 7.5rem) var(--gutter) clamp(5rem, 10vh, 8rem); background: #fff; }
.request-head { grid-column: 1 / -1; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); display: grid; grid-template-columns: var(--cols); gap: var(--gutter); align-items: end; }
.request-head h2 { grid-column: 1 / span 8; }
.request-head .chapter-lede { grid-column: 9 / span 4; }
.request-car { grid-column: 2 / span 10; margin: 0 0 clamp(2rem, 1rem + 3vw, 4rem); transform-origin: 50% 80%; }
.request-car picture img { display: block; width: 100%; height: auto; }
/* the headlights (scene "lights"): the car is a real button; light layers screen-blended over it */
.lights { display: block; position: relative; isolation: isolate; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lights:focus-visible { outline: 2px solid var(--red); outline-offset: 8px; }
.lights-side { position: absolute; top: 32.4108%; width: 34.3117%; height: 39.3299%; pointer-events: none; }
.lights-l { left: 3.1005%; }
.lights-r { left: 62.6292%; }
.lights-side img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; mix-blend-mode: screen; opacity: 0; }
.request-form { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem var(--gutter); align-items: end; padding-top: 2.5rem; border-top: 1.5px solid var(--ink); }
.request-form label { display: grid; gap: 0.6rem; font-size: 1rem; color: var(--color-muted); }
.request-form input, .request-form select {
  font: 400 1.2rem/1.3 var(--font-body); color: var(--ink); background: transparent; border: 0; border-radius: 0;
  border-bottom: 1.5px solid #C5C9CE; padding: 0.7rem 0; width: 100%;
}
.request-form input:focus, .request-form select:focus { border-bottom-color: var(--red); }
.request-submit { grid-column: 1 / span 2; justify-self: start; height: 60px; padding: 0 2.25rem; font-size: 1.1rem; cursor: pointer; border: 0; }
.request-done { grid-column: 1 / -1; margin: 0; font-size: 1.2rem; }
.request-reserve { grid-column: 1 / -1; margin: 2rem 0 0; font-size: 1.15rem; color: var(--color-muted); }
.request-reserve a { color: var(--ink); font-weight: 500; text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }

/* ---------- Footer: NERO red, the wordmark across the page ---------- */
.site-footer { display: block; padding: clamp(4rem, 2rem + 6vw, 7.5rem) var(--gutter) 1.75rem; background: var(--color-bg); color: #fff; font-size: 1.05rem; }
.footer-top { display: grid; grid-template-columns: var(--cols); gap: 2.5rem var(--gutter); }
.footer-col:nth-child(1) { grid-column: 1 / span 3; }
.footer-col:nth-child(2) { grid-column: 4 / span 4; }
.footer-status { grid-column: 9 / span 4; }
.footer-head { margin: 0 0 1rem; color: var(--color-muted); font-weight: 500; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { overflow-wrap: anywhere; color: #fff; text-decoration: none; font-size: 1.2rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.15s ease-out; }
.footer-col a:hover { background-size: 100% 1.5px; transition-duration: 0.25s; }
.footer-status p:last-child { margin: 0; line-height: 1.5; max-width: 40ch; }
.footer-mark { margin-top: clamp(4rem, 2rem + 7vw, 9rem); overflow: clip; }
.footer-mark svg { display: block; width: 100%; height: auto; color: #fff; }
.footer-legal a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.footer-legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.35); color: var(--color-muted); font-size: 1rem; }
.site-footer :focus-visible { outline-color: #fff; }
@media (min-width: 900px) and (min-height: 520px) { .site-footer { padding-bottom: calc(1.75rem + 60px); } }
/* the checkout's summary bar is fixed at the foot: the footer's last lines scroll clear of it (2026-11-30) */
.reserve-page .site-footer { padding-bottom: calc(1.75rem + 96px); }
@media (max-width: 899px) { .reserve-page .site-footer { padding-bottom: calc(1.75rem + 6rem + env(safe-area-inset-bottom)); } }

/* ---------- Finish-line flags (the person's request, 2026-11-26: "slightly visible … F1 style") ----------
   Decoration, so barely there: ink at 5–7% on white, white at 9% on the red, the finish lines at ~18%. Never behind an
   image (the renders' white grounds would cut them into boxes), never under body text darker than 6%. The big flags
   drift at their own depth (scrub y, parallax); the lines and strips hold still. */
.flag { position: absolute; z-index: -1; pointer-events: none; user-select: none; height: auto; max-width: none; }
.flag-line {
  position: absolute; pointer-events: none; height: 12px;
  background: repeating-conic-gradient(var(--ink) 0 25%, transparent 0 50%) 0 0 / 12px 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
}
.hero-flag { left: var(--gutter); right: var(--gutter); bottom: clamp(0.35rem, 1vh, 0.9rem); opacity: 0.16; z-index: 0; }
.statement-block { position: relative; overflow: clip; isolation: isolate; }
.flag-statement { left: -11vw; bottom: -13vw; width: 46vw; opacity: 0.06; rotate: -7deg; }
.d-flag { grid-column: 1 / span 4; grid-row: 3 / span 2; align-self: center; width: 100%; height: auto; opacity: 0.2; pointer-events: none; }
.figures { border-top: 0; position: relative; }
.figures::before {
  content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 12px;
  background: repeating-conic-gradient(var(--ink) 0 25%, transparent 0 50%) 0 0 / 12px 12px; opacity: 0.3;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent); mask-image: linear-gradient(90deg, #000 55%, transparent);
}
.request { position: relative; overflow-x: clip; isolation: isolate; }
.request-head { position: relative; }
.flag-request { right: -16vw; top: -5vw; width: 34vw; opacity: 0.055; rotate: 5deg; scale: -1 1; }
.site-footer { position: relative; overflow: clip; isolation: isolate; }
.flag-footer { right: -9vw; top: -9vw; width: 56vw; opacity: 0.09; rotate: -4deg; }

/* ---------- Handovers between chapters (the person's request, 2026-11-27: "Add a more creative transition from
   section to section, dont take anything away"). Each seam hands over on something of the car's or the brand's own:
   the statement sinks under the design sheet, whose edge is the car's thread of light; the car drives into the tunnel;
   a finish line closes the tunnel run; the doors open onto the cockpit; the film drives in sideways; the figures and the
   ask slide over as sheets; the emblem's three strokes build the footer. Every move is the engine's scrub (transform and
   opacity), so each reads backwards; with motion off every element sits in its finished place. ---------- */
.motion main > section { position: relative; z-index: 1; }       /* later chapters lie over earlier ones */
.sheet { position: relative; }
.sheet-shade, .seam-light, .door, .shard { display: none; }
/* the shadow a sheet casts on the chapter it covers, strongest as its edge rises, gone once it has covered it */
.motion .sheet-shade {
  display: block; position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(36px, 6vh, 64px); opacity: 0;
  background: linear-gradient(to top, rgb(17 17 17 / 0.085), rgb(17 17 17 / 0)); pointer-events: none;
}
.statement-grid, .drive-inner, .facts .dossier-list { transform-origin: 50% 100%; }
.motion .air-stage { transform-origin: 50% 100%; }
/* Design's edge: the thread of light, opening from the centre */
.motion .seam-light { display: block; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--red); z-index: 3; pointer-events: none; }
/* the drive into the tunnel: both rims turn about their hubs (keyframes/work/tunnel_wheels.py prints these boxes) */
.air-drive { position: relative; }
.air-state { position: relative; }
.air-state .tw { position: absolute; display: block; pointer-events: none; }
.tw-f { left: 17.5278%; top: 48.5521%; width: 13.0556%; height: 39.1667%; }
.tw-r { left: 75.0764%; top: 48.1562%; width: 13.0556%; height: 39.1667%; }
.tw-spin { position: absolute; inset: 0; display: block; }
.air-state .tw img { position: absolute; inset: 0; width: 100%; height: 100%; }
.air-state .tw img.tw-blur { opacity: 0; }
.air-state img.tw-cal { position: absolute; height: auto; pointer-events: none; }
.air-state img.tw-cal-f { left: 26.5208%; top: 55.1146%; width: 2.5%; }
.air-state img.tw-cal-r { left: 76.4653%; top: 54.9271%; width: 2.5%; }
/* Performance's edge: a finish line, two rows of squares */
.seam-finish {
  position: absolute; left: 0; right: 0; top: 0; height: 20px; z-index: 3; pointer-events: none;
  background: repeating-conic-gradient(var(--ink) 0 25%, #fff 0 50%) 0 0 / 20px 20px;
}
/* the doors onto the cockpit: the paint's red, the emblem split across them */
.motion .door { display: block; position: absolute; top: -2px; bottom: -2px; width: calc(50% + 2px); z-index: 2; overflow: hidden; background: var(--red); color: #fff; pointer-events: none; }
.motion .door-l { left: -2px; box-shadow: 1px 0 0 var(--red); }
.motion .door-r { right: -2px; }
.door svg { position: absolute; top: 50%; width: clamp(72px, 10vw, 160px); height: auto; translate: -50% -50%; }
.door-l svg { left: 100%; }
.door-r svg { left: 0; }
/* the footer built from the emblem's strokes: left upright, diagonal, right upright (the mark's own proportions) */
.motion .site-footer { background: transparent; padding-top: calc(clamp(4rem, 2rem + 6vw, 7.5rem) + 22svh); }
.motion .shard { display: block; position: absolute; inset: 0; z-index: -2; background: var(--color-bg); pointer-events: none; }
.shard-a { clip-path: polygon(0 0, 84.3% 100%, 0 100%); }
.shard-b { clip-path: polygon(-0.4% 0, 15.4% 0, 100.4% 100%, 83.9% 100%); }
.motion .shard-b { z-index: -3; }
.shard-c { clip-path: polygon(15% 0, 100% 0, 100% 100%); }

/* ---------- Tablets and phones ---------- */
@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .menu-ring { width: 44px; height: 44px; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .header-action { height: 44px; padding: 0 1rem; font-size: 0.95rem; }
  .statement-block .statement-text { grid-column: 1 / -1; }
  .statement-media { grid-column: 4 / -1; }
  .chapter-head h2, .chapter-lede, .request-head h2, .request-head .chapter-lede { grid-column: 1 / -1; }
  .design .chapter-head h2, .design .chapter-lede { grid-column: 1 / -1; }
  .d-wheel { grid-column: 1 / span 6; grid-row: 2; }
  .d-scoop { grid-column: 7 / -1; grid-row: 2; align-self: center; }
  .d-line-1 { grid-column: 1 / -1; grid-row: 3; }
  .d-tail { grid-column: 1 / -1; grid-row: 4; }
  .d-line-2 { grid-column: 1 / -1; grid-row: 5; }
  .d-flag { grid-column: 1 / span 8; grid-row: 6; }
  .tunnel-title { grid-column: 1 / -1; }
  .air-beats { grid-column: 1 / -1; grid-row: 2; margin-top: 1.5rem; align-self: start; }
  .air-car { grid-row: 3; width: 100%; }
  .air-stage { grid-template-rows: auto auto 1fr; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .drive-copy, .drive-push { grid-column: 1 / -1; }
  .drive-push { justify-self: stretch; width: 100%; }
  .facts .dossier-row dt { grid-column: 1 / -1; }
  .facts .dossier-row dd { grid-column: 1 / -1; }
  .request-car { grid-column: 1 / -1; }
  .request-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col:nth-child(1), .footer-col:nth-child(2) { grid-column: span 6; }
  .footer-status { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .flag-statement { width: 80vw; left: -26vw; bottom: -30vw; }
  .flag-request { width: 70vw; right: -30vw; top: -12vw; }
  .flag-footer { width: 110vw; right: -40vw; top: -20vw; }
  .site-header { grid-template-columns: auto 1fr auto; gap: 0.75rem; }
  .site-header:not(:has(.header-action)) { grid-template-columns: 1fr auto 1fr; }   /* the home page: wordmark centred */
  .hero-stage { min-height: 92svh; }
  .hero-car, .hero-ground { width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); max-width: none; }
  .air-car { align-self: center; width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); max-width: none; }
  .footer-col:nth-child(1), .footer-col:nth-child(2) { grid-column: 1 / -1; }
  .request-form { grid-template-columns: 1fr; }
  .request-submit { grid-column: 1; width: 100%; }
  .site-header .wordmark { width: 96px; }
  .header-action { padding: 0 0.85rem; }
}

/* ---------- Accessibility (2026-11-30, the person: "a full accessibility upgrade ... We must have this to the T") ----------
   WCAG 2.2 AA. The film pauses on a tap (scene filmtap); the X-ray takes the keyboard (scene xray); the required
   fields are said once above each form. */
.clip-tap { cursor: pointer; }
.form-note { margin: 0 0 0.25rem; font-size: 1.05rem; line-height: 1.4; color: var(--color-muted); }
.request-form .form-note { grid-column: 1 / -1; }
.co-reserve .form-note { margin: 1.5rem 0 0; }
/* the X-ray with the keyboard: the lens is at the car's centre; the hint says how to move it, only while focused */
.xray:focus-visible::after {
  content: "Arrow keys move the lens"; position: absolute; left: 0; top: 0.5rem; padding: 0.35rem 0.6rem;
  font: 500 1.05rem/1.2 var(--font-body); color: var(--ink); background: #fff;
}
/* the accessibility statement (accessibility.html): a plain text page in the site's type */
.doc-page main { padding: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 6rem)) var(--gutter) clamp(4rem, 3rem + 4vw, 7rem); background: #fff; }
.doc { max-width: 68rem; }
.doc-title { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 600; text-transform: uppercase; font-size: clamp(2.6rem, 0.8rem + 5.2vw, 6.2rem); line-height: 0.92; letter-spacing: -0.01em; }
.doc-lede { margin: 1.5rem 0 0; max-width: 46ch; font-size: clamp(1.2rem, 1rem + 0.5vw, 1.5rem); line-height: 1.4; }
.doc h2 { margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 1rem; font-family: var(--font-display); font-stretch: 125%; font-weight: 600; text-transform: uppercase; font-size: clamp(1.35rem, 1rem + 1vw, 2rem); line-height: 1; }
.doc p, .doc li { max-width: 62ch; font-size: 1.125rem; line-height: 1.55; }
.doc ul { margin: 0; padding-left: 1.2rem; }
.doc li + li { margin-top: 0.85rem; }
.doc strong { font-weight: 600; }
.doc a { color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
.doc-meta { margin-top: 2rem; color: var(--color-muted); }
/* the press office (press.html): the year stays beside its releases while they pass; each release in full */
.press-office { max-width: 86rem; }
.press-note { margin: 1.5rem 0 0; max-width: 52ch; padding-left: 1rem; border-left: 2px solid var(--red); font-size: 1.15rem; line-height: 1.5; }
.press-contact { margin: 1rem 0 0; color: var(--color-muted); }
.press-contact a, .press-about a { color: var(--ink); }
.press-years { margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--rule); }
.press-years ul { display: flex; flex-wrap: wrap; gap: 0 clamp(1.25rem, 2.6vw, 2.75rem); margin: 0; padding: 0; list-style: none; }
.doc .press-years li + li { margin-top: 0; }
.press-years a { display: block; padding: 1rem 0 0.9rem; border-bottom: 2px solid transparent; text-decoration: none;
  font-family: var(--font-display); font-stretch: 125%; font-weight: 600; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.press-years a:hover { border-bottom-color: var(--ink); }
.press-group { display: grid; grid-template-columns: var(--cols); column-gap: var(--gutter); padding-top: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); border-bottom: 1px solid var(--rule); }
.doc .press-group-year { grid-column: 1 / span 3; align-self: start; position: sticky; top: calc(var(--header-h) + 1.5rem); margin: 0 0 2rem;
  font-size: clamp(2.6rem, 1.2rem + 4vw, 5.6rem); line-height: 0.9; font-variant-numeric: tabular-nums; }
.press-group-list { grid-column: 4 / span 8; }
.release { padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.release + .release { padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); border-top: 1px solid var(--rule); }
.doc .release-date { margin: 0; color: var(--color-muted); font-size: 1.05rem; }
.release:target .release-date { color: var(--red); }
.release-title { margin: 0.6rem 0 0; max-width: 24ch; font-family: var(--font-body); font-weight: 500; font-size: clamp(1.6rem, 1.05rem + 1.5vw, 2.6rem);
  line-height: 1.1; letter-spacing: -0.016em; text-wrap: balance; }
.doc .release-dek { margin: 0.9rem 0 0; max-width: 46ch; font-size: clamp(1.15rem, 1rem + 0.4vw, 1.35rem); line-height: 1.42; }
.release-body { margin-top: 1.4rem; }
.doc .release-body p { margin: 0 0 1rem; }
.press-about { max-width: 62ch; margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.doc .press-about h2 { margin-top: 0; }
@media (max-width: 899px) {
  .doc .press-group-year { grid-column: 1 / -1; position: static; margin-bottom: 1.25rem; }
  .press-group-list { grid-column: 1 / -1; }
}
/* a focused control never lands under the bars fixed at the foot (WCAG 2.4.11): the model bar on wide screens, the
   checkout's summary bar everywhere */
@media (min-width: 900px) and (min-height: 520px) { html { scroll-padding-bottom: 76px; } }
html:has(body.reserve-page) { scroll-padding-bottom: 108px; }
/* tall controls (the film, the X-ray car, the headlights car) sit in scrubbed sections that keep moving after the
   browser scrolls them into view: focus lands them well clear of the header, and lets a tall one run off the foot
   rather than tuck its top under the header (WCAG 2.4.11) */
.xray, .clip-tap, .lights { scroll-margin-top: 4rem; scroll-margin-bottom: -14rem; }
/* the press row is taller than the screen at 400% zoom: focusing it lands its top clear of the header too */
.press-row .drag-viewport { scroll-margin-top: 1rem; scroll-margin-bottom: -14rem; }

/* ---------- The car moves (2026-11-30, the person: "Yes, wire them in"): the walk-around in Design and the arrival
   into the X-ray, Veo frames drawn by the engine's sequence scene ---------- */
.d-walk-media, .perf-stage { aspect-ratio: 16 / 9; max-height: none; margin-inline: auto; }
.d-walk-media { width: min(100%, calc(80svh * 16 / 9)); }
.perf-stage { width: min(100% - 2 * var(--gutter), 1539px, calc(80svh * 16 / 9)); }
.d-walk.seq-held, .perf-arrive.seq-held { height: 100svh; display: flex; align-items: center; padding-top: var(--header-h); box-sizing: border-box; }
/* the photograph and its X-ray sit exactly where the last frame shows the car (the still fills the central 96.15%) */
.seq-media.perf-stage > .perf-car { left: 1.927%; right: auto; width: 96.146%; height: auto; top: 0; margin: 0; }
/* the frames never take the pointer: the X-ray lens under them stays reachable once they step aside */
.perf-canvas { pointer-events: none; z-index: 3; }
/* the photograph keeps its lens's stacking inside it, so the frames always cover both while they play */
.seq-media.perf-stage > .perf-car { isolation: isolate; z-index: 1; }
/* phones and reduced motion show the walk-around's first frame as a still: its car sits inside wide white margins, so
   it is drawn larger, inside the stage's clip */
.d-walk-media { overflow: clip; }
@media (max-width: 899px), (max-height: 519px), (prefers-reduced-motion: reduce) { .d-walk .seq-still { transform: scale(1.5); } }

