/* ExtremeProjects: dark motorsport theme around the brand red of the logo. */
:root {
  --bg: #07080b;
  --bg-2: #0c0e13;
  --panel: rgba(13, 15, 21, 0.68);
  --panel-strong: rgba(11, 13, 18, 0.86);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #f3f5f9;
  --muted: #a3abba;
  --dim: #6c7484;
  --red: #ff1f2d;
  --red-2: #d10916;
  --red-glow: rgba(255, 31, 45, 0.45);
  --radius: 14px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 76px;
  --font: 'Saira', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

::selection { background: var(--red); color: #fff; }

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

.red { color: var(--red); }

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: var(--bg);
  transition: opacity 0.9s ease, visibility 0.9s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-logo {
  width: min(440px, 76vw);
  animation: loader-draw 1.4s var(--ease) both;
}
.loader-bar {
  width: min(240px, 50vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.loader-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
  transition: width 0.4s ease;
}
.loader-text {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--dim);
}
@keyframes loader-draw {
  from { clip-path: inset(0 100% 0 0); opacity: 0.4; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}

/* ---------- 3D canvas and readability shading ---------- */
#scene {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  display: block;
  z-index: 0;
  touch-action: pan-y;
}
.shade {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 45%, rgba(7, 8, 11, 0.75) 100%);
}
.shade::before,
.shade::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.shade::before { background: linear-gradient(90deg, rgba(7, 8, 11, 0.92) 0%, rgba(7, 8, 11, 0.55) 38%, transparent 62%); }
.shade::after { background: linear-gradient(270deg, rgba(7, 8, 11, 0.92) 0%, rgba(7, 8, 11, 0.55) 38%, transparent 62%); }
html[data-side='left'] .shade::before { opacity: 1; }
html[data-side='right'] .shade::after { opacity: 1; }

html.no-3d #scene { display: none; }
html.no-3d body {
  background:
    radial-gradient(60% 50% at 70% 30%, rgba(255, 31, 45, 0.18), transparent 70%),
    var(--bg);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 var(--gutter);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 8, 11, 0.72);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav-logo img { height: 38px; width: auto; }
.nav-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  font-stretch: 87.5%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0) skewX(-30deg);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1) skewX(-30deg); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: 4px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded='true'] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 32px;
  border: 0;
  border-radius: 4px;
  font: italic 700 15px/1 var(--font);
  font-stretch: 87.5%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transform: skewX(-14deg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}
.btn > span { display: inline-block; transform: skewX(14deg); }
.btn-red {
  background: linear-gradient(180deg, #ff2b38 0%, #d10916 100%);
  box-shadow: 0 12px 34px -12px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-red:hover {
  transform: skewX(-14deg) translateY(-2px);
  box-shadow: 0 18px 44px -10px rgba(255, 31, 45, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  transform: skewX(-14deg) translateY(-2px);
  background: rgba(255, 31, 45, 0.1);
  box-shadow: inset 0 0 0 1px var(--red);
}
.btn-sm { height: 42px; padding: 0 22px; font-size: 13px; }
.btn[aria-disabled='true'] { opacity: 0.55; cursor: default; }

/* ---------- Layout ---------- */
main { position: relative; z-index: 1; }
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.block {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 96px;
}
.split .col { max-width: 580px; }
.split.right .col { margin-left: auto; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.tag b {
  color: var(--red);
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.tag::after {
  content: '';
  width: 38px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  transform: skewX(-30deg);
}
.tag.center { justify-content: center; }

.title,
.hero-title {
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.title { font-size: clamp(2.6rem, 5.6vw, 4.8rem); margin-bottom: 20px; }
.title.huge { font-size: clamp(3rem, 8.4vw, 7.4rem); }
.title .red,
.hero-title .red { text-shadow: 0 0 40px rgba(255, 31, 45, 0.45); }

.lead {
  max-width: 520px;
  font-size: 1.125rem;
  color: var(--muted);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 24px) 0 120px;
}
.hero-inner { position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  transform: skewX(-30deg);
}
.hero-title {
  font-size: clamp(3.4rem, 9.6vw, 8.6rem);
  margin-bottom: 26px;
}
.hero-title .line { display: block; }
.hero-lead {
  max-width: 500px;
  font-size: 1.15rem;
  color: var(--muted);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  padding-left: 8px;
}
.hero-actions.center { justify-content: center; }
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-chips li { display: flex; align-items: center; gap: 10px; }
.hero-chips li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  transform: skewX(-20deg);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dim);
}
.scroll-hint i {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--red), transparent);
  animation: scroll-hint 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-hint {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: rgba(7, 8, 11, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: ticker 36s linear infinite;
}
.ticker span {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
}
.ticker span:nth-of-type(3n + 1) { color: var(--text); -webkit-text-stroke: 0; }
.ticker b {
  width: 22px;
  height: 4px;
  background: var(--red);
  transform: skewX(-30deg);
  box-shadow: 0 0 10px var(--red);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.panel,
.card,
.build {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
}
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}
.card {
  position: relative;
  padding: 20px 20px 22px;
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent 70%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card:hover {
  border-color: rgba(255, 31, 45, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(255, 31, 45, 0.6);
}
.card:hover::before { transform: scaleX(1); }
.icon {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 31, 45, 0.45));
}
.card h3,
.build h3,
.steps h3 {
  margin-bottom: 6px;
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 700;
  font-stretch: 87.5%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card p,
.build p,
.steps p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Drive ---------- */
.block-drive { align-items: flex-end; }
.drive-inner { padding-bottom: 12px; }
.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 56px;
  margin: 34px 0 10px;
}
.specs div { position: relative; padding-left: 18px; }
.specs div::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--red);
  transform: skewX(-14deg);
  box-shadow: 0 0 12px var(--red);
}
.specs dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.specs dd {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

/* ---------- Builds ---------- */
.builds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}
.build {
  position: relative;
  min-height: 190px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s var(--ease);
}
.build-no {
  position: absolute;
  top: 6px;
  right: 14px;
  font-size: 4.4rem;
  font-style: italic;
  font-weight: 900;
  font-stretch: 75%;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
  transition: -webkit-text-stroke-color 0.35s ease, text-shadow 0.35s ease;
}
.build:hover { border-color: rgba(255, 31, 45, 0.45); transform: translateY(-3px); }
.build:hover .build-no { -webkit-text-stroke-color: var(--red); text-shadow: 0 0 24px rgba(255, 31, 45, 0.5); }

/* ---------- Configurator ---------- */
.block-config .split {
  position: relative;
  display: flex;
  align-items: center;
}
.panel.config {
  padding: 28px;
  max-width: 470px;
  background: var(--panel-strong);
}
.config .title { font-size: clamp(2.4rem, 4.4vw, 3.6rem); margin-bottom: 12px; }
.config-intro { font-size: 0.95rem; color: var(--muted); margin-bottom: 22px; }
.opt { margin-bottom: 18px; }
.opt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.opt-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.opt-head span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
}
.opt-head b {
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  position: relative;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c, #333);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), inset 0 -8px 12px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.swatch:hover { transform: scale(1.1); }
.opt-row .swatches { gap: 8px; }
.opt-row .swatch { width: 28px; height: 28px; }
.swatch[aria-pressed='true'] { outline: 2px solid var(--red); outline-offset: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--muted);
  font: italic 700 12px/1 var(--font);
  font-stretch: 87.5%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transform: skewX(-12deg);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.chip > span { display: inline-block; transform: skewX(12deg); }
.chip:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--red); }
.chip[aria-pressed='true'] {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 20px -8px var(--red-glow);
}
.toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 6px 0 22px;
}
.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.toggle span::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 34px;
  height: 18px;
  margin-right: 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1) radial-gradient(circle at 9px 50%, #c9ced8 5px, transparent 6px) no-repeat;
  transition: background 0.25s ease;
}
.toggle input:checked + span { color: var(--text); }
.toggle input:checked + span::before {
  background: var(--red) radial-gradient(circle at 25px 50%, #fff 5px, transparent 6px) no-repeat;
  box-shadow: 0 0 14px -2px var(--red-glow);
}
.toggle input:focus-visible + span::before { outline: 2px solid var(--red); outline-offset: 3px; }

.stage {
  position: absolute;
  top: calc(-1 * (var(--nav-h) + 48px));
  bottom: -96px;
  right: 0;
  width: 52%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.stage.dragging { cursor: grabbing; }
.stage-hint {
  position: absolute;
  left: 50%;
  bottom: 120px;
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(7, 8, 11, 0.6);
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.stage.used .stage-hint { opacity: 0; }
.no3d-note { display: none; font-size: 0.9rem; color: var(--muted); margin-top: 16px; }
html.no-3d .no3d-note { display: block; }
html.no-3d .stage { display: none; }

/* ---------- Process ---------- */
.steps {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(var(--red), rgba(255, 31, 45, 0.05));
}
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 14px 0;
}
.step-no {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 31, 45, 0.6);
  border-radius: 10px;
  background: var(--panel-strong);
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  font-size: 1.15rem;
  color: var(--red);
  box-shadow: 0 0 18px -6px var(--red-glow);
}
.steps li > div {
  padding: 4px 0 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

/* ---------- Contact ---------- */
.block-contact { text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-inner .lead { margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  padding: 70px 0 44px;
  border-top: 1px solid var(--line);
  background: linear-gradient(rgba(5, 6, 8, 0.6), #050608 60%);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.footer-logo { width: 210px; }
.footer-text { font-size: 0.9rem; color: var(--muted); }
.footer-tagline {
  margin-bottom: 8px;
  font-style: italic;
  font-weight: 700;
  font-stretch: 87.5%;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text);
}
.disclaimer { margin-top: 6px; font-size: 0.78rem; color: var(--dim); }

/* ---------- Scroll reveal ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
html.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  :root { --nav-h: 66px; }
  .nav-logo img { height: 32px; }
  .nav-toggle { display: block; }
  .nav-cta { margin-left: auto; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 10px var(--gutter) 22px;
    background: rgba(7, 8, 11, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--red); }

  .shade {
    background:
      linear-gradient(0deg, rgba(7, 8, 11, 0.94) 0%, rgba(7, 8, 11, 0.55) 42%, transparent 64%),
      radial-gradient(120% 90% at 50% 30%, transparent 50%, rgba(7, 8, 11, 0.7) 100%);
  }
  html[data-side] .shade::before,
  html[data-side] .shade::after { opacity: 0; }

  .hero { align-items: flex-end; padding-bottom: 96px; }
  .scroll-hint { display: none; }
  .split .col,
  .split.right .col { max-width: none; margin: 0; }
  .block { align-items: flex-end; padding: 46vh 0 64px; padding: 46svh 0 64px; }
  .block-drive { padding-top: 52svh; }
  .block-contact { align-items: center; padding-top: 40svh; }

  .block-config .split { flex-direction: column-reverse; align-items: stretch; }
  .block-config { padding-top: 0; }
  .stage {
    position: relative;
    top: auto;
    bottom: auto;
    width: 100%;
    height: 48svh;
    margin: 0 calc(-1 * var(--gutter));
    width: calc(100% + 2 * var(--gutter));
  }
  .stage-hint { bottom: 16px; }
  .panel.config { max-width: none; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 600px) {
  .nav-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .features,
  .builds { grid-template-columns: 1fr; }
  .build { min-height: 150px; }
  .hero { padding-bottom: 56px; }
  .hero-title { font-size: clamp(2.8rem, 14vw, 4.4rem); margin-bottom: 18px; }
  .hero-lead { font-size: 1rem; margin-bottom: 26px; }
  .hero-chips { display: none; }
  .eyebrow { margin-bottom: 14px; }
  .btn { height: 50px; padding: 0 24px; font-size: 14px; }
  .opt-row { grid-template-columns: 1fr; gap: 0; }
  .panel.config { padding: 22px 18px; }
  .specs { gap: 14px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker-track { animation: none; }
}

/* ---------- 404 ---------- */
.page-404 {
  background:
    radial-gradient(60% 50% at 50% 20%, rgba(255, 31, 45, 0.16), transparent 70%),
    var(--bg);
}
.logo-404 { width: min(360px, 70vw); margin-bottom: 36px; }
