/* =========================================================
   AXIRIX LLC | Mission Software Studio
   styles.css | v1.0
   ========================================================= */

:root {
  /* surfaces: dark graphite (less black than v1) */
  --bg-0: #0e1218;
  --bg-1: #131822;
  --bg-2: #181d28;
  --bg-3: #1d2330;
  --panel: #161b25;
  --panel-2: #1c2230;

  /* surfaces: light tactical sand */
  --sand-0: #EFEAD7;       /* warm off-white page bg */
  --sand-1: #E5DFC8;       /* slightly deeper sand for banded layering */
  --sand-2: #F6F2E4;       /* lightest sand for cards on cards */
  --sand-edge: #DDD7BD;    /* sand border tone */

  /* lines */
  --line: #252a39;
  --line-2: #303547;
  --line-hot: #3d4458;
  --line-light: #C9C2A8;   /* steel/sand border on light bg */
  --line-light-2: #B2AB8E;

  /* text on dark */
  --tx-0: #ffffff;
  --tx-1: #d8dbe6;
  --tx-2: #9aa0b2;
  --tx-3: #6a6f80;
  --tx-mute: #4d5263;

  /* text on light (ink) */
  --ink-0: #14181F;
  --ink-1: #262B36;
  --ink-2: #424754;
  --ink-3: #6A6F7C;
  --ink-mute: #8E92A0;

  /* accent: sober federal red (glow reduced ~30%) */
  --red: #C8102E;
  --red-2: #A30B23;
  --red-glow: rgba(200,16,46,.24);
  --red-soft: rgba(200,16,46,.08);
  --red-soft-light: rgba(200,16,46,.06);

  /* tactical Army accents */
  --olive: #5C6448;
  --olive-2: #757D5E;
  --olive-soft: rgba(92,100,72,.10);
  --steel: #6F7682;

  /* type */
  --f-display: 'Inter Tight', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Consolas, monospace;

  /* metrics */
  --rad: 4px;
  --rad-lg: 8px;
  --nav-h: 68px;
  --maxw: 1340px;
  --gut: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--f-body);
  background: var(--bg-0);
  color: var(--tx-1);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,11,14,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
  padding: 0 var(--gut);
}
.nav-inner {
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; }
.brand-mark { height: 28px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--tx-2);
  letter-spacing: .01em;
  padding: 6px 0;
  position: relative;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--tx-0); }
.nav-links a[aria-current="page"] { color: var(--tx-0); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--red);
  transition: right .25s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }
.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: var(--rad);
  font-weight: 600 !important;
  transition: background .2s ease, transform .2s ease;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-2); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--rad);
  width: 40px; height: 40px;
  padding: 10px 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--tx-1);
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   TYPE
   ========================================================= */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.eyebrow.small { font-size: 11px; margin-bottom: 8px; }

.h-display {
  font-family: var(--f-display);
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--tx-0);
  margin: 0 0 28px;
}
.accent-text {
  background: linear-gradient(90deg, var(--tx-0) 0%, var(--tx-1) 55%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h-section {
  font-family: var(--f-display);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.018em;
  color: var(--tx-0);
  margin: 0 0 24px;
}
.lead {
  font-size: clamp(16px, 1.2vw, 19px);
  color: var(--tx-1);
  max-width: 60ch;
  margin: 0 0 16px;
}
.lead-2 {
  font-size: 15px;
  color: var(--tx-2);
  max-width: 64ch;
  margin: 0 0 32px;
}
.muted-note {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--tx-3);
  border-left: 2px solid var(--line-2);
  padding-left: 12px;
  margin-top: 12px;
  line-height: 1.5;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--rad);
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .25s ease;
  border: 1px solid transparent;
}
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 18px var(--red-glow);
}
.btn-primary:hover {
  background: var(--red-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px var(--red-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--tx-0);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--red);
  background: var(--red-soft);
  transform: translateY(-1px);
}
.btn-strong {
  background: var(--panel-2);
  border-color: var(--line-hot);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

/* =========================================================
   SECTION SHELL
   ========================================================= */
.sect {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(96px, 11vw, 160px) var(--gut);
  position: relative;
}
.sect.band {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  max-width: none;
  padding-left: 0; padding-right: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sect.band > .sect-head,
.sect.band > .vgrid,
.sect.band > .why-list,
.sect.band > .venture-grid,
.sect.band > .flow-strip,
.sect.band > .flow-foot,
.sect.band > .cap-grid,
.sect.band > .ai-diagram,
.sect.band > .bottom-line {
  max-width: var(--maxw);
  margin-left: auto; margin-right: auto;
  padding-left: var(--gut); padding-right: var(--gut);
}

/* =========================================================
   LIGHT THEME SECTIONS (tactical sand backgrounds)
   ========================================================= */
.sect.light {
  background: var(--sand-0);
  max-width: none;
  padding-left: 0; padding-right: 0;
  border-top: 1px solid var(--sand-edge);
  border-bottom: 1px solid var(--sand-edge);
  color: var(--ink-1);
}
.sect.light > .sect-head,
.sect.light > .vgrid,
.sect.light > .why-list,
.sect.light > .venture-grid,
.sect.light > .flow-strip,
.sect.light > .flow-foot,
.sect.light > .cap-grid,
.sect.light > .ai-diagram,
.sect.light > .bottom-line {
  max-width: var(--maxw);
  margin-left: auto; margin-right: auto;
  padding-left: var(--gut); padding-right: var(--gut);
}
.sect.light .h-section { color: var(--ink-0); }
.sect.light .sect-lead p { color: var(--ink-2); }
.sect.light .muted-note {
  color: var(--ink-3);
  border-left-color: var(--line-light-2);
}
.sect.light .eyebrow { color: var(--red); }

/* Light-section LIGHT cards (Pathways, Materials, Why Engage) */
.sect.light .path-card,
.sect.light .mat-card,
.sect.light .why-list li {
  background: var(--sand-2);
  border-color: var(--line-light);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.sect.light .path-card:hover,
.sect.light .mat-card:hover,
.sect.light .why-list li:hover {
  border-color: var(--olive);
  background: #FBF8EC;
  box-shadow: 0 8px 24px rgba(20,24,31,.06);
}
.sect.light .path-card h3,
.sect.light .mat-card h3,
.sect.light .why-list p { color: var(--ink-0); }
.sect.light .path-card p,
.sect.light .mat-card p { color: var(--ink-2); }
.sect.light .mat-mono { color: var(--ink-3); }
.sect.light .mat-card.mat-cta {
  background: linear-gradient(160deg, rgba(200,16,46,.07) 0%, var(--sand-2) 60%);
  border-color: var(--line-light-2);
}
.sect.light .mat-card.mat-cta .btn-ghost {
  color: var(--ink-0);
  border-color: var(--line-light-2);
}
.sect.light .mat-card.mat-cta .btn-ghost:hover {
  border-color: var(--red);
  background: var(--red-soft-light);
}

/* Light-section DARK cards (Mission Risk, Capabilities, Ventures) */
.sect.light.dark-cards .vcard,
.sect.light.dark-cards .cap-card,
.sect.light.dark-cards .venture {
  background: var(--panel);
  color: var(--tx-1);
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(20,24,31,.10), 0 2px 6px rgba(20,24,31,.06);
}
.sect.light.dark-cards .vcard:hover,
.sect.light.dark-cards .cap-card:hover,
.sect.light.dark-cards .venture:hover {
  background: var(--panel-2);
  box-shadow: 0 14px 36px rgba(20,24,31,.14), 0 4px 10px rgba(20,24,31,.08);
}
.sect.light.dark-cards .venture[open] {
  background: var(--panel-2);
  border-color: var(--red);
}
.sect.light.dark-cards .cap-card { color: var(--tx-3); }
.sect.light.dark-cards .cap-card:hover { color: var(--red); }

/* Subtle olive tactical underline for light-section section-heads */
.sect.light .sect-head { position: relative; }
.sect.light .sect-head::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  background: var(--olive);
  margin-top: 18px;
  opacity: .55;
}

.sect-head { max-width: 920px; margin: 0 0 56px; }
.sect-head.center { margin: 0 auto 56px; text-align: center; }
.sect-head.center .lead, .sect-head.center .sect-lead { margin-left: auto; margin-right: auto; }
.sect-lead p { color: var(--tx-2); font-size: 16px; max-width: 75ch; margin: 0 0 14px; }
.sect-lead p:last-child { margin-bottom: 0; }

/* =========================================================
   PAGE HERO (subpages)
   ========================================================= */
.page-hero {
  max-width: none;
  margin: 0;
  padding: clamp(60px, 7vw, 100px) var(--gut) clamp(48px, 6vw, 72px);
  position: relative;
  background: radial-gradient(ellipse at 80% 30%, #1c2230 0%, var(--bg-0) 60%);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 55%; height: 90%;
  background: radial-gradient(ellipse at center, var(--red-soft) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
}
.page-hero-inner > * { max-width: 920px; }
.page-hero .h-display {
  font-size: clamp(34px, 4.2vw, 60px);
  margin-bottom: 22px;
}
.page-hero .lead { max-width: 70ch; margin: 0; }

/* =========================================================
   CTA BAND (page footer call-to-action)
   ========================================================= */
.cta-band {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 7vw, 96px) var(--gut);
}
.cta-band-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 40px;
  align-items: center;
}
.cta-band h2 { margin: 0 0 14px; font-size: clamp(24px, 2.6vw, 36px); }
.cta-band p { margin: 0; max-width: 56ch; color: var(--tx-2); }
.cta-band .eyebrow { margin-bottom: 14px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .cta-band-inner { grid-template-columns: 1fr; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  max-width: none;
  margin: 0;
  padding: clamp(60px, 8vw, 120px) var(--gut) clamp(60px, 8vw, 100px);
  position: relative;
  background: radial-gradient(ellipse at 70% 20%, #1f2533 0%, var(--bg-0) 55%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 60%; height: 80%;
  background: radial-gradient(ellipse at center, var(--red-soft) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy { min-width: 0; }
.proof-strip {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tx-3);
}
.proof-strip li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-1);
  transition: border-color .2s ease, color .2s ease;
}
.proof-strip li:hover { border-color: var(--olive); color: var(--olive-2); }

/* RADAR */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.radar {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.radar-ring {
  position: absolute;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  opacity: .55;
}
.radar-ring.r1 { width: 100%; height: 100%; }
.radar-ring.r2 { width: 72%; height: 72%; }
.radar-ring.r3 { width: 44%; height: 44%; opacity: .8; border-color: var(--line-hot); }
.radar-sweep {
  position: absolute;
  width: 50%; height: 50%;
  top: 0; left: 50%;
  transform-origin: 0% 100%;
  background: conic-gradient(from 0deg, transparent 0deg, var(--red-glow) 30deg, transparent 60deg);
  border-radius: 0 100% 0 0 / 0 100% 0 0;
  animation: sweep 9s linear infinite;
  opacity: .45;
  pointer-events: none;
}
@keyframes sweep { to { transform: rotate(360deg); } }

.radar-grid {
  position: absolute; inset: 0;
  display: grid;
  grid-template: 1fr 1fr / 1fr 1fr;
  pointer-events: none;
}
.radar-grid span {
  border-right: 1px dashed rgba(255,255,255,.04);
  border-bottom: 1px dashed rgba(255,255,255,.04);
}
.radar-grid span:nth-child(2),
.radar-grid span:nth-child(4) { border-right: none; }
.radar-grid span:nth-child(3),
.radar-grid span:nth-child(4) { border-bottom: none; }

.radar-core {
  position: relative;
  width: 38%; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 30%, #1f2230 0%, var(--bg-1) 70%);
  border: 1px solid var(--line-hot);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 8%;
  box-shadow: 0 0 0 1px rgba(200,16,46,.15), 0 0 50px rgba(200,16,46,.18) inset;
  z-index: 5;
}
.core-label-eyebrow {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.core-label-title {
  font-family: var(--f-display);
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--tx-0);
  line-height: 1;
}
.core-label-sub {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--tx-3);
  margin-top: 4px;
}

/* Orbiting nodes */
.orbit {
  position: absolute; inset: 0;
  animation: orbit 60s linear infinite;
}
@keyframes orbit { to { transform: rotate(360deg); } }
.node {
  position: absolute;
  width: 140px;
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -50%);
  animation: counter-orbit 60s linear infinite;
}
@keyframes counter-orbit { to { transform: translate(-50%,-50%) rotate(-360deg); } }
.node span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tx-1);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  padding: 7px 11px;
  border-radius: 2px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
  transition: border-color .25s ease, color .25s ease;
}
.node:hover span { border-color: var(--red); color: var(--red); }

.node.n-top { top: 0%; left: 50%; }
.node.n-tr  { top: 14.65%; left: 85.35%; }
.node.n-br  { top: 85.35%; left: 85.35%; }
.node.n-bot { top: 100%; left: 50%; }
.node.n-bl  { top: 85.35%; left: 14.65%; }
.node.n-tl  { top: 14.65%; left: 14.65%; }

/* =========================================================
   THE DANGEROUS GAP (2-column comparison)
   ========================================================= */
.gap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.gap-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.gap-card.gap-right {
  border-color: var(--red);
  background: linear-gradient(160deg, rgba(200,16,46,.07) 0%, var(--panel) 55%);
  box-shadow: 0 14px 40px rgba(200,16,46,.10);
}
.gap-card.gap-right::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red) 50%, transparent);
}
.gap-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.gap-card.gap-right .gap-eyebrow {
  color: var(--red);
  border-bottom-color: rgba(200,16,46,.4);
}
.gap-list { list-style: none; padding: 0; margin: 0; }
.gap-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px 0;
  font-size: 14.5px;
  color: var(--tx-1);
  line-height: 1.55;
  border-bottom: 1px dashed var(--line);
}
.gap-list li:last-child { border-bottom: none; }
.gap-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--tx-mute);
  border: 1px solid var(--tx-mute);
  border-radius: 50%;
  margin-top: 2px;
}
.gap-tick-ok {
  color: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 10px rgba(200,16,46,.28);
  background: rgba(200,16,46,.06);
}
@media (max-width: 760px) {
  .gap-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   AI REASONING CONSOLE (signature terminal-trace animation)
   12s loop, 7 lines stagger-appear, synchronized fade-out, reset.
   ========================================================= */
.reasoning-console {
  max-width: 920px;
  margin: 36px auto 28px;
  background: #0a0d14;
  border: 1px solid var(--line-hot);
  border-radius: var(--rad-lg);
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0,0,0,.45),
    0 0 0 1px rgba(200,16,46,.08),
    inset 0 1px 0 rgba(255,255,255,.04);
}
.rc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(255,255,255,.025);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--tx-3);
}
.rc-dots { display: inline-flex; gap: 6px; }
.rc-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #2b3140;
}
.rc-dots span:first-child { background: #3a2329; }
.rc-title { color: var(--tx-2); }
.rc-flex { flex: 1; }
.rc-status { display: inline-flex; align-items: center; gap: 8px; }
.rc-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red), 0 0 16px rgba(200,16,46,.5);
  animation: rc-status-blink 1.4s ease-in-out infinite;
}
.rc-status-text { color: var(--red); font-weight: 600; letter-spacing: .15em; }

@keyframes rc-status-blink {
  0%, 100% { opacity: .45; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

.rc-body {
  padding: 24px 26px 20px;
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.85;
  color: var(--tx-1);
  min-height: 320px;
  position: relative;
}
.rc-line {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  opacity: 0;
  transform: translateY(8px);
  will-change: opacity, transform;
  animation-duration: 12s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(.2,.7,.3,1);
}
.rc-step {
  color: var(--red);
  font-weight: 500;
  letter-spacing: .04em;
}
.rc-text { color: var(--tx-1); }
.rc-hl {
  color: #7C8BFF;
  background: rgba(124,139,255,.10);
  padding: 1px 7px;
  border-radius: 3px;
  border: 1px solid rgba(124,139,255,.22);
}
.rc-line.rc-output {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.rc-output-step { color: #3FCB83 !important; }
.rc-line.rc-output .rc-text {
  color: #3FCB83;
  font-weight: 600;
}
.rc-line.rc-output .rc-hl {
  color: #C3FBE0;
  background: rgba(63,203,131,.12);
  border-color: rgba(63,203,131,.35);
}

/* Per-line stagger keyframes (synchronized fade-out at 95% of cycle) */
.rc-line.l1       { animation-name: rc-l1; }
.rc-line.l2       { animation-name: rc-l2; }
.rc-line.l3       { animation-name: rc-l3; }
.rc-line.l4       { animation-name: rc-l4; }
.rc-line.l5       { animation-name: rc-l5; }
.rc-line.l6       { animation-name: rc-l6; }
.rc-line.rc-output { animation-name: rc-out; }

@keyframes rc-l1 {
  0%   { opacity: 0; transform: translateY(8px); }
  3%   { opacity: 1; transform: translateY(0); }
  93%  { opacity: 1; transform: translateY(0); }
  97%  { opacity: 0; transform: translateY(-4px); }
  100% { opacity: 0; }
}
@keyframes rc-l2 {
  0%, 11% { opacity: 0; transform: translateY(8px); }
  14%     { opacity: 1; transform: translateY(0); }
  93%     { opacity: 1; transform: translateY(0); }
  97%     { opacity: 0; transform: translateY(-4px); }
  100%    { opacity: 0; }
}
@keyframes rc-l3 {
  0%, 23% { opacity: 0; transform: translateY(8px); }
  26%     { opacity: 1; transform: translateY(0); }
  93%     { opacity: 1; transform: translateY(0); }
  97%     { opacity: 0; transform: translateY(-4px); }
  100%    { opacity: 0; }
}
@keyframes rc-l4 {
  0%, 35% { opacity: 0; transform: translateY(8px); }
  38%     { opacity: 1; transform: translateY(0); }
  93%     { opacity: 1; transform: translateY(0); }
  97%     { opacity: 0; transform: translateY(-4px); }
  100%    { opacity: 0; }
}
@keyframes rc-l5 {
  0%, 47% { opacity: 0; transform: translateY(8px); }
  50%     { opacity: 1; transform: translateY(0); }
  93%     { opacity: 1; transform: translateY(0); }
  97%     { opacity: 0; transform: translateY(-4px); }
  100%    { opacity: 0; }
}
@keyframes rc-l6 {
  0%, 59% { opacity: 0; transform: translateY(8px); }
  62%     { opacity: 1; transform: translateY(0); }
  93%     { opacity: 1; transform: translateY(0); }
  97%     { opacity: 0; transform: translateY(-4px); }
  100%    { opacity: 0; }
}
@keyframes rc-out {
  0%, 71% { opacity: 0; transform: translateY(10px) scale(0.985); }
  76%     { opacity: 1; transform: translateY(0) scale(1.02); }
  82%     { opacity: 1; transform: translateY(0) scale(1); }
  93%     { opacity: 1; transform: translateY(0) scale(1); }
  97%     { opacity: 0; transform: translateY(-4px) scale(0.99); }
  100%    { opacity: 0; }
}

.rc-footer {
  padding: 12px 22px;
  background: rgba(255,255,255,.02);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--tx-3);
  text-transform: uppercase;
  flex-wrap: wrap;
}
.rc-foot-mono { color: var(--tx-2); }
.rc-foot-sep  { color: var(--tx-mute); }

@media (max-width: 720px) {
  .rc-line { grid-template-columns: 1fr; gap: 2px; }
  .rc-step { width: auto; font-size: 11px; }
  .rc-text { font-size: 12px; }
  .rc-body { padding: 18px; min-height: 380px; }
  .rc-footer { gap: 6px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .rc-line { opacity: 1 !important; animation: none !important; transform: none !important; }
  .rc-status-dot { animation: none !important; opacity: 1; }
}

/* =========================================================
   STAT STRIP (4 counter-up stats)
   ========================================================= */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 auto 56px;
  max-width: 1100px;
  border: 1px solid var(--line-light);
  background: var(--sand-2);
  border-radius: var(--rad);
  overflow: hidden;
}
.stat-strip li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 22px;
  border-right: 1px solid var(--line-light);
  text-align: center;
}
.stat-strip li:last-child { border-right: none; }
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 700;
  color: var(--ink-0);
  line-height: 1;
  letter-spacing: -.025em;
}
.stat-label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 720px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip li:nth-child(2) { border-right: none; }
  .stat-strip li:nth-child(1), .stat-strip li:nth-child(2) { border-bottom: 1px solid var(--line-light); }
}

/* =========================================================
   DELIVERABLES GRID (What Federal Buyers Get, 6 cards)
   ========================================================= */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.del-card {
  background: var(--sand-2);
  border: 1px solid var(--line-light);
  border-radius: var(--rad);
  padding: 28px 26px;
  transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.del-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s ease;
}
.del-card:hover {
  border-color: var(--olive);
  background: #FBF8EC;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(20,24,31,.08);
}
.del-card:hover::before { transform: scaleY(1); }
.del-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--red);
  margin-bottom: 14px;
}
.del-card h3 {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-0);
  margin: 0 0 10px;
  letter-spacing: -.005em;
}
.del-card p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 900px) { .deliverables-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .deliverables-grid { grid-template-columns: 1fr; } }

/* =========================================================
   FEDERAL POSTURE SECTION
   ========================================================= */
.posture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto 28px;
}
.posture-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}
.posture-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
.posture-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(200,16,46,.2));
}
.posture-eyebrow {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.posture-card h3 {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--tx-0);
  margin: 0 0 12px;
  letter-spacing: -.01em;
}
.posture-card p {
  font-size: 13.5px;
  color: var(--tx-2);
  margin: 0;
  line-height: 1.55;
}

.posture-stripe {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line-hot);
  border-radius: var(--rad);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.posture-mono {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  flex-shrink: 0;
  padding-top: 3px;
}
.posture-text {
  font-size: 14px;
  color: var(--tx-1);
  line-height: 1.6;
}

.posture-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.posture-credentials li {
  list-style: none;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-1);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tx-2);
}
.posture-credentials li.hot {
  border-color: var(--red);
  color: var(--red);
  background: rgba(200,16,46,.06);
}

@media (max-width: 900px) {
  .posture-grid { grid-template-columns: 1fr; }
  .posture-stripe { flex-direction: column; gap: 8px; }
}

/* =========================================================
   CARD GRIDS
   ========================================================= */
.vgrid {
  display: grid;
  gap: 18px;
}
.vgrid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.vgrid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.vcard, .path-card, .mat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 28px 26px;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}
.vcard:hover, .path-card:hover, .mat-card:hover {
  border-color: var(--line-hot);
  background: var(--panel-2);
  transform: translateY(-2px);
}
.vcard::before, .path-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s ease;
}
.vcard:hover::before, .path-card:hover::before { transform: scaleY(1); }

.vcard-num, .path-num, .cap-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--red);
  margin-bottom: 14px;
}
.vcard h3, .path-card h3, .mat-card h3 {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--tx-0);
  margin: 0 0 10px;
  letter-spacing: -.005em;
}
.vcard p, .path-card p, .mat-card p {
  font-size: 14px;
  color: var(--tx-2);
  margin: 0;
  line-height: 1.55;
}

.mat-card { padding: 24px 22px; }
.mat-mono {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 12px;
}
.mat-card.mat-cta {
  background: linear-gradient(160deg, rgba(200,16,46,.12) 0%, var(--panel) 60%);
  border-color: var(--line-hot);
}
.mat-card.mat-cta .btn { margin-top: 14px; }

/* CAPABILITY large cards */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cap-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 320px;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
  color: var(--tx-3);
  position: relative;
  overflow: hidden;
}
.cap-card:hover {
  border-color: var(--red);
  background: var(--panel-2);
  transform: translateY(-3px);
  color: var(--red);
}
.cap-card h3 {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--tx-0);
  margin: 0 0 10px;
}
.cap-card p {
  font-size: 13.5px;
  color: var(--tx-2);
  line-height: 1.55;
  margin: 0;
}
.cap-glyph {
  width: 48px; height: 48px;
  margin-top: auto;
  align-self: flex-end;
  transition: transform .35s ease;
}
.cap-card:hover .cap-glyph { transform: rotate(8deg) scale(1.1); }

/* =========================================================
   FLOW STRIP
   ========================================================= */
.flow-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 6px;
  margin: 0 auto 24px;
  padding-top: 24px;
}
.flow-node {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--rad);
  min-width: 130px;
  flex: 1;
  transition: border-color .2s ease, background .2s ease;
}
.flow-node:hover { border-color: var(--line-hot); background: var(--panel-2); }
.flow-node.accent {
  border-color: var(--red);
  background: linear-gradient(135deg, rgba(200,16,46,.15) 0%, var(--panel) 80%);
}
.flow-node.accent .flow-mono { color: var(--red); }
.flow-mono {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--tx-3);
}
.flow-node > span:last-child {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--tx-0);
}
.flow-arrow {
  align-self: center;
  font-family: var(--f-mono);
  color: var(--tx-3);
  font-size: 18px;
}
.flow-foot {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--tx-3);
  max-width: 75ch;
  margin: 16px auto 0;
  border-left: 2px solid var(--red);
  padding-left: 12px;
}

/* =========================================================
   USE CASES PER CAPABILITY (clean 2-col layout, no checkerboard)
   ========================================================= */
.use-case-stack {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.use-case-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  padding: 32px 36px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease;
}
.use-case-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  opacity: .7;
}
.use-case-row:hover { border-color: var(--red); background: var(--panel-2); }
.use-case-row:hover::before { opacity: 1; box-shadow: 0 0 18px rgba(200,16,46,.5); }
.uc-head { padding-top: 4px; }
.uc-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--red);
  margin-bottom: 14px;
}
.uc-title {
  font-family: var(--f-display);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 700;
  color: var(--tx-0);
  margin: 0 0 12px;
  letter-spacing: -.015em;
  line-height: 1.15;
}
.uc-desc {
  font-size: 14px;
  color: var(--tx-3);
  margin: 0;
  line-height: 1.6;
}
.uc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.uc-list li {
  position: relative;
  padding: 13px 0 13px 26px;
  font-size: 14.5px;
  color: var(--tx-1);
  line-height: 1.5;
}
.uc-list li + li {
  border-top: 1px dashed var(--line);
}
.uc-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 20px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(200,16,46,.55);
}
@media (max-width: 800px) {
  .use-case-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 24px;
  }
  .uc-head { padding-top: 0; }
}

/* =========================================================
   CAPABILITY-VENTURE MAP (compact relationship table)
   ========================================================= */
.cv-map {
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid var(--line-light);
  border-radius: var(--rad);
  overflow: hidden;
  background: var(--sand-2);
}
.cv-map-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  border-bottom: 1px solid var(--line-light);
}
.cv-map-row:last-child { border-bottom: none; }
.cv-map-row.cv-head {
  background: var(--sand-1);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cv-map-cell {
  padding: 18px 22px;
  border-right: 1px solid var(--line-light);
}
.cv-map-cell:last-child { border-right: none; }
.cv-map-row:not(.cv-head) .cv-map-cell:first-child {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-0);
  background: rgba(200,16,46,.04);
}
.cv-tag {
  display: inline-block;
  padding: 5px 11px;
  margin: 3px 5px 3px 0;
  background: var(--panel);
  color: var(--tx-1);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .04em;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.cv-tag:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-1px);
}
@media (max-width: 760px) {
  .cv-map-row { grid-template-columns: 1fr; }
  .cv-map-cell { border-right: none; border-bottom: 1px dashed var(--line-light); padding: 14px 18px; }
  .cv-map-cell:last-child { border-bottom: none; }
}

/* =========================================================
   CAPABILITY CARD SEQUENTIAL PULSE (capabilities page)
   ========================================================= */
.cap-grid.cap-anim .cap-card {
  animation: cap-card-pulse 15s ease-in-out infinite;
}
.cap-grid.cap-anim .cap-card:nth-child(1) { animation-delay: 0s; }
.cap-grid.cap-anim .cap-card:nth-child(2) { animation-delay: 3s; }
.cap-grid.cap-anim .cap-card:nth-child(3) { animation-delay: 6s; }
.cap-grid.cap-anim .cap-card:nth-child(4) { animation-delay: 9s; }
.cap-grid.cap-anim .cap-card:nth-child(5) { animation-delay: 12s; }

@keyframes cap-card-pulse {
  0%, 14%, 100% {
    border-color: transparent;
    box-shadow: 0 10px 28px rgba(20,24,31,.10), 0 2px 6px rgba(20,24,31,.06);
  }
  4% {
    border-color: var(--red);
    box-shadow:
      0 0 0 1px rgba(200,16,46,.4),
      0 16px 42px rgba(200,16,46,.20),
      0 2px 6px rgba(200,16,46,.10);
  }
  10% {
    border-color: var(--red);
    box-shadow:
      0 0 0 1px rgba(200,16,46,.15),
      0 8px 22px rgba(200,16,46,.10);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cap-grid.cap-anim .cap-card { animation: none !important; }
}

/* =========================================================
   PATHWAY SCOPE/DETAIL BLOCK (pathways page expansion)
   ========================================================= */
.pathway-detail {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.pd-card {
  background: var(--sand-2);
  border: 1px solid var(--line-light);
  border-radius: var(--rad);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.pd-card:hover {
  border-color: var(--olive);
  background: #FBF8EC;
  transform: translateY(-2px);
}
.pd-mono {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.pd-title {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink-0);
  margin: 0;
  letter-spacing: -.005em;
}
.pd-detail {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px 14px;
  font-size: 13.5px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-light);
  margin-top: 4px;
}
.pd-detail dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pd-detail dd {
  margin: 0;
  color: var(--ink-1);
  line-height: 1.5;
}
@media (max-width: 760px) {
  .pathway-detail { grid-template-columns: 1fr; }
  .pd-detail { grid-template-columns: 1fr; gap: 2px; }
  .pd-detail dt { margin-top: 6px; }
}

/* =========================================================
   ROUTING MATRIX (venture x pathway)
   ========================================================= */
.routing-matrix {
  max-width: 1180px;
  margin: 0 auto;
  background: var(--sand-2);
  border: 1px solid var(--line-light);
  border-radius: var(--rad);
  overflow: hidden;
}
.rm-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--line-light);
}
.rm-row:last-child { border-bottom: none; }
.rm-row.rm-head {
  background: var(--sand-1);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.rm-cell {
  padding: 16px 22px;
  border-right: 1px solid var(--line-light);
}
.rm-cell:last-child { border-right: none; }
.rm-row:not(.rm-head) .rm-cell:first-child {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-0);
  background: rgba(200,16,46,.04);
}
.rm-tag {
  display: inline-block;
  padding: 4px 9px;
  margin: 3px 5px 3px 0;
  background: #fff;
  color: var(--ink-2);
  border: 1px solid var(--line-light-2);
  border-radius: 2px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
}
.rm-tag.rm-tag-hot {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
@media (max-width: 760px) {
  .rm-row { grid-template-columns: 1fr; }
  .rm-cell { border-right: none; border-bottom: 1px dashed var(--line-light); padding: 12px 16px; }
  .rm-cell:last-child { border-bottom: none; }
}

/* =========================================================
   AGENT ROSTER (ai-execution page expansion)
   ========================================================= */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}
.agent-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 22px 22px;
  transition: border-color .25s ease, transform .25s ease;
  position: relative;
}
.agent-card::before {
  content: '';
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(200,16,46,.2));
}
.agent-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
.agent-mono {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin: 10px 0 8px;
}
.agent-card h3 {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--tx-0);
  margin: 0 0 8px;
  letter-spacing: -.005em;
}
.agent-card p {
  font-size: 13px;
  color: var(--tx-2);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 900px) { .agent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .agent-grid { grid-template-columns: 1fr; } }

/* Guardrails (4-block grid) */
.guardrail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}
.guardrail-card {
  background: var(--bg-2);
  border: 1px solid var(--line-hot);
  border-radius: var(--rad);
  padding: 26px 26px;
  position: relative;
  overflow: hidden;
}
.guardrail-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(200,16,46,.18), transparent 70%);
}
.gr-eyebrow {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.guardrail-card h3 {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--tx-0);
  margin: 0 0 10px;
  letter-spacing: -.005em;
}
.guardrail-card p {
  font-size: 14px;
  color: var(--tx-2);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 720px) { .guardrail-grid { grid-template-columns: 1fr; } }

/* =========================================================
   MATERIALS PACK DETAILS
   ========================================================= */
.materials-detail {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.md-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  background: var(--sand-2);
  border: 1px solid var(--line-light);
  border-radius: var(--rad);
  padding: 22px 22px;
  transition: border-color .25s ease, transform .25s ease;
}
.md-row:hover { border-color: var(--olive); transform: translateY(-2px); }
.md-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
  background: rgba(200,16,46,.08);
  border: 1px solid var(--red);
  border-radius: 50%;
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.md-body h3 {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-0);
  margin: 0 0 6px;
  letter-spacing: -.005em;
}
.md-body p {
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 0 0 8px;
  line-height: 1.55;
}
.md-contents {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.md-contents li {
  padding: 3px 9px;
  background: #fff;
  color: var(--ink-2);
  border: 1px solid var(--line-light-2);
  border-radius: 2px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .03em;
}
@media (max-width: 720px) { .materials-detail { grid-template-columns: 1fr; } }

/* =========================================================
   FLOW-PIPELINE VALUE-NARRATIVE ANIMATION (v2, "live")
   13s base loop, 3 continuously flowing particles staggered every ~4.3s.
   Each particle travels left-to-right along a glowing rail beneath the
   strip. As particles pass each node, the node pulses red (synced to
   particle arrival). Final node has a slow-rotating dashed verdict ring
   that locks in when a particle "lands."
   Pure CSS. Multi-layer motion. Respects prefers-reduced-motion.
   ========================================================= */

.flow-anim {
  position: relative;
  padding: 28px 0 56px;
  margin: 0 auto 8px;
  overflow: visible;
}

/* Background grid (subtle) */
.flow-anim-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
  opacity: .9;
  z-index: 0;
}

/* Telemetry header */
.flow-anim-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
.flow-anim-mono { color: var(--red); }
.flow-anim-mono.right { color: var(--tx-3); }
.flow-anim-status { color: var(--tx-1); }
.flow-anim-spacer {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 50%, transparent);
}
.flow-anim-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red-glow);
  animation: flow-anim-breathe 2.4s ease-in-out infinite;
}
@keyframes flow-anim-breathe {
  0%, 100% { opacity: .4; transform: scale(1); box-shadow: 0 0 4px var(--red-glow); }
  50%      { opacity: 1;  transform: scale(1.25); box-shadow: 0 0 14px rgba(200,16,46,.7); }
}

/* Flow-strip layered on top of the rail */
.flow-anim .flow-strip {
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
  padding-top: 0;
}

/* Node pulse triggered by particle arrival.
   Loop = 13s (full particle cycle), 3 particles = 3 hits per loop.
   Each node fires at its delay then repeats every 4.33s for 3 cycles. */
.flow-strip .flow-node {
  position: relative;
  will-change: transform, box-shadow, border-color;
  animation: axirix-node-pulse 4.333s cubic-bezier(.2,.7,.3,1) infinite;
  z-index: 2;
}
.flow-strip .flow-node:nth-child(1)  { animation-delay: 0.00s; }
.flow-strip .flow-node:nth-child(3)  { animation-delay: 0.55s; }
.flow-strip .flow-node:nth-child(5)  { animation-delay: 1.10s; }
.flow-strip .flow-node:nth-child(7)  { animation-delay: 1.65s; }
.flow-strip .flow-node:nth-child(9)  { animation-delay: 2.20s; }
.flow-strip .flow-node:nth-child(11) { animation-delay: 2.75s; }

.flow-strip .flow-node.accent {
  animation: axirix-node-pulse-verdict 4.333s cubic-bezier(.2,.7,.3,1) infinite;
  animation-delay: 3.30s;
}

@keyframes axirix-node-pulse {
  0%, 35%, 100% {
    border-color: var(--line);
    box-shadow: 0 0 0 0 rgba(200,16,46,0);
    transform: translateY(0);
  }
  6% {
    border-color: var(--red);
    box-shadow:
      0 0 0 1px rgba(200,16,46,.45),
      0 12px 26px rgba(200,16,46,.22);
    transform: translateY(-3px);
  }
  18% {
    border-color: var(--red);
    box-shadow:
      0 0 0 1px rgba(200,16,46,.18),
      0 6px 14px rgba(200,16,46,.10);
    transform: translateY(-1px);
  }
}

@keyframes axirix-node-pulse-verdict {
  0%, 50%, 100% {
    border-color: var(--red);
    box-shadow: 0 0 0 0 rgba(200,16,46,0);
    transform: translateY(0) scale(1);
    background: linear-gradient(135deg, rgba(200,16,46,.15) 0%, var(--panel) 80%);
  }
  6% {
    border-color: var(--red);
    box-shadow:
      0 0 0 2px rgba(200,16,46,.65),
      0 18px 40px rgba(200,16,46,.40);
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, rgba(200,16,46,.38) 0%, var(--panel-2) 80%);
  }
  22% {
    border-color: var(--red);
    box-shadow:
      0 0 0 1px rgba(200,16,46,.35),
      0 8px 18px rgba(200,16,46,.18);
    transform: translateY(-1px) scale(1.005);
    background: linear-gradient(135deg, rgba(200,16,46,.22) 0%, var(--panel) 80%);
  }
}

/* Arrows: brief flash as a particle passes underneath */
.flow-strip .flow-arrow {
  animation: axirix-arrow-pulse 4.333s linear infinite;
  transition: color .2s ease, transform .2s ease;
  position: relative;
  z-index: 2;
}
.flow-strip .flow-arrow:nth-child(2)  { animation-delay: 0.27s; }
.flow-strip .flow-arrow:nth-child(4)  { animation-delay: 0.82s; }
.flow-strip .flow-arrow:nth-child(6)  { animation-delay: 1.37s; }
.flow-strip .flow-arrow:nth-child(8)  { animation-delay: 1.92s; }
.flow-strip .flow-arrow:nth-child(10) { animation-delay: 2.47s; }
.flow-strip .flow-arrow:nth-child(12) { animation-delay: 3.02s; }

@keyframes axirix-arrow-pulse {
  0%, 25%, 100% {
    color: var(--tx-3);
    transform: translateX(0);
    text-shadow: none;
  }
  6% {
    color: var(--red);
    transform: translateX(4px);
    text-shadow: 0 0 8px var(--red-glow);
  }
}

/* The rail: glowing line beneath the strip */
.flow-rail {
  position: relative;
  height: 28px;
  margin-top: -10px;
  z-index: 1;
}
.flow-rail-line {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(200,16,46,0) 0%,
    rgba(200,16,46,.45) 8%,
    rgba(200,16,46,.55) 50%,
    rgba(200,16,46,.45) 92%,
    rgba(200,16,46,0) 100%);
  box-shadow: 0 0 14px rgba(200,16,46,.22);
  transform: translateY(-50%);
}
/* Tick marks under each node position on the rail */
.flow-rail-line::before,
.flow-rail-line::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 1px;
  height: 7px;
  background: rgba(200,16,46,.4);
}
.flow-rail-line::before { left: 8.33%; }
.flow-rail-line::after  { right: 8.33%; }

/* Particles continuously flowing along the rail */
.flow-particle {
  position: absolute;
  top: 50%;
  left: 4%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffd9df 0%, var(--red) 40%, var(--red-2) 100%);
  box-shadow:
    0 0 8px var(--red),
    0 0 18px rgba(200,16,46,.7),
    0 0 32px rgba(200,16,46,.35);
  transform: translate(-50%, -50%);
  animation: axirix-particle-flow 13s linear infinite;
  z-index: 3;
}
.flow-particle.p1 { animation-delay: 0s; }
.flow-particle.p2 { animation-delay: -4.333s; }
.flow-particle.p3 { animation-delay: -8.666s; }

@keyframes axirix-particle-flow {
  0% {
    left: 4%;
    opacity: 0;
    width: 6px; height: 6px;
  }
  3% {
    opacity: 1;
    width: 10px; height: 10px;
  }
  72% {
    left: 92%;
    opacity: 1;
    width: 10px; height: 10px;
  }
  78% {
    left: 96%;
    opacity: 1;
    width: 16px; height: 16px;
    box-shadow:
      0 0 14px var(--red),
      0 0 32px rgba(200,16,46,1),
      0 0 60px rgba(200,16,46,.5);
  }
  82% {
    left: 96%;
    opacity: 0;
    width: 4px; height: 4px;
  }
  100% {
    left: 4%;
    opacity: 0;
    width: 0; height: 0;
  }
}

/* Verdict zone at the end of the rail */
.flow-verdict {
  position: absolute;
  top: 50%;
  right: 0.5%;
  width: 36px;
  height: 36px;
  transform: translate(50%, -50%);
  z-index: 2;
}
.flow-verdict-ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(200,16,46,.55);
  border-radius: 50%;
  animation: axirix-verdict-spin 9s linear infinite;
}
.flow-verdict-core {
  position: absolute;
  inset: 30%;
  background: var(--red);
  border-radius: 50%;
  opacity: .35;
  animation: axirix-verdict-core 4.333s cubic-bezier(.2,.7,.3,1) infinite;
  animation-delay: 3.30s;
  box-shadow: 0 0 12px var(--red-glow);
}
@keyframes axirix-verdict-spin {
  to { transform: rotate(360deg); }
}
@keyframes axirix-verdict-core {
  0%, 50%, 100% {
    opacity: .35;
    transform: scale(1);
    box-shadow: 0 0 8px rgba(200,16,46,.3);
  }
  6% {
    opacity: 1;
    transform: scale(1.6);
    box-shadow: 0 0 22px rgba(200,16,46,.9), 0 0 44px rgba(200,16,46,.4);
  }
  20% {
    opacity: .7;
    transform: scale(1.15);
  }
}

/* Mobile: vertical pipeline */
@media (max-width: 900px) {
  .flow-anim { padding: 24px 0 40px; }
  .flow-anim-header { flex-wrap: wrap; gap: 8px; }
  .flow-anim-spacer { display: none; }
  .flow-anim-mono.right { font-size: 10px; }

  .flow-rail { display: none; }
  /* Compressed vertical version: keep the node pulse cadence */

  @keyframes axirix-arrow-pulse {
    0%, 25%, 100% {
      color: var(--tx-3);
      transform: rotate(90deg) translateX(0);
      text-shadow: none;
    }
    6% {
      color: var(--red);
      transform: rotate(90deg) translateX(4px);
      text-shadow: 0 0 8px var(--red-glow);
    }
  }
}

/* Accessibility: motion-sensitive users get a clean static state */
@media (prefers-reduced-motion: reduce) {
  .flow-strip .flow-node,
  .flow-strip .flow-node.accent,
  .flow-strip .flow-arrow,
  .flow-particle,
  .flow-anim-dot,
  .flow-verdict-ring,
  .flow-verdict-core {
    animation: none !important;
  }
  .flow-particle { opacity: 0 !important; }
}

/* =========================================================
   VENTURES (expandable)
   ========================================================= */
.venture-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.venture {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease;
}
.venture:hover { border-color: var(--line-hot); }
.venture[open] { border-color: var(--red); background: var(--panel-2); }

.venture summary {
  display: grid;
  grid-template-columns: 70px 1fr 40px;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}
.venture summary::-webkit-details-marker { display: none; }
.v-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--red);
}
.v-name {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--tx-0);
}
.v-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--tx-3);
}
.v-chev {
  justify-self: end;
  font-family: var(--f-mono);
  font-size: 22px;
  color: var(--tx-3);
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: transform .3s ease, border-color .25s ease, color .25s ease;
}
.venture[open] .v-chev { transform: rotate(45deg); border-color: var(--red); color: var(--red); }

.venture-body {
  padding: 4px 24px 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  border-top: 1px dashed var(--line);
  margin-top: 4px;
  padding-top: 22px;
}
.v-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.venture-body p {
  margin: 0;
  font-size: 14px;
  color: var(--tx-1);
  line-height: 1.55;
}
.v-note {
  grid-column: 1 / -1;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--tx-3);
  background: var(--bg-2);
  border-left: 2px solid var(--line-hot);
  padding: 8px 12px;
  margin-top: 4px;
}
.v-maturity {
  grid-column: 1 / -1;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--tx-3);
  letter-spacing: .03em;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px dashed var(--line);
}
.v-context {
  grid-column: 1 / -1;
  padding: 14px 16px;
  margin-top: 6px;
  background: rgba(200,16,46,.06);
  border-left: 2px solid var(--red);
  border-radius: 0 var(--rad) var(--rad) 0;
}
.v-context .v-label {
  color: var(--red);
  margin-bottom: 4px;
}
.v-context p {
  margin: 0;
  font-size: 14px;
  color: var(--tx-1);
  line-height: 1.55;
}
.v-trl {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  background: rgba(200,16,46,.12);
  border: 1px solid var(--red);
  border-radius: 3px;
  color: var(--red);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .1em;
  font-weight: 600;
}

/* =========================================================
   VENTURE VIDEO CARD
   ========================================================= */
.v-video {
  grid-column: 1 / -1;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--rad);
  margin-top: 12px;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  transition: transform .25s ease, box-shadow .3s ease;
  text-decoration: none;
}
.v-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  transition: opacity .35s ease, transform .5s ease;
}
.v-video:hover img { opacity: 1; transform: scale(1.03); }
.v-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(14,18,24,0) 40%, rgba(14,18,24,.78) 100%);
  transition: background .3s ease;
}
.v-video:hover .v-video-overlay {
  background: linear-gradient(180deg, rgba(14,18,24,0) 30%, rgba(14,18,24,.55) 100%);
}
.v-video-play {
  width: 64px;
  height: 64px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  padding-left: 4px;
  box-shadow: 0 8px 22px rgba(200,16,46,.38);
  transition: transform .25s ease, box-shadow .25s ease;
}
.v-video:hover .v-video-play {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(200,16,46,.55);
}
.v-video-label {
  position: absolute;
  bottom: 16px;
  left: 18px;
  right: 18px;
}
.v-video-mono {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.v-video-title {
  display: block;
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--tx-0);
  letter-spacing: -.005em;
}
@media (max-width: 560px) {
  .v-video-play { width: 52px; height: 52px; font-size: 18px; }
  .v-video-title { font-size: 13px; }
}
.v-maturity-label {
  display: inline-block;
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-right: 8px;
}

/* =========================================================
   AI DIAGRAM
   ========================================================= */
.ai-diagram {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 0 30px;
}
.ai-core {
  position: relative;
  z-index: 3;
  width: 240px;
  margin: 0 auto;
  padding: 28px 18px;
  text-align: center;
  border: 1px solid var(--red);
  background: radial-gradient(circle at 50% 30%, rgba(200,16,46,.15) 0%, var(--panel) 70%);
  border-radius: var(--rad);
  box-shadow: 0 0 40px rgba(200,16,46,.18);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(200,16,46,.13); }
  50%      { box-shadow: 0 0 38px rgba(200,16,46,.24); }
}
.core-mono {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.core-title {
  display: block;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--tx-0);
}
.ai-orbit {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ai-node {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--tx-1);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: var(--rad);
  text-align: center;
  transition: border-color .25s ease, color .25s ease, transform .25s ease;
}
.ai-node:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}
.bottom-line {
  text-align: center;
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--tx-1);
  margin: 36px auto 0;
  max-width: 720px;
}

/* =========================================================
   WHY ENGAGE
   ========================================================= */
.why-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  counter-reset: why;
}
.why-list li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 26px 22px;
  position: relative;
  transition: border-color .25s ease, transform .25s ease;
}
.why-list li:hover { border-color: var(--red); transform: translateY(-2px); }
.why-num {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--red);
  margin-bottom: 12px;
}
.why-list p {
  font-size: 14px;
  color: var(--tx-1);
  margin: 0;
  line-height: 1.55;
}

/* =========================================================
   CONTACT
   ========================================================= */
.sect.contact { padding-bottom: 60px; }
.contact-card {
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(160deg, rgba(200,16,46,.10) 0%, var(--panel) 50%);
  border: 1px solid var(--line-hot);
  border-radius: var(--rad-lg);
  padding: 44px clamp(28px, 4vw, 56px);
  text-align: center;
}
.contact-lead { margin-bottom: 32px; }
.contact-name {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--tx-0);
  letter-spacing: -.01em;
}
.contact-role {
  font-size: 14px;
  color: var(--tx-2);
  margin-top: 4px;
}
.contact-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px 28px;
  margin: 0 auto 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  max-width: 760px;
}
.contact-meta > div {
  font-size: 14px;
  color: var(--tx-1);
}
.contact-mono {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 4px;
}
.contact-cta-row {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  padding: 64px var(--gut) 28px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-col h4 {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--tx-0);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 14px;
  color: var(--tx-2);
  transition: color .2s ease;
}
.footer-col ul a:hover { color: var(--red); }
.footer-mark { height: 26px; width: auto; margin-bottom: 18px; }
.footer-tag {
  font-size: 13px;
  color: var(--tx-2);
  line-height: 1.55;
  margin: 0 0 12px;
}
.footer-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--tx-3);
  margin: 0;
}
.footer-contact-col .footer-name {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--tx-0);
  margin-bottom: 2px;
}
.footer-contact-col .footer-role {
  font-size: 12px;
  color: var(--tx-2);
  margin-bottom: 10px;
}
.footer-email {
  display: block;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--red) !important;
  margin-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
  width: fit-content;
}
.footer-email:hover { border-bottom-color: var(--red); }
.footer-phone {
  display: block;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--tx-1) !important;
  margin-bottom: 16px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
  width: fit-content;
}
.footer-phone:hover { border-bottom-color: var(--tx-1); }
.footer-meta-list {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--tx-3);
}
.footer-meta-list li {
  margin-bottom: 4px;
  padding: 0;
}
.footer-bar {
  max-width: var(--maxw);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--tx-3);
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal-group > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal-group.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-group.in-view > *:nth-child(1) { transition-delay: 0ms; }
.reveal-group.in-view > *:nth-child(2) { transition-delay: 60ms; }
.reveal-group.in-view > *:nth-child(3) { transition-delay: 120ms; }
.reveal-group.in-view > *:nth-child(4) { transition-delay: 180ms; }
.reveal-group.in-view > *:nth-child(5) { transition-delay: 240ms; }
.reveal-group.in-view > *:nth-child(6) { transition-delay: 300ms; }
.reveal-group.in-view > *:nth-child(7) { transition-delay: 360ms; }
.reveal-group.in-view > *:nth-child(8) { transition-delay: 420ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal-group > * { opacity: 1; transform: none; transition: none; }
  .radar-sweep, .orbit, .node, .ai-core { animation: none !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
  .why-list { grid-template-columns: repeat(2, 1fr); }
  .vgrid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-1);
    border-bottom: 1px solid var(--line);
    padding: 18px var(--gut) 24px;
    transform: translateY(-120%);
    transition: transform .3s ease;
    align-items: stretch;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { margin-top: 10px; text-align: center; padding: 14px 18px !important; }
  .nav-toggle { display: flex; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; }

  .vgrid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-orbit { grid-template-columns: repeat(2, 1fr); }

  .venture summary {
    grid-template-columns: 60px 1fr 32px;
    gap: 12px;
    padding: 16px 18px;
  }
  .venture-body { grid-template-columns: 1fr; gap: 16px; padding: 4px 18px 22px; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bar { flex-direction: column; }

  .flow-strip { flex-direction: column; gap: 6px; }
  .flow-arrow { transform: rotate(90deg); }
}
@media (max-width: 560px) {
  .vgrid.cols-3, .vgrid.cols-4, .cap-grid, .why-list, .ai-orbit { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 360px; }
  .node span { font-size: 9px; padding: 5px 9px; }
  .node { width: 110px; }
}
