/* =====================================================================
   Financial CoLab - design system
   Navy ledger + financial gold. Typography and numbers do the work; no icon cards.
   ===================================================================== */

/* ---------- Fonts (self-hosted: no Google requests, GDPR-friendly) ---------- */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --ink:   #071525;   /* page */
  --deep:  #0D2238;   /* raised sections */
  --tide:  #132C46;   /* panels */
  --rule:  #22405F;   /* hairlines on navy */
  --gold:  #E8B931;
  --gold-soft: #F4C542;
  --paper: #F3F5F8;   /* primary text */
  --mist:  #A9B8C9;   /* secondary text, 8.6:1 on --ink */
  --dim:   #6F8299;   /* tertiary, use >= 18px only */

  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;                                   /* 14px labels */
  --step-0:  1rem;                                       /* 16px body */
  --step-1:  1.125rem;                                   /* 18px lead */
  --step-2:  clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
  --step-3:  clamp(1.5rem, 1.3rem + 0.9vw, 2.125rem);
  --step-4:  clamp(1.75rem, 1.4rem + 1.4vw, 2.625rem);
  --step-5:  clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem);

  --space-s: 1rem;
  --space-m: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  --space-l: clamp(2.75rem, 2rem + 2.5vw, 4.5rem);

  --radius: 4px;
  --max: 1280px;
}

/* ---------- Brand wordmark (multicolour) ---------- */
:root { --c-blue: #4C9AFF; --c-maroon: #A3253A; --c-gold: #E8B931; --c-green: #3CC48F; }
.brand-name .c-blue  { color: var(--c-blue); }
.brand-name .c-maroon { color: var(--c-maroon); }
.brand-name .c-gold  { color: var(--c-gold); }
.brand-name .c-green { color: var(--c-green); }
.brand-fin   { color: var(--paper); font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
.brand-colab { font-family: "Fraunces", Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; letter-spacing: -0.01em; font-size: 1.08em; }
.brand-hero .brand-fin { letter-spacing: -0.03em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--paper); letter-spacing: -0.015em; line-height: 1.15; margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: var(--gold-soft); text-underline-offset: 0.2em; }
a:hover { color: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--ink); padding: 0.75rem 1.25rem; font-weight: 700; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

.container-fcl { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn-fcl {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: 0.6rem 1.25rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0;
  text-decoration: none; border-radius: var(--radius); border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); color: var(--ink); }
.btn-outline { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn-outline:hover { background: var(--paper); color: var(--ink); }
.btn-sm-fcl { min-height: 2.4rem; padding: 0.45rem 1rem; }

.text-link { display: inline-block; font-size: 0.95rem; font-family: var(--font-display); font-weight: 600; color: var(--paper); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.text-link:hover { color: var(--gold-soft); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 21, 37, 0.94); border-bottom: 1px solid var(--rule); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1.5rem; }

.wordmark { display: inline-flex; white-space: nowrap; flex-shrink: 0; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--paper); }
.wordmark:hover { color: var(--paper); }
.wordmark-mark { width: 1.35rem; height: 1.35rem; background:
  linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 34% no-repeat,
  linear-gradient(var(--gold), var(--gold)) 0 0 / 34% 100% no-repeat; }
.wordmark-text { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
.wordmark-text strong { font-weight: 800; }

.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.primary-nav ul { display: flex; gap: 1.1rem; }
.primary-nav a { white-space: nowrap; }
.primary-nav ul a { font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--mist); text-decoration: none; padding: 0.5rem 0; border-bottom: 2px solid transparent; }
.primary-nav ul a:hover, .primary-nav ul a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 1.1rem; padding-left: 1.5rem; border-left: 1px solid var(--rule); }
.nav-login { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--paper); text-decoration: none; }

.nav-toggle { display: none; align-items: center; gap: 0.6rem; background: none; border: 1px solid var(--rule); color: var(--paper); min-height: 2.9rem; padding: 0 1rem; border-radius: var(--radius); font-family: var(--font-display); font-weight: 700; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--paper); position: relative; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; inset: 100% 0 auto 0; background: var(--ink); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.75rem; gap: 1rem; max-height: calc(100vh - 4rem); overflow-y: auto; }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { display: block; font-size: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
  .nav-actions { border-left: 0; padding-left: 0; justify-content: space-between; }
}

/* ---------- Section rhythm ---------- */
section { padding-block: var(--space-l); }
.section-kicker { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: var(--step--1); margin-bottom: 0.6rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem);
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(7,21,37,.86) 45%, rgba(7,21,37,.55) 100%),
    url("../images/bg-candles.svg") center bottom / cover no-repeat,
    var(--ink); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero-title { font-size: var(--step-5); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.hero-subtitle { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); color: var(--gold); margin-top: 0.75rem; max-width: 34ch; line-height: 1.35; }
.hero-lead { color: var(--mist); font-size: var(--step-0); line-height: 1.6; margin-top: 0.9rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 1rem; }

/* "Terminal" panel: the map framed like a market data screen */
.terminal { margin: 0; background: rgba(13,34,56,.82); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(0,0,0,.8); }
.terminal-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.6rem 1rem; border-bottom: 1px solid var(--rule); background: rgba(7,21,37,.6); font-family: var(--font-display); font-size: 0.8rem; }
.terminal-title { font-weight: 700; color: var(--paper); }
.terminal-status { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--gold); font-weight: 600; }
.terminal-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.terminal-body { padding: 1.25rem 1rem 0.5rem; background: url("../images/bg-chart.svg") center / 100% 100% no-repeat; }
.terminal.has-photo .terminal-body { padding: 0; }
.terminal.has-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.world-map { width: 100%; height: auto; display: block; }
.map-land { stroke: #3B6189; stroke-width: 0.62; stroke-linecap: round; fill: none; }
.map-lit { fill: var(--gold); }
.map-hq { fill: var(--gold); }
.map-hq-ring { fill: none; stroke: var(--gold); stroke-width: 0.35; animation: hq-pulse 3.2s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes hq-pulse { 0% { opacity: .9; transform: scale(.6); } 70%, 100% { opacity: 0; transform: scale(1.8); } }

.fci-ruler { padding: 0.75rem 1rem 0.9rem; border-top: 1px solid var(--rule); }
.ruler-track { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--gold); }
.ruler-track span { font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; color: var(--paper); padding: 0.4rem 0 0 0.4rem; border-left: 1px solid rgba(232,185,49,.5); line-height: 1.2; }
.ruler-ticks { display: flex; justify-content: space-between; margin-top: 0.25rem; font-family: var(--font-display); font-size: 0.7rem; color: var(--mist); font-variant-numeric: tabular-nums; }

/* ---------- Research tape (ticker of real study figures) ---------- */
.tape { background: #050F1B; border-block: 1px solid var(--rule); overflow: hidden; }
.tape-track { display: flex; width: max-content; animation: tape 45s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape ul { display: flex; }
.tape li { white-space: nowrap; padding: 0.55rem 1.5rem; border-right: 1px solid var(--rule); font-family: var(--font-display); font-size: 0.8rem; }
.tape li span { color: var(--mist); font-weight: 500; }
.tape li strong { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; margin-left: 0.35rem; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- 100 Countries Initiative ---------- */
.initiative { background: url("../images/bg-currency.svg") repeat, var(--deep); border-bottom: 1px solid var(--rule); padding-block: var(--space-m); }
.initiative-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-m); align-items: center; }
.initiative h2 { font-size: var(--step-2); max-width: 28ch; }
.initiative-copy > p { color: var(--mist); margin-top: 0.5rem; max-width: 52ch; }
.targets { display: flex; flex-wrap: wrap; gap: 0; margin: 1.1rem 0 0; }
.targets div { padding: 0 1.25rem; border-left: 1px solid var(--rule); }
.targets div:first-child { padding-left: 0; border-left: 0; }
.targets dt { order: 2; font-weight: 400; color: var(--mist); font-size: var(--step--1); }
.targets dd { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); color: var(--gold); margin: 0; line-height: 1; letter-spacing: -0.02em; }
.targets div { display: flex; flex-direction: column-reverse; gap: 0.35rem; }

.progress-figure { display: flex; align-items: baseline; gap: 0.6rem; }
.big-num { font-family: var(--font-display); font-weight: 800; font-size: var(--step-5); line-height: 0.95; letter-spacing: -0.03em; color: var(--paper); font-variant-numeric: tabular-nums; }
.progress-of { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--mist); }
.progress-label { color: var(--mist); margin-top: 0.4rem; }
.progress-rail { height: 6px; background: var(--rule); margin-top: 1.1rem; border-radius: 3px; overflow: hidden; }
.progress-fill { display: block; height: 100%; width: 0; background: var(--gold); min-width: 4px; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.map-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.1rem; font-size: var(--step--1); color: var(--mist); }
.map-legend li { display: flex; align-items: center; gap: 0.5rem; }
.legend-lit { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.legend-hq { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--gold); }

/* ---------- The question ---------- */
.question { background: url("../images/bg-chart.svg") right bottom / 60% 70% no-repeat, var(--ink); }
.question-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.question-text { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; max-width: 22ch; }
.question-challenge { color: var(--mist); line-height: 1.6; max-width: 48ch; margin-top: 1rem; }

.ledger { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); background: rgba(13,34,56,.55); border: 1px solid var(--rule); border-radius: 6px; }
.ledger-col { padding: 1.1rem 1.25rem 1.25rem; }
.ledger-col + .ledger-col { border-left: 1px solid var(--rule); }

.ledger h3 { font-size: var(--step--1); font-weight: 600; color: var(--mist); margin-bottom: 0.5rem; }
.ledger li { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; padding: 0.5rem 0; border-bottom: 1px solid var(--rule); }
.ledger-old li { color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(169,184,201,.45); text-decoration-thickness: 1px; }
.ledger-new h3 { color: var(--gold); }
.ledger-new li { color: var(--paper); border-bottom-color: rgba(232,185,49,.35); }

/* ---------- FCI ---------- */
.fci { background: url("../images/bg-currency.svg") repeat, var(--tide); }
.fci-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-m); align-items: start; }
.fci-head .fci-abbr { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); line-height: 0.85; letter-spacing: -0.04em; color: var(--gold); margin-bottom: 0.75rem; }
.fci-head h2 { font-size: var(--step-3); }
.fci-head > p { color: var(--mist); margin-top: 0.6rem; max-width: 42ch; }
.fci-head .notice { margin: 1.1rem 0 1rem; padding-left: 1rem; border-left: 3px solid var(--gold); color: var(--paper); font-size: var(--step--1); max-width: 46ch; }

.dimension-list { counter-reset: dim; columns: 2; column-gap: 2.5rem; border-top: 1px solid rgba(243,245,248,.16); }
.dimension-list li { counter-increment: dim; break-inside: avoid; display: flex; gap: 1rem; align-items: baseline; padding: 0.6rem 0; border-bottom: 1px solid rgba(243,245,248,.16); font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; }
.dimension-list li::before { content: counter(dim, decimal-leading-zero); font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; min-width: 1.6rem; font-size: 0.9em; }

/* ---------- Observatory ---------- */
.obs-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-m); align-items: end; }
.observatory { background: url("../images/bg-candles.svg") center / cover no-repeat, var(--ink); }
.obs-head h2 { font-size: var(--step-3); max-width: 22ch; }
.obs-head p { color: var(--mist); max-width: 46ch; }
.launch-flag { display: inline-block; margin-top: 1.25rem; padding: 0.3rem 0.75rem; font-size: 0.8rem; border: 1px solid var(--gold); color: var(--gold); font-family: var(--font-display); font-weight: 700; border-radius: var(--radius); }
.obs-figures { display: grid; grid-template-columns: repeat(6, 1fr); margin: 1rem 0 1.5rem; background: rgba(13,34,56,.7); border: 1px solid var(--rule); border-radius: 6px; }
.obs-figure { display: flex; flex-direction: column-reverse; padding: 1rem 1.1rem; }
.obs-figure + .obs-figure { border-left: 1px solid var(--rule); }

.obs-figure dt { font-weight: 400; color: var(--mist); margin-top: 0.25rem; font-size: var(--step--1); }
.obs-figure dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: var(--step-4); line-height: 1; letter-spacing: -0.02em; color: var(--paper); font-variant-numeric: tabular-nums; }

/* ---------- Participate ---------- */
.participate { background: url("../images/bg-currency.svg") repeat, var(--deep); border-top: 1px solid var(--rule); }
.participate-title { font-size: var(--step-3); max-width: 22ch; }
.participate-text { color: var(--mist); max-width: 60ch; margin-top: 0.6rem; }
.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 1.5rem; border: 1px solid var(--rule); border-radius: 6px; background: rgba(7,21,37,.6); }
.route { padding: clamp(1.25rem, 2.5vw, 1.75rem); display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start; }
.route + .route { border-left: 1px solid var(--rule); }
.route h3 { font-size: var(--step-2); }
.route p { color: var(--mist); max-width: 40ch; }
.route .btn-fcl { margin-top: auto; }
.route-code { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); letter-spacing: 0.04em; color: var(--gold) !important; padding: 0.25rem 0 0.5rem; font-variant-numeric: tabular-nums; }
.route-waves { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; padding: 0.25rem 0 0.5rem; }
.route-waves li { position: relative; padding-top: 1.2rem; font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; }
.route-waves li::before { content: ""; position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.route-waves li::after { content: ""; position: absolute; top: 5px; left: 16px; right: 4px; height: 2px; background: var(--rule); }
.route-waves li:last-child::after { display: none; }
.route-time { margin-top: 0.75rem; color: var(--mist); font-size: var(--step--1); }

/* ---------- Faculty ---------- */
.faculty { padding: 0; }
.faculty-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 26rem; }
.faculty-photo img { width: 100%; height: 100%; object-fit: cover; }
.faculty-photo.is-empty { background:
  url("../images/bg-candles.svg") center / cover no-repeat,
  repeating-linear-gradient(90deg, transparent 0 79px, rgba(232,185,49,.12) 79px 80px),
  repeating-linear-gradient(0deg, transparent 0 79px, rgba(232,185,49,.08) 79px 80px),
  var(--tide); }
.faculty-copy { padding: var(--space-l) clamp(1.25rem, 4vw, 3.5rem); background: var(--ink); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.faculty-copy h2 { font-size: var(--step-3); max-width: 18ch; }
.faculty-copy > p { color: var(--mist); margin-top: 0.75rem; max-width: 52ch; }
.role-ladder { margin: 1.1rem 0 1.4rem; width: 100%; max-width: 28rem; }
.role-ladder li { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; padding: 0.45rem 0; border-bottom: 1px solid var(--rule); }
.role-ladder li:nth-child(2) { padding-left: 1rem; }
.role-ladder li:nth-child(3) { padding-left: 2rem; }
.role-ladder li:nth-child(4) { padding-left: 3rem; }
.role-ladder li:nth-child(5) { padding-left: 4rem; color: var(--gold); }

/* ---------- Principle ---------- */
.principle { border-top: 1px solid var(--rule); text-align: left; }
.principle { background: url("../images/bg-chart.svg") center bottom / 100% 80% no-repeat, var(--ink); }
.principle-line { font-family: var(--font-display); font-weight: 800; font-size: var(--step-4); letter-spacing: -0.025em; line-height: 1.12; max-width: 28ch; }
.principle-sub { color: var(--mist); max-width: 56ch; margin-top: 0.75rem; }

/* ---------- Footer ---------- */
.site-footer { background: #050F1B; border-top: 2px solid var(--gold); padding: var(--space-m) 0 1.5rem; font-size: var(--step--1); }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-m); }
.footer-subtitle { color: var(--paper); margin-top: 1rem; max-width: 30ch; font-family: var(--font-display); font-weight: 600; }
.footer-tagline { color: var(--mist); margin-top: 0.75rem; max-width: 34ch; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.footer-cols h2 { font-size: 0.9rem; font-weight: 700; color: var(--gold); margin-bottom: 0.9rem; letter-spacing: 0; }
.footer-cols li { margin-bottom: 0.55rem; }
.footer-cols a { color: var(--mist); text-decoration: none; }
.footer-cols a:hover { color: var(--paper); text-decoration: underline; }
.footer-disclaimer { color: var(--mist); margin-top: 1.5rem; padding-top: 1rem; font-size: 0.8rem; border-top: 1px solid var(--rule); max-width: 80ch; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin-top: 1rem; color: var(--mist); font-size: 0.8rem; }
.footer-bottom span:last-child { margin-left: auto; color: var(--paper); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .initiative-grid, .fci-grid, .obs-head, .faculty-grid, .footer-top, .question-grid { grid-template-columns: 1fr; }
  .obs-figures { grid-template-columns: repeat(3, 1fr); }
  .obs-figure:nth-child(4) { border-left: 0; }
  .obs-figure:nth-child(n+4) { border-top: 1px solid var(--rule); }
  .faculty-photo { min-height: 18rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .ledger, .routes { grid-template-columns: 1fr; }
  .ledger-col + .ledger-col { padding-left: 0; border-left: 0; }
  .ledger-col:first-child { padding-right: 0; }
  .route + .route { border-left: 0; border-top: 1px solid var(--rule); }
  .dimension-list { columns: 1; }
  .hero-actions .btn-fcl { width: 100%; }
  .ruler-track span { font-size: 0.65rem; }
  .obs-figures { grid-template-columns: repeat(2, 1fr); }
  .obs-figure:nth-child(odd) { border-left: 0; }
  .obs-figure:nth-child(4) { border-left: 1px solid var(--rule); }
  .obs-figure:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .targets div { padding: 0 1rem; }
  .targets div:nth-child(3) { padding-left: 0; border-left: 0; flex-basis: 100%; margin-top: 1rem; }
  .footer-bottom span:last-child { margin-left: 0; }
}


/* =====================================================================
   Phase 4 - forms, account pages, participation, dashboard
   ===================================================================== */
.page-head { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem) 1.5rem; background: url("../images/bg-chart.svg") right bottom / 55% 90% no-repeat, var(--ink); border-bottom: 1px solid var(--rule); }
.page-head-tight { padding-bottom: 1.25rem; }
.page-head h1 { font-size: var(--step-4); max-width: 26ch; }
.page-lead { color: var(--mist); max-width: 60ch; margin-top: 0.6rem; }
.facts { display: flex; flex-wrap: wrap; margin-top: 1.1rem; }
.facts li { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; padding: 0.15rem 1rem; border-left: 1px solid var(--rule); }
.facts li:first-child { padding-left: 0; border-left: 0; }

/* Notices */
.notice-box { padding: 0.75rem 1rem; border-radius: 4px; border-left: 3px solid var(--gold); background: rgba(232,185,49,.08); color: var(--paper); font-size: 0.95rem; margin-bottom: 1rem; }
.notice-box a { margin-left: 0.4rem; }
.notice-success { border-left-color: var(--c-green); background: rgba(60,196,143,.10); }
.notice-error { border-left-color: #F2615A; background: rgba(242,97,90,.10); }
.muted { color: var(--mist); }
.hint { color: var(--mist); font-size: 0.85rem; margin-top: 0.3rem; }

/* Auth layout */
.auth-page { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); background: url("../images/bg-currency.svg") repeat, var(--ink); }
.auth-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.auth-grid-narrow { grid-template-columns: minmax(0, 32rem); justify-content: center; }
.auth-aside h1 { font-size: var(--step-4); }
.auth-aside > p { color: var(--mist); margin-top: 0.75rem; max-width: 44ch; }
.auth-points { margin-top: 1.25rem; border-top: 1px solid var(--rule); max-width: 28rem; }
.auth-points li { padding: 0.6rem 0 0.6rem 1.1rem; border-bottom: 1px solid var(--rule); position: relative; font-size: 0.95rem; }
.auth-points li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 6px; height: 6px; background: var(--gold); }
.auth-alt { margin-top: 1.25rem !important; font-size: 0.95rem; }
.auth-card { background: var(--deep); border: 1px solid var(--rule); border-radius: 6px; padding: clamp(1.25rem, 3vw, 2rem); }
.auth-card h2, .auth-card-title { font-size: var(--step-3); margin-bottom: 0.6rem; }
.auth-card > p { margin-bottom: 1rem; }

/* Form controls: large touch targets, strong focus */
.fcl-form { display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fcl-form label { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--paper); }
.optional { color: var(--mist); font-weight: 400; }
.fcl-form input[type=email], .fcl-form input[type=password], .fcl-form input[type=text], .fcl-form select {
  width: 100%; min-height: 2.9rem; padding: 0.6rem 0.8rem; font: inherit; font-size: 1rem;
  color: var(--paper); background: var(--ink); border: 1px solid #2E4F72; border-radius: 4px; }
.fcl-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }
.fcl-form input:focus, .fcl-form select:focus { border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 1px; }
.fcl-form [aria-invalid="true"] { border-color: #F2615A; }
.field-error { color: #FF8A84; font-size: 0.85rem; }
.check { display: flex !important; gap: 0.7rem; align-items: flex-start; font-family: var(--font-body) !important; font-weight: 400 !important; font-size: 0.95rem !important; cursor: pointer; }
.check input, .check-inline input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; accent-color: var(--gold); flex-shrink: 0; }
.check-inline { display: inline-flex !important; gap: 0.5rem; align-items: center; font-family: var(--font-body) !important; font-weight: 400 !important; color: var(--mist) !important; cursor: pointer; margin-top: -0.4rem; }
.btn-block { width: 100%; }
.form-foot { font-size: 0.92rem; color: var(--mist); text-align: center; }
.resend-form { margin-top: 1rem; }
button.btn-fcl { cursor: pointer; font-family: var(--font-display); }
[id] { scroll-margin-top: 5rem; }

/* Consent summary */
.consent-box { border: 1px solid var(--rule); border-radius: 4px; background: rgba(7,21,37,.6); }
.consent-box summary { cursor: pointer; padding: 0.75rem 1rem; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--gold); }
.consent-box ul { padding: 0 1rem 0.5rem 2rem; list-style: disc; }
.consent-box li { font-size: 0.9rem; color: var(--paper); margin-bottom: 0.35rem; }
.consent-meta { padding: 0 1rem 0.75rem; font-size: 0.78rem; color: var(--mist); }

/* Assessment entry */
.assess-routes { padding-block: 2rem 3.5rem; background: url("../images/bg-currency.svg") repeat, var(--ink); }
.routes-forms { margin-top: 0; background: var(--deep); }
.routes-forms .route { gap: 0.9rem; }
.routes-forms .route .btn-fcl { margin-top: 0; }
.route-divider { width: 100%; border: 0; border-top: 1px solid var(--rule); margin: 0.75rem 0; opacity: 1; }
.inline-form { width: 100%; }
.route h3 { font-size: var(--step-1); }

.code-reveal { padding-block: 1.75rem 0; }
.code-card { border: 1px solid var(--gold); border-radius: 6px; padding: clamp(1.25rem, 3vw, 2rem); background: linear-gradient(180deg, rgba(232,185,49,.08), rgba(232,185,49,0)), var(--deep); }
.code-card > p:not(.section-kicker):not(.code-value) { color: var(--mist); max-width: 60ch; }
.code-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 3vw, 3rem); letter-spacing: 0.06em; color: var(--gold); font-variant-numeric: tabular-nums; margin: 0.2rem 0 0.6rem; word-break: break-all; }
.code-value-sm { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); }

/* Dashboard */
.dash { padding-block: 1.75rem 3rem; background: url("../images/bg-currency.svg") repeat, var(--ink); }
.dash-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; gap: 1rem; }
.dash-panel { background: var(--deep); border: 1px solid var(--rule); border-radius: 6px; padding: 1.25rem 1.4rem; margin: 0; }
.dash-panel h2 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.dash-panel .hero-actions { margin: 0.75rem 0 0; }
.dash-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--rule); }
.dash-facts div:last-child { border-bottom: 0; }
.dash-facts dt { font-weight: 400; color: var(--mist); font-size: 0.92rem; }
.dash-facts dd { margin: 0; font-family: var(--font-display); font-weight: 700; text-align: right; word-break: break-all; }
.dash-next p { color: var(--mist); margin-bottom: 1rem; }
.dash-foot { margin-top: 1.5rem; }

.nav-logout { margin: 0; }

@media (max-width: 960px) {
  .auth-grid, .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .field-row { grid-template-columns: 1fr; }
  .routes-forms { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .tape { overflow-x: auto; }
}