/* AfriWEM design system · theme "Ocean" (December 2026).
   One deep sea-blue field across every page, the water counterpart of AfriERW's green: a faint lattice of water
   droplets (as AfriERW carries diamonds), soft light from the surface, and glass panels for reading surfaces.
   Water is sea aqua; emissions are methane amber, everywhere, so the two never compete.
   Type: Fraunces (display, with an italic accent) and Manrope (text), self-hosted like the rest of the NCEL portfolio.
   Signature motifs: a water-surface edge under every band, bathymetric contour lines, rising gas bubbles, droplets.
   No third-party requests. Contrast (WCAG 2.1 AA) checked for text (>= 4.5:1) and chart marks (>= 3:1). */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-opsz-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
:root {
  --theme: #4FC8E8;        /* sea aqua: buttons, lines, bars */
  --theme-hi: #96E3F6;     /* surface light: links, kickers, italic accents */
  --theme-lo: #2A87AE;
  --theme-soft: rgba(79, 200, 232, .13);
  --on-theme: #03223A;
  --turq: #5ED6E8;
  --gas: #FFB766;          /* methane amber: emission marks in charts */
  --raise: #FFB766;
  --warn: #FFD39E;         /* amber text */
  --bad: #FF9580;
  --good: #72E0B5;
  --bg: #062A44;           /* deep sea */
  --bg2: #08314F;
  --surface: #0B3A5B;
  --surface2: #0F4569;
  --line: rgba(160, 214, 240, .21);
  --line-soft: rgba(160, 214, 240, .11);
  --text: #EEF6FB;
  --muted: #B4CDDF;
  --map-empty: #123F60;
  --map-ctx: #0D3352;
  --deep: #041E33;
  --deep-grad: linear-gradient(162deg, #041C30 0%, #052E4C 50%, #0A4470 100%);
  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 1px 0 rgba(160, 214, 240, .06) inset, 0 18px 44px rgba(1, 12, 22, .42);
  --shadow-sm: 0 1px 0 rgba(160, 214, 240, .05) inset, 0 8px 22px rgba(1, 12, 22, .30);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: var(--display);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --hdr: 68px;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 30C180 12 360 8 540 22S900 46 1080 30 1320 10 1440 20V48H0Z' fill='%23062A44'/%3E%3C/svg%3E");
  --contours: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400' fill='none' stroke='%2396E3F6' stroke-opacity='.13' stroke-width='1'%3E%3Cpath d='M300 200c90-6 150 30 150 70s-80 70-160 64-140-40-136-78 56-50 146-56z'/%3E%3Cpath d='M300 170c120-8 200 40 200 100s-110 100-220 92-190-56-184-110 84-74 204-82z'/%3E%3Cpath d='M296 140c150-10 250 50 250 130s-140 130-280 120-240-72-232-142 112-98 262-108z'/%3E%3Cpath d='M292 110c180-12 300 60 300 160s-170 160-340 148-290-88-280-174 140-122 320-134z'/%3E%3Cpath d='M288 80c210-14 350 70 350 190s-200 190-400 176-340-104-328-206 168-146 378-160z'/%3E%3Cpath d='M284 50c240-16 400 80 400 220s-230 220-460 204-390-120-376-238 196-170 436-186z'/%3E%3C/svg%3E");
  /* water droplets, the counterpart of AfriERW's diamond lattice: two staggered drops per tile */
  --drops: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='56' viewBox='0 0 44 56'%3E%3Cg fill='none' stroke='white' stroke-width='.85'%3E%3Cpath d='M11 4.5C11 4.5 4.5 13 4.5 17.5a6.5 6.5 0 0 0 13 0C17.5 13 11 4.5 11 4.5z'/%3E%3Cpath d='M33 32.5C33 32.5 26.5 41 26.5 45.5a6.5 6.5 0 0 0 13 0C39.5 41 33 32.5 33 32.5z'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: dark;
}
/* deep bands (header, section tabs, page heads, hero, call-to-action, footer, tooltips) sit one fathom deeper */
header.site, .tabs, .band, .hero, .cta, footer.site, .tip {
  --bg: #041E33;
  --bg2: #052842;
  --surface: #08324F;
  --surface2: #0B3B5B;
  --line: rgba(150, 225, 246, .26);
  --line-soft: rgba(150, 225, 246, .14);
  --map-empty: #0C3756;
  color: var(--text);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 60px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.62 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::before, body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; }
body::before { background: radial-gradient(1200px 720px at 100% -10%, rgba(150, 227, 246, .07), transparent 60%), radial-gradient(1000px 700px at -10% 110%, rgba(0, 8, 18, .30), transparent 60%); }
body::after { background-image: var(--drops); background-size: 44px 56px; opacity: .055; }
a { color: var(--theme-hi); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--theme); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--theme); color: var(--on-theme); padding: 8px 14px; z-index: 100; border-radius: 0 0 8px 0; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 980px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 560; line-height: 1.1; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; font-optical-sizing: auto; }
h3, h4 { font-family: var(--sans); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); letter-spacing: -.02em; }
h1 em, h2 em { font-style: italic; font-weight: 480; color: var(--theme-hi); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.05rem); }
h3 { font-size: 1.14rem; letter-spacing: -.01em; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.xs { font-size: .8rem; }
.eyebrow { font: 700 .72rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--theme-hi); margin-bottom: .8em; display: flex; align-items: center; gap: .55em; }
.eyebrow.rule::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid currentColor; flex: none; box-shadow: 9px -6px 0 -2.5px currentColor; margin-right: 6px; }
.num, td.n { font-variant-numeric: tabular-nums; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header and navigation (deep) ---------- */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(4, 30, 51, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(150, 227, 246, .10); }
header.site .wrap { display: flex; align-items: center; gap: 18px; height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); flex: none; }
.brand svg { flex: none; }
.brand b { font: 600 1.36rem/1 var(--display); letter-spacing: -.01em; }
.brand b span { color: var(--theme); }
.brand small { display: block; font: 600 .58rem/1 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
nav.main { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.navgrp { position: relative; }
.navgrp > button, nav.main > a { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--text); padding: 9px 13px; border-radius: 10px; font: 600 .93rem var(--sans); }
.navgrp > button::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; transition: transform .15s; }
.navgrp > button[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }
.navgrp > button:hover, .navgrp > button[aria-expanded="true"], nav.main > a:hover { background: rgba(143, 237, 226, .10); }
.navgrp.cur > button { color: var(--theme-hi); box-shadow: inset 0 -2px 0 var(--theme); border-radius: 10px 10px 4px 4px; }
.navgrp > button:focus-visible, nav.main > a:focus-visible { outline: 3px solid var(--theme); }
.menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px); min-width: 350px; background: #062C48; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 10, 20, .45); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .14s, transform .14s, visibility .14s; z-index: 60; }
.navgrp.open .menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.menu a { display: block; padding: 10px 12px; border-radius: 11px; text-decoration: none; color: var(--text); }
.menu a b { display: block; font-weight: 650; font-size: .93rem; }
.menu a span { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; margin-top: 2px; }
.menu a:hover, .menu a:focus-visible, .menu a[aria-current="page"] { background: rgba(79, 211, 200, .13); }
.menu a[aria-current="page"] b { color: var(--theme-hi); }
.hdr-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.iconbtn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.iconbtn:hover { border-color: var(--theme); }
.iconbtn svg { width: 18px; height: 18px; }
.searchbtn { display: inline-flex; align-items: center; gap: 8px; background: rgba(143, 237, 226, .07); border: 1px solid var(--line); color: var(--muted); border-radius: 11px; padding: 8px 12px; cursor: pointer; font: inherit; font-size: .88rem; }
.searchbtn:hover { border-color: var(--theme); color: var(--text); }
.searchbtn svg { width: 15px; height: 15px; }
kbd { font: 600 .72rem var(--mono); background: var(--surface2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--text); }
.menubtn { display: none; }
@media (max-width: 1100px) { .searchbtn .lbl, .searchbtn kbd { display: none; } }
@media (max-width: 960px) {
  nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--hdr)); height: calc(100dvh - var(--hdr)); overflow-y: auto; overscroll-behavior: contain; background: var(--deep); flex-direction: column; align-items: stretch; padding: 14px 20px 40px; gap: 6px; border-top: 1px solid var(--line-soft); }
  nav.main.open { display: flex; }
  .navgrp > button { width: 100%; justify-content: space-between; padding: 13px 14px; font-size: 1.02rem; }
  .navgrp.cur > button { box-shadow: none; }
  .menu { position: static; transform: none !important; min-width: 0; box-shadow: none; display: none; opacity: 1; visibility: visible; margin: 4px 0 10px; }
  .navgrp.open .menu { display: block; }
  .menubtn { display: inline-grid; }
  .hdr-tools { margin-left: auto; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  header.site .wrap { gap: 10px; }
  .hdr-tools { gap: 6px; }
  .iconbtn { width: 36px; height: 36px; }
  .searchbtn { width: 36px; height: 36px; padding: 0; justify-content: center; }
  .brand { gap: 9px; }
  .brand b { font-size: 1.16rem; }
  .brand small { letter-spacing: .12em; }
}

/* ---------- section tabs (deep) ---------- */
.tabs { position: sticky; top: var(--hdr); z-index: 30; background: rgba(4, 30, 51, .94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(150, 227, 246, .10); }
.tabs .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.tabs .wrap::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 12px 14px 10px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .88rem; border-bottom: 2px solid transparent; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current="page"] { color: var(--text); border-bottom-color: var(--theme); }

/* ---------- page band (every inner page) ---------- */
.band { position: relative; overflow: hidden; background: var(--deep-grad); padding: 34px 0 78px; margin-bottom: 8px; }
.band::before { content: ""; position: absolute; right: -120px; top: -80px; width: 760px; height: 520px; background: var(--contours) center/contain no-repeat; pointer-events: none; }
.band::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 51px; background: var(--wave) bottom/100% 100% no-repeat; pointer-events: none; }
.band .wrap { position: relative; z-index: 1; }
.band h1 { color: var(--text); max-width: 22ch; }
.band .standfirst { font-size: 1.12rem; max-width: 70ch; color: var(--muted); margin: 0; }
.band .standfirst b { color: var(--text); }
.band .links-row { margin-top: 22px; }
.page-head .eyebrow { color: var(--theme-hi); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--theme-hi); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- layout ---------- */
main { min-height: 60vh; }
section { padding: 56px 0; }
section.tight { padding: 26px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-head p { max-width: 58ch; margin: 0; color: var(--muted); }
.sec-head h2 { margin: 0; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 660px) { .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .grid.g4:has(> .tile) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid.g4 > .card.tile { padding: 14px; } .card.tile .v { font-size: 1.45rem; } .card.tile .v small { display: block; margin: 3px 0 0; } .card.tile .eyebrow { font-size: .62rem; letter-spacing: .08em; } }
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: .4em; }
.card.link { text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: border-color .18s, transform .18s, box-shadow .18s; }
.card.link:hover { border-color: var(--theme); transform: translateY(-3px); box-shadow: var(--shadow); }
.card .more { margin-top: auto; padding-top: 14px; font-weight: 650; font-size: .9rem; color: var(--theme-hi); }
.card .more::after { content: " →"; }
.card.tile { position: relative; overflow: hidden; }
.card.tile::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--theme-soft); box-shadow: -22px -26px 0 -18px var(--theme-soft); pointer-events: none; }
.card.tile .v { display: block; font: 700 1.95rem/1.1 var(--display); letter-spacing: -.02em; color: var(--text); margin: 2px 0 4px; font-variant-numeric: tabular-nums; }
.card.tile .v small { font: 500 .88rem var(--sans); letter-spacing: 0; color: var(--muted); margin-left: 5px; }
.card.tile .ci { font-size: .84rem; color: var(--muted); }
.prose { max-width: 76ch; }
.prose h2 { margin-top: 1.5em; }
.prose h3 { margin-top: 1.3em; }
.prose li { margin: .35em 0; }
.callout { background: var(--surface); border: 1px solid var(--line-soft); border-left: 4px solid var(--theme); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 18px 0; box-shadow: var(--shadow-sm); }
.callout.note { border-left-color: var(--gas); }
.callout p:last-child { margin: 0; }
.keybox { position: relative; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px 28px 24px 30px; margin: 8px 0 8px; box-shadow: var(--shadow-sm); overflow: hidden; }
.keybox::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--theme), var(--turq)); }
.keybox h2 { font-size: .78rem; font-family: var(--sans); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--theme-hi); margin-bottom: 14px; }
.keybox ol { margin: 0; padding: 0; list-style: none; counter-reset: k; display: grid; gap: 13px; }
.keybox li { counter-increment: k; display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.keybox li::before { content: counter(k); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--theme-soft); color: var(--theme-hi); border: 1.5px solid var(--theme-lo); font: 700 .8rem var(--sans); margin-top: 1px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.links-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 0; }
hr.sep { border: 0; border-top: 1px solid var(--line-soft); margin: 40px 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent; background: var(--theme); color: var(--on-theme); font: 650 .95rem var(--sans); padding: 11px 20px; border-radius: 12px; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 6px 16px rgba(2, 18, 32, .14); }
.btn:hover { background: var(--theme-hi); color: var(--on-theme); transform: translateY(-1px); }
:is(.band, .hero, .cta) .btn:hover { background: var(--theme-hi); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--theme); color: var(--text); background: var(--theme-soft); }
.btn.sm { padding: 7px 13px; font-size: .85rem; border-radius: 10px; }
.btn.lg { padding: 14px 24px; font-size: 1.02rem; border-radius: 14px; }
.btn .arr::after { content: "→"; }

/* ---------- home ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 55% 60% at 80% 30%, rgba(79, 211, 200, .16), transparent 70%), radial-gradient(ellipse 40% 50% at 0% 100%, rgba(255, 183, 102, .07), transparent 70%), var(--deep-grad); padding: 64px 0 132px; }
.hero::before { content: ""; position: absolute; right: -160px; top: -60px; width: 980px; height: 680px; background: var(--contours) center/contain no-repeat; pointer-events: none; opacity: .9; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 67px; background: var(--wave) bottom/100% 100% no-repeat; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.3rem); line-height: 1.04; letter-spacing: -.022em; font-weight: 540; margin-bottom: .38em; max-width: 15ch; }
.hero h1 .wv { position: relative; white-space: nowrap; color: var(--theme-hi); font-style: italic; font-weight: 480; }
.hero h1 .wv::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .16em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 7C10 2 20 2 30 7S50 12 60 7 80 2 90 7 110 12 120 7' fill='none' stroke='%234FC8E8' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 0 0/60px 100% repeat-x; }
.hero .lead { font-size: 1.18rem; line-height: 1.6; max-width: 50ch; color: var(--muted); margin-bottom: 0; }
.hero .lead b { color: var(--text); font-weight: 600; }
.hero .actions { margin: 30px 0 0; }
.hero .trustline { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; font-size: .84rem; color: var(--muted); }
.hero .trustline span { display: inline-flex; align-items: center; gap: 7px; }
.hero .trustline span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--theme); }
.bubbles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.bubbles i { position: absolute; bottom: -20px; border-radius: 50%; border: 1.5px solid rgba(255, 183, 102, .55); background: radial-gradient(circle at 35% 30%, rgba(255, 220, 170, .35), transparent 60%); animation: rise linear infinite; opacity: 0; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 70% { opacity: .55; } 100% { transform: translate(var(--dx, 12px), -620px); opacity: 0; } }
/* glass instrument panel */
.glass { position: relative; background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03)); border: 1px solid rgba(143, 237, 226, .24); border-radius: 22px; padding: 10px; box-shadow: 0 30px 80px rgba(0, 18, 22, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.glass .gh { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px 8px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.glass .gh .live { display: inline-flex; align-items: center; gap: 7px; color: var(--theme-hi); }
.glass .gh .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--theme); box-shadow: 0 0 0 4px rgba(79, 211, 200, .2); }
.gl-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 14px; align-items: center; padding: 16px 16px; border-radius: 16px; text-decoration: none; color: var(--text); transition: background .15s; }
.gl-row + .gl-row { border-top: 1px solid rgba(143, 237, 226, .12); }
.gl-row:hover { background: rgba(143, 237, 226, .07); color: var(--text); }
.gl-row .k { font-size: .8rem; color: var(--muted); display: block; margin-bottom: 2px; }
.gl-row .v { font: 700 2.05rem/1.05 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.gl-row .v small { font: 500 .86rem var(--sans); letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.gl-row .ci { font-size: .8rem; color: var(--muted); display: block; margin-top: 3px; }
.gl-row svg { width: 150px; height: 56px; display: block; overflow: visible; }
.gl-row .sp-band { fill: rgba(79, 211, 200, .22); }
.gl-row .sp-line { fill: none; stroke: var(--theme-hi); stroke-width: 2; }
.gl-row .sp-dot { fill: #FFB766; }
.gl-row .sp-lbl { fill: var(--muted); font: 10px var(--sans); }
.gl-row .bar-bg { fill: rgba(143, 237, 226, .14); }
.gl-row .bar-a { fill: #FFB766; }
.gl-row .bar-b { fill: var(--theme); }
.gl-row .gauge-bg { fill: none; stroke: rgba(143, 237, 226, .16); stroke-width: 7; }
.gl-row .gauge { fill: none; stroke: var(--theme); stroke-width: 7; stroke-linecap: round; }
.gl-row .gauge-t { fill: var(--text); font: 700 15px var(--display); }
@media (max-width: 480px) { .gl-row { grid-template-columns: 1fr; } .gl-row svg { width: 100%; } }
/* proof strip overlapping the hero */
.proof { position: relative; z-index: 2; margin-top: -86px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 22px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof > div { padding: 22px 24px; border-right: 1px solid var(--line-soft); }
.proof > div:last-child { border-right: 0; }
.proof b { display: block; font: 700 2.1rem/1 var(--display); letter-spacing: -.03em; color: var(--theme-hi); font-variant-numeric: tabular-nums; }
.proof span { display: block; font-size: .86rem; color: var(--muted); margin-top: 8px; line-height: 1.35; }
@media (max-width: 760px) { .proof { grid-template-columns: repeat(2, 1fr); } .proof > div:nth-child(2) { border-right: 0; } .proof > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); } }
/* question cards */
.qcard { position: relative; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line-soft); border-radius: 20px; padding: 24px 24px 22px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; overflow: hidden; }
.qcard::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--theme), var(--turq)); transform: scaleX(.18); transform-origin: left; transition: transform .3s; }
.qcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--theme-lo); color: var(--text); }
.qcard:hover::after { transform: scaleX(1); }
.qcard .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--theme-soft); color: var(--theme-hi); }
.qcard .ico svg { width: 23px; height: 23px; }
.qcard .who { font: 700 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.qcard h3 { font-size: 1.16rem; line-height: 1.3; margin: 0; }
.qcard p { margin: 0; color: var(--muted); font-size: .93rem; }
.qcard .go { margin-top: auto; padding-top: 8px; font-weight: 650; font-size: .92rem; color: var(--theme-hi); }
.qcard .go::after { content: " →"; transition: margin .18s; }
.qcard:hover .go::after { margin-left: 4px; }
/* study cards (homepage "The evidence"): the three linked studies, each with its headline figure */
.study { position: relative; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--text); background: linear-gradient(170deg, rgba(150, 227, 246, .06), rgba(150, 227, 246, .015)), var(--surface); border: 1px solid var(--line-soft); border-radius: 20px; padding: 26px 26px 22px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }
.study:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--theme-lo); color: var(--text); }
.study .who { font: 700 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--theme-hi); }
.study h3 { font: 560 1.4rem/1.2 var(--display); letter-spacing: -.01em; margin: 0; }
.study p { margin: 0; color: var(--muted); font-size: .93rem; }
.study .v { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); font: 560 2rem/1 var(--display); color: var(--text); }
.study .v small { font: 600 .8rem/1.35 var(--sans); color: var(--muted); }
.study .go { font-weight: 650; font-size: .92rem; color: var(--theme-hi); }
.study .go::after { content: " →"; transition: margin .18s; }
.study:hover .go::after { margin-left: 4px; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.cta h2 em { font-style: italic; color: var(--theme-hi); }
/* source-to-discharge chain */
.chain { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 24px; padding: 30px 30px 26px; box-shadow: var(--shadow-sm); }
.chain-flow { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 8px 0 22px; }
.chain-flow::before { content: ""; position: absolute; left: 8%; right: 8%; top: 31px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--theme-lo), var(--theme) 40%, var(--gas) 75%, var(--theme-lo)); opacity: .6; }
.stage { position: relative; text-align: center; padding: 0 4px; }
.stage .node { position: relative; width: 66px; height: 66px; margin: 0 auto 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--theme-lo); display: grid; place-items: center; color: var(--theme-hi); }
.stage .node svg { width: 28px; height: 28px; }
.stage.hot .node { border-color: var(--gas); color: var(--warn); box-shadow: 0 0 0 7px rgba(201, 103, 15, .10); }
.stage b { display: block; font-size: .95rem; line-height: 1.25; }
.stage .pc { display: block; font: 700 1.6rem/1.1 var(--display); letter-spacing: -.02em; color: var(--theme-hi); margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.stage.hot .pc { color: var(--warn); }
.stage .pc .u { font: 600 .8rem var(--sans); letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.stage small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.ribbon { display: flex; height: 16px; border-radius: 10px; overflow: hidden; background: var(--bg2); }
.ribbon i { display: block; height: 100%; }
.ribbon-key { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-top: 8px; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .chain-flow { grid-template-columns: 1fr; gap: 16px; } .chain-flow::before { left: 32px; right: auto; top: 8px; bottom: 8px; width: 4px; height: auto; background: linear-gradient(180deg, var(--theme-lo), var(--theme), var(--gas), #9FD6D0); }
  .stage { display: grid; grid-template-columns: 66px 1fr; gap: 14px; text-align: left; align-items: center; } .stage .node { margin: 0; } }
/* atlas teasers */
.atl-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 10px; align-items: center; min-height: 260px; padding: 26px 26px 26px 28px; border-radius: 22px; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .18s, box-shadow .18s; }
.atl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.atl-card h3 { font-size: 1.4rem; margin: 6px 0 8px; }
.atl-card p { color: var(--muted); font-size: .94rem; margin: 0 0 14px; }
.atl-card .mini-map.mapbox { width: 100%; height: 230px; min-height: 0; background: transparent; border: 0; box-shadow: none; border-radius: 0; }
.atl-card .mini-map svg.map { min-height: 0; height: 230px; cursor: pointer; }
.atl-card .mini-map .legend { display: none; }
@media (max-width: 560px) { .atl-card { grid-template-columns: 1fr; } }
.find-card { position: relative; padding-top: 26px; }
.find-card .big { display: block; font: 700 2.5rem/1 var(--display); letter-spacing: -.03em; color: var(--theme-hi); margin: 6px 0 10px; font-variant-numeric: tabular-nums; }
.find-card .big small { font: 600 1rem var(--sans); letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.find-card h3 { font-size: 1.12rem; }
.find-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.aud { display: flex; flex-direction: column; gap: 10px; }
.aud .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--theme-soft); color: var(--theme-hi); }
.aud .ico svg { width: 22px; height: 22px; }
.aud h3 { margin: 4px 0 0; font-size: 1.1rem; }
.aud p { margin: 0; color: var(--muted); font-size: .93rem; }
.aud ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; }
.aud ul a { font-weight: 600; font-size: .92rem; text-decoration: none; }
.aud ul a::before { content: "→ "; }
.aud ul a:hover { text-decoration: underline; }
.trust { display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: center; color: var(--muted); font-size: .88rem; padding: 8px 0 0; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--theme); }
.cta { position: relative; overflow: hidden; background: radial-gradient(ellipse 60% 120% at 100% 0%, rgba(79, 200, 232, .20), transparent 70%), var(--deep-grad); border-radius: 24px; padding: 38px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow); }
.cta::before { content: ""; position: absolute; right: -140px; top: -120px; width: 620px; height: 420px; background: var(--contours) center/contain no-repeat; pointer-events: none; }
.cta > * { position: relative; }
.cta h2 { margin: 0 0 .25em; font-size: 1.65rem; }
.cta p { margin: 0; color: var(--muted); max-width: 60ch; }

/* ---------- evidence labels M/D/E/G ---------- */
.lab { display: inline-block; min-width: 1.6em; text-align: center; font: 700 .66rem/1.6 var(--mono); border-radius: 6px; padding: 0 5px; margin-left: 6px; vertical-align: 2px; border: 1px solid; cursor: help; text-decoration: none; background: var(--surface); }
.lab.M { color: #7EE0B9; border-color: #2E8C69; }
.lab.D { color: var(--theme-hi); border-color: var(--theme-lo); }
.lab.E { color: #F3CD85; border-color: #9A7436; }
.lab.G { color: #CDBDF4; border-color: #6F5DA0; }
:is(.band, .hero, .cta, footer.site, .tip) .lab { background: transparent; }
:is(.band, .hero, .cta, footer.site, .tip) .lab.M { color: #7EE0B9; border-color: #2E8C69; }
:is(.band, .hero, .cta, footer.site, .tip) .lab.E { color: #F3CD85; border-color: #9A7436; }
:is(.band, .hero, .cta, footer.site, .tip) .lab.G { color: #CDBDF4; border-color: #6F5DA0; }
.labkey { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .84rem; color: var(--muted); }

/* ---------- tables ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: .91rem; }
th, td { text-align: left; padding: 10px 13px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
th { background: var(--bg2); color: var(--muted); font-weight: 700; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; position: sticky; top: 0; }
td.n, th.n { text-align: right; }
.tool .tablewrap table { font-size: .86rem; }
.tool .tablewrap th, .tool .tablewrap td { padding: 9px 9px; }
.tool .tablewrap th { font-size: .68rem; letter-spacing: .04em; }
tbody tr:hover { background: var(--theme-soft); }
th button { all: unset; cursor: pointer; }
th button::after { content: " ↕"; opacity: .45; }
table.plain th { position: static; }
caption { caption-side: top; text-align: left; padding: 12px 13px 4px; color: var(--muted); font-size: .85rem; }

/* ---------- maps ---------- */
.atlas { display: grid; grid-template-columns: 300px 1fr; gap: 20px; margin-top: 18px; }
@media (max-width: 960px) { .atlas { grid-template-columns: 1fr; } }
.layers { display: flex; flex-direction: column; gap: 8px; }
.layers button { text-align: left; background: var(--surface); border: 1px solid var(--line-soft); color: var(--text); padding: 11px 14px; border-radius: 13px; cursor: pointer; font: inherit; transition: border-color .15s, background .15s; }
.layers button:hover { border-color: var(--theme-lo); }
.layers button b { display: block; font-size: .95rem; }
.layers button span { color: var(--muted); font-size: .82rem; }
.layers button[aria-pressed="true"] { border-color: var(--theme); background: var(--theme-soft); box-shadow: inset 4px 0 0 var(--theme); }
.layers button[disabled] { opacity: .45; cursor: not-allowed; }
.layers .lgrp { font: 700 .68rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 10px 2px 0; }
.layers .lgrp:first-child { margin-top: 0; }
.mapbox { position: relative; background: radial-gradient(ellipse 70% 60% at 50% 40%, #0C3D60, #072E4A); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; min-height: 520px; box-shadow: var(--shadow-sm); }
.mapbox svg.map { width: 100%; height: 100%; display: block; min-height: 520px; cursor: grab; touch-action: none; }
.mapbox svg.map:active { cursor: grabbing; }
.mapbox path.shape { stroke: rgba(4, 26, 44, .85); stroke-width: .6; vector-effect: non-scaling-stroke; transition: opacity .15s, fill .4s; }
:is(.hero) .mapbox path.shape { stroke: #041E33; }
.mapbox path.shape:hover, .mapbox path.shape.sel { stroke: var(--text); stroke-width: 1.8; }
.mapbox path.shape.dim { opacity: .14; }
.mapbox path.ctx { fill: var(--map-ctx); stroke: rgba(160, 214, 240, .22); stroke-width: .6; vector-effect: non-scaling-stroke; }
.mapbox path.ovl { fill: none; stroke: #EEF6FB; stroke-width: 1.5; stroke-opacity: .75; vector-effect: non-scaling-stroke; pointer-events: none; }
.mapbox path.outline { fill: none; stroke: #EEF6FB; stroke-width: 1.6; vector-effect: non-scaling-stroke; pointer-events: none; }
.mapbox text.mlab { font: 700 11px var(--sans); fill: #EEF6FB; paint-order: stroke; stroke: rgba(4, 26, 44, .9); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; text-anchor: middle; }
.mapbox circle.pt { stroke: #041E33; stroke-width: 1.6; vector-effect: non-scaling-stroke; cursor: pointer; }
.mapbox circle.pt:hover, .mapbox circle.pt.sel { stroke: var(--text); stroke-width: 2.4; }
.mapctl { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; }
.mapctl button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 700 1.1rem var(--sans); cursor: pointer; box-shadow: var(--shadow-sm); }
.mapctl button:hover { border-color: var(--theme); }
.legend { position: absolute; left: 12px; bottom: 12px; background: color-mix(in srgb, var(--surface) 94%, transparent); border: 1px solid var(--line-soft); border-radius: 13px; padding: 10px 12px; font-size: .79rem; width: 236px; box-shadow: var(--shadow-sm); backdrop-filter: blur(6px); }
.legend .eyebrow { margin-bottom: 4px; }
.legend button { display: flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--text); font: inherit; padding: 2px 0; cursor: pointer; width: 100%; text-align: left; }
.legend i { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.legend .ramp { height: 10px; border-radius: 5px; margin: 4px 0 2px; }
.legend .ramp-lab { display: flex; justify-content: space-between; color: var(--muted); }
.legend .steps { display: grid; gap: 3px; margin-top: 4px; }
.legend .steps div { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: center; font-variant-numeric: tabular-nums; }
.legend .steps i { width: 22px; height: 12px; border-radius: 3px; }
.legend .nat { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line-soft); color: var(--muted); }
.tip { position: fixed; pointer-events: none; background: #062C48; border: 1px solid rgba(150, 227, 246, .25); color: var(--text); padding: 10px 13px; border-radius: 12px; font-size: .84rem; line-height: 1.5; box-shadow: 0 18px 40px rgba(0, 10, 20, .35); z-index: 70; max-width: 300px; display: none; }
.tip b { font-family: var(--display); font-size: 1rem; }
.tip .muted { color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px; margin-top: 14px; box-shadow: var(--shadow-sm); }
.panel h3 { margin-bottom: .2em; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 5px 14px; font-size: .9rem; margin: 10px 0 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.mapnote { margin-top: 12px; }
.mapbox path.shape.reveal { animation: reveal .9s ease both; }
@keyframes reveal { from { opacity: 0; } to { opacity: 1; } }
.pulse { fill: none; stroke: #FFB766; stroke-width: 2; vector-effect: non-scaling-stroke; animation: pulse 2.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.4); } }

/* ---------- Ghana national atlas ---------- */
.ga-bar { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; margin: 6px 0 16px; }
.seg { display: inline-flex; padding: 4px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 13px; box-shadow: var(--shadow-sm); }
.seg button { all: unset; cursor: pointer; padding: 8px 16px; border-radius: 9px; font: 650 .9rem var(--sans); color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--theme); color: var(--on-theme); }
.seg button:focus-visible { outline: 3px solid var(--theme); }
.ga-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
@media (max-width: 1180px) { .ga-grid { grid-template-columns: 230px minmax(0, 1fr); } .ga-prof { grid-column: 1 / -1; } }
@media (max-width: 760px) { .ga-grid { grid-template-columns: 1fr; } }
.ga-map .mapbox { min-height: 640px; }
.ga-map .mapbox svg.map { min-height: 640px; max-height: 820px; }
.ga-prof { position: sticky; top: calc(var(--hdr) + 58px); }
@media (max-width: 1180px) { .ga-prof { position: static; } }
.ga-prof .card { padding: 20px; }
.ga-prof .lvl { display: inline-block; font: 700 .68rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--theme-hi); background: var(--theme-soft); border-radius: 6px; padding: 3px 8px; margin-bottom: 8px; }
.ga-prof h3 { font-size: 1.35rem; margin-bottom: 2px; }
.ga-prof .sub { color: var(--muted); font-size: .86rem; margin-bottom: 12px; }
.ga-big { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ga-big b { font: 700 2.3rem/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ga-big span { color: var(--muted); font-size: .88rem; }
.ga-rank { font-size: .86rem; color: var(--muted); margin: 6px 0 12px; }
.cmpbar { position: relative; height: 10px; border-radius: 6px; background: var(--bg2); margin: 4px 0 18px; }
.cmpbar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: var(--theme); }
.cmpbar u { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--gas); }
.cmpbar em { position: absolute; top: 13px; transform: translateX(-50%); font: 600 .7rem var(--sans); font-style: normal; color: var(--warn); white-space: nowrap; }
.ga-sec { border-top: 1px solid var(--line-soft); padding-top: 14px; margin-top: 14px; }
.ga-sec h4 { font: 700 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.stack { display: flex; height: 18px; border-radius: 9px; overflow: hidden; background: var(--bg2); }
.stack i { display: block; height: 100%; }
.skey { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin-top: 10px; font-size: .8rem; color: var(--muted); }
.skey span { display: flex; align-items: center; gap: 6px; }
.skey span i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.skey span b { margin-left: auto; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.multiples { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .multiples { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .multiples { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mini { all: unset; box-sizing: border-box; cursor: pointer; display: block; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 10px 10px 8px; box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s; }
.mini:hover { border-color: var(--theme); transform: translateY(-2px); }
.mini[aria-pressed="true"] { border-color: var(--theme); box-shadow: 0 0 0 3px var(--theme-soft); }
.mini svg { width: 100%; height: auto; display: block; }
.mini svg path { stroke: #041E33; stroke-width: .35; }
.mini b { display: block; font-size: .8rem; margin-top: 6px; line-height: 1.3; }
.mini:focus-visible { outline: 3px solid var(--theme); }

/* ---------- charts ---------- */
.chartbox { min-height: 60px; }
svg.chart { width: 100%; height: auto; display: block; overflow: visible; }
svg.chart text { fill: var(--muted); font: 11px var(--sans); }
svg.chart text.lbl { fill: var(--text); }
svg.chart .axis { stroke: var(--line); }
svg.chart .grid { stroke: var(--line-soft); stroke-dasharray: 2 3; }
svg.chart .band { fill: var(--theme); opacity: .18; }
svg.chart .band.alt { fill: var(--raise); opacity: .14; }
svg.chart .line { fill: none; stroke: var(--theme); stroke-width: 2.4; }
svg.chart .line.alt { stroke: var(--raise); stroke-dasharray: 5 4; stroke-width: 1.8; }
svg.chart .bar { fill: var(--theme); }
svg.chart .bar.neg { fill: var(--theme); }
svg.chart .bar.pos { fill: var(--raise); }
svg.chart .bar.mute { fill: var(--line); }
svg.chart .whisk { stroke: var(--text); stroke-width: 1.2; opacity: .75; }
svg.chart .dot { fill: var(--theme-hi); stroke: var(--surface); stroke-width: 1.2; }
svg.chart .dot.sel { fill: var(--raise); }
svg.chart .ref { stroke: var(--muted); stroke-dasharray: 3 3; opacity: .7; }
svg.chart .hl { fill: var(--theme-soft); }
svg.chart .natref { stroke: var(--gas); stroke-width: 1.6; stroke-dasharray: 4 3; }
svg.chart rect.rk { cursor: pointer; }
svg.chart rect.rk:hover { opacity: .8; }
.chart-key { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .8rem; color: var(--muted); margin-top: 6px; }
.chart-key i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; background: var(--theme); }
.chart-key i.alt { background: repeating-linear-gradient(90deg, var(--raise) 0 5px, transparent 5px 9px); }
.chart-key i.band { height: 10px; padding: 0; margin: 0 6px 0 0; overflow: visible; background: var(--theme); opacity: .3; }
.chart-key i.band::before, .chart-key i.band::after { content: none; }  /* the swatch shares its class name with page bands */
.figcap { font-size: .84rem; color: var(--muted); margin: 10px 0 0; }

/* ---------- lists, filters, form controls ---------- */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 18px 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button, .chips a { background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 7px 13px; cursor: pointer; font: 600 .84rem var(--sans); text-decoration: none; }
.chips button:hover, .chips a:hover { border-color: var(--theme); }
.chips button[aria-pressed="true"] { background: var(--theme); color: var(--on-theme); border-color: var(--theme); }
input[type=search], input[type=number], select { background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 11px; padding: 9px 12px; font: inherit; font-size: .95rem; }
input[type=search] { padding: 9px 16px; min-width: 220px; }
input[type=number] { width: 100%; font-variant-numeric: tabular-nums; }
select { padding-right: 30px; max-width: 100%; }
.field select, .field input[type=number] { width: 100%; min-width: 0; }
.tool .controls { min-width: 0; }
.plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.plist li { padding-left: 12px; border-left: 2px solid var(--theme-lo); }
.plist b { color: var(--text); }
td .sub, th .sub { display: block; color: var(--muted); font-size: .8rem; white-space: nowrap; }
input:focus, select:focus { outline: none; border-color: var(--theme); box-shadow: 0 0 0 3px var(--theme-soft); }
input[type=range] { width: 100%; accent-color: var(--theme); }
.count { color: var(--muted); font-size: .9rem; margin-left: auto; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.cards a { display: block; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; box-shadow: var(--shadow-sm); }
.cards a:hover { border-color: var(--theme); transform: translateY(-2px); }
.cards a b { font-family: var(--display); font-size: 1.04rem; }
.cards a .meta { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.pill { display: inline-block; font: 700 .72rem var(--sans); padding: 2px 9px; border-radius: 999px; background: var(--theme-soft); color: var(--theme-hi); border: 1px solid var(--line); }
[hidden] { display: none !important; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field .flabel { font-weight: 650; font-size: .9rem; }
.field .hint { font-size: .8rem; color: var(--muted); }
.field .row { display: flex; gap: 10px; align-items: center; }
.field output { font: 600 .95rem var(--sans); min-width: 64px; text-align: right; font-variant-numeric: tabular-nums; }
fieldset { border: 0; padding: 0; margin: 0; }
legend.flabel { padding: 0; margin-bottom: 6px; }

/* ---------- decision tools ---------- */
.tool { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 8px; }
@media (max-width: 980px) { .tool { grid-template-columns: 1fr; } }
.tool .controls { position: sticky; top: calc(var(--hdr) + 58px); background: var(--surface); border: 1px solid var(--line-soft); border-top: 4px solid var(--theme); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
@media (max-width: 980px) { .tool .controls { position: static; } }
.tool .controls h2 { font: 700 .74rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--theme-hi); margin-bottom: 14px; }
.tool .results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.tool .results > * { min-width: 0; }
.verdict { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font: 700 .76rem var(--sans); border: 1px solid; white-space: nowrap; }
.verdict::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.verdict.v4 { color: var(--good); border-color: color-mix(in srgb, var(--good) 50%, transparent); }
.verdict.v3 { color: var(--theme-hi); border-color: color-mix(in srgb, var(--theme-hi) 45%, transparent); }
.verdict.v2 { color: var(--muted); border-color: var(--line); }
.verdict.v1 { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 50%, transparent); }
.verdict.v0 { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 50%, transparent); }
.readout { font-size: 1.02rem; }
.readout b { color: var(--text); }
.tool-card { display: flex; flex-direction: column; gap: 8px; }
.tool-card .who { font-size: .8rem; color: var(--muted); }
.tool-card .q { font-family: var(--display); font-size: 1.1rem; font-weight: 600; color: var(--text); }
.designs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.designs button { text-align: center; background: var(--surface); border: 1px solid var(--line-soft); color: var(--muted); border-radius: 10px; padding: 8px 4px; cursor: pointer; font: inherit; font-size: .74rem; }
.designs button b { display: block; font-size: 1.2rem; font-family: var(--display); color: var(--text); }
.designs button[aria-pressed="true"] { border-color: var(--theme); background: var(--theme-soft); }
.meter { height: 10px; border-radius: 6px; background: var(--bg2); border: 1px solid var(--line-soft); overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--theme-lo), var(--theme)); border-radius: 6px; transition: width .4s; }

/* ---------- methods ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; background: var(--surface); margin: 8px 0 8px; box-shadow: var(--shadow-sm); }
.facts div { padding: 14px 16px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.facts div:nth-child(4n) { border-right: 0; }
.facts dt { font: 700 .68rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 650; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); } .facts div:nth-child(2n) { border-right: 0; } }
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; margin-top: 26px; }
@media (max-width: 980px) { .doc { grid-template-columns: 1fr; } .doc .toc { position: static; } }
.toc { position: sticky; top: calc(var(--hdr) + 60px); align-self: start; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px 10px 12px; max-height: calc(100vh - var(--hdr) - 80px); overflow-y: auto; box-shadow: var(--shadow-sm); }
.toc .eyebrow { padding: 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: grid; grid-template-columns: 26px 1fr; gap: 4px; padding: 6px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .87rem; line-height: 1.35; }
.toc a span { font: 600 .78rem var(--mono); color: var(--theme-hi); opacity: .8; padding-top: 1px; }
.toc a:hover, .toc a.on { background: var(--theme-soft); color: var(--text); }
.toc .toc-note { font-size: .78rem; color: var(--muted); padding: 10px 10px 2px; border-top: 1px solid var(--line-soft); margin-top: 8px; }
.msec { scroll-margin-top: calc(var(--hdr) + 64px); padding: 6px 0 40px; border-bottom: 1px solid var(--line-soft); margin-bottom: 36px; }
.msec:last-child { border-bottom: 0; }
.msec > .eyebrow { margin-bottom: .5em; }
.msec > h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.msec > p, .msec > ul, .msec > ol { max-width: 78ch; }
.eq { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); margin: 18px 0; overflow: hidden; box-shadow: var(--shadow-sm); }
.eq-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); background: var(--surface2); flex-wrap: wrap; }
.eq-h b { font-size: .95rem; }
.eq-h span { font: 700 .68rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eq-b { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px 20px 14px; }
.eq-b .syms { border-top: 1px dashed var(--line); padding-top: 12px; }
.eq-b.full { grid-template-columns: 1fr; }
.eq-math { overflow-x: auto; overflow-y: hidden; padding: 4px 0; text-align: center; }
.eq-math .katex-display { margin: .3em 0; }
.eq-n { float: right; color: var(--muted); font-size: .85rem; }
.syms { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content minmax(0, 1fr); gap: 7px 14px; font-size: .86rem; margin: 0; align-items: baseline; }
@media (max-width: 860px) { .syms { grid-template-columns: max-content minmax(0, 1fr); } }
.syms dt { font-weight: 600; white-space: nowrap; }
.syms dd { margin: 0; color: var(--muted); }
.eq-foot { padding: 0 18px 14px; font-size: .88rem; color: var(--muted); }
.eq-foot p { margin: 0; }
.katex { font-size: 1.08em; color: var(--text); }
.scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
@media (max-width: 860px) { .scope { grid-template-columns: 1fr; } }
.scope > div { background: var(--surface); border: 1px solid var(--line-soft); border-top: 4px solid var(--good); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.scope > div:nth-child(2) { border-top-color: var(--gas); }
.scope > div:nth-child(3) { border-top-color: var(--muted); }
.scope .eyebrow { color: var(--muted); }
.scope ul { margin: 0; padding-left: 18px; font-size: .92rem; }
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 18px 0; counter-reset: f; }
@media (max-width: 980px) { .flow { grid-template-columns: repeat(2, 1fr); } }
.flow > div { position: relative; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px; box-shadow: var(--shadow-sm); }
.flow .eyebrow { margin-bottom: .3em; font-size: .64rem; }
.flow b { display: block; font-size: .95rem; line-height: 1.3; }
.flow span { display: block; font-size: .8rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.lim { display: grid; gap: 12px; margin: 18px 0; }
.lim > div { display: grid; grid-template-columns: 220px 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-sm); }
@media (max-width: 760px) { .lim > div { grid-template-columns: 1fr; } }
.lim h4 { margin: 0; font-family: var(--sans); font-size: .95rem; }
.lim h4 small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; margin-top: 3px; }
.lim p { margin: 0 0 .5em; font-size: .93rem; }
.lim p:last-child { margin: 0; }
.lim .resp { color: var(--muted); }
.lim .resp b { color: var(--text); font-weight: 600; }

/* ---------- search overlay ---------- */
.search-ov { position: fixed; inset: 0; background: rgba(2, 14, 26, .62); backdrop-filter: blur(4px); display: none; z-index: 90; padding: 10vh 16px; }
.search-ov.open { display: block; }
.search-box { max-width: 660px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.search-box input { width: 100%; border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; padding: 18px 20px; font-size: 1.08rem; background: transparent; box-shadow: none !important; min-width: 0; }
.search-box ul { list-style: none; margin: 0; padding: 6px; max-height: 55vh; overflow: auto; }
.search-box li a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--text); }
.search-box li a span { color: var(--muted); font-size: .8rem; }
.search-box li a:hover, .search-box li a.act { background: var(--theme-soft); }
.search-box .hint { padding: 10px 16px; color: var(--muted); font-size: .8rem; border-top: 1px solid var(--line-soft); }

/* ---------- footer (deep, with a water-surface top edge) ---------- */
footer.site { position: relative; margin-top: 80px; background: var(--deep-grad); padding: 84px 0 30px; font-size: .9rem; color: var(--muted); overflow: hidden; }
footer.site::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 51px; background: var(--wave) top/100% 100% no-repeat; transform: scaleY(-1); pointer-events: none; }
footer.site::after { content: ""; position: absolute; left: -120px; bottom: -160px; width: 700px; height: 460px; background: var(--contours) center/contain no-repeat; pointer-events: none; opacity: .7; }
footer.site .wrap { position: relative; z-index: 1; }
footer.site .cols { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 26px; }
@media (max-width: 900px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
footer.site h4, footer.site h2.fh { font: 700 .72rem var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--theme-hi); margin: 0 0 12px; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin: 6px 0; }
footer.site a { color: var(--text); text-decoration: none; }
footer.site a:hover { color: var(--theme-hi); }
footer.site .base { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; }
code { font-family: var(--mono); font-size: .86em; background: var(--surface2); padding: 1px 6px; border-radius: 5px; }
.print-only { display: none; }

/* ---------- print (country and district briefs) ---------- */
@media print {
  @page { size: A4; margin: 14mm 14mm 16mm; }
  :root, header.site, .tabs, .band, .hero, .cta, footer.site { --bg: #fff; --bg2: #EEF5F4; --surface: #fff; --surface2: #F2F8F7; --line: #BFD6D2; --line-soft: #D7E7E4; --text: #0A2A30; --muted: #46625F; --theme: #0A6F7A; --theme-hi: #08626C; --theme-soft: #E8F4F3; --on-theme: #fff; }
  body { background: #fff; color: #0A2A30; font-size: 10.5pt; }
  header.site, footer.site, .tabs, .mapctl, .search-ov, .no-print, .links-row, .crumbs, .toc, .tip { display: none !important; }
  .band { background: none; padding: 0 0 8px; } .band::before, .band::after { display: none; }
  .print-only { display: block; }
  .wrap { max-width: none; padding: 0; }
  .card, .keybox, .callout { break-inside: avoid; box-shadow: none; }
  h1 { font-size: 22pt; }
  .grid.g4 { grid-template-columns: repeat(4, 1fr); }
  .grid.g2 { grid-template-columns: 1fr 1fr; }
  section { padding: 12px 0; }
  .doc { display: block; }
  a { color: inherit; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .bubbles { display: none; } }

/* ---------- Ghana atlas: rail, source bars, mobile ---------- */
#ga-rail { gap: 6px; }
#ga-rail button { padding: 8px 12px; border-radius: 11px; }
#ga-rail button b { font-size: .9rem; }
#ga-rail button span { font-size: .76rem; line-height: 1.3; display: block; }
.hbars { display: grid; gap: 6px; }
.hbars div { display: grid; grid-template-columns: minmax(0, 1fr) 90px 48px; gap: 8px; align-items: center; font-size: .82rem; }
.hbars span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbars i { display: block; height: 8px; border-radius: 4px; background: var(--bg2); overflow: hidden; }
.hbars u { display: block; height: 100%; background: var(--theme); border-radius: 4px; }
.hbars b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.ga-map .mapbox { height: auto; min-height: 0; }
.ga-map .mapbox svg.map { height: 720px; min-height: 0; }
.ga-map .legend { position: static; width: auto; border: 0; border-top: 1px solid var(--line-soft); border-radius: 0; box-shadow: none; backdrop-filter: none; background: var(--surface); padding: 12px 16px 14px; display: grid; grid-template-columns: 190px 1fr; gap: 4px 18px; align-items: center; }
.ga-map .legend > .eyebrow, .ga-map .legend > .muted, .ga-map .legend .nat { grid-column: 1; margin: 0; }
.ga-map .legend .steps { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.ga-map .legend .steps div { grid-template-columns: 22px auto; gap: 6px; font-size: .78rem; }
.ga-map .legend .nat { grid-column: 1; margin: 0; padding: 0; border: 0; }
@media (max-width: 1180px) { #ga-rail { display: grid; grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  #ga-rail { display: flex; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: thin; }
  #ga-rail .lgrp, #ga-rail button span { display: none; }
  #ga-rail button { flex: 0 0 auto; padding: 8px 12px; }
  .ga-map .mapbox svg.map { height: 520px; }
  .ga-map .legend { grid-template-columns: 1fr; }
  .ga-map .legend .steps { grid-column: 1; grid-row: auto; }
}
.atl-card .mini-map svg { pointer-events: none; }
.band .actions .btn.ghost, .band .links-row .btn.ghost { border-color: rgba(143, 237, 226, .35); }
