/* ============================================================
   SarynSpace — Institutional Light
   White space. Navy type. Subtle motion. No decorative chrome.
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:   #FFFFFF;
  --bg-s: #F7F8FA;
  --tx:   #1A1F2E;
  --tx2:  #4A5468;
  --tx3:  #8891A0;
  --navy: #0C1629;
  --acc:  #1A3A5C;
  --acc-h:#2A5A8C;
  --line: #E4E7EC;
  --line-s: #ECEEF2;
  --hover:#FAFBFC;
  --low:  #2E7D3E;
  --mod:  #9A7B1C;
  --high: #B84A3A;
  --crit: #8C2020;
  --gold: #C4975A;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); background: var(--bg); color: var(--tx2);
  line-height: 1.7; -webkit-font-smoothing: antialiased;
  font-size: 15px;
  animation: pageIn 0.35s ease;
}
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
::selection { background: rgba(26,58,92,0.12); }
a { color: var(--acc); text-decoration: none; transition: color .2s; }
a:hover { color: var(--acc-h); }
img { display: block; max-width: 100%; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 48px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-s);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,0.04); }
.nav-inner {
  max-width: 960px; margin: 0 auto; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.nav-logo-img { height: 22px; filter: brightness(0); }
.nav-logo-svg {
  height: 32px; width: auto; color: var(--navy);
  display: block;
}
.nav-logo-img {
  height: 28px; width: auto;
  filter: brightness(0) saturate(100%) invert(10%) sepia(20%) saturate(1500%) hue-rotate(190deg) brightness(20%);
  transition: filter 0.3s;
}
.hero-logo {
  height: 48px; width: auto;
  margin-bottom: 28px;
  display: block;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.8rem; font-weight: 400; color: var(--tx3);
  letter-spacing: 0.01em; transition: color .2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); }
.nav-cta {
  color: var(--acc) !important; font-weight: 500 !important;
  border: 1px solid var(--line) !important; padding: 6px 18px !important;
  transition: all .25s !important;
}
.nav-cta:hover { color: var(--acc-h) !important; border-color: var(--acc) !important; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; background: var(--navy);
  transition: transform .3s, opacity .3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 140px 0 64px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #F0F2F6 0%, var(--bg) 100%);
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 300;
  color: var(--navy); line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 1rem; font-weight: 400; color: var(--tx2);
  line-height: 1.8; max-width: 540px; margin-bottom: 40px;
}
.hero-enter {
  opacity: 0; transform: translateY(16px);
  animation: heroIn 0.8s ease forwards;
}
.hero-enter:nth-child(2) { animation-delay: 0.12s; }
.hero-enter:nth-child(3) { animation-delay: 0.24s; }
.hero-enter:nth-child(4) { animation-delay: 0.36s; }
.hero-enter:nth-child(5) { animation-delay: 0.48s; }
.hero-enter:nth-child(6) { animation-delay: 0.60s; }
.hero-enter:nth-child(7) { animation-delay: 0.72s; }
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}
/* Hero metrics */
.hero-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hm { padding-right: 24px; }
.hm:not(:last-child) {
  border-right: 1px solid var(--line); margin-right: 24px;
}
.hm-n {
  display: block; font-family: var(--mono); font-size: 1.6rem;
  font-weight: 600; color: var(--navy); letter-spacing: -0.02em;
  line-height: 1.1;
}
.hm-l {
  display: block; font-size: 0.74rem; color: var(--tx3); margin-top: 4px;
}

/* ============================================================
   DEEP SPACE HERO (home page only)
   ============================================================ */
.hero-space {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(12,22,41,0.40) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 70%, rgba(8,16,32,0.45) 0%, transparent 45%),
    linear-gradient(170deg, #0A1220 0%, #070E1A 35%, #040912 100%);
  border-bottom: none;
  position: relative;
  overflow: hidden;
  padding: 170px 0 90px;
}
/* Hero label */
.hero-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0.85;
}
.hero-space h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.hero-space .hero-sub {
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  font-size: 1.02rem;
  line-height: 1.85;
}
/* Starfield — bright layer */
.hero-space::before {
  content: '';
  position: absolute;
  width: 1px; height: 1px;
  top: 0; left: 0;
  box-shadow:
    127px 83px 1px 0.5px rgba(255,255,255,0.4),
    382px 192px 0 1.2px rgba(255,255,255,0.3),
    658px 67px 1px 0.5px rgba(255,255,255,0.45),
    891px 248px 0 0.8px rgba(255,255,255,0.35),
    1124px 104px 1px 0.5px rgba(255,255,255,0.38),
    213px 378px 0 1px rgba(255,255,255,0.3),
    1287px 193px 0 0.8px rgba(255,255,255,0.4),
    765px 412px 1px 0.5px rgba(255,255,255,0.28),
    48px 156px 0 0.6px rgba(255,255,255,0.2),
    296px 47px 0 0.6px rgba(255,255,255,0.22),
    531px 289px 0 0.5px rgba(255,255,255,0.18),
    744px 178px 0 0.6px rgba(255,255,255,0.2),
    987px 342px 0 0.6px rgba(255,255,255,0.22),
    1063px 58px 0 0.6px rgba(255,255,255,0.2),
    168px 234px 0 0.5px rgba(255,255,255,0.2),
    423px 401px 0 0.5px rgba(255,255,255,0.18),
    592px 123px 0 0.5px rgba(255,255,255,0.2),
    839px 367px 0 0.5px rgba(255,255,255,0.16),
    1198px 278px 0 0.6px rgba(255,255,255,0.22),
    73px 423px 0 0.5px rgba(255,255,255,0.18),
    1342px 87px 0 0.5px rgba(255,255,255,0.18),
    478px 167px 0 0.5px rgba(255,255,255,0.2),
    1156px 412px 0 0.5px rgba(255,255,255,0.16),
    34px 67px 0 0.3px rgba(255,255,255,0.1),
    187px 312px 0 0.3px rgba(255,255,255,0.09),
    258px 134px 0 0.3px rgba(255,255,255,0.12),
    356px 278px 0 0.3px rgba(255,255,255,0.08),
    445px 89px 0 0.3px rgba(255,255,255,0.1),
    512px 423px 0 0.3px rgba(255,255,255,0.09),
    623px 234px 0 0.3px rgba(255,255,255,0.12),
    678px 345px 0 0.3px rgba(255,255,255,0.08),
    789px 56px 0 0.3px rgba(255,255,255,0.1),
    834px 189px 0 0.3px rgba(255,255,255,0.09),
    912px 134px 0 0.3px rgba(255,255,255,0.12),
    967px 278px 0 0.3px rgba(255,255,255,0.08),
    1034px 187px 0 0.3px rgba(255,255,255,0.1),
    1098px 345px 0 0.3px rgba(255,255,255,0.09),
    1167px 89px 0 0.3px rgba(255,255,255,0.12),
    1234px 234px 0 0.3px rgba(255,255,255,0.08),
    1298px 378px 0 0.3px rgba(255,255,255,0.1),
    1378px 145px 0 0.3px rgba(255,255,255,0.09),
    89px 289px 0 0.3px rgba(255,255,255,0.1),
    312px 367px 0 0.3px rgba(255,255,255,0.08),
    567px 34px 0 0.3px rgba(255,255,255,0.09),
    1045px 423px 0 0.3px rgba(255,255,255,0.1),
    1400px 280px 0 0.6px rgba(255,255,255,0.2),
    50px 480px 0 0.5px rgba(255,255,255,0.15),
    720px 28px 0 0.8px rgba(255,255,255,0.25),
    1050px 460px 0 0.5px rgba(255,255,255,0.14),
    340px 440px 0 0.6px rgba(255,255,255,0.18),
    920px 78px 0 0.4px rgba(255,255,255,0.12);
  pointer-events: none;
  animation: starTwinkle 6s ease-in-out infinite alternate;
}
@keyframes starTwinkle {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.75; }
}
/* Primary orbital arc */
.hero-space::after {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%;
  top: -35%; right: -20%;
  pointer-events: none;
  box-shadow: inset 0 0 100px rgba(26,58,92,0.06);
  animation: orbitDrift 30s ease-in-out infinite alternate;
}
@keyframes orbitDrift {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-15px, 10px) rotate(3deg); }
}
/* Secondary arc via wrap pseudo-element */
.hero-space .wrap::before {
  content: '';
  position: absolute;
  width: 1200px; height: 1200px;
  border: 1px solid rgba(255,255,255,0.025);
  border-radius: 50%;
  top: -400px; left: -500px;
  pointer-events: none;
  z-index: 0;
  animation: orbitDrift 40s ease-in-out infinite alternate-reverse;
}
/* Ambient glow */
.hero-space .wrap::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  top: -20%; right: -30%;
  background: radial-gradient(circle, rgba(196,151,90,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 8s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}
/* Floating satellite */
.hero-sat {
  position: absolute;
  width: 48px; height: 48px;
  top: 28%; right: 18%;
  color: rgba(255,255,255,0.12);
  pointer-events: none;
  z-index: 0;
  animation: satDrift 25s ease-in-out infinite alternate;
}
@keyframes satDrift {
  0%   { transform: translate(0, 0) rotate(-8deg); }
  25%  { transform: translate(-12px, 8px) rotate(-3deg); }
  50%  { transform: translate(-6px, -10px) rotate(2deg); }
  75%  { transform: translate(8px, 4px) rotate(-5deg); }
  100% { transform: translate(-4px, -6px) rotate(0deg); }
}

.hero-space .wrap { position: relative; z-index: 1; }
.hero-space h1 { color: #FFFFFF; }
.hero-space .plat-label { color: var(--gold); }
.hero-space .hero-sub { color: rgba(255,255,255,0.5); }
.hero-space .btn-dark { background: #FFFFFF; color: var(--navy); border-color: #FFFFFF; }
.hero-space .btn-dark:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.hero-space .btn-s { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.25); }
.hero-space .btn-s:hover { color: #FFFFFF; border-color: rgba(255,255,255,0.5); }

/* Hero Terminal Panel */
.hero-terminal {
  margin-top: 56px;
  max-width: 640px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}
/* Top bar */
.term-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.term-top-left {
  display: flex; align-items: center; gap: 10px;
}
.term-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34A853;
  box-shadow: 0 0 6px rgba(52,168,83,0.6);
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(52,168,83,0.6); }
  50% { opacity: 0.5; box-shadow: 0 0 2px rgba(52,168,83,0.3); }
}
.term-title {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.term-meta {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.02em;
}
/* Bar */
.term-bar-wrap {
  padding: 20px 20px 16px;
}
.term-bar {
  display: flex; height: 40px; border-radius: 3px;
  overflow: hidden; gap: 1px;
  background: rgba(0,0,0,0.3);
}
.term-seg {
  width: var(--seg-w);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  position: relative;
  animation: segGrow 1s ease-out forwards;
  animation-delay: 0.6s;
  transform-origin: left;
  transform: scaleX(0);
}
@keyframes segGrow {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
.term-seg:nth-child(2) { animation-delay: 0.75s; }
.term-seg:nth-child(3) { animation-delay: 0.9s; }
.term-seg:nth-child(4) { animation-delay: 1.05s; }
.term-seg-label {
  font-family: var(--mono); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.9);
}
.term-seg-pct {
  font-family: var(--mono); font-size: 0.58rem; font-weight: 500;
  color: rgba(255,255,255,0.6);
}
.term-low  {
  background: linear-gradient(135deg, #1e6b4a 0%, #2A7F62 40%, #34A853 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.term-mod  {
  background: linear-gradient(135deg, #a68236 0%, #C49B5A 40%, #D4A843 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.term-high {
  background: linear-gradient(135deg, #b5612a 0%, #D47735 40%, #E08A3E 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.term-crit {
  background: linear-gradient(135deg, #962d22 0%, #C0392B 40%, #E74C3C 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.term-seg:hover {
  filter: brightness(1.15);
  transition: filter 0.2s;
}
/* Bottom section */
.term-bottom {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 14px 20px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 20px;
}
.term-legend {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.term-leg {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.62rem; color: rgba(255,255,255,0.35);
  font-family: var(--sans);
}
.term-leg em {
  font-style: normal; font-family: var(--mono);
  font-weight: 600; color: rgba(255,255,255,0.55);
}
.term-dot {
  width: 7px; height: 7px; border-radius: 2px; flex-shrink: 0;
}
.td-low  { background: #34A853; }
.td-mod  { background: #D4A843; }
.td-high { background: #E08A3E; }
.td-crit { background: #E74C3C; }
/* KPI badges */
.term-kpis {
  display: flex; gap: 12px; flex-shrink: 0;
}
.term-kpi {
  font-size: 0.6rem; color: rgba(255,255,255,0.3);
  font-family: var(--sans);
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 3px;
  white-space: nowrap;
}
.term-kpi em {
  font-style: normal; font-family: var(--mono);
  font-weight: 600; color: rgba(255,255,255,0.7);
}

/* ============================================================
   NAV — transparent over dark hero (home page)
   ============================================================ */
body.home .nav {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
body.home .nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line-s);
}
body.home .nav-logo-img { filter: none; }
body.home .nav.scrolled .nav-logo-img {
  filter: brightness(0) saturate(100%) invert(10%) sepia(20%) saturate(1500%) hue-rotate(190deg) brightness(20%);
}
body.home .nav-toggle span { background: #FFFFFF; }
body.home .nav.scrolled .nav-toggle span { background: var(--navy); }
@media (min-width: 769px) {
  body.home .nav-links a { color: rgba(255,255,255,0.6); }
  body.home .nav-links a:hover,
  body.home .nav-links a.active { color: #FFFFFF; }
  body.home .nav.scrolled .nav-links a { color: var(--tx3); }
  body.home .nav.scrolled .nav-links a:hover,
  body.home .nav.scrolled .nav-links a.active { color: var(--navy); }
  body.home .nav-cta {
    border-color: rgba(255,255,255,0.2) !important;
    color: rgba(255,255,255,0.7) !important;
  }
  body.home .nav-cta:hover {
    border-color: rgba(255,255,255,0.4) !important;
    color: #FFFFFF !important;
  }
  body.home .nav.scrolled .nav-cta {
    border-color: var(--line) !important;
    color: var(--acc) !important;
  }
  body.home .nav.scrolled .nav-cta:hover {
    border-color: var(--acc) !important;
    color: var(--acc-h) !important;
  }
}

/* Hero button overrides for dark bg */
.hero-btns {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}
.btn-hero-primary {
  display: inline-block; font-family: var(--sans);
  font-size: 0.82rem; font-weight: 500;
  color: var(--navy);
  background: #FFFFFF;
  border: 1px solid #FFFFFF;
  padding: 14px 36px;
  letter-spacing: 0.02em;
  transition: all .3s;
}
.btn-hero-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #FFFFFF;
  box-shadow: 0 4px 24px rgba(196,151,90,0.25);
}
.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 0.82rem; font-weight: 500;
  color: rgba(255,255,255,0.7);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 14px 32px;
  letter-spacing: 0.02em;
  transition: all .3s;
}
.btn-hero-secondary:hover {
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
}
.btn-arrow {
  transition: transform 0.3s;
  display: inline-block;
}
.btn-hero-secondary:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-p {
  display: inline-block; font-family: var(--sans);
  font-size: 0.82rem; font-weight: 500; color: var(--navy);
  background: transparent; border: 1px solid var(--line);
  padding: 12px 32px; letter-spacing: 0.02em;
  transition: all .25s;
}
.btn-p:hover { border-color: var(--acc); color: var(--acc); }

.btn-s {
  display: inline-block; font-family: var(--sans);
  font-size: 0.82rem; font-weight: 500; color: var(--tx2);
  background: transparent; border: 1px solid var(--line);
  padding: 12px 32px; letter-spacing: 0.02em;
  transition: all .25s;
}
.btn-s:hover { border-color: var(--navy); color: var(--navy); }

.btn-dark {
  display: inline-block; font-family: var(--sans);
  font-size: 0.82rem; font-weight: 500; color: #FFFFFF;
  background: var(--navy); border: 1px solid var(--navy);
  padding: 12px 32px; letter-spacing: 0.02em;
  transition: all .25s;
}
.btn-dark:hover { background: var(--acc); border-color: var(--acc); color: #FFFFFF; }

/* ============================================================
   FIGURES + RISK STRIP
   ============================================================ */
.figures-sec {
  padding: 56px 0 48px;
}
.fig-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-bottom: 48px;
}
.fig {
  padding-right: 24px;
}
.fig:not(:last-child) {
  border-right: 1px solid var(--line);
  margin-right: 24px;
}
.fig-n {
  display: block; font-family: var(--mono); font-size: 2rem;
  font-weight: 600; color: var(--navy); letter-spacing: -0.02em;
  line-height: 1.1;
}
.fig-l {
  display: block; font-size: 0.78rem; color: var(--tx3);
  margin-top: 4px;
}

/* Risk header */
.risk-header {
  display: flex; align-items: baseline; gap: 16px; margin-bottom: 32px;
}
.risk-header h2 {
  font-size: 1.6rem; font-weight: 300; color: var(--navy);
  letter-spacing: -0.01em; margin-bottom: 0;
  padding-bottom: 0; border-bottom: none; display: inline;
}
.risk-subtitle {
  font-size: 0.82rem; color: var(--tx3); font-weight: 400;
}

/* Risk strip */
.risk-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.risk-item {
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--line);
  border-right: none;
  border-top: 3px solid var(--line);
  transition: background 0.25s;
}
.risk-item:last-child { border-right: 1px solid var(--line); }
.risk-item:hover { background: var(--hover); }
.risk-item:nth-child(1) { border-top-color: var(--low); }
.risk-item:nth-child(2) { border-top-color: var(--mod); }
.risk-item:nth-child(3) { border-top-color: var(--high); }
.risk-item:nth-child(4) { border-top-color: var(--crit); }
.risk-band {
  font-family: var(--mono); font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.08em;
}
.risk-count {
  font-family: var(--mono); font-size: 2rem; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.risk-label {
  font-size: 0.7rem; color: var(--tx3); margin-top: -4px;
}
.risk-pct {
  font-size: 0.76rem; color: var(--tx3); margin-top: 4px;
  padding-top: 8px; border-top: 1px solid var(--line-s);
}
.c-low { color: var(--low); }
.c-mod { color: var(--mod); }
.c-high { color: var(--high); }
.c-crit { color: var(--crit); }

.note {
  font-size: 0.76rem; color: var(--tx3); line-height: 1.6;
  margin-top: 12px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.sec {
  padding: 68px 0;
}
.sec + .sec { border-top: none; }
.sec-alt { background: var(--bg-s); }
.sec h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem; font-weight: 500; color: var(--navy);
  letter-spacing: -0.01em; margin-bottom: 20px;
  line-height: 1.2;
}
.sec-lead {
  font-size: 0.92rem; color: var(--tx2); line-height: 1.8;
  max-width: 620px; margin-bottom: 56px;
}

/* Scroll fade */
.fade-in {
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ============================================================
   THESIS
   ============================================================ */
.thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.thesis-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-top: 3px solid var(--gold);
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.thesis-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.thesis-card h3 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}
.thesis-card > p {
  font-size: 0.84rem;
  color: var(--tx2);
  line-height: 1.8;
  margin-bottom: 0;
}
.thesis-rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 20px 0 16px;
}
.thesis-tagline {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
}
.thesis-closer {
  margin: 48px auto 0;
  padding: 20px 28px;
  border-left: 3px solid var(--gold);
  font-size: 1.12rem;
  font-weight: 500;
  font-style: italic;
  color: var(--navy);
  letter-spacing: -0.01em;
  max-width: 480px;
}
.thesis-rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 20px 0 16px;
}
.thesis-tagline {
  font-style: italic;
  font-size: 0.84rem;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ============================================================
   LAYERS
   ============================================================ */
.layers { margin-top: 8px; }
.layer {
  padding: 32px 28px;
  border-bottom: 1px solid var(--line-s);
  transition: background .2s;
}
.layer:first-child { border-top: 1px solid var(--line); }
.layer:last-child { border-bottom: 1px solid var(--line); }
.layer:hover { background: var(--hover); }
.layer-head {
  display: flex; align-items: baseline; gap: 20px;
  margin-bottom: 16px;
}
.layer-num {
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--tx3); letter-spacing: 0.04em;
}
.layer h3 {
  font-size: 1.1rem; font-weight: 600; color: var(--navy);
  line-height: 1.2;
}
.layer-role {
  font-size: 0.76rem; color: var(--tx3); margin-left: 2px;
}
.layer > p {
  font-size: 0.86rem; color: var(--tx2); line-height: 1.8;
  max-width: 640px; margin-bottom: 20px;
}
.layer-tags { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.layer-tags span { font-size: 0.76rem; color: var(--tx3); }

/* ============================================================
   PLATFORM TEASER (landing page — horizontal cards)
   ============================================================ */
.plat-cards {
  display: flex; gap: 24px; margin-top: 48px;
}
.plat-card {
  flex: 1; min-width: 0;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  border-left: 2px solid var(--line);
  opacity: 0.5;
  transition: opacity 0.6s ease, border-color 0.6s ease;
}
.plat-card.active {
  opacity: 1;
  border-left-color: var(--gold);
}
.plat-card-num {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  color: var(--tx3); margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.plat-card h3 {
  font-size: 0.92rem; font-weight: 600; color: var(--navy);
  line-height: 1.3; margin-bottom: 10px;
}
.plat-card p {
  font-size: 0.82rem; color: var(--tx2); line-height: 1.7;
}
.plat-link {
  display: inline-block; margin-top: 32px;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  color: var(--tx2); letter-spacing: 0.04em;
  padding: 10px 24px;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: all .3s;
}
.plat-link:hover {
  color: var(--navy);
  background: rgba(255,255,255,0.8);
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(196,151,90,0.1);
}
.plat-link::after {
  content: ' \2192'; font-size: 0.9em; opacity: 0.4;
  transition: opacity .2s, transform .2s;
  display: inline-block;
}
.plat-link:hover::after { opacity: 1; transform: translateX(3px); }

/* ============================================================
   PLATFORM PREVIEW — dark section
   ============================================================ */
.sec-dark {
  background: var(--navy);
  padding: 80px 0;
}
.preview {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.06);
}
.preview img { width: 100%; display: block; }

/* ============================================================
   COVERAGE + BUILT FOR — split layout
   ============================================================ */
.split {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 64px; align-items: start;
}
.split-side h3 {
  font-size: 1rem; font-weight: 500; color: var(--navy);
  margin-bottom: 28px;
}
.for-item {
  margin-bottom: 24px;
}
.for-item:last-child { margin-bottom: 0; }
.for-item h4 {
  font-size: 0.86rem; font-weight: 600; color: var(--navy);
  margin-bottom: 6px; line-height: 1.3;
}
.for-item p {
  font-size: 0.8rem; color: var(--tx2); line-height: 1.7;
}

/* Tables */
.cov-table, .val-table {
  width: 100%; border-collapse: collapse; margin-bottom: 16px;
}
.cov-table th, .val-table th {
  font-size: 0.68rem; font-weight: 500; color: var(--tx3);
  text-transform: uppercase; letter-spacing: 0.1em;
  text-align: left; padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.cov-table td, .val-table td {
  font-size: 0.86rem; color: var(--tx2); padding: 11px 0;
  border-bottom: 1px solid var(--line-s);
  transition: background .15s;
}
.cov-table tbody tr:hover td,
.val-table tbody tr:hover td { background: var(--hover); }
.cov-table td:first-child {
  font-family: var(--mono); font-weight: 600; color: var(--navy);
}

/* ============================================================
   VALIDATION
   ============================================================ */
.val-ticker {
  overflow: hidden;
  margin-bottom: 32px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.val-ticker-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: tickerScroll 40s linear infinite;
}
.val-ticker:hover .val-ticker-track {
  animation-play-state: paused;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.val-case {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  color: var(--tx3); padding: 6px 14px;
  border: 1px solid var(--line);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.val-case::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.vc-neg::before { background: var(--high); }
.vc-pos::before { background: var(--low); }
.val-inline {
  display: flex; flex-wrap: wrap; gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.val-kv {
  font-size: 0.78rem; color: var(--tx3);
}
.val-kv em {
  font-style: normal; font-family: var(--mono);
  font-weight: 600; color: var(--navy); font-size: 0.92rem;
  margin-right: 4px;
}
.val-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.val-metric {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  transition: transform 0.2s, box-shadow 0.2s;
}
.val-metric:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.val-n {
  display: block; font-family: var(--mono); font-size: 2rem;
  font-weight: 600; color: var(--navy); letter-spacing: -0.02em;
  line-height: 1.1;
}
.val-l {
  display: block; font-size: 0.76rem; color: var(--tx3);
  margin-top: 8px; letter-spacing: 0.02em;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; margin-top: 48px;
}
.team-card {
  display: flex; flex-direction: column;
}
.team-photo {
  width: 100%; aspect-ratio: 3/4; flex-shrink: 0;
  overflow: hidden; margin-bottom: 24px;
  background: var(--bg-s);
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: top;
  filter: grayscale(0.15);
}
.team-photo.no-img {
  display: flex; align-items: center; justify-content: center;
}
.team-photo.no-img::after {
  content: '';
  width: 48px; height: 48px;
  background: var(--line);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v2.4h19.2v-2.4c0-3.2-6.4-4.8-9.6-4.8z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v2.4h19.2v-2.4c0-3.2-6.4-4.8-9.6-4.8z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.team-name-row {
  display: flex; align-items: center; gap: 8px;
}
.team-info h3 {
  font-size: 1.05rem; font-weight: 600; color: var(--navy);
  margin-bottom: 2px;
}
.team-role {
  display: block; font-size: 0.8rem; color: var(--tx3);
  margin-bottom: 14px;
}
.team-info p {
  font-size: 0.82rem; color: var(--tx2); line-height: 1.75;
  margin-bottom: 12px; max-width: 580px;
}
.team-cred {
  display: block; font-size: 0.76rem; color: var(--tx3);
  font-weight: 500; margin-bottom: 12px;
}
.team-li {
  display: inline-flex; color: var(--tx3);
  transition: color .2s;
}
.team-li svg { width: 18px; height: 18px; }
.team-li:hover { color: var(--acc); }

/* ============================================================
   RESEARCH
   ============================================================ */
.research-list { margin-top: 32px; }
.research-row {
  display: flex; align-items: baseline; gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-s);
  transition: padding-left .2s;
}
.research-row:first-child { border-top: 1px solid var(--line); }
.research-row:hover { padding-left: 8px; }
.research-date {
  font-family: var(--mono); font-size: 0.7rem; color: var(--tx3);
  min-width: 72px; flex-shrink: 0;
}
.research-row h4 {
  font-size: 0.88rem; font-weight: 500; color: var(--navy);
  line-height: 1.35; margin-bottom: 4px;
  transition: color .2s;
}
.research-row:hover h4 { color: var(--acc); }
.research-row p {
  font-size: 0.8rem; color: var(--tx2); line-height: 1.65;
}
.research-tag {
  font-size: 0.7rem; color: var(--tx3); flex-shrink: 0;
  min-width: 80px; text-align: right;
}

/* ============================================================
   CTA
   ============================================================ */
.sec-cta {
  text-align: center; padding: 68px 0;
  background: var(--navy);
}
.sec-cta h2 {
  color: #FFFFFF;
}
.cta-line {
  font-size: 0.92rem; color: rgba(255,255,255,0.6); margin-bottom: 32px;
}
.cta-row {
  display: flex; align-items: center; justify-content: center;
  gap: 20px;
}
.cta-or { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.sec-cta .btn-p {
  color: #FFFFFF; border-color: rgba(255,255,255,0.25);
}
.sec-cta .btn-p:hover {
  border-color: var(--gold); color: var(--gold);
}
.sec-cta a:not(.btn-p) {
  color: rgba(255,255,255,0.5);
}
.sec-cta a:not(.btn-p):hover {
  color: #FFFFFF;
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  padding: 64px 0 48px;
}
.foot-top {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.foot-brand-name {
  font-size: 1rem; font-weight: 600; color: var(--navy);
  margin-bottom: 8px;
}
.foot-logo {
  height: 28px; width: auto;
  filter: brightness(0) saturate(100%) invert(10%) sepia(20%) saturate(1500%) hue-rotate(190deg) brightness(20%);
  margin-bottom: 12px;
}
.foot-tagline {
  font-size: 0.78rem; color: var(--tx3); line-height: 1.6;
  max-width: 220px; margin-bottom: 20px;
}
.foot-social { display: flex; gap: 12px; align-items: center; }
.foot-social a {
  display: inline-flex; color: var(--tx3); transition: color .2s;
}
.foot-social a svg { width: 18px; height: 18px; }
.foot-social a:hover { color: var(--acc); }
.foot-col h4 {
  font-size: 0.68rem; font-weight: 600; color: var(--tx3);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.foot-col a {
  display: block; font-size: 0.8rem; color: var(--tx2);
  line-height: 2; transition: color .2s;
}
.foot-col a:hover { color: var(--navy); }
/* Partner badges */
.foot-partners {
  display: flex; align-items: center; gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line-s);
  margin-bottom: 0;
}
.foot-partners-label {
  font-size: 0.62rem; font-weight: 500; color: var(--tx3);
  text-transform: uppercase; letter-spacing: 0.1em;
  opacity: 0.6;
}
.foot-partners-logos {
  display: flex; align-items: center; gap: 24px;
}
.partner-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 500; color: var(--tx3);
  opacity: 0.7; letter-spacing: 0.01em;
}
.partner-icon {
  width: 16px; height: 16px; flex-shrink: 0;
}
/* Qualification badges (about page bio) */
.team-quals {
  display: flex; gap: 12px; margin-top: 12px; align-items: center;
}
.qual-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.68rem; font-weight: 600; color: var(--tx3);
  border: 1px solid var(--line); padding: 4px 10px;
  letter-spacing: 0.04em;
}
.qual-badge img {
  height: 16px; width: auto;
  filter: grayscale(1) opacity(0.6);
}

/* Credentials & Accreditations strip */
.cred-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
}
.cred-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-right: none;
  transition: background 0.25s;
}
.cred-card:last-child {
  border-right: 1px solid var(--line);
}
.cred-card:hover {
  background: var(--hover);
}
.cred-logo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cred-logo img {
  max-width: 56px;
  max-height: 56px;
  object-fit: contain;
}
.cred-logo-wide {
  width: auto;
}
.cred-logo-wide img {
  max-width: 120px;
  max-height: 48px;
}
.cred-logo-fallback {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
  border: 1.5px solid var(--line);
  background: var(--bg-s);
}
.cred-body h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}
.cred-body p {
  font-size: 0.76rem;
  color: var(--tx3);
  line-height: 1.5;
}

/* Partners & Programs */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 40px;
}
.partner-card {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-right: none;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: background 0.25s;
}
.partner-card:last-child {
  border-right: 1px solid var(--line);
}
.partner-card:hover {
  background: var(--hover);
}
.partner-card-logo {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-s);
  border: 1px solid var(--line-s);
  border-radius: 8px;
  padding: 8px;
}
.partner-card-icon {
  width: 28px;
  height: 28px;
}
.partner-card-body h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.partner-card-body p {
  font-size: 0.82rem;
  color: var(--tx2);
  line-height: 1.7;
}

/* Legal content (privacy policy) */
.legal-content h2 {
  font-size: 1.05rem; font-weight: 600; color: var(--navy);
  margin-top: 40px; margin-bottom: 16px;
  padding-bottom: 0; border-bottom: none; display: block;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 0.88rem; font-weight: 600; color: var(--navy);
  margin-top: 24px; margin-bottom: 10px;
}
.legal-content p {
  font-size: 0.86rem; color: var(--tx2); line-height: 1.8;
  margin-bottom: 12px; max-width: 680px;
}
.legal-content ul {
  margin: 0 0 16px 20px; max-width: 680px;
}
.legal-content li {
  font-size: 0.86rem; color: var(--tx2); line-height: 1.8;
  margin-bottom: 4px;
}
.foot-legal {
  font-size: 0.72rem; color: var(--tx3); transition: color .2s;
}
.foot-legal:hover { color: var(--navy); }

.foot-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line-s);
  display: flex; align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.foot-copy {
  font-size: 0.68rem; color: var(--tx3);
}
.foot-discl {
  font-size: 0.62rem; color: var(--tx3); opacity: 0.55;
  line-height: 1.6; max-width: 480px; text-align: right;
}

/* ============================================================
   PLATFORM PAGE — Hero accent
   ============================================================ */
.plat-label {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  color: var(--tx3); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-accent {
  font-size: 0.92rem; font-weight: 500; color: var(--navy);
  margin-top: 8px;
}

/* ============================================================
   PLATFORM PAGE — Architecture card carousel
   ============================================================ */
.arch-carousel {
  display: flex; gap: 24px; margin-top: 48px;
}
.arch-card {
  flex: 1; min-width: 0;
  background: var(--bg-s); border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 40px; display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.arch-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}
.arch-card-num {
  font-family: var(--mono); font-size: 0.82rem; font-weight: 600;
  color: var(--gold); margin-bottom: 16px;
}
.arch-card h3 {
  font-size: 1rem; font-weight: 600; color: var(--navy);
  line-height: 1.3; margin-bottom: 4px;
}
.arch-card-role {
  font-size: 0.7rem; color: var(--tx3); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 20px;
}
.arch-card p {
  font-size: 0.82rem; color: var(--tx2); line-height: 1.75;
  margin-bottom: 12px;
}
.arch-card p:last-of-type { margin-bottom: 0; flex: 1; }
.arch-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--line-s);
}
.arch-chip {
  font-size: 0.68rem; color: var(--tx3);
  border: 1px solid var(--line); padding: 4px 10px;
  letter-spacing: 0.02em;
}
.arch-nav { display: none; }

/* ============================================================
   PLATFORM PAGE — Enables grid
   ============================================================ */
.enables-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0; margin-top: 48px;
}
.enables-item {
  padding: 32px;
  border: 1px solid var(--line);
  border-top: none; border-left: none;
}
.enables-item:nth-child(1),
.enables-item:nth-child(2) { border-top: 1px solid var(--line); }
.enables-item:nth-child(odd) { border-left: 1px solid var(--line); }
.enables-item h3 {
  font-size: 0.94rem; font-weight: 600; color: var(--navy);
  margin-bottom: 10px; line-height: 1.3;
}
.enables-item p {
  font-size: 0.84rem; color: var(--tx2); line-height: 1.8;
}
.enables-close {
  font-size: 0.86rem; color: var(--tx3); margin-top: 48px;
  padding-top: 24px; border-top: 1px solid var(--line);
}

/* ============================================================
   PLATFORM PAGE — Coverage regime cards
   ============================================================ */
/* Regime grid v2 */
.regime-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; margin-top: 48px;
}
.regime-card-v2 {
  padding: 28px 0;
  display: flex; flex-direction: column;
  border-right: 1px solid var(--line);
  padding-left: 20px; padding-right: 20px;
}
.regime-card-v2:first-child { padding-left: 0; }
.regime-card-v2:last-child { border-right: none; padding-right: 0; }
.regime-top {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 12px;
}
.regime-abbr-v2 {
  font-family: var(--mono); font-size: 1.1rem; font-weight: 700;
  color: var(--navy); letter-spacing: -0.02em;
}
.regime-count-v2 {
  font-family: var(--mono); font-size: 1.1rem; font-weight: 600;
  color: var(--gold);
}
.regime-name-v2 {
  display: block; font-size: 0.76rem; font-weight: 500; color: var(--tx2);
  margin-bottom: 6px;
}
.regime-use-v2 {
  display: block; font-size: 0.72rem; color: var(--tx3); line-height: 1.5;
}

/* Legacy regime row (keep for platform page) */
.regime-row {
  display: flex; gap: 20px; margin-top: 48px;
}
.regime-card {
  flex: 1; min-width: 0;
  background: var(--bg-s); border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.regime-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}
.regime-abbr {
  font-family: var(--mono); font-size: 1.3rem; font-weight: 700;
  color: var(--navy); letter-spacing: -0.02em; line-height: 1.1;
}
.regime-name {
  display: block; font-size: 0.74rem; color: var(--tx3);
  margin-top: 4px; margin-bottom: 14px;
}
.regime-use {
  font-size: 0.78rem; color: var(--tx2); line-height: 1.6;
}
.regime-count {
  display: block; font-family: var(--mono); font-size: 0.72rem;
  color: var(--gold); margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--line-s);
}

/* ============================================================
   ABOUT PAGE — Join the Team
   ============================================================ */
.join-options {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 48px;
}
.join-card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 36px 32px; color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.join-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}
.join-card h3 {
  font-size: 0.94rem; font-weight: 600; color: var(--navy);
  margin-bottom: 12px; line-height: 1.3;
}
.join-card p {
  font-size: 0.82rem; color: var(--tx2); line-height: 1.75;
  flex: 1;
}
.join-link {
  display: inline-block; margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--line-s);
  font-size: 0.78rem; font-weight: 500; color: var(--acc);
}
.join-link::after { content: ' \2192'; font-size: 0.9em; }
.join-card:hover .join-link { color: var(--acc-h); }

/* ============================================================
   PLATFORM PAGE — Audience card carousel
   ============================================================ */
.aud-carousel {
  display: flex; gap: 24px; margin-top: 48px;
}
.aud-card {
  flex: 1; min-width: 0;
  background: var(--bg-s); border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 36px 32px; display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.aud-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}
.aud-card-icon {
  width: 32px; height: 32px; margin-bottom: 20px;
  color: var(--gold);
}
.aud-card-icon svg { width: 32px; height: 32px; }
.aud-card h3 {
  font-size: 0.92rem; font-weight: 600; color: var(--navy);
  margin-bottom: 14px; line-height: 1.35;
}
.aud-card p {
  font-size: 0.82rem; color: var(--tx2); line-height: 1.75;
  flex: 1;
}
.aud-card-link {
  display: inline-block; margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--line-s);
  font-size: 0.78rem; font-weight: 500; color: var(--acc);
}
.aud-card-link:hover { color: var(--acc-h); }
.aud-card-link::after { content: ' \2192'; font-size: 0.9em; }
.aud-nav { display: none; }

/* ============================================================
   PLATFORM PAGE — Applications bar
   ============================================================ */
.app-bar {
  background: var(--navy);
  padding: 0;
}
.app-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; padding: 24px 0;
  flex-wrap: wrap;
}
.app-bar-inner span {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap;
}

/* ============================================================
   WHO THIS SERVES
   ============================================================ */
.serves-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.serves-card {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  border-top: 3px solid var(--gold);
  background: var(--bg);
  color: inherit;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.2s ease;
}
.serves-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.serves-grid.visible .serves-card { opacity: 1; transform: translateY(0); }
.serves-grid.visible .serves-card:nth-child(2) { transition-delay: 0.12s; }
.serves-grid.visible .serves-card:nth-child(3) { transition-delay: 0.24s; }
.serves-grid.visible .serves-card:nth-child(4) { transition-delay: 0.36s; }
.serves-card h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.serves-card p {
  font-size: 0.82rem;
  color: var(--tx2);
  line-height: 1.75;
  flex: 1;
}
.serves-link {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.03em;
  margin-top: 16px;
  transition: color 0.2s;
}
.serves-card:hover .serves-link { color: var(--acc); }

/* ============================================================
   TEAM PREVIEW (landing page — photo cards)
   ============================================================ */
.team-preview {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px; margin-top: 48px; text-align: center;
}
.tp-card { display: flex; flex-direction: column; align-items: center; }
.tp-photo {
  width: 120px; height: 120px; border-radius: 50%;
  overflow: hidden; margin-bottom: 20px;
  border: 1px solid var(--line);
}
.tp-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  filter: grayscale(0.15);
}
.tp-name {
  font-size: 0.94rem; font-weight: 600; color: var(--navy);
  margin-bottom: 4px;
}
.tp-role {
  font-size: 0.74rem; color: var(--gold); font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 10px;
}
.tp-sum {
  font-size: 0.78rem; color: var(--tx3); line-height: 1.6;
}

/* ============================================================
   RESEARCH TEASER (landing page)
   ============================================================ */
.rt-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px; margin-top: 40px;
}
.rt-card {
  display: flex; flex-direction: column;
  padding: 28px 24px; border-top: 3px solid var(--gold);
  background: var(--bg); color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.rt-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.rt-card h3 {
  font-size: 0.92rem; font-weight: 600; color: var(--navy);
  line-height: 1.35; margin-bottom: 8px;
  transition: color .2s;
}
.rt-card:hover h3 { color: var(--acc); }
.rt-card p {
  font-size: 0.82rem; color: var(--tx2); line-height: 1.7;
  flex: 1;
}
.rt-meta {
  font-family: var(--mono); font-size: 0.68rem; color: var(--gold);
  margin-top: auto; padding-top: 16px;
}

/* ============================================================
   ABOUT PAGE — Narrative
   ============================================================ */
.narrative { max-width: 620px; }
.narr-text {
  font-size: 1.15rem; font-weight: 400; color: var(--navy);
  line-height: 1.7; margin-bottom: 24px;
}
.narr-accent {
  font-size: 1rem; font-weight: 500; color: var(--navy);
  line-height: 1.7; padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* About page — Differentiators */
.diff-list { margin-top: 40px; }
.diff-item {
  display: flex; gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-s);
}
.diff-item:first-child { border-top: 1px solid var(--line); }
.diff-num {
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--tx3); min-width: 32px; padding-top: 3px;
  letter-spacing: 0.04em;
}
.diff-item h3 {
  font-size: 0.94rem; font-weight: 600; color: var(--navy);
  margin-bottom: 6px; line-height: 1.3;
}
.diff-item p {
  font-size: 0.84rem; color: var(--tx2); line-height: 1.7;
}

/* ============================================================
   RESEARCH PAGE — Published articles
   ============================================================ */
.pub-list { margin-top: 32px; }
.pub-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 32px 0;
  border-bottom: 1px solid var(--line-s);
  color: inherit; transition: padding-left .2s;
}
.pub-card:first-child { border-top: 1px solid var(--line); }
.pub-card:hover { padding-left: 8px; }
.pub-body h3 {
  font-size: 1.02rem; font-weight: 600; color: var(--navy);
  line-height: 1.35; margin-bottom: 8px;
  transition: color .2s;
}
.pub-card:hover .pub-body h3 { color: var(--acc); }
.pub-body p {
  font-size: 0.84rem; color: var(--tx2); line-height: 1.7;
  margin-bottom: 10px; max-width: 580px;
}
.pub-meta {
  font-size: 0.74rem; color: var(--tx3);
}
.pub-arrow {
  font-size: 1.1rem; color: var(--tx3); flex-shrink: 0;
  transition: color .2s, transform .2s;
}
.pub-card:hover .pub-arrow { color: var(--acc); transform: translateX(4px); }

/* Research page — Reports */
.report-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 40px;
}
.report-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-right: none;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  transition: background 0.25s;
}
.report-card:nth-child(2n) {
  border-right: 1px solid var(--line);
}
.report-card:nth-last-child(-n+2) {
  border-bottom: 1px solid var(--line);
}
.report-card:hover {
  background: #FFFFFF;
}
.report-type {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 12px;
}
.report-card h3 {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
}
.report-card p {
  font-size: 0.82rem;
  color: var(--tx2);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}
.report-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-s);
}
.report-tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--tx3);
  letter-spacing: 0.02em;
}
.report-link {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--acc);
  transition: color 0.2s;
  white-space: nowrap;
}
.report-link:hover {
  color: var(--gold);
}

/* Research page — Forthcoming */
.forth-list { margin-top: 32px; }
.forth-card {
  padding: 28px 0;
  border-bottom: 1px solid var(--line-s);
  opacity: 0.5;
}
.forth-card:first-child { border-top: 1px solid var(--line); }
.forth-card h3 {
  font-size: 0.94rem; font-weight: 500; color: var(--navy);
  margin-bottom: 6px; line-height: 1.3;
}
.forth-card p {
  font-size: 0.82rem; color: var(--tx3); line-height: 1.6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .wrap { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 56px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); padding: 20px 24px; gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 110px 0 48px; }
  .hero-space { padding: 130px 0 64px; }
  .hero-sat { display: none; }
  .hero h1 { font-size: 1.8rem; }
  .hero-label { font-size: 0.62rem; margin-bottom: 18px; }
  .hero-btns { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; text-align: center; justify-content: center; }
  .hero-terminal { margin-top: 36px; }
  .term-top { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 16px; }
  .term-bar-wrap { padding: 16px 16px 12px; }
  .term-bar { height: 32px; }
  .term-seg-label { font-size: 0.54rem; }
  .term-seg-pct { font-size: 0.52rem; }
  .term-bottom { flex-direction: column; gap: 12px; padding: 12px 16px 14px; }
  .term-legend { gap: 8px; }
  .term-leg { font-size: 0.58rem; }
  .term-kpis { gap: 8px; }
  .plat-cards { flex-direction: column; }
  .fig-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .fig:not(:last-child) { border-right: none; margin-right: 0; }
  .fig { padding-right: 0; margin-bottom: 8px; }
  .risk-header { flex-direction: column; gap: 4px; }
  .risk-strip { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .risk-item { border-right: none; }
  .risk-item:nth-child(2n) { border-right: 1px solid var(--line); }
  .risk-item:nth-child(-n+2) { border-bottom: none; }
  .regime-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .regime-card-v2 { border-right: none; padding-left: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0; }
  .regime-card-v2:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .regime-card-v2:last-child { border-right: none; }
  .thesis-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 36px; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .val-case { font-size: 0.64rem; padding: 5px 10px; }
  .val-ticker-track { animation-duration: 30s; }
  .val-inline { gap: 16px; }
  .val-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sec { padding: 64px 0; }
  .sec-dark { padding: 40px 0; }
  .layer { padding: 24px 16px; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; }
  .research-row { flex-wrap: wrap; }
  .research-date { min-width: 100%; }
  .research-tag { min-width: auto; text-align: left; }
  .serves-grid { grid-template-columns: 1fr; gap: 16px; }
  .team-preview { grid-template-columns: 1fr; max-width: 280px; margin-left: auto; margin-right: auto; }
  .join-options { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-card { border-right: 1px solid var(--line); border-bottom: none; }
  .partner-card:last-child { border-bottom: 1px solid var(--line); }
  .cred-strip { grid-template-columns: 1fr; gap: 0; }
  .cred-card { border-right: 1px solid var(--line); border-bottom: none; }
  .cred-card:last-child { border-bottom: 1px solid var(--line); }
  .cred-card:first-child { border-bottom: none; }
  .rt-grid { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; }
  .report-card { border-right: 1px solid var(--line); border-bottom: none; }
  .report-card:last-child { border-bottom: 1px solid var(--line); }
  .diff-item { flex-direction: column; gap: 8px; }
  .diff-num { min-width: auto; }
  .enables-grid { grid-template-columns: 1fr; gap: 0; }
  .enables-item {
    border: 1px solid var(--line);
    border-top: none;
  }
  .enables-item:first-child { border-top: 1px solid var(--line); }
  .app-bar-inner { gap: 16px; }
  .cta-row { flex-direction: column; gap: 12px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; }
  .foot-discl { text-align: left; }

  /* Home page mobile nav — dropdown stays white */
  body.home .nav-links a { color: var(--tx3); }
  body.home .nav-links a:hover,
  body.home .nav-links a.active { color: var(--navy); }
  body.home .nav-cta {
    border-color: var(--line) !important;
    color: var(--acc) !important;
  }

  /* Carousel scroll on mobile */
  .arch-carousel, .aud-carousel, .regime-row {
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding-bottom: 16px;
    scrollbar-width: none;
  }
  .arch-carousel::-webkit-scrollbar,
  .aud-carousel::-webkit-scrollbar,
  .regime-row::-webkit-scrollbar { display: none; }
  .arch-card, .aud-card {
    flex: 0 0 85%; min-width: 280px; scroll-snap-align: start;
  }
  .regime-card {
    flex: 0 0 60%; min-width: 200px; scroll-snap-align: start;
  }
  .arch-nav, .aud-nav {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; margin-top: 16px;
  }
  .carousel-btn {
    background: none; border: 1px solid var(--line);
    width: 36px; height: 36px; display: flex;
    align-items: center; justify-content: center;
    cursor: pointer; color: var(--tx3); font-size: 0.9rem;
    transition: border-color 0.2s, color 0.2s;
  }
  .carousel-btn:hover { border-color: var(--acc); color: var(--navy); }
  .carousel-counter {
    font-family: var(--mono); font-size: 0.76rem; color: var(--tx3);
  }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tx3);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--tx);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--acc);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' fill='none' stroke='%238891A0' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-submit {
  align-self: flex-start;
  cursor: pointer;
  border: none;
}
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}
.aside-block h3 {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.aside-block p {
  font-size: 0.88rem;
  color: var(--tx2);
  line-height: 1.7;
}
.contact-sent {
  text-align: center;
  padding: 64px 0;
}
.contact-sent h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 12px;
}
.contact-sent p {
  color: var(--tx2);
  margin-bottom: 32px;
}
@media (max-width: 700px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
