/* ═══════════════════════════════
   DESIGN CONSTITUTION v2.0 — BOLD EDITORIAL
═══════════════════════════════ */
:root {
  --ink:         #1C2B2B;
  --ink-s:       #243535;
  --ink-m:       #2E4040;
  --parch:       #F2EDE4;
  --parch-d:     #E8E1D6;
  --verdant:     #3F5E46;
  --verdant-up:  #5A7D61;
  --verdant-p:   #EDF1EC;
  --slate:       #8A9BA8;
  --slate-lt:    #4E5E68;
  --slate-f:     rgba(138,155,168,0.1);
  --white:       #FFFFFF;
  --f-display: 'Sora', system-ui, sans-serif;
  --f-sans:  'Inter', system-ui, sans-serif;
  --f-mono:  'Space Mono', monospace;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --wrap-max: 1360px;
  --pad: clamp(20px, 6vw, 80px);
  --idx-w: 92px;
  --nav-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { font-family: var(--f-sans); background: var(--parch); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ── LOADING SCREEN ── */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 28px;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
#loader.done { opacity: 0; visibility: hidden; }
.loader-word {
  font-family: var(--f-display); font-size: clamp(36px, 7vw, 68px);
  font-weight: 600; color: var(--white); letter-spacing: -0.02em;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.loader-word .vi { color: var(--verdant-up); }
.loader-word.show { opacity: 1; transform: translateY(0); }
.loader-bl {
  width: 0; height: 2px; max-width: 320px;
  background: var(--verdant-up);
  transition: width 1.2s var(--ease);
  position: relative;
}
.loader-bl::after {
  content: '';
  position: absolute; right: -4px; top: -3px;
  width: 8px; height: 8px;
  background: var(--verdant-up);
  opacity: 0; transition: opacity 0.3s;
}
.loader-bl.grow { width: 320px; }
.loader-bl.grow::after { opacity: 1; }
.loader-tail {
  width: 0; height: 1px; background: rgba(138,155,168,0.3);
  transition: width 0.8s 1.0s var(--ease);
}
.loader-tail.grow { width: 100px; }
.loader-line-wrap { display: flex; align-items: center; }

/* ── SCROLL BRIDGE LINE ── */
#scroll-bridge {
  position: fixed; left: 28px; top: var(--nav-h); bottom: 0;
  width: 2px; z-index: 100; pointer-events: none;
}
.sb-track { position: absolute; inset: 0; background: rgba(28,43,43,0.06); }
.sb-fill {
  position: absolute; top: 0; left: 0; right: 0;
  height: 0%; background: var(--verdant);
  transition: height 0.1s linear;
}
.sb-dot {
  position: absolute; left: -3px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--verdant);
  transition: top 0.1s linear;
  top: 0%;
}
@media (max-width: 900px) { #scroll-bridge { display: none; } }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  background: rgba(28,43,43,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.3s var(--ease);
}
nav.light {
  background: rgba(242,237,228,0.96);
  border-bottom: 1px solid rgba(28,43,43,0.08);
}
.nav-i {
  max-width: var(--wrap-max); margin: 0 auto; padding: 0 var(--pad);
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--f-display); font-size: 22px; font-weight: 600;
  color: var(--white); cursor: pointer; letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 0.3s;
}
.nav-logo .vi { color: var(--verdant-up); }
nav.light .nav-logo { color: var(--ink); }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; color: rgba(138,155,168,0.8);
  text-decoration: none; transition: color 0.2s; cursor: pointer;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--white); }
nav.light .nav-links a { color: var(--slate-lt); }
nav.light .nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-family: var(--f-mono); font-size: 11px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--verdant); color: var(--white);
  border: none; padding: 11px 24px; border-radius: 0;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--verdant-up); transform: translateY(-1px); }

.nav-links a.active { color: var(--white); position: relative; }
nav.light .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--verdant-up);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; background: none; border: none; cursor: pointer;
  padding: 0; z-index: 600;
}
.nav-toggle span {
  display: block; width: 100%; height: 1.5px; background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s;
}
nav.light .nav-toggle span { background: var(--ink); }
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-links-cta-mobile { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-cta-desktop { display: none; }
  .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    height: calc(100vh - var(--nav-h));
    background: var(--ink); padding: 12px var(--pad) 32px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
    overflow-y: auto;
  }
  .nav-links.open { opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; }
  .nav-links li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links a { display: block; padding: 20px 0; font-size: 13px; letter-spacing: 0.06em; }
  .nav-links a.active::after { display: none; }
  .nav-links-cta-mobile { display: block; width: 100%; border-bottom: none; padding: 24px 0 0; }
  .nav-links-cta-mobile .nav-cta { width: 100%; padding: 16px 22px; }
}

/* ── GLOBAL UTILS ── */
.wrap { max-width: var(--wrap-max); margin: 0 auto; padding: 0 var(--pad); }

.ey {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--slate); display: block;
}
.ey.v { color: var(--verdant); }
.ey.dk { opacity: 0.75; }
.ey.vp { color: var(--verdant-p); opacity: 0.65; }

/* Bridge Line component */
.bl { display: flex; align-items: center; }
.bl .s  { height: 2px; background: var(--ink); flex: 3; }
.bl .d  { width: 8px; height: 8px; border-radius: 50%; background: var(--verdant); flex-shrink: 0; margin: 0 7px; }
.bl .t  { height: 1px; background: var(--slate); flex: 1; opacity: 0.3; }
.bl.dk .s { background: var(--parch); opacity: 0.18; }
.bl.dk .d { background: var(--verdant-up); }
.bl.dk .t { opacity: 0.15; }
.bl.sm .s { height: 1px; }
.bl.sm .d { width: 6px; height: 6px; margin: 0 6px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }

.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 10000;
  background: var(--verdant); color: var(--white);
  font-family: var(--f-sans); font-size: 12px; font-weight: 600;
  padding: 10px 18px; text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.divider-sm { margin-top: 8px; max-width: 100px; }
.section-intro { font-size: 15px; color: var(--slate); opacity: 0.9; margin: 18px 0 0; max-width: 480px; line-height: 1.7; }
.hub-item.inactive .hub-dot { background: var(--slate); opacity: 0.4; }
.hub-item.inactive .hub-tag { opacity: 0.4; }

/* ════════════════════════
   EDITORIAL SECTION HEADER
   (reused across sections — a persistent numbered
   "runner" column keeps every section on one grid)
════════════════════════ */
.ed-head {
  display: grid; grid-template-columns: var(--idx-w) 1fr;
  column-gap: 28px; align-items: end;
  margin-bottom: clamp(56px, 8vw, 120px);
}
.ed-num {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(40px, 4.5vw, 64px); line-height: 0.85;
  color: rgba(28,43,43,0.14);
}
.ed-num.on-dark { color: rgba(242,237,228,0.14); }
.ed-head .ey { margin-bottom: 18px; }
.ed-title {
  font-family: var(--f-display); font-weight: 600; letter-spacing: -0.015em;
  line-height: 1.03; color: var(--ink);
}
.ed-title.on-dark { color: var(--white); }
.ed-title.xl { font-size: clamp(38px, 5.4vw, 80px); }
.ed-title.lg { font-size: clamp(30px, 4vw, 52px); }
@media (max-width: 720px) {
  .ed-head { grid-template-columns: 1fr; row-gap: 20px; align-items: start; }
  .ed-num { font-size: 34px; }
}

.gs-head, .africa-head, .contact-head { margin-bottom: clamp(40px, 6vw, 64px); }

/* ════════════════════════
   HERO
════════════════════════ */
.hero {
  background: var(--ink); min-height: 100vh;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg-leaf {
  position: absolute; top: 0; right: 0;
  width: 50vw; max-width: 600px; height: 100%;
  pointer-events: none;
}
.hero-bg-leaf svg { width: 100%; height: 100%; }

.hero-mesh { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; transition: transform 0.3s ease-out; }
.mesh-blob {
  position: absolute; border-radius: 50%; filter: blur(70px);
  opacity: 0.5; will-change: transform;
  animation: meshDrift 22s ease-in-out infinite;
}
.mesh-blob-1 {
  width: 420px; height: 420px; top: -10%; right: 5%;
  background: radial-gradient(circle, rgba(90,125,97,0.35), transparent 70%);
  animation-duration: 24s;
}
.mesh-blob-2 {
  width: 320px; height: 320px; top: 40%; right: 30%;
  background: radial-gradient(circle, rgba(63,94,70,0.3), transparent 70%);
  animation-duration: 28s; animation-delay: -6s;
}
.mesh-blob-3 {
  width: 260px; height: 260px; top: 60%; right: -5%;
  background: radial-gradient(circle, rgba(138,155,168,0.18), transparent 70%);
  animation-duration: 20s; animation-delay: -12s;
}
@keyframes meshDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 25px) scale(1.08); }
  66% { transform: translate(20px, -20px) scale(0.95); }
}
@media (max-width: 768px) { .hero-mesh { opacity: 0.6; } .mesh-blob-2 { display: none; } }

.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(138,155,168,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138,155,168,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-body {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px var(--pad) 48px; max-width: var(--wrap-max); margin: 0 auto; width: 100%;
}

.hero-eye { margin-bottom: 48px; display: grid; grid-template-columns: var(--idx-w) 1fr; column-gap: 28px; }
.hero-eye .ey { grid-column: 2; }
@media (max-width: 720px) { .hero-eye { grid-template-columns: 1fr; } .hero-eye .ey { grid-column: 1; } }

.hero-display {
  font-family: var(--f-display);
  font-size: clamp(28px, 4.4vw, 60px);
  font-weight: 600; line-height: 0.98;
  letter-spacing: -0.02em; color: var(--white);
  margin-bottom: 40px;
  padding-left: calc(var(--idx-w) + 28px);
}
.hero-display em { font-style: normal; font-weight: 300; color: rgba(242,237,228,0.5); }
.hero-display .vi { color: var(--verdant-up); }
@media (max-width: 720px) { .hero-display { padding-left: 0; } }

.hero-bl { max-width: 380px; margin-bottom: 24px; margin-left: calc(var(--idx-w) + 28px); }
.hero-bl .s { transition: width 1s 0.5s var(--ease); }
@media (max-width: 720px) { .hero-bl { margin-left: 0; } }

.hero-sub {
  font-size: 16px; font-weight: 300; color: var(--slate);
  max-width: 520px; line-height: 1.74; margin-bottom: 48px;
  margin-left: calc(var(--idx-w) + 28px);
}
@media (max-width: 720px) { .hero-sub { margin-left: 0; } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; margin-left: calc(var(--idx-w) + 28px); }
@media (max-width: 720px) { .hero-actions { margin-left: 0; } }

.scroll-hint {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  position: relative; z-index: 2;
  padding: 0 var(--pad) 48px; max-width: var(--wrap-max); margin: 0 auto; width: 100%;
}
.scroll-hint-line { display: flex; align-items: center; gap: 12px; }
.scroll-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--verdant-up); animation: scrollpulse 2s ease-in-out infinite; }
@keyframes scrollpulse { 0%,100%{opacity:0.3;transform:scale(1)} 50%{opacity:1;transform:scale(1.3)} }
.scroll-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate); opacity: 0.7; }

/* Stats strip */
.stats-strip {
  background: var(--ink-s);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 40px var(--pad);
}
.stats-inner {
  max-width: var(--wrap-max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,0.08); }
.stat:first-child { padding-left: 0; border-left: none; }
.stat-num { font-family: var(--f-display); font-size: clamp(32px, 4vw, 48px); font-weight: 600; color: var(--white); line-height: 1; }
.stat-num .vi { color: var(--verdant-up); }
.stat-lbl { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); opacity: 0.75; }
@media (max-width: 640px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }

/* ════════════════════════
   MISSION — full-bleed statement
════════════════════════ */
.mission { background: var(--verdant); padding: clamp(72px, 12vw, 140px) var(--pad); }
.mission-i {
  max-width: var(--wrap-max); margin: 0 auto;
  display: grid; grid-template-columns: var(--idx-w) 1fr; gap: 28px;
}
.mission-label { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--verdant-p); opacity: 0.85; line-height: 1.5; padding-top: 10px; }
.mission-text {
  font-family: var(--f-display); font-size: clamp(20px, 2.8vw, 34px); font-weight: 500;
  color: var(--white); line-height: 1.22; letter-spacing: -0.01em;
  max-width: 15ch;
}
@media (max-width: 720px) { .mission-i { grid-template-columns: 1fr; gap: 20px; } }

/* ════════════════════════
   PRINCIPLES — numbered manifesto rows
════════════════════════ */
.principles { background: var(--white); padding: clamp(72px, 10vw, 128px) var(--pad); }
.principles-inner { max-width: var(--wrap-max); margin: 0 auto; }

.principles-grid { display: flex; flex-direction: column; }

.pc {
  display: grid; grid-template-columns: var(--idx-w) 1fr;
  column-gap: 28px; padding: 36px 0;
  border-top: 1px solid rgba(28,43,43,0.1);
  background: none; cursor: pointer;
  text-align: left; font: inherit; color: inherit; width: 100%; appearance: none;
  transition: background 0.3s var(--ease);
}
.principles-grid .pc:last-child { border-bottom: 1px solid rgba(28,43,43,0.1); }
.pc:hover { background: var(--parch); }
.pc:focus-visible { outline: 2px solid var(--verdant); outline-offset: -2px; }
.pc.active { background: var(--ink); border-color: var(--ink); }
.pc.active + .pc { border-top-color: var(--ink); }

.pc-accent { display: none; }
.pc-num {
  font-family: var(--f-display); font-size: clamp(30px, 3vw, 40px); font-weight: 300;
  color: rgba(28,43,43,0.22); line-height: 1;
  transition: color 0.3s;
}
.pc.active .pc-num { color: rgba(242,237,228,0.25); }
.pc-body-col { }
.pc-row-top { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pc-title {
  font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 32px); font-weight: 600;
  color: var(--ink); transition: color 0.3s;
}
.pc.active .pc-title { color: var(--white); }
.pc-body {
  font-size: 14px; color: var(--slate-lt); line-height: 1.68;
  max-height: 0; overflow: hidden; max-width: 60ch;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), margin 0.3s;
  opacity: 0; margin-top: 0;
}
.pc.active .pc-body { max-height: 140px; opacity: 1; margin-top: 16px; color: var(--slate); }
.pc-hint {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--verdant); flex-shrink: 0;
  opacity: 1; transition: opacity 0.3s;
}
.pc.active .pc-hint { opacity: 0; }
@media (max-width: 720px) {
  .pc { grid-template-columns: 1fr; row-gap: 12px; padding: 28px 0; }
}

/* ════════════════════════
   CAPABILITIES — numbered spec rows
════════════════════════ */
.capabilities { background: var(--parch); padding: clamp(72px, 10vw, 128px) var(--pad); }
.cap-inner { max-width: var(--wrap-max); margin: 0 auto; }

.cap-grid { display: flex; flex-direction: column; }

.cap-card {
  display: grid; grid-template-columns: var(--idx-w) 1.6fr 2.4fr;
  column-gap: 28px; align-items: start; padding: 32px 0;
  border-top: 1px solid rgba(28,43,43,0.1);
  position: relative; cursor: default;
  transition: background 0.3s var(--ease);
}
.cap-grid .cap-card:last-child { border-bottom: 1px solid rgba(28,43,43,0.1); }
.cap-card:hover { background: rgba(255,255,255,0.5); }

.cap-line { display: none; }

.cap-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--verdant-p); color: var(--verdant);
  transition: transform 0.4s var(--ease);
}
.cap-icon svg { width: 20px; height: 20px; }
.cap-card:hover .cap-icon { transform: scale(1.08) rotate(-3deg); }

.cap-name-col { display: flex; flex-direction: column; gap: 10px; align-self: center; }
.cap-eye { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--verdant); }
.cap-name { font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); font-weight: 600; color: var(--ink); }

.cap-copy { align-self: center; }
.cap-body { font-size: 14px; color: var(--slate-lt); line-height: 1.65; }
.cap-more {
  font-size: 13px; color: var(--slate-lt); line-height: 1.65;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.35s var(--ease), margin 0.3s;
}
.cap-card:hover .cap-more { max-height: 100px; opacity: 1; margin-top: 10px; }

@media (max-width: 860px) {
  .cap-card { grid-template-columns: 48px 1fr; row-gap: 14px; }
  .cap-copy { grid-column: 2; }
}
@media (max-width: 560px) {
  .cap-card { grid-template-columns: 1fr; }
  .cap-copy { grid-column: 1; }
}

/* ════════════════════════
   GAVEL SHOWCASE
════════════════════════ */
.gavel-showcase { background: var(--ink); padding: clamp(72px, 10vw, 128px) var(--pad); }
.gs-inner { max-width: var(--wrap-max); margin: 0 auto; }

.gs-layout {
  display: grid; grid-template-columns: var(--idx-w) 1fr 1.15fr; column-gap: 28px; align-items: start;
}
@media (max-width: 900px) { .gs-layout { grid-template-columns: 1fr; row-gap: 40px; } }

.gs-num { font-family: var(--f-display); font-weight: 300; font-size: clamp(40px,4.5vw,64px); line-height: 0.85; color: rgba(242,237,228,0.14); }
@media (max-width: 900px) { .gs-num { font-size: 34px; } }

.gs-subtitle { font-family: var(--f-display); font-size: clamp(28px,3.8vw,44px); font-weight: 600; color: var(--white); line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 20px; }
.gs-body { font-size: 14px; color: var(--slate); line-height: 1.72; margin-bottom: 32px; opacity: 0.95; max-width: 46ch; }
.gs-phases { display: flex; flex-direction: column; }
.gs-phase {
  display: flex; align-items: center; gap: 14px; padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s;
}
.gs-phases .gs-phase:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.gs-phase.current { background: rgba(90,125,97,0.1); }
.gs-phase-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(138,155,168,0.3); flex-shrink: 0; }
.gs-phase.current .gs-phase-dot { background: var(--verdant-up); }
.gs-phase-name { font-family: var(--f-sans); font-size: 13px; color: var(--slate); opacity: 0.85; }
.gs-phase.current .gs-phase-name { color: var(--white); opacity: 1; }
.gs-phase-tag { margin-left: auto; font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--verdant-up); opacity: 0.7; }
.gs-cta { margin-top: 36px; }

.gs-mockup {
  background: var(--ink-s); border-radius: 0;
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden; position: relative;
}
.gm-topbar {
  background: var(--ink-m); padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.gm-dots { display: flex; gap: 6px; }
.gm-dot { width: 8px; height: 8px; border-radius: 50%; }
.gm-dot:nth-child(1) { background: rgba(255,90,90,0.4); }
.gm-dot:nth-child(2) { background: rgba(255,180,60,0.4); }
.gm-dot:nth-child(3) { background: rgba(90,125,97,0.5); }
.gm-title { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--slate); opacity: 0.7; margin-left: 8px; }

.gm-body { padding: 22px; display: flex; flex-direction: column; gap: 16px; }

.gm-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.gm-stat { background: var(--ink-m); padding: 16px 14px; border: 1px solid rgba(255,255,255,0.04); }
.gm-stat-num { font-family: var(--f-display); font-size: 24px; font-weight: 600; color: var(--white); line-height: 1; transition: all 0.1s; }
.gm-stat-num .vi { color: var(--verdant-up); }
.gm-stat-lbl { font-family: var(--f-mono); font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); opacity: 0.65; margin-top: 6px; }

.gm-docs { display: flex; flex-direction: column; gap: 8px; }
.gm-doc {
  background: var(--ink-m); padding: 13px 15px;
  display: flex; align-items: center; gap: 12px;
  border: 1px solid rgba(255,255,255,0.04);
  opacity: 0; transform: translateX(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gm-doc.show { opacity: 1; transform: translateX(0); }
.gm-doc-icon { font-size: 14px; }
.gm-doc-info { flex: 1; }
.gm-doc-name { font-size: 12px; color: var(--white); opacity: 0.8; }
.gm-doc-meta { font-family: var(--f-mono); font-size: 9px; color: var(--slate); opacity: 0.65; margin-top: 2px; letter-spacing: 0.08em; }
.gm-doc-status { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 9px; }
.gm-doc-status.verified { background: rgba(63,94,70,0.25); color: var(--verdant-up); }
.gm-doc-status.pending  { background: rgba(138,155,168,0.1); color: var(--slate); opacity: 0.6; }

.gm-progress { background: var(--ink-m); padding: 16px; border: 1px solid rgba(255,255,255,0.04); }
.gm-prog-label { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); opacity: 0.7; margin-bottom: 12px; }
.gm-prog-track { height: 3px; background: rgba(255,255,255,0.06); position: relative; }
.gm-prog-fill { height: 3px; background: var(--verdant-up); width: 0%; transition: width 1.2s 0.3s var(--ease); position: relative; }
.gm-prog-fill::after { content:''; position: absolute; right: -4px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--verdant-up); }
.gm-prog-fill.go { width: 73%; }

/* ════════════════════════
   AFRICA MAP
════════════════════════ */
.africa { background: var(--parch-d); padding: clamp(72px, 10vw, 128px) var(--pad); }
.africa-inner { max-width: var(--wrap-max); margin: 0 auto; }

.africa-layout {
  display: grid; grid-template-columns: var(--idx-w) 1fr 1fr; column-gap: 40px; align-items: center;
}
@media (max-width: 900px) { .africa-layout { grid-template-columns: 1fr; row-gap: 40px; } }

.africa-num { font-family: var(--f-display); font-weight: 300; font-size: clamp(40px,4.5vw,64px); line-height: 0.85; color: rgba(28,43,43,0.14); }
@media (max-width: 900px) { .africa-num { font-size: 34px; } }

.africa-text .at-title {
  font-family: var(--f-display); font-size: clamp(28px,3.5vw,44px);
  font-weight: 600; letter-spacing: -0.01em; color: var(--ink); line-height: 1.12; margin-bottom: 22px;
}
.africa-text .at-body { font-size: 14px; color: var(--slate-lt); line-height: 1.72; margin-bottom: 28px; max-width: 42ch; }
.africa-hubs { display: flex; flex-direction: column; }
.hub-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(28,43,43,0.1); }
.africa-hubs .hub-item:last-child { border-bottom: 1px solid rgba(28,43,43,0.1); }
.hub-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--verdant); flex-shrink: 0; }
.hub-name { font-size: 13px; color: var(--slate-lt); }
.hub-item.inactive .hub-name { color: var(--slate); }
.hub-tag { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--verdant); opacity: 0.7; margin-left: auto; }

.africa-map-wrap { position: relative; aspect-ratio: 1/1.1; max-width: 420px; }
.africa-map-wrap svg { width: 100%; height: 100%; }

.map-connection {
  stroke: var(--verdant); stroke-width: 1; fill: none; opacity: 0;
  stroke-dasharray: 200; stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.2s var(--ease), opacity 0.3s;
}
.map-connection.draw { stroke-dashoffset: 0; opacity: 0.5; }
.map-pulse { fill: var(--verdant); opacity: 0; transition: opacity 0.4s; }
.map-pulse.show { opacity: 1; }
.map-pulse-ring { fill: none; stroke: var(--verdant); stroke-width: 1; opacity: 0; animation: none; }
.map-pulse-ring.pulse { opacity: 0.4; animation: ripple 2s ease-out infinite; }
@keyframes ripple { 0%{r:4;opacity:0.4} 100%{r:14;opacity:0} }

/* ════════════════════════
   INSIGHTS — editorial index
════════════════════════ */
.insights { background: var(--white); padding: clamp(72px, 10vw, 128px) var(--pad); }
.insights-inner { max-width: var(--wrap-max); margin: 0 auto; }

.insights-grid { display: grid; grid-template-columns: 1.5fr 1fr; column-gap: 48px; }
@media (max-width: 900px) { .insights-grid { grid-template-columns: 1fr; row-gap: 48px; } }

.ins-card {
  background: none; border: none; border-top: 1px solid rgba(28,43,43,0.12);
  padding: 32px 0 0;
  cursor: pointer; position: relative;
  text-align: left; font: inherit; color: inherit; width: 100%; appearance: none;
}
.ins-card.featured { }
.ins-underline { width: 0; height: 1px; background: var(--verdant); transition: width 0.4s var(--ease); margin-top: 8px; }
.ins-card:hover .ins-underline { width: 60px; }
.ins-cat { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--verdant); margin-bottom: 16px; }
.ins-title { font-family: var(--f-display); font-size: clamp(22px,2.8vw,34px); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); line-height: 1.16; margin-bottom: 20px; max-width: 22ch; }
.ins-body { font-size: 14px; color: var(--slate-lt); line-height: 1.7; max-width: 52ch; }
.ins-read { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); opacity: 0; margin-top: 20px; transition: opacity 0.3s; }
.ins-card:hover .ins-read { opacity: 0.6; }

.ins-side { display: flex; flex-direction: column; }
.ins-small {
  background: none; border: none; border-top: 1px solid rgba(28,43,43,0.12);
  padding: 24px 0; cursor: pointer;
  text-align: left; font: inherit; color: inherit; width: 100%; appearance: none;
  transition: padding-left 0.25s var(--ease);
}
.ins-side .ins-small:last-child { border-bottom: 1px solid rgba(28,43,43,0.12); }
.ins-small:hover { padding-left: 12px; }
.ins-small-cat { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--verdant); margin-bottom: 10px; }
.ins-small-title { font-family: var(--f-display); font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.ins-read-time { font-family: var(--f-mono); font-size: 9px; color: var(--slate); opacity: 0; margin-top: 10px; transition: opacity 0.3s; }
.ins-small:hover .ins-read-time { opacity: 0.5; }

/* ════════════════════════
   CONTACT — "What are you building?"
════════════════════════ */
.contact-section { background: var(--ink); padding: clamp(72px, 10vw, 128px) var(--pad); }
.contact-inner { max-width: var(--wrap-max); margin: 0 auto; }
.contact-q {
  font-family: var(--f-display); font-size: clamp(38px,6.5vw,84px);
  font-weight: 600; letter-spacing: -0.02em; color: var(--white); line-height: 1.02; margin-bottom: 20px;
  padding-left: calc(var(--idx-w) + 28px);
}
@media (max-width: 720px) { .contact-q { padding-left: 0; } }
.section-intro.on-dark { color: var(--slate); padding-left: calc(var(--idx-w) + 28px); margin-bottom: 56px; }
@media (max-width: 720px) { .section-intro.on-dark { padding-left: 0; } }

.contact-paths { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,0.08); margin-bottom: 56px; }
@media (max-width: 720px) { .contact-paths { grid-template-columns: 1fr; } }

.cp {
  background: var(--ink); padding: 36px 28px;
  border: none; cursor: pointer;
  transition: background 0.25s var(--ease);
  text-align: left; font: inherit; color: inherit; width: 100%; appearance: none;
}
.cp:focus-visible { outline: 2px solid var(--verdant-up); outline-offset: -2px; }
.cp.selected { background: rgba(63,94,70,0.18); }
.cp-icon {
  margin-bottom: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(90,125,97,0.15); color: var(--verdant-up);
}
.cp-icon svg { width: 20px; height: 20px; }
.cp-title { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.cp-desc { font-size: 13px; color: var(--slate); opacity: 0.9; line-height: 1.6; }
.cp-select { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--verdant-up); opacity: 0; margin-top: 16px; transition: opacity 0.25s; }
.cp.selected .cp-select { opacity: 1; }

.contact-form-wrap {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.6s var(--ease), opacity 0.4s var(--ease);
  padding-left: calc(var(--idx-w) + 28px);
}
@media (max-width: 720px) { .contact-form-wrap { padding-left: 0; } }
.contact-form-wrap.open { max-height: 640px; opacity: 1; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .contact-form { grid-template-columns: 1fr; } }
.cf-full { grid-column: 1 / -1; }
.fg { display: flex; flex-direction: column; gap: 8px; }
.fg label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); opacity: 0.85; }
.fg input, .fg textarea, .fg select {
  font-family: var(--f-sans); font-size: 14px; color: var(--parch);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 0; padding: 14px 16px; outline: none; width: 100%;
  transition: border-color 0.2s; resize: none;
}
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--verdant-up); }
.fg input::placeholder, .fg textarea::placeholder { color: var(--slate); opacity: 0.6; }
.fg select option { background: var(--ink); }
.cf-context { font-size: 13px; color: var(--slate); opacity: 0.9; padding: 12px 0; }
.cf-status { font-size: 13px; color: var(--verdant-up); padding: 4px 0 0; min-height: 18px; }
.cf-full.cf-start { align-items: flex-start; }

/* ════════════════════════
   FOOTER
════════════════════════ */
footer { background: var(--ink-s); padding: 64px var(--pad) 40px; }
.footer-i { max-width: var(--wrap-max); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

.f-brand { display: flex; flex-direction: column; gap: 16px; }
.f-wm { font-family: var(--f-display); font-size: 28px; font-weight: 600; letter-spacing: -0.01em; color: var(--white); }
.f-wm .vi { color: var(--verdant-up); transition: filter 0.5s; }
.f-wm .vi.glow { filter: drop-shadow(0 0 8px rgba(90,125,97,0.8)); }
.f-tagline { font-size: 13px; color: var(--slate); opacity: 0.8; line-height: 1.6; max-width: 240px; }
.f-col-h { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--verdant-up); opacity: 0.85; margin-bottom: 18px; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.f-col ul li a { font-size: 13px; color: var(--slate); opacity: 0.8; text-decoration: none; transition: opacity 0.2s; cursor: pointer; }
.f-col ul li a:hover, .f-col ul li a:focus-visible { opacity: 1; }
.f-col ul li span { font-size: 13px; color: var(--slate); opacity: 0.8; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; flex-wrap: wrap; gap: 16px; }
.f-copy { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); opacity: 0.55; }
.f-principle { font-family: var(--f-display); font-style: normal; font-weight: 400; font-size: 13px; color: var(--slate); opacity: 0.55; max-width: 360px; text-align: right; }

.footer-bridge-complete {
  display: flex; align-items: center; gap: 0; margin-bottom: 40px;
  opacity: 0; transition: opacity 0.8s var(--ease);
}
.footer-bridge-complete.done { opacity: 1; }
.fbc-left { height: 1px; background: rgba(138,155,168,0.15); flex: 1; }
.fbc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--verdant-up); flex-shrink: 0; margin: 0 8px; }
.fbc-right { height: 1px; background: rgba(138,155,168,0.07); flex: 3; }

/* ════════════════════════
   BUTTONS — sharp, mono-labeled
════════════════════════ */
.btn {
  font-family: var(--f-mono); font-size: 12px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 0; border: none;
  cursor: pointer; display: inline-block;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(28,43,43,0.15); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

.btn:focus-visible,
.nav-toggle:focus-visible,
.back-to-top:focus-visible,
.nav-logo:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid var(--verdant-up); outline-offset: 2px;
}
.btn-ink  { background: var(--ink); color: var(--parch); }
.btn-v    { background: var(--verdant); color: var(--white); }
.btn-v:hover { background: var(--verdant-up); }
.btn-o    { background: transparent; color: var(--parch); border: 1px solid rgba(242,237,228,0.25); }
.btn-o:hover { border-color: var(--verdant-up); color: var(--verdant-up); box-shadow: none; }

/* ════════════════════════
   FAQ — flush hairline list
════════════════════════ */
.faq { background: var(--parch-d); padding: clamp(72px, 10vw, 128px) var(--pad); }
.faq-inner { max-width: 960px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  background: none; border: none; border-top: 1px solid rgba(28,43,43,0.14);
}
.faq-list .faq-item:last-child { border-bottom: 1px solid rgba(28,43,43,0.14); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: none; cursor: pointer; text-align: left;
  padding: 26px 0; font-family: var(--f-display); font-size: clamp(18px,2vw,22px); font-weight: 600;
  color: var(--ink); appearance: none;
}
.faq-q:focus-visible { outline: 2px solid var(--verdant); outline-offset: -2px; }
.faq-icon { position: relative; flex-shrink: 0; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  background: var(--verdant); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-icon::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }
.faq-a {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), padding 0.3s var(--ease);
}
.faq-item.open .faq-a { max-height: 200px; opacity: 1; padding: 0 0 26px; }
.faq-a p { font-size: 14px; color: var(--slate-lt); line-height: 1.7; max-width: 640px; }

/* ════════════════════════
   BACK TO TOP
════════════════════════ */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 400;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--parch); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background 0.2s;
  box-shadow: 0 8px 24px rgba(28,43,43,0.2);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--verdant); }
.back-to-top svg { width: 18px; height: 18px; }
@media (max-width: 600px) { .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; } }

/* ── GRAIN TEXTURE ── */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.025; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
