/* ─────────────────────────────────────────────
   HALDEN — Atlanta Motor Gallery
   One committed look: a dark gallery, lit from above.
   ───────────────────────────────────────────── */
/* Self-hosted variable fonts (latin subsets) */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink: #070708;
  --ink-2: #0e0e10;
  --bone: #ece7dd;
  --bone-dim: rgba(236, 231, 221, 0.62);
  --bone-faint: rgba(236, 231, 221, 0.34);
  --line: rgba(236, 231, 221, 0.13);
  --acc: #ece7dd;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(18px, 3.2vw, 48px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color-scheme: dark; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-display);
  font-variation-settings: "wdth" 100;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; font-variation-settings: normal; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--bone); color: var(--ink); }
:focus-visible { outline: 1.5px solid var(--bone); outline-offset: 4px; border-radius: 2px; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--acc); }
.muted { color: var(--bone-faint); }

/* ───────── Stage layers ───────── */
/* Pinned to the large viewport: a phone address bar sliding in or out must not resize (and wipe) the canvas. */
#stage { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; display: block; z-index: 0; }
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 55% 45%, transparent 45%, rgba(0,0,0,0.55) 100%),
    linear-gradient(to bottom, rgba(7,7,8,0.55), transparent 18%, transparent 70%, rgba(7,7,8,0.7));
}
.grain {
  position: fixed; inset: -8%; z-index: 2; pointer-events: none; opacity: 0.06; will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* Shown only if a reader scrolls to a car that is still streaming in */
.pending {
  position: fixed; left: 50%; top: 50%; z-index: 5; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 12px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(7,7,8,.8); font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim);
  pointer-events: none;
}
.pending[hidden] { display: none; }
.pending i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--bone-faint); border-top-color: var(--bone); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
main { position: relative; z-index: 3; }

/* ───────── Preloader ───────── */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink);
  display: grid; place-content: center; justify-items: center; gap: 22px; padding: var(--gutter);
  transition: opacity .9s var(--ease-out), visibility 0s linear .9s;
}
.loader__mark {
  font-weight: 700; font-variation-settings: "wdth" 125; letter-spacing: .32em; padding-left: .32em;
  font-size: clamp(34px, 9vw, 104px); line-height: 1; text-align: center;
}
.loader__sub { margin: -14px 0 8px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--bone-faint); }
.loader__row { display: flex; justify-content: space-between; gap: 24px; width: min(420px, 78vw); font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.loader__pct { color: var(--bone); font-variant-numeric: tabular-nums; }
.loader__bar { height: 1px; width: min(420px, 78vw); background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--bone); transform-origin: left; transform: scaleX(0); transition: transform .4s var(--ease-out); }
.is-ready .loader { opacity: 0; visibility: hidden; pointer-events: none; }
html:not(.is-ready), html:not(.is-ready) body { overflow: hidden; }

/* ───────── Hero status ───────── */
.hero__status { display: grid; justify-items: end; }
.hero__status > * { transition: opacity .8s var(--ease-out) .2s; }
.hero__status > * { grid-area: 1 / 1; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.boot { display: grid; grid-template-columns: auto auto; gap: 10px 18px; align-items: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.boot__pct { color: var(--bone); font-variant-numeric: tabular-nums; justify-self: end; }
.boot__bar { grid-column: 1 / -1; height: 1px; width: 220px; background: var(--line); overflow: hidden; }
.boot__bar i { display: block; height: 100%; background: var(--bone); transform-origin: left; transform: scaleX(0); }
.scrollcue { opacity: 1; }

/* ───────── Nav ───────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px var(--gutter);
  mix-blend-mode: normal;
}
.nav__mark { font-weight: 700; font-variation-settings: "wdth" 125; letter-spacing: 0.34em; text-decoration: none; font-size: 14px; }
.nav__chapter { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.nav__num { color: var(--bone); font-variant-numeric: tabular-nums; }
.nav__sep { width: 28px; height: 1px; background: var(--bone-faint); }
.nav__name { color: var(--bone-dim); min-width: 12ch; }
.nav__cta { justify-self: end; }
.nav__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.nav__progress i { display: block; height: 100%; background: var(--bone); transform-origin: left; transform: scaleX(0); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; padding: 12px 20px;
  transition: background .4s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out);
}
.btn--ghost { border: 1px solid var(--bone-faint); background: rgba(7,7,8,0.55); }
.btn--ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn--solid { border: 1px solid var(--bone); background: var(--bone); color: var(--ink); justify-content: center; padding: 16px 22px; }
.btn--solid:hover { background: transparent; color: var(--bone); }

/* Chapter rail */
.rail {
  position: fixed; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; gap: 14px;
}
.rail button {
  position: relative; width: 22px; height: 14px; padding: 0; border: 0; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: flex-end;
}
.rail button::after { content: ""; width: 10px; height: 1px; background: var(--bone-faint); transition: width .5s var(--ease-out), background .5s; }
.rail button.is-active::after { width: 22px; background: var(--bone); }
.rail button span {
  position: absolute; right: 34px; white-space: nowrap; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transform: translateX(6px); transition: opacity .4s, transform .4s var(--ease-out); pointer-events: none; color: var(--bone-dim);
}
.rail button:hover span, .rail button:focus-visible span { opacity: 1; transform: none; }

/* ───────── Hero ───────── */
.hero {
  min-height: 100vh; min-height: 100svh; position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-inline: var(--gutter); padding-block: 110px 36px;
}
.hero__meta {
  position: absolute; top: 96px; left: var(--gutter); right: var(--gutter);
  display: flex; gap: 32px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dim);
}
.hero__title {
  margin: 0; font-weight: 700; line-height: 0.86; letter-spacing: -0.02em;
  font-size: clamp(46px, 10.4vw, 188px); font-variation-settings: "wdth" 112;
  text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: block; transform: translateY(42%); }
.is-ready .hero__title .line > span { animation: rise 1.1s var(--ease-out) both; }
.is-ready .hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__meta, .hero__lede, .hero__status, .nav > * { opacity: 0; }
.is-ready .hero__meta, .is-ready .hero__lede, .is-ready .hero__status, .is-ready .nav > * { animation: fadeUp 1s var(--ease-out) .3s both; }
/* Transform only, starting partly visible: an opacity fade would hide the headline from the browser's "main content painted" metric. */
@keyframes rise { from { transform: translateY(42%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__title .line--serif { text-transform: none; font-size: 0.78em; line-height: 1; margin-top: 0.08em; color: var(--bone-dim); }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.hero__lede { max-width: 38ch; margin: 0; color: var(--bone-dim); font-size: 16px; }
.scrollcue { display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.scrollcue i { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.scrollcue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--bone); transform: translateY(-100%); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { transform: translateY(275%); } }

/* ───────── Intro ───────── */
.intro { height: 240vh; position: relative; }
.intro__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-inline: var(--gutter);
  max-width: 1400px;
}
.intro__text {
  margin: 0; font-weight: 500; font-variation-settings: "wdth" 88;
  font-size: clamp(28px, 3.5vw, 58px); line-height: 1.06; letter-spacing: -0.015em; max-width: 19ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.5);
}
.intro__text .w { opacity: 0.14; transition: none; }

/* ───────── Chapters ───────── */
.chapter { height: 560vh; position: relative; }
.chapter__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  padding-inline: var(--gutter); padding-block: 92px 28px;
  display: grid;
  grid-template-columns: minmax(0, 440px) 1fr auto;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "head . ." "steps . swatch" "specs specs specs";
  column-gap: 32px;
}
.chapter__head { grid-area: head; display: flex; gap: 18px; align-items: flex-start; padding-top: 14px; }
.chapter__numeral {
  font-family: var(--f-serif); font-style: italic; font-size: 64px; line-height: .8; color: var(--acc);
  min-width: 1.1em;
}
.chapter__model { margin: 0; font-weight: 700; font-variation-settings: "wdth" 120; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; }
.chapter__origin { margin: 4px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); }

.steps { grid-area: steps; position: relative; align-self: center; min-height: 340px; }
.step {
  position: absolute; left: 0; right: 0; top: 50%;
  opacity: 0; transform: translateY(calc(-50% + 28px)); visibility: hidden;
  transition: opacity .7s var(--ease-out), transform .9s var(--ease-out), visibility 0s .9s;
}
.step.is-active { opacity: 1; transform: translateY(-50%); visibility: visible; transition: opacity .9s var(--ease-out) .12s, transform 1.1s var(--ease-out) .12s, visibility 0s; }
.step.is-past { transform: translateY(calc(-50% - 28px)); }
.step__title {
  margin: 0 0 16px; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em;
  font-size: clamp(32px, 3.9vw, 62px); line-height: .92; font-variation-settings: "wdth" 104;
  text-shadow: 0 2px 30px rgba(0,0,0,.45);
}
.step__title em { text-transform: none; display: inline-block; font-size: 1.08em; color: var(--acc); }
.step__title--sm { font-size: clamp(18px, 1.5vw, 22px); letter-spacing: .02em; font-variation-settings: "wdth" 115; line-height: 1.15; }
.step__body { margin: 0; color: var(--bone-dim); max-width: 40ch; font-size: 16px; text-shadow: 0 1px 18px rgba(0,0,0,.6); }
.step__figure {
  margin: 0 0 8px; display: flex; align-items: baseline; gap: 14px;
  font-weight: 300; font-variation-settings: "wdth" 70; letter-spacing: -0.04em; line-height: .8;
  font-size: clamp(96px, 12vw, 200px); color: var(--bone);
  font-variant-numeric: tabular-nums;
}
.step__figure small { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--acc); font-weight: 500; }

.swatches { grid-area: swatch; align-self: end; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; margin-right: 44px; }
.swatches button {
  display: flex; align-items: center; gap: 12px; flex-direction: row-reverse;
  background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: right;
}
.swatches button::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 0 0 0 var(--bone);
  transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out);
}
.swatches button span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-faint); transition: color .3s; }
.swatches button:hover span { color: var(--bone-dim); }
.swatches button[aria-checked="true"]::before { box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 0 0 2px var(--ink), 0 0 0 3px var(--bone); transform: scale(1.1); }
.swatches button[aria-checked="true"] span { color: var(--bone); }

.specs {
  grid-area: specs; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); padding-top: 16px;
}
.specs div { padding-right: 16px; }
.specs dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-faint); }
.specs dd { margin: 4px 0 0; font-weight: 600; font-variation-settings: "wdth" 110; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }
.specs sup { font-family: var(--f-mono); font-size: 9px; color: var(--acc); letter-spacing: .1em; vertical-align: top; margin-left: 4px; }

/* Hotspots projected from 3D */
.hotspots { position: fixed; inset: 0; z-index: 4; pointer-events: none; contain: strict; }
.hotspot {
  position: absolute; left: 0; top: 0; will-change: transform;
  opacity: 0; transition: opacity .6s var(--ease-out);
}
.hotspot.is-on { opacity: 1; }
.hotspot__dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--bone); box-shadow: 0 0 0 4px rgba(236,231,221,.18); }
.hotspot__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--bone); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }
.hotspot__line { position: absolute; left: 0; top: 0; width: 64px; height: 1px; background: var(--bone-faint); transform-origin: left; transform: rotate(-40deg); }
.hotspot__label {
  position: absolute; left: 50px; top: -62px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 10px; border: 1px solid var(--line); background: rgba(7,7,8,.82);
}
.hotspot__label b { display: block; font-family: var(--f-display); font-size: 13px; letter-spacing: .04em; font-weight: 600; margin-top: 2px; }

/* ───────── Line-up ───────── */
.lineup { height: 300vh; position: relative; }
.lineup__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  padding-inline: var(--gutter); padding-block: 96px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.lineup__title { margin: 0; font-weight: 700; text-transform: uppercase; font-size: clamp(34px, 5.2vw, 88px); line-height: .9; font-variation-settings: "wdth" 110; letter-spacing: -.015em; }
.lineup__title em { text-transform: none; color: var(--bone-dim); }
.table { background: linear-gradient(to top, rgba(7,7,8,.97), rgba(7,7,8,.86)); border-top: 1px solid var(--line); }
.table__row { display: grid; grid-template-columns: 150px repeat(3, 1fr); gap: 20px; padding: 13px 4px; border-bottom: 1px solid var(--line); align-items: center; }
.table__row > span { font-size: 14px; }
.table__row [role="rowheader"] { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-faint); }
.table__row--head [role="columnheader"] { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-variation-settings: "wdth" 120; font-size: 13px; display: flex; align-items: center; gap: 10px; }
.table__row--head [role="columnheader"]:not(:empty)::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.table__row--bars [role="cell"] { display: flex; align-items: center; gap: 12px; }
.table__row--bars i { height: 6px; flex: 0 0 auto; width: calc(var(--v) / 612 * 70%); background: var(--acc); transform-origin: left; transform: scaleX(var(--bar, 0)); }
.table__row--bars b { font-weight: 300; font-variation-settings: "wdth" 70; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }

/* ───────── Visit ───────── */
.visit { position: relative; padding-inline: var(--gutter); padding-block: 18vh 0; background: linear-gradient(to bottom, transparent, rgba(7,7,8,.88) 22vh, var(--ink) 60vh); }
.visit__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 110px); max-width: 1400px; margin: 0 auto; align-items: start; }
.visit__title { margin: 0 0 22px; font-weight: 700; text-transform: uppercase; font-size: clamp(36px, 5vw, 84px); line-height: .9; letter-spacing: -.015em; font-variation-settings: "wdth" 104; }
.visit__title em { text-transform: none; display: block; color: var(--bone-dim); }
.visit__lede { color: var(--bone-dim); max-width: 46ch; font-size: 17px; margin: 0 0 40px; }
.visit__facts { margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.visit__facts dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-faint); margin-bottom: 6px; }
.visit__facts dd { margin: 0; font-size: 14px; }
.visit__facts a { text-decoration: none; border-bottom: 1px solid var(--bone-faint); }

.perimeter { width: min(320px, 100%); height: auto; display: block; overflow: visible; }
.perimeter__ring { fill: none; stroke: var(--bone); stroke-width: 1.2; }
.perimeter__road { fill: none; stroke: var(--bone-faint); stroke-width: .8; stroke-dasharray: 3 4; }
.perimeter__city { fill: var(--bone-dim); }
.perimeter__pin { fill: #e0242e; }
.perimeter__pulse { fill: none; stroke: #e0242e; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(3.4); opacity: 0; } }
.perimeter__label { font-family: var(--f-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; fill: var(--bone-dim); }
.perimeter__label--acc { fill: var(--bone); font-size: 10px; }
.perimeter__label--dim { fill: var(--bone-faint); }

.book { border: 1px solid var(--line); padding: clamp(22px, 3vw, 40px); background: rgba(14,14,16,.7); display: grid; gap: 22px; }
.book__title { margin: 0 0 4px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-variation-settings: "wdth" 118; font-size: 16px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-faint); padding: 0; margin-bottom: 8px; }
.field input:not([type="checkbox"]) {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--bone-faint);
  padding: 8px 0 10px; color: var(--bone); font: inherit; font-size: 17px; border-radius: 0;
  transition: border-color .3s;
}
.field input::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .6; }
.field input:focus { outline: none; border-bottom-color: var(--bone); }
.field input[aria-invalid="true"] { border-bottom-color: #ff6b5e; }
.field--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field--chips legend { width: 100%; }
.field--chips label { position: relative; cursor: pointer; }
.field--chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.field--chips span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--bone-dim); transition: all .3s var(--ease-out); }
.field--chips input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.field--chips input:focus-visible + span { outline: 1.5px solid var(--bone); outline-offset: 3px; }
.book__note { margin: 0; min-height: 1.5em; font-size: 14px; color: var(--bone-dim); }

.footer { margin-top: 18vh; padding-bottom: 28px; }
.footer__mark {
  font-weight: 800; font-variation-settings: "wdth" 125; letter-spacing: .06em; line-height: .8;
  font-size: clamp(64px, 17.2vw, 330px); text-align: center; color: transparent;
  -webkit-text-stroke: 1px var(--bone-faint);
  margin: 0 calc(var(--gutter) * -0.5) 28px; white-space: nowrap; overflow: hidden;
}
.footer__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-faint); border-top: 1px solid var(--line); padding-top: 18px; }
.footer__row a { text-decoration: none; color: var(--bone-dim); }

/* ───────── Responsive ───────── */
@media (max-width: 900px) {
  .grain { display: none; }
  .nav { grid-template-columns: 1fr auto; padding-block: 16px; }
  .nav__chapter { display: none; }
  .rail { display: none; }
  .hero__meta { top: 76px; gap: 10px 20px; }
  .chapter { height: 520vh; }
  .chapter__pin {
    grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto;
    grid-template-areas: "head" "." "steps" "swatch";
    padding-block: 72px 18px;
  }
  .chapter__numeral { font-size: 44px; }
  .steps { align-self: end; min-height: 250px; }
  .step { top: auto; bottom: 0; transform: translateY(24px); }
  .step.is-active { transform: none; }
  .step.is-past { transform: translateY(-24px); }
  .step::before { content: ""; position: absolute; inset: -40px calc(var(--gutter) * -1) -140px; background: linear-gradient(to bottom, transparent, rgba(7,7,8,.85) 40%); z-index: -1; }
  .step__figure { font-size: 92px; }
  .step__body { font-size: 15px; }
  .swatches { flex-direction: row; margin: 16px 0 0; gap: 12px; }
  .swatches button span { display: none; }
  .swatches button::before { width: 26px; height: 26px; }
  .specs { display: none; }
  .lineup__pin { padding-block: 76px 18px; }
  .table__row { grid-template-columns: 76px repeat(3, 1fr); gap: 8px; padding: 10px 0; }
  .table__row > span { font-size: 12px; }
  .table__row--head [role="columnheader"] { font-size: 11px; }
  .table__row--head [role="columnheader"]:not(:empty)::before { display: none; }
  .table__row--bars [role="cell"] { flex-direction: column; align-items: flex-start; gap: 6px; }
  .table__row--bars i { width: calc(var(--v) / 612 * 100%); }
  .table__row--bars b { font-size: 22px; }
  .visit__grid { grid-template-columns: 1fr; }
  .visit__facts { grid-template-columns: 1fr; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .scrollcue i::after, .hotspot__dot::after, .perimeter__pulse, .pending i,
  .hero__title .line > span, .hero__meta, .hero__lede, .hero__status, .nav > * { animation: none; }
  .step, .step.is-active { transition-duration: .01s; transition-delay: 0s; }
}
