/* AFTERHOURS · design direction C (Bang & Olufsen / Porsche grammar), on the scroll-site-studio engine
   - Type: Inter Tight for display and text (sentence case, tight tracking); Archivo widened for the small
     tracked labels only. No uppercase anywhere else.
   - Rhythm: dark film chapters (Night) alternate with cream commerce bands (Bone, .theme-alt).
   - Near-monochrome: red lives in the logo and the light in the photography, nowhere in the interface.
   - Photos inside the content width share one large radius; full-bleed film stays square.
   - Controls: pill buttons (cream on dark, ink on cream), round swatches, 12px fields. */

:root {
  --r: clamp(18px, 1rem + 0.9vw, 28px);
  --hairline: color-mix(in srgb, currentColor 16%, transparent);
  --soft: color-mix(in srgb, var(--color-fg) 72%, transparent);
  --label-font: "Archivo", "Inter Tight", system-ui, sans-serif;
  color-scheme: dark;
}
.theme-alt { color-scheme: light; }
/* derived colours are recomputed inside the cream bands, otherwise they keep the dark page's light values */
.theme-alt { --soft: color-mix(in srgb, var(--color-fg) 72%, transparent); }
picture { display: contents; }
picture > source { display: none; }   /* a <source> must not take a grid cell once <picture> is layout-transparent */
/* Focus clearance: Chrome scrolls a focused text box by its caret, so the offset also covers field padding (WCAG 2.4.11) */
html { scroll-padding-top: calc(var(--header-h) + 1.5rem); }

/* ---------- Type ---------- */
body { font-size: 1.0625rem; line-height: 1.6; letter-spacing: -0.005em; }
h1, h2, h3 { font-weight: 500; text-transform: none; letter-spacing: -0.02em; }
.label {
  font-family: var(--label-font); font-variation-settings: "wdth" 115; font-weight: 500;
  font-size: 0.75rem; line-height: 1.2; letter-spacing: 0.14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-fg) 58%, transparent);
}
.display { font-size: clamp(2.4rem, 1.3rem + 3.3vw, 4rem); line-height: 1.06; letter-spacing: -0.03em; font-weight: 500; }
.display-s { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.75rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 500; }
.label + .display, .label + .display-s, .label + h2 { margin-top: 0.9rem; }
.lede { font-size: 1.25rem; line-height: 1.5; color: var(--soft); max-width: 42ch; }
::selection { background: var(--color-fg); color: var(--color-bg); }

/* ---------- Header ---------- */
.site-header {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-m);
  background: color-mix(in srgb, var(--color-bg) 70%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-fg) 7%, transparent);
}
.brand { display: grid; justify-items: center; gap: 5px; line-height: 0; text-decoration: none; color: var(--color-fg); transition: opacity 0.15s ease-out; }
.brand:hover { opacity: 0.75; transition-duration: 0.25s; }
.logo { height: 0.95rem; width: auto; }
.logo-mark { fill: var(--color-accent); }
.logo-word { fill: currentColor; }
.brand-sub { font-family: var(--label-font); font-variation-settings: "wdth" 115; font-size: 0.5625rem; line-height: 1; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-fg) 55%, transparent); }
.site-header nav.nav-primary { display: flex; gap: var(--space-l); justify-self: start; }
.nav-link { font-size: 0.875rem; text-decoration: none; color: color-mix(in srgb, var(--color-fg) 78%, transparent); transition: color 0.15s ease-out; }
.nav-link:hover { color: var(--color-fg); transition-duration: 0.25s; }
.nav-actions { display: flex; align-items: center; gap: var(--space-m); justify-self: end; }
@media (max-width: 1023px) { .site-header nav.nav-primary, .nav-hide-s { display: none; } .site-header { grid-template-columns: auto 1fr auto; } .brand { justify-self: start; justify-items: start; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.75rem;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  font: 600 0.875rem/1 var(--font-body); letter-spacing: -0.005em;
  transition: background-color 0.15s ease-out, color 0.15s ease-out, box-shadow 0.15s ease-out;
}
.btn-solid { background: var(--color-fg); color: var(--color-bg); }
.btn-solid:hover { background: color-mix(in srgb, var(--color-fg) 82%, var(--color-bg)); transition-duration: 0.25s; }
.btn-cream { background: #f3f1eb; color: #101114; }
.btn-cream:hover { background: #ffffff; transition-duration: 0.25s; }
.btn-ghost { color: #f3f1eb; box-shadow: inset 0 0 0 1px rgb(243 241 235 / 0.5); background: rgb(16 17 20 / 0.18); backdrop-filter: blur(8px); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px #f3f1eb; background: rgb(16 17 20 / 0.35); transition-duration: 0.25s; }
.btn-line { color: var(--color-fg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-fg) 35%, transparent); background: transparent; }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--color-fg); transition-duration: 0.25s; }
.btn-small { min-height: 2.5rem; padding: 0 1.15rem; font-size: 0.875rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
@media (max-width: 600px) { .actions { flex-direction: column; align-items: stretch; } .actions .btn { width: 100%; } }

/* ---------- 1 · Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 100svh; overflow: hidden; display: grid; align-content: end; justify-items: center; padding: 0 var(--gutter) 7.5rem; text-align: center; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgb(16 17 20 / 0.9), rgb(16 17 20 / 0) 52%), linear-gradient(180deg, rgb(16 17 20 / 0.55), transparent 22%); }
.hero-copy { display: grid; justify-items: center; gap: 1.1rem; }
.hero-title { display: grid; justify-items: center; gap: 1.1rem; font-weight: 500; }
.hero-title .label { color: color-mix(in srgb, var(--color-fg) 82%, transparent); }
.hero-line { font-size: clamp(2.75rem, 1.4rem + 4.6vw, 5rem); line-height: 1.02; }
.hero .actions { margin-top: 0.6rem; justify-content: center; }
.hero-bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 1.75rem; display: flex; justify-content: space-between; align-items: center; padding-top: 1.1rem; border-top: 1px solid rgb(243 241 235 / 0.18); }
.hero-price { color: var(--color-fg); }
@media (max-width: 700px) and (orientation: portrait) {
  .hero { padding-bottom: 6.5rem; }
  .hero-media img { object-position: 50% 45%; }
  .hero-scroll { display: none; } .hero-bar { justify-content: center; }
}

/* ---------- 2 · Buy box (cream) ---------- */
.buybox { padding-block: clamp(4.5rem, 3rem + 5vw, 7.5rem); }
.buy-layout { display: grid; gap: var(--space-xl); align-items: center; }
@media (min-width: 960px) { .buy-layout { grid-template-columns: 1.35fr 1fr; gap: clamp(2.5rem, 1rem + 4vw, 5rem); } }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.g-big { grid-column: 1 / -1; } .g-big img { aspect-ratio: 16 / 9; }
.g-sm img { aspect-ratio: 4 / 3; }
.buy-panel { display: grid; justify-items: start; }
.buy-intro { margin-top: 1rem; color: var(--soft); max-width: 38ch; }
.price { margin-top: 1.75rem; font-size: 1.75rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.price-note { margin-top: 0.25rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-fg) 60%, transparent); }
.buy-panel .actions, .spec-panel .actions { margin-top: 1.5rem; }
.checks { list-style: none; margin: 1.75rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; font-size: 0.875rem; color: var(--soft); width: 100%; }
.checks li::before { content: "✓"; margin-right: 0.5em; color: var(--color-fg); }

/* ---------- 3 · Engineering film chapter (expand) ---------- */
.film .expand-copy { justify-self: start; align-self: end; text-align: left; max-width: 34rem; margin: 0 0 clamp(3rem, 9svh, 6rem); padding: 0 var(--gutter); display: grid; gap: 1rem; color: var(--color-fg); }
.film .expand-copy p:not(.label) { color: var(--soft); }
.film .expand-media::after { background: linear-gradient(0deg, rgb(16 17 20 / 0.85), transparent 55%), linear-gradient(90deg, rgb(16 17 20 / 0.55), transparent 60%); }
.film .expand-copy h2 { font-size: clamp(2.4rem, 1.3rem + 3.3vw, 4rem); }

/* ---------- 4 · Statement ---------- */
.statement { gap: 1.5rem; padding-block: var(--space-2xl); }
.statement-text { font-weight: 500; font-size: clamp(2rem, 1.1rem + 3vw, 3.75rem); line-height: 1.12; letter-spacing: -0.03em; max-width: 20ch; }
.statement-sub { color: color-mix(in srgb, var(--color-fg) 62%, transparent); max-width: 52ch; margin-inline: auto; }
/* the statement's proof: a wide photo under the words (it replaces the empty half of a 100svh screen) */
.statement:has(.statement-photo) { min-height: 0; }
.statement-photo { margin: var(--space-xl) auto 0; width: min(100%, 64rem); }
.statement-frame { overflow: hidden; border-radius: var(--r); }
.statement-frame img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.statement-photo figcaption { margin-top: 0.9rem; text-align: left; font-size: 0.875rem; color: var(--soft); }

/* ---------- 5 · The turn (pre-rendered 180° turntable, engine sequence) ---------- */
.turn { position: relative; min-height: 100svh; display: grid; align-content: end; overflow: clip; isolation: isolate; padding-block: calc(var(--header-h) + var(--space-l)) clamp(3rem, 10svh, 7rem); }
.turn-media { position: absolute; inset: 0; z-index: -1; }
.turn-media > img, .turn-media > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.turn-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(16 17 20 / 0.82), transparent 42%); }
.turn-copy p:not(.label) { color: var(--soft); max-width: 34ch; margin-top: 1rem; }
.turn-copy h2 { font-size: clamp(2.4rem, 1.3rem + 3.3vw, 4rem); line-height: 1.06; letter-spacing: -0.03em; max-width: 12ch; }
@media (max-width: 899px), (max-height: 519px) {
  .turn { min-height: 0; display: block; padding-block: var(--space-2xl) var(--space-xl); }
  .turn-media { position: relative; z-index: auto; margin-inline: var(--gutter); aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; }
  .turn-media::after { display: none; }
  .turn-copy { margin-top: var(--space-l); }
}
/* Near light (depth) and hand-off: keyed on the turn's timeline (sequence.js cues), so they exist only while the
   cues are live (pinned desktop, motion allowed). Red stays light, never a fill. */
.turn-near, .turn-handoff { display: none; }
.cues-live .turn-copy { position: relative; z-index: 1; }
.cues-live .turn-near {
  display: block; position: absolute; z-index: 0; left: 50%; top: 34%; width: 44vw; aspect-ratio: 1; margin-left: -22vw;
  border-radius: 50%; pointer-events: none; filter: blur(18px);
  background: radial-gradient(closest-side, rgb(255 45 32 / 0.32), rgb(255 45 32 / 0.1) 50%, transparent 74%);
}
.cues-live .turn-handoff { display: block; position: absolute; inset: 0; z-index: 2; background: var(--color-bg); pointer-events: none; }

/* ---------- 6 · Under the skin (stack) ---------- */
.under .stack-panel { background: var(--color-bg); }
.under .stack-panel:nth-of-type(even) { background: #16171b; }
.under-copy { display: grid; gap: 1rem; justify-items: start; }
.under .stack-num { display: flex; align-items: baseline; gap: 0.2em; font-weight: 500; line-height: 0.95; letter-spacing: -0.05em; margin-top: 0.4rem; }
.under .num { font-size: clamp(4.25rem, 2rem + 7vw, 8.5rem); font-variant-numeric: tabular-nums; color: var(--color-fg); }
.under .unit { font-size: 1.75rem; color: color-mix(in srgb, var(--color-fg) 55%, transparent); letter-spacing: -0.02em; }
.under-copy h3 { font-size: 1.75rem; letter-spacing: -0.025em; }
.under-copy p:not(.stack-num):not(.label) { color: var(--soft); max-width: 38ch; }
.under-copy .btn { margin-top: 0.75rem; }
.under .stack-inner img { border-radius: var(--r); aspect-ratio: 4 / 3; height: auto; max-height: none; }

/* ---------- 7 · Into the seat ---------- */
.seat { position: relative; min-height: 100svh; overflow: clip; display: grid; align-content: end; isolation: isolate; }
.seat-media { position: absolute; inset: 0; z-index: -1; }
.seat-media > img, .seat-media > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seat-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(16 17 20 / 0.8), transparent 50%); }
.seat-clip { display: none; padding: 0; }
.seat-clip .clip-frame { border-radius: var(--r); }
@media (max-width: 899px) {
  .seat { min-height: 0; display: block; padding-block: var(--space-2xl) var(--space-xl); }
  .seat-media { display: none; }
  .seat-clip { display: grid; padding-inline: var(--gutter); }
  .seat .seat-beats { padding-top: var(--space-l); padding-bottom: 0; }
}
.seat .seat-beats { list-style: none; margin: 0; padding: 0 var(--gutter) clamp(3rem, 10svh, 7rem); display: grid; gap: 0.35rem; }
.seat-beats li { font-weight: 500; line-height: 1.04; letter-spacing: -0.03em; font-size: clamp(2.2rem, 1.3rem + 3.2vw, 4.5rem); }

/* ---------- 7b · Tonight's circuit: a row of driver's views drifting sideways (scrub, ≥900 × 520 with motion);
   a plain list everywhere else, so nothing is ever cut off when the row doesn't move ---------- */
.circuits { padding-block: clamp(4.5rem, 3rem + 5vw, 8rem); overflow: clip; }
.circuits-head { display: grid; gap: 1rem; }
.circuits-head p:not(.label) { color: var(--soft); max-width: 38ch; }
.circuits .circuits-row { list-style: none; margin: var(--space-xl) 0 0; padding: 0 var(--gutter); display: grid; gap: var(--space-l); }
.circuit-media { position: relative; overflow: hidden; border-radius: var(--r); perspective: 700px; }
.circuit picture { display: block; }
/* hover: the 3D landscape gives way to the 2D track map, which rises out of it and lies flat (mouse only) */
.circuit-trace { position: absolute; inset: 0; display: grid; place-items: center; padding: 10% 14%; background: rgb(16 17 20 / 0.8);
  opacity: 0; pointer-events: none; transition: opacity 0.15s ease-in; }
.circuit-trace img { width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 100%;
  transform: translateY(22%) rotateX(58deg) scale(0.82); transition: transform 0.15s ease-in; }
.circuit picture img { transition: transform 0.15s ease-in; }
@media (hover: hover) and (pointer: fine) {
  .circuit:hover .circuit-trace { opacity: 1; transition: opacity 0.25s cubic-bezier(.215, .61, .355, 1); }
  .circuit:hover .circuit-trace img { transform: none; transition: transform 0.25s cubic-bezier(.215, .61, .355, 1); }
  .circuit:hover picture img { transform: scale(1.05); transition: transform 0.25s cubic-bezier(.215, .61, .355, 1); }
}
@media (prefers-reduced-motion: reduce) {
  .circuit-trace img, .circuit:hover .circuit-trace img, .circuit:hover picture img { transform: none; }
}
.circuit picture img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.circuit-meta { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.circuit-map { flex: none; width: 6.5rem; height: 3.75rem; object-fit: contain; object-position: left center; }
.circuit-name { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; }
.circuit-when { margin-top: 0.15rem; color: var(--soft); font-size: 0.875rem; }
@media (min-width: 768px) { .circuits-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .circuits-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) and (min-height: 520px) {
  .motion .circuits-row:not(.scene-off) { display: flex; width: max-content; gap: 2vw; }
  .motion .circuits-row:not(.scene-off) .circuit { flex: none; width: 27vw; }
}

/* ---------- 8 · Craft (cream): a staggered collage, not a row of boxes ---------- */
.craft { padding-block: clamp(4.5rem, 3rem + 5vw, 8rem); overflow: clip; }
.craft h2 { max-width: 16ch; }
.craft-list { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; gap: var(--space-xl); }
.feature-media { overflow: hidden; border-radius: var(--r); }
.feature-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.craft-wide .feature-media img { aspect-ratio: 3 / 2; }
.craft-n { margin-top: 1.1rem; font-size: 1.75rem; font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.craft-item p:not(.craft-n) { margin-top: 0.5rem; color: var(--soft); max-width: 30ch; font-size: 0.875rem; }
@media (min-width: 900px) {
  .craft-list { grid-template-columns: repeat(12, 1fr); gap: 0 var(--space-m); align-items: start; }
  .craft-item { grid-row: 1; }
  .craft-item:nth-child(1) { grid-column: 1 / span 5; }
  .craft-item:nth-child(2) { grid-column: 7 / span 3; margin-top: 18svh; }
  .craft-item:nth-child(3) { grid-column: 10 / span 3; margin-top: -2svh; }
  .craft-item.craft-wide { grid-column: 4 / span 7; grid-row: 2; margin-top: var(--space-xl); }
}

/* ---------- 10b · Built by day. Raced after hours. (cut): copy low-left on a deep gradient, push anchored high ---------- */
.brand-cut .cut-copy { justify-self: start; align-self: end; text-align: left; max-width: 48rem; display: grid; gap: 1rem; color: var(--color-fg); margin-bottom: clamp(2.5rem, 8svh, 5.5rem); }
.brand-cut .cut-copy p:not(.label) { max-width: 40ch; }
.brand-cut .cut-copy p:not(.label) { color: var(--soft); }
.brand-cut .cut-line { display: block; }
.motion .brand-cut:not(.scene-off) .cut-layer { transform-origin: 60% 6%; }
.motion .brand-cut:not(.scene-off) .cut-frame::after { background: linear-gradient(0deg, rgb(16 17 20 / 0.92), rgb(16 17 20 / 0.35) 45%, rgb(16 17 20 / 0.1) 70%); }
.brand-cut .cut-layer img { object-position: 50% 0%; }
@media (max-width: 899px) { .motion .brand-cut:not(.scene-off) .cut-layer img { object-position: 46% 50%; } }

/* ---------- 10c · Where it started: two pictures at two depths ---------- */
.story { padding-block: clamp(4.5rem, 3rem + 5vw, 8rem); overflow: clip; }
.story-head { display: grid; gap: 1rem; max-width: 44rem; }
.story-head p:not(.label) { color: var(--soft); max-width: 46ch; }
.story .story-grid { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; gap: var(--space-xl); }
.story-item picture { display: block; overflow: hidden; border-radius: var(--r); }
.story-item img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.story-item p { margin-top: 0.9rem; font-size: 0.875rem; color: var(--soft); max-width: 44ch; }
@media (min-width: 900px) {
  .story .story-grid { grid-template-columns: repeat(12, 1fr); gap: 0 var(--space-m); align-items: start; }
  .story-item:nth-child(1) { grid-column: 1 / span 7; grid-row: 1; }
  .story-item:nth-child(2) { grid-column: 8 / span 5; grid-row: 1; margin-top: 20svh; }
  .story-item:nth-child(3) { grid-column: 3 / span 6; grid-row: 2; margin-top: var(--space-xl); }
}

/* ---------- 9 · Configure (cream, finish scene) ---------- */
.spec { padding-block: calc(var(--header-h) + var(--space-l)) var(--space-xl); min-height: 100svh; display: grid; align-content: center; }
.spec-layout { display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 960px) { .spec-layout { grid-template-columns: 1.45fr 1fr; gap: clamp(2.5rem, 1rem + 4vw, 5rem); } }
.spec-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: #1a1c20; }
.spec-zoom { position: absolute; inset: 0; }
.spec-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spec-layer:not(.spec-default) { display: none; }
.finish-live .spec-layer { display: block; opacity: 0; transition: opacity calc(0.45s * var(--motion-speed, 1)) cubic-bezier(.33, 0, .2, 1); }
.finish-live .spec-layer.is-on { opacity: 1; }
.spec.is-loading .spec-stage { cursor: progress; }
@media (prefers-reduced-motion: reduce) { .finish-live .spec-layer { transition-duration: 0.15s; } }
.spec-panel { display: grid; gap: 1.25rem; justify-items: start; }
.spec-panel .label { margin-bottom: -0.4rem; }
.spec-panel h2 { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.75rem); }
.spec-intro { color: var(--soft); }
.spec-panel .price { margin-top: 0.25rem; }
.spec-panel .checks { margin-top: 0.5rem; }
.spec-selected { color: color-mix(in srgb, var(--color-fg) 62%, transparent); font-size: 0.875rem; min-height: 1.6em; }
.spec-group { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.spec-group legend { font-family: var(--label-font); font-variation-settings: "wdth" 115; font-weight: 500; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--color-fg) 58%, transparent); margin-bottom: 0.6rem; padding: 0; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 0.55em; cursor: pointer;
  min-height: 2.75rem; padding: 0 1.05em 0 0.5em; font-size: 0.875rem; font-weight: 500;
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hairline);
  transition: box-shadow 0.15s ease-out;
}
.chip:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-fg) 45%, transparent); }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--color-fg); }
.chip:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.swatch { width: 1.75rem; height: 1.75rem; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.14); }
.sw-gloss     { background: repeating-linear-gradient(45deg, #2a2d33 0 3px, #15171b 3px 6px); }
.sw-satin     { background: repeating-linear-gradient(45deg, #24262a 0 3px, #1a1b1e 3px 6px); }
.sw-forged    { background: radial-gradient(circle at 30% 30%, #3a3d44, transparent 35%), radial-gradient(circle at 70% 65%, #30333a, transparent 30%), #16181c; }
.sw-silver    { background: linear-gradient(90deg, #8e9297, #d3d6da 45%, #9a9ea3); }
.sw-black     { background: linear-gradient(90deg, #17181b, #34363b 45%, #1b1c1f); }
.sw-gunmetal  { background: linear-gradient(90deg, #4a4e55, #737880 45%, #50545b); }
.sw-night     { background: radial-gradient(circle at 35% 30%, #2a2b2f, #121316 65%); }
.sw-bone      { background: radial-gradient(circle at 35% 30%, #efebe2, #d8d2c4 65%); }
.sw-red       { background: #ff2d20; }
.sw-white     { background: #f3f1eb; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.22); }
.sw-off       { background: transparent; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.35); }

/* ---------- 10 / 12 · Specifications and questions (accordions) ---------- */
.specs, .faq { padding-block: clamp(4.5rem, 3rem + 5vw, 8rem); }
.specs-layout { display: grid; gap: var(--space-l); }
@media (min-width: 960px) { .specs-layout { grid-template-columns: 1fr 1.7fr; gap: clamp(2.5rem, 1rem + 4vw, 5rem); align-items: start; } .specs-head { position: sticky; top: calc(var(--header-h) + 2rem); } }
.acc { border-top: 1px solid var(--hairline); }
.acc:last-child { border-bottom: 1px solid var(--hairline); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem 0; cursor: pointer; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.015em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.6rem; font-weight: 300; line-height: 1; color: color-mix(in srgb, var(--color-fg) 55%, transparent); transition: transform 0.2s ease-out; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc summary:hover { color: color-mix(in srgb, var(--color-fg) 82%, transparent); }
.acc dl { display: grid; grid-template-columns: minmax(9rem, 1fr) 2fr; gap: 0.75rem 2rem; margin: 0 0 1.75rem; }
.acc dt { color: color-mix(in srgb, var(--color-fg) 58%, transparent); }
.acc dd { margin: 0; }
.acc > p { margin: 0 0 1.75rem; color: var(--soft); max-width: 60ch; }
@media (max-width: 600px) { .acc dl { grid-template-columns: 1fr; gap: 0.15rem; } .acc dd { margin-bottom: 0.75rem; } }

/* ---------- 11 · Ownership (cream) ---------- */
.ownership { padding-block: clamp(4.5rem, 3rem + 5vw, 8rem); }
.own-layout { display: grid; gap: var(--space-l); }
@media (min-width: 960px) { .own-layout { grid-template-columns: 1fr 1.7fr; gap: clamp(2.5rem, 1rem + 4vw, 5rem); } }
.own-layout h2 { max-width: 14ch; }
.own-row { display: grid; gap: 0.4rem 2rem; padding: 1.6rem 0; border-top: 1px solid var(--hairline); }
.own-row:last-child { border-bottom: 1px solid var(--hairline); }
@media (min-width: 700px) { .own-row { grid-template-columns: minmax(10rem, 1fr) 2fr; } }
.own-row h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
.own-row p { color: var(--soft); }
.own-photo { margin: var(--space-xl) 0 0; }
.own-frame { overflow: hidden; border-radius: var(--r); }
.own-frame img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.own-photo figcaption { margin-top: 0.8rem; font-size: 0.875rem; color: var(--soft); }

/* ---------- 13 · Closing band (framed film still) ---------- */
.closing { padding: 0 var(--gutter) clamp(4.5rem, 3rem + 5vw, 7.5rem); }
.closing-frame { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r); min-height: min(72svh, 46rem); display: grid; place-items: center; text-align: center; }
.closing-media { position: absolute; inset: 0; z-index: -1; }
.closing-media img { width: 100%; height: 100%; object-fit: cover; }
.closing-frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 55% at 50% 50%, rgb(16 17 20 / 0.66), rgb(16 17 20 / 0.42)); }
.closing-copy { display: grid; justify-items: center; gap: 1.25rem; padding: var(--space-xl) var(--gutter); }
.closing-copy .label { color: color-mix(in srgb, var(--color-fg) 82%, transparent); }
.closing .actions { justify-content: center; }

/* ---------- 14 · Consultation (cream) ---------- */
.consultation { padding-block: clamp(4.5rem, 3rem + 5vw, 8rem); }
.close-layout { display: grid; gap: var(--space-xl); }
@media (min-width: 960px) {
  .close-layout { grid-template-columns: 1fr 1.15fr; align-items: start; }
  .close-copy { grid-column: 1; grid-row: 1; }
  .close-layout > .consult { grid-column: 2; grid-row: 1 / span 2; }
  .close-photo { grid-column: 1; grid-row: 2; }
}
.close-copy .lede { margin-top: 1.1rem; }
.next-steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; max-width: 40ch; }
.next-steps li { padding-left: 1rem; border-left: 1px solid var(--color-fg); color: var(--soft); }
.next-steps strong { color: var(--color-fg); font-weight: 600; }
.close-photo { margin: 0; max-width: 34rem; }
.close-photo picture { display: block; overflow: hidden; border-radius: var(--r); }
.close-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.close-photo figcaption { margin-top: 0.8rem; font-size: 0.875rem; color: var(--soft); }
.consult { display: grid; gap: 1.25rem 1.5rem; padding: clamp(1.5rem, 0.8rem + 2vw, 2.75rem); border-radius: var(--r); background: #fbfaf6; box-shadow: 0 1px 0 rgb(0 0 0 / 0.04), 0 20px 60px -30px rgb(0 0 0 / 0.25); }
@media (min-width: 600px) { .consult { grid-template-columns: 1fr 1fr; } }
.consult h3, .field-wide { grid-column: 1 / -1; }
.consult h3 { font-size: 1.75rem; letter-spacing: -0.025em; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.875rem; font-weight: 600; }
.optional { font-weight: 400; color: color-mix(in srgb, var(--color-fg) 55%, transparent); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.1rem; padding: 0.7em 0.95em; border-radius: 12px;
  background: #ffffff; color: var(--color-fg); border: 1px solid color-mix(in srgb, var(--color-fg) 18%, transparent);
  transition: border-color 0.15s ease-out;
}
.field textarea { resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--color-fg) 45%, transparent); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--color-fg); outline: 2px solid var(--color-fg); outline-offset: 2px; }
.field ::placeholder { color: color-mix(in srgb, var(--color-fg) 45%, transparent); opacity: 1; }
.spec-summary { color: color-mix(in srgb, var(--color-fg) 62%, transparent); font-size: 0.875rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.privacy { color: color-mix(in srgb, var(--color-fg) 58%, transparent); font-size: 0.75rem; }

/* ---------- Footer (cream) ---------- */
.site-footer { display: block; padding: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) 0 2.25rem; border-top: 1px solid var(--hairline); font-size: 0.875rem; color: color-mix(in srgb, var(--color-fg) 72%, transparent); }
.footer-grid { display: grid; gap: var(--space-l); grid-template-columns: minmax(0, 1fr); }
.footer-col a, .footer-legal-entity { overflow-wrap: anywhere; }
.news input { min-width: 0; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); } }
.brand-foot { justify-items: start; color: var(--color-fg); }
.footer-legal-entity { margin-top: 1rem; }
.news { display: flex; gap: 0.5rem; margin-top: 1.25rem; max-width: 26rem; }
.news input { flex: 1; min-height: 3rem; padding: 0 1.15rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-fg) 25%, transparent); background: transparent; color: var(--color-fg); }
.news input:focus-visible { outline: 2px solid var(--color-fg); outline-offset: 2px; }
.footer-col { display: grid; gap: 0.45rem; align-content: start; }
.footer-head { margin-bottom: 0.4rem; }
.footer-col a { text-decoration: none; color: var(--color-fg); transition: opacity 0.15s ease-out; }
.footer-col a:hover { opacity: 0.65; transition-duration: 0.25s; }
.footer-base { margin-top: var(--space-xl); padding-top: 1.25rem; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Legal pages ---------- */
.legal { padding-block: calc(var(--header-h) + var(--space-2xl)) var(--space-2xl); max-width: 46rem; }
.legal h1 { font-size: clamp(2.6rem, 1.6rem + 3vw, 4.5rem); }
.legal .lede { margin-block: var(--space-m) var(--space-xl); }
.legal h2 { font-size: var(--step-2); margin-block: var(--space-l) var(--space-xs); }
.legal p:not(.label):not(.eyebrow), .legal li { color: var(--soft); }
.legal a { color: var(--color-fg); }
.legal-list { padding-left: 1.2em; display: grid; gap: var(--space-xs); }
