/*
 * COACH design system — shared by every page.
 * 1. Tokens, typography and primitives
 * 2. Full-width navigation
 * 3. Page heroes (heroes.css)
 * 4. Content components
 * 5. Giving and forms
 * 6. Footer
 * 7. Responsive layouts (wide → compact)
 * 8. User preferences and print
 *
 * Keep component defaults in their numbered section. Responsive changes belong
 * in section 7; accessibility overrides in section 8. No external CSS imports.
 */
@font-face {
  font-family: 'Open Sans';
  src: url('./fonts/open-sans-regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('./fonts/open-sans-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('./fonts/manrope-extrabold-latin.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fraunces';
  src: url('./fonts/fraunces-semibold-italic-latin.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* 1. Foundations */
:root {
  --purple: #8e278f;
  --purple-dark: #702071;
  --ink: #352339;
  --muted: #655569;
  --gold: #ffcb03;
  --orange: #f78c18;
  --coral: #ed5e65;
  --paper: #faf7fb;
  --line: #dfd2e2;
  --lilac: #ead5ee;
  --heading-font: 'Manrope', 'Open Sans', Arial, sans-serif;
  --body-font: 'Open Sans', Arial, sans-serif;
  --hero-heading-font: 'Manrope', 'Open Sans', Arial, sans-serif;
  --hero-accent-font: 'Fraunces', Georgia, serif;
  --text-small: .875rem;
  --text-body: 1.0625rem;
  --text-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --text-display: clamp(2.35rem, 1.85rem + 3.3vw, 4.6rem);
  --text-heading: clamp(1.7rem, 1.3rem + 1.45vw, 2.5rem);
  --text-subheading: clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
  --measure: 65ch;
  --target: 2.75rem;
  --focus-width: 3px;
  --space-xs: .5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(56px, 6.8vw, 96px);
  --radius: 24px;
  --shadow: 0 14px 36px #50235810;
  color-scheme: light;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset, 126px);
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 var(--text-body)/1.7 var(--body-font);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

body.menu-open {
  overflow: hidden;
}

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

figure {
  margin: 0;
}

button, input, select, textarea {
  font: inherit;
}

button, summary, select {
  cursor: pointer;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: .22em;
}

a:hover {
  color: var(--purple-dark);
}

/* Contextual links stay visibly underlined within both light and dark copy. */
.content-link {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  text-decoration-skip-ink: auto;
}

.content-link:hover {
  color: inherit;
  text-decoration-thickness: 2px;
}

.content-link:focus-visible {
  outline-color: currentColor;
  outline-offset: 3px;
  box-shadow: none;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: var(--focus-width) solid var(--purple-dark);
  outline-offset: 5px;
  box-shadow: 0 0 0 4px #fff;
  border-radius: 4px;
}

:where(input, select, textarea, [id]) {
  scroll-margin-top: 12px;
}

[hidden] {
  display: none !important;
}

.js-only {
  display: none;
}

.js .js-only {
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  padding: 12px 22px;
  background: #fff;
  color: var(--purple);
  border: 2px solid;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section {
  padding-block: var(--section);
}

.paper {
  background: var(--paper);
}

.section.paper {
  background: linear-gradient(#faf7fbf5, #faf7fbf5), url('./coach-pattern.webp') center/cover;
}

main > .paper:first-child {
  background: #fff;
}

h1, h2, h3, h4 {
  margin: 0 0 .65em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 {
  font: 800 var(--text-display)/1.12 var(--heading-font);
  letter-spacing: -.03em;
}

h2 {
  color: var(--purple-dark);
  font: 800 var(--text-heading)/1.24 var(--heading-font);
  letter-spacing: -.035em;
}

h3 {
  color: var(--purple-dark);
  font: 700 var(--text-subheading)/1.4 var(--body-font);
  letter-spacing: -.01em;
}

h4 {
  font-size: 1.125rem;
}

p {
  max-width: var(--measure);
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

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

strong {
  font-weight: 700;
}

ul, ol {
  padding-left: 1.3em;
}

li {
  padding-left: .15em;
}

address {
  font-style: normal;
}

button, a, input, select, textarea, summary {
  -webkit-tap-highlight-color: transparent;
}

.icon {
  display: inline-block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

.eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--purple-dark);
  font-size: var(--text-small);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.lead {
  font-size: var(--text-lead);
  line-height: 1.65;
}

.muted {
  color: var(--muted);
}

.small, .privacy-note, .form-help, .info-note, .visit-note {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 23px;
  border: 2px solid transparent;
  border-radius: 99px;
  background: var(--purple);
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  transition: background .2s, box-shadow .2s, transform .2s;
}

.button:hover {
  background: var(--purple-dark);
  color: #fff;
  box-shadow: 0 6px 16px #70207120;
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
}

.button-gold {
  background: var(--gold);
  color: #402349;
}

.button-gold:hover {
  background: #ffe16c;
  color: #402349;
}

.button-outline {
  background: transparent;
  color: var(--purple-dark);
  border-color: var(--purple);
}

.button-outline:hover {
  background: #f4e6f5;
  color: var(--purple-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--purple-dark);
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link .icon {
  transition: transform .2s;
}

.text-link:hover .icon {
  transform: translateX(4px);
}

.minor-link {
  display: inline-block;
  padding-block: 8px;
  font-size: .875rem;
  color: var(--purple-dark);
}

.two-col, .section-heading, .story-layout, .home-feature, .programme-layout, .faq-layout, .bequest-layout, .regular-layout, .donor-contact, .volunteer-grid, .evidence-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.two-col > *, .section-heading > *, .story-layout > *, .home-feature > *, .programme-layout > *, .faq-layout > *, .contact-layout > * {
  min-width: 0;
}

.section-heading {
  align-items: end;
  margin-bottom: 38px;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 42ch;
  margin: 0 0 3px;
}

.section-heading > .text-link {
  justify-self: end;
}

.intro-rule, .rainbow-line {
  display: flex;
  height: 7px;
  overflow: hidden;
}

.intro-rule {
  width: 136px;
  margin-top: 30px;
  border-radius: 10px;
}

.intro-rule span {
  flex: 1;
  background: var(--purple);
}

.intro-rule span:nth-child(2) {
  background: var(--coral);
}

.intro-rule span:nth-child(3) {
  background: var(--orange);
}

.intro-rule span:nth-child(4) {
  background: var(--gold);
}

.rainbow-line {
  background: linear-gradient(90deg, var(--purple) 25%, var(--coral) 25% 50%, var(--orange) 50% 75%, var(--gold) 75%);
}

/* 2. Full-width navigation */
.utility-bar {
  color: var(--purple-dark);
  background: #f6eef7;
  font-size: var(--text-small);
}

.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: var(--target);
}

.utility-links {
  display: flex;
  gap: 24px;
}

.utility-links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  background: #fff;
  border-bottom: 3px solid var(--orange);
  transition: box-shadow .2s;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 18px #35233912;
}

.header-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: block;
  flex-shrink: 0;
  padding-block: 6px;
}

.brand img {
  width: 116px;
  height: 76px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 14px);
}

.site-nav .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--purple-dark);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s, color .18s;
}

.site-nav .nav-link:hover {
  background: #f7eef7;
  color: #49174f;
}

.site-nav .nav-link.is-current-page {
  color: #49174f;
  background: transparent;
  font-weight: 700;
}

.site-nav .nav-link.is-current-section {
  color: #49174f;
  background: transparent;
  font-weight: 700;
}

.site-nav .nav-link::after {
  content: '';
  position: absolute;
  inset: auto 14px 3px;
  height: 3px;
  border-radius: 3px;
  background: transparent;
}

.site-nav .is-current-page::after {
  background: var(--orange);
}

.site-nav .is-current-section::after {
  height: 2px;
  background: var(--purple);
}

.site-nav .button, .mobile-donate {
  color: var(--gold);
}

.site-nav .nav-donate {
  min-height: 54px;
  padding-inline: 20px;
}

.nav-donate[aria-current="page"] > span, .mobile-donate[aria-current="page"] {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .3em;
}

.nav-donate > span {
  text-align: left;
}

.site-nav .is-current-page:focus-visible {
  outline-color: var(--purple-dark);
  box-shadow: 0 0 0 4px #fff;
}

.menu-toggle, .mobile-donate {
  display: none;
}

.reading-progress {
  position: absolute;
  height: 3px;
  bottom: -3px;
  left: 0;
  right: 0;
  background: var(--purple);
  transform: scaleX(var(--reading-progress, 0));
  transform-origin: left;
  pointer-events: none;
}

.page-location {
  background: #fff;
  border-bottom: 1px solid #eee4ef;
}

.location-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
  padding-block: 5px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: var(--text-small);
  line-height: 1.5;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.breadcrumb li + li::before {
  content: '';
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.breadcrumb [aria-current="page"] > span {
  padding: 6px 0;
  color: #4b2155;
  font-weight: 700;
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding-block: 5px;
}

.section-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--purple-dark);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.section-nav a:hover {
  background: #f7eef7;
  border-color: var(--line);
}

.section-nav a[aria-current="page"] {
  background: transparent;
  border-color: transparent;
  color: var(--purple-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--purple);
  text-decoration-thickness: 2px;
  text-underline-offset: .5em;
}

/* 3. Full-width page heroes: see heroes.css. */
.dark :focus-visible, .site-footer :focus-visible, .closing :focus-visible {
  outline-color: var(--gold);
  box-shadow: 0 0 0 4px #702071;
}

/* 4. Editorial and programme content */
.proof-strip {
  border-bottom: 1px solid var(--line);
  padding-block: 24px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.45fr;
  gap: 28px;
  align-items: center;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.proof-item > strong {
  color: var(--purple);
  font: 400 2.35rem/1 var(--heading-font);
}

.proof-item > span {
  font-size: var(--text-small);
  line-height: 1.55;
  color: var(--muted);
}

.proof-link {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  font-size: .875rem;
  line-height: 1.65;
}

.proof-link .icon {
  color: var(--purple);
}

.proof-link a {
  display: inline-block;
  padding-block: 5px;
  color: var(--purple-dark);
  font-weight: 700;
}

.care-grid, .value-grid, .results-grid, .support-grid, .funding-grid, .contact-addresses {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,18rem),1fr));
  gap: 24px;
}

.care-item {
  padding: 30px;
  border-radius: var(--radius);
  background: #ffe68c;
}

.care-item:nth-child(2) {
  background: #f7b3b7;
}

.care-item:nth-child(3) {
  background: #ffd0a1;
}

.care-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--purple);
}

.care-item p, .funding-grid p {
  color: #573e50;
}

.results-section {
  background: linear-gradient(#f5eaf7df,#f5eaf7df),url('./coach-pattern-alt.webp') center/cover;
}

.results-grid article {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
}

.results-grid article > strong {
  display: block;
  color: var(--purple);
  font: 400 clamp(2.6rem,4vw,3.8rem)/1.15 var(--heading-font);
  margin-bottom: 14px;
}

.results-grid h3 {
  font-size: 1.125rem;
  margin-bottom: 7px;
}

.results-grid p {
  font-size: .875rem;
  color: var(--muted);
}

.counter {
  display: inline-block;
}

[data-count-to] {
  display: inline-block;
  min-width: var(--count-width,2ch);
  font-variant-numeric: tabular-nums;
}

.result-source {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
}

.result-source > span {
  max-width: 37ch;
  color: var(--muted);
  font-size: var(--text-small);
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 30px;
}

.home-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.card-image {
  display: block;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .35s;
}

.card-image:hover img {
  transform: scale(1.025);
}

.home-card-body {
  padding: 30px;
  border-top: 6px solid #c087c1;
}

.home-card:nth-child(2) .home-card-body {
  border-color: #fbc080;
}

.home-card h3 {
  margin-block: 15px;
  font-size: clamp(1.35rem, 1.15rem + .55vw, 1.6rem);
}

.location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-dark);
  font-size: var(--text-small);
  font-weight: 700;
}

.location .icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.tag, .feature-tags span {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 99px;
  color: var(--purple-dark);
  background: #f4e9f5;
  font-size: var(--text-small);
  font-weight: 700;
}

.home-card .text-link {
  margin-top: 16px;
}

.story-layout {
  align-items: center;
}

.story-visual {
  position: relative;
  padding-bottom: 22px;
}

.story-visual > img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  border-radius: 30px;
}

.story-stamp {
  position: relative;
  width: calc(100% - 48px);
  padding: 22px 26px;
  margin: -95px auto 0;
  background: var(--purple);
  color: #fff;
  border-radius: 20px;
}

.story-stamp strong {
  font: 400 1.85rem/1.25 var(--heading-font);
}

.story-stamp small {
  display: block;
  margin-top: 10px;
  color: #f1e1f3;
  font-size: var(--text-small);
}

.privacy-note {
  margin-top: 18px;
}

.dark {
  color: #fff;
  background: linear-gradient(115deg,#60236d,#8e278f);
}

.dark h2, .dark h3, .dark .text-link {
  color: #fff;
}

.dark .eyebrow {
  color: #ffe273;
}

.support-section > .container > .lead {
  max-width: 62ch;
  margin-bottom: 36px;
}

.support-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #c187c2;
  border-radius: var(--radius);
  background: #ffffff0c;
}

.support-card > .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 22px;
  color: var(--gold);
}

.support-card .text-link {
  margin-top: auto;
  align-self: flex-start;
}

.support-card p {
  font-size: 1rem;
}

.support-card.featured {
  background: var(--gold);
  border-color: var(--gold);
  color: #402349;
}

.support-card.featured h3, .support-card.featured .text-link, .support-card.featured > .icon {
  color: #402349;
}

.support-more {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  margin-top: 26px;
  font-size: .875rem;
}

.support-more a {
  min-height: var(--target);
  display: inline-flex;
  align-items: center;
}

.support-more a:hover {
  color: var(--gold);
}

.person-contact {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-block: 36px;
}

.person-contact > img {
  width: 82px;
  height: 90px;
  object-fit: cover;
  border-radius: 22px;
}

.person-contact h3 {
  margin-bottom: 5px;
}

.person-contact p {
  font-size: .9375rem;
  color: var(--muted);
}

.person-contact > .text-link {
  margin-left: auto;
}

.value-grid {
  margin-top: 40px;
}

.value-card {
  padding: 28px;
  border-radius: var(--radius);
  background: #f3e5f6;
}

.value-card:nth-child(2) {
  background: #fff0c7;
}

.value-card:nth-child(3) {
  background: #fce2db;
}

.value-card .number {
  display: block;
  margin-bottom: 24px;
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--purple-dark);
}

.value-card p {
  font-size: 1rem;
}

.report-list {
  display: grid;
  gap: 14px;
}

.report-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--purple-dark);
  text-decoration: none;
}

.report-link:hover {
  border-color: var(--purple);
  background: #f0e1f3;
}

.report-link strong {
  display: block;
  line-height: 1.45;
}

.report-link span {
  display: block;
  margin-top: 8px;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.55;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 0 0 30px;
}

.timeline li + li {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.timeline-date {
  color: var(--purple);
  font-size: 1rem;
  font-weight: 700;
}

.timeline h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.timeline p {
  color: var(--muted);
  font-size: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 28px;
}

.team-grid.three {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.team-grid.five {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 40px 32px;
}

.team-member > img {
  width: 142px;
  height: 150px;
  object-fit: cover;
  object-position: top center;
  margin-bottom: 22px;
  border-radius: 28px 28px 12px 12px;
}

.team-member h3 {
  font-size: 1.125rem;
}

.team-role {
  font-size: .875rem;
  font-weight: 700;
  color: var(--purple-dark);
  line-height: 1.5;
}

.team-member > p:last-child {
  font-size: .9375rem;
  color: var(--muted);
}

.board-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.board-member {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: clip;
}

.board-member summary {
  padding: 24px;
}

.board-name {
  display: block;
  color: var(--purple-dark);
  font-size: 1.125rem;
  margin-bottom: 5px;
}

.board-member .team-role {
  display: block;
  margin: 0;
  font-weight: 700;
}

.board-member .bio {
  padding: 0 24px 24px;
  font-size: 1rem;
  color: var(--muted);
}

summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  line-height: 1.5;
}

summary::-webkit-details-marker {
  display: none;
}

summary > .icon, .programme-list summary h3 > .icon {
  margin-inline-end: 4px;
  transition: transform .2s;
  color: var(--purple);
}

details[open] > summary > .icon, .programme-list details[open] > summary h3 > .icon {
  transform: rotate(45deg);
}

summary:hover {
  color: var(--purple);
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion:last-child {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  padding: 23px 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--purple-dark);
}

.details-content {
  padding: 0 34px 24px 0;
  color: var(--muted);
  font-size: 1rem;
}

.home-feature {
  align-items: center;
}

.home-feature + .home-feature {
  margin-top: 70px;
  padding-top: 70px;
  border-top: 1px solid var(--line);
}

.home-feature.reverse .feature-image {
  order: 2;
}

.feature-image {
  height: 410px;
  overflow: hidden;
  border-radius: 30px;
}

.feature-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-feature .location {
  margin-bottom: 18px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.governance-banner, .home-location {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
  margin-top: 36px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.governance-banner > div, .home-location > div:first-child {
  max-width: 68ch;
}

.governance-banner .button {
  flex-shrink: 0;
}

.governance-banner p, .home-location p {
  color: var(--muted);
  font-size: 1rem;
}

.home-location {
  background: var(--paper);
  margin-top: 0;
}

.home-location .actions {
  margin: 0;
  flex-shrink: 0;
}

.programme-layout {
  grid-template-columns: .85fr 1.25fr;
}

.programme-intro {
  position: sticky;
  top: var(--header-offset, 126px);
}

.programme-intro > p {
  max-width: 39ch;
  color: var(--muted);
}

/* Native summary headings retain the existing accordion typography. */
.programme-list summary h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

.anchor-alias {
  display: block;
  scroll-margin-top: calc(var(--header-height, 6rem) + 1rem);
}

.programme-num {
  display: inline-block;
  margin-right: 16px;
  font-size: var(--text-small);
  color: #816387;
}

.story-panel {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 60px;
  padding: clamp(28px,4vw,54px);
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.story-result {
  display: grid;
  gap: 10px;
  padding: 22px;
  margin-top: 26px;
  border-left: 4px solid var(--gold);
  background: var(--paper);
}

.story-result strong {
  font-size: 1.125rem;
  color: var(--purple-dark);
}

.story-result span {
  font-size: .875rem;
  color: var(--muted);
}

.evidence-panel {
  padding: clamp(28px,4vw,50px);
  background: #fff2c9;
  border-radius: var(--radius);
}

.evidence-panel h2 {
  margin-bottom: 0;
}

.donation-route {
  padding-block: 36px;
  border-bottom: 1px solid var(--line);
}

.donation-route .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.donation-route h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.donation-route .eyebrow {
  margin-bottom: 8px;
}

.donation-route p {
  font-size: 1rem;
  color: var(--muted);
}

.donation-route .button {
  flex-shrink: 0;
}

.campaign {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 44px;
  border: 1px solid #e1bc67;
  padding: clamp(26px,4vw,48px);
  border-radius: 28px;
  background: #fff0be;
}

.campaign-side {
  padding: 28px;
  border-radius: 20px;
  background: #fff9e8;
  font-size: 1rem;
}

.campaign-side li {
  margin-bottom: 12px;
}

.campaign-side a {
  color: var(--purple-dark);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.needs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: 28px;
}

.needs-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.needs-card .location {
  margin-bottom: 16px;
}

.needs-card h3 {
  font-size: 1.5rem;
}

.needs-card ul {
  margin-block: 24px;
  columns: 13rem 2;
  column-gap: 30px;
  font-size: .9375rem;
}

.needs-card li {
  break-inside: avoid;
  margin-bottom: 10px;
}

.info-note {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.info-note .icon {
  color: var(--purple);
}

.volunteer-grid {
  align-items: center;
}

.volunteer-image {
  width: 100%;
  height: 490px;
  object-fit: cover;
  border-radius: 28px;
}

.volunteer-options {
  display: grid;
  gap: 20px;
  margin: 28px 0;
}

.volunteer-options h3 {
  font-size: 1.125rem;
  margin-bottom: 6px;
}

.volunteer-options p {
  font-size: 1rem;
  color: var(--muted);
}

.next-steps {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 30px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.step-no {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-weight: 700;
}

.next-steps strong {
  display: block;
  margin-bottom: 8px;
}

.next-steps p {
  color: var(--muted);
  font-size: .9375rem;
}

.partner-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: clamp(28px,4vw,54px);
  border-radius: 28px;
  background: var(--purple-dark);
  color: #fff;
}

.partner-panel h2, .partner-panel h3 {
  color: #fff;
}

.partner-options {
  display: grid;
  gap: 24px;
}

.partner-options h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.partner-options p {
  color: #f2e5f4;
  font-size: 1rem;
}

.faq-layout {
  grid-template-columns: .8fr 1.2fr;
}

/* 5. Donation and contact journeys */
.donate-mobile-action {
  display: none;
}

.evidence-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 14px;
  color: #fff;
  font-size: .875rem;
}

.evidence-link:hover {
  color: var(--gold);
}

.donation-box {
  padding: clamp(24px,3vw,38px);
  border-radius: 28px;
  border-top: 6px solid var(--gold);
  background: #fff;
  box-shadow: 0 18px 40px #2d0f3620;
}

.donation-box h2 {
  font-size: clamp(1.85rem,3vw,2.4rem);
}

.donation-box .eyebrow {
  margin-bottom: 12px;
}

.donation-box p {
  font-size: 1rem;
  color: var(--muted);
}

.donation-box p strong {
  color: var(--ink);
}

.donation-box .button {
  width: 100%;
}

.giving-switch {
  border: 0;
  margin: 22px 0 26px;
  padding: 0;
  min-width: 0;
}

.giving-switch legend {
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.giving-switch > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  gap: 4px;
  border: 1px solid #d7c3db;
  border-radius: 18px;
  background: #f6eef7;
}

.giving-switch label {
  position: relative;
  cursor: pointer;
}

.giving-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.giving-switch span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 12px 10px;
  border-radius: 13px;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: var(--purple-dark);
}

.giving-switch input:checked + span {
  background: var(--purple);
  color: #fff;
}

.giving-switch input:focus-visible + span {
  outline: var(--focus-width) solid var(--purple-dark);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #fff;
}

.giving-switch small {
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.45;
}

.giving-steps {
  padding-left: 1.4em;
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: .875rem;
}

.giving-steps li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.donation-box .checkout-note {
  display: flex;
  gap: 8px;
  margin: 14px 0 0;
  font-size: var(--text-small);
  line-height: 1.55;
}

.checkout-note .icon {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
  margin-top: 3px;
}

.giving-assurance {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 19px;
  font-size: var(--text-small);
  color: var(--muted);
}

.giving-assurance > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.giving-assurance > a {
  min-height: var(--target);
  display: inline-flex;
  align-items: center;
  color: var(--purple-dark);
}

#give-monthly > h3 {
  font-size: 1.15rem;
}

#give-monthly .form-field {
  margin-bottom: 16px;
}

#give-monthly .form-help {
  margin-bottom: 0;
}

#give-monthly:not([hidden]) {
  margin-top: 24px;
}

.js #give-monthly:not([hidden]) {
  margin-top: 0;
}

.funding-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff0b4;
}

.funding-grid article:nth-child(2) {
  background: #f9d3d5;
}

.funding-grid article:nth-child(3) {
  background: #fce0bd;
}

.funding-grid article > .icon {
  flex: none;
  width: 58px;
  height: 58px;
  padding: 16px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--purple);
}

.funding-grid article .text-link {
  margin-top: auto;
}

.priority-location {
  margin-bottom: .75rem;
  color: var(--purple-dark);
  font-size: var(--text-small);
  font-weight: 700;
}

.priority-source {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 1.5rem;
}

.priority-source p, .allocation-note {
  font-size: var(--text-small);
  color: var(--muted);
}

.priority-source p {
  margin: 0;
  flex: 1 1 30ch;
}

.funding-brief {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem;
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.funding-brief > div {
  flex: 1 1 30ch;
}

.funding-brief h3 {
  margin-bottom: .5rem;
}

.allocation-note {
  margin-top: 1rem;
  max-width: none;
}

.appeal-strip {
  padding-block: var(--section);
  background: #fff5d1;
}

.appeal-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.appeal-strip .container > div {
  flex: 1 1 34ch;
}

.appeal-strip p {
  max-width: 58ch;
}

.donation-evidence {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  margin-top: 32px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.donation-evidence h3 {
  font-size: 1.2rem;
  max-width: 42ch;
}

.donation-evidence .eyebrow {
  margin-bottom: 10px;
}

.donation-evidence p {
  color: var(--muted);
  font-size: .875rem;
}

.donation-evidence .text-link {
  max-width: 30ch;
}

.regular-layout {
  align-items: center;
}

.regular-image {
  height: 420px;
  border-radius: 30px;
  overflow: hidden;
}

.regular-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.regular-layout .form-help {
  margin-top: 15px;
}

.donor-contact-person {
  display: flex;
  align-items: center;
  gap: 24px;
}

.donor-contact-person img {
  width: 122px;
  height: 142px;
  object-fit: cover;
  border-radius: 50px 50px 18px 18px;
}

.donor-contact-person h2 {
  font-size: 2rem;
  margin-bottom: 0;
}

.donor-contact-person .eyebrow {
  margin-bottom: 10px;
}

.contact-layout {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(36px,6vw,80px);
  align-items: start;
}

.contact-copy > p > a {
  overflow-wrap: anywhere;
}

.contact-giving {
  margin: 30px 0;
  padding: 24px;
  border-radius: 22px;
  background: #fff0be;
}

.contact-giving p {
  font-size: 1rem;
}

.enquiry-card {
  padding: clamp(24px,4vw,44px);
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.enquiry-card h2 {
  font-size: 1.9rem;
}

#form-explanation {
  font-size: .9375rem;
  color: var(--muted);
  margin-bottom: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-field {
  min-width: 0;
}

.form-field.full {
  grid-column: 1/-1;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.5;
}

.form-field .optional {
  font-weight: 400;
  font-size: var(--text-small);
}

input:not([type=radio]), select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid #927d98;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

select {
  padding-right: 28px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:hover, select:hover, textarea:hover {
  border-color: var(--purple);
}

[aria-invalid=true] {
  border: 2px solid #a02839 !important;
}

.form-help {
  margin-top: 10px;
}

.optional-details {
  padding-block: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.optional-details summary {
  display: list-item;
  list-style: disclosure-closed;
  margin-left: 20px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--purple-dark);
}

.optional-details summary::-webkit-details-marker {
  display: inline;
}

.optional-details[open] summary {
  list-style: disclosure-open;
}

.optional-details summary span {
  font-weight: 400;
}

.optional-details .form-grid {
  margin-top: 22px;
}

#enquiry-form > .button {
  margin-top: 26px;
}

.form-status {
  color: var(--purple-dark);
  font-size: .9375rem;
}

.form-status:not([hidden]) {
  margin-top: 20px;
  padding: 16px;
  background: #eee0f3;
  border-radius: 10px;
}

.form-errors {
  margin: 22px 0;
  padding: 20px;
  border: 2px solid #a02839;
  border-radius: 12px;
  background: #fff5f5;
  color: #812031;
}

.form-errors h3 {
  color: #812031;
  font-size: 1.125rem;
}

.form-errors ul {
  margin-bottom: 0;
  font-size: .875rem;
}

.form-errors a {
  display: inline-block;
  padding: 5px 0;
}

.field-error {
  margin: 7px 0 0;
  color: #9b2336;
  font-size: .875rem;
  font-weight: 700;
}

.email-preview {
  margin-top: 26px;
  padding: 24px;
  background: #fff;
  border: 2px solid var(--purple);
  border-radius: 18px;
}

.email-preview > p {
  font-size: .9375rem;
}

.email-preview pre {
  font: 400 .9375rem/1.7 var(--body-font);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 22px 0;
  padding: 20px;
  background: var(--paper);
  border-radius: 10px;
}

.email-preview .actions {
  gap: 12px;
}

.email-preview .button {
  font-size: .875rem;
  padding-inline: 16px;
}

.address-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.address-card h3 {
  font-size: 1.2rem;
}

.address-card address {
  color: var(--muted);
  font-size: .9375rem;
  margin-bottom: 14px;
}

.visit-note {
  margin-top: 24px;
}

/* Direct support routes and concise donor evidence. */
.amount-options {
  border: 0;
  padding: 0;
  margin: 18px 0;
}

.amount-options legend {
  font-size: .875rem;
  margin-bottom: 10px;
}

.amount-options > div {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
}

.amount-options label {
  position: relative;
  cursor: pointer;
}

.amount-options input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.amount-options label > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  height: 100%;
  padding: 10px 6px;
  border: 1px solid #a387aa;
  border-radius: 10px;
  color: var(--purple-dark);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.amount-options input:checked + span {
  background: #f5e9f6;
  border: 2px solid var(--purple-dark);
  padding: 9px 5px;
}

.amount-options input:focus-visible + span {
  outline: 3px solid var(--purple-dark);
  outline-offset: 3px;
}

.payment-alternative {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.payment-alternative summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  color: var(--purple-dark);
  font-size: .875rem;
  font-weight: 700;
}

.payment-alternative .details-content {
  padding-top: 12px;
}

.payment-alternative .icon {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

.payment-alternative[open] summary .icon {
  transform: rotate(45deg);
}

.donation-proof {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(32px,6vw,80px);
}

.donation-proof-card {
  background: #fff;
  padding: 38px;
  border-radius: 24px;
  border-top: 5px solid var(--gold);
}

.donation-proof-card h3 {
  max-width: 24ch;
}

.proof-number {
  display: block;
  margin-bottom: 12px;
  color: var(--purple);
  font: 400 clamp(4rem,6vw,5.5rem)/1 var(--heading-font);
}

.proof-care-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--purple-dark);
  font-weight: 700;
}

.enquiry-shortcuts {
  display: grid;
  margin: 24px 0;
}

.enquiry-shortcuts a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--purple-dark);
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
}

.enquiry-shortcuts a > .icon:last-child {
  margin-left: auto;
}

.enquiry-shortcuts a:hover {
  color: #49174f;
  text-decoration: underline;
}

.enquiry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.enquiry-actions + .form-help {
  margin-top: 16px;
}

/* 6. Closing appeal and footer */
.closing {
  padding-block: clamp(48px,6vw,76px);
  background: linear-gradient(100deg,#742078f7 0%,#8e278fee 48%,#8e278f99 76%,#ce792291),url('./coach-footer.webp') center/cover;
  color: #fff;
}

.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.closing-inner > div {
  width: 100%;
  max-width: 780px;
}

.closing h2 {
  color: #fff;
  font: 800 clamp(1.8rem, 1.35rem + 1.8vw, 2.75rem)/1.24 var(--heading-font);
  letter-spacing: -.035em;
}

.closing p {
  max-width: 58ch;
  color: #fff;
}

.closing .button {
  flex-shrink: 0;
}

.site-footer {
  padding-block: 60px 26px;
  background: linear-gradient(115deg,#302b31,#464048);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .9fr 1fr 1.1fr;
  gap: 36px;
}

.footer-brand img {
  width: 130px;
  height: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  color: #e2d8e5;
  font-size: .875rem;
}

.footer-brand .footer-tagline {
  font: 400 1.65rem/1.3 var(--heading-font);
  color: #fff;
  margin-bottom: 18px;
}

.footer-grid h2 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0;
  margin-block: 12px 18px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  padding: 0;
  margin: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding-block: 6px;
  font-size: .875rem;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffe16c;
  text-decoration: underline;
}

.footer-address {
  color: #e2d8e5;
  font-size: .875rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.footer-address a {
  display: inline-block;
  padding-block: 6px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid #837587;
  color: #e2d8e5;
  font-size: var(--text-small);
}

.footer-bottom > a {
  display: inline-block;
  padding-block: 8px;
}

.footer-credit {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0 8px;
  margin: 16px 0 0;
  color: #e2d8e5;
  font-size: var(--text-small);
  line-height: 1.5;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 44px;
  padding-block: 8px;
  text-underline-offset: .2em;
}

.footer-credit a span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-credit img {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

/* 7. Responsive layouts — content determines height, including text zoom. */
@media (max-width: 68.75em) {
  .proof-grid {
    gap: 20px;
    grid-template-columns: 1fr 1fr 1fr 1.3fr;
  }
  .proof-item {
    gap: 10px;
  }
  .proof-item > strong {
    font-size: 2rem;
  }
  .proof-link {
    padding-left: 18px;
  }
  .care-item, .value-card, .support-card, .funding-grid article, .results-grid article {
    padding: 24px;
  }
  .team-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 36px;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 30px;
  }
  .footer-grid > .footer-address {
    grid-column: 1/-1;
    border-top: 1px solid #837587;
    padding-top: 16px;
  }
  .needs-card ul {
    columns: 1;
  }
  .donor-contact-person {
    gap: 18px;
  }
  .donor-contact-person img {
    width: 100px;
    height: 125px;
  }
  .donor-contact-person h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 60em) {
  html {
    scroll-padding-top: var(--header-offset, 104px);
  }
  :where(input, select, textarea, [id]) {
    scroll-margin-top: 12px;
  }
  .utility-links {
    display: none;
  }
  .utility-bar .container {
    justify-content: center;
    min-height: 34px;
    text-align: center;
    font-size: var(--text-small);
  }
  .header-inner {
    min-height: 82px;
    gap: 10px 12px;
    flex-wrap: wrap;
    padding-block: 5px;
  }
  .brand img {
    width: 102px;
    height: 68px;
  }
  .mobile-donate {
    display: inline-flex;
    margin-left: auto;
    min-height: 44px;
    padding: 9px 18px;
  }
  .menu-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #c9b3cf;
    border-radius: 99px;
    background: #fff;
    color: var(--purple-dark);
    font-size: .875rem;
    font-weight: 700;
  }
  .menu-toggle .icon {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-offset, 100px));
    overflow-y: auto;
    padding: 20px var(--gutter) 26px;
    background: #fff;
    border-bottom: 3px solid var(--orange);
    box-shadow: 0 12px 20px #3523391a;
  }
  .js .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .site-nav .nav-link {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 1rem;
    min-height: 54px;
    white-space: normal;
    border-color: transparent;
  }
  .site-nav .button {
    margin-top: 10px;
  }
  html:not(.js) .site-header {
    position: relative;
  }
  html:not(.js) .header-inner {
    flex-wrap: wrap;
  }
  html:not(.js) .site-nav {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 12px 20px;
    padding-bottom: 16px;
  }
  html:not(.js) .menu-toggle, html:not(.js) .mobile-donate {
    display: none;
  }
  .proof-grid {
    grid-template-columns: repeat(3,1fr);
  }
  .proof-link {
    grid-column: 1/-1;
    border: 0;
    border-top: 1px solid var(--line);
    padding: 14px 0 0;
  }
  .proof-link br {
    display: none;
  }
  .proof-link span {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
  }
  .section-heading {
    gap: 28px;
  }
  .care-grid, .value-grid, .results-grid, .support-grid, .funding-grid {
    gap: 16px;
  }
  .care-item, .value-card, .support-card, .funding-grid article, .results-grid article {
    padding: 22px;
  }
  .care-item p, .value-card p, .funding-grid p {
    font-size: .9375rem;
  }
  .story-layout {
    gap: 32px;
  }
  .story-visual > img {
    height: 420px;
  }
  .story-stamp {
    width: calc(100% - 20px);
    padding: 20px;
  }
  .home-feature {
    gap: 32px;
  }
  .feature-image {
    height: 360px;
  }
  .programme-layout {
    grid-template-columns: .85fr 1.15fr;
    gap: 30px;
  }
  .programme-intro {
    position: static;
  }
  .story-panel {
    gap: 30px;
  }
  .governance-banner, .home-location {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
  .donation-box {
    padding: 24px;
  }
  .donation-box h2 {
    font-size: 1.9rem;
  }
  .giving-switch span {
    font-size: var(--text-small);
    padding-inline: 8px;
  }
  .donor-contact {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .donor-contact-person h2 {
    font-size: 2rem;
  }
  .contact-layout {
    grid-template-columns: .7fr 1.3fr;
    gap: 28px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-addresses {
    gap: 18px;
  }
  .address-card {
    padding: 23px;
  }
  .campaign, .partner-panel {
    gap: 30px;
  }
  .campaign-side {
    padding: 22px;
  }
}

@media (max-width: 43.75em) {
  .utility-bar {
    display: none;
  }
  .donation-proof {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .donation-proof-card {
    padding: 26px;
  }
  .enquiry-actions {
    align-items: stretch;
  }
  .enquiry-actions > * {
    flex: 1 1 13rem;
  }
  .donate-mobile-action {
    display: block;
    margin-top: 1.5rem;
  }
  .donate-mobile-action .button {
    width: 100%;
  }
  .donate-mobile-action p {
    margin-top: .6rem;
    font-size: var(--text-small);
    color: #fff;
  }
  :root {
    --gutter: 20px;
    --section: 54px;
  }
  body {
    font-size: 1rem;
    line-height: 1.7;
  }
  h1 {
    font-size: clamp(2.35rem, 1.5rem + 4vw, 3.15rem);
  }
  h2 {
    font-size: var(--text-heading);
    line-height: 1.22;
  }
  h3 {
    font-size: var(--text-subheading);
  }
  h1 br, h2 br, .section-heading br {
    display: none;
  }
  h2 br::after {
    content: ' ';
  }
  .eyebrow {
    font-size: var(--text-small);
    margin-bottom: 14px;
  }
  .lead {
    font-size: 1.0625rem;
  }
  .actions {
    gap: 10px 18px;
    margin-top: 23px;
  }
  .button {
    min-height: 48px;
    padding: 11px 20px;
  }
  .two-col, .section-heading, .story-layout, .home-feature, .programme-layout, .faq-layout, .bequest-layout, .regular-layout, .donor-contact, .volunteer-grid, .evidence-panel, .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .section-heading {
    margin-bottom: 28px;
    gap: 18px;
  }
  .section-heading > p {
    max-width: none;
  }
  .section-heading > .text-link {
    justify-self: start;
  }
  .header-inner {
    gap: 10px;
  }
  .mobile-donate {
    padding-inline: 16px;
    font-size: .875rem;
  }
  .menu-toggle {
    padding-inline: 12px;
  }
  .location-inner {
    gap: 0;
    padding-block: 6px;
  }
  .breadcrumb {
    gap: 4px 10px;
  }
  .section-nav {
    width: 100%;
    border-top: 1px solid var(--line);
  }
  .section-nav a {
    flex: 1 1 auto;
    justify-content: center;
    padding-inline: 8px;
  }
  .proof-strip {
    padding-block: 22px;
  }
  .proof-grid {
    grid-template-columns: repeat(auto-fit,minmax(min(100%,5rem),1fr));
    gap: 20px 14px;
  }
  .proof-item {
    display: block;
  }
  .proof-item > strong {
    display: block;
    margin-bottom: 8px;
    font-size: 2rem;
  }
  .proof-item > span {
    font-size: var(--text-small);
    line-height: 1.5;
  }
  .proof-item br {
    display: none;
  }
  .proof-link {
    font-size: var(--text-small);
    gap: 10px;
  }
  .proof-link span {
    display: block;
  }
  .proof-link a {
    padding-block: 5px;
  }
  .care-grid, .value-grid, .results-grid, .support-grid, .funding-grid, .contact-addresses, .home-cards, .needs-grid, .board-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .care-item, .value-card, .support-card, .funding-grid article, .results-grid article {
    padding: 26px;
  }
  .care-item p, .value-card p, .funding-grid p {
    font-size: 1rem;
  }
  .care-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 19px;
  }
  .results-grid {
    gap: 14px;
  }
  .results-grid article {
    padding: 24px;
  }
  .results-grid article > strong {
    font-size: 3rem;
    margin-bottom: 10px;
  }
  .results-grid h3 {
    font-size: 1.125rem;
  }
  .result-source {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
  }
  .result-source > span {
    max-width: none;
  }
  .card-image img {
    height: 235px;
  }
  .home-card-body {
    padding: 26px;
  }
  .home-card h3 {
    font-size: 1.5rem;
  }
  .story-visual {
    padding-bottom: 0;
  }
  .story-visual > img {
    height: 350px;
  }
  .story-stamp {
    margin-top: -90px;
    width: calc(100% - 36px);
    padding: 22px;
  }
  .story-stamp strong {
    font-size: 1.65rem;
  }
  .support-card p {
    margin-bottom: 22px;
  }
  .support-more {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .support-more > span {
    display: none;
  }
  .person-contact {
    flex-wrap: wrap;
    gap: 18px;
    padding-block: 30px;
  }
  .person-contact > img {
    width: 68px;
    height: 78px;
  }
  .person-contact > div {
    flex: 1;
  }
  .person-contact > .text-link {
    margin-left: 86px;
  }
  .person-contact h3 {
    font-size: 1.125rem;
  }
  .person-contact p {
    font-size: .875rem;
  }
  .value-grid {
    margin-top: 30px;
  }
  .value-card .number {
    margin-bottom: 18px;
  }
  .timeline li {
    grid-template-columns: 70px 1fr;
    gap: 18px;
    padding-bottom: 24px;
  }
  .timeline li + li {
    padding-top: 22px;
  }
  .timeline-date {
    font-size: .875rem;
  }
  .timeline h3 {
    font-size: 1.0625rem;
  }
  .timeline p {
    font-size: .9375rem;
  }
  .team-grid, .team-grid.three, .team-grid.five {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }
  .team-member > img {
    width: 112px;
    height: 120px;
    margin-bottom: 17px;
  }
  .team-member h3 {
    font-size: 1.0625rem;
  }
  .team-role {
    font-size: var(--text-small);
  }
  .team-member > p:last-child {
    font-size: .875rem;
  }
  .board-member summary {
    padding: 22px;
  }
  .board-name {
    font-size: 1.0625rem;
  }
  .board-member .bio {
    padding: 0 22px 22px;
    font-size: .9375rem;
  }
  .feature-image {
    height: 280px;
  }
  .home-feature.reverse .feature-image {
    order: 0;
  }
  .home-feature + .home-feature {
    margin-top: 48px;
    padding-top: 48px;
  }
  .feature-tags {
    margin-block: 20px;
  }
  .governance-banner, .home-location {
    padding: 24px;
    margin-top: 28px;
  }
  .home-location {
    margin-top: 0;
  }
  .programme-intro > p {
    max-width: none;
  }
  .programme-intro .actions {
    margin-top: 12px;
  }
  .accordion summary {
    padding-block: 21px;
    gap: 18px;
    font-size: 1rem;
  }
  .details-content {
    padding-right: 18px;
    font-size: 1rem;
  }
  .programme-num {
    margin-right: 10px;
  }
  .story-panel {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 26px;
  }
  .story-result {
    padding: 18px;
    margin-top: 20px;
  }
  .story-result strong {
    font-size: 1rem;
  }
  .evidence-panel {
    padding: 26px;
  }
  .donation-route .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .donation-route h2 {
    font-size: 1.6rem;
  }
  .campaign, .partner-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 26px;
  }
  .campaign-side {
    padding: 23px;
  }
  .needs-card {
    padding: 26px;
  }
  .needs-card ul {
    columns: 13rem 2;
    gap: 24px;
    font-size: .875rem;
  }
  .volunteer-image {
    height: 310px;
  }
  .next-steps {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 34px;
    padding-top: 30px;
  }
  .next-steps > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 4px 16px;
  }
  .step-no {
    grid-row: span 2;
    margin: 0;
  }
  .next-steps strong {
    margin: 0;
  }
  .next-steps p {
    grid-column: 2;
  }
  .partner-options {
    gap: 22px;
  }
  .donation-box {
    padding: 26px;
    border-radius: 24px;
  }
  .donation-box h2 {
    font-size: 2rem;
  }
  .giving-switch > div {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr));
  }
  .giving-switch span {
    font-size: .875rem;
    min-height: 48px;
  }
  .donation-evidence {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
  }
  .donation-evidence .text-link {
    max-width: none;
  }
  .regular-image {
    height: 280px;
  }
  .donor-contact-person img {
    width: 94px;
    height: 114px;
  }
  .donor-contact-person h2 {
    font-size: 1.7rem;
  }
  .donor-contact-person .eyebrow {
    font-size: var(--text-small);
  }
  .contact-giving {
    padding: 23px;
    margin: 25px 0;
  }
  .enquiry-card {
    padding: 25px;
  }
  .enquiry-card h2 {
    font-size: 1.7rem;
  }
  .form-field label {
    font-size: .875rem;
  }
  .email-preview {
    padding: 19px;
  }
  .email-preview pre {
    padding: 16px;
    font-size: .875rem;
  }
  .email-preview .actions {
    align-items: stretch;
  }
  .address-card {
    padding: 25px;
  }
  .closing-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
  .closing h2 {
    font-size: 2.2rem;
  }
  .closing p {
    font-size: 1rem;
  }
  .site-footer {
    padding-top: 42px;
  }
  .footer-grid {
    grid-template-columns: repeat(auto-fit,minmax(min(100%,12rem),1fr));
    gap: 30px 24px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-brand img {
    width: 112px;
  }
  .footer-brand .footer-tagline {
    font-size: 1.65rem;
  }
  .footer-brand > p:last-child {
    max-width: 46ch;
  }
  .footer-grid h2 {
    margin-top: 0;
    font-size: .9375rem;
  }
  .footer-links a {
    font-size: var(--text-small);
    min-height: var(--target);
  }
  .footer-grid > .footer-address {
    grid-column: 1/-1;
    padding-top: 24px;
  }
  .footer-credit {
    justify-content: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 30px;
  }
}

@media (max-width: 23.75em) {
  :root {
    --gutter: 16px;
  }
  .brand img {
    width: 84px;
    height: 56px;
  }
  .header-inner {
    min-height: 74px;
    gap: 8px;
  }
  .mobile-donate {
    padding-inline: 13px;
  }
  .menu-toggle {
    padding-inline: 10px;
  }
  .menu-toggle .icon {
    width: 17px;
    flex-basis: 17px;
  }
  .team-grid, .team-grid.three, .team-grid.five {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .team-member {
    display: block;
  }
  .team-member > img {
    width: 88px;
    height: 96px;
    grid-row: span 2;
    margin: 0 0 16px;
  }
  .team-member h3 {
    align-self: end;
    margin: 0;
  }
  .team-member .team-role {
    align-self: start;
    margin: 0;
  }
  .team-member > p:last-child {
    grid-column: 1/-1;
    margin-top: 8px;
  }
  .needs-card ul {
    columns: 1;
  }
  .giving-switch span {
    font-size: var(--text-small);
  }
  .donation-box, .enquiry-card {
    padding: 20px;
  }
  .appeal-strip .button, .funding-brief .button {
    width: 100%;
  }
  .donor-contact-person {
    gap: 16px;
  }
  .donor-contact-person img {
    width: 80px;
    height: 105px;
  }
  .donor-contact-person h2 {
    font-size: 1.5rem;
  }
}

@media (max-height: 500px) {
  .site-header {
    position: relative;
  }
  html {
    scroll-padding-top: 16px;
  }
  .programme-intro {
    position: static;
  }
}

/* 8. Respect system settings without a site-level animation switch. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .button:hover, .text-link:hover .icon, .card-image:hover img {
    transform: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #45304b;
    --line: #8a7090;
  }
  .button-outline, .report-link, .board-member, input, select, textarea {
    border-width: 2px;
  }
}

@media (forced-colors: active) {
  .site-nav .is-current-page, .section-nav a[aria-current="page"] {
    border: 3px solid Highlight;
  }
  .site-nav .is-current-section {
    border: 2px dashed LinkText;
  }
  .breadcrumb [aria-current="page"] > span {
    border: 1px solid CanvasText;
  }
  .button, .giving-switch span, .amount-options label > span, .priority-source, .funding-brief {
    border: 2px solid ButtonText;
  }
  .giving-switch input:checked + span, .amount-options input:checked + span {
    outline: 3px solid Highlight;
    outline-offset: -5px;
  }
  summary > .icon {
    color: ButtonText;
  }
}

@media print {
  html {
    scroll-padding: 0;
  }
  body {
    color: #000;
    font-size: 11pt;
  }
  .site-header {
    position: static;
  }
  .utility-bar, .site-nav, .section-nav, .mobile-donate, .menu-toggle, .reading-progress, .skip-link, .closing, .footer-links, .giving-switch, .form-grid, #enquiry-form > .button {
    display: none !important;
  }
  .container {
    width: 100%;
  }
  .section {
    padding-block: 24px;
  }
  .section.paper, .results-section, .dark, .site-footer {
    background: #fff;
    color: #000;
  }
  .dark h2, .dark h3, .site-footer h2, .site-footer p, .footer-address, .footer-bottom {
    color: #000;
  }
  .programme-intro {
    position: static;
  }
  .button {
    color: #000;
    background: #fff;
    border: 1px solid #000;
  }
  .donation-box, .enquiry-card, .home-card, .story-panel, .care-item, .results-grid article {
    box-shadow: none;
    break-inside: avoid;
  }
  .footer-grid {
    display: block;
  }
  .footer-brand img {
    display: none;
  }
  .footer-bottom {
    border-color: #000;
  }
}
