/* =========================================================
   Smart Safety Helmet — West Strategies
   Dark cinematic industrial. Gold = brand, signal colours = status.
   ========================================================= */
:root {
  --bg: #0b0a08;
  --bg-2: #12100d;
  --surface: #17140f;
  --surface-2: #1f1b15;
  --line: rgba(240, 226, 196, 0.12);
  --line-strong: rgba(240, 226, 196, 0.24);
  --text: #f3eee4;
  --text-2: #b9b0a0;   /* 8.6:1 on bg */
  --text-3: #8d8576;   /* 5.0:1 on bg */
  --gold: #d4ab45;
  --gold-2: #f0cd6e;
  --gold-ink: #1a1405;
  --ok: #4fd48a;
  --warn: #f2b43a;
  --alert: #ff5a4a;
  --signal: #49c6e5;

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

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 14px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --z-nav: 40; --z-menu: 39; --z-loader: 100;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--gold-ink); }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }
.eyebrow { color: var(--gold); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.h2 {
  font-size: clamp(36px, 5.4vw, 76px); font-weight: 650; letter-spacing: -0.02em;
  font-variation-settings: "wdth" 112; max-width: 18ch; text-wrap: balance;
}
.display {
  font-size: clamp(48px, 8vw, 120px); font-weight: 700; letter-spacing: -0.03em; line-height: 0.95;
  font-variation-settings: "wdth" 118; text-transform: uppercase;
}
.display em, .h2 em, .statement em, .hero__title em { font-style: normal; color: var(--gold); }
.lead { color: var(--text-2); font-size: clamp(17px, 1.35vw, 20px); max-width: 58ch; margin-top: 24px; }
.section-head { margin-bottom: clamp(48px, 7vw, 96px); }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--gold-ink);
  padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  letter-spacing: 0.01em; transition: background .25s var(--ease-out), color .25s, border-color .25s, transform .2s;
  touch-action: manipulation; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--text); background: rgba(11,10,8,.25); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--full { width: 100%; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: var(--z-loader); background: var(--bg);
  display: grid; place-items: end start; padding: var(--gutter);
}
.loader__inner { display: grid; gap: 12px; width: min(420px, 100%); }
.loader__label { color: var(--text-3); }
.loader__count { font-size: clamp(64px, 12vw, 160px); font-weight: 700; line-height: .9; font-variation-settings: "wdth" 125; color: var(--gold); font-variant-numeric: tabular-nums; }
.loader__bar { height: 2px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--gold); }
.no-js .loader, .loader.is-done { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  display: flex; align-items: center; gap: 24px; padding: 16px var(--gutter);
  transition: background .4s, backdrop-filter .4s, transform .5s var(--ease-out), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11,10,8,.72); backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.nav.is-hidden { transform: none; } /* menu bar stays visible at all times */
.nav__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav__brand img { width: 46px; height: auto; }
.nav__name { display: grid; font-weight: 700; font-size: 15px; line-height: 1.15; font-variation-settings: "wdth" 110; text-transform: uppercase; letter-spacing: .02em; }
.nav__name small { font-family: var(--mono); font-weight: 400; font-size: 10.5px; color: var(--text-3); letter-spacing: .12em; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 10px 14px; font-size: 14px; color: var(--text-2); border-radius: 999px; transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(240,226,196,.07); }
.nav__cta { min-height: 42px; padding: 0 18px; font-size: 14px; }
.nav__toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.nav__toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease-out); }
.nav__toggle span:first-child { top: 19px; } .nav__toggle span:last-child { top: 27px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: rgba(11,10,8,.97);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 96px var(--gutter) 48px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { font-size: 34px; font-weight: 650; font-variation-settings: "wdth" 115; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding-top: 150px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero__film { position: absolute; inset: 0; z-index: -1; background: #000; }
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease-in-out); }
.scene.is-active { opacity: 1; }
.scene__media { position: absolute; inset: -4%; background-size: cover; background-position: center; will-change: transform; transform: scale(1.04); }
.scene.is-active .scene__media { animation: kenburns-a 9s linear forwards; }
.scene:nth-child(2).is-active .scene__media { animation-name: kenburns-b; }
.scene:nth-child(3).is-active .scene__media { animation-name: kenburns-c; }
/* warm, low-key grade so daylight stock footage matches the gold/dark palette */
.scene video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; filter: sepia(.45) saturate(1.25) contrast(1.12) brightness(.66) hue-rotate(-8deg); transform: scale(1.04); }
.scene.has-video video { opacity: 1; }
@keyframes kenburns-a { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.22) translate3d(-1.5%, 1%, 0); } }
@keyframes kenburns-b { from { transform: scale(1.16) translate3d(3%, 2%, 0); } to { transform: scale(1.04) translate3d(-3%, -1%, 0); } }
@keyframes kenburns-c { from { transform: scale(1.08) translate3d(-4%, 0, 0); } to { transform: scale(1.18) translate3d(3%, -1%, 0); } }
.hero.is-paused .scene__media { animation-play-state: paused !important; }

.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,10,8,.55) 0%, rgba(11,10,8,0) 22%, rgba(11,10,8,0) 45%, rgba(11,10,8,.85) 82%, var(--bg) 100%),
    radial-gradient(120% 80% at 20% 90%, rgba(11,10,8,.7), transparent 60%);
}
.hero__grain {
  position: absolute; inset: 0; opacity: .18; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }
.hero__scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(0,0,0,.12) 0 1px, transparent 1px 3px); opacity: .35; }

/* Tracking tags over the film */
.scene__tags { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.tag {
  position: absolute; left: var(--x); top: var(--y);
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: var(--text); background: rgba(11,10,8,.6); border: 1px solid var(--line-strong); border-radius: 6px; backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.tag b { font-weight: 500; color: var(--alert); }
.tag b.ok { color: var(--ok); }
.tag b.warn { color: var(--warn); }
.tag--warn b { color: var(--warn); }
.tag i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.tag--alert i { background: var(--alert); } .tag--warn i { background: var(--warn); }
.tag i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid currentColor; color: inherit; opacity: .6; animation: ping 1.8s var(--ease-out) infinite; }
.tag i { color: var(--ok); } .tag--alert i { color: var(--alert); } .tag--warn i { color: var(--warn); }
.tag--alert { border-color: rgba(255,90,74,.55); }
.scene.is-active .tag { opacity: 1; transform: none; }
.scene.is-active .tag:nth-child(1) { transition-delay: 1.2s; }
.scene.is-active .tag:nth-child(2) { transition-delay: 1.9s; }
.scene.is-active .tag:nth-child(3) { transition-delay: 2.6s; }
@keyframes ping { from { transform: scale(.6); opacity: .8; } to { transform: scale(2.2); opacity: 0; } }

.hero__hud { position: absolute; top: 92px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; color: var(--text-2); pointer-events: none; }
.hero__hud .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--alert); margin: 0 6px 1px; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero__content { position: relative; padding: 0 var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); width: 100%; margin: 0 auto; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(212,171,69,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(212,171,69,0); } 100% { box-shadow: 0 0 0 0 rgba(212,171,69,0); } }
.hero__title {
  font-size: clamp(44px, min(8vw, 12.5vh), 140px); font-weight: 750; line-height: .9; letter-spacing: -0.035em;
  text-transform: uppercase; font-variation-settings: "wdth" 112;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { max-width: 54ch; margin-top: 28px; color: var(--text-2); font-size: clamp(16px, 1.3vw, 19px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__chapters {
  position: relative; display: grid; grid-template-columns: auto repeat(4, 1fr); gap: 0 20px; align-items: end;
  padding: 48px var(--gutter) 20px; max-width: calc(var(--max) + 2 * var(--gutter)); width: 100%; margin: 0 auto;
}
.film-toggle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; }
.film-toggle svg { width: 16px; height: 16px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; grid-area: 1/1; }
.film-toggle .i-play { fill: var(--text); stroke: none; opacity: 0; }
.film-toggle[aria-pressed="true"] .i-play { opacity: 1; }
.film-toggle[aria-pressed="true"] .i-pause { opacity: 0; }
.film-toggle:hover { border-color: var(--gold); }
.chapter { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; text-align: left; padding: 10px 0 0; min-height: 44px; color: var(--text-3); transition: color .3s; }
.chapter:hover, .chapter.is-active { color: var(--text); }
.chapter__n { color: var(--gold); }
.chapter__t { font-size: 14px; font-weight: 500; }
.chapter__bar { grid-column: 1 / -1; height: 2px; background: var(--line-strong); margin-top: 10px; overflow: hidden; }
.chapter__bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.chapter.is-done .chapter__bar i { width: 100%; }
.hero__meta { position: absolute; right: var(--gutter); top: calc(92px + 28px); color: var(--gold); text-align: right; }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg); }
.ticker__track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.ticker span { font-size: clamp(22px, 2.6vw, 36px); font-weight: 600; text-transform: uppercase; font-variation-settings: "wdth" 120; white-space: nowrap; color: var(--text-2); }
.ticker b { color: var(--gold); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Challenge ---------- */
.statement {
  font-size: clamp(30px, 4.4vw, 64px); font-weight: 550; line-height: 1.12; letter-spacing: -0.02em; max-width: 24ch;
  font-variation-settings: "wdth" 105; text-wrap: balance;
}
.statement .w { display: inline-block; opacity: .16; transition: opacity .2s; }
.challenge__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(64px, 9vw, 120px); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.challenge__list li { background: var(--bg); padding: 32px 28px 40px; display: grid; gap: 14px; align-content: start; min-height: 260px; transition: background .4s; }
.challenge__list li:hover { background: var(--bg-2); }
.challenge__list .mono { color: var(--gold); }
.challenge__list h3 { font-size: 22px; font-weight: 650; font-variation-settings: "wdth" 110; margin-top: auto; padding-top: 48px; }
.challenge__list p { color: var(--text-2); font-size: 15.5px; }

/* ---------- Product ---------- */
.product { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.product__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.product__stage { position: relative; aspect-ratio: 16/10; border-radius: 24px; overflow: hidden; background: #050505; border: 1px solid var(--line); }
.product__stage { background: radial-gradient(70% 80% at 50% 40%, #2a251c, #050505 75%); }
.product__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product__art { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; }
.product__stage .product__ring { display: none; }
.product__stage .product__glow { opacity: .5; }
.product__led { animation: led 2s ease-in-out infinite; }
.product__signal path { animation: sig 2.4s ease-out infinite; opacity: 0; }
.product__signal path:nth-child(2) { animation-delay: .3s; }
.product__signal path:nth-child(3) { animation-delay: .6s; }
/* ---------- Specs ---------- */
.specs { background: var(--bg-2); border-top: 1px solid var(--line); }
.specs__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin: clamp(48px, 6vw, 80px) 0; }
.specs__device { margin: 0; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(70% 70% at 50% 45%, #2a251c, var(--bg) 80%); color: var(--text-3); }
.specs__device svg { width: 100%; height: auto; max-width: 420px; margin: 0 auto; display: block; }
.specs__dimtxt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; fill: var(--text-2); }
.specs__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.specs__stats li { padding: clamp(18px, 2.4vw, 32px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.specs__stats b { font-size: clamp(26px, 3vw, 42px); font-weight: 650; font-variation-settings: "wdth" 112; letter-spacing: -0.02em; color: var(--gold-2); line-height: 1; font-variant-numeric: tabular-nums; }
.specs__stats span { color: var(--text-2); font-size: 15px; line-height: 1.4; }
.specs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.specs__group h3 { color: var(--gold); padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line-strong); }
.specs__group dl { margin: 0; }
.specs__group dl > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs__group dt { color: var(--text-3); font-size: 13px; }
.specs__group dd { margin: 2px 0 0; color: var(--text); font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.specs__checks li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; }
.specs__checks li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
@media (max-width: 1100px) { .specs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .specs__top { grid-template-columns: 1fr; } .specs__device svg { max-width: 340px; } }
@media (max-width: 560px) { .specs__grid, .specs__stats { grid-template-columns: 1fr 1fr; } .specs__grid { grid-template-columns: 1fr; } }
@keyframes led { 50% { opacity: .25; } }
@keyframes sig { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .product__led, .product__signal path { animation: none; opacity: 1; } }
.product__glow { position: absolute; inset: auto 10% -20% 10%; height: 60%; background: radial-gradient(closest-side, rgba(212,171,69,.28), transparent); filter: blur(30px); z-index: 1; pointer-events: none; }
.product__ring { position: absolute; left: 50%; bottom: 10%; width: 70%; aspect-ratio: 3/1; transform: translateX(-50%); border: 1px solid rgba(212,171,69,.35); border-radius: 50%; z-index: 1; pointer-events: none; }
.product__caption { position: absolute; left: 20px; bottom: 18px; color: var(--text-2); z-index: 2; }
.features { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.features li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.features svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.features h3 { font-size: 19px; font-weight: 650; margin-bottom: 6px; }
.features p { color: var(--text-2); font-size: 15.5px; }

/* ---------- How it works ---------- */
.how { overflow: hidden; }
.how__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .12; filter: grayscale(.4); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.flow { display: grid; grid-template-columns: 1fr 48px 1fr 48px 1fr 48px 1fr 48px 1fr; align-items: start; }
.flow__node { display: grid; gap: 10px; }
.flow__img { aspect-ratio: 1; border-radius: var(--radius); background: radial-gradient(70% 70% at 50% 45%, #2a251d, var(--surface)); border: 1px solid var(--line); display: grid; place-items: center; padding: 18%; position: relative; overflow: hidden; }
.flow__img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.5)); transition: transform .6s var(--ease-out); }
.flow__node:hover .flow__img img { transform: scale(1.06) translateY(-4px); }
.flow__n { color: var(--gold); margin-top: 8px; }
.flow__node h3 { font-size: 19px; font-weight: 650; font-variation-settings: "wdth" 108; }
.flow__node p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.flow__link { position: relative; height: 100%; display: grid; place-items: start center; padding-top: calc((100% * 0) + 0px); }
.flow__link::before {
  content: ""; position: absolute; top: 18%; left: 4px; right: 4px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px); background-size: 24px 1px;
  animation: dash 1s linear infinite;
}
.flow__link .mono { position: absolute; top: calc(18% + 10px); font-size: 9.5px; color: var(--gold); white-space: nowrap; writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .14em; left: 50%; translate: -50% 0; }
@keyframes dash { to { background-position: 24px 0; } }
.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(56px, 8vw, 104px); }
.stack > div { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(23,20,15,.6); backdrop-filter: blur(6px); }
.stack .mono { color: var(--gold); }
.stack p { color: var(--text-2); font-size: 14.5px; margin-top: 10px; }

/* ---------- Applications ---------- */
.apps { position: relative; padding-top: clamp(96px, 14vw, 180px); }
.apps__intro { margin-bottom: 48px; }
.apps__pin { position: relative; overflow: hidden; }
.apps__track { display: flex; gap: 20px; padding: 0 var(--gutter) 40px; width: max-content; }
.app-card { position: relative; width: min(78vw, 980px); height: min(72vh, 640px); border-radius: 22px; overflow: hidden; flex: none; border: 1px solid var(--line); }
.app-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease-out); }
.app-card:hover img { transform: scale(1.12); }
.app-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,10,8,.88) 0%, rgba(11,10,8,.4) 50%, rgba(11,10,8,0) 80%); }
.app-card__body { position: absolute; left: 0; bottom: 0; top: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 4vw, 48px); max-width: 540px; }
.app-card__body > .mono { color: var(--gold); margin-bottom: auto; }
.app-card h3 { font-size: clamp(34px, 4.6vw, 64px); font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; font-variation-settings: "wdth" 118; line-height: .92; }
.app-card p { color: var(--text-2); margin-top: 16px; font-size: 16px; }
.app-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.app-card li { padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 11px; color: var(--text); background: rgba(11,10,8,.4); }
.apps__progress { height: 2px; background: var(--line); margin: 0 var(--gutter); }
.apps__progress i { display: block; height: 100%; width: 0; background: var(--gold); }

/* ---------- Platform ---------- */
.platform__grid { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 20px; align-items: stretch; }
.platform__screen { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.platform__screen img { width: 100%; flex: 1; object-fit: cover; }
.platform__screen figcaption { padding: 14px 18px; color: var(--text-2); border-top: 1px solid var(--line); }
.platform__phone { border-radius: var(--radius); background: radial-gradient(80% 60% at 50% 40%, #2a2419, var(--surface)); border: 1px solid var(--line); display: grid; place-items: end center; overflow: hidden; padding-top: 24px; }
.platform__phone { padding-top: 0; }
.platform__phone img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.35); transform-origin: 50% 60%; }
.platform__cards { display: grid; gap: 20px; }
.card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.card h3 { font-size: 19px; font-weight: 650; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15px; }
.alerts { display: grid; gap: 8px; margin-top: 16px; text-transform: none; letter-spacing: .02em; font-size: 11.5px; }
.alerts .a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); }
.alerts .a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.a--ok::before { background: var(--ok); } .a--warn::before { background: var(--warn); } .a--alert::before { background: var(--alert); }
.a--alert { border-color: rgba(255,90,74,.4) !important; }
.dataflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 20px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.dataflow__item { background: var(--bg-2); padding: 28px; }
.dataflow__item .mono { color: var(--gold); }
.dataflow__item h3 { font-size: 24px; font-weight: 650; margin: 14px 0 8px; font-variation-settings: "wdth" 112; }
.dataflow__item p { color: var(--text-2); font-size: 15px; }

/* ---------- Security ---------- */
.security { overflow: hidden; }
.security__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent); filter: sepia(.6) hue-rotate(-10deg) saturate(.7); }
.security__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 80px); position: relative; }
.sec { padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(18,16,13,.75); backdrop-filter: blur(10px); }
.sec svg { width: 32px; height: 32px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 40px; }
.sec h3 { font-size: 21px; font-weight: 650; margin-bottom: 8px; }
.sec p { color: var(--text-2); font-size: 15.5px; }

/* ---------- Roadmap ---------- */
.timeline { position: relative; }
.timeline__months { display: grid; grid-template-columns: repeat(8, 1fr); color: var(--text-3); padding-bottom: 14px; }
.timeline__rail { height: 2px; background: var(--line-strong); position: relative; margin-bottom: 32px; }
.timeline__rail i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold); }
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.phase { padding: 20px 22px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--gold); }
.phase .mono { color: var(--gold); font-size: 11px; }
.phase h3 { font-size: 21px; font-weight: 650; margin: 10px 0 6px; font-variation-settings: "wdth" 110; }
.phase p { color: var(--text-2); font-size: 14.5px; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact__bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; opacity: .3; mask-image: linear-gradient(180deg, transparent, #000 40%); }
.contact__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; max-width: 560px; }
.why li { border-top: 1px solid var(--line-strong); padding-top: 16px; }
.why h3 { font-size: 17px; font-weight: 650; }
.why p { color: var(--text-2); font-size: 15px; margin-top: 4px; }
.contact__info { font-style: normal; display: grid; gap: 6px; margin-top: 40px; font-size: clamp(18px, 1.6vw, 22px); }
.contact__info a { width: fit-content; border-bottom: 1px solid var(--line-strong); transition: color .2s, border-color .2s; }
.contact__info a:hover { color: var(--gold-2); border-color: var(--gold); }
.contact__info span { color: var(--text-2); }
.form { padding: clamp(24px, 3vw, 40px); border-radius: 20px; background: rgba(18,16,13,.86); border: 1px solid var(--line-strong); backdrop-filter: blur(14px); display: grid; gap: 18px; }
.form__title { font-size: 24px; font-weight: 650; font-variation-settings: "wdth" 112; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--text); }
.field label span { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; font: inherit; font-size: 16px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,171,69,.22); }
.field [aria-invalid="true"] { border-color: var(--alert); }
.field__err { color: #ff8a7d; font-size: 13.5px; min-height: 0; }
.field__err:empty { display: none; }
.form__note { font-size: 14px; color: var(--text-2); }
.form__note.is-ok { color: var(--ok); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 64px; overflow: hidden; }
.footer__grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand { max-width: 420px; display: grid; gap: 18px; }
.footer__brand p { color: var(--text-2); font-size: 15px; }
.footer nav { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 40px; align-content: start; }
.footer nav a { color: var(--text-2); padding: 6px 0; transition: color .2s; }
.footer nav a:hover { color: var(--gold-2); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-3); padding-top: 48px; padding-bottom: 16px; }
.footer__mega { font-size: 7.6vw; font-weight: 800; line-height: .8; text-transform: uppercase; letter-spacing: -0.04em; font-variation-settings: "wdth" 125; color: transparent; -webkit-text-stroke: 1px rgba(212,171,69,.35); white-space: nowrap; text-align: center; margin: 0 0 -1.5vw; }

/* ---------- Reveal (JS only) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .challenge__list { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr 1fr; gap: 32px 20px; }
  .flow__link { display: none; }
  .stack { grid-template-columns: 1fr 1fr; }
  .platform__grid { grid-template-columns: 1fr 1fr; }
  .platform__screen { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav__cta { display: none; }
  .hero__meta, .hero__hud span:last-child { display: none; }
  .hero__chapters { grid-template-columns: auto repeat(4, 1fr); gap: 0 12px; padding-top: 36px; }
  .chapter__t { font-size: 12px; }
  .product__grid, .contact__grid { grid-template-columns: 1fr; }
  .security__grid, .dataflow { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr; }
  .timeline__months, .timeline__rail { display: none; }
  .apps__track { flex-direction: column; width: auto; }
  .app-card { width: 100%; height: auto; min-height: 520px; }
  .app-card::after { background: linear-gradient(0deg, rgba(11,10,8,.92) 10%, rgba(11,10,8,.35) 70%, rgba(11,10,8,.1)); }
  .apps__progress { display: none; }
  .tag { font-size: 10px; }
  .scene__tags .tag:nth-child(3) { display: none; }
}
@media (max-width: 560px) {
  .challenge__list, .flow, .stack, .why, .platform__grid { grid-template-columns: 1fr; }
  .challenge__list li { min-height: 0; }
  .challenge__list h3 { padding-top: 16px; }
  .flow__img { padding: 22%; max-height: 300px; aspect-ratio: 4/3; }
  .hero__chapters .chapter__t { display: none; }
  .hero__chapters .chapter { grid-template-columns: 1fr; }
  .scene__tags { display: none; }
  .nav__name small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .scene__media { transform: scale(1.04) !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .statement .w { opacity: 1; }
}

.flow__img img.is-photo { mix-blend-mode: lighten; filter: none; transform: scale(1.15); }
.flow__node:hover .flow__img img.is-photo { transform: scale(1.21) translateY(-4px); }
/* ---------- Compatible helmets ---------- */
.fits { margin: 0 0 clamp(56px, 7vw, 96px); }
.fits__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: 24px; }
.fits__head h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 650; letter-spacing: -0.01em; max-width: 24ch; }
.fits__head p { color: var(--text-2); max-width: 46ch; font-size: 15px; }
.fits__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fits__list li { position: relative; border-radius: var(--radius); overflow: hidden; background: #ecebe8; aspect-ratio: 1; }
.fits__list img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; transition: transform .6s var(--ease-out); }
.fits__list li:hover img { transform: scale(1.05); }
.fits__list span { position: absolute; left: 12px; bottom: 10px; color: #4a463f; }
@media (max-width: 820px) { .fits__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fits__list img.is-cover { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.product__caption { background: rgba(5,5,5,.72); padding: 5px 9px; border-radius: 6px; left: 14px; bottom: 12px; }
@media (max-width: 560px) { .product__caption { font-size: 10px; } }

/* ---------- Live site map ---------- */
.sitemap { padding: clamp(80px, 10vw, 140px) 0 0; }
.sitemap__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.sitemap__head .lead { color: var(--text-2); }
.sitemap__live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(79,212,138,.6); animation: sm-live 1.8s infinite; display: inline-block; }
@keyframes sm-live { 70% { box-shadow: 0 0 0 8px rgba(79,212,138,0); } 100% { box-shadow: 0 0 0 0 rgba(79,212,138,0); } }
.sitemap__map { position: relative; margin: 0; }
.sitemap__frame { position: relative; aspect-ratio: 1182 / 807; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-strong); background: #000; }
.sitemap__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(.6) saturate(1.4) brightness(1.7) contrast(1.15) hue-rotate(-12deg); }
.sitemap__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(5,5,4,.75)); }
.sitemap__svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.sitemap__hud { position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; background: rgba(8,7,5,.72); border: 1px solid var(--line); color: var(--text); backdrop-filter: blur(6px); }
.sitemap__stats { position: absolute; top: 16px; right: 16px; z-index: 2; display: flex; gap: 8px; }
.sitemap__stats li { padding: 8px 12px; border-radius: 8px; background: rgba(8,7,5,.72); border: 1px solid var(--line); color: var(--text-2); backdrop-filter: blur(6px); }
.sitemap__stats b { color: var(--gold-2); font-weight: 600; margin-right: 4px; }
.sitemap__stats .is-alert { border-color: rgba(255,90,74,.5); }
.sitemap__stats .is-alert b { color: var(--alert); }
.sitemap__legend { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 10px 14px; border-radius: 8px; background: rgba(8,7,5,.72); border: 1px solid var(--line); color: var(--text-2); backdrop-filter: blur(6px); }
.sitemap__legend span { display: inline-flex; align-items: center; gap: 8px; }
.sitemap__legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.lg-worker { background: var(--ok); }
.lg-alert { background: var(--alert); }
.lg-gw { background: #1a1405; border: 2px solid var(--gold); border-radius: 3px !important; }
.lg-cov { border: 1px dashed var(--gold); background: rgba(212,171,69,.15); }

.sm-cov__area { fill: url(#smCov); }
.sm-cov__ring { fill: none; stroke: rgba(212,171,69,.5); stroke-width: 1.5; stroke-dasharray: 5 7; }
.sm-cov__ping { fill: none; stroke: rgba(240,205,110,.55); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: sm-ping 4s ease-out infinite; }
@keyframes sm-ping { 0% { transform: scale(.08); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.sm-route { fill: none; stroke: rgba(240,205,110,.22); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.sm-link { stroke: rgba(240,205,110,.5); stroke-width: 1.3; stroke-dasharray: 3 5; }
.sm-link.is-alert { stroke: rgba(255,90,74,.75); }
.sm-gw__pad { fill: #1a1405; stroke: var(--gold); stroke-width: 2.5; }
.sm-gw__mast, .sm-gw__waves { fill: none; stroke: var(--gold-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sm-w__dot { fill: var(--ok); stroke: #06120b; stroke-width: 2; }
.sm-w__halo { fill: rgba(79,212,138,.22); transform-box: fill-box; transform-origin: center; animation: sm-halo 2.2s ease-out infinite; }
.sm-w.is-alert .sm-w__dot { fill: var(--alert); stroke: #1a0503; }
.sm-w.is-alert .sm-w__halo { fill: rgba(255,90,74,.35); animation-duration: 1s; }
@keyframes sm-halo { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.sm-label { font-family: var(--mono); font-size: 14px; letter-spacing: .06em; fill: var(--text); paint-order: stroke; stroke: rgba(0,0,0,.85); stroke-width: 4px; stroke-linejoin: round; }
.sm-w.is-alert .sm-label { fill: #ffb3aa; }
@media (prefers-reduced-motion: reduce) { .sm-cov__ping, .sm-w__halo, .sitemap__live { animation: none; } }
@media (max-width: 820px) {
  .sitemap__head { grid-template-columns: 1fr; }
  .sitemap__stats, .sitemap__legend { position: static; margin-top: 12px; }
  .sitemap__stats { flex-wrap: wrap; }
  .sitemap__legend { background: none; border: 0; padding: 0; backdrop-filter: none; }
  .sitemap__hud { top: 10px; left: 10px; padding: 6px 10px; font-size: 10px; }
}
@media (max-width: 600px) { .sm-label { display: none; } }
@media (max-width: 600px) { .sm-w__dot { r: 17px; stroke-width: 4; } .sm-w__halo { r: 34px; } .sm-gw__pad, .sm-gw__mast { transform: scale(2.1); } .sm-gw__waves { transform: scale(2.1) translateY(-10px); } .sm-link { stroke-width: 3; } }

/* ---------- Platform: underground view ---------- */
.uview { background: #0e0d0a; }
.uview__bar { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.uview__bar > div:first-child { display: grid; gap: 2px; margin-right: auto; }
.uview__bar b { font-size: 16px; font-weight: 600; }
.uview__crumb { color: var(--text-3); font-size: 10.5px; }
.uview__tabs { display: flex; gap: 4px; padding: 3px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font-size: 10.5px; }
.uview__tabs span { padding: 5px 10px; border-radius: 6px; color: var(--text-3); }
.uview__tabs .on { background: var(--gold); color: var(--gold-ink); }
.uview__live { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); font-size: 10.5px; }
.uview__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: sm-live 1.8s infinite; }
.uview__canvas { flex: 1; display: grid; place-items: center; background: #110e0a; }
.uview__svg { width: 100%; height: auto; display: block; }
.uview__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); padding: 0 !important; color: inherit !important; }
.uview__stats > div { padding: 14px 18px; display: grid; gap: 2px; border-right: 1px solid var(--line); }
.uview__stats > div:last-child { border-right: 0; }
.uview__stats b { font-size: 24px; font-weight: 650; color: var(--gold-2); line-height: 1; font-variant-numeric: tabular-nums; }
.uview__stats .mono { color: var(--text-3); font-size: 10px; }
.uview__stats .is-alert b { color: var(--alert); }
.uv-strata { fill: none; stroke: rgba(240,226,196,.05); stroke-width: 1; }
.uv-surface { stroke: rgba(212,171,69,.6); stroke-width: 1.5; }
.uv-head { fill: none; stroke: var(--text-3); stroke-width: 2; stroke-linejoin: round; }
.uv-bldg { fill: #2a2620; stroke: rgba(240,226,196,.15); }
.uv-tunnel { fill: #060504; stroke: rgba(212,171,69,.35); stroke-width: 1; }
.uv-ramp { fill: none; stroke: #060504; stroke-width: 8; stroke-linecap: round; filter: drop-shadow(0 0 1px rgba(212,171,69,.6)); }
.uv-lvl { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; fill: var(--gold); }
.uv-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; fill: #ffb3aa; paint-order: stroke; stroke: #000; stroke-width: 3px; }
.uv-b circle { fill: rgba(73,198,229,.16); }
.uv-b rect { fill: var(--signal); }
.uv-h { animation-name: uv-walk; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-direction: alternate; }
@keyframes uv-walk { from { transform: translateX(0); } to { transform: translateX(var(--dx)); } }
.uv-h__dot { fill: var(--ok); stroke: #06120b; stroke-width: 1.5; }
.uv-h__halo { fill: rgba(79,212,138,.2); }
.uv-h.is-warn .uv-h__dot { fill: var(--warn); }
.uv-h.is-warn .uv-h__halo { fill: rgba(242,180,58,.22); }
.uv-h.is-alert { animation: none; }
.uv-h.is-alert .uv-h__dot { fill: var(--alert); }
.uv-h.is-alert .uv-h__halo { fill: rgba(255,90,74,.35); transform-box: fill-box; transform-origin: center; animation: sm-halo 1s ease-out infinite; }

/* ---------- Platform: phone app ---------- */
.platform__phone { display: grid; place-items: center; padding: 28px 16px; }
.phone { width: min(100%, 250px); aspect-ratio: 9 / 18.5; border-radius: 34px; padding: 8px; background: linear-gradient(145deg, #3a352c, #14120e); box-shadow: 0 30px 60px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone__screen { height: 100%; border-radius: 27px; overflow: hidden; background: #0c0b09; display: flex; flex-direction: column; font-size: 11px; }
.phone__status { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px 4px; font-size: 9px; color: var(--text-2); letter-spacing: .04em; }
.phone__notch { width: 54px; height: 14px; border-radius: 10px; background: #000; }
.phone__bar { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 10px; }
.phone__bar small { display: block; color: var(--ok); font-size: 8.5px; }
.phone__bar b { font-size: 14px; font-weight: 650; }
.phone__bell { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; }
.phone__bell svg, .phone__tabs svg { width: 15px; height: 15px; fill: none; stroke: var(--text-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phone__bell i { position: absolute; top: -2px; right: -2px; min-width: 14px; height: 14px; border-radius: 7px; background: var(--alert); color: #fff; font-size: 8.5px; font-style: normal; font-weight: 700; display: grid; place-items: center; }
.phone__map { position: relative; margin: 0 10px; border-radius: 12px; aspect-ratio: 1.15; background: url('terrain-dark.jpg') 55% 45% / 190% auto no-repeat; border: 1px solid var(--line); overflow: hidden; }
.phone__map::before { content: ""; position: absolute; inset: 0; background: rgba(212,171,69,.12); mix-blend-mode: color; }
.phone__map::after { content: ""; position: absolute; inset: 0; background: rgba(255,230,180,.08); }
.pm-gw, .pm-w { position: absolute; transform: translate(-50%, -50%); z-index: 1; }
.pm-gw { width: 9px; height: 9px; border-radius: 2px; background: #1a1405; border: 1.5px solid var(--gold); box-shadow: 0 0 0 14px rgba(212,171,69,.08); }
.pm-w { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(79,212,138,.25); }
.pm-w.is-warn { background: var(--warn); box-shadow: 0 0 0 3px rgba(242,180,58,.3); }
.pm-w.is-alert { background: var(--alert); animation: pm-alert 1.2s infinite; }
@keyframes pm-alert { 0% { box-shadow: 0 0 0 0 rgba(255,90,74,.7); } 100% { box-shadow: 0 0 0 10px rgba(255,90,74,0); } }
.phone__seg { display: flex; gap: 4px; margin: 10px 10px 6px; padding: 3px; border-radius: 8px; background: var(--surface-2); font-size: 8.5px; }
.phone__seg span { flex: 1; text-align: center; padding: 5px 0; border-radius: 6px; color: var(--text-3); }
.phone__seg .on { background: var(--text); color: #111; }
.phone__list { flex: 1; padding: 0 10px; display: grid; align-content: start; gap: 5px; overflow: hidden; }
.phone__list li { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); }
.phone__list b { display: block; font-size: 10.5px; font-weight: 600; }
.phone__list small { color: var(--text-3); font-size: 9px; }
.st { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.st--ok { background: var(--ok); } .st--warn { background: var(--warn); } .st--alert { background: var(--alert); box-shadow: 0 0 0 3px rgba(255,90,74,.25); }
.phone__tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 6px 12px; border-top: 1px solid var(--line); font-size: 7.5px; letter-spacing: .04em; }
.phone__tabs span { display: grid; justify-items: center; gap: 3px; color: var(--text-3); }
.phone__tabs .on { color: var(--gold-2); }
.phone__tabs .on svg { stroke: var(--gold-2); }
@media (max-width: 560px) { .uview__tabs { display: none; } .uview__stats { grid-template-columns: 1fr 1fr; } .uview__stats > div:nth-child(2) { border-right: 0; } .uview__stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (prefers-reduced-motion: reduce) { .uv-h, .uv-h__halo, .pm-w.is-alert, .uview__live i { animation: none !important; } }
.uview__canvas { place-items: end center; background: linear-gradient(#0d0c0a, #0d0c0a 60%, #110e0a); }
.phone__map { aspect-ratio: 1.45; }
.phone__list li { padding: 6px 9px; }
.platform__grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, .75fr); }
.platform__screen { grid-column: 1; grid-row: 1; }
.platform__phone { grid-column: 2; grid-row: 1 / span 2; }
.platform__cards { grid-column: 1; grid-row: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.uview__canvas { place-items: center; background: #110e0a; }
@media (max-width: 1100px) {
  .platform__grid { grid-template-columns: 1fr; }
  .platform__screen, .platform__phone, .platform__cards { grid-column: 1; grid-row: auto; }
  .platform__phone { padding: 40px 16px; }
}
@media (max-width: 820px) { .platform__cards { grid-template-columns: 1fr; } }

/* ---------- 3D helmet ---------- */
.product__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; display: block; }
.product__stage.is-3d { background: radial-gradient(60% 70% at 50% 45%, #2b261d, #070706 78%); }
.product__stage.is-3d .product__photo, .product__stage.is-3d .product__art { opacity: 0; }
.product__stage .product__caption { z-index: 3; }

/* ---------- Section menu (all sizes) ---------- */
.nav__toggle { display: inline-flex !important; align-items: center; gap: 10px; width: auto; height: 44px; padding: 0 8px 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(11,10,8,.4); position: relative; color: var(--text); transition: border-color .2s, background .2s; }
.nav__toggle:hover { border-color: var(--gold); }
.nav__toggle-txt { font-size: 11px; }
.nav__toggle-icon { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); }
.nav__toggle-icon i { position: absolute; left: 8px; right: 8px; height: 1.5px; background: var(--gold-ink); transition: transform .3s var(--ease-out); }
.nav__toggle-icon i:first-child { top: 11px; } .nav__toggle-icon i:last-child { top: 16px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon i:first-child { transform: translateY(2.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon i:last-child { transform: translateY(-2.5px) rotate(-45deg); }
.mobile-menu { display: block; overflow-y: auto; padding: 110px var(--gutter) 48px; background: rgba(9,8,6,.98); backdrop-filter: blur(10px); animation: menu-in .45s var(--ease-out); }
.mobile-menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.menu__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.menu__eyebrow { color: var(--gold); margin-bottom: 18px; }
.menu__list ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.mobile-menu .menu__list a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: clamp(22px, 2.4vw, 34px); font-weight: 650; font-variation-settings: "wdth" 112; letter-spacing: -0.01em; color: var(--text); transition: color .2s, padding-left .3s var(--ease-out); }
.mobile-menu .menu__list a span { color: var(--text-3); font-size: 11px; min-width: 22px; transition: color .2s; }
.mobile-menu .menu__list a:hover, .mobile-menu .menu__list a:focus-visible { color: var(--gold-2); padding-left: 8px; }
.mobile-menu .menu__list a:hover span { color: var(--gold); }
.menu__contact { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: grid; gap: 10px; justify-items: start; }
.mobile-menu .menu__mail { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; border: 0; padding: 0; color: var(--text); overflow-wrap: anywhere; }
.menu__mail:hover { color: var(--gold-2); }
.menu__contact p:not(.menu__eyebrow) { color: var(--text-2); }
.mobile-menu .menu__contact .btn { margin-top: 14px; }
@media (max-width: 1280px) { .nav__links { display: none; } }
@media (max-width: 820px) {
  .menu__inner { grid-template-columns: 1fr; }
  .menu__list ol { grid-template-columns: 1fr; }
  .mobile-menu .menu__list a { padding: 11px 0; }
  .nav__toggle-txt { display: none; }
  .nav__toggle { padding: 0 7px; }
}
@media (prefers-reduced-motion: reduce) { .mobile-menu { animation: none; } }
.nav__toggle, .nav__cta, .nav__brand { flex-shrink: 0; }
.nav__links a { padding: 10px 12px; }
@media (max-width: 1360px) { .nav__links { display: none; } }
.nav__toggle > span { position: relative; top: auto !important; left: auto; right: auto; height: auto; background: none; transform: none !important; }
.nav__toggle > .nav__toggle-icon { width: 28px; height: 28px; background: var(--gold); }
.menu__list ol { grid-auto-flow: column; grid-template-rows: repeat(6, auto); }
.mobile-menu .menu__contact a.menu__mail:not(.btn) { font-size: clamp(17px, 1.5vw, 21px); border: 0; padding: 0; }
@media (max-width: 820px) { .menu__list ol { grid-auto-flow: row; grid-template-rows: none; } }

/* ---------- Helmet turntable (single photo, 360° spin) ---------- */
.spin { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; perspective: 1800px; }
.spin__card { position: relative; height: 112%; aspect-ratio: 1; transform-style: preserve-3d; animation: spin360 11s linear infinite; margin-top: 2%; }
.spin__face, .spin__layer { position: absolute; inset: 0; }
.spin__face { backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: translateZ(18px); }
.spin__face--back { transform: rotateY(180deg) translateZ(18px); }
.spin__face img, .spin__face svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.spin__face img { filter: drop-shadow(0 24px 30px rgba(0,0,0,.45)); }
.spin__layer { transform: translateZ(var(--z)); background: url('helmet-side-vented.webp') center / 100% 100% no-repeat; filter: brightness(.42) sepia(.2); }
.spin__shadow { position: absolute; left: 50%; bottom: 7%; width: 46%; height: 9%; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.75), transparent); animation: spinShadow 11s linear infinite; }
@keyframes spin360 { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@keyframes spinShadow { 0%, 50%, 100% { scale: 1 1; } 25%, 75% { scale: .55 1; } }
.product__stage { background: radial-gradient(60% 70% at 50% 45%, #2b261d, #070706 78%); }
@media (prefers-reduced-motion: reduce) { .spin__card, .spin__shadow { animation: none; } }
.spin__face { transform: translateZ(11px); }
.spin__face--back { transform: rotateY(180deg) translateZ(11px); }
.spin__layer { filter: brightness(.5) sepia(.15); }
.spin__card { animation: spin360e 12s infinite; }
.spin__shadow { animation: spinShadowE 12s infinite; }
@keyframes spin360e {
  0% { transform: rotateY(0deg); animation-timing-function: cubic-bezier(.35,.2,.65,.8); }
  50% { transform: rotateY(180deg); animation-timing-function: cubic-bezier(.35,.2,.65,.8); }
  100% { transform: rotateY(360deg); }
}
@keyframes spinShadowE {
  0% { scale: 1 1; animation-timing-function: cubic-bezier(.35,.2,.65,.8); }
  25% { scale: .55 1; animation-timing-function: cubic-bezier(.35,.2,.65,.8); }
  50% { scale: 1 1; animation-timing-function: cubic-bezier(.35,.2,.65,.8); }
  75% { scale: .55 1; animation-timing-function: cubic-bezier(.35,.2,.65,.8); }
  100% { scale: 1 1; }
}
@media (prefers-reduced-motion: reduce) { .spin__card, .spin__shadow { animation: none; } }
.spin__face { transform: translateZ(3px); }
.spin__face--back { transform: rotateY(180deg) translateZ(3px); }
.spin__face--back { transform: rotateY(180deg) translateZ(3px) scaleX(-1); }
.product__stage.is-3d .spin { display: none; }

/* ---------- Fixed left section rail ---------- */
.rail { position: fixed; left: 14px; top: 50%; transform: translateY(-50%); z-index: 35; }
.rail ol { display: grid; gap: 1px; padding: 10px 6px; border-radius: 14px; border: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.rail a { display: flex; align-items: center; gap: 9px; min-height: 30px; padding: 4px 10px 4px 8px; border-radius: 8px; color: var(--text-3); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; transition: color .2s, background .2s; }
.rail__n { min-width: 18px; font-variant-numeric: tabular-nums; }
.rail__bar { width: 12px; height: 1px; background: currentColor; opacity: .6; transition: width .35s var(--ease-out), background .2s; flex: none; }
.rail__t { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease-out), opacity .25s; }
.rail a:hover { color: var(--text); background: rgba(240,226,196,.06); }
.rail a.is-active { color: var(--gold-2); }
.rail a.is-active .rail__bar { width: 24px; background: var(--gold); opacity: 1; }
.rail:hover ol, .rail:focus-within ol { background: rgba(9,8,6,.88); backdrop-filter: blur(12px); border-color: var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.rail:hover .rail__t, .rail:focus-within .rail__t { max-width: 180px; opacity: 1; }
/* keep page content clear of the collapsed rail */
@media (min-width: 821px) {
  .container { padding-left: max(var(--gutter), calc(224px - max(0px, (100vw - var(--max)) / 2))); }
  .nav__links { display: none; }
}
@media (max-width: 820px) { .rail { display: none; } }
@media (prefers-reduced-motion: reduce) { .rail__t, .rail__bar { transition: none; } }
@media (min-width: 821px) {
  .hero__content, .hero__chapters { padding-left: max(var(--gutter), calc(224px - max(0px, (100vw - var(--max) - 2 * var(--gutter)) / 2))); }
  .hero__hud { left: max(var(--gutter), 224px); }
  .apps__track { padding-left: max(var(--gutter), 224px); }
}

/* ---------- Helmet 360° video with synced sensor ---------- */
.product__stage--video { background: #d9dadb; }
.product__stage--video .product__glow, .product__stage--video .product__ring { display: none; }
.product__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; display: block; }
.product__sensor { position: absolute; left: 0; top: 0; z-index: 2; width: 9%; height: auto; transform-origin: 50% 50%; pointer-events: none; opacity: 0; filter: drop-shadow(2px 4px 4px rgba(0,0,0,.28)); will-change: transform, opacity; }
.product__sensor { width: 10.5%; }
.product__sensor { width: 15%; filter: drop-shadow(3px 6px 6px rgba(0,0,0,.3)); }

/* ---------- Transparent helmet video (WebGL) ---------- */
.product__stage--video { background: radial-gradient(60% 70% at 50% 45%, #2b261d, #070706 78%); }
.product__stage--video .product__video { opacity: 0; pointer-events: none; }
.product__alpha { position: absolute; z-index: 1; display: block; }
.product__stage--video.is-fallback { background: #d9dadb; }
.product__stage--video.is-fallback .product__video { opacity: 1; }
.product__stage--video.is-fallback .product__alpha { display: none; }
.product__sensor { width: auto; }

/* ---------- Floating exploded sensor, spinning in sync with the helmet ---------- */
.product__float { position: absolute; right: 3%; top: 7%; width: 24%; z-index: 3; perspective: 900px; display: grid; justify-items: center; gap: 6px; pointer-events: none; }
.product__float-card { position: relative; width: 100%; aspect-ratio: 353 / 299; transform-style: preserve-3d; will-change: transform; }
.product__float-face { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); }
.product__float-face--back { transform: rotateY(180deg) scaleX(-1); }
.product__float-shadow { width: 70%; height: 10px; margin-top: -4px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); transform-origin: center; }
.product__float-label { color: var(--text-3); font-size: 10px; letter-spacing: .1em; }
@media (max-width: 560px) { .product__float { width: 28%; top: 5%; right: 2%; } .product__float-label { display: none; } }
.product__float { right: 4%; top: 50%; translate: 0 -55%; width: 25%; }
@media (max-width: 560px) { .product__float { width: 27%; top: 50%; right: 3%; } }

/* ---------- Exploded sensor shown still, above the helmet ---------- */
.product__float { left: 50%; right: auto; top: 3%; translate: -50% 0; width: 21%; perspective: none; gap: 2px; }
.product__float-img { width: 100%; height: auto; display: block; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); }
.product__float-label { font-size: 9.5px; }
@media (max-width: 560px) { .product__float { width: 24%; top: 2%; } }
.product__float { width: 17%; top: 3%; }
@media (max-width: 560px) { .product__float { width: 20%; top: 2%; } }
.product__float-label { white-space: nowrap; }
.product__float { top: 1.5%; width: 16%; }
@media (max-width: 560px) { .product__float { top: 1%; width: 19%; } }
/* the label must never widen the sensor image */
.product__float { display: block; }
.product__float-img { width: 100%; }
.product__float-label { position: absolute; left: 50%; top: 100%; translate: -50% 2px; white-space: nowrap; }

/* ---------- Helmet: original 360° video, shown as-is ---------- */
.product__stage--plain { background: #d9dadb; }
.product__stage--plain .product__video { opacity: 1; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.product__stage--plain .product__glow, .product__stage--plain .product__ring { display: none; }

/* ---------- Left section menu: always expanded, never hidden ---------- */
.rail ol { background: rgba(9,8,6,.82); backdrop-filter: blur(12px); border-color: var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.rail__t { max-width: 180px; opacity: 1; }
@media (min-width: 821px) { .apps__pin { clip-path: inset(0 0 0 214px); } .apps__progress { margin-left: max(var(--gutter), 224px); } }
.phases { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .phases { grid-template-columns: 1fr; } }

/* ---------- Phones: compact section rail (numbers only), always visible ---------- */
@media (max-width: 820px) {
  .rail { display: block; left: 6px; }
  .rail ol { padding: 6px 3px; gap: 0; border-radius: 12px; }
  .rail a { min-height: 30px; padding: 4px 7px; gap: 0; justify-content: center; font-size: 10.5px; }
  .rail__bar, .rail__t { display: none; }
  .rail__n { min-width: 0; }
  .rail a.is-active { background: rgba(212,171,69,.16); }
  /* keep content clear of the rail */
  .container, .hero__content, .hero__chapters { padding-left: 56px; }
  .hero__hud { left: 56px; }
  .apps__track { padding-left: 56px; }
}
/* phones: keep wide headings inside the narrower content area */
.contact__grid > * { min-width: 0; }
@media (max-width: 820px) {
  .app-card__body { right: 0; max-width: none; }
  .app-card h3 { font-size: clamp(24px, 7.4vw, 34px); overflow-wrap: anywhere; }
  .display { font-size: clamp(32px, 10.4vw, 48px); }
  .footer__mega { font-size: 5.4vw; }
}
/* footer wordmark: sized to the space beside the left menu (text is ~15.1em wide) */
.footer__mega { padding-left: 224px; font-size: calc((100vw - 250px) / 15.6); }
@media (max-width: 820px) { .footer__mega { padding-left: 56px; font-size: calc((100vw - 74px) / 15.6); } }
