/* ============================================================
   ZAMOK · STYLES.CSS
   Light Editorial · Ivory + Crimson
   ============================================================ */

/* -----------------------------------------------------------
   1. RESET & TOKENS
----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', 'Helvetica Neue', system-ui, sans-serif;
  font-weight: 400;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02";
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html { overflow-x: clip; }

:root {
  /* Background */
  --bg:        #f5f5f6;
  --bg-2:      #eaeaed;
  --bg-3:      #d6d6da;
  --bg-dark:   #14141a;

  /* Foreground */
  --fg:        #161619;
  --fg-dim:    #4c4c52;
  --fg-mute:   #89898f;

  /* Accent — Crimson */
  --accent:      #c32c2b;
  --accent-2:    #e63d3c;
  --accent-dim:  #e5c4c3;
  --accent-soft: #f6eaea;

  /* Lines */
  --line:   rgba(22,22,25,0.10);
  --line-2: rgba(22,22,25,0.22);
  --line-3: rgba(22,22,25,0.40);

  /* Layout */
  --maxw:   1440px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Mono */
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Easing */
  --e-out:    cubic-bezier(.2,.8,.2,1);
  --e-in-out: cubic-bezier(.6,0,.2,1);
  --e-expo:   cubic-bezier(.85,0,.15,1);
}

::selection { background: var(--accent); color: var(--bg); }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

em { font-style: normal; color: var(--accent); font-weight: 600; }

.num,
.section__num,
.section__tag,
[class*="__pill"],
[class*="__meta"],
.layer__num,
.layer__tag,
.cap__num,
.cap__row,
.audience__num,
.foot__label,
.foot__bottom,
.nav__sub {
  font-family: var(--mono);
  font-feature-settings: "tnum";
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* -----------------------------------------------------------
   2. PRELOADER
----------------------------------------------------------- */
.preloader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: grid; place-items: center;
  pointer-events: none;
}
.preloader.is-done {
  opacity: 0;
  transform: translateY(-101%);
  transition: transform 1.1s var(--e-expo), opacity .4s linear .7s;
}
.preloader__inner {
  width: min(720px, 88vw);
  display: grid; gap: 28px;
}
.preloader__meta {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .2em;
  color: var(--fg-mute); text-transform: uppercase;
}
.preloader__meta--bottom { color: var(--fg-dim); }
.preloader__brand {
  display: flex; gap: clamp(4px, 1vw, 16px);
  font-weight: 800; line-height: 1;
  font-size: clamp(56px, 10vw, 120px);
  letter-spacing: -.04em;
  overflow: hidden;
}
.preloader__brand span {
  display: inline-block;
  transform: translateY(110%);
  animation: preBrand 1.05s var(--e-expo) forwards;
}
.preloader__brand span:nth-child(1) { animation-delay: .05s; }
.preloader__brand span:nth-child(2) { animation-delay: .12s; }
.preloader__brand span:nth-child(3) { animation-delay: .19s; color: var(--accent); }
.preloader__brand span:nth-child(4) { animation-delay: .26s; }
.preloader__brand span:nth-child(5) { animation-delay: .33s; }
@keyframes preBrand {
  to { transform: translateY(0); }
}
.preloader__bar {
  height: 1px; background: var(--line);
  position: relative; overflow: hidden;
}
.preloader__bar span {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--accent);
  animation: preBar 1.6s .15s var(--e-out) forwards;
}
@keyframes preBar { to { width: 100%; } }

/* -----------------------------------------------------------
   3. CUSTOM CURSOR
----------------------------------------------------------- */
.cursor {
  position: fixed; pointer-events: none; z-index: 9000;
  top: 0; left: 0; mix-blend-mode: difference;
}
.cursor__dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--bg);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform .18s var(--e-out), background .25s ease;
  left: 0; top: 0;
}
.cursor__ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid var(--bg);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform .35s var(--e-out), width .25s ease, height .25s ease, border-color .25s ease;
  left: 0; top: 0;
}
body.is-hovering .cursor__dot { transform: translate(-50%, -50%) scale(0); }
body.is-hovering .cursor__ring {
  width: 56px; height: 56px;
  border-color: var(--accent-2);
}
@media (max-width: 720px) {
  .cursor { display: none; }
  body { cursor: auto; }
}

/* -----------------------------------------------------------
   4. NAV
----------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .35s var(--e-out), border-color .35s var(--e-out), color .35s var(--e-out);
  color: #fff;
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px; align-items: center;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: -.02em;
  font-size: 18px;
}
.nav__logo {
  width: 28px; height: 28px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.nav__word { line-height: 1; }
.nav__sub { font-size: 10px; color: rgba(255,255,255,.55); margin-left: 2px; align-self: flex-end; padding-bottom: 2px; }

.nav__links {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: clamp(12px, 2.5vw, 32px); justify-content: center;
}
.nav__links a {
  position: relative; font-size: 14px; opacity: .85;
  padding: 8px 0;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 1px; background: var(--accent-2); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--e-out);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a:hover { opacity: 1; color: #fff; }

.nav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  letter-spacing: .02em;
  transition: color .25s, background .25s, border-color .25s;
}
.nav__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.nav__cta svg { transition: transform .35s var(--e-out); }
.nav__cta:hover svg { transform: rotate(45deg); }

.nav__progress {
  height: 1px; background: rgba(255,255,255,.12);
}
.nav__progress span {
  display: block; height: 100%; width: 0;
  background: var(--accent);
  transition: width .12s linear;
}

/* Once scrolled past hero */
.nav.is-scrolled {
  background: rgba(245,245,246,.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  color: var(--fg);
}
.nav.is-scrolled .nav__sub { color: var(--fg-mute); }
.nav.is-scrolled .nav__progress { background: var(--line); }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
}

/* -----------------------------------------------------------
   5. HERO · 3D Stage (sticky 480vh)
----------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  overflow: visible;
}
.hero--3d {
  height: 480vh;
}
.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--bg-dark);
}

/* ---- Backdrop ---- */
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
}
.hero__bg-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 70% 40%, rgba(195,44,43,.10), transparent 60%),
    radial-gradient(900px 500px at 20% 80%, rgba(80,120,200,.06), transparent 60%),
    linear-gradient(0deg, var(--bg-dark) 0%, #1c1c22 100%);
}

/* ---- Canvas (transparent — fx layers show through) ---- */
#hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
}

/* ============================================================
   PER-FRAME ATMOSPHERIC FX (z-index 1 — behind 3D canvas)
============================================================ */
.hero__fx-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero__fx {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--e-out);
}
.hero__fx.is-active { opacity: 1; }
.hero__fx:not(.is-active) * { animation-play-state: paused !important; }

/* -----------------------------------------------------------
   FX 1 — Frost / temperature
----------------------------------------------------------- */
.hero__fx--frost {
  background:
    radial-gradient(ellipse 60% 70% at 25% 25%, rgba(180,215,255,.20), transparent 70%),
    radial-gradient(ellipse 70% 80% at 75% 75%, rgba(180,215,255,.14), transparent 70%);
}
.fx-frost-glaze {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient( 60deg, rgba(220,240,255,.045) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-60deg, rgba(220,240,255,.045) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(  0deg, rgba(220,240,255,.025) 0 1px, transparent 1px 7px);
  filter: blur(.4px);
  opacity: .8;
}
.fx-frost-edge {
  position: absolute; left: 0; right: 0;
  height: 200px;
  width: 100%;
}
.fx-frost-edge--top { top: 0; }

/* Heat glow — wider spread along the entire bottom + bottom-right hotspot */
.fx-frost-heat {
  position: absolute; inset: 0;
  background:
    /* big floor wash across entire bottom */
    linear-gradient(to top, rgba(255,100,60,.22) 0%, rgba(255,90,50,.10) 18%, transparent 45%),
    /* bottom-right concentrated hotspot */
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(255,120,80,.32), rgba(255,80,50,.12) 40%, transparent 70%),
    /* bottom-right inner glow */
    radial-gradient(circle 360px at 88% 92%, rgba(255,160,100,.22), transparent 70%),
    /* small bottom-left ambient */
    radial-gradient(ellipse 60% 35% at 0% 100%, rgba(255,110,70,.10), transparent 70%);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: fxHeatPulse 5s var(--e-in-out) infinite;
}
@keyframes fxHeatPulse {
  0%, 100% { opacity: .85; }
  50%      { opacity: 1.05; }
}

.fx-frost-temps {
  position: absolute; inset: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(80px, 16vw, 240px);
  letter-spacing: -.04em;
  line-height: 1;
  pointer-events: none;
}
.fx-frost-temps .t-cold {
  position: absolute;
  top: 10vh; left: 6vw;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(180,215,255,.30);
  text-shadow:
    0 0 20px rgba(180,215,255,.18),
    0 0 60px rgba(180,215,255,.10);
}
.fx-frost-temps .t-hot {
  position: absolute;
  bottom: 10vh; right: 6vw;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,160,120,.45);
  text-shadow:
    0 0 24px rgba(255,130,90,.32),
    0 0 70px rgba(255,80,50,.18);
}

.fx-frost-flakes { position: absolute; inset: 0; }
.fx-frost-flakes span {
  position: absolute;
  top: -2%;
  width: 4px; height: 4px;
  background: rgba(220,240,255,.7);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(220,240,255,.6);
  animation: fxFall linear infinite;
}
.fx-frost-flakes span:nth-child(1)  { left:  6%; width: 3px; height: 3px; animation-duration: 14s; animation-delay:  -2s; }
.fx-frost-flakes span:nth-child(2)  { left: 14%; animation-duration: 18s; animation-delay:  -8s; }
.fx-frost-flakes span:nth-child(3)  { left: 22%; width: 5px; height: 5px; animation-duration: 12s; animation-delay: -14s; }
.fx-frost-flakes span:nth-child(4)  { left: 31%; width: 3px; height: 3px; animation-duration: 16s; animation-delay:  -3s; }
.fx-frost-flakes span:nth-child(5)  { left: 39%; animation-duration: 20s; animation-delay:  -9s; }
.fx-frost-flakes span:nth-child(6)  { left: 48%; width: 5px; height: 5px; animation-duration: 13s; animation-delay: -16s; }
.fx-frost-flakes span:nth-child(7)  { left: 57%; animation-duration: 17s; animation-delay:  -5s; }
.fx-frost-flakes span:nth-child(8)  { left: 66%; width: 3px; height: 3px; animation-duration: 15s; animation-delay: -11s; }
.fx-frost-flakes span:nth-child(9)  { left: 74%; animation-duration: 19s; animation-delay:  -1s; }
.fx-frost-flakes span:nth-child(10) { left: 83%; width: 5px; height: 5px; animation-duration: 14s; animation-delay:  -7s; }
.fx-frost-flakes span:nth-child(11) { left: 91%; animation-duration: 16s; animation-delay: -13s; }
.fx-frost-flakes span:nth-child(12) { left: 96%; width: 3px; height: 3px; animation-duration: 18s; animation-delay:  -4s; }
@keyframes fxFall {
  0%   { transform: translateY(0)     translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(105vh) translateX(40px); opacity: 0; }
}

/* -----------------------------------------------------------
   FX 2 — Vehicle model names scrolling (text marquee)
----------------------------------------------------------- */
.hero__fx--cars { color: #fff; }
.fx-models-lane {
  position: absolute; left: 0; right: 0;
  display: flex; align-items: center;
  white-space: nowrap;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
  overflow: hidden;
}
.fx-models-track {
  display: inline-flex; align-items: center; gap: 28px;
  animation: fxModelsRoll linear infinite;
  animation-duration: var(--dur, 60s);
  flex-shrink: 0;
}
.fx-models-track span { white-space: nowrap; flex-shrink: 0; }
.fx-models-track i {
  font-style: normal;
  color: var(--accent-2);
  font-weight: 400;
  flex-shrink: 0;
}
@keyframes fxModelsRoll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Lane sizing & speed — five horizontal layers */
.fx-models-lane--1 {
  top: 10%;
  font-size: clamp(20px, 2.4vw, 36px);
  opacity: .12;
  --dur: 50s;
}
.fx-models-lane--2 {
  top: 27%;
  font-size: clamp(34px, 4.2vw, 64px);
  opacity: .065;
  --dur: 80s;
}
.fx-models-lane--3 {
  top: 47%;
  font-size: clamp(48px, 6.5vw, 104px);
  font-weight: 800;
  opacity: .04;
  letter-spacing: -.025em;
  --dur: 110s;
}
.fx-models-lane--4 {
  top: 67%;
  font-size: clamp(30px, 3.6vw, 56px);
  opacity: .065;
  --dur: 70s;
}
.fx-models-lane--4 .fx-models-track { animation-direction: reverse; }
.fx-models-lane--5 {
  top: 84%;
  font-size: clamp(20px, 2.6vw, 38px);
  opacity: .10;
  --dur: 45s;
}
.fx-models-lane--5 .fx-models-track { animation-direction: reverse; }

/* outline-only variant for lane 3 (large background type) */
.fx-models-lane--3 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.7);
}

/* -----------------------------------------------------------
   FX 3 — Network / connection abstract
----------------------------------------------------------- */
.fx-network {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.fx-net-edges path {
  animation: fxFlow 9s linear infinite;
}
@keyframes fxFlow { to { stroke-dashoffset: -200; } }

.fx-net-nodes g {
  transform-origin: center;
  transform-box: fill-box;
  animation: fxNodeBreath 3s var(--e-in-out) infinite;
}
.fx-net-nodes g:nth-child(2n)  { animation-delay: -.6s; }
.fx-net-nodes g:nth-child(3n)  { animation-delay: -1.2s; }
.fx-net-nodes g:nth-child(5n)  { animation-delay: -1.8s; }
@keyframes fxNodeBreath {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1;   }
}
.fx-pulse {
  filter: drop-shadow(0 0 8px #e63d3c);
}

.fx-net-tags {
  position: absolute; inset: 0;
  pointer-events: none;
}
.fx-net-tag {
  position: absolute;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(230,61,60,.6);
  padding: 4px 10px;
  border: 1px dashed rgba(230,61,60,.35);
  border-radius: 999px;
  background: rgba(20,20,26,.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.fx-net-tag--1 { top: 22%;   right: 12%; animation: fxFloat 6s var(--e-in-out) infinite; }
.fx-net-tag--2 { top: 50%;   left:  10%; animation: fxFloat 7s var(--e-in-out) infinite; animation-delay: -2s; }
.fx-net-tag--3 { bottom: 24%; right: 22%; animation: fxFloat 8s var(--e-in-out) infinite; animation-delay: -4s; }
@keyframes fxFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* -----------------------------------------------------------
   FX 4 — Antenna signals
----------------------------------------------------------- */
.hero__fx--signals { }
.fx-signal {
  position: absolute;
  width: 14px; height: 14px;
}
.fx-signal--top    { top: 22%;   right: 18%; }
.fx-signal--bottom { bottom: 22%; right: 22%; }
.fx-signal-core {
  position: absolute;
  inset: 0;
  background: var(--accent-2);
  border-radius: 50%;
  box-shadow: 0 0 24px var(--accent-2), 0 0 48px rgba(230,61,60,.5);
  animation: fxCore 1.6s var(--e-in-out) infinite;
}
@keyframes fxCore {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.4); opacity: .7; }
}
.fx-signal-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 14px;
  border: 1.2px solid var(--accent-2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: fxRing 3.2s ease-out infinite;
}
.fx-signal-ring:nth-of-type(2) { animation-delay: -1.07s; }
.fx-signal-ring:nth-of-type(3) { animation-delay: -2.13s; }
@keyframes fxRing {
  0%   { transform: translate(-50%, -50%) scale(1);  opacity: .55; border-width: 1.2px; }
  100% { transform: translate(-50%, -50%) scale(70); opacity: 0;   border-width: .2px;  }
}
.fx-signal-label {
  position: absolute;
  top: -28px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: rgba(230,61,60,.85);
  white-space: nowrap;
}
.fx-signal--bottom .fx-signal-label { top: auto; bottom: -28px; }

.fx-signal-bars {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.fx-signal-bars path { animation: fxFlow 14s linear infinite; }

/* ---- Top stripe ---- */
.hero__top {
  position: absolute;
  top: clamp(120px, 11vh, 140px);
  left: var(--gutter);
  right: var(--gutter);
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 16px;
  z-index: 4;
}
.hero__pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  background: rgba(20,20,26,.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
  animation: dotPulse 2s var(--e-in-out) infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}
.hero__pill-sep { color: rgba(255,255,255,.4); }
.hero__coords {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  text-align: right;
}

/* ---- Frame 0 — Hero intro (left-aligned, device on right) ---- */
.hero__intro {
  position: absolute;
  left: var(--gutter); top: 50%;
  transform: translateY(-50%);
  width: min(46vw, 560px);
  text-align: left;
  z-index: 3;
  pointer-events: none;
  transition: opacity .4s var(--e-out), transform .4s var(--e-out);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 24px;
}
.hero__eyebrow .sep { color: rgba(255,255,255,.35); }
.hero__eyebrow span:first-child { color: var(--accent-2); }
.hero__title {
  font-size: clamp(40px, 5.8vw, 84px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.0;
  margin: 0;
  color: #fff;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform .95s var(--e-expo);
}
.hero__title.is-revealed .word { transform: translateY(0); }
.hero__title .line:nth-child(2) .word { transition-delay: .10s; }
.hero__title .line:nth-child(2) .word:nth-child(2) { transition-delay: .18s; }
.hero__title .line:nth-child(3) .word { transition-delay: .26s; }
.hero__title em {
  display: inline-block;
  position: relative;
  font-style: normal;
  color: var(--accent-2);
  font-weight: 800;
}
.hero__title em::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 6%;
  height: 6px;
  background: var(--accent);
  opacity: .25;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s var(--e-out) .9s;
}
.hero__title.is-revealed em::after { transform: scaleX(1); }
.hero__sub {
  margin-top: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.hero__sub-arrow {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  font-size: 12px;
  animation: heroArrow 2s var(--e-in-out) infinite;
}
@keyframes heroArrow {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(3px); opacity: .55; }
}

/* ---- Floating panels (frame 1-4) ---- */
.hero__panel {
  position: absolute;
  top: 50%;
  width: min(380px, 36vw);
  z-index: 3;
  pointer-events: none;
  color: #fff;
  opacity: 0;
  transition: opacity .4s var(--e-out), transform .5s var(--e-out);
}
.hero__panel--left {
  left: var(--gutter);
  transform: translateY(-50%) translateX(-24px);
  text-align: left;
}
.hero__panel--right {
  right: var(--gutter);
  transform: translateY(-50%) translateX(24px);
  text-align: right;
}
.hero__panel.is-active {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.hero__panel-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.hero__panel-eyebrow .bar {
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--accent-2);
}
.hero__panel--right .hero__panel-eyebrow {
  flex-direction: row-reverse;
}
.hero__panel h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.05;
  margin: 0 0 16px;
  color: #fff;
}
.hero__panel p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.65);
  margin: 0 0 18px;
  max-width: 36ch;
}
.hero__panel--right p { margin-left: auto; }
.hero__panel p em {
  font-style: normal;
  color: var(--accent-2);
  font-weight: 600;
}
.hero__panel-meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  border-top: 1px dashed rgba(255,255,255,.12);
  padding-top: 12px;
}
.hero__panel--right .hero__panel-meta { justify-content: flex-end; }

/* Registration mark corners on panels */
.hero__panel::before,
.hero__panel::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--accent);
  opacity: .55;
}
.hero__panel--left::before  { top: -10px; left: -10px;  border-right: 0; border-bottom: 0; }
.hero__panel--left::after   { bottom: -10px; right: -10px; border-left: 0; border-top: 0; }
.hero__panel--right::before { top: -10px; right: -10px; border-left: 0; border-bottom: 0; }
.hero__panel--right::after  { bottom: -10px; left: -10px;  border-right: 0; border-top: 0; }

/* ---- Specs strip (frame 0) ---- */
.hero__specs {
  position: absolute;
  left: 50%; bottom: 96px;
  transform: translateX(-50%);
  width: min(80vw, 980px);
  display: flex; justify-content: space-between; gap: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 16px;
  z-index: 3;
  pointer-events: none;
  transition: opacity .4s var(--e-out);
}
.hero__spec {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  display: flex; flex-direction: column; gap: 4px;
}
.hero__spec b {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  font-family: 'Manrope', sans-serif;
}

/* ---- Hint (frame 0) ---- */
.hero__hint {
  position: absolute;
  right: var(--gutter);
  bottom: 96px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  z-index: 3;
  pointer-events: none;
  transition: opacity .4s var(--e-out);
}
.hero__hint-bar {
  width: 1px; height: 32px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.5));
  animation: hintDrop 1.6s var(--e-in-out) infinite;
}
@keyframes hintDrop {
  0%   { transform: scaleY(.2); transform-origin: top; }
  50%  { transform: scaleY( 1); transform-origin: top; }
  50.01% { transform: scaleY( 1); transform-origin: bottom; }
  100% { transform: scaleY(.2); transform-origin: bottom; }
}

/* ---- Bottom progress strip ---- */
.hero__scroll {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px; align-items: center;
  z-index: 4;
}
.hero__scroll-meta {
  display: flex; gap: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
}
.hero__scroll-bar {
  height: 1px; background: rgba(255,255,255,.18); position: relative;
}
.hero__scroll-bar span {
  position: absolute; inset: 0; width: 0; background: var(--accent-2);
}

/* Larger panel typography on desktop only */
@media (min-width: 1100px) {
  .hero__panel {
    width: min(460px, 36vw);
  }
  .hero__panel h2 {
    font-size: clamp(36px, 3.9vw, 56px);
    letter-spacing: -.028em;
    margin-bottom: 20px;
  }
  .hero__panel p {
    font-size: 16.5px;
    line-height: 1.6;
    max-width: 38ch;
  }
  .hero__panel-eyebrow {
    font-size: 12px;
    letter-spacing: .24em;
    margin-bottom: 18px;
  }
  .hero__panel-meta {
    font-size: 11.5px;
    gap: 10px 16px;
  }
}

/* Responsive */
@media (max-width: 1000px) {
  .hero__panel { width: min(360px, 80vw); }
}
@media (max-width: 820px) {
  .hero--3d { height: 380vh; }
  .hero__top { flex-direction: column; }
  .hero__coords { align-items: flex-start; }
  .hero__intro { width: 86vw; }
  .hero__panel {
    width: 84vw;
    left: 8vw !important;
    right: 8vw !important;
    top: auto;
    bottom: 18vh;
    text-align: left !important;
    transform: translateY(20px);
  }
  .hero__panel--right { text-align: left !important; }
  .hero__panel--right .hero__panel-eyebrow { flex-direction: row; }
  .hero__panel--right p { margin-left: 0; }
  .hero__panel--right .hero__panel-meta { justify-content: flex-start; }
  .hero__panel.is-active { transform: translateY(0); }
  .hero__specs { display: none; }
  .hero__hint  { display: none; }
}

/* -----------------------------------------------------------
   6. MARQUEE (after hero)
----------------------------------------------------------- */
.marquee {
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: var(--bg);
  overflow: hidden;
  position: relative;
}
.marquee__row {
  display: flex; align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.marquee__row:last-child { border-bottom: 0; }
.marquee__track {
  display: inline-flex; gap: 56px; align-items: center;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
  animation: scroll-x 36s linear infinite;
}
.marquee__row--b .marquee__track {
  animation-direction: reverse;
  animation-duration: 44s;
  font-weight: 500;
  font-family: var(--mono);
  font-size: clamp(20px, 2.6vw, 36px);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.marquee__track .sep { color: var(--accent); font-style: normal; }
.marquee__row--b .marquee__track .sep { color: var(--accent); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* -----------------------------------------------------------
   7. SECTION COMMON
----------------------------------------------------------- */
.section__head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 160px var(--gutter) 56px;
  display: grid; gap: 24px;
}
.section__head--tight {
  padding: 120px var(--gutter) 40px;
}
.section__meta {
  display: flex; align-items: center; gap: 18px;
  font-size: 11px;
  color: var(--fg-mute);
}
.section__num span { color: var(--accent); margin-right: 2px; }
.section__tag::before {
  content: '·';
  color: var(--accent);
  margin-right: 8px;
}
.section__title {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
  margin: 0;
  max-width: 14ch;
}
.section__title .line { display: block; overflow: hidden; }
.section__title .word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform .85s var(--e-expo);
}
.section__title.is-revealed .word { transform: translateY(0); }
.section__title .line:nth-child(2) .word { transition-delay: .08s; }
.section__title .line:nth-child(3) .word { transition-delay: .16s; }
.section__title em { display: inline-block; }

.section__lead {
  font-size: clamp(15px, 1.05vw, 18px);
  color: var(--fg-dim);
  max-width: 64ch; line-height: 1.55;
  margin: 0;
}

/* -----------------------------------------------------------
   8. AREAS (kontrol yetenekleri + sticky 3D exploded)
----------------------------------------------------------- */
.areas {
  border-top: 1px solid var(--line);
  position: relative;
}
/* Background diagram for §03 head — right side on desktop, faded on mobile */
.areas .section__head {
  position: relative;
}
.areas .section__head::before {
  content: '';
  position: absolute;
  top: 50%;
  right: var(--gutter);
  transform: translateY(-50%);
  width: 50%;
  max-width: 680px;
  aspect-ratio: 600 / 320;
  background-image: url('section_2.png');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
.areas .section__head > * {
  position: relative;
  z-index: 1;
}
@media (min-width: 1100px) {
  .areas .section__head .section__lead { max-width: 48ch; }
  .areas .section__head .section__title { max-width: 14ch; }
}
@media (max-width: 1100px) {
  .areas .section__head::before {
    width: 90%;
    right: 0;
    opacity: 0.16;
    transform: translateY(-50%);
  }
}
@media (max-width: 720px) {
  .areas .section__head::before {
    opacity: 0.08;
  }
}
.areas__lower {
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 1px solid var(--line-2);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: stretch;
}
.areas__main {
  display: flex;
  flex-direction: column;
}
.areas__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: start;
}
.area {
  min-height: 38vh;
}

/* ---- Wiring diagram block (§03B) ---- */
.areas__diagram {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  padding: 64px var(--gutter) 80px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--line);
  margin: 0;
}
.diagram__meta {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.diagram__num span { color: var(--accent); margin-right: 2px; }
.diagram__sep { color: var(--line-3); }
.diagram__img {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  align-self: center;
}
.diagram__caption {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-dim);
  max-width: 56ch;
  margin: 0;
}
.area {
  position: relative;
  padding: 40px var(--gutter);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.4);
  display: grid; gap: 14px;
  align-content: start;
  transition: background .35s var(--e-out);
  overflow: hidden;
}
.area::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(420px 240px at var(--mx, 50%) var(--my, 50%), rgba(195,44,43,.10), transparent 60%);
  opacity: 0; transition: opacity .4s var(--e-out);
  pointer-events: none;
}
.area:hover::before { opacity: 1; }
.area:hover h3 { color: var(--accent); }
.area:nth-child(2n) { border-right: 0; }
.area:nth-last-child(-n+2) { border-bottom: 0; }

/* ---- Sticky 3D pane ---- */
.areas__3d {
  position: relative;
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  min-height: 200vh;       /* gives sticky 100vh of scroll for explode */
}
.areas__3d-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: stretch;
}
#exploded-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.areas__3d-meta {
  position: absolute;
  z-index: 4;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-mute);
  pointer-events: none;
}
.areas__3d-meta--top {
  top: 24px;
  left: 24px;
  display: flex; align-items: center; gap: 10px;
}
.areas__3d-meta--top .num {
  color: var(--accent);
  font-weight: 600;
}
.areas__3d-meta--top .sep { color: var(--line-3); }

.areas__3d-meta--bottom {
  bottom: 24px;
  left: 24px;
  right: 24px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.areas__3d-layers {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.areas__3d-layers li {
  display: flex; align-items: center; gap: 6px;
  font-size: 9.5px;
  letter-spacing: .14em;
  color: var(--fg-mute);
  border-left: 2px solid transparent;
  padding-left: 6px;
  transition: border-color .35s var(--e-out), color .35s var(--e-out);
}
.areas__3d-layers li.is-active {
  color: var(--accent);
  border-left-color: var(--accent);
}
.areas__3d-layers li span {
  font-weight: 700;
  color: var(--fg);
  font-size: 10.5px;
  transition: color .35s var(--e-out);
}
.areas__3d-layers li.is-active span { color: var(--accent); }

.areas__3d-hint {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--fg-mute);
  pointer-events: none;
}
.areas__3d-hint .bar {
  display: inline-block;
  width: 32px; height: 1px;
  background: linear-gradient(90deg, var(--fg-mute), transparent);
  animation: hintSlide 1.8s var(--e-in-out) infinite;
}
@keyframes hintSlide {
  0%   { transform: scaleX(.2); transform-origin: left; opacity: .4; }
  50%  { transform: scaleX( 1); transform-origin: left; opacity: 1; }
  50.01% { transform: scaleX( 1); transform-origin: right; }
  100% { transform: scaleX(.2); transform-origin: right; opacity: .4; }
}

.area__top {
  display: flex; justify-content: space-between; align-items: center;
}
.area__num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .2em;
  color: var(--accent);
}
.area__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-dim);
}
.area__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  color: var(--fg);
  border-radius: 2px;
  position: relative;
}
.area__icon::before, .area__icon::after {
  content: ''; position: absolute;
  width: 12px; height: 12px;
  border: 1px solid var(--accent);
}
.area__icon::before { top: 4px; left: 4px; border-right: 0; border-bottom: 0; }
.area__icon::after  { bottom: 4px; right: 4px; border-left: 0; border-top: 0; }
.area__icon svg { width: 26px; height: 26px; }

.area h3 {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  letter-spacing: -.025em;
  margin: 0;
  transition: color .3s var(--e-out);
}
.area p {
  font-size: 15.5px; line-height: 1.55; color: var(--fg-dim); margin: 0;
  max-width: 38ch;
}
.area__pills {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 6px;
}
.area__pills span {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--fg-dim);
}

@media (max-width: 1100px) {
  .areas__lower { grid-template-columns: 1fr; }
  .areas__3d {
    border-left: 0;
    border-top: 1px solid var(--line);
    height: 70vh;
    min-height: 0;
  }
  .areas__3d-sticky {
    position: relative;
    top: auto;
    height: 100%;
  }
  .areas__3d-hint { display: none; }
  /* Tighten section head + diagram block on tablets */
  .areas .section__head { padding: 72px var(--gutter) 32px; }
  .areas__diagram { padding: 36px var(--gutter) 48px; }
}
@media (max-width: 720px) {
  .areas__grid { grid-template-columns: 1fr; }
  .area {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    min-height: 0;
    padding: 36px var(--gutter);
  }
  .area:last-child { border-bottom: 0 !important; }
  .areas__3d { height: 56vh; }
  .areas__3d-meta--bottom { display: none; }
  /* Even tighter on phones */
  .areas .section__head { padding: 56px var(--gutter) 24px; }
  .areas__diagram { padding: 28px var(--gutter) 36px; gap: 16px; }
  .diagram__caption { font-size: 12px; }
}

/* -----------------------------------------------------------
   9. SHOWCASE (mobile app split)
----------------------------------------------------------- */
.showcase {
  position: relative;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.showcase__ghost {
  position: absolute;
  width: 48%; height: auto; right: -8%; top: 50%;
  transform: translateY(-50%);
  opacity: .35;
  color: var(--fg);
  pointer-events: none;
}
.showcase__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 160px var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}

.showcase__text { display: grid; gap: 28px; }
.showcase__text .section__title { max-width: 12ch; }

.showcase__bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 8px;
}
.showcase__bullets li {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  font-size: 15.5px;
  color: var(--fg);
}
.showcase__bullets .bullet {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* PHONE MOCKUP */
.showcase__mock {
  display: flex; gap: 28px; align-items: center;
  justify-content: flex-end;
  position: relative;
}
.phone {
  position: relative;
  width: clamp(220px, 22vw, 300px);
  aspect-ratio: 9 / 19;
  background: #fff;
  border-radius: 36px;
  border: 1px solid var(--line-2);
  box-shadow:
    0 0 0 8px rgba(22,22,25,0.04),
    0 30px 60px -20px rgba(22,22,25,0.18);
  overflow: hidden;
  flex-shrink: 0;
}
.phone--list {
  margin-top: 56px;
  transform: translateY(20px);
}
.phone__notch {
  position: absolute; left: 50%; top: 10px;
  transform: translateX(-50%);
  width: 80px; height: 18px;
  background: #161619; border-radius: 999px;
  z-index: 5;
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  background: var(--bg);
  display: flex; flex-direction: column;
  overflow: hidden;
}

/* DEVICES screen — top red panel + bottom list */
.phone__screen--devices {
  padding: 30px 0 0;
  gap: 0;
}

.phone__red {
  background: linear-gradient(165deg, #c32c2b 0%, #b62524 60%, #9c1f1e 100%);
  color: #fff;
  padding: 14px 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  border-radius: 0 0 18px 18px;
}
.phone__red::before {
  content: ''; position: absolute;
  inset: 0;
  border-radius: 0 0 18px 18px;
  background: radial-gradient(120% 70% at 50% 0%, rgba(255,255,255,.08), transparent 60%);
  pointer-events: none;
}

.phone__red-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  position: relative; z-index: 2;
}
.phone__gear {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.16);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
}
.phone__gear svg { width: 14px; height: 14px; }
.phone__red-label {
  text-align: right;
  display: grid; gap: 1px;
  font-family: var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.phone__red-label span {
  font-size: 8.5px;
  color: rgba(255,255,255,.65);
}
.phone__red-label strong {
  font-size: 11px; font-weight: 700;
  color: #fff;
}

.phone__red-car {
  display: grid; place-items: center;
  padding: 6px 4px 2px;
  position: relative; z-index: 2;
}
.phone__red-car img,
.phone__red-car svg {
  width: 45%; height: auto;
  max-width: 130px;
  /* force pure white regardless of source SVG fill */
  filter: brightness(0) invert(1) drop-shadow(0 4px 6px rgba(0,0,0,.18));
}

.phone__actions-strip {
  display: grid;
  grid-template-columns: 14px 1fr 14px;
  align-items: center;
  gap: 4px;
  position: relative; z-index: 2;
  margin-top: 2px;
}
.phone__chev {
  background: transparent; border: 0;
  color: rgba(255,255,255,.7);
  font-size: 16px; font-weight: 300;
  cursor: pointer;
  padding: 0; line-height: 1;
}
.phone__actions-list {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.phone__actions-list span {
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  display: grid; place-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.phone__actions-list span svg {
  width: 50%; height: 50%;
}
.phone__actions-list span.is-on {
  background: var(--accent);
  color: #fff;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.18),
    0 2px 8px rgba(0,0,0,.16);
}

.phone__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  position: relative; z-index: 2;
  margin-top: 6px;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 10px;
}
.phone__stat {
  display: grid; place-items: center;
  gap: 3px;
  font-family: var(--mono);
  text-align: center;
  color: #fff;
}
.phone__stat svg {
  width: 16px; height: 16px;
  opacity: .9;
}
.phone__stat strong {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -.01em;
  font-family: 'Manrope', sans-serif;
}
.phone__stat small {
  font-size: 8px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.7);
  margin-left: 2px;
}
.phone__stat strong + small {
  display: inline;
}

/* Device list */
.phone__devices {
  list-style: none; padding: 8px; margin: 0;
  display: grid; gap: 6px;
  flex: 1;
  overflow: hidden;
}
.phone__devices li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .25s var(--e-out);
}
.phone__devices li:hover {
  border-color: var(--accent-dim);
}
.phone__device-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2ec27e;
  box-shadow: 0 0 6px rgba(46,194,126,.55);
}
.phone__device-name {
  display: grid; gap: 1px;
  min-width: 0;
}
.phone__device-name strong {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phone__device-name small {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .1em;
  color: var(--fg-mute);
  text-transform: lowercase;
}
.phone__device-signals {
  display: flex; gap: 4px;
  flex-shrink: 0;
}
.phone__sig {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 5px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .14em;
  color: var(--accent);
  background: var(--accent-soft);
}
.phone__sig .bars {
  display: inline-block;
  width: 11px; height: 8px;
  background:
    linear-gradient(currentColor, currentColor) 0    100%/2px 30% no-repeat,
    linear-gradient(currentColor, currentColor) 3px  100%/2px 55% no-repeat,
    linear-gradient(currentColor, currentColor) 6px  100%/2px 78% no-repeat,
    linear-gradient(currentColor, currentColor) 9px  100%/2px 100% no-repeat;
}
.phone__sig .bars--3 {
  background:
    linear-gradient(currentColor, currentColor) 0    100%/2px 30% no-repeat,
    linear-gradient(currentColor, currentColor) 3px  100%/2px 55% no-repeat,
    linear-gradient(currentColor, currentColor) 6px  100%/2px 78% no-repeat,
    linear-gradient(rgba(195,44,43,.25), rgba(195,44,43,.25)) 9px 100%/2px 100% no-repeat;
}
.phone__sig .bars--2 {
  background:
    linear-gradient(currentColor, currentColor) 0    100%/2px 30% no-repeat,
    linear-gradient(currentColor, currentColor) 3px  100%/2px 55% no-repeat,
    linear-gradient(rgba(195,44,43,.25), rgba(195,44,43,.25)) 6px 100%/2px 78% no-repeat,
    linear-gradient(rgba(195,44,43,.25), rgba(195,44,43,.25)) 9px 100%/2px 100% no-repeat;
}

.phone__screen--list { padding: 50px 12px 14px; gap: 6px; }
.phone__list-head {
  font-family: var(--mono); font-size: 9px; letter-spacing: .18em;
  color: var(--fg-mute); padding: 4px 6px;
}
.phone__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 4px;
}
.phone__list li {
  display: grid; grid-template-columns: 18px 1fr 14px;
  align-items: center; gap: 8px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 11px;
  color: var(--fg);
}
.phone__list li > span:first-child { color: var(--accent); font-size: 10px; }
.phone__list .caret { color: var(--accent); font-weight: 700; }

@media (max-width: 1100px) {
  .showcase__inner { grid-template-columns: 1fr; }
  .showcase__mock {
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: nowrap;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;
  }
  .phone:not(.phone--list) {
    z-index: 2;
    width: clamp(220px, 58vw, 280px);
    align-self: flex-end;
    margin: 0;
  }
  .phone--list {
    display: block;
    width: clamp(220px, 58vw, 280px);
    align-self: flex-start;
    margin: 0;
    margin-top: -45%;       /* pull up under bottom of main phone */
    margin-left: 0;          /* flush with viewport left — no overflow */
    transform: none;
    z-index: 1;
  }
}

/* -----------------------------------------------------------
   10. ARCHITECTURE (4 layers)
----------------------------------------------------------- */
.arch {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.arch__layers {
  list-style: none; padding: 0; margin: 0;
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 1px solid var(--line-2);
}
.layer {
  display: grid;
  grid-template-columns: 220px 1.4fr 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px) var(--gutter);
  border-bottom: 1px solid var(--line);
  position: relative;
  align-items: center;
  transition: background .4s var(--e-out);
  overflow: hidden;
}
.layer__bg {
  position: absolute;
  top: 50%;
  right: clamp(24px, 3vw, 56px);
  transform: translateY(-50%);
  width: clamp(160px, 18vw, 260px);
  height: clamp(160px, 18vw, 260px);
  color: #9c1f1e;
  opacity: 0.30;
  pointer-events: none;
  z-index: 0;
  transition: opacity .4s var(--e-out), transform .4s var(--e-out);
}
.layer:hover .layer__bg {
  opacity: 0.42;
  transform: translateY(-50%) scale(1.05) rotate(2deg);
}
.layer > *:not(.layer__bg) {
  position: relative;
  z-index: 1;
}
@media (max-width: 1000px) {
  .layer__bg {
    top: 28px;
    right: 24px;
    transform: none;
    width: 120px; height: 120px;
    opacity: 0.20;
  }
  .layer:hover .layer__bg { transform: rotate(2deg) scale(1.05); }
}
.layer:hover {
  background: rgba(195,44,43,.04);
}
.layer:hover .layer__num { color: var(--accent); }
.layer:hover h3 { color: var(--accent); }
.layer:last-child { border-bottom: 0; }

.layer__top {
  display: grid; gap: 6px; align-items: start; align-content: start;
}
.layer__num {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 0.85;
  color: var(--fg);
  -webkit-text-stroke: 1px var(--fg);
  -webkit-text-fill-color: transparent;
  transition: color .3s, -webkit-text-stroke-color .3s;
}
.layer:hover .layer__num {
  -webkit-text-stroke-color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}
.layer__tag {
  font-size: 10.5px; letter-spacing: .2em;
  color: var(--fg-mute);
}
.layer h3 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -.03em;
  margin: 0;
  transition: color .3s var(--e-out);
}
.layer p {
  font-size: 16px; line-height: 1.55;
  color: var(--fg-dim);
  margin: 0;
  max-width: 60ch;
}
.layer__row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--fg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.layer__row::-webkit-scrollbar { display: none; }
.layer__row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px dashed var(--accent-dim);
  color: var(--accent);
  border-radius: 999px;
  flex-shrink: 0;
  white-space: nowrap;
}
.layer__row span svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

@media (max-width: 1000px) {
  .layer { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------
   11. CAPS (hardware specs)
----------------------------------------------------------- */
.caps {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.caps__neural {
  position: absolute;
  top: 80px; left: -5%;
  width: 65%;
  color: rgba(22,22,25,.18);
  opacity: .8;
  pointer-events: none;
}
.caps__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 1px solid var(--line-2);
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 2;
}
.cap {
  padding: 48px var(--gutter);
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  display: grid; gap: 14px;
  align-content: start;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--e-out), transform .8s var(--e-out);
}
.cap.is-revealed { opacity: 1; transform: translateY(0); }
.cap:nth-child(1) { transition-delay: .05s; }
.cap:nth-child(2) { transition-delay: .15s; }
.cap:nth-child(3) { transition-delay: .25s; }
.cap:nth-child(4) { transition-delay: .35s; }
.cap:last-child { border-right: 0; }

.cap::before {
  content: ''; position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter); height: 0;
  background: var(--accent);
  transition: height .9s var(--e-out) .2s;
}
.cap.is-revealed::before { height: 2px; }

.cap__num {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--accent);
  margin-bottom: 4px;
}
.cap h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700; letter-spacing: -.025em; margin: 0;
}
.cap p {
  font-size: 14.5px; line-height: 1.55; color: var(--fg-dim); margin: 0;
}
.cap__row {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 11px; letter-spacing: .14em;
  border-top: 1px dashed var(--line-2);
  padding-top: 12px; margin-top: 4px;
  color: var(--fg-mute);
}

@media (max-width: 1100px) {
  .caps__grid { grid-template-columns: repeat(2, 1fr); }
  .cap:nth-child(2n) { border-right: 0; }
  .cap:nth-child(odd) { border-right: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .caps__grid { grid-template-columns: 1fr; }
  .cap { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .cap:last-child { border-bottom: 0; }
}

/* -----------------------------------------------------------
   12. ROAD (manifesto marquee + rays)
----------------------------------------------------------- */
.road {
  position: relative;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: var(--bg);
  overflow: hidden;
  padding: 80px 0;
}
.road__rays {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.road__row {
  position: relative; z-index: 2;
}
.road__track {
  display: inline-flex; gap: 64px; align-items: center;
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 800;
  letter-spacing: -.04em;
  white-space: nowrap;
  animation: scroll-x 28s linear infinite;
  color: var(--fg);
}
.road__track .sep {
  color: var(--accent);
  font-size: .45em;
}
.road__track em {
  -webkit-text-stroke: 1.5px var(--accent);
  -webkit-text-fill-color: transparent;
  font-style: normal;
  color: transparent;
}

/* -----------------------------------------------------------
   13. TRUST (3 pillars)
----------------------------------------------------------- */
.trust {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.trust__grid {
  list-style: none; padding: 0; margin: 0;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-2);
}
.pillar {
  padding: 48px var(--gutter) 64px;
  border-right: 1px solid var(--line);
  display: grid; gap: 18px;
  align-content: start;
  transition: background .4s var(--e-out);
  position: relative;
}
.pillar:hover { background: rgba(195,44,43,.04); }
.pillar:hover .pillar__num {
  -webkit-text-fill-color: var(--accent);
  -webkit-text-stroke-color: var(--accent);
}
.pillar:hover h3 { color: var(--accent); }
.pillar:last-child { border-right: 0; }

.pillar__num {
  font-size: clamp(72px, 9vw, 140px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 0.85;
  -webkit-text-stroke: 1.5px var(--fg);
  -webkit-text-fill-color: transparent;
  transition: -webkit-text-stroke-color .3s, -webkit-text-fill-color .3s;
}
.pillar h3 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -.025em;
  margin: 0;
  transition: color .3s var(--e-out);
}
.pillar p {
  font-size: 16px; line-height: 1.55;
  color: var(--fg-dim); margin: 0;
  max-width: 38ch;
}
.pillar__meta {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 11px; letter-spacing: .14em;
  color: var(--fg-mute);
  border-top: 1px solid var(--line);
  padding-top: 16px; margin-top: 8px;
}

@media (max-width: 1000px) {
  .trust__grid { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
}

/* -----------------------------------------------------------
   14. AUDIENCE (5 segments)
----------------------------------------------------------- */
.audience {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.audience__grid {
  list-style: none; padding: 0; margin: 0;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.audience li {
  padding: 32px var(--gutter) 40px;
  border-right: 1px solid var(--line);
  display: grid; gap: 10px;
  align-content: start;
  background: rgba(255,255,255,.45);
}
.audience li:last-child { border-right: 0; }
.audience__num {
  font-size: 11px; letter-spacing: .2em;
  color: var(--accent);
}
.audience h4 {
  font-size: 18px; font-weight: 700;
  letter-spacing: -.02em; margin: 0;
}
.audience p {
  font-size: 13.5px; line-height: 1.55;
  color: var(--fg-dim); margin: 0;
  max-width: 30ch;
}

@media (max-width: 1100px) {
  .audience__grid { grid-template-columns: repeat(2, 1fr); }
  .audience li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .audience li:nth-child(2n) { border-right: 0; }
  .audience li:last-child { border-right: 0; border-bottom: 0; }
}
@media (max-width: 600px) {
  .audience__grid { grid-template-columns: 1fr; }
  .audience li { border-right: 0 !important; }
}

/* -----------------------------------------------------------
   15. CTA (newsletter)
----------------------------------------------------------- */
.cta {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.cta__grid96 {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 160px var(--gutter);
  display: grid; gap: 28px;
  text-align: center;
  justify-items: center;
}
.cta__inner > .section__meta { justify-content: center; }
.cta__title {
  font-size: clamp(56px, 9vw, 144px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .9;
  margin: 0;
  display: flex; flex-direction: column; gap: 0;
}
.cta__title em {
  font-style: normal;
  color: var(--accent);
  font-weight: 800;
}
.cta__lead {
  max-width: 56ch;
  font-size: clamp(15px, 1.05vw, 18px);
  color: var(--fg-dim);
  line-height: 1.55;
  margin: 0;
}
.cta__form {
  margin-top: 12px;
  width: min(560px, 100%);
  display: flex;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  padding: 6px;
}
.cta__form input {
  flex: 1; min-width: 0;
  border: 0; outline: 0;
  padding: 14px 20px;
  font: inherit;
  background: transparent;
  font-size: 14.5px;
}
.cta__form input::placeholder {
  font-family: var(--mono);
  font-size: 12px; color: var(--fg-mute);
  letter-spacing: .08em;
}
.cta__form button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .04em;
  transition: background .25s var(--e-out);
}
.cta__form button:hover { background: var(--accent-2); }
.cta__form button svg { transition: transform .35s var(--e-out); }
.cta__form button:hover svg { transform: rotate(45deg); }

.cta__direct {
  margin-top: 32px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255,255,255,.55);
}
.cta__channel {
  text-align: left;
  padding: 24px clamp(18px, 2.5vw, 32px);
  display: grid; gap: 6px;
  border-right: 1px solid var(--line);
  transition: background .25s var(--e-out);
}
.cta__channel:last-child { border-right: 0; }
.cta__channel:hover { background: var(--accent-soft); }
.cta__channel-tag {
  font-size: 10.5px; letter-spacing: .2em;
  color: var(--fg-mute);
}
.cta__channel-val {
  font-size: 15.5px; line-height: 1.4;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--fg);
}
.cta__channel:hover .cta__channel-val { color: var(--accent); }

@media (max-width: 880px) {
  .cta__direct { grid-template-columns: 1fr; }
  .cta__channel { border-right: 0; border-bottom: 1px solid var(--line); }
  .cta__channel:last-child { border-bottom: 0; }
}

/* -----------------------------------------------------------
   16. FOOTER
----------------------------------------------------------- */
.foot {
  background: var(--bg-dark);
  color: rgba(255,255,255,.78);
  border-top: 1px solid #000;
}
.foot__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 96px var(--gutter) 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.foot__brand h3 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800; letter-spacing: -.04em;
  margin: 14px 0 12px;
  color: #fff;
}
.foot__brand p {
  max-width: 32ch; line-height: 1.55;
  color: rgba(255,255,255,.5);
  margin: 0;
}
.foot__logo {
  width: 48px; height: 48px;
  object-fit: contain;
  display: block;
}

.foot__col { display: grid; gap: 16px; align-content: start; }
.foot__label {
  font-size: 10.5px; letter-spacing: .2em;
  color: rgba(255,255,255,.45);
}
.foot__col ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px;
  font-size: 14px;
}
.foot__col a:hover { color: var(--accent-2); }
.foot__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .2em; color: var(--accent-2);
}

.foot__legal {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px var(--gutter);
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 14px 56px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.foot__bottom {
  max-width: var(--maxw); margin: 0 auto;
  padding: 22px var(--gutter);
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 48px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.foot__bottom-co {
  color: rgba(255,255,255,.78);
  font-weight: 700;
  letter-spacing: .16em;
  text-align: center;
  flex: 1;
  min-width: 0;
}

@media (max-width: 880px) {
  .foot__bottom { justify-content: center; text-align: center; }
  .foot__bottom-co { flex: 0 0 100%; order: -1; }
  .foot__legal { gap: 12px 32px; }
}
.foot__credit {
  text-align: center;
  padding: 14px var(--gutter) 22px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.foot__credit a {
  color: rgba(255,255,255,.45);
  transition: color .25s var(--e-out);
  position: relative;
  padding-bottom: 2px;
}
.foot__credit a::after {
  content: '';
  position: absolute;
  left: 50%; right: 50%;
  bottom: 0;
  height: 1px;
  background: var(--accent-2);
  transition: left .35s var(--e-out), right .35s var(--e-out);
}
.foot__credit a:hover { color: var(--accent-2); }
.foot__credit a:hover::after { left: 0; right: 0; }

@media (max-width: 1000px) {
  .foot__inner { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .foot__inner { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------
   17. UTILITIES
----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
