/* =====================================================================
   Mama Care Africa — main.css
   Editorial layout (jhpiego-inspired) + MCA brand (coral / gold / black)
   Headings: Moonlight Elegant   ·   Body: Nobel Uno SemiBold
   ===================================================================== */

/* ----- Self-hosted fonts ----- */
@font-face {
  font-family: 'Moonlight';
  src: url('../fonts/moonlight-elegant/MOONLIGHT.woff2') format('woff2'),
       url('../fonts/moonlight-elegant/MOONLIGHT.woff')  format('woff');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Haettenschweiler';
  src: url('../Fonts/haettenschweiler/HATTEN.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sence';
  src: url('../Fonts/sence/Sence-Regular.woff2') format('woff2'),
       url('../Fonts/sence/Sence-Regular.woff') format('woff'),
       url('../Fonts/sence/Sence-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Nobel Uno — only the weights we use, to keep payload light */
@font-face { font-family: 'Nobel Uno'; src: url('../fonts/Nobel%20Uno%20Font/Web%20Fonts/NobelUno-Light.woff2') format('woff2'),    url('../fonts/Nobel%20Uno%20Font/Web%20Fonts/NobelUno-Light.woff') format('woff');    font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nobel Uno'; src: url('../fonts/Nobel%20Uno%20Font/Web%20Fonts/NobelUno-Regular.woff2') format('woff2'),  url('../fonts/Nobel%20Uno%20Font/Web%20Fonts/NobelUno-Regular.woff') format('woff');  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nobel Uno'; src: url('../fonts/Nobel%20Uno%20Font/Web%20Fonts/NobelUno-Italic.woff2') format('woff2'),   url('../fonts/Nobel%20Uno%20Font/Web%20Fonts/NobelUno-Italic.woff') format('woff');   font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Nobel Uno'; src: url('../fonts/Nobel%20Uno%20Font/Web%20Fonts/NobelUno-Medium.woff2') format('woff2'),   url('../fonts/Nobel%20Uno%20Font/Web%20Fonts/NobelUno-Medium.woff') format('woff');   font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nobel Uno'; src: url('../fonts/Nobel%20Uno%20Font/Web%20Fonts/NobelUno-SemiBold.woff2') format('woff2'), url('../fonts/Nobel%20Uno%20Font/Web%20Fonts/NobelUno-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nobel Uno'; src: url('../fonts/Nobel%20Uno%20Font/Web%20Fonts/NobelUno-Bold.woff2') format('woff2'),     url('../fonts/Nobel%20Uno%20Font/Web%20Fonts/NobelUno-Bold.woff') format('woff');     font-weight: 700; font-style: normal; font-display: swap; }

/* ----- Design tokens ----- */
:root {
  --coral:       #E63E62;
  --coral-deep:  #B82E4D;
  --coral-soft:  #FDEAEF;
  --gold:        #F4A93C;
  --gold-deep:   #C9871F;
  --charcoal:    #1B1B1B;
  --slate:       #5B6470;
  --slate-soft:  #98A0AB;
  --cream:       #FAF6F1;
  --line:        #ECE7E0;
  --white:       #FFFFFF;
  --shadow-sm:   0 2px 8px rgba(20,20,20,.06);
  --shadow-md:   0 8px 28px rgba(20,20,20,.10);
  --shadow-lg:   0 18px 50px rgba(20,20,20,.16);
  --radius:      10px;
  --radius-lg:   18px;
  --container:   1200px;

  --font-display: 'Moonlight', 'Haettenschweiler', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Nobel Uno', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Type scale — slightly larger because Moonlight reads lighter than a typical serif */
  --step--1: clamp(0.88rem, 0.84rem + 0.2vw, 0.95rem);
  --step-0:  clamp(1.02rem, 0.97rem + 0.25vw, 1.15rem);
  --step-1:  clamp(1.18rem, 1.08rem + 0.5vw,  1.4rem);
  --step-2:  clamp(1.5rem,  1.25rem + 1.1vw,  1.95rem);
  --step-3:  clamp(1.9rem,  1.55rem + 1.7vw,  2.55rem);
  --step-4:  clamp(2.4rem,  1.85rem + 2.7vw,  3.4rem);
  --step-5:  clamp(3rem,    2rem + 4.5vw,     4.6rem);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600; /* Nobel Uno SemiBold per brand direction */
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-deep); text-decoration: none; }
a:hover { color: var(--coral); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ----- Typography ----- */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--charcoal);
  margin: 0 0 .55em;
  line-height: 1.08;
  font-weight: 400;            /* Moonlight is a display face — let its native weight breathe */
  letter-spacing: .005em;
  text-rendering: geometricPrecision;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.15; }
/* H4 stays in Nobel Uno for UI clarity (card titles, labels) */
h4 { font-family: var(--font-body); font-weight: 700; font-size: var(--step-1); line-height: 1.2; margin: 0 0 .55em; letter-spacing: -.005em; color: var(--charcoal); }
p  { margin: 0 0 1em; font-weight: 600; }
strong, b { font-weight: 700; }
em, i { font-style: italic; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  color: var(--coral);
  display: inline-block;
  margin-bottom: 1.1rem;
}
.lede {
  font-size: var(--step-1);
  color: var(--slate);
  max-width: 62ch;
  font-weight: 500;
  line-height: 1.55;
}
.section-head { max-width: 780px; margin: 0 auto 3rem; text-align: center; }
.section-head .eyebrow { color: var(--coral); }
.section-head p { color: var(--slate); }

/* ----- Layout ----- */
.container { width: min(var(--container), calc(100% - 2rem)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.band { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.band--cream    { background: var(--cream); }
.band--charcoal { background: var(--charcoal); color: #EFE9E1; }
.band--charcoal h2, .band--charcoal h3 { color: var(--white); }
.band--coral    { background: var(--coral); color: var(--white); }
.band--coral h2, .band--coral h3 { color: var(--white); }
.band--coral .lede { color: rgba(255,255,255,.92); }
.band--gold     { background: var(--gold); color: var(--charcoal); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.split { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } .split--media-right > :first-child { order: 1; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--charcoal); color: var(--white); padding: .75rem 1rem; z-index: 1000; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; font-weight: 600; font-size: 1rem;
  border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: .65rem 1.15rem; font-size: .95rem; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; margin-top: 1rem; }
.btn--primary { background: var(--coral); color: var(--white); }
.btn--primary:hover { background: var(--coral-deep); color: var(--white); }
.btn--gold    { background: var(--gold); color: var(--charcoal); }
.btn--gold:hover    { background: var(--gold-deep); color: var(--white); }
.btn--outline { background: transparent; color: var(--coral); border-color: var(--coral); }
.btn--outline:hover { background: var(--coral); color: var(--white); }
.btn--white   { background: var(--white); color: var(--coral-deep); }
.btn--white:hover { background: var(--cream); }
.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.85); }
.btn--outline-white:hover { background: var(--white); color: var(--coral-deep); }
.btn--ghost   { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: var(--white); color: var(--charcoal); }
.btn--link { background: none; padding: 0; color: var(--coral-deep); border-radius: 0; font-weight: 600; }
.btn--link:hover { color: var(--coral); }
.btn--link::after { content: ' →'; transition: transform .15s ease; display: inline-block; }
.btn--link:hover::after { transform: translateX(3px); }

/* ----- Topbar ----- */
.topbar { background: var(--charcoal); color: #d8d3cb; font-size: .85rem; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; padding: .5rem 0; gap: 1rem; flex-wrap: wrap; }
.topbar__msg { letter-spacing: .02em; }
.topbar__links { display: flex; gap: 1.25rem; }
.topbar__links a { color: #d8d3cb; }
.topbar__links a:hover { color: var(--gold); }

/* ----- Header & primary nav ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.site-header--transparent { position: absolute; left: 0; right: 0; background: transparent; border-bottom-color: transparent; color: var(--white); }
.site-header--transparent .topbar { background: rgba(0,0,0,.35); backdrop-filter: blur(2px); }
.site-header--transparent .primary-nav__link { color: var(--white); }
.site-header--transparent .brand__logo { background: transparent; padding: 0; box-shadow: none; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.site-header.is-scrolled { position: sticky; background: var(--white); color: var(--charcoal); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header.is-scrolled .primary-nav__link { color: var(--charcoal); }
.site-header.is-scrolled .brand__logo { background: transparent; padding: 0; box-shadow: none; filter: none; }

.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: clamp(.75rem, .5rem + .8vw, 1.1rem) 0; flex-wrap: nowrap; min-width: 0; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; min-width: 0; }
.brand__logo {
  display: block;
  width: auto;
  height: clamp(44px, 1.2rem + 2.6vw, 64px);
  max-width: min(62vw, 320px);
  object-fit: contain;
  transition: height .25s cubic-bezier(.4,0,.2,1), filter .25s ease, transform .25s ease;
  will-change: height;
  image-rendering: -webkit-optimize-contrast;
}
.site-header.is-scrolled .brand__logo { height: clamp(38px, 1rem + 2vw, 52px); }
@media (max-width: 480px) {
  .brand__logo { max-width: 58vw; }
}

.primary-nav { flex: 1 1 auto; min-width: 0; }
.primary-nav__list { display: flex; gap: .15rem; margin: 0; padding: 0; list-style: none; justify-content: center; flex-wrap: nowrap; }
.primary-nav__item { position: relative; }
.primary-nav__link {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .6rem clamp(.5rem, .35rem + .5vw, .8rem);
  color: var(--charcoal);
  font-weight: 600; letter-spacing: .005em;
  font-size: clamp(.86rem, .8rem + .15vw, .95rem);
  white-space: nowrap;
  border-radius: 6px;
}
.primary-nav__link:hover, .primary-nav__link.is-current { color: var(--coral); }
.primary-nav__link.is-current { box-shadow: inset 0 -3px 0 var(--coral); }
.caret { font-size: .7em; }

.nav-cta { display: flex; align-items: center; gap: .75rem; flex: 0 0 auto; }
.nav-toggle { display: none; background: transparent; border: 0; padding: .5rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .2s; }

/* mega-menu */
.has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); color: var(--charcoal);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 2rem 0;
  z-index: 100;
}
/* simple dropdown */
.has-mega.has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 240px;
  padding: .35rem;
  z-index: 200;
}
.nav-dropdown a {
  display: block;
  padding: .6rem 1.1rem;
  color: var(--charcoal);
  font-size: .88rem;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: .005em;
}
.nav-dropdown a:hover { background: var(--cream); color: var(--coral); }
.nav-dropdown a.is-current { color: var(--coral); font-weight: 700; }
.mega__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr) 1.3fr;
  gap: 1.25rem 2rem;
}
.mega__card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem; border-radius: var(--radius);
  color: var(--charcoal);
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.mega__card:hover { background: var(--cream); border-color: var(--line); color: var(--charcoal); }
.mega__icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--coral-soft); color: var(--coral); display: grid; place-items: center; }
.mega__icon svg { width: 22px; height: 22px; }
.mega__title { display: block; font-weight: 700; font-family: var(--font-body); font-size: 1.05rem; margin-bottom: .15rem; letter-spacing: -.005em; }
.mega__desc  { display: block; color: var(--slate); font-size: .9rem; line-height: 1.45; }
.mega__cta { background: var(--cream); padding: 1.5rem; border-radius: var(--radius); grid-column: 3; grid-row: 1 / -1; display: flex; flex-direction: column; justify-content: center; }
.mega__cta h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.mega__cta p { color: var(--slate); margin-bottom: 1rem; font-size: .95rem; }
.mega__cta .btn--ghost { color: var(--coral-deep); border-color: var(--coral); }
.mega__cta .btn--ghost:hover { background: var(--coral); color: var(--white); }

/* Drawer (mobile) */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
  background: var(--white); padding: 1.25rem; overflow-y: auto;
  display: flex; flex-direction: column; gap: 1rem;
  animation: slideIn .25s ease;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.drawer__head .brand img { height: clamp(40px, 1rem + 3vw, 52px); width: auto; max-width: 60vw; display: block; object-fit: contain; }
.drawer__close { background: transparent; border: 0; font-size: 2rem; line-height: 1; color: var(--charcoal); padding: .25rem .5rem; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list > li > a { display: block; padding: .85rem .25rem; font-weight: 600; color: var(--charcoal); border-bottom: 1px solid var(--line); }
.drawer__list > li > a.is-current { color: var(--coral); }
.drawer__sublist { list-style: none; margin: 0; padding: .25rem 0 .5rem .9rem; border-bottom: 1px solid var(--line); }
.drawer__sublist a { display: block; padding: .45rem 0; color: var(--slate); }

@media (max-width: 1200px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-block; }
}
@media (max-width: 900px) {
  .topbar__links a:nth-child(3) { display: none; }
}
@media (max-width: 640px) {
  .topbar__msg { display: none; }
  .topbar__row { justify-content: flex-end; }
}

/* ----- Hero ----- */
.hero {
  position: relative; color: var(--white);
  min-height: clamp(520px, 80vh, 760px);
  display: grid; align-items: end;
  background: var(--charcoal);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero__slider { position: absolute; inset: 0; }
.hero__slider .hero__overlay { position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(15,15,15,.82) 0%, rgba(15,15,15,.6) 40%, rgba(15,15,15,.25) 75%, rgba(15,15,15,.1) 100%),
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.5) 100%);
}
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease-in-out; }
.hero__slide--active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 50%, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 70%, rgba(0,0,0,.6) 100%),
    linear-gradient(90deg, rgba(15,15,15,.88) 0%, rgba(15,15,15,.7) 35%, rgba(15,15,15,.35) 65%, rgba(15,15,15,.15) 100%),
    linear-gradient(180deg, rgba(15,15,15,.35) 0%, rgba(15,15,15,0) 30%, rgba(15,15,15,.55) 100%);
}
.hero__media--coral .hero__overlay { background: linear-gradient(135deg, rgba(230,62,98,.78), rgba(184,46,77,.72) 70%, rgba(27,27,27,.65)); }
.hero__inner { position: relative; z-index: 3; padding: 9rem 0 4rem; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero .lede { color: #fff; margin-bottom: 1.75rem; font-size: var(--step-1); text-shadow: 0 2px 12px rgba(0,0,0,.7), 0 1px 3px rgba(0,0,0,.5); max-width: 56ch; }
.hero .eyebrow { color: var(--gold); text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.hero__actions { display: flex; gap: .85rem; flex-wrap: wrap; }
.hero--short { min-height: clamp(360px, 50vh, 480px); }
.hero--short .hero__inner { padding: 8rem 0 3rem; }

.scroll-cue {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.8); font-size: 1.4rem; animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translate(-50%, 0);} 50%{ transform: translate(-50%, 6px);} }

/* ----- Cards ----- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--cream); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .65rem; flex: 1 1 auto; }
.card__cat  { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--coral); }
.card__title { font-family: var(--font-body); font-weight: 700; font-size: 1.4rem; line-height: 1.3; color: var(--charcoal); margin: 0; letter-spacing: -.005em; }
.card__title a { color: inherit; }
.card__title a:hover { color: var(--coral); }
.card__excerpt { color: var(--slate); flex: 1 1 auto; }
.card__meta { font-size: .85rem; color: var(--slate-soft); }

/* Approach cards */
.approach-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.approach-card { text-align: center; padding: 2rem 1.5rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.approach-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.approach-card__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--coral-soft); color: var(--coral); display: grid; place-items: center; margin: 0 auto 1.25rem; }
.approach-card__icon svg { width: 36px; height: 36px; }
.approach-card h3 { font-size: 1.4rem; margin-bottom: .35rem; }
.approach-card p { color: var(--slate); margin: 0; }

/* Stats */
.stats { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }
.stat__num { font-family: 'Moonlight', Georgia, serif; font-weight: 700; font-size: clamp(2.5rem, 4.5vw, 3.75rem); color: var(--gold); line-height: 1; }
.stat__label { display: block; color: var(--slate); margin-top: .5rem; font-weight: 500; }
.band--charcoal .stat__label { color: rgba(255,255,255,.78); }

/* Quote */
.quote-bar {
  border-left: 4px solid var(--coral);
  padding: 1rem 1.5rem; font-family: 'Sence', Georgia, serif;
  font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.35; color: var(--charcoal);
  background: var(--white); font-weight: 400;
}
.band--charcoal .quote-bar { background: transparent; color: var(--white); border-color: var(--gold); }

/* Featured story (full-bleed) */
.feature-story {
  position: relative; min-height: 480px;
  display: grid; align-items: end;
  color: var(--white);
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.feature-story__media { position: absolute; inset: 0; }
.feature-story__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-story__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.8) 100%); }
.feature-story__body { position: relative; padding: 2.5rem; max-width: 720px; }
.feature-story h2 { color: var(--white); margin-bottom: .75rem; }
.feature-story .eyebrow { color: var(--gold); }

/* CTA strip */
.cta-strip__inner { display: grid; gap: 1.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 880px) { .cta-strip__inner { grid-template-columns: 1.4fr 1fr; } }
.cta-strip__title { color: var(--white); margin-bottom: .5rem; }
.cta-strip__lede  { color: rgba(255,255,255,.92); margin: 0; }
.cta-strip__actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: flex-start; }
@media (min-width: 880px) { .cta-strip__actions { justify-content: flex-end; } }

/* Partner strip */
.partners-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 3rem; padding: 1rem 0; }
.partners-strip__item { display: flex; align-items: center; justify-content: center; width: 200px; height: 130px; }
.partners-strip__item img { max-height: 130px; max-width: 190px; width: auto; object-fit: contain; transition: transform .25s ease, opacity .25s ease; mix-blend-mode: multiply; opacity: .8; }
.partners-strip__item:hover img { transform: scale(1.06); opacity: 1; }

/* Partner cards (large) */
.partner-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; }
.partner-card__logo { height: 60px; display: flex; align-items: center; }
.partner-card__logo img { max-height: 60px; width: auto; }
.partner-card__tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.tag { display: inline-block; padding: .35rem .75rem; background: var(--coral-soft); color: var(--coral-deep); font-size: .8rem; font-weight: 600; border-radius: 999px; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 2px; background: var(--coral-soft); }
.timeline li { position: relative; padding: 0 0 1.5rem 3rem; }
.timeline li::before {
  content: ''; position: absolute; left: 4px; top: 6px; width: 22px; height: 22px;
  background: var(--coral); border-radius: 50%; box-shadow: 0 0 0 5px var(--coral-soft);
}
.timeline li::after {
  content: '✓'; position: absolute; left: 9px; top: 4px; color: var(--white); font-size: .9rem; font-weight: 700;
}
.timeline strong { display: block; font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; margin-bottom: .15rem; }

/* Value list */
.values { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); text-align: center; }
.value { padding: 1.5rem 1rem; }
.value__num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold); display: block; }
.value h3 { font-size: 1.2rem; margin: .5rem 0 .35rem; }
.value p { color: var(--slate); font-size: .95rem; margin: 0; }

/* Feature blocks (Innovation Lab) */
.feature-block { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; margin-bottom: 3.5rem; }
@media (min-width: 900px) {
  .feature-block { grid-template-columns: 1fr 1fr; }
  .feature-block--alt > :first-child { order: 2; }
}
.feature-block__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; background: var(--cream); }
.feature-block__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-block h3 { font-size: var(--step-3); }

/* Bullet list with check icons */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.checklist li { display: flex; gap: .85rem; align-items: flex-start; }
.checklist li::before {
  content: ''; display: inline-block; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--coral-soft) url("../img/icons/check.svg") center/16px no-repeat;
  margin-top: 2px;
}
.checklist strong { display: block; }
.checklist span { color: var(--slate); font-size: .95rem; }

/* Callout */
.callout {
  background: var(--cream); border-left: 4px solid var(--gold);
  padding: 1.5rem 1.75rem; border-radius: 6px;
}
.callout h3 { margin-bottom: .35rem; }
.callout p { margin: 0; color: var(--slate); }

/* Donation tiles */
.donate-tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 2rem; }
.donate-tile {
  background: var(--white); border: 2px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: .5rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.donate-tile:hover { border-color: var(--coral); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.donate-tile.is-selected { border-color: var(--coral); background: var(--coral-soft); }
.donate-tile__amt { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--coral-deep); }
.donate-tile__desc { color: var(--slate); margin: 0; font-size: .95rem; }

.donate-form { background: var(--cream); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 1.25rem; }
.donate-form .frequency { display: inline-flex; background: var(--white); border-radius: 999px; padding: 4px; border: 1px solid var(--line); }
.donate-form .frequency button {
  background: transparent; border: 0; padding: .6rem 1.25rem; border-radius: 999px; font-weight: 600; color: var(--slate);
}
.donate-form .frequency button.is-active { background: var(--coral); color: var(--white); }

/* Forms */
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); color: var(--charcoal); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-soft);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-msg { padding: 1rem; border-radius: 10px; font-weight: 600; }
.form-msg--success { background: #E9F5EC; color: #1b6b2d; }
.form-msg--error { background: #FDECEC; color: #8c1d1d; }

/* Newsletter */
.newsletter-form__row { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.newsletter-form input[type="email"] {
  font: inherit; padding: .8rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: var(--white);
}
.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,.65); }
.newsletter-form input[type="email"]:focus { outline: none; background: rgba(255,255,255,.18); border-color: var(--gold); }
.newsletter-form .btn { padding: .8rem 1.2rem; }
.newsletter-form__msg { font-size: .9rem; margin: .5rem 0 0; color: rgba(255,255,255,.85); min-height: 1.2em; }

/* Footer */
.site-footer { background: var(--charcoal); color: #cfc9c0; margin-top: 0; }
.footer__grid { display: grid; gap: 2.5rem; padding: 4rem 0 2.5rem; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { height: clamp(60px, 1.5rem + 4vw, 84px); width: auto; max-width: 280px; margin-bottom: 1.25rem; object-fit: contain; display: block; }
.footer__logo { background: transparent; padding: 0; border-radius: 0; box-shadow: none; max-width: 320px; }
.footer__about { color: #b5afa6; font-size: .95rem; }
.footer__social { display: flex; gap: .5rem; margin-top: 1rem; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--white); font-weight: 700; font-size: .85rem; text-transform: lowercase;
}
.footer__social a:hover { background: var(--coral); }
.footer__col h3 { color: var(--white); font-size: .95rem; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 1rem; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer__col a { color: #cfc9c0; }
.footer__col a:hover { color: var(--gold); }
.footer__base { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; font-size: .85rem; }
.footer__base-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__legal { display: flex; gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.footer__legal a { color: #9b958c; }
.footer__legal a:hover { color: var(--white); }

/* Article */
.article-hero { background: var(--charcoal); color: var(--white); padding: 7rem 0 3rem; }
.article-hero .eyebrow { color: var(--gold); }
.article-hero h1 { color: var(--white); max-width: 22ch; }
.article-meta { color: rgba(255,255,255,.78); font-size: .95rem; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body h2 { margin-top: 2.5rem; }
.article-body p, .article-body li { font-size: 1.125rem; line-height: 1.8; }
.article-body figure { margin: 2rem 0; }
.article-body figcaption { font-size: .9rem; color: var(--slate); text-align: center; margin-top: .5rem; }

/* News filter chips */
.chips { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.chip { padding: .55rem 1.1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--charcoal); font-weight: 600; cursor: pointer; font-size: .9rem; }
.chip.is-active { background: var(--coral); color: var(--white); border-color: var(--coral); }

/* Pagination */
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2rem; }
.pagination button { padding: .5rem .9rem; border: 1px solid var(--line); background: var(--white); border-radius: 6px; color: var(--charcoal); font-weight: 600; }
.pagination button.is-active { background: var(--coral); color: var(--white); border-color: var(--coral); }

/* Body lock when drawer open */
body.is-drawer-open { overflow: hidden; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Map highlight (Africa SVG) */
.africa-map { max-width: 480px; margin-inline: auto; }
.africa-map svg { width: 100%; height: auto; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }

/* Account dashboard + auth */
.account-shell {
  display: grid;
  gap: 1.25rem;
}

.account-alert {
  margin: 0;
}

.account-nav {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: .9rem;
}

.account-nav a {
  display: inline-flex;
  align-items: center;
  padding: .5rem .9rem;
  border-radius: 999px;
  color: var(--slate);
  font-weight: 600;
  transition: background .18s ease, color .18s ease;
}

.account-nav a:hover {
  background: var(--cream);
  color: var(--charcoal);
}

.account-nav a.is-active {
  background: var(--coral-soft);
  color: var(--coral-deep);
}

.account-nav__logout {
  margin-left: auto;
}

.account-metrics {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.account-metric-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow-sm);
}

.account-metric-card__eyebrow {
  margin: 0;
  color: var(--slate-soft);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.account-metric-card__value {
  margin: .45rem 0 .3rem;
  color: var(--coral-deep);
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  line-height: 1.05;
}

.account-metric-card__meta {
  margin: 0;
  color: var(--slate);
  font-size: .95rem;
}

.account-metric-card--cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .75rem;
}

.account-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.account-panel--spaced {
  margin-bottom: .2rem;
}

.account-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: .8rem;
}

.account-panel__head h2 {
  font-size: var(--step-2);
  margin: 0;
}

.account-panel__link {
  font-size: .9rem;
  font-weight: 700;
}

.account-empty {
  margin: 0;
  color: var(--slate);
}

.account-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.account-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.account-table th,
.account-table td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: .7rem .3rem;
  vertical-align: middle;
}

.account-table th {
  font-size: .83rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--slate);
}

.account-table tbody tr:last-child td {
  border-bottom: 0;
}

.account-code {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem;
  background: var(--cream);
  border-radius: 8px;
  padding: .2rem .45rem;
}

.account-note {
  color: var(--slate);
  font-size: .9rem;
}

.account-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .2rem .55rem;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border: 1px solid transparent;
}

.account-badge--succeeded,
.account-badge--paid,
.account-badge--active,
.account-badge--completed {
  background: #EAF7EF;
  color: #166839;
  border-color: #CBEAD7;
}

.account-badge--pending,
.account-badge--processing,
.account-badge--requires_action {
  background: #FFF4E3;
  color: #8A5A16;
  border-color: #F5D7A8;
}

.account-badge--failed,
.account-badge--canceled,
.account-badge--refunded {
  background: #FDECEF;
  color: #8B1F37;
  border-color: #F2C5D0;
}

.account-form {
  display: grid;
  gap: .95rem;
}

.account-field {
  display: grid;
  gap: .35rem;
}

.account-field span {
  font-size: .92rem;
  font-weight: 700;
}

.account-field span small {
  color: var(--slate);
  font-weight: 500;
}

.account-field input,
.account-field select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: .72rem .85rem;
  font: inherit;
}

.account-field input:disabled {
  background: #F6F7F9;
  color: #657084;
}

.account-field input:focus,
.account-field select:focus {
  outline: 0;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-soft);
}

.account-auth-card {
  background: #fff;
  padding: 1.9rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  max-width: 520px;
  margin: 0 auto;
}

.account-auth-foot {
  margin: 1.25rem 0 0;
  text-align: center;
  color: var(--slate);
}

.account-error-list {
  margin: 0;
  padding-left: 1.1rem;
}

@media (max-width: 760px) {
  .account-nav {
    gap: .45rem;
  }

  .account-nav__logout {
    margin-left: 0;
    width: 100%;
  }

  .account-nav__logout .btn {
    width: 100%;
  }

  .account-panel {
    padding: 1rem;
  }

  .account-auth-card {
    padding: 1.3rem;
  }
}

/* ─── Gallery ─────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  background: var(--cream);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-item__link {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.gallery-item--portrait .gallery-item__link { aspect-ratio: 3/4; }
.gallery-item--square .gallery-item__link { aspect-ratio: 1/1; }

.gallery-item__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-item:hover .gallery-item__link img {
  transform: scale(1.05);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(230, 62, 98, .0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .3s ease, opacity .3s ease;
  opacity: 0;
}

.gallery-item__tag {
  position: absolute;
  left: .6rem;
  top: .6rem;
  z-index: 3;
  padding: .32rem .58rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, .68);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-item__overlay {
  background: rgba(230, 62, 98, .35);
  opacity: 1;
}

.gallery-item__caption {
  padding: .85rem 1rem;
  font-size: .9rem;
  color: var(--charcoal);
}

.gallery-item__caption strong {
  display: block;
  margin-bottom: .2rem;
}

.gallery-item__caption p {
  margin: 0;
  color: var(--slate);
  font-size: .85rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(20, 20, 20, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.lightbox[hidden] { display: none; }

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 12px 48px rgba(0,0,0,.5);
}

.lightbox__caption {
  color: #fff;
  margin-top: 1rem;
  font-size: .95rem;
  text-align: center;
  opacity: .85;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  padding: .5rem 1rem;
  opacity: .7;
  transition: opacity .2s;
  z-index: 10;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  opacity: 1;
}

.lightbox__close { top: 1rem; right: 1.5rem; font-size: 2.8rem; }
.lightbox__prev  { left: 1rem; top: 50%; transform: translateY(-50%); font-size: 3.5rem; }
.lightbox__next  { right: 1rem; top: 50%; transform: translateY(-50%); font-size: 3.5rem; }

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: .75rem;
  }
  .gallery-item--portrait .gallery-item__link,
  .gallery-item--landscape .gallery-item__link,
  .gallery-item--square .gallery-item__link {
    aspect-ratio: 1/1;
  }
  .gallery-item__caption {
    padding: .6rem .75rem;
  }
  .lightbox__prev, .lightbox__next {
    font-size: 2.5rem;
  }
}

/* =====================================================================
   Person cards — Leadership & Governance page
   ===================================================================== */
.person-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.person-card--featured {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.75rem;
  align-items: start;
}
@media (max-width: 560px) {
  .person-card--featured { grid-template-columns: 1fr; }
}
.person-card__avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--coral-soft);
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--coral);
  flex-shrink: 0;
  user-select: none;
}
.person-card__name {
  font-family: var(--font-display);
  font-size: var(--step-2);
  margin: 0 0 .15rem;
  color: var(--charcoal);
  line-height: 1.1;
}
.person-card__creds {
  font-size: .875rem;
  color: var(--slate-soft);
  font-weight: 600;
  margin: 0 0 .35rem;
}
.person-card__role {
  font-weight: 700;
  color: var(--coral);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 .9rem;
}
.person-card__bio { color: var(--slate); margin: 0 0 .65rem; }
.person-card__bio:last-child { margin-bottom: 0; }
.person-card__avatar--photo {
  object-fit: cover;
  object-position: center top;
  background: var(--cream);
  font-size: 0;
}
.person-card__avatar--exec {
  width: 130px;
  height: 158px;
  border-radius: 12px;
  object-position: center 12%;
  box-shadow: var(--shadow-sm);
  align-self: start;
}
