/* ═══════════════════════════════════════════════════════════
   WALPE Africa — Design System
   "The Women's Parliament"

   Strategy: Committed — Continental Indigo carries 30-60% of all
   surfaces. Rose and Terracotta as deliberate accent roles.
   Pure white background; warmth lives in the brand colors.
═══════════════════════════════════════════════════════════ */

/* ── 1. DESIGN TOKENS ─────────────────────────────────── */
:root {
  /* Brand Colors */
  --c-primary:       oklch(0.38 0.18 263);      /* Continental Indigo — white text 6.9:1 ✓ */
  --c-primary-dark:  oklch(0.27 0.17 263);      /* Deeper hover */
  --c-primary-mid:   oklch(0.52 0.16 263);      /* Mid-indigo, decorative only */
  --c-rose:          oklch(0.72 0.16 350);      /* Defiant Rose — dark ink text 7.6:1 ✓ */
  --c-earth:         oklch(0.44 0.17 42);       /* Burnt Sienna — white text 5.6:1 ✓ */

  /* Extended Blue Family — analogous to Continental Indigo, shifted
     cooler toward cerulean + a deep navy. Adds variety without leaving
     the blue range or drifting into purple. */
  --c-azure:         oklch(0.48 0.15 248);      /* Cerulean accent — white text 5.0:1 ✓ */
  --c-azure-deep:    oklch(0.38 0.13 250);      /* Deeper cerulean — hover/depth */
  --c-sky:           oklch(0.70 0.10 242);      /* Soft sky — light decorative only */
  --c-navy:          oklch(0.22 0.12 263);      /* Deep indigo navy — footer, deeper twin of header */
  --c-deepsea:       oklch(0.17 0.08 232);      /* Cool teal-blue — legacy band top */
  --c-deepsea-dark:  oklch(0.115 0.065 228);    /* Cool teal-blue — legacy band foot */

  /* Neutrals */
  --c-bg:            oklch(1.000 0.000 0);      /* Pure white */
  --c-surface:       oklch(0.965 0.006 263);    /* Faint indigo tint */
  --c-surface-cool:  oklch(0.962 0.018 240);    /* Cool sky tint — alt section surface */
  --c-ink:           oklch(0.12 0.025 263);     /* Body text — vs white 16.4:1 ✓ */
  --c-muted:         oklch(0.40 0.012 263);     /* Secondary text — vs white 6.5:1 ✓ */
  --c-rule:          oklch(0.88 0.008 263);     /* Divider lines */
  --c-white:         #ffffff;

  /* Typography */
  --f-serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --f-sans:  'Source Sans 3', system-ui, -apple-system, sans-serif;

  /* Type Scale */
  --t-display:  clamp(2.5rem, 4.2vw, 4.5rem);
  --t-headline: clamp(1.75rem, 3.2vw, 2.75rem);
  --t-title:    clamp(1.15rem, 2vw, 1.4rem);
  --t-body:     1.0625rem;
  --t-small:    0.875rem;
  --t-label:    0.8125rem;

  /* Spacing */
  --sp-2xs: 0.375rem;
  --sp-xs:  0.625rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;
  --sp-2xl: 6rem;
  --sp-3xl: 9rem;

  /* Radii */
  --r-xs:   3px;
  --r-sm:   6px;
  --r-md:   10px;
  --r-full: 9999px;

  /* Layout */
  --container-w:   1320px;
  --container-pad: clamp(1.25rem, 5vw, 3rem);

  /* Z-index */
  --z-sticky:  200;
  --z-overlay: 300;
  --z-modal:   400;

  /* Easing */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);

  /* Durations */
  --dur-fast:   180ms;
  --dur-mid:    400ms;
  --dur-slow:   700ms;

  /* Section rhythm — fluid: 3rem on phone, 6rem on wide screens */
  --section-pad: clamp(3rem, 6vw, 6rem);
}

/* ── 2. ACCESSIBILITY UTILITIES ──────────────────────── */

/* Screen-reader only: visible to AT, invisible to sighted users */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── 3. RESET & BASE ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
}

/* Smooth scroll only for pointer users — keyboard/AT users need instant jumps */
@media (pointer: fine) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--f-sans);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
img { height: auto; }

ul[role="list"], ol[role="list"] { list-style: none; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-serif);
  text-wrap: balance;
  line-height: 1.1;
}

p { text-wrap: pretty; }

/* ── 4. LAYOUT & COMPONENTS ───────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--c-primary);
  color: var(--c-white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-family: var(--f-sans);
  font-size: var(--t-small);
  font-weight: 600;
  text-decoration: none;
  z-index: 1000;
  transition: top var(--dur-fast);
}
.skip-link:focus { top: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-sans);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.875rem 1.75rem;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--dur-fast) var(--ease-out-quart),
    color            var(--dur-fast) var(--ease-out-quart),
    border-color     var(--dur-fast) var(--ease-out-quart),
    transform        var(--dur-fast) var(--ease-out-quart);
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 3px solid var(--c-rose);
  outline-offset: 3px;
}

/* Button variants */
.btn-primary {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}
.btn-primary:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); }

.btn-white {
  background: var(--c-white);
  color: var(--c-primary);
  border-color: var(--c-white);
}
.btn-white:hover { background: oklch(0.92 0.01 263); border-color: oklch(0.92 0.01 263); }

.btn-ghost {
  background: transparent;
  color: var(--c-white);
  border-color: oklch(1 0 0 / 0.45);
}
.btn-ghost:hover { border-color: var(--c-white); background: oklch(1 0 0 / 0.08); }

.btn-rose {
  background: var(--c-rose);
  color: var(--c-ink);
  border-color: var(--c-rose);
}
.btn-rose:hover { background: oklch(0.65 0.18 350); border-color: oklch(0.65 0.18 350); }

.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn-outline:hover { background: var(--c-primary); color: var(--c-white); }

/* Section header shared style */
.section-header {
  margin-bottom: clamp(2rem, 4vw, 4rem);
  max-width: 52ch;
}
.section-title {
  font-size: var(--t-headline);
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: var(--sp-sm);
  letter-spacing: -0.025em;
}
.section-title::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 0.75rem;
  border-radius: var(--r-full);
  background: var(--c-azure);
}
.section-sub {
  font-size: var(--t-body);
  color: var(--c-muted);
  line-height: 1.6;
}

/* ── 4. NAVIGATION ────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--c-primary);
  transition: box-shadow var(--dur-mid);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
.nav.is-scrolled { box-shadow: 0 2px 24px oklch(0.12 0.025 263 / 0.35); }

.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: var(--sp-md);
}

.nav-logo {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  display: block;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: var(--sp-md);
  margin-left: auto;
}
.nav-links a {
  font-size: var(--t-small);
  font-weight: 500;
  color: oklch(0.84 0.04 263);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color var(--dur-fast);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-rose);
  transition: width var(--dur-mid) var(--ease-out-quart);
}
.nav-links a:hover { color: var(--c-white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: var(--sp-sm); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.875rem;
  margin-left: auto;
  color: var(--c-white);
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background var(--dur-fast);
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur-mid) var(--ease-out-quart);
}
.hamburger::before { top: -7px; }
.hamburger::after  { bottom: -7px; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
  display: none;
  background: var(--c-primary-dark);
  padding: var(--sp-md) 0;
  border-top: 1px solid oklch(1 0 0 / 0.12);
}
.nav-mobile ul { padding-inline: clamp(1.25rem, 5vw, 3rem); }
.nav-mobile li + li { border-top: 1px solid oklch(1 0 0 / 0.08); }
.nav-mobile a {
  display: block;
  padding: var(--sp-sm) 0;
  font-family: var(--f-sans);
  font-size: var(--t-body);
  font-weight: 500;
  color: oklch(0.84 0.04 263);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.nav-mobile a:hover { color: var(--c-white); }
.nav-mobile a.nav-mobile-cta {
  color: var(--c-rose);
  font-weight: 600;
}

/* ── 5. HERO ──────────────────────────────────────────────
   The mosaic IS the header: full viewport width, with the
   content overlaid on a left-anchored indigo scrim. */
.hero {
  position: relative;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-rule);
}

/* Scrim: thin light veil — photos stay visible through it,
   with just enough density behind the text for legibility */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(98deg,
    oklch(0.99 0.005 263 / 0.74) 0%,
    oklch(0.99 0.005 263 / 0.58) 32%,
    oklch(0.99 0.008 263 / 0.24) 55%,
    oklch(0.99 0.008 263 / 0) 72%);
}

.hero-inner {
  max-width: none;
  padding-inline: 0;
  width: 100%;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  pointer-events: none;
}
.hero-content :is(h1, p, a) { pointer-events: auto; }

.hero-headline {
  font-size: var(--t-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-md);
  color: var(--c-primary);
  max-width: 15ch;
  /* tight glow keeps text legible over photo detail
     without thickening the scrim */
  text-shadow: 0 0 8px oklch(1 0 0 / 0.55), 0 0 24px oklch(1 0 0 / 0.65);
}

.hero-body {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.65;
  color: var(--c-ink);
  max-width: 44ch;
  margin-bottom: var(--sp-lg);
  text-shadow: 0 0 6px oklch(1 0 0 / 0.55), 0 0 18px oklch(1 0 0 / 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

/* Hero Mosaic — fills the entire header, all 7 leaders */
.hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: min(calc(100svh - 68px), 800px);
  min-height: 560px;
}

.mosaic-item {
  position: relative;
  overflow: hidden;
}
.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.7s var(--ease-out-expo);
}
.mosaic-item:hover img { transform: scale(1.05); }

/* Mosaic layout: symmetric — tall portraits at the edges,
   stacked pairs inside, Ndaitwah (mi-2) full-height dead centre */
.mi-1 { grid-column: 1; grid-row: 1 / 3; }   /* Sirleaf — tall left edge */
.mi-3 { grid-column: 2; grid-row: 1; }       /* Banda */
.mi-4 { grid-column: 2; grid-row: 2; }       /* Suluhu */
.mi-2 { grid-column: 3; grid-row: 1 / 3; }   /* NDAITWAH — centre, dominant */
.mi-5 { grid-column: 4; grid-row: 1; }       /* Gurib-Fakim */
.mi-7 { grid-column: 4; grid-row: 2; }       /* Samba-Panza */
.mi-6 { grid-column: 5; grid-row: 1 / 3; }   /* Zewde — tall right edge */

.mosaic-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 0.875rem 0.75rem;
  background: linear-gradient(to top, oklch(0.10 0.02 263 / 0.85) 0%, transparent 100%);
}
.mc-name {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-white);
  line-height: 1.3;
}
.mc-country {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.6875rem;
  color: oklch(0.84 0.06 350);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* Featured mosaic cell — Ndaitwah */
.mi-featured img {
  object-position: center 12%;
}
.mi-featured .mosaic-caption {
  padding: 4.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, oklch(0.10 0.02 263 / 0.92) 0%, transparent 100%);
}
.mi-featured .mc-name {
  font-size: 1rem;
  line-height: 1.35;
}
.mc-role {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--c-rose);
  letter-spacing: 0.02em;
  margin-top: 3px;
}

/* ── 6. WHO WE ARE ────────────────────────────────────── */
.about {
  padding-block: var(--section-pad);
  background: var(--c-surface);
}

.about-quote {
  border: none;
  margin-bottom: clamp(1.5rem, 3vw, 4rem);
}
.about-quote p {
  font-family: var(--f-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--c-primary);
  max-width: 22em;
  letter-spacing: -0.01em;
}

.about-columns {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--sp-xl);
  align-items: start;
}

.about-text p {
  font-size: var(--t-body);
  line-height: 1.75;
  color: var(--c-ink);
  max-width: 68ch;
}
.about-text p + p { margin-top: var(--sp-md); }

.sidebar-heading {
  font-family: var(--f-serif);
  font-size: var(--t-title);
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: var(--sp-md);
}

.sidebar-regions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2xs);
}
.sidebar-regions li {
  font-family: var(--f-sans);
  font-size: var(--t-label);
  font-weight: 500;
  color: var(--c-primary);
  border: 1px solid var(--c-primary);
  border-radius: var(--r-full);
  padding: 0.3rem 0.875rem;
}

/* ── 7. AREAS OF WORK ─────────────────────────────────── */
.pillars {
  background: var(--c-bg);
  padding-block: var(--section-pad);
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--c-rule);
}

.pillar {
  padding: clamp(1.75rem, 3.5vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--c-rule);
  position: relative;
  transition: background var(--dur-fast);
}
.pillar:hover { background: var(--c-surface); }

.pillar-tag {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: var(--t-label);
  font-weight: 600;
  color: var(--c-white);
  background: var(--c-earth);
  padding: 3px 10px 4px;
  border-radius: var(--r-full);
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-md);
}

.pillar-title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--sp-sm);
  letter-spacing: -0.02em;
}

.pillar-body {
  font-size: var(--t-small);
  line-height: 1.7;
  color: var(--c-muted);
  max-width: 44ch;
  overflow-wrap: break-word;
}

/* ── 8. YOUNG WOMEN LEADERS ───────────────────────────── */
.young-leaders {
  background: var(--c-surface-cool);
  /* no bottom padding — the full-width mosaic sits flush
     against the next section */
  padding-block: var(--section-pad) 0;
}

.young-leaders .section-header { margin-bottom: var(--sp-xl); }

/* 3-col editorial mosaic — full viewport width, staggered heights */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, clamp(240px, 21vw, 310px));
  gap: 10px;
}

.lcard { position: relative; overflow: hidden; }
.lcard-photo { width: 100%; height: 100%; }
.lcard-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.7s var(--ease-out-expo);
}
.lcard:hover .lcard-photo img { transform: scale(1.04); }

/* Emma's photo is a tight, centred headshot — the default
   top-biased crop cuts her chin when the cell is wide */
.lcard:nth-child(5) .lcard-photo img { object-position: center 35%; }

/* Grid placement — 6 leaders, editorial mosaic.
   Cell shape follows photo shape: square photos (Emma, Annah,
   Yvonne) get the tall 2-row cells, landscape photos (Lesego,
   Naledi, Anta) get the wide single-row cells. */
.lcard:nth-child(1) { grid-column: 1; grid-row: 1; }            /* Lesego — wide */
.lcard:nth-child(5) { grid-column: 2; grid-row: 1 / 3; }        /* Emma — tall centre */
.lcard:nth-child(3) { grid-column: 3; grid-row: 1; }            /* Anta — wide */
.lcard:nth-child(4) { grid-column: 1; grid-row: 2 / 4; }        /* Annah — tall left */
.lcard:nth-child(2) { grid-column: 2; grid-row: 3; }            /* Naledi — wide */
.lcard:nth-child(6) { grid-column: 3; grid-row: 2 / 4; }        /* Yvonne — tall right */

.lcard-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1rem 1rem;
  background: linear-gradient(to top, oklch(0.10 0.02 263 / 0.88) 0%, transparent 100%);
  transition: padding var(--dur-mid) var(--ease-out-quart);
}

.lcard-country {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-rose);
  margin-bottom: 0.3rem;
}
.lcard-name {
  font-family: var(--f-serif);
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.2rem;
  overflow-wrap: break-word;
}
.lcard-role {
  font-family: var(--f-sans);
  font-size: 0.75rem;
  color: oklch(0.80 0.04 263);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 9. THOSE WHO WALKED BEFORE US ───────────────────── */
.walked {
  /* Deepest + coolest band — teal-leaning blue (hue ~230), darker than
     the indigo header/footer (263). The value drop + hue shift together
     make it read as a distinct blue, not a subtle variation. */
  background: linear-gradient(165deg, var(--c-deepsea) 0%, var(--c-deepsea-dark) 100%);
  color: var(--c-white);
  padding-block: var(--section-pad) 0;
  overflow: hidden;
}

.walked-header {
  margin-bottom: clamp(2rem, 4vw, 6rem);
  max-width: 52ch;
}
.walked-title {
  font-size: var(--t-headline);
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-sm);
}
.walked-sub {
  font-size: var(--t-body);
  color: oklch(0.72 0.06 263);
  line-height: 1.65;
}

/* Mosaic grid — full viewport width, echoes the hero: tall
   portraits at the edges and centre, stacked pairs between */
.walked-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr 1fr 1fr;
  grid-template-rows: repeat(2, clamp(200px, 21vw, 320px));
  gap: 10px;
}

/* Placements (DOM order: Agojie, Nehanda, Winnie, Ngozi,
   Phumzile, Pandor, Zewde) */
.wcard:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }  /* Agojie — tall left */
.wcard:nth-child(3) { grid-column: 2; grid-row: 1; }      /* Winnie */
.wcard:nth-child(4) { grid-column: 2; grid-row: 2; }      /* Ngozi */
.wcard:nth-child(7) { grid-column: 3; grid-row: 1 / 3; }  /* Zewde — tall centre */
.wcard:nth-child(5) { grid-column: 4; grid-row: 1; }      /* Phumzile */
.wcard:nth-child(6) { grid-column: 4; grid-row: 2; }      /* Pandor */
.wcard:nth-child(2) { grid-column: 5; grid-row: 1 / 3; }  /* Nehanda — tall right */

.wcard {
  position: relative;
  overflow: hidden;
}
.wcard-photo {
  width: 100%;
  height: 100%;
}
.wcard-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  filter: grayscale(100%) contrast(1.05) brightness(0.92);
  transition: filter 0.5s var(--ease-out-quart);
}
.wcard:hover .wcard-photo img {
  filter: grayscale(70%) contrast(1.05);
}

/* Caption overlays the photo, like the hero mosaic */
.wcard figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.75rem 0.875rem 0.875rem;
  background: linear-gradient(to top, oklch(0.08 0.02 263 / 0.92) 0%, transparent 100%);
}

.wcard-name {
  font-family: var(--f-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.2rem;
  overflow-wrap: break-word;
}
.wcard-role {
  font-family: var(--f-sans);
  font-size: 0.75rem;
  color: oklch(0.80 0.05 263);
  line-height: 1.45;
  margin-bottom: 0.2rem;
}

/* ── 10. GET INVOLVED ─────────────────────────────────── */
.get-involved {
  background: var(--c-bg);
  padding-block: var(--section-pad);
  border-top: 4px solid var(--c-earth);
}

.gi-inner { max-width: 600px; }

.gi-title {
  font-size: var(--t-headline);
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-md);
}

.gi-body {
  font-size: var(--t-body);
  color: var(--c-muted);
  line-height: 1.75;
  max-width: 60ch;
  margin-bottom: var(--sp-lg);
}

.gi-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.gi-contact {
  margin-top: var(--sp-xl);
  font-style: normal;
  border-top: 1px solid var(--c-rule);
  padding-top: var(--sp-lg);
}

.gi-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.gi-contact-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--sp-sm);
  align-items: baseline;
}

.gi-contact-item dt {
  font-family: var(--f-sans);
  font-size: var(--t-label);
  font-weight: 600;
  color: var(--c-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.gi-contact-item dd {
  font-family: var(--f-sans);
  font-size: var(--t-small);
  color: var(--c-ink);
  line-height: 1.5;
}

.gi-contact-item dd a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.gi-contact-item dd a:hover { color: var(--c-primary-dark); text-decoration: underline; }

.footer-col li.footer-address {
  line-height: 1.5;
  font-size: var(--t-label);
}

/* ── 11. FOOTER ───────────────────────────────────────── */
.footer {
  background: var(--c-navy);
  color: var(--c-white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--sp-xl);
  padding-block: var(--section-pad);
  align-items: start;
}

.footer-logo {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  color: var(--c-white);
  text-decoration: none;
  display: block;
  margin-bottom: var(--sp-sm);
}
.footer-logo strong { font-weight: 700; }
.footer-logo em { font-weight: 400; font-style: italic; opacity: 0.85; }

.footer-tagline {
  font-family: var(--f-sans);
  font-size: var(--t-small);
  color: oklch(0.62 0.06 263);
  line-height: 1.6;
  max-width: 28ch;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--sp-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: oklch(0.60 0.06 263);
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: var(--r-full);
  text-decoration: none;
  transition:
    color        var(--dur-fast) var(--ease-out-quart),
    border-color var(--dur-fast) var(--ease-out-quart),
    background   var(--dur-fast) var(--ease-out-quart);
}
.social-link:hover {
  color: var(--c-white);
  border-color: oklch(1 0 0 / 0.30);
  background: oklch(1 0 0 / 0.07);
}
.social-link:focus-visible {
  outline: 3px solid var(--c-rose);
  outline-offset: 3px;
}
.social-link svg { display: block; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.footer-col-heading {
  font-family: var(--f-sans);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: oklch(0.55 0.08 263);
  margin-bottom: var(--sp-sm);
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col li {
  font-family: var(--f-sans);
  font-size: var(--t-small);
  color: oklch(0.72 0.06 263);
}
.footer-col a {
  display: block;
  padding: 0.3rem 0;
  text-decoration: none;
  transition: color var(--dur-fast);
}
.footer-col a:hover { color: var(--c-white); }

.footer-bottom {
  border-top: 1px solid oklch(1 0 0 / 0.08);
  padding-block: var(--sp-md);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}
.footer-bottom p {
  font-family: var(--f-sans);
  font-size: var(--t-label);
  color: oklch(0.50 0.06 263);
}
.footer-bottom a {
  color: oklch(0.62 0.06 263);
  text-decoration: underline;
}
.footer-bottom a:hover { color: var(--c-white); }

/* ── 13. RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-mosaic {
    grid-template-columns: 1fr 1.3fr 1fr 1fr;
    height: min(calc(100svh - 68px), 700px);
    min-height: 520px;
  }
  .mi-1 { grid-column: 1; grid-row: 1; }
  .mi-4 { grid-column: 1; grid-row: 2; }
  .mi-2 { grid-column: 2; grid-row: 1 / 3; }
  .mi-3 { grid-column: 3; grid-row: 1; }
  .mi-5 { grid-column: 3; grid-row: 2; }
  .mi-6 { grid-column: 4; grid-row: 1; }
  .mi-7 { grid-column: 4; grid-row: 2; }

  /* Walked: 4 columns, Zewde tall in the second */
  .walked-grid {
    grid-template-columns: 1fr 1.3fr 1fr 1fr;
    grid-template-rows: repeat(2, clamp(180px, 24vw, 250px));
  }
  .wcard:nth-child(1) { grid-column: 1; grid-row: 1; }
  .wcard:nth-child(4) { grid-column: 1; grid-row: 2; }
  .wcard:nth-child(7) { grid-column: 2; grid-row: 1 / 3; }
  .wcard:nth-child(3) { grid-column: 3; grid-row: 1; }
  .wcard:nth-child(5) { grid-column: 3; grid-row: 2; }
  .wcard:nth-child(6) { grid-column: 4; grid-row: 1; }
  .wcard:nth-child(2) { grid-column: 4; grid-row: 2; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile.is-open { display: block; }

  /* Hero: bottom-anchored text over a bottom-heavy light scrim */
  .hero::after {
    background: linear-gradient(180deg,
      oklch(0.99 0.005 263 / 0.08) 0%,
      oklch(0.99 0.005 263 / 0.62) 60%,
      oklch(0.99 0.005 263 / 0.85) 100%);
  }
  .hero-content { justify-content: flex-end; padding-bottom: var(--sp-lg); }
  .hero-headline { font-size: clamp(2.25rem, 8vw, 3.25rem); }
  .hero-mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1.7fr 1fr 1fr;
    height: min(calc(100svh - 64px), 680px);
    min-height: 540px;
  }
  /* Ndaitwah (mi-2) leads full-width on top, six tiles below */
  .mi-2 { grid-column: 1 / 4; grid-row: 1; }
  .mi-1 { grid-column: 1; grid-row: 2; }
  .mi-3 { grid-column: 2; grid-row: 2; }
  .mi-4 { grid-column: 3; grid-row: 2; }
  .mi-5 { grid-column: 1; grid-row: 3; }
  .mi-6 { grid-column: 2; grid-row: 3; }
  .mi-7 { grid-column: 3; grid-row: 3; }

  /* About */
  .about-columns { grid-template-columns: 1fr; gap: var(--sp-lg); }

  /* Pillars */
  .pillars-grid { grid-template-columns: 1fr; }

  /* Young leaders: even 2-column grid */
  .leaders-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 240px);
  }
  .lcard:nth-child(1) { grid-column: 1; grid-row: 1; }
  .lcard:nth-child(2) { grid-column: 2; grid-row: 1; }
  .lcard:nth-child(3) { grid-column: 1; grid-row: 2; }
  .lcard:nth-child(4) { grid-column: 2; grid-row: 2; }
  .lcard:nth-child(5) { grid-column: 1; grid-row: 3; }
  .lcard:nth-child(6) { grid-column: 2; grid-row: 3; }

  /* Walked: 2 columns, Zewde tall top-left */
  .walked-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, minmax(150px, 190px));
  }
  .wcard:nth-child(7) { grid-column: 1; grid-row: 1 / 3; }
  .wcard:nth-child(1) { grid-column: 2; grid-row: 1; }
  .wcard:nth-child(2) { grid-column: 2; grid-row: 2; }
  .wcard:nth-child(3) { grid-column: 1; grid-row: 3; }
  .wcard:nth-child(4) { grid-column: 2; grid-row: 3; }
  .wcard:nth-child(5) { grid-column: 1; grid-row: 4; }
  .wcard:nth-child(6) { grid-column: 2; grid-row: 4; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-mosaic {
    height: min(calc(100svh - 64px), 580px);
    min-height: 480px;
  }
  /* Tiles are too narrow for legible captions; Ndaitwah's stays */
  .mosaic-item:not(.mi-featured) .mosaic-caption { display: none; }
  .leaders-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .lcard { height: 260px; grid-column: auto !important; grid-row: auto !important; }

  .footer-nav { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
}

/* ── 14. TOUCH & INPUT ADAPTATIONS ─────────────────────── */

/* Prevent sticky hover after tap on touch-only devices */
@media (hover: none) {
  .mosaic-item:hover img { transform: none; }
  .lcard:hover .lcard-photo img { transform: none; }
  .wcard:hover .wcard-photo img { filter: grayscale(100%) contrast(1.05) brightness(0.92); }
  .pillar:hover { background: var(--c-bg); }
  .btn:hover { transform: none; }
  .nav-links a:hover::after { width: 0; }
}

/* Coarse pointer (finger): ensure all tap targets comfortably exceed 44px */
@media (pointer: coarse) {
  .btn { min-height: 48px; }
  .nav-toggle { min-width: 48px; min-height: 48px; }
  .sidebar-regions li { padding: 0.5rem 0.875rem; }
  .gi-contact-item dd a { padding: 0.5rem 0; display: inline-block; }
  .footer-col a { padding: 0.5rem 0; }
  .social-link { width: 44px; height: 44px; }
}

/* ── 15. REDUCED MOTION ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .btn,
  .nav-links a::after,
  .mosaic-item img,
  .lcard-photo img,
  .wcard-photo img,
  .hamburger,
  .hamburger::before,
  .hamburger::after,
  .social-link { transition: none !important; }

  .mosaic-item:hover img,
  .lcard:hover .lcard-photo img { transform: none !important; }
  .wcard:hover .wcard-photo img { filter: grayscale(100%) contrast(1.05) brightness(0.92) !important; }
}
