/* Helping Life Charitable Trust — site styles */

/* Brand constants (same in both themes) */
:root {
  --marigold: #f2a31b;
  --marigold-600: #d98b06;
  --on-accent: #14231f;
  --on-brand: #ffffff;

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Mukta", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 6px;
  --radius-m: 14px;
}

/* Light theme — the default for every visitor */
:root {
  color-scheme: light;
  --bg: #fafbf9;
  --surface: #ffffff;
  --surface-alt: #eef4f0;
  --text: #14231f;
  --text-muted: #4b5c56;
  --heading: #0b3d30;
  --link: #0f5b47;
  --link-hover: #0b3d30;
  --accent-text: #1f7a60;
  --line: #d3ddd7;
  --input-border: #b9c7bf;
  --brand: #0f5b47;
  --brand-hover: #0b3d30;
  --band: #0b3d30;
  --band-text: #e3eee8;
  --band-muted: #b9cfc5;
  --panel-brand: #0f5b47;
  --header-bg: rgba(250, 251, 249, 0.94);
  --footer-bg: #14231f;
  --footer-text: #b8c6c0;
  --footer-line: #2c3d38;
  --dot-bg: #d7e6dc;
  --danger: #b4441c;
  --tbc-bg: #fff1cf;
  --tbc-text: #6b4600;
  --tbc-line: #c98a00;
  --shadow-strong: rgba(11, 61, 48, .45);
  --photo-filter: none;
  --foil-filter: none;
}

/* Dark theme — only when the visitor switches it on with the toggle */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1a17;
  --surface: #15241f;
  --surface-alt: #13201c;
  --text: #e4ece8;
  --text-muted: #a3b5ae;
  --heading: #d3eadf;
  --link: #7fd1b0;
  --link-hover: #a8e3cb;
  --accent-text: #8ad3b4;
  --line: #26372f;
  --input-border: #3a4d45;
  --brand: #1f7a60;
  --brand-hover: #176b54;
  --band: #0f3a2e;
  --band-text: #e3eee8;
  --band-muted: #b2c9bf;
  --panel-brand: #133d32;
  --header-bg: rgba(14, 26, 23, 0.92);
  --footer-bg: #08110e;
  --footer-text: #a9b9b2;
  --footer-line: #1f2e29;
  --dot-bg: #1d3b31;
  --danger: #f08a63;
  --tbc-bg: rgba(242, 163, 27, .16);
  --tbc-text: #ffd98a;
  --tbc-line: #f2a31b;
  --shadow-strong: rgba(0, 0, 0, .65);
  --photo-filter: brightness(.94);
  --foil-filter: brightness(.88);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--heading);
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.4rem; line-height: 1.25; }

p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 64ch; }
.lead { font-size: 1.3rem; line-height: 1.55; color: var(--text-muted); }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--text); color: var(--bg); padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--sans); font-weight: 600; font-size: 1.05rem; line-height: 1;
  padding: 0.95em 1.5em 0.85em;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--marigold); color: var(--on-accent); }
.btn-primary:hover { background: var(--marigold-600); color: var(--on-accent); }
.btn-green { background: var(--brand); color: var(--on-brand); }
.btn-green:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn-ghost { border-color: var(--link); color: var(--link); background: transparent; }
.btn-ghost:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 76px; }
@media (min-width: 901px) { .header-inner { gap: 24px; } }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--heading); margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--serif); font-size: 1.15rem; line-height: 1.05; }
.brand-name small { display: block; font-family: var(--sans); font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.01em; margin-top: 3px; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.nav a:not(.btn) {
  display: block; padding: 8px 12px; border-radius: var(--radius-s);
  color: var(--text); text-decoration: none; font-weight: 500; font-size: 1.02rem;
}
.nav a:not(.btn):hover { background: var(--surface-alt); color: var(--heading); }
.nav a[aria-current="page"] { color: var(--link); box-shadow: inset 0 -2px 0 var(--link); border-radius: 0; }
.nav .btn { margin-left: 8px; padding: 0.75em 1.25em 0.65em; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 8px 10px; cursor: pointer; color: var(--text); font: 600 1rem var(--sans);
}
.nav-toggle svg { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; gap: 2px; }
  .nav a:not(.btn) { padding: 12px 8px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--link); padding-left: 14px; }
  .nav .btn { margin: 10px 0 0; }
}

/* ---------- Theme switch (Light / Dark / System) ---------- */
.theme-switch { position: relative; flex: none; }
.theme-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 50%; background: var(--surface);
  color: var(--heading); cursor: pointer; padding: 0;
}
.theme-toggle:hover, .theme-toggle[aria-expanded="true"] { background: var(--surface-alt); }
.theme-toggle svg { width: 20px; height: 20px; }
/* The button shows the icon of the current choice */
.theme-toggle .ico { display: none; }
.theme-toggle .ico-light { display: block; }
:root[data-theme-pref="dark"] .theme-toggle .ico-light,
:root[data-theme-pref="system"] .theme-toggle .ico-light { display: none; }
:root[data-theme-pref="dark"] .theme-toggle .ico-dark { display: block; }
:root[data-theme-pref="system"] .theme-toggle .ico-system { display: block; }

.theme-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 168px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 40px -18px var(--shadow-strong);
}
.theme-menu[hidden] { display: none; }
.theme-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 12px; border: 0; border-radius: 8px; background: none;
  color: var(--text); font: 500 1rem var(--sans); text-align: left; cursor: pointer;
}
.theme-menu button:hover { background: var(--surface-alt); }
.theme-menu button:focus-visible { background: var(--surface-alt); outline-offset: -2px; }
.theme-menu svg { width: 18px; height: 18px; flex: none; color: var(--text-muted); }
.theme-menu button[aria-checked="true"] { color: var(--link); font-weight: 600; }
.theme-menu button[aria-checked="true"] svg { color: var(--link); }
.theme-menu button[aria-checked="true"]::after { content: "✓"; margin-left: auto; }

@media (max-width: 900px) {
  .brand { order: 0; }
  .theme-switch { order: 1; }
  .nav-toggle { order: 2; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-mint { background: var(--surface-alt); }
.section-green { background: var(--band); color: var(--band-text); }
.section-green h2, .section-green h3 { color: #ffffff; }
.section-green a { color: var(--marigold); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { color: var(--text-muted); font-size: 1.2rem; }
.section-green .section-head p { color: var(--band-muted); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 48ch; margin-bottom: 1.6em; }
.hero-note { margin-top: 22px; font-size: 1rem; color: var(--text-muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* The blister strip */
.blister-fig { margin: 0; }
.blister {
  position: relative;
  aspect-ratio: 5 / 2.6;
  border-radius: 22px;
  padding: 7% 6%;
  background:
    linear-gradient(135deg, rgba(255,255,255,.65) 0%, rgba(255,255,255,0) 38%, rgba(255,255,255,.45) 62%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, #eef1ef, #cfd6d2);
  box-shadow: 0 1px 0 #fff inset, 0 -1px 0 #b7c0bb inset, 0 24px 48px -28px var(--shadow-strong);
  filter: var(--foil-filter);
  display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(2, 1fr);
  gap: 9% 6%;
  transform: rotate(-4deg);
}
.pocket {
  position: relative; border-radius: 999px;
  background: radial-gradient(ellipse at 35% 30%, rgba(255,255,255,.95), rgba(255,255,255,.35) 45%, rgba(170,182,176,.55) 100%);
  box-shadow: 0 6px 10px -6px rgba(20,35,31,.35), 0 0 0 1px rgba(150,162,156,.5);
  display: grid; place-items: center;
}
.pill {
  width: 62%; height: 62%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 18%, #f7f9f8 19%, #e4ebe7 70%, #cbd6d0 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.05);
  position: relative;
}
.pill::after { content: ""; position: absolute; left: 18%; right: 18%; top: 49%; height: 2px; background: rgba(120,138,130,.35); border-radius: 2px; }
.pill.capsule {
  width: 40%; height: 78%; border-radius: 999px;
  background: linear-gradient(180deg, #0f5b47 0 50%, #f4f6f5 50% 100%);
}
.pill.capsule::after { display: none; }
.pill.gold { background: radial-gradient(circle at 35% 30%, #ffe2a8 0 15%, var(--marigold) 60%, #d98b06 100%); }
.pocket.out { background: radial-gradient(ellipse at 50% 50%, rgba(170,182,176,.35), rgba(205,213,209,.9)); box-shadow: inset 0 3px 8px rgba(20,35,31,.25), 0 0 0 1px rgba(150,162,156,.6); }
.pocket.out .pill { opacity: 0; }
.pocket.out::before {
  /* torn foil flap */
  content: ""; position: absolute; inset: 22% 22% auto auto; width: 34%; height: 34%;
  background: linear-gradient(135deg, #f6f8f7, #c8d0cc);
  clip-path: polygon(0 0, 100% 20%, 70% 100%, 20% 70%);
  opacity: .9;
}
.blister-fig figcaption { margin-top: 26px; font-size: 1rem; color: var(--text-muted); max-width: 36ch; }

@media (prefers-reduced-motion: no-preference) {
  .js .pocket.will-pop .pill { animation: pop .7s cubic-bezier(.3,.7,.2,1) forwards; animation-delay: var(--d, .6s); }
  .js .pocket.will-pop::before { opacity: 0; animation: flap .2s ease forwards; animation-delay: var(--d, .6s); }
  .js .pocket.will-pop { animation: hollow .3s ease forwards; animation-delay: var(--d, .6s); }
}
@keyframes pop {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  45% { transform: translateY(-38%) scale(1.08) rotate(-10deg); opacity: 1; }
  100% { transform: translateY(-140%) scale(.9) rotate(-24deg); opacity: 0; }
}
@keyframes flap { to { opacity: .9; } }
@keyframes hollow {
  to { background: radial-gradient(ellipse at 50% 50%, rgba(170,182,176,.35), rgba(205,213,209,.9)); box-shadow: inset 0 3px 8px rgba(20,35,31,.25), 0 0 0 1px rgba(150,162,156,.6); }
}
/* Without JS or with reduced motion, popped pockets just show as empty */
.pocket.will-pop .pill { opacity: 0; }
.js .pocket.will-pop .pill { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .pocket.will-pop .pill { opacity: 0; }
  .pocket.will-pop { background: radial-gradient(ellipse at 50% 50%, rgba(170,182,176,.35), rgba(205,213,209,.9)); box-shadow: inset 0 3px 8px rgba(20,35,31,.25), 0 0 0 1px rgba(150,162,156,.6); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 58ch; margin: 0; }
.crumb { font-size: 0.98rem; color: var(--text-muted); margin-bottom: 14px; }
.crumb a { color: var(--text-muted); }

/* ---------- Who we help ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.check-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.check-list li { padding: 18px 0 18px 40px; border-bottom: 1px solid var(--line); position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 24px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--dot-bg); box-shadow: inset 0 0 0 5px var(--link);
}
.check-list strong { display: block; font-weight: 600; color: var(--heading); font-size: 1.15rem; }
.check-list span { color: var(--text-muted); }

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 0 clamp(16px, 3vw, 36px) 0 0; position: relative; }
.steps li + li { padding-left: clamp(16px, 3vw, 36px); border-left: 1px solid var(--line); }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 50%; background: var(--brand); color: var(--on-brand);
  font-family: var(--serif); font-size: 1.5rem; line-height: 1;
}
.steps p { color: var(--text-muted); margin: 0; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li, .steps li + li { padding: 0 0 0 72px; border-left: 0; min-height: 52px; }
  .steps li::before { position: absolute; left: 0; top: 0; }
}

/* ---------- Trustees ---------- */
.trustee-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.trustee-strip figure { margin: 0; }
.trustee-strip img { border-radius: var(--radius-m); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: var(--photo-filter); }
.trustee-strip figcaption { margin-top: 10px; font-size: 0.98rem; line-height: 1.3; }
.trustee-strip figcaption b { display: block; font-weight: 600; color: var(--heading); }
.trustee-strip figcaption span { color: var(--text-muted); font-size: 0.92rem; }
@media (max-width: 1000px) { .trustee-strip { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .trustee-strip { grid-template-columns: repeat(2, 1fr); } }

.trustees { display: grid; gap: clamp(36px, 5vw, 56px); }
.trustee {
  display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 4vw, 44px); align-items: start;
  padding-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line);
}
.trustee:last-child { border-bottom: 0; padding-bottom: 0; }
.trustee img { border-radius: var(--radius-m); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: var(--photo-filter); }
.trustee h3 { font-size: 1.75rem; margin-bottom: 0.15em; }
.trustee .focus { color: var(--accent-text); font-weight: 600; margin-bottom: 0.9em; }
.trustee p:last-child { margin-bottom: 0; }
.trustee .bio { max-width: 62ch; }
@media (max-width: 640px) {
  .trustee { display: flow-root; }
  .trustee img { float: left; width: 116px; margin: 4px 18px 10px 0; }
  .trustee h3 { font-size: 1.4rem; }
}

/* ---------- Ways to help ---------- */
.ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.way { padding: clamp(24px, 3vw, 36px) clamp(0px, 3vw, 36px) clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); }
.way:nth-child(even) { padding-left: clamp(20px, 3vw, 36px); border-left: 1px solid var(--line); }
.way h3 { margin-bottom: 0.35em; }
.way p { color: var(--text-muted); }
.way a { font-weight: 600; }
@media (max-width: 720px) {
  .ways { grid-template-columns: 1fr; }
  .way, .way:nth-child(even) { padding-left: 0; border-left: 0; padding-right: 0; }
}

/* ---------- Promise / trust band ---------- */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.promise h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
.promise p { color: var(--band-muted); font-size: 1.02rem; margin: 0; }
.promise .ico { width: 40px; height: 40px; margin-bottom: 14px; color: var(--marigold); }
@media (max-width: 900px) { .promise { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .promise { grid-template-columns: 1fr; } }

/* ---------- Programme blocks ---------- */
.programme { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 5vw, 72px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.programme:first-of-type { border-top: 0; padding-top: 0; }
.programme h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.programme ul { padding-left: 1.2em; margin: 0 0 1em; }
.programme li { margin-bottom: .4em; }
@media (max-width: 820px) { .programme { grid-template-columns: 1fr; } }

/* ---------- Guidelines (accept / cannot accept) ---------- */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 32px); }
.rule { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(20px, 3vw, 32px); }
.rule h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.rule ul { list-style: none; padding: 0; margin: 0; }
.rule li { padding: 10px 0 10px 30px; border-top: 1px solid var(--line); position: relative; }
.rule li:first-child { border-top: 0; }
.rule li::before { position: absolute; left: 0; top: 10px; font-weight: 700; }
.rule.yes li::before { content: "✓"; color: var(--link); }
.rule.no li::before { content: "✕"; color: var(--danger); }
@media (max-width: 720px) { .rules { grid-template-columns: 1fr; } }

/* ---------- Donate details ---------- */
.details { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.details dt { color: var(--text-muted); }
.details dd { margin: 0; font-weight: 600; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(22px, 3vw, 36px); }
.panel-green { background: var(--panel-brand); color: var(--band-text); border: 0; }
.panel-green h3 { color: #ffffff; }
.panel-green .details dt { color: var(--band-muted); }
.note { font-size: 0.98rem; color: var(--text-muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 1rem; }
.field .hint { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--text);
  padding: 12px 14px; border: 1px solid var(--input-border); border-radius: var(--radius-s); background: var(--surface);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(242,163,27,.55); outline-offset: 1px; border-color: var(--link); }
.form-status { font-weight: 600; color: var(--link); min-height: 1.6em; margin: 0; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs button {
  font: 600 1rem var(--sans); padding: 10px 18px 8px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
}
.tabs button[aria-selected="true"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }

/* ---------- Contact list ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list b { display: block; color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0; max-width: 20ch; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 36px); }
.values h3 { font-size: 1.25rem; margin-bottom: .35em; }
.values p { color: var(--text-muted); margin: 0; font-size: 1.05rem; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

.mission { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.3; color: var(--heading); max-width: 30ch; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 64px 0 28px; font-size: 1rem; }
.site-footer a { color: #e3eee8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #ffffff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h2 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: #ffffff; margin-bottom: 12px; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand span { font-family: var(--serif); color: #ffffff; font-size: 1.15rem; }
.footer-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--footer-line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.92rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Placeholder text that the Trust must replace before going live */
.tbc { background: var(--tbc-bg); color: var(--tbc-text); border-bottom: 1px dashed var(--tbc-line); padding: 0 .2em; font-weight: 500; }
.site-footer .tbc, .section-green .tbc, .panel-green .tbc { background: rgba(242,163,27,.18); color: #ffd98a; border-bottom-color: #f2a31b; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.panel-green a { color: var(--marigold); }
.panel-green a:hover { color: #ffd98a; }
