/* Snipes H3 — green + brown from the tree logo, on warm off-white. */
:root {
  --g950: #0a2a1b;
  --g900: #0f3d27;
  --g800: #12502f;
  --g700: #156b3c;
  --g600: #1a8246;            /* the original site's brand green */
  --g200: #bfe3cd;
  --g100: #e5f3ea;
  --g50:  #f2f9f4;
  --sky:  #e2f7fa;            /* the original site's pale aqua */
  --brown: #8f5f26;           /* logo trunk */
  --brown-700: #74491a;
  --brown-100: #f5ebdd;
  --sand: #fbf9f4;
  --ink: #17251d;
  --muted: #536459;
  --line: #dce8e0;
  --white: #fff;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(15, 61, 39, .06), 0 8px 24px rgba(15, 61, 39, .08);
  --shadow-lg: 0 2px 4px rgba(15, 61, 39, .06), 0 24px 48px rgba(15, 61, 39, .14);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font: 400 17px/1.65 var(--sans);
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--g700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--g900); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--g900); margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -.02em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--g900); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-flush { padding-top: clamp(32px, 5vw, 56px); }
.section-tint { background: var(--g50); }
.section-dark { background: radial-gradient(1200px 500px at 85% -10%, #1d6b42 0%, transparent 60%), var(--g900); color: #d9eadf; }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--g600); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--g200); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40em; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.split h2 { max-width: 640px; margin: 0; }
.section-sub { color: #b9d4c4; font-size: 1.1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font: 600 .98rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--g600); color: #fff; box-shadow: 0 6px 18px rgba(26, 130, 70, .28); }
.btn-primary:hover { background: var(--g700); color: #fff; }
.btn-accent { background: var(--brown); color: #fff; box-shadow: 0 6px 18px rgba(143, 95, 38, .3); }
.btn-accent:hover { background: var(--brown-700); color: #fff; }
.btn-outline { border-color: var(--g600); color: var(--g700); background: transparent; }
.btn-outline:hover { background: var(--g600); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--g900); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 244, .86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(15, 61, 39, .06); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--g900); }
.brand img { width: 44px; height: auto; }
.brand strong { display: block; font: 700 1.2rem/1.1 var(--serif); letter-spacing: -.01em; }
.brand small { display: block; font-size: .72rem; letter-spacing: .08em; color: var(--brown); font-weight: 600; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  display: block; padding: 10px 12px; border-radius: 999px; text-decoration: none;
  color: var(--ink); font-weight: 500; font-size: .95rem; transition: background-color .15s, color .15s;
}
.nav ul a:hover { background: var(--g100); color: var(--g800); }
.nav ul a[aria-current="page"] { background: var(--g100); color: var(--g700); font-weight: 600; }
.nav-donate { min-height: 42px; padding: 0 18px; }
.menu-toggle { display: none; }

@media (max-width: 1020px) {
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 48px; height: 48px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--g100); cursor: pointer;
  }
  .menu-toggle span:not(.sr) { display: block; height: 2px; background: var(--g900); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 76px 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 24px; background: var(--sand);
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(15, 61, 39, .12);
    max-height: calc(100dvh - 76px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .nav-donate { min-height: 52px; }
}

/* Hero */
.hero { padding: clamp(32px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--sand) 0%, var(--sky) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 span { color: var(--brown); font-style: italic; font-weight: 500; }
.hero-media { position: relative; }
.hero-video {
  width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); background: var(--g100) url("/img/hero.webp") center / cover;
}
.hero-badge {
  position: absolute; left: -18px; bottom: -18px; display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg);
}
.hero-badge strong { font: 700 2.2rem/1 var(--serif); color: var(--g600); }
.hero-badge span { font-size: .85rem; line-height: 1.3; color: var(--muted); }

/* Stats */
.stats { background: var(--g900); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 16px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font: 600 clamp(1.8rem, 3.4vw, 2.6rem)/1.1 var(--serif); color: #fff; }
.stat span { font-size: .9rem; color: #b9d4c4; }

/* Mission */
.mission { max-width: 900px; text-align: center; }
.mission .eyebrow { justify-content: center; }
.mission-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--g100); color: var(--g600); }
.mission-icon .icon { width: 30px; height: 30px; }
.mission blockquote { margin: 0; font: 500 clamp(1.35rem, 2.6vw, 2rem)/1.4 var(--serif); color: var(--g900); letter-spacing: -.01em; }

/* Cards */
.card-grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-card, .story-card {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
  background: #fff; border-radius: var(--r); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.feature-card:hover, .story-card:hover, .program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.feature-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.feature-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.feature-body p { color: var(--muted); }
.feature-body .eyebrow { margin-bottom: .6rem; }
.link { display: inline-flex; align-items: center; gap: .4em; margin-top: auto; font-weight: 600; color: var(--g700); }
.link .icon { transition: transform .2s; }
a:hover .link .icon { transform: translateX(4px); }

.program-card {
  position: relative; display: block; padding: 28px; border-radius: var(--r); text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.program-card:hover { border-color: var(--g200); }
.program-card p { color: var(--muted); margin: 0; }
.program-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px; background: var(--g100); color: var(--g600); }
.program-icon .icon { width: 26px; height: 26px; }
.program-icon.big { width: 64px; height: 64px; border-radius: 18px; margin: 0; }
.program-icon.big .icon { width: 30px; height: 30px; }
.pill {
  display: inline-flex; align-items: center; gap: .35em; padding: 5px 11px; border-radius: 999px;
  background: var(--brown-100); color: var(--brown-700); font-size: .75rem; font-weight: 600; letter-spacing: .02em;
}
.program-card .pill { position: absolute; top: 28px; right: 24px; }

/* Pillars */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pillars li { padding: 26px 22px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.pillar-num { display: block; margin-bottom: 18px; font: 600 .85rem/1 var(--sans); letter-spacing: .1em; color: #d8b48a; }
.pillars h3 { font-size: 1.35rem; }
.pillars p { margin: 0; font-size: .95rem; color: #b9d4c4; }

/* Testimonial */
.testimonial { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 980px; }
.testimonial img { width: 220px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 8px #fff, var(--shadow-lg); }
.testimonial figure { margin: 0; }
.testimonial blockquote { margin: 0 0 18px; font: 500 clamp(1.25rem, 2.3vw, 1.7rem)/1.45 var(--serif); color: var(--g900); }
.testimonial figcaption { color: var(--muted); }
.testimonial figcaption strong { color: var(--ink); }

/* Village */
.village { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.village li > * { display: grid; place-items: center; aspect-ratio: 1; padding: 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.village a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.village img { width: 100%; max-width: 120px; height: auto; border-radius: 12px; }

/* CTA band */
.cta-band { padding: var(--section) 0; background: linear-gradient(120deg, var(--g900) 0%, var(--g800) 60%, #1b6a3f 100%); color: #d9eadf; }
.cta-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cta-copy h2 { color: #fff; }
.cta-media { border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10; }
.tree-video { width: 100%; height: 100%; object-fit: cover; background: #fff; }

/* Page hero */
.page-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); background: radial-gradient(900px 380px at 100% 0%, var(--sky) 0%, transparent 70%), linear-gradient(180deg, var(--g50), var(--sand)); }
.page-hero h1 { max-width: 15em; }

/* About */
.prose-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.prose p { color: #34463b; }
.prose h3 { margin-top: 1.6em; }
.prose-narrow { max-width: 760px; }
.prose-narrow p { color: #34463b; }
.founder-card { position: sticky; top: 100px; overflow: hidden; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); }
.founder-card img { width: 100%; aspect-ratio: 6 / 6.4; object-fit: cover; object-position: top; }
.founder-card > div { padding: 24px 26px 28px; }
.founder-card p:last-child { margin: 0; color: var(--muted); }
.facility { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.rounded-img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4 / 3; }
.rounded-img.tall { aspect-ratio: 4 / 5; max-height: 640px; }
.tick-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.tick-list.two-col { grid-template-columns: 1fr 1fr; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.tick-list .icon { margin-top: .2em; padding: 3px; width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--g600); color: #fff; stroke-width: 3; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 32px); }
.soft-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.soft-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.soft-card p { margin: 0; color: var(--muted); }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 32px); }
.team li { text-align: center; }
.team img, .team-ph { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 16px; box-shadow: var(--shadow); background: var(--g100); }
.team-ph { display: grid; place-items: center; font: 600 3.4rem/1 var(--serif); color: var(--g600); background: linear-gradient(145deg, var(--g100), var(--sky)); }
.team h3 { margin: 0 0 4px; font-size: 1.2rem; }
.team p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Programs */
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.chip-nav a { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; }
.chip-nav a:hover { border-color: var(--g600); color: var(--g700); }
.program-list { display: grid; gap: 20px; }
.program-row { display: grid; grid-template-columns: minmax(260px, 1fr) 1.6fr; gap: clamp(20px, 4vw, 56px); padding: clamp(24px, 4vw, 44px); background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); }
.program-row-head { display: flex; gap: 18px; align-items: flex-start; }
.program-row h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 6px 0 8px; }
.program-short { color: var(--muted); margin: 0; }
.program-row-body p { color: #34463b; }

/* Join */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { padding: 26px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--g600); color: #fff; font-weight: 700; }
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-chip { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; margin-top: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; }
a.contact-chip:hover { border-color: var(--g600); color: inherit; }
.contact-chip > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--g100); color: var(--g600); }
.contact-chip span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-chip strong, .contact-chip a { display: block; font-size: 1.1rem; font-weight: 600; color: var(--g900); overflow-wrap: anywhere; }
.contact-chip small { display: block; color: var(--muted); }

/* Forms */
.form-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.form { display: grid; gap: 16px; padding: clamp(24px, 4vw, 40px); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.form h2 { margin-bottom: 4px; }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.req { color: var(--brown); }
input, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--g50); transition: border-color .15s, background-color .15s, box-shadow .15s;
}
textarea { resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--g600); background: #fff; box-shadow: 0 0 0 4px rgba(26, 130, 70, .14); }
.form .btn { justify-self: start; }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.notice-ok { background: var(--g100); color: var(--g900); }
.notice-ok .icon { color: var(--g600); margin-top: .2em; }
.notice-err { background: #fdecea; color: #7a1f17; }
.contact-cards { display: grid; gap: 4px; }
.contact-cards .contact-chip:first-child { margin-top: 0; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: inherit; transition: background-color .15s; }
.socials.big a { width: 48px; height: 48px; background: var(--g100); color: var(--g700); }
.socials a:hover { background: var(--g600); color: #fff; }
.map-wrap { line-height: 0; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; filter: saturate(.85); }

/* Stories / donate */
.story-img { position: relative; }
.story-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pill-float { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .94); color: var(--g800); }
.story-card h3 { font-size: 1.25rem; }
.follow { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.follow h2 { margin-bottom: .3em; }
.follow p { color: var(--muted); margin: 0; }
.follow .btn-row { margin: 0; }
.donate-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.give-card { position: sticky; top: 100px; padding: 0 0 28px; overflow: hidden; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); text-align: center; }
.give-card .tree-video { aspect-ratio: 16 / 10; margin-bottom: 8px; }
.give-card h2, .give-card > p, .give-card .btn, .give-alt { margin-left: 28px; margin-right: 28px; }
.give-card .btn-block { width: calc(100% - 56px); }
.give-card > p { color: var(--muted); }
.give-alt { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; justify-items: center; }
.give-alt p { margin: 0 0 4px; color: var(--muted); font-size: .95rem; }
.give-alt a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }

/* Footer */
.site-footer { background: var(--g950); color: #a9c3b3; padding: clamp(48px, 7vw, 80px) 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 36px; }
.footer-brand img { width: 84px; padding: 10px; margin-bottom: 16px; background: #fff; border-radius: 18px; }
.footer-brand p { max-width: 30em; }
.footer-h { margin: 0 0 16px; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer-line { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; color: #d4e5da; text-decoration: none; }
.footer-line .icon { margin-top: .25em; color: var(--g200); }
a.footer-line:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: #d4e5da; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-base { margin-top: 48px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-base p { margin: 0; }

/* Reveal on scroll (only when JS has run) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .village { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero-grid, .cta-grid, .prose-grid, .facility, .form-wrap, .donate-grid, .program-row, .two-up { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-badge { left: 12px; bottom: -16px; padding: 10px 16px; }
  .hero-badge strong { font-size: 1.8rem; }
  .card-grid.three { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .team { grid-template-columns: 1fr 1fr; }
  .founder-card, .give-card { position: static; }
  .founder-card { display: grid; grid-template-columns: 160px 1fr; align-items: center; }
  .founder-card img { height: 100%; aspect-ratio: auto; }
  .testimonial { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .testimonial img { width: 160px; }
  .testimonial .eyebrow { justify-content: center; }
  .cta-media { order: 2; }
}
@media (max-width: 600px) {
  .card-grid.three, .pillars, .steps, .field-row, .tick-list.two-col { grid-template-columns: 1fr; }
  .village { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .village li > * { padding: 10px; border-radius: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .brand small { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
  .founder-card { grid-template-columns: 1fr; }
  .founder-card img { aspect-ratio: 6 / 5; }
  .form .btn { justify-self: stretch; }
  .map-wrap iframe { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
