/* ==========================================================================
   Wemiji Helping Hands Initiatives
   Design system + components
   --------------------------------------------------------------------------
   Direction: the logo, extended.

   The mark is three strands interlocking inside a shield. Two ideas come out
   of that and run through the site: things overlap (the hero panel sits over
   the photograph), and the palette holds to maroon, white and grey.

   The restraint is deliberate. Wemiji has a hundred photographs of Nigerian
   outreaches — vivid, crowded, full of colour. The chrome recedes so the
   photography can carry the page. Maroon is reserved for actions and
   emphasis; spread everywhere it would compete with the work.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */
:root {
  /* Maroon — sampled from the logo (#6C1423) */
  --maroon-900: #3A0A12;
  --maroon-800: #52101B;
  --maroon-700: #6C1423;
  --maroon-600: #85202F;
  --maroon-400: #B36B76;
  --maroon-200: #E7CDD1;
  --maroon-50:  #FAF1F2;

  /* Charcoal + grey — sampled from the logo (#3C3B43, #606062) */
  --char-900: #201F25;
  --char-800: #3C3B43;
  --char-700: #4E4D56;
  --char-600: #5C5B64;
  --char-400: #85848D;
  --grey-300: #C7C4C0;
  --grey-200: #DEDBD6;
  --grey-100: #EFEDEA;
  --grey-50:  #F7F6F4;
  --white: #FFFFFF;

  --ink: var(--char-900);
  --muted: var(--char-600);
  --rule: var(--grey-200);
  --page: var(--grey-100);

  /* Type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, serif;
  --data: "IBM Plex Mono", "Courier New", monospace;

  /* Scale */
  --step--1: clamp(0.8rem, 0.77rem + 0.14vw, 0.88rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1:  clamp(1.18rem, 1.1rem + 0.4vw, 1.42rem);
  --step-2:  clamp(1.5rem, 1.32rem + 0.85vw, 2.05rem);
  --step-3:  clamp(1.85rem, 1.5rem + 1.7vw, 2.9rem);
  --step-4:  clamp(1.85rem, 1.3rem + 2.7vw, 3.4rem);

  /* Space */
  --gutter: clamp(1.15rem, 0.8rem + 1.8vw, 2.5rem);
  --band: clamp(3.4rem, 2.3rem + 4.5vw, 6.2rem);
  --wrap: 1240px;
  --wrap-wide: 1240px;
  --wrap-narrow: 740px;

  --radius: 2px;
  --radius-lg: 4px;
  --shadow: 0 1px 2px rgba(32,31,37,.05), 0 12px 26px -18px rgba(32,31,37,.35);
  --shadow-lift: 0 2px 5px rgba(32,31,37,.07), 0 26px 46px -22px rgba(32,31,37,.42);
  --ease: cubic-bezier(.2,.6,.2,1);
}

@media (min-width: 1600px) { :root { --wrap: 1400px; } }
@media (min-width: 2000px) { :root { --wrap: 1560px; } }

/* ---------------------------------------------------------------- 2. Reset */
*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); letter-spacing: -0.032em; }
h2 { font-size: var(--step-3); letter-spacing: -0.026em; }
h3 { font-size: var(--step-1); letter-spacing: -0.012em; }
h4 { font-size: var(--step-0); letter-spacing: -0.005em; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--maroon-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--maroon-600); }

:focus-visible { outline: 3px solid var(--maroon-700); outline-offset: 3px; border-radius: 2px; }
.band-maroon :focus-visible, .band-char :focus-visible, .footer :focus-visible, .hero :focus-visible { outline-color: #fff; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--maroon-700); color: #fff; padding: .8rem 1.2rem;
  font-family: var(--data); font-size: .8rem;
}
.skip:focus { left: 0; color: #fff; }

/* --------------------------------------------------------- 3. Layout atoms */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--wrap-narrow); }

.band { padding-block: var(--band); }
.band-tight { padding-block: calc(var(--band) * .6); }
.band-paper { background: var(--white); }
.band-maroon { background: var(--maroon-700); color: var(--maroon-200); }
.band-char { background: var(--char-800); color: var(--grey-200); }
.band-maroon h2, .band-maroon h3, .band-char h2, .band-char h3 { color: #fff; }

.eyebrow {
  font-family: var(--data);
  font-size: .69rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--maroon-700);
  margin: 0 0 1rem;
  display: flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; flex: none; }
.band-maroon .eyebrow { color: var(--maroon-200); }
.band-char .eyebrow { color: var(--grey-300); }

.lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); }
.band-maroon .lede { color: var(--maroon-200); }
.band-char .lede { color: var(--grey-300); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }

/* --------------------------------------------- 4. Signature: the interlace */
/* A hairline with the mark riding on it, closing one section and opening the
   next. The logo already says "strands joining"; the divider continues that
   sentence rather than starting a different one. */
.weave {
  display: flex; align-items: center;
  padding-inline: var(--gutter);
  max-width: var(--wrap); margin-inline: auto;
}
.weave::before, .weave::after { content: ""; height: 1px; background: var(--grey-300); flex: 1; }
.weave img { width: 28px; height: auto; margin-inline: 1.15rem; opacity: .5; flex: none; }

/* ---------------------------------------------------------- 5. Top contact */
.topbar {
  background: var(--char-900); color: var(--grey-300);
  font-family: var(--data); font-size: .72rem; letter-spacing: .02em;
}
.topbar-in { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; align-items: center; padding-block: .55rem; }
.topbar a { color: var(--grey-300); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-social { margin-left: auto; display: flex; gap: .9rem; }
.topbar-social a { display: grid; place-items: center; }
.topbar-social svg { width: 15px; height: 15px; fill: currentColor; }
@media (max-width: 760px) { .topbar { display: none; } }

/* --------------------------------------------------------------- 6. Header */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.masthead-in { display: flex; align-items: center; gap: 1.2rem; padding-block: .6rem; }

.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 46px; width: auto; }
@media (max-width: 480px) { .brand img { height: 36px; } }

.nav { margin-left: auto; min-width: 0; display: flex; align-items: center; gap: clamp(.6rem, 1.3vw, 1.4rem); }
.nav a {
  font-family: var(--display); font-weight: 600; font-size: .845rem;
  color: var(--char-800); text-decoration: none;
  padding: .45rem 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav a:hover { color: var(--maroon-700); border-bottom-color: var(--maroon-700); }
.nav a[aria-current="page"] { color: var(--maroon-700); border-bottom-color: var(--maroon-700); }
.nav .btn { border-bottom: 0; }
.nav .btn:hover { border-bottom: 0; }
/* .nav a sets its own colour, so a button inside the nav must restate its own. */
.nav .btn-give,
.nav .btn-give:hover,
.nav .btn-give[aria-current="page"] { color: #fff; }

.burger {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--rule); border-radius: var(--radius);
  padding: .5rem .6rem; cursor: pointer;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--char-800); margin: 4px 0; transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
    background: var(--maroon-800);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 5.5rem 1.6rem 2rem;
    transform: translateY(-10px); opacity: 0; visibility: hidden;
    transition: transform .28s var(--ease), opacity .28s var(--ease), visibility .28s;
    overflow-y: auto;
    box-shadow: -18px 0 44px -24px rgba(0,0,0,.65);
  }
  .nav[data-open="true"] { transform: none; opacity: 1; visibility: visible; }
  .nav a { color: #fff; font-size: 1.05rem; padding: .95rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--maroon-200); border-bottom-color: rgba(255,255,255,.14); }
  .nav .btn { margin-top: 1.4rem; text-align: center; }
}

.scrim {
  position: fixed; inset: 0; background: rgba(32,31,37,.55);
  opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 55;
}
.scrim[data-open="true"] { opacity: 1; pointer-events: auto; }

/* -------------------------------------------------------------- 7. Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  white-space: nowrap;
  font-family: var(--display); font-weight: 700; font-size: .88rem; letter-spacing: -.005em;
  padding: .78rem 1.5rem;
  border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-give { background: var(--maroon-700); color: #fff; }
.btn-give:hover { background: var(--maroon-600); color: #fff; }

.btn-solid { background: var(--char-800); color: #fff; }
.btn-solid:hover { background: var(--char-700); color: #fff; }

.btn-line { border-color: var(--char-800); color: var(--char-800); background: transparent; }
.btn-line:hover { background: var(--char-800); color: #fff; }

.btn-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--maroon-800); border-color: #fff; }

.btn-white { background: #fff; color: var(--maroon-800); }
.btn-white:hover { background: var(--maroon-50); color: var(--maroon-800); }

.btn-sm { padding: .55rem 1rem; font-size: .8rem; }
.btn-wide { width: 100%; }
.btn-arrow::after { content: "→"; font-family: var(--data); transition: transform .2s var(--ease); }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ----------------------------------------------------------------- 8. Hero */
/* Contained photograph with the type sitting over it. The hero and the
   programme strip share one width and sit as a single block, so the margin is
   identical on both sides at every viewport.

   TO GO FULL-BLEED INSTEAD: delete the .hero-block rule below. Everything else
   keeps working — the hero will simply run edge to edge. */
/* Containing the hero only pays off once the viewport is wider than the content
   column — below that the "margin" would be a few pixels and the copy would sit
   a gutter to the right of the logo. So: edge to edge until 1320px, contained
   above it. Symmetric either way, and the headline always starts on the same
   vertical as the logo and every section heading below. */
@media (min-width: 1320px) {
  .hero, .verbs {
    width: calc(100% - var(--gutter) * 2);
    max-width: var(--wrap);
    margin-inline: auto;
  }
  .hero { margin-top: clamp(.9rem, 1.8vw, 1.6rem); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .verbs { border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden; }
  .hero-inner .wrap { max-width: none; }
}

.hero { position: relative; background: var(--maroon-900); overflow: hidden; }
.hero-photo { position: relative; height: clamp(430px, 72vh, 650px); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(58,10,18,.95) 0%, rgba(58,10,18,.86) 28%, rgba(58,10,18,.30) 62%, rgba(58,10,18,.42) 100%),
    linear-gradient(180deg, rgba(58,10,18,.45) 0%, rgba(58,10,18,0) 32%);
}
.hero-inner { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.hero-copy { max-width: 660px; }
.hero-copy .eyebrow { color: var(--maroon-200); }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero h1 em { font-style: normal; display: block; color: var(--maroon-200); }
.hero-sub { font-size: var(--step-1); line-height: 1.5; color: rgba(255,255,255,.9); max-width: 45ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-credit {
  position: absolute; right: var(--gutter); bottom: .7rem; z-index: 3;
  font-family: var(--data); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
@media (max-width: 700px) { .hero-credit { display: none; } }

/* The four programme verbs run as a strip under the hero: the positioning
   statement rendered as structure rather than as a sentence. */
.verbs { background: var(--maroon-700); }
.verbs-in {
  display: flex; flex-wrap: wrap;
  width: 100%;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(.78rem, .68rem + .38vw, .95rem);
}
.verbs-in a {
  flex: 1 1 0; min-width: 170px;
  color: #fff; text-decoration: none;
  padding: 1.05rem clamp(1rem, 1.6vw, 1.8rem);
  border-left: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: baseline; gap: .6rem;
  transition: background .2s;
}
.verbs-in a:first-child { border-left: 0; }
.verbs-in a:hover { background: var(--maroon-800); color: #fff; }
.verbs-in b { font-family: var(--data); font-weight: 500; font-size: .66rem; color: var(--maroon-400); }
@media (max-width: 720px) {
  .verbs-in a { flex-basis: 50%; border-bottom: 1px solid rgba(255,255,255,.18); }
}

@media (max-width: 860px) {
  .hero-photo { height: auto; aspect-ratio: 3 / 4; min-height: 560px; max-height: 82vh; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(58,10,18,.3) 0%, rgba(58,10,18,.55) 38%, rgba(58,10,18,.96) 100%); }
  .hero-inner { align-items: flex-end; padding-bottom: 1.8rem; }
}

/* --------------------------------------------------------- 9. Page banners */
.pagehead { background: var(--maroon-700); color: #fff; padding-block: clamp(2.8rem, 5.5vw, 4.6rem) clamp(2.2rem, 4.5vw, 3.6rem); }
.pagehead h1 { color: #fff; max-width: 22ch; }
.pagehead .lede { color: var(--maroon-200); max-width: 58ch; }
.crumbs { font-family: var(--data); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--maroon-200); margin-bottom: 1.5rem; }
.crumbs a { color: var(--maroon-200); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { opacity: .45; margin-inline: .5rem; }

/* ------------------------------------------------------ 10. Verified stats */
/* Mono, on a light field, stated flat, no count-up. These are audited
   figures, not a scoreboard, and the typography should say so. */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--grey-300); border: 1px solid var(--grey-300); }
.stat { background: var(--white); padding: clamp(1.5rem, 3vw, 2.3rem); }
.stat-num { font-family: var(--data); font-weight: 600; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1; color: var(--maroon-700); letter-spacing: -.035em; }
.stat-label { font-family: var(--display); font-weight: 700; font-size: .9rem; color: var(--ink); margin-top: .85rem; line-height: 1.25; }
.stat-note { font-family: var(--data); font-size: .66rem; letter-spacing: .05em; color: var(--char-400); margin-top: .45rem; }
.stats-foot { font-family: var(--data); font-size: .7rem; color: var(--muted); margin-top: 1.4rem; }
.band-maroon .stats, .band-char .stats { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.22); }
.band-maroon .stat { background: var(--maroon-700); }
.band-char .stat { background: var(--char-800); }
.band-maroon .stat-num, .band-char .stat-num,
.band-maroon .stat-label, .band-char .stat-label { color: #fff; }
.band-maroon .stat-note, .band-maroon .stats-foot { color: var(--maroon-200); }
.band-char .stat-note, .band-char .stats-foot { color: var(--grey-300); }

/* ----------------------------------------------------- 11. Programme cards */
.prog-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.prog { grid-column: span 2; }
.prog-feature { grid-column: span 3; }
@media (max-width: 940px) { .prog, .prog-feature { grid-column: span 3; } }
@media (max-width: 620px) { .prog, .prog-feature { grid-column: span 6; } }

.card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white);
  border: 1px solid var(--rule); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--maroon-400); color: inherit; }
.card-media { position: relative; aspect-ratio: 3 / 2; background: var(--char-800); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-tag {
  position: absolute; left: 0; bottom: 0;
  font-family: var(--data); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--maroon-700); color: #fff; padding: .38rem .7rem;
}
.card-body { padding: clamp(1.1rem, 2vw, 1.6rem); display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .5rem; }
.card-body p { color: var(--muted); font-size: .95rem; margin-bottom: 1.1rem; }
.card-more { margin-top: auto; font-family: var(--display); font-weight: 700; font-size: .82rem; color: var(--maroon-700); display: inline-flex; align-items: center; gap: .4rem; }
.card-more::after { content: "→"; font-family: var(--data); transition: transform .2s var(--ease); }
.card:hover .card-more::after { transform: translateX(4px); }

/* --------------------------------------------------------------- 12. Story */
.story { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,6fr); gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }
.story-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--char-800); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--body); font-size: var(--step-2); line-height: 1.32;
  color: var(--char-900); border-left: 3px solid var(--maroon-700); padding-left: 1.3rem;
}
.story-attrib { font-family: var(--data); font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }

/* ---------------------------------------------------------------- 13. News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.news-meta { font-family: var(--data); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--char-400); margin-bottom: .6rem; }
.press-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; }
.press-list li { background: var(--white); }
.press-list a { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; padding: 1.05rem clamp(1rem, 2vw, 1.5rem); text-decoration: none; color: var(--ink); transition: background .2s; }
.press-list a:hover { background: var(--maroon-50); color: var(--ink); }
.press-outlet { font-family: var(--data); font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; color: var(--maroon-700); flex: none; width: 185px; }
.press-title { font-family: var(--display); font-weight: 600; font-size: .95rem; flex: 1 1 260px; }
@media (max-width: 620px) { .press-outlet { width: 100%; } }

/* ------------------------------------------------------------- 14. Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.gallery button {
  padding: 0; border: 0; background: var(--char-800); cursor: zoom-in;
  aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); display: block;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease), opacity .25s; }
.gallery button:hover img { transform: scale(1.05); opacity: .92; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(26,25,29,.95); display: grid; place-items: center; padding: clamp(2.8rem, 6vw, 4rem); }
.lightbox figure { margin: 0; display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: 78vh; border-radius: var(--radius-lg); }
.lightbox figcaption { color: var(--grey-300); font-family: var(--data); font-size: .74rem; text-align: center; margin-top: 1rem; max-width: 60ch; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
  color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  font-size: 1.15rem; line-height: 1; display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------------ 15. Partners */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.logos img { height: 44px; width: auto; opacity: .7; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.logos img:hover { opacity: 1; filter: none; }
.logos-empty { font-family: var(--data); font-size: .78rem; text-align: center; }

/* --------------------------------------------------------------- 16. Prose */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.3em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9em; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose img { border-radius: var(--radius-lg); margin: 2rem 0; }
.prose blockquote { margin: 2rem 0; padding-left: 1.3rem; border-left: 3px solid var(--maroon-700); font-style: italic; }

/* --------------------------------------------------------- 17. Data tables */
.factsheet { width: 100%; border-collapse: collapse; font-size: .95rem; }
.factsheet th, .factsheet td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.factsheet th { font-family: var(--data); font-weight: 500; font-size: .71rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); width: 42%; }
.factsheet td { font-family: var(--display); font-weight: 600; overflow-wrap: anywhere; }

@media (max-width: 460px) {
  .factsheet, .factsheet tbody, .factsheet tr, .factsheet th, .factsheet td { display: block; width: auto; }
  .factsheet tr { border-bottom: 1px solid var(--rule); padding-block: .8rem; }
  .factsheet th, .factsheet td { border-bottom: 0; padding: 0; }
  .factsheet th { margin-bottom: .25rem; }
}

/* ---------------------------------------------------------------- 18. Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); }
.person-photo { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--grey-200); margin-bottom: .9rem; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person h4 { margin-bottom: .15rem; font-size: 1.05rem; font-weight: 700; }
.person-role { font-family: var(--data); font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; color: var(--maroon-700); }
.person-contact { font-size: .85rem; color: var(--muted); margin-top: .5rem; }

/* ---------------------------------------------------------- 19. Give tiers */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.tier {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: 1.5rem 1.3rem; display: flex; flex-direction: column; text-align: left; cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.tier:hover { border-color: var(--maroon-700); box-shadow: var(--shadow); transform: translateY(-3px); }
.tier[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--maroon-700), var(--shadow); border-color: var(--maroon-700); }
.tier-amount { font-family: var(--data); font-weight: 600; font-size: 1.6rem; color: var(--maroon-700); letter-spacing: -.03em; }
.tier-freq { font-family: var(--data); font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; color: var(--char-400); margin-top: .2rem; }
.tier-what { margin-top: .9rem; font-size: .92rem; color: var(--muted); line-height: 1.5; }

.give-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.method { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 1.5rem; }
.method h3 { font-size: 1.05rem; }
.method dl { margin: 0; font-size: .92rem; }
.method dt { font-family: var(--data); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--char-400); margin-top: .8rem; }
.method dd { margin: .15rem 0 0; font-family: var(--data); font-weight: 500; color: var(--char-900); }

.assurance {
  background: var(--char-800); color: var(--grey-200); border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 2.5vw, 1.8rem); font-size: .92rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.assurance svg { flex: none; width: 26px; height: 26px; fill: var(--maroon-400); margin-top: 2px; }
.assurance strong, .assurance a { color: #fff; }

/* ----------------------------------------------------------- 20. Accordion */
.accordion { border-top: 1px solid var(--rule); }
.acc-item { border-bottom: 1px solid var(--rule); }
.acc-trigger {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; gap: 1rem; text-align: left; padding: 1.35rem 0;
  font-family: var(--display); font-weight: 700; font-size: var(--step-1); color: var(--char-900);
}
.acc-trigger:hover { color: var(--maroon-700); }
.acc-index { font-family: var(--data); font-size: .72rem; color: var(--maroon-700); flex: none; }
.acc-sign { margin-left: auto; flex: none; width: 22px; height: 22px; position: relative; }
.acc-sign::before, .acc-sign::after { content: ""; position: absolute; inset: 50% 0 auto; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.acc-sign::after { transform: rotate(90deg); }
.acc-trigger[aria-expanded="true"] .acc-sign::after { transform: rotate(0); }
.acc-panel { overflow: hidden; height: 0; transition: height .3s var(--ease); }
.acc-panel-in { padding-bottom: 1.8rem; max-width: 70ch; }

/* --------------------------------------------------------------- 21. Forms */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--data); font-size: .69rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .78rem .9rem;
  background: var(--white); border: 1px solid var(--grey-300); border-radius: var(--radius);
  font-family: var(--body); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--maroon-700); box-shadow: 0 0 0 3px rgba(108,20,35,.13); outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field-help { font-size: .82rem; color: var(--muted); margin-top: .35rem; }
.hp { position: absolute; left: -9999px; opacity: 0; }

.formcard { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.4rem); }
.formnote { font-family: var(--data); font-size: .82rem; padding: .85rem 1rem; border-radius: var(--radius); margin-top: 1rem; display: none; }
.formnote[data-state="ok"] { display: block; background: #E8F0E9; color: #1F5130; border: 1px solid #BCD8C3; }
.formnote[data-state="err"] { display: block; background: var(--maroon-50); color: var(--maroon-800); border: 1px solid var(--maroon-200); }
.formnote[data-state="busy"] { display: block; background: var(--grey-100); color: var(--muted); }

/* ---------------------------------------------------------- 22. Newsletter */
.signup { display: flex; gap: .6rem; flex-wrap: wrap; }
.signup input {
  flex: 1 1 220px; padding: .78rem .9rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius); color: #fff; font-family: var(--body);
}
.signup input::placeholder { color: rgba(255,255,255,.55); }
.signup input:focus { border-color: #fff; outline: none; }

/* -------------------------------------------------------------- 23. Footer */
.footer { background: var(--char-900); color: var(--grey-300); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.5fr) repeat(3, minmax(0,1fr)); gap: clamp(1.6rem, 3vw, 2.6rem); padding-block: clamp(2.8rem, 5vw, 4.2rem); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--data); font-size: .67rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { color: var(--grey-300); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand img { height: 52px; margin-bottom: 1.1rem; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.13); padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; align-items: center;
  font-family: var(--data); font-size: .69rem; letter-spacing: .03em; color: var(--char-400);
}
.footer-legal a { color: var(--char-400); }
.reg-strip { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-family: var(--data); font-size: .69rem; color: var(--grey-300); margin-top: 1rem; }
.reg-strip b { color: #fff; font-weight: 500; }

.social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.social a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; transition: background .2s, border-color .2s; }
.social a:hover { background: var(--maroon-700); border-color: var(--maroon-700); }
.social svg { width: 16px; height: 16px; fill: var(--grey-300); }
.social a:hover svg { fill: #fff; }

/* --------------------------------------------------------- 24. Blog / news */
.post-list { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-body { max-width: 68ch; font-size: 1.06rem; line-height: 1.74; }
.post-body h2 { font-size: var(--step-2); margin-top: 2.2em; }
.post-body h3 { margin-top: 1.8em; }
.post-body ul, .post-body ol { padding-left: 1.2rem; }
.post-body img { border-radius: var(--radius-lg); margin: 2rem 0; }
.post-body blockquote { margin: 2rem 0; padding-left: 1.3rem; border-left: 3px solid var(--maroon-700); font-style: italic; }
.post-body hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
.post-body code { font-family: var(--data); font-size: .88em; background: var(--grey-100); padding: .12em .38em; border-radius: 3px; }
.post-cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; background: var(--char-800); margin-bottom: 2.4rem; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }

.pill { display: inline-block; font-family: var(--data); font-size: .63rem; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 100px; background: var(--grey-200); color: var(--muted); }
.pill-live { background: var(--maroon-200); color: var(--maroon-800); }

.empty-state { text-align: center; padding: clamp(2.5rem, 6vw, 5rem) 1rem; border: 1px dashed var(--grey-300); border-radius: var(--radius-lg); }
.empty-state h3 { margin-bottom: .5rem; }
.empty-state p { color: var(--muted); max-width: 44ch; margin-inline: auto; }

.skeleton { background: linear-gradient(90deg, var(--grey-200) 25%, var(--grey-100) 50%, var(--grey-200) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }
.skeleton-card { height: 320px; }

/* --------------------------------------------------------- 25. Give ribbon */
.ribbon { background: var(--maroon-700); color: #fff; }
.ribbon-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; }
.ribbon p { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.02rem; }

/* -------------------------------------------------------------- 26. Motion */
[data-reveal] { opacity: 0; transform: translateY(16px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- 27. Utils */
.stack > * + * { margin-top: var(--stack, 1.2rem); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1.4rem, 3vw, 2.6rem); }
.center { text-align: center; }
.center .eyebrow, .center .section-head { justify-content: center; margin-inline: auto; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.muted { color: var(--muted); }
.band-maroon .muted, .band-char .muted { color: var(--grey-300); }
.small { font-size: .87rem; }
.mono { font-family: var(--data); }
.figure-note { font-family: var(--data); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; color: var(--char-400); margin-top: .6rem; }
.rounded { border-radius: var(--radius-lg); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* A visible marker for content the client still has to supply.
   Delete this rule before launch and every flag disappears at once. */
.todo { /* review flags disabled in the live build */ }


@media print {
  .masthead, .topbar, .footer, .ribbon, .btn, .verbs { display: none; }
  body { background: #fff; }
}
