/* =====================================================================
   Tshani Foundation, v5
   Aesthetic pivot: Matthew Encina personal site.
   Near-black background, thin sans-serif typography, generous negative
   space, ochre backdrop behind the founder portrait, one or two surgical
   accent moments only.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0a0a;
  --bg-panel: #111111;
  --ink: #f1efe8;
  --ink-mute: #8a887f;
  --ink-soft: #b9b7ad;
  --ochre: #D37F0F;
  --ochre-soft: rgba(211, 127, 15, 0.8);
  --rule: rgba(241, 239, 232, 0.08);
  --rule-strong: rgba(241, 239, 232, 0.18);

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;

  --max: 1120px;
  --col: 640px;

  --s-1: 16px;
  --s-2: 32px;
  --s-3: 64px;
  --s-4: 96px;
  --s-5: 128px;
  --s-6: 192px;
  --s-7: 256px;

  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--ochre); color: var(--bg); }

/* ---------- Accessibility ---------- */
.skip {
  position: absolute; top: -40px; left: 0;
  background: var(--ochre); color: var(--bg);
  padding: 8px 14px; z-index: 1000;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.skip:focus { top: 0; }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
}

/* ---------- Navigation ---------- */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 28px 0;
  background: transparent;
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 200ms var(--ease);
  position: relative;
  padding: 4px 0;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--ink);
}

.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--ochre);
}

.nav__brand {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 400;
  white-space: nowrap;
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 0;
}

@media (max-width: 720px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    padding: 24px 22px 32px;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 0; font-size: 14px; }
  .nav__toggle { display: inline-block; }
}

/* ---------- Type system ---------- */
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
  margin: 0;
}

.display {
  font-family: var(--sans);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(48px, 7.5vw, 96px);
  margin: 0;
  color: var(--ink);
}

.h1 {
  font-family: var(--sans);
  font-weight: 200;
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-size: clamp(40px, 5.4vw, 68px);
  margin: 0;
  color: var(--ink);
}

.h2 {
  font-family: var(--sans);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(28px, 3.4vw, 44px);
  margin: 0;
  color: var(--ink);
}

.h3 {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
  font-size: 20px;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 1.2em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 300;
  max-width: var(--col);
}

/* Serif italic accent, used sparingly for identifier phrases */
.serif-ital {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ochre-soft);
  letter-spacing: -0.01em;
}

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}
.rule--ochre { border-top-color: var(--ochre); }
.seam-wrap { display: flex; justify-content: center; }
.seam { display: block; width: 90px; height: 2px; background: var(--ochre); border-radius: 2px; }

/* ---------- Spacing helpers ---------- */
.section      { padding: var(--s-4) 0; }
.section--lg  { padding: var(--s-5) 0; }
.section--xl  { padding: var(--s-6) 0; }

@media (max-width: 900px) {
  .section     { padding: 72px 0; }
  .section--lg { padding: 96px 0; }
  .section--xl { padding: 128px 0; }
}

/* ---------- Home hero ---------- */
.home-hero {
  padding-top: 212px;
  padding-bottom: var(--s-4);
}

.home-hero__grid {
  display: grid;
  grid-template-columns: 62fr 38fr;
  gap: 80px;
  align-items: center;
}

.home-hero__portrait {
  position: relative;
  width: 100%;
  max-width: 392px;
  aspect-ratio: 11 / 12;
  justify-self: start;
}

.home-hero__backdrop {
  position: absolute;
  inset: 24px -24px -24px 24px;
  background: var(--ochre);
  z-index: 0;
}
.home-hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.08), transparent 60%);
  pointer-events: none;
}

.home-hero__portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: saturate(0.95) contrast(1.02);
}

.home-hero__text {
  max-width: 420px;
}

.home-hero__intro {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 300;
}

.home-hero__intro strong {
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 900px) {
  .home-hero { padding-top: 156px; }
  .home-hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .home-hero__portrait {
    max-width: 320px;
  }
  .home-hero__backdrop {
    inset: 16px -16px -16px 16px;
  }
}

/* ---------- Scroll indicator ---------- */
.scroll-ind {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
  margin: 0 auto;
  width: max-content;
}

.scroll-ind__label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.scroll-ind__arrow {
  width: 1px;
  height: 28px;
  background: var(--ink-mute);
  position: relative;
  animation: sbounce 2s var(--ease) infinite;
}
.scroll-ind__arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 6px; height: 6px;
  border-right: 1px solid var(--ink-mute);
  border-bottom: 1px solid var(--ink-mute);
  transform: translate(-50%, 3px) rotate(45deg);
}

@keyframes sbounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(8px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-ind__arrow { animation: none; }
}

.meta-line {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  text-transform: uppercase;
  padding: 48px 0 0;
  margin: 0;
}

/* ---------- Centered invitation + video ---------- */
.invite {
  text-align: center;
  padding: var(--s-5) 0 var(--s-3);
}

.invite__line {
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
}

.video {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 0 var(--s-3);
}

.video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--rule-strong);
  background: #000;
}
.video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.video__caption {
  max-width: 520px;
  margin: 32px auto 0;
  padding: 0 22px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  text-align: left;
}

/* ---------- Two-column biographical ---------- */
.bio-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: var(--s-4) 0;
}

.bio-cols h3 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 28px;
}

.bio-cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bio-cols li {
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.bio-cols li:last-child {
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 900px) {
  .bio-cols {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ---------- "What do you want to do now?" ---------- */
.wdyw {
  padding: var(--s-5) 0 var(--s-4);
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: 80px;
  align-items: start;
}

.wdyw__q {
  font-family: var(--sans);
  font-weight: 200;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}

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

.wdyw__list li { margin-bottom: 12px; }

.wdyw__link {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 3px;
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}

.wdyw__link:hover {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

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

/* ---------- Connect footer ---------- */
.connect {
  text-align: center;
  padding: var(--s-4) 0 var(--s-4);
  border-top: 1px solid var(--rule);
}

.connect__title {
  font-size: 28px;
  font-weight: 200;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
}

.connect__line {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0 auto 36px;
}

.connect__line a { color: var(--ink); border-bottom: 1px solid var(--rule-strong); }
.connect__line a:hover { color: var(--ochre); border-bottom-color: var(--ochre); }

.connect__icons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.connect__icon {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: border-color 200ms var(--ease), color 200ms var(--ease), background 200ms var(--ease);
}
.connect__icon svg { width: 16px; height: 16px; display: block; }
.connect__icon:hover { border-color: var(--ochre); color: var(--ochre); }

.colophon {
  text-align: center;
  padding: 0 0 48px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.colophon a { color: var(--ink-soft); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Secondary page heroes ---------- */

/* About: full-bleed cinematic band */
.band {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 560px;
  overflow: hidden;
}
.band--short { height: auto; min-height: 0; aspect-ratio: 2560 / 1706; }

.band img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.9);
}

.band__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0 0 72px;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.94) 0, rgba(10, 10, 10, 0.6) 200px, rgba(10, 10, 10, 0) 480px);
}

.band__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.band__title {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink);
  margin: 0;
  max-width: 880px;
}

.band__meta {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Text-led hero (programs, get-involved, contact) */
.text-hero {
  padding: 180px 0 var(--s-4);
}

.text-hero__index {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 40px;
}

.text-hero__title {
  font-size: clamp(44px, 6.2vw, 80px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink);
  margin: 0;
  max-width: 900px;
}

.text-hero__lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 560px;
  margin-top: 40px;
}

/* ---------- About page story ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: var(--s-4) 0;
}

.story p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
}

.story p:first-child { color: var(--ink); }

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

/* Leadership grid */
.leaders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 40px;
  padding: var(--s-3) 0;
}

.leader__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-panel);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--rule);
}
.leader__photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
}
.leader__photo--empty {
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 20px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.leader__name {
  margin: 20px 0 4px;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.leader__role {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}

.leader__bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 900px) {
  .leaders { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}
@media (max-width: 560px) {
  .leaders { grid-template-columns: 1fr; }
}

/* ---------- Programmes: numbered long-form entries ---------- */
.num-entries {
  padding: var(--s-3) 0 var(--s-4);
}

.num-entry {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) minmax(400px, 560px);
  gap: 40px;
  padding: 64px 0;
  border-top: 1px solid var(--rule);
  align-items: center;
}
.num-entry:last-child { border-bottom: 1px solid var(--rule); }

/* Clean landscape photo on the right of each programme */
.num-entry__media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  background: var(--bg-panel);
}
.num-entry__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.02);
  transition: transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.num-entry:hover .num-entry__media img { transform: scale(1.04); }

.num-entry__num {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  font-weight: 400;
}

.num-entry__title {
  font-family: var(--sans);
  font-weight: 200;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 24px;
}

.num-entry__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 640px;
  margin-bottom: 18px;
}

.num-entry__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 640px;
}

.num-entry__stat {
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
}

@media (max-width: 1040px) {
  .num-entry { grid-template-columns: 64px minmax(0, 1fr); gap: 24px 40px; align-items: start; }
  .num-entry__media { grid-column: 1 / -1; max-width: 640px; margin-top: 8px; }
}
@media (max-width: 620px) {
  .num-entry { grid-template-columns: 1fr; gap: 16px; }
  .num-entry__media { max-width: none; }
}

/* ---------- Impact numbers ---------- */
.big-nums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding: var(--s-4) 0;
}

.bn {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}

.bn__meta {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 32px;
}

.bn__num {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 20px;
}

.bn__label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .big-nums { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 560px) {
  .big-nums { grid-template-columns: 1fr; gap: 40px; }
}

.pullquote-ochre {
  max-width: 880px;
  margin: 0 auto;
  padding: var(--s-4) 0;
  text-align: left;
}
.pullquote-ochre p {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 200;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ochre);
  margin: 0 0 24px;
}
.pullquote-ochre cite {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.pullquote-ochre--on-band { padding: 0; max-width: 760px; }
.pullquote-ochre--on-band p { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55); }
.pullquote-ochre--on-band cite { color: var(--ink-soft); }

/* Founder quote + animated figures overlaid on the impact band */
.band__overlay--stats {
  background: linear-gradient(to top, rgba(10,10,10,0.96) 0, rgba(10,10,10,0.8) 240px, rgba(10,10,10,0.36) 440px, rgba(10,10,10,0) 600px);
}
.band-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 44px;
  width: 100%;
}
.band-stat__num {
  display: block;
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.6);
}
.band-stat__label {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 240px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.75);
}
@media (max-width: 760px) {
  .band-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; margin-top: 32px; }
}

/* ---------- Contact page: map + details ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: 72px;
  padding: var(--s-4) 0;
  align-items: start;
}

.contact-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--rule-strong);
  background: #111;
  overflow: hidden;
}
.contact-map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(0.6) invert(0.9) hue-rotate(180deg) brightness(0.9);
}

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}
.contact-list li:last-child { border-bottom: 1px solid var(--rule); }

.contact-list .label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
  display: block;
}

.contact-list .val {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.contact-list .val a { border-bottom: 1px solid var(--rule-strong); }
.contact-list .val a:hover { color: var(--ochre); border-bottom-color: var(--ochre); }

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

/* ---------- Form ---------- */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  padding: var(--s-3) 0;
}
.form__row { display: flex; flex-direction: column; gap: 8px; }
.form__row--full { grid-column: 1 / -1; }

.form label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.form input,
.form select,
.form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  padding: 12px 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  transition: border-color 200ms var(--ease);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 0;
  border-bottom-color: var(--ochre);
}
.form textarea { resize: vertical; min-height: 120px; }
.form select { appearance: none; background-image: none; color: var(--ink-soft); }

.form__note {
  font-size: 12px;
  color: var(--ink-mute);
  margin: 8px 0 0;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
  justify-self: start;
}
.btn:hover {
  background: var(--ochre);
  border-color: var(--ochre);
  color: var(--bg);
}

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

/* ---------- Tiered donation panels (get-involved) ---------- */
.tiers {
  display: grid;
  grid-template-columns: 1fr;
  margin: 28px 0 36px;
  max-width: 640px;
}
.tier {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.tier:last-child { border-bottom: 1px solid var(--rule); }
.tier__amount {
  font-size: 24px;
  font-weight: 200;
  letter-spacing: -0.02em;
  color: var(--ochre);
  font-variant-numeric: tabular-nums;
}
.tier__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 560px) {
  .tier { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Data row (governance) ---------- */
.datarow {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px 32px;
  margin: 0;
  padding: var(--s-2) 0 0;
}
.datarow dt {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 2px;
}
.datarow dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.datarow dt {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 720px) {
  .datarow { grid-template-columns: 1fr; gap: 4px; }
  .datarow dt { border-bottom: 0; padding-bottom: 4px; }
  .datarow dd { padding-bottom: 16px; }
}

/* ---------- Utility ---------- */
.center-text { text-align: center; }
.muted { color: var(--ink-mute); }
.soft { color: var(--ink-soft); }

/* =====================================================================
   v5 touch-up additions
   Legibility scrims, anchor offsets, form status states.
   ===================================================================== */

/* Anchor jumps clear the absolute nav */
:where([id]) { scroll-margin-top: 112px; }

/* Nav legibility scrim, keeps links readable over photography (e.g. About band) */
.nav::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 150px;
  background: linear-gradient(to bottom, rgba(10,10,10,0.62), rgba(10,10,10,0));
  pointer-events: none;
  z-index: -1;
}

/* Cinematic band: guarantee title contrast regardless of the photo behind it */
.band img { z-index: 0; }
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.65), rgba(10,10,10,0) 58%);
  pointer-events: none;
  z-index: 1;
}
.band__overlay { z-index: 2; }

/* Form: honeypot (hidden from people and AT), live status, disabled submit */
.form__hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form__status {
  grid-column: 1 / -1;
  font-size: 13px;
  line-height: 1.5;
  margin: 4px 0 0;
  min-height: 1.2em;
  color: var(--ink-soft);
}
.form__status--ok  { color: #8bc48a; }
.form__status--err { color: #e0894f; }

.btn[disabled] { opacity: 0.5; cursor: progress; }
.btn[disabled]:hover { background: transparent; color: var(--ink); border-color: var(--ink); }

/* ============================================================
   v6 additions
   ============================================================ */

/* ---------- Nicole's story, two YouTube episodes ---------- */
.episodes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: var(--s-2) 0 var(--s-3);
}

.episode__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--rule-strong);
  background: #000;
}
.episode__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.episode__label {
  margin: 20px 0 6px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre);
}

.episode__title {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.35;
}

.episode__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 460px;
}

@media (max-width: 760px) {
  .episodes { grid-template-columns: 1fr; gap: 56px; }
}

/* ---------- This year on the ground, vertical field clips ---------- */
.reel {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: var(--s-1) 20px var(--s-2);
  box-sizing: border-box;
}

.reel__card { margin: 0; }

.reel__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--rule-strong);
  background: #000;
  overflow: hidden;
}
.reel__frame video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.reel__caption {
  margin: 18px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.reel__caption strong {
  display: block;
  font-weight: 400;
  color: var(--ink);
  font-size: 14.5px;
  margin-bottom: 4px;
}

@media (max-width: 1080px) {
  .reel {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 18px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    max-width: 620px;
    padding: var(--s-1) 0 var(--s-2);
  }
}
/* Phones: swipeable strip instead of a tall stack */
@media (max-width: 560px) {
  .reel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: none;
    margin: 0 -22px;
    padding: var(--s-2) 22px var(--s-3);
  }
  .reel::-webkit-scrollbar { display: none; }
  .reel__card {
    flex: 0 0 78%;
    scroll-snap-align: center;
  }
}

/* ---------- The family behind the Foundation, About gallery ---------- */
.family {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
  padding: var(--s-2) 0 var(--s-1);
}

.family__item { margin: 0; position: relative; }

.family__item--wide  { grid-column: span 7; }
.family__item--tall  { grid-column: span 5; }
.family__item--half  { grid-column: span 6; }

.family__photo {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  background: var(--bg-panel);
}
.family__photo--landscape { aspect-ratio: 3 / 2; }
.family__photo--portrait  { aspect-ratio: 4 / 5; }

.family__photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.family__item:hover .family__photo img { transform: scale(1.035); }

.family__caption {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.family__caption strong {
  display: block;
  font-weight: 400;
  color: var(--ink);
  font-size: 14.5px;
  margin-bottom: 4px;
}

@media (max-width: 760px) {
  .family { grid-template-columns: 1fr; gap: 48px; }
  .family__item--wide, .family__item--tall, .family__item--half { grid-column: auto; }
}

/* ---------- YouTube facade: official thumbnail + play, iframe on click ---------- */
.yt {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  display: block;
}
.yt img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.4s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.yt:hover img, .yt:focus-visible img { opacity: 1; transform: scale(1.025); }
.yt__play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 44px;
  background: rgba(10, 10, 10, 0.78);
  border: 1px solid var(--ochre-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.yt:hover .yt__play, .yt:focus-visible .yt__play { background: var(--ochre); }
.yt__play::after {
  content: "";
  display: block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--ink);
  margin-left: 3px;
}
.yt:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }

/* ---------- Vector logo in nav ---------- */
.nav__brand--logo { display: inline-flex; align-items: center; }
.nav__brand--logo img {
  height: 160px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}
.nav__brand--logo:hover img { opacity: 0.85; }
@media (max-width: 900px) {
  .nav__brand--logo img { height: 100px; }
}

/* ===================================================================
   v7 additions — reel click-to-play facade with aesthetic play button
   =================================================================== */
.reel-play {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  display: block;
}
.reel-play img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: opacity 0.4s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reel-play:hover img,
.reel-play:focus-visible img { opacity: 1; transform: scale(1.03); }

/* soft vignette so the button always reads against the photo */
.reel-play::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(10,10,10,0.28) 0%, rgba(10,10,10,0) 55%);
  transition: opacity 0.4s ease;
}
.reel-play:hover::before { opacity: 0.7; }

.reel-play__btn {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--ochre);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.reel-play:hover .reel-play__btn,
.reel-play:focus-visible .reel-play__btn {
  background: rgba(211, 127, 15, 0.2);
  transform: translate(-50%, -50%) scale(1.12);
}
.reel-play__btn::after {
  content: "";
  display: block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--ochre);
  margin-left: 2px;
}
.reel-play:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }

/* ===================================================================
   v8 — Nicole's vision: liquid-glass audio player + rising subtitles
   =================================================================== */
.vision { margin-top: 36px; max-width: 460px; }
.vision__eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 14px;
}
.vision__player {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.vision__play {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--ochre-soft);
  background: rgba(211, 127, 15, 0.16);
  color: var(--ochre);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.vision__play:hover, .vision__play:focus-visible { background: var(--ochre); color: var(--bg); transform: scale(1.07); }
.vision__play:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
.vision__play svg { display: block; }

.vision__wave {
  position: relative;
  flex: 1 1 auto;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}
.vision__bar {
  flex: 1 1 0;
  min-width: 1px;
  border-radius: 2px;
  background: rgba(241, 239, 232, 0.2);
  transition: background 0.12s ease, opacity 0.12s ease;
}
.vision__bar.is-played { background: var(--ochre); }
.vision__wave:hover .vision__bar { opacity: 0.92; }

.vision__time {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
  min-width: 32px;
  text-align: right;
}

.vision__caption {
  position: relative;
  height: 3.2em;
  margin-top: 16px;
}
.vision__line {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.3;
  color: var(--ochre);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.vision__line.is-in { opacity: 1; transform: translateY(0); }
.vision__line.is-out { opacity: 0; transform: translateY(-20px); }

@media (prefers-reduced-motion: reduce) {
  .vision__line { transition: opacity 0.4s ease; transform: none; }
  .vision__line.is-out { transform: none; }
}

/* ===================================================================
   v10 — private engagement (heart + admin-only counts) + message box
   =================================================================== */
.vision__engage {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
}
.vision__like {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  padding: 6px 2px;
  cursor: pointer;
  color: var(--ink-mute);
  font-size: 13px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  transition: color 0.25s ease;
}
.vision__like:hover { color: var(--ink-soft); }
.vision__like:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; border-radius: 6px; }
.vision__heart {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), fill 0.3s ease, stroke 0.3s ease;
}
.vision__like.is-liked { color: var(--ochre); }
.vision__like.is-liked .vision__heart { fill: var(--ochre); stroke: var(--ochre); }
.vision__like.is-pulsing .vision__heart { transform: scale(1.35); }
.vision__like-label { line-height: 1; }
/* counts are private — hidden from the public, shown only in admin view */
.vision__like-count { display: none; margin-left: 1px; color: var(--ochre); }
.vision__listens {
  display: none;
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.vision__listens [data-listen-count] { color: var(--ink-soft); }
.vision.is-admin .vision__like-count { display: inline; }
.vision.is-admin .vision__listens { display: inline; }

.vision__say-toggle {
  background: none;
  border: 0;
  padding: 6px 2px;
  cursor: pointer;
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.vision__say-toggle:hover { color: var(--ochre); border-bottom-color: var(--ochre-soft); }
.vision__say-toggle:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }

.vision__say[hidden] { display: none; }
.vision__say {
  margin-top: 16px;
  max-width: 440px;
  display: grid;
  gap: 10px;
  animation: visionSayIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes visionSayIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.vision__say-name, .vision__say-text {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  padding: 11px 13px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.vision__say-name::placeholder, .vision__say-text::placeholder { color: var(--ink-mute); }
.vision__say-name:focus, .vision__say-text:focus {
  outline: none;
  border-color: var(--ochre-soft);
  background: rgba(255, 255, 255, 0.06);
}
.vision__say-text { resize: vertical; min-height: 72px; line-height: 1.5; }
.vision__say-row { display: flex; align-items: center; gap: 14px; }
.vision__say-send {
  background: var(--ochre);
  color: var(--bg);
  border: 0;
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.vision__say-send:hover { transform: translateY(-1px); }
.vision__say-send:disabled { opacity: 0.5; cursor: default; transform: none; }
.vision__say-status { font-size: 12px; color: var(--ink-soft); }

/* ===================================================================
   v11 — Give section: bank transfer details
   =================================================================== */
.give-bank {
  margin-top: 36px;
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.02);
}
.give-bank__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 16px;
}
.give-bank__rows { margin: 0; display: grid; gap: 12px; }
.give-bank__rows > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: baseline; }
.give-bank__rows dt { margin: 0; color: var(--ink-mute); font-size: 12px; letter-spacing: 0.04em; }
.give-bank__rows dd { margin: 0; color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.give-bank__rows dd span { color: var(--ink-mute); font-size: 12px; }
.give-bank__note { margin: 18px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 560px) {
  .give-bank { padding: 20px 18px; }
  .give-bank__rows > div { grid-template-columns: 1fr; gap: 3px; }
}

/* ===================================================================
   v16 — "Give" nav link, plain ochre text, top-right beside the logo
   =================================================================== */
.nav__right { display: inline-flex; align-items: center; gap: 26px; }
.nav__give {
  color: var(--ochre);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.nav__give:hover { opacity: 0.74; }
.nav__give:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
@media (max-width: 760px) {
  .nav__right { gap: 18px; }
  .nav__give { font-size: 11px; letter-spacing: 0.12em; }
}
@media (max-width: 420px) {
  .nav__inner { gap: 12px; padding: 0 16px; }
  .nav__give { font-size: 10px; letter-spacing: 0.1em; }
}

/* ===================================================================
   v13 — Give now button inside the donation section (reveals details)
   =================================================================== */
.give-box { margin-top: 36px; }
.give-box__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  background: var(--ochre);
  color: var(--bg);
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.give-box__btn::after { content: "→"; font-size: 14px; }
.give-box__btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.give-box__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.give-alt { margin-top: 18px; }
.give-alt__toggle {
  list-style: none;
  width: fit-content;
  cursor: pointer;
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.give-alt__toggle::-webkit-details-marker { display: none; }
.give-alt__toggle:hover { color: var(--ochre); border-bottom-color: var(--ochre-soft); }
.give-box__panel {
  margin-top: 16px;
  max-width: 460px;
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.02);
  animation: visionSayIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===================================================================
   v9 — mobile fixes: Impact stats band must not clip on phones
   =================================================================== */
@media (max-width: 760px) {
  .band--short { aspect-ratio: auto; height: auto; min-height: 0; }
  .band--short .band__overlay--stats {
    position: relative;
    inset: auto;
    padding-top: clamp(180px, 56vw, 340px);
    padding-bottom: 56px;
  }
}
