/* ============================================================
   DivineLoveCares Foundation — design system
   Palette : deep pine + harvest gold on warm paper
   Type    : Newsreader (display) / Plus Jakarta Sans (body)
   ============================================================ */

:root {
  /* Colour */
  --pine-900: #0B2F2C;
  --pine-800: #0F3C38;
  --pine-700: #114E48;
  --pine-600: #16615A;
  --pine-500: #1E7A70;
  --pine-100: #E4EFEB;
  --pine-050: #F1F7F4;

  --gold-600: #A9720F;
  --gold-500: #C8871A;
  --gold-400: #E0A73A;
  --gold-200: #F5DFA8;
  --gold-050: #FDF6E6;

  --paper:    #FAF8F4;
  --white:    #FFFFFF;
  --ink:      #12211F;
  --body:     #38504C;
  --muted:    #6B807B;
  --line:     #DDE6E2;
  --line-soft:#EBF1EE;

  --ok:       #17705B;
  --ok-bg:    #E4F3EC;
  --warn:     #8A5A05;
  --warn-bg:  #FCF1DA;
  --bad:      #97331F;
  --bad-bg:   #FAE8E3;

  /* Type */
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Space + shape */
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;

  --shadow-s: 0 1px 2px rgba(11, 47, 44, .06), 0 2px 8px rgba(11, 47, 44, .04);
  --shadow-m: 0 4px 12px rgba(11, 47, 44, .07), 0 12px 32px rgba(11, 47, 44, .06);
  --shadow-l: 0 18px 50px rgba(11, 47, 44, .14);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html { overflow-x: clip; }

/* Belt and braces: a drawer parked off-screen must never widen the page. */
@media (max-width: 980px) {
  .nav:not(.is-open) { visibility: hidden; }
  .nav.is-open { visibility: visible; }
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--pine-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul, ol { padding-left: 1.15rem; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--pine-900);
  color: var(--white);
  padding: .8rem 1.2rem;
  border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; }

.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;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p { text-wrap: pretty; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.6; color: var(--body); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold-500);
}
.eyebrow.on-dark { color: var(--gold-200); }
.eyebrow.on-dark::before { background: var(--gold-400); }

/* ── Layout ────────────────────────────────────────────────── */
.wrap {
  width: min(var(--wrap), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { width: min(760px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-tint { background: var(--pine-050); }
.section-dark { background: var(--pine-900); color: #CFE0DA; }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-top: .9rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.head-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.head-row .section-head { margin-bottom: 0; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 1.9rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--pine-700);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }

.btn-gold   { --btn-bg: var(--gold-500); --btn-fg: #221701; }
.btn-gold:hover { --btn-bg: var(--gold-400); }
.btn-dark   { --btn-bg: var(--pine-900); }
.btn-ghost  { --btn-bg: transparent; --btn-fg: var(--pine-700); border-color: var(--line); }
.btn-ghost:hover { --btn-bg: var(--white); }
.btn-ghost.on-dark { --btn-fg: #E8F1ED; border-color: rgba(255,255,255,.32); }
.btn-ghost.on-dark:hover { --btn-bg: rgba(255,255,255,.1); }
.btn-block  { width: 100%; }
.btn-sm     { padding: .6rem 1.1rem; font-size: .87rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: .93rem;
  color: var(--pine-600);
  text-decoration: none;
}
.link-arrow .icon { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--pine-800); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ── Header ────────────────────────────────────────────────── */
.topbar {
  background: var(--pine-900);
  color: #B9CFC9;
  font-size: .83rem;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: .55rem;
}
.topbar a { color: #DCE9E4; text-decoration: none; }
.topbar a:hover { color: var(--gold-200); }
.topbar-contact { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.topbar-contact span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar .icon { width: 15px; height: 15px; color: var(--gold-400); }
.topbar-social { display: flex; gap: .8rem; }
.topbar-social .icon { width: 17px; height: 17px; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .2s var(--ease);
}
.masthead.is-stuck { box-shadow: var(--shadow-s); }
.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: .85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: auto; height: 46px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--pine-700);
  color: var(--gold-200);
  flex: none;
}
.brand-mark .icon { width: 23px; height: 23px; }
.brand-text { display: grid; line-height: 1.12; }
.brand-name {
  font-family: var(--display);
  font-size: 1.16rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
}
.brand-tag {
  font-size: .66rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .55rem .8rem;
  border-radius: 8px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav a:hover { color: var(--pine-800); background: var(--pine-050); }
.nav a[aria-current="page"] { color: var(--pine-800); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 3px;
  border-radius: 2px;
  background: var(--gold-500);
}

.header-actions { display: flex; align-items: center; gap: .7rem; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: .55rem;
  border: 1.5px solid var(--pine-500);
  border-radius: 10px;
  background: var(--white);
  color: var(--pine-700);
  cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav-toggle:hover { background: var(--pine-700); color: #fff; }
.nav-toggle .icon,
.nav-toggle svg { width: 24px; height: 24px; stroke-width: 2.2; }
.nav-close { display: none; }
.nav-head { display: none; }
.nav-foot { display: none; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }

   /* The drawer is a child of .masthead, and backdrop-filter makes an
     ancestor the containing block for position:fixed descendants — so
     with the blur on, the drawer was trapped inside the header box and
     rendered as a short strip. Drop the blur on mobile; the background
     is opaque enough without it. */
    .masthead {
    z-index: 80;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--paper);
  }

  /* Stacking order, deliberately: drawer 70 > scrim 65 > dock 60. */
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 70;
    width: min(360px, 88vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 0 max(1.5rem, env(safe-area-inset-bottom));
    background: linear-gradient(168deg, var(--pine-900), var(--pine-800) 62%, #0d3a35);
    box-shadow: -18px 0 44px rgba(11, 47, 44, .34);
    transform: translateX(102%);
    transition: transform .32s var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.is-open { transform: translateX(0); }
.nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.05rem 1.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    position: sticky;
    top: 0;
    background: var(--pine-900);
    z-index: 1;
  }
  .nav-head-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-200);
  }
  .nav-close {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
  }
  .nav-close:hover { background: rgba(255, 255, 255, .24); }
  .nav-close svg { width: 18px; height: 18px; }

  .nav a {
    display: flex;
    align-items: center;
    padding: .95rem 1.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    border-radius: 0;
    font-size: 1.02rem;
    font-weight: 500;
    color: #E4EEEB;
    opacity: 0;
    transform: translateX(14px);
    transition: opacity .3s var(--ease), transform .3s var(--ease),
                background-color .15s var(--ease), color .15s var(--ease);
  }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav.is-open a:nth-of-type(1) { transition-delay: .06s; }
  .nav.is-open a:nth-of-type(2) { transition-delay: .10s; }
  .nav.is-open a:nth-of-type(3) { transition-delay: .14s; }
  .nav.is-open a:nth-of-type(4) { transition-delay: .18s; }
  .nav.is-open a:nth-of-type(5) { transition-delay: .22s; }
  .nav.is-open a:nth-of-type(6) { transition-delay: .26s; }
  .nav.is-open a:nth-of-type(7) { transition-delay: .30s; }
  .nav.is-open a:nth-of-type(8) { transition-delay: .34s; }

  .nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
  .nav a[aria-current="page"] {
    color: #fff;
    font-weight: 600;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 3px 0 0 var(--gold-500);
  }
  .nav a[aria-current="page"]::after { display: none; }

  .nav .btn {
    margin: 1.3rem 1.3rem 0;
    justify-content: center;
    border-bottom: 0;
    opacity: 0;
    transform: translateX(14px);
  }
  .nav.is-open .btn { opacity: 1; transform: none; transition-delay: .34s; }

  .nav-foot {
    display: grid;
    gap: .1rem;
    margin: 1.5rem 1.3rem 0;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
  .nav-foot a {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem 0;
    border-bottom: 0;
    font-size: .88rem;
    color: #9FBBB4;
    opacity: 1;
    transform: none;
  }
  .nav-foot a:hover { background: none; color: var(--gold-200); }
  .nav-foot svg { width: 16px; height: 16px; flex: none; color: var(--gold-400); }

  .header-actions .btn-donate { display: none; }

  .nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(6, 30, 28, .58);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease);
    z-index: 65;
  }
  .nav-scrim.is-open { opacity: 1; pointer-events: auto; }

  body.nav-open .dock { opacity: 0; pointer-events: none; }
  .dock { transition: opacity .2s var(--ease); }
}

body.motion-calm .nav,
body.motion-calm .nav a,
body.motion-calm .nav .btn { transition: none; }
@media (max-width: 620px) {
  .topbar .wrap { justify-content: center; }
  .topbar-contact {
    gap: .35rem .9rem;
    justify-content: center;
    font-size: .78rem;
  }
  .topbar-contact span { min-width: 0; }
  .topbar-contact a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60vw;
  }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--pine-900);
  color: #CBDED8;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -55% 45%;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(30, 122, 112, .5), transparent 68%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.hero h1 { color: var(--white); }
.hero h1 em {
  font-style: italic;
  color: var(--gold-400);
}
.hero-lead {
  margin-top: 1.3rem;
  max-width: 54ch;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: #B7CFC9;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-assure {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .13);
  font-size: .86rem;
  color: #9FBBB4;
}
.hero-assure span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-assure .icon { width: 17px; height: 17px; color: var(--gold-400); }

.hero-media { position: relative; }
.hero-frame {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--pine-700);
  box-shadow: var(--shadow-l);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }

.give-card {
  position: absolute;
  left: -1.5rem;
  bottom: -1.75rem;
  width: min(300px, 82%);
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-l);
  color: var(--body);
}
.give-card h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.give-card p { font-size: .84rem; color: var(--muted); margin-bottom: .9rem; }
.give-amounts { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .9rem; }
.give-amounts a {
  padding: .42rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--pine-700);
  text-decoration: none;
  transition: all .15s var(--ease);
}
.give-amounts a:hover { background: var(--pine-700); color: var(--white); border-color: var(--pine-700); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { margin-top: 1rem; }
  .give-card { position: static; width: 100%; margin-top: 1.2rem; }
  .hero-frame { aspect-ratio: 16 / 10; }
}

/* ── Signature: the transparency ledger ────────────────────── */
.ledger { background: var(--white); border-block: 1px solid var(--line); }
.ledger-inner { padding-block: clamp(2.5rem, 5vw, 4rem); }
.ledger-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.ledger-head h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.ledger-head .stamp {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .75rem;
  border: 1px solid var(--gold-200);
  border-radius: 999px;
  background: var(--gold-050);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.ledger-head .stamp .icon { width: 15px; height: 15px; }

.ledger-list { display: grid; gap: 0; }
.ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .8rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line-soft);
}
.ledger-row:first-child { border-top: 1px solid var(--line-soft); }
.ledger-label {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: .6rem;
  min-width: 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
}
/* dotted leader, the way a printed statement lines up its figures */
.ledger-label::after {
  content: "";
  flex: 1 1 auto;
  height: 0;
  min-width: 1.5rem;
  border-bottom: 2px dotted var(--line);
  transform: translateY(-.25rem);
}
.ledger-note {
  display: block;
  margin-top: .15rem;
  font-size: .8rem;
  font-weight: 400;
  color: var(--muted);
}
.ledger-figure {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 600;
  color: var(--pine-700);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ledger-figure sup { font-size: .5em; color: var(--gold-600); top: -.7em; }
.ledger-foot {
  margin-top: 1.4rem;
  font-size: .82rem;
  color: var(--muted);
}
@media (max-width: 560px) {
  .ledger-label::after { display: none; }
  .ledger-row { grid-template-columns: 1fr; gap: .1rem; }
  .ledger-figure { font-size: 1.75rem; }
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--pine-100); }
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--pine-050); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.35rem; flex: 1; }
.card-body h3 { font-size: 1.2rem; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a:hover { color: var(--pine-600); }
.card-body p { font-size: .92rem; }
.card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid var(--line-soft);
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  font-size: .8rem;
  color: var(--muted);
}
.card-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.card-meta .icon { width: 15px; height: 15px; color: var(--pine-500); }

/* Program card — icon-led, no photo needed */
.program-card {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--pine-100); }
.program-icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--pine-050);
  color: var(--pine-600);
}
.program-icon .icon { width: 25px; height: 25px; }
.program-card h3 { font-size: 1.16rem; }
.program-card p { font-size: .91rem; }
.program-card .link-arrow { margin-top: auto; padding-top: .4rem; }

/* Pills + status */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .26rem .7rem;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--pine-050);
  color: var(--pine-700);
}
.pill-gold { background: var(--gold-050); color: var(--gold-600); }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-bad { background: var(--bad-bg); color: var(--bad); }
.pill-muted { background: var(--line-soft); color: var(--muted); }
.card-media .pill { position: absolute; top: .8rem; left: .8rem; background: rgba(255,255,255,.94); }

/* Progress */
.progress {
  height: 7px;
  border-radius: 99px;
  background: var(--line-soft);
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--pine-600), var(--gold-500));
  transition: width 1.1s var(--ease);
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .5rem;
  font-size: .82rem;
  color: var(--muted);
}
.progress-meta strong { color: var(--ink); }

/* ── Story / quote ─────────────────────────────────────────── */
.quote-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quote-card .icon-quote { width: 30px; height: 30px; color: var(--gold-400); }
.quote-card blockquote {
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--ink);
}
.quote-by { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.quote-by img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.quote-by strong { display: block; font-size: .93rem; color: var(--ink); }
.quote-by span { font-size: .82rem; color: var(--muted); }

/* ── Event list ────────────────────────────────────────────── */
.event-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.4rem;
  align-items: center;
  padding: 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.event-row:hover { border-color: var(--pine-100); box-shadow: var(--shadow-s); }
.date-block {
  display: grid;
  place-items: center;
  width: 74px;
  padding: .7rem .4rem;
  border-radius: var(--radius-s);
  background: var(--pine-900);
  color: var(--white);
  text-align: center;
  line-height: 1.05;
}
.date-block .d { font-family: var(--display); font-size: 1.75rem; font-weight: 600; }
.date-block .m { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-200); }
.event-row h3 { font-size: 1.14rem; margin-bottom: .3rem; }
.event-row h3 a { color: inherit; text-decoration: none; }
.event-row h3 a:hover { color: var(--pine-600); }
@media (max-width: 700px) {
  .event-row { grid-template-columns: auto 1fr; }
  .event-row .btn { grid-column: 1 / -1; }
}

/* ── Split feature ─────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split-media img, .split-media .placeholder {
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.checklist { display: grid; gap: .7rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist .icon {
  flex: none;
  width: 21px; height: 21px;
  padding: 3px;
  border-radius: 50%;
  background: var(--pine-050);
  color: var(--pine-600);
  margin-top: .18rem;
}

/* Values / involve grid */
.value-item {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.value-item .num {
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 600;
  color: var(--gold-600);
}
.value-item h3 { font-size: 1.1rem; margin: .4rem 0 .5rem; }
.value-item p { font-size: .92rem; }

/* ── Banner CTA ────────────────────────────────────────────── */
.banner {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border-radius: var(--radius-l);
  background: var(--pine-800);
  color: #C6DBD5;
}
.banner::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 167, 58, .22), transparent 65%);
}
.banner > * { position: relative; }
.banner h2 { color: var(--white); max-width: 22ch; }
.banner p { max-width: 58ch; margin-top: .9rem; }
.banner-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ── Forms ─────────────────────────────────────────────────── */
.form-card {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
}
.field { display: grid; gap: .4rem; margin-bottom: 1.15rem; }
.field > label, .field-label {
  font-size: .87rem;
  font-weight: 600;
  color: var(--ink);
}
.field .req { color: var(--bad); }
.field .hint { font-size: .8rem; color: var(--muted); }

.input, .select, .textarea {
  width: 100%;
  padding: .8rem .95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.input:hover, .select:hover, .textarea:hover { border-color: #C6D4CF; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--pine-500);
  box-shadow: 0 0 0 4px rgba(30, 122, 112, .13);
}
.textarea { min-height: 130px; resize: vertical; }
.select {
  appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B807B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 17px;
}
.has-error .input, .has-error .select, .has-error .textarea { border-color: var(--bad); }
.error-text { font-size: .82rem; color: var(--bad); }

.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 1.1rem; }

.check {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .9rem;
  cursor: pointer;
}
.check input { width: 18px; height: 18px; margin-top: .18rem; accent-color: var(--pine-600); flex: none; }

/* honeypot — hidden from people, visible to naive bots */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Amount chooser */
.amount-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .6rem; }
.amount-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.amount-option span {
  display: grid;
  place-items: center;
  padding: .9rem .5rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all .15s var(--ease);
}
.amount-option:hover span { border-color: var(--pine-500); }
.amount-option input:checked + span {
  border-color: var(--pine-600);
  background: var(--pine-050);
  color: var(--pine-800);
  box-shadow: inset 0 0 0 1px var(--pine-600);
}
.amount-option input:focus-visible + span { outline: 3px solid var(--gold-500); outline-offset: 2px; }

.segmented { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span {
  display: block;
  padding: .5rem 1.15rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s var(--ease);
}
.segmented input:checked + span { background: var(--pine-700); color: var(--white); }

/* ── Alerts ────────────────────────────────────────────────── */
.alert {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .95rem 1.1rem;
  border-radius: var(--radius-s);
  border-left: 3px solid;
  font-size: .92rem;
  margin-bottom: 1.2rem;
}
.alert .icon { width: 19px; height: 19px; flex: none; margin-top: .1rem; }
.alert-success { background: var(--ok-bg); border-color: var(--ok); color: #0E4E3F; }
.alert-error   { background: var(--bad-bg); border-color: var(--bad); color: #7A2A19; }
.alert-info    { background: var(--gold-050); border-color: var(--gold-500); color: #6E4A08; }

.flash-stack { position: relative; z-index: 40; }
.flash-stack .wrap { padding-top: 1.2rem; }

/* ── Page header ───────────────────────────────────────────── */
.page-head {
  padding-block: clamp(2.6rem, 6vw, 4.5rem);
  background: var(--pine-900);
  color: #B7CFC9;
}
.page-head h1 { color: var(--white); max-width: 20ch; }
.page-head p { margin-top: 1rem; max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .82rem; margin-bottom: 1.1rem; color: #86A69F; }
.crumbs a { color: #B7CFC9; text-decoration: none; }
.crumbs a:hover { color: var(--gold-200); }

/* ── Article ───────────────────────────────────────────────── */
.article { font-size: 1.04rem; line-height: 1.78; }
.article p { margin-bottom: 1.25rem; }
.article h2 { margin: 2.2rem 0 .9rem; font-size: 1.65rem; }
.article h3 { margin: 1.8rem 0 .7rem; }
.article ul, .article ol { margin-bottom: 1.25rem; }
.article li { margin-bottom: .4rem; }
.article img { border-radius: var(--radius); margin-block: 1.5rem; }
.article blockquote {
  margin: 1.8rem 0;
  padding: 1.1rem 1.5rem;
  border-left: 3px solid var(--gold-500);
  background: var(--gold-050);
  font-family: var(--display);
  font-size: 1.14rem;
  color: var(--ink);
}

.article-hero {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius-l);
  margin-bottom: 2rem;
}
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  padding-block: 1rem;
  border-block: 1px solid var(--line);
  font-size: .87rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.byline span { display: inline-flex; align-items: center; gap: .4rem; }
.byline .icon { width: 16px; height: 16px; color: var(--pine-500); }

.share { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.share a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--pine-700);
  transition: all .15s var(--ease);
}
.share a:hover { background: var(--pine-700); color: var(--white); border-color: var(--pine-700); }
.share .icon { width: 18px; height: 18px; }

/* Sidebar */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 940px) { .with-aside { grid-template-columns: 1fr; } }
.aside-card {
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 1.3rem;
}
.aside-card h3 { font-size: 1.05rem; margin-bottom: .9rem; }
.aside-list { list-style: none; padding: 0; display: grid; gap: .1rem; }
.aside-list a {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .92rem;
  color: var(--body);
  text-decoration: none;
}
.aside-list a:hover { color: var(--pine-700); }
.aside-list a[aria-current] { color: var(--pine-800); font-weight: 600; }
.aside-list span { color: var(--muted); font-size: .85rem; }

/* Facts table (project details) */
.facts { display: grid; gap: 0; }
.facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .92rem;
}
.facts dt { color: var(--muted); }
.facts dd { font-weight: 600; color: var(--ink); text-align: right; }

/* Timeline for project updates */
.timeline { list-style: none; padding: 0; display: grid; gap: 1.6rem; }
.timeline li { position: relative; padding-left: 1.9rem; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 0; top: .45rem;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--gold-500);
}
.timeline li::after {
  content: "";
  position: absolute;
  left: 5px; top: 1.5rem;
  bottom: -1.6rem;
  width: 1px;
  background: var(--line);
}
.timeline li:last-child::after { display: none; }
.timeline time { font-size: .8rem; color: var(--muted); }
.timeline h4 { margin: .15rem 0 .35rem; }

/* ── Team ──────────────────────────────────────────────────── */
.person { text-align: left; }
.person-photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--pine-050);
  margin-bottom: .9rem;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { font-size: 1.08rem; }
.person .role { font-size: .85rem; color: var(--gold-600); font-weight: 600; margin-bottom: .5rem; }
.person p { font-size: .88rem; }

/* ── Gallery ───────────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .8rem; }
.gallery figure { margin: 0; border-radius: var(--radius-s); overflow: hidden; background: var(--pine-050); }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .4s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

/* ── Empty state ───────────────────────────────────────────── */
.empty {
  display: grid;
  justify-items: center;
  gap: .7rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.empty .icon { width: 34px; height: 34px; color: var(--pine-500); }
.empty h3 { font-size: 1.15rem; }
.empty p { max-width: 46ch; font-size: .93rem; }

/* ── Pagination ────────────────────────────────────────────── */
.pager { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.pager a, .pager span {
  min-width: 42px;
  padding: .55rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  text-align: center;
  font-size: .9rem;
  text-decoration: none;
  color: var(--body);
}
.pager a:hover { border-color: var(--pine-500); color: var(--pine-700); }
.pager .current { background: var(--pine-700); border-color: var(--pine-700); color: var(--white); font-weight: 600; }
.pager .disabled { opacity: .45; }

/* ── Filter bar ────────────────────────────────────────────── */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
  margin-bottom: 2rem;
}
.filters .chip {
  padding: .45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: .87rem;
  color: var(--body);
  text-decoration: none;
}
.filters .chip:hover { border-color: var(--pine-500); }
.filters .chip[aria-current="true"] { background: var(--pine-700); border-color: var(--pine-700); color: var(--white); font-weight: 600; }
.search-inline { display: flex; gap: .5rem; margin-left: auto; }
.search-inline .input { min-width: 210px; }

/* ── Contact ───────────────────────────────────────────────── */
.contact-line {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.contact-line .icon-wrap {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--pine-050);
  color: var(--pine-600);
}
.contact-line .icon { width: 20px; height: 20px; }
.contact-line strong { display: block; font-size: .88rem; color: var(--ink); }
.contact-line a, .contact-line span { font-size: .95rem; color: var(--body); text-decoration: none; }
.contact-line a:hover { color: var(--pine-700); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--pine-050);
  min-height: 320px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ── Footer ────────────────────────────────────────────────── */
.footer { background: var(--pine-900); color: #9FBBB4; padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.footer h4 {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-200);
  margin-bottom: 1.1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  padding-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.footer .brand-name, .footer p { color: #C6DBD5; }
.footer-about p { font-size: .92rem; margin-top: 1.1rem; max-width: 38ch; }
.footer-links { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer-links a { font-size: .93rem; color: #9FBBB4; text-decoration: none; }
.footer-links a:hover { color: var(--gold-200); }
.footer .brand-mark { background: rgba(255,255,255,.08); }

.footer-sub .input {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .18);
  color: var(--white);
}
.footer-sub .input::placeholder { color: #7E9C95; }
.footer-sub .input:focus { border-color: var(--gold-400); box-shadow: 0 0 0 4px rgba(224, 167, 58, .15); }
.footer-sub p { font-size: .87rem; margin-bottom: .9rem; }
.footer-sub form { display: grid; gap: .6rem; }

.footer-social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #C6DBD5;
  transition: all .18s var(--ease);
}
.footer-social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: #221701; }
.footer-social .icon { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.6rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom a { color: #9FBBB4; text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-200); }

/* ── Placeholder art (no photo uploaded yet) ───────────────── */
.placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 25% 22%, rgba(224, 167, 58, .18), transparent 52%),
    radial-gradient(circle at 78% 78%, rgba(30, 122, 112, .22), transparent 55%),
    var(--pine-050);
  color: var(--pine-500);
}
.placeholder .icon { width: 34px; height: 34px; opacity: .5; }
.hero-frame .placeholder { background:
    radial-gradient(circle at 25% 22%, rgba(224, 167, 58, .3), transparent 52%),
    radial-gradient(circle at 78% 78%, rgba(30, 122, 112, .5), transparent 55%),
    var(--pine-700);
  color: var(--gold-200);
}
.hero-frame .placeholder .icon { width: 56px; height: 56px; }

/* ── Motion ────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ── Print ─────────────────────────────────────────────────── */
@media print {
  .masthead, .topbar, .footer, .banner, .nav-toggle, .share { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ============================================================
   ADDED: accessibility modes, accordion, gallery overlays,
   process timeline, partner strip, floating actions.
   ============================================================ */

/* ── Viewing options bar ───────────────────────────────────── */
.access-bar {
  background: var(--pine-900);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: .4rem 0;
}
.access-bar .wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.access-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-right: auto;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #86A7A0;
}
.access-label svg { width: 14px; height: 14px; }
.access-btn {
  padding: .3rem .8rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 99px;
  background: transparent;
  color: #C7DAD5;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.access-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.access-btn[aria-pressed="true"] {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: #241800;
}
.access-reset { color: #86A7A0; }
@media (max-width: 640px) {
  .access-label { display: none; }
  .access-bar .wrap { justify-content: center; }
}

/* ── High contrast mode ────────────────────────────────────
   Real contrast, not a filter: a filter would invert photographs
   and make them unreadable. Text and controls are forced to a
   black/white/yellow scheme that meets WCAG AAA. */
body.contrast-high {
  --paper: #000; --white: #000; --ink: #fff; --body: #fff; --muted: #EDEDED;
  --line: #fff; --line-soft: #9A9A9A;
  --pine-050: #000; --pine-900: #000; --pine-800: #000; --pine-700: #000;
  --gold-500: #FFD400; --gold-400: #FFD400; --gold-200: #FFD400; --gold-050: #000;
  background: #000;
}
body.contrast-high .card,
body.contrast-high .program-card,
body.contrast-high .form-card,
body.contrast-high .aside-card,
body.contrast-high .quote-card,
body.contrast-high .give-card,
body.contrast-high .accordion-item,
body.contrast-high .ledger {
  background: #000;
  border: 2px solid #fff;
  box-shadow: none;
}
body.contrast-high a { color: #FFD400; text-decoration: underline; }
body.contrast-high .btn,
body.contrast-high .btn-gold,
body.contrast-high .btn-dark { background: #FFD400; color: #000; border: 2px solid #FFD400; }
body.contrast-high .btn-ghost { background: #000; color: #fff; border: 2px solid #fff; }
body.contrast-high .hero,
body.contrast-high .section-tint,
body.contrast-high .cta-banner,
body.contrast-high .footer { background: #000; }
body.contrast-high img { filter: grayscale(1) contrast(1.25); }
body.contrast-high .placeholder { background: #000; border: 2px dashed #fff; }

/* ── Larger text mode ──────────────────────────────────────
   Scales the root, so every rem-based size grows together and
   nothing collides. */
body.text-large { font-size: 118%; }
body.text-large .btn { padding-block: .85rem; }

/* ── Reduce motion, chosen deliberately ────────────────────── */
body.motion-calm *,
body.motion-calm *::before,
body.motion-calm *::after {
  animation-duration: .001ms !important;
  transition-duration: .001ms !important;
  scroll-behavior: auto !important;
}
body.motion-calm .reveal { opacity: 1; transform: none; }

/* ── Accordion ─────────────────────────────────────────────── */
.accordion { display: grid; gap: .75rem; }
.accordion-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.accordion-item:hover { border-color: var(--pine-500); }
.accordion-item.is-open { border-color: var(--pine-500); box-shadow: var(--shadow-s); }
.accordion h3 { margin: 0; font-size: 1rem; }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.accordion-trigger:hover { color: var(--pine-700); }
.accordion-mark {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pine-050);
  transition: background-color .2s var(--ease), transform .3s var(--ease);
}
.accordion-mark::before,
.accordion-mark::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto 50%;
  width: 11px;
  height: 2px;
  margin: -1px 0 0 -5.5px;
  border-radius: 2px;
  background: var(--pine-700);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.accordion-mark::after { transform: rotate(90deg); }
.is-open .accordion-mark { background: var(--gold-200); transform: rotate(180deg); }
.is-open .accordion-mark::after { opacity: 0; transform: rotate(0); }
.accordion-panel { overflow: hidden; }
.accordion-body {
  padding: 0 1.3rem 1.3rem;
  color: var(--body);
  font-size: .97rem;
  line-height: 1.75;
}
.accordion-body p + p { margin-top: .8rem; }

/* ── Gallery with hover captions ───────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
.gallery-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--pine-050);
}
/*.gallery-tile:nth-child(6n + 1) { grid-column: span 2; aspect-ratio: 8 / 5; }*/
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery-tile:hover img,
.gallery-tile:focus-visible img { transform: scale(1.06); }
.gallery-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 1.1rem .95rem;
  background: linear-gradient(to top, rgba(11, 47, 44, .92), transparent);
  color: #fff;
  transform: translateY(101%);
  transition: transform .35s var(--ease);
}
.gallery-tile:hover .gallery-cap,
.gallery-tile:focus-visible .gallery-cap { transform: translateY(0); }
.gallery-cap strong { display: block; font-size: 1rem; }
.gallery-cap span { font-size: .84rem; color: #C7DAD5; }
@media (max-width: 560px) {
  .gallery-tile:nth-child(6n + 1) { grid-column: span 1; aspect-ratio: 4 / 3; }
  .gallery-cap { transform: none; background: linear-gradient(to top, rgba(11, 47, 44, .92), transparent); }
}

/* ── Process timeline ──────────────────────────────────────── */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.4rem;
  counter-reset: step;
}
.process-step { position: relative; padding-top: 2.6rem; }
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pine-900);
  color: var(--gold-200);
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 600;
}
.process-step::after {
  content: '';
  position: absolute;
  top: 21px;
  left: 52px;
  right: -1.4rem;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line) 0 6px, transparent 6px 12px);
}
.process-step:last-child::after { display: none; }
.process-step h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.process-step p { font-size: .93rem; color: var(--muted); }
@media (max-width: 780px) { .process-step::after { display: none; } }

/* ── Partner / supporter strip ─────────────────────────────── */
.partner-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  padding: 1.6rem 0;
  border-block: 1px solid var(--line);
}
.partner-strip img { max-height: 46px; width: auto; opacity: .62; filter: grayscale(1); transition: opacity .2s var(--ease), filter .2s var(--ease); }
.partner-strip img:hover { opacity: 1; filter: none; }
.partner-strip .placeholder-logo {
  padding: .55rem 1.2rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: .82rem;
}

/* --- mobile controls safety net --- */
@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    padding: .5rem;
    border: 1px solid #E1E7E4;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; }
}

/* ── Floating dock: back-to-top, donate, chat ──────────────────
   One stack in the corner so the three controls can never overlap
   each other, whatever the viewport. Ordered by frequency of use:
   the thing people reach for most sits nearest the thumb. */
.dock {
  position: fixed;
  right: clamp(.75rem, 3vw, 1.75rem);
  bottom: clamp(.75rem, 3vw, 1.75rem);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .6rem;
}

.to-top {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--pine-700);
  cursor: pointer;
  box-shadow: var(--shadow-s);
}
.to-top svg { width: 18px; height: 18px; transform: rotate(-90deg); }
.to-top:hover { background: var(--pine-050); }
.to-top[hidden] { display: none; }

.fab {
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.25rem;
  border-radius: 99px;
  background: var(--gold-500);
  color: #241800;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(200, 135, 26, .42);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.fab:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(200, 135, 26, .5); }
.fab svg { width: 18px; height: 18px; }

.chat-launcher {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--pine-700);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(11, 47, 44, .38);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.chat-launcher:hover { background: var(--pine-800); transform: translateY(-3px); }
.chat-launcher svg { width: 24px; height: 24px; }
.chat-launcher-close { display: none; }
.chat-launcher[aria-expanded="true"] .chat-launcher-open { display: none; }
.chat-launcher[aria-expanded="true"] .chat-launcher-close { display: block; }

/* A quiet nudge that the panel is there — one pulse, then still. */
.chat-launcher::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--gold-400);
  opacity: 0;
  animation: chat-ping 2.4s var(--ease) 1.2s 2;
}
@keyframes chat-ping {
  0%   { opacity: .9; transform: scale(1); }
  70%  { opacity: 0;  transform: scale(1.45); }
  100% { opacity: 0;  transform: scale(1.45); }
}

@media (max-width: 560px) {
  .fab span { display: none; }
  .fab { padding: .85rem; }
}

/* ── Chat panel ────────────────────────────────────────────── */
.chat-panel {
  position: fixed;
  right: clamp(.75rem, 3vw, 1.75rem);
  bottom: calc(clamp(.75rem, 3vw, 1.75rem) + 68px);
  z-index: 61;
  display: flex;
  flex-direction: column;
  width: min(376px, calc(100vw - 1.5rem));
  max-height: min(560px, calc(100vh - 8rem));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: 0 24px 60px rgba(11, 47, 44, .26);
  overflow: hidden;
  transform-origin: bottom right;
  animation: chat-in .26s var(--ease);
}
.chat-panel[hidden] { display: none; }

@keyframes chat-in {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.chat-head {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .95rem 1rem;
  background: var(--pine-900);
  color: #fff;
}
.chat-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: var(--gold-200);
}
.chat-avatar svg { width: 19px; height: 19px; }
.chat-head h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: .97rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.chat-head p { margin: 0; font-size: .76rem; color: #9FBBB4; }
.chat-x {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
}
.chat-x:hover { background: rgba(255, 255, 255, .2); }
.chat-x svg { width: 16px; height: 16px; }

.chat-log {
  flex: 1;
  min-height: 150px;
  overflow-y: auto;
  padding: 1rem;
  background: var(--pine-050);
  display: flex;
  flex-direction: column;
  gap: .6rem;
  overscroll-behavior: contain;
}

.chat-msg {
  max-width: 86%;
  padding: .65rem .85rem;
  border-radius: 14px;
  font-size: .9rem;
  line-height: 1.6;
  animation: msg-in .2s var(--ease);
}
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.chat-msg.bot {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
  color: var(--body);
}
.chat-msg.user {
  align-self: flex-end;
  background: var(--pine-700);
  border-bottom-right-radius: 5px;
  color: #fff;
}
.chat-msg strong { color: inherit; }
.chat-msg p + p { margin-top: .5rem; }
.chat-msg a.chat-cta {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .55rem;
  padding: .4rem .8rem;
  border-radius: 99px;
  background: var(--gold-500);
  color: #241800;
  font-size: .83rem;
  font-weight: 700;
  text-decoration: none;
}
.chat-msg a.chat-cta:hover { background: var(--gold-600, #A9720F); color: #fff; }

.chat-typing { display: inline-flex; gap: 4px; padding: .2rem 0; }
.chat-typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted);
  animation: chat-blink 1.2s infinite ease-in-out;
}
.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: .7rem 1rem;
  border-top: 1px solid var(--line-soft);
  background: var(--white);
}
.chat-chip {
  padding: .4rem .8rem;
  border: 1px solid var(--pine-500);
  border-radius: 99px;
  background: var(--white);
  color: var(--pine-700);
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.chat-chip:hover { background: var(--pine-700); color: #fff; }

.chat-form {
  display: flex;
  gap: .5rem;
  padding: .7rem 1rem;
  border-top: 1px solid var(--line-soft);
  background: var(--white);
}
.chat-input {
  flex: 1;
  min-width: 0;
  padding: .6rem .8rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: .9rem;
}
.chat-input:focus {
  outline: none;
  border-color: var(--pine-500);
  box-shadow: 0 0 0 3px rgba(30, 122, 112, .14);
}
.chat-send {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: var(--pine-700);
  color: #fff;
  cursor: pointer;
}
.chat-send:hover { background: var(--pine-800); }
.chat-send svg { width: 17px; height: 17px; }

.chat-foot {
  margin: 0;
  padding: .55rem 1rem .75rem;
  background: var(--white);
  border-top: 1px solid var(--line-soft);
  font-size: .74rem;
  color: var(--muted);
  line-height: 1.5;
}
.chat-foot a { color: var(--pine-600); font-weight: 600; }

/* Phone: a sheet anchored to the bottom, not a floating card. */
@media (max-width: 480px) {
  .chat-panel {
    right: 0; left: 0; bottom: 0;
    width: 100%;
    max-height: 88vh;
    border-radius: var(--radius-l) var(--radius-l) 0 0;
    border-left: 0; border-right: 0; border-bottom: 0;
  }
  .chat-log { min-height: 190px; }
}

/* Landscape phones: keep the panel inside the viewport. */
@media (max-height: 460px) {
  .chat-panel { max-height: calc(100vh - 1rem); bottom: .5rem; }
}

body.motion-calm .chat-panel,
body.motion-calm .chat-msg { animation: none; }
body.motion-calm .chat-launcher::after { animation: none; }

body.contrast-high .chat-panel,
body.contrast-high .chat-quick,
body.contrast-high .chat-form,
body.contrast-high .chat-foot { background: #000; border-color: #fff; }
body.contrast-high .chat-log { background: #000; }
body.contrast-high .chat-msg.bot { background: #000; border: 2px solid #fff; color: #fff; }
body.contrast-high .chat-msg.user { background: #FFD400; color: #000; }
body.contrast-high .chat-launcher { background: #FFD400; color: #000; border: 2px solid #FFD400; }

@media print { .dock, .chat-panel, .access-bar { display: none !important; } }

/* ── Programme card with a photograph ──────────────────────
   Falls back to the icon layout when no image is uploaded, so
   the page never shows an empty picture frame. */
.program-card.has-photo { padding: 0; overflow: hidden; }
.program-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--pine-050);
  overflow: hidden;
}
.program-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.program-card.has-photo:hover .program-card-media img { transform: scale(1.05); }
/* A soft wash at the foot of the photo so the card reads as one
   object rather than a picture with text stuck underneath. */
.program-card-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(11, 47, 44, .34), transparent);
  pointer-events: none;
}
.program-card.has-photo .program-card-body {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 1.4rem 1.5rem 1.6rem;
  flex: 1;
}
.program-card.has-photo .program-icon {
  position: absolute;
  left: 1.1rem;
  bottom: -22px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-s);
  z-index: 1;
}
.program-card.has-photo .program-icon .icon { width: 21px; height: 21px; }
.program-card.has-photo .program-card-body h3 { margin-top: .9rem; }

.footer .icon { width: 17px; height: 17px; flex: none; }
/* ── Impact ledger as a card grid ──────────────────────────
   Four full-width rows made the section tall and left a metre of
   empty space between each label and its figure. Same markup,
   laid out as cards: shorter, scannable, and the numbers lead. */
.ledger-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.ledger-row {
  display: flex;
  flex-direction: column-reverse;   /* figure first, label under it */
  align-items: flex-start;
  gap: .35rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.ledger-row:first-child { border-top: 1px solid var(--line); }
.ledger-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-m);
  border-color: var(--pine-100);
}

/* The dotted leader only made sense when the figure was far away. */
.ledger-label::after { display: none; }
.ledger-label {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
}

.ledger-figure {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  line-height: 1;
  color: var(--pine-700);
}
.ledger-figure sup { top: -.55em; }

.ledger-note {
  display: block;
  margin-top: .3rem;
  font-size: .78rem;
  font-weight: 400;
  color: var(--muted);
}

/* A hairline of gold under each figure ties the cards to the brand
   without adding another colour block. */
.ledger-row::after {
  content: '';
  order: -1;
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold-500);
  margin-bottom: .7rem;
}

@media (max-width: 560px) {
  .ledger-list { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .ledger-row { padding: 1.1rem 1rem; }
  .ledger-figure { font-size: 1.9rem; }
  .ledger-label { font-size: .87rem; }
}

/* ── Ledger cards, filled ──────────────────────────────────
   Green cards with white figures, as requested. Text colours are
   set explicitly rather than inherited, so nothing ends up dark
   on dark. */
.ledger-row {
  background: linear-gradient(158deg, var(--pine-800), var(--pine-900));
  border-color: transparent;
}
.ledger-row:hover {
  border-color: var(--gold-400);
  box-shadow: 0 14px 32px rgba(11, 47, 44, .22);
}
.ledger-figure { color: #FFFFFF; }
.ledger-label  { color: #FFFFFF; }
.ledger-note   { color: #A9C4BE; }
.ledger-figure sup { color: var(--gold-400); }
.ledger-row::after { background: var(--gold-400); }

/* High-contrast mode must still win. */
body.contrast-high .ledger-row { background: #000; border: 2px solid #fff; }
body.contrast-high .ledger-figure,
body.contrast-high .ledger-label,
body.contrast-high .ledger-note { color: #fff; }
/* ── Programme cards: a proper header band ─────────────────
   Without a photo the card was an icon floating on white. This
   gives every card a tinted header with the icon set into it, so
   the three read as a designed set rather than a list. When a
   photo is uploaded the band becomes the photo instead. */
.program-card {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.program-card:not(.has-photo)::before {
  content: '';
  display: block;
  height: 108px;
  background:
    radial-gradient(circle at 22% 40%, rgba(224, 167, 58, .20), transparent 62%),
    radial-gradient(circle at 82% 70%, rgba(30, 122, 112, .22), transparent 60%),
    linear-gradient(140deg, var(--pine-050), #E9F2ED);
  border-bottom: 1px solid var(--line-soft);
}

.program-card:not(.has-photo) .program-icon {
  position: absolute;
  top: 68px;
  left: 1.5rem;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-s);
  border: 1px solid var(--line-soft);
  z-index: 1;
}
.program-card:not(.has-photo) .program-icon .icon {
  width: 27px;
  height: 27px;
  color: var(--pine-600);
}

/* The text block sits below the band, clear of the icon. */
.program-card:not(.has-photo) > h3 { margin: 2.6rem 1.5rem 0; }
.program-card:not(.has-photo) > p { margin: .6rem 1.5rem 0; }
.program-card:not(.has-photo) > .link-arrow { margin: auto 1.5rem 1.5rem; padding-top: 1rem; }

/* Titles that run to two lines shouldn't shove the rest down —
   keep every "Learn more" on the same baseline across the row. */
.program-card h3 { min-height: 2.4em; }

.program-card:hover .program-icon { transform: translateY(-2px); }
.program-card .program-icon { transition: transform .2s var(--ease); }

@media (max-width: 560px) {
  .program-card h3 { min-height: 0; }
}
/* ── Process steps as cards ────────────────────────────────
   The numbers were floating above unenclosed text, so the four
   steps did not read as a sequence. Cards on a tinted band give
   them edges; the number sits half-out of the top-left corner so
   the sequence still leads the eye. */
.process {
  gap: 1.1rem;
  padding-top: 1.4rem;   /* room for the numbers to overhang */
}

.process-step {
  padding: 2.2rem 1.4rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: var(--pine-100);
}

.process-step::before {
  top: -18px;
  left: 1.3rem;
  width: 46px;
  height: 46px;
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(11, 47, 44, .26);
  border: 3px solid var(--paper);
}

/* Dotted rule between the numbers, not across the whole card. */
.process-step::after {
  top: 4px;
  left: calc(1.3rem + 52px);
  right: -1.1rem;
  background: repeating-linear-gradient(to right, var(--line) 0 5px, transparent 5px 11px);
}

.process-step h3 { font-size: 1.08rem; color: var(--ink); }
.process-step p { color: var(--body); font-size: .92rem; }

/* Two-up on tablets reads better than four cramped columns. */
@media (max-width: 1000px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2)::after { display: none; }
}
@media (max-width: 620px) {
  .process { grid-template-columns: 1fr; gap: 1.4rem; }
  .process-step::after { display: none; }
}

body.contrast-high .process-step { background: #000; border: 2px solid #fff; }
body.contrast-high .process-step h3,
body.contrast-high .process-step p { color: #fff; }
/* ── About split: give the photo some weight ───────────────
   A framed photo with a gold underline reads as deliberate; a
   bare rounded rectangle reads as a placeholder that happens to
   have an image in it. */
.split-media { position: relative; }
.split-media img,
.split-media .placeholder {
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-l);
}
/* A pine panel offset behind the photo, and a gold rule along the
   base — the same two colours as the rest of the page. */
.split-media::before {
  content: '';
  position: absolute;
  inset: -14px auto -14px -14px;
  width: 58%;
  border-radius: var(--radius-l);
  background: var(--pine-050);
  z-index: -1;
}
.split-media::after {
  content: '';
  position: absolute;
  left: 1.5rem;
  right: 30%;
  bottom: -8px;
  height: 5px;
  border-radius: 5px;
  background: var(--gold-500);
}

/* The lead paragraph carries the whole section — let it breathe
   and stop it running the full column width. */
.split .lead {
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.35vw, 1.12rem);
  line-height: 1.72;
}

/* Checklist items as separated rows rather than a run-on list. */
.checklist { gap: 0; margin-top: 1.8rem; }
.checklist li {
  padding: .85rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.checklist li:first-child { border-top: 1px solid var(--line-soft); }
.checklist li strong { color: var(--ink); }

@media (max-width: 900px) {
  .split-media::before { display: none; }
  .split-media::after { right: 20%; }
}

/* ── Gallery mosaic ────────────────────────────────────────
   A six-column grid with a repeating span pattern. The large
   tile is three wide AND two tall, which is what stops the hole
   the old version left — a wide-but-short tile can't fill the
   row beside it. */
.gallery-grid {
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
  gap: .9rem;
}
.gallery-tile { aspect-ratio: auto; height: 100%; }

.gallery-tile:nth-child(6n + 1) { grid-column: span 3; grid-row: span 2; }
.gallery-tile:nth-child(6n + 2) { grid-column: span 3; }
.gallery-tile:nth-child(6n + 3) { grid-column: span 3; }
.gallery-tile:nth-child(6n + 4) { grid-column: span 2; }
.gallery-tile:nth-child(6n + 5) { grid-column: span 2; }
.gallery-tile:nth-child(6n + 6) { grid-column: span 2; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 165px; }
  .gallery-tile:nth-child(6n + 1) { grid-column: span 4; grid-row: span 2; }
  .gallery-tile:nth-child(6n + 2),
  .gallery-tile:nth-child(6n + 3) { grid-column: span 2; }
  .gallery-tile:nth-child(6n + 4),
  .gallery-tile:nth-child(6n + 5),
  .gallery-tile:nth-child(6n + 6) { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: .6rem; }
  .gallery-tile:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
  .gallery-tile:nth-child(n) { grid-column: span 1; }
  .gallery-tile:nth-child(6n + 1) { grid-column: span 2; }
}

.gallery-more { display: flex; justify-content: center; margin-top: 1.8rem; }