@charset "UTF-8";
/* ==========================================================================
   Caritas Bamenda — design system
   --------------------------------------------------------------------------
   One stylesheet, no imports, no external fonts. Everything a page needs
   arrives in a single request. Fonts are a system stack so text paints
   immediately even on a slow 2G connection — no FOIT, no font download.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — sampled from the Caritas Bamenda logo */
  --brand:        #7f0a00;
  --brand-700:    #6a0800;
  --brand-600:    #8f1105;
  --brand-500:    #a81c0e;
  --brand-100:    #f7e9e6;
  --brand-050:    #fdf5f3;

  /* Warm neutrals — cream rather than stark white reads human, not clinical */
  --ink:          #1a1512;
  --ink-2:        #453b35;
  --ink-3:        #6d615a;
  --ink-4:        #94877f;
  --cream:        #fdfaf6;
  --sand:         #f5efe7;
  --sand-2:       #ece3d8;
  --white:        #fff;

  /* Accent — warmth and hope, used sparingly */
  --gold:         #b8862b;
  --gold-100:     #f8f0dd;

  --line:         #e5dbd0;
  --line-strong:  #d3c5b6;

  /* Type scale (fluid, clamped so it never gets silly on either end) */
  --step--1: clamp(.82rem, .8rem + .1vw, .875rem);
  --step-0:  clamp(1rem, .97rem + .15vw, 1.0625rem);
  --step-1:  clamp(1.15rem, 1.09rem + .3vw, 1.35rem);
  --step-2:  clamp(1.35rem, 1.22rem + .6vw, 1.75rem);
  --step-3:  clamp(1.6rem, 1.36rem + 1.1vw, 2.3rem);
  --step-4:  clamp(1.95rem, 1.5rem + 2vw, 3.1rem);
  --step-5:  clamp(2.3rem, 1.6rem + 3.2vw, 4.2rem);

  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --wrap:      1200px;
  --wrap-text: 68ch;
  --gutter:    clamp(1rem, 4vw, 2.5rem);
  --radius:    14px;
  --radius-sm: 8px;

  --shadow-sm: 0 1px 2px rgba(26,21,18,.06), 0 2px 8px rgba(26,21,18,.05);
  --shadow:    0 2px 6px rgba(26,21,18,.07), 0 12px 28px -12px rgba(26,21,18,.18);
  --shadow-lg: 0 4px 12px rgba(26,21,18,.08), 0 28px 60px -24px rgba(26,21,18,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 76px;
}

@media (max-width: 720px) { :root { --header-h: 62px; } }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-600); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--brand-500); }

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

/* <picture> wraps the <img> in the media pipeline. Where a parent stretches
   its image to fill (heroes, cards), the wrapper has to stretch too or the
   object-fit on the inner <img> has nothing to fit into. */
.hero__media picture,
.page-hero__media picture,
.appeal__media picture,
.card__media picture,
.feature-card picture { display: block; width: 100%; height: 100%; }

.feature-card picture { position: absolute; inset: 0; z-index: -2; }
.feature-card picture img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feature-card:hover picture img { transform: scale(1.05); }

ul, ol { margin: 0 0 1.15em; padding-left: 1.3em; }
li { margin-bottom: .4em; }

blockquote {
  margin: 1.8em 0;
  padding: .2em 0 .2em 1.4em;
  border-left: 3px solid var(--brand);
  font-family: var(--serif);
  font-size: var(--step-1);
  font-style: italic;
  color: var(--ink);
}

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: var(--step--1); }
th, td { padding: .7em .9em; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--sand); font-weight: 700; color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection { background: var(--brand-100); color: var(--brand-700); }

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

.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section--sand { background: var(--sand); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: rgba(255,255,255,.82); }
.section--ink h2, .section--ink h3 { color: #fff; }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.stack > * + * { margin-top: 1.15em; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   4. Section headings
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  margin-bottom: .9rem;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::after {
  content: "";
  display: block;
  width: 2.2rem; height: 2px;
  margin-top: .55rem;
  background: var(--brand);
  opacity: .55;
}
.eyebrow--center { }
.eyebrow--center::after { margin-inline: auto; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-3); font-size: var(--step-1); line-height: 1.55; }

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .82em 1.6em;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover {
  background: var(--brand-500);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(127,10,0,.55);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--brand);
}
.btn--ghost:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--sand); color: var(--brand-700); }

.btn--on-dark { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--on-dark:hover { background: #fff; border-color: #fff; color: var(--brand); }

.btn--sm { padding: .6em 1.15em; font-size: .8rem; }
.btn--lg { padding: 1em 2em; font-size: var(--step-0); }

/* Text link with arrow */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brand-600);
}
.arrow-link svg { transition: transform .2s var(--ease); flex: none; }
.arrow-link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,250,246,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}
.header__logo { display: flex; align-items: center; flex: none; margin-right: auto; }
.header__logo img { height: clamp(34px, 4.4vw, 46px); width: auto; }

.nav { display: flex; align-items: center; gap: .1rem; }

.nav__item { position: relative; }

.nav__link {
  display: block;
  padding: .6rem .85rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav__link:hover,
.nav__item:hover > .nav__link,
.nav__link[aria-current="page"] { color: var(--brand); background: var(--brand-050); }

/* Dropdown */
.nav__panel {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 270px;
  padding: .5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__item:hover > .nav__panel,
.nav__item:focus-within > .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }

.nav__panel a {
  display: block;
  padding: .55rem .8rem;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.35;
}
.nav__panel a:hover { background: var(--brand-050); color: var(--brand); }

.header__actions { display: flex; align-items: center; gap: .5rem; flex: none; }

.icon-btn {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.icon-btn:hover { background: var(--sand); color: var(--brand); }

.burger { display: none; }

/* Mobile navigation */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--cream);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.5rem var(--gutter) 4rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .28s var(--ease), visibility .28s;
}
.mobile-nav[data-open="true"] { transform: translateX(0); visibility: visible; }

.mobile-nav__group + .mobile-nav__group { border-top: 1px solid var(--line); }

.mobile-nav__toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1.05rem 0;
  border: 0; background: none;
  color: var(--ink);
  font-family: var(--serif); font-size: 1.2rem; font-weight: 700;
  text-align: left; cursor: pointer;
}
.mobile-nav__toggle svg { transition: transform .22s var(--ease); flex: none; color: var(--brand); }
.mobile-nav__toggle[aria-expanded="true"] svg { transform: rotate(45deg); }

.mobile-nav__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .26s var(--ease);
}
.mobile-nav__sub > div { overflow: hidden; }
.mobile-nav__toggle[aria-expanded="true"] + .mobile-nav__sub { grid-template-rows: 1fr; }

.mobile-nav__sub a {
  display: block;
  padding: .6rem 0 .6rem 1rem;
  border-left: 2px solid var(--line);
  color: var(--ink-2);
  font-size: .96rem;
  text-decoration: none;
}
.mobile-nav__sub a:hover { border-left-color: var(--brand); color: var(--brand); }
.mobile-nav__sub > div > :last-child { margin-bottom: 1rem; }

.mobile-nav__cta { margin-top: 1.75rem; display: grid; gap: .75rem; }
.mobile-nav__cta .btn { justify-content: center; }

body[data-nav-open="true"] { overflow: hidden; }

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header__actions .btn--donate { display: none; }
}

/* Burger icon.
   Flex, not grid: as a grid each bar lands in its own implicit row, so the
   translate that should pull the top and bottom bars together into an X
   only moves them within their own row and the result reads as a chevron. */
.burger { flex-direction: column; align-items: center; justify-content: center; }
@media (max-width: 1024px) { .burger { display: flex; } }

.burger span {
  display: block; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search panel */
.search-panel {
  display: none;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--sand);
}
.search-panel[data-open="true"] { display: block; }
.search-panel form { display: flex; gap: .6rem; max-width: 640px; margin-inline: auto; }
.search-panel input {
  flex: 1;
  padding: .8rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: var(--step-0);
  color: var(--ink);
}
.search-panel input:focus { outline: 2px solid var(--brand-500); outline-offset: 1px; border-color: transparent; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(86vh, 760px);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(20,12,9,.92) 0%, rgba(20,12,9,.62) 38%, rgba(20,12,9,.28) 68%, rgba(20,12,9,.42) 100%),
    linear-gradient(to right, rgba(20,12,9,.55) 0%, rgba(20,12,9,0) 65%);
}

.hero__inner { padding-block: clamp(3rem, 9vw, 6rem); max-width: 50rem; }

.hero h1 {
  color: #fff;
  /* Deliberately below --step-5: the strapline from the database runs to a
     dozen words, and at display size it swallowed the whole first screen. */
  font-size: clamp(1.9rem, 1.35rem + 2.3vw, 3.15rem);
  line-height: 1.14;
  margin-bottom: .7rem;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero__sub {
  margin-bottom: 2rem;
  color: rgba(255,255,255,.9);
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 40rem;
}
.hero__eyebrow { color: #fff; opacity: .95; }
.hero__eyebrow::after { background: var(--gold); opacity: 1; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Compact hero for interior pages */
.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(240px, 40vw, 420px);
  background: var(--brand-700);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(20,12,9,.9) 0%, rgba(20,12,9,.5) 55%, rgba(20,12,9,.3) 100%);
}
.page-hero--plain { min-height: 0; background: var(--sand); }
.page-hero--plain::after { display: none; }
.page-hero--plain .page-hero__inner h1,
.page-hero--plain .page-hero__inner p { color: var(--ink); }
.page-hero--plain .page-hero__inner p { color: var(--ink-3); }

.page-hero__inner { padding-block: clamp(2rem, 5vw, 3.5rem); max-width: 52rem; }
.page-hero__inner h1 { color: #fff; margin-bottom: .35rem; }
.page-hero__inner p { color: rgba(255,255,255,.88); font-size: var(--step-1); margin: 0; }

/* --------------------------------------------------------------------------
   8. Breadcrumbs
   -------------------------------------------------------------------------- */
.crumbs { padding-block: .9rem; font-size: var(--step--1); color: var(--ink-4); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.crumbs li { display: flex; align-items: center; gap: .4rem; margin: 0; }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }

.card__media { position: relative; overflow: hidden; background: var(--sand-2); aspect-ratio: 16 / 10; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.4rem 1.5rem; }
.card__title { font-size: var(--step-1); margin-bottom: .45rem; line-height: 1.25; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* full-card click target */
.card { position: relative; }
.card__text { color: var(--ink-3); font-size: .95rem; line-height: 1.55; margin-bottom: 1rem; }
.card__meta {
  margin-top: auto;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.card__cta { margin-top: auto; }

.card--flat { background: transparent; border: 0; }
.card--flat:hover { transform: none; box-shadow: none; }
.card--flat .card__media { border-radius: var(--radius); }
.card--flat .card__body { padding: 1.1rem 0 0; }

/* Tall feature card with text over the image */
.feature-card {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.feature-card img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.feature-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(20,12,9,.92) 8%, rgba(20,12,9,.35) 58%, rgba(20,12,9,.1) 100%);
}
.feature-card:hover img { transform: scale(1.05); }
.feature-card__body { padding: 1.5rem; }
.feature-card h3 { color: #fff; font-size: var(--step-1); margin-bottom: .35rem; }
.feature-card h3 a { color: inherit; text-decoration: none; }
.feature-card h3 a::after { content: ""; position: absolute; inset: 0; }
.feature-card p { color: rgba(255,255,255,.82); font-size: .92rem; margin: 0; }

/* Simple link tile, used for sub-page indexes */
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.tile:hover { transform: translateX(3px); box-shadow: var(--shadow-sm); background: var(--brand-050); }
.tile__title { font-family: var(--serif); font-size: var(--step-1); font-weight: 700; color: var(--ink); line-height: 1.25; }
.tile__text { color: var(--ink-3); font-size: .92rem; line-height: 1.5; margin: 0; }
.tile__more {
  margin-top: .4rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brand);
}

/* --------------------------------------------------------------------------
   10. Split / media+text
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}
.split__media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.split__body h2 { margin-bottom: .6rem; }

/* --------------------------------------------------------------------------
   11. Statistics band
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem 1rem; }
.stat { text-align: center; padding: .5rem; }
.stat__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
  letter-spacing: -.02em;
}
.section--ink .stat__num { color: var(--gold); }
.stat__label {
  display: block;
  margin-top: .6rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.4;
}
.section--ink .stat__label { color: rgba(255,255,255,.7); }

/* --------------------------------------------------------------------------
   12. Appeal / donation band
   -------------------------------------------------------------------------- */
.appeal {
  position: relative;
  isolation: isolate;
  background: var(--brand-700);
  color: #fff;
  overflow: hidden;
}
.appeal__media { position: absolute; inset: 0; z-index: -2; }
.appeal__media img { width: 100%; height: 100%; object-fit: cover; }
.appeal::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(106,8,0,.96) 0%, rgba(106,8,0,.86) 45%, rgba(26,21,18,.72) 100%);
}
.appeal h2 { color: #fff; }
.appeal__sub { color: rgba(255,255,255,.88); font-size: var(--step-1); margin-bottom: 1.75rem; }
.appeal__sub strong { color: #fff; }

.amounts { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.75rem; }
.amount {
  padding: .7em 1.15em;
  border: 2px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.amount:hover { background: #fff; border-color: #fff; color: var(--brand); transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   12b. Payment details
   -------------------------------------------------------------------------- */
.give {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.give__card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 3vw, 1.9rem);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.give__head { display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1.25rem; }
.give__head h3 { font-size: var(--step-1); margin: 0 0 .15rem; }
.give__provider { margin: 0; color: var(--ink-3); font-size: .92rem; }

.give__icon {
  display: grid; place-items: center;
  flex: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--brand-050);
  color: var(--brand);
}

.give__rows { margin: 0; display: grid; gap: .1rem; }
.give__row {
  display: grid;
  gap: .15rem .9rem;
  padding: .7rem 0;
  border-top: 1px solid var(--line);
}
.give__row:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 480px) {
  .give__row { grid-template-columns: 10.5rem 1fr; align-items: baseline; }
}

.give__row dt {
  font-size: .76rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-4);
}
.give__row dd { margin: 0; color: var(--ink); font-size: .98rem; line-height: 1.45; }

/* Account numbers are read aloud and typed by hand — make them unambiguous */
.give__number {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: .95em;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink);
  word-break: break-word;
}

.give__copy {
  display: inline-flex; align-items: center; gap: .3em;
  margin-left: .5rem;
  padding: .2em .6em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink-3);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  cursor: pointer;
  vertical-align: middle;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.give__copy:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.give__copy[data-copied="true"] { background: #3d8b40; border-color: #3d8b40; color: #fff; }
.no-js .give__copy { display: none; }

.give__note {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: .88rem;
  line-height: 1.55;
}

.give__confirm {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--gold-100);
  border-left: 3px solid var(--gold);
  color: #6b4d13;
  font-size: .92rem;
}

/* --------------------------------------------------------------------------
   13. Rich text (stored content)
   -------------------------------------------------------------------------- */
.prose { max-width: var(--wrap-text); font-size: var(--step-0); line-height: 1.75; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: var(--step-3); margin: 2.2em 0 .5em; }
.prose h3 { font-size: var(--step-2); margin: 1.9em 0 .45em; }
.prose h4 { font-size: var(--step-1); margin: 1.7em 0 .4em; font-family: var(--sans); font-weight: 700; }
.prose img { border-radius: var(--radius-sm); margin: 1.8em 0; box-shadow: var(--shadow-sm); }
.prose a { color: var(--brand-600); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li::marker { color: var(--brand); }
.prose table { display: block; overflow-x: auto; white-space: nowrap; }
.prose--wide { max-width: none; }

/* First paragraph of an article gets a little lift */
.prose--lede > p:first-of-type {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   14. Article / listing
   -------------------------------------------------------------------------- */
.article-head { max-width: var(--wrap-text); }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem;
  margin-bottom: 1.5rem;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-4);
}
.tag {
  display: inline-block;
  padding: .3em .8em;
  border-radius: 999px;
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
}

.article-cover img { width: 100%; border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; }

.listing-tabs {
  display: flex; flex-wrap: wrap; gap: .5rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.listing-tabs a {
  padding: .5em 1.1em;
  border-radius: 999px;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3); text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.listing-tabs a:hover { background: var(--sand); color: var(--brand); }
.listing-tabs a[aria-current] { background: var(--brand); color: #fff; }

/* --------------------------------------------------------------------------
   15. Sub-page sidebar navigation
   -------------------------------------------------------------------------- */
.with-aside { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 960px) {
  .with-aside { grid-template-columns: minmax(0,1fr) 280px; }
  .with-aside--left { grid-template-columns: 280px minmax(0,1fr); }
  .with-aside--left .with-aside__main { order: 2; }
}

.aside-nav { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.aside-nav__title {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-4);
  padding-bottom: .7rem; margin-bottom: .3rem;
  border-bottom: 1px solid var(--line);
}
.aside-nav a {
  display: block;
  padding: .6rem .8rem;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: .93rem; line-height: 1.4;
  text-decoration: none;
}
.aside-nav a:hover { background: var(--sand); color: var(--brand); }
.aside-nav a[aria-current] { background: var(--brand-050); color: var(--brand); font-weight: 700; }

/* --------------------------------------------------------------------------
   16. Partners
   -------------------------------------------------------------------------- */
.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}
.partner {
  display: grid; place-items: center;
  padding: .5rem;
  filter: grayscale(1);
  opacity: .62;
  transition: filter .25s var(--ease), opacity .25s var(--ease), transform .25s var(--ease);
}
.partner:hover { filter: grayscale(0); opacity: 1; transform: translateY(-2px); }
.partner img { max-height: 62px; width: auto; object-fit: contain; }

/* --------------------------------------------------------------------------
   17. Contact
   -------------------------------------------------------------------------- */
.contact-item { padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.contact-item:first-child { padding-top: 0; }
.contact-item__label {
  font-size: .76rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .3rem;
}
.contact-item__value { color: var(--ink); font-size: var(--step-0); line-height: 1.55; }
.contact-item__value a { color: var(--ink); text-decoration: none; }
.contact-item__value a:hover { color: var(--brand); text-decoration: underline; }

.field { margin-bottom: 1.15rem; }
.field label {
  display: block; margin-bottom: .4rem;
  font-size: .85rem; font-weight: 700; color: var(--ink);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit; font-size: var(--step-0);
  color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.field--error input, .field--error textarea { border-color: #c0392b; }
.field__error { margin-top: .35rem; font-size: .82rem; color: #c0392b; }

.notice {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid;
  margin-bottom: 1.5rem;
  font-size: .95rem;
}
.notice--ok    { background: #eef7ee; border-color: #3d8b40; color: #245c27; }
.notice--error { background: #fdeceb; border-color: #c0392b; color: #8e2a20; }
.notice--info  { background: var(--gold-100); border-color: var(--gold); color: #6b4d13; }

/* Honeypot — visually hidden but reachable by bots */
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(255,255,255,.68); font-size: .92rem; }
.footer__top { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

.footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }

.footer__brand img { height: 52px; width: auto; margin-bottom: 1.15rem; }
.footer__brand p { color: rgba(255,255,255,.62); max-width: 32ch; line-height: 1.6; }

.footer h3 {
  color: #fff;
  font-family: var(--sans);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .55rem; }
.footer a { color: rgba(255,255,255,.68); text-decoration: none; line-height: 1.45; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }

.footer__address { font-style: normal; line-height: 1.7; color: rgba(255,255,255,.62); }

.socials { display: flex; gap: .6rem; margin-top: 1.35rem; }
.socials a {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: rgba(255,255,255,.8);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }

.footer__bottom {
  padding-block: 1.35rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* Designer credit — carried over from the original site */
.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  margin: 0;
  color: rgba(255,255,255,.45);
}
.footer__credit svg { color: var(--brand-500); flex: none; }
.footer__credit a { color: rgba(255,255,255,.7); font-weight: 600; }
.footer__credit a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   19. Utilities
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.5rem; }
.center-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

.empty-state {
  padding: clamp(2.5rem, 6vw, 4rem) 1rem;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--sand);
  color: var(--ink-3);
}
.empty-state h3 { color: var(--ink); }

/* Draft / needs-review banner, shown to editors only */
.draft-flag {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35em .8em;
  border-radius: 999px;
  background: var(--gold-100);
  border: 1px solid var(--gold);
  color: #6b4d13;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}

/* Back to top */
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: var(--brand); color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, background .2s;
}
.to-top[data-show="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-500); }

/* Progressive reveal — opt-in, and never hides content without JS */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal[data-seen="true"] { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media print {
  .header, .footer, .to-top, .mobile-nav, .search-panel { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .page-hero { min-height: 0; }
}
