/* ===========================================
   EBSA — Evidence-Based Solutions Africa
   style.css (improved) · June 2026
   Google Fonts: Inter + DM Serif Display
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=Public+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ── TOKENS ──────────────────────────────── */
:root {
  /* Palette */
  --ink:        #0E1B35;   /* near-black navy */
  --ink-muted:  #3a4a63;
  --ink-soft:   #6b7a94;
  --field:      #1C5C21;   /* deep forest green */
  --field-pale: #eaf4eb;
  --signal:     #F5A623;   /* amber */
  --signal-dim: #c47d0a;
  --signal-pale:#fef6e4;
  --chalk:      #F7F8FA;
  --bone:       #EEF0F4;
  --mist:       #D4D9E2;
  --smoke:      #9aa3b4;
  --white:      #ffffff;

  /* Type */
  --display:    'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif;
  --body:       'Public Sans', system-ui, -apple-system, sans-serif;
  --mono:       'IBM Plex Mono', 'SFMono-Regular', 'Consolas', monospace;

  /* Scale */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;

  /* Nav height */
  --nav-h: 68px;
}

/* ── RESET ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ── ACCESSIBILITY ───────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--signal);
  color: var(--ink);
  font-weight: 700;
  padding: .5rem 1rem;
  border-radius: var(--r-sm);
  z-index: 9999;
  transition: top .15s;
}
.skip-link:focus { top: .75rem; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* ── LAYOUT ──────────────────────────────── */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}

/* ── TYPOGRAPHY ──────────────────────────── */
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; color: var(--ink); letter-spacing: -0.022em; }
h1 { font-size: clamp(2.4rem, 5.8vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.7rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--body); }
h5 { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-family: var(--body); }
p  { font-size: 1rem; color: var(--ink-muted); }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.2rem); color: var(--ink-muted); line-height: 1.75; }

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: .925rem;
  border: 2px solid transparent;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn--signal  { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: var(--signal-dim); }
.btn--donate  { background: #009DA0; color: #fff; gap: .4rem; }
.btn--donate:hover { background: #007e81; }
.btn--field   { background: var(--field); color: #fff; }
.btn--field:hover { background: #164d1a; }
.btn--ghost-ink { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost-ink:hover { background: var(--ink); color: #fff; }
.btn--ghost-w { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost-w:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--sm { padding: .5rem 1.1rem; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ── LABEL / EYEBROW ─────────────────────── */
.label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--field);
  font-family: var(--body);
  margin-bottom: .6rem;
}
.label--light  { color: rgba(255,255,255,.65); }
.label--center { display: flex; justify-content: center; }

/* ── NAVIGATION ──────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(14, 27, 53, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  height: var(--nav-h);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo-img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}
.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: color .15s;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: #fff; border-bottom-color: var(--signal); }
.nav-links a.btn { border-bottom: none; }

.nav-cta { display: flex; align-items: center; gap: .5rem; margin-left: 1rem; flex-shrink: 0; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* Mobile nav */
.mob-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--ink);
  z-index: 490;
  padding: 1.25rem 0 2rem;
  border-bottom: 2px solid var(--signal);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.mob-nav a {
  display: block;
  padding: .85rem 1.5rem;
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .15s, background .15s;
}
.mob-nav a:hover, .mob-nav a.active { color: #fff; background: rgba(255,255,255,.05); }
.mob-nav .mob-cta {
  margin: 1.25rem 1.5rem 0;
  background: var(--signal);
  color: var(--ink);
  border-radius: var(--r-md);
  text-align: center;
  font-weight: 700;
  justify-content: center;
  border-bottom: none;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: flex; margin-left: auto; margin-right: .6rem; }
  .nav-cta .btn--donate { padding: .5rem .8rem; font-size: .82rem; }
  .burger { display: flex; }
  .mob-nav.open { display: flex; }
}

/* ── HERO ────────────────────────────────── */
.hero {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 8vw, 6rem);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(28,92,33,.35) 0%, transparent 70%);
  top: -100px; right: -80px;
}
.hero-orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,166,35,.12) 0%, transparent 70%);
  bottom: -80px; left: 10%;
}
.hero-inner { position: relative; z-index: 1; max-width: 740px; }
.hero-eyebrow {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--signal);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 { color: #fff; margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--signal); }
.hero h1 .hl-signal { color: var(--signal); }
.hero h1 .hl-field { color: #6fcf74; }
.hero .lead { color: rgba(255,255,255,.75); margin-bottom: 2.25rem; max-width: 55ch; }

.hero-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 3.5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  overflow: hidden;
}
.hero-bar-cell {
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,.04);
}
.hero-bar-num {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--signal);
  line-height: 1;
  margin-bottom: .3rem;
}
.hero-bar-num em { font-style: normal; font-size: 1.3rem; }
.hero-bar-label { font-size: .78rem; color: rgba(255,255,255,.55); line-height: 1.4; }

@media (max-width: 600px) {
  .hero-bar { grid-template-columns: repeat(2, 1fr); }
}

/* ── MARQUEE ─────────────────────────────── */
.marquee {
  background: var(--signal);
  overflow: hidden;
  padding: .65rem 0;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  flex-shrink: 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ── SECTIONS ────────────────────────────── */
.sec { padding: clamp(4rem, 9vw, 7rem) 0; }
.sec--chalk { background: var(--chalk); }
.sec--bone  { background: var(--bone); }
.sec--ink   { background: var(--ink); color: #fff; }
.sec--ink h2, .sec--ink h3 { color: #fff; }
.sec--ink p  { color: rgba(255,255,255,.7); }
.sec--ink .lead { color: rgba(255,255,255,.8); }

.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head--center { text-align: center; }
.sec-head--center .lead { max-width: 55ch; margin: .75rem auto 0; }

/* ── PAGE HERO (inner pages) ─────────────── */
.page-hero {
  background: var(--ink);
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}
.page-hero-inner { max-width: 680px; }
.crumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.25rem;
}
.crumb a { color: rgba(255,255,255,.55); transition: color .15s; }
.crumb a:hover { color: rgba(255,255,255,.85); }
.crumb span { color: rgba(255,255,255,.25); }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero .lead { color: rgba(255,255,255,.72); }

/* ── WHO GRID ────────────────────────────── */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 768px) {
  .who-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.who-panel {
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: var(--r-xl);
  padding: 2rem;
}
.who-panel h3 { font-size: 1.1rem; margin-bottom: 1.25rem; font-family: var(--body); font-weight: 700; }

/* ── COMMITMENTS ─────────────────────────── */
.commitments { display: flex; flex-direction: column; gap: .85rem; }
.commitment { display: flex; gap: .85rem; align-items: flex-start; }
.commit-check {
  width: 20px; height: 20px; flex-shrink: 0;
  background: var(--field);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: .15rem;
}
.commit-check svg {
  width: 10px; height: 10px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.commitment p { margin: 0; font-size: .93rem; }

/* ── SERVICES ────────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--bone);
  border-radius: var(--r-xl);
  padding: 2rem;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.svc-card:hover {
  box-shadow: 0 8px 32px rgba(14,27,53,.1);
  border-color: var(--mist);
  transform: translateY(-2px);
}
.svc-num {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--signal);
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.svc-card h3 { font-size: 1.15rem; margin-bottom: .6rem; font-family: var(--body); font-weight: 700; }
.svc-card p  { font-size: .9rem; margin-bottom: 1rem; }

/* Services page - svc-row */
.svc-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--mist);
}
.svc-row:last-child { border-bottom: none; }
.svc-idx {
  font-family: var(--mono);
  font-size: .65rem;
  color: var(--signal);
  letter-spacing: .12em;
  padding-top: .3rem;
}
.svc-row h3 { font-size: 1.35rem; font-family: var(--body); font-weight: 700; margin-bottom: .65rem; }

@media (max-width: 600px) {
  .svc-row { grid-template-columns: 1fr; gap: .75rem; }
}

/* ── TAGS ────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .85rem; }
.tag {
  display: inline-block;
  padding: .25rem .65rem;
  background: var(--chalk);
  border: 1px solid var(--bone);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ── STEPS ───────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 1.25rem; }
.step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-marker {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--signal);
  color: var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.step-content h4 { font-size: .95rem; font-weight: 700; margin-bottom: .2rem; }
.step-content p  { font-size: .88rem; margin: 0; }

/* ── VALUES STRIP ────────────────────────── */
.values-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.value { padding: 1.5rem; background: #fff; border-radius: var(--r-xl); border: 1px solid var(--bone); }
.value-num {
  font-family: var(--mono);
  font-size: .65rem;
  color: var(--signal-dim);
  letter-spacing: .1em;
  margin-bottom: .75rem;
}
.value h4 { font-size: .95rem; margin-bottom: .4rem; }
.value p  { font-size: .85rem; }

/* ── CHIPS ───────────────────────────────── */
.chip-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
}
.chip-dot { width: 7px; height: 7px; background: var(--signal); border-radius: 50%; flex-shrink: 0; }

/* Light chip variant (for chalk bg) */
.sec--chalk .chip {
  background: #fff;
  border-color: var(--bone);
  color: var(--ink-muted);
}
.sec--chalk .chip-dot { background: var(--field); }

/* ── CTA BAND ────────────────────────────── */
.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
  background: var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3rem) clamp(1.75rem, 4vw, 3rem);
}
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-band p  { color: rgba(255,255,255,.7); margin-top: .5rem; font-size: .95rem; }
@media (max-width: 680px) {
  .cta-band { grid-template-columns: 1fr; }
}

/* ── PILLAR GRID ─────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.pillar { text-align: center; padding: 2rem 1.5rem; }
.pillar-icon {
  width: 56px; height: 56px;
  background: var(--signal-pale);
  border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.pillar-icon svg { width: 24px; height: 24px; stroke: var(--signal-dim); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 1.05rem; font-family: var(--body); font-weight: 700; margin-bottom: .5rem; }
.pillar p  { font-size: .9rem; }

/* ── TEAM ────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.member {
  background: #fff;
  border: 1px solid var(--bone);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  text-align: center;
}
.member-ava {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--mono);
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .05em;
}
.ava-a { background: linear-gradient(135deg, #1A3A6B, #375DA7); }
.ava-b { background: linear-gradient(135deg, #1C5C21, #2E7D32); }
.ava-c { background: linear-gradient(135deg, #C27F00, #F5A623); }
.ava-d { background: linear-gradient(135deg, #7C3D9E, #c06c84); }
.member h4 { font-size: 1rem; margin-bottom: .2rem; }
.member-role { font-size: .78rem; color: var(--smoke); letter-spacing: .04em; display: block; margin-bottom: .75rem; }
.member p { font-size: .85rem; }

/* ── MISSION / VISION ────────────────────── */
.mv-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 640px) { .mv-pair { grid-template-columns: 1fr; } }
.mv-card {
  padding: 2.5rem;
  border-radius: var(--r-xl);
  position: relative;
}
.mv-card--v { background: var(--field-pale); border: 1.5px solid var(--field); }
.mv-card--m { background: var(--signal-pale); border: 1.5px solid var(--signal); }
.mv-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--field);
  margin-bottom: 1rem;
}
.mv-card--m .mv-tag { color: var(--signal-dim); }
.mv-card p { font-size: 1.05rem; color: var(--ink); line-height: 1.7; }

/* ── FOCUS AREAS ─────────────────────────── */
.area-block {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--mist);
}
.area-block:last-child { border-bottom: none; }
.area-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.area-icon-wrap svg { width: 26px; height: 26px; }
.area-block h3 { font-size: 1.3rem; font-family: var(--body); font-weight: 700; margin-bottom: .6rem; }
.area-points { margin-top: .75rem; display: flex; flex-direction: column; gap: .3rem; }
.area-points li { font-size: .9rem; color: var(--ink-muted); padding-left: 1.1rem; position: relative; }
.area-points li::before { content: '—'; position: absolute; left: 0; color: var(--signal); }
@media (max-width: 600px) { .area-block { grid-template-columns: 1fr; gap: 1rem; } }

/* ── CONTACT ─────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }

.c-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.c-ico {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--field-pale);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.c-ico svg { width: 18px; height: 18px; stroke: var(--field); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.c-info-item h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: .2rem; }
.c-info-item p, .c-info-item a { font-size: .95rem; color: var(--ink-muted); }
.c-info-item a:hover { color: var(--field); }

/* ── FORM ────────────────────────────────── */
.form-wrap {
  background: #fff;
  border: 1px solid var(--bone);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 4px 24px rgba(14,27,53,.06);
}
.form-wrap h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.form-wrap > p { margin-bottom: 1.5rem; font-size: .9rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } }
.f-grp { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.f-ctl {
  padding: .7rem .9rem;
  border: 1.5px solid var(--mist);
  border-radius: var(--r-md);
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.f-ctl:focus { border-color: var(--field); box-shadow: 0 0 0 3px rgba(28,92,33,.12); outline: none; }
textarea.f-ctl { resize: vertical; min-height: 130px; }
.f-ok {
  display: none;
  margin-top: 1rem;
  padding: .85rem 1rem;
  background: var(--field-pale);
  border: 1px solid var(--field);
  border-radius: var(--r-md);
  color: var(--field);
  font-weight: 600;
  font-size: .9rem;
}
.f-ok.visible { display: block; }

/* ── BLOG ────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--bone);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: 0 8px 32px rgba(14,27,53,.1); transform: translateY(-2px); }
.blog-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--field);
  margin-bottom: .5rem;
}
.blog-card h3 { font-size: 1.05rem; font-family: var(--body); font-weight: 700; line-height: 1.35; margin-bottom: .5rem; }
.blog-card p  { font-size: .87rem; flex: 1; margin-bottom: 1rem; }
.blog-card-meta { display: flex; justify-content: space-between; font-size: .75rem; color: var(--smoke); margin-top: auto; }
.blog-card-link { font-size: .82rem; font-weight: 600; color: var(--field); display: inline-flex; align-items: center; gap: .3rem; margin-top: .75rem; }
.blog-card-link:hover { color: var(--signal-dim); }

/* ── LEARN WITH EBSA TABS ────────────────── */
.lweb-hero {
  background: var(--ink);
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
}
.lweb-hero h1 { color: #fff; margin-bottom: 1rem; }
.lweb-hero .lead { color: rgba(255,255,255,.72); max-width: 60ch; }

.lweb-tabs {
  display: flex;
  gap: .5rem;
  border-bottom: 2px solid var(--bone);
  margin-bottom: 2.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0;
}
.lweb-tab {
  padding: .7rem 1.3rem;
  background: none;
  border: none;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
  cursor: pointer;
}
.lweb-tab.active, .lweb-tab:hover { color: var(--ink); border-bottom-color: var(--field); }
.lweb-panel { display: none; }
.lweb-panel.active { display: block; }

.coming-soon-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--chalk);
  border-radius: var(--r-xl);
  border: 1.5px dashed var(--mist);
}
.cs-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.coming-soon-card h3 { margin-bottom: .75rem; font-size: 1.25rem; font-family: var(--body); font-weight: 700; }

/* ── PRIVACY ─────────────────────────────── */
.policy-hero { background: var(--ink); color: #fff; padding: 5rem 0 3rem; }
.policy-hero h1 { color: #fff; }
.policy-body { padding: 3rem 0 5rem; }
.policy-body h2 { font-size: 1.4rem; margin: 2.5rem 0 .75rem; color: var(--ink); }
.policy-body h3 { font-size: 1.05rem; margin: 1.75rem 0 .5rem; color: var(--ink); font-family: var(--body); font-weight: 700; }
.policy-body p { margin-bottom: 1rem; color: var(--ink-muted); }
.policy-body ul { padding-left: 1.5rem; color: var(--ink-muted); margin-bottom: 1rem; list-style: disc; }
.policy-body ul li { margin-bottom: .4rem; line-height: 1.7; }
.policy-body a { color: var(--field); }
.policy-nav { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.policy-nav a { font-size: .82rem; font-weight: 600; color: var(--signal); background: rgba(245,166,35,.1); padding: .3rem .75rem; border-radius: 20px; text-decoration: none; }
.last-updated { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: .5rem; }
.cookie-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0 1.75rem; font-size: .875rem; }
.cookie-table th { background: var(--ink); color: #fff; padding: .6rem 1rem; text-align: left; font-weight: 600; }
.cookie-table td { padding: .55rem 1rem; border-bottom: 1px solid var(--mist); color: var(--ink-muted); }
.cookie-table tr:last-child td { border-bottom: none; }

/* ── FOOTER ──────────────────────────────── */
.footer { background: var(--ink); padding: clamp(3rem, 7vw, 5rem) 0 0; }
.footer-rainbow {
  height: 4px;
  background: linear-gradient(90deg, #2E7D32 0%, #1C5C21 25%, #375DA7 50%, #F5A623 75%, #E53935 100%);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (max-width: 860px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-main { grid-template-columns: 1fr; } }

.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.5); margin-top: .85rem; line-height: 1.7; max-width: 36ch; }
.brand-logo-img { height: 36px; width: auto; }

.footer-links { display: flex; flex-direction: column; gap: .45rem; margin-top: .75rem; }
.footer-links a { font-size: .85rem; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-links a:hover { color: rgba(255,255,255,.9); }

.footer-contact p { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.8; margin-top: .75rem; }
.footer-contact a { color: rgba(255,255,255,.55); transition: color .15s; }
.footer-contact a:hover { color: rgba(255,255,255,.9); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-mono { font-family: var(--mono); letter-spacing: .1em; }
.footer-tagline { font-family: var(--mono); letter-spacing: .1em; }
.footer-legal { display: flex; gap: 1rem; margin-top: .75rem; }
.footer-legal a { font-size: .75rem; color: rgba(255,255,255,.35); transition: color .15s; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ── WHATSAPP FLOAT ──────────────────────── */
.wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  z-index: 400;
  transition: transform .2s, box-shadow .2s;
}
.wa:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(0,0,0,.3); }
.wa svg { width: 26px; height: 26px; fill: #fff; }

/* ── COOKIE BANNER ───────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 480px;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  flex-wrap: wrap;
}
.cookie-banner.hidden { display: none; }
.cookie-banner p { font-size: .85rem; color: rgba(255,255,255,.75); margin: 0; flex: 1; min-width: 180px; }
.cookie-banner a { color: var(--signal); }
.cookie-actions { display: flex; gap: .5rem; flex-shrink: 0; }
.cookie-btn {
  padding: .45rem 1rem;
  border-radius: var(--r-md);
  font-size: .82rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.2);
  background: none;
  color: rgba(255,255,255,.75);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cookie-btn--accept { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.cookie-btn--accept:hover { background: var(--signal-dim); }
.cookie-btn--decline:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ── ANIMATIONS ──────────────────────────── */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.rv.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ── 404 ─────────────────────────────────── */
.notfound-wrap {
  min-height: 100dvh;
  background: var(--ink);
  display: grid;
  place-items: center;
  text-align: center;
}
.notfound-wrap h1 { color: #fff; }
.notfound-wrap .lead { color: rgba(255,255,255,.6); max-width: 44ch; margin: 1rem auto 2.5rem; }

/* EBSA 2026 visual refresh */
:root {
  --ink: #09172f;
  --ink-muted: #33425e;
  --field: #176b35;
  --field-pale: #e7f5eb;
  --signal: #f4b23e;
  --signal-dim: #d89016;
  --clay: #c95d3b;
  --sky: #3867b7;
  --nav-h: 76px;
}

body {
  background:
    linear-gradient(180deg, rgba(247,248,250,.92), rgba(255,255,255,1) 34rem),
    #fff;
}

.nav {
  background: rgba(9, 23, 47, .9);
  border-bottom: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 40px rgba(9,23,47,.18);
}

.nav-inner { gap: 1.25rem; }

.brand {
  min-width: 116px;
  min-height: 48px;
  gap: .65rem;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(244,178,62,.45);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  padding: .38rem .75rem;
}

.brand-logo-img {
  height: 34px;
  max-width: 164px;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
}

.footer .brand {
  background: rgba(255,255,255,.98);
  box-shadow: none;
}

.nav-links {
  gap: clamp(.65rem, 1.4vw, 1.35rem);
}

.nav-links a {
  border: 0;
  border-radius: 999px;
  padding: .45rem .75rem;
  color: rgba(255,255,255,.78);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(255,255,255,.1);
  color: #fff;
}

.btn {
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(9,23,47,.08);
}

.btn--signal {
  background: linear-gradient(135deg, var(--signal), #ffd36e);
  color: var(--ink);
}

.burger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  align-items: center;
}

.burger span {
  width: 20px;
  transform-origin: center;
}

.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-nav {
  left: .75rem;
  right: .75rem;
  top: calc(var(--nav-h) + .7rem);
  max-height: calc(100dvh - var(--nav-h) - 1.4rem);
  overflow: auto;
  background:
    linear-gradient(135deg, rgba(23,107,53,.16), transparent 36%),
    linear-gradient(225deg, rgba(244,178,62,.14), transparent 32%),
    rgba(9,23,47,.98);
  border: 1px solid rgba(255,255,255,.16);
  border-bottom: 3px solid var(--signal);
  border-radius: 22px;
  box-shadow: 0 26px 70px rgba(0,0,0,.38);
  padding: .75rem;
}

.mob-nav.open {
  display: grid;
  animation: ebsaMenuIn .18s ease-out both;
}

.mob-nav a {
  border-bottom: 0;
  border-radius: 14px;
  padding: .95rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mob-nav a::after {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: .45;
}

.mob-nav a:hover,
.mob-nav a.active {
  background: rgba(255,255,255,.1);
}

.mob-nav .mob-cta {
  margin: .75rem 0 0;
  justify-content: center;
}

.mob-nav .mob-cta::after { display: none; }

.menu-open { overflow: hidden; }

@keyframes ebsaMenuIn {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.hero,
.page-hero,
.lweb-hero,
.policy-hero,
.notfound-wrap {
  background:
    linear-gradient(115deg, rgba(9,23,47,.98) 0%, rgba(10,34,58,.96) 42%, rgba(23,107,53,.92) 100%),
    var(--ink);
}

.hero::before,
.page-hero::before,
.lweb-hero::before,
.policy-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent 85%);
}

.page-hero,
.lweb-hero,
.policy-hero {
  position: relative;
  overflow: hidden;
}

.hero-orb { display: none; }

.hero-inner,
.page-hero-inner,
.lweb-hero .wrap,
.policy-hero .wrap {
  position: relative;
  z-index: 1;
}

.hero h1,
.page-hero h1,
.lweb-hero h1,
.policy-hero h1 {
  text-wrap: balance;
}

.hero .lead,
.page-hero .lead,
.lweb-hero .lead {
  color: rgba(255,255,255,.8);
}

.hero-bar,
.svc-card,
.who-panel,
.mv-card,
.area-block,
.form-wrap,
.blog-card,
.coming-soon-card {
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(9,23,47,.08);
}

.svc-card,
.who-panel,
.form-wrap,
.blog-card {
  border: 1px solid rgba(9,23,47,.08);
}

.svc-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(9,23,47,.13);
}

.footer {
  background:
    linear-gradient(135deg, #09172f, #10243d 55%, #0b3322);
}

.footer-rainbow {
  height: 6px;
  background: linear-gradient(90deg, var(--field), var(--sky), var(--signal), var(--clay));
}

.cookie-banner {
  max-width: 560px;
  background: rgba(9,23,47,.96);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(9,23,47,.35);
}

.cookie-banner.hidden { display: none !important; }

.cookie-btn {
  border-radius: 999px;
}

.wa {
  bottom: 1.25rem;
  right: 1.25rem;
}

@media (max-width: 900px) {
  .nav-inner { gap: .75rem; }
  .brand { min-width: 100px; max-width: calc(100vw - 6rem); }
  .brand-logo-img { max-width: 140px; }
}

@media (max-width: 600px) {
  :root { --nav-h: 70px; }
  .wrap { padding-inline: 1rem; }
  .brand { padding: .32rem .58rem; min-height: 42px; }
  .brand-logo-img { height: 29px; max-width: 128px; }
  .hero { padding-top: 3.4rem; }
  .hero-bar-cell { padding: 1rem; }
  .cookie-banner {
    left: .75rem;
    right: .75rem;
    bottom: .75rem;
    padding: 1rem;
  }
  .cookie-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .wa {
    width: 48px;
    height: 48px;
    bottom: 5.8rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   EBSA DESIGN LAYER v2 — "The Evidence Line"
   The logo is a data line rising across Africa. The whole site
   now speaks that language: plotted points, graph-paper grids,
   mono field annotations, and one navy→green→amber thread.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --ink:        #0A1830;
  --ink-2:      #122549;
  --leaf:       #2E9E4F;
  --thread: linear-gradient(90deg, #2E5DA7 0%, #2E9E4F 50%, #F5A623 100%);
  --dotgrid-w: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1.5px);
  --dotgrid-d: radial-gradient(circle, rgba(10,24,48,.07) 1px, transparent 1.5px);
}

::selection { background: var(--signal); color: var(--ink); }
body { font-weight: 400; }
.lead { font-weight: 400; }

/* ── NAV: white wordmark, instrument bar ── */
.nav { background: rgba(10,24,48,.92); height: 72px; }
:root { --nav-h: 72px; }
.nav .brand-logo-img { height: 44px; }
.nav-links a { font-weight: 600; font-size: .85rem; letter-spacing: .01em; position: relative; border-bottom: none; }
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
  background: var(--thread); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }

/* ── BUTTONS: tactile, plotted ── */
.btn { border-radius: 10px; font-weight: 700; letter-spacing: .01em; transition: transform .16s, box-shadow .16s, background .16s, color .16s, border-color .16s; }
.btn--signal { box-shadow: 0 0 0 0 rgba(245,166,35,0); }
.btn--signal:hover { background: #ffb83d; transform: translate(-2px,-2px); box-shadow: 4px 4px 0 0 rgba(245,166,35,.35); }
.btn--field:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 0 rgba(28,92,33,.3); }
.btn--ghost-ink:hover, .btn--ghost-w:hover { transform: translate(-2px,-2px); }
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translate(0,0); box-shadow: none; }

/* ── LABELS: field annotations with plotted points ── */
.label {
  font-family: var(--mono); font-weight: 600; font-size: .72rem; letter-spacing: .16em;
  gap: .6rem;
}
.label::before {
  content: ''; width: 26px; height: 8px; flex-shrink: 0;
  background:
    radial-gradient(circle 3px at 4px 4px,  #2E5DA7 97%, transparent),
    radial-gradient(circle 3px at 13px 4px, var(--leaf) 97%, transparent),
    radial-gradient(circle 3px at 22px 4px, var(--signal) 97%, transparent);
}
.label--light::before { opacity: .9; }

/* ── HERO: graph paper + the evidence line ── */
.hero {
  background:
    var(--dotgrid-w) 0 0 / 26px 26px,
    radial-gradient(1100px 520px at 85% 0%, rgba(46,93,167,.28), transparent 60%),
    radial-gradient(800px 480px at 0% 100%, rgba(28,92,33,.30), transparent 60%),
    var(--ink);
}
.hero-orb { display: none; }
.hero-inner { max-width: none; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.hero-copy { max-width: 640px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.hero h1 .hl-field { color: #5fce7d; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .6rem; border: 1px solid rgba(255,255,255,.18); border-radius: 100px; padding: .4rem .9rem; background: rgba(255,255,255,.04); }
.hero-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); }

/* The signature: a live evidence chart */
.evidence-panel { position: relative; }
.evidence-chart {
  width: 100%; height: auto; display: block;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(2px);
}
.ev-grid { stroke: rgba(255,255,255,.08); stroke-width: 1; }
.ev-axis { stroke: rgba(255,255,255,.25); stroke-width: 1.5; }
.ev-line {
  fill: none; stroke: url(#evGrad); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
      stroke-dasharray: 395; stroke-dashoffset: 395;
  animation: evDraw 2.2s cubic-bezier(.6,.05,.3,1) .35s forwards;
}
.ev-pt { opacity: 0; animation: evPop .45s cubic-bezier(.2,1.4,.4,1) forwards; }
.ev-pt--1 { animation-delay: .8s; }
.ev-pt--2 { animation-delay: 1.35s; }
.ev-pt--3 { animation-delay: 1.95s; }
.ev-arrow { opacity: 0; animation: evPop .5s cubic-bezier(.2,1.4,.4,1) 2.45s forwards; }
.ev-note { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; fill: rgba(255,255,255,.55); }
.ev-note--hot { fill: var(--signal); }
@keyframes evDraw { to { stroke-dashoffset: 0; } }
@keyframes evPop { from { opacity: 0; transform: scale(.3); transform-origin: center; transform-box: fill-box; } to { opacity: 1; transform: scale(1); transform-origin: center; transform-box: fill-box; } }
.evidence-caption {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-top: .8rem; padding: 0 .25rem;
}
.evidence-caption strong { color: var(--signal); font-weight: 600; }

/* Hero stat bar → instrument readout */
.hero-bar { border-radius: var(--r-lg); margin-top: 3rem; border-color: rgba(255,255,255,.14); }
.hero-bar-cell { position: relative; }
.hero-bar-cell::before {
  content: ''; position: absolute; top: 0; left: 1.5rem; width: 22px; height: 3px; background: var(--thread);
}
.hero-bar-num { font-family: var(--mono); font-weight: 600; font-size: 1.9rem; letter-spacing: -.02em; }
.hero-bar-num em { font-family: var(--mono); }
.hero-bar-label { font-size: .75rem; letter-spacing: .02em; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .evidence-panel { max-width: 520px; }
}

/* ── MARQUEE: ticker tape ── */
.marquee { border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); padding: .7rem 0; }
.marquee-track span { font-family: var(--mono); font-weight: 600; display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee-track span::after { content: '▲'; font-size: .6rem; color: var(--ink); opacity: .55; }

/* ── SECTION RHYTHM ── */
.sec--chalk { background: var(--dotgrid-d) 0 0 / 30px 30px, var(--chalk); }
.sec--ink { background: var(--dotgrid-w) 0 0 / 30px 30px, var(--ink); }
.sec-head--center .label { justify-content: center; }

/* ── CARDS: plotted hairline reveal ── */
.svc-card, .value, .who-panel, .member, .blog-card, .form-wrap, .mv-card {
  border-radius: var(--r-lg);
}
.svc-card { position: relative; overflow: hidden; border: 1px solid var(--mist); }
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--thread); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.6,.05,.3,1);
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10,24,48,.12); }
.svc-num {
  font-size: 2.6rem; font-weight: 600; color: transparent;
  -webkit-text-stroke: 1.3px var(--signal); letter-spacing: 0; line-height: 1; margin-bottom: 1.1rem;
}
.svc-card h3, .svc-row h3, .area-block h3, .pillar h3, .blog-card h3, .who-panel h3,
.form-wrap h3, .coming-soon-card h3 { font-family: var(--display); letter-spacing: -.015em; }

.value { position: relative; border: 1px solid var(--mist); transition: transform .2s, box-shadow .2s; }
.value:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(10,24,48,.09); }
.value-num { font-weight: 600; }

/* Services page rows */
.svc-idx { font-size: 1.6rem; color: transparent; -webkit-text-stroke: 1.2px var(--signal); font-weight: 600; letter-spacing: 0; }
.svc-row { transition: background .2s; border-radius: var(--r-md); }
.svc-row:hover { background: rgba(245,166,35,.05); }

/* Steps → plotted points on a rising line */
.steps { position: relative; padding-left: 0; }
.steps::before { content: ''; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(180deg, #F5A623 0%, #2E9E4F 50%, #2E5DA7 100%); opacity: .5; }
.step { position: relative; }
.step-marker { border-radius: 10px; font-weight: 600; box-shadow: 0 0 0 5px var(--ink); }

/* Focus area icons */
.area-icon-wrap { border-radius: 14px; transition: transform .25s; }
.area-block:hover .area-icon-wrap { transform: translateY(-3px) rotate(-3deg); }

/* Chips */
.chip { font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; }
.chip-dot { box-shadow: 0 0 8px var(--signal); }

/* Team avatars */
.member-ava { border-radius: 16px; font-family: var(--mono); }

/* CTA band: chart corner + grid */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--dotgrid-w) 0 0 / 24px 24px, linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 100%);
  border: 1px solid rgba(255,255,255,.1);
}
.cta-band::after {
  content: ''; position: absolute; right: -30px; bottom: -30px; width: 220px; height: 160px; opacity: .35; pointer-events: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 160'%3E%3Cpath d='M10 130 L70 85 L120 105 L200 30' fill='none' stroke='%23F5A623' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='70' cy='85' r='9' fill='%232E9E4F'/%3E%3Ccircle cx='120' cy='105' r='9' fill='%232E5DA7'/%3E%3Ccircle cx='200' cy='30' r='10' fill='%23F5A623'/%3E%3C/svg%3E");
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { letter-spacing: -.02em; }

/* ── FORMS ── */
.f-ctl { border-radius: 10px; }
.f-ctl:focus { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(245,166,35,.2); }
.form-wrap { position: relative; overflow: hidden; }
.form-wrap::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--thread); }

/* ── BLOG / LEARN ── */
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10,24,48,.12); }
.blog-card-cat { font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.lweb-tab { font-weight: 700; }
.lweb-tab.active { border-bottom-color: var(--signal); }
.lweb-hero, .policy-hero {
  background: var(--dotgrid-w) 0 0 / 26px 26px,
    radial-gradient(900px 420px at 90% 0%, rgba(46,93,167,.25), transparent 60%), var(--ink);
}
.page-hero {
  background: var(--dotgrid-w) 0 0 / 26px 26px,
    radial-gradient(900px 420px at 90% 0%, rgba(46,93,167,.25), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(28,92,33,.22), transparent 60%), var(--ink);
}
.crumb { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

/* ── FOOTER: the thread runs through ── */
.footer-rainbow { height: 4px; background: var(--thread); }
.footer-mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .22em; color: var(--signal); }
.footer h5 { color: rgba(255,255,255,.45); }
.footer-tagline { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; }
.footer-tagline span:nth-child(1) { color: #6f9bdd; }
.footer-tagline span:nth-child(2) { color: #5fce7d; }
.footer-tagline span:nth-child(3) { color: var(--signal); }

/* ── WHATSAPP FLOAT: gentle pulse ── */
.wa { transition: transform .2s; }
.wa:hover { transform: scale(1.08); }
@keyframes waPulse { 0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,.45); } 50% { box-shadow: 0 6px 24px rgba(37,211,102,.45), 0 0 0 12px rgba(37,211,102,0); } }
.wa { animation: waPulse 3.2s ease-in-out infinite; }

/* ── MOTION DISCIPLINE ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .ev-line { stroke-dashoffset: 0; }
  .ev-pt, .ev-arrow { opacity: 1; }
}

/* Nav contact pill (was an invisible transparent button) */
.nav-links a.btn--sm {
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff; border-radius: 100px; background: rgba(255,255,255,.05);
}
.nav-links a.btn--sm:hover { background: var(--signal); border-color: var(--signal); color: var(--ink); transform: none; }

/* 404 page */
.notfound-wrap {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--dotgrid-w) 0 0 / 26px 26px,
    radial-gradient(900px 500px at 50% 0%, rgba(46,93,167,.25), transparent 65%), var(--ink);
  padding: 4rem 0;
}

/* Footer logo: file is the dark-bg variant; just size it */
.footer .brand-logo-img { height: 52px; filter: none; opacity: 1; }


/* ════════════════════════════════════════════
   EBSA MERGED — v2 improvements on Mythos base
   ════════════════════════════════════════════ */

/* ── NAV SCROLL SHRINK ───────────────────── */
.nav { transition: height .25s ease, box-shadow .25s ease; }
.nav--scrolled { height: 60px; box-shadow: 0 6px 30px rgba(9,23,47,.32); }
.nav--scrolled .brand { min-height: 40px; }
.nav--scrolled .brand-logo-img { height: 28px; }

/* ── CRUMB FIX: hide on mobile, use › separator ── */
@media (max-width: 480px) { .crumb { display: none; } }

/* ── FOOTER LOGO: white pill (matches nav style) ── */
.footer .footer-brand .brand {
  display: inline-flex;
  background: rgba(255,255,255,.95);
  border-radius: 999px;
  padding: .38rem .8rem;
  border: 1px solid rgba(244,178,62,.3);
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
  margin-bottom: .85rem;
}
.footer .footer-brand .brand-logo-img { height: 34px; filter: none !important; opacity: 1 !important; }

/* ── MOBILE NAV: active page highlight ── */
.mob-nav a[aria-current="page"],
.mob-nav a.active {
  color: var(--signal);
  background: rgba(244,178,62,.08);
}

/* ── BURGER: is-open × animation ── */
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── FORM SUCCESS ── */
.f-ok.visible { display: block; animation: fOkIn .3s ease; }
@keyframes fOkIn { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }

/* ── TAG HOVER ── */
.tag { transition: background .15s, color .15s, border-color .15s; }
.tag:hover { background: var(--signal-pale); color: var(--ink); border-color: var(--signal); }

/* ── BLOG CARD LINK ── */
.blog-card-link svg { width: 14px; height: 14px; transition: transform .2s; }
.blog-card-link:hover svg { transform: translateX(3px); }

/* ── MOBILE SECTION SPACING ── */
@media (max-width: 600px) {
  .sec { padding: clamp(2.5rem,7vw,4rem) 0; }
  .cta-band { gap: 1.5rem; }
  .footer-main { gap: 2rem; }
  .svc-row { padding: 1.75rem 0; }
}

/* ── LEARN WITH EBSA: section wrapper ── */
.section { padding: clamp(2.5rem,6vw,5rem) 0; }


/* ── DONATE PAGE ───────────────────────────────────────────── */
.donate-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.donate-card {
  background: #fff;
  border: 1px solid var(--bone);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 8px 32px rgba(14,27,53,.10);
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.donate-card h2 { font-size: clamp(1.3rem,2.4vw,1.7rem); text-align: center; margin-bottom: 1.5rem; }
.donate-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--mist); border-radius: var(--r-md); overflow: hidden; margin-bottom: 1.25rem; }
.donate-toggle a {
  padding: .8rem; text-align: center; font-weight: 700; font-size: .9rem;
  color: var(--ink-muted); background: #fff; transition: background .15s, color .15s;
  text-transform: uppercase; letter-spacing: .04em;
}
.donate-toggle a.active { background: #009DA0; color: #fff; }
.donate-toggle a:not(.active):hover { background: var(--field-pale); }
.amount-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: .6rem; margin-bottom: 1rem; }
.amount-grid button {
  padding: .9rem .4rem; border: 2px solid var(--mist); border-radius: var(--r-md);
  background: #fff; font-weight: 700; font-size: 1rem; color: var(--ink); cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.amount-grid button:hover { border-color: #009DA0; }
.amount-grid button.active { background: #009DA0; border-color: #009DA0; color: #fff; }
.amount-note { font-size: .9rem; color: var(--ink-muted); text-align: center; margin-bottom: 1rem; min-height: 2.6em; line-height: 1.5; }
.amount-other { display: flex; align-items: center; border: 1.5px solid var(--mist); border-radius: var(--r-md); overflow: hidden; margin-bottom: 1.25rem; }
.amount-other span { padding: .7rem .9rem; background: var(--bone); font-weight: 700; color: var(--ink); }
.amount-other input { flex: 1; border: none; padding: .7rem .9rem; font-size: .95rem; color: var(--ink); width: 100%; }
.amount-other input:focus { outline: none; }
.btn--donate-lg { width: 100%; justify-content: center; background: #009DA0; color: #fff; padding: 1rem; font-size: 1.05rem; }
.btn--donate-lg:hover { background: #007e81; }
.pay-methods { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.1rem; flex-wrap: wrap; }
.pay-methods span { font-size: .8rem; font-weight: 700; color: var(--smoke); letter-spacing: .03em; }
.pay-secure { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .82rem; color: var(--ink-soft); margin-top: .75rem; }
.pay-secure svg { width: 14px; height: 14px; }
.donate-pending { background: var(--signal-pale); border: 1px solid var(--signal); border-radius: var(--r-md); padding: .85rem 1rem; font-size: .85rem; color: var(--ink-muted); margin-top: 1.1rem; line-height: 1.5; }
.donate-impact { margin-top: 1rem; }
.donate-impact li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1.1rem; color: var(--ink-muted); line-height: 1.6; }
.donate-impact .di-ico { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: var(--field-pale); display: grid; place-items: center; }
.donate-impact .di-ico svg { width: 20px; height: 20px; color: var(--field); }
.donate-impact strong { color: var(--ink); display: block; margin-bottom: .15rem; }
@media (max-width: 860px){ .donate-layout { grid-template-columns: 1fr; } .donate-card { position: static; order: -1; } }
/* Course selection (choose a course first) */
.course-pick{margin:0 0 1.75rem}
.course-pick-label{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:#0a6b4f;margin:0 0 .9rem}
.course-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
.course-card{display:flex;flex-direction:column;text-decoration:none;background:#fff;border:1px solid #e2e8e4;border-radius:14px;padding:1.15rem 1.2rem;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.course-card:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(10,40,30,.12);border-color:#0a6b4f}
.course-card-ico{font-size:1.6rem;margin-bottom:.5rem}
.course-card-title{font-weight:700;color:#10231b;font-size:1.02rem;margin:0 0 .35rem;line-height:1.25}
.course-card-desc{color:#4a5a52;font-size:.88rem;line-height:1.4;margin:0 0 .85rem;flex:1}
.course-card-cta{font-weight:600;color:#0a6b4f;font-size:.86rem;display:inline-flex;align-items:center;gap:.3rem}
.course-card:hover .course-card-cta{gap:.5rem}
/* Currency toggle (TZS / USD / EUR) */
.currency-toggle{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0;border:2px solid var(--mist);border-radius:var(--r-md);overflow:hidden;margin-bottom:1rem}
.currency-toggle button{padding:.6rem;text-align:center;font-weight:700;font-size:.82rem;color:var(--ink-muted);background:#fff;transition:background .15s,color .15s;text-transform:uppercase;letter-spacing:.04em;border:none;cursor:pointer;border-right:1px solid var(--mist)}
.currency-toggle button:last-child{border-right:none}
.currency-toggle button.active{background:#009DA0;color:#fff}
.currency-toggle button:not(.active):hover{background:var(--field-pale)}
.currency-label{font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-muted);margin:0 0 .4rem}
/* Visitor counter */
.visitor-counter{display:inline-flex;align-items:center;gap:.4rem;font-size:.78rem;font-weight:600;color:var(--ink-muted);letter-spacing:.02em;margin:.4rem 0}
.visitor-counter svg{width:14px;height:14px;opacity:.7}
.visitor-counter strong{color:#009DA0;font-variant-numeric:tabular-nums}
@media (max-width: 480px){
  .nav-cta .btn--donate{ padding:.45rem .7rem; font-size:.78rem; }
  .nav-cta .btn--donate svg{ width:12px; height:12px; }
}