/* ==========================================================================
   D&C DEFENCE — main stylesheet
   Tokens → base → layout → components → pages → motion/fallbacks
   ========================================================================== */

:root {
  /* Palette */
  --bg: #0a0a0a;
  --bg-2: #121212;
  --panel: #1a1a1a;
  --panel-2: #242424;
  --line: #2a2a2a;
  --line-2: #404040;
  --muted: #8a8a8a;
  --fg-2: #c9c9c9;
  --fg: #f5f5f5;
  --accent: #6e9f6b;
  --accent-hi: #8fbf88;
  --accent-dim: rgba(110, 159, 107, 0.12);
  --amber: #c9a24a;

  /* Type */
  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Layout */
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --header-h: 84px;
  --header-h-sm: 60px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
img, canvas, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--fg); color: var(--bg); }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.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;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--fg); color: var(--bg); padding: 10px 16px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 1px solid var(--accent-hi); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(80px, 12vw, 160px); }
.section--tight { padding-block: clamp(56px, 8vw, 104px); }
.section--panel { background: var(--bg-2); border-block: 1px solid var(--line); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--even { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
.eyebrow--plain::before { display: none; }

.display {
  font-family: var(--f-display);
  font-stretch: 72%;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.005em;
}
.h-xxl { font-size: clamp(56px, min(12.5vw, 21vh), 196px); }
.h-xl  { font-size: clamp(52px, 8.5vw, 132px); }
.h-lg  { font-size: clamp(36px, 5vw, 72px); }
.h-md  { font-size: clamp(26px, 3vw, 40px); }
.h-sm  { font-size: clamp(19px, 1.6vw, 22px); }

.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--fg-2); max-width: 62ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); }
.accent { color: var(--accent); }
.tag {
  display: inline-block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--fg-2); padding: 4px 8px; border: 1px solid var(--line-2);
}
.tag--accent { color: var(--accent); border-color: rgba(110, 159, 107, .4); background: var(--accent-dim); }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 860px; }
.section-head--row {
  max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px;
}
@media (max-width: 760px) { .section-head--row { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --b: var(--line-2);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 22px;
  font-family: var(--f-mono); font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--b); background: transparent; color: var(--fg);
  cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden; isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fg); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.btn:hover::after { transform: scaleX(1); transform-origin: left; }
.btn:hover { color: var(--bg); border-color: var(--fg); }
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--accent { --b: var(--fg); color: var(--bg); background: var(--fg); }
.btn--accent::after { background: var(--bg); }
.btn--accent:hover { color: var(--fg); border-color: var(--fg); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 11px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg);
}
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.link-arrow:hover span { background-size: 100% 1px; }
.link-arrow svg { width: 14px; height: 14px; color: var(--accent); }

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: height .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  height: var(--header-h-sm);
  background: rgba(10, 10, 10, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header { transition: height .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease); }

.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; transition: width .45s var(--ease), height .45s var(--ease); }
.is-scrolled .brand img { width: 32px; height: 32px; }
.brand__word { display: grid; line-height: 1; }
.brand__name { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; }
.brand__sub { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .24em; color: var(--muted); margin-top: 5px; text-transform: uppercase; transition: opacity .3s, margin .3s, height .3s; }
.is-scrolled .brand__sub { opacity: 0; height: 0; margin-top: 0; }

.nav__links { display: flex; align-items: center; gap: clamp(18px, 3vw, 48px); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  position: relative; font-size: 14px; font-weight: 500; color: var(--fg-2);
  padding-block: 8px; transition: color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--fg); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.status-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 3s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  position: relative;
}
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--fg); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 26px; }
.nav-open .nav__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: rgba(10,10,10,.97);
  display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.nav-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.mobile-menu li { border-bottom: 1px solid var(--line); counter-increment: m; }
.mobile-menu a {
  display: flex; align-items: baseline; gap: 16px; padding: 18px 0;
  font-family: var(--f-display); font-stretch: 70%; font-weight: 800; font-size: clamp(36px, 10vw, 56px); text-transform: uppercase; line-height: 1;
}
.mobile-menu a::before { content: "0" counter(m); font-family: var(--f-mono); font-size: 12px; color: var(--accent); font-weight: 500; }
.mobile-menu__foot { margin-top: 40px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; }

@media (max-width: 980px) {
  .nav__links, .nav__actions .status-chip, .nav__actions .btn { display: none; }
  .nav__toggle { display: block; }
}
@media (min-width: 981px) { .mobile-menu { display: none; } }

/* --------------------------------------------------------------------------
   Decorative overlays
   -------------------------------------------------------------------------- */
.grid-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
}
.scanlines {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.018) 0 1px, transparent 1px 3px);
}
.scan-beam {
  position: absolute; left: 0; right: 0; height: 140px; top: -140px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(110,159,107,.05) 70%, rgba(110,159,107,.22) 99%, transparent);
  animation: beam 7s linear infinite;
}
@keyframes beam { to { transform: translateY(calc(100vh + 140px)); } }

.brackets { position: relative; }
.brackets::before, .brackets::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
  border-color: var(--line-2); border-style: solid; transition: border-color .35s, width .35s var(--ease), height .35s var(--ease);
}
.brackets::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.brackets::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

/* --------------------------------------------------------------------------
   HERO — scroll-driven sequence
   -------------------------------------------------------------------------- */
.hero { position: relative; height: 150vh; background: var(--bg); }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__poster, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster { object-fit: cover; }
.hero__canvas { opacity: 0; transition: opacity .6s var(--ease); }
.hero.is-ready .hero__canvas { opacity: 1; }
.hero.is-ready .hero__poster { opacity: 0; }

.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.55) 32%, rgba(10,10,10,0) 58%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10,10,10,0) 26%),
    linear-gradient(180deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,0) 18%),
    radial-gradient(ellipse 90% 90% at 60% 50%, transparent 55%, rgba(10,10,10,.7) 100%);
  transition: opacity .3s linear;
}
.hero__shade--hud { /* lighter shade once intro has gone */
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 50%, rgba(10,10,10,.85) 100%),
              linear-gradient(0deg, var(--bg) 0%, transparent 22%);
  opacity: 0;
}

.hero__intro {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--header-h); z-index: 3;
}
.hero__intro .container { display: grid; gap: clamp(20px, 3vh, 36px); }
.hero__title { max-width: none; }
.hero__title .line { display: block; overflow: hidden; padding-top: .16em; margin-top: -.16em; }
.hero__title .line > span { display: inline-block; }
.hero__title .accent-stroke { color: var(--muted); }
.hero__about { max-width: 460px; }
.hero__about h2 { font-family: var(--f-sans); font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.hero__about p { color: var(--fg-2); font-size: 14.5px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__scrollcue {
  position: absolute; left: var(--gutter); bottom: clamp(24px, 5vh, 48px); z-index: 4;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.hero__scrollcue i { position: relative; width: 1px; height: 44px; background: var(--line-2); overflow: hidden; }
.hero__scrollcue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* HUD frame & telemetry */
.hud { position: absolute; inset: 0; z-index: 4; pointer-events: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.hud__corner { position: absolute; width: 28px; height: 28px; border: 1px solid rgba(245,245,245,.28); }
.hud__corner--tl { top: calc(var(--header-h) + 16px); left: var(--gutter); border-width: 1px 0 0 1px; }
.hud__corner--tr { top: calc(var(--header-h) + 16px); right: var(--gutter); border-width: 1px 1px 0 0; }
.hud__corner--bl { bottom: 24px; left: var(--gutter); border-width: 0 0 1px 1px; }
.hud__corner--br { bottom: 24px; right: var(--gutter); border-width: 0 1px 1px 0; }
.hud__meta { position: absolute; top: calc(var(--header-h) + 22px); right: calc(var(--gutter) + 40px); text-align: right; line-height: 1.9; }
.hud__meta b { color: var(--fg); font-weight: 500; }
.hud__progress {
  position: absolute; right: calc(var(--gutter) + 40px); bottom: 30px; width: min(360px, 40vw);
  display: grid; gap: 10px;
}
.hud__bar { position: relative; height: 1px; background: var(--line-2); }
.hud__bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.hud__ticks { display: flex; justify-content: space-between; }
.hud__ticks span { transition: color .3s; }
.hud__ticks span.is-on { color: var(--accent); }

/* Callouts */
.callouts { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.callout {
  --x: 50%; --y: 50%;
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  opacity: 0; visibility: hidden;
}
.callout__dot {
  position: absolute; left: var(--x); top: var(--y); width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; border: 1px solid rgba(245,245,245,.9);
}
.callout__dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--fg); }
.callout__line {
  position: absolute; left: var(--x); top: var(--y); height: 1px; width: var(--len, 160px);
  background: linear-gradient(90deg, rgba(245,245,245,.75), rgba(245,245,245,.15));
  transform-origin: left center; transform: rotate(var(--ang, -20deg)) scaleX(var(--draw, 0));
}
.callout__card {
  position: absolute; left: var(--cx, 60%); top: var(--cy, 30%); width: min(340px, 80vw);
  padding: 18px 20px; background: rgba(12,12,12,.82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(245,245,245,.12);
}
.callout__card::before { content: ""; position: absolute; top: -1px; left: -1px; width: 36px; height: 2px; background: var(--accent); }
.callout__idx { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; color: var(--accent); }
.callout__title { margin: 8px 0 8px; font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: clamp(20px, 2vw, 26px); text-transform: uppercase; line-height: 1.02; }
.callout__text { font-size: 13.5px; color: var(--fg-2); line-height: 1.55; }
.callout__data { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 14px 0 0; background: rgba(245,245,245,.1); border: 1px solid rgba(245,245,245,.1); }
.callout__data div { background: rgba(10,10,10,.82); padding: 8px 10px; }
.callout__data dt { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.callout__data dd { margin: 2px 0 0; font-family: var(--f-mono); font-size: 12.5px; color: var(--fg); }

/* Intro entrance on first paint */
.js .hero__intro .eyebrow,
.js .hero__about,
.js .hero__ctas { animation: fadeUp 1s var(--ease) both; }
.js .hero__intro .eyebrow { animation-delay: .1s; }
.js .hero__about { animation-delay: .65s; }
.js .hero__ctas { animation-delay: .8s; }
.js .hero__title .line > span { animation: rise 1.2s var(--ease) both; }
.js .hero__title .line:nth-child(1) > span { animation-delay: .2s; }
.js .hero__title .line:nth-child(2) > span { animation-delay: .34s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero__outro {
  position: absolute; left: 0; right: 0; bottom: clamp(70px, 12vh, 120px); z-index: 4; text-align: center; opacity: 0;
}

@media (max-width: 760px) {
  .hero { height: 150vh; }
  .hero__shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(10,10,10,.6) 45%, rgba(10,10,10,.35) 100%); }
  .hero__intro { justify-content: flex-end; padding-bottom: 110px; }
  .hud__meta, .hud__corner--tr, .hud__corner--tl { display: none; }
  .hud__progress { left: var(--gutter); right: var(--gutter); width: auto; bottom: 26px; }
  .hero__scrollcue { display: none; }
  .callout__line { display: none; }
  .callout__card { left: var(--gutter) !important; right: var(--gutter); top: auto !important; bottom: 84px; width: auto; }
}

/* --------------------------------------------------------------------------
   Marquee strip
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg); padding-block: 18px; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.marquee__track span::after { content: "◆"; color: var(--accent); font-size: 8px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: clamp(22px, 2.4vw, 32px); background: var(--panel); border: 1px solid var(--line);
  transition: border-color .35s, transform .5s var(--ease), background-color .35s;
  overflow: hidden;
}
.card::before { /* cursor glow */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(110,159,107,.10), transparent 60%);
}
.card:hover { border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card:hover.brackets::before, .card:hover.brackets::after { border-color: var(--accent); width: 22px; height: 22px; }
.card__top { display: flex; align-items: center; justify-content: space-between; }
.card__idx { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; color: var(--muted); }
.card__icon { width: 44px; height: 44px; color: var(--accent); }
.card__icon svg { width: 100%; height: 100%; }
.card h3 { font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.card__foot { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-2); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.card__foot b { color: var(--fg); font-weight: 500; }

/* --------------------------------------------------------------------------
   Tabs (operational areas, tech page)
   -------------------------------------------------------------------------- */
.tabs { display: grid; grid-template-columns: minmax(240px, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); }
.tabs__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tabs__btn {
  position: relative; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 8px;
  padding: 22px 0; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  color: var(--muted); cursor: pointer; transition: color .3s;
}
.tabs__btn .n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; }
.tabs__btn .t { font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: clamp(20px, 2vw, 28px); text-transform: uppercase; line-height: 1; }
.tabs__btn .a { width: 16px; height: 16px; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease); color: var(--accent); }
.tabs__btn::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.tabs__btn[aria-selected="true"] { color: var(--fg); }
.tabs__btn[aria-selected="true"] .a { opacity: 1; transform: none; }
.tabs__btn[aria-selected="true"]::after { transform: scaleX(1); transition: transform 5.5s linear; }
.tabs__btn:hover { color: var(--fg); }

.tabs__panels { position: relative; min-height: 460px; }
.tab-panel { display: grid; gap: 24px; }
.tab-panel[hidden] { display: none; }
.tab-panel__media {
  position: relative; aspect-ratio: 16 / 9; background: var(--panel); border: 1px solid var(--line); overflow: hidden;
}
.tab-panel__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) contrast(1.05); }
.tab-panel__media .hud-label { position: absolute; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.tab-panel__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.tab-panel__body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tab-panel__body li { display: flex; gap: 12px; font-size: 14.5px; color: var(--fg-2); }
.tab-panel__body li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; background: var(--accent); }

@media (max-width: 900px) {
  .tabs { grid-template-columns: minmax(0, 1fr); }
  .tabs__panels { min-height: 0; }
  .tab-panel__body { grid-template-columns: minmax(0, 1fr); }
}

/* Scenario canvas (generated HUD scene, no stock imagery needed) */
.scene { position: absolute; inset: 0; }
.scene svg { width: 100%; height: 100%; }

/* --------------------------------------------------------------------------
   Radar
   -------------------------------------------------------------------------- */
.radar {
  --size: min(460px, 82vw);
  position: relative; width: var(--size); aspect-ratio: 1; border-radius: 50%; margin-inline: auto;
  background:
    radial-gradient(circle, transparent 0 24.6%, rgba(110,159,107,.25) 24.8% 25%, transparent 25.2% 49.6%, rgba(110,159,107,.25) 49.8% 50%, transparent 50.2% 74.6%, rgba(110,159,107,.25) 74.8% 75%, transparent 75.2%),
    radial-gradient(circle, rgba(110,159,107,.06), rgba(10,10,10,.6) 70%);
  border: 1px solid rgba(110,159,107,.45);
  overflow: hidden;
}
.radar::before, .radar::after { content: ""; position: absolute; background: rgba(110,159,107,.2); }
.radar::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(143,191,136,.22), rgba(143,191,136,.05) 12%, transparent 24%);
  animation: sweep 4s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar__blip {
  position: absolute; width: 8px; height: 8px; margin: -4px; border-radius: 50%;
  background: var(--accent-hi);
  animation: blip 4s linear infinite; animation-delay: var(--d, 0s); opacity: 0;
}
.radar__blip--friend { background: #7d9cc0; }
.radar__blip--threat { background: var(--amber); }
@keyframes blip { 0% { opacity: 1; transform: scale(1.4); } 60% { opacity: .5; transform: scale(1); } 100% { opacity: 0; } }
.radar__label { position: absolute; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; color: var(--accent); }
.radar-legend { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: 24px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.radar-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }

/* --------------------------------------------------------------------------
   Stats / telemetry readouts
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat__v { font-family: var(--f-display); font-stretch: 70%; font-weight: 800; font-size: clamp(44px, 5vw, 76px); line-height: 1; }
.stat__v small { font-size: .42em; font-weight: 600; color: var(--muted); margin-left: 4px; }
.stat__k { margin-top: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 22px 12px 22px 0; border-bottom: 1px solid var(--line); }
  .stat + .stat { padding-left: 12px; }
  .stat:nth-child(2n) { border-right: 0; }
}

.telemetry {
  display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase;
}
.telemetry b { color: var(--fg); font-weight: 500; }

/* --------------------------------------------------------------------------
   Engineering list (numbered rows)
   -------------------------------------------------------------------------- */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 80px minmax(0, 4fr) minmax(0, 6fr) 120px; gap: 24px; align-items: start;
  padding: 32px 0; border-bottom: 1px solid var(--line); transition: background-color .35s;
}
.row:hover { background: linear-gradient(90deg, rgba(110,159,107,.04), transparent 60%); }
.row__n { font-family: var(--f-mono); font-size: 12px; color: var(--accent); letter-spacing: .14em; padding-top: 6px; }
.row__t { font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: clamp(24px, 2.6vw, 36px); text-transform: uppercase; line-height: 1; }
.row__d { color: var(--muted); font-size: 15px; }
.row__m { font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: .12em; text-align: right; text-transform: uppercase; padding-top: 6px; }
@media (max-width: 860px) {
  .row { grid-template-columns: 48px minmax(0, 1fr); }
  .row__d { grid-column: 2; }
  .row__m { display: none; }
}

/* --------------------------------------------------------------------------
   Page hero (sub pages) — reference layout: big condensed title over image
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(48px, 8vw, 96px); overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.06); }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,.95) 0%, rgba(10,10,10,.7) 38%, rgba(10,10,10,.1) 75%),
    linear-gradient(0deg, var(--bg) 0%, transparent 40%),
    linear-gradient(180deg, rgba(10,10,10,.8) 0%, transparent 25%);
}
.page-hero .container { position: relative; z-index: 2; display: grid; gap: 28px; }
.page-hero__crumb { display: flex; align-items: center; gap: 14px; }
.back-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(245,245,245,.12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .3s;
}
.back-btn:hover { background: rgba(245,245,245,.22); }
.back-btn svg { width: 18px; height: 18px; }
.page-hero__title { max-width: 14ch; }
.page-hero--plain { min-height: 70vh; }
.page-hero--plain .page-hero__bg::after { background: linear-gradient(0deg, var(--bg) 0%, transparent 50%); }

/* --------------------------------------------------------------------------
   Architecture diagram (tech page)
   -------------------------------------------------------------------------- */
.arch { position: relative; padding: clamp(20px, 3vw, 40px); background: var(--bg-2); border: 1px solid var(--line); }
.arch svg { width: 100%; height: auto; }
.arch text { font-family: var(--f-mono); fill: var(--fg-2); font-size: 12px; letter-spacing: .08em; }
.arch .t-dim { fill: var(--muted); font-size: 10.5px; }
.arch .t-acc { fill: var(--accent); }
.arch .box { fill: var(--panel); stroke: var(--line-2); }
.arch .box-acc { fill: rgba(110,159,107,.06); stroke: rgba(110,159,107,.6); }
.arch .wire { stroke: var(--line-2); stroke-width: 1; fill: none; }
.arch .flow { stroke: var(--accent); stroke-width: 1.4; fill: none; stroke-dasharray: 4 8; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }

/* Signal waveform */
.wave { width: 100%; height: 180px; }
.wave path { fill: none; stroke-width: 1.4; }

/* --------------------------------------------------------------------------
   Spec matrix (products)
   -------------------------------------------------------------------------- */
.spec-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 9px 14px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); cursor: pointer; transition: all .25s;
}
.chip:hover { color: var(--fg); border-color: var(--muted); }
.chip[aria-pressed="true"] { color: var(--bg); background: var(--fg); border-color: var(--fg); }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.spec-table td:first-child { color: var(--fg); width: 30%; }
.spec-table td:nth-child(2) { color: var(--fg-2); }
.spec-table td:last-child { width: 130px; text-align: right; padding-right: 0; }
.spec-table tr[hidden] { display: none; }
.spec-table tbody tr { transition: background-color .25s; }
.spec-table tbody tr:hover { background: rgba(255,255,255,.02); }
.redacted { background: var(--fg-2); color: transparent; user-select: none; padding-inline: 4px; border-radius: 1px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) {
  .spec-table td:last-child, .spec-table th:last-child { display: none; }
  .spec-table td:first-child { width: 42%; }
}

/* Mode switch (helmet / standalone) */
.mode-switch { display: inline-flex; border: 1px solid var(--line-2); padding: 4px; gap: 4px; background: var(--bg-2); }
.mode-switch button {
  min-height: 40px; padding: 0 18px; border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; transition: color .3s, background-color .3s;
}
.mode-switch button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.mode-view { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 40px; }
.mode-view__figure { position: relative; aspect-ratio: 4 / 3; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.mode-view__figure svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mode-layer { transition: opacity .6s var(--ease), transform .8s var(--ease); }
.mode-view[data-mode="standalone"] .helmet-only { opacity: 0; transform: translateY(-24px); }
.mode-view[data-mode="helmet"] .standalone-only { opacity: 0; }
.mode-copy[hidden] { display: none; }
.kv { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 20px; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv dt { color: var(--muted); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.kv dd { margin: 0; text-align: right; }
@media (max-width: 900px) { .mode-view { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   Manifesto / Timeline (about)
   -------------------------------------------------------------------------- */
.manifesto { font-family: var(--f-display); font-stretch: 72%; font-weight: 700; font-size: clamp(32px, 5vw, 76px); line-height: 1.02; text-transform: uppercase; }
.manifesto .w { opacity: .14; transition: opacity .3s; }
.manifesto .w.is-lit { opacity: 1; }
.manifesto em { font-style: normal; color: var(--accent); }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.tl-item { position: relative; display: grid; grid-template-columns: 32px 140px minmax(0, 1fr); gap: 16px; padding: 22px 0; }
.tl-item::before { content: ""; position: absolute; left: 3px; top: 30px; width: 9px; height: 9px; border: 1px solid var(--accent); background: var(--bg); }
.tl-item.is-done::before { background: var(--accent); }
.tl-item__k { grid-column: 2; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; padding-top: 3px; }
.tl-item__v { grid-column: 3; }
.tl-item__v h3 { font-size: 19px; margin-bottom: 6px; }
.tl-item__v p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 640px) {
  .tl-item { grid-template-columns: 32px minmax(0, 1fr); }
  .tl-item__k, .tl-item__v { grid-column: 2; }
}

.principles { counter-reset: p; }
.principle { counter-increment: p; }
.principle .card__idx::before { content: "P-0" counter(p) " //"; }

/* --------------------------------------------------------------------------
   Careers
   -------------------------------------------------------------------------- */
.jobs { border-top: 1px solid var(--line); }
.job { border-bottom: 1px solid var(--line); }
.job summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 180px 140px 32px; gap: 16px; align-items: center;
  padding: 24px 0; transition: color .25s;
}
.job summary::-webkit-details-marker { display: none; }
.job summary:hover { color: var(--accent); }
.job__t { font-family: var(--f-display); font-stretch: 78%; font-weight: 700; font-size: clamp(20px, 2.2vw, 30px); text-transform: uppercase; line-height: 1.05; }
.job__m { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.job__plus { position: relative; width: 18px; height: 18px; justify-self: end; }
.job__plus::before, .job__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.job__plus::after { transform: rotate(90deg); }
.job[open] .job__plus::after { transform: rotate(0); }
.job__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding: 0 0 32px; color: var(--fg-2); font-size: 15px; }
.job__body h4 { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.job__body ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.job__body li::marker { color: var(--accent); }
@media (max-width: 760px) {
  .job summary { grid-template-columns: minmax(0, 1fr) 24px; }
  .job__m { display: none; }
  .job__body { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */
.secure-panel { position: relative; background: var(--bg-2); border: 1px solid var(--line); padding: clamp(24px, 3.5vw, 48px); }
.secure-panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px dashed var(--line-2); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field label .req, .legend .req { color: var(--accent); }
.legend { padding: 0; margin-bottom: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--fg); transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(110,159,107,.12); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c2410c; }
.field__hint { font-size: 12.5px; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--fg-2); }
.check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.channel-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.channel-pick label {
  display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color .25s, background-color .25s;
  font-family: var(--f-sans); font-size: 14px; color: var(--fg); letter-spacing: 0; text-transform: none;
}
.channel-pick label small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.channel-pick input { position: absolute; opacity: 0; pointer-events: none; }
.channel-pick input:checked + label { border-color: var(--accent); background: var(--accent-dim); }
.channel-pick input:focus-visible + label { outline: 1px solid var(--accent-hi); outline-offset: 2px; }
.form__status { grid-column: 1 / -1; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--accent); min-height: 1.4em; }
@media (max-width: 640px) {
  .form { grid-template-columns: minmax(0, 1fr); }
  .channel-pick { grid-template-columns: minmax(0, 1fr); }
}
.code-block {
  font-family: var(--f-mono); font-size: 12px; line-height: 1.7; color: var(--fg-2); background: var(--bg); border: 1px solid var(--line);
  padding: 18px; white-space: pre-wrap; word-break: break-all;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-band .container { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
@media (max-width: 760px) { .cta-band .container { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { position: relative; background: var(--bg); border-top: 1px solid var(--line); padding-top: clamp(56px, 8vw, 96px); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 32px; padding-bottom: 56px; }
.footer-grid h4 { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--fg-2); }
.footer-grid a:hover { color: var(--fg); }
.footer-wordmark {
  font-family: var(--f-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, 17.5vw, 300px); line-height: .78; letter-spacing: -.01em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px var(--line-2); user-select: none; margin-bottom: -0.06em; text-align: center;
}
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* --------------------------------------------------------------------------
   Page transition curtain
   -------------------------------------------------------------------------- */
.curtain {
  position: fixed; inset: 0; z-index: 300; pointer-events: none; background: var(--bg);
  transform: scaleY(0); transform-origin: bottom;
}
.curtain::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2);
}

/* --------------------------------------------------------------------------
   Motion: reveal states (only when JS is running and motion allowed)
   -------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal="fade"] { transform: none; }
.js .split-word { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .02em .08em; margin: -.12em -.02em -.08em; }
.js .split-word > span { display: inline-block; transform: translateY(105%); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .split-word > span { transform: none; }
  .hero { height: auto; }
  .hero__sticky { position: relative; height: 100svh; }
  .marquee__track { animation: none; }
  .radar__blip { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Sober mode: decorative effects intentionally disabled
   -------------------------------------------------------------------------- */
.scanlines, .scan-beam { display: none; }
.card::before { display: none; }

/* "Not exhaustive" notes under capability lists */
.more-note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 32px; padding-top: 18px;
  border-top: 1px dashed var(--line-2); max-width: 820px;
  font-family: var(--f-mono); font-size: 12px; line-height: 1.7; letter-spacing: .04em; color: var(--muted);
}
.more-note::before { content: "+"; flex: none; color: var(--accent); font-weight: 600; }
.callout__more { margin: 12px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); }
