/* ==========================================================
   Pioneers Care — main stylesheet
   Colors live in :root below. Change them there to re-theme.
   ========================================================== */

:root {
  --green-900: #0f2e22;
  --green-800: #163d2e;
  --green-700: #1e4d3b;   /* primary: deep forest green */
  --green-600: #2a6450;
  --green-100: #e6efe9;
  --gold-500: #d4a238;    /* warm gold accent */
  --gold-400: #e2b85a;
  --gold-100: #fbf3e0;
  --gray-50:  #f6f6f3;    /* soft gray background */
  --gray-100: #ecece7;
  --gray-300: #c9cbc4;
  --gray-600: #5b625d;
  --ink:      #1a2420;
  --white:    #ffffff;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 46, 34, .06), 0 2px 8px rgba(15, 46, 34, .05);
  --shadow-md: 0 8px 28px rgba(15, 46, 34, .12);
  --container: 1180px;
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--green-900);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--gold-500); color: var(--green-900);
  padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--gray { background: var(--gray-50); }
.section--green { background: var(--green-800); color: #e9f1ec; }
.section--green h2, .section--green h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 26px; height: 2px;
  background: var(--gold-500); vertical-align: middle; margin-right: .6rem;
}
.section--green .eyebrow, .impact .eyebrow { color: var(--gold-400); }
.lead { font-size: 1.2rem; color: var(--gray-600); }
.section--green .lead { color: #cfe0d6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { background: var(--gold-500); color: var(--green-900); }
.btn--gold:hover { background: var(--gold-400); color: var(--green-900); }
.btn--green { background: var(--green-700); color: var(--white); }
.btn--green:hover { background: var(--green-800); color: var(--white); }
.btn--outline { border-color: currentColor; color: var(--green-700); background: transparent; }
.btn--outline:hover { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.btn--outline-light { border-color: rgba(255,255,255,.85); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--green-900); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--green-900); color: #cfe0d6; font-size: .875rem; }
.topbar .container { display: flex; justify-content: flex-end; gap: 1.75rem; padding-block: .45rem; }
.topbar a { color: #cfe0d6; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--white); }
.topbar svg { width: 15px; height: 15px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--gray-100); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1.5rem; }

/* Logo: brand colors from the Pioneers Care logo */
.logo { --logo-main: #6b1d42; --logo-tag: #2b2d5e; display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.logo-mark { width: 44px; height: 41px; flex: none; color: var(--logo-main); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: "Poppins", var(--font-body); font-weight: 700; font-size: 1.6rem;
  color: var(--logo-main); letter-spacing: -.01em;
}
.logo-tag {
  display: flex; align-items: center; gap: .4rem; margin-top: .3rem;
  font-family: "Poppins", var(--font-body); font-weight: 400; font-size: .72rem;
  color: var(--logo-tag); white-space: nowrap;
}
.logo-tag::before, .logo-tag::after { content: ""; flex: 1; height: 1.5px; background: currentColor; min-width: 14px; }
.logo:hover .logo-name { color: #561535; }

.main-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: .5rem .85rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem;
  transition: background-color .2s, color .2s;
}
.main-nav a:hover { background: var(--green-100); color: var(--green-800); }
.main-nav a[aria-current="page"] { color: var(--green-700); font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-actions .btn { padding: .7rem 1.25rem; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 10px;
  background: var(--green-100); color: var(--green-800); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }
.mobile-only, .main-nav .mobile-only { display: none; }

/* ---------- Photo slots ----------
   Each .photo shows a soft placeholder until the image file
   named in data-src exists in /images. See README.md.        */
.photo {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(circle at 25% 20%, rgba(226,184,90,.35), transparent 55%),
    linear-gradient(135deg, var(--green-600), var(--green-800));
  background-size: cover; background-position: center 35%;
  min-height: 260px;
}
.photo::after {
  content: "Photo to add: " attr(data-label);
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  color: rgba(255,255,255,.85); font-size: .85rem; font-weight: 500;
  display: flex; align-items: center; gap: .5rem;
}
.photo::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; opacity: .45;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.1-3.1a2 2 0 0 0-2.8 0L6 21'/%3E%3C/svg%3E");
}
.photo.has-img::before, .photo.has-img::after { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); isolation: isolate;
  min-height: min(88vh, 760px); display: flex; align-items: center;
  padding-block: 6rem;
}
.hero .photo { position: absolute; inset: 0; border-radius: 0; z-index: -2; min-height: 0; }
.hero .photo::before { display: none; }
.hero .photo::after { left: auto; right: 1.25rem; bottom: 1.25rem; text-align: right; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10,32,24,.92) 0%, rgba(10,32,24,.72) 45%, rgba(10,32,24,.25) 100%);
}
.hero-content { max-width: 720px; }
.hero h1 { color: var(--white); margin-bottom: .5em; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #dbe7e0; max-width: 600px; margin-bottom: 2rem; }
.hero .eyebrow { color: var(--gold-400); }

.page-hero {
  position: relative; color: var(--white); isolation: isolate;
  padding-block: clamp(5rem, 11vw, 8rem) clamp(4rem, 8vw, 6rem);
}
.page-hero .photo { position: absolute; inset: 0; border-radius: 0; z-index: -2; min-height: 0; }
.page-hero .photo::after, .page-hero .photo::before, .cta-banner .photo::before { display: none; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,32,24,.75), rgba(10,32,24,.88));
}
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 760px; }
.page-hero p { color: #dbe7e0; font-size: 1.2rem; max-width: 640px; margin: 0; }
.page-hero .eyebrow { color: var(--gold-400); }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split .photo { min-height: 440px; }
.split--reverse > :first-child { order: 2; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list svg {
  flex: none; width: 24px; height: 24px; padding: 4px; margin-top: 2px;
  border-radius: 50%; background: var(--gold-100); color: var(--green-700);
}

/* ---------- Need section ---------- */
.need { position: relative; }
.need .photo { min-height: 520px; }
.need-quote {
  border-left: 4px solid var(--gold-500); padding: .25rem 0 .25rem 1.25rem; margin: 1.75rem 0;
  font-family: var(--font-head); font-size: 1.35rem; line-height: 1.45; color: var(--green-800);
}
.need-groups { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.need-groups li {
  background: var(--green-100); color: var(--green-800);
  font-weight: 600; font-size: .92rem; padding: .45rem 1rem; border-radius: 999px;
}

/* ---------- Impact banner / counters ---------- */
.impact {
  background:
    radial-gradient(circle at 85% 15%, rgba(212,162,56,.22), transparent 45%),
    linear-gradient(135deg, var(--green-800), var(--green-900));
  color: var(--white); text-align: center;
}
.impact h2 { color: var(--white); max-width: 820px; margin-inline: auto; }
.impact h2 em { font-style: normal; color: var(--gold-400); }
.big-counter {
  font-family: var(--font-head); font-weight: 700; color: var(--gold-400);
  font-size: clamp(4rem, 13vw, 8.5rem); line-height: 1; margin: 1.5rem 0 .5rem;
  font-variant-numeric: tabular-nums;
}
.impact-sub { color: #cfe0d6; font-size: 1.15rem; margin-bottom: 3rem; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden;
  max-width: 960px; margin: 0 auto;
}
.stat { background: rgba(10,32,24,.55); padding: 1.75rem 1rem; }
.stat strong {
  display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--white);
  line-height: 1.1; font-variant-numeric: tabular-nums;
}
.stat > span { color: #cfe0d6; font-size: .95rem; }
.progress {
  max-width: 640px; margin: 0 auto 3rem; height: 10px; border-radius: 999px;
  background: rgba(255,255,255,.15); overflow: hidden;
}
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); border-radius: inherit; transition: width 2.2s var(--ease); }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gray-300); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--gray-600); }
.card .more {
  margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
}
.card .more svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.card:hover .more svg { transform: translateX(4px); }
a.card { text-decoration: none; color: inherit; }

.icon-badge {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700); margin-bottom: 1.25rem;
  transition: background-color .3s, color .3s;
}
.icon-badge svg { width: 28px; height: 28px; }
.card:hover .icon-badge { background: var(--green-700); color: var(--gold-400); }
.icon-badge--gold { background: var(--gold-100); color: #8a6414; }

.help-card { text-align: center; align-items: center; padding: 2.5rem 2rem; }
.help-card .btn { margin-top: auto; }
.help-card--featured { background: var(--green-700); border-color: var(--green-700); }
.help-card--featured h3 { color: var(--white); }
.help-card--featured p { color: #d6e5dc; }
.help-card--featured .icon-badge { background: var(--gold-500); color: var(--green-900); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; isolation: isolate; color: var(--white); text-align: center; padding-block: clamp(5rem, 10vw, 8rem); }
.cta-banner .photo { position: absolute; inset: 0; border-radius: 0; z-index: -2; min-height: 0; }
.cta-banner .photo::after { display: none; }
.cta-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15,46,34,.84); }
.cta-banner h2 { color: var(--white); font-size: clamp(2.1rem, 4.5vw, 3.4rem); max-width: 800px; margin-inline: auto; }
.cta-banner p { color: #dbe7e0; font-size: 1.2rem; max-width: 620px; margin: 0 auto 2.25rem; }
.cta-banner .btn-row { justify-content: center; }

/* ---------- About ---------- */
.vision-quote {
  font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 1.95rem); line-height: 1.45;
  color: var(--white); max-width: 900px; margin: 0 auto; text-align: center;
}
.vision-quote::before { content: "\201C"; display: block; font-size: 4rem; line-height: .6; color: var(--gold-400); margin-bottom: 1rem; }
.goal-card .goal-num {
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--green-700); line-height: 1;
  margin-bottom: .75rem; font-variant-numeric: tabular-nums;
}
.team-card { padding: 0; overflow: hidden; text-align: center; }
.team-card .photo { border-radius: 0; min-height: 0; aspect-ratio: 4 / 4.4; }
.team-card .photo::after { font-size: .75rem; }
.team-card .team-info { padding: 1.25rem 1rem 1.5rem; }
.team-card h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.team-card p { margin: 0; color: var(--green-600); font-weight: 600; font-size: .92rem; }

.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.partner-logo {
  height: 96px; border-radius: var(--radius-sm); border: 2px dashed var(--gray-300);
  display: grid; place-items: center; color: var(--gray-600); font-weight: 600; font-size: .85rem;
  background: var(--white); transition: border-color .25s, color .25s;
  text-align: center; padding: .5rem;
}
.partner-logo:hover { border-color: var(--green-600); color: var(--green-700); }
.partner-types { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0 0 2.5rem; }
.partner-types li { background: var(--white); border: 1px solid var(--gray-100); padding: .5rem 1rem; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--green-800); }

.timeline { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 980px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; top: 28px; left: 28px; right: 28px; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--green-600));
}
.timeline-step { position: relative; }
.timeline-dot {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold-500); color: var(--green-900); display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; margin-bottom: 1.5rem;
  box-shadow: 0 0 0 8px var(--gray-50);
}
.timeline-step:nth-child(2) .timeline-dot { background: var(--green-700); color: var(--white); }
.timeline-step .card { padding: 1.75rem; }
.timeline-step .tag { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-600); }

/* ---------- Programs page ---------- */
.program-nav { position: sticky; top: 76px; z-index: 50; background: var(--white); border-bottom: 1px solid var(--gray-100); }
.program-nav ul { list-style: none; margin: 0; padding: .75rem 0; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
.program-nav ul::-webkit-scrollbar { display: none; }
.program-nav a {
  white-space: nowrap; display: inline-flex; align-items: center; gap: .45rem; text-decoration: none;
  padding: .45rem .95rem; border-radius: 999px; font-weight: 600; font-size: .9rem;
  color: var(--green-800); background: var(--gray-50); transition: background-color .2s, color .2s;
}
.program-nav a svg { width: 16px; height: 16px; }
.program-nav a:hover { background: var(--green-700); color: var(--white); }
.program { scroll-margin-top: 150px; }
.program + .program { border-top: 1px solid var(--gray-100); }
.program .photo { min-height: 420px; }
.program-num { font-family: var(--font-head); font-weight: 700; color: var(--gold-500); font-size: 1rem; letter-spacing: .08em; }
.program-title { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.program-title .icon-badge { margin: 0; flex: none; }
.program-title h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* ---------- Get involved ---------- */
.opps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0 0; }
.opp { background: var(--white); border-radius: var(--radius-sm); padding: 1.25rem; border: 1px solid var(--gray-100); transition: transform .25s var(--ease), box-shadow .25s; }
.opp:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.opp svg { width: 26px; height: 26px; color: var(--green-700); margin-bottom: .5rem; }
.opp h3 { font-size: 1.05rem; margin: 0 0 .25rem; font-family: var(--font-body); font-weight: 700; }
.opp p { margin: 0; font-size: .92rem; color: var(--gray-600); line-height: 1.55; }

.donate-box {
  background: var(--white); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 4vw, 2.5rem); color: var(--ink);
}
.donate-box h3 { margin-bottom: 1.25rem; }
.freq { display: grid; grid-template-columns: 1fr 1fr; background: var(--gray-50); border-radius: 999px; padding: 5px; margin-bottom: 1.5rem; }
.freq button {
  border: 0; background: transparent; border-radius: 999px; padding: .75rem; font: 600 1rem var(--font-body);
  color: var(--gray-600); cursor: pointer; transition: background-color .2s, color .2s;
}
.freq button[aria-pressed="true"] { background: var(--green-700); color: var(--white); box-shadow: var(--shadow-sm); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1rem; }
.amounts button {
  border: 2px solid var(--gray-100); background: var(--white); border-radius: var(--radius-sm);
  padding: .95rem .5rem; font: 700 1.2rem var(--font-body); color: var(--green-800); cursor: pointer;
  transition: border-color .2s, background-color .2s, transform .2s;
}
.amounts button:hover { border-color: var(--green-600); transform: translateY(-2px); }
.amounts button[aria-pressed="true"] { border-color: var(--green-700); background: var(--green-100); }
.custom-amount { position: relative; margin-bottom: 1rem; }
.custom-amount span { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--gray-600); }
.custom-amount input { padding-left: 2rem !important; }
.donate-impact { background: var(--gold-100); border-radius: var(--radius-sm); padding: .9rem 1rem; font-size: .95rem; color: #5a4210; margin-bottom: 1.25rem; min-height: 3.2em; }
.donate-box .btn { width: 100%; }
.secure-note svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: .3rem; }
.secure-note { text-align: center; font-size: .85rem; color: var(--gray-600); margin: .9rem 0 0; }

.share-grid { display: flex; flex-wrap: wrap; gap: .75rem; }
.social-btn {
  display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.15rem; border-radius: 999px;
  border: 2px solid var(--gray-100); background: var(--white); color: var(--green-800);
  font: 600 .95rem var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s, background-color .2s, color .2s;
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { transform: translateY(-2px); border-color: var(--green-700); background: var(--green-700); color: var(--white); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-md); padding: clamp(1.5rem, 4vw, 2.75rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; color: var(--green-900); }
.field label .opt { font-weight: 400; color: var(--gray-600); }
input, select, textarea {
  width: 100%; font: 1rem var(--font-body); color: var(--ink);
  padding: .85rem 1rem; border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm);
  background: var(--white); transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(42,100,80,.15); }
.form-status { grid-column: 1 / -1; margin: 0; padding: .9rem 1rem; border-radius: var(--radius-sm); font-weight: 500; display: none; }
.form-status.is-success { display: block; background: var(--green-100); color: var(--green-800); }
.form-status.is-error { display: block; background: #fdecea; color: #8a1f17; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .icon-badge { width: 48px; height: 48px; border-radius: 14px; margin: 0; flex: none; }
.contact-list .icon-badge svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--green-900); }
.contact-list a, .contact-list span { color: var(--gray-600); text-decoration: none; }
.contact-list a:hover { color: var(--green-700); text-decoration: underline; }
.social-row { display: flex; gap: .6rem; }
.social-icon {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-800); transition: background-color .2s, color .2s, transform .2s;
}
.social-icon svg { width: 20px; height: 20px; }
.social-icon:hover { background: var(--green-700); color: var(--gold-400); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #b9cec2; padding-top: clamp(3.5rem, 7vw, 5rem); font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer .logo { --logo-main: #ffffff; --logo-tag: var(--gold-400); }
.site-footer .logo:hover .logo-name { color: var(--white); }
.site-footer h4 { font-family: var(--font-body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #b9cec2; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .btn--gold, .site-footer .btn--gold:hover { color: var(--green-900); }
.footer-about p { margin: 1rem 0 1.5rem; max-width: 320px; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--gold-400); }
.site-footer .social-icon { background: rgba(255,255,255,.08); color: #d6e5dc; }
.site-footer .social-icon:hover { background: var(--gold-500); color: var(--green-900); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem; font-size: .88rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav a { padding: .5rem .6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .main-nav {
    position: fixed; inset: var(--nav-top, 76px) 0 0 0; background: var(--white);
    padding: 1.5rem 1.25rem 2rem; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
  }
  .menu-open .main-nav { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: .25rem; }
  .main-nav a { font-size: 1.25rem; padding: .9rem 1rem; border-radius: var(--radius-sm); border-bottom: 1px solid var(--gray-100); }
  .mobile-only, .main-nav .mobile-only { display: block; }
  .main-nav a.btn.mobile-only { display: flex; }
  .main-nav .btn { margin-top: 1.5rem; width: 100%; font-size: 1.1rem; padding: 1rem; }
  .main-nav .mobile-contact { margin-top: 1.5rem; display: grid; gap: .5rem; color: var(--gray-600); font-size: .95rem; }
  .main-nav .mobile-contact a { font-size: .95rem; padding: 0; border: 0; display: inline; color: var(--green-700); }
  body.menu-open { overflow: hidden; }

  .split, .grid-2 { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .split .photo, .need .photo, .program .photo { min-height: 320px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .opps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar .container { justify-content: center; gap: 1.25rem; }
  .topbar { display: none; }
  .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr !important; }
  .partners { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 3px; height: auto; background: linear-gradient(180deg, var(--gold-500), var(--green-600)); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-block: 5rem 4.5rem; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .card { padding: 1.6rem; }
  .logo-name { font-size: 1.35rem; }
  .logo-mark { width: 38px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
