/* =============================================================================
   WAR Foundation SA — styles.css
   Static, mobile-first. No build step, no framework.

   Breakpoints (min-width, mobile-first):
     560px   two-up card grids (pillars, team, contact)
     900px   the big layout switch: hero, mission/vision, why, impact, who split
    1040px   inline desktop navigation replaces the disclosure menu
    1240px   four-up grids (get involved, contact) + full desktop rhythm
    1800px   wider content measure on very large displays
   ========================================================================== */

/* ------------------------------- 1. Tokens ------------------------------- */
:root {
  --bg: #0B0B0B;
  --bg-alt: #121212;
  --gold: #E2A63A;
  --gold-dark: #B9832A;
  --cream: #F4EFE6;
  /* Contrast checked: #A8A296 on #0B0B0B = 7.76:1, on #121212 = 7.38:1.
     Passes WCAG AA (4.5:1) and AAA (7:1) for body text. No adjustment needed. */
  --muted: #A8A296;
  --rule: rgba(226, 166, 58, 0.28);
  --rule-soft: rgba(226, 166, 58, 0.18);
  --rule-dash: rgba(226, 166, 58, 0.50);

  --font-head: 'Playfair Display', Georgia, 'Times New Roman', 'Nimbus Roman No9 L', serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-script: 'Allura', 'Snell Roundhand', 'Apple Chancery', 'Brush Script MT', cursive;

  /* Layout */
  --gutter: clamp(1.25rem, 0.7rem + 2.4vw, 3rem);
  --wrap-max: 1296px;
  --section-y: clamp(3.5rem, 2.2rem + 4.5vw, 6.5rem);
  --gap-card: clamp(1rem, 0.5rem + 1.6vw, 2rem);
  --header-h: clamp(4rem, 3.4rem + 2.2vw, 5.5rem);

  /* Fluid type — tuned so the design lands on its 1440px values,
     and never drops below 16px for body copy on a 320px phone. */
  --fs-hero-script: clamp(2.25rem, 1.917rem + 1.481vw, 3.25rem);   /* 36 -> 52 */
  --fs-h1:          clamp(2.125rem, 1.417rem + 3.148vw, 4.25rem);  /* 34 -> 68 */
  --fs-h2:          clamp(1.875rem, 1.583rem + 1.296vw, 2.75rem);  /* 30 -> 44 */
  --fs-h2-lg:       clamp(2.375rem, 2.083rem + 1.296vw, 3.25rem);  /* 38 -> 52 */
  --fs-h2-sm:       clamp(1.75rem, 1.5rem + 1.111vw, 2.5rem);      /* 28 -> 40 */
  --fs-lead:        clamp(1.0625rem, 1rem + 0.278vw, 1.25rem);     /* 17 -> 20 */
  --fs-lead-sm:     clamp(1rem, 0.958rem + 0.185vw, 1.125rem);     /* 16 -> 18 */
  --fs-body:        1rem;
  --fs-panel:       clamp(1.375rem, 1.208rem + 0.741vw, 1.875rem); /* 22 -> 30 */
  --fs-quote:       clamp(1.25rem, 1.125rem + 0.556vw, 1.625rem);  /* 20 -> 26 */
  --fs-bridge:      clamp(1.1875rem, 1.083rem + 0.463vw, 1.5rem);  /* 19 -> 24 */
  --fs-letter:      clamp(3.5rem, 2.833rem + 2.963vw, 5.5rem);     /* 56 -> 88 */
  --fs-stat:        clamp(1.875rem, 1.583rem + 1.296vw, 2.75rem);  /* 30 -> 44 */
  --fs-card-h3:     clamp(1.3125rem, 1.208rem + 0.463vw, 1.625rem);/* 21 -> 26 */
  --fs-prog-h3:     clamp(1.3125rem, 1.25rem + 0.278vw, 1.5rem);   /* 21 -> 24 */
  --fs-give-h3:     clamp(1.5rem, 1.417rem + 0.370vw, 1.75rem);    /* 24 -> 28 */
  --fs-eyebrow:     0.75rem;
  --fs-micro:       0.875rem;
}

@media (min-width: 1800px) {
  :root { --wrap-max: 1560px; }
}

/* ------------------------------- 2. Base --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--cream);
  text-wrap: pretty;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

svg { display: block; }

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
a:hover { color: var(--gold-dark); }

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

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

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -100%;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
}
.skip-link:focus {
  top: 0.5rem;
  color: var(--bg);
}

main:focus { outline: none; }

/* ---------------------------- 3. Layout shells --------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  background: var(--bg);
  border-top: 1px solid var(--rule-soft);
}
.section-alt { background: var(--bg-alt); }
.hero { border-top: 0; }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  text-align: center;
}

.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title { font-size: var(--fs-h2); line-height: 1.15; }
.section-title-lg { font-size: var(--fs-h2-lg); line-height: 1.1; }
.section-title-sm { font-size: var(--fs-h2-sm); line-height: 1.2; }

.section-lead {
  max-width: 48rem;
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.65;
  color: var(--muted);
}
.section-lead-sm { font-size: var(--fs-lead-sm); }

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

.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  color: var(--gold);
}

/* Every client-supplied fact that is still outstanding.
   Grep for `class="tbd"` to find them all. */
.tbd {
  font-style: italic;
  color: var(--muted);
  opacity: 0.92;
}

.ico { color: var(--gold); flex: none; }

.ico-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
}
.ico-ring-sm { width: 4rem; height: 4rem; }

/* -------------------------------- 4. Buttons ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.5rem 1.75rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
}

.btn-solid { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--bg); }

.btn-ghost { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(226, 166, 58, 0.12); color: var(--gold); }

.btn-lg { min-height: 52px; font-size: 0.8125rem; }
.btn-header { min-height: 44px; padding: 0.375rem 1rem; font-size: 0.75rem; letter-spacing: 0.14em; }

@media (min-width: 900px) {
  .btn-lg { min-height: 56px; padding-inline: 2.25rem; font-size: 0.875rem; }
  .btn-header { padding-inline: 1.75rem; min-height: 48px; font-size: 0.8125rem; letter-spacing: 0.16em; }
}

/* ------------------------------ 5. Header / nav -------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
  color: var(--cream);
}
.brand:hover { color: var(--cream); }

.brand-mark {
  width: clamp(2.25rem, 1.9rem + 1.4vw, 3.25rem);
  height: auto;
  border-radius: 50%;
  flex: none;
}

.brand-name {
  font-family: var(--font-head);
  font-size: clamp(0.875rem, 0.72rem + 0.65vw, 1.25rem);
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--cream);
}

/* The checkbox is the CSS engine for the mobile menu. It stays in the tab
   order (so the menu is keyboard-operable with JS off) but is painted by the
   <label> beside it. */
.nav-check {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
}

.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--gold);
  cursor: pointer;
}
.nav-burger:hover { border-color: var(--gold); }
.nav-check:focus-visible ~ .header-actions .nav-burger {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.ico-close { display: none; }
.nav-check:checked ~ .header-actions .ico-menu { display: none; }
.nav-check:checked ~ .header-actions .ico-close { display: block; }

/* Mobile: the nav drops out of the header as a full-width panel. */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.nav-check:checked ~ .site-nav { display: block; }

.nav-list {
  display: flex;
  flex-direction: column;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding: 0.5rem var(--gutter) 1rem;
}

.nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-list li:last-child a { border-bottom: 0; }
.nav-list a:hover { color: var(--gold); }

@media (min-width: 1040px) {
  .nav-burger, .nav-check { display: none; }

  .site-nav {
    position: static;
    display: block;
    max-height: none;
    overflow: visible;
    background: transparent;
    border-bottom: 0;
  }

  .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(1.125rem, 2.2vw, 2.25rem);
    padding: 0;
  }

  .nav-list a {
    min-height: 0;
    padding-block: 0.25rem;
    border-bottom: 0;
  }
}

/* --------------------------------- 6. Hero ------------------------------- */
.hero {
  background:
    radial-gradient(ellipse 92% 34% at 50% 18%, rgba(226, 166, 58, 0.16), rgba(11, 11, 11, 0) 70%),
    var(--bg);
}

.hero-grid {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2.4vw, 4rem);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.hero-media { display: flex; justify-content: center; order: -1; }

.hero-logo {
  width: clamp(11.25rem, 52vw, 26.25rem);
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  box-shadow: 0 0 clamp(80px, 9vw, 140px) rgba(226, 166, 58, 0.22);
}

.hero-script { font-size: var(--fs-hero-script); }

.hero-title {
  font-size: var(--fs-h1);
  line-height: 1.08;
}

.hero-lead {
  max-width: 35rem;
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.25rem;
}
.hero-actions .btn { width: 100%; }

.creed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  margin-top: clamp(1.5rem, 1rem + 2.4vw, 5.5rem);
  padding-top: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
  border-top: 1px solid var(--rule);
  font-family: var(--font-head);
  font-size: clamp(1rem, 0.917rem + 0.370vw, 1.25rem);
  letter-spacing: 0.22em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--cream);
  text-align: center;
}

.creed-item { white-space: nowrap; }
.creed-dot { display: none; }

@media (min-width: 560px) {
  .hero-actions { flex-direction: row; justify-content: center; }
  .hero-actions .btn { width: auto; flex: 1 1 auto; max-width: 15rem; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy { align-items: flex-start; text-align: left; gap: 1.75rem; }
  .hero-media { order: 0; }
  .hero-actions { justify-content: flex-start; margin-top: 0.5rem; }
  .hero-actions .btn { flex: 0 0 auto; }

  .hero {
    background:
      radial-gradient(ellipse 50% 46% at 72% 40%, rgba(226, 166, 58, 0.14), rgba(11, 11, 11, 0) 70%),
      var(--bg);
  }

  .creed { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 2.8vw, 2.5rem); }
  .creed-dot {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    flex: none;
  }
}

/* -------------------------------- 7. About ------------------------------- */
.pillars {
  display: grid;
  gap: var(--gap-card);
  margin-top: clamp(2rem, 1.4rem + 2.2vw, 4rem);
}

.pillar {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  padding: 1.375rem;
  background: var(--bg);
  border: 1px solid var(--rule);
}

.pillar-text { display: flex; flex-direction: column; gap: 0.375rem; }
.pillar-title { font-size: var(--fs-card-h3); line-height: 1.2; }
.pillar-text p { font-size: var(--fs-body); line-height: 1.6; color: var(--muted); }

@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillar {
    flex-direction: column;
    align-items: center;
    gap: 1.125rem;
    padding: clamp(1.75rem, 1rem + 2vw, 2.75rem) 2rem;
    text-align: center;
  }
  .pillar-text { align-items: center; gap: 0.75rem; }
  .ico-ring { width: 4.5rem; height: 4.5rem; }
}

/* ------------------------------- 8. Why "WAR" ---------------------------- */
.why-top {
  display: grid;
  gap: clamp(1.75rem, 1.2rem + 2vw, 5rem);
  align-items: start;
}

.why-intro { display: flex; flex-direction: column; gap: 1rem; }

.believe {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 0;
  padding: 1.25rem 0 1.25rem 1.5rem;
  border-left: 1px solid var(--gold);
}

.believe-script { font-size: clamp(2rem, 1.833rem + 0.741vw, 2.5rem); }

.believe-text {
  font-family: var(--font-head);
  font-size: var(--fs-quote);
  line-height: 1.45;
  color: var(--cream);
}

.why-bridge {
  margin-top: clamp(1.75rem, 1.2rem + 2.4vw, 5.5rem);
  font-family: var(--font-head);
  font-size: var(--fs-bridge);
  line-height: 1.4;
  color: var(--cream);
  text-align: center;
}

.war-grid {
  display: grid;
  margin-top: clamp(1.25rem, 0.8rem + 1.8vw, 3rem);
}

.war-item {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--rule);
}
.war-item:last-child { border-bottom: 1px solid var(--rule); }

.war-letter {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-letter);
  line-height: 1;
  color: var(--gold);
  flex: none;
  min-width: 3rem;
}

/* The mobile artboard drops the icon rings from the W/A/R rows. */
.war-ico { display: none; }

.war-text { display: flex; flex-direction: column; gap: 0.5rem; }

.war-title {
  font-size: 0.9375rem;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--cream);
}

.war-text p { font-size: var(--fs-body); line-height: 1.6; color: var(--muted); }

@media (min-width: 900px) {
  .why-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-intro { gap: 1.5rem; }
  .believe { margin-top: clamp(1.5rem, 4vw, 3.5rem); padding: 2.5rem; }

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

  .war-item {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem clamp(1.25rem, 2.8vw, 2.5rem);
    border-top: 0;
    border-right: 1px solid var(--rule);
    text-align: center;
  }
  .war-item:last-child { border-right: 0; border-bottom: 0; }

  .war-letter { min-width: 0; }
  .war-ico { display: inline-flex; }
  .war-text { align-items: center; }
  .war-title { font-size: 1rem; }
}

/* --------------------------- 9. Mission / Vision ------------------------- */
.mv-grid {
  display: grid;
  gap: 0;
}

.mv-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Stacked: the divider is a horizontal rule between the two panels.
   Split (>=900px): it becomes the vertical rule down the middle. */
.mv-panel-2 {
  margin-top: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
  padding-top: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
  border-top: 1px solid var(--rule);
}

.mv-text {
  font-family: var(--font-head);
  font-size: var(--fs-panel);
  line-height: 1.4;
  color: var(--cream);
}

@media (min-width: 900px) {
  .mv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mv-panel { gap: 1.25rem; padding-block: 0.5rem; }
  .mv-panel:first-child { padding-right: clamp(2rem, 5vw, 4.5rem); }
  .mv-panel-2 {
    margin-top: 0;
    padding-top: 0.5rem;
    border-top: 0;
    border-left: 1px solid var(--rule);
    padding-left: clamp(2rem, 5vw, 4.5rem);
  }
}

/* ------------------------------ 10. Programmes --------------------------- */
.prog-grid {
  display: grid;
  gap: var(--gap-card);
  margin-top: clamp(2rem, 1.4rem + 2.2vw, 4rem);
}

.prog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
}

/* Photo empty state: fixed aspect-ratio so dropping a real image in later
   causes no reflow. Dashed gold frame marks it as a placeholder. */
.ph-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 1rem;
  border-bottom: 1px dashed var(--rule-dash);
  outline: 1px dashed var(--rule-dash);
  outline-offset: -0.875rem;
  color: var(--muted);
  font-size: var(--fs-micro);
  text-align: center;
}

.prog-body {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: clamp(1.375rem, 1rem + 1vw, 1.75rem);
}

.prog-title { font-size: var(--fs-prog-h3); line-height: 1.25; }
.prog-body p { font-size: var(--fs-body); line-height: 1.6; color: var(--muted); }

@media (min-width: 560px) {
  .prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .prog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* -------------------------------- 11. Impact ----------------------------- */
.impact-grid {
  display: grid;
  gap: clamp(1.75rem, 1.2rem + 2vw, 5rem);
  align-items: center;
}

.impact-copy { display: flex; flex-direction: column; gap: 0.875rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 0.4rem + 1.2vw, 1.5rem);
  margin-top: 0.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gold);
}

.stat-figure {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-stat);
  line-height: 1;
  color: var(--gold);
}
.stat-figure .tbd { color: var(--gold); }

.stat-label { font-size: var(--fs-micro); line-height: 1.45; color: var(--muted); }

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  background: var(--bg);
  border: 1px solid var(--rule);
}

.ico-heart { width: clamp(2rem, 1.7rem + 1.2vw, 2.5rem); height: auto; }

.testimonial-quote { margin: 0; }
.testimonial-quote p {
  font-family: var(--font-head);
  font-style: italic;
  font-size: var(--fs-bridge);
  line-height: 1.5;
  color: var(--cream);
}

.testimonial-by {
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.testimonial-by .tbd { color: var(--gold); }

@media (min-width: 900px) {
  .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .impact-copy { gap: 1.25rem; }
  .stats { margin-top: 1rem; }
  .stat { padding-block: 1.5rem 0; }
  .testimonial { gap: 1.5rem; }
}

/* ------------------------------ 12. Who we are --------------------------- */
.who-grid {
  display: grid;
  gap: clamp(1.75rem, 1.2rem + 2vw, 5rem);
  align-items: start;
}

.who-copy { display: flex; flex-direction: column; gap: 0.875rem; }

.who-text {
  font-size: var(--fs-lead-sm);
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}

.who-people { display: flex; flex-direction: column; gap: 1.25rem; }

.founder-card {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  padding: clamp(1.375rem, 1rem + 1.2vw, 1.75rem);
  background: var(--bg-alt);
  border: 1px solid var(--gold);
}

.ph-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: clamp(4.5rem, 3.8rem + 2.8vw, 6rem);
  height: clamp(4.5rem, 3.8rem + 2.8vw, 6rem);
  padding: 0.25rem;
  border: 1px dashed var(--rule-dash);
  border-radius: 50%;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.3;
  text-align: center;
}
.ph-avatar-sm { width: 3rem; height: 3rem; }

.founder-text { display: flex; flex-direction: column; gap: 0.25rem; }

.founder-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.167rem + 0.370vw, 1.5rem);
  line-height: 1.2;
  color: var(--cream);
}

.founder-role {
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.founder-line { font-size: var(--fs-micro); color: var(--muted); }

.team-grid { display: grid; gap: 0.875rem; }

.team-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem;
  border: 1px solid var(--rule);
}

.team-text { display: flex; flex-direction: column; gap: 0.25rem; }

.team-name {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--cream);
}
.team-name .tbd { color: var(--cream); }

.team-role {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.team-role .tbd { font-style: normal; }

@media (min-width: 560px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .ph-avatar-sm { width: 3.5rem; height: 3.5rem; }
}

@media (min-width: 900px) {
  .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who-copy { gap: 1.25rem; }
  .who-people { gap: 1.5rem; }
  .founder-card { gap: 1.5rem; padding: 1.75rem; }
  .team-card { gap: 1rem; padding: 1.25rem; }
  .team-name { font-size: 1.125rem; }
}

/* ----------------------------- 13. Get involved -------------------------- */
.involved {
  background:
    radial-gradient(ellipse 92% 40% at 50% 0%, rgba(226, 166, 58, 0.12), rgba(18, 18, 18, 0) 70%),
    var(--bg-alt);
}

.involved-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.involved-script {
  font-size: clamp(2.75rem, 2.5rem + 1.111vw, 3.5rem);
  font-weight: 400;
}

.involved-main {
  font-size: clamp(2.75rem, 2.333rem + 1.852vw, 4rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
}

.involved-lead { margin-top: 0.5rem; max-width: 40rem; }

.give-grid {
  display: grid;
  gap: var(--gap-card);
  margin-top: clamp(2rem, 1.4rem + 2.2vw, 4rem);
}

.give-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem) clamp(1.375rem, 1rem + 1.2vw, 1.75rem);
  background: var(--bg);
  border: 1px solid var(--rule);
}
.give-card-primary { border-color: var(--gold); }

.give-title { font-size: var(--fs-give-h3); line-height: 1.2; }
.give-title-gold { color: var(--gold); }

.give-copy { font-size: var(--fs-body); line-height: 1.6; color: var(--muted); }

.bank {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.875rem;
  border: 1px dashed var(--rule-dash);
  font-size: var(--fs-micro);
  line-height: 1.6;
  color: var(--muted);
}

.give-btn { margin-top: auto; width: 100%; }
.give-note { font-size: var(--fs-micro); color: var(--muted); }

.s18a {
  margin-top: clamp(1.25rem, 1rem + 1vw, 2rem);
  font-size: var(--fs-micro);
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 560px) {
  .give-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1240px) {
  .give-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* -------------------------------- 14. Contact ---------------------------- */
.section-contact { padding-bottom: 0; }

.contact-grid {
  display: grid;
  gap: 0.875rem;
  margin-top: clamp(1.75rem, 1.2rem + 2vw, 3.5rem);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  height: 100%;
  padding: 0.875rem 1.125rem;
  border: 1px solid var(--rule);
  color: var(--cream);
}
.contact-card:hover { border-color: var(--gold); color: var(--cream); }

.contact-text { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }

.contact-label {
  /* Design used 10-11px here; lifted to 12px so the labels stay legible. */
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value { font-size: 0.9375rem; line-height: 1.4; color: var(--cream); }
.contact-value .tbd { color: var(--cream); }


@media (min-width: 560px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .contact-card { padding: 1.25rem; }
}
@media (min-width: 1240px) {
  .contact-grid { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.5rem; }
  .contact-card { padding: 1.5rem; }
}

/* -------------------------------- 15. Footer ----------------------------- */
.site-footer { background: var(--bg); }

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(1.25rem, 1rem + 2vw, 4.5rem);
  padding-top: 1.75rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-micro);
  color: var(--muted);
  text-align: center;
}

/* The mobile artboard drops the small footer mark and leads with the script. */
.footer-mark { display: none; }

.footer-brand { display: flex; align-items: center; gap: 0.75rem; order: 2; }

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  order: 3;
}
.footer-contact a { color: var(--cream); }
.footer-contact a:hover,
.footer-contact a:focus-visible { color: var(--gold); }
.footer-ico { color: var(--gold); flex: none; }

.footer-reg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-style: italic;
  order: 4;
}
.footer-reg .tbd { font-style: italic; }

.footer-script { font-size: clamp(1.625rem, 1.5rem + 0.6vw, 1.875rem); order: 1; }

.footer-inner .creed-dot {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

@media (min-width: 900px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 2.25rem;
    text-align: left;
  }
  .footer-mark { display: block; border-radius: 50%; flex: none; }
  .footer-brand { order: 0; }
  .footer-contact { order: 0; }
  .footer-reg { order: 0; gap: 1.25rem; }
  .footer-script { order: 0; }
}

/* --------------------------- 16. Reduced motion -------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------- 17. FAQ -------------------------------- */
.faq-list {
  max-width: 52rem;
  margin: clamp(2rem, 1.5rem + 2vw, 3rem) auto 0;
  border-top: 1px solid var(--rule);
}

.faq-item { border-bottom: 1px solid var(--rule); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0.25rem;
  font-family: var(--font-head);
  font-size: var(--fs-lead);
  line-height: 1.35;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  flex: none;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
}
.faq-item[open] > .faq-q::after { content: "\2212"; }
.faq-q:hover { color: var(--gold); }
.faq-q:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.faq-a {
  max-width: 44rem;
  padding: 0 0.25rem 1.5rem;
  font-size: var(--fs-lead-sm);
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------------------------- 18. 404 page ------------------------------ */
.not-found {
  display: flex;
  align-items: center;
  min-height: 100vh;
}
.not-found-mark { border-radius: 50%; }

/* ---------------- 19. Inner pages (donate, volunteer, privacy…) ---------- */
/* Shared by every page other than the homepage. Markup reference:
   docs/page-shell.html */
.page-main > .section:first-child { border-top: 0; }

.prose {
  max-width: 44rem;
  margin: clamp(2rem, 1.5rem + 2vw, 3rem) auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: var(--fs-lead-sm);
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}
.prose h2 {
  margin-top: 1.5rem;
  font-size: var(--fs-panel);
  line-height: 1.25;
  color: var(--cream);
}
.prose h3 {
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-lead-sm);
  font-weight: 700;
  color: var(--cream);
}
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 0.2em; }
.prose a:hover { color: var(--cream); }
.prose strong { font-weight: 700; color: var(--cream); }
.prose ul { display: grid; gap: 0.5rem; padding-left: 1.25rem; list-style: disc; }
.prose li::marker { color: var(--gold); }

.notice {
  max-width: 44rem;
  margin: clamp(2rem, 1.5rem + 2vw, 3rem) auto 0;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border: 1px dashed var(--rule-dash);
  text-align: center;
}
.notice-title { font-family: var(--font-head); font-size: var(--fs-panel); line-height: 1.25; color: var(--gold); }
.notice-text { font-size: var(--fs-lead-sm); font-weight: 300; line-height: 1.65; color: var(--muted); }

.page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.form {
  max-width: 40rem;
  margin: clamp(2rem, 1.5rem + 2vw, 3rem) auto 0;
  display: grid;
  gap: 1.5rem;
}
.field { display: grid; gap: 0.5rem; }
.fieldset { display: grid; gap: 0.75rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-label {
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
}
.field-opt { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.field-input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: 0;
  color: var(--cream);
  font: inherit;
}
.field-input::placeholder { color: var(--muted); opacity: 0.7; }
.field-input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
textarea.field-input { min-height: 8rem; resize: vertical; }
.field-hint { font-size: var(--fs-micro); line-height: 1.5; color: var(--muted); }
.field-hint a { color: var(--gold); text-decoration: underline; text-underline-offset: 0.2em; }

.checks { display: grid; gap: 0.75rem; }
.check { display: flex; align-items: flex-start; gap: 0.75rem; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--gold); }
.form-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.form-actions .btn { width: 100%; cursor: pointer; }

/* Honeypot: hidden from people, filled in by bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.footer-reg a { color: var(--cream); }
.footer-reg a:hover, .footer-reg a:focus-visible { color: var(--gold); }

@media (min-width: 560px) {
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-actions { flex-direction: row; align-items: center; }
  .form-actions .btn { width: auto; }
}
