/* ============================================================
   LUGNUT — pit-lane instrument cluster, on the web.
   Design language ported 1:1 from the app's DesignSystem/Tokens.swift
   ============================================================ */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/Archivo.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/JetBrainsMono.ttf") format("truetype");
  font-weight: 100 800;
  font-display: swap;
}

/* Animatable custom properties (for gauge sweeps, magnetic buttons) */
@property --pct {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
@property --sweep {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

:root {
  /* Ground */
  --asphalt: #16181C;
  --asphalt-deep: #0E1014;
  --surface: #1E2128;
  --surface-hi: #24272F;
  --sunken: #101216;

  /* Ink */
  --off-white: #EDEEEC;
  --spec-gray: #8A8F98;
  --spec-dim: #5A5F68;

  /* Accents */
  --hi-vis: #FF5B27;
  --hi-vis-bright: #FF7A4D;
  --amber: #FFB000;
  --signal-green: #3CC26B;

  /* Edges */
  --hairline: rgba(255,255,255,.07);
  --hairline-strong: rgba(255,255,255,.12);
  --shadow: rgba(0,0,0,.55);

  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-display: "Archivo", system-ui, sans-serif;

  --icon-radius: 22%;
  --icon-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 2px 8px rgba(0,0,0,.4);

  --wrap: 1180px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --ease-snappy: cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--asphalt-deep);
  color: var(--off-white);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 901px) {
  body:has(.margin-rail) { padding-left: 28px; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
abbr { text-decoration: none; border-bottom: 1px dotted var(--spec-gray); cursor: help; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--hi-vis); color: #000; padding: 10px 16px;
  font-family: var(--font-mono); font-size: 13px;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--hi-vis); outline-offset: 3px; }

/* ============================================================
   MARGIN RAIL + SCROLL PROGRESS
   ============================================================ */
.margin-rail {
  position: fixed; left: 0; top: 0; bottom: 0; width: 28px; z-index: 30;
  display: grid; place-items: center; pointer-events: none;
  border-right: 1px solid var(--hairline);
  background: rgba(14,16,20,.5);
}
.margin-rail span {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em;
  color: var(--spec-dim); white-space: nowrap;
}
.scroll-progress {
  position: fixed; left: 28px; top: 0; width: 2px; height: 0;
  background: var(--hi-vis); z-index: 31; pointer-events: none;
  box-shadow: 0 0 8px rgba(255,91,39,.5);
  transition: height .08s linear;
}

/* ============================================================
   LUGNUT LOCKUP — single brand component
   ============================================================ */
.lugnut-lockup {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--off-white);
}
.lugnut-lockup__icon {
  display: block; flex-shrink: 0;
  border-radius: var(--icon-radius);
  box-shadow: var(--icon-shadow);
}
.lugnut-lockup__word { font-family: var(--font-display); line-height: 1; }
.lugnut-lockup--header .lugnut-lockup__icon { width: 34px; height: 34px; }
.lugnut-lockup--header .lugnut-lockup__word { font-size: 19px; }
.lugnut-lockup--footer .lugnut-lockup__icon { width: 44px; height: 44px; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 3px 12px rgba(0,0,0,.5); }
.lugnut-lockup--footer .lugnut-lockup__word { font-size: 26px; letter-spacing: .08em; }
.lugnut-lockup--sticky .lugnut-lockup__icon { width: 28px; height: 28px; }
.lugnut-lockup--sticky .lugnut-lockup__word { font-size: 15px; }
.lugnut-lockup--sticky { pointer-events: none; }

/* ============================================================
   BACKDROP — blueprint grid + drifting glow + film grain
   ============================================================ */
.backdrop { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: var(--asphalt-deep); }
.backdrop-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}
.backdrop-glow {
  position: absolute; top: -20%; left: 50%; width: 900px; height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,91,39,.16), transparent 60%);
  filter: blur(20px);
  animation: glowDrift 18s ease-in-out infinite alternate;
}
@keyframes glowDrift {
  from { transform: translateX(-60%) translateY(0); }
  to   { transform: translateX(-40%) translateY(60px); }
}
.backdrop-grain {
  position: absolute; inset: 0; opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--hairline);
  background: rgba(14,16,20,.72);
  backdrop-filter: blur(14px) saturate(1.2);
  transition: background .3s, border-color .3s;
}
.site-header.is-scrolled { background: rgba(14,16,20,.94); border-color: var(--hairline-strong); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; padding-left: 8px; }

.header-right { display: flex; align-items: center; gap: 18px; }
.header-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--spec-gray);
}

/* LEDs */
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 8px var(--amber); animation: ledPulse 2s ease-in-out infinite; }
.led--green { background: var(--signal-green); box-shadow: 0 0 8px var(--signal-green); animation: none; }
@keyframes ledPulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ============================================================
   STAMPED PLATE BUTTON — the signature CTA (license-plate metal)
   ============================================================ */
.plate-btn {
  --plate-lift: 0px;
  position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 26px 13px;
  border-radius: var(--r-md);
  background:
    linear-gradient(180deg, var(--hi-vis-bright), var(--hi-vis));
  color: #1a0a03;
  font-family: var(--font-sans); font-weight: 800; letter-spacing: .01em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -2px 4px rgba(120,30,0,.5),
    0 10px 24px rgba(255,91,39,.28),
    0 2px 0 #a63713;
  transform: translateY(var(--plate-lift));
  transition: transform .12s var(--ease-snappy), box-shadow .2s;
  isolation: isolate;
}
.plate-btn::before { /* embossed inner border */
  content: ""; position: absolute; inset: 4px; border-radius: 6px;
  border: 1.5px solid rgba(26,10,3,.35); pointer-events: none;
}
.plate-btn:hover { --plate-lift: -2px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 4px rgba(120,30,0,.5),
    0 16px 34px rgba(255,91,39,.4), 0 2px 0 #a63713; }
.plate-btn:active { --plate-lift: 2px;
  box-shadow: inset 0 2px 6px rgba(120,30,0,.7), 0 4px 12px rgba(255,91,39,.25), 0 0 0 #a63713; }
.plate-btn__cap {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em;
  text-transform: uppercase; opacity: .72;
}
.plate-btn__title { font-size: 17px; line-height: 1.1; }
.plate-btn--sm { padding: 8px 16px 9px; }
.plate-btn--sm .plate-btn__title { font-size: 14px; }
.plate-btn--sm .plate-btn__cap { font-size: 8px; }
.plate-btn--lg { padding: 18px 44px 20px; }
.plate-btn--lg .plate-btn__title { font-size: 22px; }

/* rivets + center bolt */
.plate-btn__rivet, .plate-btn__bolt {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd9c4, #7a2a10 70%);
  box-shadow: inset 0 0 2px rgba(0,0,0,.6);
}
.plate-btn__rivet { width: 6px; height: 6px; }
.plate-btn__rivet--tl { top: 7px; left: 9px; }
.plate-btn__rivet--bl { bottom: 7px; left: 9px; }
.plate-btn__rivet--br { bottom: 7px; right: 9px; }
.plate-btn__bolt { width: 6px; height: 6px; top: 7px; right: 9px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(48px, 8vw, 96px); overflow: clip; }
.hero-watermark {
  position: absolute; top: 50%; right: -6vw; transform: translateY(-50%);
  width: clamp(280px, 42vw, 520px); height: auto; opacity: .06;
  pointer-events: none; z-index: 0; border-radius: var(--icon-radius);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.hero-stage { display: grid; gap: 16px; }

/* Device stage — machined iPhone bezel */
.device-stage { perspective: 1000px; }
.device-stage__bezel {
  position: relative; width: min(280px, 72vw); margin-inline: auto;
  padding: 12px; border-radius: 44px;
  background: linear-gradient(165deg, #2f333c 0%, #14161b 55%, #0a0b0e 100%);
  border: 1px solid var(--hairline-strong);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    inset 0 -12px 24px rgba(0,0,0,.5),
    0 40px 80px rgba(0,0,0,.55);
  transform-style: preserve-3d;
  transition: transform .15s ease-out;
}
.device-stage__bezel::before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 24px; background: #050607; border-radius: 14px; z-index: 3;
}
.device-stage__bezel::after {
  content: ""; position: absolute; inset: 0; border-radius: 44px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.07) 0%, transparent 40%);
}
.device-stage__video {
  width: 100%; height: auto; display: block; border-radius: 34px;
  background: var(--asphalt-deep); aspect-ratio: 640 / 1391; object-fit: cover;
}
.device-stage--cinema .device-stage__bezel { width: min(260px, 68vw); }
.device-stage__caption {
  text-align: center; font-family: var(--font-mono); font-size: 11px;
  color: var(--spec-dim); margin: 0;
}

.fig-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--spec-gray); margin: 0 0 18px;
}
.fig-tag__no {
  color: var(--hi-vis); border: 1px solid rgba(255,91,39,.4);
  padding: 2px 7px; border-radius: 4px; background: rgba(255,91,39,.08);
}

.hero-title {
  font-size: clamp(38px, 6vw, 76px); line-height: .98; letter-spacing: -.02em;
  font-weight: 800; margin: 0 0 22px; text-wrap: balance;
}
.hero-title__hi { display: block; color: var(--hi-vis); }
.hero-lead {
  font-size: clamp(16px, 1.5vw, 19px); color: var(--spec-gray);
  max-width: 34ch; margin: 0 0 30px;
}

.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 28px; }
.ghost-link {
  font-family: var(--font-mono); font-size: 13px; color: var(--spec-gray);
  border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.ghost-link:hover { color: var(--off-white); border-color: var(--hi-vis); }

.spec-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 0; }
.spec-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; color: var(--spec-gray);
}
.spec-chips__icon { border-radius: var(--icon-radius); opacity: .85; }

/* ============================================================
   INSTRUMENT CLUSTER
   ============================================================ */
.cluster { perspective: 1200px; }
.cluster--compact .cluster__panel { padding: 16px 18px; }
.cluster__panel {
  position: relative; padding: 22px;
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, var(--surface-hi), var(--surface)),
    var(--surface);
  border: 1px solid var(--hairline-strong);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    inset 0 -18px 40px rgba(0,0,0,.4),
    0 30px 70px rgba(0,0,0,.55);
}
.cluster__topbar {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--hairline);
}
.cluster__vehicle { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--spec-gray); }
.cluster__nick { font-weight: 700; font-size: 14px; color: var(--off-white); }

.cluster__gauge { width: 100%; height: auto; display: block; }

.cluster__odo {
  display: flex; align-items: baseline; justify-content: center; gap: 10px;
  margin: 6px 0 16px;
}
.cluster__odo-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--spec-dim); }
.cluster__odo-value {
  font-family: var(--font-mono); font-weight: 700; font-size: clamp(28px, 4vw, 40px);
  letter-spacing: .06em; color: var(--off-white);
  background: var(--sunken); padding: 4px 12px; border-radius: var(--r-sm);
  border: 1px solid var(--hairline); box-shadow: inset 0 2px 6px rgba(0,0,0,.6);
  font-variant-numeric: tabular-nums;
}
.cluster__odo-unit { font-family: var(--font-mono); font-size: 12px; color: var(--spec-gray); }

.cluster__mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.mini-gauge {
  background: var(--sunken); border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: 12px 10px; text-align: center; display: grid; justify-items: center; gap: 4px;
}
.mini-gauge__dial {
  width: 46px; height: 46px; border-radius: 50%;
  background:
    radial-gradient(circle, var(--surface) 54%, transparent 55%),
    conic-gradient(var(--tone) calc(var(--pct) * 1%), rgba(255,255,255,.08) 0);
  display: block;
}
.mini-gauge__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--spec-gray); }
.mini-gauge__val { font-size: 12px; font-weight: 700; color: var(--off-white); }
.mini-gauge--active {
  border-color: rgba(255,91,39,.45);
  box-shadow: 0 0 0 1px rgba(255,91,39,.2), inset 0 0 12px rgba(255,91,39,.08);
}
.cluster__hazard { margin-top: 12px; }
.cluster__hazard[hidden] { display: none; }

/* ============================================================
   HAZARD STRIPE BANNER (recall)
   ============================================================ */
.hazard {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 16px; border-radius: var(--r-md); overflow: hidden;
  background: rgba(255,176,0,.1); border: 1px solid rgba(255,176,0,.35);
}
.hazard__stripe {
  position: absolute; inset: 0 auto 0 0; width: 10px;
  background: repeating-linear-gradient(45deg, var(--amber) 0 6px, #1a1300 6px 12px);
  animation: stripeShift 1.4s linear infinite;
}
@keyframes stripeShift { to { background-position: 0 17px; } }
.hazard__icon { color: var(--amber); font-size: 13px; margin-left: 6px; }
.hazard__text {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  color: var(--amber); font-weight: 500;
}
.hazard--inline { margin: 4px 0 18px; }

/* cluster rivets */
.cluster__rivet {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4a4f58, #0c0e12 70%);
  box-shadow: inset 0 0 2px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.05);
}
.cluster__rivet--tl { top: 10px; left: 10px; }
.cluster__rivet--tr { top: 10px; right: 10px; }
.cluster__rivet--bl { bottom: 10px; left: 10px; }
.cluster__rivet--br { bottom: 10px; right: 10px; }

.cluster__caption {
  text-align: center; font-family: var(--font-mono); font-size: 11px;
  color: var(--spec-dim); margin: 14px 0 0;
}

/* ============================================================
   RECALL TICKER
   ============================================================ */
.ticker {
  margin-top: clamp(48px, 7vw, 84px);
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  background: var(--sunken); overflow: hidden; padding: 12px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track {
  display: inline-flex; align-items: center; gap: 26px; white-space: nowrap;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
  color: var(--spec-gray); animation: tickerScroll 42s linear infinite;
}
.ticker__dot { color: var(--hi-vis); }
@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* ============================================================
   SCROLL CINEMA
   ============================================================ */
.cinema { position: relative; }
.cinema-beat {
  min-height: 100vh; min-height: 100dvh;
  display: grid; align-items: center;
  padding: clamp(48px, 8vw, 96px) 0;
}
.cinema-beat--alt {
  background: linear-gradient(180deg, transparent, rgba(30,33,40,.4) 20%, rgba(30,33,40,.4) 80%, transparent);
}
.cinema-beat__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px); align-items: center;
}
.cinema-beat__inner--rev { direction: rtl; }
.cinema-beat__inner--rev > * { direction: ltr; }
.cinema-beat__copy h2 {
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05;
  letter-spacing: -.02em; margin: 0 0 16px;
}
.cinema-beat__copy p { color: var(--spec-gray); font-size: 17px; max-width: 46ch; margin: 0 0 22px; }

/* ============================================================
   FIG SECTIONS (legacy — kept for subpages)
   ============================================================ */
.fig { padding: clamp(64px, 9vw, 120px) 0; }
.fig--alt { background:
  linear-gradient(180deg, transparent, rgba(30,33,40,.35) 12%, rgba(30,33,40,.35) 88%, transparent);
}
.fig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.fig-grid--rev { direction: rtl; }
.fig-grid--rev > * { direction: ltr; }

.fig-copy h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 16px; }
.fig-copy p { color: var(--spec-gray); font-size: 17px; max-width: 46ch; margin: 0 0 22px; }

.spec-list { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.spec-list > div {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 12px 0; border-bottom: 1px solid var(--hairline);
}
.spec-list dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--spec-gray); margin: 0; }
.spec-list dd { margin: 0; font-weight: 600; text-align: right; }

/* Phone shot */
.shot { position: relative; margin: 0; justify-self: center; }
.shot__frame {
  position: relative; width: min(300px, 78vw); padding: 10px;
  border-radius: 40px; background: linear-gradient(160deg, #2a2e37, #14161b);
  border: 1px solid var(--hairline-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 40px 80px rgba(0,0,0,.6);
}
.shot__frame img { width: 100%; height: auto; display: block; border-radius: 30px; }
.shot__frame::before { /* notch */
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #0a0b0e; border-radius: 12px; z-index: 2;
}

.callout {
  position: absolute; z-index: 3;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--off-white); background: rgba(14,16,20,.9); border: 1px solid var(--hi-vis);
  padding: 6px 10px; border-radius: 4px; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,0,0,.5);
}
.callout__line { position: absolute; height: 1px; background: var(--hi-vis); }
.callout--a { top: 22%; right: -14%; }
.callout--a .callout__line { width: 30px; left: -34px; top: 50%; }
.callout--b { bottom: 20%; left: -16%; }
.callout--b .callout__line { width: 30px; right: -34px; top: 50%; }
.callout--c { top: 30%; left: -16%; }
.callout--c .callout__line { width: 30px; right: -34px; top: 50%; }
.callout--d { bottom: 24%; right: -18%; }
.callout--d .callout__line { width: 30px; left: -34px; top: 50%; }

/* ============================================================
   SPECIFICATIONS
   ============================================================ */
.specs { padding: clamp(64px, 9vw, 120px) 0; }
.specs__head { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.02em; margin: 0 0 40px; }

.spec-sheet {
  position: relative; padding: clamp(28px, 4vw, 40px);
  background: linear-gradient(180deg, var(--surface-hi), var(--surface));
  border: 1px solid var(--hairline-strong); border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 60px rgba(0,0,0,.45);
  overflow: hidden;
}
.spec-sheet__stamp {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; color: var(--hi-vis); opacity: .35;
  border: 2px solid var(--hi-vis); padding: 6px 14px; border-radius: 4px;
  transform: rotate(-12deg); pointer-events: none;
}
.spec-sheet__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.spec-sheet__item { padding-right: 12px; }
.spec-sheet__no { font-family: var(--font-mono); font-size: 12px; color: var(--hi-vis); letter-spacing: .1em; }
.spec-sheet__item h3 { font-size: 20px; margin: 8px 0 10px; }
.spec-sheet__item p { color: var(--spec-gray); font-size: 15px; margin: 0; line-height: 1.5; }

/* legacy spec cards */
.specs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spec-card {
  position: relative; padding: 28px 24px 26px;
  background: linear-gradient(180deg, var(--surface-hi), var(--surface));
  border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
}
.spec-card::after { /* corner bevel */
  content: ""; position: absolute; top: 0; right: 0; width: 44px; height: 44px;
  background: linear-gradient(225deg, rgba(255,91,39,.16), transparent 60%);
}
.spec-card__no { font-family: var(--font-mono); font-size: 12px; color: var(--hi-vis); letter-spacing: .1em; }
.spec-card h3 { font-size: 20px; margin: 8px 0 10px; }
.spec-card p { color: var(--spec-gray); font-size: 15px; margin: 0; }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: clamp(64px, 9vw, 120px) 0; text-align: center; }
.cta-inner {
  max-width: 640px; margin-inline: auto;
  background:
    repeating-linear-gradient(45deg, rgba(255,176,0,.05) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, var(--surface-hi), var(--surface));
  border: 1px solid var(--hairline-strong); border-radius: var(--r-lg);
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 70px rgba(0,0,0,.5);
}
.cta-inner .fig-tag { justify-content: center; }
.cta h2 { font-size: clamp(28px, 4vw, 48px); letter-spacing: -.02em; margin: 0 0 12px; }
.cta-lead { color: var(--spec-gray); font-size: 17px; margin: 0 auto 28px; max-width: 42ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--hairline); background: var(--sunken); padding: 48px 0 32px; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { max-width: 42ch; }
.footer-brand p { color: var(--spec-gray); font-size: 14px; margin: 16px 0 18px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; font-family: var(--font-mono); font-size: 13px; }
.footer-nav a { color: var(--spec-gray); transition: color .2s; }
.footer-nav a:hover { color: var(--hi-vis); }

/* VIN plate */
.vin-plate {
  display: inline-flex; align-items: stretch; border-radius: var(--r-sm); overflow: hidden;
  border: 1px solid var(--hairline-strong);
  background: linear-gradient(180deg, #2a2e37, #1a1d23);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  font-family: var(--font-mono);
}
.vin-plate__label { background: var(--hi-vis); color: #1a0a03; font-size: 10px; font-weight: 700; padding: 6px 8px; letter-spacing: .1em; display: grid; place-items: center; }
.vin-plate__code { padding: 6px 12px; font-size: 14px; letter-spacing: .18em; color: var(--off-white); }

.footer-meta {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 11px; color: var(--spec-dim);
}

/* ============================================================
   STICKY CTA BAR
   ============================================================ */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 45;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(14,16,20,.94); border-top: 1px solid var(--hairline-strong);
  backdrop-filter: blur(14px) saturate(1.2);
  padding-left: max(16px, 36px);
}
.sticky-cta[hidden] { display: none; }
.sticky-cta__status {
  flex: 1; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--spec-gray);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-snappy), transform .7s var(--ease-snappy); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   LEGAL / SUPPORT PAGES (shared classes preserved)
   ============================================================ */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; background: var(--asphalt-deep);
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
}
.nav { display: flex; gap: 20px; font-family: var(--font-mono); font-size: 14px; }
.nav a { color: var(--spec-gray); transition: color .2s; }
.nav a:hover { color: var(--hi-vis); }

.legal { max-width: 760px; padding: 60px 0 80px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.02em; margin: 0 0 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--spec-gray); font-size: 16px; }
.legal a { color: var(--hi-vis); }
.legal ul { padding-left: 22px; }
.updated { font-family: var(--font-mono); font-size: 13px; color: var(--spec-dim); }

.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 32px 0; }
.support-card {
  padding: 24px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-hi), var(--surface));
  border: 1px solid var(--hairline);
}
.support-card h3 { margin: 0 0 8px; font-size: 18px; }
.support-card p { color: var(--spec-gray); font-size: 14px; margin: 0 0 14px; }

.btn {
  display: inline-block; padding: 10px 18px; border-radius: var(--r-md);
  background: var(--hi-vis); color: #1a0a03; font-weight: 700; font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}

/* 404 */
.error-page { min-height: 80vh; display: grid; place-content: center; text-align: center; gap: 10px; padding: 40px; }
.error-code { font-family: var(--font-mono); font-size: clamp(64px, 16vw, 140px); color: var(--hi-vis); margin: 0; line-height: 1; letter-spacing: .04em; }
.error-page h1 { font-size: clamp(28px, 4vw, 40px); margin: 0; }
.error-page p { color: var(--spec-gray); max-width: 42ch; margin: 0 auto 18px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .margin-rail { display: none; }
  .scroll-progress { left: 0; }
  .header-inner { padding-left: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { order: -1; max-width: 400px; margin-inline: auto; width: 100%; }
  .cinema-beat__inner, .cinema-beat__inner--rev { grid-template-columns: 1fr; direction: ltr; }
  .cinema-beat__inner .device-stage { order: -1; }
  .spec-sheet__grid { grid-template-columns: 1fr; }
  .fig-grid, .fig-grid--rev { grid-template-columns: 1fr; direction: ltr; }
  .fig-grid--rev .shot { order: -1; }
  .specs__grid { grid-template-columns: 1fr; }
  .callout { display: none; }
  .sticky-cta { padding-left: 16px; }
}
@media (max-width: 560px) {
  .header-status { display: none; }
  .hero-lead { max-width: none; }
  .footer-meta { flex-direction: column; }
  .sticky-cta__status { display: none; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .device-stage__bezel { transform: none !important; }
  .ticker__track { animation: none !important; }
}
