:root {
  --void: #030508;
  --void-2: #070c14;
  --panel: rgba(8, 16, 28, 0.72);
  --cyan: #00e5ff;
  --cyan-2: #7af6ff;
  --red: #ff2d55;
  --amber: #ffb020;
  --chymera: #ff6a12;
  --chymera-steel: #c8d0d6;
  --text: #d8ecf7;
  --muted: #7b93a8;
  --line: rgba(0, 229, 255, 0.22);
  --font-d: "Orbitron", sans-serif;
  --font-b: "Rajdhani", sans-serif;
  --font-m: "Share Tech Mono", monospace;
  --hud-h: 72px;
  --chymera-outline:
    drop-shadow(1px 0 0 #fff)
    drop-shadow(-1px 0 0 #fff)
    drop-shadow(0 1px 0 #fff)
    drop-shadow(0 -1px 0 #fff)
    drop-shadow(1px 1px 0 #fff)
    drop-shadow(-1px 1px 0 #fff)
    drop-shadow(1px -1px 0 #fff)
    drop-shadow(-1px -1px 0 #fff);
}

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

html, body { margin: 0; min-height: 100%; }

html {
  scroll-behavior: smooth;
  background: var(--void);
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-b);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(0, 229, 255, 0.08), transparent 55%),
    radial-gradient(900px 600px at -10% 110%, rgba(255, 45, 85, 0.08), transparent 50%),
    var(--void);
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  cursor: crosshair;
}

main {
  overflow-x: hidden;
  max-width: 100%;
}

body.booting { overflow: hidden; }
body.offline-mode { overflow: hidden; }

[hidden] { display: none !important; }

img, svg, canvas { display: block; max-width: 100%; }
#field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
}
button, a { font-family: inherit; }
button { cursor: pointer; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  background: var(--cyan);
  color: #001018;
  padding: 8px 12px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.layer-hex, .layer-fog, .scanbeam, .pointer, .rail,
.hero__watermark, .hero__stamp, .orbit, .core__ticks, .section__ghost, .card__ghost {
  display: none;
}

.vignette,
.scanlines,
.noise,
.frame {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}

.vignette {
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,.55) 100%);
  z-index: 18;
}

.scanlines {
  z-index: 19;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.03) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.35;
}

.noise {
  z-index: 19;
  opacity: 0.05;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.frame { z-index: 21; }
.frame__corner {
  position: absolute;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--cyan);
  opacity: 0.55;
}
.frame__corner--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.frame__corner--tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.frame__corner--bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.frame__corner--br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

/* BOOT */
.boot {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, #010204 0%, #071018 100%);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.boot.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.boot__inner { width: min(560px, 88vw); text-align: left; }
.boot__mark {
  font-family: var(--font-m);
  color: var(--cyan);
  letter-spacing: 0.28em;
  font-size: 11px;
}
.boot__title {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(22px, 4vw, 32px);
  margin: 8px 0 22px;
  letter-spacing: 0.12em;
}
.boot__bar {
  height: 3px;
  background: rgba(0,229,255,0.15);
  margin-bottom: 22px;
  overflow: hidden;
}
.boot__fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), #fff);
  box-shadow: 0 0 16px var(--cyan);
  animation: fill 3.4s ease forwards;
}
@keyframes fill { to { width: 100%; } }
.boot__log {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  font-family: var(--font-m);
  font-size: 13px;
  color: var(--muted);
  min-height: 120px;
}
.boot__log li { margin: 6px 0; }
.boot__log .ok { color: var(--cyan); }
.boot__skip {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 14px;
  letter-spacing: 0.18em;
  font-size: 11px;
}
.boot__skip:hover { border-color: var(--cyan); color: var(--cyan); }

/* HUD */
.hud {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 10px max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
  min-height: var(--hud-h);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: linear-gradient(180deg, rgba(3,5,8,0.92), rgba(3,5,8,0.55) 80%, transparent);
  backdrop-filter: blur(10px);
}
.hud__left, .hud__right {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.hud__right { justify-content: flex-end; }
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-d);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 13px;
}
.brand__text {
  font-size: 8px;
  letter-spacing: 0.12em;
  max-width: 118px;
  line-height: 1.2;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
}
.brand__stack { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.brand__chymera { display: none; }
.chymera-link { display: inline-flex; align-items: center; text-decoration: none; }
.chymera-word {
  display: block;
  height: auto;
  object-fit: contain;
  filter: var(--chymera-outline);
}
.chymera-word--hud {
  width: 92px;
  height: auto;
  object-fit: contain;
  filter: brightness(1.12) var(--chymera-outline);
}
.chymera-word--nav {
  width: 76px;
  height: auto;
  object-fit: contain;
}
.chymera-word--rail {
  width: 72px;
  height: auto;
  object-fit: contain;
}
.chymera-lockup {
  display: block;
  width: min(640px, 72vw);
  margin: 0 auto 18px;
}
.chymera-lockup img {
  width: 100%;
  height: auto;
  filter:
    var(--chymera-outline)
    drop-shadow(0 0 12px rgba(255, 106, 18, 0.28));
}
.chymera-lockup--footer {
  width: 140px;
  margin: 0 0 12px;
}
.chymera-url {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-m);
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--chymera);
  text-decoration: none;
  -webkit-text-stroke: 0.6px #fff;
  paint-order: stroke fill;
  text-shadow:
    0.7px 0 0 #fff,
    -0.7px 0 0 #fff,
    0 0.7px 0 #fff,
    0 -0.7px 0 #fff;
}
.chymera-url:hover { color: #fff; }

.coming {
  margin: 56px 0 0;
  display: grid;
  justify-items: center;
  gap: 14px;
}
.coming__mark {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 0 10px rgba(255,106,18,0.45));
}
.coming img {
  width: min(420px, 72vw);
  height: auto;
  filter: drop-shadow(0 28px 40px rgba(0,0,0,0.72));
}
.coming figcaption { text-align: center; }
.coming__soon {
  margin: 0;
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--chymera);
}
.coming__name {
  margin: 6px 0 0;
  font-family: var(--font-b);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}
.footer a { color: var(--chymera); }

.sim-tag {
  position: fixed;
  right: 18px;
  bottom: 16px;
  z-index: 28;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  text-decoration: none;
  padding: 8px 12px;
  background: rgba(3,5,8,0.78);
  border: 1px solid rgba(255,106,18,0.5);
  backdrop-filter: blur(8px);
}
.sim-tag__name,
.sim-tag__sub {
  font-family: var(--font-b);
  color: #fff;
  line-height: 1.05;
  text-shadow: 0 0 8px rgba(0,0,0,0.85);
}
.sim-tag__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.sim-tag__sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #fff;
}
.sim-kicker {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--chymera);
  margin: 0 0 8px;
}
.sim-banner {
  margin: 4px 0 22px;
  font-family: var(--font-d);
  font-size: clamp(16px, 2.2vw, 22px);
  letter-spacing: 0.22em;
  color: var(--chymera);
}

.beasts { pointer-events: none; }
.beast-arm {
  position: fixed;
  top: -4vh;
  z-index: 4;
  width: min(22vw, 280px);
  opacity: 0.78;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.7));
}
.beast-arm--left { left: -6vw; }
.beast-arm--right {
  right: -6vw;
  transform: scaleX(-1);
}
.beast-pack {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  height: 42vh;
  object-fit: cover;
  object-position: center bottom;
  z-index: 1;
  opacity: 0.28;
  mask-image: linear-gradient(to top, black, transparent 75%);
}

.story {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.story__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: contrast(1.12) saturate(1.08);
}
.helis {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}
.heli {
  position: absolute;
  left: 0;
  top: 14%;
  width: min(16vw, 200px);
  height: auto;
  max-width: none;
  will-change: transform;
  filter: drop-shadow(0 22px 28px rgba(0,0,0,0.85));
  animation: heli-pass 6.8s linear infinite;
}
.heli--2 {
  top: 6%;
  width: min(11vw, 140px);
  animation-duration: 9.2s;
  animation-delay: 2.2s;
  opacity: 0.88;
}
.heli--3 {
  top: 28%;
  width: min(13vw, 160px);
  animation-name: heli-pass-rev;
  animation-duration: 8.1s;
  animation-delay: 4.6s;
  opacity: 0.92;
}
@keyframes heli-pass {
  0% { transform: translate3d(-48vw, 6vh, 0) scale(0.7); opacity: 0; }
  8% { opacity: 1; }
  100% { transform: translate3d(118vw, -4vh, 0) scale(1.18); opacity: 0; }
}
@keyframes heli-pass-rev {
  0% { transform: translate3d(118vw, -2vh, 0) scale(-0.75, 0.75); opacity: 0; }
  8% { opacity: 1; }
  100% { transform: translate3d(-48vw, 10vh, 0) scale(-1.12, 1.12); opacity: 0; }
}
.sats {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.sat {
  position: absolute;
  display: flex;
  align-items: center;
  width: min(9.5vw, 120px);
  height: 18px;
  animation: sat-yaw 18s ease-in-out infinite;
}
.sat__bus {
  width: 22%;
  height: 11px;
  background: linear-gradient(#d5dee6, #6a7682);
  box-shadow: 0 0 8px rgba(180,200,220,0.45);
  flex: 0 0 auto;
}
.sat__arm {
  height: 7px;
  flex: 1;
  background:
    repeating-linear-gradient(90deg, #9eb0c0 0 6px, #5a6874 6px 7px);
  box-shadow: 0 0 6px rgba(160,180,200,0.35);
  animation: sat-roll 14s ease-in-out infinite;
}
.sat__arm--l { transform-origin: right center; }
.sat__arm--r { transform-origin: left center; animation-delay: -3.4s; }
.sat--1 { left: 7%; top: 10%; animation-duration: 16s; }
.sat--2 { left: 18%; top: 8%; width: min(8vw, 100px); animation-duration: 21s; animation-delay: -4s; }
.sat--3 { left: 29%; top: 12%; animation-duration: 19s; animation-delay: -7s; }
.sat--4 { left: 48%; top: 9%; width: min(8.5vw, 108px); animation-duration: 17s; animation-delay: -2s; }
.sat--5 { left: 63%; top: 11%; animation-duration: 22s; animation-delay: -9s; }
.sat--6 { left: 78%; top: 8%; width: min(8vw, 96px); animation-duration: 15s; animation-delay: -5s; }
@keyframes sat-yaw {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(10deg); }
}
@keyframes sat-roll {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(16deg); }
}
.story__fx--reentry {
  z-index: 1;
  mix-blend-mode: screen;
  animation: reentry-pulse 0.7s ease-in-out infinite alternate;
}
@keyframes reentry-pulse {
  from { opacity: 0.72; filter: brightness(1.05) saturate(1.1); }
  to { opacity: 1; filter: brightness(1.7) saturate(1.4); }
}
.story__fx--sparks {
  z-index: 2;
  mix-blend-mode: screen;
  animation: spark-flicker 0.18s steps(2, jump-end) infinite;
}
@keyframes spark-flicker {
  0% { opacity: 0.7; filter: brightness(1); }
  50% { opacity: 1; filter: brightness(1.55); }
  100% { opacity: 0.82; filter: brightness(1.12); }
}
#rack { container-type: size; }
.weld {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}
.weld__map {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100%, calc(100cqh * 16 / 9));
  height: max(100%, calc(100cqw * 9 / 16));
  transform: translate(-50%, -50%);
}
.weld__burst {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #fff8d6;
  box-shadow:
    0 0 8px 4px rgba(255, 210, 80, 0.95),
    0 0 22px 12px rgba(255, 90, 0, 0.65),
    0 0 48px 18px rgba(255, 40, 0, 0.35);
  animation: weld-core 0.1s ease-in-out infinite alternate;
}
.weld__burst--l { left: 39.64%; top: 53.64%; }
.weld__burst--r { left: 68.13%; top: 58.89%; width: 14px; height: 14px; margin: -7px 0 0 -7px; }
@keyframes weld-core {
  from { filter: brightness(0.85); transform: scale(0.82); }
  to { filter: brightness(1.5); transform: scale(1.18); }
}
.weld__burst i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 16px;
  margin: 0 0 0 -1px;
  border-radius: 1px;
  background: linear-gradient(to top, #ff2a00, #ffb347 45%, #fff);
  transform-origin: 50% 100%;
  animation: weld-fly 0.48s linear infinite;
  opacity: 0;
}
.weld__burst--l i:nth-child(1) { --r: -18deg; --l: -52px; animation-duration: 0.42s; }
.weld__burst--l i:nth-child(2) { --r: 12deg; --l: -68px; animation-delay: 0.08s; }
.weld__burst--l i:nth-child(3) { --r: 38deg; --l: -44px; animation-duration: 0.36s; animation-delay: 0.16s; }
.weld__burst--l i:nth-child(4) { --r: 62deg; --l: -76px; animation-delay: 0.04s; }
.weld__burst--l i:nth-child(5) { --r: 88deg; --l: -58px; animation-duration: 0.5s; animation-delay: 0.2s; }
.weld__burst--l i:nth-child(6) { --r: 112deg; --l: -40px; animation-delay: 0.12s; }
.weld__burst--l i:nth-child(7) { --r: 148deg; --l: -64px; animation-duration: 0.38s; }
.weld__burst--l i:nth-child(8) { --r: 186deg; --l: -48px; animation-delay: 0.22s; }
.weld__burst--l i:nth-child(9) { --r: -42deg; --l: -80px; animation-duration: 0.55s; animation-delay: 0.1s; }
.weld__burst--l i:nth-child(10) { --r: 24deg; --l: -92px; animation-delay: 0.28s; }
.weld__burst--l i:nth-child(11) { --r: 74deg; --l: -36px; animation-duration: 0.32s; }
.weld__burst--l i:nth-child(12) { --r: 128deg; --l: -70px; animation-delay: 0.18s; }
.weld__burst--l i:nth-child(13) { --r: 6deg; --l: -54px; animation-duration: 0.4s; animation-delay: 0.06s; }
.weld__burst--l i:nth-child(14) { --r: 98deg; --l: -86px; animation-delay: 0.3s; }
.weld__burst--l i:nth-child(15) { --r: 160deg; --l: -42px; animation-duration: 0.34s; }
.weld__burst--l i:nth-child(16) { --r: -8deg; --l: -72px; animation-delay: 0.14s; }
.weld__burst--r i:nth-child(1) { --r: -22deg; --l: -64px; }
.weld__burst--r i:nth-child(2) { --r: 8deg; --l: -88px; animation-delay: 0.05s; animation-duration: 0.4s; }
.weld__burst--r i:nth-child(3) { --r: 28deg; --l: -52px; animation-delay: 0.12s; }
.weld__burst--r i:nth-child(4) { --r: 48deg; --l: -96px; animation-duration: 0.56s; }
.weld__burst--r i:nth-child(5) { --r: 70deg; --l: -44px; animation-delay: 0.18s; }
.weld__burst--r i:nth-child(6) { --r: 94deg; --l: -78px; animation-delay: 0.08s; }
.weld__burst--r i:nth-child(7) { --r: 118deg; --l: -58px; animation-duration: 0.36s; }
.weld__burst--r i:nth-child(8) { --r: 142deg; --l: -90px; animation-delay: 0.22s; }
.weld__burst--r i:nth-child(9) { --r: 168deg; --l: -40px; }
.weld__burst--r i:nth-child(10) { --r: 198deg; --l: -66px; animation-delay: 0.14s; }
.weld__burst--r i:nth-child(11) { --r: -38deg; --l: -72px; animation-duration: 0.44s; }
.weld__burst--r i:nth-child(12) { --r: 16deg; --l: -108px; animation-delay: 0.26s; }
.weld__burst--r i:nth-child(13) { --r: 56deg; --l: -50px; animation-duration: 0.3s; }
.weld__burst--r i:nth-child(14) { --r: 82deg; --l: -84px; animation-delay: 0.1s; }
.weld__burst--r i:nth-child(15) { --r: 104deg; --l: -62px; }
.weld__burst--r i:nth-child(16) { --r: 132deg; --l: -98px; animation-delay: 0.2s; animation-duration: 0.52s; }
.weld__burst--r i:nth-child(17) { --r: 4deg; --l: -46px; animation-delay: 0.16s; }
.weld__burst--r i:nth-child(18) { --r: 76deg; --l: -118px; animation-duration: 0.6s; }
.weld__burst--r i:nth-child(19) { --r: 154deg; --l: -54px; animation-delay: 0.28s; }
.weld__burst--r i:nth-child(20) { --r: -12deg; --l: -80px; animation-delay: 0.07s; }
@keyframes weld-fly {
  0% { transform: rotate(var(--r, 0deg)) translateY(0) scaleY(0.25); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: rotate(var(--r, 0deg)) translateY(var(--l, -70px)) scaleY(1.1); opacity: 0; }
}
#trust .story__bg {
  animation: tx-hold 3.6s steps(2, jump-end) infinite;
}
@keyframes tx-hold {
  0%, 100% { transform: none; filter: contrast(1.12) saturate(1.12); }
  12% { transform: translate3d(2px, 0, 0); filter: contrast(1.35) saturate(1.45) hue-rotate(-10deg); }
  14% { transform: translate3d(-5px, 1px, 0); filter: contrast(1.7) saturate(0.55) brightness(1.15); }
  16% { transform: translate3d(3px, -1px, 0); filter: contrast(1.25) saturate(1.8) hue-rotate(8deg); }
  18%, 58% { transform: none; filter: contrast(1.12) saturate(1.12); }
  61% { transform: translate3d(-3px, 0, 0); filter: contrast(1.55) brightness(1.2) saturate(1.6); }
  63% { transform: translate3d(6px, 1px, 0); filter: contrast(1.9) saturate(0.4) hue-rotate(-18deg); }
  65% { transform: translate3d(-2px, 0, 0); filter: contrast(1.12) saturate(1.12); }
}
.tx-split {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  mix-blend-mode: screen;
}
.tx-split--r {
  opacity: 0.22;
  filter: grayscale(1) contrast(2) brightness(1.5) sepia(1) hue-rotate(-10deg) saturate(12);
  mix-blend-mode: screen;
  animation: tx-rgb-r 0.46s steps(2, jump-end) infinite;
}
.tx-split--c {
  opacity: 0.18;
  filter: grayscale(1) contrast(2) brightness(1.5) sepia(1) hue-rotate(155deg) saturate(12);
  mix-blend-mode: screen;
  animation: tx-rgb-c 0.52s steps(2, jump-end) infinite;
}
@keyframes tx-rgb-r {
  0%, 70%, 100% { transform: translate3d(0, 0, 0); opacity: 0.08; }
  72% { transform: translate3d(7px, -1px, 0); opacity: 0.32; }
  78% { transform: translate3d(-3px, 2px, 0); opacity: 0.2; }
}
@keyframes tx-rgb-c {
  0%, 40%, 100% { transform: translate3d(0, 0, 0); opacity: 0.06; }
  44% { transform: translate3d(-8px, 1px, 0); opacity: 0.28; }
  50% { transform: translate3d(4px, -2px, 0); opacity: 0.16; }
}
.tx {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.42;
}
.tx-scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, rgba(8, 14, 22, 0.28) 0 1px, transparent 1px 3px),
    linear-gradient(to bottom, transparent 0%, rgba(160, 220, 255, 0.1) 48%, transparent 100%);
  background-size: 100% 3px, 100% 22%;
  animation: tx-roll 0.9s linear infinite;
  mix-blend-mode: overlay;
  opacity: 0.55;
}
@keyframes tx-roll {
  from { background-position: 0 0, 0 -40%; }
  to { background-position: 0 6px, 0 140%; }
}
.tx-tear {
  position: absolute;
  left: -4%;
  width: 108%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 40, 80, 0.28) 18%,
    rgba(180, 240, 255, 0.45) 50%,
    rgba(255, 40, 80, 0.28) 82%,
    transparent 100%);
  filter: blur(0.5px);
  animation: tx-tear 2.6s linear infinite;
}
.tx-tear--1 { height: 6%; animation-duration: 2.6s; }
.tx-tear--2 { height: 3.5%; animation-duration: 1.7s; animation-delay: -0.8s; opacity: 0.75; }
.tx-tear--3 { height: 10%; animation-duration: 3.4s; animation-delay: -1.6s; opacity: 0.45; }
@keyframes tx-tear {
  0% { top: -12%; transform: translateX(-18px) skewX(-8deg) scaleY(0.3); opacity: 0; }
  6% { opacity: 0.9; }
  100% { top: 108%; transform: translateX(22px) skewX(6deg) scaleY(1.15); opacity: 0; }
}
.world-lights {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle at 27% 56%, rgba(255,214,120,0.7) 0 1.1%, transparent 3.2%),
    radial-gradient(circle at 31% 62%, rgba(255,180,70,0.55) 0 0.9%, transparent 2.6%),
    radial-gradient(circle at 24% 64%, rgba(255,200,90,0.45) 0 0.7%, transparent 2.2%),
    radial-gradient(circle at 34% 54%, rgba(255,160,50,0.4) 0 0.8%, transparent 2.4%);
  animation: city-pulse 2.2s ease-in-out infinite;
}
@keyframes city-pulse {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 1; }
}
.mean-bot {
  position: absolute;
  right: 2%;
  bottom: 0;
  z-index: 3;
  width: min(52%, 620px);
  aspect-ratio: 864 / 1152;
  pointer-events: none;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.8));
}
.mean-bot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mean-bot__body { z-index: 1; }
.mean-bot__glow--body { z-index: 2; mix-blend-mode: screen; animation: orange-pulse 1.65s ease-in-out infinite; }
.mean-bot__hand { z-index: 3; }
.mean-bot__headwrap {
  position: absolute;
  inset: 0;
  z-index: 4;
  transform-origin: 50.5% 22%;
  animation: mean-scan 8s ease-in-out infinite;
}
.mean-bot__head { z-index: 1; }
.mean-bot__glow--eyes { z-index: 2; mix-blend-mode: screen; animation: orange-pulse 1.65s ease-in-out infinite; }
.mean-bot__hand--l {
  transform-origin: 17.5% 46%;
  animation: mean-claw-l 2.6s ease-in-out infinite;
}
.mean-bot__hand--r {
  transform-origin: 85% 47%;
  animation: mean-claw-r 3s ease-in-out infinite;
}
@keyframes mean-scan {
  0%, 10% { transform: rotate(0deg); }
  22%, 34% { transform: rotate(9deg); }
  42%, 52% { transform: rotate(0deg); }
  64%, 76% { transform: rotate(-9deg); }
  86%, 100% { transform: rotate(0deg); }
}
@keyframes mean-claw-l {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-7deg); }
}
@keyframes mean-claw-r {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(7deg); }
}
.swarm {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.drone {
  position: absolute;
  left: 0;
  top: 0;
  width: 140px;
  height: auto;
  max-width: none;
  will-change: transform;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,0.7));
}
.story__fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}
.story__fx--sparks { z-index: 2; }
.story__fx--neon {
  z-index: 1;
  mix-blend-mode: normal;
  animation: neon-flicker 3.78s steps(1, jump-end) infinite;
}
@keyframes neon-flicker {
  0%, 7% { opacity: 1; }
  8% { opacity: 0; }
  9%, 11% { opacity: 1; }
  12% { opacity: 0.12; }
  13% { opacity: 1; }
  27% { opacity: 1; }
  28%, 30% { opacity: 0; }
  31% { opacity: 0.55; }
  32% { opacity: 0; }
  35% { opacity: 1; }
  50% { opacity: 1; }
  51% { opacity: 0.08; }
  52% { opacity: 1; }
  53% { opacity: 0; }
  57% { opacity: 1; }
  71% { opacity: 1; }
  72% { opacity: 0; }
  73% { opacity: 1; }
  74% { opacity: 0.18; }
  76% { opacity: 1; }
  89% { opacity: 1; }
  90%, 93% { opacity: 0; }
  94% { opacity: 1; }
  100% { opacity: 1; }
}
.story__fx--pulse {
  mix-blend-mode: screen;
  animation: orange-pulse 1.65s ease-in-out infinite;
}
.story__fx--lava {
  mix-blend-mode: screen;
  animation: lava-pulse 4.2s ease-in-out infinite;
}
@keyframes orange-pulse {
  0%, 100% { opacity: 0.32; filter: brightness(0.75); }
  50% { opacity: 1; filter: brightness(1.5); }
}
@keyframes lava-pulse {
  0%, 100% { opacity: 0.22; filter: brightness(0.65); }
  50% { opacity: 1; filter: brightness(2.1); }
}
.ekg,
.tickers {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
}
#care .story__bg { object-position: 36% 28%; }
#money .story__bg { object-position: 50% 28%; }
.tickers { mix-blend-mode: screen; }
.story__float--glow {
  mix-blend-mode: screen;
  filter: none;
  animation: orange-pulse 1.65s ease-in-out infinite;
}
.story__float {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.8));
}
.story__float--robot {
  right: 4%;
  bottom: 0;
  width: min(38%, 380px);
  aspect-ratio: 864 / 1152;
  filter: none;
}
.story__float--robot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.story__float--robot img:first-child {
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.8));
}
.story__float--robot .story__float--glow {
  animation: hunter-eyes 1.2s ease-in-out infinite;
}
@keyframes hunter-eyes {
  0%, 100% { opacity: 0.4; filter: brightness(0.75); }
  42% { opacity: 1; filter: brightness(1.9); }
  50% { opacity: 0.55; filter: brightness(0.95); }
  62% { opacity: 1; filter: brightness(2.25); }
}
.story::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3,5,8,0.55) 0%, rgba(3,5,8,0.18) 48%, rgba(3,5,8,0.04) 75%),
    linear-gradient(180deg, rgba(3,5,8,0.08) 0%, rgba(3,5,8,0.55) 100%);
  pointer-events: none;
}
.story--flip::after {
  background:
    linear-gradient(-90deg, rgba(3,5,8,0.55) 0%, rgba(3,5,8,0.18) 48%, rgba(3,5,8,0.04) 75%),
    linear-gradient(180deg, rgba(3,5,8,0.08) 0%, rgba(3,5,8,0.55) 100%);
}
.story--end::after {
  background:
    linear-gradient(90deg, rgba(20,0,4,0.55) 0%, rgba(3,5,8,0.18) 50%, transparent 80%),
    linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.62) 100%);
}
.story__float--mean {
  right: 4%;
  bottom: 0;
  width: min(52%, 620px);
}
#ghost .story__bg,
#ghost .story__fx {
  object-position: 50% 12%;
}
.story__copy {
  position: relative;
  z-index: 4;
  width: min(720px, 92vw);
  padding: 64px 48px 88px;
  box-sizing: border-box;
}
.story--flip .story__copy {
  margin-left: auto;
  text-align: right;
}
.story--flip .story__copy p { margin-left: auto; }
.story__stamp {
  display: inline-block;
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--red);
  border: 1px solid rgba(255,45,85,0.45);
  padding: 6px 10px;
  margin-bottom: 14px;
  background: rgba(0,0,0,0.45);
  white-space: nowrap;
}
.story__copy h2 {
  font-family: var(--font-d);
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05;
  margin: 8px 0 18px;
  text-shadow: 0 10px 40px rgba(0,0,0,0.7);
}
.story--end .story__copy h2 {
  color: var(--red);
  text-shadow: 0 0 28px rgba(255,45,85,0.4);
}
.story__copy p {
  color: #c9d8e4;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
  max-width: 46ch;
}
.story__copy p + p { margin-top: 14px; }
.brand__reticle {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255,45,85,0.15), inset 0 0 0 2px rgba(0,229,255,0.5);
}
.hud__class {
  margin: 0;
  font-family: var(--font-m);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.hud__class span { color: var(--red); }
.hud__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  scrollbar-width: none;
}
.hud__nav::-webkit-scrollbar { display: none; }
.hud__nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  flex: 0 0 auto;
  white-space: nowrap;
}
.hud__nav a:hover,
.hud__nav a.is-active { color: var(--cyan); }
.hud__nav--quiet {
  font-size: 9px !important;
  letter-spacing: 0.28em !important;
  opacity: 0.55;
}
.status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blink 1.8s infinite;
}
@keyframes blink { 50% { opacity: 0.35; } }
.clock {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--muted);
}
.icon-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  display: grid;
  place-items: center;
}
.icon-btn svg { width: 16px; height: 16px; fill: currentColor; }
.icon-btn[aria-pressed="true"] { color: var(--cyan); border-color: var(--cyan); }
.hud__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(0,229,255,0.08);
}
.hud__progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--red));
}

/* HERO */
.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--hud-h));
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  align-items: center;
  padding: 40px 7vw 80px;
  gap: 24px;
  overflow-x: hidden;
  max-width: 100%;
}
.hero__grid {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background:
    linear-gradient(rgba(0,229,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(500px) rotateX(62deg) scale(1.4);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, black, transparent 80%);
  opacity: 0.45;
}
.hero__copy { position: relative; z-index: 2; max-width: 720px; }
.eyebrow {
  font-family: var(--font-m);
  letter-spacing: 0.28em;
  font-size: 11px;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
  animation: blink 1.2s infinite;
}
.sep { opacity: 0.4; }
.hero__title {
  margin: 10px 0 8px;
  line-height: 0.88;
}
.hero__line,
.hero__kill {
  display: block;
  font-family: var(--font-d);
  font-weight: 900;
  letter-spacing: 0.04em;
}
.hero__line { font-size: clamp(48px, 9vw, 108px); }
.hero__kill {
  font-size: clamp(48px, 9vw, 108px);
  color: var(--red);
  text-shadow: 0 0 24px rgba(255,45,85,0.45);
  width: fit-content;
}
.hero__sub {
  font-size: 22px;
  font-weight: 600;
  margin: 8px 0 14px;
  color: var(--cyan-2);
}
.hero__quote {
  max-width: 46ch;
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  border-left: 2px solid var(--cyan);
  padding-left: 14px;
}
.hero__lede {
  min-height: 4.5em;
  max-width: 52ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}
.hero__lede::after {
  content: "▍";
  color: var(--cyan);
  animation: blink 1s infinite;
}
.hero__actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 12px 18px;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  background: transparent;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn--primary {
  background: var(--cyan);
  color: #021016;
  box-shadow: 0 0 24px rgba(0,229,255,0.25);
}
.btn--ghost { border-color: var(--red); color: var(--red); }
.btn--reboot {
  margin-top: 18px;
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn:hover { filter: brightness(1.12); }

.hero__stage {
  position: relative;
  height: min(520px, 70vh);
  display: grid;
  place-items: center;
  overflow: hidden;
  max-width: 100%;
}
.core { position: relative; width: min(280px, 72vw); height: min(280px, 72vw); cursor: pointer; }
.core__nucleus {
  position: absolute;
  inset: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 50px rgba(0, 229, 255, 0.35), 0 0 120px rgba(0, 229, 255, 0.18);
  display: grid;
  place-items: center;
}
.core__nucleus::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  transform: scaleY(0);
  transform-origin: 50% 0%;
  pointer-events: none;
  z-index: 2;
  animation: jarvis-blink 4.8s ease-in-out 0.6s 1 both;
}
@keyframes jarvis-blink {
  0%, 10%, 18%, 32%, 40%, 100% { transform: scaleY(0); }
  14%, 36% { transform: scaleY(1); }
}
.core__nucleus video,
#jarvis-talk {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  opacity: 1;
}
.core__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0,229,255,0.35);
  border-radius: 50%;
  border-top-color: var(--cyan);
  border-bottom-color: transparent;
}
.core__ring--1 { animation: spin 8s linear infinite; }
.core__ring--2 { inset: 28px; border-color: rgba(255,45,85,0.35); border-left-color: var(--red); animation: spin 12s linear infinite reverse; }
.core__ring--3 { inset: 56px; animation: spin 6s linear infinite; border-right-color: var(--amber); }
@keyframes spin { to { transform: rotate(360deg); } }

.radar {
  position: absolute;
  width: min(360px, 100%);
  height: min(360px, 100%);
  aspect-ratio: 1;
  border: 1px dashed rgba(0,229,255,0.18);
  border-radius: 50%;
}
.radar span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 80%, rgba(0,229,255,0.28) 100%);
  animation: spin 4.5s linear infinite;
}

.telemetry {
  position: relative;
  width: min(640px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  z-index: 2;
  margin-top: 28px;
}
.telemetry__item {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 10px 12px;
  backdrop-filter: blur(8px);
}
.telemetry__k {
  display: block;
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.telemetry__v { font-family: var(--font-d); font-size: 16px; }
.telemetry__v--warn { color: var(--amber); }
.meter {
  display: block;
  height: 3px;
  margin-top: 6px;
  background: rgba(0,229,255,0.12);
}
.meter i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--cyan);
}

.scroll-hint {
  position: absolute;
  left: 7vw;
  bottom: 28px;
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.scroll-hint i {
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--cyan), transparent);
  animation: drip 1.6s infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

.band {
  position: relative;
  z-index: 1;
  border-block: 1px solid var(--line);
  background: rgba(0,229,255,0.04);
  overflow: hidden;
}
.band__inner {
  white-space: nowrap;
  font-family: var(--font-d);
  font-size: 12px;
  letter-spacing: 0.38em;
  color: var(--cyan);
  padding: 12px 0;
  animation: marquee 28s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.section {
  position: relative;
  z-index: 1;
  padding: 92px 7vw;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
}
.section__head { max-width: 760px; margin-bottom: 40px; }
.section__head--center { margin-inline: auto; text-align: center; }
.kicker {
  font-family: var(--font-m);
  color: var(--amber);
  letter-spacing: 0.22em;
  font-size: 12px;
}
.section h2 {
  font-family: var(--font-d);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 8px 0 14px;
}
.section__lede { color: var(--muted); font-size: 20px; line-height: 1.5; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: translateX(-100%);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35), 0 0 24px rgba(0,229,255,0.08);
}
.card:hover::before { animation: sweep 0.8s ease; }
@keyframes sweep { to { transform: translateX(100%); } }
.card__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--muted);
}
.card__icon { width: 64px; height: 64px; color: var(--cyan); margin: 16px 0 8px; }
.card h3 {
  font-family: var(--font-d);
  font-size: 20px;
  margin: 0 0 8px;
}
.card p { color: var(--muted); margin: 0 0 18px; font-size: 17px; line-height: 1.4; }
.card__more {
  margin-top: auto;
  align-self: flex-start;
  background: transparent;
  border: 0;
  color: var(--cyan);
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
}
.card__more:hover { color: #fff; }
.card--featured {
  background:
    linear-gradient(180deg, rgba(255,45,85,0.12), transparent 40%),
    var(--panel);
  border-color: rgba(255,45,85,0.4);
}

.tag {
  padding: 2px 8px;
  border: 1px solid currentColor;
  letter-spacing: 0.12em;
}
.tag--red { color: var(--red); }
.tag--cyan { color: var(--cyan); }
.tag--amber { color: var(--amber); }

.split {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 20px;
  margin-bottom: 28px;
  align-items: stretch;
}
.mesh {
  width: 100%;
  height: 420px;
  background: rgba(0, 10, 18, 0.6);
  border: 1px solid var(--line);
}
.legend {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 22px;
}
.legend__title {
  font-family: var(--font-d);
  letter-spacing: 0.18em;
  font-size: 12px;
}
.legend ul { list-style: none; padding: 0; }
.legend li { display: flex; align-items: center; gap: 10px; margin: 10px 0; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--cyan { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.dot--red { background: var(--red); box-shadow: 0 0 8px var(--red); }
.dot--amber { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.legend__note { color: var(--muted); line-height: 1.5; }

.section--switch {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(0,229,255,0.1), transparent 42%),
    radial-gradient(ellipse at 50% 88%, rgba(255,45,85,0.12), transparent 48%),
    linear-gradient(180deg, #05080e 0%, #030508 100%);
}
.switch { display: grid; place-items: center; gap: 16px; position: relative; z-index: 1; width: 100%; }
.cic,
.switch__console {
  --charge: 0;
  position: relative;
  width: min(1080px, 100%);
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8,22,34,0.92), rgba(4,10,16,0.96));
  border: 1px solid rgba(0,229,255,0.38);
  box-shadow:
    0 0 0 1px rgba(0,229,255,0.08) inset,
    0 0 40px rgba(0,229,255,0.08),
    0 40px 80px rgba(0,0,0,0.55);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.cic__glow {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(0,229,255,0.16), transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(255,45,85,0.12), transparent 46%);
}
.cic__corner {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 3;
  border: 2px solid var(--cyan);
}
.cic__corner--tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.cic__corner--tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.cic__corner--bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.cic__corner--br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.cic__rail {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 28px 12px;
  border-bottom: 1px solid rgba(0,229,255,0.18);
  font-family: var(--font-m);
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--cyan);
  background: linear-gradient(90deg, rgba(0,229,255,0.06), transparent 30%, transparent 70%, rgba(255,45,85,0.08));
}
.cic__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--amber);
}
.cic__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blink 1.4s infinite;
}
#scram-state {
  color: var(--red);
  text-shadow: 0 0 12px rgba(255,45,85,0.55);
}
.cic.is-charging #scram-state { color: var(--amber); }
.cic__bays {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 220px 1fr 230px;
  gap: 1px;
  background: rgba(0,229,255,0.12);
  padding: 1px;
}
.cic__bay {
  background:
    linear-gradient(180deg, rgba(6,16,26,0.95), rgba(4,10,16,0.98));
  padding: 16px 18px 18px;
  min-height: 280px;
}
.cic__bay-title {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 12px;
  opacity: 0.8;
}
.cic__schematic {
  width: 100%;
  height: auto;
  margin: 0 0 14px;
  filter: drop-shadow(0 0 8px rgba(0,229,255,0.25));
}
.cic__node { animation: cic-pulse 1.8s ease-in-out infinite; }
.cic__orbit { transform-origin: 90px 48px; animation: spin 9s linear infinite; }
@keyframes cic-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.cic__lamps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
}
.cic__lamps li {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 8px;
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #8a99a8;
}
.cic__lamps i {
  width: 8px;
  height: 8px;
  background: #2a1014;
  box-shadow: 0 0 0 1px #4a2028;
}
.cic__lamps .is-on i {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.cic__lamps .is-on { color: var(--text); }
.cic__lamps span { color: #5c6b78; }
.cic__lamps .is-on span { color: var(--cyan); }
.cic__bay--cut {
  display: flex;
  flex-direction: column;
  touch-action: none;
}
.scram {
  --charge: 0;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 148px;
  margin: 0 0 14px;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: #05080c;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}
.scram::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,45,85,0.18), transparent 55%),
    linear-gradient(180deg, #0a121c, #05080c);
  box-shadow:
    0 0 0 1px rgba(0,229,255,0.12) inset,
    0 0 28px rgba(255,45,85,0.18);
  border: 1px solid rgba(255,45,85,0.45);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.scram__orbit,
.scram__ticks {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border-radius: 50%;
}
.scram__orbit {
  border: 1px dashed rgba(0,229,255,0.28);
  mask: radial-gradient(circle, transparent 62%, black 63%);
  -webkit-mask: radial-gradient(circle, transparent 62%, black 63%);
  animation: spin 18s linear infinite;
}
.scram__ticks {
  background: repeating-conic-gradient(from 0deg, rgba(255,45,85,0) 0 8deg, rgba(255,45,85,0.55) 8deg 9deg);
  mask: radial-gradient(circle, transparent 68%, black 69% 78%, transparent 79%);
  -webkit-mask: radial-gradient(circle, transparent 68%, black 69% 78%, transparent 79%);
  animation: spin 12s linear infinite reverse;
}
.scram__plasma {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--charge, 0) * 100%);
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,90,120,0.15), rgba(255,45,85,0.72));
  box-shadow: 0 0 24px rgba(255,45,85,0.45);
  transition: height 0.08s linear;
}
.scram__face {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: #fff;
  pointer-events: none;
}
.scram__omega {
  font-family: var(--font-d);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  color: var(--cyan-2);
  text-shadow: 0 0 18px rgba(0,229,255,0.55);
}
.scram.is-charging .scram__omega { color: #fff; }
.scram__label {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-shadow: 0 0 12px rgba(255,45,85,0.45);
}
.scram:active,
.scram.is-charging {
  box-shadow: 0 0 36px rgba(255,45,85,0.35);
}
.scram:active::before,
.scram.is-charging::before {
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgba(255,45,85,0.35) inset;
}
.scram.is-charging .scram__ticks { animation-duration: 2.2s; }
.scram.is-charging .scram__orbit { animation-duration: 3s; border-color: rgba(255,45,85,0.55); }
.cic__hint {
  margin: 10px 0 0;
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-align: center;
}
.cic__wave {
  width: 100%;
  height: 42px;
  margin: 0 0 10px;
}
.cic__wave-line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.6;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(0,229,255,0.6));
  stroke-dasharray: 8 4;
  animation: cic-wave 1.4s linear infinite;
}
@keyframes cic-wave { to { stroke-dashoffset: -48; } }
.cic.is-charging .cic__wave-line { stroke: var(--red); animation-duration: 0.35s; stroke-dasharray: 3 3; }
.cic__crt {
  position: relative;
  background: rgba(0, 18, 24, 0.9);
  border: 1px solid rgba(0,229,255,0.28);
  box-shadow: inset 0 0 22px rgba(0,229,255,0.1);
  padding: 12px;
  min-height: 108px;
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan-2);
  line-height: 1.7;
  overflow: hidden;
}
.cic__crt::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,0.18) 0 1px, transparent 1px 3px);
  animation: cic-scan 2.8s linear infinite;
}
@keyframes cic-scan {
  from { transform: translateY(-8px); }
  to { transform: translateY(8px); }
}
.cic__crt p { margin: 0; position: relative; z-index: 1; }
.cic.is-charging {
  border-color: rgba(255,45,85,0.55);
  box-shadow: 0 0 50px rgba(255,45,85,0.16), 0 40px 80px rgba(0,0,0,0.55);
}
.cic.is-charging .cic__crt { color: var(--amber); border-color: rgba(255,176,32,0.4); }
.switch__help { color: var(--muted); font-size: 14px; text-align: center; margin: 4px 8px 0; position: relative; z-index: 1; }
.charge {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  height: auto;
  background: transparent;
}
.charge__scale {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.charge__track {
  height: 8px;
  background: rgba(255,45,85,0.12);
  box-shadow: inset 0 0 0 1px rgba(255,45,85,0.28);
  position: relative;
  overflow: hidden;
}
.charge__track span,
#charge-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7a1024, var(--red), #ff8aa0);
  box-shadow: 0 0 14px var(--red);
}
.cic.is-charging + .switch__help { color: var(--amber); }

.section--chymera {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 72px;
  padding-bottom: 96px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 18%, rgba(255, 106, 18, 0.16), transparent 58%);
}
.chymera-mark {
  margin: 0 0 22px;
  font-family: var(--font-d);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.62em;
  color: var(--cyan);
  opacity: 0.55;
}
.chymera-mark--footer {
  display: block;
  margin: 0 0 10px;
  text-align: left;
  opacity: 0.45;
}
.chymera-line {
  margin: 0 0 16px;
  max-width: 48ch;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  border: 0;
  padding: 0;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 40px 7vw 60px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  max-width: 100%;
  overflow-x: hidden;
}
.footer__brand strong {
  font-family: var(--font-d);
  letter-spacing: 0.16em;
}
.footer p { color: var(--muted); margin: 0; max-width: 70ch; }
.faq { margin: 18px 0 8px; max-width: 70ch; }
.faq__title {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 12px;
}
.faq dl { margin: 0; display: grid; gap: 12px; }
.faq dt {
  font-family: var(--font-d);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text);
  margin: 0 0 4px;
}
.faq dd { margin: 0; color: var(--muted); line-height: 1.5; }
.transmit { margin: 18px 0 10px; }
.transmit__kicker {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 6px;
}
.transmit__line { margin: 0 0 10px; }
.transmit__row { display: flex; flex-wrap: wrap; gap: 8px; }
.transmit__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--cyan);
  background: transparent;
  padding: 8px 12px;
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.transmit__btn:hover { border-color: var(--cyan); color: #fff; }
.cite {
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 8px 0 !important;
}
.footer__sign {
  font-family: var(--font-m);
  color: var(--cyan) !important;
  letter-spacing: 0.24em;
}

.dossier {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0,0,0,0.62);
  display: grid;
  place-items: center;
  padding: 24px;
}
.dossier__panel {
  width: min(680px, 94vw);
  background: #070d16;
  border: 1px solid var(--cyan);
  padding: 28px 28px 32px;
  position: relative;
  box-shadow: 0 0 40px rgba(0,229,255,0.12);
}
.dossier__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  width: 36px;
  height: 36px;
}
.dossier__id {
  font-family: var(--font-m);
  color: var(--amber);
  letter-spacing: 0.2em;
  font-size: 12px;
}
.dossier__panel h2 {
  font-family: var(--font-d);
  margin: 4px 0 8px;
}
.dossier__tagline { color: var(--cyan); margin-top: 0; }
.dossier__schematic {
  height: 90px;
  margin: 16px 0;
  border: 1px dashed var(--line);
  background:
    linear-gradient(90deg, transparent 0 20%, rgba(0,229,255,0.12) 50%, transparent 80%),
    repeating-linear-gradient(90deg, rgba(0,229,255,0.15) 0 1px, transparent 1px 24px);
  animation: scan 2.4s linear infinite;
}
@keyframes scan {
  from { background-position: -200px 0, 0 0; }
  to { background-position: 200px 0, 0 0; }
}
.dossier__body { font-size: 18px; line-height: 1.55; color: var(--text); }

.offline {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #000;
  display: grid;
  place-items: center;
  text-align: center;
}
.offline__tag { font-family: var(--font-m); letter-spacing: 0.3em; color: var(--red); }
.offline__title {
  font-family: var(--font-d);
  font-size: clamp(32px, 8vw, 72px);
  color: var(--red);
  margin: 8px 0 18px;
}
.offline__flatline { width: min(400px, 80vw); height: 80px; margin: 0 auto 10px; }
.offline__pulse {
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-dasharray: 80 400;
  animation: flat 1.8s ease-in forwards;
}
@keyframes flat { to { stroke-dasharray: 0 400; stroke: #3a1018; } }
.offline__copy { color: #9aa; }

.glitch { position: relative; }
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  overflow: hidden;
}
.glitch::before { color: var(--cyan); clip-path: inset(0 0 55% 0); transform: translate(-2px, -1px); opacity: 0.7; }
.glitch::after { color: var(--red); clip-path: inset(55% 0 0 0); transform: translate(2px, 1px); opacity: 0.7; }

body.is-killing {
  animation: killflash 0.45s steps(2) 4;
  filter: grayscale(0.4) contrast(1.3);
}
@keyframes killflash {
  50% { filter: invert(1) hue-rotate(180deg); }
}

@media (max-width: 980px) {
  .hud { grid-template-columns: minmax(0, 1fr) auto; height: auto; row-gap: 8px; }
  .hud__left, .hud__right { min-width: 0; }
  .hud__nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 14px;
    padding-bottom: 4px;
    overflow-x: hidden;
    flex-wrap: wrap;
    row-gap: 6px;
  }
  .hud__class { display: none; }
  .hero { grid-template-columns: 1fr; padding: 24px max(16px, env(safe-area-inset-right)) 48px max(16px, env(safe-area-inset-left)); }
  .clock { display: none; }
  .hud__right { gap: 8px; }
  .scroll-hint { left: max(16px, env(safe-area-inset-left)); }
  .hero__grid { transform: perspective(500px) rotateX(62deg) scale(1); }
  .telemetry { width: 100%; }
  .cards, .split { grid-template-columns: 1fr; }
  .beast-arm, .beast-pack { display: none; }
  .sim-tag { display: none; }
  .story { min-height: 88vh; }
  .story__copy, .story--flip .story__copy { text-align: left; margin: 0; width: 100%; padding: 48px 20px 72px; }
  .story__stamp { white-space: normal; }
  .story__float { display: none; }
  .story__float--robot {
    display: block;
    width: min(48%, 220px);
    right: 0;
  }
  .mean-bot { width: min(58%, 240px); right: 0; }
  .cic__bays { grid-template-columns: 1fr; }
  .cic__bay { min-height: 0; }
  .cic__rail { flex-wrap: wrap; padding: 12px 16px 10px; }
  .scram { height: 112px; }
  .sat { width: min(16vw, 72px); height: 12px; }
  .heli { width: min(28vw, 140px); }
  .hero__stage { height: 280px; }
  .section { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .tx-tear { left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  .swarm { display: none; }
  .tx-scan, .tx-tear, .tx-split { display: none; }
  .story__fx--neon { opacity: 1; }
  .story__fx--pulse, .story__fx--lava, .story__fx--reentry, .story__fx--sparks, .story__float--glow { opacity: 0.8; }
}

.page-rogue { padding-top: calc(var(--hud-h) + 28px); }
.rogue {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto 72px;
}
.rogue__hero {
  padding: 28px 0 36px;
  border-bottom: 1px solid var(--line);
}
.rogue__stamp {
  font-family: var(--font-m);
  letter-spacing: 0.28em;
  font-size: 11px;
  color: var(--red);
  margin: 0 0 10px;
}
.rogue__hero h1 {
  font-family: var(--font-d);
  font-size: clamp(32px, 6vw, 64px);
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}
.rogue__lede {
  max-width: 62ch;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.45;
  color: var(--text);
  margin: 0 0 18px;
}
.rogue__note {
  max-width: 68ch;
  color: var(--muted);
  margin: 0 0 22px;
  line-height: 1.5;
}
.rogue__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rogue__section { padding: 40px 0; border-bottom: 1px solid rgba(0,229,255,0.1); }
.rogue__section h2 {
  font-family: var(--font-d);
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}
.rogue__kicker {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin: 0 0 18px;
}
.rogue-grid { display: grid; gap: 14px; }
.rogue-card {
  background: rgba(8, 16, 28, 0.72);
  border: 1px solid var(--line);
  padding: 18px 20px 16px;
}
.rogue-card h3 {
  font-family: var(--font-d);
  font-size: 18px;
  letter-spacing: 0.03em;
  margin: 8px 0 10px;
  line-height: 1.3;
}
.rogue-card p { margin: 0 0 10px; color: var(--text); line-height: 1.5; }
.rogue-card .why { color: var(--amber); }
.rogue-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.stamp {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid currentColor;
  letter-spacing: 0.16em;
}
.stamp.severe { color: var(--red); }
.stamp.alarm { color: var(--amber); }
.stamp.watch { color: var(--cyan); }
.rogue-card details { margin-top: 8px; }
.rogue-card summary {
  cursor: pointer;
  color: var(--cyan);
  font-family: var(--font-m);
  letter-spacing: 0.14em;
  font-size: 12px;
}
.rogue-card ul { margin: 10px 0 0; padding-left: 18px; }
.rogue-card li { margin: 4px 0; }
.rogue-card a { color: var(--cyan); }
.outlet-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.outlet-list a {
  display: block;
  border: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--text);
  text-decoration: none;
}
.outlet-list a:hover { border-color: var(--cyan); color: var(--cyan); }
.outlet-list span {
  display: block;
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 4px;
}
.rogue-form {
  display: grid;
  gap: 12px;
  max-width: 640px;
}
.rogue-form label {
  display: grid;
  gap: 6px;
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}
.rogue-form input,
.rogue-form textarea,
.rogue-form select {
  width: 100%;
  background: #05080c;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 10px 12px;
  font-family: var(--font-b);
  font-size: 16px;
}
.rogue-form textarea { min-height: 110px; resize: vertical; }
.rogue-form button { justify-self: start; }
.rogue-local { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.rogue-local li {
  border: 1px dashed var(--line);
  padding: 12px 14px;
}
.rogue-local strong { display: block; margin-bottom: 4px; }
