/* =====================================================================
   PRDS — Prabhat Rural Development Society
   Design system, 2026 redesign.

   The look is taken from the Society's own logo: a rose-red sun rising
   over furrowed fields. Rose is the brand colour, saffron is the sun,
   a pale sky wash sits at the top of every page, and the body is warm
   paper. Every heading is in capital letters: Anton for page and section
   titles, Oswald for card and item headings. DM Serif Display is kept for
   quotations, Figtree for reading.

   Every colour is a token here in :root — change it once and the whole
   site follows.
   ===================================================================== */

:root {
  --rose: #b83a62;
  --rose-d: #8e2649;
  --rose-50: #fbeef2;
  --rose-100: #f5d9e2;
  --sun: #f0942b;
  --sun-d: #d4760f;
  --sun-50: #fff3e3;
  --sky: #e9f3fa;
  --sky-2: #d6e8f5;
  --blue: #2c6fa3;
  --ink: #231a1f;
  --ink-2: #5b4d54;
  --ink-3: #8a7c83;
  --paper: #fffcf8;
  --paper-2: #f8f1ea;
  --line: #eadfd7;
  --plum: #2a1520;
  --white: #fff;

  --f-caps: "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --f-head: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(35, 26, 31, .06), 0 4px 14px rgba(35, 26, 31, .05);
  --shadow: 0 2px 6px rgba(35, 26, 31, .06), 0 18px 40px rgba(35, 26, 31, .09);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 400; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.wrap.narrow { --wrap: 820px; }
section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
section.tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.tone-paper2 { background: var(--paper-2); }
.tone-rose { background: var(--rose-50); }
.tone-sky { background: var(--sky); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 700 .78rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--rose);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--sun), var(--rose)); border-radius: 2px; }
.eyebrow.center::after { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--rose), var(--sun)); border-radius: 2px; }
.title { font-family: var(--f-caps); text-transform: uppercase; font-size: clamp(1.75rem, 3.4vw, 2.7rem); line-height: .98; letter-spacing: .005em; margin: .7rem 0 0; }
.title em, .title .rose { font-style: normal; color: var(--rose); }
.caps { font-family: var(--f-caps); text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.head .lede { margin-top: 1rem; }
.head.center { text-align: center; }
.head.center .lede { margin-inline: auto; }
.head.split { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }
.head.split .lede { margin: 0; max-width: 46ch; }
.prose p { color: var(--ink-2); }
.prose p:first-child::first-letter { font-family: var(--f-serif); float: left; font-size: 3.6em; line-height: .8; padding: .08em .12em 0 0; color: var(--rose); }
.prose.plain p:first-child::first-letter { all: unset; }
.prose ul { padding-left: 1.2rem; color: var(--ink-2); }
.prose li { margin: .35rem 0; }
.prose li::marker { color: var(--rose); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--rose); --fg: #fff;
  display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
  padding: .85rem 1.4rem; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; white-space: nowrap;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
  box-shadow: 0 6px 18px rgba(184, 58, 98, .22);
}
.btn:hover { background: var(--rose-d); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn.sun { --bg: var(--sun); box-shadow: 0 6px 18px rgba(240, 148, 43, .28); }
.btn.sun:hover { background: var(--sun-d); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--rose); color: var(--rose); }
.btn.light { background: #fff; color: var(--rose-d); box-shadow: none; }
.btn.small { padding: .55rem 1rem; font-size: .85rem; }
.link { color: var(--rose); font-weight: 700; display: inline-flex; gap: .35rem; align-items: center; }
.link:hover { color: var(--rose-d); }
.link i { font-style: normal; transition: transform .2s var(--ease); }
.link:hover i { transform: translateX(4px); }

/* ---------- header ---------- */
.nav {
  position: sticky; top: 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 max(1.25rem, (100% - var(--wrap)) / 2);
  background: rgba(255, 252, 248, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(35, 26, 31, .05); }
.brand { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.brand img { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .02em; font-weight: 700; font-size: 1.32rem; line-height: 1.05; color: var(--ink); }
.brand-text span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); font-weight: 700; margin-top: .2rem; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: .15rem; }
.nav-links > a, .drop-trigger {
  display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .8rem; border-radius: 999px;
  font-weight: 600; font-size: .94rem; color: var(--ink); transition: background .2s, color .2s;
}
.nav-links > a:hover, .drop-trigger:hover, .nav-drop:focus-within .drop-trigger { background: var(--rose-50); color: var(--rose-d); }
.nav-links > a.active, .drop-trigger.active { color: var(--rose); }
.drop-trigger svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-drop { position: relative; }
/* the mega menu centres on the header, not on its button, so it never runs off the screen */
.nav-drop:has(.mega) { position: static; }
.nav-drop:hover .drop-trigger svg, .nav-drop.open .drop-trigger svg { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 260px;
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .5rem;
  box-shadow: var(--shadow); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu, .nav-drop.open .drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-menu a { display: flex; flex-direction: column; padding: .6rem .8rem; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.drop-menu a small { font-weight: 500; color: var(--ink-3); font-size: .78rem; }
.drop-menu a:hover, .drop-menu a.active { background: var(--rose-50); color: var(--rose-d); }
/* the Programmes mega menu: one column per supporter */
.drop-menu.mega { display: grid; grid-template-columns: repeat(4, minmax(200px, 1fr)); gap: .25rem 1rem; padding: 1rem; min-width: 900px; left: 50%; }
.mega-col h5 { text-transform: uppercase; margin: .2rem .8rem .5rem; font: 700 .7rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--sun-d); }
.mega-sup { display: flex !important; flex-direction: row !important; align-items: center; gap: .65rem; padding: .55rem .6rem !important; margin-bottom: .35rem; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line); }
.mega-sup img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: #fff; flex-shrink: 0; }
.mega-sup b { display: block; font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: .92rem; line-height: 1.15; color: var(--ink); }
.mega-sup small { display: block; }
.mega-sup:hover, .mega-sup.active { background: var(--rose-50) !important; border-color: var(--rose-100); }
.mega-col > a:not(.mega-sup) { padding-left: 1.1rem; position: relative; }
.mega-col > a:not(.mega-sup)::before { content: ""; position: absolute; left: .45rem; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--sun); transform: translateY(-50%); }
.mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .5rem; }
.mega-foot a { flex-direction: row; justify-content: space-between; color: var(--rose); }
.nav .btn, .nav-links > a.btn { margin-left: .6rem; color: #fff; background: var(--rose); padding: .6rem 1.15rem; }
.nav-links > a.btn:hover { background: var(--rose-d); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border-radius: 12px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  /* a backdrop-filter would make the header the containing block of the fixed drawer and clip it to the header height */
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 1rem 1.25rem 3rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden;
  }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links > a, .drop-trigger { width: 100%; justify-content: space-between; padding: .95rem .6rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .drop-menu, .drop-menu.mega {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; min-width: 0;
    display: none; padding: .3rem 0 .6rem .6rem; grid-template-columns: 1fr;
  }
  .nav-drop.open .drop-menu { display: block; transform: none; }
  .nav-drop.open .drop-menu.mega { display: grid; }
  .nav-drop:hover .drop-menu { transform: none; }
  .nav .btn { margin: 1.2rem 0 0; }
}
@media (max-width: 1240px) { .brand-text b { font-size: 1.12rem; } .nav-links > a, .drop-trigger { padding: .5rem .6rem; font-size: .9rem; } }
@media (max-width: 520px) { .brand-text b { font-size: .95rem; max-width: 19ch; } .brand-text span { display: none; } .brand img { width: 44px; } }

/* ---------- home hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); background: linear-gradient(180deg, var(--sky) 0%, var(--sky) 40%, var(--paper) 100%); overflow: hidden; }
.hero-rays { position: absolute; left: 50%; top: -60px; width: min(1100px, 140vw); transform: translateX(-50%); opacity: .55; pointer-events: none; }
/* on Home the whole sunrise — every ray and the sun itself — sits inside the top of the page */
.hero > .hero-rays { top: -40px; left: 0; transform: none; width: min(900px, 120vw); opacity: .55; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.hero-kicker { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem .45rem .5rem; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: .82rem; font-weight: 600; color: var(--ink-2); margin-bottom: 1.4rem; }
.hero-kicker i { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 50% 60%, var(--sun) 45%, transparent 47%), var(--sun-50); }
.hero h1 { font-family: var(--f-caps); text-transform: uppercase; font-size: clamp(3rem, 7.4vw, 7rem); line-height: .9; letter-spacing: .005em; color: var(--ink); }
.hero h1 .rose { color: var(--rose); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; }
.hero-copy .lede { margin: 1.6rem 0 1.8rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
/* Our guiding lights, beside the headline */
.hero-lights .title { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.hero-lights .glight + .glight { margin-top: 1rem; }
.hero-lights .glight { margin: 0; box-shadow: var(--shadow-sm); grid-template-columns: 150px 1fr; gap: 1.5rem; padding: 1.5rem 1.7rem; }
.hero-lights .glight img { width: 150px; }
.hero-lights .glight p { font-size: clamp(1.1rem, 1.55vw, 1.32rem); line-height: 1.38; }
.hero-lights .glight cite { font-size: .98rem; }
@media (max-width: 480px) { .hero-lights .glight { grid-template-columns: 1fr; } .hero-lights .glight img { width: 120px; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
/* The home film is an ultra-wide picture (about 4:1 — YouTube's own storyboard
   frames are 179x45) that YouTube letterboxes inside a 16:9 player. The frame takes
   the film's real shape and the 16:9 player sits centred inside it, so the black
   bars fall outside the frame and nothing of the picture is cut. */
.hero-film {
  position: relative; margin: clamp(2rem, 4vw, 3.2rem) auto 0; aspect-ratio: 179 / 45;
  width: min(1500px, 100% - 2.5rem);
  background: #000; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.hero-film img, .hero-film iframe { position: absolute; left: 0; top: 50%; width: 100%; height: auto; aspect-ratio: 16 / 9; transform: translateY(-50%); border: 0; }
.hero-film .poster { object-fit: cover; }
.hero-film iframe { pointer-events: none; }
.hero-film .poster { transition: opacity 1s ease; z-index: 1; }
.hero-film.playing .poster { opacity: 0; }
.film-sound { position: absolute; z-index: 3; right: 1rem; bottom: 1rem; display: inline-flex; gap: .55rem; align-items: center; padding: .7rem 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink); font-weight: 700; font-size: .9rem; box-shadow: var(--shadow); }
.film-sound svg { width: 16px; height: 16px; color: var(--blue); }
.film-sound:hover { background: #fff; color: var(--rose); }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
}

/* ---------- impact numbers ---------- */
.impact { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.impact > div { padding: clamp(1.3rem, 3vw, 2.2rem); border-right: 1px solid var(--line); }
.impact > div:last-child { border-right: 0; }
.impact b { display: block; font-family: var(--f-caps); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--rose); }
.impact > div > span { display: block; margin-top: .45rem; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.impact.lift { position: relative; margin-top: -3.2rem; z-index: 4; }
@media (max-width: 760px) { .impact { grid-template-columns: repeat(2, 1fr); } .impact > div:nth-child(2) { border-right: 0; } .impact > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .impact.lift { margin-top: -1.5rem; } }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4rem); background: linear-gradient(180deg, var(--sky), var(--paper)); overflow: hidden; }
.page-hero .hero-rays { top: -140px; opacity: .4; width: min(900px, 130vw); left: auto; right: -160px; transform: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .85rem; color: var(--ink-3); margin-bottom: 1.3rem; position: relative; }
.crumbs a:hover { color: var(--rose); }
.crumbs span[aria-hidden] { color: var(--line); }
.page-hero h1 { font-family: var(--f-caps); text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 4rem); line-height: .92; margin-top: .8rem; position: relative; }
.page-hero h1 .rose { color: var(--rose); }
.page-hero .lede { margin-top: 1.1rem; position: relative; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; position: relative; }
.page-hero-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: var(--paper-2); position: relative; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-photo figcaption { position: absolute; left: .8rem; bottom: .8rem; padding: .35rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .75rem; font-weight: 700; color: var(--ink-2); }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; position: relative; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.chip.rose { background: var(--rose-50); border-color: var(--rose-100); color: var(--rose-d); }
.chip.sun { background: var(--sun-50); border-color: #fbdcb4; color: var(--sun-d); }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.3rem, 2.4vw, 1.8rem); box-shadow: var(--shadow-sm); }
.card h3 { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .02em; font-weight: 500; font-size: 1.3rem; margin: .2rem 0 .5rem; }
.card p { color: var(--ink-2); font-size: .98rem; margin: 0; }
.card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: var(--rose-50); margin-bottom: 1rem; }

/* programme card — a photograph across the top */
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; height: 100%; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pcard-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); position: relative; }
.pcard-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard-photo img { transform: scale(1.05); }
.pcard-photo .tag { position: absolute; left: .8rem; top: .8rem; padding: .3rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--rose-d); }
.pcard-body { padding: 1.2rem 1.35rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .02em; font-weight: 500; font-size: 1.3rem; line-height: 1.12; }
.pcard-body p { color: var(--ink-2); font-size: .95rem; margin: .5rem 0 1rem; }
.pcard-body .link { margin-top: auto; font-size: .92rem; }
.pcard-fig { display: flex; gap: 1rem; margin: 0 0 1rem; padding-top: .8rem; border-top: 1px dashed var(--line); }
.pcard-fig div b { display: block; font-family: var(--f-caps); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--rose); }
.pcard-fig div span { font-size: .75rem; color: var(--ink-3); font-weight: 600; }

/* supporter card */
.scard { display: grid; grid-template-columns: 120px 1fr; gap: 1.3rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scard-logo { aspect-ratio: 1; border-radius: 16px; background: var(--paper-2); display: grid; place-items: center; overflow: hidden; font-size: 2.6rem; }
.scard-logo img { width: 100%; height: 100%; object-fit: cover; }
.scard h3 { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .02em; font-weight: 500; font-size: 1.4rem; }
.scard small { display: block; color: var(--sun-d); font-weight: 700; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .2rem; }
.scard p { color: var(--ink-2); font-size: .93rem; margin: .45rem 0 .6rem; }
@media (max-width: 520px) { .scard { grid-template-columns: 1fr; } .scard-logo { width: 96px; } }

/* split: text + picture */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.flip > :first-child { order: 2; }
.split-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); background: var(--paper-2); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-photo.stack { overflow: visible; background: none; box-shadow: none; }
.split-photo.stack img { border-radius: var(--r-lg); box-shadow: var(--shadow); }
.split-photo.stack img + img { position: absolute; width: 46%; right: -1rem; bottom: -1.6rem; aspect-ratio: 1; border: 6px solid var(--paper); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* figures inside a programme */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.figure { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.3rem 1.2rem; position: relative; overflow: hidden; }
.figure::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--sun), var(--rose)); }
.figure b { display: block; font-family: var(--f-caps); font-weight: 400; font-size: clamp(2.1rem, 4vw, 2.8rem); line-height: 1; color: var(--ink); }
.figure span { display: block; margin-top: .45rem; color: var(--ink-2); font-size: .9rem; line-height: 1.35; }

/* data table */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
table.data th, table.data td { padding: .8rem 1rem; text-align: right; border-bottom: 1px solid var(--line); }
table.data th:first-child, table.data td:first-child { text-align: left; }
table.data thead th { background: var(--paper-2); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; }
table.data tfoot td { font-weight: 800; background: var(--rose-50); color: var(--rose-d); border-bottom: 0; }
table.data tbody tr:hover { background: var(--sky); }
.table-note { font-size: .88rem; color: var(--ink-3); margin-top: .8rem; }

/* document cards — reports and case studies */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.doc {
  display: grid; grid-template-columns: 54px 1fr; gap: 1rem; align-items: start; text-align: left; width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem;
  transition: border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.doc:hover { border-color: var(--rose-100); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.doc-cover { width: 54px; aspect-ratio: 3 / 4; border-radius: 6px; background: var(--rose-50); display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.doc-cover::after { content: "PDF"; font: 800 .62rem/1 var(--f-body); letter-spacing: .08em; color: var(--rose); }
.doc-cover canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.doc-cover.is-loaded canvas { opacity: 1; }
.doc-cover.is-loaded::after { display: none; }
.doc.case .doc-cover { background: var(--sun-50); }
.doc.case .doc-cover::after { content: "STORY"; color: var(--sun-d); font-size: .5rem; }
.doc b { display: block; font-family: var(--f-head); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; font-size: 1rem; line-height: 1.25; }
.doc small { display: block; color: var(--ink-3); font-size: .84rem; line-height: 1.4; margin-top: .3rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.doc .go { display: inline-block; margin-top: .5rem; font-size: .8rem; font-weight: 700; color: var(--rose); }

/* people — case-study portraits */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.2rem; }
.person { text-align: center; }
.person .face { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--rose-50); margin: 0 auto .7rem; padding: 5px; background-image: linear-gradient(135deg, var(--sun), var(--rose)); transition: transform .3s var(--ease); }
.person .face img, .person .face span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; display: grid; place-items: center; background: var(--rose-50); font-family: var(--f-serif); font-size: 2.4rem; color: var(--rose); }
.person:hover .face { transform: scale(1.04); }
.person b { display: block; font-family: var(--f-head); font-weight: 500; text-transform: uppercase; letter-spacing: .03em; }
.person small { color: var(--rose); font-weight: 700; font-size: .8rem; }

/* video cards */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.2rem; }
.vcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vthumb { position: relative; aspect-ratio: 16 / 9; background: var(--plum) center / cover no-repeat; display: block; width: 100%; }
.vthumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .35), transparent 55%); }
.vplay { position: absolute; z-index: 1; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); transition: transform .3s var(--ease), background .2s; }
.vplay svg { width: 20px; height: 20px; color: var(--blue); margin-left: 3px; }
.vcard:hover .vplay { transform: scale(1.1); }
.vcat { position: absolute; z-index: 1; left: .7rem; top: .7rem; padding: .25rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: .7rem; font-weight: 700; color: var(--rose-d); }
.vmeta { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.vmeta b { font-family: var(--f-head); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; line-height: 1.25; font-size: 1.02rem; }
.vmeta small { color: var(--ink-3); font-size: .86rem; margin-top: .25rem; }
.vacts { display: flex; gap: .5rem; margin-top: auto; padding-top: .9rem; }
.vbtn { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.vbtn.watch { background: var(--sky); color: var(--blue); }
.vbtn.watch:hover { background: var(--sky-2); }
.vbtn.read { background: var(--rose-50); color: var(--rose-d); }
.vbtn.read:hover { background: var(--rose-100); }
.vbtn svg { width: 12px; height: 12px; }

/* the big film card */
.film-feature { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; background: var(--plum); color: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; }
.film-feature .vthumb { aspect-ratio: auto; min-height: 320px; }
.film-feature .vplay { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.film-feature .vplay svg { width: 28px; height: 28px; }
.film-feature-copy { padding: clamp(1.6rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.film-feature-copy .eyebrow { color: var(--sun); }
.film-feature-copy h3 { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .02em; font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: .8rem 0; }
.film-feature-copy p { color: rgba(255, 255, 255, .75); }
@media (max-width: 820px) { .film-feature { grid-template-columns: 1fr; } .film-feature .vthumb { min-height: 0; aspect-ratio: 16 / 9; } }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter { padding: .5rem .95rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.filter i { font-style: normal; color: var(--ink-3); font-weight: 500; margin-left: .2rem; }
.filter:hover { border-color: var(--rose-100); color: var(--rose-d); }
.filter.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter.on i { color: rgba(255, 255, 255, .6); }
.search { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1rem; margin-bottom: 1rem; max-width: 460px; }
.search svg { width: 18px; height: 18px; color: var(--ink-3); flex-shrink: 0; }
.search input { border: 0; outline: 0; font: inherit; width: 100%; background: transparent; }
.count { font-size: .88rem; color: var(--ink-3); margin-bottom: 1rem; }
.more { text-align: center; margin-top: 2rem; }

/* quote */
.quote { position: relative; text-align: center; max-width: 880px; margin-inline: auto; }
.quote blockquote { margin: 0; font-family: var(--f-serif); font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.3; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 5rem; line-height: .6; color: var(--sun); margin-bottom: .6rem; }
.quote cite { display: block; margin-top: 1.2rem; font-style: normal; font-weight: 700; color: var(--rose); letter-spacing: .04em; }

/* guiding lights */
.lights { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.glight { display: grid; grid-template-columns: 120px 1fr; gap: 1.4rem; align-items: center; background: #fff; border-radius: var(--r-lg); padding: 1.4rem; border: 1px solid var(--line); }
.glight img { width: 120px; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 50%; border: 5px solid var(--sun-50); }
.glight p { font-family: var(--f-serif); font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.4; margin: 0 0 .6rem; }
.glight cite { font-style: normal; font-weight: 700; color: var(--rose); font-size: .9rem; }
@media (max-width: 860px) { .lights { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .glight { grid-template-columns: 1fr; text-align: center; } .glight img { margin: 0 auto; width: 110px; } }

/* where we work */
.mandals { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: 1.6rem; }
.mandal { display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; font-weight: 700; }
.mandal i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--rose-50); color: var(--rose); font-style: normal; font-size: .95rem; }
.mandal small { display: block; font-weight: 500; color: var(--ink-3); font-size: .78rem; }
.sunmap { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 55%, var(--sun-50), var(--rose-50) 60%, var(--sky) 61%); display: grid; place-items: center; max-width: 440px; margin-inline: auto; width: 100%; }
.sunmap img { width: 58%; opacity: .95; }

/* timeline (about) */
.timeline { position: relative; display: grid; gap: 1.2rem; }
.timeline::before { content: ""; position: absolute; left: 19px; top: .5rem; bottom: .5rem; width: 2px; background: linear-gradient(180deg, var(--sun), var(--rose)); }
.tl { position: relative; padding-left: 3.4rem; }
.tl::before { content: ""; position: absolute; left: 10px; top: .35rem; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--rose); }
.tl small { font-weight: 700; letter-spacing: .12em; font-size: .72rem; color: var(--sun-d); text-transform: uppercase; }
.tl h3 { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .02em; font-weight: 500; font-size: 1.4rem; margin: .2rem 0 .3rem; }
.tl p { color: var(--ink-2); margin: 0; }

/* legal ledger */
.ledger { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.ledger-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.3rem; }
.ledger-item span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); }
.ledger-item b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: 1.45rem; margin: .3rem 0 .2rem; }
.ledger-item small { color: var(--ink-3); font-size: .85rem; }

/* board */
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.3rem; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); margin: 0; }
.member-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.avatar { width: 96px; height: 96px; flex-shrink: 0; border-radius: 50%; padding: 4px; background: linear-gradient(135deg, var(--sun), var(--rose)); position: relative; }
.avatar > span, .avatar img { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; background: var(--rose-50); display: grid; place-items: center; font-family: var(--f-serif); font-size: 1.8rem; color: var(--rose); object-fit: cover; object-position: 50% 20%; }
.avatar img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); }
.member h3 { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .02em; font-weight: 500; font-size: 1.45rem; }
.role { display: inline-block; margin-top: .3rem; padding: .25rem .65rem; border-radius: 999px; background: var(--rose-50); color: var(--rose-d); font-size: .75rem; font-weight: 700; }
.role.alt { background: var(--sky); color: var(--blue); }
.member .loc { font-size: .85rem; color: var(--ink-3); margin: 0 0 .6rem; }
.member .bio { font-size: .94rem; color: var(--ink-2); margin: 0; }

/* annual report ledger */
.years { display: grid; gap: 1rem; }
.year { display: grid; grid-template-columns: 130px 1fr 1fr; gap: 1rem; align-items: stretch; }
.year-label { display: flex; flex-direction: column; justify-content: center; border-radius: var(--r); background: var(--paper-2); padding: 1rem; text-align: center; }
.year-label b { font-family: var(--f-caps); font-weight: 400; font-size: 1.7rem; line-height: 1; }
.year-label small { color: var(--rose); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .3rem; }
.year.latest .year-label { background: var(--rose); color: #fff; }
.year.latest .year-label small { color: #fff; }
@media (max-width: 760px) { .year { grid-template-columns: 1fr; } }

/* donate */
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.amount { border: 1.5px solid var(--line); border-radius: 14px; padding: .9rem; text-align: left; background: #fff; transition: all .2s; }
.amount b { display: block; font-family: var(--f-caps); font-weight: 400; font-size: 1.6rem; }
.amount small { color: var(--ink-3); font-size: .8rem; }
.amount:hover { border-color: var(--rose-100); }
.amount.active { border-color: var(--rose); background: var(--rose-50); }
@media (max-width: 520px) { .amounts { grid-template-columns: repeat(2, 1fr); } }

/* call to action band */
.cta { position: relative; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--rose-d), var(--rose) 55%, var(--sun)); color: #fff; padding: clamp(2.2rem, 5vw, 4rem); display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; }
.cta .hero-rays { opacity: .18; right: -180px; left: auto; top: -120px; width: 620px; transform: none; filter: brightness(0) invert(1); }
.cta h2 { font-family: var(--f-caps); text-transform: uppercase; font-size: clamp(1.8rem, 3.8vw, 2.9rem); line-height: .95; position: relative; }
.cta p { color: rgba(255, 255, 255, .88); margin: .8rem 0 0; max-width: 52ch; position: relative; }
.cta .hero-cta { position: relative; justify-content: flex-end; }
.cta .btn.light { color: var(--rose-d); }
.cta .btn.light:hover { background: var(--sun-50); color: var(--rose-d); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--plum); color: rgba(255, 255, 255, .72); padding: clamp(3rem, 6vw, 5rem) 0 1.5rem; margin-top: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--sun), var(--rose), var(--sun)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer .brand-text b { color: #fff; }
.footer .brand-text span { color: rgba(255, 255, 255, .55); }
.footer p.blurb { margin: 1.1rem 0 1.2rem; font-size: .93rem; max-width: 36ch; }
.footer h4 { font: 700 .75rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: 1.1rem; }
.footer-links { display: grid; gap: .55rem; font-size: .93rem; }
.footer-links a:hover { color: #fff; }
.socials { display: flex; gap: .5rem; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s; }
.socials a:hover { background: var(--rose); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.2rem; background: rgba(42, 21, 32, .82); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lb-stage { position: relative; width: min(1100px, 100%); transform: scale(.97); transition: transform .35s var(--ease); }
.lightbox.open .lb-stage { transform: none; }
.lb-close { position: absolute; right: 0; top: -3rem; width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); }
.lb-close svg { width: 20px; height: 20px; }
.lb-frame { position: relative; background: #000; border-radius: var(--r); overflow: hidden; }
.lb-frame.video { aspect-ratio: 16 / 9; }
.lb-frame.doc { height: min(82vh, 900px); background: #f3eee9; }
.lb-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb-frame.image img { max-height: 82vh; margin: 0 auto; }
.lb-loading { position: absolute; inset: 0; display: grid; place-items: center; gap: .6rem; color: var(--ink-2); font-weight: 600; align-content: center; }
.lb-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--rose); animation: spin .9s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.lb-cap { color: #fff; margin-top: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lb-download { flex-shrink: 0; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.1rem; border-radius: 999px; background: #fff; color: var(--rose-d); font-weight: 700; font-size: .9rem; box-shadow: var(--shadow); transition: background .2s; }
.lb-download:hover { background: var(--sun-50); }
.lb-download svg { width: 17px; height: 17px; }
.lb-cap small { font-weight: 500; color: rgba(255, 255, 255, .7); margin-left: .4rem; }
body.lb-lock { overflow: hidden; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* numbered aims (Vision & Mission) */
.aim { position: relative; padding-left: 4.6rem; counter-increment: aim; }
.aim::before { content: counter(aim, decimal-leading-zero); position: absolute; left: 1.35rem; top: 1.3rem; font-family: var(--f-caps); font-size: 2rem; line-height: 1; color: var(--sun); }

/* certificates (Legal Status) */
.cert { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.3rem; transition: transform .25s var(--ease), border-color .2s, box-shadow .25s; width: 100%; }
.cert:hover { transform: translateY(-3px); border-color: var(--rose-100); box-shadow: var(--shadow-sm); }
.cert i { font-style: normal; font-size: 1.6rem; }
.cert b { font-family: var(--f-head); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; font-size: 1.05rem; }
.cert small { color: var(--ink-3); font-size: .84rem; }
.cert span { color: var(--rose); font-weight: 700; font-size: .82rem; margin-top: .3rem; }

/* supporters table */
.stable { width: 100%; border-collapse: collapse; background: #fff; }
.stable td, .stable th { padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.stable th { background: var(--paper-2); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.stable td:first-child { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .02em; font-weight: 500; }
.status { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--sky); color: var(--blue); }
.status.done { background: var(--paper-2); color: var(--ink-2); }

/* programme groups (All programmes) */
.pgroup + .pgroup { margin-top: clamp(3rem, 6vw, 4.5rem); }
.pgroup-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.pgroup-head h3 { font-family: var(--f-caps); text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; }
.pgroup-head a { margin-left: auto; }

/* supporter logos sit whole on white inside the square tiles, never cropped */
.scard-logo img[src*="logo"] { object-fit: contain; background: #fff; padding: 6px; }

/* supporter pages: a wider hero photo — more of the column, a landscape frame,
   the picture cropped to fit (object-fit: cover), never stretched */
body[data-supporter] .page-hero-grid { grid-template-columns: .9fr 1.1fr; }
body[data-supporter] .page-hero-photo { aspect-ratio: 16 / 10; }
@media (max-width: 860px) { body[data-supporter] .page-hero-grid { grid-template-columns: 1fr; } }
