/* Precision Federal — shared styles */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scrollbar-gutter:stable}
/* Defensive defaults for unsized / unstyled inline SVG icons.
   Any icon without explicit fill= attr falls back to line-icon style so
   it doesn't render as a solid 300x150 black shape. Large-canvas SVGs
   (hero visual, dashboard mock, pipeline, funnel, agency map, sparklines)
   override back to 100% width via scoped rules further down. */
svg{width:1em;height:1em;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.hero-visual svg,.pipeline-svg,.dashboard-section svg,.sbir-funnel-svg,.agency-map-svg,.sparkline,.pp-sparkline,.lead-svg{width:100%;height:auto}

:root {
  /* light surfaces */
  --bg: #ffffff;
  --bg-elevated: #f8fafc;
  --bg-card: #f1f5f9;
  --bg-muted: #eef2f7;
  --border: #e2e8f0;
  --border-light: #cbd5e1;
  --border-strong: #94a3b8;

  /* dark surfaces */
  --ink: #06070a;
  --ink-2: #0c0f16;
  --ink-3: #131826;
  --ink-line: #1e2636;
  --ink-line-2: #2a3346;

  /* text */
  --text: #0a0f1c;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --text-invert: #f1f5f9;
  --text-invert-dim: #94a3b8;

  /* brand */
  --accent: #1d4ed8;
  --accent-bright: #3b82f6;
  --accent-dim: #1e3a8a;
  --accent-wash: rgba(59,130,246,.08);
  --accent-glow: rgba(59,130,246,.22);
  --violet: #7c3aed;
  --violet-bright: #a78bfa;
  --gold: #d97706;
  --gold-bright: #f59e0b;
  --gold-wash: rgba(245,158,11,.08);
  --green: #16a34a;
  --green-bright: #22c55e;
  --green-wash: rgba(34,197,94,.08);
  --red: #dc2626;
  --navy: #0b1220;

  /* type */
  --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* radii */
  --r-sm: 6px; --r: 10px; --r-lg: 14px; --r-xl: 20px;
}

/* Automatic night mode — follows user's OS/browser preference */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d14;
    --bg-elevated: #0f1320;
    --bg-card: #151a28;
    --bg-muted: #1a2030;
    --border: #1e2636;
    --border-light: #2a3346;
    --border-strong: #3d4a63;
    --text: #e6ebf5;
    --text-muted: #a3acc0;
    --text-dim: #6c7794;
    --text-invert: #0a0d14;
    --accent-wash: rgba(59,130,246,.14);
    --gold-wash: rgba(245,158,11,.12);
    --green-wash: rgba(34,197,94,.12);
  }
  img, .logo-mark { filter: brightness(.95) }
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale }
body { font-family: var(--font-sans); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; font-feature-settings: "ss01","cv11" }
.mono { font-family: var(--font-mono); font-feature-settings: normal }
a { color: var(--accent-bright); text-decoration: none; transition: color .2s }
a:hover { color: var(--accent-dim) }
img, svg { display: block; max-width: 100% }
::selection { background: var(--accent); color: #fff }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px }

/* Animations */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px) } to { opacity:1; transform:translateY(0) } }
@keyframes fadeIn { from { opacity:0 } to { opacity:1 } }
@keyframes pulse { 0%,100% { opacity:1 } 50% { opacity:.35 } }
@keyframes scan { 0% { transform: translateY(-100%) } 100% { transform: translateY(120vh) } }
@keyframes tickerL { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes orbit { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }
@keyframes floatY { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
@keyframes pipelineDash { to { stroke-dashoffset: -40 } }
@keyframes blip { 0%,100% { opacity: .25; transform: scale(1) } 50% { opacity: 1; transform: scale(1.15) } }
@keyframes sweep { 0% { transform: rotate(0deg) } 100% { transform: rotate(360deg) } }
@keyframes meshDrift { 0%,100% { transform: translate(0,0) } 50% { transform: translate(-30px, -20px) } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease }
.reveal.visible { opacity: 1; transform: translateY(0) }

/* ── Nav ── */
nav#nav { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; z-index: 1000 !important; border-bottom: 1px solid var(--border) !important; background: rgba(255,255,255,.96) !important; backdrop-filter: blur(14px) saturate(180%) !important; -webkit-backdrop-filter: blur(14px) saturate(180%) !important; transition: background .25s, border-color .25s }
nav#nav.scrolled { background: rgba(255,255,255,1); border-bottom-color: var(--border-strong, var(--border)) }
@media (prefers-color-scheme: dark) {
  nav#nav { background: rgba(10,13,20,.92) !important; border-bottom-color: var(--border) !important }
  nav#nav.scrolled { background: rgba(10,13,20,.98) !important; border-bottom-color: var(--border-strong, var(--border)) !important }
}
nav#nav .wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0 }
.logo-mark { width: 32px; height: 32px; display: block; object-fit: contain; flex-shrink: 0; border: 0; background: transparent; border-radius: 0 }
.logo-mark::before { content: none }
@media (prefers-color-scheme: dark) { .logo-mark { filter: brightness(1.02) } }
.logo-text { font-weight: 800; font-size: 14px; letter-spacing: .08em; color: var(--text) }
.logo-text span { color: var(--accent-bright) }
nav#nav .links { display: flex; align-items: center; gap: 28px }
nav#nav .links a { color: var(--text-muted); font-size: 13.5px; font-weight: 500; letter-spacing: .005em; transition: color .2s; position: relative }
nav#nav .links a:hover { color: var(--text) }
nav#nav .links a:not(.nav-cta)::after { content: ''; position: absolute; bottom: -22px; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: center; transition: transform .2s }
nav#nav .links a:not(.nav-cta):hover::after { transform: scaleX(1) }
.nav-cta { background: var(--text) !important; color: #fff !important; padding: 9px 18px; border-radius: var(--r-sm); font-weight: 600; font-size: 13px; transition: all .2s }
.nav-cta:hover { background: var(--accent) !important; color: #fff !important; transform: translateY(-1px); box-shadow: 0 6px 24px var(--accent-glow) }
@media (prefers-color-scheme: dark) {
  .nav-cta { background: var(--accent) !important }
}

/* ── Sections ── */
section { padding: 120px 0 }
section.tight { padding: 64px 0 }
section.xl { padding: 160px 0 }

.eyebrow { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .22em; color: var(--accent-bright); margin-bottom: 20px; display: inline-flex; align-items: center; gap: 10px }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent-bright) }
.eyebrow.gold { color: var(--gold-bright) }
.eyebrow.gold::before { background: var(--gold-bright) }
.eyebrow.green { color: var(--green-bright) }
.eyebrow.green::before { background: var(--green-bright) }
.section-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .22em; color: var(--accent-bright); margin-bottom: 20px }
.section-title { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -2px; line-height: 1.05; color: var(--text); max-width: 820px }
.section-title .gradient { background: linear-gradient(135deg, var(--accent-dim), var(--accent-bright) 60%, #6366f1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.section-title .gold-gradient { background: linear-gradient(135deg, #b45309, var(--gold-bright) 60%, #fbbf24); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.section-desc { font-size: 17px; color: var(--text-muted); margin-top: 20px; max-width: 680px; line-height: 1.65 }

/* dark section */
.dark { background: var(--ink); color: var(--text-invert) }
.dark .section-title, .dark h1, .dark h2, .dark h3, .dark h4 { color: var(--text-invert) }
.dark .section-desc, .dark p { color: #b8c2d4 }
.dark .eyebrow, .dark .section-label { color: var(--accent-bright) }
.dark a { color: var(--accent-bright) }
.dark a:hover { color: #fff }

/* ── Hero (dark cinematic default for homepage) ── */
.hero { min-height: 70vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 64px; background: var(--bg); color: var(--text) }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37,99,235,.06), transparent),
  radial-gradient(ellipse 60% 40% at 80% 100%, rgba(37,99,235,.03), transparent);
  pointer-events: none }
.hero-grid { position: absolute; inset: 0; background-image:
  linear-gradient(rgba(37,99,235,.06) 1px, transparent 1px),
  linear-gradient(90deg, rgba(37,99,235,.06) 1px, transparent 1px);
  background-size: 80px 80px; pointer-events: none }
.hero-scan { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: scan 8s linear infinite; opacity: .15 }
.hero-content { position: relative; z-index: 2; padding: 80px 0; width: 100% }

/* Dark hero (homepage) — cinematic gradient-mesh with orbital architecture */
.hero.hero-dark { background: #05070d; color: var(--text-invert); min-height: 96vh; padding-top: 64px }
.hero.hero-dark .hero-mesh { position: absolute; inset: -10%; background:
  radial-gradient(ellipse 60% 45% at 22% 28%, rgba(59,130,246,.32), transparent 60%),
  radial-gradient(ellipse 55% 40% at 78% 20%, rgba(124,58,237,.28), transparent 60%),
  radial-gradient(ellipse 50% 40% at 55% 85%, rgba(37,99,235,.22), transparent 60%),
  radial-gradient(ellipse 40% 30% at 10% 90%, rgba(16,185,129,.12), transparent 60%);
  filter: blur(10px); pointer-events: none; animation: meshDrift 18s ease-in-out infinite }
.hero.hero-dark .hero-grid { background-image:
  linear-gradient(rgba(96,165,250,.06) 1px, transparent 1px),
  linear-gradient(90deg, rgba(96,165,250,.06) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000, transparent 75%) }
.hero.hero-dark .hero-scan { opacity: .35 }
.hero.hero-dark .hero-content { padding: 80px 0 }

.hero-layout { display: grid; grid-template-columns: 1.15fr .95fr; gap: 64px; align-items: center }
@media (max-width: 1000px) { .hero-layout { grid-template-columns: 1fr; gap: 48px } }

.hero.hero-dark h1 { color: #fff; max-width: 720px }
.hero.hero-dark .hero-sub { color: #b8c2d4 }
.hero.hero-dark .hero-sub strong { color: #fff }
.hero.hero-dark .hero-tag { border-color: rgba(148,163,184,.22); background: rgba(15,23,42,.55); backdrop-filter: blur(8px) }
.hero.hero-dark .hero-tag span { color: #e2e8f0 }
.hero.hero-dark .breadcrumb a { color: #94a3b8 }
.hero.hero-dark .breadcrumb a:hover { color: #fff }

.hero-tag { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--border); background: var(--bg-elevated); border-radius: 100px; padding: 6px 16px 6px 8px; margin-bottom: 28px; animation: fadeUp .6s ease both }
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; box-shadow: 0 0 12px var(--green-bright) }
.hero-tag span { font-size: 11.5px; color: var(--text-muted); font-weight: 500; letter-spacing: .08em; text-transform: uppercase }

.hero h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -2.8px; color: var(--text); max-width: 720px; animation: fadeUp .7s ease .08s both }
.hero h1 .gradient { background: linear-gradient(135deg, var(--accent-dim), var(--accent-bright) 60%, #6366f1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.hero.hero-dark h1 .gradient { background: linear-gradient(135deg, #60a5fa 0%, #818cf8 50%, #c084fc 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.hero h1 em { font-style: normal; color: var(--text-dim); font-weight: 400 }
.hero.hero-dark h1 em { color: #94a3b8; font-weight: 300 }

.hero-sub { font-size: 17.5px; color: var(--text-muted); max-width: 600px; margin-top: 24px; line-height: 1.7; font-weight: 400; animation: fadeUp .7s ease .16s both }
.hero-sub strong { color: var(--text); font-weight: 700 }

.hero-actions { display: flex; gap: 14px; margin-top: 36px; animation: fadeUp .7s ease .24s both; flex-wrap: wrap }

/* Hero visual (architecture orbit) */
.hero-visual { position: relative; aspect-ratio: 1/1; max-width: 520px; margin-left: auto; animation: fadeIn 1.2s ease .3s both }
.hero-visual svg { width: 100%; height: 100% }
@media (max-width: 1000px) { .hero-visual { max-width: 420px; margin: 0 auto } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 8px; font-weight: 600; font-size: 14px; border: none; cursor: pointer; transition: all .25s; letter-spacing: .005em; white-space: nowrap }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 8px 24px rgba(29,78,216,.3) }
.btn-primary:hover { background: var(--accent-bright); color: #fff; transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 12px 36px var(--accent-glow) }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-light) }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-wash) }
.dark .btn-outline, .hero.hero-dark .btn-outline { color: #f1f5f9; border-color: var(--ink-line-2); background: rgba(255,255,255,.03) }
.dark .btn-outline:hover, .hero.hero-dark .btn-outline:hover { border-color: var(--accent-bright); color: #fff; background: rgba(59,130,246,.12) }
.btn-ghost { background: transparent; color: var(--text); padding: 12px 0; font-weight: 600 }
.btn-ghost:hover { color: var(--accent) }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: #1a1203; box-shadow: 0 8px 24px rgba(245,158,11,.3) }
.btn-gold:hover { transform: translateY(-2px); color: #1a1203; box-shadow: 0 12px 36px rgba(245,158,11,.42) }

/* Hero metrics strip */
.hero-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); animation: fadeUp .7s ease .32s both }
.hero-metric { padding: 24px 24px 24px 0; position: relative }
.hero-metric + .hero-metric { padding-left: 28px; border-left: 1px solid var(--border) }
.hero-metric .val { font-family: var(--font-mono); font-size: 30px; font-weight: 700; color: var(--text); letter-spacing: -1px; line-height: 1 }
.hero-metric .val .unit { color: var(--accent); font-size: 18px }
.hero-metric .label { font-size: 10.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .14em; margin-top: 10px; font-weight: 500; line-height: 1.4 }
.hero.hero-dark .hero-metrics { border-top-color: rgba(148,163,184,.16); border-bottom-color: rgba(148,163,184,.16) }
.hero.hero-dark .hero-metric + .hero-metric { border-left-color: rgba(148,163,184,.16) }
.hero.hero-dark .hero-metric .val { color: #fff }
.hero.hero-dark .hero-metric .val .unit { color: var(--accent-bright) }
.hero.hero-dark .hero-metric .label { color: #94a3b8 }

/* ── Breadcrumb ── */
.breadcrumb { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); margin-bottom: 28px; text-transform: uppercase; letter-spacing: .2em }
.breadcrumb a { color: var(--text-muted) }
.breadcrumb a:hover { color: var(--accent) }
.breadcrumb .sep { color: var(--text-dim); margin: 0 10px }

/* ── Article ── */
.article-content { max-width: 760px; font-size: 17px; line-height: 1.75; color: var(--text-muted) }

/* H2: left accent bar */
.article-content h2 {
  font-size: 28px; font-weight: 800; color: var(--text); margin: 56px 0 18px;
  letter-spacing: -.7px; line-height: 1.2;
  padding-left: 18px; position: relative;
}
.article-content h2::before {
  content: '';
  position: absolute; left: 0; top: 5px; bottom: 5px;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-bright), var(--violet));
  border-radius: 2px;
}

.article-content h3 { font-size: 20px; font-weight: 700; color: var(--text); margin: 36px 0 12px; letter-spacing: -.3px }
.article-content p { margin-bottom: 20px }
.article-content ul, .article-content ol { margin: 16px 0 24px 24px }
.article-content li { margin-bottom: 10px }
.article-content li::marker { color: var(--accent-bright) }
.article-content strong { color: var(--text); font-weight: 700 }
.article-content code { font-family: var(--font-mono); background: var(--bg-card); padding: 2px 6px; border-radius: 4px; font-size: 14px; color: var(--accent-dim) }
.article-content blockquote { border-left: 3px solid var(--accent); padding: 12px 0 12px 24px; margin: 28px 0; color: var(--text); font-weight: 500; background: var(--accent-wash); border-radius: 0 var(--r) var(--r) 0 }

/* Lede — large opening paragraph (add .lede class to first p for emphasis) */
.article-content .lede { font-size: 19px; line-height: 1.7; color: var(--text); font-weight: 400; border-bottom: 1px solid var(--border); padding-bottom: 24px; margin-bottom: 32px }

/* Step list — numbered cards */
.article-content .step-list { list-style: none; padding: 0; margin: 20px 0 28px; counter-reset: step }
.article-content .step-list li {
  padding: 16px 20px 16px 62px; background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  margin-bottom: 10px; position: relative; counter-increment: step; margin-left: 0;
}
.article-content .step-list li::before {
  content: counter(step); position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; background: var(--accent); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 11px; font-family: var(--font-mono);
}
.article-content .step-list li::marker { color: transparent }

/* Inline highlight */
.hl { background: var(--accent-wash); color: var(--accent-dim); font-weight: 600; padding: 1px 4px; border-radius: 3px; border-bottom: 1px solid rgba(59,130,246,.25) }
.hl.gold { background: var(--gold-wash); color: var(--gold); border-color: rgba(245,158,11,.3) }
.hl.green { background: var(--green-wash); color: var(--green); border-color: rgba(34,197,94,.3) }

/* ── Card grids ── */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-top: 56px }
.cap-grid.cols-2 { grid-template-columns: repeat(2, 1fr) }
.cap-grid.cols-4 { grid-template-columns: repeat(4, 1fr) }
.cap-card { background: var(--bg); padding: 36px 30px; position: relative; transition: background .25s, transform .25s, box-shadow .25s; cursor: default; display: block; color: inherit }
.cap-card:hover { background: var(--bg-elevated); color: inherit }
a.cap-card { cursor: pointer }
a.cap-card:hover { background: var(--bg-elevated); color: inherit; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(29,78,216,.1); z-index: 2 }
a.cap-card:hover h3 { color: var(--accent) }
a.cap-card:active { transform: translateY(0); filter: brightness(.98) }
a.cap-card:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: -2px; z-index: 2 }
a.cap-card::after { content: '→'; position: absolute; top: 30px; right: 24px; font-size: 18px; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s }
a.cap-card:hover::after { opacity: 1; transform: translateX(0) }
.cap-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0; transition: opacity .3s }
.cap-card:hover::before { opacity: 1 }
.cap-num { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); margin-bottom: 18px; letter-spacing: .1em }
.cap-card h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; letter-spacing: -.2px; transition: color .2s }
.cap-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6 }
.cap-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px }
.cap-tags span { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); background: var(--bg-card); border: 1px solid var(--border); padding: 4px 9px; border-radius: 4px; letter-spacing: .03em }

/* Capability icon block */
.cap-icon { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent-wash), transparent); border: 1px solid rgba(59,130,246,.22); color: var(--accent); margin-bottom: 22px; position: relative }
.cap-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6 }
.cap-icon.violet { background: linear-gradient(135deg, rgba(124,58,237,.12), transparent); border-color: rgba(124,58,237,.28); color: var(--violet) }
.cap-icon.gold { background: linear-gradient(135deg, var(--gold-wash), transparent); border-color: rgba(245,158,11,.28); color: var(--gold) }
.cap-icon.green { background: linear-gradient(135deg, var(--green-wash), transparent); border-color: rgba(34,197,94,.28); color: var(--green) }
.cap-icon.cyan { background: linear-gradient(135deg, rgba(6,182,212,.10), transparent); border-color: rgba(6,182,212,.28); color: #0891b2 }
.cap-icon.rose { background: linear-gradient(135deg, rgba(244,63,94,.08), transparent); border-color: rgba(244,63,94,.24); color: #e11d48 }

/* dark variant */
.dark .cap-grid { background: var(--ink-line); border-color: var(--ink-line) }
.dark .cap-card { background: var(--ink-2); color: var(--text-invert) }
.dark .cap-card:hover, .dark a.cap-card:hover { background: var(--ink-3); color: var(--text-invert) }
.dark a.cap-card:hover h3 { color: var(--accent-bright) }
.dark .cap-card h3 { color: #fff }
.dark .cap-card p { color: #94a3b8 }
.dark .cap-num { color: #64748b }

@media (max-width: 1000px) { .cap-grid.cols-4 { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 700px) { .cap-grid, .cap-grid.cols-2, .cap-grid.cols-4 { grid-template-columns: 1fr } }

/* ── FAQ ── */
.faq-list { margin-top: 48px; max-width: 840px }
.faq-item { border-bottom: 1px solid var(--border); padding: 28px 0 }
.faq-item:first-child { border-top: 1px solid var(--border) }
.faq-q { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -.2px; margin-bottom: 12px }
.faq-a { font-size: 15.5px; color: var(--text-muted); line-height: 1.75 }
.faq-a p { margin-bottom: 12px }
.faq-a p:last-child { margin-bottom: 0 }

/* ── Stat grid ── */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-top: 40px }
.stat-grid.cols-3 { grid-template-columns: repeat(3, 1fr) }
.stat-grid.cols-2 { grid-template-columns: repeat(2, 1fr) }
.stat-card { background: var(--bg); padding: 32px 24px; text-align: left }
.stat-card .val { font-family: var(--font-mono); font-size: 38px; font-weight: 700; color: var(--text); letter-spacing: -1.2px; line-height: 1 }
.stat-card .val .unit { color: var(--accent); font-size: 22px }
.stat-card .label { font-size: 11.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .15em; margin-top: 10px; font-weight: 500 }
.stat-card .desc { font-size: 13px; color: var(--text-dim); margin-top: 8px; line-height: 1.55 }

/* ── Info box ── */
.info-box { background: var(--accent-wash); border: 1px solid rgba(59,130,246,.2); border-radius: var(--r-lg); padding: 28px; margin: 32px 0 }
.info-box .label { font-family: var(--font-mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 12px }
.info-box h4 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px }
.info-box p { color: var(--text-muted); font-size: 15px; line-height: 1.7 }

/* ── Related grid ── */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px }
.related-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; color: inherit; transition: all .2s; display: block; cursor: pointer; position: relative }
.related-card:hover { border-color: var(--accent); transform: translateY(-2px); color: inherit; box-shadow: 0 10px 32px rgba(29,78,216,.14) }
.related-card:active { transform: translateY(0); filter: brightness(.98) }
.related-card:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px }
.related-card .cat { font-family: var(--font-mono); font-size: 10px; color: var(--accent); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 8px }
.related-card h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px }
.related-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6 }

/* ── Agency/logo wall ── */
.logo-wall { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1px; background: var(--ink-line); border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); margin-top: 64px }
.logo-wall .cell { background: var(--ink); padding: 28px 16px; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 11px; color: #64748b; letter-spacing: .15em; text-transform: uppercase; text-align: center; line-height: 1.3; position: relative; cursor: pointer; transition: color .2s, background .2s, transform .2s, box-shadow .2s; outline-offset: -2px }
.logo-wall a.cell::after { content: '→'; position: absolute; top: 10px; right: 12px; font-size: 13px; color: var(--accent-bright); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; font-family: var(--font-sans) }
.logo-wall .cell:hover { color: #fff; background: var(--accent); z-index: 2; box-shadow: 0 0 0 1px var(--accent-bright), 0 10px 28px rgba(29,78,216,.45) }
.logo-wall a.cell:hover::after { opacity: 1; transform: translateX(0); color: #fff }
.logo-wall .cell:active { transform: scale(.98); filter: brightness(.92) }
.logo-wall .cell:focus-visible { outline: 2px solid var(--accent-bright); z-index: 2 }
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(4, 1fr) } }
@media (max-width: 500px) { .logo-wall { grid-template-columns: repeat(3, 1fr) } }

/* ── Ticker ── */
.ticker { overflow: hidden; border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); background: var(--ink-2); padding: 18px 0; white-space: nowrap }
.ticker-track { display: inline-flex; gap: 48px; animation: tickerL 60s linear infinite }
.ticker span { font-family: var(--font-mono); font-size: 12px; color: #94a3b8; letter-spacing: .1em; text-transform: uppercase }
.ticker span.green { color: var(--green) }
.ticker span.gold { color: var(--gold-bright) }
.ticker span.blue { color: var(--accent-bright) }

/* ── Proof card ── */
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px }
.proof-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px; position: relative; overflow: hidden; transition: all .25s }
.proof-card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: 0 20px 48px rgba(15,23,42,.08) }
.proof-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-bright)) }
.proof-agency { font-family: var(--font-mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 16px; display: flex; align-items: center; gap: 10px }
.proof-card h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 12px; letter-spacing: -.3px }
.proof-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.65 }
.proof-result { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 8px }
.proof-result .indicator { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green) }
.proof-result span { font-size: 13px; color: var(--green); font-weight: 600 }
.proof-card .spark { margin-top: 18px; height: 40px; width: 100% }

/* ── CTA ── */
.cta-section { position: relative; text-align: center; padding: 140px 0; overflow: hidden; background: var(--ink); color: var(--text-invert) }
.cta-section::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 50% at 50% 50%, rgba(59,130,246,.18), transparent 60%),
  radial-gradient(ellipse 35% 30% at 25% 40%, rgba(124,58,237,.18), transparent 60%),
  radial-gradient(ellipse 35% 30% at 80% 60%, rgba(34,197,94,.10), transparent 60%);
  pointer-events: none }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 700px; height: 500px; background: radial-gradient(circle, var(--accent-glow), transparent 60%); pointer-events: none }
.cta-section h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -2px; line-height: 1.02; position: relative; color: #fff }
.cta-section h2 .gradient { background: linear-gradient(135deg, #60a5fa, #818cf8, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.cta-section .sub { color: #b8c2d4; font-size: 18px; margin-top: 20px; position: relative; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6 }
.cta-section .btn { margin-top: 36px; position: relative }

/* ── Terminal ── */
.terminal { background: #0a0f1c; border: 1px solid #1e293b; border-radius: var(--r-lg); overflow: hidden; margin-top: 0; box-shadow: 0 30px 80px rgba(5,10,25,.5), 0 0 0 1px rgba(59,130,246,.15) }
.terminal-bar { background: #141b2d; padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #1e293b }
.terminal-dot { width: 10px; height: 10px; border-radius: 50% }
.td-r { background: #ff5f57 } .td-y { background: #febc2e } .td-g { background: #28c840 }
.terminal-title { font-family: var(--font-mono); font-size: 11px; color: #64748b; margin-left: 10px; letter-spacing: .08em }
.terminal-body { padding: 22px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.8; color: #cbd5e1 }
.terminal-body .blue { color: #60a5fa }
.terminal-body .green { color: #4ade80 }
.terminal-body .gold { color: #fbbf24 }
.terminal-body .dim { color: #64748b }

/* ── Footer ── */
footer { border-top: 1px solid var(--ink-line); padding: 72px 0 40px; background: var(--ink); color: var(--text-invert) }
/* Legacy dark-footer logo rules (no longer used — .site-footer is light) */
.site-footer .logo-text { color: var(--text) }
.site-footer .logo-text span { color: var(--accent-bright) }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px }
.foot-brand .logo { margin-bottom: 18px }
.foot-brand p { font-size: 13.5px; color: #94a3b8; line-height: 1.65; max-width: 320px }
.foot-col h5 { font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: #64748b; margin-bottom: 18px }
.foot-col a { display: block; font-size: 13.5px; color: #cbd5e1; margin-bottom: 12px; transition: color .2s }
.foot-col a:hover { color: #fff }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--ink-line); font-size: 12px; color: #64748b; font-family: var(--font-mono); letter-spacing: .05em }

/* ══════════════════════════════════════════
   NEW: Homepage visual components
   ══════════════════════════════════════════ */

/* Pipeline section (light) */
.pipeline-section { background: var(--bg); padding: 120px 0; position: relative; overflow: hidden }
.pipeline-section::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 50% 40% at 10% 20%, var(--accent-wash), transparent 60%),
  radial-gradient(ellipse 40% 30% at 90% 80%, var(--gold-wash), transparent 60%);
  pointer-events: none }
.pipeline-section > .container { position: relative }
.pipeline-diagram { margin-top: 64px; padding: 40px; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--bg); position: relative; overflow: hidden }
.pipeline-diagram::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 60%); z-index: 0 }
.pipeline-svg { position: relative; z-index: 1; width: 100%; height: auto }
.pipeline-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; position: relative; z-index: 1 }
.pipeline-step { padding: 20px 4px }
.pipeline-step .num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; font-weight: 700 }
.pipeline-step h4 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px; letter-spacing: -.2px }
.pipeline-step p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6 }
@media (max-width: 800px) { .pipeline-steps { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 500px) { .pipeline-steps { grid-template-columns: 1fr } }

/* Dashboard mockup (system in production) */
.dashboard-section { background: var(--navy); color: #e6ebf5; padding: 140px 0; position: relative; overflow: hidden }
.dashboard-section::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 40% at 80% 10%, rgba(59,130,246,.22), transparent 60%),
  radial-gradient(ellipse 50% 40% at 10% 90%, rgba(124,58,237,.18), transparent 60%);
  pointer-events: none }
.dashboard-section > .container { position: relative }
.dashboard-section .eyebrow { color: #60a5fa }
.dashboard-section .section-title { color: #fff; max-width: 820px }
.dashboard-section .section-title .gradient { background: linear-gradient(135deg, #60a5fa, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.dashboard-section .section-desc { color: #a3acc0 }

.dashboard-mock { margin-top: 56px; background: #0f1624; border: 1px solid rgba(148,163,184,.18); border-radius: var(--r-xl); box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 0 1px rgba(59,130,246,.15); overflow: hidden }
.dashboard-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #0a1020; border-bottom: 1px solid rgba(148,163,184,.14) }
.dashboard-bar .dot { width: 10px; height: 10px; border-radius: 50% }
.dashboard-bar .dot.r { background: #ff5f57 } .dashboard-bar .dot.y { background: #febc2e } .dashboard-bar .dot.g { background: #28c840 }
.dashboard-bar .url { font-family: var(--font-mono); font-size: 11px; color: #64748b; margin-left: 14px; letter-spacing: .06em }
.dashboard-bar .url .lock { color: #22c55e; margin-right: 6px }
.dashboard-body { display: grid; grid-template-columns: 220px 1fr; min-height: 440px }
.dash-nav { background: #0a1020; border-right: 1px solid rgba(148,163,184,.1); padding: 20px 14px }
.dash-nav .brand { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: #60a5fa; text-transform: uppercase; font-weight: 700; padding: 4px 10px 16px; border-bottom: 1px solid rgba(148,163,184,.1) }
.dash-nav .item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; font-size: 12.5px; color: #a3acc0; border-radius: 6px; margin-top: 6px; cursor: default }
.dash-nav .item svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6 }
.dash-nav .item.active { background: rgba(59,130,246,.14); color: #e6ebf5 }
.dash-main { padding: 24px 28px; overflow: hidden }
.dash-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px }
.dash-title { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: -.2px }
.dash-title .pill { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; font-family: var(--font-mono); font-size: 10px; color: #22c55e; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.28); padding: 3px 8px; border-radius: 100px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; vertical-align: middle }
.dash-title .pill .d { width: 5px; height: 5px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite }
.dash-date { font-family: var(--font-mono); font-size: 11px; color: #64748b; letter-spacing: .1em }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px }
.dash-kpi { background: #0a1020; border: 1px solid rgba(148,163,184,.1); border-radius: 8px; padding: 14px 14px }
.dash-kpi .k { font-family: var(--font-mono); font-size: 9.5px; color: #64748b; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 6px }
.dash-kpi .v { font-family: var(--font-mono); font-size: 22px; color: #fff; font-weight: 700; letter-spacing: -.5px }
.dash-kpi .v .u { color: #60a5fa; font-size: 14px }
.dash-kpi .d { font-size: 10.5px; color: #22c55e; margin-top: 4px; font-family: var(--font-mono) }
.dash-kpi .d.down { color: #f87171 }
.dash-charts { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px }
.dash-panel { background: #0a1020; border: 1px solid rgba(148,163,184,.1); border-radius: 8px; padding: 16px 16px }
.dash-panel .p-title { font-size: 11.5px; color: #a3acc0; font-weight: 600; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center }
.dash-panel .p-title span.legend { font-family: var(--font-mono); font-size: 10px; color: #64748b; font-weight: 500 }
.dash-panel .p-title span.legend i { display: inline-block; width: 8px; height: 8px; background: #60a5fa; border-radius: 2px; margin-right: 4px; vertical-align: middle }
.dash-panel .p-title span.legend i.g { background: #22c55e }
.dash-chart { width: 100%; height: 160px }
.dash-list { display: flex; flex-direction: column; gap: 10px; margin-top: 4px }
.dash-list .r { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: #cbd5e1; font-family: var(--font-mono); padding: 6px 0; border-bottom: 1px solid rgba(148,163,184,.08) }
.dash-list .r:last-child { border: none }
.dash-list .r .lbl { color: #a3acc0 }
.dash-list .r .v { color: #fff; font-weight: 700 }
.dash-list .r .v.ok { color: #22c55e }
.dash-list .r .v.warn { color: #fbbf24 }

@media (max-width: 900px) {
  .dashboard-body { grid-template-columns: 1fr }
  .dash-nav { display: none }
  .dash-kpis { grid-template-columns: repeat(2, 1fr) }
  .dash-charts { grid-template-columns: 1fr }
}

/* Agency coverage map (dark wall with grouped districts) */
.agency-map-section { background: #05070d; color: #e6ebf5; padding: 140px 0; position: relative; overflow: hidden }
.agency-map-section::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 50% 40% at 30% 10%, rgba(59,130,246,.18), transparent 60%),
  radial-gradient(ellipse 50% 40% at 70% 90%, rgba(245,158,11,.10), transparent 60%);
  pointer-events: none }
.agency-map-section > .container { position: relative }
.agency-map-section .eyebrow { color: #60a5fa }
.agency-map-section .section-title { color: #fff }
.agency-map-section .section-title .gradient { background: linear-gradient(135deg, #60a5fa, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.agency-map-section .section-desc { color: #a3acc0 }
.coverage-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px }
.coverage-group { background: rgba(15,22,36,.6); border: 1px solid rgba(148,163,184,.14); border-radius: var(--r-lg); padding: 20px 18px; backdrop-filter: blur(6px); position: relative; overflow: hidden }
.coverage-group::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--grp-color, #60a5fa), transparent); opacity: .8 }
.coverage-group .gh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px }
.coverage-group .gh .name { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--grp-color, #60a5fa); font-weight: 700 }
.coverage-group .gh .count { font-family: var(--font-mono); font-size: 11px; color: #64748b }
.coverage-group a { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; margin: 0 -6px; border-radius: 6px; font-size: 12.5px; color: #cbd5e1; font-weight: 500; transition: background .2s, color .2s }
.coverage-group a:hover { background: rgba(59,130,246,.14); color: #fff }
.coverage-group a .st { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; color: #64748b; text-transform: uppercase }
.coverage-group a .st.live { color: #22c55e }
@media (max-width: 1000px) { .coverage-groups { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 600px) { .coverage-groups { grid-template-columns: 1fr } }

/* SBIR funnel (light) */
.sbir-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--border) }
.sbir-stat { background: var(--bg); padding: 36px 28px; position: relative }
.sbir-stat .num { font-family: var(--font-mono); font-size: 44px; font-weight: 700; color: var(--text); letter-spacing: -1.6px; line-height: 1 }
.sbir-stat .num .u { color: var(--gold-bright); font-size: 24px }
.sbir-stat .lbl { font-family: var(--font-mono); font-size: 10.5px; color: var(--gold); text-transform: uppercase; letter-spacing: .2em; margin-top: 14px; font-weight: 700 }
.sbir-stat .desc { font-size: 13.5px; color: var(--text-muted); margin-top: 10px; line-height: 1.55 }
@media (max-width: 900px) { .sbir-stats { grid-template-columns: repeat(2, 1fr) } }

.sbir-funnel { margin-top: 56px; padding: 36px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-xl); position: relative; overflow: hidden }
.sbir-funnel::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 40% 60% at 0% 50%, var(--accent-wash), transparent 60%),
  radial-gradient(ellipse 40% 60% at 100% 50%, var(--gold-wash), transparent 60%);
  pointer-events: none }
.sbir-funnel > * { position: relative; z-index: 1 }
.sbir-funnel-title { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 28px }
.funnel-svg { width: 100%; height: auto }

/* Hero visual legend (orbit labels) */
.orbit-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; fill: #cbd5e1 }
.orbit-chip-label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; fill: #fff; letter-spacing: .08em }
.orbit-sub { font-family: var(--font-mono); font-size: 9px; fill: #94a3b8; letter-spacing: .14em }

/* Feature band (positioning) */
.feature-band { padding: 120px 0; background: var(--bg); position: relative; overflow: hidden }
.feature-band::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 40% 30% at 90% 10%, var(--accent-wash), transparent 60%);
  pointer-events: none }
.feature-band > .container { position: relative }
.feature-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center }
.feature-grid h2 { font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -1.8px; line-height: 1.05; color: var(--text) }
.feature-grid h2 .gradient { background: linear-gradient(135deg, var(--accent-dim), var(--accent-bright) 60%, #6366f1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.feature-grid p.lead { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-top: 24px }
.feature-points { margin-top: 8px; display: grid; gap: 14px }
.feature-point { display: flex; gap: 14px; align-items: start; padding: 16px 18px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r); transition: all .2s }
.feature-point:hover { border-color: var(--border-strong); transform: translateX(4px) }
.feature-point .dot { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--accent-wash), transparent); border: 1px solid rgba(59,130,246,.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent) }
.feature-point .dot svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2 }
.feature-point strong { font-weight: 700; color: var(--text); display: block; margin-bottom: 4px; font-size: 14.5px }
.feature-point span.body { font-size: 14px; color: var(--text-muted); line-height: 1.6 }

/* Leadership editorial */
.lead-section { padding: 140px 0; background: #05070d; border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); position: relative; overflow: hidden; color: #e6ebf5 }
.lead-section::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 50% 40% at 100% 0%, rgba(59,130,246,.14), transparent 60%),
  radial-gradient(ellipse 40% 30% at 0% 100%, rgba(124,58,237,.12), transparent 60%);
  pointer-events: none }
.lead-section > .container { position: relative }
.lead-section .eyebrow { color: #60a5fa }
.lead-section .section-title { color: #fff; max-width: 900px }
.lead-section .section-title .gradient { background: linear-gradient(135deg, #60a5fa, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; margin-top: 56px }
.lead-name { font-size: 40px; font-weight: 800; letter-spacing: -1.6px; line-height: 1.05; color: #fff }
.lead-title { font-family: var(--font-mono); font-size: 11.5px; color: var(--gold-bright); font-weight: 700; margin-top: 10px; letter-spacing: .16em; text-transform: uppercase }
.lead-bio { font-size: 16px; color: #a3acc0; line-height: 1.75; margin-top: 28px }
.lead-creds { margin-top: 32px; display: grid; gap: 10px }
.cred-row { display: flex; gap: 18px; align-items: center; padding: 18px 20px; background: rgba(15,22,36,.6); border: 1px solid rgba(148,163,184,.12); border-radius: var(--r); backdrop-filter: blur(6px); transition: all .2s }
.cred-row:hover { border-color: rgba(59,130,246,.35); transform: translateX(4px); background: rgba(15,22,36,.85) }
.cred-icon { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, rgba(59,130,246,.22), transparent); border: 1px solid rgba(59,130,246,.35); color: #60a5fa; display: flex; align-items: center; justify-content: center; flex-shrink: 0 }
.cred-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6 }
.cred-icon.gold { background: linear-gradient(135deg, rgba(245,158,11,.22), transparent); border-color: rgba(245,158,11,.38); color: var(--gold-bright) }
.cred-icon.green { background: linear-gradient(135deg, rgba(34,197,94,.22), transparent); border-color: rgba(34,197,94,.38); color: #22c55e }
.cred-icon.violet { background: linear-gradient(135deg, rgba(124,58,237,.22), transparent); border-color: rgba(124,58,237,.38); color: #c084fc }
.cred-body strong { display: block; font-size: 14.5px; color: #fff; font-weight: 700; margin-bottom: 2px }
.cred-body span { font-size: 13px; color: #94a3b8; line-height: 1.5 }

/* Contract block (light) */
.contract-section { background: var(--bg); position: relative; overflow: hidden }
.contract-section::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 40% 30% at 10% 100%, var(--accent-wash), transparent 60%);
  pointer-events: none }
.contract-section > .container { position: relative }
.contract-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-top: 56px }
.contract-block { background: var(--bg); padding: 36px }
.contract-block h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .22em; color: var(--accent); margin-bottom: 24px; display: flex; align-items: center; gap: 10px }
.contract-block h4 svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2 }
.contract-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 14px }
.contract-row:last-child { border: none }
.contract-row .k { color: var(--text-muted) }
.contract-row .v { color: var(--text); font-weight: 700; font-family: var(--font-mono); font-size: 13px; letter-spacing: .05em }
.contract-row .v.plain { font-family: var(--font-sans); letter-spacing: normal; font-size: 14px }
.contract-row .v.gold { color: var(--gold) }

/* Agency wall light version wrapper preserved for dark map replacement */
.agency-wall-section { padding: 120px 0; background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border) }
.agency-wall-section .logo-wall { background: var(--border) !important; border-top-color: var(--border) !important; border-bottom-color: var(--border) !important }
.agency-wall-section .logo-wall .cell { background: var(--bg) !important; color: var(--text-muted) !important; font-weight: 600 }
.agency-wall-section .logo-wall .cell:hover { background: var(--accent) !important; color: #fff !important }

@media (max-width: 900px) { .feature-grid, .lead-grid, .contract-grid { grid-template-columns: 1fr; gap: 40px } }

/* ── Responsive ── */
@media (max-width: 900px) {
  nav#nav .links { display: none }
  section { padding: 80px 0 }
  .hero { min-height: 80vh }
  .hero h1 { font-size: 42px; letter-spacing: -1.8px }
  .hero-metrics { grid-template-columns: repeat(2, 1fr) }
  .hero-metric + .hero-metric { border-left: none }
  .hero-metric:nth-child(3) { border-top: 1px solid var(--ink-line) }
  .hero-metric:nth-child(4) { border-top: 1px solid var(--ink-line); border-left: 1px solid var(--ink-line); padding-left: 28px }
  .stat-grid { grid-template-columns: repeat(2, 1fr) !important }
  .related-grid { grid-template-columns: 1fr }
  .proof-grid { grid-template-columns: 1fr }
  .foot-grid { grid-template-columns: 1fr 1fr }
  .foot-bottom { flex-direction: column; gap: 10px; text-align: center }
}
@media (max-width: 500px) {
  .stat-grid { grid-template-columns: 1fr !important }
  .foot-grid { grid-template-columns: 1fr }
  .hero-metrics { grid-template-columns: 1fr }
  .hero-metric + .hero-metric { border-left: none !important; border-top: 1px solid var(--ink-line); padding-left: 0 !important }
}

/* Agency page — mission-family motif system */
.agency-mark { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; background: linear-gradient(135deg, var(--accent-wash), transparent); border: 1px solid rgba(59,130,246,.22); color: var(--accent); margin-bottom: 22px }
.agency-mark.gold { background: linear-gradient(135deg, var(--gold-wash), transparent); border-color: rgba(245,158,11,.28); color: var(--gold) }
.agency-mark.green { background: linear-gradient(135deg, var(--green-wash), transparent); border-color: rgba(34,197,94,.28); color: var(--green) }
.agency-mark.navy { background: linear-gradient(135deg, rgba(11,18,32,.08), transparent); border-color: rgba(11,18,32,.18); color: var(--navy) }
.dark .agency-mark.navy { background: linear-gradient(135deg, rgba(148,163,184,.12), transparent); border-color: rgba(148,163,184,.25); color: #cbd5e1 }
.agency-mark svg { width: 26px; height: 26px }

.agency-hero-motif { --motif-accent: #60a5fa; --motif-accent-2: #c084fc; --motif-glow: rgba(96,165,250,.5); color: var(--motif-accent) }
.agency-hero-motif.navy-gold { --motif-accent: #60a5fa; --motif-accent-2: #fbbf24; --motif-glow: rgba(251,191,36,.4) }
.agency-hero-motif.accent-green { --motif-accent: #60a5fa; --motif-accent-2: #22c55e; --motif-glow: rgba(34,197,94,.4) }
.agency-hero-motif.green-accent { --motif-accent: #22c55e; --motif-accent-2: #60a5fa; --motif-glow: rgba(34,197,94,.45) }
.agency-hero-motif.accent-gold { --motif-accent: #60a5fa; --motif-accent-2: #fbbf24; --motif-glow: rgba(251,191,36,.45) }

/* Mid-page visuals */
.cycle-timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-top: 32px }
.cycle-tick { padding: 22px 16px; background: var(--bg); border-right: 1px solid var(--border); position: relative }
.cycle-tick:last-child { border-right: 0 }
.cycle-tick .tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px }
.cycle-tick .ev { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.35 }
.cycle-tick.live { background: linear-gradient(135deg, var(--accent-wash), transparent) }
.cycle-tick.live .tag { color: var(--accent-bright) }
.cycle-tick.live::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent) }
@media (max-width: 900px) { .cycle-timeline { grid-template-columns: repeat(3, 1fr) } .cycle-tick:nth-child(3) { border-right: 0 } }
@media (max-width: 500px) { .cycle-timeline { grid-template-columns: repeat(2, 1fr) } .cycle-tick { border-right: 1px solid var(--border) !important } }

.mission-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px }
.mission-tile { padding: 28px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg); transition: border-color .2s, transform .2s, box-shadow .2s }
.mission-tile:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(15,23,42,.06) }
.mission-tile .mt-icon { width: 40px; height: 40px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent-wash), transparent); border: 1px solid rgba(59,130,246,.22); color: var(--accent); margin-bottom: 18px }
.mission-tile h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.2px }
.mission-tile p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65 }
@media (max-width: 800px) { .mission-tiles { grid-template-columns: 1fr } }

.opportunity-spark { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 32px; border: 1px solid var(--border); border-radius: var(--r-lg); margin-top: 32px; background: linear-gradient(135deg, var(--accent-wash), transparent) }
.opportunity-spark svg { width: 100%; height: auto }
.opportunity-spark .os-stat { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--text-muted); margin-top: 10px }
.opportunity-spark .os-val { font-size: 34px; font-weight: 800; letter-spacing: -1px; color: var(--text) }
.opportunity-spark .os-val .unit { color: var(--accent); font-size: 18px }
@media (max-width: 700px) { .opportunity-spark { grid-template-columns: 1fr } }

/* ─────────────────────────────────────────────────────────────── */
/* Stock-photo imagery replaces SVG illustrations (2026-04-17 v2)  */
/* ─────────────────────────────────────────────────────────────── */

/* Hero full-bleed photo background layer */
.hero-photo-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0 }
.hero-photo-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .22; filter: saturate(1.15) }
.hero-photo-bg::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(11,18,32,.6) 0%, rgba(11,18,32,.8) 40%, rgba(11,18,32,.95) 100%) }

/* Hero right-side large photo card (replaces SVG orbital) */
.hero-photo-card { position: relative; aspect-ratio: 1/1; max-width: 560px; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(96,165,250,.25) inset; justify-self: end; width: 100% }
.hero-photo-card img { width:100%; height:100%; object-fit: cover; display:block; transition: transform .8s cubic-bezier(.2,.7,.3,1) }
.hero-photo-card:hover img { transform: scale(1.03) }
.hero-photo-card::after { content:''; position:absolute; inset:0; background: linear-gradient(135deg, rgba(37,99,235,.2) 0%, transparent 40%, rgba(11,18,32,.35) 100%); pointer-events:none }
.hero-photo-card .hero-photo-meta { position:absolute; left:20px; bottom:20px; right:20px; color:#e2e8f0; font-family:'Space Mono',monospace; font-size:11px; letter-spacing:1.5px; text-transform:uppercase; display:flex; justify-content:space-between; align-items:end; gap:16px }
.hero-photo-card .hpm-pill { background: rgba(11,18,32,.72); border:1px solid rgba(96,165,250,.35); backdrop-filter: blur(10px); padding:6px 12px; border-radius:100px; display:inline-flex; align-items:center; gap:8px }
.hero-photo-card .hpm-pill .dot { width:6px; height:6px; border-radius:50%; background:#34d399; box-shadow:0 0 10px #34d399 }

/* Capability photo cards (replace SVG .cap-icon) */
.cap-photo { width: 100%; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; margin-bottom: 18px; position: relative; background: #0f172a }
.cap-photo img { width:100%; height:100%; object-fit: cover; display:block; transition: transform .6s cubic-bezier(.2,.7,.3,1) }
.cap-card:hover .cap-photo img { transform: scale(1.05) }
.cap-photo::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(11,18,32,.55) 100%); pointer-events:none }

/* Generic photo-section background */
.photo-section-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none }
.photo-section-bg img { width:100%; height:100%; object-fit: cover; opacity: .18; filter: saturate(1.1) }
.photo-section-bg.dark::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(11,18,32,.85) 0%, rgba(11,18,32,.95) 100%) }
.photo-section-bg.light::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.95) 100%) }

/* Image credit / alt caption */
.img-credit { font-family:'Space Mono',monospace; font-size:10px; color: rgba(148,163,184,.55); letter-spacing: 1px; text-transform: uppercase; margin-top: 8px }

/* Standalone photo block — used inside article content for case-studies / press / about */
.photo-block { margin: 40px 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: #0f172a; position: relative }
.photo-block img { width: 100%; height: auto; display: block; aspect-ratio: 16/7; object-fit: cover }
.photo-block figcaption { padding: 14px 20px; font-family: 'Space Mono', monospace; font-size: 11px; color: var(--text-muted); letter-spacing: 1.2px; text-transform: uppercase; background: var(--bg-elevated); border-top: 1px solid var(--border) }

/* Mid-page metric tile trio */
.metric-tile-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0 }
.metric-tile { padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-elevated); position: relative; overflow: hidden }
.metric-tile::before { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background: linear-gradient(180deg, var(--accent), var(--violet)) }
.metric-tile .mt-val { font-size: 30px; font-weight: 800; letter-spacing: -.5px; color: var(--text); font-family: var(--font-mono) }
.metric-tile .mt-label { font-family: 'Space Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .15em; color: var(--text-muted); margin-top: 8px }
@media (max-width: 800px) { .metric-tile-row { grid-template-columns: 1fr } }

/* 3-box architecture diagram strip */
.arch-diagram { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: center; margin: 36px 0; padding: 28px; border: 1px solid var(--border); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--accent-wash), transparent) }
.arch-box { padding: 18px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); text-align: center }
.arch-box .ab-name { font-weight: 700; font-size: 14px; color: var(--text) }
.arch-box .ab-sub { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .12em; margin-top: 6px }
.arch-arrow { color: var(--accent); font-size: 22px; font-weight: 700 }
@media (max-width: 800px) { .arch-diagram { grid-template-columns: 1fr; gap: 12px } .arch-arrow { transform: rotate(90deg) } }

/* ─────────────────────────────────────────────────────────── */
/* Side-photo treatment for inner-page heroes (2026-04-17 v3)  */
/* Adds a real stock photo at right-side of any hero without    */
/* disrupting existing markup. Activated by .hero-with-photo.   */
/* ─────────────────────────────────────────────────────────── */

.hero.hero-with-photo { position: relative; overflow: hidden }
.hero.hero-with-photo .hero-content,
.hero.hero-with-photo .container { position: relative; z-index: 2 }
.hero-side-photo {
  position: absolute;
  top: 50%; right: 2vw;
  transform: translateY(-50%);
  width: min(44vw, 560px);
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(96,165,250,.18) inset;
  z-index: 1;
  pointer-events: none;
}
.hero-side-photo img { width:100%; height:100%; object-fit: cover; object-position: center; display:block }
.hero-side-photo::after { content:''; position:absolute; inset:0; background: linear-gradient(90deg, rgba(11,18,32,.55) 0%, transparent 30%, rgba(11,18,32,.2) 100%); pointer-events:none }
.hero-side-photo .hsp-cap { position:absolute; left:18px; bottom:16px; right:18px; font-family:'Space Mono',monospace; font-size:10px; letter-spacing:1.5px; text-transform:uppercase; color:#e2e8f0; display:flex; justify-content:space-between; gap:12px; align-items:end }
.hero-side-photo .hsp-cap .pill { background:rgba(11,18,32,.72); border:1px solid rgba(96,165,250,.3); backdrop-filter:blur(8px); padding:5px 10px; border-radius:100px; display:inline-flex; align-items:center; gap:6px }
.hero-side-photo .hsp-cap .pill .dot { width:6px; height:6px; border-radius:50%; background:#34d399; box-shadow:0 0 10px #34d399 }

/* Constrain hero content to left half when photo is present, on wide screens */
@media (min-width: 1000px) {
  .hero.hero-with-photo .container { max-width: 1240px }
  .hero.hero-with-photo .hero-content > * { max-width: 52% }
  .hero.hero-with-photo h1,
  .hero.hero-with-photo .hero-sub,
  .hero.hero-with-photo .hero-actions,
  .hero.hero-with-photo .breadcrumb,
  .hero.hero-with-photo .eyebrow { max-width: 640px }
}
@media (max-width: 900px) {
  .hero-side-photo { display: none }
}

/* ─────────────────────────────────────────────────────────── */
/* Footer — standardized across 165 pages                       */
/* ─────────────────────────────────────────────────────────── */

.site-footer { background: var(--bg-elevated); border-top: 1px solid var(--border); padding: 80px 0 40px; margin-top: 80px; position: relative }
.site-footer .container { max-width: 1240px; margin: 0 auto; padding: 0 32px }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border) }
.footer-brand { max-width: 340px }
.footer-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; text-decoration: none }
.footer-brand p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px }
.footer-creds { display: flex; flex-wrap: wrap; gap: 8px }
.footer-creds span { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--text-dim); background: var(--bg); border: 1px solid var(--border); padding: 4px 9px; border-radius: 4px; letter-spacing: .5px; text-transform: uppercase }
.footer-col h5 { font-family: 'Space Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--text); font-weight: 700; margin-bottom: 16px }
.footer-col a, .footer-col span { display: block; font-size: 13.5px; color: var(--text-muted); line-height: 1.95; text-decoration: none; transition: color .2s }
.footer-col a:hover { color: var(--accent-bright) }
.footer-muted { color: var(--text-dim) !important }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 12.5px; color: var(--text-dim); flex-wrap: wrap; gap: 12px }
.footer-bottom .footer-muted { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 1px; text-transform: uppercase }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px }
  .footer-brand { grid-column: 1/-1 }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr }
}


/* ─── Mobile hamburger nav (2026-04-17) ─── */
.nav-burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--border); border-radius: var(--r-sm); cursor: pointer; padding: 0; color: var(--text) }
.nav-burger svg { width: 20px; height: 20px; stroke-width: 2 }
.nav-burger:hover { border-color: var(--accent) }
@media (max-width: 900px) {
  nav#nav .links { display: none !important }
  nav#nav.menu-open .links {
    display: flex !important;
    position: fixed;
    top: 65px; left: 0; right: 0; bottom: auto;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 24px;
    gap: 0;
    z-index: 999;
    box-shadow: 0 24px 48px rgba(0,0,0,.12);
  }
  nav#nav.menu-open .links a { padding: 14px 16px; font-size: 15.5px; border-bottom: 1px solid var(--border-light); color: var(--text) }
  nav#nav.menu-open .links a:last-child { border-bottom: none }
  nav#nav.menu-open .links a.nav-cta { margin-top: 12px; text-align: center; border: none }
  .nav-burger { display: inline-flex }
}
@media (prefers-color-scheme: dark) {
  @media (max-width: 900px) {
    nav#nav.menu-open .links { background: rgba(10,13,20,.98); border-bottom-color: var(--border) }
    nav#nav.menu-open .links a { color: var(--text); border-bottom-color: var(--border) }
  }
  .nav-burger { color: var(--text); border-color: var(--border) }
}

/* ─── Keyboard focus rings (2026-04-17 a11y polish) ─── */
/* Consistent 2px blue focus ring for every interactive element. */
/* Only shows when navigating via keyboard (:focus-visible), not on mouse click. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
details:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent, #1d4ed8) !important;
  outline-offset: 2px !important;
  border-radius: 4px;
}
/* For heavily-styled buttons (.btn, .nav-cta, .nav-burger), thicken the ring */
.btn:focus-visible,
.nav-cta:focus-visible,
.nav-burger:focus-visible {
  outline: 3px solid var(--accent, #1d4ed8) !important;
  outline-offset: 3px !important;
}
/* Skip-to-main-content link (keyboard-only — appears only when focused) */
.skip-to-main {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 9999;
  background: var(--text, #0f172a);
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: top .15s;
}
.skip-to-main:focus { top: 12px }


/* Real SVG logo mark (replaces CSS-drawn square) */
img.logo-mark {
  width: 32px;
  height: 32px;
  display: block;
  border: none !important;
  background: transparent !important;
}
img.logo-mark::before { display: none !important }
.site-footer img.logo-mark { width: 36px; height: 36px }


/* === Agencies hub redesign (2026-04-17) === */
.ah-section { margin-top: 96px }
.ah-section:first-of-type { margin-top: 40px }

/* Section header row: monogram + label + title + stat rollup */
.ah-head { display: grid; grid-template-columns: 64px 1fr auto; gap: 24px; align-items: start; padding-bottom: 22px; border-bottom: 1px solid var(--border); margin-bottom: 28px }
.ah-mono { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; font-size: 15px; letter-spacing: .04em; background: linear-gradient(180deg, #1e3a5f, #0f2340); color: #c9a961; border: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 3px 10px rgba(15,23,42,.15) }
.ah-head .titles { min-width: 0 }
.ah-head .section-label { color: var(--cat, var(--accent-bright)); margin-bottom: 10px }
.ah-head .section-title { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -1px }
.ah-head .section-desc { font-size: 14.5px; color: var(--text-muted); margin-top: 8px; line-height: 1.6; max-width: 640px }
.ah-rollup { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .14em; white-space: nowrap }
.ah-rollup strong { color: var(--text); font-size: 13px; letter-spacing: .08em }
@media (max-width: 760px) { .ah-head { grid-template-columns: 48px 1fr; } .ah-rollup { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px } }

/* Brand palette — navy primary, gold accent. No rainbow categories. */
.ah-cat-defense,
.ah-cat-health,
.ah-cat-security,
.ah-cat-science,
.ah-cat-civilian { --cat: #1e3a5f; --cat-bright: #3b5b8a; --cat-wash: rgba(30,58,95,.05); --cat-border: rgba(30,58,95,.22); --cat-accent: #c9a961 }

/* Bento grid — gapped, no hairline-sheet look (different from cap-grid) */
.ah-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px }
.ah-bento.layout-defense  { grid-template-columns: repeat(6, 1fr) }
.ah-bento.layout-health   { grid-template-columns: repeat(6, 1fr) }
.ah-bento.layout-security { grid-template-columns: repeat(3, 1fr) }
.ah-bento.layout-science  { grid-template-columns: repeat(6, 1fr) }
.ah-bento.layout-civilian { grid-template-columns: repeat(4, 1fr) }

/* Agency card */
.ah-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 20px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r); transition: transform .22s, box-shadow .22s, border-color .22s, background .22s; color: inherit; overflow: hidden; grid-column: span 2 }
.ah-bento.layout-security .ah-card { grid-column: span 1 }
.ah-bento.layout-civilian .ah-card { grid-column: span 1 }
.ah-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: #c9a961; opacity: 0; transition: opacity .25s }
.ah-card:hover::before { opacity: 1 }
.ah-card::after { content: '→'; position: absolute; top: 20px; right: 20px; font-size: 16px; color: #1e3a5f; opacity: 0; transform: translateX(-4px); transition: opacity .22s, transform .22s }
@media (prefers-color-scheme: dark) {
  .ah-card::after { color: #60a5fa }
  .ah-card:hover { border-color: #60a5fa !important }
  .ah-card:hover h3 { color: #60a5fa !important }
  .ah-card.featured { background: linear-gradient(180deg, rgba(201,169,97,.10), var(--bg-elevated) 60%) !important }
}
.ah-card:hover { transform: translateY(-2px); border-color: #1e3a5f; box-shadow: 0 14px 32px -8px rgba(15,23,42,.12); background: var(--bg) }
.ah-card:hover::after { opacity: 1; transform: translateX(0) }
.ah-card:focus-visible { outline: 2px solid var(--cat, var(--accent-bright)); outline-offset: 2px }

.ah-card .mark { width: 64px; height: 64px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-weight: 800; font-size: 14px; letter-spacing: .03em; background: linear-gradient(180deg, #1e3a5f 0%, #0f2340 100%); color: #fff; border: 0; flex-shrink: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 2px 6px rgba(15,23,42,.12); text-shadow: 0 1px 0 rgba(0,0,0,.2); position: relative; overflow: hidden }
.ah-card .mark::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 7px; height: 2px; background: #c9a961; border-radius: 1px; opacity: .9 }
.ah-card .mark[data-long="5"] { font-size: 12px; letter-spacing: 0 }
.ah-card .mark[data-long="6"] { font-size: 11px; letter-spacing: -.01em }
/* Image mark — stock photo thumbnail tile */
.ah-card .mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block }
.ah-card .mark.has-img { background: var(--bg-muted); padding: 0 }
.ah-card .mark.has-img::after { display: none }
.ah-card .mark.has-img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,0) 55%, rgba(15,23,42,.4) 100%); z-index: 1; pointer-events: none }
.ah-card.featured .mark { width: 96px; height: 96px; border-radius: 14px }
.ah-card h3 { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -.2px; line-height: 1.25; margin: 0 }
.ah-card .sub { font-size: 13px; color: var(--text-muted); line-height: 1.55 }
.ah-card:hover h3 { color: #1e3a5f }

.ah-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px }
.ah-chip { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: #475569; background: transparent; border: 1px solid var(--border); padding: 4px 9px; border-radius: 4px; white-space: nowrap; font-weight: 600 }
.ah-chip.strong { color: #c9a961; background: rgba(201,169,97,.08); border-color: rgba(201,169,97,.4); font-weight: 700 }

/* Featured card (HHS) — spans wider, taller, with quote */
.ah-card.featured { grid-column: span 4; padding: 30px 32px; background: linear-gradient(180deg, rgba(201,169,97,.05), var(--bg) 60%); border-color: rgba(201,169,97,.4) }
.ah-card.featured .mark { width: 64px; height: 64px; border-radius: 14px; font-size: 15px }
.ah-card.featured h3 { font-size: 22px }
.ah-card.featured .badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .16em; color: #c9a961; padding: 4px 10px; background: rgba(201,169,97,.08); border: 1px solid rgba(201,169,97,.4); border-radius: 4px; align-self: flex-start; font-weight: 700 }
.ah-card.featured .badge .d { width: 6px; height: 6px; border-radius: 50%; background: #c9a961 }
.ah-card.featured blockquote { margin: 0; padding: 14px 0 4px 14px; border-left: 2px solid #c9a961; font-size: 14px; color: var(--text); line-height: 1.6; font-style: italic }

/* ── Proof strip — third-party verifiable credentials (Kaggle, SAMHSA, UEI, CAGE, SAM.gov) ── */
.proof-strip { padding: 40px 0; background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border) }
.proof-strip-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 22px; display: flex; align-items: center; gap: 10px; font-weight: 600 }
.proof-strip-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #c9a961; box-shadow: 0 0 10px rgba(201,169,97,.6) }
.proof-strip-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--border) }
@media (max-width: 900px) { .proof-strip-grid { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 560px) { .proof-strip-grid { grid-template-columns: 1fr } }
.proof-item { background: var(--bg); padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; position: relative; transition: background .2s }
.proof-item:hover { background: var(--bg-elevated) }
.proof-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: #c9a961; opacity: .7 }
.proof-val { font-family: var(--font-sans); font-weight: 800; font-size: 18px; letter-spacing: -.02em; color: #1e3a5f; line-height: 1.1 }
.proof-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; margin-top: 2px }
.proof-link { font-size: 12px; color: var(--text-muted); text-decoration: none; margin-top: auto; padding-top: 8px; font-family: var(--font-mono); letter-spacing: .02em; transition: color .2s }
.proof-link:hover { color: #1e3a5f }
@media (prefers-color-scheme: dark) {
  .proof-val { color: #e6ebf5 }
  .proof-strip-grid { background: var(--border-light) }
}

/* Card header row: mark + title stack */
.ah-card .head { display: flex; gap: 14px; align-items: flex-start }
.ah-card .head .title-stack { display: flex; flex-direction: column; gap: 4px; min-width: 0 }

/* Responsive collapses */
@media (max-width: 960px) {
  .ah-bento, .ah-bento.layout-defense, .ah-bento.layout-health, .ah-bento.layout-science { grid-template-columns: repeat(2, 1fr) }
  .ah-bento.layout-security, .ah-bento.layout-civilian { grid-template-columns: repeat(2, 1fr) }
  .ah-card, .ah-bento.layout-security .ah-card, .ah-bento.layout-civilian .ah-card { grid-column: span 1 }
  .ah-card.featured { grid-column: span 2 }
}
@media (max-width: 600px) {
  .ah-bento, .ah-bento.layout-defense, .ah-bento.layout-health, .ah-bento.layout-science, .ah-bento.layout-security, .ah-bento.layout-civilian { grid-template-columns: 1fr }
  .ah-card, .ah-card.featured { grid-column: span 1 }
  .ah-card.featured { padding: 24px }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  .ah-card { background: var(--ink-2); border-color: var(--ink-line) }
  .ah-card:hover { background: var(--ink-3) }
  .ah-chip { background: var(--ink-3); border-color: var(--ink-line-2); color: var(--text-invert-dim) }
  .ah-head { border-bottom-color: var(--ink-line) }
  .ah-card.featured { background: linear-gradient(180deg, var(--cat-wash), var(--ink-2) 70%) }
}

/* === Insights hub redesign (2026-04-17) === */
/* Reuses .ah-section, .ah-head, .ah-mono, .ah-rollup, .ah-bento, .ah-card, .ah-chips, .ah-card.featured */
/* Category accents distinct from agencies/capabilities/resources palettes */
.ah-cat-sbir       { --cat: #b91c1c; --cat-bright: #ef4444; --cat-wash: rgba(185,28,28,.08); --cat-border: rgba(185,28,28,.3) }
.ah-cat-compliance { --cat: #0f766e; --cat-bright: #14b8a6; --cat-wash: rgba(15,118,110,.08); --cat-border: rgba(15,118,110,.3) }
.ah-cat-aillm      { --cat: #4338ca; --cat-bright: #6366f1; --cat-wash: rgba(67,56,202,.08); --cat-border: rgba(67,56,202,.3) }
.ah-cat-mlops      { --cat: #0369a1; --cat-bright: #0ea5e9; --cat-wash: rgba(3,105,161,.08); --cat-border: rgba(3,105,161,.3) }
.ah-cat-market     { --cat: #be185d; --cat-bright: #ec4899; --cat-wash: rgba(190,24,93,.08); --cat-border: rgba(190,24,93,.3) }

.ah-bento.layout-sbir,
.ah-bento.layout-compliance,
.ah-bento.layout-aillm,
.ah-bento.layout-mlops,
.ah-bento.layout-market { grid-template-columns: repeat(6, 1fr) }

/* Insight post card — editorial variation of .ah-card */
.ih-card { grid-column: span 2 }
.ih-card.wide { grid-column: span 3 }
.ih-card .date-mono { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); display: flex; align-items: center; gap: 8px; margin: 0 }
.ih-card .date-mono .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--cat, var(--accent)) }
.ih-card h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.3px }
.ih-card .deck { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin: 0 }
.ah-card.featured.ih-card { grid-column: span 6 }
.ah-card.featured.ih-card h3 { font-size: 26px; letter-spacing: -.7px; line-height: 1.2 }
.ah-card.featured.ih-card .deck { font-size: 15.5px; line-height: 1.65 }

/* Archive standalone link — appears after all category sections */
.ih-archive { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding: 22px 26px; background: var(--bg-muted); border: 1px dashed var(--border-strong); border-radius: var(--r); color: inherit; transition: background .22s, border-color .22s, border-style .22s }
.ih-archive:hover { background: var(--bg-elevated); border-color: var(--accent); border-style: solid }
.ih-archive .left { display: flex; align-items: center; gap: 16px; min-width: 0 }
.ih-archive .mono-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); padding: 5px 10px; border: 1px solid var(--border); border-radius: 100px; background: var(--bg); white-space: nowrap; font-weight: 600 }
.ih-archive h4 { font-size: 15px; font-weight: 700; color: var(--text); margin: 0 }
.ih-archive p { font-size: 13px; color: var(--text-muted); margin: 2px 0 0; line-height: 1.5 }
.ih-archive .arrow { font-family: var(--font-mono); font-size: 14px; color: var(--accent); flex-shrink: 0 }

@media (max-width: 960px) {
  .ah-bento.layout-sbir, .ah-bento.layout-compliance, .ah-bento.layout-aillm, .ah-bento.layout-mlops, .ah-bento.layout-market { grid-template-columns: repeat(2, 1fr) }
  .ih-card, .ih-card.wide { grid-column: span 1 }
  .ah-card.featured.ih-card { grid-column: span 2 }
}
@media (max-width: 600px) {
  .ah-bento.layout-sbir, .ah-bento.layout-compliance, .ah-bento.layout-aillm, .ah-bento.layout-mlops, .ah-bento.layout-market { grid-template-columns: 1fr }
  .ih-card, .ih-card.wide, .ah-card.featured.ih-card { grid-column: span 1 }
  .ih-archive { flex-direction: column; align-items: flex-start }
}

/* === Resources hub redesign (2026-04-17) === */
/* Extends .ah-* system from agencies hub. Adds 4 new category palettes
   (playbook / certify / onboard / reference) and a bento variation. */
.ah-cat-playbook  { --cat: #7c3aed; --cat-bright: #a78bfa; --cat-wash: rgba(124,58,237,.08); --cat-border: rgba(124,58,237,.3) }
.ah-cat-certify   { --cat: #0891b2; --cat-bright: #22d3ee; --cat-wash: rgba(8,145,178,.08);  --cat-border: rgba(8,145,178,.3) }
.ah-cat-onboard   { --cat: #a16207; --cat-bright: #ca8a04; --cat-wash: rgba(161,98,7,.08);   --cat-border: rgba(161,98,7,.3) }
.ah-cat-reference { --cat: #475569; --cat-bright: #64748b; --cat-wash: rgba(71,85,105,.08);  --cat-border: rgba(71,85,105,.3) }

.ah-bento.layout-playbook  { grid-template-columns: repeat(6, 1fr) }
.ah-bento.layout-certify   { grid-template-columns: repeat(2, 1fr) }
.ah-bento.layout-onboard   { grid-template-columns: repeat(3, 1fr) }
.ah-bento.layout-reference { grid-template-columns: repeat(2, 1fr) }

/* Certify / onboard / reference cards default to span 1 in their grids */
.ah-bento.layout-certify   .ah-card { grid-column: span 1 }
.ah-bento.layout-onboard   .ah-card { grid-column: span 1 }
.ah-bento.layout-reference .ah-card { grid-column: span 1 }

/* Resource-card format chip — monospace tag that reads like a file type */
.ah-chip.format { text-transform: uppercase; font-weight: 700; letter-spacing: .14em }

@media (max-width: 960px) {
  .ah-bento.layout-playbook, .ah-bento.layout-onboard { grid-template-columns: repeat(2, 1fr) }
  .ah-bento.layout-certify, .ah-bento.layout-reference { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 600px) {
  .ah-bento.layout-playbook, .ah-bento.layout-certify, .ah-bento.layout-onboard, .ah-bento.layout-reference { grid-template-columns: 1fr }
}

/* === Capabilities hub redesign (2026-04-17) === */
/* Reuses .ah-section, .ah-head, .ah-mono, .ah-rollup, .ah-bento, .ah-card, .ah-chips, .ah-card.featured
   from the Agencies hub block. Only NEW additions here: five category color vars + bento layout
   variations tuned for capability card counts. */

.ah-cat-ai     { --cat: #0284c7; --cat-bright: #38bdf8; --cat-wash: rgba(2,132,199,.08);  --cat-border: rgba(2,132,199,.3) }
.ah-cat-data   { --cat: #be185d; --cat-bright: #ec4899; --cat-wash: rgba(190,24,93,.08);  --cat-border: rgba(190,24,93,.3) }
.ah-cat-cloud  { --cat: #0d9488; --cat-bright: #14b8a6; --cat-wash: rgba(13,148,136,.08); --cat-border: rgba(13,148,136,.3) }
.ah-cat-sec    { --cat: #dc2626; --cat-bright: #ef4444; --cat-wash: rgba(220,38,38,.08);  --cat-border: rgba(220,38,38,.3) }
.ah-cat-apps   { --cat: #ea580c; --cat-bright: #fb923c; --cat-wash: rgba(234,88,12,.08);  --cat-border: rgba(234,88,12,.3) }

/* Bento variations — different rhythms than agencies */
.ah-bento.layout-ai     { grid-template-columns: repeat(6, 1fr) }
.ah-bento.layout-data   { grid-template-columns: repeat(6, 1fr) }
.ah-bento.layout-cloud  { grid-template-columns: repeat(5, 1fr) }
.ah-bento.layout-sec    { grid-template-columns: repeat(2, 1fr) }
.ah-bento.layout-apps   { grid-template-columns: repeat(6, 1fr) }

/* Cloud section: 5 equal cards. Sec: 2 equal. Others: span 2 (default). */
.ah-bento.layout-cloud .ah-card { grid-column: span 1 }
.ah-bento.layout-sec   .ah-card { grid-column: span 1 }

@media (max-width: 960px) {
  .ah-bento.layout-ai, .ah-bento.layout-data, .ah-bento.layout-cloud, .ah-bento.layout-apps { grid-template-columns: repeat(2, 1fr) }
  .ah-bento.layout-sec { grid-template-columns: repeat(2, 1fr) }
  .ah-bento.layout-cloud .ah-card, .ah-bento.layout-sec .ah-card { grid-column: span 1 }
}
@media (max-width: 600px) {
  .ah-bento.layout-ai, .ah-bento.layout-data, .ah-bento.layout-cloud, .ah-bento.layout-sec, .ah-bento.layout-apps { grid-template-columns: 1fr }
}

/* ========================================================================
   INSIGHTS HUB — newspaper layout (added 2026-04-17)
   Defense One / MIT Tech Review hybrid. Sans heds, mono kickers, 3-col grid.
   ======================================================================== */

/* Per-topic kicker colors */
:root {
  --k-sbir: #b91c1c;
  --k-agencies: #1d4ed8;
  --k-compliance: #0f766e;
  --k-ai-llm: #7c3aed;
  --k-mlops: #c2410c;
  --k-vehicles: #b45309;
  --k-business: #1e3a5f;
  --k-market: #065f46;
  --k-other: #475569;
}

.hub { padding-bottom: 80px }

.hub-masthead { padding: 72px 0 40px; border-bottom: 1px solid var(--border); margin-bottom: 56px }
.hub-masthead__kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--k-sbir); margin-bottom: 16px }
.hub-masthead__title { font-family: var(--font-sans); font-size: clamp(48px, 7vw, 88px); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin: 0; color: var(--text) }
.hub-masthead__tagline { font-size: 19px; line-height: 1.5; color: var(--text-muted); max-width: 720px; margin: 24px 0 0; font-weight: 400 }
.hub-masthead__meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--text-dim); margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; text-transform: uppercase }
.hub-masthead__meta a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px }
.hub-masthead__meta a:hover { color: var(--accent-bright) }

/* Kicker (category label above hed) — mono caps with colored left border */
.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--k, var(--accent));
  padding: 2px 0 2px 10px;
  border-left: 2px solid var(--k, var(--accent));
  line-height: 1.2;
  margin-bottom: 14px;
}
.kicker--sbir { --k: var(--k-sbir) }
.kicker--agencies { --k: var(--k-agencies) }
.kicker--compliance { --k: var(--k-compliance) }
.kicker--ai-llm { --k: var(--k-ai-llm) }
.kicker--mlops { --k: var(--k-mlops) }
.kicker--vehicles { --k: var(--k-vehicles) }
.kicker--business { --k: var(--k-business) }
.kicker--market { --k: var(--k-market) }
.kicker--other { --k: var(--k-other) }

/* Hero story */
.hub-hero {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.hub-hero__media {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 5 / 3;
  background: var(--bg-card);
}
.hub-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.hub-hero__media:hover img { transform: scale(1.02) }
.hub-hero__body { display: flex; flex-direction: column; }
.hub-hero__hed {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--text);
}
.hub-hero__hed a { color: inherit; text-decoration: none }
.hub-hero__hed a:hover { color: var(--accent) }
.hub-hero__dek {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 20px;
  font-weight: 400;
}
.hub-hero__meta {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  margin: 0;
  letter-spacing: .01em;
}

/* Section header (SBIR / Agencies / etc.) */
.hub-section { margin-bottom: 72px }
.hub-section__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--text);
}
.hub-section__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 6px;
}
.hub-section__title {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.2;
  margin: 0;
  color: var(--text);
  grid-column: 1;
  grid-row: 2;
}
.hub-section__all {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  text-decoration: none;
  transition: color .15s ease;
}
.hub-section__all:hover { color: var(--accent) }

/* 3-col card grid */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

.card { display: flex; flex-direction: column; gap: 0 }
.card__media {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  margin-bottom: 16px;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.card__media:hover img { transform: scale(1.03) }
.card__body { display: flex; flex-direction: column }
.card__hed {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__hed a { color: inherit; text-decoration: none; transition: color .15s ease }
.card__hed a:hover { color: var(--accent) }
.card__meta {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-dim);
  margin: 0;
}

/* Archive CTA */
.hub-archive {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  margin-top: 24px;
  padding: 32px 36px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.hub-archive__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.hub-archive__title { font-family: var(--font-sans); font-size: 22px; font-weight: 700; letter-spacing: -.015em; margin: 0 0 6px; color: var(--text) }
.hub-archive__sub { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.5 }
.hub-archive__link {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding: 12px 22px;
  border: 1px solid var(--text);
  border-radius: 4px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.hub-archive__link:hover { background: var(--text); color: var(--bg) }

/* Responsive */
@media (max-width: 1024px) {
  .hub-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 28px }
  .hub-hero { grid-template-columns: 1fr; gap: 24px }
  .hub-hero__media { aspect-ratio: 16 / 9 }
  .hub-section__header { grid-template-columns: 1fr; }
  .hub-section__all { grid-column: 1; grid-row: 3; justify-self: start; margin-top: 8px }
}
@media (max-width: 640px) {
  .hub-masthead { padding: 48px 0 28px; margin-bottom: 40px }
  .hub-grid { grid-template-columns: 1fr; gap: 32px }
  .hub-archive { grid-template-columns: 1fr; gap: 20px }
  .hub-archive__link { justify-self: start }
  .hub-hero { margin-bottom: 40px; padding-bottom: 40px }
}

/* Dark mode polish for hub */
@media (prefers-color-scheme: dark) {
  .hub-hero__media img, .card__media img { filter: brightness(.92) }
  .kicker--business { --k: #60a5fa }
}

/* ── Feature grid — 2-col card layout for long bullet lists in article-content ── */
.article-content .feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  margin: 20px 0 28px;
  padding: 0;
}
.article-content .feature-grid li {
  padding: 18px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}
.article-content .feature-grid li strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -.1px;
}
@media (max-width: 700px) { .article-content .feature-grid { grid-template-columns: 1fr } }

/* ── Accordion list (native <details>/<summary>, no JS) ── */
.accordion-list { margin: 20px 0 28px; display: flex; flex-direction: column; gap: 6px }
.accordion-list details {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  overflow: hidden;
  transition: border-color .15s, border-left-width .15s;
}
.accordion-list details[open] { border-color: rgba(59,130,246,.4); border-left: 3px solid var(--accent) }
.accordion-list summary {
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  user-select: none;
  transition: color .15s;
}
.accordion-list summary::-webkit-details-marker { display: none }
.accordion-list details[open] summary { color: var(--accent) }
.accordion-list summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
}
.accordion-list details[open] summary::after { content: '−' }
.accordion-list .detail-body {
  padding: 4px 18px 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.accordion-list .detail-body p { margin: 10px 0 0 }
.accordion-list .detail-body a { color: var(--accent); text-underline-offset: 3px }
.accordion-list .detail-body ul { margin: 10px 0 0 20px }
.accordion-list .detail-body li { margin-bottom: 6px }

/* ── Info-box gold variant ── */
.info-box.gold { background: rgba(245,158,11,.06); border-color: rgba(245,158,11,.3) }
.info-box.gold .label { color: #d97706 }

/* ── Pull quote — large visual callout ── */
.article-content .pull-quote {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  border-left: 4px solid var(--accent-bright);
  padding: 18px 0 18px 28px;
  margin: 44px 0;
  letter-spacing: -.02em;
}

/* ── Icon card grid — 3-col cards with emoji/SVG icon ── */
.article-content .icon-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 36px;
  list-style: none;
  padding: 0;
}
.article-content .icon-card-grid li {
  padding: 22px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
  transition: border-color .2s;
}
.article-content .icon-card-grid li:hover { border-color: var(--accent) }
.article-content .icon-card-grid .ic-icon { font-size: 26px; line-height: 1 }
.article-content .icon-card-grid li strong {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--text); letter-spacing: -.01em; margin-bottom: 0;
}
.article-content .icon-card-grid li p {
  font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin: 0;
}
@media (max-width: 700px) { .article-content .icon-card-grid { grid-template-columns: 1fr } }

/* ── Section divider band ── */
.article-content .section-band {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  margin: 48px 0;
}
.article-content .section-band .band-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 700;
}
.article-content .section-band h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; letter-spacing: -.02em }
.article-content .section-band p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin: 0 }

/* ── Enhanced plain list styling (targets only unclassed ul/ol) ── */
.article-content ul:not([class]) {
  list-style: none;
  padding: 0;
  margin: 16px 0 28px;
}
.article-content ul:not([class]) > li {
  padding: 10px 0 10px 22px;
  position: relative;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}
.article-content ul:not([class]) > li:last-child { border-bottom: none }
.article-content ul:not([class]) > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  width: 8px;
  height: 2px;
  background: var(--accent-bright);
  border-radius: 1px;
}
.article-content ul:not([class]) > li strong { color: var(--text) }
/* Don't double-style lists nested inside accordion detail-body */
.accordion-list .detail-body ul { list-style: disc; padding-left: 20px; margin: 8px 0 }
.accordion-list .detail-body ul li { border-bottom: none; padding: 3px 0; font-size: 14px }
.accordion-list .detail-body ul li::before { display: none }

/* Auto step-list: plain <ol> without class gets numbered-card treatment */
.article-content ol:not([class]) {
  list-style: none;
  padding: 0;
  margin: 16px 0 28px;
  counter-reset: ol-auto;
}
.article-content ol:not([class]) > li {
  counter-increment: ol-auto;
  padding: 14px 18px 14px 54px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 8px;
  position: relative;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}
.article-content ol:not([class]) > li::before {
  content: counter(ol-auto);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.article-content ol:not([class]) > li strong { color: var(--text); font-weight: 700 }

/* ── Data table — used on insight/comparison pages ── */
.article-content .svc-table, .article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0 36px;
  font-size: 14px;
  line-height: 1.55;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.article-content .svc-table thead th, .article-content table thead th {
  background: var(--bg-card);
  color: var(--text);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border);
  font-family: var(--font-mono);
}
.article-content .svc-table tbody td, .article-content table tbody td {
  padding: 12px 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.article-content .svc-table tbody td:first-child, .article-content table tbody td:first-child {
  color: var(--text-muted);
}
.article-content .svc-table tbody td strong, .article-content table tbody td strong {
  color: var(--text);
  font-weight: 600;
}
.article-content .svc-table tbody tr:last-child td, .article-content table tbody tr:last-child td { border-bottom: none }
.article-content .svc-table tbody tr:hover td, .article-content table tbody tr:hover td { background: var(--bg-elevated) }
@media (max-width: 640px) {
  .article-content .svc-table, .article-content table { font-size: 13px }
  .article-content .svc-table thead th, .article-content table thead th { padding: 10px 12px }
  .article-content .svc-table tbody td, .article-content table tbody td { padding: 10px 12px }
}

/* ── Pullquote alias (handles both .pull-quote and .pullquote) ── */
.article-content .pullquote {
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  border-left: 4px solid var(--accent-bright);
  padding: 18px 0 18px 28px;
  margin: 40px 0;
  letter-spacing: -.02em;
  font-style: italic;
}

/* ── Score distribution bar chart ── */
.score-bars { margin: 28px 0 36px; display: flex; flex-direction: column; gap: 10px }
.score-row { display: grid; grid-template-columns: 200px 1fr 60px; gap: 12px; align-items: center }
.score-row .sr-label { font-size: 13px; font-weight: 600; color: var(--text); text-align: right; line-height: 1.3 }
.score-row .sr-bar {
  height: 34px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.score-row .sr-fill {
  height: 100%;
  border-radius: inherit;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-mono);
  white-space: nowrap;
}
.score-row .sr-pct { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--text-muted); text-align: right }
@media (max-width: 600px) { .score-row { grid-template-columns: 120px 1fr 40px } .score-row .sr-label { font-size: 11px } }

/* ── Phase timeline (horizontal numbered steps) ── */
.phase-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 32px 0 40px;
  position: relative;
}
.phase-timeline.steps-5 { grid-template-columns: repeat(5, 1fr) }
.phase-timeline.steps-4 { grid-template-columns: repeat(4, 1fr) }
.phase-timeline::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.phase-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
  position: relative;
  z-index: 1;
}
.phase-step .ps-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.phase-step .ps-label { font-size: 12px; font-weight: 600; text-align: center; color: var(--text); line-height: 1.35 }
.phase-step .ps-dur { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); text-align: center }
.phase-step.active .ps-num { background: var(--accent); color: #fff; border-color: var(--accent) }
@media (max-width: 700px) {
  .phase-timeline, .phase-timeline.steps-5, .phase-timeline.steps-4 { grid-template-columns: repeat(3, 1fr); gap: 16px }
  .phase-timeline::before { display: none }
}
@media (max-width: 420px) {
  .phase-timeline, .phase-timeline.steps-5, .phase-timeline.steps-4 { grid-template-columns: repeat(2, 1fr) }
}

/* ── arch-diagram ── reference architecture component (HTML/CSS, crisp at all resolutions) */
.arch-diagram { display: block; margin: 36px 0; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-elevated) }
.arch-diagram-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700 }
.arch-diagram-label--blue   { color: #3b82f6 }
.arch-diagram-label--violet { color: var(--violet) }
.arch-diagram-label--green  { color: #16a34a }
.arch-diagram-label--orange { color: #ea580c }
.arch-diagram-label--rose   { color: #e11d48 }
.arch-flow { display: flex; align-items: stretch; gap: 0 }
.arch-node { flex: 1; border-radius: 8px; padding: 14px 12px; border: 1.2px solid; display: flex; flex-direction: column; gap: 7px }
.arch-node-title { font-size: 13px; font-weight: 700; text-align: center; margin-bottom: 3px }
.arch-node-row { font-size: 12px; text-align: center; color: var(--text-muted); border-radius: 4px; padding: 5px 8px; border: 1px solid var(--border); background: rgba(128,128,128,.06) }
.arch-arrow { flex-shrink: 0; width: 40px; display: flex; align-items: center; justify-content: center; position: relative }
.arch-arrow::before { content: ''; position: absolute; left: 4px; right: 12px; height: 0; border-top: 2px dashed var(--text-muted); opacity: .45 }
.arch-arrow::after { content: '▶'; font-size: 7px; color: var(--text-muted); position: absolute; right: 4px; opacity: .55 }
.arch-node--blue   { background: rgba(59,130,246,.08);  border-color: #3b82f6 }
.arch-node--blue   .arch-node-title { color: #3b82f6 }
.arch-node--violet { background: rgba(124,58,237,.08);  border-color: #7c3aed }
.arch-node--violet .arch-node-title { color: #7c3aed }
.arch-node--green  { background: rgba(34,197,94,.08);   border-color: #16a34a }
.arch-node--green  .arch-node-title { color: #16a34a }
.arch-node--orange { background: rgba(234,88,12,.08);   border-color: #ea580c }
.arch-node--orange .arch-node-title { color: #ea580c }
.arch-node--rose   { background: rgba(225,29,72,.08);   border-color: #e11d48 }
.arch-node--rose   .arch-node-title { color: #e11d48 }
.arch-node--sky    { background: rgba(14,165,233,.08);  border-color: #0ea5e9 }
.arch-node--sky    .arch-node-title { color: #0ea5e9 }
.arch-node--amber  { background: rgba(245,158,11,.08);  border-color: #f59e0b }
.arch-node--amber  .arch-node-title { color: #f59e0b }
@media (max-width: 600px) {
  .arch-flow { flex-direction: column }
  .arch-arrow { width: 100%; height: 28px; transform: rotate(90deg) }
}

/* =========================================================================
   v2 Design system — enterprise lineage (AWS S3 / Azure / ServiceNow / Intuit
   / Databricks / Salesforce). Additive only; does not alter pre-existing
   classes. Applied on index.html first as the reference implementation.
   ========================================================================= */

/* Prism spectrum hero — AWS S3 signature burst, 3× saturation from v1 */
.hero-v2 { position: relative; overflow: hidden; padding: 72px 0 88px; background: #fafbfc; isolation: isolate }
.hero-v2::before {
  content: ""; position: absolute; inset: -15% -10% -5% -10%; z-index: -2;
  background:
    radial-gradient(ellipse 55% 50% at 82% 15%, rgba(139,92,246,.42), transparent 60%),
    radial-gradient(ellipse 45% 40% at 92% 35%, rgba(236,72,153,.28), transparent 62%),
    radial-gradient(ellipse 60% 55% at 8% 28%, rgba(59,130,246,.45), transparent 62%),
    radial-gradient(ellipse 40% 40% at 18% 70%, rgba(34,211,238,.30), transparent 65%),
    radial-gradient(ellipse 55% 45% at 55% 92%, rgba(245,158,11,.36), transparent 60%),
    radial-gradient(ellipse 40% 35% at 85% 78%, rgba(16,185,129,.22), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #fafbfd 55%, #f0f4f9 100%);
  filter: saturate(1.35);
}
/* Prism ray fan — diagonal light streaks emanating from upper-right */
.hero-v2::after {
  content: ""; position: absolute; inset: -10% 0 0 0; z-index: -1; pointer-events: none; opacity: .6;
  background:
    repeating-conic-gradient(from 220deg at 85% 12%,
      rgba(168,85,247,.14) 0deg 6deg,
      transparent 6deg 14deg,
      rgba(236,72,153,.10) 14deg 22deg,
      transparent 22deg 30deg,
      rgba(59,130,246,.12) 30deg 40deg,
      transparent 40deg 50deg,
      rgba(34,211,238,.10) 50deg 60deg,
      transparent 60deg 76deg);
  -webkit-mask-image: radial-gradient(ellipse 120% 100% at 85% 12%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 120% 100% at 85% 12%, #000 20%, transparent 75%);
}
.hero-v2 > .container { position: relative }
.hero-v2 > .container::before {
  content: ""; position: absolute; inset: -80px -200px; z-index: -1; pointer-events: none; opacity: .22;
  background-image:
    linear-gradient(rgba(15,23,42,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 85%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 85%);
}

/* Product sub-navigation — AWS S3 / Azure AI pattern. Sits between global
   nav and hero, sticky on scroll, product-scoped section anchors. */
.product-subnav {
  position: sticky; top: 64px; z-index: 40; margin-top: 64px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(180%); -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.product-subnav__inner {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 32px; height: 56px;
  overflow-x: auto; scrollbar-width: none;
}
.product-subnav__inner::-webkit-scrollbar { display: none }
.product-subnav__brand { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text); font-weight: 700; white-space: nowrap; padding-right: 24px; border-right: 1px solid var(--border) }
.product-subnav__links { display: flex; gap: 28px; align-items: center; flex: 1 }
.product-subnav__links a { font-size: 14px; font-weight: 500; color: var(--text-muted); white-space: nowrap; padding: 8px 0; position: relative; transition: color .18s }
.product-subnav__links a:hover { color: var(--text) }
.product-subnav__links a.is-active { color: var(--text); font-weight: 600 }
.product-subnav__links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -16px; height: 2px; background: var(--accent); border-radius: 2px }
.product-subnav__cta { padding: 8px 16px; border-radius: 100px; background: var(--text); color: #fff !important; font-size: 13px; font-weight: 600; transition: background .18s, transform .18s }
.product-subnav__cta:hover { background: var(--accent); transform: translateY(-1px) }
@media (max-width: 900px) {
  .product-subnav__brand { font-size: 11px; padding-right: 16px }
  .product-subnav__links { gap: 18px }
  .product-subnav__links a { font-size: 13px }
}

/* Breadcrumb chip — AWS S3 "Products / Storage / Amazon S3" */
.crumb-chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 24px }
.crumb-chip a { color: var(--text-muted); transition: color .18s }
.crumb-chip a:hover { color: var(--accent) }
.crumb-chip .sep { opacity: .4 }

/* Hero v2 — 2-column with headline/CTA left, premium card right.
   Typography is tighter than v1 — Plus Jakarta at display weight. */
.hero-v2 .hero-v2__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center }
.hero-v2 .hero-v2__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dim); background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.22); padding: 7px 14px; border-radius: 100px; margin-bottom: 28px }
.hero-v2 .hero-v2__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 3px rgba(34,197,94,.18); animation: pulse 2.4s ease-in-out infinite }
.hero-v2 h1.hero-v2__title { font-size: clamp(44px, 5.4vw, 72px); font-weight: 800; line-height: 1.02; letter-spacing: -2.4px; color: var(--text); max-width: 640px; margin: 0 }
.hero-v2 h1.hero-v2__title em { font-style: normal; background: linear-gradient(100deg, #2563eb 0%, #7c3aed 32%, #ec4899 58%, #f59e0b 82%, #10b981 100%); background-size: 200% 100%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: hueShift 12s ease-in-out infinite alternate }
@keyframes hueShift { 0% { background-position: 0% 0% } 100% { background-position: 100% 0% } }
.hero-v2 .hero-v2__lede { font-size: 19px; line-height: 1.55; color: var(--text-muted); max-width: 560px; margin: 28px 0 0; font-weight: 400 }
.hero-v2 .hero-v2__lede strong { color: var(--text); font-weight: 600 }
.hero-v2 .hero-v2__actions { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap }
.hero-v2 .hero-v2__meta { display: flex; gap: 18px; align-items: center; margin-top: 32px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); flex-wrap: wrap }
.hero-v2 .hero-v2__meta span { white-space: nowrap }

/* Hero v2 right-rail — premium "product shot" treatment.
   Replaces info-heavy PI card. Glass surface with founder-cred inside. */
.hero-v2__visual { position: relative; aspect-ratio: 5/6; max-width: 520px; margin-left: auto; width: 100% }
.hero-v2__visual-frame {
  position: absolute; inset: 0; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.82) 100%);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 28px 60px -20px rgba(15,23,42,.22), 0 10px 24px -12px rgba(15,23,42,.12);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.hero-v2__visual-halo {
  position: absolute; inset: -24px; z-index: -1; border-radius: 32px; opacity: .6;
  background: conic-gradient(from 180deg at 50% 50%, rgba(59,130,246,.25), rgba(139,92,246,.25), rgba(245,158,11,.25), rgba(34,197,94,.20), rgba(59,130,246,.25));
  filter: blur(48px);
}
.hero-v2__visual-inner { position: absolute; inset: 28px; display: flex; flex-direction: column; gap: 20px }
.hero-v2__visual-header { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--border) }
.hero-v2__visual-avatar { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--accent) 0%, var(--violet) 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; letter-spacing: -.02em }
.hero-v2__visual-name { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.2 }
.hero-v2__visual-role { font-size: 12px; color: var(--text-muted); margin-top: 2px }
.hero-v2__visual-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; flex: 1 }
.hero-v2__visual-stat { padding: 16px; border-radius: 12px; background: rgba(248,250,252,.7); border: 1px solid var(--border); transition: transform .2s, box-shadow .2s }
.hero-v2__visual-stat:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15,23,42,.08) }
.hero-v2__visual-stat strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.8px; line-height: 1; background: linear-gradient(135deg, var(--accent-dim), var(--accent-bright)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 6px }
.hero-v2__visual-stat.is-gold strong { background: linear-gradient(135deg, #b45309, var(--gold-bright)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.hero-v2__visual-stat.is-violet strong { background: linear-gradient(135deg, #5b21b6, var(--violet-bright)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.hero-v2__visual-stat.is-green strong { background: linear-gradient(135deg, #15803d, var(--green-bright)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.hero-v2__visual-stat span { font-size: 11.5px; color: var(--text-muted); line-height: 1.45; display: block }
.hero-v2__visual-foot { padding: 14px 16px; border-radius: 10px; background: linear-gradient(135deg, rgba(59,130,246,.08), rgba(139,92,246,.06)); border: 1px solid rgba(59,130,246,.18); display: flex; align-items: center; justify-content: space-between; gap: 12px }
.hero-v2__visual-foot-lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted) }
.hero-v2__visual-foot a { font-size: 14px; font-weight: 600; color: var(--accent) }

@media (max-width: 960px) {
  .hero-v2 { padding: 80px 0 56px }
  .hero-v2 .hero-v2__grid { grid-template-columns: 1fr; gap: 48px }
  .hero-v2__visual { margin: 0 auto }
  .hero-v2 h1.hero-v2__title { font-size: clamp(36px, 8vw, 56px); letter-spacing: -1.6px }
}

/* Stat row — Databricks 173B + AWS S3 500T+ pattern, high-saturation numerals */
.stat-row-v2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #fbfcfd 0%, #eef2f7 100%); position: relative; overflow: hidden }
.stat-row-v2::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .65;
  background:
    radial-gradient(ellipse 30% 110% at 12%  50%, rgba(59,130,246,.18), transparent 70%),
    radial-gradient(ellipse 30% 110% at 38%  50%, rgba(245,158,11,.18), transparent 70%),
    radial-gradient(ellipse 30% 110% at 62%  50%, rgba(139,92,246,.18), transparent 70%),
    radial-gradient(ellipse 30% 110% at 88%  50%, rgba(16,185,129,.18), transparent 70%);
}
.stat-row-v2__cell { padding: 56px 32px; border-right: 1px solid var(--border); position: relative; z-index: 1 }
.stat-row-v2__cell:last-child { border-right: none }
.stat-row-v2__num {
  font-size: clamp(56px, 7vw, 88px); font-weight: 800; letter-spacing: -3px; line-height: .95;
  margin-bottom: 14px; font-feature-settings: "ss01","tnum";
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 60%, #60a5fa 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-row-v2__cell--gold   .stat-row-v2__num { background: linear-gradient(135deg, #b45309 0%, #f59e0b 55%, #fbbf24 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.stat-row-v2__cell--violet .stat-row-v2__num { background: linear-gradient(135deg, #5b21b6 0%, #8b5cf6 55%, #a78bfa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.stat-row-v2__cell--green  .stat-row-v2__num { background: linear-gradient(135deg, #065f46 0%, #10b981 55%, #34d399 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.stat-row-v2__lbl { font-size: 14px; color: var(--text-muted); line-height: 1.5 }
.stat-row-v2__lbl strong { color: var(--text); font-weight: 700 }
@media (max-width: 900px) {
  .stat-row-v2 { grid-template-columns: 1fr 1fr }
  .stat-row-v2__cell { padding: 32px 24px }
  .stat-row-v2__cell:nth-child(2) { border-right: none }
  .stat-row-v2__cell:nth-child(1),.stat-row-v2__cell:nth-child(2) { border-bottom: 1px solid var(--border) }
  .stat-row-v2__num { font-size: 56px; letter-spacing: -2px }
}

/* Feature grid v2 — Azure / ServiceNow 4-up with colored top-border signature */
.feature-grid-v2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px }
.feature-card-v2 { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px 24px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; position: relative; display: flex; flex-direction: column; min-height: 280px; overflow: hidden }
.feature-card-v2::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  border-radius: 16px 16px 0 0; opacity: .85;
}
.feature-card-v2--gold::before   { background: linear-gradient(90deg, #b45309, #f59e0b, #fbbf24) }
.feature-card-v2--violet::before { background: linear-gradient(90deg, #5b21b6, #8b5cf6, #a78bfa) }
.feature-card-v2--green::before  { background: linear-gradient(90deg, #065f46, #10b981, #34d399) }
.feature-card-v2:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -14px rgba(15,23,42,.18); border-color: var(--border-light) }
.feature-card-v2:hover::before { opacity: 1; height: 4px }
.feature-card-v2__icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(59,130,246,.04)); color: var(--accent); border: 1px solid rgba(59,130,246,.2) }
.feature-card-v2__icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75 }
.feature-card-v2--gold .feature-card-v2__icon { background: linear-gradient(135deg, rgba(245,158,11,.14), rgba(245,158,11,.04)); color: var(--gold); border-color: rgba(245,158,11,.22) }
.feature-card-v2--violet .feature-card-v2__icon { background: linear-gradient(135deg, rgba(139,92,246,.12), rgba(139,92,246,.04)); color: var(--violet); border-color: rgba(139,92,246,.22) }
.feature-card-v2--green .feature-card-v2__icon { background: linear-gradient(135deg, rgba(34,197,94,.12), rgba(34,197,94,.04)); color: var(--green); border-color: rgba(34,197,94,.22) }
.feature-card-v2__title { font-size: 17px; font-weight: 700; color: var(--text); margin: 0 0 10px; letter-spacing: -.3px; line-height: 1.25 }
.feature-card-v2__desc { font-size: 14px; color: var(--text-muted); line-height: 1.55; flex: 1; margin: 0 }
.feature-card-v2__link { font-size: 13.5px; font-weight: 600; color: var(--accent); margin-top: 20px; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s }
.feature-card-v2__link:hover { gap: 10px }
.feature-card-v2__link::after { content: "→"; display: inline-block; transition: transform .2s }
.feature-card-v2:hover .feature-card-v2__link::after { transform: translateX(2px) }
@media (max-width: 1100px) { .feature-grid-v2 { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 560px) { .feature-grid-v2 { grid-template-columns: 1fr } .feature-card-v2 { min-height: 0 } }

/* Tab bar — Azure "AI platform / Agentic DevOps / Databases for AI" */
.tab-bar-v2 { display: inline-flex; gap: 6px; padding: 6px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 100px; margin-bottom: 40px }
.tab-bar-v2__item { padding: 10px 20px; border-radius: 100px; font-size: 13.5px; font-weight: 500; color: var(--text-muted); cursor: pointer; border: none; background: transparent; transition: background .18s, color .18s; white-space: nowrap; font-family: inherit }
.tab-bar-v2__item:hover { color: var(--text) }
.tab-bar-v2__item.is-active { background: var(--text); color: #fff; font-weight: 600 }
@media (max-width: 700px) {
  .tab-bar-v2 { overflow-x: auto; max-width: 100%; scrollbar-width: none }
  .tab-bar-v2::-webkit-scrollbar { display: none }
}

/* Section heading v2 — Azure "PRODUCTS / Everything you need..." */
.section-head-v2 { text-align: center; max-width: 780px; margin: 0 auto 56px }
.section-head-v2__kicker { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; font-weight: 600 }
.section-head-v2__title { font-size: clamp(32px, 4.2vw, 48px); font-weight: 800; letter-spacing: -1.6px; line-height: 1.08; color: var(--text); margin: 0 0 18px }
.section-head-v2__lede { font-size: 17px; color: var(--text-muted); line-height: 1.55; margin: 0 }
.section-head-v2.is-left { text-align: left; margin-left: 0 }

/* Section spacing v2 */
.section-v2 { padding: 96px 0 }
.section-v2--tight { padding: 64px 0 }
.section-v2--loose { padding: 128px 0 }
.section-v2--surface { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border) }

/* Customer / agency logo row — Databricks / Salesforce pattern */
.logo-row-v2 { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; padding: 32px 0 }
.logo-row-v2__item { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); opacity: .85; transition: opacity .18s, color .18s }
.logo-row-v2__item:hover { opacity: 1; color: var(--text) }
.logo-row-v2__lead { font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); width: 100%; text-align: center; margin-bottom: 8px }

/* CTA band v2 — federal navy + gold only, no pink/violet */
.cta-v2 { position: relative; padding: 112px 0; background: linear-gradient(180deg, rgba(5,8,15,.55) 0%, rgba(5,8,15,.68) 60%, rgba(5,8,15,.80) 100%), url('/img/cta-control-room.png') center/cover no-repeat #05080f; color: #fff; overflow: hidden; isolation: isolate }
.cta-v2::before { display: none }
.cta-v2::after { display: none }
.cta-v2__inner { max-width: 780px; margin: 0 auto; text-align: center; padding: 0 32px }
.cta-v2__kicker { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: #93c5fd; margin-bottom: 18px }
.cta-v2__title { font-size: clamp(32px, 4.5vw, 52px); font-weight: 800; letter-spacing: -1.8px; line-height: 1.08; color: #fff; margin: 0 0 20px }
.cta-v2__lede { font-size: 18px; color: #cbd5e1; line-height: 1.55; margin: 0 auto 36px; max-width: 620px }
.cta-v2__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap }
.cta-v2__btn-primary { background: #fff; color: #0b1220; padding: 14px 28px; border-radius: 8px; font-weight: 700; font-size: 14.5px; transition: transform .18s, box-shadow .18s; display: inline-flex; align-items: center; gap: 10px }
.cta-v2__btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255,255,255,.18); color: #0b1220 }
.cta-v2__btn-ghost { background: transparent; color: #fff; padding: 14px 24px; border-radius: 8px; font-weight: 600; font-size: 14.5px; border: 1px solid rgba(255,255,255,.2); transition: border-color .18s, background .18s }
.cta-v2__btn-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); color: #fff }

/* Dark-mode overrides for v2 components */
@media (prefers-color-scheme: dark) {
  .hero-v2 { background: #0a0d14 }
  .hero-v2::before {
    background:
      radial-gradient(ellipse 60% 55% at 82% 18%, rgba(139,92,246,.28), transparent 60%),
      radial-gradient(ellipse 55% 50% at 12% 30%, rgba(59,130,246,.30), transparent 62%),
      radial-gradient(ellipse 50% 45% at 50% 85%, rgba(245,158,11,.16), transparent 60%),
      linear-gradient(180deg, #0a0d14 0%, #0d1220 60%, #0a0d14 100%);
  }
  .hero-v2::after { opacity: .22; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) }
  .product-subnav { background: rgba(10,13,20,.82) !important; border-bottom-color: var(--border) }
  .hero-v2__visual-frame { background: linear-gradient(180deg, rgba(21,26,40,.92) 0%, rgba(15,19,32,.82) 100%); border-color: rgba(255,255,255,.08) }
  .hero-v2__visual-stat { background: rgba(21,26,40,.6); border-color: rgba(255,255,255,.06) }
  .stat-row-v2 { background: linear-gradient(180deg, #0d1220 0%, #0a0d14 100%) }
  .feature-card-v2 { background: var(--bg-card); border-color: var(--border) }
  .tab-bar-v2 { background: var(--bg-card); border-color: var(--border) }
  .tab-bar-v2__item.is-active { background: var(--bg); color: var(--text) }
  .section-v2--surface { background: var(--bg-elevated) }
}

/* ==================== HOMEPAGE 2026-04 REDESIGN ==================== */

/* 1. Hero / federal-ID strip */
.hero-id-strip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 20px 0; font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); letter-spacing: .02em }
.hero-id-strip > * { display: inline-flex; align-items: center; gap: 6px }
.hero-id-strip > *:not(:last-child)::after { content: '·'; color: var(--border-light); margin-left: 24px; padding-left: 0 }
.hero-id-strip a { color: var(--text-muted); text-decoration: none; border-bottom: 1px dotted var(--border-light); transition: color .2s, border-color .2s }
.hero-id-strip a:hover { color: var(--accent); border-bottom-color: var(--accent) }

/* 2-4. Capability tab-bar */
.cap-tab-bar { display: flex; flex-wrap: nowrap; overflow-x: auto; border-bottom: 1px solid var(--border); height: 68px; position: relative; margin: 28px 0 0; padding: 0; list-style: none; scrollbar-width: none; gap: 4px }
.cap-tab-bar::-webkit-scrollbar { display: none }
.cap-tab { display: inline-flex; align-items: center; height: 68px; padding: 0 22px; font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif); font-size: 16px; font-weight: 700; letter-spacing: -0.2px; color: var(--text-muted); background: transparent; border: 0; border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; transition: color .2s, border-color .2s, background .2s; border-radius: 0 }
.cap-tab:hover { color: var(--text) }
.cap-tab[aria-selected="true"], .cap-tab.is-active { color: var(--text); border-bottom-color: var(--accent); background: rgba(251,191,36,.05) }
.cap-tab:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px }

/* 5. Capability tab panel — BENTO LAYOUT
   1 large featured tile (left, full-height with 240px image banner top)
   + 2 smaller stacked tiles (right column, horizontal 80px-thumb-left layout)
   + footer spans full width. */
.cap-tab-panel { padding: 48px 0; display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 28px }
.cap-tab-panel[hidden] { display: none }
.cap-tab-panel__tile { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s }
.cap-tab-panel__tile:hover { border-color: var(--accent); color: inherit }
.cap-tab-panel__tile h3 { font-size: 17px; font-weight: 700; color: var(--text); margin: 0; line-height: 1.25 }
.cap-tab-panel__tile p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0 }

/* Featured tile spans left column full height */
.cap-tab-panel__tile:nth-of-type(1) {
  grid-column: 1;
  grid-row: 1 / 3;
  padding: 0;
  flex-direction: column;
}
.cap-tab-panel__tile:nth-of-type(1) .cap-tab-panel__tile-head {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.cap-tab-panel__tile:nth-of-type(1) .cap-tab-panel__tile-thumb {
  width: 100%;
  height: 240px;
  border-radius: 14px 14px 0 0;
}
.cap-tab-panel__tile:nth-of-type(1) h3 {
  font-size: 24px;
  padding: 24px 28px 0;
}
.cap-tab-panel__tile:nth-of-type(1) p {
  padding: 0 28px;
  font-size: 15px;
}
.cap-tab-panel__tile:nth-of-type(1) .cap-tab-panel__tile-tags {
  padding: 0 28px 26px;
}

/* Secondary tiles in right column with horizontal grid */
.cap-tab-panel__tile:nth-of-type(2),
.cap-tab-panel__tile:nth-of-type(3) {
  grid-column: 2;
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-rows: auto 1fr auto;
  column-gap: 14px;
  row-gap: 8px;
}
.cap-tab-panel__tile:nth-of-type(2) .cap-tab-panel__tile-head,
.cap-tab-panel__tile:nth-of-type(3) .cap-tab-panel__tile-head { display: contents }
.cap-tab-panel__tile:nth-of-type(2) .cap-tab-panel__tile-thumb,
.cap-tab-panel__tile:nth-of-type(3) .cap-tab-panel__tile-thumb {
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 80px;
  height: 80px;
}
.cap-tab-panel__tile:nth-of-type(2) h3,
.cap-tab-panel__tile:nth-of-type(3) h3 { grid-column: 2; font-size: 15.5px }
.cap-tab-panel__tile:nth-of-type(2) p,
.cap-tab-panel__tile:nth-of-type(3) p {
  grid-column: 2;
}
.cap-tab-panel__tile:nth-of-type(2) .cap-tab-panel__tile-tags,
.cap-tab-panel__tile:nth-of-type(3) .cap-tab-panel__tile-tags { grid-column: 2 }

.cap-tab-panel__tile-thumb { flex-shrink: 0; width: 120px; height: 120px; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(10,15,28,.22), inset 0 0 0 1px rgba(10,15,28,.10); background: var(--bg-elevated); position: relative }
.cap-tab-panel__tile-head { display: flex; align-items: center; gap: 14px }
.cap-tab-panel__tile-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s, filter .2s }
.cap-tab-panel__tile:hover .cap-tab-panel__tile-thumb { box-shadow: 0 6px 16px rgba(10,15,28,.22), inset 0 0 0 1px rgba(10,15,28,.08) }
.cap-tab-panel__tile:hover .cap-tab-panel__tile-thumb img { transform: scale(1.05); filter: saturate(1.05) contrast(1.02) }
.cap-tab-panel__tile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto }
.cap-tab-panel__tile-tags span { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-muted); background: var(--bg-elevated); border: 1px solid var(--border); padding: 3px 8px; border-radius: 4px; letter-spacing: .04em }
.cap-tab-panel__footer { grid-column: 1 / -1; margin-top: 8px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em }
.cap-tab-panel__footer a { color: var(--accent); text-decoration: none }
.cap-tab-panel__footer a:hover { color: var(--accent-dim) }

@media (max-width: 900px) {
  .cap-tab-panel { grid-template-columns: 1fr; grid-template-rows: auto; gap: 20px }
  .cap-tab-panel__tile:nth-of-type(1),
  .cap-tab-panel__tile:nth-of-type(2),
  .cap-tab-panel__tile:nth-of-type(3) {
    grid-column: 1;
    grid-row: auto;
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto 1fr auto;
    padding: 20px 22px;
    column-gap: 14px;
    row-gap: 8px;
  }
  .cap-tab-panel__tile:nth-of-type(1) .cap-tab-panel__tile-head { display: contents; flex-direction: row; align-items: center }
  .cap-tab-panel__tile:nth-of-type(1) .cap-tab-panel__tile-thumb {
    width: 80px; height: 80px;
    border-radius: 12px;
    grid-column: 1;
    grid-row: 1 / span 3;
  }
  .cap-tab-panel__tile:nth-of-type(1) h3,
  .cap-tab-panel__tile:nth-of-type(1) p,
  .cap-tab-panel__tile:nth-of-type(1) .cap-tab-panel__tile-tags { padding: 0; grid-column: 2 }
  .cap-tab-panel__tile:nth-of-type(1) h3 { font-size: 16px }
  .cap-tab-panel__tile:nth-of-type(1) p { font-size: 14px }
}

/* 6-7. Credential chips */
.cred-chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; padding: 6px 14px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 100px; color: var(--text); white-space: nowrap; text-decoration: none; transition: border-color .2s, color .2s }
.cred-chip:hover { color: var(--text); border-color: var(--border-light) }
.cred-chip--verify::after { content: '↗'; color: var(--accent); font-size: 11px; line-height: 1 }
.cred-chip--verify:hover { border-color: var(--accent) }
.cred-chip--verify:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px }

/* 8. Disclosure banner */
.disclosure-banner { background: var(--bg-elevated); border-left: 3px solid var(--accent); padding: 16px 20px; border-radius: 8px; font-size: 13.5px; line-height: 1.55; color: var(--text); margin: 28px 0 40px }
.disclosure-banner__label { display: block; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--text-muted); margin-bottom: 6px; font-weight: 700 }

/* 9. Agency wall */
.agency-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-top: 32px }
.agency-wall .cell { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 24px 20px; min-height: 120px; background: var(--bg); text-decoration: none; color: var(--text); transition: background .2s }
.agency-wall .cell:hover { background: var(--bg-elevated); color: var(--text) }
.agency-wall .cell:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: -2px; position: relative; z-index: 2 }
.agency-wall .cell__name { font-family: var(--font-mono); font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--text) }
.agency-wall .cell__cat { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: .14em; text-transform: uppercase }
.agency-wall__note { margin-top: 16px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: .08em }
@media (max-width: 900px) { .agency-wall { grid-template-columns: repeat(2, 1fr) } }

/* Prior-delivery ledger — dossier replacement for proof-grid on home */
.prior-ledger { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.1) }
.prior-ledger__entry { display: grid; grid-template-columns: 220px minmax(0,1fr) 240px; gap: 48px; align-items: start; padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,.1); position: relative }
.prior-ledger__entry::before { content: ''; position: absolute; left: -24px; top: 40px; bottom: 40px; width: 2px; background: transparent; transition: background .2s }
.prior-ledger__entry:hover::before { background: #fbbf24 }
.prior-ledger__index { display: flex; flex-direction: column; gap: 10px }
.prior-ledger__serial { font-family: var(--font-mono); font-size: 56px; font-weight: 700; line-height: .95; color: #fbbf24; letter-spacing: -.02em }
.prior-ledger__kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: #fbbf24; margin-top: 8px }
.prior-ledger__client { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: #cbd5e1 }
.prior-ledger__body { min-width: 0 }
.prior-ledger__title { font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -.5px; color: #ffffff; margin: 0 0 14px }
.prior-ledger__desc { font-size: 15px; line-height: 1.65; color: #cbd5e1; margin: 0 0 20px; max-width: 60ch }
.prior-ledger__link { color: #60a5fa; text-decoration: underline; text-decoration-color: rgba(96,165,250,.35); text-underline-offset: 3px }
.prior-ledger__link:hover { text-decoration-color: #60a5fa }
.prior-ledger__stack { display: flex; align-items: baseline; gap: 14px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.12) }
.prior-ledger__stack-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #fbbf24; flex-shrink: 0 }
.prior-ledger__stack-items { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .02em; color: #e2e8f0; line-height: 1.6 }
.prior-ledger__status { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: #22c55e; padding-top: 6px }
.prior-ledger__dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); flex-shrink: 0 }
@media (max-width: 900px) {
  .prior-ledger__entry { grid-template-columns: 1fr; gap: 20px; padding: 32px 0 }
  .prior-ledger__entry::before { display: none }
  .prior-ledger__serial { font-size: 40px }
  .prior-ledger__index { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 12px }
  .prior-ledger__title { font-size: 22px }
  .prior-ledger__stack { flex-direction: column; gap: 8px }
}
@media (prefers-reduced-motion: reduce) {
  .prior-ledger__entry::before { transition: none !important }
}

/* Pursuit briefing table — tactical intel-brief replacement for agency-wall on home */
.pursuit-brief { margin-top: 32px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(10,15,28,.04) }
.pursuit-brief__head { display: grid; grid-template-columns: 200px 1.1fr 1.8fr 40px; gap: 24px; align-items: center; padding: 14px 24px; background: var(--bg-elevated); border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted) }
.pursuit-brief__hide-label { visibility: hidden }
.pursuit-brief__row { display: grid; grid-template-columns: 200px 1.1fr 1.8fr 40px; gap: 24px; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text); transition: background .15s, border-color .15s; position: relative }
.pursuit-brief__row:last-child { border-bottom: none }
.pursuit-brief__row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: transparent; transition: background .15s }
.pursuit-brief__row:hover { background: var(--bg-elevated) }
.pursuit-brief__row:hover::before { background: var(--accent) }
.pursuit-brief__row:hover .pursuit-brief__arrow { color: var(--accent); transform: translateX(4px) }
.pursuit-brief__row:hover .pursuit-brief__thumb { transform: scale(1.04); box-shadow: 0 6px 16px rgba(10,15,28,.22) }
.pursuit-brief__row:hover .pursuit-brief__thumb img { filter: saturate(1.05) contrast(1.02) }
.pursuit-brief__row:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: -2px; z-index: 2 }
.pursuit-brief__agency { display: flex; align-items: center; gap: 14px; min-width: 0 }
.pursuit-brief__name { font-family: var(--font-mono); font-size: 16px; font-weight: 700; letter-spacing: .01em; color: var(--text) }
.pursuit-brief__thumb { flex-shrink: 0; width: 48px; height: 48px; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 6px rgba(10,15,28,.15), inset 0 0 0 1px rgba(10,15,28,.08); transition: transform .2s, box-shadow .2s; background: var(--bg-elevated); position: relative }
.pursuit-brief__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter .2s }
.pursuit-brief__vehicles { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: .08em }
.pursuit-brief__window { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); display: flex; align-items: baseline; gap: 14px; min-width: 0 }
.pursuit-brief__window em { font-style: normal; color: var(--text); font-weight: 700; letter-spacing: .02em; flex-shrink: 0; font-size: 13px }
.pursuit-brief__window > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.pursuit-brief__arrow { font-family: var(--font-sans); font-size: 18px; color: var(--text-dim); transition: color .15s, transform .15s; text-align: right; line-height: 1 }
.pursuit-brief__note { margin-top: 20px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: .04em; line-height: 1.7; max-width: 820px }
.pursuit-brief__note-kicker { display: inline-block; margin-right: 12px; padding: 3px 9px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 4px; color: var(--text); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; vertical-align: baseline }
@media (max-width: 820px) {
  .pursuit-brief__head { display: none }
  .pursuit-brief__row { grid-template-columns: 1fr; gap: 10px; padding: 20px 20px 20px 23px }
  .pursuit-brief__row::before { width: 3px }
  .pursuit-brief__agency { gap: 12px }
  .pursuit-brief__thumb { width: 42px; height: 42px; border-radius: 8px }
  .pursuit-brief__vehicles { font-size: 11px; padding-left: 54px }
  .pursuit-brief__window { flex-wrap: wrap; gap: 6px 12px; padding-left: 54px }
  .pursuit-brief__window > span { white-space: normal }
  .pursuit-brief__arrow { display: none }
}
@media (prefers-reduced-motion: reduce) {
  .pursuit-brief__row, .pursuit-brief__row::before, .pursuit-brief__arrow { transition: none !important }
  .pursuit-brief__row:hover .pursuit-brief__arrow { transform: none }
}

/* 10-11. Engage cards */
.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px }
@media (max-width: 900px) { .engage-grid { grid-template-columns: 1fr } }
.engage-card { display: flex; flex-direction: column; gap: 16px; padding: 32px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; transition: border-color .2s, transform .2s; text-decoration: none; color: inherit }
.engage-card:hover { border-color: var(--accent); color: inherit; transform: translateY(-2px) }
.engage-card:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px }
.engage-card h3 { font-size: 20px; font-weight: 700; margin: 0; color: var(--text) }
.engage-card p { font-size: 15.5px; color: var(--text-muted); line-height: 1.55; margin: 0 }
.engage-card__link { margin-top: auto; font-family: var(--font-mono); font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); text-decoration: none }

/* Homepage-specific hero v3 layout (append, does not modify existing .hero) */
.home-hero { padding: 140px 0 64px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden }
.home-hero__grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 56px; align-items: center }
@media (max-width: 1000px) { .home-hero__grid { grid-template-columns: 1fr; gap: 32px } .home-hero__motif { display: none } }
.home-hero__eyebrow { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .22em; color: var(--text-muted); margin-bottom: 28px }
.home-hero__h1 { font-family: var(--font-sans); font-size: clamp(42px, 5.2vw, 68px); font-weight: 800; letter-spacing: -2.4px; line-height: 1.02; color: var(--text); margin: 0 0 24px; max-width: 14ch }
.home-hero__sub { font-size: 17.5px; color: var(--text-muted); line-height: 1.6; max-width: 600px; margin: 0 0 28px }
.home-hero__cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px }
.home-hero__motif { opacity: .1; width: 100%; height: auto; max-width: 420px; margin: 0 auto; color: var(--accent) }
@media (prefers-color-scheme: dark) { .home-hero__motif { opacity: .12 } }

/* Reduced-motion guard */
@media (prefers-reduced-motion: reduce) {
  .cap-tab, .cred-chip, .cred-chip--verify, .disclosure-banner, .agency-wall .cell, .engage-card, .cap-tab-panel__tile, .cap-tab-panel__tile-thumb, .cap-tab-panel__tile-thumb img, .hero-id-strip a { transition: none !important }
  .engage-card:hover { transform: none }
  .home-hero__h1 em { animation: none !important }
}

/* =========================================================================
   FEDERAL COLOR SYSTEM (2026-04-18 rev2) — Navy + Gold palette only.
   No pink, no violet, no cyan, no emerald. Every section gets its own surface
   treatment so the page isn't "colored hero + white everywhere else".
   Palette:   navy  #0a1a3a #0b1220 #1e3a8a
              blue  #1d4ed8 #3b82f6 #60a5fa
              gold  #b45309 #d97706 #f59e0b #fbbf24
              warm  #fdf9ee #f8f3e3   (cream)
              cool  #f2f6fc #eaf1fa   (pale blue)
              green #16a34a (active-status only, never decorative)
   ========================================================================= */

/* ── HERO ── navy-to-blue-to-gold mesh, federal-serious ──────────────────── */
.home-hero { background: #fafbfc; isolation: isolate }
.home-hero::before {
  content: ""; position: absolute; inset: -12% -8% -4% -8%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 82% 18%, rgba(30,58,138,.32), transparent 62%),
    radial-gradient(ellipse 55% 50% at 15% 30%, rgba(29,78,216,.40), transparent 62%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(217,119,6,.28), transparent 65%),
    radial-gradient(ellipse 40% 35% at 92% 75%, rgba(245,158,11,.22), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #fafbfd 55%, #eef3fb 100%);
  filter: saturate(1.15);
}
.home-hero::after {
  content: ""; position: absolute; inset: -10% 0 0 0; z-index: -1; pointer-events: none; opacity: .5;
  background: repeating-conic-gradient(from 220deg at 85% 15%,
    rgba(30,58,138,.14) 0deg 6deg, transparent 6deg 14deg,
    rgba(29,78,216,.12) 14deg 22deg, transparent 22deg 32deg,
    rgba(217,119,6,.12) 32deg 40deg, transparent 40deg 56deg);
  -webkit-mask-image: radial-gradient(ellipse 120% 100% at 85% 15%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 120% 100% at 85% 15%, #000 20%, transparent 75%);
}

/* Headline accent word — blue-to-gold only. Classic federal seal treatment. */
.home-hero__h1 em {
  font-style: normal;
  background: linear-gradient(95deg, #1d4ed8 0%, #3b82f6 35%, #d97706 75%, #f59e0b 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Hex motif — navy + gold concentric rings, no more rainbow */
.home-hero__motif { opacity: 1; color: transparent; position: relative; filter: drop-shadow(0 18px 36px rgba(29,78,216,.18)) }
.home-hero__motif::before {
  content: ""; position: absolute; inset: 10% 14%; z-index: -1; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(29,78,216,.45), transparent 60%),
    radial-gradient(circle at 65% 60%, rgba(217,119,6,.32), transparent 60%);
  filter: blur(22px); opacity: .7;
}
.home-hero__motif > g:first-of-type > polygon:nth-of-type(1) { stroke: #1e3a8a; opacity: .85 }
.home-hero__motif > g:first-of-type > polygon:nth-of-type(2) { stroke: #1d4ed8; opacity: .8 }
.home-hero__motif > g:first-of-type > polygon:nth-of-type(3) { stroke: #d97706; opacity: .78 }
.home-hero__motif > g:first-of-type > path { stroke: #3b82f6; opacity: .55 }
.home-hero__motif > g:first-of-type > circle { fill: #d97706; stroke: none; filter: drop-shadow(0 0 12px rgba(217,119,6,.6)) }
.home-hero__motif > g[opacity] > polygon { stroke: #1e3a8a; opacity: .5 !important }

/* SAM.gov live-status dot — green is ONLY for verification/active status */
.fact-dot-live { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; display: inline-block; box-shadow: 0 0 0 3px rgba(22,163,74,.22); animation: fd-pulse 2.4s ease-in-out infinite }
@keyframes fd-pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(22,163,74,.22) } 50% { box-shadow: 0 0 0 7px rgba(22,163,74,.04) } }

/* Hero ID strip — all tonal navy/gold variations, no rainbow */
.hero-id-strip { gap: 8px 10px }
.hero-id-strip > *:not(:last-child)::after { display: none }
.hero-id-strip > span[role="listitem"] { padding: 6px 12px; background: rgba(255,255,255,.75); border: 1px solid rgba(29,78,216,.22); border-radius: 100px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text) }
.hero-id-strip > span[role="listitem"]:nth-child(3),
.hero-id-strip > span[role="listitem"]:nth-child(5) { border-color: rgba(217,119,6,.28) }

/* ── CAPABILITIES SECTION ── pale cool-blue wash ─────────────────────────── */
.home-section#capabilities {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f2f6fc 0%, #eaf1fa 100%);
  border-top: 1px solid rgba(29,78,216,.08);
  border-bottom: 1px solid rgba(29,78,216,.08);
}
.home-section#capabilities::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background:
    radial-gradient(ellipse 50% 35% at 8% 8%, rgba(29,78,216,.14), transparent 65%),
    radial-gradient(ellipse 45% 30% at 92% 95%, rgba(30,58,138,.12), transparent 65%);
}
.home-section#capabilities > .container { position: relative; z-index: 1 }

/* Cap tile hover accent overrides for the navy-themed Capabilities section
   Bento tiles use border-color:var(--accent) on hover via base rule above —
   no extra card-style overrides needed in the navy section. */

/* Cap tab active underline — navy→gold gradient */
.cap-tab[aria-selected="true"],
.cap-tab.is-active {
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #1e3a8a, #1d4ed8, #d97706) 1;
}

/* Section-header eyebrow accent line — navy→gold */
.home-section .eyebrow { display: inline-flex; align-items: center; gap: 10px; position: relative }
.home-section .eyebrow::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #1d4ed8, #d97706);
  display: inline-block;
}

/* ── FOUNDER / PI SECTION (2nd home-section) ── warm cream treatment ────── */
.home-section[aria-labelledby="pi-h2"] {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fdf9ee 0%, #f8f3e3 100%);
  border-top: 1px solid rgba(217,119,6,.12);
  border-bottom: 1px solid rgba(217,119,6,.12);
}
.home-section[aria-labelledby="pi-h2"]::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .45;
  background:
    radial-gradient(ellipse 45% 35% at 92% 5%, rgba(217,119,6,.20), transparent 65%),
    radial-gradient(ellipse 40% 30% at 5% 95%, rgba(245,158,11,.15), transparent 65%);
}
.home-section[aria-labelledby="pi-h2"] > .container { position: relative; z-index: 1 }

/* Cred chips get a gold accent border */
.cred-chip { border: 1px solid rgba(217,119,6,.35) !important; background: rgba(255,255,255,.7) !important }
.cred-chip--verify { border-color: rgba(22,163,74,.45) !important; background: rgba(220,252,231,.5) !important }

/* ── PRIOR DELIVERY SECTION (3rd home-section) ── DARK NAVY, white text ── */
.home-section[aria-labelledby="prior-h2"] {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #0a1a3a 0%, #0b1220 100%);
  color: #e8eef7;
  border-top: 1px solid #1e3a8a;
  border-bottom: 1px solid #1e3a8a;
}
.home-section[aria-labelledby="prior-h2"]::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .6;
  background:
    radial-gradient(ellipse 50% 40% at 15% 15%, rgba(29,78,216,.45), transparent 65%),
    radial-gradient(ellipse 45% 35% at 90% 85%, rgba(217,119,6,.25), transparent 65%);
  filter: blur(4px);
}
.home-section[aria-labelledby="prior-h2"] > .container { position: relative; z-index: 1 }
.home-section[aria-labelledby="prior-h2"] h2,
.home-section[aria-labelledby="prior-h2"] .section-title { color: #ffffff !important }
.home-section[aria-labelledby="prior-h2"] .eyebrow { color: #fbbf24 !important }
.home-section[aria-labelledby="prior-h2"] .eyebrow::before { background: linear-gradient(90deg, #fbbf24, #d97706) }
.home-section[aria-labelledby="prior-h2"] .proof-card {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #cbd5e1;
}
.home-section[aria-labelledby="prior-h2"] .proof-card h3 { color: #ffffff !important }
.home-section[aria-labelledby="prior-h2"] .proof-card p { color: #cbd5e1 !important }
.home-section[aria-labelledby="prior-h2"] .proof-agency { color: #fbbf24 !important }
.home-section[aria-labelledby="prior-h2"] .cap-tab-panel__tile-tags span { background: rgba(255,255,255,.06) !important; border-color: rgba(255,255,255,.12) !important; color: #cbd5e1 !important }
.home-section[aria-labelledby="prior-h2"] .disclosure-banner { background: rgba(251,191,36,.08) !important; border-color: rgba(251,191,36,.35) !important; color: #e8eef7 !important }
.home-section[aria-labelledby="prior-h2"] .disclosure-banner__label { color: #fbbf24 !important }
.home-section[aria-labelledby="prior-h2"] .section-cta-row a { color: #60a5fa !important }
.home-section[aria-labelledby="prior-h2"] .proof-result .indicator { background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.22) }

/* ── AGENCY PURSUIT SECTION ── pale blue wash, light text back ─────────── */
.home-section#agencies {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f6f9fd 0%, #ecf2fa 100%);
  border-bottom: 1px solid rgba(29,78,216,.08);
}
.home-section#agencies::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .4;
  background:
    radial-gradient(ellipse 40% 30% at 5% 50%, rgba(29,78,216,.14), transparent 65%),
    radial-gradient(ellipse 40% 30% at 95% 50%, rgba(30,58,138,.12), transparent 65%);
}
.home-section#agencies > .container { position: relative; z-index: 1 }

/* Agency-wall cells get a gold hover hint */
.agency-wall .cell:hover { border-color: #d97706 !important; color: #1e3a8a !important }
.agency-wall .cell__name { color: #0a1a3a }

/* ── INSIGHTS SECTION ── warm cream ────────────────────────────────────── */
.home-section#insights {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fefcf5 0%, #faf3df 100%);
  border-bottom: 1px solid rgba(217,119,6,.12);
}
.home-section#insights::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .4;
  background:
    radial-gradient(ellipse 45% 30% at 92% 10%, rgba(217,119,6,.16), transparent 65%),
    radial-gradient(ellipse 40% 28% at 8% 90%, rgba(245,158,11,.12), transparent 65%);
}
.home-section#insights > .container { position: relative; z-index: 1 }

/* Insights row — tonal (all navy/gold), no rainbow */
.insights-row a { border-left: 3px solid transparent; background: var(--bg-elevated); transition: border-color .2s, transform .2s, box-shadow .2s }
.insights-row a:nth-child(1) { border-left-color: #1d4ed8 }
.insights-row a:nth-child(2) { border-left-color: #1e3a8a }
.insights-row a:nth-child(3) { border-left-color: #d97706 }
.insights-row a:hover { border-left-width: 3px; transform: translateY(-3px); box-shadow: 0 14px 32px -14px rgba(15,23,42,.14); color: inherit }

/* ── ENGAGEMENT PATHS SECTION ── slate/deep-blue gradient ──────────────── */
.home-section#engage {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #0b1220 0%, #0a1a3a 100%);
  color: #e8eef7;
  border-top: 1px solid #1e3a8a;
}
.home-section#engage::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background:
    radial-gradient(ellipse 55% 45% at 15% 100%, rgba(29,78,216,.40), transparent 65%),
    radial-gradient(ellipse 45% 35% at 85% 0%, rgba(217,119,6,.22), transparent 65%);
  filter: blur(6px);
}
.home-section#engage > .container { position: relative; z-index: 1 }
.home-section#engage h2,
.home-section#engage .section-title { color: #ffffff !important }
.home-section#engage .eyebrow { color: #fbbf24 !important }
.home-section#engage .eyebrow::before { background: linear-gradient(90deg, #fbbf24, #d97706) }
.home-section#engage .engage-card {
  background: rgba(255,255,255,.04) !important;
  border-color: rgba(255,255,255,.12) !important;
  color: #cbd5e1 !important;
}
.home-section#engage .engage-card:hover { border-color: #fbbf24 !important; background: rgba(251,191,36,.06) !important }
.home-section#engage .engage-card h3 { color: #ffffff !important }
.home-section#engage .engage-card p { color: #cbd5e1 !important }
.home-section#engage .engage-card__link { color: #fbbf24 !important }
.home-section#engage .engage-card:hover .engage-card__link { color: #fde68a !important }

/* Dark-mode refinements */
@media (prefers-color-scheme: dark) {
  .home-hero { background: #06080f }
  .home-hero::before {
    background:
      radial-gradient(ellipse 65% 55% at 82% 18%, rgba(30,58,138,.55), transparent 62%),
      radial-gradient(ellipse 55% 50% at 15% 30%, rgba(29,78,216,.55), transparent 62%),
      radial-gradient(ellipse 70% 50% at 50% 100%, rgba(217,119,6,.35), transparent 65%),
      radial-gradient(ellipse 40% 35% at 92% 75%, rgba(245,158,11,.25), transparent 65%),
      linear-gradient(180deg, #06080f 0%, #0a0d14 55%, #06080f 100%);
  }
  .home-section#capabilities,
  .home-section#agencies { background: linear-gradient(180deg, #0a0d14 0%, #0d1220 100%); border-color: #1e3a8a }
  .home-section[aria-labelledby="pi-h2"],
  .home-section#insights { background: linear-gradient(180deg, #13100a 0%, #1a1508 100%); border-color: rgba(217,119,6,.25) }
  .hero-id-strip > span[role="listitem"] { background: rgba(21,26,40,.75); color: var(--text) }
  .hero-id-strip > span[role="listitem"] a { color: var(--text) }

  /* Kicker / section label colors — brighter variants for dark bg */
  :root {
    --k-sbir: #f87171;
    --k-agencies: #60a5fa;
    --k-compliance: #2dd4bf;
    --k-ai-llm: #a78bfa;
    --k-mlops: #fb923c;
    --k-vehicles: #fbbf24;
    --k-business: #60a5fa;
    --k-market: #34d399;
    --k-other: #94a3b8;
    --accent: #60a5fa;
    --accent-bright: #93c5fd;
    --accent-dim: #3b82f6;
  }

  /* Credential chips — were hardcoded light rgba in light-mode override */
  .cred-chip { background: rgba(21,26,40,.75) !important; border-color: rgba(255,255,255,.14) !important; color: var(--text) !important }
  .cred-chip:hover { color: var(--text) !important; border-color: rgba(255,255,255,.3) !important }
  .cred-chip--verify { background: rgba(34,197,94,.14) !important; border-color: rgba(34,197,94,.35) !important; color: var(--text) !important }
  .cred-chip--verify::after { color: #34d399 !important }

  /* Proof page verify buttons — !important to beat page-level style block */
  .proof-page .cred-verify-btn { background: rgba(96,165,250,.08) !important; border-color: rgba(96,165,250,.3) !important; color: #93c5fd !important }
  .proof-page .cred-verify-btn:hover { background: #60a5fa !important; color: #0a0d14 !important; border-color: #60a5fa !important }
  .proof-page .cred-verify-btn.gold { background: rgba(251,191,36,.08) !important; border-color: rgba(251,191,36,.35) !important; color: #fbbf24 !important }
  .proof-page .cred-verify-btn.gold:hover { background: #fbbf24 !important; color: #0a0d14 !important; border-color: #fbbf24 !important }
  .proof-page strong,
  .proof-page .credential-body strong,
  .proof-page .cred-label { color: var(--text) !important }

  /* Agency hub "featured" card — gold bg requires dark text for contrast */
  .ah-card.featured { background: linear-gradient(180deg, rgba(201,169,97,.10), var(--bg-elevated) 60%) !important; border-color: rgba(201,169,97,.4) !important }
  .ah-card.featured h3,
  .ah-card.featured .sub,
  .ah-card.featured .badge,
  .ah-card.featured blockquote { color: var(--text) !important }
  .ah-chip { background: rgba(96,165,250,.1) !important; color: var(--text) !important; border-color: rgba(96,165,250,.25) !important }
  .ah-chip strong { color: #93c5fd !important }

  /* Footer fallbacks */
  .footer-col h5 { color: var(--text) !important }
  .footer-col a, .footer-col span { color: var(--text-muted) !important }
  .footer-col a:hover { color: var(--accent-bright) !important }

  /* Generic safety net: any leftover dark-navy-on-dark */
  .ah-chip, .badge, .pp-status, .section-label { color: var(--text) }
}

/* =========================================================================
   MOBILE POLISH (2026-04-30 — homepage audit @ 375/414/768)
   Tightens vertical padding, scales hero h1 down on phones, trims
   section-title min size, narrows container padding at sub-500px,
   reduces cta-v2 vertical spread, ensures cap-tab-bar scrolls cleanly
   without layout shift, lets bento cap-tab-panel tiles 2/3 inherit the
   horizontal-thumb layout, prevents accidental overflow.
   ========================================================================= */

/* ── Tablet portrait + small laptop downscale (≤860) ──────────────────────── */
@media (max-width: 860px) {
  .home-hero { padding: 112px 0 56px }
  .home-section { padding: 72px 0 }
  .home-section--tight { padding: 56px 0 }
  .cta-v2 { padding: 88px 0 }
  .cta-v2__title { font-size: clamp(28px, 5.6vw, 44px) !important }
  .cta-v2__lede { font-size: 16.5px }
  .home-hero__h1 { font-size: clamp(36px, 6.4vw, 56px) !important; max-width: 18ch }
  .section-title { font-size: clamp(28px, 4.8vw, 44px); letter-spacing: -1.4px }
  .section-desc { font-size: 16px }
}

/* ── Phone (≤640) — tighter padding, reduced type, single-col snaps ─────── */
@media (max-width: 640px) {
  /* Hero — bring stat strip closer to fold */
  .home-hero { padding: 96px 0 48px }
  .home-hero__eyebrow { margin-bottom: 18px; font-size: 10.5px; letter-spacing: .18em }
  .home-hero__h1 { font-size: clamp(32px, 8.4vw, 44px) !important; letter-spacing: -1.4px; margin-bottom: 18px; max-width: none }
  .home-hero__sub { font-size: 16px; line-height: 1.55; margin-bottom: 22px }
  .home-hero__cta-row { gap: 10px; margin-bottom: 4px }
  .home-hero__cta-row .btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 14px }

  /* Section spacing — 96 → 56 */
  .home-section { padding: 56px 0 }
  .home-section--tight { padding: 44px 0 }
  .home-section__header .section-desc { margin-top: 12px }

  /* Section titles — 32 → 26 floor */
  .section-title { font-size: clamp(24px, 6.8vw, 36px) !important; letter-spacing: -1px; line-height: 1.1 }
  .section-desc { font-size: 15px; line-height: 1.6 }

  /* Hero ID strip — tighten the dot-separator gap */
  .hero-id-strip { gap: 8px 16px; padding: 16px 0; font-size: 12px }
  .hero-id-strip > *:not(:last-child)::after { margin-left: 16px }

  /* CTA-v2 (control-room band) — 112 → 64 */
  .cta-v2 { padding: 64px 0 }
  .cta-v2__inner { padding: 0 22px }
  .cta-v2__kicker { margin-bottom: 12px; font-size: 10.5px; letter-spacing: .18em }
  .cta-v2__title { font-size: clamp(26px, 7vw, 36px) !important; letter-spacing: -1.2px; margin-bottom: 14px }
  .cta-v2__lede { font-size: 15.5px; margin-bottom: 24px }
  .cta-v2__actions { gap: 10px }
  .cta-v2__btn-primary, .cta-v2__btn-ghost { width: 100%; justify-content: center; padding: 14px 22px; font-size: 14px }

  /* Capabilities tab bar — keep horizontal scroll, tighten cell padding so more fits before the swipe */
  .cap-tab-bar { padding-bottom: 2px }
  .cap-tab { padding: 0 14px; font-size: 11px; letter-spacing: .1em }

  /* Capabilities tab panel — already collapses at <900; tighten panel pad */
  .cap-tab-panel { padding: 32px 0; gap: 16px }

  /* Insights carousel — tighten body padding so 88% slide reads cleanly */
  .insights-row__body { padding: 18px 20px 22px }
  .insights-carousel__nav { margin-top: 20px; gap: 12px }

  /* Engage cards — keep generous padding but trim on smallest */
  .engage-card { padding: 24px 22px; gap: 12px }
  .engage-card h3 { font-size: 19px }
  .engage-card p { font-size: 14.5px; line-height: 1.55 }

  /* Footer — collapse fully to single column, tighten spacing */
  .footer-grid { grid-template-columns: 1fr; gap: 28px 0 }
  .footer-brand p { font-size: 13.5px; line-height: 1.6 }
}

/* ── Narrow phone (≤420) — final tightening ──────────────────────────────── */
@media (max-width: 420px) {
  /* Container — 32 → 22 to recover horizontal real estate */
  .container { padding: 0 22px }

  /* Hero h1 — even smaller floor for ultra-narrow */
  .home-hero__h1 { font-size: clamp(28px, 8vw, 38px) !important }

  /* Section title floor */
  .section-title { font-size: clamp(22px, 6.4vw, 30px) !important }

  /* Founder block — already collapses at 720; tighten interior padding */
  .founder-block { padding: 24px 20px }
  .founder-block__name { font-size: 22px }
  .founder-block__bio { font-size: 14.5px; line-height: 1.6 }

  /* Cap-tab-panel tile — tighter padding, smaller thumb */
  .cap-tab-panel__tile:nth-of-type(1),
  .cap-tab-panel__tile:nth-of-type(2),
  .cap-tab-panel__tile:nth-of-type(3) {
    padding: 16px 16px;
    grid-template-columns: 64px 1fr;
    column-gap: 12px;
  }
  .cap-tab-panel__tile:nth-of-type(1) .cap-tab-panel__tile-thumb,
  .cap-tab-panel__tile:nth-of-type(2) .cap-tab-panel__tile-thumb,
  .cap-tab-panel__tile:nth-of-type(3) .cap-tab-panel__tile-thumb { width: 64px; height: 64px; border-radius: 10px }
  .cap-tab-panel__tile h3 { font-size: 15px !important }
  .cap-tab-panel__tile p { font-size: 13.5px !important; line-height: 1.55 }
  .cap-tab-panel__tile-tags span { font-size: 10px }

  /* Engage card — slightly tighter */
  .engage-card { padding: 22px 20px }

  /* Agency pillars — tighter card image, shrink height */
  .agency-pillar { gap: 12px }
  .agency-pillar__img { aspect-ratio: 16/9 !important }
  .agency-pillar__meta { padding-top: 14px }
  .agency-pillar__label { font-size: 12.5px }
  .agency-pillar__sub { font-size: 13.5px; line-height: 1.55 }

  /* Insights carousel slide — already 88% via existing rule, body stays comfy */
  .insights-row__body { padding: 16px 18px 20px }
  .insights-carousel__slide strong { font-size: 14.5px }
  .insights-carousel__slide p { font-size: 13px }

  /* Hero stat strip — drop pseudo separators, breathe vertically */
  .hero-id-strip { gap: 6px 12px; padding: 14px 0; font-size: 11.5px; flex-wrap: wrap }
  .hero-id-strip > *:not(:last-child)::after { display: none }

  /* CTA-v2 inner pad even tighter */
  .cta-v2__inner { padding: 0 20px }
}

/* Hard guard: prevent any homepage child from causing horizontal overflow */
@media (max-width: 760px) {
  .home-hero, .home-section, .cta-v2, .site-footer { overflow-x: clip }
}



/* 2026-04-30 — capability tab bar: make the 6 domain labels more visually notable so visitors see the breadth */
@media (max-width: 760px) {
  .cap-tab-bar { height: 56px; gap: 2px }
  .cap-tab { height: 56px; padding: 0 16px; font-size: 14px }
}
@media (max-width: 420px) {
  .cap-tab-bar { height: 52px }
  .cap-tab { height: 52px; padding: 0 14px; font-size: 13px }
}
