/* ════════════════════════════════════════════════════════════════
   THE SOVERAIN OFFICE · soverAIn.tech
   Design system: "The SoverAIn Office" (Claude Design, July 2026)
   Rules enforced here: Lato only · sovereign palette · 1px hairlines
   · square corners · no shadows, gradients, bevels, blur, icons
   · opacity fades 200ms ease-out only · motifs one region at a time
   ════════════════════════════════════════════════════════════════ */

/* ── Fonts (self-hosted, OFL) ── */
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Lato-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/Lato-Italic.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/Lato-Semibold.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/Lato-Bold.woff2') format('woff2'); }

/* ── Tokens ── */
:root {
  --ink: #0B0F14;
  --midnight: #10233A;
  --gilt: #C9A227;
  --pearl: #F6F3EC;
  --gold: #CBB682;
  --bronze: #9B7A4A;
  --linen: #F4F0E5;
  --stone: #9D9A8F;
  --oxide: #8C2F2A;
  --oxide-bright: #C86450;
  --stone-deep: #5C594E;

  --rule-on-dark: var(--gold);
  --rule-on-light: rgba(155, 122, 74, 0.55);
  --rule-neutral-on-light: rgba(157, 154, 143, 0.6);

  --font: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --t-display: clamp(40px, 6.4vw, 76px);
  --t-h1: clamp(32px, 5vw, 60px);
  --t-h2: clamp(26px, 3.6vw, 40px);
  --t-h3: clamp(18px, 2vw, 23px);
  --t-body: clamp(16px, 1.35vw, 19px);
  --t-caption: 13px;
  --t-kicker: clamp(12px, 1.05vw, 14px);
  --t-numeral: clamp(96px, 15vw, 230px);
  --t-numeral-2: clamp(56px, 6.4vw, 96px);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --head-h: 64px;
  --wrap: 1180px;
  --wrap-narrow: 780px;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
em, i { font-style: italic; font-weight: 400; }
strong, b { font-weight: 700; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--gilt); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── Typography ── */
h1 { font-size: var(--t-h1); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: var(--t-h2); font-weight: 700; line-height: 1.15; letter-spacing: -0.005em; }
h3 { font-size: var(--t-h3); font-weight: 600; line-height: 1.3; }

.kicker {
  font-size: var(--t-kicker);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: var(--s-5);
}
.kicker-gold { color: var(--gold); }
.kicker-bronze { color: var(--bronze); }

.standfirst { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; }
.sub { color: var(--stone-deep); margin-top: var(--s-4); }
.sub-dark { color: var(--stone); }

.data-label {
  font-size: var(--t-caption);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.source { font-size: 12px; color: var(--stone); letter-spacing: 0.02em; }
.source-inline { display: block; font-size: 12px; color: var(--stone); margin-top: var(--s-1); }
.sec-pearl .source, .sec-pearl .source-inline { color: var(--stone-deep); opacity: 0.75; }

/* ── Rules (hairlines only) ── */
.rule-gold { height: 1px; background: var(--rule-on-dark); border: 0; width: 64px; margin: var(--s-5) 0; }
.rule-bronze { height: 1px; background: var(--rule-on-light); width: 100%; margin-bottom: var(--s-4); }
.rule-neutral { height: 1px; background: var(--rule-neutral-on-light); width: 100%; margin-bottom: var(--s-4); }

/* ── Buttons (derived: square, hairline, tracked label, oxide hover) ── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  transition: color 200ms ease-out, border-color 200ms ease-out;
}
.btn-gold { color: var(--gold); border-color: var(--gold); }
.btn-gold:hover { color: var(--oxide-bright); border-color: var(--oxide-bright); }
.btn-dark { color: var(--pearl); border-color: var(--gold); }
.btn-dark:hover { color: var(--oxide-bright); border-color: var(--oxide-bright); }
.btn-dark-on-light { color: var(--ink); border-color: var(--bronze); }
.btn-dark-on-light:hover { color: var(--oxide); border-color: var(--oxide); }

/* ── Header ── */
.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--head-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  background: var(--ink);
  border-bottom: 1px solid rgba(203, 182, 130, 0.28);
}
.site-head-mark { display: flex; align-items: center; }
.site-head-mark img { height: 22px; width: auto; }
.site-head-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.site-head-nav a {
  color: var(--stone);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: color 200ms ease-out;
}
.site-head-nav a:hover { color: var(--oxide-bright); }
.site-head-nav a.site-head-survey { color: var(--gold); }
.site-head-nav a.site-head-cta { color: var(--pearl); font-size: 12px; padding: 10px 18px; }
.site-head-nav a.site-head-cta:hover { color: var(--oxide-bright); }
.site-head-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.site-head-toggle span { display: block; width: 22px; height: 1px; background: var(--pearl); margin: 5px 0; }

/* ── Sections ── */
.sec { padding: var(--s-9) 0; position: relative; }
.sec-motif { overflow: clip; }
.sec-pearl { background: var(--pearl); color: var(--ink); }
.sec-ink { background: var(--ink); color: var(--pearl); }
.sec-midnight { background: var(--midnight); color: var(--pearl); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); position: relative; }
.wrap-narrow { max-width: var(--wrap-narrow); }
.motif { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#office .motif { clip-path: inset(0 0 0 55%); }
#signal .motif { clip-path: inset(0 62% 0 0); }
#disciplines .motif { clip-path: inset(38% 0 0 0); }

/* ── Reveal (fade + settle, staggered within groups) ── */
html.js .reveal { opacity: 0; transform: translateY(18px); }
html.js .reveal.in { opacity: 1; transform: none; transition: opacity 480ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 480ms cubic-bezier(0.22, 0.61, 0.36, 1); }
html.js .triptych .reveal:nth-child(2), html.js .phase-row .reveal:nth-child(2), html.js .founder-row .reveal:nth-child(2),
html.js .not-row .reveal:nth-child(2), html.js .team-points .reveal:nth-child(2) { transition-delay: 110ms; }
html.js .triptych .reveal:nth-child(3), html.js .phase-row .reveal:nth-child(3), html.js .founder-row .reveal:nth-child(3),
html.js .not-row .reveal:nth-child(3), html.js .team-points .reveal:nth-child(3) { transition-delay: 220ms; }
html.js .not-row .reveal:nth-child(4), html.js .team-points .reveal:nth-child(4) { transition-delay: 330ms; }
/* Hairlines draw themselves as their block reveals */
html.js .reveal .rule-gold, html.js .reveal .rule-bronze, html.js .reveal .rule-neutral { transform: scaleX(0); transform-origin: left center; }
html.js .reveal.in .rule-gold, html.js .reveal.in .rule-bronze, html.js .reveal.in .rule-neutral { transform: scaleX(1); transition: transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1) 120ms; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; } html.js .reveal .rule-gold, html.js .reveal .rule-bronze, html.js .reveal .rule-neutral { transform: none; } }

/* ── Scroll progress (gilt hairline, top) ── */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--gilt); z-index: 70; }

/* ── Micro-interactions ── */
.founder img { transition: filter 320ms ease-out; }
.founder:hover img { filter: grayscale(0.15) contrast(1.02); }
.founder h3 { transition: color 200ms ease-out; }
.founder:hover h3 { color: var(--gold); }
.phase { border: 1px solid transparent; transition: border-color 240ms ease-out, transform 240ms ease-out; }
.phase:hover { border-color: var(--rule-on-light); transform: translateY(-4px); }
.not-tile { transition: border-color 240ms ease-out, transform 240ms ease-out; }
.not-tile:hover { border-color: rgba(203, 182, 130, 0.7); transform: translateY(-3px); }
.site-head-nav a:not(.site-head-cta) { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; padding-bottom: 3px; transition: color 200ms ease-out, background-size 240ms ease-out; }
.site-head-nav a:not(.site-head-cta):hover { background-size: 100% 1px; }
.btn { transition: color 200ms ease-out, border-color 200ms ease-out, letter-spacing 240ms ease-out; }
.btn:hover { letter-spacing: 0.21em; }
.crisis-item, .team-point, .principles-list li { transition: border-color 240ms ease-out; }
.crisis-item:hover, .team-point:hover { border-top-color: var(--bronze); }
@media (prefers-reduced-motion: reduce) { .phase:hover, .not-tile:hover { transform: none; } }

/* ── Stats ── */
.stat-monumental {
  font-size: var(--t-numeral);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-monumental i, .stat-secondary i, .stat-oxide i, .ratio-num i {
  font-style: normal;
  font-size: 45%;
  vertical-align: 0.55em;
  letter-spacing: 0;
}
.stat-neg { color: var(--oxide); }
.sec-ink .stat-neg, .sec-midnight .stat-neg { color: var(--oxide-bright); }
.stat-pos { color: var(--gilt); }
.stat-secondary { font-size: var(--t-numeral-2); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }

/* ── Hero ─ static base (mobile / reduced-motion / no-JS) ── */
.hz { background: var(--ink); color: var(--pearl); }
.hz-track { padding-top: var(--head-h); }
.hz-stage { display: flex; flex-direction: column; }
.hz-intro { padding: var(--s-9) clamp(20px, 4vw, 48px) var(--s-6); max-width: var(--wrap); margin: 0 auto; width: 100%; }
.hz-title { color: var(--pearl); }
.hz-intro .standfirst { max-width: 56ch; margin-top: var(--s-5); color: var(--stone); }
/* Wordless scroll cue: a plumb line with a slow travelling pulse */
.hz-cue { margin: var(--s-7) auto 0; width: 1px; height: 60px; background: rgba(203, 182, 130, 0.22); position: relative; overflow: hidden; }
.hz-cue span { position: absolute; left: 0; top: -20px; width: 1px; height: 20px; background: var(--gilt); animation: hzPlumb 2.6s cubic-bezier(0.45, 0, 0.2, 1) infinite; }
@keyframes hzPlumb {
  0% { transform: translateY(0); opacity: 0; }
  18% { opacity: 1; }
  72% { opacity: 1; }
  100% { transform: translateY(80px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hz-cue span { animation: none; opacity: 0; } }

.hz-flag { display: flex; align-items: stretch; gap: 10px; margin: var(--s-6) auto; width: 190px; }
.hz-vert { width: 12px; background: var(--gilt); display: block; }
.hz-flag .hz-band { display: block; height: 14px; }
.hz-flag-bands { display: flex; flex-direction: column; gap: 10px; flex: 1; }
section[id], div[id] { scroll-margin-top: calc(var(--head-h) + 8px); }
.hz-band-a { background: var(--pearl); }
.hz-band-b { background: var(--stone); }
.hz-band-c { background: var(--oxide-bright); }

.hz-panels { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px) var(--s-8); display: grid; gap: var(--s-6); width: 100%; }
.hz-panel { border-top: 1px solid rgba(203, 182, 130, 0.4); padding-top: var(--s-4); }
.hz-num { font-size: var(--t-caption); font-weight: 600; letter-spacing: 0.18em; color: var(--gold); }
.hz-panel h3 { margin-top: var(--s-2); color: var(--pearl); }
.hz-stat { margin-top: var(--s-3); }
.stat-oxide { font-size: clamp(48px, 5.6vw, 84px); font-weight: 700; line-height: 1; color: var(--oxide-bright); font-variant-numeric: tabular-nums; }
.hz-note { margin-top: var(--s-2); color: var(--stone); max-width: 34ch; }
.hz-panel .source { margin-top: var(--s-2); }
.hz-resolve { text-align: center; padding: 0 20px var(--s-8); color: var(--stone); font-size: var(--t-h3); font-weight: 600; }

/* ── Hero ─ live pinned mode (desktop, JS, motion allowed) ── */
.hz-live .hz-track { height: 340vh; padding-top: 0; }
.hz-live .hz-stage { position: sticky; top: 0; height: 100vh; overflow: clip; display: block; }
.hz-live .hz-intro {
  position: absolute; top: var(--head-h); left: 0; right: 0;
  padding: clamp(32px, 7vh, 80px) clamp(20px, 4vw, 48px) 0;
  max-width: var(--wrap); margin: 0 auto;
}
.hz-live .hz-flag { position: absolute; inset: 0; margin: 0; width: auto; display: block; pointer-events: none; }
.hz-live .hz-flag-bands { display: contents; }
.hz-live .hz-vert, .hz-live .hz-flag .hz-band { position: absolute; top: 0; left: 0; will-change: transform, width, height; }
.hz-live .hz-panels {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 0; height: 100%; padding: 0 clamp(20px, 4vw, 48px);
  display: block; width: 100%;
}
.hz-live .hz-panel {
  position: absolute; left: clamp(20px, 4vw, 48px); right: clamp(20px, 4vw, 48px);
  border-top: 0; padding-top: var(--s-5);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr) auto; gap: 0 clamp(24px, 4vw, 64px);
  align-items: start;
  opacity: 0;
}
.hz-live .hz-panel[data-hz-panel="0"] { top: 17vh; }
.hz-live .hz-panel[data-hz-panel="1"] { top: 44vh; }
.hz-live .hz-panel[data-hz-panel="2"] { top: 71vh; }
.hz-live .hz-panel .hz-num { grid-column: 1; grid-row: 1; }
.hz-live .hz-panel h3 { grid-column: 1; grid-row: 2; margin-top: var(--s-2); font-size: clamp(18px, 1.7vw, 22px); }
.hz-live .hz-panel .hz-note { grid-column: 2; grid-row: 1 / span 2; margin-top: 2px; font-size: 15px; max-width: 44ch; color: var(--stone); }
.hz-live .hz-panel .source { grid-column: 2; grid-row: 3; margin-top: var(--s-2); }
.hz-live .hz-panel .hz-stat { grid-column: 3; grid-row: 1 / span 3; justify-self: end; align-self: start; margin: 0; }
.hz-live .stat-oxide { font-size: clamp(44px, 6vh, 64px); }
.hz-live .hz-resolve {
  position: absolute; bottom: 4vh; left: 0; right: 0;
  padding: 0 20px; opacity: 0;
}

/* ── Crisis ── */
.crisis-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-8); margin-top: var(--s-7); align-items: start; }
.crisis-main .data-label { margin-top: var(--s-4); max-width: 30ch; }
.crisis-main .source { margin-top: var(--s-2); }
.crisis-item { border-top: 1px solid var(--rule-neutral-on-light); padding-top: var(--s-4); }
.crisis-item + .crisis-item { margin-top: var(--s-6); }
.crisis-item p:nth-child(2) { margin-top: var(--s-2); }
.crisis-item .source { margin-top: var(--s-2); }
.pull-line { border-top: 1px solid var(--rule-on-light); margin-top: var(--s-8); padding-top: var(--s-5); max-width: 64ch; }
.pull-line .source { margin-top: var(--s-2); }
.oxide-text { color: var(--oxide); }

/* ── Dial (region) — one engineered gauge, gilt on Midnight ── */
.dial { position: relative; width: min(340px, 64vw); aspect-ratio: 1; }
.dial-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.dial-track { fill: none; stroke: rgba(203, 182, 130, 0.16); stroke-width: 1; }
.dial-arc {
  fill: none; stroke: var(--gilt); stroke-width: 2.5;
  stroke-dasharray: 904.78; stroke-dashoffset: 904.78;
  transition: stroke-dashoffset 1400ms cubic-bezier(0.22, 0.61, 0.36, 1) 200ms;
}
.dial.on .dial-arc { stroke-dashoffset: calc(904.78 * (1 - var(--p, 0))); }
.dial-core { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.stat-dial { font-size: clamp(64px, 8.6vw, 118px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-dial i { font-style: normal; font-size: 45%; vertical-align: 0.55em; }
.dial + .data-label { margin-top: var(--s-5); max-width: 34ch; }
@media (prefers-reduced-motion: reduce) { .dial-arc { transition: none; stroke-dashoffset: calc(904.78 * (1 - var(--p, 0))); } }

/* ── Ratio bars (blueprint) — the 10-20-70 proportions made visible ── */
.ratio-item { display: block; }
.ratio-head { display: flex; align-items: baseline; gap: var(--s-3); }
.ratio-bar { display: block; height: 2px; background: rgba(155, 122, 74, 0.22); margin-top: var(--s-3); }
.ratio-bar i { display: block; height: 100%; width: 0; background: var(--bronze); transition: width 1100ms cubic-bezier(0.22, 0.61, 0.36, 1) 250ms; }
html.js .reveal.in .ratio-bar i, html.no-js .ratio-bar i { width: var(--w, 0%); }
html:not(.js) .ratio-bar i { width: var(--w, 0%); }
@media (prefers-reduced-motion: reduce) { .ratio-bar i { transition: none; width: var(--w, 0%); } }

/* ── Region ── */
.region-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-8); margin-top: var(--s-7); align-items: start; }
.region-grid .data-label { margin-top: var(--s-4); max-width: 34ch; }
.region-grid .source { margin-top: var(--s-2); }
.region-side h3 { max-width: 20ch; font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; }
.region-side p { margin-top: var(--s-4); color: var(--pearl); }
.region-side .source-inline { color: var(--stone); }

/* ── Blueprint ── */
.ratio-row { display: flex; gap: clamp(24px, 5vw, 72px); margin-top: var(--s-7); flex-wrap: wrap; }
.ratio-row .ratio-item { flex: 1 1 0; min-width: 200px; }
.ratio-num { font-size: clamp(48px, 6vw, 92px); font-weight: 700; line-height: 1; color: var(--bronze); font-variant-numeric: tabular-nums; }
.ratio-item .data-label { color: var(--stone-deep); }
.ratio-row + .source { margin-top: var(--s-3); display: block; }
.triptych { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); margin-top: var(--s-8); }
.tri-item p { margin-top: var(--s-3); color: var(--stone-deep); }
.tri-item h3 { color: var(--ink); }
.tri-item .source { margin-top: var(--s-3); }
.tri-num { font-size: var(--t-caption); font-weight: 600; letter-spacing: 0.18em; color: var(--bronze); margin-bottom: var(--s-2); }
.axiom { margin-top: var(--s-8); font-size: var(--t-h3); color: var(--ink); }

.compare { margin-top: var(--s-8); overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { text-align: left; padding: var(--s-4) var(--s-5); border-top: 1px solid var(--rule-neutral-on-light); vertical-align: top; font-size: clamp(14px, 1.2vw, 17px); }
.compare-table thead th { border-top: 0; font-size: var(--t-h3); font-weight: 600; padding-top: 0; }
.compare-table td.data-label { color: var(--stone-deep); font-size: 12px; padding-left: 0; width: 18%; }
.compare-table .compare-win { background: var(--linen); }
/* The single sanctioned 2px rule in the whole system: */
.compare-table thead th.compare-win { border-top: 2px solid var(--gilt); }

/* ── Office ── */
#office .wrap { max-width: var(--wrap-narrow); }
.office-quote { font-size: clamp(28px, 4.4vw, 52px); }
.office-def { color: var(--stone); }
.not-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-8); }
.not-tile { border: 1px solid rgba(203, 182, 130, 0.3); padding: var(--s-4); font-weight: 600; font-size: 15px; color: var(--pearl); }
.not-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--oxide-bright); margin-bottom: var(--s-2); }

/* ── Approach ── */
.phase-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-7); }
.phase { background: var(--linen); padding: var(--s-6); }
.phase-num { font-size: clamp(32px, 3.4vw, 48px); font-weight: 700; color: var(--bronze); line-height: 1; font-variant-numeric: tabular-nums; }
.phase h3 { margin-top: var(--s-4); }
.phase p:nth-of-type(2) { margin-top: var(--s-3); color: var(--stone-deep); font-size: 15px; }
.phase .data-label { margin-top: var(--s-4); color: var(--bronze); }
.principles { margin-top: var(--s-8); }
.principles-list { list-style: none; padding: 0; margin-top: var(--s-4); }
.principles-list li { border-top: 1px solid var(--rule-neutral-on-light); padding: var(--s-4) 0; }

/* ── Founders ── */
.founder-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); margin-top: var(--s-7); }
.founder img {
  width: 100%; max-width: 300px; aspect-ratio: 1; object-fit: cover;
  filter: grayscale(1) contrast(1.02);
}
.founder h3 { margin-top: var(--s-5); color: var(--pearl); }
.founder .data-label { margin-top: var(--s-2); color: var(--gold); font-size: 12px; letter-spacing: 0.14em; line-height: 1.7; }
.founder p:not(.data-label) { margin-top: var(--s-3); color: var(--stone); font-size: 15px; line-height: 1.6; }
.founder-link { display: inline-block; margin-top: var(--s-3); color: var(--gold); text-decoration: none; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid rgba(203, 182, 130, 0.4); padding-bottom: 2px; transition: color 200ms ease-out, border-color 200ms ease-out; }
.founder-link:hover { color: var(--oxide-bright); border-color: var(--oxide-bright); }
.team-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-9); }
.team-point { border-top: 1px solid rgba(203, 182, 130, 0.4); padding-top: var(--s-4); color: var(--stone); font-size: 14px; }
.team-point .data-label { display: block; color: var(--gold); margin-bottom: var(--s-2); }

/* ── Signal ── */
#signal .wrap { text-align: left; }
#signal h2 { max-width: 22ch; }
#signal .standfirst { color: var(--stone); margin-top: var(--s-5); max-width: 52ch; }
#signal .btn { margin-top: var(--s-6); }
.signal-note { margin-top: var(--s-5); color: var(--stone); font-size: 14px; }

/* ── Forms ── */
.sov-form { margin-top: var(--s-6); }
.sov-form label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone-deep); margin-top: var(--s-5); }
.sov-form input[type="text"], .sov-form input[type="email"], .sov-form textarea {
  display: block; width: 100%; margin-top: var(--s-2);
  padding: 12px 14px;
  font: inherit; color: var(--ink);
  background: #FDFCF9;
  border: 1px solid var(--rule-neutral-on-light);
  border-radius: 0;
  letter-spacing: normal; text-transform: none;
}
.sov-form input:focus, .sov-form textarea:focus { outline: none; border-color: var(--bronze); }
.sov-form textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.form-grid label { margin-top: var(--s-5); }
.sov-form .btn { margin-top: var(--s-6); }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form-note { margin-top: var(--s-6); padding: var(--s-4) var(--s-5); border: 1px solid; font-size: 15px; }
.form-note-ok { border-color: var(--bronze); background: var(--linen); }
.form-note-err { border-color: var(--oxide); background: var(--linen); color: var(--oxide); }
.contact-alt { margin-top: var(--s-6); color: var(--stone-deep); font-size: 15px; }
.contact-alt a { color: var(--bronze); text-decoration: none; border-bottom: 1px solid var(--rule-on-light); transition: color 200ms ease-out; }
.contact-alt a:hover { color: var(--oxide); border-color: var(--oxide); }

/* ── Survey ── */
.survey-hero { background: var(--ink); color: var(--pearl); padding: calc(var(--head-h) + var(--s-8)) 0 var(--s-8); }
.survey-hero h1 { max-width: 24ch; }
.survey-hero .standfirst { color: var(--stone); margin-top: var(--s-5); }
.survey-meta { margin-top: var(--s-5); font-size: 14px; color: var(--gold); }
.page-hero { padding-bottom: var(--s-7); }
.survey-body p { max-width: 68ch; }
.survey-body > .wrap > p + p { margin-top: var(--s-4); }
.survey-hypotheses { margin-top: var(--s-7); border: 1px solid var(--rule-neutral-on-light); padding: var(--s-6); }
.survey-hypotheses ol { margin: var(--s-4) 0 0; padding-left: 20px; }
.survey-hypotheses li { margin-top: var(--s-3); color: var(--stone-deep); }
.survey-hypotheses li strong { color: var(--ink); }
.survey-hyp-note { margin-top: var(--s-4); font-size: 14px; color: var(--stone-deep); font-style: italic; }

.survey-part { border: 0; padding: 0; margin: var(--s-9) 0 0; }
.survey-part legend { font-size: var(--t-h2); font-weight: 700; padding: 0; }
.survey-part-key { color: var(--bronze); margin-right: 6px; }
.survey-part-count { display: block; font-size: var(--t-caption); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone-deep); margin-top: var(--s-2); }
.survey-part-intro { margin-top: var(--s-4); color: var(--stone-deep); }
.survey-q { margin-top: var(--s-7); }
.survey-q-label { font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; max-width: 60ch; }
.survey-q-id { color: var(--bronze); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; margin-right: 6px; }
.survey-q-hint { margin-top: var(--s-2); font-size: 14px; color: var(--stone-deep); }
.survey-opts { margin-top: var(--s-4); display: grid; gap: var(--s-2); }
/* label.survey-opt must beat the generic .sov-form label field styling */
.sov-form label.survey-opt, label.survey-opt {
  display: flex; gap: var(--s-3); align-items: flex-start;
  padding: var(--s-3) var(--s-4); margin-top: 0;
  border: 1px solid var(--rule-neutral-on-light);
  cursor: pointer; background: #FDFCF9;
  font-size: 16px; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--ink);
  transition: border-color 200ms ease-out, background 200ms ease-out;
}
.sov-form label.survey-scale-opt { display: inline-block; margin-top: 0; letter-spacing: normal; text-transform: none; }
/* Other write-in: appears when the Other option is committed */
.survey-form input.survey-other { display: none; margin-top: var(--s-3); max-width: 460px; }
.survey-q:has(input[value="Other"]:checked) input.survey-other { display: block; }
.survey-q input.survey-other.show { display: block; }
.survey-opt:hover { border-color: var(--bronze); }
.survey-opt input { position: absolute; opacity: 0; pointer-events: none; }
.survey-opt-mark { flex: 0 0 14px; width: 14px; height: 14px; margin-top: 4px; border: 1px solid var(--stone); transition: background 200ms ease-out, border-color 200ms ease-out; }
.survey-opt input:checked + .survey-opt-mark { background: var(--bronze); border-color: var(--bronze); }
.survey-opt input:focus-visible + .survey-opt-mark { outline: 2px solid var(--bronze); outline-offset: 2px; }
/* Selection must be unmistakable: the whole row commits */
.survey-opt:has(input:checked), .survey-opt.checked { border-color: var(--bronze); background: var(--linen); }
.survey-opt:has(input:checked) .survey-opt-text, .survey-opt.checked .survey-opt-text { font-weight: 600; }
.survey-opt-text { font-size: 16px; line-height: 1.45; }
.survey-opt-text small { display: block; font-size: 13px; color: var(--stone-deep); margin-top: 2px; }
.survey-check .survey-opt-text { font-size: 15px; }
.survey-scale { margin-top: var(--s-4); display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.survey-scale-end { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone-deep); font-weight: 600; }
.survey-scale-opt { position: relative; }
.survey-scale-opt input { position: absolute; opacity: 0; pointer-events: none; }
.survey-scale-opt span { display: flex; width: 52px; height: 52px; align-items: center; justify-content: center; border: 1px solid var(--rule-neutral-on-light); font-weight: 600; font-size: 18px; cursor: pointer; transition: border-color 200ms ease-out, background 200ms ease-out; background: #FDFCF9; }
.survey-scale-opt:hover span { border-color: var(--bronze); }
.survey-scale-opt input:checked + span { background: var(--bronze); border-color: var(--bronze); color: var(--pearl); }
.survey-scale-opt input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }
.survey-form textarea, .survey-form input[type="text"], .survey-form input[type="email"] { max-width: 640px; margin-top: var(--s-3); display: block; width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: #FDFCF9; border: 1px solid var(--rule-neutral-on-light); border-radius: 0; }
.survey-form input:focus, .survey-form textarea:focus { outline: none; border-color: var(--bronze); }
.survey-form > .survey-q > input, .survey-form .survey-q textarea { margin-top: var(--s-4); }
.survey-part .survey-q label:not(.survey-opt) { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone-deep); }
.survey-submit { margin-top: var(--s-8); }
.survey-foot { margin-top: var(--s-6); font-size: 13px; color: var(--stone-deep); max-width: 62ch; }
.survey-done { text-align: left; }
.survey-done h2 { margin-top: var(--s-2); }
.survey-done p { margin-top: var(--s-4); max-width: 58ch; }

/* ── Prose (privacy page) ── */
.prose h2 { margin-top: var(--s-7); font-size: clamp(20px, 2.2vw, 26px); }
.prose h3 { margin-top: var(--s-5); }
.prose p, .prose ul, .prose ol { margin-top: var(--s-4); color: var(--ink); }
.prose li { margin-top: var(--s-2); }
.prose a { color: var(--bronze); text-decoration: none; border-bottom: 1px solid var(--rule-on-light); }
.prose a:hover { color: var(--oxide); border-color: var(--oxide); }

/* ── Footer ── */
.site-foot { background: var(--ink); color: var(--stone); padding: var(--s-8) clamp(20px, 4vw, 48px) var(--s-6); border-top: 1px solid rgba(203, 182, 130, 0.28); }
.site-foot-inner { max-width: var(--wrap); margin: 0 auto; display: flex; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; }
.site-foot-brand p { margin-top: var(--s-3); font-size: 14px; }
.site-foot-nav { display: flex; gap: var(--s-5); flex-wrap: wrap; align-items: flex-start; }
.site-foot-nav a { color: var(--stone); text-decoration: none; font-size: 14px; transition: color 200ms ease-out; }
.site-foot-nav a:hover { color: var(--oxide-bright); }
.site-foot-bottom { max-width: var(--wrap); margin: var(--s-7) auto 0; padding-top: var(--s-4); border-top: 1px solid rgba(157, 154, 143, 0.25); display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; font-size: 13px; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .crisis-grid, .region-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .triptych, .phase-row, .founder-row { grid-template-columns: 1fr; }
  .not-row, .team-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder img { max-width: 240px; }
}
@media (max-width: 760px) {
  .sec { padding: var(--s-8) 0; }
  .site-head-nav {
    position: fixed; top: var(--head-h); left: 0; right: 0;
    background: var(--ink); border-bottom: 1px solid rgba(203, 182, 130, 0.28);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: var(--s-3) clamp(20px, 4vw, 48px) var(--s-5);
    display: none;
  }
  .site-head-nav.open { display: flex; }
  .site-head-nav a { padding: var(--s-3) 0; font-size: 16px; }
  .site-head-nav a.site-head-cta { border: 0; padding: var(--s-3) 0; }
  .site-head-toggle { display: block; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .not-row, .team-points { grid-template-columns: 1fr; }
  .compare-table th, .compare-table td { padding: var(--s-3); }
  .survey-scale-opt span { width: 42px; height: 42px; }
}
