/* ==========================================================================
   NVIDIA // NEON GRID — unofficial cyberpunk design study
   Design system + sections. No external requests; all fonts local.
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face {
  font-family: 'Orbitron';
  src: url('../fonts/orbitron-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Orbitron';
  src: url('../fonts/orbitron-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Orbitron';
  src: url('../fonts/orbitron-900.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('../fonts/rajdhani-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('../fonts/rajdhani-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('../fonts/rajdhani-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('../fonts/rajdhani-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Share Tech Mono';
  src: url('../fonts/sharetechmono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --acid: #76ff00;
  --acid-soft: #9dff3d;
  --acid-dim: #76b900;
  --cyan: #00e5ff;
  --magenta: #ff2bd6;
  --amber: #ffb040;
  --bg: #040805;
  --bg-2: #060c08;
  --panel: #0a120d;
  --panel-2: #0d1712;
  --line: rgba(118, 255, 0, .16);
  --line-strong: rgba(118, 255, 0, .42);
  --text: #d6e8d2;
  --text-dim: #7fa283;
  --text-mute: #526b58;
  --f-display: 'Orbitron', 'Arial Black', sans-serif;
  --f-body: 'Rajdhani', 'Segoe UI', sans-serif;
  --f-mono: 'Share Tech Mono', 'SF Mono', monospace;
  --nav-h: 68px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-snap: cubic-bezier(.83, 0, .17, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  overflow-x: clip;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; }
::selection { background: var(--acid); color: #03150a; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #050a07; }
::-webkit-scrollbar-thumb { background: #1c3325; border: 2px solid #050a07; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--acid-dim); }

/* ---------- global overlays: grain / scanlines / vignette ---------- */
.fx { position: fixed; inset: 0; pointer-events: none; z-index: 90; }
.grain {
  background: url('../img/noise.png'); background-size: 256px;
  opacity: .07; mix-blend-mode: overlay;
  animation: grainShift 1.2s steps(4) infinite;
}
@keyframes grainShift {
  0% { background-position: 0 0; } 25% { background-position: -64px 32px; }
  50% { background-position: 32px -64px; } 75% { background-position: -32px -32px; }
  100% { background-position: 0 0; }
}
.scanlines {
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .24) 0 1px, transparent 1px 3px);
  opacity: .5; mix-blend-mode: multiply;
}
.scanlines::after {
  content: ''; position: absolute; left: 0; right: 0; height: 140px; top: -140px;
  background: linear-gradient(180deg, transparent, rgba(118, 255, 0, .05), transparent);
  animation: sweep 7s linear infinite;
}
@keyframes sweep { to { transform: translateY(120vh); } }
.vignette {
  background: radial-gradient(120% 90% at 50% 42%, transparent 55%, rgba(0, 0, 0, .55) 100%);
}

/* ---------- custom cursor ---------- */
#cursor-dot, #cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 200;
  border-radius: 50%; transform: translate(-50%, -50%);
  display: none;
}
body.has-cursor #cursor-dot, body.has-cursor #cursor-ring { display: block; }
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
#cursor-dot { width: 6px; height: 6px; background: var(--acid); box-shadow: 0 0 10px var(--acid); transition: transform .18s var(--ease-out), background .18s; }
#cursor-ring {
  width: 34px; height: 34px; border: 1px solid rgba(118, 255, 0, .55);
  transition: width .22s var(--ease-out), height .22s var(--ease-out), border-color .22s, background .22s, transform .12s linear;
}
#cursor-ring.label { width: 64px; height: 64px; border-color: var(--cyan); background: rgba(0, 229, 255, .06); }
#cursor-ring .cur-label {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 9px; letter-spacing: .18em; color: var(--cyan);
  opacity: 0; transition: opacity .15s;
}
#cursor-ring.label .cur-label { opacity: 1; }
#cursor-ring.down { transform: translate(-50%, -50%) scale(.78); }

/* ---------- boot sequence ---------- */
#boot {
  position: fixed; inset: 0; z-index: 300;
  background: #020503;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); color: var(--acid);
  transition: opacity .5s var(--ease-out), visibility .5s;
}
#boot.done { opacity: 0; visibility: hidden; }
.boot-box { width: min(620px, 88vw); }
.boot-box .boot-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 10px; margin-bottom: 14px;
  font-size: 12px; letter-spacing: .22em;
}
.boot-box .boot-head b { font-family: var(--f-display); font-weight: 700; }
#boot-lines {
  min-height: 168px; font-size: 12.5px; line-height: 1.9; color: #8fce6f;
  text-shadow: 0 0 8px rgba(118, 255, 0, .35); white-space: pre-wrap;
}
#boot-lines .ok { color: var(--acid); }
#boot-lines .warn { color: var(--amber); }
.boot-bar { height: 4px; background: rgba(118, 255, 0, .12); margin-top: 16px; position: relative; overflow: hidden; }
.boot-bar i {
  position: absolute; inset: 0; width: 0%; background: var(--acid);
  box-shadow: 0 0 14px var(--acid); transition: width .12s steps(6);
}
.boot-skip { margin-top: 14px; font-size: 10px; letter-spacing: .3em; color: var(--text-mute); text-transform: uppercase; }

/* ---------- nav (HUD chrome) ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: stretch;
  background: linear-gradient(180deg, rgba(4, 8, 5, .92), rgba(4, 8, 5, .72));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  transition: transform .6s var(--ease-out);
}
body.booted .nav { transform: translateY(0); }
.nav-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--acid), var(--cyan));
  transform-origin: left; transform: scaleX(0);
  box-shadow: 0 0 10px rgba(118, 255, 0, .6);
}
.nav-inner {
  width: min(1520px, 100%); margin: 0 auto; padding: 0 26px;
  display: flex; align-items: center; gap: 26px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; position: relative; }
.brand-mark {
  width: 34px; height: 34px; flex: none;
  filter: drop-shadow(0 0 8px rgba(118, 255, 0, .7));
}
.brand-word { font-family: var(--f-display); font-weight: 900; font-size: 19px; letter-spacing: .12em; color: #eaffda; line-height: 1; }
.brand-word em { font-style: normal; color: var(--acid); }
.brand-sub {
  display: block; font-family: var(--f-mono); font-size: 8.5px; letter-spacing: .32em;
  color: var(--text-mute); margin-top: 3px; text-transform: uppercase;
}
.nav-links { display: flex; gap: 4px; margin: 0 auto; height: 100%; }
.nav-links a {
  position: relative; display: flex; align-items: center; padding: 0 13px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-dim); transition: color .2s, text-shadow .2s;
}
.nav-links a::before {
  content: '▸'; position: absolute; left: 4px; top: 50%; transform: translateY(-50%);
  color: var(--acid); opacity: 0; transition: opacity .18s, transform .18s;
  font-size: 9px;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--acid); text-shadow: 0 0 12px rgba(118, 255, 0, .65);
  padding-left: 19px; padding-right: 7px; /* width-neutral arrow affordance */
}
.nav-links a:hover::before, .nav-links a.active::before { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.hud-status {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; color: var(--text-dim);
}
.hud-status .pip {
  width: 7px; height: 7px; background: var(--acid); border-radius: 1px;
  box-shadow: 0 0 8px var(--acid); animation: pipBlink 2.4s infinite;
}
@keyframes pipBlink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
#nav-clock { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--cyan); }
#nav-clock span { color: var(--text-mute); }
.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 130; }
.burger i {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--acid);
  box-shadow: 0 0 8px rgba(118, 255, 0, .8); transition: transform .3s var(--ease-snap), top .3s, opacity .2s;
}
.burger i:nth-child(1) { top: 15px; } .burger i:nth-child(2) { top: 22px; } .burger i:nth-child(3) { top: 29px; }
.burger.open i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.open i:nth-child(2) { opacity: 0; }
.burger.open i:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- mobile menu ---------- */
.mmenu {
  position: fixed; inset: 0; z-index: 120;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(118, 255, 0, .07), transparent 70%),
    rgba(3, 6, 4, .97);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: flex; flex-direction: column; justify-content: center; padding: 96px 8vw 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .5s var(--ease-snap);
  visibility: hidden;
}
.mmenu.open { clip-path: inset(0 0 0% 0); visibility: visible; }
.mmenu a.mlink {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 7.4vw, 40px);
  letter-spacing: .1em; text-transform: uppercase; color: var(--text);
  padding: 12px 0; border-bottom: 1px solid rgba(118, 255, 0, .12);
  display: flex; align-items: baseline; gap: 16px;
  transform: translateY(18px); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .5s, color .2s;
}
.mmenu.open a.mlink { transform: none; opacity: 1; }
.mmenu a.mlink:hover, .mmenu a.mlink:focus-visible { color: var(--acid); }
.mmenu a.mlink small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .3em; color: var(--text-mute); }
.mmenu .mmenu-foot {
  margin-top: 34px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--text-mute); display: flex; justify-content: space-between;
}

/* ---------- buttons ---------- */
.btn {
  --btn-c: var(--acid);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  padding: 15px 26px; color: #04170a;
  background: var(--btn-c);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: background .18s, color .18s, transform .18s var(--ease-out), filter .18s;
  overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .45s var(--ease-out);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { filter: brightness(1.12) drop-shadow(0 0 14px rgba(118, 255, 0, .55)); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn.ghost {
  background: transparent; color: var(--acid);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn.ghost:hover { background: rgba(118, 255, 0, .08); filter: none; box-shadow: inset 0 0 0 1px var(--acid), 0 0 18px rgba(118, 255, 0, .3); }
.btn.cyan { --btn-c: var(--cyan); color: #02181c; }
.btn .arrow { font-size: 10px; }

/* ---------- glitch text core ---------- */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; overflow: hidden;
  opacity: 0; pointer-events: none;
}
.glitch::before { color: var(--magenta); z-index: -1; }
.glitch::after { color: var(--cyan); z-index: -2; }
.glitch.glitching::before {
  opacity: .85;
  animation: gl-a .32s steps(2, end) both;
}
.glitch.glitching::after {
  opacity: .85;
  animation: gl-b .32s steps(2, end) both;
}
@keyframes gl-a {
  0% { clip-path: inset(12% 0 64% 0); transform: translate(-5px, -2px); }
  40% { clip-path: inset(58% 0 8% 0); transform: translate(4px, 2px); }
  100% { clip-path: inset(30% 0 44% 0); transform: translate(-3px, 1px); }
}
@keyframes gl-b {
  0% { clip-path: inset(60% 0 10% 0); transform: translate(5px, 2px); }
  40% { clip-path: inset(8% 0 70% 0); transform: translate(-4px, -2px); }
  100% { clip-path: inset(40% 0 30% 0); transform: translate(3px, -1px); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(118, 255, 0, .10), transparent 55%),
    radial-gradient(80% 50% at 85% 30%, rgba(0, 229, 255, .06), transparent 60%),
    radial-gradient(70% 45% at 15% 35%, rgba(255, 43, 214, .05), transparent 60%),
    linear-gradient(180deg, #030705 0%, #04100a 55%, #020503 100%);
}
.hero-sky { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 110%; min-width: 1200px; pointer-events: none; }
.hero-sky img { width: 100%; height: auto; }
.sky-far  { bottom: 12vh; opacity: .8; }
.sky-mid  { bottom: 4vh; opacity: .95; }
.sky-near { bottom: -2vh; }
.hero-grid-floor {
  position: absolute; left: -20%; right: -20%; bottom: -4%; height: 34vh;
  background:
    linear-gradient(180deg, transparent, rgba(118, 255, 0, .12)),
    repeating-linear-gradient(90deg, rgba(118, 255, 0, .28) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(118, 255, 0, .28) 0 1px, transparent 1px 42px);
  transform: perspective(420px) rotateX(64deg); transform-origin: top center;
  mask-image: linear-gradient(180deg, transparent, #000 30%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%);
  animation: floorFlow 9s linear infinite;
  opacity: .55;
}
@keyframes floorFlow { to { background-position: 0 0, 0 0, 0 42px; } }
#rain-canvas { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-haze {
  position: absolute; inset: auto 0 0 0; height: 46vh; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(3, 8, 5, .88) 82%);
}
.hero-content {
  position: relative; z-index: 5;
  width: min(1520px, 100%); margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) 26px 0;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--acid); border: 1px solid var(--line-strong);
  padding: 8px 14px; margin-bottom: 26px;
  background: rgba(6, 14, 8, .6);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.hero-eyebrow .hex { animation: hexSpin 5s linear infinite; display: inline-block; }
@keyframes hexSpin { to { transform: rotate(360deg); } }
.hero h1 {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(44px, 8.6vw, 124px);
  line-height: .98; letter-spacing: .02em; text-transform: uppercase;
  color: #f2ffe6;
  text-shadow: 0 0 34px rgba(118, 255, 0, .28);
}
.hero h1 .row { display: block; }
.hero h1 .acid {
  color: var(--acid);
  text-shadow: 0 0 18px rgba(118, 255, 0, .85), 0 0 60px rgba(118, 255, 0, .4);
}
.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(118, 255, 0, .75);
  text-shadow: none;
}
.hero-sub {
  max-width: 620px; margin-top: 24px;
  font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; color: var(--text-dim);
}
.hero-sub b { color: var(--acid-soft); font-weight: 700; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero-corners { position: absolute; inset: calc(var(--nav-h) + 20px) 26px 26px; pointer-events: none; z-index: 4; }
.hero-corners i { position: absolute; width: 26px; height: 26px; border: 1px solid rgba(118, 255, 0, .4); }
.hero-corners i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hero-corners i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hero-corners i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hero-corners i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* hero stats */
.hero-stats {
  position: relative; z-index: 5;
  width: min(1520px, 100%); margin: 54px auto 0; padding: 0 26px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat-cell { background: rgba(5, 11, 7, .82); padding: 20px 22px; position: relative; overflow: hidden; }
.stat-cell::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--acid); transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s var(--ease-out) .3s;
}
.stat-cell.in::after { transform: scaleX(1); }
.stat-num {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 3vw, 40px);
  color: var(--acid); text-shadow: 0 0 16px rgba(118, 255, 0, .5); line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-num small { font-size: .5em; color: var(--cyan); letter-spacing: .1em; }
.stat-lbl { font-family: var(--f-mono); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--text-mute); margin-top: 6px; }

/* hero ticker */
.ticker {
  position: relative; z-index: 5; margin-top: 26px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(4, 9, 6, .85);
  display: flex; align-items: stretch; overflow: hidden;
}
.ticker-tag {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 12px 18px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: #04170a; background: var(--acid);
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.ticker-tag i { width: 7px; height: 7px; background: #04170a; border-radius: 50%; animation: pipBlink 1.4s infinite; }
.ticker-items { position: relative; flex: 1; display: flex; align-items: center; padding: 0 20px; min-height: 44px; }
.ticker-item {
  position: absolute; left: 20px; right: 20px;
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .12em; color: var(--text-dim);
  opacity: 0; transform: translateY(8px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ticker-item b { color: var(--acid); font-weight: 400; }
.ticker-item.on { opacity: 1; transform: none; transition: opacity .35s, transform .35s var(--ease-out); }
.ticker-dots { flex: none; display: flex; align-items: center; gap: 7px; padding: 0 20px; }
.ticker-dots i { width: 16px; height: 3px; background: rgba(118, 255, 0, .2); transition: background .3s; cursor: pointer; }
.ticker-dots i.on { background: var(--acid); box-shadow: 0 0 8px var(--acid); }
.scroll-hint {
  position: absolute; bottom: 26px; right: 26px; z-index: 6;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--text-mute); display: flex; align-items: center; gap: 10px;
  writing-mode: vertical-rl;
}
.scroll-hint::after { content: '▾'; animation: hintDrop 1.6s var(--ease-out) infinite; color: var(--acid); writing-mode: horizontal-tb; }
@keyframes hintDrop { 0% { transform: translateY(-4px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(118, 255, 0, .06), rgba(0, 229, 255, .04), rgba(255, 43, 214, .05), rgba(118, 255, 0, .06));
}
.marquee-track { display: flex; width: max-content; animation: mq 26s linear infinite; will-change: transform; }
.marquee span {
  flex: none; padding: 0 26px;
  font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(214, 232, 210, .5); white-space: nowrap;
}
.marquee span em { font-style: normal; color: var(--acid); padding-right: 8px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- generic section chrome ---------- */
.sect { position: relative; padding: clamp(84px, 11vw, 150px) 0; overflow-x: hidden; overflow-x: clip; }
.sect-inner { width: min(1520px, 100%); margin: 0 auto; padding: 0 26px; position: relative; }
.sect-head { display: flex; align-items: flex-end; gap: 28px; margin-bottom: clamp(36px, 5vw, 64px); }
.sect-index {
  font-family: var(--f-mono); font-size: 12px; color: var(--acid);
  border: 1px solid var(--line-strong); padding: 7px 12px; letter-spacing: .2em;
  align-self: flex-start; margin-top: 8px; flex: none;
  background: rgba(118, 255, 0, .05);
}
.sect-kicker {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .36em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 10px; display: flex; align-items: center; gap: 12px;
}
.sect-kicker::before { content: ''; width: 34px; height: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.sect-title {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(30px, 5vw, 62px); line-height: 1.02; letter-spacing: .03em;
  text-transform: uppercase; color: #eaffdd;
}
.sect-title .dim { color: transparent; -webkit-text-stroke: 1px rgba(118, 255, 0, .6); }
.sect-title .acid { color: var(--acid); text-shadow: 0 0 22px rgba(118, 255, 0, .55); }
.sect-lede { margin-left: auto; max-width: 420px; color: var(--text-dim); font-size: 16px; align-self: flex-end; padding-bottom: 6px; }

/* reveal choreography */
.rv { opacity: 0; transform: translateY(42px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.rv.rv-l { transform: translateX(-48px); }
.rv.rv-r { transform: translateX(48px); }
.rv.rv-zoom { transform: scale(.94); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }
.rv-d5 { transition-delay: .4s; } .rv-d6 { transition-delay: .48s; }
.rv-glitch { clip-path: inset(0 100% 0 0); transition: clip-path .7s var(--ease-snap) .1s, opacity .01s .1s; opacity: 1; transform: none; }
.rv-glitch.in { clip-path: inset(0 0% 0 0); }

/* circuit backdrop utility */
.circuit-bg { position: relative; }
.circuit-bg::before {
  content: ''; position: absolute; inset: 0;
  background: url('../img/circuit.png'); background-size: 720px;
  opacity: .16; pointer-events: none;
  mask-image: radial-gradient(80% 70% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, #000 30%, transparent 100%);
}

/* ---------- GEFORCE product cards ---------- */
.geforce { background: linear-gradient(180deg, var(--bg) 0%, #051009 100%); }
.card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.holo-card {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; background: linear-gradient(165deg, #0b1610 0%, #060d09 60%, #050b07 100%);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  padding: 26px;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .25s var(--ease-out), border-color .3s, box-shadow .3s;
  transform-style: preserve-3d;
  overflow: hidden;
}
.holo-card:hover { border-color: var(--line-strong); box-shadow: 0 22px 60px -20px rgba(118, 255, 0, .28), 0 0 0 1px rgba(118, 255, 0, .2); }
.holo-card::before { /* pointer-tracked holo sheen */
  content: ''; position: absolute; inset: -30%; z-index: 0;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(118, 255, 0, .16), transparent 32%),
    conic-gradient(from 0deg at var(--mx) var(--my), transparent 0deg, rgba(0, 229, 255, .12) 40deg, transparent 90deg, rgba(255, 43, 214, .10) 200deg, transparent 260deg);
  opacity: 0; transition: opacity .3s;
}
.holo-card:hover::before { opacity: 1; }
.holo-card::after { /* scan edge */
  content: ''; position: absolute; left: 0; right: 0; top: -40px; height: 40px; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(118, 255, 0, .14), transparent);
  opacity: 0;
}
.holo-card:hover::after { opacity: 1; animation: cardScan 1.4s linear infinite; }
@keyframes cardScan { to { transform: translateY(120%); } }
.holo-card > * { position: relative; z-index: 2; }
.card-tier {
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--text-mute); display: flex; justify-content: space-between; margin-bottom: 14px;
}
.card-tier b { color: var(--cyan); font-weight: 400; }
.card-img { margin: -8px -14px 4px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); transition: transform .4s var(--ease-out); }
.holo-card:hover .card-img { transform: translateZ(40px) scale(1.04); }
.card-name {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2vw, 26px);
  letter-spacing: .06em; text-transform: uppercase; color: #efffe2;
}
.card-name em { font-style: normal; color: var(--acid); }
.card-role { font-family: var(--f-mono); font-size: 10px; letter-spacing: .3em; color: var(--magenta); text-transform: uppercase; margin: 6px 0 18px; }
.card-role.c-cyan { color: var(--cyan); }
.card-role.c-acid { color: var(--acid); }
.spec-read {
  font-family: var(--f-mono); font-size: 11.5px; line-height: 2.1; letter-spacing: .06em;
  border-top: 1px dashed rgba(118, 255, 0, .25); padding-top: 14px; margin-bottom: 16px;
}
.spec-read .sr-line { display: flex; justify-content: space-between; gap: 12px; color: var(--text-dim); }
.spec-read .sr-line b { color: #eaffdd; font-weight: 400; }
.spec-read .sr-line b.hot { color: var(--acid); text-shadow: 0 0 8px rgba(118, 255, 0, .5); }
.perf-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.perf-bar .pb-lbl { font-family: var(--f-mono); font-size: 9px; letter-spacing: .24em; color: var(--text-mute); width: 74px; flex: none; text-transform: uppercase; }
.perf-bar .pb-track { flex: 1; height: 6px; background: rgba(118, 255, 0, .1); position: relative; overflow: hidden; }
.perf-bar .pb-fill {
  position: absolute; inset: 0; width: 0%;
  background: linear-gradient(90deg, var(--acid-dim), var(--acid));
  box-shadow: 0 0 10px rgba(118, 255, 0, .6);
  transition: width 1.4s var(--ease-out) .2s;
}
.perf-bar .pb-val { font-family: var(--f-mono); font-size: 10px; color: var(--acid); width: 42px; text-align: right; }
.perf-bar .pb-fill.dim-c {
  background: linear-gradient(90deg, #06707f, var(--cyan));
  box-shadow: 0 0 10px rgba(0, 229, 255, .5);
}
.card-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--acid); padding: 10px 0; position: relative;
}
.card-cta::after { content: '▸'; transition: transform .2s; }
.card-cta:hover::after { transform: translateX(6px); }
.card-cta:hover { text-shadow: 0 0 12px rgba(118, 255, 0, .8); }
.card-cta .cta-underline {
  position: absolute; left: 0; bottom: 4px; height: 1px; width: 0;
  background: var(--acid); box-shadow: 0 0 8px var(--acid); transition: width .25s var(--ease-out);
}
.card-cta:hover .cta-underline { width: 100%; }

/* ---------- DLSS ---------- */
.dlss { background: #04100a; }
.dlss-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: stretch; }
.dlss-panel {
  position: relative; border: 1px solid var(--line); background: #030905;
  min-height: 440px; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}
.dlss-panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.dlss-panel .panel-tag {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--acid); background: rgba(4, 10, 6, .8); border: 1px solid var(--line-strong);
  padding: 6px 10px;
}
.dlss-panel .panel-fps {
  position: absolute; bottom: 14px; right: 14px; z-index: 3; text-align: right;
}
.panel-fps .num { font-family: var(--f-display); font-weight: 900; font-size: 34px; color: var(--acid); text-shadow: 0 0 18px rgba(118, 255, 0, .6); }
.panel-fps .lbl { font-family: var(--f-mono); font-size: 9px; letter-spacing: .3em; color: var(--text-mute); text-transform: uppercase; }
.dlss-side h3 {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2.2vw, 28px);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; color: #eaffdd;
}
.dlss-side > p { color: var(--text-dim); margin-bottom: 26px; }
.feat-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.feat {
  display: flex; gap: 16px; padding: 16px 18px;
  background: rgba(9, 18, 12, .7); border: 1px solid var(--line);
  border-left: 2px solid var(--acid);
  transition: border-color .25s, background .25s, transform .25s var(--ease-out);
}
.feat:hover { border-color: var(--line-strong); background: rgba(118, 255, 0, .05); transform: translateX(6px); }
.feat .f-idx { font-family: var(--f-mono); font-size: 10px; color: var(--cyan); padding-top: 4px; flex: none; }
.feat h4 { font-family: var(--f-body); font-weight: 700; font-size: 16.5px; letter-spacing: .08em; text-transform: uppercase; color: #eaffdd; }
.feat p { font-size: 14px; color: var(--text-dim); margin-top: 3px; }
.fps-compare { border: 1px solid var(--line); padding: 20px; background: rgba(6, 13, 8, .7); }
.fps-compare .fc-head { font-family: var(--f-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px; }

/* ---------- AI compute ---------- */
.ai { background: linear-gradient(180deg, #05120b, var(--bg)); }
.ai-grid { display: grid; grid-template-columns: 380px 1fr; gap: 44px; align-items: center; }
.ai-orb { position: relative; }
.ai-orb img { width: 100%; animation: orbFloat 7s ease-in-out infinite; }
@keyframes orbFloat { 0%, 100% { transform: translateY(-8px); } 50% { transform: translateY(10px); } }
.ai-orb .orbit-ring {
  position: absolute; inset: -8%;
  border: 1px dashed rgba(0, 229, 255, .3); border-radius: 50%;
  animation: hexSpin 26s linear infinite;
}
.ai-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ai-card {
  position: relative; padding: 24px 22px; overflow: hidden;
  background: rgba(8, 16, 11, .8); border: 1px solid var(--line);
  transition: border-color .3s, background .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.ai-card:hover { border-color: var(--cyan); background: rgba(0, 229, 255, .04); transform: translateY(-6px); box-shadow: 0 18px 40px -18px rgba(0, 229, 255, .35); }
.ai-card .icon { width: 44px; height: 44px; margin-bottom: 16px; color: var(--acid); filter: drop-shadow(0 0 8px rgba(118, 255, 0, .5)); transition: color .3s, filter .3s; }
.ai-card:hover .icon { color: var(--cyan); filter: drop-shadow(0 0 10px rgba(0, 229, 255, .7)); }
.ai-card h4 { font-family: var(--f-display); font-weight: 700; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: #eaffdd; }
.ai-card .tag { display: inline-block; font-family: var(--f-mono); font-size: 9px; letter-spacing: .28em; color: var(--magenta); border: 1px solid rgba(255, 43, 214, .4); padding: 3px 8px; margin: 10px 0; text-transform: uppercase; }
.ai-card p { font-size: 14.5px; color: var(--text-dim); }
.ai-card .corner { position: absolute; top: 0; right: 0; width: 18px; height: 18px; border-top: 1px solid var(--acid); border-right: 1px solid var(--acid); opacity: 0; transition: opacity .3s; }
.ai-card:hover .corner { opacity: 1; }

/* formula strip */
.formula {
  margin-top: 44px; border: 1px solid var(--line);
  background: rgba(5, 11, 7, .85); padding: 18px 22px;
  font-family: var(--f-mono); font-size: clamp(11px, 1.4vw, 14px); letter-spacing: .06em;
  color: var(--text-dim); display: flex; align-items: center; gap: 18px; overflow-x: auto;
}
.formula b { color: var(--acid); font-weight: 400; white-space: nowrap; }
.formula .eq { color: var(--cyan); }
.formula::before { content: '$ compute --formula neural'; color: var(--text-mute); flex: none; }

/* ---------- DATADENS ---------- */
.dataden {
  background: url('../img/dataden.png') center/cover no-repeat fixed, #020604;
  position: relative;
}
.dataden::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 5, .94), rgba(3, 7, 5, .72) 45%, rgba(3, 7, 5, .94));
}
.dataden .sect-inner { z-index: 2; }
.den-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 44px; }
.den-cell { background: rgba(4, 9, 6, .88); padding: 26px 24px; }
.den-stats .stat-num { font-size: clamp(24px, 3.2vw, 44px); }
.den-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.den-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.den-card {
  padding: 22px; background: rgba(5, 11, 8, .85); border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.den-card::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--acid), var(--cyan));
  transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease-out);
}
.den-card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 16px 40px -20px rgba(118, 255, 0, .4); }
.den-card:hover::before { transform: scaleY(1); }
.den-card h4 { font-family: var(--f-display); font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #eaffdd; margin-bottom: 4px; }
.den-card .sub { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .26em; color: var(--cyan); text-transform: uppercase; margin-bottom: 10px; }
.den-card p { font-size: 14px; color: var(--text-dim); }
.den-card .metric { margin-top: 12px; font-family: var(--f-mono); font-size: 11px; color: var(--acid); }
.den-card .metric b { font-weight: 400; }

/* terminal (shared: dataden feed + developer code) */
.term {
  background: rgba(3, 8, 5, .94); border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  display: flex; flex-direction: column; overflow: hidden;
}
.term-bar {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-bottom: 1px solid var(--line); background: rgba(118, 255, 0, .05);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; color: var(--text-mute);
  text-transform: uppercase;
}
.term-bar .dots { display: flex; gap: 6px; margin-right: 6px; }
.term-bar .dots i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--acid); opacity: .6; }
.term-bar .dots i:nth-child(1) { background: var(--magenta); border-color: var(--magenta); }
.term-bar .dots i:nth-child(2) { background: var(--amber); border-color: var(--amber); }
.term-bar .dots i:nth-child(3) { background: var(--acid); border-color: var(--acid); }
.term-body {
  flex: 1; padding: 16px; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.85;
  color: #9fd884; overflow: hidden; position: relative; min-height: 220px;
}
.term-body .t-line { white-space: pre-wrap; word-break: break-word; }
.term-body .t-line .t-time { color: var(--text-mute); }
.term-body .t-line .t-ok { color: var(--acid); }
.term-body .t-line .t-cyan { color: var(--cyan); }
.term-body .t-line .t-mag { color: var(--magenta); }
.term-body .t-line .t-amber { color: var(--amber); }
.caret { display: inline-block; width: 8px; height: 15px; background: var(--acid); vertical-align: -2px; animation: caretBlink 1s steps(1) infinite; box-shadow: 0 0 8px var(--acid); }
@keyframes caretBlink { 50% { opacity: 0; } }
.den-feed-wrap { display: flex; flex-direction: column; min-height: 100%; }
.den-feed-wrap .term { flex: 1; }
.den-note { margin-top: 16px; font-family: var(--f-mono); font-size: 11px; color: var(--text-mute); letter-spacing: .14em; }
.den-note b { color: var(--acid); font-weight: 400; }

/* ---------- DEVELOPERS ---------- */
.dev { background: linear-gradient(180deg, var(--bg), #051009 60%, var(--bg)); }
.dev-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: stretch; }
.dev .term-body { min-height: 380px; }
.code-kw { color: var(--magenta); } .code-fn { color: var(--cyan); }
.code-str { color: var(--amber); } .code-cm { color: #4c6a52; font-style: italic; }
.code-num { color: var(--acid); } .code-type { color: #b8ff8a; }
.dev-tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-content: start; }
.tool {
  padding: 20px; border: 1px solid var(--line); background: rgba(8, 15, 10, .8);
  transition: border-color .25s, background .25s, transform .25s var(--ease-out);
  position: relative; overflow: hidden;
}
.tool::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--acid); box-shadow: 0 0 10px var(--acid);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.tool:hover { border-color: var(--line-strong); background: rgba(118, 255, 0, .05); transform: translateY(-4px); }
.tool:hover::after { transform: scaleX(1); }
.tool h5 { font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #eaffdd; }
.tool span { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .24em; color: var(--text-mute); text-transform: uppercase; display: block; margin: 6px 0 10px; }
.tool p { font-size: 13.5px; color: var(--text-dim); }
.tool .go { position: absolute; top: 18px; right: 18px; font-family: var(--f-mono); color: var(--acid); font-size: 12px; opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .25s; }
.tool:hover .go { opacity: 1; transform: none; }

/* ---------- EXTRAS strip (gaming stack) ---------- */
.extras { background: #030a06; padding: clamp(60px, 8vw, 100px) 0; border-top: 1px solid var(--line); }
.extras-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.tile {
  position: relative; padding: 26px 22px; min-height: 190px;
  border: 1px solid var(--line); background: linear-gradient(170deg, rgba(10, 18, 12, .9), rgba(5, 10, 7, .9));
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  overflow: hidden; transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
.tile::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(80% 60% at 50% 0%, rgba(118, 255, 0, .14), transparent 70%);
}
.tile:hover { transform: translateY(-8px); border-color: var(--acid-dim); box-shadow: 0 24px 44px -22px rgba(118, 255, 0, .4); }
.tile:hover::before { opacity: 1; }
.tile .t-ic { position: absolute; top: 20px; left: 22px; width: 34px; height: 34px; color: var(--acid); }
.tile h5 { font-family: var(--f-display); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: #eaffdd; z-index: 1; }
.tile p { font-size: 13.5px; color: var(--text-dim); z-index: 1; }
.tile .t-num { position: absolute; top: 16px; right: 18px; font-family: var(--f-mono); font-size: 10px; color: var(--text-mute); }

/* ---------- newsletter ---------- */
.signal { background: linear-gradient(180deg, #05120b, #020604); }
.signal-box {
  position: relative; border: 1px solid var(--line-strong); padding: clamp(34px, 6vw, 70px);
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(118, 255, 0, .09), transparent 60%),
    rgba(6, 12, 8, .9);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
  text-align: center; overflow: hidden;
}
.signal-box::before {
  content: ''; position: absolute; inset: 0;
  background: url('../img/circuit.png'); background-size: 560px; opacity: .1; pointer-events: none;
}
.signal-box h2 { font-family: var(--f-display); font-weight: 900; font-size: clamp(26px, 4.4vw, 52px); text-transform: uppercase; letter-spacing: .03em; color: #eaffdd; }
.signal-box h2 .acid { color: var(--acid); text-shadow: 0 0 24px rgba(118, 255, 0, .6); }
.signal-box p { max-width: 520px; margin: 16px auto 30px; color: var(--text-dim); }
.signal-form { display: flex; max-width: 560px; margin: 0 auto; gap: 0; position: relative; z-index: 1; }
.signal-form input {
  flex: 1; min-width: 0; background: rgba(3, 8, 5, .9); border: 1px solid var(--line-strong);
  border-right: 0; padding: 16px 18px; color: var(--acid-soft);
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.signal-form input::placeholder { color: var(--text-mute); }
.signal-form input:focus { border-color: var(--acid); box-shadow: 0 0 0 1px var(--acid), 0 0 22px rgba(118, 255, 0, .25) inset; }
.signal-form .btn { clip-path: none; }
.signal-note { margin-top: 16px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--text-mute); }
.signal-note .locked { color: var(--acid); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: #020503; position: relative; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px;
  padding: clamp(46px, 6vw, 80px) 0 30px;
}
.footer h6 { font-family: var(--f-mono); font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.f-col a {
  font-size: 14.5px; color: var(--text-dim); position: relative; display: inline-block;
  transition: color .2s, transform .2s var(--ease-out);
}
.f-col a::before { content: '▸ '; color: var(--acid); opacity: 0; margin-left: -14px; transition: opacity .2s, margin-left .2s; }
.f-col a:hover { color: var(--acid); transform: translateX(4px); }
.f-col a:hover::before { opacity: 1; margin-left: 0; }
.f-brand p { max-width: 340px; color: var(--text-dim); font-size: 14.5px; margin: 16px 0 22px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--text-dim);
  transition: color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.socials a:hover { color: var(--acid); border-color: var(--acid); box-shadow: 0 0 16px rgba(118, 255, 0, .35); transform: translateY(-3px); }
.socials svg { width: 16px; height: 16px; }
.footer-legal {
  border-top: 1px solid rgba(118, 255, 0, .1);
  padding: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--text-mute);
}
.footer-legal .disclaimer { max-width: 720px; line-height: 1.8; }
.footer-legal .disclaimer b { color: var(--amber); font-weight: 400; }
.footer-legal .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: var(--text-mute); transition: color .2s; }
.footer-legal a:hover { color: var(--acid); }

/* back-to-top */
#to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: rgba(4, 9, 6, .85);
  color: var(--acid); font-size: 14px;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s, transform .3s, visibility .3s, box-shadow .2s;
}
#to-top.show { opacity: 1; visibility: visible; transform: none; }
#to-top:hover { box-shadow: 0 0 18px rgba(118, 255, 0, .4); }

/* a11y focus */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 3px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-links a { padding: 0 9px; font-size: 10.5px; letter-spacing: .12em; }
  .nav-links a:hover, .nav-links a.active { padding-left: 15px; padding-right: 3px; }
  .den-stats { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: 300px 1fr; }
}
@media (max-width: 960px) {
  .nav-links, .hud-status { display: none; }
  #nav-clock span { display: none; }
  .burger { display: block; }
  .card-row { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .dlss-grid, .den-grid, .dev-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .ai-orb { max-width: 340px; margin: 0 auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .extras-row { grid-template-columns: repeat(2, 1fr); }
  .sect-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sect-lede { margin-left: 0; align-self: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .holo-card:hover .card-img { transform: none; }
  .holo-card { transform: none !important; } /* tilt disabled at touch sizes */
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  #nav-clock, .nav-right .btn { display: none; }
  .nav-inner { padding: 0 16px; }
  .hero-content { padding-left: 16px; padding-right: 16px; }
  .hero-stats, .sect-inner { padding-left: 16px; padding-right: 16px; }
  .sect { padding: 70px 0; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .ticker-tag { padding: 12px 12px; letter-spacing: .18em; }
  .ticker-dots { display: none; }
  .ai-cards, .den-cards, .dev-tools, .extras-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .signal-form { flex-direction: column; gap: 12px; }
  .signal-form input { border-right: 1px solid var(--line-strong); }
  .scroll-hint { display: none; }
  .den-stats { grid-template-columns: 1fr 1fr; }
  .footer-legal { flex-direction: column; }
  #to-top { right: 14px; bottom: 14px; }
}

/* heavy-FX degradation on small screens */
@media (max-width: 860px) {
  .grain { animation: none; }
  .scanlines::after { animation-duration: 11s; }
  .hero-grid-floor { opacity: .35; }
  .dataden { background-attachment: scroll; }
  .ai-orb img { animation-duration: 10s; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .rv, .rv-glitch { opacity: 1; transform: none; clip-path: none; }
  #rain-canvas, #cursor-dot, #cursor-ring { display: none !important; }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: auto; }
}
