/* Vantrell V1 — layout and components. Every value comes from assets/tokens.css.
 * Breakpoints (CSS cannot read custom properties in @media): 900px = --s-bp-wide,
 * 1200px = --s-bp-xl. Mobile-first: the phone is its own composition. */

*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    color-scheme: dark;
    background: var(--s-graphite);
    scroll-behavior: smooth;
    scroll-padding-top: var(--s-nav-h-sm);
}
body {
    margin: 0;
    background: var(--s-graphite);
    color: var(--s-titanium);
    font: var(--s-weight-body) var(--s-step-body) / var(--s-leading-body) var(--s-font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}
html:has(#v-menu:checked) { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: var(--s-focus) solid var(--s-titanium); outline-offset: var(--s-focus-offset); }
.v-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.v-num, .v-mono { font-family: var(--s-font-mono); font-variant-numeric: tabular-nums slashed-zero; letter-spacing: var(--s-track-mono); }
.v-unit { margin-left: var(--s-unit-gap); font-family: var(--s-font-mono); }

.v-skip {
    position: absolute; left: var(--s-space-s); top: var(--s-space-s); z-index: var(--s-z-skip);
    padding: var(--s-space-xs) var(--s-space-s); background: var(--s-titanium); color: var(--s-graphite);
    transform: translateY(-200%);
}
.v-skip:focus { transform: none; }

/* ── nav ─────────────────────────────────────────────────────────────── */
.v-nav {
    position: sticky; top: 0; z-index: var(--s-z-nav);
    display: flex; align-items: center; gap: var(--s-space-m);
    height: var(--s-nav-h-sm); padding: 0 var(--s-gutter);
    background: var(--s-nav-bg);
    -webkit-backdrop-filter: blur(var(--s-blur-nav)); backdrop-filter: blur(var(--s-blur-nav));
    border-bottom: var(--s-hairline) solid var(--s-carbon-line);
}
/* an open sheet must not be clipped by the blurred sticky bar (fixed-in-filter containing block) */
.v-nav:has(.v-menu__toggle:checked) { -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; background: var(--s-graphite); }
.v-wordmark {
    position: relative; z-index: calc(var(--s-z-sheet) + 1);
    display: inline-flex; align-items: center; min-height: var(--s-target);
    font: var(--s-weight-display) var(--s-step-wordmark) / var(--s-leading-100) var(--s-font-display); letter-spacing: var(--s-track-wordmark);
    text-transform: uppercase; text-decoration: none;
}
.v-nav__links { display: none; margin-left: auto; }
.v-nav__links ul { display: flex; gap: var(--s-space-2xs); }
.v-nav__links a, .v-sheet__list a {
    display: inline-flex; align-items: baseline; gap: var(--s-space-2xs); min-height: var(--s-target);
    padding: var(--s-space-xs) var(--s-space-2xs); text-decoration: none; font-size: var(--s-step-small);
    color: var(--s-titanium);
}
.v-nav__links a { align-items: center; }
.v-nav__links a:hover { color: var(--s-white); }
.v-nav__ch { font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-100) var(--s-font-mono); color: var(--s-titanium-dim); font-variant-numeric: tabular-nums; }
.v-nav .v-nav__cta { display: none; }

.v-menu__toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.v-menu__btn {
    position: relative; z-index: calc(var(--s-z-sheet) + 1);
    margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
    min-height: var(--s-target); min-width: calc(var(--s-target) * 1.9); padding: 0 var(--s-space-s);
    background: var(--s-carbon-hi); color: var(--s-titanium); cursor: pointer;
    font: var(--s-weight-strong) var(--s-step-mono) / var(--s-leading-100) var(--s-font-mono);
    clip-path: polygon(0 0, calc(100% - var(--s-chamfer-btn)) 0, 100% var(--s-chamfer-btn), 100% 100%, 0 100%);
}
.v-menu__close { display: none; }
.v-menu__toggle:checked + .v-menu__btn .v-menu__open { display: none; }
.v-menu__toggle:checked + .v-menu__btn .v-menu__close { display: inline; }
.v-menu__toggle:focus-visible + .v-menu__btn { box-shadow: inset 0 0 0 var(--s-focus) var(--s-titanium); }
.v-sheet {
    position: absolute; top: 100%; left: 0; right: 0; z-index: var(--s-z-sheet);
    height: calc(100vh - var(--s-nav-h-sm)); height: calc(100svh - var(--s-nav-h-sm));
    display: flex; flex-direction: column; gap: var(--s-space-l);
    padding: var(--s-space-l) var(--s-gutter);
    border-top: var(--s-hairline) solid var(--s-carbon-line);
    background: var(--s-graphite);
    visibility: hidden; opacity: 0;
    transition: opacity var(--s-dur) var(--s-ease), visibility 0s linear var(--s-dur);
}
.v-menu__toggle:checked ~ .v-sheet { visibility: visible; opacity: 1; transition: opacity var(--s-dur) var(--s-ease); }
.v-sheet__title { font: var(--s-weight-body) var(--s-step-mono) / var(--s-leading-140) var(--s-font-mono); color: var(--s-titanium-dim); padding-bottom: var(--s-space-xs); border-bottom: var(--s-hairline) solid var(--s-carbon-line); }
.v-sheet__list { display: grid; }
.v-sheet__list li { border-bottom: var(--s-hairline) solid var(--s-carbon-line); }
.v-sheet__list a { width: 100%; padding: var(--s-space-s) 0; font: var(--s-weight-display) var(--s-step-sheet) / var(--s-leading-110) var(--s-font-display); letter-spacing: var(--s-track-h2); gap: var(--s-space-s); }
.v-sheet__note { margin-top: auto; font: var(--s-weight-body) var(--s-step-mono) / var(--s-leading-150) var(--s-font-mono); color: var(--s-titanium-dim); }

@media (min-width: 900px) {
    html { scroll-padding-top: var(--s-nav-h); }
    .v-nav { height: var(--s-nav-h); }
    .v-nav__links { display: block; }
    .v-nav .v-nav__cta { display: inline-flex; }
    .v-menu__btn, .v-sheet { display: none; }
}

/* ── shared parts ────────────────────────────────────────────────────── */
.v-channel {
    display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-space-3xs) var(--s-space-xs);
    font: var(--s-weight-body) var(--s-step-mono) / var(--s-leading-130) var(--s-font-mono); color: var(--s-titanium-dim);
}
.v-channel__dot { flex: none; width: var(--s-dot); height: var(--s-dot); border-radius: 50%; background: var(--s-lime); animation: v-pulse var(--s-dur-dot) var(--s-ease-sharp) infinite alternate; }
.v-channel__name { color: var(--s-titanium); white-space: nowrap; }
.v-channel__rule { flex: 1; min-width: var(--s-space-m); height: var(--s-hairline); background: var(--s-carbon-line-hi); }
.v-channel__meta { white-space: nowrap; }
@media (max-width: 599px) { .v-channel__meta { flex-basis: 100%; padding-left: calc(var(--s-dot) + var(--s-space-xs)); } }
@keyframes v-pulse { from { opacity: 1; } to { opacity: var(--s-pulse-min); } }

.v-h2 {
    margin-top: var(--s-space-s);
    font: var(--s-weight-display) var(--s-step-h2) / var(--s-leading-tight) var(--s-font-display);
    letter-spacing: var(--s-track-h2); text-wrap: balance; max-width: 22ch;
}
.v-h3 { font: var(--s-weight-display) var(--s-step-h3) / var(--s-leading-tight) var(--s-font-display); letter-spacing: var(--s-track-h2); }
.v-lede { margin-top: var(--s-space-s); max-width: var(--s-measure-lede); color: var(--s-titanium-dim); font-size: var(--s-step-lede); text-wrap: pretty; }

.v-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--s-space-2xs);
    min-height: var(--s-btn-h); padding: 0 calc(var(--s-space-m) + var(--s-space-3xs));
    background: var(--s-lime); color: var(--s-lime-ink); border: 0; cursor: pointer;
    font: var(--s-weight-display) var(--s-step-body) / var(--s-leading-100) var(--s-font-body); text-decoration: none;
    clip-path: polygon(0 0, calc(100% - var(--s-chamfer-btn)) 0, 100% var(--s-chamfer-btn), 100% 100%, 0 100%);
    transition: background-color var(--s-dur-fast) var(--s-ease);
}
.v-btn:hover { background: var(--s-lime-hover); }
.v-btn:focus-visible { outline: none; box-shadow: inset 0 0 0 var(--s-focus) var(--s-lime-ink), inset 0 0 0 calc(var(--s-focus) * 2) var(--s-lime); }
.v-btn--sm { min-height: var(--s-target); padding: 0 var(--s-space-m); font-size: var(--s-step-small); }
.v-btn--quiet { background: var(--s-carbon-hi); color: var(--s-titanium); font-family: var(--s-font-mono); font-size: var(--s-step-mono); }
.v-btn--quiet:hover { background: var(--s-quiet-hover); }
.v-btn--quiet:focus-visible { box-shadow: inset 0 0 0 var(--s-focus) var(--s-titanium); }
.v-btn--quiet[disabled] { cursor: progress; color: var(--s-titanium-dim); }
.v-btn--block { width: 100%; }
.v-link {
    display: inline-flex; align-items: center; min-height: var(--s-target);
    font: var(--s-weight-body) var(--s-step-mono) / var(--s-leading-130) var(--s-font-mono); color: var(--s-titanium);
    text-decoration: underline; text-decoration-thickness: var(--s-hairline); text-underline-offset: var(--s-em-0p35);
    text-decoration-color: var(--s-titanium-soft);
}
.v-link:hover { text-decoration-color: var(--s-titanium); color: var(--s-white); }

.v-plate {
    position: relative; background: var(--s-carbon); padding: var(--s-space-m);
    clip-path: polygon(0 0, calc(100% - var(--s-chamfer)) 0, 100% var(--s-chamfer), 100% 100%, 0 100%);
}
.v-plate__label {
    display: flex; justify-content: space-between; gap: var(--s-space-xs);
    padding-bottom: var(--s-space-xs); margin-bottom: var(--s-space-s);
    border-bottom: var(--s-hairline) solid var(--s-carbon-line-hi);
    font: var(--s-weight-body) var(--s-step-mono) / var(--s-leading-130) var(--s-font-mono); color: var(--s-titanium-dim);
}
.v-specs { display: grid; }
.v-specs > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-space-s); padding: var(--s-space-2xs) 0; border-bottom: var(--s-hairline) solid var(--s-carbon-line); }
.v-specs > div:last-child { border-bottom: 0; }
.v-specs dt { font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-140) var(--s-font-mono); color: var(--s-titanium-dim); }
.v-specs dd { font: var(--s-weight-body) var(--s-step-mono) / var(--s-leading-140) var(--s-font-mono); text-align: right; font-variant-numeric: tabular-nums; }

main > section { padding: var(--s-section-gap) var(--s-gutter) 0; max-width: var(--s-max); margin-inline: auto; }
main > section *, .v-hero__top > * { min-width: 0; }
.v-cfg, .v-reserve, .v-arch__pin, .v-hero__top { grid-template-columns: minmax(0, 1fr); }

/* ── CH.01 hero ──────────────────────────────────────────────────────── */
main > .v-hero {
    position: relative; max-width: none; padding: 0;
    display: grid; grid-template-rows: auto minmax(var(--s-hero-car-min), 1fr);
    min-height: calc(100vh - var(--s-ribbon-h-sm) - var(--s-nav-h-sm));
    min-height: calc(100svh - var(--v-ribbon) - var(--s-nav-h-sm));
}

.v-hero__top {
    position: relative; z-index: var(--s-z-content);
    display: grid; gap: var(--s-space-s); align-content: start;
    width: 100%; max-width: var(--s-max); margin-inline: auto;
    padding: var(--s-space-m) var(--s-gutter) 0;
}
.v-hero__title {
    margin-top: var(--s-space-s);
    font: var(--s-weight-display) var(--s-step-hero) / var(--s-leading-display) var(--s-font-display);
    letter-spacing: var(--s-track-display);
}
.v-hero__title span { display: block; }
.v-hero__lede { margin-top: var(--s-space-s); max-width: 44ch; color: var(--s-titanium-dim); font-size: var(--s-step-lede); text-wrap: pretty; }
.v-hero__side { display: grid; gap: var(--s-space-s); }
.v-plate--hero { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: var(--s-space-m); padding: var(--s-space-s) var(--s-space-m); }
.v-plate--hero .v-plate__label { grid-column: 1 / -1; margin-bottom: var(--s-space-2xs); }
.v-plate__value { font: var(--s-weight-body) var(--s-step-plate) / var(--s-leading-90) var(--s-font-mono); letter-spacing: var(--s-track-readout); color: var(--s-lime); font-variant-numeric: tabular-nums; }
.v-plate__value .v-unit { font-size: var(--s-size-0p4); letter-spacing: 0; color: var(--s-titanium); }
.v-plate__note { font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-145) var(--s-font-mono); color: var(--s-titanium-dim); max-width: 22ch; padding-bottom: var(--s-space-3xs); }
.v-hero__actions { display: grid; gap: var(--s-space-3xs); justify-items: start; }
.v-hero__actions .v-btn { width: 100%; }
.v-hero__car {
    position: relative; z-index: var(--s-z-content); container-type: size; overflow-x: clip;
    display: flex; align-items: center; justify-content: center; margin-top: var(--s-space-s); padding: var(--s-space-s) 0 0;
}
.v-elev--hero::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    top: var(--s-space-s); bottom: 0; left: -100vw; right: -100vw;
    background: var(--s-weave), radial-gradient(ellipse 40% 100% at 50% 100%, var(--s-carbon-hi), var(--s-carbon) 60%, var(--s-graphite));
    border-top: var(--s-hairline) solid var(--s-carbon-line);
}
.v-hero__car .v-elev { width: min(var(--s-hero-bleed), calc(100cqh * var(--arn))); flex: none; }

/* Phones: the car is the product, so it sits straight under the lede and lands above the fold even
   with Safari's toolbars showing (~660px of 844); the spec plate and the call to action follow it. */
@media (max-width: 899.98px) {
    main > .v-hero { display: flex; flex-direction: column; }
    .v-hero__top { display: contents; }
    .v-hero__copy { order: 1; width: 100%; padding: var(--s-space-m) var(--s-gutter) 0; }
    .v-hero__car { order: 2; flex: none; height: calc(100vw / var(--arn) + var(--s-space-s)); margin-top: var(--s-space-xs); padding-top: var(--s-space-s); }
    .v-hero__side { order: 3; width: 100%; padding: var(--s-space-m) var(--s-gutter) var(--s-space-l); }
    .v-elev--hero::before { border-bottom: var(--s-hairline) solid var(--s-carbon-line); }
}

@media (min-width: 900px) {
    main > .v-hero {
        --v-ribbon: var(--s-ribbon-h);
        min-height: calc(100vh - var(--s-ribbon-h) - var(--s-nav-h));
        min-height: calc(100svh - var(--v-ribbon) - var(--s-nav-h));
    }
    .v-hero__car { padding-inline: var(--s-gutter); align-items: flex-end; }
    .v-hero__car .v-elev { width: min(100cqw, calc(100cqh * var(--arn))); }
    .v-hero__top { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-col-gap); align-items: end; padding-top: var(--s-space-l); }
    .v-hero__copy { grid-column: 1 / 9; }
    .v-hero__side { grid-column: 9 / 13; }
    .v-hero__actions { grid-template-columns: auto; }
    .v-hero__actions .v-btn { width: auto; }
}

/* the elevation (hero + configure) */
.v-elev {
    position: relative; margin-inline: auto;
    aspect-ratio: var(--ar);
    width: min(100%, calc(100cqh * var(--arn)));
}
.v-car { width: 100%; height: 100%; overflow: visible; }
.v-elev--hero { --v-body: var(--s-hero-body); --v-interior: var(--s-hero-interior); }
.v-stop--hi { stop-color: color-mix(in oklab, var(--v-body) var(--s-paint-hi-mix), var(--s-white)); }
.v-stop--mid { stop-color: var(--v-body); }
.v-stop--lo { stop-color: color-mix(in oklab, var(--v-body) var(--s-paint-lo-mix), var(--s-black)); }
.v-stop--clear { stop-color: var(--s-white); stop-opacity: 0; }
.v-stop--sky { stop-color: var(--s-white); stop-opacity: var(--s-sky-alpha); }
.v-stop--sky-0 { stop-color: var(--s-white); stop-opacity: 0; }
.v-stop--tuck { stop-color: var(--s-black); stop-opacity: var(--s-tuck-alpha); }
.v-stop--tuck-0 { stop-color: var(--s-black); stop-opacity: 0; }
.v-stop--haunch { stop-color: var(--s-white); stop-opacity: var(--s-haunch-alpha); }
.v-stop--scoop { stop-color: var(--s-black); stop-opacity: var(--s-scoop-alpha); }
.v-stop--scoop-0 { stop-color: var(--s-black); stop-opacity: 0; }
.v-stop--metal-hi { stop-color: var(--s-metal-hi); }
.v-stop--metal { stop-color: var(--s-metal); }
.v-stop--metal-lo { stop-color: var(--s-metal-lo); }
.v-stop--sheen { stop-color: var(--s-white); stop-opacity: var(--s-paint-sheen-alpha); }
.v-stop--shadow { stop-color: var(--s-shadow); stop-opacity: var(--s-shadow-alpha); }
.v-stop--shadow-0 { stop-color: var(--s-shadow); stop-opacity: 0; }
.v-stop--mask-on { stop-color: var(--s-white); }
.v-stop--mask-off { stop-color: var(--s-black); }

.v-car__glass { fill: var(--s-glass); }
.v-car__glass-band { fill: var(--s-white); fill-opacity: var(--s-glass-band-alpha); }
.v-car__seat { fill: color-mix(in oklab, var(--v-interior) 60%, var(--s-glass)); }
.v-car__dark { fill: var(--s-glass); }
.v-car__flank { fill: var(--s-black); fill-opacity: var(--s-flank-alpha); }
.v-car__sill { fill: var(--s-black); fill-opacity: var(--s-sill-alpha); }
.v-car__reveal { fill: var(--s-black); fill-opacity: var(--s-reveal-alpha); }
.v-car__blade { fill: var(--s-white); fill-opacity: var(--s-blade-alpha); }
.v-car__lamp { fill: var(--s-lamp); }
.v-car__pillar { stroke: var(--s-titanium); stroke-width: var(--s-stroke-soft); stroke-opacity: var(--s-line-soft-alpha); }
.v-car__detail--bladeEdge { stroke: var(--s-black); stroke-opacity: var(--s-reveal-alpha); }
.v-car__detail--crease { stroke: var(--s-white); stroke-opacity: var(--s-spec-alpha); }
.v-car__carbon { fill: var(--s-carbon-fibre); }
.v-car__edge, .v-car__glass-edge, .v-car__pillar, .v-wheel circle, .v-wheel path, .v-car__detail, .v-car__line, .v-car__spec, .v-car__pod,
.v-ground, .v-guides line, .v-dim, .v-sweep, .v-x line:not(.v-x__hatch), .v-x path, .v-x circle, .v-run__grid, .v-run__curve, .v-run__ghost, .v-run__target, .v-chip__wheel * {
    vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round;
}
.v-car__edge { fill: none; stroke: var(--s-titanium); stroke-width: var(--s-stroke); }
.v-car__glass-edge { fill: none; stroke: var(--s-titanium); stroke-width: var(--s-stroke-soft); stroke-opacity: var(--s-line-soft-alpha); }
.v-car__spec { fill: none; stroke: var(--s-white); stroke-width: var(--s-stroke-spec); stroke-opacity: calc(var(--s-spec-alpha) / 3); }
.v-car__line { fill: none; stroke: var(--s-white); stroke-width: var(--s-stroke-soft); stroke-opacity: var(--s-spec-alpha); }
.v-car__detail { fill: none; stroke: var(--s-titanium); stroke-width: var(--s-stroke-soft); stroke-opacity: var(--s-line-soft-alpha); }
.v-car__detail--scoopLip { stroke-opacity: 1; }
.v-car__detail--strakes { stroke: var(--s-titanium-soft); stroke-opacity: 1; }
.v-car__detail--lampF { stroke: var(--s-white); stroke-opacity: 1; stroke-width: var(--s-stroke-spec); }
.v-car__detail--lampR { stroke: var(--s-lamp); stroke-opacity: 1; stroke-width: var(--s-stroke-spec); }
.v-car__pod { stroke: var(--s-titanium); stroke-width: var(--s-stroke-soft); }
.v-wheel__tyre { fill: var(--s-tyre); stroke: var(--s-titanium); stroke-width: var(--s-stroke); }
.v-wheel__wall { fill: var(--s-tyre-wall); stroke: none; }
.v-wheel__rim { fill: var(--s-well); stroke: var(--s-titanium-soft); stroke-width: var(--s-stroke-soft); }
.v-wheel__disc { fill: var(--s-disc); stroke: var(--s-titanium-soft); stroke-width: var(--s-stroke-soft); }
.v-wheel__vent { fill: none; stroke: var(--s-disc-vent); stroke-width: var(--s-space-3xs); stroke-dasharray: var(--s-dash-hidden); }
.v-wheel__bell { fill: var(--s-metal-lo); stroke: none; }
.v-wheel__caliper { fill: var(--s-caliper); stroke: var(--s-metal-lo); stroke-width: var(--s-stroke-soft); }
.v-wheel__spokes { fill-rule: evenodd; stroke: var(--s-metal-lo); stroke-width: var(--s-stroke-soft); }
.v-wheel__lip { fill: none; stroke: var(--s-metal-hi); stroke-width: var(--s-stroke-soft); }
.v-wheel__nut { fill: var(--s-metal-lo); stroke: var(--s-metal-hi); stroke-width: var(--s-stroke-soft); }
.v-chip__wheel .v-wheel__spokes { fill: var(--s-metal); }
.v-car__reflection { opacity: var(--s-reflection-alpha); }
.v-ground { stroke: var(--s-carbon-line-hi); stroke-width: var(--s-hairline); }
.v-guides line { stroke: var(--s-carbon-line); stroke-width: var(--s-hairline); stroke-opacity: var(--s-guide-alpha); }
.v-dim { fill: none; stroke: var(--s-titanium-soft); stroke-width: var(--s-stroke-soft); }
.v-sweep {
    fill: none; stroke: var(--s-lime); stroke-width: var(--s-stroke-sweep);
    stroke-dasharray: var(--s-sweep-len) 200; stroke-dashoffset: var(--s-sweep-len); opacity: 0;
    animation: v-sweep var(--s-dur-sweep) var(--s-ease-sharp) var(--s-delay-sweep) forwards;
}
@keyframes v-sweep {
    from { opacity: 1; stroke-dashoffset: var(--s-sweep-len); }
    to { opacity: 1; stroke-dashoffset: -100; }
}
.v-callout {
    position: absolute; transform: translate(-50%, -50%); white-space: nowrap;
    padding: 0 var(--s-space-2xs); background: var(--s-carbon);
    font: var(--s-weight-body) var(--s-step-callout) / var(--s-leading-160) var(--s-font-mono); color: var(--s-titanium-dim); font-variant-numeric: tabular-nums;
}
.v-callout--h { transform: translate(-50%, -50%) rotate(-90deg); background: var(--s-graphite); }
.v-callout--wb, .v-callout--h, .v-dim--wb, .v-dim--h { display: none; }
@media (min-width: 900px) {
    .v-callout--wb, .v-callout--h { display: block; }
    .v-dim--wb, .v-dim--h { display: inline; }
}

/* ── CH.02 architecture ──────────────────────────────────────────────── */
.v-arch__pin { display: grid; gap: var(--s-space-l); }
.v-arch__stage { position: relative; overflow: hidden; background: var(--s-weave), var(--s-carbon); clip-path: polygon(0 0, calc(100% - var(--s-chamfer)) 0, 100% var(--s-chamfer), 100% 100%, 0 100%); padding: var(--s-space-s) 0; }
.v-arch__sheet--d { display: none; }
.v-x {
    --sep: 1; --zoom: 1;
    position: relative; margin-inline: auto; aspect-ratio: var(--ar);
    width: min(100%, calc(var(--s-arch-stage-h-sm) * var(--arn)));
    transform: scale(var(--zoom)); transform-origin: var(--ox) 50%;
}
.v-x--d { width: min(100%, calc(var(--s-arch-stage-h) * var(--arn))); }
.v-x__svg { width: 100%; height: 100%; overflow: visible; }
.v-x__guides line { stroke: var(--s-carbon-line); stroke-width: var(--s-hairline); stroke-opacity: var(--s-guide-alpha); }
.v-x__ground { stroke: var(--s-carbon-line-hi); stroke-width: var(--s-hairline); opacity: calc(1 - var(--sep)); }
/* --pop eases the layer being read out of the stack (registered so it can transition on its own,
   while --sep keeps following the scroll frame by frame). */
@property --pop { syntax: '<number>'; inherits: false; initial-value: 0; }
.v-x__layer {
    --lead: 1; --pop: 0;
    transform-box: view-box; transform-origin: 0 0;
    transform: translate(calc(var(--pop) * var(--s-layer-pop-x) * 1px), calc(var(--sep) * var(--off) * 1px + var(--pop) * var(--s-layer-pop-y) * 1px));
    transition: opacity var(--s-dur) var(--s-ease), --pop var(--s-dur) var(--s-ease);
}
.v-x.has-active .v-x__layer:not(.is-active), .v-x.has-active .v-x__label:not(.is-active) { opacity: var(--s-dim-alpha); }
/* The layer being read: drawn out of the stack, its outline in the live colour. */
.v-x__layer.is-active { --pop: 1; }
.v-x__layer.is-active .v-x__edge:not(.v-x__edge--soft) { stroke: var(--s-lime); }
.v-x__label.is-active .v-x__idx { color: var(--s-lime); }
.v-x__fill { fill: var(--s-carbon-hi); }
.v-x__glass { fill: var(--s-glass); }
.v-x__edge { fill: none; stroke: var(--s-titanium); stroke-width: var(--s-stroke); }
.v-x__edge--soft { stroke-width: var(--s-stroke-soft); stroke-opacity: var(--s-line-soft-alpha); }
.v-x__section { stroke: none; }
.v-x__hatch { stroke: var(--s-titanium-soft); stroke-width: var(--s-hatch-stroke); }
.v-x__centre { fill: none; stroke: var(--s-titanium-soft); stroke-width: var(--s-stroke-soft); stroke-dasharray: var(--s-dash-centre); }
.v-x__dash { fill: none; stroke: var(--s-titanium-dim); stroke-width: var(--s-stroke-soft); stroke-dasharray: var(--s-dash-hidden); }
.v-x__node { fill: var(--s-lime); opacity: var(--lead); }
.v-x__leader { fill: none; stroke: var(--s-titanium-dim); stroke-width: var(--s-stroke-soft); stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--lead)); }
.v-x__label {
    --lead: 1;
    position: absolute; display: grid; gap: 0; padding-left: var(--s-space-2xs);
    left: calc((var(--x) - var(--vb-x)) / var(--vb-w) * 100%);
    top: calc((var(--y) + var(--sep) * var(--off) - var(--vb-y)) / var(--vb-h) * 100%);
    transform: translateY(-50%); opacity: var(--lead);
    font: var(--s-weight-body) var(--s-step-xlabel) / var(--s-leading-125) var(--s-font-mono); color: var(--s-titanium);
}
.v-x__idx { color: var(--s-titanium-dim); }
.v-x--m .v-x__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.v-x--m .v-x__idx { color: var(--s-titanium); }
.v-arch__body { display: grid; gap: var(--s-space-2xs); }
/* the drawing title block: the section's intro, set the way a drawing sheet carries it */
.v-tblock { margin-top: var(--s-space-m); border: var(--s-hairline) solid var(--s-carbon-line-hi); }
.v-tblock__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v-tblock__grid > div { padding: var(--s-space-3xs) var(--s-space-xs); border-bottom: var(--s-hairline) solid var(--s-carbon-line-hi); }
.v-tblock__grid > div:nth-child(odd) { border-right: var(--s-hairline) solid var(--s-carbon-line-hi); }
.v-tblock dt { font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-130) var(--s-font-mono); color: var(--s-titanium-dim); }
.v-tblock dd { font: var(--s-weight-body) var(--s-step-mono) / var(--s-leading-135) var(--s-font-mono); color: var(--s-titanium); }
.v-tblock__note { padding: var(--s-space-2xs) var(--s-space-xs); font-size: var(--s-step-small); color: var(--s-titanium-dim); text-wrap: pretty; }
.v-tblock__tag { display: inline-block; margin-right: var(--s-space-2xs); padding: 0 var(--s-space-3xs); background: var(--s-lime); color: var(--s-lime-ink); font: var(--s-weight-strong) var(--s-step-micro) / var(--s-leading-150) var(--s-font-mono); }
@media (min-width: 600px) { .v-tblock__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .v-tblock__grid > div:nth-child(odd) { border-right: 0; } .v-tblock__grid > div:not(:nth-child(3n)) { border-right: var(--s-hairline) solid var(--s-carbon-line-hi); } }
/* phone, while scrubbing: the stage and ONE plate travel together, so the pinned screen is never half empty */
.v-arch.is-live-m .v-arch__body { background: var(--s-graphite); padding-bottom: var(--s-space-s); }
.v-arch.is-live-m .v-arch__plates { display: grid; }
.v-arch.is-live-m .v-layerplate { grid-area: 1 / 1; opacity: 0; transition: opacity var(--s-dur) var(--s-ease); }
.v-arch.is-live-m .v-layerplate.is-active { opacity: 1; }

.v-arch__plates { display: grid; gap: var(--s-space-2xs); counter-reset: none; }
.v-layerplate { padding: var(--s-space-s) var(--s-space-m); transition: background-color var(--s-dur) var(--s-ease); }
.v-layerplate__head { display: flex; gap: var(--s-space-s); align-items: baseline; font: var(--s-weight-strong) var(--s-step-body) / var(--s-leading-130) var(--s-font-display); }
.v-layerplate__idx { font: var(--s-weight-body) var(--s-step-mono) / var(--s-leading-100) var(--s-font-mono); color: var(--s-titanium-dim); }
.v-layerplate__line { margin-top: var(--s-space-3xs); font-size: var(--s-step-small); color: var(--s-titanium-dim); }
.v-layerplate .v-specs { margin-top: var(--s-space-xs); }
.v-layerplate.is-active { background: var(--s-carbon-hi); }
.v-layerplate.is-active .v-layerplate__idx { color: var(--s-lime); }
.v-arch__remainder { margin-top: var(--s-space-xs); max-width: var(--s-measure); font: var(--s-weight-body) var(--s-step-mono) / var(--s-leading-160) var(--s-font-mono); color: var(--s-titanium-dim); }

/* while the scrub runs, plates collapse to their headline and open as each layer arrives */
.v-arch.is-live .v-layerplate .v-specs { display: block; max-height: 0; margin-top: 0; overflow: hidden; transition: max-height var(--s-dur) var(--s-ease), margin-top var(--s-dur) var(--s-ease); }
.v-arch.is-live .v-layerplate .v-layerplate__line { display: none; }
.v-arch.is-live .v-layerplate.is-active .v-layerplate__line { display: block; }
.v-arch.is-live .v-layerplate.is-active .v-specs { max-height: var(--s-measure-16); margin-top: var(--s-space-xs); }

@media (min-width: 900px) {
    .v-arch__sheet--d { display: block; }
    .v-arch__sheet--m { display: none; }
    .v-arch__pin { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; column-gap: var(--s-col-gap); row-gap: var(--s-space-m); align-items: start; }  /* the slack under the layer list goes below the 601 kg note, never between */
    .v-arch.is-live .v-arch__pin { min-height: calc(100svh - var(--s-nav-h)); align-content: center; padding-block: var(--s-space-m) 0; }  /* no bottom pad: --s-section-gap alone separates it from CH.03 */
    .v-arch.is-live + .v-perf { padding-top: var(--s-space-xl); }  /* the pin already ends on its own breathing room */
    .v-arch__head { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-col-gap); align-items: end; }
    .v-arch__head .v-channel { grid-column: 1 / -1; }
    .v-arch__head .v-h2 { grid-column: 1 / 7; }
    .v-arch__head .v-tblock { grid-column: 7 / 13; margin-top: 0; }
    .v-arch__body { display: contents; }
    .v-arch__stage { grid-column: 1 / 9; padding: var(--s-space-m) 0; }
    .v-arch.is-live .v-arch__stage { align-self: stretch; display: grid; align-content: center; }  /* the carbon panel runs the full pinned height */
    .v-arch:not(.is-live) .v-arch__stage { position: sticky; top: calc(var(--s-nav-h) + var(--s-space-m)); }
    .v-arch__stage { grid-row: 2 / span 2; }
    .v-arch__plates { grid-column: 9 / 13; grid-row: 2; }
    .v-arch__remainder { grid-column: 9 / 13; grid-row: 3; margin-top: 0; align-self: start; }
}

/* ── CH.03 performance ───────────────────────────────────────────────── */
.v-run { margin-top: var(--s-space-l); display: grid; gap: var(--s-space-m); padding: var(--s-space-m) var(--s-space-s); }
/* the readout, track and chart are one unit; the conditions table is a separate block below it */
.v-run__main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--s-space-m); }
/* phone: the rail is one screen tall, so readout and chart sit beside it whole — nothing is sticky, nothing can overlap */
.v-run__readout { grid-column: 2; grid-row: 1; align-self: start; display: grid; gap: var(--s-space-m); }
.v-run__cell { display: grid; gap: var(--s-space-3xs); }
.v-run__label { font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-140) var(--s-font-mono); color: var(--s-titanium-dim); }
.v-run__value { font: var(--s-weight-body) var(--s-step-run-sm) / var(--s-leading-92) var(--s-font-mono); letter-spacing: var(--s-track-readout); font-variant-numeric: tabular-nums; }
.v-run__value .v-unit { font-size: var(--s-size-0p32); letter-spacing: 0; color: var(--s-titanium-dim); }
.v-run__value--speed .v-num { color: var(--s-lime); }
.v-run.is-locked .v-run__value:not(.v-run__value--speed) .v-num { color: var(--s-lime); }
.v-run__btn { justify-self: start; white-space: nowrap; }

.v-run__track { grid-column: 1; grid-row: 1 / span 2; display: grid; gap: var(--s-space-xs); align-content: start; }
.v-run__axis { font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-140) var(--s-font-mono); color: var(--s-titanium-dim); }
.v-run__rail { position: relative; height: var(--s-track-h-sm); margin-left: calc(var(--s-space-l) + var(--s-space-2xs)); border-left: var(--s-hairline) solid var(--s-carbon-line-hi); }
.v-run__fill { position: absolute; left: 0; top: 0; width: var(--s-space-2xs); height: calc(var(--p) * 100%); background: var(--s-lime-wash); }
.v-run__tick { position: absolute; left: 0; top: calc(var(--at) * 100%); width: var(--s-space-xs); height: var(--s-hairline); background: var(--s-titanium-soft); }
.v-run__tick > span { position: absolute; right: calc(100% + var(--s-space-2xs)); top: 50%; transform: translateY(-50%); font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-100) var(--s-font-mono); color: var(--s-titanium-dim); font-variant-numeric: tabular-nums; }
.v-run__tick--end { width: var(--s-space-m); background: var(--s-titanium); }
.v-run__tick--end > span { color: var(--s-titanium); }
.v-run__mph { position: absolute; left: 0; top: calc(var(--mph) * 100%); width: calc(var(--s-space-xl) + var(--s-space-xs)); border-top: var(--s-hairline) dashed var(--s-titanium-dim); }
.v-run__mph > span { position: absolute; left: calc(var(--s-space-2xs) + var(--s-space-3xs)); bottom: var(--s-space-3xs); width: 9ch; line-height: var(--s-leading-125) !important; font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-100) var(--s-font-mono); color: var(--s-titanium-dim); }
.v-run__marker { position: absolute; left: calc(var(--s-space-xs) * -1); top: calc(var(--p) * 100%); width: calc(var(--s-space-l) + var(--s-space-2xs)); height: var(--s-marker-w); margin-top: calc(var(--s-marker-w) / -2); background: var(--s-lime); }

.v-run__trace { grid-column: 2; grid-row: 2; align-self: end; display: grid; gap: var(--s-space-2xs); }
.v-run__trace svg { width: 100%; height: calc(var(--s-trace-h) * 0.7); overflow: visible; }
.v-run__grid { fill: none; stroke: var(--s-carbon-line-hi); stroke-width: var(--s-hairline); }
.v-run__curve { fill: none; stroke: var(--s-lime); stroke-width: var(--s-stroke-trace); }
.v-run__ghost { fill: none; stroke: var(--s-titanium-soft); stroke-width: var(--s-stroke-soft); stroke-dasharray: var(--s-dash-hidden); }
.v-run__target { fill: none; stroke: var(--s-lime); stroke-width: var(--s-stroke-soft); stroke-dasharray: var(--s-dash-hidden); }
.v-run__target-label { justify-self: end; font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-100) var(--s-font-mono); color: var(--s-lime); }
.v-run__trace-axis { display: flex; justify-content: space-between; font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-100) var(--s-font-mono); color: var(--s-titanium-dim); }
.v-run__context { grid-column: 1 / -1; padding-top: var(--s-space-s); border-top: var(--s-hairline) solid var(--s-carbon-line-hi); }
.v-run__context .v-specs { margin-top: var(--s-space-2xs); }
.v-run__context .v-specs > div { display: grid; gap: var(--s-space-3xs); justify-content: start; }
.v-run__context .v-specs dd { text-align: left; }

.v-figs { margin-top: var(--s-space-l); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-space-s); }
.v-fig { padding: var(--s-space-s); }
.v-fig .v-plate__label { margin-bottom: var(--s-space-xs); font-size: var(--s-step-micro); }
.v-fig__value { font: var(--s-weight-body) var(--s-step-fig-sm) / var(--s-leading-100) var(--s-font-mono); letter-spacing: var(--s-track-h2); font-variant-numeric: tabular-nums; }
.v-fig__value .v-unit { font-size: var(--s-size-0p42); letter-spacing: 0; color: var(--s-titanium-dim); }
.v-fig__line { margin-top: var(--s-space-xs); font-size: var(--s-step-small); color: var(--s-titanium-dim); }
.v-fig--wide { grid-column: 1 / -1; }

@media (min-width: 900px) {
    .v-perf__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-col-gap); align-items: end; }
    .v-perf__head .v-channel { grid-column: 1 / -1; }
    .v-perf__head .v-h2 { grid-column: 1 / 8; }
    .v-perf__head .v-lede { grid-column: 8 / 13; }
    .v-run { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-col-gap); row-gap: var(--s-space-l); padding: var(--s-space-l) var(--s-space-l) var(--s-space-m); }
    .v-run__main { display: contents; }
    .v-run__readout { position: static; grid-column: 1 / 9; grid-row: 1; grid-template-columns: auto auto; justify-content: start; align-items: end; gap: var(--s-space-m) var(--s-space-xl); }
    .v-run__value { font-size: var(--s-step-readout); }
    .v-run__btn { grid-column: 1 / -1; justify-self: start; }
    .v-run__trace { grid-column: 9 / 13; grid-row: 1; }
    .v-run__trace svg { height: var(--s-trace-h); }
    .v-run__track { grid-column: 1 / -1; grid-row: 2; }
    .v-run__rail { height: var(--s-rail-h); margin: var(--s-space-xs) 0 var(--s-space-l); border-left: 0; border-bottom: var(--s-hairline) solid var(--s-carbon-line-hi); }
    .v-run__fill { top: auto; bottom: 0; width: calc(var(--p) * 100%); height: var(--s-space-2xs); }
    .v-run__tick { top: auto; bottom: 0; left: calc(var(--at) * 100%); width: var(--s-hairline); height: var(--s-space-xs); }
    .v-run__tick > span { right: auto; top: calc(100% + var(--s-space-xs)); left: 50%; transform: translateX(-50%); }
    .v-run__tick--end { height: var(--s-rail-h); width: var(--s-hairline); }
    .v-run__mph { top: 0; bottom: 0; left: calc(var(--mph) * 100%); width: 0; border-top: 0; border-left: var(--s-hairline) dashed var(--s-titanium-dim); }
    .v-run__mph > span { left: auto; right: calc(100% + var(--s-space-2xs)); top: 0; bottom: auto; width: auto; white-space: nowrap; }
    .v-run__marker { left: calc(var(--p) * 100%); top: calc(var(--s-space-2xs) * -1); width: var(--s-marker-w); height: calc(100% + var(--s-space-2xs)); margin: 0 0 0 calc(var(--s-marker-w) / -2); }
    .v-run__context { grid-column: 1 / -1; grid-row: 3; }
    .v-run__context .v-specs { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--s-space-m); }
    .v-run__context .v-specs > div { display: grid; gap: var(--s-space-3xs); border-bottom: 0; justify-content: start; }
    .v-run__context .v-specs dd { text-align: left; }
    .v-figs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .v-fig { padding: var(--s-space-m); }
    .v-fig__value { font-size: var(--s-step-fig); }
    .v-fig--wide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--s-space-2xs); align-items: end; }
    .v-fig--wide .v-plate__label { grid-column: 1 / -1; }
    .v-fig--wide .v-fig__line { grid-column: 2 / 5; margin: 0; max-width: var(--s-measure); }
}

/* ── CH.04 build ─────────────────────────────────────────────────────── */
.v-slots { margin-top: var(--s-space-l); display: grid; gap: var(--s-space-m); }
.v-slots__grid { display: grid; grid-template-columns: repeat(var(--s-slot-cols), minmax(0, 1fr)); gap: var(--s-space-3xs); }
.v-slot {
    display: grid; place-items: center; aspect-ratio: 1;
    font: var(--s-weight-body) var(--s-step-slot) / var(--s-leading-100) var(--s-font-mono); font-variant-numeric: tabular-nums;
    clip-path: polygon(0 0, calc(100% - var(--s-chamfer-slot)) 0, 100% var(--s-chamfer-slot), 100% 100%, 0 100%);
}
.v-slot--taken { background: var(--s-carbon-line-hi); color: var(--s-titanium); }
.v-slot--open { background: var(--s-carbon-hi); color: var(--s-titanium-dim); }
.v-slot--next { background: var(--s-lime); color: var(--s-lime-ink); font-weight: var(--s-weight-display); }
.v-slots__key { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-space-s); align-items: center; }
.v-slots__summary { font: var(--s-weight-body) var(--s-step-mono) / var(--s-leading-140) var(--s-font-mono); }
.v-slots__legend { display: flex; flex-wrap: wrap; gap: var(--s-space-m); font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-100) var(--s-font-mono); color: var(--s-titanium-dim); }
.v-slots__legend li { display: flex; align-items: center; gap: var(--s-space-2xs); }
.v-slot--swatch { width: var(--s-space-s); }

.v-process { margin-top: var(--s-space-xl); }
.v-strip { display: flex; gap: var(--s-space-3xs); margin-top: var(--s-space-m); }
.v-strip__seg {
    flex: var(--wk) 1 0; min-width: 0; height: var(--s-strip-h); display: flex; align-items: center; padding-left: var(--s-space-2xs);
    background: var(--s-carbon-hi); border-top: var(--s-focus) solid var(--s-titanium-soft);
    font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-100) var(--s-font-mono); color: var(--s-titanium-dim); overflow: hidden;
}
.v-steps { margin-top: var(--s-space-m); display: grid; gap: 0; counter-reset: none; }
.v-step { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s-space-s); padding: var(--s-space-s) 0; border-top: var(--s-hairline) solid var(--s-carbon-line); }
.v-step__meta { grid-row: 1 / span 2; display: grid; gap: var(--s-space-3xs); align-content: start; font: var(--s-weight-body) var(--s-step-mono) / var(--s-leading-120) var(--s-font-mono); font-variant-numeric: tabular-nums; min-width: 6ch; }
.v-step__n { color: var(--s-titanium-dim); }
.v-step__wk .v-unit { color: var(--s-titanium-dim); }
.v-step__name { font-weight: var(--s-weight-strong); font-size: var(--s-step-lede); }
.v-step__line { margin-top: var(--s-space-3xs); font-size: var(--s-step-small); color: var(--s-titanium-dim); }

.v-quote { margin-top: var(--s-space-2xl); padding-top: var(--s-space-xl); border-top: var(--s-hairline) solid var(--s-carbon-line-hi); display: grid; gap: var(--s-space-m); }
.v-quote blockquote p { font: var(--s-weight-body) var(--s-step-quote) / var(--s-leading-122) var(--s-font-display); letter-spacing: var(--s-track-h2); max-width: 34ch; text-wrap: balance; }
.v-quote blockquote p::before { content: open-quote; }
.v-quote blockquote p::after { content: close-quote; }
.v-quote figcaption { display: grid; font: var(--s-weight-body) var(--s-step-mono) / var(--s-leading-150) var(--s-font-mono); }
.v-quote__role { color: var(--s-titanium-dim); }

@media (min-width: 900px) {
    .v-slots { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-col-gap); padding: var(--s-space-l); }
    .v-slots__grid { grid-column: 1 / -1; }
    .v-slots__key { grid-column: 1 / -1; }
    .v-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--s-col-gap); }
    .v-step { grid-template-columns: 1fr; border-top: 0; padding: 0; }
    .v-step__meta { grid-row: auto; grid-template-columns: auto auto; justify-content: space-between; margin-bottom: var(--s-space-xs); }
    .v-quote { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-col-gap); }
    .v-quote blockquote { grid-column: 3 / 12; }
    .v-quote figcaption { grid-column: 3 / 12; }
}
@media (min-width: 1200px) {
    .v-slots__grid { grid-template-columns: repeat(var(--s-slot-cols-wide), minmax(0, 1fr)); }
}

/* ── CH.05 configure ─────────────────────────────────────────────────── */
.v-cfg { display: grid; gap: var(--s-space-m); }
.v-cfg__stage { position: relative; container-type: inline-size; align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: var(--s-space-m) var(--s-space-s) 0; background: var(--s-weave), radial-gradient(ellipse 80% 90% at 50% 100%, var(--s-carbon-hi), var(--s-carbon) 65%); clip-path: polygon(0 0, calc(100% - var(--s-chamfer)) 0, 100% var(--s-chamfer), 100% 100%, 0 100%); }
.v-elev--cfg { width: 100%; }
.v-stop { transition: stop-color var(--s-dur-fast) var(--s-ease); }
.v-cfg__controls { display: grid; gap: var(--s-space-m); }
.v-opt { margin: 0; padding: 0; border: 0; min-width: 0; }
.v-opt__legend { padding: 0 0 var(--s-space-xs); font: var(--s-weight-body) var(--s-step-mono) / var(--s-leading-130) var(--s-font-mono); color: var(--s-titanium-dim); }
.v-opt__row { display: flex; gap: var(--s-space-2xs); }
/* finishes never scroll: three over two on the narrowest phones, one row of five from 360px (each column >= the longest name) */
.v-opt__row--swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s-space-s); padding-block: var(--s-space-2xs); }
@media (min-width: 360px) { .v-opt__row--swatches { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.v-opt__row--chips { display: grid; gap: var(--s-space-2xs); }
.v-opt__note { margin-top: var(--s-space-2xs); font-size: var(--s-step-small); color: var(--s-titanium-dim); min-height: var(--s-measure-1p5); }
.v-swatch, .v-chip { position: relative; cursor: pointer; }
.v-swatch input, .v-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.v-swatch { display: grid; justify-items: center; gap: var(--s-space-2xs); min-width: 0; }
.v-swatch__dot {
    width: var(--s-swatch); height: var(--s-swatch); border-radius: 50%;
    background: radial-gradient(circle at 34% 30%, color-mix(in oklab, var(--sw) var(--s-paint-hi-mix), var(--s-white)), var(--sw) 55%, color-mix(in oklab, var(--sw) var(--s-paint-lo-mix), var(--s-black)));
    box-shadow: inset 0 0 0 var(--s-hairline) var(--s-carbon-line-hi);
    transition: box-shadow var(--s-dur-fast) var(--s-ease), transform var(--s-dur-fast) var(--s-ease);
}
.v-swatch:hover .v-swatch__dot { transform: translateY(var(--s-lift)); }
.v-swatch:active .v-swatch__dot { transform: scale(var(--s-press)); }
.v-chip:active { transform: scale(var(--s-press)); }
.v-swatch input:checked + .v-swatch__dot { box-shadow: 0 0 0 var(--s-focus) var(--s-graphite), 0 0 0 calc(var(--s-focus) * 2) var(--s-titanium); }
.v-swatch input:focus-visible + .v-swatch__dot { outline: var(--s-focus) solid var(--s-titanium); outline-offset: calc(var(--s-focus) * 4); }
.v-swatch__name { font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-100) var(--s-font-mono); color: var(--s-titanium-dim); }
.v-swatch input:checked ~ .v-swatch__name { color: var(--s-titanium); }
.v-chip { display: flex; align-items: center; gap: var(--s-space-s); min-height: calc(var(--s-target) + var(--s-space-xs)); padding: var(--s-space-2xs) var(--s-space-s); background: var(--s-carbon); box-shadow: inset var(--s-focus) 0 0 transparent; transition: background-color var(--s-dur-fast) var(--s-ease), box-shadow var(--s-dur-fast) var(--s-ease), transform var(--s-dur-fast) var(--s-ease); }
.v-chip:hover { background: var(--s-carbon-hi); }
.v-chip:has(input:checked) { background: var(--s-carbon-hi); box-shadow: inset var(--s-focus) 0 0 var(--s-lime); }
.v-chip:has(input:focus-visible) { outline: var(--s-focus) solid var(--s-titanium); outline-offset: var(--s-focus); }
.v-chip__wheel { flex: none; width: var(--s-chip-wheel); height: var(--s-chip-wheel); }
.v-chip__trim { flex: none; width: var(--s-trim); height: var(--s-trim); background: var(--sw); box-shadow: inset 0 0 0 var(--s-hairline) var(--s-carbon-line-hi); clip-path: polygon(0 0, calc(100% - var(--s-chamfer-slot)) 0, 100% var(--s-chamfer-slot), 100% 100%, 0 100%); }
.v-chip--trim { min-height: calc(var(--s-target) + var(--s-space-2xs)); }
.v-chip__text { display: grid; }
.v-chip__name { font-weight: var(--s-weight-strong); font-size: var(--s-step-small); }
.v-chip__note { font-size: var(--s-step-micro); color: var(--s-titanium-dim); line-height: var(--s-leading-140); }
.v-summary .v-summary__model { font: var(--s-weight-display) var(--s-step-h3) / var(--s-leading-110) var(--s-font-display); letter-spacing: var(--s-track-h2); margin-bottom: var(--s-space-xs); }
.v-summary__note { margin-top: var(--s-space-2xs); font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-140) var(--s-font-mono); color: var(--s-titanium-dim); }

@media (min-width: 900px) {
    .v-cfg { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-col-gap); row-gap: var(--s-space-m); align-items: start; }
    .v-cfg__head { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-col-gap); align-items: end; }
    .v-cfg__head .v-channel { grid-column: 1 / -1; }
    .v-cfg__head .v-h2 { grid-column: 1 / 8; }
    .v-cfg__head .v-lede { grid-column: 8 / 13; }
    .v-cfg__stage { grid-column: 1 / 9; grid-row: 2; padding: var(--s-space-xl) var(--s-space-l) var(--s-space-s); }
    .v-cfg__controls { grid-column: 9 / 13; grid-row: 2 / span 2; }
    .v-summary { grid-column: 1 / 9; grid-row: 3; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--s-col-gap); align-items: end; }
    .v-summary .v-plate__label { grid-column: 1 / -1; }
    .v-summary .v-summary__model { grid-column: 1 / 4; margin: 0; }
    .v-summary .v-specs { grid-column: 4 / 9; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--s-space-m); }
    .v-summary .v-specs > div { display: grid; border: 0; justify-content: start; }
    .v-summary .v-specs dd { text-align: left; }
    .v-summary__note { grid-column: 4 / 7; }
    .v-summary .v-link { grid-column: 7 / 9; justify-self: end; }
}

/* the light that passes over the car when a choice changes (transform only) */
.v-cfg__stage { overflow: hidden; }
.v-cfg__stage::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
    background: linear-gradient(100deg, transparent 35%, var(--s-sweep-light) 50%, transparent 65%);
    transform: translateX(-100%);
}
.v-cfg__stage.is-swap::after { animation: v-swap var(--s-dur-swap) var(--s-ease) both; }
@keyframes v-swap { 0% { opacity: 1; transform: translateX(-100%); } 100% { opacity: 1; transform: translateX(100%); } }

/* wide screens: the car gets the whole width, a showroom; the choices sit in a tray beneath it */
@media (min-width: 1200px) {
    .v-cfg__stage { grid-column: 1 / -1; grid-row: 2; min-height: var(--s-cfg-stage-min); padding: var(--s-space-xl) var(--s-space-2xl) var(--s-space-s); }
    .v-cfg__controls { grid-column: 1 / 10; grid-row: 3; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s-space-l); align-items: start; }
    .v-summary { grid-column: 10 / 13; grid-row: 3; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-space-s); align-content: start; }
    .v-summary .v-summary__model, .v-summary .v-specs, .v-summary__note, .v-summary .v-link { grid-column: 1; }
    .v-summary .v-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-space-s); }
    .v-summary .v-link { justify-self: start; }
}

/* ── CH.06 reserve ───────────────────────────────────────────────────── */
/* phone: the intro, the form, then the plate it engraves (read after the button, where it gets stamped) */
.v-reserve { display: grid; grid-template-areas: "intro" "form" "plate"; gap: var(--s-space-l); padding-bottom: var(--s-section-gap) !important; }
.v-reserve__intro { grid-area: intro; }
.v-reserve > .v-form { grid-area: form; }
.v-reserve > .v-badge { grid-area: plate; }
.v-facts { margin-top: var(--s-space-l); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-space-2xs); }
.v-facts .v-plate { padding: var(--s-space-s); }
.v-facts dt { font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-140) var(--s-font-mono); color: var(--s-titanium-dim); }
.v-facts dd { margin-top: var(--s-space-2xs); font: var(--s-weight-body) var(--s-step-body) / var(--s-leading-130) var(--s-font-mono); font-variant-numeric: tabular-nums; }
.v-form { display: grid; gap: var(--s-space-m); padding: var(--s-space-l) var(--s-space-m); }
.v-form__pair { display: grid; gap: var(--s-space-m); }
.v-field { display: grid; gap: var(--s-space-2xs); }
.v-field label, .v-field__label { font: var(--s-weight-strong) var(--s-step-small) / var(--s-leading-130) var(--s-font-body); }
.v-field input:not([type="checkbox"]), .v-field select {
    width: 100%; min-height: var(--s-input-h); padding: 0 var(--s-space-s);
    font: var(--s-weight-body) max(16px, var(--s-step-body)) / var(--s-leading-120) var(--s-font-body); color: var(--s-titanium);
    background: var(--s-carbon-hi); border: var(--s-hairline) solid var(--s-carbon-line-hi); border-radius: 0;
    -webkit-appearance: none; appearance: none;
    transition: border-color var(--s-dur-fast) var(--s-ease);
}
.v-field select { background-image: linear-gradient(45deg, transparent 50%, var(--s-titanium-dim) 50%), linear-gradient(135deg, var(--s-titanium-dim) 50%, transparent 50%); background-position: calc(100% - var(--s-select-arrow-a)) 50%, calc(100% - var(--s-select-arrow-b)) 50%; background-size: var(--s-select-arrow) var(--s-select-arrow); background-repeat: no-repeat; padding-right: var(--s-space-xl); }
.v-field input::placeholder { color: var(--s-titanium-dim); opacity: 1; }
.v-field input:hover, .v-field select:hover { border-color: var(--s-titanium-soft); }
.v-field input:focus-visible, .v-field select:focus-visible { outline: var(--s-focus) solid var(--s-titanium); outline-offset: 0; border-color: var(--s-titanium); }
.v-field [aria-invalid="true"] { border-color: var(--s-warn) !important; }
.v-field__err { font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-140) var(--s-font-mono); color: var(--s-warn); }
.v-spec { display: flex; justify-content: space-between; align-items: center; gap: var(--s-space-s); min-height: var(--s-input-h); padding: 0 var(--s-space-s); background: var(--s-carbon-hi); }
.v-spec output { font: var(--s-weight-body) var(--s-step-mono) / var(--s-leading-140) var(--s-font-mono); }
.v-field--check { grid-template-columns: auto 1fr; column-gap: var(--s-space-s); align-items: start; }
.v-field--check input { width: var(--s-check); height: var(--s-check); margin: var(--s-space-3xs) 0 0; accent-color: var(--s-titanium); }
.v-field--check label { font-weight: var(--s-weight-body); color: var(--s-titanium-dim); min-height: var(--s-target); }
.v-field--check .v-field__err { grid-column: 2; }
.v-form__errors { padding: var(--s-space-s); background: var(--s-carbon-hi); border-left: var(--s-focus) solid var(--s-warn); font: var(--s-weight-body) var(--s-step-mono) / var(--s-leading-140) var(--s-font-mono); color: var(--s-warn); }
.v-form__status:empty { display: none; }
.v-form__status { padding: var(--s-space-s); background: var(--s-carbon-hi); border-left: var(--s-focus) solid var(--s-titanium); font-size: var(--s-step-small); }

/* the build plate: brushed titanium, four rivets, engraved type; it fills in from the form */
.v-badge { display: grid; gap: var(--s-space-xs); }
.v-badge__caption { font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-140) var(--s-font-mono); color: var(--s-titanium-dim); }
.v-badge__plate {
    position: relative; display: grid; gap: var(--s-space-s); padding: var(--s-space-m) var(--s-space-l);
    color: var(--s-plate-ink);
    background: var(--s-plate-brush), linear-gradient(160deg, var(--s-plate-hi), var(--s-plate-mid) 55%, var(--s-plate-lo));
    clip-path: polygon(0 0, calc(100% - var(--s-chamfer)) 0, 100% var(--s-chamfer), 100% 100%, var(--s-chamfer) 100%, 0 calc(100% - var(--s-chamfer)));
}
.v-badge__rivet { position: absolute; width: var(--s-rivet); height: var(--s-rivet); border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--s-plate-hi), var(--s-plate-lo)); box-shadow: inset 0 0 0 var(--s-hairline) var(--s-plate-ink-soft); }
.v-badge__rivet:nth-child(1) { top: var(--s-space-xs); left: var(--s-space-xs); }
.v-badge__rivet:nth-child(2) { top: var(--s-space-xs); right: calc(var(--s-space-xs) + var(--s-chamfer)); }
.v-badge__rivet:nth-child(3) { bottom: var(--s-space-xs); left: calc(var(--s-space-xs) + var(--s-chamfer)); }
.v-badge__rivet:nth-child(4) { bottom: var(--s-space-xs); right: var(--s-space-xs); }
.v-badge__maker { display: flex; justify-content: space-between; gap: var(--s-space-s); padding-bottom: var(--s-space-xs); border-bottom: var(--s-hairline) solid var(--s-plate-ink-soft); font: var(--s-weight-strong) var(--s-step-small) / var(--s-leading-130) var(--s-font-mono); letter-spacing: var(--s-track-mono); text-transform: uppercase; }
.v-badge__model { font-family: var(--s-font-display); font-weight: var(--s-weight-display); letter-spacing: var(--s-track-h2); text-transform: none; }
.v-badge__chassis { display: flex; align-items: baseline; gap: var(--s-space-xs); }
.v-badge__k { font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-100) var(--s-font-mono); text-transform: uppercase; }
.v-badge__num { font: var(--s-weight-body) var(--s-step-fig) / var(--s-leading-90) var(--s-font-mono); letter-spacing: var(--s-track-readout); font-variant-numeric: tabular-nums; }
.v-badge__of { font: var(--s-weight-body) var(--s-step-small) / var(--s-leading-100) var(--s-font-mono); color: var(--s-plate-ink-soft); }
.v-badge__rows { display: grid; gap: var(--s-space-2xs); }
.v-badge__rows > div { display: grid; grid-template-columns: var(--s-measure-badge) minmax(0, 1fr); gap: var(--s-space-s); align-items: baseline; }
.v-badge__rows dt { font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-140) var(--s-font-mono); text-transform: uppercase; color: var(--s-plate-ink-soft); }
.v-badge__rows dd { font: var(--s-weight-strong) var(--s-step-body) / var(--s-leading-130) var(--s-font-mono); overflow-wrap: anywhere; }
.v-badge__rows dd.is-empty { font-weight: var(--s-weight-body); color: var(--s-plate-ink-soft); }
.v-badge__stamp {
    position: absolute; right: var(--s-space-l); top: calc(var(--s-space-xl) + var(--s-space-xs)); padding: var(--s-space-3xs) var(--s-space-s);
    border: var(--s-focus) solid var(--s-plate-ink); color: var(--s-plate-ink);
    font: var(--s-weight-display) var(--s-step-h3) / var(--s-leading-100) var(--s-font-mono); text-transform: uppercase; letter-spacing: var(--s-track-mono);
    opacity: 0; transform: rotate(var(--s-stamp-tilt)) scale(var(--s-stamp-from));
}
.v-badge.is-stamped .v-badge__stamp { opacity: 1; transform: rotate(var(--s-stamp-tilt)) scale(1); transition: opacity var(--s-dur-fast) var(--s-ease), transform var(--s-dur-stamp) var(--s-ease-sharp); }
@media (max-width: 599px) {
    .v-badge__plate { padding: var(--s-space-m) var(--s-space-m); }
    .v-badge__rows > div { grid-template-columns: var(--s-measure-badge-sm) minmax(0, 1fr); gap: var(--s-space-xs); }
    .v-badge__stamp { right: var(--s-space-m); }
}

@media (min-width: 900px) {
    /* desktop: the plate sits beside the headline, the form under it; the intro travels with the
       reader (sticky), so the left column never shows an empty field */
    .v-reserve { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-areas: none; column-gap: var(--s-col-gap); row-gap: var(--s-space-m); align-items: start; }
    .v-reserve__intro { grid-area: auto; grid-column: 1 / 6; grid-row: 1 / span 2; position: sticky; top: calc(var(--s-nav-h) + var(--s-space-l)); }
    .v-reserve > .v-badge { grid-area: auto; grid-column: 7 / 13; grid-row: 1; }
    .v-reserve > .v-form { grid-area: auto; grid-column: 7 / 13; grid-row: 2; }
    .v-form { padding: var(--s-space-l); }
    .v-form__pair { grid-template-columns: 1fr 1fr; }
}

/* ── footer ──────────────────────────────────────────────────────────── */
.v-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-space-s); padding: var(--s-space-m) var(--s-gutter); border-top: var(--s-hairline) solid var(--s-carbon-line); max-width: var(--s-max); margin-inline: auto; }
.v-foot__row { display: flex; flex-wrap: wrap; gap: var(--s-space-xs) var(--s-space-l); }
.v-foot__row div { display: flex; gap: var(--s-space-2xs); font: var(--s-weight-body) var(--s-step-micro) / var(--s-leading-150) var(--s-font-mono); }
.v-foot__row dt { color: var(--s-titanium-dim); }

/* ── reduced motion: the composed final state, still ─────────────────── */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .v-sweep { display: none; }
    .v-channel__dot { animation: none; }
    *, *::before, *::after { transition-duration: 0s !important; }
}
