/* Give & Goal Project — global styles
   White comes first. Beige and light green are the secondary surfaces.
   Dark green is kept for text and buttons. */

:root {
  --white: #FFFFFF;
  --beige: #F5EFE2;
  --beige-line: #E4D9C3;
  --mint: #E8F5EA;
  --mint-strong: #C9E6CF;
  --green: #2D7A3A;
  --green-deep: #1A5C28;
  --green-ink: #0F3A19;
  --ink: #1E2A21;
  --muted: #55625A;
  --line: #D9E3DB;
  --dash: #B9C7BC;

  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure, blockquote, address { margin: 0; }
[hidden] { display: none !important; }

h1, h2, h3, .brand-name {
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

h2 { font-size: clamp(2rem, 5vw, 3.25rem); color: var(--green-ink); }
h3 { font-size: 1.5rem; }

:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible { outline-color: var(--white); }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.nb { white-space: nowrap; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--green-deep); color: var(--white);
  padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 10px 22px;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-display); font-stretch: 85%; font-weight: 700;
  font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-lg { min-height: 54px; padding: 12px 30px; font-size: 1.0625rem; }
.btn-primary { background: var(--green-deep); color: var(--white); }
.btn-primary:hover { background: var(--green-ink); }
.btn-outline { border-color: var(--green-deep); color: var(--green-deep); }
.btn-outline:hover { background: var(--white); }
.btn-light { background: var(--white); color: var(--green-ink); }
.btn-light:hover { background: var(--mint); }
.btn-ghost { border-color: rgba(255,255,255,.8); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--green-deep); border-color: var(--white); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; color: var(--green-deep);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
  text-decoration-color: var(--mint-strong);
}
.text-link:hover { text-decoration-color: var(--green-deep); }
.text-link span { transition: transform .15s ease; }
.text-link:hover span { transform: translateX(4px); }

.kicker, .eyebrow {
  font-family: var(--font-display); font-stretch: 90%; font-weight: 700;
  font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase;
}
.kicker { color: var(--green-deep); margin-bottom: 12px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand-mark { width: auto; height: 44px; flex: none; }
.brand-name { font-size: clamp(1.1875rem, 5.4vw, 1.5rem); font-weight: 900; white-space: nowrap; color: var(--green-ink); }
.brand-name .amp { color: var(--green); }
.brand-sub { font-weight: 500; color: var(--green); }

.site-nav ul { display: flex; align-items: center; gap: 2px; }
.site-nav a:not(.btn) {
  display: flex; align-items: center; min-height: 44px; padding: 0 12px;
  border-radius: 8px; font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  color: var(--ink);
}
.site-nav a:not(.btn):hover { background: var(--mint); color: var(--green-deep); }
.site-nav a:not(.btn)[aria-current="page"] { background: var(--mint); color: var(--green-deep); font-weight: 700; }
.nav-donate { margin-left: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  background: transparent; border: 0; border-radius: 10px; color: var(--green-ink); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 24px; height: 3px; border-radius: 2px; background: currentColor;
  margin-inline: auto; transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -8px; }
.nav-toggle-bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(15,58,25,.16);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; }
  .site-nav a:not(.btn) {
    min-height: 54px; padding: 0 4px; border-radius: 0; font-size: 1.1875rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a:not(.btn):hover, .site-nav a:not(.btn)[aria-current="page"] { background: transparent; }
  .nav-donate { margin: 20px 0 0; min-height: 54px; width: 100%; }
}

/* ---------- Home: hero slideshow + stats (together fill the first screen) ---------- */
.first-screen {
  display: flex; flex-direction: column;
  min-height: calc(100svh - var(--header-h) - 1px);
}

.hero {
  position: relative; flex: 1; display: flex; align-items: center;
  background: var(--green-ink); color: var(--white);
  text-align: center; overflow: hidden; isolation: isolate;
}
.slideshow { position: absolute; inset: 0; z-index: -2; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
/* Stand-in slides, shown only until real photos are added */
.slide-ph-1 { background: radial-gradient(120% 90% at 50% 0%, #3C8F4A 0%, #1A5C28 55%, #0F3A19 100%); }
.slide-ph-2 { background: radial-gradient(120% 90% at 15% 10%, #4A9A7C 0%, #1F6650 55%, #0E3A2C 100%); }
.slide-ph-3 { background: radial-gradient(120% 90% at 85% 10%, #86A451 0%, #4C6E24 55%, #283F12 100%); }
/* Darkens whatever photo is showing so the headline stays readable */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(9,32,15,.42), rgba(9,32,15,.68));
}

.hero-inner { padding-block: clamp(32px, 6vh, 80px) clamp(64px, 9vh, 104px); }
.eyebrow { color: var(--mint-strong); margin-bottom: clamp(14px, 2.4vh, 24px); }
.hero h1 {
  font-size: clamp(2.375rem, min(7.2vw, 12vh), 5.75rem);
  font-weight: 900; font-stretch: 68%; line-height: .92;
}
.hero h1 .hl { display: block; color: var(--mint-strong); }
.hero-sub {
  max-width: 52ch; margin: clamp(16px, 2.6vh, 28px) auto 0;
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); line-height: 1.5; color: rgba(255,255,255,.95);
}
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(22px, 3.6vh, 36px); }

.slide-controls {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px;
}
.slide-btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: var(--white); cursor: pointer;
  transition: background-color .15s ease;
}
.slide-btn:hover { background: rgba(255,255,255,.32); }
.slide-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.slide-btn .icon-play { display: none; fill: currentColor; stroke: none; }
.slide-btn.is-paused .icon-play { display: block; }
.slide-btn.is-paused .icon-pause { display: none; }
.slide-dots { display: flex; gap: 8px; padding-inline: 10px; }
.slide-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.45); transition: background-color .2s ease, transform .2s ease; }
.slide-dots span.is-active { background: var(--white); transform: scale(1.3); }

.stats { background: var(--beige); border-bottom: 1px solid var(--beige-line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(16px, 2.6vh, 28px) 12px; text-align: center; display: flex; flex-direction: column; }
.stat + .stat { border-left: 1px solid var(--beige-line); }
.stat dd {
  font-family: var(--font-display); font-stretch: 70%; font-weight: 900;
  font-size: clamp(2rem, 5.2vw, 3.75rem); line-height: 1; color: var(--green-deep);
  font-variant-numeric: tabular-nums;
}
.stat dd small { font-size: .45em; letter-spacing: .04em; }
.stat dt {
  order: 2; margin-top: 6px;
  font-size: .9375rem; font-weight: 600; line-height: 1.25; color: var(--muted);
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 12px 8px; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--beige-line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--beige-line); }
  .stat dt { font-size: .875rem; }
  .cta-row .btn { flex: 1 1 150px; padding-inline: 16px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 9vw, 112px); }
.tint-mint { background: var(--mint); }
.tint-beige { background: var(--beige); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; margin-bottom: clamp(24px, 4vw, 44px); }
.section-intro { max-width: 60ch; margin-top: 14px; color: var(--muted); }
.section > .wrap > h2 + ul, .section > .wrap > h2 + ol, .section > .wrap > h2 + div, .section-intro + ul { margin-top: clamp(24px, 4vw, 44px); }

/* Mission */
.mission-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.mission-photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius);
  box-shadow: 18px 18px 0 var(--mint-strong);
}
.mission-photo figcaption { margin-top: 30px; font-size: .9375rem; color: var(--muted); }
.mission-copy h2 { margin-bottom: 20px; }
.mission-copy p { max-width: 56ch; }
.mission-copy .lead { font-size: 1.25rem; line-height: 1.5; font-weight: 600; color: var(--green-ink); margin-bottom: 14px; }
.mission-copy p + p { margin-top: 14px; }
.mission-copy .text-link { margin-top: 18px; }

/* How it works */
.how { background: var(--mint); }
.how h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); counter-reset: pillar; }
.pillar {
  position: relative; background: var(--white); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px); border-top: 6px solid var(--green);
  counter-increment: pillar;
}
.pillar::after {
  content: "0" counter(pillar); position: absolute; top: 18px; right: 22px;
  font-family: var(--font-display); font-stretch: 70%; font-weight: 900; font-size: 2.5rem; line-height: 1;
  color: var(--mint);
}
.pillar-icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px;
  background: var(--mint); border-radius: 50%; color: var(--green-deep);
}
.pillar-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.pillar h3 { margin-bottom: 10px; color: var(--green-deep); }
.pillar p { color: var(--muted); }

/* Partner logos (home) */
.logo-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: clamp(10px, 1.6vw, 20px); }
.logo-strip a {
  display: grid; place-items: center; aspect-ratio: 1; padding: 12%;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: border-color .15s ease, transform .15s ease;
}
.logo-strip a:hover { border-color: var(--green); transform: translateY(-3px); }
.logo-strip img { width: 100%; height: 100%; object-fit: contain; }

/* Media teaser (home) */
.media { background: var(--beige); }
.media-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 2.4vw, 28px); }
.quote-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  background: var(--white); color: var(--green-ink); border-radius: var(--radius);
  border-left: 8px solid var(--green); padding: clamp(24px, 3.4vw, 40px);
}
.quote-card p { font-family: var(--font-display); font-stretch: 82%; font-weight: 700; font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.2; }
.quote-card footer { font-weight: 700; }
.quote-card footer span { display: block; font-weight: 400; color: var(--muted); }

.insta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(10px, 1.4vw, 16px); }
.insta-grid a {
  display: grid; place-items: center; aspect-ratio: 1; padding: 12px; text-align: center;
  border: 2px dashed var(--dash); border-radius: var(--radius);
  background: var(--white); color: var(--muted);
  font-size: .9375rem; text-decoration: none; transition: background-color .15s ease, border-color .15s ease;
}
.insta-grid a:hover { background: var(--mint); border-color: var(--green); }
.insta-grid a:has(img) { padding: 0; border: 0; overflow: hidden; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.insta-grid a:hover img { transform: scale(1.05); }

.press-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 24px;
  margin-top: clamp(16px, 2.4vw, 28px); padding: 20px clamp(18px, 2.6vw, 28px);
  background: var(--white); border: 1px solid var(--beige-line); border-radius: var(--radius); text-decoration: none;
  transition: border-color .15s ease;
}
.press-row:hover { border-color: var(--green); }
.press-tag { font-family: var(--font-display); font-weight: 700; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); }
.press-title { font-size: 1.1875rem; font-weight: 600; line-height: 1.35; }
.press-source { color: var(--muted); white-space: nowrap; }

/* Closing donate band */
.donate-band { background: var(--mint); color: var(--green-ink); text-align: center; padding-block: clamp(52px, 8vw, 96px); }
.donate-band h2 { font-size: clamp(2.125rem, 6vw, 4rem); font-weight: 900; max-width: 16ch; margin-inline: auto; }
.donate-band p { max-width: 46ch; margin: 16px auto 28px; font-size: 1.1875rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--beige); color: var(--ink); border-top: 1px solid var(--beige-line); padding-top: clamp(40px, 6vw, 64px); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 32px; align-items: start; }
.footer-logo { width: 150px; height: auto; border-radius: 18px; }
.footer-brand p { margin-top: 12px; color: var(--muted); font-size: .9375rem; letter-spacing: .06em; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.footer-links a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-links a:hover, .footer-email:hover { color: var(--green-deep); text-decoration: underline; text-underline-offset: 4px; }
.footer-email { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; overflow-wrap: anywhere; }
.social { display: flex; gap: 10px; margin-top: 10px; }
.social a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--green-deep); color: var(--green-deep);
  transition: background-color .15s ease, color .15s ease;
}
.social a:hover { background: var(--green-deep); color: var(--white); }
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social svg .dot { fill: currentColor; stroke: none; }
.footer-legal {
  margin-top: clamp(28px, 4vw, 44px); padding-block: 18px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--beige-line); font-size: .9375rem; color: var(--muted);
}

/* =====================================================================
   Inner pages
   ===================================================================== */

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--mint); }
.page-hero .hero-media { position: absolute; inset: 0; z-index: -1; }
.pitch { width: 100%; height: 100%; color: rgba(26,92,40,.1); }
.page-hero-inner { padding-block: clamp(44px, 8vw, 96px); }
.page-hero .eyebrow { color: var(--green-deep); }
.page-hero h1 { font-size: clamp(2.5rem, 8vw, 5.25rem); font-weight: 900; font-stretch: 68%; line-height: .95; color: var(--green-ink); }
.page-intro { max-width: 60ch; margin-top: clamp(14px, 2vw, 22px); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.5; }
.page-hero .cta-row { justify-content: flex-start; }

/* ---------- About ---------- */
.mission-statement { background: var(--beige); padding-block: clamp(52px, 8vw, 104px); }
.mission-statement blockquote {
  max-width: 30em; font-family: var(--font-display); font-stretch: 80%; font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.75rem); line-height: 1.15; text-wrap: balance; color: var(--green-ink);
}
.statement-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 64px); align-items: center; }
.statement-logo { width: clamp(180px, 22vw, 260px); height: auto; border-radius: 24px; }
.stats-block { background: var(--beige); }
.stats-heading { padding-top: clamp(28px, 4vw, 44px); text-align: center; }
.stats-heading .kicker { margin-bottom: 0; }
.stats-block .stats { border-bottom: 0; }

/* ---------- Partners ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.partner-card {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: start;
  padding: clamp(18px, 2.6vw, 28px); border-radius: var(--radius); background: var(--mint);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.partner-card:nth-child(4n+2), .partner-card:nth-child(4n+3) { background: var(--beige); }
.partner-card:target { box-shadow: 0 0 0 3px var(--green); }
.partner-logo { display: grid; place-items: center; aspect-ratio: 1; padding: 10px; border-radius: 10px; background: var(--white); }
.partner-logo img { width: 100%; height: 100%; object-fit: contain; }
.partner-card h2 { font-size: 1.5rem; color: var(--green-deep); margin-bottom: 8px; }

.partner-cta { background: var(--mint); padding-block: clamp(48px, 7vw, 88px); }
.partner-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.partner-cta h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); max-width: 18ch; }
.partner-cta p:not(.kicker) { max-width: 48ch; margin-top: 14px; }

/* ---------- Events timeline ---------- */
.timeline { position: relative; max-width: 860px; counter-reset: event; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--mint-strong); }
.event { position: relative; padding-left: 68px; counter-increment: event; }
.event + .event { margin-top: clamp(16px, 2.4vw, 24px); }
.event::before {
  content: counter(event); position: absolute; left: 0; top: 18px;
  display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%;
  background: var(--green-deep); color: var(--white); border: 4px solid var(--white);
  font-family: var(--font-display); font-stretch: 75%; font-weight: 900; font-size: 1.25rem;
}
.event-card { padding: clamp(20px, 3vw, 30px); border-radius: var(--radius); background: var(--mint); }
.event:nth-child(even) .event-card { background: var(--beige); }
.event-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 18px; }
.event-place {
  display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; background: var(--white); color: var(--green-deep);
  font-family: var(--font-display); font-stretch: 90%; font-weight: 700; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase;
}
.event-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--green-deep); margin-bottom: 10px; }
.event-partner { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 16px; font-weight: 700; color: var(--green-deep); text-decoration: none; }
.event-partner img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: var(--white); padding: 4px; }
.event-partner:hover > span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Media ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip-row a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--green-deep); color: var(--green-deep); font-weight: 700; text-decoration: none;
  transition: background-color .15s ease;
}
.chip-row a:hover { background: var(--mint); }

.country { margin-top: clamp(32px, 5vw, 56px); scroll-margin-top: calc(var(--header-h) + 16px); }
.country-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px;
  padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid var(--mint-strong);
}
.country-head h3 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--green-deep); }
.country-head p { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 16px); }
.gallery-ph {
  display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 8px; text-align: center;
  border: 2px dashed var(--dash); border-radius: var(--radius); background: var(--mint); color: var(--muted); font-size: .9375rem;
}
.country:nth-of-type(even) .gallery-ph { background: var(--beige); }
.gallery-item {
  display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: var(--radius);
  overflow: hidden; background: var(--mint); cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.05); }

.lightbox { max-width: min(96vw, 1100px); max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(9,32,15,.88); }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 10px; }
.lightbox-close {
  position: fixed; top: 12px; right: 12px; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%; background: var(--white); color: var(--green-ink);
  font-size: 1.75rem; line-height: 1; cursor: pointer;
}

/* Phone-shaped (tall) slots, since the videos are filmed on phones */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); gap: clamp(12px, 2vw, 24px); }
.video-slot figure { display: grid; gap: 10px; }
.video-slot video, .video-slot iframe, .video-ph { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: var(--radius); }
.video-slot video { background: #0B1F11; object-fit: cover; }
.video-slot figcaption { font-weight: 700; color: var(--green-deep); }
.video-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 12px; text-align: center;
  border: 2px dashed var(--dash); background: var(--white); color: var(--muted); font-size: .9375rem;
}
.video-ph svg { width: 44px; height: 44px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linejoin: round; }

.press { background: var(--beige); }
.press-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.press-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--beige-line);
  text-decoration: none; transition: border-color .15s ease, transform .15s ease;
}
a.press-card:hover { border-color: var(--green); transform: translateY(-2px); }
.press-card h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.1; color: var(--green-deep); }
.press-card blockquote { color: var(--muted); }
.press-card cite { display: block; margin-top: 6px; font-style: normal; font-weight: 600; color: var(--ink); }
.press-card .text-link { margin-top: auto; }

.insta-grid.insta-wide { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.handles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(20px, 3vw, 32px); }
.handles li { padding: 16px 18px; border-radius: var(--radius); background: var(--mint); }
.handles li:nth-child(even) { background: var(--beige); }
.handles span { display: block; font-family: var(--font-display); font-weight: 700; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); }
.handles a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.flip { perspective: 1400px; }
.flip-inner { display: grid; height: 100%; transition: transform .55s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.flip-face {
  grid-area: 1 / 1; display: flex; flex-direction: column; padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius); backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.flip-front { align-items: center; text-align: center; background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--green); }
.flip-back { background: var(--mint); border-top: 6px solid var(--green); transform: rotateY(180deg); }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) {
  .flip:hover .flip-inner { transform: rotateY(180deg); }
}
.avatar {
  display: grid; place-items: center; width: 156px; height: 156px; margin-bottom: 18px; border-radius: 50%; object-fit: cover;
  background: var(--mint); color: var(--green-deep); border: 4px solid var(--mint-strong);
  font-family: var(--font-display); font-stretch: 75%; font-weight: 900; font-size: 2.5rem;
}
.flip-front h2 { font-size: 1.625rem; color: var(--green-deep); }
.role { margin-top: 6px; font-family: var(--font-display); font-stretch: 90%; font-weight: 700; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.bio { margin-top: 12px; color: var(--muted); }
.flip-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: auto; padding: 14px 4px 0;
  background: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; color: var(--green-deep);
  text-decoration: underline; text-decoration-color: var(--mint-strong); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.flip-back .flip-btn { align-self: flex-start; text-decoration-color: var(--green); }
.flip-back h3 { color: var(--green-deep); margin-bottom: 14px; }
.flip-back ul { display: grid; gap: 8px; font-size: 1rem; line-height: 1.4; }
.flip-back li { position: relative; padding-left: 18px; }
.flip-back li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* ---------- Donate ---------- */
.donate-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.donate-grid h2 { margin-bottom: 18px; }
.donate-grid p { max-width: 56ch; }

.gear-list { display: grid; gap: 8px; margin-top: 14px; }
.gear-list li { position: relative; padding-left: 30px; }
.gear-list li::before {
  content: ""; position: absolute; left: 4px; top: .35em; width: 12px; height: 7px;
  border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg);
}

.location-card { padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); background: var(--mint); scroll-margin-top: calc(var(--header-h) + 16px); }
.location-card h3 { color: var(--green-deep); margin-bottom: 12px; }
.location-card address { font-style: normal; font-weight: 700; font-size: 1.1875rem; line-height: 1.35; }
.location-facts { display: grid; gap: 8px; margin-top: 12px; }
.location-facts li {
  display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 12px; line-height: 1.3;
  background: var(--white); color: var(--green-deep); font-weight: 700;
}
.location-facts svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.map {
  position: relative; height: 300px; margin-top: 16px;
  border-radius: 12px; overflow: hidden; background: var(--beige); border: 1px solid var(--line);
}
/* Shown only for the moment before the map draws itself */
.map::before { content: "Loading map…"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.map iframe { position: relative; display: block; width: 100%; height: 100%; border: 0; }
/* Covers the map until it is tapped, so scrolling past it never gets stuck */
.map-unlock {
  position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center;
  width: 100%; padding: 12px; border: 0; background: transparent; cursor: pointer; font: inherit;
}
.map-unlock span {
  padding: 8px 16px; border-radius: 999px; background: var(--white); color: var(--green-deep);
  font-weight: 700; font-size: .9375rem; box-shadow: 0 2px 10px rgba(15,58,25,.25);
}
.map-unlock:hover span { background: var(--mint); }
.map.is-active .map-unlock { display: none; }
.location-card .btn { width: 100%; margin-top: 14px; }

.dropoff-form { position: relative; display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: var(--white); border-top: 6px solid var(--green); }
.dropoff-form h3 { color: var(--green-deep); }
.dropoff-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.dropoff-form legend, .field label { display: block; padding: 0; margin-bottom: 6px; font-weight: 700; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #9DB0A2; border-radius: 10px;
  background: var(--white); color: var(--ink); font: inherit; font-size: 1.0625rem;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 1px; border-radius: 10px; }
.choice, .checks { display: grid; }
.choice label, .checks label { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.checks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.checks legend { grid-column: 1 / -1; }
.dropoff-form input[type="radio"], .dropoff-form input[type="checkbox"] { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--green-deep); }
.dropoff-form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.6em; font-weight: 600; color: var(--green-deep); }
.form-status.is-error { color: #A12A1B; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .mission-grid, .media-grid { grid-template-columns: 1fr; }
  .mission-photo { max-width: 520px; margin-right: 18px; }
  .pillars { grid-template-columns: 1fr; }
  .logo-strip { grid-template-columns: repeat(4, 1fr); }
  .insta-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .partner-grid, .press-grid, .donate-grid { grid-template-columns: 1fr; }
  .statement-grid { grid-template-columns: 1fr; }
  .partner-card:nth-child(n) { background: var(--mint); }
  .partner-card:nth-child(even) { background: var(--beige); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-ph:nth-child(n+4) { display: none; }
  .insta-grid.insta-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .handles { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .press-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .donate-band .btn { width: 100%; max-width: 360px; }

  .partner-card { grid-template-columns: 76px minmax(0, 1fr); }
  .video-grid { grid-template-columns: minmax(0, 340px); justify-content: center; }
  .video-ph { aspect-ratio: 16 / 9; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-ph:nth-child(n+3) { display: none; }
  .event { padding-left: 0; padding-top: 30px; }
  .event::before { left: 16px; top: 4px; z-index: 1; }
  .timeline::before { display: none; }
  .event-card { padding-top: 34px; }
  .checks { grid-template-columns: 1fr; }
  .page-hero .cta-row .btn { flex: 1 1 100%; }
  .partner-cta .btn { width: 100%; }
}

/* Short landscape phones: keep hero compact so stats stay on the first screen */
@media (max-height: 560px) {
  .hero h1 { font-size: clamp(2.25rem, 11vh, 4rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
