/* ============================================================
   NVIDIA — The Engine Room of Intelligence
   Dark cinematic system · green used as a rare electric accent
   ============================================================ */

/* ---------- fonts (all local) ---------- */
@font-face { font-family: "Inter Tight"; src: url("../assets/fonts/InterTight-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../assets/fonts/InterTight-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../assets/fonts/InterTight-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../assets/fonts/InterTight-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../assets/fonts/InterTight-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../assets/fonts/InterTight-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../assets/fonts/SpaceGrotesk-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../assets/fonts/SpaceGrotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../assets/fonts/SpaceGrotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../assets/fonts/JetBrainsMono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../assets/fonts/JetBrainsMono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../assets/fonts/JetBrainsMono-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --bg: #050505;
  --bg-2: #0a0a0b;
  --surface: #0d0d0f;
  --surface-2: #121215;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ecece8;
  --dim: #9a9d97;
  --faint: #5c605b;
  --green: #76b900;
  --green-hi: #9ede00;
  --copper: #c07a3e;
  --cold: #7fb2e5;
  --font-display: "Inter Tight", "Arial Narrow", sans-serif;
  --font-ui: "Space Grotesk", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;
  --nav-h: 64px;
  --gutter: clamp(20px, 5vw, 88px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--green); color: #050505; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

main { position: relative; z-index: 1; }

/* ============================================================
   LOADER — fully CSS-driven lifecycle; never traps without JS
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: #030303;
  display: flex; align-items: center; justify-content: center;
  animation: loader-out 0.7s ease 1.55s forwards;
  pointer-events: none;
}
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.ld-frame {
  stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.5;
  stroke-dasharray: 416; stroke-dashoffset: 416;
  animation: draw 1.1s cubic-bezier(0.6, 0, 0.2, 1) 0.05s forwards;
}
.ld-trace {
  stroke: var(--green); stroke-width: 1.5; stroke-linecap: round;
  stroke-dasharray: 460; stroke-dashoffset: 460;
  animation: draw 1.2s cubic-bezier(0.6, 0, 0.2, 1) 0.25s forwards;
}
.ld-dot { fill: var(--green); opacity: 0; animation: dot-in 0.3s ease 1.15s forwards; }
.loader-word {
  opacity: 0; transform: translateY(8px);
  filter: drop-shadow(0 0 18px rgba(118, 185, 0, 0.25));
  animation: word-in 0.5s ease 0.95s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dot-in { to { opacity: 1; } }
@keyframes word-in { to { opacity: 1; transform: none; } }
@keyframes loader-out {
  to { opacity: 0; visibility: hidden; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.55));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  height: var(--nav-h);
  display: flex; align-items: center; gap: 32px;
  padding: 0 var(--gutter);
}
.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 20px; width: auto; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim);
  position: relative; padding: 6px 0;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--green);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.6, 0, 0.2, 1);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--green-hi); }
.nav-cta {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-hi);
  border: 1px solid rgba(118, 185, 0, 0.45);
  padding: 9px 16px; border-radius: 3px;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover { background: rgba(118, 185, 0, 0.12); box-shadow: 0 0 24px rgba(118, 185, 0, 0.18); }
.nav-progress {
  height: 2px; width: 100%;
  background: transparent; position: relative;
}
.nav-progress::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--green), var(--green-hi));
  transform: scaleX(var(--scroll-p, 0)); transform-origin: left;
}
.nav-burger {
  display: none; background: none; border: 1px solid var(--line-strong);
  width: 42px; height: 42px; border-radius: 3px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-burger span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobilemenu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49;
  background: #050505;
  border-bottom: 1px solid var(--line);
  padding: 24px var(--gutter) 32px;
}
.mobilemenu nav { display: flex; flex-direction: column; gap: 4px; }
.mobilemenu a {
  font-family: var(--font-display); font-weight: 700; font-size: 30px;
  text-transform: uppercase; letter-spacing: 0.02em;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  color: var(--dim);
}
.mobilemenu a:hover { color: var(--green-hi); }

/* ============================================================
   SHARED KINETIC TYPE
   ============================================================ */
.ht-line { display: block; overflow: hidden; }
.ht-inner {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.in .ht-inner { transform: translateY(0); }
.ht-line:nth-child(2) .ht-inner { transition-delay: 0.09s; }
.ht-line:nth-child(3) .ht-inner { transition-delay: 0.18s; }
.ht-dot { color: var(--green); font-style: normal; }

.reveal-line { overflow: hidden; }
.reveal-line > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease;
}
.in .reveal-line > span { transform: translateY(0); opacity: 1; }

.reveal-up {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.in .reveal-up { opacity: 1; transform: none; }
.in .reveal-up:nth-child(2) { transition-delay: 0.08s; }
.in .reveal-up:nth-child(3) { transition-delay: 0.16s; }
.in .reveal-up:nth-child(4) { transition-delay: 0.24s; }
.in .reveal-up:nth-child(5) { transition-delay: 0.32s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: calc(var(--nav-h) + 48px) var(--gutter) 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: -12%; z-index: -3;
  background: url("../assets/tex-wafer.jpg") center / cover no-repeat;
  opacity: 0.9;
  will-change: transform;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 30% 40%, transparent 30%, rgba(5, 5, 5, 0.88) 100%),
    linear-gradient(to bottom, rgba(5, 5, 5, 0.55), transparent 30%, transparent 60%, var(--bg) 98%);
}
.hero-glow {
  position: absolute; z-index: -2;
  width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px;
  right: -12vw; top: 2vh;
  background: url("../assets/tex-glow.png") center / contain no-repeat;
  opacity: 0.85;
  will-change: transform;
}
.hero-stage { position: relative; z-index: 2; grid-area: 1 / 1; align-self: center; }
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 26px;
}
.hero-eyebrow span { border-left: 2px solid var(--green); padding-left: 14px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(52px, 8.4vw, 152px);
  line-height: 0.94;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0 0 30px;
  text-wrap: balance;
  text-shadow: 0 6px 44px rgba(3, 3, 3, 0.72), 0 1px 10px rgba(3, 3, 3, 0.6);
}
.hero-sub {
  max-width: 46ch;
  color: var(--dim);
  font-size: clamp(15px, 1.25vw, 18px);
  margin: 0 0 36px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 3px;
  display: inline-block;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-solid {
  background: var(--green); color: #061200;
  font-weight: 700;
}
.btn-solid:hover { background: var(--green-hi); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(118, 185, 0, 0.35); }
.btn-ghost {
  border: 1px solid var(--line-strong); color: var(--text);
}
.btn-ghost:hover { border-color: rgba(118, 185, 0, 0.6); color: var(--green-hi); transform: translateY(-2px); }

.hero-die {
  position: relative; z-index: 1;
  grid-area: 1 / 1;
  align-self: center;
  margin: 0;
  justify-self: end;
  width: min(36vw, 560px);
  will-change: transform;
}
.hero-die-frame {
  position: relative;
  border: 1px solid var(--line-strong);
  padding: 10px;
  background: rgba(13, 13, 15, 0.6);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.75),
    0 0 90px rgba(118, 185, 0, 0.07),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.hero-die-frame img { width: 100%; height: auto; filter: saturate(1.12) contrast(1.06); }
/* light raking across the silicon — slow time sweep + scroll shift */
.rake {
  position: absolute; inset: 0;
  background: linear-gradient(112deg,
    transparent 32%,
    rgba(190, 235, 255, 0.05) 44%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(190, 235, 255, 0.05) 56%,
    transparent 68%);
  background-size: 320% 100%;
  mix-blend-mode: screen;
  animation: rake-sweep 9s ease-in-out infinite alternate;
  transform: translateX(var(--rake-x, 0%));
  pointer-events: none;
}
@keyframes rake-sweep {
  from { background-position: 0% 0; }
  to { background-position: 100% 0; }
}
.hero-die-cap {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.18em;
  color: var(--faint);
  text-align: right;
}
.hero-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2;
}
.hero-cue-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, var(--green));
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }
.hero-cue-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.34em; color: var(--faint); }

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 11, 0.85);
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker-run 46s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; align-items: center; flex-shrink: 0; }
.tk {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--dim);
  padding: 13px 22px;
  white-space: nowrap;
}
.tk b { color: var(--text); font-weight: 500; }
.tk-sep {
  width: 6px; height: 6px; flex-shrink: 0;
  background: var(--green);
  transform: rotate(45deg);
  opacity: 0.9;
}
@keyframes ticker-run { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.sec {
  position: relative;
  padding: clamp(90px, 13vh, 170px) var(--gutter);
  overflow: hidden;
  isolation: isolate;
}
.sec-inner { max-width: 1560px; margin: 0 auto; position: relative; }
.sec-bg { position: absolute; inset: 0; z-index: -1; }
.sec-bg::after { content: ""; position: absolute; inset: 0; }
.sec-bg--datacenter {
  background: url("../assets/tex-datacenter.jpg") center 30% / cover no-repeat;
  opacity: 0.55;
}
.sec-bg--datacenter::after {
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(5,5,5,0.55) 40%, rgba(5,5,5,0.75) 75%, var(--bg) 100%);
}
.sec-bg--grid {
  background: url("../assets/tex-gridworld.jpg") center bottom / cover no-repeat;
  opacity: 0.75;
}
.sec-bg--grid::after {
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(5,5,5,0.35) 45%, rgba(5,5,5,0.7) 85%, var(--bg) 100%);
}
.sec-bg--traces {
  background: url("../assets/tex-traces.jpg") center / cover no-repeat;
  opacity: 0.35;
}
.sec-bg--traces::after {
  background: radial-gradient(90% 90% at 50% 40%, transparent 20%, var(--bg) 100%);
}

.sec-head { position: relative; margin-bottom: clamp(48px, 7vh, 84px); }
.sec-head--right { text-align: right; }
.sec-head--right .sec-lede { margin-left: auto; }
.sec-index {
  position: absolute; top: -0.35em; z-index: -1;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(120px, 16vw, 260px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.11);
  user-select: none;
}
.sec-head--right .sec-index { right: 0; }
.sec-kicker {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--green-hi);
  margin: 0 0 20px;
}
.sec-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(46px, 7.2vw, 124px);
  line-height: 0.95; letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 26px;
}
.sec-lede {
  max-width: 54ch;
  color: var(--dim);
  font-size: clamp(15px, 1.2vw, 18px);
  margin: 0;
}

/* tilt / light-follow panels */
.panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(118, 185, 0, 0.10), transparent 65%);
  opacity: 0; transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}
.panel:hover { border-color: rgba(118, 185, 0, 0.35); }
.panel:hover::before { opacity: 1; }
.panel figcaption, .gf-card figcaption {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--faint); padding: 12px 16px;
  border-top: 1px solid var(--line);
}

/* ---------- 01 AI FACTORIES ---------- */
.sec-factories { background: var(--bg); }
.fact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.panel-img { overflow: hidden; margin: 0; }
.panel-img img { width: 100%; filter: saturate(0.9) contrast(1.05) brightness(0.92); transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.panel-img:hover img { transform: scale(1.03); }
.fact-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.stat {
  background: var(--surface);
  padding: clamp(20px, 2.4vw, 36px);
  display: flex; flex-direction: column; gap: 10px;
}
.stat b {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat span { color: var(--dim); font-size: 13.5px; line-height: 1.55; }
.chip-row {
  list-style: none; margin: clamp(36px, 5vh, 60px) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.chip {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim);
  border: 1px solid var(--line);
  padding: 9px 16px; border-radius: 100px;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.chip:hover { color: var(--green-hi); border-color: rgba(118, 185, 0, 0.5); transform: translateY(-2px); }

/* ---------- 02 GEFORCE ---------- */
.sec-geforce { background: var(--bg-2); }
.sec-slash {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(115deg, transparent 62%, rgba(118, 185, 0, 0.05) 62.2%, transparent 66%),
    radial-gradient(70% 60% at 85% 30%, rgba(118, 185, 0, 0.06), transparent 70%);
}
.gf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.gf-card {
  margin: 0; overflow: hidden;
  background: radial-gradient(80% 80% at 50% 30%, #141418, var(--surface));
}
.gf-card img {
  width: 100%; padding: clamp(16px, 3vw, 44px);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.gf-card:hover img { transform: translateY(-8px) rotate(-1.2deg) scale(1.02); }
.gf-specs { display: flex; flex-direction: column; }
.gf-spec {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) 1fr;
  gap: 18px; align-items: baseline;
}
.gf-spec:first-child { border-top: 1px solid var(--line); }
.gf-spec b {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(17px, 1.5vw, 22px);
  text-transform: uppercase; letter-spacing: 0.02em;
}
.gf-spec span { color: var(--dim); font-size: 14px; }
.gf-spec:hover b { color: var(--green-hi); }

/* ---------- INTERSTITIAL ---------- */
.interstitial {
  position: relative;
  min-height: 82vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 100px var(--gutter);
  overflow: hidden;
  isolation: isolate;
}
.inter-bg {
  position: absolute; inset: -14%; z-index: -1;
  background: url("../assets/die-iridescent.jpg") center 42% / cover no-repeat;
  will-change: transform;
}
.inter-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--bg-2) 0%, rgba(5,5,5,0.62) 30%, rgba(5,5,5,0.62) 70%, var(--bg) 100%);
}
.inter-quote {
  margin: 0;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(40px, 7.6vw, 130px);
  line-height: 0.96; letter-spacing: -0.01em;
  text-transform: uppercase;
}
.inter-sub { color: var(--dim); font-size: clamp(14px, 1.3vw, 18px); margin: 26px 0 0; }

/* ---------- 03 OMNIVERSE ---------- */
.omni-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.omni-card {
  padding: clamp(24px, 2.6vw, 40px);
  min-height: 240px;
  display: flex; flex-direction: column; gap: 14px;
  background: rgba(13, 13, 15, 0.78);
  backdrop-filter: blur(6px);
}
.omni-card b {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(20px, 1.8vw, 27px);
  text-transform: uppercase; letter-spacing: 0.01em;
}
.omni-card p { color: var(--dim); font-size: 14px; margin: 0; flex: 1; }
.omni-tag {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green-hi);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* ---------- 04 ROBOTICS ---------- */
.sec-robotics { background: var(--bg); }
.rob-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.rob-img { background: radial-gradient(75% 75% at 50% 35%, #101014, var(--surface)); }
.rob-img img { padding: clamp(14px, 2.4vw, 36px); filter: drop-shadow(0 24px 50px rgba(0,0,0,0.55)); }
.rob-rows { display: flex; flex-direction: column; }
.rob-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) 1fr auto;
  gap: 18px; align-items: center;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, padding-left 0.3s ease;
}
.rob-row:first-child { border-top: 1px solid var(--line); }
.rob-row:hover { background: rgba(118, 185, 0, 0.045); padding-left: 14px; }
.rob-row b { font-family: var(--font-display); font-weight: 700; font-size: clamp(16px, 1.4vw, 21px); letter-spacing: 0.02em; }
.rob-row span { color: var(--dim); font-size: 14px; }
.rob-row i { color: var(--green); font-style: normal; transition: transform 0.3s ease; }
.rob-row:hover i { transform: translateX(6px); }

/* ---------- 05 CUDA ---------- */
.sec-cuda { background: var(--bg-2); }
.cuda-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.terminal {
  background: #08090a;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 60px rgba(118, 185, 0, 0.05);
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.terminal-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2b2e2b; }
.terminal-bar i:first-child { background: rgba(118, 185, 0, 0.7); }
.terminal-bar span {
  margin-left: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--faint);
}
.terminal-code {
  margin: 0; padding: clamp(20px, 2.4vw, 34px);
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.05vw, 14.5px);
  line-height: 1.75;
  color: #c9cdc5;
  overflow-x: auto;
}
.c-kw { color: var(--green-hi); }
.c-ty { color: #8fc7ff; }
.c-fn { color: #e8c07a; }
.c-num { color: #d18eee; }
.c-cm { color: #565a54; font-style: italic; }
.cuda-side { display: flex; flex-direction: column; gap: 2px; }
.cuda-side .stat { border: 1px solid var(--line); }
.cuda-side .btn { align-self: flex-start; margin-top: 26px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: clamp(60px, 9vh, 110px) var(--gutter) 40px;
  overflow: hidden;
  isolation: isolate;
}
.footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../assets/tex-copper.jpg") center 20% / cover no-repeat;
  opacity: 0.10;
}
.footer::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(118, 185, 0, 0.05), transparent 60%),
    linear-gradient(to bottom, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.55) 45%, rgba(5, 5, 5, 0.85));
}
.footer-word {
  margin-bottom: clamp(48px, 7vh, 90px);
  line-height: 0;
}
.footer-word img {
  width: min(88vw, 1150px); height: auto;
  opacity: 0.94;
  filter: drop-shadow(0 0 34px rgba(118, 185, 0, 0.10));
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  max-width: 1560px;
  padding: 0 0 clamp(40px, 6vh, 70px);
  border-bottom: 1px solid var(--line);
}
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col b {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--green-hi);
  margin-bottom: 8px;
}
.footer-col a {
  color: var(--dim); font-size: 14px;
  width: fit-content;
  position: relative;
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer-col a:hover { color: var(--text); transform: translateX(4px); }
.footer-base {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 28px;
}
.footer-base span { color: var(--faint); font-size: 12px; max-width: 72ch; line-height: 1.7; }
.totop {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: none; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 4px;
  color: var(--dim);
  display: flex; align-items: center; justify-content: center;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.totop:hover {
  color: var(--green-hi); border-color: rgba(118, 185, 0, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(118, 185, 0, 0.15);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 48px; padding-top: calc(var(--nav-h) + 40px); }
  .hero-die { width: min(78vw, 560px); align-self: flex-end; }
  .hero-glow { right: -30vw; }
  .nav-cta { display: none; }
  .fact-grid, .gf-grid, .rob-grid, .cuda-grid { grid-template-columns: 1fr; }
  .omni-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .hero-title { font-size: clamp(40px, 11vw, 84px); }
  .hero-die { width: 100%; }
  .fact-stats { grid-template-columns: 1fr; }
  .omni-grid { grid-template-columns: 1fr; }
  .gf-spec { grid-template-columns: 1fr; gap: 6px; }
  .rob-row { grid-template-columns: 1fr; gap: 6px; }
  .rob-row i { display: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .sec-head--right { text-align: left; }
  .sec-head--right .sec-lede { margin-left: 0; }
  .sec-head--right .sec-index { right: auto; left: 0; }
}
@media (min-width: 2000px) {
  :root { --gutter: clamp(88px, 8vw, 220px); }
  .hero-title { font-size: clamp(120px, 7.4vw, 210px); }
  .sec-title { font-size: clamp(110px, 6.2vw, 170px); }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loader { animation: loader-out 0.01s ease 0.01s forwards; }
  .ht-inner, .reveal-line > span, .reveal-up { transform: none !important; opacity: 1 !important; transition: none !important; }
  .ticker-track { animation: none; flex-wrap: wrap; width: 100%; }
  .ticker-set { flex-wrap: wrap; }
  .rake, .hero-cue-line { animation: none; }
  .rake { opacity: 0.35; }
  .panel-img:hover img, .gf-card:hover img { transform: none; }
}
