/* ============================================================
   SEECHANGE — 2026 REDESIGN
   graphite canvas · signal blue · mono telemetry · native scroll
   ============================================================ */

:root {
  --bg:        #05070b;
  --bg-2:      #090d13;
  --bg-3:      #0d121a;
  --ink:       #e9edf3;
  --ink-dim:   #8b95a5;
  --ink-faint: #4c5666;
  --line:      rgba(233, 237, 243, 0.08);
  --line-2:    rgba(233, 237, 243, 0.14);
  --accent:    #2e63ff;
  --accent-2:  #00b2ff;
  --ok:        #2bd97e;
  --warn:      #ffb224;
  --bad:       #ff4d4d;
  --font-d:    'Archivo', system-ui, sans-serif;
  --font-m:    'Geist Mono', ui-monospace, 'SF Mono', monospace;
  --font-s:    'Instrument Serif', Georgia, serif;
  --wrap:      1440px;
  --gutter:    clamp(20px, 4vw, 56px);
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-d);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { background: none; border: none; color: inherit; font: inherit; }

:focus-visible {
  outline: 1px solid var(--accent-2);
  outline-offset: 3px;
}

/* ---------- film grain ---------- */
body::before {
  content: '';
  position: fixed;
  inset: -100px;
  z-index: 4000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  opacity: 0.055;
  mix-blend-mode: overlay;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-30px, 12px); }
  40%  { transform: translate(18px, -26px); }
  60%  { transform: translate(-24px, -14px); }
  80%  { transform: translate(26px, 20px); }
  100% { transform: translate(0, 0); }
}

/* ---------- type utilities ---------- */
.mono {
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.serif {
  font-family: var(--font-s);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.display {
  font-family: var(--font-d);
  font-stretch: 118%;
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 0.96;
  color: var(--ink);
}
.display .serif {
  font-stretch: 100%;
  font-weight: 400;
  font-size: 1.04em;
  letter-spacing: -0.01em;
}

.accent-grad {
  background: linear-gradient(94deg, #6ea8ff 0%, var(--accent-2) 55%, #9ddcff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tick {
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 12px;
  background: var(--accent-2);
  box-shadow: 0 0 12px rgba(0, 178, 255, 0.8);
  animation: tickblink 2.4s infinite;
}
@keyframes tickblink { 0%, 92% { opacity: 1; } 96% { opacity: 0.25; } 100% { opacity: 1; } }

/* ---------- layout ---------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(96px, 12vw, 180px); position: relative; }

.sec-label { display: flex; align-items: center; margin-bottom: 28px; }

.sec-title {
  font-size: clamp(44px, 6.4vw, 96px);
  margin-bottom: 28px;
}
.sec-title-sm { font-size: clamp(32px, 4vw, 56px); }

.sec-lede {
  max-width: 560px;
  color: var(--ink-dim);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
}

.sec-head { margin-bottom: clamp(48px, 6vw, 96px); }
.row-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

/* ---------- buttons ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 32px;
  border-radius: 999px;
  background: var(--ink);
  color: #05070b;
  font-weight: 560;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  border: 1px solid var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.pill:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: 0 0 0 1px var(--line), 0 8px 40px rgba(0, 178, 255, 0.14);
  transform: translateY(-1px);
}
.pill-sm { padding: 11px 22px; font-size: 13.5px; }
.pill-lg { padding: 20px 44px; font-size: 17px; }

.ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-dim);
  padding: 10px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.ghost:hover { color: var(--ink); border-color: var(--line-2); }
.ghost .arr, .res-cta .arr { transition: transform 0.35s var(--ease); display: inline-block; }
.ghost:hover .arr { transform: translateX(5px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  transition: background 0.45s, border-color 0.45s, padding 0.45s, backdrop-filter 0.45s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding-block: 12px;
  background: rgba(5, 7, 11, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}

.logo { display: flex; align-items: center; }
.logo-svg { width: 148px; height: auto; }

.nav-links { display: flex; gap: clamp(16px, 2.4vw, 38px); }
.nav-link {
  color: var(--ink-dim);
  transition: color 0.25s;
  position: relative;
  padding-block: 6px;
}
.nav-link sup {
  font-size: 8px;
  color: var(--ink-faint);
  margin-left: 3px;
  transition: color 0.25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover sup { color: var(--accent-2); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.menu-btn { display: none; letter-spacing: 0.14em; color: var(--ink); padding: 8px 0; }

.menu-overlay[hidden] { display: none; }
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: rgba(5, 7, 11, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  padding: var(--gutter);
}
.menu-overlay nav { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.menu-overlay a {
  font-family: var(--font-d);
  font-stretch: 118%;
  font-weight: 700;
  font-size: clamp(32px, 9vw, 56px);
  letter-spacing: -0.03em;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.menu-overlay a .mono { color: var(--accent-2); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: max(100svh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-block: 150px 130px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-horizon {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(1100px, 90vw);
  height: 340px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
      rgba(46, 99, 255, 0.16) 0%,
      rgba(0, 178, 255, 0.05) 40%,
      transparent 70%);
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(5,7,11,0.8) 0%, transparent 18%),
    linear-gradient(to top, var(--bg) 0%, transparent 16%),
    radial-gradient(ellipse 130% 100% at 50% 46%, transparent 62%, rgba(5,7,11,0.6) 100%);
}

.hero-frame { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.hf {
  position: absolute;
  color: var(--ink-faint);
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hf b { color: var(--ink-dim); font-weight: 400; }
.hf.tl { top: 96px; left: var(--gutter); }
.hf.tr { top: 96px; right: var(--gutter); }
.hf.bl { bottom: 92px; left: var(--gutter); }
.hf.br { bottom: 92px; right: var(--gutter); }
.down-arr { display: inline-block; animation: downdrift 2s var(--ease) infinite; font-style: normal; }
@keyframes downdrift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

.rec {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bad);
  display: inline-block;
  animation: recblink 1.6s infinite;
}
@keyframes recblink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

.hero-inner {
  position: relative;
  z-index: 4;
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  padding-inline: var(--gutter);
  padding-top: 40px;
}

.topline { display: flex; align-items: center; margin-bottom: 34px; color: var(--ink-dim); }

.hero-title {
  font-size: clamp(58px, 10.2vw, 164px);
  margin-bottom: 36px;
}
.hero-title .hl { display: block; }

.lede {
  max-width: 540px;
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--ink-dim);
  margin-bottom: 44px;
}

.cta-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }

.hero-stats {
  position: absolute;
  z-index: 4;
  left: 0; right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 20px var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  background: linear-gradient(to top, rgba(5,7,11,0.6), transparent);
}
.hero-stats span { white-space: nowrap; }
.hero-stats i { color: var(--ink-faint); opacity: 0.5; font-style: normal; }

/* hero intro animation */
.anim-1, .anim-2, .anim-3, .anim-4, .anim-5, .anim-6 {
  opacity: 0;
  transform: translateY(26px);
  animation: heroin 1.1s var(--ease) forwards;
}
.anim-1 { animation-delay: 0.15s; }
.anim-2 { animation-delay: 0.28s; }
.anim-3 { animation-delay: 0.4s; }
.anim-4 { animation-delay: 0.55s; }
.anim-5 { animation-delay: 0.68s; }
.anim-6 { animation-delay: 0.9s; }
@keyframes heroin {
  from { opacity: 0; transform: translateY(26px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ---------- HUD detection chips ---------- */
.hud {
  position: absolute;
  z-index: 5;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-58%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 280px;
}

.hud-chip {
  position: relative;
  padding: 14px 16px 13px;
  background: rgba(9, 13, 19, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.hud-chip.show { opacity: 1; transform: translateX(0); }
.hud-chip::before, .hud-chip::after,
.hud-chip .bk::before, .hud-chip .bk::after {
  content: '';
  position: absolute;
  width: 9px; height: 9px;
}
.hud-chip::before { top: -1px; left: -1px; border-top: 1px solid var(--ink-dim); border-left: 1px solid var(--ink-dim); }
.hud-chip::after  { top: -1px; right: -1px; border-top: 1px solid var(--ink-dim); border-right: 1px solid var(--ink-dim); }
.hud-chip .bk::before { bottom: -1px; left: -1px; border-bottom: 1px solid var(--ink-dim); border-left: 1px solid var(--ink-dim); }
.hud-chip .bk::after  { bottom: -1px; right: -1px; border-bottom: 1px solid var(--ink-dim); border-right: 1px solid var(--ink-dim); }

.hud-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-m);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
  margin-bottom: 7px;
}
.hud-head .dot { width: 6px; height: 6px; border-radius: 50%; margin-right: 8px; display: inline-block; }
.hud-chip[data-tone="warn"] .dot { background: var(--warn); box-shadow: 0 0 10px rgba(255,178,36,.7); }
.hud-chip[data-tone="bad"]  .dot { background: var(--bad);  box-shadow: 0 0 10px rgba(255,77,77,.7); }
.hud-chip[data-tone="ok"]   .dot { background: var(--ok);   box-shadow: 0 0 10px rgba(43,217,126,.7); }
.hud-type { display: flex; align-items: center; }
.hud-body { font-size: 14.5px; letter-spacing: -0.01em; color: var(--ink); font-weight: 500; }
.hud-conf { color: var(--ink-faint); }

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  border-block: 1px solid var(--line);
  padding-block: 18px;
  background: var(--bg);
  position: relative;
  z-index: 6;
}
.ticker-mask { overflow: hidden; }
.ticker-track {
  display: flex;
  align-items: center;
  gap: 44px;
  white-space: nowrap;
  width: max-content;
  color: var(--ink-faint);
  animation: tickerscroll 46s linear infinite;
}
.ticker-track span { color: var(--ink-dim); }
.ticker-track i { font-style: normal; color: var(--accent-2); opacity: 0.6; }
@keyframes tickerscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   01 — CAPABILITIES
   ============================================================ */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cap-card {
  position: relative;
  background: var(--bg);
  padding: 28px 30px 30px;
  transition: background 0.4s;
  overflow: hidden;
}
.cap-card:hover { background: var(--bg-2); }
.cap-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.4s;
  pointer-events: none;
}
.cap-card:hover::after { border-color: rgba(0, 178, 255, 0.25); }

.cap-top {
  display: flex;
  justify-content: space-between;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.cap-tag { color: var(--accent-2); opacity: 0.85; }

.cap-visual {
  height: 216px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 90% 100% at 50% 0%, rgba(46, 99, 255, 0.06), transparent 60%),
    var(--bg-2);
  overflow: hidden;
}
.cap-svg { width: 100%; height: 100%; }

.cap-card h3 {
  font-size: 23px;
  font-weight: 640;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.cap-card > p { color: var(--ink-dim); font-size: 15.5px; max-width: 470px; }

.cap-spec {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
}
.cap-arr {
  margin-left: auto;
  color: var(--accent-2);
  font-size: 16px;
  transform: translateX(-6px);
  opacity: 0;
  transition: 0.35s var(--ease);
}
.cap-card:hover .cap-arr { transform: translateX(0); opacity: 1; }

/* --- shared svg bits --- */
.cap-svg text {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.12em;
  fill: var(--ink);
}
.ch-line { stroke: rgba(233,237,243,0.05); stroke-width: 1; }

.cap-label-chip rect { fill: rgba(9,13,19,0.9); stroke: rgba(0,178,255,0.5); stroke-width: 1; }
.cap-label-chip text { fill: var(--accent-2); }

/* card 1 : pear */
.pear-path {
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 1.4;
  stroke-dasharray: 6 5;
  animation: pearspin 14s linear infinite;
}
@keyframes pearspin { to { stroke-dashoffset: -220; } }
.pear-stem { fill: none; stroke: var(--ink-dim); stroke-width: 1.4; }
.cls-dot { fill: var(--accent-2); animation: dotpulse 3s infinite; }
.cls-dot.d2 { animation-delay: 0.7s; }
.cls-dot.d3 { animation-delay: 1.4s; }
.cls-dot.d4 { animation-delay: 2.1s; }
@keyframes dotpulse { 0%, 100% { opacity: 0.25; r: 2; } 50% { opacity: 1; r: 3; } }
.cap-card .cap-label-chip { opacity: 0; animation: chipin 7s infinite; }
@keyframes chipin {
  0%, 28% { opacity: 0; transform: translateY(4px); }
  36%, 88% { opacity: 1; transform: translateY(0); }
  96%, 100% { opacity: 0; }
}

/* card 2 : barcode */
.barcode rect { fill: var(--ink-dim); opacity: 0.85; }
.glitch-seg rect { fill: var(--ink-dim); animation: glitchfill 7s infinite; }
.glitch-seg { animation: glitchshift 7s infinite; }
@keyframes glitchshift {
  0%, 24% { transform: translateX(0); }
  27% { transform: translateX(3px); }
  30% { transform: translateX(-2px); }
  33%, 70% { transform: translateX(2px); }
  74%, 100% { transform: translateX(0); }
}
@keyframes glitchfill {
  0%, 24% { fill: var(--ink-dim); }
  30%, 70% { fill: var(--warn); }
  76%, 100% { fill: var(--ink-dim); }
}
.glitch-bracket {
  fill: none;
  stroke: var(--warn);
  stroke-width: 1;
  stroke-dasharray: 10 152;
  opacity: 0;
  animation: bracketin 7s infinite;
}
@keyframes bracketin {
  0%, 26% { opacity: 0; }
  30%, 70% { opacity: 1; }
  74%, 100% { opacity: 0; }
}
.scan-beam {
  stroke: var(--accent-2);
  stroke-width: 1.4;
  opacity: 0.9;
  animation: beamsweep 7s var(--ease) infinite;
}
@keyframes beamsweep {
  0% { transform: translateX(0); opacity: 0; }
  6% { opacity: 0.9; }
  22% { transform: translateX(200px); opacity: 0.9; }
  26% { opacity: 0; }
  100% { transform: translateX(200px); opacity: 0; }
}
.warn-chip rect { stroke: rgba(255,178,36,0.6); }
.warn-chip text { fill: var(--warn); }
.warn-chip { opacity: 0; animation: warnchip 7s infinite; }
@keyframes warnchip {
  0%, 28% { opacity: 0; }
  32%, 56% { opacity: 1; }
  60%, 100% { opacity: 0; }
}
.ok-chip rect { stroke: rgba(43,217,126,0.6); }
.ok-chip text { fill: var(--ok); }
.ok-chip { opacity: 0; animation: okchip 7s infinite; }
@keyframes okchip {
  0%, 62% { opacity: 0; }
  66%, 92% { opacity: 1; }
  96%, 100% { opacity: 0; }
}

/* card 3 : trace */
.trace-ghost { fill: none; stroke: rgba(233,237,243,0.07); stroke-width: 1; }
.trace-path {
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 1.4;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: tracedraw 6s linear infinite;
  filter: drop-shadow(0 0 4px rgba(0,178,255,0.5));
}
@keyframes tracedraw {
  0% { stroke-dashoffset: 420; opacity: 1; }
  70% { stroke-dashoffset: 0; opacity: 1; }
  88% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.wp { fill: none; stroke: var(--ink-dim); stroke-width: 1; }
.wp-exit { stroke: var(--warn); }
.wp-label { fill: var(--ink-faint) !important; font-size: 9px !important; }
.tracer { fill: #fff; filter: drop-shadow(0 0 6px var(--accent-2)); }

/* card 4 : hazard */
.floor-grid path { stroke: rgba(233,237,243,0.06); stroke-width: 1; fill: none; }
.ripple {
  fill: none;
  stroke: var(--warn);
  stroke-width: 1;
  opacity: 0;
  transform-origin: 160px 140px;
  animation: rippleout 4.5s var(--ease) infinite;
}
.ripple.r2 { animation-delay: 0.5s; }
.ripple.r3 { animation-delay: 1s; }
@keyframes rippleout {
  0% { opacity: 0; transform: scale(0.2); }
  16% { opacity: 0.8; }
  60% { opacity: 0; transform: scale(1.9); }
  100% { opacity: 0; transform: scale(1.9); }
}
.hazard-core { fill: var(--warn); animation: corepulse 4.5s infinite; }
@keyframes corepulse { 0%, 100% { opacity: 0.5; } 12% { opacity: 1; } }
.flag-line {
  stroke: rgba(255,178,36,0.5);
  stroke-width: 1;
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  animation: flagdraw 9s infinite;
}
@keyframes flagdraw {
  0%, 8% { stroke-dashoffset: 90; }
  16%, 90% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 90; }
}
.hazard-chip rect { stroke: rgba(255,178,36,0.6); }
.hazard-chip text { fill: var(--warn); }
.hazard-chip { opacity: 0; animation: hazchip 9s infinite; }
@keyframes hazchip {
  0%, 14% { opacity: 0; }
  18%, 50% { opacity: 1; }
  54%, 100% { opacity: 0; }
}
.dispatch-chip rect { stroke: rgba(43,217,126,0.6); }
.dispatch-chip text { fill: var(--ok); }
.dispatch-chip { opacity: 0; animation: dispchip 9s infinite; }
@keyframes dispchip {
  0%, 58% { opacity: 0; }
  62%, 90% { opacity: 1; }
  94%, 100% { opacity: 0; }
}

/* ============================================================
   02 — LIVE OPS
   ============================================================ */
.live { background: var(--bg-2); border-block: 1px solid var(--line); }

.live-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: start;
}

/* cam feed */
.cam-card {
  margin-top: 48px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.cam-head, .cam-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  color: var(--ink-faint);
}
.cam-head { border-bottom: 1px solid var(--line); }
.cam-head span:first-child { display: flex; align-items: center; gap: 9px; color: var(--ink-dim); }
.cam-foot { border-top: 1px solid var(--line); }

.cam-body { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.cam-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.92) contrast(1.06) brightness(0.6) sepia(0.14) hue-rotate(175deg) saturate(1.4);
}
.cam-body::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.028) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 55%, rgba(5,7,11,0.55) 100%);
  pointer-events: none;
}
.cam-scan {
  position: absolute;
  left: 0; right: 0;
  height: 90px;
  top: -90px;
  background: linear-gradient(to bottom, transparent, rgba(0,178,255,0.1) 70%, rgba(0,178,255,0.35) 99%, rgba(160,225,255,0.9) 100%);
  animation: camscan 6.5s linear infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes camscan { to { top: 110%; } }

.cam-boxes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; }
.bbox { fill: none; stroke-width: 1.2; }
.bbox.person { stroke: var(--accent-2); animation: bboxbreathe 3.2s var(--ease) infinite; }
.bbox.item { stroke: var(--warn); animation: bboxbreathe 2.6s var(--ease) infinite 0.6s; }
@keyframes bboxbreathe { 0%, 100% { opacity: 0.95; } 50% { opacity: 0.55; } }

.cam-tag {
  position: absolute;
  z-index: 4;
  font-size: 9px;
  letter-spacing: 0.14em;
  padding: 4px 8px;
  background: rgba(5,7,11,0.85);
  border: 1px solid rgba(0,178,255,0.45);
  color: var(--accent-2);
}
.cam-tag b { font-weight: 400; color: var(--ink); }
.person-tag { left: 37.5%; top: 16%; transform: translateY(-130%); }
.item-tag { left: 29%; top: 12%; transform: translateY(-130%); border-color: rgba(255,178,36,0.45); color: var(--warn); }

/* terminal */
.terminal {
  border: 1px solid var(--line);
  background: #04060a;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  position: sticky;
  top: 96px;
}
.term-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim);
}
.term-live { display: flex; align-items: center; gap: 8px; color: var(--ok); }
.term-live i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  animation: recblink 1.4s infinite;
}
.term-body {
  list-style: none;
  padding: 14px 18px;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 11px;
  mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
}
.term-body li {
  display: grid;
  grid-template-columns: 86px 62px 1fr auto;
  gap: 12px;
  align-items: baseline;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: none;
  animation: termin 0.5s var(--ease);
}
@keyframes termin {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.term-body .t-time { color: var(--ink-faint); }
.term-body .t-sev { letter-spacing: 0.1em; font-size: 10px; }
.term-body .t-sev.INFO { color: var(--accent-2); }
.term-body .t-sev.NUDGE { color: #8fb7ff; }
.term-body .t-sev.WARN { color: var(--warn); }
.term-body .t-sev.ALERT { color: var(--bad); }
.term-body .t-sev.OK { color: var(--ok); }
.term-body .t-msg { color: var(--ink-dim); }
.term-body .t-msg b { color: var(--ink); font-weight: 500; }
.term-body .t-conf { color: var(--ink-faint); font-size: 10px; }
.term-foot {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { padding-block: clamp(110px, 14vw, 210px); }
.manifesto-line {
  font-family: var(--font-d);
  font-stretch: 112%;
  font-weight: 640;
  font-size: clamp(30px, 4.6vw, 68px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  max-width: 1060px;
}
.manifesto-line .serif { font-weight: 400; font-size: 1.06em; color: var(--ink-dim); }
.manifesto-line .serif.accent-grad { color: transparent; }

/* ============================================================
   03 — PLATFORM
   ============================================================ */
.platform { background: var(--bg-2); border-block: 1px solid var(--line); }

.pipeline {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: clamp(8px, 2vw, 28px);
  margin-bottom: clamp(48px, 5vw, 80px);
  overflow-x: auto;
}
.pipeline-svg { width: 100%; min-width: 860px; height: auto; display: block; }

.zone rect { fill: none; stroke: rgba(233,237,243,0.07); stroke-dasharray: 4 6; }
.zone-label { font-family: var(--font-m); font-size: 10px; letter-spacing: 0.18em; fill: var(--ink-faint); }

.node rect { fill: var(--bg-2); stroke: var(--line-2); }
.node-core rect { stroke: rgba(0,178,255,0.55); fill: rgba(0,178,255,0.04); }
.node-out rect { stroke: var(--line-2); }
.node-title {
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.16em;
  fill: var(--ink);
  text-anchor: middle;
}
.node-core .node-title { fill: var(--accent-2); }
.node-sub {
  font-family: var(--font-m);
  font-size: 9px;
  letter-spacing: 0.14em;
  fill: var(--ink-faint);
  text-anchor: middle;
}
.flow {
  fill: none;
  stroke: rgba(233,237,243,0.18);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  animation: flowdash 1.4s linear infinite;
}
@keyframes flowdash { to { stroke-dashoffset: -16; } }
.packet { fill: var(--accent-2); filter: drop-shadow(0 0 5px rgba(0,178,255,0.9)); }

.platform-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pcol { background: var(--bg-2); padding: 34px 32px 38px; transition: background 0.4s; }
.pcol:hover { background: var(--bg-3); }
.pcol-num {
  display: inline-flex;
  width: 30px; height: 30px;
  border: 1px solid var(--line-2);
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  margin-bottom: 22px;
}
.pcol h4 {
  font-size: 20px;
  font-weight: 640;
  font-stretch: 112%;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.pcol p { color: var(--ink-dim); font-size: 15px; }

/* ============================================================
   04 — PROOF
   ============================================================ */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
  margin-top: clamp(40px, 5vw, 72px);
}
.proof-item {
  border-top: 1px solid var(--line-2);
  padding-top: 30px;
}
.proof-num {
  font-size: clamp(88px, 10.5vw, 176px);
  line-height: 0.9;
  margin-bottom: 22px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--ink) 30%, rgba(233,237,243,0.25) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.proof-num .serif { font-size: 0.5em; color: var(--accent-2); -webkit-text-fill-color: var(--accent-2); }
.proof-cap { max-width: 340px; line-height: 1.8; color: var(--ink-faint); }

/* ============================================================
   05 — PARTNERS
   ============================================================ */
.partner-index { border-top: 1px solid var(--line); }
.p-row {
  display: grid;
  grid-template-columns: 64px 380px 1fr auto 40px;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(26px, 3vw, 42px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.4s var(--ease);
}
.p-row:hover { padding-left: 14px; }
.p-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 1px;
  width: 0;
  background: var(--accent-2);
  transition: width 0.5s var(--ease);
}
.p-row:hover::before { width: 100%; }
.p-num { color: var(--ink-faint); }
.p-name {
  font-size: clamp(26px, 3.2vw, 48px);
  transition: color 0.3s;
  white-space: nowrap;
}
.p-row:hover .p-name { color: var(--accent-2); }
.p-desc { color: var(--ink-dim); font-size: 14.5px; max-width: 480px; }
.p-tag { color: var(--ink-faint); white-space: nowrap; }
.p-arr {
  font-size: 22px;
  color: var(--ink-faint);
  transition: 0.35s var(--ease);
  transform: translateX(-8px);
  opacity: 0;
}
.p-row:hover .p-arr { transform: translateX(0); opacity: 1; color: var(--accent-2); }

/* ============================================================
   06 — RESOURCES
   ============================================================ */
.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.res-card {
  background: var(--bg);
  padding: 30px 30px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 250px;
  transition: background 0.4s;
}
.res-card:hover { background: var(--bg-2); }
.res-tag { color: var(--accent-2); }
.res-card h3 {
  font-size: 19px;
  font-weight: 560;
  letter-spacing: -0.015em;
  line-height: 1.4;
  flex: 1;
}
.res-cta { color: var(--ink-faint); transition: color 0.3s; }
.res-card:hover .res-cta { color: var(--ink); }
.res-card:hover .res-cta .arr { transform: translateX(5px); }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  padding-block: clamp(140px, 18vw, 260px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 95% 85% at 50% 50%, transparent 48%, var(--bg) 97%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; }
.cta-inner .sec-label { justify-content: center; }
.cta-title { font-size: clamp(52px, 8.4vw, 136px); margin-bottom: 30px; }
.cta-sub { margin-bottom: 48px; color: var(--ink-faint); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(40px, 6vw, 90px);
  overflow: hidden;
}

.giant-wordmark {
  font-size: clamp(64px, 12.6vw, 236px);
  font-stretch: 125%;
  font-weight: 860;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(233, 240, 255, 0.13);
  user-select: none;
  margin-bottom: clamp(48px, 7vw, 110px);
  position: relative;
  background: linear-gradient(100deg, transparent 30%, rgba(0,178,255,0.35) 50%, transparent 70%) 0 0 / 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: sheen 7s var(--ease) infinite;
}
@keyframes sheen {
  0%, 55% { background-position: 125% 0; }
  90%, 100% { background-position: -125% 0; }
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.foot-mark { width: 34px; margin-bottom: 24px; }
.foot-tagline { line-height: 2; }
.foot-col { display: flex; flex-direction: column; gap: 13px; align-items: flex-start; }
.foot-col h5 { color: var(--ink-faint); font-weight: 400; margin-bottom: 8px; letter-spacing: 0.18em; }
.foot-col a { color: var(--ink-dim); font-size: 14.5px; transition: color 0.25s; }
.foot-col a:hover { color: var(--ink); }
.iso-chip {
  margin-top: 10px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  color: var(--accent-2);
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
}

/* ============================================================
   REVEALS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(7px);
  transition:
    opacity 1s var(--ease) var(--d, 0s),
    transform 1s var(--ease) var(--d, 0s),
    filter 1s var(--ease) var(--d, 0s);
  will-change: opacity, transform, filter;
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ============================================================
   CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor::before, .cursor::after {
  content: '';
  position: absolute;
  background: rgba(233, 237, 243, 0.9);
  transition: background 0.25s;
}
.cursor::before { left: 50%; top: 4px; bottom: 4px; width: 1px; transform: translateX(-50%); }
.cursor::after { top: 50%; left: 4px; right: 4px; height: 1px; transform: translateY(-50%); }
.cursor .c-dot {
  position: absolute;
  left: 50%; top: 50%;
  width: 3px; height: 3px;
  transform: translate(-50%, -50%);
  background: var(--accent-2);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-2);
}
body.cursor-on .cursor { opacity: 1; }
.cursor.is-hover { transform-origin: center; }
.cursor.is-hover::before, .cursor.is-hover::after { background: var(--accent-2); }

@media (pointer: fine) {
  body.cursor-on, body.cursor-on a, body.cursor-on button { cursor: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .live-grid { grid-template-columns: 1fr; }
  .terminal { position: static; min-height: 480px; }
  .p-row { grid-template-columns: 40px 1fr auto; }
  .p-desc, .p-tag { display: none; }
  .hud { display: none; }
  .hf.br { display: none; }
}

@media (max-width: 1100px) {
  .hero-stats span:nth-child(n+5), .hero-stats i:nth-child(n+4) { display: none; }
}
@media (max-width: 640px) {
  .hero-stats span:nth-child(n+3), .hero-stats i { display: none; }
}

@media (max-width: 820px) {
  .cap-grid { grid-template-columns: 1fr; }
  .platform-cols { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; gap: 40px; }
  .res-grid { grid-template-columns: 1fr; }
  .res-card { min-height: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hf.tr, .hf.bl { display: none; }
  .hero-stats { justify-content: flex-start; }
  .nav-cta .pill { display: none; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .anim-1, .anim-2, .anim-3, .anim-4, .anim-5, .anim-6 { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  .cursor { display: none; }
}
