:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #0a0a0a;
  --fg: #f6f3ee;
  --muted: rgba(246, 243, 238, 0.68);
  --faint: rgba(246, 243, 238, 0.12);
  --line: rgba(246, 243, 238, 0.18);
  --accent: #e10600;
  --accent-soft: rgba(225, 6, 0, 0.28);
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter, "Helvetica Neue", Arial, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 72% 16%, rgba(225, 6, 0, 0.18), transparent 28rem),
    linear-gradient(180deg, #050505 0%, #090909 52%, #111 100%);
  color: var(--fg);
}

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

a {
  color: inherit;
  text-decoration: none;
}

canvas {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 1rem;
  left: 1rem;
  transform: translateY(-180%);
  padding: 0.75rem 1rem;
  background: var(--fg);
  color: var(--bg);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  color: rgba(246, 243, 238, 0.92);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.8), transparent);
  backdrop-filter: blur(12px);
}

.brand {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.16em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-nav a {
  padding-block: 0.35rem;
}

.scroll-hero {
  position: relative;
  height: 400vh;
  background: #020202;
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #020202;
}

#drive-canvas,
#final-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mix-blend-mode: overlay;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 44%, rgba(0, 0, 0, 0.22)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 42%, rgba(0, 0, 0, 0.48));
}

.loading {
  position: absolute;
  z-index: 8;
  left: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 4vw, 3rem);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(246, 243, 238, 0.86);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.loading span {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px var(--accent);
}

.loading.is-hidden {
  opacity: 0;
  transform: translateY(0.75rem);
  pointer-events: none;
}

#hero .loading {
  left: auto;
  right: clamp(3rem, 8vw, 9rem);
  bottom: auto;
  top: 54%;
  transform: translateY(-50%);
}

#hero .loading.is-hidden {
  transform: translateY(calc(-50% + 0.75rem));
}

.hero-copy {
  position: absolute;
  z-index: 5;
  left: clamp(1rem, 6vw, 5.5rem);
  width: min(680px, calc(100% - 2rem));
  pointer-events: none;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.76);
  will-change: opacity, transform;
}

.hero-copy--primary {
  top: clamp(7.5rem, 24vh, 15rem);
}

.hero-copy--secondary {
  right: clamp(1rem, 6vw, 5.5rem);
  bottom: clamp(5rem, 16vh, 10rem);
  left: auto;
  width: min(560px, calc(100% - 2rem));
  text-align: right;
  opacity: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(4rem, 12vw, 10.8rem);
  line-height: 0.86;
  font-weight: 900;
  letter-spacing: 0;
}

#hero .hero-copy--primary {
  width: min(600px, calc(100% - 2rem));
  top: clamp(6.7rem, 21vh, 13.2rem);
}

#hero .hero-copy--primary .eyebrow {
  font-size: 0.84rem;
  margin-left: clamp(0.15rem, 0.8vw, 0.9rem);
}

.hero-bottom-caption {
  position: absolute;
  z-index: 5;
  left: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 4vw, 3rem);
  width: min(860px, calc(100% - 2rem));
  max-width: none;
  margin: 0;
  color: rgba(246, 243, 238, 0.86);
  font-size: clamp(0.88rem, 0.96vw, 1rem);
  font-weight: 700;
  line-height: 1.55;
  white-space: nowrap;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.82);
  will-change: opacity, transform;
}

h2 {
  max-width: 930px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.4rem, 6.4vw, 6.4rem);
  line-height: 0.9;
  font-weight: 850;
  letter-spacing: 0;
}

p {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.65;
}

.hero-copy p {
  color: rgba(246, 243, 238, 0.82);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid rgba(246, 243, 238, 0.78);
  padding: 0.85rem 1.2rem;
  background: rgba(246, 243, 238, 0.94);
  color: #070707;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: auto;
}

.button--inverse {
  border-color: var(--accent);
  background: transparent;
  color: var(--fg);
}

.hero-readout {
  position: absolute;
  z-index: 5;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 4vw, 3rem);
  display: grid;
  gap: 0.55rem;
  width: min(310px, calc(100% - 2rem));
  color: rgba(246, 243, 238, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-readout span {
  border-top: 1px solid rgba(246, 243, 238, 0.24);
  padding-top: 0.65rem;
}

.panel {
  min-height: 92vh;
  padding: clamp(6rem, 10vw, 9rem) clamp(1rem, 5vw, 5rem);
  overflow: hidden;
}

.close {
  background:
    linear-gradient(180deg, rgba(225, 6, 0, 0.08), transparent 34rem),
    var(--panel);
}

.section-head,
.editorial,
.close {
  width: min(var(--maxw), 100%);
  margin-inline: auto;
}

.spec-grid {
  width: min(var(--maxw), 100%);
  margin: clamp(2.5rem, 6vw, 5rem) auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.spec-grid article {
  min-height: 190px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  gap: 0.85rem;
  padding: clamp(1rem, 2vw, 1.4rem);
  background: #070707;
}

.spec-grid span,
.site-footer {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spec-grid strong {
  align-self: center;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0;
}

.machine-showcase {
  --progress: 0;
  position: relative;
  height: 240vh;
  background: #040404;
}

.machine-sticky {
  position: sticky;
  top: 0;
  min-height: 720px;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-content: center;
  padding: clamp(4rem, 7vh, 5.5rem) clamp(1rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 78% 30%, rgba(225, 6, 0, 0.22), transparent 24rem),
    radial-gradient(circle at 20% 84%, rgba(246, 243, 238, 0.08), transparent 30rem),
    linear-gradient(180deg, #100505 0%, #050505 44%, #080808 100%);
}

.machine-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(246, 243, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 243, 238, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: calc(0.14 + var(--progress) * 0.18);
  transform: translate3d(calc(var(--progress) * -28px), calc(var(--progress) * -52px), 0);
}

.machine-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.74), transparent 42%, rgba(5, 5, 5, 0.28)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.38), transparent 44%, rgba(5, 5, 5, 0.7));
}

.machine-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.machine-scan {
  position: absolute;
  right: 6%;
  border: 1px solid rgba(246, 243, 238, 0.16);
  background:
    linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.1), transparent),
    repeating-linear-gradient(
      90deg,
      rgba(246, 243, 238, 0.06) 0 1px,
      transparent 1px 18px
    );
}

.machine-scan--wide {
  top: 18%;
  width: min(780px, 55vw);
  height: 46%;
  transform:
    perspective(900px)
    rotateX(58deg)
    rotateZ(-11deg)
    translateY(var(--parallax-shift, 0px));
}

.machine-scan--thin {
  top: 12%;
  width: min(420px, 32vw);
  height: 76%;
  opacity: 0.42;
  transform:
    skewX(-15deg)
    translate3d(calc(var(--progress) * 56px), var(--parallax-shift, 0px), 0);
}

.machine-vector {
  position: absolute;
  right: clamp(2rem, 10vw, 12rem);
  height: 1px;
  width: min(760px, 56vw);
  background: linear-gradient(90deg, transparent, rgba(246, 243, 238, 0.75), transparent);
  transform-origin: 100% 50%;
}

.machine-vector--one {
  top: 32%;
  transform: rotate(-8deg) translateY(var(--parallax-shift, 0px));
}

.machine-vector--two {
  top: 48%;
  background: linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.9), transparent);
  box-shadow: 0 0 20px rgba(225, 6, 0, 0.44);
  transform: rotate(-1deg) translateY(var(--parallax-shift, 0px));
}

.machine-vector--three {
  top: 66%;
  transform: rotate(9deg) translateY(var(--parallax-shift, 0px));
}

.machine-layout {
  position: relative;
  z-index: 3;
  width: min(1280px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.machine-copy {
  transform: translate3d(0, calc(var(--progress) * -38px), 0);
}

.machine-copy h2 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 6.4vw, 6.2rem);
}

.machine-copy p {
  max-width: 620px;
  color: rgba(246, 243, 238, 0.72);
  font-weight: 650;
}

.machine-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.machine-tags span {
  border: 1px solid rgba(246, 243, 238, 0.18);
  padding: 0.55rem 0.7rem;
  background: rgba(246, 243, 238, 0.04);
  color: rgba(246, 243, 238, 0.76);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.machine-visual {
  position: relative;
  min-height: 360px;
  transform: translate3d(calc(var(--progress) * -18px), 0, 0);
}

.machine-silhouette {
  position: absolute;
  inset: 29% -6% auto 6%;
  height: clamp(180px, 21vw, 270px);
  transform:
    translate3d(calc(var(--progress) * -46px), var(--parallax-shift, 0px), 0)
    skewX(-5deg);
  filter:
    drop-shadow(0 28px 60px rgba(225, 6, 0, 0.22))
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.72));
}

.machine-body,
.machine-roof {
  position: absolute;
  display: block;
  background:
    linear-gradient(90deg, rgba(225, 6, 0, 0.95), rgba(255, 80, 60, 0.52) 58%, rgba(246, 243, 238, 0.16)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent);
}

.machine-body {
  left: 0;
  right: 2%;
  bottom: 24%;
  height: 46%;
  clip-path: polygon(
    1% 66%,
    9% 51%,
    18% 40%,
    33% 32%,
    52% 28%,
    72% 30%,
    88% 40%,
    99% 61%,
    94% 72%,
    73% 78%,
    24% 80%,
    7% 74%
  );
}

.machine-roof {
  left: 27%;
  top: 13%;
  width: 40%;
  height: 34%;
  opacity: 0.86;
  background:
    linear-gradient(90deg, rgba(225, 6, 0, 0.92), rgba(255, 115, 96, 0.34) 64%, rgba(246, 243, 238, 0.18)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent);
  clip-path: polygon(0 91%, 18% 38%, 42% 16%, 70% 24%, 100% 78%, 76% 100%, 12% 100%);
}

.machine-silhouette::before {
  content: "";
  position: absolute;
  left: 35%;
  top: 24%;
  width: 29%;
  height: 20%;
  z-index: 2;
  background: linear-gradient(90deg, rgba(246, 243, 238, 0.5), rgba(246, 243, 238, 0.08));
  clip-path: polygon(0 100%, 22% 18%, 68% 20%, 100% 96%, 75% 100%);
  mix-blend-mode: screen;
  opacity: 0.62;
}

.machine-silhouette::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 5%;
  bottom: 20%;
  height: 4px;
  z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(246, 243, 238, 0.62), rgba(225, 6, 0, 0.9), transparent);
  opacity: 0.72;
}

.machine-wheel {
  position: absolute;
  bottom: 10%;
  width: clamp(58px, 6.6vw, 94px);
  aspect-ratio: 1;
  border: 7px solid rgba(246, 243, 238, 0.92);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(5, 5, 5, 0.98) 0 28%, rgba(246, 243, 238, 0.38) 29% 36%, transparent 37%),
    conic-gradient(from 0deg, rgba(246, 243, 238, 0.9), rgba(5, 5, 5, 0.36), rgba(246, 243, 238, 0.82), rgba(5, 5, 5, 0.45), rgba(246, 243, 238, 0.9));
  box-shadow:
    inset 0 0 0 9px rgba(5, 5, 5, 0.72),
    0 0 26px rgba(246, 243, 238, 0.18);
  transform: rotate(calc(var(--progress) * 140deg));
}

.machine-wheel--front {
  right: 13%;
}

.machine-wheel--rear {
  left: 13%;
}

.machine-light {
  position: absolute;
  right: 5%;
  width: min(420px, 32vw);
  height: 2px;
  background: linear-gradient(90deg, rgba(225, 6, 0, 0.9), transparent);
  box-shadow: 0 0 32px rgba(225, 6, 0, 0.8);
  transform-origin: 0 50%;
}

.machine-light--front {
  top: 48%;
  transform:
    translate3d(calc(var(--progress) * 38px), var(--parallax-shift, 0px), 0)
    rotate(-5deg)
    scaleX(calc(0.45 + var(--progress) * 0.9));
}

.machine-light--rear {
  left: 8%;
  right: auto;
  top: 58%;
  transform:
    translate3d(calc(var(--progress) * -48px), var(--parallax-shift, 0px), 0)
    rotate(8deg)
    scaleX(calc(0.4 + var(--progress) * 0.72));
}

.machine-callout {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 0.25rem;
  min-width: 132px;
  border: 1px solid rgba(246, 243, 238, 0.18);
  padding: 0.85rem 0.95rem;
  background: rgba(5, 5, 5, 0.62);
  backdrop-filter: blur(8px);
  transform: translateY(var(--parallax-shift, 0px));
}

.machine-callout span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.machine-callout strong {
  font-size: 1.7rem;
  line-height: 1;
}

.machine-callout--one {
  right: 4%;
  top: 7%;
}

.machine-callout--two {
  right: -16%;
  bottom: -8%;
}

.machine-specs {
  position: relative;
  z-index: 3;
  width: min(1180px, 100%);
  margin-top: clamp(1.4rem, 3.5vh, 2.5rem);
  border-color: rgba(246, 243, 238, 0.22);
  background: rgba(246, 243, 238, 0.16);
  transform: translate3d(0, calc((1 - var(--progress)) * 34px), 0);
}

.machine-specs article {
  min-height: 152px;
  grid-template-rows: auto minmax(4.8rem, 1fr) auto auto;
  gap: 0.62rem;
  background:
    linear-gradient(180deg, rgba(246, 243, 238, 0.035), transparent),
    rgba(5, 5, 5, 0.64);
  backdrop-filter: blur(10px);
}

.machine-specs strong {
  font-size: clamp(2rem, 4.4vw, 4rem);
}

.machine-specs article::after {
  content: "";
  display: block;
  width: calc(26% + var(--progress) * 68%);
  height: 2px;
  margin-top: 0.55rem;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.machine-specs em {
  margin-top: 0.15rem;
  color: rgba(246, 243, 238, 0.52);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.craft {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: clamp(7.5rem, 11vw, 10rem);
  background:
    radial-gradient(circle at 72% 36%, rgba(225, 6, 0, 0.32), transparent 26rem),
    radial-gradient(circle at 15% 18%, rgba(246, 243, 238, 0.08), transparent 22rem),
    linear-gradient(135deg, #050505 0%, #0b0b0c 48%, #160403 100%);
}

.craft::before,
.craft::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.craft::before {
  inset: 0;
  background:
    linear-gradient(rgba(246, 243, 238, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 243, 238, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 76%, transparent);
  opacity: 0.45;
}

.craft::after {
  right: -10vw;
  bottom: -18vh;
  width: 58vw;
  aspect-ratio: 1.6;
  border: 1px solid rgba(246, 243, 238, 0.14);
  transform: skewX(-18deg) rotate(-5deg);
  background: linear-gradient(120deg, rgba(225, 6, 0, 0.2), transparent 58%);
  filter: blur(0.2px);
}

.craft-layout {
  position: relative;
  z-index: 1;
  width: min(var(--maxw), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(470px, 0.95fr) minmax(360px, 0.9fr);
  gap: clamp(2rem, 4.8vw, 4rem);
  align-items: center;
}

.craft-copy h2 {
  max-width: 760px;
  font-size: clamp(2.4rem, 4.65vw, 5.25rem);
  line-height: 0.92;
}

.editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.copy-columns {
  display: grid;
  gap: 1.4rem;
  padding-top: 0.35rem;
}

.craft-visual {
  position: relative;
  min-height: clamp(420px, 58vh, 620px);
  perspective: 1100px;
}

.craft-plate {
  position: absolute;
  border: 1px solid rgba(246, 243, 238, 0.12);
  transform: rotateX(62deg) rotateZ(-14deg);
  transform-origin: center;
}

.craft-plate--rear {
  inset: 8% 2% 14% 4%;
  background:
    linear-gradient(90deg, rgba(246, 243, 238, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(246, 243, 238, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 55% 42%, rgba(225, 6, 0, 0.38), transparent 34%);
  background-size: 34px 34px, 34px 34px, auto;
}

.craft-plate--front {
  inset: 22% 12% 24% 0;
  background: linear-gradient(110deg, rgba(225, 6, 0, 0.18), rgba(246, 243, 238, 0.04));
}

.craft-car {
  position: absolute;
  left: 9%;
  right: 2%;
  top: 36%;
  height: 30%;
  transform: skewX(-18deg);
  filter: drop-shadow(0 30px 55px rgba(225, 6, 0, 0.28));
}

.craft-car__body,
.craft-car__roof,
.craft-car__cut {
  position: absolute;
  display: block;
}

.craft-car__body {
  inset: 38% 0 18% 0;
  clip-path: polygon(0 70%, 16% 18%, 50% 0, 86% 25%, 100% 68%, 84% 100%, 8% 100%);
  background: linear-gradient(100deg, #8f0502, #f02a24 46%, rgba(246, 243, 238, 0.42) 55%, #7c0302 78%);
}

.craft-car__roof {
  left: 28%;
  top: 10%;
  width: 38%;
  height: 44%;
  clip-path: polygon(10% 100%, 28% 18%, 70% 0, 100% 80%, 72% 100%);
  background: linear-gradient(110deg, #e10600, rgba(246, 243, 238, 0.34));
}

.craft-car__cut--one {
  left: 10%;
  top: 68%;
  width: 24%;
  height: 2px;
  background: rgba(246, 243, 238, 0.8);
}

.craft-car__cut--two {
  right: 11%;
  top: 48%;
  width: 31%;
  height: 2px;
  background: rgba(225, 6, 0, 0.95);
}

.craft-sweep {
  position: absolute;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(246, 243, 238, 0.85), transparent);
  transform: rotate(-12deg);
}

.craft-sweep--one {
  top: 28%;
  left: 12%;
  width: 34%;
}

.craft-sweep--two {
  right: 6%;
  bottom: 24%;
  width: 42%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.craft-material-card {
  position: absolute;
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(246, 243, 238, 0.18);
  background: rgba(5, 5, 5, 0.66);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.craft-material-card span {
  color: rgba(246, 243, 238, 0.55);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.craft-material-card strong {
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  line-height: 1;
}

.craft-material-card--one {
  right: 7%;
  top: 16%;
}

.craft-material-card--two {
  left: 2%;
  bottom: 16%;
}

.close {
  min-height: 74vh;
  position: relative;
  display: grid;
  align-content: center;
  width: 100%;
  margin-inline: 0;
  background:
    radial-gradient(circle at 72% 50%, rgba(225, 6, 0, 0.3), transparent 28rem),
    linear-gradient(135deg, #160302 0%, #080808 46%, #050505 100%);
}

.close-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.close-backdrop::before {
  content: "";
  position: absolute;
  right: -8vw;
  top: 20%;
  width: 58vw;
  height: 52vh;
  border: 1px solid rgba(246, 243, 238, 0.12);
  transform: skewX(-18deg);
  background:
    linear-gradient(90deg, rgba(246, 243, 238, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(246, 243, 238, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
}

.close-backdrop span {
  position: absolute;
  right: calc(12% + var(--i, 0) * 10%);
  top: calc(28% + var(--i, 0) * 15%);
  width: 28vw;
  height: 3px;
  transform: rotate(-13deg);
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.72;
}

.close-backdrop span:nth-child(1) {
  --i: 0;
}

.close-backdrop span:nth-child(2) {
  --i: 1;
  background: linear-gradient(90deg, transparent, rgba(246, 243, 238, 0.8), transparent);
}

.close-backdrop span:nth-child(3) {
  --i: 2;
}

.close-content {
  position: relative;
  z-index: 1;
  width: min(var(--maxw), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.55fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}

.close-copy h2,
.close-copy p {
  max-width: 820px;
}

.close-copy h2 {
  font-size: clamp(2.6rem, 6.2vw, 6.6rem);
  line-height: 0.9;
}

.close-copy p {
  color: rgba(246, 243, 238, 0.72);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 700;
  line-height: 1.55;
}

.close-stack {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(246, 243, 238, 0.2);
  background: rgba(246, 243, 238, 0.18);
  transform: skewY(-3deg);
}

.close-stack article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 96px;
  padding: 1.1rem 1.25rem;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(10px);
}

.close-stack span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.close-stack strong {
  font-size: clamp(1.25rem, 2.2vw, 2.1rem);
  line-height: 1;
}

@media (max-width: 900px) {
  .craft-layout,
  .close-content {
    grid-template-columns: 1fr;
  }

  .craft-visual {
    min-height: 360px;
  }

  .craft-copy h2,
  .close-copy h2 {
    font-size: clamp(2.35rem, 14vw, 4.7rem);
  }

  .close-stack {
    transform: none;
  }
}

.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding: clamp(2.6rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3rem) 1.2rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 0%, rgba(225, 6, 0, 0.2), transparent 24rem),
    linear-gradient(180deg, #080808 0%, #030303 100%);
  color: rgba(246, 243, 238, 0.72);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(246, 243, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 243, 238, 0.032) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
  opacity: 0.52;
}

.footer-shell {
  position: relative;
  z-index: 1;
  width: min(var(--maxw), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(190px, 0.36fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.footer-brand h2 {
  max-width: 560px;
  margin-bottom: 0.65rem;
  font-size: clamp(2.6rem, 7vw, 6.8rem);
  line-height: 0.86;
  color: var(--fg);
  letter-spacing: 0;
}

.footer-brand p:not(.section-kicker) {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(246, 243, 238, 0.68);
  font-size: clamp(0.92rem, 1.2vw, 1.12rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
}

.footer-nav,
.footer-meta {
  display: grid;
  gap: 0.7rem;
}

.footer-nav {
  grid-template-columns: repeat(2, minmax(82px, 1fr));
}

.footer-nav a,
.footer-meta span,
.footer-top {
  border-top: 1px solid rgba(246, 243, 238, 0.16);
  padding-top: 0.65rem;
}

.footer-nav a,
.footer-top {
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.footer-nav a:hover,
.footer-top:hover {
  color: var(--fg);
  border-top-color: var(--accent);
  transform: translateX(3px);
}

.footer-meta {
  color: rgba(246, 243, 238, 0.56);
}

.footer-top {
  color: var(--fg);
}

.footer-legal {
  position: relative;
  z-index: 1;
  width: min(var(--maxw), 100%);
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  border-top: 1px solid rgba(246, 243, 238, 0.12);
  padding-top: 1rem;
  color: rgba(246, 243, 238, 0.46);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .site-footer {
    padding: 2.4rem 1rem 1rem;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .footer-brand h2 {
    font-size: clamp(2.8rem, 18vw, 4.4rem);
  }

  .footer-brand p:not(.section-kicker) {
    font-size: 0.94rem;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1rem;
  }

  .footer-nav a,
  .footer-meta span,
  .footer-top {
    min-height: 42px;
    padding-top: 0.7rem;
  }

  .footer-meta {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    margin-top: 1.7rem;
    font-size: 0.58rem;
    line-height: 1.65;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   MOTION STUDIES - parallax + signal composition
   ============================================================ */
.motion-panel {
  --progress: 0;
  position: relative;
  height: 330vh;
  background: #050505;
}

.motion-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
}

.aero-layers .motion-sticky {
  background:
    linear-gradient(120deg, rgba(225, 6, 0, 0.1), transparent 36%),
    linear-gradient(180deg, #07090b 0%, #111315 48%, #050505 100%);
}

.motion-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(246, 243, 238, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 243, 238, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: calc(0.16 + (var(--progress) * 0.24));
  transform: translate3d(0, calc(var(--progress) * -42px), 0);
}

.motion-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.78), transparent 44%, rgba(5, 5, 5, 0.34)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.62), transparent 34%, rgba(5, 5, 5, 0.64));
}

.aero-copy,
.signal-copy {
  position: absolute;
  z-index: 5;
  left: clamp(1rem, 5vw, 5rem);
  top: clamp(6.5rem, 17vh, 11rem);
  width: min(620px, calc(100% - 2rem));
  transform: translate3d(0, calc(var(--progress) * -34px), 0);
}

.aero-copy h2,
.signal-copy h2 {
  font-size: clamp(2.4rem, 5.7vw, 5.8rem);
}

.aero-stage,
.signal-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.aero-grid {
  position: absolute;
  inset: 9% 3% 8% 34%;
  border: 1px solid rgba(246, 243, 238, 0.16);
  background:
    linear-gradient(90deg, rgba(246, 243, 238, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(246, 243, 238, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  transform:
    perspective(900px)
    rotateX(58deg)
    rotateZ(-8deg)
    translate3d(calc(var(--progress) * -42px), calc(var(--progress) * -54px), 0)
    translateY(var(--parallax-shift, 0px));
  transform-origin: 50% 62%;
}

.aero-shell {
  position: absolute;
  right: clamp(1.5rem, 7vw, 7rem);
  height: clamp(110px, 16vw, 210px);
  border: 1px solid rgba(246, 243, 238, 0.18);
  background:
    linear-gradient(90deg, rgba(225, 6, 0, 0.86), rgba(255, 82, 64, 0.42) 54%, rgba(246, 243, 238, 0.18)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent);
  clip-path: polygon(4% 68%, 16% 35%, 36% 18%, 68% 12%, 92% 32%, 98% 68%, 84% 82%, 18% 82%);
  filter: drop-shadow(0 20px 48px rgba(225, 6, 0, 0.24));
}

.aero-shell--front {
  top: 38%;
  width: min(760px, 56vw);
  transform:
    translate3d(calc(var(--progress) * -42px), calc(var(--progress) * -28px), 0)
    skewX(-7deg)
    translateY(var(--parallax-shift, 0px));
}

.aero-shell--rear {
  top: 49%;
  width: min(660px, 48vw);
  opacity: 0.45;
  transform:
    translate3d(calc(var(--progress) * 54px), calc(var(--progress) * 34px), 0)
    scale(0.94)
    skewX(-7deg)
    translateY(var(--parallax-shift, 0px));
}

.aero-wake {
  position: absolute;
  right: clamp(12rem, 44vw, 48rem);
  width: min(620px, 43vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.92), transparent);
  box-shadow: 0 0 24px rgba(225, 6, 0, 0.48);
  transform-origin: 100% 50%;
}

.aero-wake--one {
  top: 40%;
  transform:
    translate3d(calc(var(--progress) * -92px), calc(var(--progress) * -40px), 0)
    rotate(-12deg)
    scaleX(calc(0.45 + var(--progress) * 1.2))
    translateY(var(--parallax-shift, 0px));
}

.aero-wake--two {
  top: 58%;
  transform:
    translate3d(calc(var(--progress) * -62px), calc(var(--progress) * 34px), 0)
    rotate(8deg)
    scaleX(calc(0.35 + var(--progress) * 1.05))
    translateY(var(--parallax-shift, 0px));
}

.aero-line {
  position: absolute;
  right: clamp(2rem, 10vw, 12rem);
  width: min(820px, 62vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 243, 238, 0.72), transparent);
  transform-origin: 100% 50%;
}

.aero-line--top {
  top: 31%;
  transform:
    translate3d(calc(var(--progress) * 44px), calc(var(--progress) * -32px), 0)
    rotate(-6deg)
    translateY(var(--parallax-shift, 0px));
}

.aero-line--mid {
  top: 48%;
  transform:
    translate3d(calc(var(--progress) * -74px), calc(var(--progress) * 8px), 0)
    rotate(-1deg)
    translateY(var(--parallax-shift, 0px));
}

.aero-line--low {
  top: 67%;
  transform:
    translate3d(calc(var(--progress) * 52px), calc(var(--progress) * 28px), 0)
    rotate(7deg)
    translateY(var(--parallax-shift, 0px));
}

.aero-node {
  position: absolute;
  width: clamp(64px, 7vw, 110px);
  aspect-ratio: 1;
  border: 1px solid rgba(246, 243, 238, 0.3);
  background:
    linear-gradient(135deg, rgba(246, 243, 238, 0.18), rgba(246, 243, 238, 0.02)),
    rgba(8, 10, 12, 0.72);
  transform: rotate(45deg) translateY(var(--parallax-shift, 0px));
}

.aero-node--front {
  right: 12%;
  top: 30%;
}

.aero-node--rear {
  right: 48%;
  top: 66%;
}

.motion-readout {
  position: absolute;
  z-index: 5;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 4vw, 3rem);
  display: grid;
  gap: 0.55rem;
  width: min(340px, calc(100% - 2rem));
  color: rgba(246, 243, 238, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.motion-readout span {
  border-top: 1px solid rgba(246, 243, 238, 0.24);
  padding-top: 0.65rem;
}

.signal-sequence .motion-sticky {
  background:
    radial-gradient(circle at 74% 52%, rgba(31, 130, 150, 0.18), transparent 25rem),
    linear-gradient(180deg, #08080a 0%, #111 50%, #070707 100%);
}

.signal-copy {
  top: clamp(6rem, 14vh, 9rem);
}

.signal-copy .button {
  margin-top: 0.4rem;
}

.signal-stage {
  transform: translate3d(calc(var(--progress) * -18px), 0, 0);
}

.signal-orbit {
  position: absolute;
  right: clamp(1rem, 9vw, 9rem);
  top: 15%;
  width: min(620px, 54vw);
  aspect-ratio: 1;
  border: 1px solid rgba(246, 243, 238, 0.16);
  transform: rotate(calc(var(--progress) * 80deg));
}

.signal-orbit::before,
.signal-orbit::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(225, 6, 0, 0.22);
  transform: rotate(28deg);
}

.signal-orbit::after {
  inset: 29%;
  border-color: rgba(31, 130, 150, 0.34);
  transform: rotate(-18deg);
}

.signal-rings {
  position: absolute;
  right: clamp(2rem, 12vw, 12rem);
  top: 20%;
  width: min(480px, 42vw);
  aspect-ratio: 1;
}

.signal-rings span {
  position: absolute;
  inset: calc(var(--i, 0) * 12%);
  border: 1px solid rgba(246, 243, 238, 0.16);
  transform:
    scale(calc(0.76 + var(--progress) * 0.32))
    rotate(calc(var(--progress) * 42deg));
}

.signal-rings span:nth-child(1) {
  --i: 0;
}

.signal-rings span:nth-child(2) {
  --i: 1;
  border-color: rgba(225, 6, 0, 0.28);
}

.signal-rings span:nth-child(3) {
  --i: 2;
  border-color: rgba(31, 130, 150, 0.34);
}

.signal-bars {
  position: absolute;
  right: clamp(1rem, 5vw, 5rem);
  bottom: clamp(4rem, 13vh, 8rem);
  display: grid;
  grid-template-columns: repeat(6, minmax(16px, 1fr));
  gap: clamp(0.5rem, 1vw, 0.9rem);
  width: min(540px, 52vw);
  height: 160px;
  align-items: end;
}

.signal-bars span {
  display: block;
  height: calc((28% + (var(--i, 0) * 8%)) * (0.35 + var(--progress) * 0.9));
  border: 1px solid rgba(246, 243, 238, 0.18);
  background: linear-gradient(180deg, rgba(246, 243, 238, 0.78), rgba(225, 6, 0, 0.44));
  transform: translate3d(0, calc((1 - var(--progress)) * 34px), 0);
}

.signal-bars span:nth-child(1) { --i: 0; }
.signal-bars span:nth-child(2) { --i: 1; }
.signal-bars span:nth-child(3) { --i: 2; }
.signal-bars span:nth-child(4) { --i: 3; }
.signal-bars span:nth-child(5) { --i: 4; }
.signal-bars span:nth-child(6) { --i: 5; }

.signal-road {
  position: absolute;
  right: clamp(1rem, 8vw, 8rem);
  top: 48%;
  width: min(640px, 56vw);
}

.signal-road svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.signal-road__base {
  stroke: rgba(246, 243, 238, 0.16);
  stroke-width: 3;
}

.signal-road__live {
  stroke: var(--accent);
  stroke-width: 4;
  stroke-dasharray: 720;
  stroke-dashoffset: calc(720 - (720 * var(--progress)));
  filter: drop-shadow(0 0 9px rgba(225, 6, 0, 0.7));
}

.signal-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 0.3rem;
  min-width: 122px;
  border: 1px solid rgba(246, 243, 238, 0.16);
  padding: 0.9rem 1rem;
  background: rgba(8, 8, 10, 0.7);
  backdrop-filter: blur(8px);
  transform:
    translate3d(0, calc((1 - var(--progress)) * 60px), 0)
    translateY(var(--parallax-shift, 0px));
}

.signal-card span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.signal-card strong {
  color: var(--fg);
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  line-height: 1;
}

.signal-card--one {
  right: 48%;
  top: 28%;
}

.signal-card--two {
  right: 12%;
  top: 37%;
}

.signal-card--three {
  right: 31%;
  bottom: 16%;
}

@media (max-width: 820px) {
  #hero .loading {
    left: 1rem;
    right: auto;
    top: auto;
    bottom: 4.8rem;
    transform: none;
  }

  #hero .loading.is-hidden {
    transform: translateY(0.75rem);
  }

  .site-header {
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 1rem;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.62));
    border-bottom: 1px solid rgba(246, 243, 238, 0.1);
  }

  .brand {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .site-nav {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.45rem;
    min-width: 0;
    overflow-x: auto;
    padding: 0.1rem 0 0.2rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    padding: 0.45rem 0.62rem;
    border: 1px solid rgba(246, 243, 238, 0.12);
    background: rgba(246, 243, 238, 0.045);
  }

  .hero-stage {
    min-height: 600px;
  }

  .hero-copy--primary {
    top: 7.2rem;
  }

  .hero-copy--secondary {
    right: auto;
    left: 1rem;
    bottom: 5.2rem;
    text-align: left;
  }

  .hero-bottom-caption {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: min(22rem, calc(100% - 2rem));
    white-space: normal;
    color: rgba(246, 243, 238, 0.72);
    font-size: 0.74rem;
    font-weight: 650;
    line-height: 1.38;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
  }

  .hero-readout {
    display: none;
  }

  .engine-stage #engine-canvas {
    left: 0;
    width: 100%;
  }

  .engine-stage .hero-copy--primary,
  .engine-stage .hero-copy--secondary {
    width: calc(100% - 2rem);
  }

  .spec-grid,
  .editorial {
    grid-template-columns: 1fr;
  }

  .spec-grid article {
    min-height: 130px;
  }

  .machine-showcase {
    height: auto;
    min-height: 100vh;
  }

  .machine-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    padding-top: 6.5rem;
  }

  .machine-layout {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .machine-copy h2 {
    font-size: clamp(2.6rem, 13vw, 4.4rem);
  }

  .machine-visual {
    min-height: 260px;
    transform: none;
  }

  .machine-silhouette {
    inset: 18% 0 auto;
  }

  .machine-callout {
    min-width: 112px;
    padding: 0.7rem 0.8rem;
  }

  .machine-callout strong {
    font-size: 1.25rem;
  }

  .machine-specs {
    margin-top: 1.2rem;
  }

  .machine-specs article {
    min-height: 118px;
  }

  .motion-sticky {
    min-height: 600px;
  }

  .aero-copy,
  .signal-copy {
    top: 6.2rem;
    width: calc(100% - 2rem);
  }

  .aero-copy h2,
  .signal-copy h2 {
    font-size: clamp(2.2rem, 12vw, 4rem);
  }

  .aero-stage {
    transform: translate3d(0, 12vh, 0) scale(0.86);
    transform-origin: 74% 62%;
    opacity: 0.86;
  }

  .signal-stage {
    transform: translate3d(0, 26vh, 0) scale(0.82);
    transform-origin: 72% 58%;
    opacity: 0.86;
  }

  .signal-bars,
  .signal-road,
  .signal-rings,
  .signal-orbit {
    right: 1rem;
    width: min(520px, 92vw);
  }

  .signal-card--one {
    right: 54%;
    top: 36%;
  }

  .signal-card--two {
    right: 4%;
    top: 46%;
  }

  .signal-card--three {
    right: 34%;
    top: 64%;
    bottom: auto;
  }

  .motion-readout {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 0.62rem 0.7rem;
    gap: 1.9rem;
  }

  .site-nav {
    gap: 0.24rem;
    font-size: 0.5rem;
    letter-spacing: 0.06em;
  }

  .site-nav a {
    padding: 0.34rem 0.38rem;
    border-color: rgba(246, 243, 238, 0.1);
    background: rgba(246, 243, 238, 0.032);
  }

  .brand {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 400px) {
  .site-header {
    padding-inline: 0.58rem;
    gap: 1.55rem;
  }

  .brand {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
  }

  .site-nav {
    gap: 0.18rem;
    font-size: 0.47rem;
    letter-spacing: 0.04em;
  }

  .site-nav a {
    padding: 0.3rem 0.32rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-hero {
    height: 100vh;
  }

  .hero-stage {
    position: relative;
  }

  .hero-copy,
  .reveal,
  .loading {
    transition: none;
  }

  .hero-copy--primary,
  .hero-copy--secondary,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-copy--secondary {
    display: none;
  }
}

/* ============================================================
   THE CRUISE — real-time 3D night-corridor section
   ============================================================ */
.scroll-cruise {
  position: relative;
  height: 460vh;
  background:
    linear-gradient(180deg, #111326 0%, #d8785e 43%, #2b151a 100%);
}

.cruise-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(80% 54% at 52% 42%, rgba(255, 132, 94, 0.18), transparent 58%),
    radial-gradient(78% 58% at 73% 82%, rgba(225, 6, 0, 0.22), transparent 64%),
    radial-gradient(68% 52% at 20% 80%, rgba(42, 212, 255, 0.15), transparent 62%),
    linear-gradient(180deg, #151832 0%, #c56f5f 45%, #14090d 100%);
}

#cruise-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

/* faint scanlines + vignette for the HUD/night mood */
.cruise-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(115% 92% at 50% 42%, transparent 56%, rgba(0, 0, 0, 0.54) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 30%, transparent 74%, rgba(0, 0, 0, 0.42));
}

.cruise-scanlines {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 2px,
    transparent 4px
  );
}

.cruise-loading {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  /* Full-bleed dark cover so the half-built scene never peeks through behind
     the spinner while the corridor + car are still being drawn. */
  background: radial-gradient(120% 120% at 50% 45%, #14100f 0%, #0b0908 70%, #060505 100%);
  transition: opacity 0.5s ease;
}

.cruise-loading span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(246, 243, 238, 0.14);
  border-top-color: var(--accent);
  box-shadow: 0 0 26px rgba(225, 6, 0, 0.4);
  animation: cruise-spin 0.9s linear infinite;
}

@keyframes cruise-spin {
  to {
    transform: rotate(360deg);
  }
}

.cruise-loading.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.cruise-loading.is-error span {
  animation: none;
  border-top-color: #ff5a4d;
}

/* intro copy — fades out as you throttle in */
.cruise-play {
  position: absolute;
  /* Anchored to the right-middle of the stage. */
  right: 2rem;
  left: auto;
  top: 50%;
  z-index: 8;
  width: min(31rem, calc(100% - 2rem));
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  /* PLAY button first (left), meta text after it (right). */
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 0.72rem 0.82rem 0.72rem 1.05rem;
  text-align: left;
  color: #fff8ef;
  background:
    linear-gradient(90deg, rgba(8, 8, 11, 0.76), rgba(8, 8, 11, 0.42)),
    radial-gradient(circle at 0% 50%, rgba(225, 6, 0, 0.24), transparent 54%);
  border: 1px solid rgba(246, 243, 238, 0.13);
  border-left: 2px solid rgba(255, 42, 31, 0.95);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(255, 42, 31, 0.14);
  backdrop-filter: blur(14px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.cruise-play.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-50% + 0.75rem));
}

.cruise-play::before,
.cruise-play::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 42, 31, 0.72), transparent);
  pointer-events: none;
}

.cruise-play::before {
  top: 0;
}

.cruise-play::after {
  bottom: 0;
  opacity: 0.54;
}

.cruise-play__meta {
  min-width: 0;
}

.cruise-play__meta span,
.cruise-play__copy {
  display: block;
  margin: 0;
  color: rgba(255, 42, 31, 0.94);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.cruise-play__meta strong {
  display: block;
  margin-top: 0.32rem;
  color: #fff8ef;
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.62);
}

.cruise-play__button {
  flex: 0 0 auto;
  min-width: 8.4rem;
  height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  padding: 0 1.1rem;
  border: 1px solid rgba(255, 42, 31, 0.78);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 248, 239, 0.96), rgba(225, 216, 204, 0.84)),
    radial-gradient(circle at 0% 50%, rgba(255, 42, 31, 0.22), transparent 62%);
  color: #090807;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 0 0 6px rgba(225, 6, 0, 0.08),
    0 0 34px rgba(225, 6, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.cruise-play__button i {
  width: 0;
  height: 0;
  border-top: 0.34rem solid transparent;
  border-bottom: 0.34rem solid transparent;
  border-left: 0.52rem solid #e10600;
  filter: drop-shadow(0 0 8px rgba(225, 6, 0, 0.48));
}

.cruise-play__button:hover {
  transform: translateX(0.12rem);
  box-shadow:
    0 0 0 8px rgba(225, 6, 0, 0.1),
    0 0 48px rgba(225, 6, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.cruise-play__button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.cruise-play__copy {
  position: absolute;
  left: 1.05rem;
  bottom: -1.25rem;
  color: rgba(255, 247, 237, 0.42);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
}

.scroll-cruise:not(.is-playing) .cruise-hud {
  opacity: 0.36;
}

.cruise-intro {
  position: absolute;
  left: clamp(1.5rem, 5vw, 5rem);
  top: 22%;
  z-index: 5;
  max-width: 30rem;
  padding: clamp(1rem, 2vw, 1.4rem) clamp(1.05rem, 2.5vw, 1.7rem);
  border-left: 3px solid rgba(255, 24, 18, 0.9);
  background:
    linear-gradient(90deg, rgba(5, 5, 7, 0.76), rgba(8, 8, 10, 0.46) 58%, rgba(8, 8, 10, 0));
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.34);
  will-change: opacity, transform;
}

.cruise-intro h2 {
  margin: 0 0 0.9rem;
  color: #fff8ef;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.58);
}

.cruise-intro p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 247, 237, 0.86);
  max-width: 26rem;
  line-height: 1.5;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.62);
}

.cruise-intro .eyebrow {
  color: #ff2a1f;
  text-shadow:
    0 1px 10px rgba(0, 0, 0, 0.82),
    0 0 18px rgba(255, 42, 31, 0.32);
}

/* ---- HUD ---- */
.cruise-hud {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}

.hud-steer-cue {
  position: absolute;
  top: 58%;
  z-index: 2;
  width: 2.1rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  color: rgba(255, 42, 31, 0.82);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  text-shadow: 0 0 18px rgba(225, 6, 0, 0.6);
  opacity: 0.78;
  transform: translateY(-50%);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    color 160ms ease,
    filter 160ms ease;
}

.hud-steer-cue--left {
  left: clamp(1.3rem, 6vw, 7rem);
}

.hud-steer-cue--right {
  right: clamp(1.3rem, 6vw, 7rem);
}

.hud-steer-cue.is-active {
  color: #fff8ef;
  opacity: 1;
  filter: drop-shadow(0 0 18px rgba(255, 42, 31, 0.95));
}

.hud-steer-cue--left.is-active {
  transform: translate(-0.42rem, -50%) scale(1.12);
}

.hud-steer-cue--right.is-active {
  transform: translate(0.42rem, -50%) scale(1.12);
}

.hud-controls {
  position: absolute;
  right: clamp(1.5rem, 5vw, 4.5rem);
  bottom: clamp(7.4rem, 19vh, 11.4rem);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.42rem;
}

.hud-control-chip {
  min-width: 2.05rem;
  height: 1.75rem;
  display: inline-grid;
  place-items: center;
  padding: 0 0.62rem;
  border: 1px solid rgba(246, 243, 238, 0.18);
  border-radius: 999px;
  background: rgba(5, 7, 13, 0.46);
  backdrop-filter: blur(7px);
  color: rgba(246, 243, 238, 0.68);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.hud-control-chip.is-active {
  border-color: rgba(255, 42, 31, 0.85);
  color: #fff8ef;
  box-shadow:
    0 0 18px rgba(225, 6, 0, 0.45),
    inset 0 0 14px rgba(225, 6, 0, 0.18);
  transform: translateY(-1px);
}

.hud-speed {
  position: absolute;
  right: clamp(1.5rem, 5vw, 4.5rem);
  bottom: clamp(2rem, 8vh, 5rem);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  text-shadow: 0 0 22px rgba(225, 6, 0, 0.45);
}

.hud-speed__value {
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.hud-speed__unit {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.hud-route {
  position: absolute;
  left: clamp(1.5rem, 5vw, 4.5rem);
  bottom: clamp(2rem, 8vh, 5rem);
  width: clamp(120px, 16vw, 200px);
}

.hud-route svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.hud-route__track {
  stroke: rgba(246, 243, 238, 0.16);
  stroke-width: 1.6;
}

.hud-route__live {
  stroke: var(--accent);
  stroke-width: 2.4;
  filter: drop-shadow(0 0 6px rgba(225, 6, 0, 0.75));
}

.hud-route__dot {
  fill: #fff;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
}

.hud-route__label {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hud-gear {
  position: absolute;
  right: clamp(1.5rem, 5vw, 4.5rem);
  top: clamp(3rem, 9vh, 5.4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.hud-gear span {
  width: 2.75rem;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-align: center;
  text-indent: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.hud-gear strong {
  min-width: 2.75rem;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  color: var(--fg);
  padding: 0.1rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: rgba(5, 7, 13, 0.5);
  backdrop-filter: blur(6px);
}

@media (max-width: 720px) {
  .scroll-cruise {
    height: 340vh;
  }

  .cruise-stage {
    min-height: 100svh;
    background:
      radial-gradient(92% 44% at 50% 44%, rgba(255, 132, 94, 0.2), transparent 58%),
      radial-gradient(90% 50% at 76% 78%, rgba(225, 6, 0, 0.18), transparent 64%),
      linear-gradient(180deg, #151832 0%, #c56f5f 48%, #14090d 100%);
  }

  .cruise-vignette {
    background:
      radial-gradient(120% 90% at 50% 43%, transparent 52%, rgba(0, 0, 0, 0.42) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 24%, transparent 74%, rgba(0, 0, 0, 0.48));
  }

  .cruise-intro {
    top: 5.5rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
    padding: 0.78rem 0.85rem;
    border: 1px solid rgba(246, 243, 238, 0.12);
    background: rgba(5, 5, 5, 0.44);
    backdrop-filter: blur(8px);
  }

  .cruise-intro h2 {
    max-width: 15rem;
    margin-bottom: 0;
    font-size: clamp(1.65rem, 9vw, 2.35rem);
  }

  .cruise-intro p:not(.eyebrow) {
    display: none;
  }

  .cruise-intro .eyebrow {
    margin-bottom: 0.55rem;
    font-size: 0.58rem;
  }

  .cruise-play {
    left: 50%;
    right: auto;
    top: 53%;
    transform: translate(-50%, -50%);
    width: min(22rem, calc(100% - 2rem));
    flex-direction: column;
    align-items: stretch;
    gap: 0.78rem;
    padding: 0.9rem;
    text-align: center;
  }

  .cruise-play.is-hidden {
    transform: translate(-50%, calc(-50% + 0.75rem));
  }

  .cruise-play__meta strong {
    font-size: 1rem;
  }

  .cruise-play__button {
    width: 100%;
    min-width: 0;
    height: 2.9rem;
  }

  .cruise-play__copy {
    position: static;
    text-align: center;
  }

  .hud-speed {
    right: 1rem;
    bottom: 1.1rem;
    gap: 0.35rem;
  }

  .hud-controls {
    right: 1rem;
    bottom: 5.2rem;
    gap: 0.28rem;
  }

  .hud-control-chip {
    min-width: 1.72rem;
    height: 1.42rem;
    padding: 0 0.42rem;
    font-size: 0.48rem;
    letter-spacing: 0.1em;
  }

  .hud-steer-cue {
    top: 56%;
    font-size: 2.35rem;
    opacity: 0.62;
  }

  .hud-steer-cue--left {
    left: 0.72rem;
  }

  .hud-steer-cue--right {
    right: 0.72rem;
  }

  .hud-speed__value {
    font-size: clamp(2.6rem, 16vw, 4rem);
  }

  .hud-speed__unit {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .hud-route {
    left: 1rem;
    bottom: 1.25rem;
    width: 112px;
  }

  .hud-route__label {
    font-size: 0.5rem;
    letter-spacing: 0.14em;
  }

  .hud-gear {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cruise-loading span {
    animation: none;
  }
  .scroll-cruise {
    height: 100vh;
  }
}

/* ── Engine teardown stage ──────────────────────────────────────────────
   The disassemble frames sit on a PALE studio background, so this stage
   swaps the dark hero treatment for a light-friendly one: no black wash over
   the engine, only a soft edge vignette, and a localized scrim behind the
   copy so the white text stays legible over the bright plate. */
.engine-stage {
  --engine-copy-left: clamp(1rem, 4vw, 3.2rem);
  --engine-copy-width: min(330px, 22vw);
  --engine-canvas-left: clamp(360px, 24vw, 430px);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.8) 22%, rgba(5, 5, 5, 0.22) 33%, transparent 45%),
    #eef0f2;
}

.engine-stage #engine-canvas {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--engine-canvas-left);
  z-index: 0;
  width: calc(100% - var(--engine-canvas-left));
  height: 100%;
}

.engine-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(110% 92% at 62% 48%, transparent 58%, rgba(0, 0, 0, 0.14)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), transparent 26%, rgba(0, 0, 0, 0.16));
}

.engine-stage .grain {
  opacity: 0.12;
  mix-blend-mode: multiply;
}

.engine-stage .hero-copy--primary,
.engine-stage .hero-copy--secondary {
  padding: 0.95rem 1rem;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.52));
  backdrop-filter: blur(8px);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.9);
}

.engine-stage .hero-copy--primary {
  top: clamp(5.8rem, 12vh, 7.6rem);
  left: var(--engine-copy-left);
  width: var(--engine-copy-width);
}

.engine-stage .hero-copy--primary h2 {
  max-width: 310px;
  margin-bottom: 0.65rem;
  font-size: clamp(1.9rem, 2.9vw, 3.15rem);
  line-height: 0.95;
}

.engine-stage .hero-copy--primary p:not(.eyebrow) {
  max-width: 300px;
  font-size: clamp(0.82rem, 0.84vw, 0.92rem);
  line-height: 1.46;
}

.engine-stage .hero-copy--secondary {
  right: auto;
  left: var(--engine-copy-left);
  bottom: clamp(5rem, 12vh, 7.2rem);
  width: min(330px, 22vw);
  text-align: left;
}

.engine-stage .loading {
  color: #14151a;
}

.engine-stage .hero-readout {
  display: none;
  color: rgba(20, 21, 26, 0.78);
}

.engine-stage .hero-readout span {
  border-top-color: rgba(20, 21, 26, 0.28);
}

@media (max-width: 820px) {
  .engine-stage {
    --engine-copy-width: calc(100% - 2rem);
    --engine-canvas-left: 0px;
    display: grid;
    grid-template-rows: auto minmax(300px, 1fr);
    align-content: start;
    min-height: 760px;
    padding-top: 4.6rem;
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.94) 42%, #eef0f2 42.2%, #eef0f2 100%);
  }

  .engine-stage #engine-canvas {
    position: relative;
    inset: auto;
    grid-row: 2;
    align-self: stretch;
    left: auto;
    width: 100%;
    height: 100%;
    min-height: 300px;
    margin-top: 1.2rem;
  }

  .engine-stage .hero-copy--primary,
  .engine-stage .hero-copy--secondary {
    position: relative;
    z-index: 5;
    top: auto;
    bottom: auto;
    left: 1rem;
    right: auto;
    width: calc(100% - 2rem);
  }

  .engine-stage .hero-copy--primary {
    grid-row: 1;
    margin-top: 0;
  }

  .engine-stage .hero-copy--secondary {
    display: none;
  }

  .engine-stage .hero-copy--primary h2 {
    max-width: 14rem;
    font-size: clamp(1.9rem, 10vw, 2.55rem);
  }

  .engine-stage .hero-copy--primary p:not(.eyebrow) {
    max-width: 19rem;
    font-size: 0.86rem;
  }

  .engine-stage::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 22%, rgba(0, 0, 0, 0.12));
  }
}

/* Final night-run frame sequence */
.final-stage {
  background:
    linear-gradient(180deg, #050505 0%, #111 50%, #050505 100%);
}

.final-stage::after {
  content: none;
}

.final-stage .grain {
  display: none;
}

.final-stage .hero-copy--primary {
  top: clamp(6.8rem, 13vh, 8.4rem);
  left: clamp(1rem, 4vw, 3.2rem);
  width: min(520px, 32vw);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(246, 243, 238, 0.14);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.38));
  backdrop-filter: blur(10px);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.76);
}

.final-stage .hero-copy--primary h2 {
  max-width: 480px;
  font-size: clamp(2.4rem, 4.2vw, 5.4rem);
  line-height: 0.92;
}

.final-stage .hero-copy--primary p:not(.eyebrow) {
  max-width: 440px;
  font-size: clamp(0.9rem, 1vw, 1.08rem);
  font-weight: 750;
}

.final-stage .hero-copy--secondary {
  top: clamp(6.2rem, 10vh, 8rem);
  right: clamp(1rem, 2.2vw, 2rem);
  bottom: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 1.05rem;
  width: min(255px, 15.5vw);
  min-height: 0;
  padding: 0.78rem;
  border: 1px solid rgba(246, 243, 238, 0.18);
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.54), rgba(5, 5, 5, 0.24)),
    linear-gradient(90deg, rgba(246, 243, 238, 0.04), rgba(246, 243, 238, 0.12));
  backdrop-filter: blur(7px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
  text-align: right;
}

.final-stage .hero-copy--secondary h3 {
  max-width: 205px;
  margin-left: auto;
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.25vw, 1.42rem);
  line-height: 1.04;
}

.final-stage .hero-copy--secondary .eyebrow {
  color: rgba(246, 243, 238, 0.82);
  margin-bottom: 0;
  font-size: 0.56rem;
  letter-spacing: 0.18em;
}

.final-stage .hero-copy--secondary .button {
  align-self: stretch;
  padding: 0.68rem 0.72rem;
  font-size: 0.58rem;
}

.final-side-note {
  position: absolute;
  z-index: 5;
  right: clamp(1rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(260px, 18vw);
  min-height: clamp(210px, 30vh, 285px);
  padding: 0.9rem;
  border: 1px solid rgba(246, 243, 238, 0.18);
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.18)),
    linear-gradient(90deg, rgba(246, 243, 238, 0.04), rgba(246, 243, 238, 0.12));
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  text-align: right;
  pointer-events: none;
  opacity: 0;
  will-change: opacity, transform;
}

.final-side-note--lower {
  bottom: clamp(4.8rem, 9vh, 6.5rem);
}

.final-side-note .eyebrow {
  margin-bottom: 0;
  color: rgba(246, 243, 238, 0.72);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

.final-side-note strong {
  max-width: 205px;
  margin-left: auto;
  font-size: clamp(1.05rem, 1.35vw, 1.5rem);
  line-height: 1.05;
}

.final-side-note span {
  color: rgba(246, 243, 238, 0.56);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.final-stage .hero-readout {
  display: none;
}

@media (max-width: 900px) {
  .final-stage .hero-copy--primary,
  .final-stage .hero-copy--secondary,
  .final-side-note {
    left: 1rem;
    right: auto;
    width: calc(100% - 2rem);
  }

  .final-stage .hero-copy--secondary {
    top: auto;
    bottom: 4.5rem;
    min-height: 250px;
  }

  .final-side-note--lower {
    bottom: 4.5rem;
    min-height: 180px;
  }
}

/* ============================================================
   Intro overlay — holds the page until the hero sequence is
   fully loaded, so entering the drive is instant + gapless.
   ============================================================ */
body.intro-lock {
  overflow: hidden;
  height: 100vh;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 64px);
  background:
    radial-gradient(120% 90% at 72% 18%, rgba(225, 6, 0, 0.16), transparent 60%),
    radial-gradient(100% 80% at 20% 90%, rgba(40, 60, 120, 0.14), transparent 62%),
    #040405;
  opacity: 1;
  transition: opacity 0.6s ease;
}
.intro-overlay.is-leaving {
  opacity: 0;
  pointer-events: none;
}
.intro-overlay.is-hidden {
  display: none;
}

.intro-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.intro-panel {
  position: relative;
  max-width: 620px;
  text-align: center;
  animation: intro-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes intro-rise {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.intro-eyebrow {
  font-size: clamp(0.62rem, 1.4vw, 0.72rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(246, 243, 238, 0.62);
  margin: 0 0 clamp(14px, 2.4vw, 22px);
}

.intro-title {
  font-size: clamp(3.4rem, 12vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(16px, 3vw, 26px);
  color: var(--fg);
  text-shadow: 0 0 60px rgba(225, 6, 0, 0.28);
}

.intro-lede {
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  line-height: 1.6;
  color: rgba(246, 243, 238, 0.74);
  max-width: 48ch;
  margin: 0 auto clamp(26px, 4vw, 38px);
}

.intro-progress {
  position: relative;
  width: min(340px, 72vw);
  height: 2px;
  margin: 0 auto clamp(14px, 2vw, 18px);
  background: rgba(246, 243, 238, 0.14);
  overflow: hidden;
  border-radius: 2px;
}
.intro-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, rgba(225, 6, 0, 0.6), var(--accent));
  box-shadow: 0 0 16px rgba(225, 6, 0, 0.6);
  transition: width 0.35s ease;
}

.intro-meter {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: clamp(26px, 4vw, 36px);
  font-variant-numeric: tabular-nums;
}
.intro-pct {
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.intro-pct-sign {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: rgba(246, 243, 238, 0.6);
  margin-left: -4px;
}
.intro-meter-label {
  font-size: clamp(0.6rem, 1.3vw, 0.68rem);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(246, 243, 238, 0.5);
  margin-left: 10px;
}

.intro-enter {
  appearance: none;
  border: 1px solid rgba(246, 243, 238, 0.24);
  background: transparent;
  color: rgba(246, 243, 238, 0.55);
  font: inherit;
  font-size: clamp(0.82rem, 1.6vw, 0.95rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 4px;
  cursor: not-allowed;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.intro-overlay.is-ready .intro-enter {
  color: var(--fg);
  border-color: var(--accent);
  background: rgba(225, 6, 0, 0.12);
  cursor: pointer;
}
.intro-overlay.is-ready .intro-enter:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .intro-panel { animation: none; }
  .intro-bar, .intro-overlay, .intro-enter { transition: none; }
}
