/* ═══════════════════════════════════════════════
   ORVANTIS SECURITY — Design System v3
   Benchmarked: Bishop Fox · Mandiant · NCC Group
                CrowdStrike · Cobalt · Synack
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── Tokens ───────────────────────────────────── */
:root {
  --bg:          #050505;
  --bg2:         #0b0b0b;
  --bg3:         #111111;
  --surface:     #141414;
  --surface2:    #1c1c1c;
  --border:      #1e1e1e;
  --border-red:  #350a0a;

  --red:         #e02020;
  --red-bright:  #ff3333;
  --red-mid:     #c01818;
  --red-dim:     #8b1a1a;
  --red-deep:    #3a0808;
  --red-glow:    rgba(224, 32, 32, 0.22);
  --red-glow-sm: rgba(224, 32, 32, 0.12);
  --red-glow-xs: rgba(224, 32, 32, 0.07);

  --text:        #f2f0ee;
  --text-mid:    #b0a8a4;
  --dim:         #5c5656;
  --dim2:        #2e2e2e;

  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --nav-h:    68px;
  --page-x:   clamp(1.25rem, 5vw, 4.5rem);
  --max-w:    1240px;
  --section-y:clamp(5rem, 9vw, 9rem);
  --radius:   2px;
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { cursor: pointer; font-family: inherit; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red-dim); border-radius: 2px; }

/* ── Typography ───────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.8rem, 6.5vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 22px; height: 1.5px;
  background: var(--red);
  flex-shrink: 0;
}

.lead {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: var(--text-mid);
  line-height: 1.78;
  max-width: 600px;
}

/* ── Animations ────────────────────────────────── */

/* Intro overlay fade out */
@keyframes intro-out {
  0%   { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden;  pointer-events: none; }
}

/* Logo intro: precision lock — snaps to target, no loose spin */
@keyframes logo-intro {
  0%   { transform: scale(0.6); opacity: 0; filter: drop-shadow(0 0 0 var(--red-bright)) blur(3px); }
  55%  { transform: scale(1.12); opacity: 1; filter: drop-shadow(0 0 22px var(--red-bright)) blur(0); }
  70%  { transform: scale(0.97); }
  82%  { transform: scale(1.03); }
  100% { transform: scale(1); filter: drop-shadow(0 0 8px var(--red-bright)) blur(0); }
}

/* Logo wordmark slide in */
@keyframes wordmark-in {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Continuous logo glow pulse */
@keyframes logo-pulse {
  0%, 100% { filter: drop-shadow(0 0 5px var(--red));       }
  50%       { filter: drop-shadow(0 0 16px var(--red-bright)); }
}

/* Radar sweep */
@keyframes radar {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Reticle draw (used by SVG stroke animations inline) */
@keyframes reticle-fade { from { opacity:0; } to { opacity:0.12; } }

/* Blink cursor */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Fade up generic */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* Horizontal scan line in hero */
@keyframes scan-line {
  0%   { top: 0%;   opacity: 0.5; }
  80%  { opacity: 0.3; }
  100% { top: 100%; opacity: 0;   }
}

/* Ticker scroll */
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Number glow on count */
@keyframes num-glow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50%       { text-shadow: 0 0 20px var(--red-glow), 0 0 40px var(--red-glow-sm); }
}

/* ── Scroll-reveal ─────────────────────────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.js .reveal-group > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-group.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s; }
.reveal-group.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:.09s; }
.reveal-group.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:.18s; }
.reveal-group.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:.27s; }
.reveal-group.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:.36s; }
.reveal-group.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:.45s; }

/* ═══ SNIPER SCOPE INTRO ═══════════════════════════
   Target acquisition → lock-on → recoil → clear.
   Timeline: 0s cross sweeps in · 0.4s ring/scan ·
   0.9s brackets converge · 1.5s LOCK + logo focus ·
   2.4s wipe out. Full clear handled in JS at ~3s.     */
#scope-intro {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 0 28vmin, rgba(5,5,5,0.55) 30vmin, var(--bg) 46vmin);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  animation: intro-out 0.7s 4s var(--ease) forwards;
}
/* faint scope vignette film grain */
#scope-intro::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, transparent 55%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

.scope {
  position: relative;
  width: 56vmin; height: 56vmin;
  max-width: 460px; max-height: 460px;
  display: flex; align-items: center; justify-content: center;
}

/* Outer scope ring + range ring */
.scope-ring, .scope-ring2 {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--red-dim);
  opacity: 0;
  animation: scope-ring-in 0.7s 0.35s var(--ease) forwards;
}
.scope-ring2 { inset: 14%; border-color: var(--border-red); animation-delay: 0.5s; }

/* Crosshair lines sweep in from the edges (precision) */
.scope-cross {
  position: absolute;
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
}
.scope-cross-h {
  left: -6%; right: -6%; top: 50%; height: 1px;
  transform: translateY(-50%) scaleX(0);
  animation: cross-h 0.5s 0.05s var(--ease) forwards;
}
.scope-cross-v {
  top: -6%; bottom: -6%; left: 50%; width: 1px;
  transform: translateX(-50%) scaleY(0);
  animation: cross-v 0.5s 0.15s var(--ease) forwards;
}
/* Mil-dot ranging ticks along the crosshair */
.scope-mil { position:absolute; inset:0; opacity:0; animation: scope-ring-in 0.5s 0.6s var(--ease) forwards; }
.scope-mil span {
  position: absolute; background: var(--red-dim);
}
.scope-mil .m-t, .scope-mil .m-b { left:50%; width:1px; height:8px; transform:translateX(-50%); }
.scope-mil .m-l, .scope-mil .m-r { top:50%; height:1px; width:8px; transform:translateY(-50%); }
.scope-mil .m-t { top:18%; } .scope-mil .m-b { bottom:18%; }
.scope-mil .m-l { left:18%; } .scope-mil .m-r { right:18%; }

/* Corner brackets converge onto the target */
.scope-brackets span {
  position: absolute;
  width: 34px; height: 34px;
  border: 2px solid var(--red-bright);
  opacity: 0;
}
.scope-brackets .tl { top: 26%; left: 26%; border-right:none; border-bottom:none; animation: br-tl 0.55s 0.9s var(--ease) forwards; }
.scope-brackets .tr { top: 26%; right: 26%; border-left:none;  border-bottom:none; animation: br-tr 0.55s 0.9s var(--ease) forwards; }
.scope-brackets .bl { bottom: 26%; left: 26%; border-right:none; border-top:none; animation: br-bl 0.55s 0.9s var(--ease) forwards; }
.scope-brackets .br { bottom: 26%; right: 26%; border-left:none;  border-top:none; animation: br-br 0.55s 0.9s var(--ease) forwards; }

/* The logo target — snaps into focus, then recoils */
.scope-target {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: logo-intro 0.7s 1.45s var(--ease) forwards, recoil 0.28s 2.15s ease-out;
}
.scope-target svg { display:block; }

/* HUD readout under the scope */
.scope-readout {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-family: var(--font-mono);
  text-align: center;
  opacity: 0;
  animation: scope-ring-in 0.4s 0.7s var(--ease) forwards;
}
.ro-status {
  font-size: 0.72rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--red-bright); font-weight: 600;
}
.ro-status::before { content: '⌖ '; }
.ro-status.locked { color: #22c55e; }
.ro-coords { font-size: 0.6rem; letter-spacing: 0.2em; color: var(--dim); }

/* flash on lock */
.scope-flash {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, var(--red-glow) 0%, transparent 45%);
  opacity: 0;
  animation: lock-flash 0.4s 2.1s ease-out;
  pointer-events: none;
}

@keyframes scope-ring-in { from { opacity:0; transform:scale(1.08);} to { opacity:1; transform:scale(1);} }
@keyframes cross-h { to { transform: translateY(-50%) scaleX(1); } }
@keyframes cross-v { to { transform: translateX(-50%) scaleY(1); } }
@keyframes br-tl { from{opacity:0;top:14%;left:14%;} to{opacity:1;top:26%;left:26%;} }
@keyframes br-tr { from{opacity:0;top:14%;right:14%;} to{opacity:1;top:26%;right:26%;} }
@keyframes br-bl { from{opacity:0;bottom:14%;left:14%;} to{opacity:1;bottom:26%;left:26%;} }
@keyframes br-br { from{opacity:0;bottom:14%;right:14%;} to{opacity:1;bottom:26%;right:26%;} }
@keyframes recoil { 0%{transform:scale(1.14);} 40%{transform:scale(0.96);} 100%{transform:scale(1);} }
@keyframes lock-flash { 0%{opacity:0;} 30%{opacity:1;} 100%{opacity:0;} }

/* ── Layout ────────────────────────────────────── */
.inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--page-x);
}
section { padding: var(--section-y) var(--page-x); }
.bg2 { background: var(--bg2); }
.bg3 { background: var(--bg3); }
.section-head { margin-bottom: 3.5rem; }
.section-head h2 { margin-bottom: 1rem; }
hr.red-line { border: none; border-top: 1px solid var(--border-red); }

/* ── Logo ─────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  flex-shrink: 0;
}
/* Nav logo: settle in, then breathe */
.logo .logo-mark svg {
  animation: logo-intro 0.9s var(--ease) both, logo-pulse 3.5s 2s ease-in-out infinite;
  transition: transform 0.5s var(--ease), filter 0.3s;
  transform-origin: center;
}
/* Hover = re-lock: crisp 90° snap + glow, like re-acquiring the target */
.logo:hover .logo-mark svg {
  transform: rotate(90deg) scale(1.08);
  filter: drop-shadow(0 0 12px var(--red-bright));
}
.logo-text { display:flex; flex-direction:column; line-height:1; }
.logo-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
}
.logo-tagline {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.38em;
  color: var(--dim);
  text-transform: uppercase;
  margin-top: 3px;
}

/* ── Nav ──────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-x);
  background: rgba(5,5,5,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}
#nav.scrolled { border-bottom-color: var(--border-red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 38px;
  padding: 0 9px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 7px;
  cursor: pointer;
}
.nav-toggle span { display:block; height:2px; width:100%; background:#e8e8e8; transition: transform .25s, opacity .25s; }
#nav.nav-open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
#nav.nav-open .nav-toggle span:nth-child(2){ opacity:0; }
#nav.nav-open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dim);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--red-glow);
}
.nav-right { display: flex; align-items: center; gap: 2.5rem; }

/* ── Alert Ticker ─────────────────────────────── */
.alert-bar {
  height: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #1a0404;
  border-bottom: 1px solid var(--border-red);
  position: relative;
}
.alert-bar::before, .alert-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 1;
  pointer-events: none;
}
.alert-bar::before { left:0;  background: linear-gradient(90deg, #1a0404, transparent); }
.alert-bar::after  { right:0; background: linear-gradient(-90deg, #1a0404, transparent); }

.alert-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 36s linear infinite;
}
.alert-track:hover { animation-play-state: paused; }
.alert-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 3rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-mid);
}
.a-dot {
  width: 5px; height: 5px;
  background: var(--red-bright);
  border-radius: 50%;
  animation: blink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
.a-label {
  color: var(--red-bright);
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* ── Hero ─────────────────────────────────────── */
#hero {
  min-height: calc(100vh - 104px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Grid bg with stronger red tint */
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(224,32,32,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224,32,32,0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

/* Red scan line sweeping down */
.hero-scan {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 30%, var(--red-bright) 50%, var(--red) 70%, transparent 100%);
  animation: scan-line 8s ease-in-out infinite;
  pointer-events: none;
}

/* Ambient red glows */
.hero-glow-r {
  position: absolute;
  top: -15%; right: -8%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(224,32,32,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.hero-glow-l {
  position: absolute;
  bottom: -5%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(224,32,32,0.06) 0%, transparent 65%);
  pointer-events: none;
}

/* Radar sweep (right side of hero) */
.hero-radar {
  position: absolute;
  right: 5%; top: 50%;
  width: 520px; height: 520px;
  transform: translate(10%, -50%);
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 300deg,
    rgba(224,32,32,0.07) 330deg,
    rgba(224,32,32,0.12) 360deg
  );
  animation: radar 7s linear infinite;
  pointer-events: none;
}
/* Radar ring */
.hero-radar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(224,32,32,0.12);
}
.hero-radar::after {
  content: '';
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  border: 1px solid rgba(224,32,32,0.08);
}

.hero-content {
  position: relative;
  padding: 4rem var(--page-x);
  max-width: min(820px, 65%);
  z-index: 2;
  animation: fade-up 0.9s 3.9s var(--ease) both;
}

/* THE SLOGAN — always fixed, never animated */
.hero-slogan {
  margin: 0.8rem 0 0;
  line-height: 1.05;
}
.hero-slogan .line-1 { display: block; }
.hero-slogan .line-2 {
  display: block;
  color: var(--red);
  text-shadow: 0 0 40px rgba(224,32,32,0.25);
}

/* Cycling service line below slogan */
.hero-cycle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.6rem 0 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--dim);
}
.hero-cycle-prefix { color: var(--dim); }
#typing-text {
  color: var(--red);
  font-weight: 600;
  min-width: 200px;
}
.cursor {
  display: inline-block;
  width: 2px; height: 0.85em;
  background: var(--red);
  margin-left: 1px;
  vertical-align: middle;
  animation: blink 0.85s step-end infinite;
}

.hero-sub {
  font-size: clamp(0.97rem, 1.6vw, 1.1rem);
  color: var(--text-mid);
  line-height: 1.78;
  max-width: 540px;
  margin-bottom: 2.2rem;
}
.hero-actions { display:flex; flex-wrap:wrap; gap:1rem; margin-bottom:2.2rem; }
.hero-badges  { display:flex; flex-wrap:wrap; gap:0.65rem; }
.hero-badge {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  color: var(--dim);
  border: 1px solid var(--border-red);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  text-transform: uppercase;
  background: rgba(58,8,8,0.3);
  transition: border-color 0.2s, color 0.2s;
}
.hero-badge:hover { border-color: var(--red-dim); color: var(--text-mid); }

/* ── Metrics bar ───────────────────────────────── */
#metrics {
  padding: 0;
  background: var(--bg2);
  border-top: 1px solid var(--border-red);
  border-bottom: 1px solid var(--border);
}
.metrics-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.metric {
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid var(--border);
  position: relative;
}
.metric:last-child { border-right: none; }
.metric::before {
  content: '';
  position: absolute;
  top: 0; left: 25%; right: 25%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.6s var(--ease);
}
.metric.counted::before { transform: scaleX(1); }
.metric-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.03em;
}
.metric.counted .metric-num { animation: num-glow 2s ease; }
.metric-suffix { font-size: 0.6em; color: var(--red-dim); }
.metric-label {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  color: var(--dim);
  text-transform: uppercase;
  margin-top: 0.45rem;
}

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  box-shadow: 0 0 28px var(--red-glow), 0 4px 16px rgba(224,32,32,0.25);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--red-dim); color: var(--red-bright); }
.btn-outline-red {
  background: transparent;
  color: var(--red);
  border-color: var(--red-dim);
}
.btn-outline-red:hover {
  background: var(--red-deep);
  border-color: var(--red);
  box-shadow: 0 0 18px var(--red-glow-sm);
}

/* ── Cards (border-gap trick) ─────────────────── */
.card-grid {
  display: grid;
  gap: 1px;
  background: var(--border-red);
}
.card-2 { grid-template-columns: repeat(2,1fr); }
.card-3 { grid-template-columns: repeat(3,1fr); }
.card-4 { grid-template-columns: repeat(4,1fr); }

.card {
  background: var(--bg);
  padding: 2.25rem;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.bg2 .card, .bg3 .card { background: var(--bg2); }
.card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.card:hover { background: var(--surface); }
.card:hover::after { transform: scaleX(1); }
.card:hover { box-shadow: inset 0 0 40px rgba(224,32,32,0.04); }

.card-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border-red);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--red);
  font-size: 1.1rem;
  background: var(--red-deep);
}
.card .card-num {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  color: var(--red-dim);
  margin-bottom: 0.85rem;
}
.card h3 { margin-bottom: 0.7rem; font-size: 1rem; }
.card p  { font-size: 0.875rem; color: var(--text-mid); line-height: 1.65; }

/* ── Attack Lifecycle ─────────────────────────── */
.lifecycle-wrap { position:relative; margin-top:3rem; }
.lifecycle-line {
  position: absolute;
  top: 28px; left: 3.5%; right: 3.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-dim) 15%, var(--red) 50%, var(--red-dim) 85%, transparent);
  box-shadow: 0 0 6px var(--red-glow-sm);
  pointer-events: none;
}
.lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
  z-index: 1;
}
.phase { padding: 0 0.8rem 2rem; text-align: center; }
.phase-dot {
  width: 16px; height: 16px;
  background: var(--bg);
  border: 2px solid var(--red-dim);
  border-radius: 50%;
  margin: 0 auto 1.3rem;
  transition: all 0.25s;
  position: relative;
}
.phase-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: var(--red-glow-xs);
  opacity: 0;
  transition: opacity 0.25s;
}
.phase:hover .phase-dot {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 14px var(--red-glow);
}
.phase:hover .phase-dot::after { opacity: 1; }
.phase-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--red-dim);
  margin-bottom: 0.5rem;
}
.phase h3 { font-size: 0.87rem; margin-bottom: 0.45rem; }
.phase p  { font-size: 0.78rem; color: var(--dim); line-height: 1.55; }

/* ── Services page ────────────────────────────── */
.svc-block {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 4rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border-red);
}
.svc-block:last-child { border-bottom: none; }
.svc-meta { position: sticky; top: calc(var(--nav-h) + 1rem); }
.svc-tag {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.24em;
  color: var(--red);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}
.svc-meta h3 { font-size: 1.2rem; }
.svc-body > p {
  color: var(--text-mid);
  font-size: 0.925rem;
  line-height: 1.78;
  margin-bottom: 1.5rem;
  max-width: 560px;
}
.svc-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.svc-bullets li {
  font-size: 0.875rem;
  color: var(--text-mid);
  padding-left: 1.5rem;
  position: relative;
}
.svc-bullets li::before { content:'→'; position:absolute; left:0; color:var(--red); }
.svc-tags { display:flex; flex-wrap:wrap; gap:0.5rem; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--red-dim);
  border: 1px solid var(--border-red);
  padding: 0.28rem 0.65rem;
  border-radius: 2px;
  text-transform: uppercase;
  background: var(--red-deep);
}

/* ── Research / Disclosure ────────────────────── */
.disclosure-card {
  background: var(--bg2);
  border: 1px solid var(--border-red);
  border-left: 3px solid var(--red);
  padding: 1.75rem 2rem;
  transition: background 0.2s, box-shadow 0.2s;
}
.disclosure-card:hover {
  background: var(--surface);
  box-shadow: 0 0 24px var(--red-glow-sm);
}
.disc-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 0.85rem;
}
.disc-status .dot {
  width: 6px; height: 6px;
  background: var(--red-bright);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
.disc-status.resolved { color: #22c55e; }
.disc-status.resolved .dot { background: #22c55e; animation: none; }
.disc-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; }
.disc-meta  { font-family: var(--font-mono); font-size: 0.65rem; color: var(--dim); letter-spacing: 0.06em; }

/* Terminal block */
.terminal-block {
  background: #0a0404;
  border: 1px solid var(--border-red);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--text-mid);
  box-shadow: 0 0 40px rgba(224,32,32,0.06);
}
.terminal-block .t-red   { color: var(--red-bright); }
.terminal-block .t-green { color: #4ade80; }
.terminal-block .t-dim   { color: var(--dim); }
.terminal-block .t-head  {
  color: var(--text-mid);
  border-bottom: 1px solid var(--border-red);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.t-dot { display:inline-block; width:8px; height:8px; border-radius:50%; }
.t-dot.r { background: #ef4444; }
.t-dot.y { background: #eab308; }
.t-dot.g { background: #22c55e; }

/* ── Certs / Badges ───────────────────────────── */
.cert-grid { display:flex; flex-wrap:wrap; gap:1rem; margin-top:2.5rem; }
.cert-badge {
  display:flex; flex-direction:column; align-items:center;
  justify-content:center; gap:0.5rem;
  padding: 1.2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border-red);
  border-radius: var(--radius);
  min-width: 110px;
  transition: all 0.2s;
}
.cert-badge:hover { border-color:var(--red-dim); background:var(--surface2); box-shadow:0 0 16px var(--red-glow-xs); }
.cert-icon  { font-size:1.4rem; }
.cert-label { font-family:var(--font-mono); font-size:0.6rem; letter-spacing:0.15em; color:var(--dim); text-transform:uppercase; text-align:center; }

/* ── Industries ───────────────────────────────── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-red);
  margin-top: 3rem;
}
.industry {
  background: var(--bg);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  transition: background 0.2s;
  position: relative;
}
.bg2 .industry { background: var(--bg2); }
.industry:hover { background: var(--surface); }
.industry:hover::after {
  content: '';
  position: absolute;
  bottom: 0; left:0; right:0;
  height: 2px;
  background: var(--red);
}
.industry-icon { font-size:1.4rem; flex-shrink:0; margin-top:0.1rem; }
.industry h3 { font-size:0.9rem; margin-bottom:0.3rem; }
.industry p  { font-size:0.8rem; color:var(--dim); line-height:1.55; }

/* ── Differentiators ──────────────────────────── */
.diff-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; margin-top:3rem; }
.diff-item {
  padding: 2.4rem;
  background: var(--bg2);
  border: 1px solid var(--border-red);
  border-top: 3px solid var(--red);
  transition: all 0.2s;
}
.diff-item:hover { box-shadow:0 0 36px var(--red-glow-sm); transform:translateY(-2px); }
.diff-num { font-family:var(--font-mono); font-size:0.6rem; letter-spacing:0.2em; color:var(--red-dim); margin-bottom:1.2rem; }
.diff-item h3 { font-size:1.05rem; margin-bottom:0.75rem; }
.diff-item p  { font-size:0.875rem; color:var(--text-mid); line-height:1.65; }

/* ── Engage/Process ───────────────────────────── */
.engage-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}
.engage-step { background:var(--bg); padding:2.5rem 2rem; position:relative; }
.engage-step::after { content:attr(data-arrow); position:absolute; right:-10px; top:50%; transform:translateY(-50%); font-size:0.9rem; color:var(--red-dim); z-index:2; }
.engage-step:last-child::after { display:none; }
.engage-num { font-family:var(--font-head); font-size:2.2rem; font-weight:700; color:var(--border); line-height:1; margin-bottom:1.2rem; transition:color 0.2s; }
.engage-step:hover .engage-num { color:var(--red-deep); }
.engage-step h3 { font-size:1rem; margin-bottom:0.6rem; }
.engage-step p  { font-size:0.875rem; color:var(--text-mid); line-height:1.65; }

/* ── CTA Band ─────────────────────────────────── */
.cta-band {
  text-align: center;
  padding: var(--section-y) var(--page-x);
  background: var(--bg2);
  border-top: 1px solid var(--border-red);
  border-bottom: 1px solid var(--border-red);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top:50%; left:50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(224,32,32,0.09) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band h2 { max-width:640px; margin:0 auto 1rem; position:relative; }
.cta-band .lead { margin:0 auto 2.5rem; position:relative; }
.cta-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:1rem; position:relative; }

/* ── About ────────────────────────────────────── */
.about-hero { padding: calc(var(--section-y) + var(--nav-h)) var(--page-x) var(--section-y); }
.founder-grid { display:grid; grid-template-columns:300px 1fr; gap:5rem; align-items:start; }
.founder-card {
  background: var(--bg2);
  border: 1px solid var(--border-red);
  padding: 2rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.avatar {
  width:72px; height:72px;
  background:var(--red-deep);
  border:1px solid var(--border-red);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-head); font-size:1.8rem; font-weight:700;
  color:var(--red); margin-bottom:1.2rem;
  box-shadow:0 0 20px rgba(224,32,32,0.15);
}
.founder-name  { font-family:var(--font-head); font-size:1.1rem; font-weight:600; margin-bottom:0.25rem; }
.founder-title { font-size:0.82rem; color:var(--dim); margin-bottom:1.5rem; }
.founder-links { display:flex; flex-direction:column; gap:0.5rem; }
.founder-link  { font-family:var(--font-mono); font-size:0.68rem; color:var(--red); letter-spacing:0.08em; }
.founder-link:hover { text-decoration:underline; }
.about-body h2 { margin-bottom:1.25rem; }
.about-body p  { font-size:0.95rem; color:var(--text-mid); line-height:1.8; margin-bottom:1.2rem; max-width:620px; }

/* ── Contact ──────────────────────────────────── */
.contact-layout { display:grid; grid-template-columns:280px 1fr; gap:6rem; align-items:start; }
.contact-info-col { position:sticky; top:calc(var(--nav-h)+1.5rem); }
.c-detail { margin-bottom:2rem; }
.c-label { font-family:var(--font-mono); font-size:0.62rem; letter-spacing:0.2em; color:var(--dim); text-transform:uppercase; margin-bottom:0.4rem; }
.c-value { font-size:0.9rem; color:var(--text); }
.c-value a { color:var(--red); }
.c-value a:hover { text-decoration:underline; }
.c-note { padding:1.2rem; background:var(--red-deep); border-left:2px solid var(--red); font-size:0.82rem; color:var(--text-mid); line-height:1.65; margin-top:2rem; }
.form-group { margin-bottom:1.4rem; }
label { display:block; font-family:var(--font-mono); font-size:0.62rem; letter-spacing:0.15em; color:var(--dim); text-transform:uppercase; margin-bottom:0.45rem; }
input, textarea, select {
  width:100%; background:var(--surface); border:1px solid var(--border);
  color:var(--text); font-family:var(--font-body); font-size:0.875rem;
  padding:0.85rem 1rem; border-radius:var(--radius); outline:none;
  transition:border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus { border-color:var(--red-dim); box-shadow:0 0 0 3px var(--red-glow-xs); }
textarea { resize:vertical; min-height:140px; }
input::placeholder, textarea::placeholder { color:var(--dim2); }

/* ── Footer ───────────────────────────────────── */
footer { border-top:1px solid var(--border-red); background:var(--bg2); }
.footer-main {
  max-width:var(--max-w); margin:0 auto;
  padding:3.5rem var(--page-x) 2.5rem;
  display:grid; grid-template-columns:1fr auto; gap:4rem; align-items:start;
}
.footer-brand .lead { font-size:0.85rem; margin-top:0.8rem; color:var(--dim); max-width:280px; }
.footer-nav-group h4 { font-family:var(--font-mono); font-size:0.62rem; letter-spacing:0.22em; color:var(--dim); text-transform:uppercase; margin-bottom:1rem; }
.footer-nav-group ul { list-style:none; display:flex; flex-direction:column; gap:0.65rem; }
.footer-nav-group a { font-size:0.85rem; color:var(--text-mid); transition:color 0.2s; }
.footer-nav-group a:hover { color:var(--red); }
.footer-bottom {
  border-top:1px solid var(--border);
  padding:1.2rem var(--page-x);
  max-width:var(--max-w); margin:0 auto;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:0.75rem;
}
.footer-copy  { font-family:var(--font-mono); font-size:0.65rem; color:var(--dim2); letter-spacing:0.05em; }
.footer-badge { font-family:var(--font-mono); font-size:0.62rem; color:var(--red-dim); letter-spacing:0.12em; text-transform:uppercase; border:1px solid var(--border-red); padding:0.25rem 0.65rem; background:var(--red-deep); }

/* ── Utilities ────────────────────────────────── */
.page-offset { padding-top:var(--nav-h); }
.text-red { color:var(--red); }
.mono { font-family:var(--font-mono); }
.mt-1 { margin-top:1rem; }
.mt-2 { margin-top:2rem; }
.mt-3 { margin-top:3rem; }
.flex-gap { display:flex; flex-wrap:wrap; gap:1rem; }
.center { text-align:center; }
/* Keep each punch-line phrase whole so it reads as a slogan (never breaks mid-phrase) */
.punch { white-space: nowrap; }
/* Punch line as a sharp, set-apart slogan block (red accent bar, each phrase its own line) */
.punchline {
  display: block;
  margin: 1.1rem 0;
  padding-left: 0.9rem;
  border-left: 3px solid var(--red);
  color: var(--red-bright);
  font-size: 1.12em;
  letter-spacing: 0.015em;
  line-height: 1.45;
}
.punchline .punch { display: block; }

/* ── Reduced motion ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:0.01ms !important; transition-duration:0.01ms !important; animation-iteration-count:1 !important; }
  #scope-intro { display:none !important; }
  #xhair { display:none !important; }
  body { cursor: auto !important; }
}

/* ── Responsive ───────────────────────────────── */
@media (max-width:1100px) {
  .lifecycle-grid { grid-template-columns:repeat(3,1fr); }
  .lifecycle-line { display:none; }
  .hero-radar { display:none; }
}
@media (max-width:900px) {
  .metrics-inner { grid-template-columns:repeat(2,1fr); }
  .metric:nth-child(2){ border-right:none; }
  .card-4 { grid-template-columns:repeat(2,1fr); }
  .card-3 { grid-template-columns:repeat(2,1fr); }
  .diff-grid { grid-template-columns:1fr; }
  .engage-grid { grid-template-columns:1fr; }
  .engage-step::after { display:none; }
  .industry-grid { grid-template-columns:repeat(2,1fr); }
  .svc-block { grid-template-columns:1fr; gap:1.5rem; }
  .svc-meta { position:static; }
  .founder-grid { grid-template-columns:1fr; gap:2.5rem; }
  .founder-card { position:static; }
  .contact-layout { grid-template-columns:1fr; gap:3rem; }
  .contact-info-col { position:static; }
  .hero-content { max-width:100% !important; }
}
@media (max-width:680px) {
  .nav-toggle { display:flex; }
  .nav-right {
    display:none;
    position:absolute;
    top: var(--nav-h);
    left:0; right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background: rgba(5,5,5,0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom:1px solid var(--border-red);
    padding: 0.4rem 0 1.1rem;
  }
  #nav.nav-open .nav-right { display:flex; }
  .nav-right .nav-links { flex-direction:column; align-items:stretch; gap:0; width:100%; }
  .nav-right .nav-links a { display:block; padding:0.85rem var(--page-x); }
  #nav .btn { display:block; margin:0.75rem var(--page-x) 0; text-align:center; }
  .card-2, .card-3, .card-4 { grid-template-columns:1fr; }
  .industry-grid { grid-template-columns:1fr; }
  .lifecycle-grid { grid-template-columns:repeat(2,1fr); }
  footer .footer-main { grid-template-columns:1fr; gap:2rem; }
  .footer-bottom { flex-direction:column; align-items:flex-start; }
  .metrics-inner { grid-template-columns:repeat(2,1fr); }
  /* Punch line reads as a clean slogan on phones: smaller font + each phrase on its own line */
  .hero-sub { font-size: 0.95rem; line-height: 1.6; }
  .hero-sub .punch { display: block; }
}

/* ═══════════════════════════════════════════════════
   INTERACTIVE LAYER — crosshair cursor, lock-on,
   spotlight cards, live HUD. Desktop / fine-pointer only.
   All progressive-enhancement: JS adds .xh-on to <html>.
   ═══════════════════════════════════════════════════ */

/* Custom crosshair cursor (added by app.js on fine pointers) */
#xhair {
  position: fixed;
  top: 0; left: 0;
  width: 0; height: 0;
  z-index: 10000;
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}
#xhair .xh {
  position: absolute;
  background: var(--red-bright);
  transition: opacity 0.2s, background 0.2s;
}
/* the two crosshair strokes with a gap in the middle */
#xhair .xh-h1, #xhair .xh-h2 { top: -0.5px; height: 1px; }
#xhair .xh-v1, #xhair .xh-v2 { left: -0.5px; width: 1px; }
#xhair .xh-h1 { left: -16px; width: 10px; }
#xhair .xh-h2 { left: 6px;  width: 10px; }
#xhair .xh-v1 { top: -16px; height: 10px; }
#xhair .xh-v2 { top: 6px;  height: 10px; }
#xhair .xh-dot {
  position: absolute; top: -1.5px; left: -1.5px;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 6px var(--red-bright);
}
/* ranging ring — appears on lock */
#xhair .xh-ring {
  position: absolute;
  top: -13px; left: -13px;
  width: 26px; height: 26px;
  border: 1px solid var(--red);
  border-radius: 50%;
  opacity: 0;
  transform: scale(1.6);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
/* corner brackets that snap in when hovering a target */
#xhair .xh-br {
  position: absolute;
  width: 9px; height: 9px;
  border: 1.5px solid var(--red-bright);
  opacity: 0;
  transition: all 0.22s var(--ease);
}
#xhair .xh-br.tl { top: -18px; left: -18px; border-right:none; border-bottom:none; }
#xhair .xh-br.tr { top: -18px; left: 9px;  border-left:none;  border-bottom:none; }
#xhair .xh-br.bl { top: 9px;  left: -18px; border-right:none; border-top:none; }
#xhair .xh-br.br { top: 9px;  left: 9px;  border-left:none;  border-top:none; }

/* LOCK state — hovering something interactive */
#xhair.lock .xh-ring { opacity: 1; transform: scale(1); }
#xhair.lock .xh-br { opacity: 1; }
#xhair.lock .xh-br.tl { top: -14px; left: -14px; }
#xhair.lock .xh-br.tr { top: -14px; left: 5px; }
#xhair.lock .xh-br.bl { top: 5px;  left: -14px; }
#xhair.lock .xh-br.br { top: 5px;  left: 5px; }
#xhair.lock .xh-dot { background: #22c55e; box-shadow: 0 0 8px #22c55e; }
/* click = quick pulse */
#xhair.fire .xh-ring { animation: xh-fire 0.3s ease-out; }
@keyframes xh-fire { 0%{transform:scale(0.5);opacity:1;} 100%{transform:scale(1.9);opacity:0;} }

/* Hide native cursor once the crosshair is active */
html.xh-on, html.xh-on * { cursor: none !important; }

/* Spotlight that follows the cursor across cards (--mx/--my set by JS) */
.card, .diff-item, .disclosure-card, .industry, .cert-badge, .engage-step {
  position: relative;
}
.card::before, .diff-item::before, .industry::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(224,32,32,0.10), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
}
.card:hover::before, .diff-item:hover::before, .industry:hover::before { opacity: 1; }
.card > *, .diff-item > *, .industry > * { position: relative; z-index: 1; }

/* Magnetic buttons get a subtle lift via JS translate (--tx/--ty) */
.btn { transform: translate(var(--tx, 0), var(--ty, 0)); }

/* Hero parallax follows cursor (JS sets --rx/--ry on #hero).
   Applied to layers that don't already animate their transform. */
#hero .hero-grid-bg {
  transform: translate(calc(var(--rx, 0px) * 0.4), calc(var(--ry, 0px) * 0.4));
  transition: transform 0.5s ease-out;
}
#hero .hero-glow-r {
  transform: translate(var(--rx, 0px), var(--ry, 0px));
  transition: transform 0.6s ease-out;
}
#hero .hero-glow-l {
  transform: translate(calc(var(--rx, 0px) * -0.6), calc(var(--ry, 0px) * -0.6));
  transition: transform 0.6s ease-out;
}

/* Live HUD strip in hero */
.hero-hud {
  display: inline-flex; align-items: center; gap: 0.9rem;
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.14em;
  color: var(--dim); text-transform: uppercase;
}
.hero-hud .hud-live { display:inline-flex; align-items:center; gap:0.4rem; color: var(--red-bright); }
.hero-hud .hud-live::before {
  content:''; width:6px; height:6px; border-radius:50%;
  background: var(--red-bright); animation: blink 1.2s ease-in-out infinite;
}
.hero-hud .hud-sep { color: var(--dim2); }
.hero-hud b { color: var(--text-mid); font-weight: 500; }

/* Section index tag that ticks up as you scroll (data-driven, static style) */
.kicker-count { color: var(--red); }

/* Glitch-on-hover for section headings — restrained, one shot */
.section-head h2, .about-body h2 { position: relative; }

/* Interactive lifecycle: active phase lights the line up to it */
.phase.lit .phase-dot { background: var(--red); border-color: var(--red); box-shadow: 0 0 14px var(--red-glow); }
.phase.lit .phase-num { color: var(--red-bright); }

/* Scramble-in text helper (JS toggles) */
.scramble { font-family: var(--font-mono); }

/* Focus-visible accessibility (since native cursor is hidden) */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* Touch / coarse pointers: never hide cursor, kill spotlight cost */
@media (hover: none), (pointer: coarse) {
  #xhair { display: none !important; }
  html.xh-on, html.xh-on * { cursor: auto !important; }
}

/* ── CVP trust strip — styles are live, but the markup stays commented
   out in the HTML until CVP approval. See index.html / about.html. ── */
.cvp-verify {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-mid);
}
.cvp-verify .cvp-tick {
  width: 15px; height: 15px;
  flex-shrink: 0;
  color: var(--red);
  filter: drop-shadow(0 0 5px var(--red-glow));
}
.cvp-verify a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid var(--border-red);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.cvp-verify a:hover { color: var(--red-bright); border-bottom-color: var(--red); }

/* ── Legal / document pages ───────────────────────── */
.doc-banner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: var(--red-deep);
  border: 1px solid var(--border-red);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-mid);
}
.doc-banner strong { color: var(--red-bright); }
.legal-body { max-width: 760px; }
.legal-body h2 {
  font-size: 1.25rem;
  margin: 2.5rem 0 0.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.legal-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-body h3 { font-size: 0.98rem; margin: 1.5rem 0 0.6rem; color: var(--text); }
.legal-body p, .legal-body li {
  font-size: 0.925rem;
  line-height: 1.8;
  color: var(--text-mid);
}
.legal-body p { margin-bottom: 1rem; }
.legal-body ul { list-style: none; margin: 0 0 1.2rem; }
.legal-body li { padding-left: 1.4rem; position: relative; margin-bottom: 0.5rem; }
.legal-body li::before { content: '→'; position: absolute; left: 0; color: var(--red); }
.legal-body a { color: var(--red); }
.legal-body a:hover { text-decoration: underline; }
.legal-body .todo {
  color: var(--red-bright);
  background: rgba(224,32,32,0.08);
  padding: 1px 5px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.85em;
}
.legal-meta { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--dim); margin-top: 1rem; }

/* Footer legal links */
.footer-legal { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.05em; color: var(--dim2); display: flex; gap: 0.5rem; flex-wrap: wrap; }
.footer-legal a { color: var(--dim); transition: color 0.2s; }
.footer-legal a:hover { color: var(--red); }
