/* ============================================================
   LIGHT A LIFE — COMPONENTS: nav, hero, sections, cards, footer
   ============================================================ */

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(255, 252, 243, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(27, 31, 56, 0.08);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: var(--space-3);
}
.nav__brand {
  display: inline-flex; align-items: center; gap: var(--space-3);
  text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-lg); line-height: 1.1;
}
.nav__logo {
  width: 104px; height: 104px; flex: none;
  border-radius: 0;
  border: none;
  object-fit: cover;
  background: var(--white);
  transition: width 300ms var(--ease-out), height 300ms var(--ease-out);
}
.nav.is-scrolled .nav__logo {
  width: 52px; height: 52px;
}
.nav__brand small {
  display: block; font-family: var(--font-body);
  font-weight: 500; font-size: 0.7rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft);
}
.nav__links { display: flex; align-items: center; gap: var(--space-6); list-style: none; }
.nav__link {
  color: var(--ink); text-decoration: none;
  font-size: var(--text-sm); font-weight: 600;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
.nav__link:hover { border-color: var(--sun); color: var(--blue-deep); }

/* ============================================================
   HERO BACKGROUND — photo + 3D canvas + grain, scoped to .hero
   (v2-style, but scrolls away with the section instead of
   staying fixed to the viewport)
   ============================================================ */
#lal-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
#lal-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transform: translateX(400px);
  filter: contrast(1.45) saturate(1.4) brightness(1.03);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.15) 14%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.15) 14%, #000 34%);
}
.lal-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,252,243,.55), rgba(255,252,243,.42) 45%, rgba(255,246,221,.86));
}
#lal-hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
.lal-grain {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(7rem, 14vw, 10rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,252,243,.96) 0%, rgba(255,252,243,.82) 32%, rgba(255,252,243,.32) 58%, rgba(255,252,243,0) 78%);
}
.hero__content { position: relative; z-index: 2; }

.hero__kicker {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(58,71,196,.18);
  color: var(--blue-deep);
  font-weight: 600; font-size: var(--text-sm);
  padding: 0.45em 1.1em; border-radius: var(--radius-full);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-hero);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: var(--space-6);
  max-width: 16ch;
  text-wrap: balance;
}
.hero__sub {
  margin-top: var(--space-6);
  font-size: var(--text-lg);
  color: var(--ink-soft);
  max-width: 50ch;
}
.hero__actions {
  margin-top: var(--space-8);
  display: flex; gap: var(--space-4); flex-wrap: wrap;
}
.hero__proof {
  margin-top: var(--space-8);
  display: flex; gap: var(--space-12); flex-wrap: wrap;
}
.hero__proof div { font-weight: 600; font-size: var(--text-sm); color: var(--ink-soft); }
.hero__proof strong {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--text-2xl); color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: clamp(2.5rem, 6vw, 4.5rem);
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  color: var(--ink-soft);
}
.hero__scroll span:first-child { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; }
.hero__scroll-line { width: 1px; height: 34px; background: linear-gradient(var(--sun-deep), transparent); }

/* ============================================================
   TICKER STRIP
   ============================================================ */
.ticker {
  position: relative;
  z-index: 20;
  margin-top: -46px;
  background: var(--sun);
  border-block: 3px solid var(--ink);
  overflow: hidden;
  rotate: -1deg;
  scale: 1.02 1;
}
.ticker__track {
  display: flex; gap: 0; width: max-content;
  animation: ticker 28s linear infinite;
  padding-block: var(--space-3);
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker__item {
  display: inline-flex; align-items: center; gap: var(--space-4);
  padding-inline: var(--space-4);
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-lg); white-space: nowrap;
}
.ticker__item svg { width: 18px; height: 18px; }
.ticker__star { display: inline-block; margin-inline: var(--space-2); }

/* ============================================================
   MISSION
   ============================================================ */
.mission__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.mission__photos { position: relative; min-height: 420px; }
.mission__photo {
  position: absolute; overflow: hidden;
  border: 3px solid var(--ink);
  background: var(--white);
}
.mission__photo img { width: 100%; height: 100%; object-fit: cover; }
.mission__photo--a {
  width: 62%; aspect-ratio: 4/5; left: 0; top: 0;
  border-radius: var(--radius-lg);
  rotate: -3deg;
  box-shadow: 10px 10px 0 0 var(--blue);
}
.mission__photo--b {
  width: 52%; aspect-ratio: 1; right: 0; bottom: 0;
  border-radius: var(--blob);
  rotate: 4deg;
  box-shadow: -8px 10px 0 0 var(--sun);
}
.badge-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.badge {
  font-weight: 600; font-size: var(--text-sm);
  padding: 0.5em 1.1em;
  border-radius: var(--radius-full);
  border: 2px solid var(--ink);
  background: var(--white);
}
.badge--sun { background: var(--sun-tint); }
.badge--blue { background: var(--blue-tint); }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background: var(--blue);
  border-block: 3px solid var(--ink);
  color: var(--white);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: var(--space-6);
  text-align: center;
}
.stat__value {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.3rem, 1.4rem + 2.6vw, 3.6rem);
  line-height: 1; color: var(--sun);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: var(--space-2);
  font-weight: 600; font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
}

/* ============================================================
   PROGRAMMES
   ============================================================ */
.programmes { background: var(--paper-warm); border-bottom: 3px solid var(--ink); }
.programmes__grid {
  margin-top: var(--space-12);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: var(--space-8);
  perspective: 1200px;
}
.programme-card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  transition: transform 350ms var(--ease-out), box-shadow 350ms var(--ease-out);
  will-change: transform;
  display: flex; flex-direction: column;
}
.programme-card:hover { box-shadow: var(--shadow-pop); }
.programme-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; border-bottom: 3px solid var(--ink); }
.programme-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: scale 600ms var(--ease-out);
}
.programme-card:hover .programme-card__media img { scale: 1.06; }
.programme-card__since {
  position: absolute; top: var(--space-3); left: var(--space-3);
  background: var(--sun); border: 2px solid var(--ink);
  border-radius: var(--radius-full);
  font-weight: 700; font-size: 0.78rem;
  padding: 0.3em 0.9em;
}
.programme-card__body { padding: var(--space-6); display: flex; flex-direction: column; flex: 1; }
.programme-card__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--text-xl); line-height: 1.15;
}
.programme-card__tag {
  margin-top: var(--space-1);
  color: var(--blue); font-weight: 600; font-size: var(--text-sm);
}
.programme-card__text { margin-top: var(--space-3); color: var(--ink-soft); font-size: var(--text-sm); }
.programme-card__list { margin-top: var(--space-4); list-style: none; display: grid; gap: var(--space-2); }
.programme-card__list:last-of-type { margin-bottom: var(--space-4); }
.programme-card__list li {
  position: relative; padding-left: 1.4em;
  font-size: var(--text-sm); color: var(--ink-soft);
}
.programme-card__list li::before { content: "✿"; position: absolute; left: 0; top: 0; color: var(--blue); font-size: 0.8em; }
.programme-card__stat {
  margin-top: auto; padding-top: var(--space-4);
  border-top: 2px dashed rgba(27, 31, 56, 0.2);
}
.programme-card__stat strong {
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--text-2xl); color: var(--blue);
}
.programme-card__stat span { display: block; font-size: var(--text-sm); color: var(--ink-soft); }
.programme-card__label { margin-top: var(--space-4); font-weight: 600; font-size: var(--text-sm); color: var(--ink); }
.programme-card__list + .programme-card__label { margin-top: var(--space-4); }
.programme-card__closer { margin-top: auto; padding-top: var(--space-4); font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); line-height: 1.35; color: var(--ink); }

/* ============================================================
   STORY / QUOTE
   ============================================================ */
.story__panel {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  background: var(--blue);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  color: var(--white);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: 12px 12px 0 0 var(--sun);
}
.story__col--impact {
  border-left: 2px solid rgba(255, 255, 255, 0.28);
  padding-left: clamp(2rem, 5vw, 4.5rem);
}
.story__heading {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.15rem);
  line-height: 1.1; letter-spacing: -0.015em;
  margin-top: var(--space-3);
}
.story__quote {
  margin-top: var(--space-6);
  font-family: var(--font-display); font-weight: 600;
  font-style: italic;
  font-size: clamp(1.15rem, 0.95rem + 1vw, 1.55rem);
  line-height: 1.35;
}
.story__quote::before { content: "“"; color: var(--sun); }
.story__quote::after  { content: "”"; color: var(--sun); }
.story__caption {
  margin-top: var(--space-6);
  font-weight: 600; font-style: italic;
  font-size: var(--text-lg); line-height: 1.4;
  color: var(--sun-tint);
}
.story__cite {
  margin-top: var(--space-2);
  font-style: normal; font-weight: 600;
  font-size: var(--text-sm); line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}
.story__impact {
  list-style: none; margin-top: var(--space-6);
  display: grid; gap: var(--space-4);
}
.story__impact li {
  display: flex; gap: var(--space-3); align-items: baseline;
  font-size: var(--text-lg); line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}
.story__impact li::before { content: "✦"; color: var(--sun); flex: none; font-size: 0.85em; }
.story__impact strong { color: var(--white); font-weight: 700; }
.story__closer {
  margin-top: var(--space-6);
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-lg); line-height: 1.4;
}

/* ---- Story video placeholder + modal ---- */
.story__video {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  position: relative; display: block; width: 100%;
  border: 3px solid var(--ink); border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer; background: var(--ink);
  box-shadow: 8px 8px 0 0 var(--blue);
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.story__video:hover { transform: translate(-2px, -2px); box-shadow: 12px 12px 0 0 var(--blue); }
.story__video:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.story__video img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; aspect-ratio: 21/9; display: block; opacity: 0.78; }
.story__video__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: var(--space-4);
  text-align: center; color: var(--white);
  background: linear-gradient(180deg, rgba(27,31,56,0.15), rgba(27,31,56,0.55));
}
.story__video__play {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--sun); border: 3px solid var(--ink);
  display: grid; place-items: center; flex: none;
  box-shadow: 0 8px 24px rgba(27,31,56,0.35);
  transition: transform 250ms var(--ease-bounce);
}
.story__video:hover .story__video__play { transform: scale(1.08); }
.story__video__play svg { width: 30px; height: 30px; margin-left: 4px; }
.story__video__label { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); text-shadow: 0 1px 6px rgba(0,0,0,0.4); }

.video-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(27,31,56,0.82); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity 250ms var(--ease-out), visibility 250ms;
}
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-modal__frame {
  position: relative; width: min(960px, 100%);
  aspect-ratio: 16/9; background: #000;
  border: 3px solid var(--white); border-radius: var(--radius-lg);
  /* overflow stays visible so the close button can sit over the corner;
     the player wrapper below does the rounding instead */
  transform: scale(0.96); transition: transform 280ms var(--ease-bounce);
}
.video-modal.is-open .video-modal__frame { transform: scale(1); }
#videoModalBody {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  overflow: hidden; border-radius: calc(var(--radius-lg) - 3px);
}
.video-modal__frame iframe,
.video-modal__frame video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.video-modal__close {
  position: absolute; top: -14px; right: -14px; z-index: 3;   /* above the player */
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sun); border: 3px solid var(--ink); cursor: pointer;
  display: grid; place-items: center; font-size: 1.3rem; line-height: 1; color: var(--ink);
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.video-modal__close:hover { transform: scale(1.08); }

/* ============================================================
   WHY
   ============================================================ */
.why { background: var(--paper-warm); }   /* #FFF6DD band */
.why__grid {
  margin-top: var(--space-12);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: var(--space-6);
}
.why-card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform 250ms var(--ease-bounce), box-shadow 250ms var(--ease-out);
}
.why-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-card); }
.why-card:nth-child(even):hover { transform: translateY(-6px) rotate(1deg); }
.why-card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  border: 2px solid var(--ink);
  font-size: 1.5rem;
}
.why-card:nth-child(4n+1) .why-card__icon { background: var(--sun-tint); }
.why-card:nth-child(4n+2) .why-card__icon { background: var(--blue-tint); }
.why-card:nth-child(4n+3) .why-card__icon { background: #FFE3D6; }
.why-card:nth-child(4n+4) .why-card__icon { background: #DDF3E4; }
.why-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-lg);
}
.why-card p { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--ink-soft); }
.why__slogan {
  margin-top: var(--space-12);
  text-align: center;
  font-family: var(--font-hand);
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem);
  color: var(--blue);
  rotate: -1deg;
}

/* ============================================================
   DONATE
   ============================================================ */
.donate { background: var(--sun-tint); border-block: 3px solid var(--ink); }
.donate__panel {
  margin-top: var(--space-12);
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 0 var(--blue);
}

.donate__freq {
  display: inline-flex;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-full);
  padding: 4px; gap: 4px;
}
.donate__freq button {
  border: 0; background: transparent; cursor: pointer;
  padding: 0.5em 1.3em; border-radius: var(--radius-full);
  font-weight: 700; font-size: var(--text-sm); color: var(--ink-soft);
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out);
}
.donate__freq button.is-active { background: var(--ink); color: var(--white); }

.donate__amounts {
  margin-top: var(--space-6);
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
.amount-btn {
  border: 2px solid var(--ink);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  cursor: pointer; text-align: left;
  font-weight: 700; color: var(--ink);
  transition: transform 200ms var(--ease-bounce), background 180ms var(--ease-out),
              box-shadow 200ms var(--ease-out);
}
.amount-btn:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 0 var(--ink); }
.amount-btn.is-active { background: var(--sun); box-shadow: 4px 4px 0 0 var(--ink); }
.amount-btn small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.78rem; }

.donate__custom {
  margin-top: var(--space-3);
  display: flex; align-items: center; gap: var(--space-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  background: var(--white);
}
.donate__custom:focus-within { box-shadow: 4px 4px 0 0 var(--blue); }
.donate__custom span { font-weight: 700; color: var(--ink-soft); }
.donate__custom input { border: 0; outline: none; width: 100%; background: transparent; font-weight: 600; }

.donate__impact {
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  background: var(--blue-tint);
  border: 2px solid var(--blue);
  font-size: var(--text-base);
  min-height: 4.4em;
}
.donate__impact strong { color: var(--blue-deep); }
.donate__submit { margin-top: var(--space-6); width: 100%; }
.donate__note {
  margin-top: var(--space-3);
  font-size: 0.78rem; color: var(--ink-soft); text-align: center;
}
.donate__note a { color: var(--blue); }

.donate__ways h3 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-3xl); }
.donate__ways { order: -1; }
.donate__ways ul { margin-top: var(--space-6); list-style: none; display: grid; gap: var(--space-3); }
.donate__ways li {
  display: flex; gap: var(--space-4); align-items: flex-start;
  padding: var(--space-2) 0;
  transition: transform 200ms var(--ease-bounce);
}
.donate__ways li:hover { transform: translateX(4px); }
.donate__ways .way-icon { font-size: 1.3rem; flex: none; }
.donate__ways li strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); }
.donate__ways li span { font-size: var(--text-sm); color: var(--ink-soft); }

/* ============================================================
   TRUSTEES
   ============================================================ */
.trustees__group + .trustees__group { margin-top: var(--space-12); }
.trustees__group > h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-xl);
  display: flex; align-items: center; gap: var(--space-3);
}
.trustees__group > h3::after {
  content: ""; flex: 1; height: 3px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 18px);
  border-radius: 3px; opacity: 0.25;
}
.trustees__grid {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr));
  gap: var(--space-8) var(--space-6);
}
.trustee { text-align: center; }
.trustee__photo {
  width: min(140px, 70%);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 5px 6px 0 0 var(--sun);
  transition: transform 250ms var(--ease-bounce), box-shadow 250ms var(--ease-out);
}
.trustee:nth-child(even) .trustee__photo { box-shadow: -5px 6px 0 0 var(--blue); }
.trustee:hover .trustee__photo { transform: scale(1.3); }
.trustee__photo img { width: 100%; height: 100%; object-fit: cover; }
.trustee h4 {
  margin-top: var(--space-4);
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-base); line-height: 1.25;
}
.trustee p { font-size: var(--text-sm); color: var(--blue); font-weight: 600; }

/* ============================================================
   FINALE + FOOTER
   ============================================================ */
.finale {
  background: var(--blue);
  border-top: 3px solid var(--ink);
  color: var(--white);
  text-align: center;
  padding: clamp(4.5rem, 9vw, 7.5rem) var(--space-6) 0;
  position: relative; overflow: hidden;
}
.finale .section-title { margin-inline: auto; color: var(--white); }
.programmes .section-title { margin-bottom: var(--space-6); }
#trustees .section-lede { text-align: left; text-indent: 0; padding-left: 0; max-width: none; }
.finale .eyebrow { color: var(--sun); }
.finale__actions {
  margin-top: var(--space-8);
  display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap;
}
.finale .btn--line { color: var(--white); border-color: var(--white); }
.finale .btn--line:hover { background: rgba(255,255,255,0.12); }

.footer { margin-top: clamp(4rem, 8vw, 6rem); padding-block: var(--space-8); border-top: 1px solid rgba(255,255,255,0.25); }
.footer__inner {
  display: grid; grid-template-columns: 1fr auto; gap: var(--space-6);
  align-items: center;
  font-size: var(--text-sm); color: rgba(255,255,255,0.8);
}
.footer__inner > :last-child { justify-self: end; }
.footer__brand { display: flex; align-items: center; gap: var(--space-3); }
.footer__brand img { width: 44px; height: 44px; border-radius: 10px; border: 2px solid var(--white); }
.footer__contact { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-2) var(--space-6); text-align: center; }
.footer__contact a { display: inline-flex; align-items: center; gap: 0.45em; }
.footer__inner a { color: var(--sun); text-decoration: none; font-weight: 600; }
.footer__inner a:hover { text-decoration: underline; }

/* ============================================================
   MULTI-PAGE ADDITIONS — nav toggle, active link, page header,
   breadcrumb, programme detail, contact cards
   ============================================================ */
.nav__link[aria-current="page"] { border-color: var(--sun); color: var(--blue-deep); }

.nav__toggle {
  display: none;
  place-content: center; gap: 5px;
  width: 48px; height: 48px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-full);
  background: var(--sun);
  box-shadow: 0 4px 0 0 var(--ink);
  cursor: pointer;
}
.nav__toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Inner-page header (replaces the full hero on sub-pages) */
.page-hero {
  position: relative; overflow: hidden;
  padding-top: clamp(9rem, 16vw, 11rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  background: var(--paper-warm);
  border-bottom: 3px solid var(--ink);
}
.page-hero .hero__title { margin-top: var(--space-4); max-width: 20ch; }

.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  list-style: none;
  font-size: var(--text-sm); font-weight: 600; color: var(--ink-soft);
}
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); opacity: 0.5; }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Programme card link + detail pages */
.programme-card__more {
  margin-top: var(--space-4);
  font-family: var(--font-display); font-weight: 700;
  color: var(--blue); text-decoration: none;
}
.programme-card__more:hover { text-decoration: underline; }

.detail__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.detail__media {
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 10px 10px 0 0 var(--blue);
  rotate: -1.5deg;
}
.detail__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.detail__actions { margin-top: var(--space-8); display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* Contact cards reuse .why-card */
.contact-card { display: block; color: inherit; text-decoration: none; }
.contact-card p { font-size: var(--text-base); color: var(--blue); font-weight: 600; }

/* ============================================================
   CONTACT MODAL — native <dialog> + enquiry form
   ============================================================ */
html:has(.contact-modal[open]) { overflow: hidden; }

.contact-modal {
  width: min(640px, 100% - var(--space-8));
  max-height: calc(100dvh - var(--space-8));
  margin: auto;
  padding: 0; border: 0; background: transparent;
  color: var(--ink);
  overflow: visible;
}
.contact-modal::backdrop {
  background: rgba(27, 31, 56, 0.82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.contact-modal[open] { animation: modal-in 280ms var(--ease-bounce); }
/* Transform only (no opacity), so the form is never invisible if animations are paused */
@keyframes modal-in { from { transform: scale(0.96) translateY(12px); } }

.contact-modal__panel {
  position: relative;
  max-height: calc(100dvh - var(--space-8));
  overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 10px 10px 0 0 var(--sun);
}
.contact-modal__close {
  position: absolute; top: var(--space-4); right: var(--space-4);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sun); border: 3px solid var(--ink); cursor: pointer;
  display: grid; place-items: center; font-size: 1.1rem; line-height: 1; color: var(--ink);
  transition: transform 200ms var(--ease-bounce);
}
.contact-modal__close:hover { transform: scale(1.08) rotate(90deg); }
.contact-modal__panel > .eyebrow { padding-right: 52px; }   /* clear the close button */
.contact-modal__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--text-2xl); line-height: 1.1;
  margin-top: var(--space-2);
}
.contact-modal__lede { margin-top: var(--space-2); color: var(--ink-soft); padding-right: var(--space-8); }

.contact-form { margin-top: var(--space-6); display: grid; gap: var(--space-4); }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.contact-form__field { display: grid; gap: var(--space-1); }
.contact-form label { font-weight: 600; font-size: var(--text-sm); }
.contact-form label small { font-weight: 500; color: var(--ink-soft); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  transition: box-shadow 180ms var(--ease-out);
}
.contact-form textarea { resize: vertical; min-height: 7.5rem; }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; box-shadow: 4px 4px 0 0 var(--blue); }
.contact-form [aria-invalid="true"] { border-color: #C0392B; }
.contact-form__error { min-height: 0; font-size: 0.8rem; font-weight: 600; color: #B42318; }
.contact-form__error:empty { display: none; }

/* Honeypot stays out of view and out of the accessibility tree */
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-form__privacy { font-size: 0.8rem; color: var(--ink-soft); }
.contact-form__submit { width: 100%; }
.contact-form__submit[disabled] { opacity: 0.7; cursor: wait; transform: none; }
.contact-form__status:empty { display: none; }
.contact-form__status {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 2px solid currentColor;
  font-weight: 600; font-size: var(--text-sm);
}
.contact-form__status.is-success { color: #1E6B3A; background: #DDF3E4; }
.contact-form__status.is-error   { color: #B42318; background: #FDE8E7; }
