/* ==========================================================================
   VNC USA — Playful theme
   Voluntary Nature Conservancy · vncusa.org
   Static site stylesheet. No build step, no framework.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --cream: #FFF4E2;
  --green: #0E3B2A;
  --green-2: #27513F;
  --lime: #A8DB6B;
  --lime-pale: #E3F3C9;
  --pink: #FFB3A0;
  --sky: #BFE3F0;
  --yellow: #FFB627;
  --coral: #E0613F;
  --coral-dark: #C94E2E;
  --white: #FFFFFF;
  --on-dark: #D8E8CF;

  --maxw: 1320px;
  --pad: 24px;

  /* the chunky offset shadow used on cards and buttons */
  --hard: 8px 10px 0 var(--green);
  --hard-lg: 10px 12px 0 var(--green);

  --display: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
  --text: 'Figtree', system-ui, -apple-system, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--green);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--coral); }

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

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

[hidden] { display: none !important; }

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--green);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: var(--cream); }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.container--narrow { max-width: 1100px; }

/* vertical rhythm for sections that are also .container */
.pad-block { padding-block: 110px; }

.section { display: flex; flex-direction: column; gap: 44px; }
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.section__head p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  max-width: 380px;
  color: var(--on-dark);
}

.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: .95;
  letter-spacing: -.04em;
  color: var(--green);
}
.h2--sm { font-size: clamp(40px, 4.6vw, 64px); }
.h2--on-dark { color: var(--cream); }

.lede {
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
  color: var(--green-2);
  text-wrap: pretty;
}

.tag {
  align-self: flex-start;
  background: var(--white);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 0 0 1.5px var(--green);
}

.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* highlighted word inside a display heading */
.mark {
  display: inline-block;
  background: var(--lime);
  border-radius: 28px;
  padding: 0 18px 8px;
  margin: 6px 0;
  transform: rotate(-2deg);
}
.mark--yellow { background: var(--yellow); transform: rotate(2deg); }
.mark--lime   { background: var(--lime);   transform: rotate(-3deg); }

/* --------------------------------------------------------------------------
   4. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  padding: 18px 30px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); }
.btn:active { transform: translate(0, 0); }

.btn--coral { background: var(--coral); color: var(--cream); }
.btn--coral:hover { background: var(--coral-dark); color: var(--cream); }

.btn--green { background: var(--green); color: var(--cream); }
.btn--green:hover { background: #092A1D; color: var(--cream); }

.btn--white { background: var(--white); color: var(--green); box-shadow: 0 0 0 1.5px var(--green); }
.btn--white:hover { background: var(--cream); color: var(--green); }

.btn--sm { font-size: 15px; padding: 14px 22px; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   5. Marquee tickers
   -------------------------------------------------------------------------- */
@keyframes vncMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker {
  overflow: hidden;
  display: flex;
  width: 100%;
}
.ticker__track {
  display: flex;
  width: max-content;
}
/* the sliding animation is switched on by site.js, so the ticker still
   renders as a tidy static row if JavaScript is unavailable */
.ticker__track--live {
  animation: vncMarquee var(--dur, 40s) linear infinite;
}
.ticker__group {
  display: flex;
  align-items: center;
  gap: var(--gap, 28px);
  padding-right: var(--gap, 28px);
  flex-shrink: 0;
}
.ticker__item { white-space: nowrap; }
.ticker__star { line-height: 1; }

.ticker--top {
  background: var(--yellow);
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 0;
}
.ticker--top .ticker__star { font-size: 12px; }

.ticker--big {
  background: var(--green);
  color: var(--lime);
  padding: 14px 0;
  transform: rotate(-1.5deg);
  margin: 0 -20px;
  box-shadow: 0 0 0 1.5px var(--green);
}
.ticker--big .ticker__item {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 34px);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.ticker--big .ticker__star { color: var(--yellow); font-size: 18px; }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 244, 226, .92);
  backdrop-filter: blur(10px);
}
.site-header__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 13px var(--pad);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green);
}
.brand:hover { color: var(--green); }
.brand__logo {
  display: block;
  width: auto;
  height: 70px;
  flex: none;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  background: var(--white);
  border-radius: 999px;
  padding: 5px;
  box-shadow: 0 0 0 1.5px var(--green);
}
.nav__link {
  border: 0;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background-color .15s ease;
}
.nav__link:hover { background: var(--cream); color: var(--green); }
.nav__link[aria-current='page'] { background: var(--lime); color: var(--green); }

@media (max-width: 720px) {
  .nav { margin-left: 0; order: 3; width: 100%; justify-content: center; }
  .nav__link { flex: 1; text-align: center; padding: 10px 8px; }
  .site-header .btn { margin-left: auto; }
  .brand__logo { height: 52px; }
}

/* --------------------------------------------------------------------------
   7. Image placeholders
   Replace a .ph block with <img class="ph-img" src="images/your-photo.jpg" alt="…">
   -------------------------------------------------------------------------- */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: var(--ph-bg, #EDF6E0);
  color: var(--green-2);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
}
.ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(currentColor 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: .1;
}
.ph__label { position: relative; z-index: 1; max-width: 30ch; }
.ph__label b { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; }

.ph--rounded { border-radius: 26px; }
.ph--r22    { border-radius: 22px; }
.ph--r20    { border-radius: 20px; }
.ph--r28    { border-radius: 28px; }

.ph--lime   { --ph-bg: #E7F6D2; }
.ph--yellow { --ph-bg: #FFE9BE; }
.ph--pink   { --ph-bg: #FFE0D6; }
.ph--sky    { --ph-bg: #DCF0F7; }
.ph--cream  { --ph-bg: #FBEEDA; }

.ph-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.ph-img--r22 { border-radius: 22px; }

/* --------------------------------------------------------------------------
   8. Home hero
   -------------------------------------------------------------------------- */
/* The hero is intentionally NOT given a viewport height.
   height:100vh is a known trap: `vh` resolves against the viewport with the
   mobile URL bar hidden, so on a phone the bottom of the hero ends up behind
   the bar. min-height:100svh avoids that but does not help when the content is
   genuinely taller than a viewport, which this one is (about 180% on a phone).
   The fix that matters is keeping the primary button above the fold, so the
   order inside the hero is headline -> lede -> call to action -> proof. */
.hero {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 52px var(--pad) 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 48px;
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(60px, 8.4vw, 128px);
  line-height: .88;
  letter-spacing: -.045em;
  color: var(--green);
  text-wrap: balance;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Credibility strip under the hero call to action.
   Two columns rather than four: the widest figure ("250,000+") needs about
   175px, and a four-column box inside this column would only be 126px, so
   four across would either wrap or force the numbers down to a size that
   stops reading as a headline figure. */
.hero__stats {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
  border-top: 1.5px solid #DCD3BF;
  max-width: 560px;
}
.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--lime);
  padding-left: 14px;
}
.hero__stats b {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--green);
  white-space: nowrap;
}
.hero__stats span { font-size: 14px; font-weight: 600; color: var(--green-2); }
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

.treecard {
  width: min(100%, 460px);
  background: var(--white);
  border-radius: 36px;
  padding: 16px;
  transform: rotate(3deg);
  box-shadow: 0 0 0 1.5px var(--green), var(--hard-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.treecard__media { width: 100%; aspect-ratio: 1 / 1; }
.treecard__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding: 0 8px 8px;
}
.treecard__meta { display: flex; flex-direction: column; gap: 10px; }
.treecard__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -.03em;
  line-height: 1;
}
.treecard__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}
.chip--lime { background: var(--lime); }
.chip--yellow { background: #FFE3A3; }
.treecard__count {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1;
}
.treecard__count b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
}
.treecard__count span { font-size: 13px; color: var(--green-2); font-weight: 600; }

.badge-since {
  position: absolute;
  top: 0;
  left: max(0px, calc(50% - 280px));
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-14deg);
  box-shadow: 0 0 0 1.5px var(--green);
  pointer-events: none;
  text-align: center;
  line-height: 1;
  gap: 4px;
}
.badge-since span { font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.badge-since b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -.03em;
}

@media (max-width: 600px) {
  .badge-since { width: 104px; height: 104px; left: 0; }
  .badge-since b { font-size: 32px; }
}

/* --------------------------------------------------------------------------
   9. Causes (tabs + detail panel)
   -------------------------------------------------------------------------- */
.causes { padding-block: 120px 110px; }
.causes__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}
.causes__head p { margin: 0; font-size: 18px; color: var(--green-2); }
/* .tag is normally flush left; inside a centred header it should follow the
   heading rather than sit against the margin */
.causes__head .tag,
.about-hero__copy .tag,
.mission .tag { align-self: center; }

/* three equal-width pills, so no label looks longer than the others */
.tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 940px;
  margin-inline: auto;
}
.tab {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 16px 14px;
  font-size: 16px;
  font-weight: 700;
  background: var(--white);
  color: var(--green);
  box-shadow: 0 0 0 1.5px var(--green);
  transition: transform .15s ease, background-color .15s ease;
}
.tab:hover { transform: translate(-2px, -2px); }
.tab[aria-selected='true'] { background: var(--lime); }
.tab[data-cause='research'][aria-selected='true']  { background: var(--yellow); }
.tab[data-cause='advocacy'][aria-selected='true']  { background: var(--pink); }

.cause-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 0;
  align-items: stretch;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 0 0 1.5px var(--green);
  background: var(--lime);
  transition: background-color .25s ease;
}
.cause-panel__media { aspect-ratio: 5 / 4; width: 100%; min-height: 320px; }
/* Above the 2-column breakpoint the text column is usually the taller one.
   The 5/4 ratio would stop the photo stretching to match it, leaving a bare
   band of panel colour under the photo — so drop the ratio and let it fill.
   888px is where this panel switches from one column to two. */
@media (min-width: 888px) {
  .cause-panel__media { height: 100%; aspect-ratio: auto; }
}
.cause-panel__body {
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
}
.cause-panel__body h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -.035em;
}
.cause-panel__body p { margin: 0; font-size: 18px; line-height: 1.55; }
.cause-panel__stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1.5px dashed var(--green);
  padding-top: 20px;
}
.cause-panel__stat b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 48px;
  letter-spacing: -.03em;
  line-height: 1;
}
.cause-panel__stat span { font-size: 16px; font-weight: 600; }
.cause-panel__body .btn { align-self: flex-start; }

/* --------------------------------------------------------------------------
   10. Timeline (dark)
   -------------------------------------------------------------------------- */
.timeline-section {
  background: var(--green);
  color: var(--cream);
  border-radius: 48px 48px 0 0;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 20px;
}
.tl-card {
  background: var(--c, var(--lime));
  color: var(--green);
  border-radius: 32px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 280px;
  justify-content: space-between;
}
.tl-card__top {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
}
.tl-card__big {
  font-family: var(--display);
  font-weight: 800;
  font-size: 64px;
  letter-spacing: -.04em;
  line-height: .9;
}
.tl-card__text { display: flex; flex-direction: column; gap: 8px; }
.tl-card__text b {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.02em;
}
.tl-card__text span { font-size: 16px; line-height: 1.5; }

/* --------------------------------------------------------------------------
   11. Gift / receipt
   -------------------------------------------------------------------------- */
.gift { background: var(--lime-pale); }
.gift__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 110px var(--pad);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 64px;
  align-items: center;
}
.gift__copy { display: flex; flex-direction: column; gap: 28px; }
.gift__copy p { margin: 0; font-size: 18px; line-height: 1.55; max-width: 460px; }
.gift__amounts { display: flex; flex-direction: column; gap: 12px; }
.gift__amounts > b { font-weight: 700; font-size: 15px; }
.gift__pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 16px 26px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  background: var(--white);
  color: var(--green);
  box-shadow: 0 0 0 1.5px var(--green);
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.pill:hover { transform: translate(-2px, -2px); }
.pill[aria-pressed='true'] { background: var(--green); color: var(--cream); }

.receipt-wrap { display: flex; justify-content: center; }
.receipt {
  width: min(100%, 420px);
  background: var(--white);
  border-radius: 28px;
  padding: 32px 30px 28px;
  transform: rotate(-2.5deg);
  box-shadow: 0 0 0 1.5px var(--green), var(--hard-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.receipt__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.receipt__head b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -.04em;
}
.receipt__head span { font-size: 13px; font-weight: 600; color: var(--green-2); }
.receipt__rule { border-top: 1.5px dashed var(--green); margin: 0; }
.receipt__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
}
.receipt__row b { font-weight: 700; text-align: right; }
.receipt__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.receipt__total span:first-child { font-weight: 700; font-size: 18px; }
.receipt__total b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -.03em;
}
.receipt__bars { height: 54px; display: flex; gap: 3px; overflow: hidden; }
.receipt__bars i { flex: none; height: 100%; background: var(--green); display: block; }
.receipt__note { font-size: 13px; text-align: center; color: var(--green-2); }

/* --------------------------------------------------------------------------
   12. Events
   -------------------------------------------------------------------------- */
.events { padding-block: 110px; }
.events__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.event {
  background: var(--c, var(--lime));
  border-radius: 32px;
  box-shadow: 0 0 0 1.5px var(--green);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.event__top {
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.event__date {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}
/* The month carries the visual weight: none of these three events is a
   single day, so a lone date number would misstate them. */
.event__date b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 64px;
  letter-spacing: -.04em;
}
.event__year {
  background: var(--white);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  box-shadow: 0 0 0 1.5px var(--green);
  white-space: nowrap;
}
.event__rule { border-top: 2px dashed var(--green); margin: 0 18px; }
.event__body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.event__body b {
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.event__body span { font-size: 15px; font-weight: 600; }
.event__when { color: var(--green); }
.event__body .btn { margin-top: 14px; align-self: flex-start; font-size: 15px; padding: 12px 20px; }

/* --------------------------------------------------------------------------
   13. About
   -------------------------------------------------------------------------- */
.about-hero {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 72px var(--pad) 96px;
  display: flex;
  flex-direction: column;
  gap: 56px;
  align-items: center;
  text-align: center;
}
.about-hero__copy { display: flex; flex-direction: column; gap: 24px; align-items: center; }
.about-hero__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 7.6vw, 116px);
  line-height: .9;
  letter-spacing: -.045em;
  max-width: 1100px;
  text-wrap: balance;
}
.about-hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1100px;
}
.about-hero__grid > div { aspect-ratio: 4 / 5; overflow: hidden; }
.about-hero__grid > div:nth-child(1) { transform: rotate(-4deg); border-radius: 28px; box-shadow: 0 0 0 1.5px var(--green); }
.about-hero__grid > div:nth-child(2) { transform: rotate(2deg) translateY(20px); border-radius: 28px; box-shadow: 0 0 0 1.5px var(--green); }
.about-hero__grid > div:nth-child(3) { transform: rotate(-2deg); border-radius: 28px; box-shadow: 0 0 0 1.5px var(--green); }

.story { padding-block: 40px 110px; display: grid; gap: 48px; }
.story .h2 { max-width: 320px; }
.story__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--green-2);
}
.story__text p { margin: 0; }

.mission-wrap { padding: 0 var(--pad); }
.mission {
  max-width: var(--maxw);
  margin-inline: auto;
  background: var(--yellow);
  border-radius: 48px;
  box-shadow: 0 0 0 1.5px var(--green);
  padding: clamp(48px, 7vw, 110px) clamp(24px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}
.mission p {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.08;
  letter-spacing: -.03em;
  max-width: 1000px;
  text-wrap: balance;
}

.values { padding-block: 110px; }
.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 28px;
}
.value {
  background: var(--c, var(--lime));
  border-radius: 36px;
  box-shadow: 0 0 0 1.5px var(--green), var(--hard);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 260px;
  justify-content: space-between;
  transform: rotate(var(--rot, 0deg));
}
.value__n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
}
.value h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -.035em;
  line-height: 1;
}
.value p { margin: 0; font-size: 17px; line-height: 1.55; }

.crew { padding: 0 var(--pad) 110px; }
.crew__group { display: flex; flex-direction: column; gap: 24px; }
.crew__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.crew__head h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -.03em;
}
.crew__count {
  background: var(--c, var(--lime));
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 0 1.5px var(--green);
}
.crew__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 28px 22px;
}
.person {
  background: var(--white);
  border-radius: 28px;
  padding: 12px;
  box-shadow: 0 0 0 1.5px var(--green);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: rotate(var(--rot, 0deg));
}
.person__photo {
  position: relative;          /* the role pill is pinned to this box */
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 20px;
  background: var(--c, var(--lime));
  overflow: hidden;
}
/* The role sits on the photo, top right, so a long designation can never push
   the name onto a second line. The radius is a soft rectangle rather than a
   stadium: a two-line designation inside a 999px radius collapses the corners
   and the words collide with the curve. */
.person__role {
  position: absolute;
  top: 10px;
  right: 10px;
  max-width: calc(100% - 20px);
  background: var(--c, var(--lime));
  border-radius: 12px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--green);
  box-shadow: 0 0 0 1.5px var(--green);
  text-align: center;
  overflow-wrap: break-word;
  hyphens: none;
}
/* card style kept, but with initials instead of a photograph */
.person__photo--mono {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 46px;
  letter-spacing: -.02em;
  color: var(--green);
}
.person__foot {
  padding: 0 8px 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.person__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.person__role {
  background: var(--c, var(--lime));
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 0 1.5px var(--green);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   14b. Programmes (about page)
   -------------------------------------------------------------------------- */
.programmes { padding-block: 0 110px; display: flex; flex-direction: column; gap: 36px; }
.programmes__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1.5px dashed #DCD3BF;
  padding-top: 44px;
}
.programmes__head p { margin: 0; font-size: 18px; color: var(--green-2); }
.programmes__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
}
.programme {
  background: var(--c, var(--lime));
  border-radius: 24px;
  box-shadow: 0 0 0 1.5px var(--green);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.programme b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -.025em;
  line-height: 1.1;
}
.programme span { font-size: 15px; line-height: 1.5; color: var(--green); }

/* --------------------------------------------------------------------------
   15. Locations & donate CTA
   -------------------------------------------------------------------------- */
.locations { padding: 0 var(--pad) 110px; }
.locations__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 28px;
}
.loc {
  background: var(--white);
  border-radius: 32px;
  padding: 14px;
  box-shadow: 0 0 0 1.5px var(--green);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: rotate(var(--rot, 0deg));
}
.loc__media { aspect-ratio: 16 / 10; width: 100%; }
.loc__foot {
  padding: 0 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.loc__addr { display: flex; flex-direction: column; gap: 6px; max-width: 320px; }
.loc__addr b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -.03em;
}
.loc__addr span { font-size: 16px; line-height: 1.5; color: var(--green-2); }
.loc__tag {
  background: var(--c, var(--lime));
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 0 1.5px var(--green);
}

.cta-wrap { padding: 0 var(--pad) 110px; }
.cta {
  max-width: var(--maxw);
  margin-inline: auto;
  background: var(--coral);
  color: var(--cream);
  border-radius: 48px;
  box-shadow: 0 0 0 1.5px var(--green);
  padding: clamp(40px, 6vw, 88px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 72px);
  line-height: .95;
  letter-spacing: -.04em;
  max-width: 720px;
  color: var(--cream);
}
.cta .btn {
  background: var(--cream);
  color: var(--green);
  box-shadow: 0 0 0 1.5px var(--green);
  font-size: 18px;
  padding: 20px 34px;
}
.cta .btn:hover { background: var(--white); color: var(--green); }

/* --------------------------------------------------------------------------
   15. Contact
   -------------------------------------------------------------------------- */
.contact {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 72px var(--pad) 110px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 56px;
  align-items: start;
}
.contact__copy { display: flex; flex-direction: column; gap: 28px; }
.contact__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(64px, 9vw, 140px);
  line-height: .86;
  letter-spacing: -.05em;
}
.contact__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.contact-card {
  text-decoration: none;
  background: var(--c, var(--yellow));
  border-radius: 28px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 0 0 1.5px var(--green);
  color: var(--green);
  transition: transform .15s ease;
}
.contact-card:hover { transform: translate(-2px, -2px); color: var(--green); }
.contact-card span { font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.contact-card b { font-weight: 700; font-size: 17px; }
.contact__note {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--green-2);
  max-width: 46ch;
}

.form-card {
  background: var(--white);
  border-radius: 36px;
  box-shadow: 0 0 0 1.5px var(--green), var(--hard-lg);
  padding: clamp(24px, 4vw, 44px);
}
.form { display: flex; flex-direction: column; gap: 16px; }
.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; }
.field input,
.field textarea {
  padding: 16px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--green);
  background: var(--cream);
  font-size: 16px;
  outline: none;
  width: 100%;
}
.field textarea { border-radius: 24px; resize: vertical; }
.field input:focus,
.field textarea:focus { box-shadow: 0 0 0 3px rgba(224, 97, 63, .35); }

.form__status {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  border-radius: 16px;
  padding: 12px 16px;
  background: var(--sky);
  color: var(--green);
}
.form__status[hidden] { display: none; }
.form__status--error { background: var(--pink); }

.form-done {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 48px 0;
  text-align: center;
  align-items: center;
}
.form-done b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -.04em;
}
.form-done span { font-size: 18px; color: var(--green-2); }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--green);
  color: var(--cream);
  border-radius: 48px 48px 0 0;
  overflow: hidden;
}
.site-footer__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 88px var(--pad) 32px;
  display: flex;
  flex-direction: column;
  gap: 64px;
  container-type: inline-size;
}
.site-footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 48px;
}
.site-footer__signup { display: flex; flex-direction: column; gap: 18px; }
.site-footer__signup h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--lime);
}
.site-footer__signup p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--on-dark); }

/* Newsletter form styles are kept: they are what a Listmonk embed or a
   hand-written form will use. Nothing on the site uses them right now. */
.subscribe {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--cream);
  border-radius: 999px;
  padding: 6px;
}
.subscribe input {
  flex: 1;
  min-width: 160px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 16px;
  outline: none;
}
.subscribe input::placeholder { color: #6D8579; }
.subscribe button {
  background: var(--yellow);
  color: var(--green);
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.subscribe button:hover { background: #F0A81E; }
.subscribe--done { font-size: 17px; color: var(--yellow); font-weight: 700; }
.newsletter-note { margin: 0; font-size: 16px; line-height: 1.5; color: var(--on-dark); }
.newsletter-note a { color: var(--lime); }

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col > span {
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--lime);
  font-weight: 700;
}
.footer-col a,
.footer-col button {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: var(--cream);
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
}
.footer-col a:hover,
.footer-col button:hover { color: var(--lime); }
.footer-col p { margin: 0; font-size: 17px; line-height: 1.5; }

/* The full name on a single line. It must never wrap, so the size is tied to
   the container width rather than the viewport. Measured: the phrase renders
   about 12.9x its font-size at desktop sizes and nearer 14.4x on small
   screens, so 6.7% of the container leaves comfortable headroom at every
   width. 88px stops it growing on very wide screens. */
.site-footer__word {
  font-family: var(--display);
  font-weight: 800;
  font-size: 88px;
  font-size: min(6.7cqi, 88px);
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--lime);
  text-align: center;
  white-space: nowrap;
  display: block;
  user-select: none;
}
/* Fallback for browsers without container query units */
@supports not (font-size: 1cqi) {
  .site-footer__word {
    font-size: min(6.4vw, 84px);
  }
}
.site-footer__base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--on-dark);
}

/* --------------------------------------------------------------------------
   17. Photo credits page
   -------------------------------------------------------------------------- */
.credits { display: flex; flex-direction: column; gap: 40px; }

.notice {
  background: var(--yellow);
  border-radius: 28px;
  box-shadow: 0 0 0 1.5px var(--green);
  padding: 28px;
}
.notice h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -.03em;
}
.notice p { margin: 0 0 10px; font-size: 17px; line-height: 1.6; }
.notice p:last-child { margin-bottom: 0; }

.credit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 18px;
}
.credit {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 0 0 1.5px var(--green);
  padding: 12px;
  font-size: 15px;
  line-height: 1.5;
}
.credit b { font-weight: 700; color: var(--green); }
.credit__thumb {
  flex: none;
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}
.credit__by {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--green-2);
}
.credits__note {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--green-2);
  max-width: 70ch;
}

/* --------------------------------------------------------------------------
   18. Small-screen adjustments
   -------------------------------------------------------------------------- */

/* On a short window (a 1366x768 laptop, or a landscape phone) the hero's
   natural height pushes the "Give today" button past the fold. Tighten the
   vertical rhythm for those cases only. The hero is deliberately NOT given a
   viewport height: see the note by .hero. */
@media (max-height: 820px) and (min-width: 700px) {
  .hero { padding-block: 40px 56px; }
  .hero__copy { gap: 20px; }
  .hero__stats { padding-top: 16px; gap: 14px 18px; }
  .hero__title { font-size: clamp(56px, 7.4vw, 104px); }
}

/* Short phones: shrink the vertical rhythm so the button is at the fold
   rather than well past it. */
@media (max-width: 640px) and (max-height: 790px) {
  .hero { padding-block: 32px 40px; }
  .hero__copy { gap: 18px; }
  .hero__title { font-size: clamp(42px, 10vw, 56px); }
  .hero .lede { font-size: 18px; }
  .hero__stats { padding-top: 16px; gap: 14px 18px; }
}

@media (max-width: 640px) {
  /* crew: two across instead of one very tall column */
  .crew__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }
  .person { padding: 10px; border-radius: 24px; }
  .person__photo { border-radius: 16px; }
  .person__foot { padding: 0 2px 4px; }
  .person__name { font-size: 17px; }
  /* A 2-column mobile card leaves about 144px of photo. Capping the pill at
     76% of it lets a long designation wrap to two readable lines instead of
     shrinking to one cramped one. Short roles stay a single line. */
  .person__role {
    font-size: 10.5px;
    padding: 4px 7px;
    border-radius: 9px;
    top: 7px;
    right: 7px;
    max-width: 76%;
  }

  /* about hero photos: swipeable strip, second card peeking as the cue.
     align-self:stretch + negative margin cancels .about-hero's own gutter so
     the strip runs the full width of the screen, while padding-inline puts the
     first card back on the same 24px line as everything else. */
  .about-hero__grid {
    display: flex;
    align-self: stretch;
    width: auto;
    max-width: none;
    margin-inline: calc(var(--pad) * -1);
    padding: 0 var(--pad) 8px;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .about-hero__grid::-webkit-scrollbar { display: none; }
  .about-hero__grid > div {
    flex: 0 0 72%;
    scroll-snap-align: center;
  }
  /* the tilt is dropped on mobile so the cards sit in a clean row;
     the middle card keeps a small offset to keep some playfulness */
  .about-hero__grid > div:nth-child(1),
  .about-hero__grid > div:nth-child(2),
  .about-hero__grid > div:nth-child(3) { transform: none; }
  .about-hero__grid > div:nth-child(2) { margin-top: 20px; }

  /* three focus-area pills still need to breathe */
  .tab { font-size: 14px; padding: 14px 8px; }
}

/* --------------------------------------------------------------------------
   19. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track--live { animation: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
