/* =========================================================
   VELNOR — Roadster landing
   Design tokens → base → components → sections → legal
   ========================================================= */

@property --draw { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --fill { syntax: '<number>'; inherits: true; initial-value: 1; }

:root {
  color-scheme: dark;

  /* palette */
  --bg: #050505;
  --bg-2: #0a0a0b;
  --surface: #101012;
  --surface-2: #16161a;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f2f0eb;
  --text-2: #c9c6be;
  --muted: #8f8c85;
  --accent: #c8a96a;
  --accent-2: #e2c88f;
  --on-accent: #0a0a0a;
  --danger: #ff7a6b;
  --ok: #9fd4a8;

  /* car drawing */
  --car-line: rgba(242, 240, 235, .72);
  --paint: #0d0d0e;
  --caliper: #c8a96a;

  /* type */
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* spacing (spacious scale) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --section-y: clamp(88px, 12vw, 168px);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;

  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* film grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .05;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 12px 18px; background: var(--text); color: var(--bg);
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.svg-defs { position: absolute; overflow: hidden; }

/* hairline column grid in the background */
.grid-lines {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
}
.grid-lines span { border-left: 1px solid rgba(255, 255, 255, .035); }
.grid-lines span:last-child { border-right: 1px solid rgba(255, 255, 255, .035); }
main, .site-footer { position: relative; z-index: 1; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.scroll-progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* icons */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i-lg { width: 28px; height: 28px; }
.i-xl { width: 56px; height: 56px; stroke-width: 1.2; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: .02em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: var(--on-accent); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); background: rgba(255,255,255,.04); }
.btn-sm { --bh: 44px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: none; font-size: inherit; text-align: left; }
.link-btn:hover { color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5, 5, 5, .72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: .28em; }
.logo-mark { width: 26px; height: 26px; color: var(--accent); }
.logo-lg { font-size: 30px; }
.logo-lg .logo-mark { width: 34px; height: 34px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav ul { display: flex; gap: 28px; }
.nav ul a {
  position: relative; display: inline-block; padding: 10px 0;
  font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--text-2); text-decoration: none;
  transition: color .2s var(--ease);
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav ul a:hover, .nav ul a[aria-current="true"] { color: var(--text); }
.nav ul a:hover::after, .nav ul a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; position: relative; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 19px; }
.nav-toggle span:last-child { top: 27px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 40px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background: rgba(5, 5, 5, .97);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav ul a { font-family: var(--font-display); font-size: clamp(36px, 9vw, 56px); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; color: var(--text); padding: 4px 0; }
  .nav ul a::after { display: none; }
  .nav-cta { --bh: 52px; font-size: 15px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Car drawing ---------- */
.car { width: 100%; height: auto; overflow: visible; }
.c-body { fill: var(--paint); fill-opacity: var(--fill); transition: fill .6s var(--ease); }
.c-sheen { fill: url(#sheen); opacity: var(--fill); }
.c-glass { fill: rgba(200, 215, 230, .1); fill-opacity: var(--fill); }
.c-intake { fill: #000; fill-opacity: var(--fill); }
.c-tire { fill: #050505; fill-opacity: var(--fill); }
.c-caliper { fill: var(--caliper); opacity: var(--fill); transition: fill .4s var(--ease); }
.c-light { fill: #f6f1e4; opacity: calc(var(--fill) * .9); }
.c-tail { fill: #c43a2f; opacity: var(--fill); }
.c-stroke {
  fill: none; stroke: var(--car-line); stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1 1; stroke-dashoffset: var(--draw);
}
.c-strong { stroke-width: 1.8; stroke: var(--text); }
.c-faint { stroke: rgba(242, 240, 235, .32); }

/* hero line-draw */
.car-draw { animation: car-draw 2.6s var(--ease-out) .2s both, car-fill 3.2s ease .2s both; }
@keyframes car-draw { from { --draw: 1; } to { --draw: 0; } }
@keyframes car-fill { 0%, 55% { --fill: 0; } 100% { --fill: 1; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  padding: calc(var(--header-h) + clamp(24px, 5vw, 56px)) 0 clamp(32px, 5vw, 56px);
  display: flex; align-items: stretch;
  --mx: 50%; --my: 40%;
  background:
    radial-gradient(600px circle at var(--mx) var(--my), rgba(200, 169, 106, .09), transparent 60%),
    radial-gradient(1200px 500px at 50% 75%, rgba(255, 255, 255, .05), transparent 70%);
}
.hero-bgword {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -38%);
  font-family: var(--font-display); font-weight: 700; font-size: 25vw; line-height: 1; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.hero-inner { position: relative; display: flex; flex-direction: column; gap: clamp(16px, 2.5vw, 28px); }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }
.hero-title {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(56px, 10.5vw, 168px); line-height: .86; letter-spacing: -.01em;
}
.hero-title em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.hero-car { margin: clamp(-48px, -3vw, -12px) calc(var(--gutter) * -0.5) 0; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1.1fr) auto; gap: 32px; align-items: end; }
.hero-lead { max-width: 54ch; color: var(--text-2); font-size: clamp(16px, 1.3vw, 18px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(8px, 2vw, 24px) 0 0;
  border-top: 1px solid var(--line);
}
.stat { padding: 20px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stat dd { margin: 6px 0 0; font-family: var(--font-display); font-size: clamp(36px, 4.4vw, 60px); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.stat small { font-family: var(--font-body); font-size: 15px; color: var(--muted); margin-left: 6px; font-weight: 400; }

@media (max-width: 860px) {
  .hero-meta-right { display: none; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
  .hero-car { margin-left: -8px; margin-right: -8px; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg); position: relative; z-index: 1; }
.marquee-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 34px); text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); white-space: nowrap; }
.marquee i { width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg) 70%); border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 80px); max-width: 860px; }
.section-head-row { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.section-head-row .section-lead { max-width: 44ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.eyebrow b { color: var(--accent); font-weight: 500; }
.eyebrow::after { content: ""; width: 48px; height: 1px; background: var(--line-2); }
.section h2 {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 600;
  font-size: clamp(44px, 7vw, 104px); line-height: .9; letter-spacing: -.005em;
  text-wrap: balance;
}
.section-lead { color: var(--text-2); font-size: clamp(16px, 1.25vw, 19px); max-width: 60ch; }
.fineprint { margin-top: 28px; font-size: 13px; color: var(--muted); max-width: 90ch; line-height: 1.55; }

@media (max-width: 760px) {
  .section-head-row { grid-template-columns: 1fr; }
}

/* ---------- Design / hotspots ---------- */
.hotspot-stage { position: relative; margin: 0 calc(var(--gutter) * -0.5); }
.hotspot { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); z-index: 1; }
.hotspot button {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: transparent; display: grid; place-items: center;
}
.hotspot button::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 6px rgba(200, 169, 106, .18);
  transition: transform .3s var(--ease);
}
.hotspot button::after {
  content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px solid var(--accent);
  animation: pulse 2.4s var(--ease-out) infinite;
}
.hotspot button[aria-expanded="true"]::before { transform: scale(1.25); background: var(--text); }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hotspot-card {
  position: absolute; bottom: calc(100% + 8px); left: 50%; width: min(280px, 70vw);
  padding: 16px 18px; border-radius: var(--radius); background: rgba(16, 16, 18, .94);
  border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  display: grid; gap: 6px; font-size: 14px; color: var(--text-2); line-height: 1.5;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.hotspot-card b { color: var(--text); font-family: var(--font-display); font-size: 20px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.hotspot.is-open { z-index: 3; }
.hotspot.is-open .hotspot-card { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hotspot:first-child .hotspot-card { left: 0; transform: translate(-12%, 8px); }
.hotspot:first-child.is-open .hotspot-card { transform: translate(-12%, 0); }
.hotspot:last-child .hotspot-card { left: auto; right: 0; transform: translate(12%, 8px); }
.hotspot:last-child.is-open .hotspot-card { transform: translate(12%, 0); }

@media (max-width: 760px) {
  /* no transformed ancestors, so the fixed bottom sheet is relative to the viewport */
  .hotspot { transform: none; margin: -22px 0 0 -22px; }
  .js .hotspot-stage.reveal { transform: none; }
  .hotspot button::before { width: 12px; height: 12px; box-shadow: 0 0 0 4px rgba(200, 169, 106, .2); }
  .hotspot button::after { inset: 12px; }
  .hotspot-card,
  .hotspot:first-child .hotspot-card,
  .hotspot:last-child .hotspot-card {
    position: fixed; left: 16px; right: 16px; bottom: 16px; top: auto; width: auto;
    transform: translateY(12px); z-index: 70;
  }
  .hotspot.is-open .hotspot-card,
  .hotspot:first-child.is-open .hotspot-card,
  .hotspot:last-child.is-open .hotspot-card { transform: none; }
}

.design-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(40px, 6vw, 80px); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.note { background: var(--bg); padding: clamp(24px, 3vw, 40px); display: grid; gap: 12px; align-content: start; }
.note-num { color: var(--accent); }
.note h3 { font-family: var(--font-display); font-size: 28px; font-weight: 500; text-transform: uppercase; letter-spacing: .01em; }
.note p { color: var(--text-2); }
@media (max-width: 860px) { .design-notes { grid-template-columns: 1fr; } }

/* ---------- Performance ---------- */
.perf-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.perf-copy { display: grid; gap: 22px; }
.perf-list { margin-top: 12px; border-top: 1px solid var(--line); }
.perf-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.perf-list .mono { color: var(--muted); }
.perf-list b { font-weight: 500; font-size: clamp(16px, 1.4vw, 19px); text-align: right; }

.gauge { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; justify-self: center; }
.gauge svg { width: 100%; height: 100%; }
.gauge circle { fill: none; stroke-width: 10; }
.gauge-track { stroke: var(--line); stroke-dasharray: 75 100; }
.gauge-red { stroke: rgba(196, 58, 47, .55); stroke-dasharray: 0 65 10 25; }
.gauge-fill { stroke: var(--accent); stroke-dasharray: var(--g, 0) 100; stroke-linecap: round; transition: stroke-dasharray 2.2s var(--ease-out); }
.gauge-ticks line { stroke: rgba(242, 240, 235, .4); stroke-width: 1.5; }
.gauge-ticks line.major { stroke: var(--text); stroke-width: 2; }
.gauge-ticks text { fill: var(--muted); font-family: var(--font-mono); font-size: 13px; }
.gauge-readout { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; }
.gauge-readout .mono { color: var(--muted); font-size: 11px; }
.gauge-readout strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(72px, 10vw, 128px); line-height: .9; font-variant-numeric: tabular-nums; }
.gauge-sub { color: var(--danger) !important; }
@media (max-width: 860px) { .perf-grid { grid-template-columns: 1fr; } .gauge { max-width: 360px; } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 2.6vw, 36px); min-height: 260px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s var(--ease), transform .4s var(--ease);
}
.tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px circle at var(--tx, 50%) var(--ty, 0%), rgba(200, 169, 106, .1), transparent 50%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.tile:hover { border-color: var(--line-2); }
.tile:hover::before { opacity: 1; }
.tile .i-lg { color: var(--accent); }
.tile h3 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 26px; letter-spacing: .01em; margin-top: auto; }
.tile p { color: var(--text-2); font-size: 15px; }
.tile-lg { grid-column: span 2; grid-row: span 2; }
.tile-lg h3 { font-size: clamp(30px, 3vw, 44px); }
.tile-wide { grid-column: span 4; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 32px; min-height: 0; }
.tile-wide h3 { margin-top: 0; }
.tile-wide p { flex: 1 1 360px; }
.tile-wide .bar { flex: 1 1 100%; }
.tile-figure { position: absolute; right: clamp(20px, 3vw, 36px); top: clamp(16px, 2vw, 28px); font-family: var(--font-display); font-size: clamp(80px, 10vw, 160px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(242, 240, 235, .18); font-weight: 600; }
.tile-figure small { font-size: .22em; -webkit-text-stroke: 0; color: var(--muted); font-weight: 400; margin-left: 6px; }
.bar { display: flex; gap: 4px; margin-top: 6px; }
.bar span { flex: 0 0 calc(var(--w) - 2px); padding: 10px 12px; border-radius: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }
.bar span:last-child { background: rgba(200, 169, 106, .12); border-color: rgba(200, 169, 106, .3); color: var(--accent-2); }
@media (max-width: 1020px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile-lg { grid-row: auto; } .tile-wide { grid-column: span 2; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .tile-lg, .tile-wide { grid-column: auto; } .tile { min-height: 0; } }

/* ---------- Configurator ---------- */
.config { display: grid; grid-template-columns: 1.6fr .9fr; gap: 24px; align-items: stretch; }
.config-stage {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 20px;
  padding: clamp(24px, 4vw, 56px) clamp(16px, 3vw, 40px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background:
    radial-gradient(70% 60% at 50% 100%, rgba(255, 255, 255, .07), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--bg));
  overflow: hidden; min-height: 380px;
}
.config-stage::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: 22%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.config-name { color: var(--text-2); text-align: center; }
.config-panel { display: flex; flex-direction: column; gap: 28px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { color: var(--muted); margin-bottom: 14px; padding: 0; }
.swatches { display: grid; gap: 8px; }
.swatches-sm { grid-template-columns: repeat(2, 1fr); }
.swatch { position: relative; display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.swatch:hover { border-color: var(--line-2); }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span { width: 34px; height: 34px; border-radius: 50%; flex: none; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), inset 0 8px 14px rgba(255, 255, 255, .12); }
.swatch span.carbon { background: repeating-linear-gradient(45deg, #1c1b19 0 3px, #2b2a27 3px 6px); }
.swatch em { font-style: normal; font-size: 15px; font-weight: 500; }
.swatch:has(input:checked) { border-color: var(--accent); background: rgba(200, 169, 106, .07); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.config-panel .btn { margin-top: auto; }
@media (max-width: 1020px) { .config { grid-template-columns: 1fr; } .config-stage { min-height: 0; } }

/* ---------- Specs ---------- */
.tabs { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; gap: 4px; }
.tabs button { min-height: 44px; padding: 0 26px; border-radius: 999px; border: 0; background: transparent; color: var(--text-2); font-family: var(--font-display); font-size: 20px; letter-spacing: .06em; transition: background-color .25s var(--ease), color .25s var(--ease); }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(24px, 5vw, 80px); margin: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.specs dd { margin: 0; font-size: 17px; }
.spec-panel { animation: fade .45s var(--ease-out); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 860px) { .specs { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .specs div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; border-top: 1px solid var(--line-2); }
.step { position: relative; padding: 32px 28px 0 0; display: grid; gap: 12px; align-content: start; }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); }
.step-num { color: var(--accent); }
.step h3 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 28px; }
.step p { color: var(--text-2); font-size: 15px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-2); margin-left: 4px; }
  .step { padding: 0 0 36px 28px; }
  .step::before { top: 6px; left: -5px; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid > div:first-child { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 32px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; min-height: 44px;
  font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; text-transform: uppercase; letter-spacing: .01em;
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-2); }
.plus { position: relative; width: 36px; height: 36px; flex: none; border: 1px solid var(--line-2); border-radius: 50%; transition: transform .35s var(--ease), border-color .2s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
details[open] .plus { transform: rotate(180deg); border-color: var(--accent); }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-body { padding: 0 56px 28px 0; color: var(--text-2); }
.faq-body a, .form a, .check a { color: var(--accent-2); text-underline-offset: 3px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid > div:first-child { position: static; } .faq-body { padding-right: 0; } }

/* ---------- Reserve / form ---------- */
.reserve { border-top: 1px solid var(--line); background: radial-gradient(900px 500px at 15% 20%, rgba(200, 169, 106, .07), transparent 70%); }
.reserve-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.reserve-copy { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 32px); }
.checks { display: grid; gap: 12px; margin-top: 8px; }
.checks li { display: flex; align-items: center; gap: 12px; color: var(--text-2); }
.checks .i { color: var(--accent); }
.form-card { padding: clamp(24px, 3.4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: 14px; font-weight: 500; color: var(--text-2); }
.field label span[aria-hidden] { color: var(--accent); }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  font-size: 16px; color: var(--text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23c9c6be' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .28); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200, 169, 106, .2); }
.field [aria-invalid="true"], .check input[aria-invalid="true"] { border-color: var(--danger); }
.field-hint { font-size: 13px; color: var(--muted); }
.field-error { font-size: 13px; color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border: 1px solid var(--line-2); border-radius: 6px; background: var(--bg); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--on-accent); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease); }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check label { cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }
.form-note a { color: var(--text-2); }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn-label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { display: grid; justify-items: center; text-align: center; gap: 16px; padding: 48px 8px; outline: none; }
.form-success .i { color: var(--accent); }
.form-success h3 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 40px; }
.form-success p { color: var(--text-2); max-width: 40ch; }
@media (max-width: 1020px) { .reserve-grid { grid-template-columns: 1fr; } .reserve-copy { position: static; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 96px) 0 32px; background: var(--bg); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand p { color: var(--muted); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols h3 { color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.footer-cols ul { display: grid; gap: 4px; }
.footer-cols a, .footer-cols .link-btn { display: inline-block; padding: 6px 0; color: var(--text-2); text-decoration: none; font-size: 15px; transition: color .2s var(--ease); }
.footer-cols a:hover { color: var(--text); }
.footer-word { font-family: var(--font-display); font-weight: 700; font-size: 23vw; line-height: .8; letter-spacing: .02em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .08); margin: clamp(40px, 6vw, 80px) 0 clamp(24px, 3vw, 40px); user-select: none; white-space: nowrap; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom p:last-child { max-width: 70ch; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Cookie consent ---------- */
.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: center;
  padding: 22px 24px; border-radius: var(--radius);
  background: rgba(16, 16, 18, .96); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
  transform: translateY(calc(100% + 24px)); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .4s var(--ease);
}
.cc-banner.is-visible { transform: none; opacity: 1; }
.cc-banner h2 { font-family: var(--font-display); font-weight: 500; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 4px; }
.cc-banner p { font-size: 14px; color: var(--text-2); line-height: 1.5; }
.cc-banner a { color: var(--accent-2); }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-actions .btn { --bh: 46px; padding: 0 20px; font-size: 14px; }
@media (max-width: 760px) { .cc-banner { grid-template-columns: 1fr; } .cc-actions .btn { flex: 1 1 auto; } }

.cc-dialog {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0;
  border: 1px solid var(--line-2); border-radius: calc(var(--radius) + 4px);
  background: var(--surface); color: var(--text);
}
.cc-dialog::backdrop { background: rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cc-dialog[open] { animation: dialog-in .35s var(--ease-out); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.cc-dialog form { display: grid; gap: 0; }
.cc-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.cc-head h2 { font-family: var(--font-display); font-weight: 500; font-size: 26px; text-transform: uppercase; }
.cc-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; }
.cc-close:hover { border-color: var(--text); }
.cc-body { padding: 8px 24px; overflow-y: auto; }
.cc-intro { padding: 12px 0 8px; font-size: 14px; color: var(--text-2); }
.cc-intro a { color: var(--accent-2); }
.cc-cat { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cc-cat:last-child { border-bottom: 0; }
.cc-cat h3 { font-size: 16px; font-weight: 600; }
.cc-cat p { grid-column: 1 / -1; font-size: 13px; color: var(--muted); line-height: 1.5; }
.cc-cat .cc-note { color: var(--accent-2); }
.cc-always { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.switch { position: relative; display: inline-flex; width: 52px; height: 30px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); transition: background-color .25s var(--ease), border-color .25s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--text-2); transition: transform .25s var(--ease), background-color .25s; }
.switch input:checked + span { background: var(--accent); border-color: var(--accent); }
.switch input:checked + span::after { transform: translateX(22px); background: var(--on-accent); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: .5; }
.cc-foot { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding: 18px 24px; border-top: 1px solid var(--line); }
.cc-foot .btn { --bh: 46px; padding: 0 20px; font-size: 14px; }

/* ---------- Legal pages ---------- */
.legal-page .site-header { background: rgba(5, 5, 5, .85); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: var(--text-2); text-decoration: none; }
.back-link:hover { color: var(--text); }
.back-link .i { transform: rotate(180deg); }
.legal-hero { padding: calc(var(--header-h) + clamp(48px, 8vw, 112px)) 0 clamp(32px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: clamp(48px, 8vw, 112px); line-height: .9; margin-top: 20px; }
.legal-hero p { margin-top: 20px; color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(40px, 6vw, 80px) var(--section-y); }
.toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; max-height: calc(100vh - var(--header-h) - 64px); overflow-y: auto; }
.toc h2 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 1px solid var(--line); font-size: 14px; color: var(--text-2); text-decoration: none; transition: color .2s, border-color .2s; }
.toc a:hover, .toc a[aria-current="true"] { color: var(--text); border-left-color: var(--accent); }
.prose { max-width: 760px; color: var(--text-2); font-size: 17px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--font-display); text-transform: uppercase; color: var(--text); font-size: clamp(28px, 3vw, 38px); font-weight: 500; line-height: 1.05; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { color: var(--text); font-size: 19px; font-weight: 600; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .5em; }
.prose a { color: var(--accent-2); text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose .callout { padding: 20px 22px; border: 1px solid rgba(200, 169, 106, .3); background: rgba(200, 169, 106, .06); border-radius: var(--radius-sm); color: var(--text); }
.prose .placeholder { color: var(--accent-2); font-family: var(--font-mono); font-size: .88em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--surface); }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { color: var(--text); }
.legal-footer { padding: 32px 0; border-top: 1px solid var(--line); }
.legal-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.legal-footer a, .legal-footer .link-btn { color: var(--text-2); text-decoration: none; padding: 6px 0; font-size: 13px; }
.legal-footer a:hover, .legal-footer .link-btn:hover { color: var(--text); }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; max-height: none; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .car-draw { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .hotspot button::after { display: none; }
}
