/* ============================================================
   WEAPONS ($AMMO) — war-room design system
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #111417;
  --panel: #0B0E10;
  --olive: #4B5320;
  --amber: #FFB000;
  --khaki: #D8CBB3;
  --red: #E5484D;
  --green: #00C776;

  --khaki-70: rgba(216, 203, 179, 0.7);
  --khaki-40: rgba(216, 203, 179, 0.4);
  --khaki-15: rgba(216, 203, 179, 0.15);
  --amber-35: rgba(255, 176, 0, 0.35);
  --amber-15: rgba(255, 176, 0, 0.15);
  --line: rgba(216, 203, 179, 0.12);

  --font-display: "Black Ops One", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  --ticker-h: 36px;
  --nav-h: 64px;
  --container: 1140px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ticker-h) + var(--nav-h) + 16px);
}

body {
  margin: 0;
  padding-top: var(--ticker-h);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--khaki);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 75% -5%, rgba(75, 83, 32, 0.22), transparent 65%),
    linear-gradient(var(--khaki-15) 1px, transparent 1px),
    linear-gradient(90deg, var(--khaki-15) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  background-blend-mode: normal, overlay, overlay;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration: none; }
button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Shared type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.15;
  color: #EFE6D4;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.section { padding: 96px 0; }

.section-alt {
  background-color: rgba(11, 14, 16, 0.55);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-image:
    repeating-radial-gradient(circle at 20% 15%, rgba(216, 203, 179, 0.03) 0 1px, transparent 1px 90px),
    repeating-radial-gradient(circle at 85% 80%, rgba(216, 203, 179, 0.025) 0 1px, transparent 1px 70px);
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: 14px;
}

.section-sub {
  color: var(--khaki-70);
  max-width: 58ch;
  margin-bottom: 44px;
}

/* ---------- Utility: hazard-stripe top border ---------- */
.hazard { position: relative; overflow: hidden; }

.hazard::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 176, 0, 0.55) 0 12px,
    rgba(11, 14, 16, 0.9) 12px 24px
  );
  opacity: 0.45;
  pointer-events: none;
}

/* ---------- Utility: HUD corner brackets ---------- */
/* Drawn on an ::after overlay so they stay visible above full-bleed media. */
.hud { position: relative; }

.hud::after {
  --bk: var(--amber-35);
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--bk), var(--bk)), linear-gradient(var(--bk), var(--bk)),
    linear-gradient(var(--bk), var(--bk)), linear-gradient(var(--bk), var(--bk)),
    linear-gradient(var(--bk), var(--bk)), linear-gradient(var(--bk), var(--bk)),
    linear-gradient(var(--bk), var(--bk)), linear-gradient(var(--bk), var(--bk));
  background-repeat: no-repeat;
  background-size:
    22px 2px, 2px 22px,
    22px 2px, 2px 22px,
    22px 2px, 2px 22px,
    22px 2px, 2px 22px;
  background-position:
    top left, top left,
    top right, top right,
    bottom left, bottom left,
    bottom right, bottom right;
}

/* ---------- 1. Ticker tape ---------- */
.ticker {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--ticker-h);
  z-index: 200;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--panel);
  border-bottom: 1px solid rgba(255, 176, 0, 0.25);
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
}

.ticker-group { display: inline-flex; align-items: center; }

.ticker-item {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.ticker-item--alt { color: var(--green); }

.ticker-sep {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--green);
  padding: 0 18px;
  opacity: 0.75;
}

/* ---------- 2. Navbar ---------- */
.site-header {
  position: sticky;
  top: var(--ticker-h);
  z-index: 150;
  background: rgba(11, 14, 16, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  color: #EFE6D4;
  letter-spacing: 0.06em;
}

.logo-emblem {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.site-nav { display: flex; align-items: center; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--khaki-70);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover { color: var(--khaki); }

.nav-link.active {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px; height: 2px;
  background: var(--khaki);
  transform: translateX(-50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle .bars { top: 21px; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }

.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 24px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--amber);
  color: #14100a;
  box-shadow: 0 0 24px rgba(255, 176, 0, 0.25);
}

.btn-primary:hover { filter: brightness(1.08); }

.btn-outline {
  border-color: var(--khaki-40);
  color: var(--khaki);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--khaki);
  background: rgba(216, 203, 179, 0.06);
}

.btn-ghost {
  color: var(--amber);
  background: transparent;
  padding-inline: 10px;
}

.btn-ghost:hover { text-decoration: underline; text-underline-offset: 5px; }

.btn-sm { min-height: 38px; padding: 6px 16px; font-size: 0.78rem; }

.is-unset { cursor: help; opacity: 0.85; }

/* ---------- CA pill ---------- */
.ca-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 10px 14px;
  background: var(--panel);
  border: 1px dashed rgba(216, 203, 179, 0.3);
  border-radius: 6px;
  font-family: var(--font-mono);
}

.ca-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #8a9440;
}

.ca-value {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--khaki);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 42ch;
}

.btn-copy {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
  background: var(--amber-15);
  border: 1px solid var(--amber-35);
  border-radius: 4px;
  padding: 6px 12px;
  min-height: 32px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-copy:hover { background: rgba(255, 176, 0, 0.25); }

.btn-copy.copied {
  color: var(--green);
  border-color: rgba(0, 199, 118, 0.4);
  background: rgba(0, 199, 118, 0.12);
}

/* ---------- 3. Hero ---------- */
.hero { padding-top: 72px; }

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.4rem, 8vw, 5rem);
  letter-spacing: 0.04em;
  max-width: 16ch;
  margin-bottom: 20px;
  text-shadow: 0 0 44px rgba(255, 176, 0, 0.18);
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--khaki-70);
  max-width: 54ch;
  margin-bottom: 28px;
}

.hero .ca-pill {
  margin-bottom: 26px;
  border-style: solid;
  border-color: var(--amber-35);
  box-shadow: 0 0 22px rgba(255, 176, 0, 0.12);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 52px;
}

/* ---------- Media slots ---------- */
.media-slot {
  position: relative;
  width: min(880px, 100%);
  aspect-ratio: 16 / 9;
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Official channels (anti-scam) strip ---------- */
.official-strip {
  position: relative;
  padding: 30px 0;
  background:
    linear-gradient(180deg, rgba(255, 176, 0, 0.06), rgba(255, 176, 0, 0.02)),
    var(--panel);
  border-top: 1px solid var(--amber-35);
  border-bottom: 1px solid var(--amber-35);
}

.official-strip::before,
.official-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 176, 0, 0.55) 0 12px,
    rgba(11, 14, 16, 0.9) 12px 24px
  );
  opacity: 0.45;
  pointer-events: none;
}

.official-strip::before { top: 0; }
.official-strip::after { bottom: 0; }

.official-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.official-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
}

.official-label .warn { color: var(--red); }

.official-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 100%;
}

.ca-pill--official {
  border-style: solid;
  border-color: var(--amber-35);
  box-shadow: 0 0 30px rgba(255, 176, 0, 0.14);
}

.ca-pill--official .ca-value {
  color: #EFE6D4;
  font-size: 0.86rem;
  max-width: 48ch;
}

.official-note {
  font-size: 0.82rem;
  color: var(--khaki-70);
  max-width: 66ch;
}

.official-note strong { color: var(--khaki); }

/* ---------- 4. Trust bar ---------- */
.trust-bar {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.trust {
  text-align: center;
  font-variant-caps: all-small-caps;
  font-size: 1rem;
  letter-spacing: 0.24em;
  color: var(--khaki-40);
}

/* ---------- 5. The Armory ---------- */
.armory-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
}

.radar-wrap {
  width: min(420px, 100%);
  margin-inline: auto;
  aspect-ratio: 1;
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 22px 22px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--amber);
  margin-bottom: 10px;
}

.stat-value {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  margin-bottom: 6px;
}

.stat-sub {
  font-size: 0.86rem;
  color: var(--khaki-70);
}

/* ---------- Radar SVG (mounted by js/radar.js) ---------- */
.radar-wrap svg { width: 100%; height: 100%; }

.radar-sweep {
  transform-box: view-box;
  transform-origin: 50% 50%;
}

.blip-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  fill: var(--khaki-40);
}

.blip:hover .blip-label { fill: var(--khaki); }

.radar-deg {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  fill: rgba(216, 203, 179, 0.3);
}

/* ---------- 6. Fire Control ---------- */
.fc-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
}

.fc-copy .section-sub { margin-bottom: 0; }

.terminal {
  background: #0a0d0f;
  border: 1px solid #1d242a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: #0e1215;
  border-bottom: 1px solid #1d242a;
}

.term-dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: var(--red); }
.dot-amber { background: var(--amber); }
.dot-green { background: var(--green); }

.terminal-title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--khaki-40);
}

.terminal-body {
  position: relative;
  padding: 18px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: #cfd8d3;
}

/* scanline overlay — terminal only */
.terminal-body::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.028) 0 1px,
    transparent 1px 3px
  );
  pointer-events: none;
}

.terminal-body pre {
  margin: 0;
  font: inherit;
  white-space: pre;
}

.term-sizer { visibility: hidden; }
.term-sizer.visible { visibility: visible; }

.term-typed {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
}

.tk-pl { color: #cfd8d3; }
.tk-kw { color: var(--amber); }
.tk-st { color: var(--green); }
.tk-cm { color: #6f7a76; }
.tk-fn { color: #e8dfc9; }

.term-cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: var(--amber);
}

/* ---------- 7. Battle Plan ---------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-top: 30px;
  counter-reset: phase;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber-35) 6%, var(--amber-35) 94%, transparent);
}

.phase { position: relative; }

.phase::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--amber);
  box-shadow: 0 0 14px rgba(255, 176, 0, 0.4);
}

.phase-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--amber);
  margin-bottom: 8px;
}

.phase-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.phase-desc {
  font-size: 0.9rem;
  color: var(--khaki-70);
}

/* ---------- 8. The Trenches ---------- */
.trench-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.trench-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px 24px 24px;
}

.avatar-slot {
  position: relative;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  background: var(--bg);
  border: 1px solid var(--amber-35);
  border-radius: 4px;
  overflow: hidden;
}

.avatar-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trench-card blockquote {
  font-size: 0.94rem;
  color: var(--khaki);
  font-style: italic;
  flex-grow: 1;
}

.trench-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.trench-card strong {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #EFE6D4;
}

.trench-card .rank {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--amber);
}

/* ---------- 9. Enlist ---------- */
.enlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.step-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px 24px 26px;
}

.step-num {
  font-size: 2rem;
  color: var(--amber-35);
  margin-bottom: 10px;
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--khaki-70);
}

.step-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 20px;
}

.ca-pill-sm { padding: 8px 12px; }
.ca-pill-sm .ca-value { max-width: 18ch; }

/* ---------- 10. FAQ ---------- */
.faq-container { max-width: 800px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #EFE6D4;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item[open] summary { border-bottom: 1px solid var(--line); }

.faq-item p {
  padding: 16px 20px 20px;
  color: var(--khaki-70);
}

/* ---------- 11. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--amber-35);
  background: var(--panel);
  padding: 48px 0 40px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--khaki-70);
}

.footer-links a:hover { color: var(--amber); }

.footer-ca {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.footer-ca-label {
  flex-shrink: 0;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--amber);
}

.footer-ca .ca-value {
  font-size: 0.72rem;
  color: var(--khaki-40);
}

.disclaimer {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--khaki-40);
  max-width: 76ch;
}

.disclaimer-tag { margin-top: 10px; font-style: italic; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* ---------- Motion (only when the user allows it) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker-scroll 38s linear infinite; }

  @keyframes ticker-scroll {
    to { transform: translateX(-50%); }
  }

  .radar-sweep { animation: radar-spin 6s linear infinite; }

  @keyframes radar-spin {
    to { transform: rotate(360deg); }
  }

  .blip-ring {
    transform-box: fill-box;
    transform-origin: center;
    animation: blip-pulse 2.4s ease-out infinite;
  }

  @keyframes blip-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
  }

  .blip--fleeing { animation: blip-flee 3s ease-in-out infinite; }

  @keyframes blip-flee {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
  }

  .term-cursor { animation: cursor-blink 1s steps(1) infinite; }

  @keyframes cursor-blink {
    50% { opacity: 0; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn, .btn:hover { transform: none; transition: none; }

  .blip-ring { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .section { padding: 72px 0; }

  .armory-grid,
  .fc-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    display: none;
  }

  .nav-open .nav-links { display: flex; }

  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; }

  .nav-link {
    display: block;
    padding: 14px 4px;
    border-bottom: none;
  }

  .nav-cta-item { padding-top: 16px; }
  .nav-cta-item .btn { width: 100%; }

  .timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-top: 0;
    padding-left: 30px;
  }

  .timeline::before {
    top: 8px;
    bottom: 8px;
    left: 6px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--amber-35) 6%, var(--amber-35) 94%, transparent);
  }

  .phase::before {
    top: 2px;
    left: -30px;
  }

  .trench-grid,
  .enlist-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
  .stat-grid { grid-template-columns: minmax(0, 1fr); }

  .hero { padding-top: 56px; }

  .ca-pill { width: 100%; justify-content: space-between; }
  .ca-value { max-width: 16ch; }

  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .terminal-body { font-size: 11.5px; }

  .footer-ca { margin-left: 0; }
}
