:root {
  --green: #2f6b31;        /* leaf green, 6.4:1 on cream */
  --green-dark: #1f4a22;
  --green-soft: #e6efdc;
  --orange: #c2410c;       /* tomato/carrot, 5.2:1 with white text */
  --orange-dark: #9a3412;
  --cream: #fbf6ec;
  --cream-deep: #f3ead8;
  --ink: #2b2b2b;
  --ink-soft: #4f4f4f;
  --white: #fff;
  --radius: 20px;
  --shadow: 0 6px 24px rgba(43, 43, 43, .08);
  --head: "Nunito", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 1.125rem/1.65 var(--body);
}
h1, h2, h3 { font-family: var(--head); line-height: 1.15; color: var(--green-dark); margin: 0 0 .6em; }
h1 { font-size: clamp(2.4rem, 7vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 800; }
p { margin: 0 0 1em; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--green); color: #fff; padding: 12px 18px; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-lg { width: 40px; height: 40px; }
.icon-xl { width: 56px; height: 56px; }

/* Buttons: min 48px tall for tap targets */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1.05rem var(--head); text-decoration: none; cursor: pointer;
  transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-dark); color: #fff; }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-sm { min-height: 44px; padding: 8px 20px; }
.btn-lg { font-size: 1.25rem; padding: 16px 40px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 236, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--cream-deep); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 900 1.4rem var(--head); color: var(--green-dark); text-decoration: none; }
.brand-icon { color: var(--orange); width: 30px; height: 30px; }
.nav-toggle { width: 48px; height: 48px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 3px; background: var(--green-dark); border-radius: 2px; position: relative; content: ""; transition: transform .2s; }
.bars::before { position: absolute; top: -8px; }
.bars::after { position: absolute; top: 8px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-8px) rotate(-45deg); }
.nav-links { display: none; list-style: none; margin: 0; padding: 8px 16px 20px; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--cream-deep); box-shadow: var(--shadow); }
.nav-links.open { display: block; }
.nav-links a:not(.btn) { display: block; padding: 12px 4px; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav-links .btn { margin-top: 8px; width: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; align-items: center; gap: 6px; position: static; padding: 0; background: none; border: 0; box-shadow: none; }
  .nav-links a:not(.btn) { padding: 10px 12px; border-radius: 10px; }
  .nav-links a:not(.btn):hover { background: var(--green-soft); color: var(--green-dark); }
  .nav-links .btn { margin: 0 0 0 8px; width: auto; }
}

/* Sections */
.section { padding: 72px 0; }
.section-tint { background: var(--cream-deep); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.eyebrow { font: 800 .9rem var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: .5em; }
.eyebrow-light { color: #ffd9b8; }
.lead { font-size: 1.25rem; color: var(--ink-soft); max-width: 34ch; }
.note { font-size: .95rem; color: var(--ink-soft); }
.small { font-size: .95rem; color: var(--ink-soft); }
.center { text-align: center; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .section { padding: 104px 0; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
}


/* Photos: object-fit crops each image to its slot; per-image focal point set inline via object-position */
.photo { display: block; width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); background: var(--cream-deep); box-shadow: var(--shadow); }
.photo-hero { height: 340px; border-radius: 32px 32px 32px 120px; }
.photo-portrait { height: 380px; border-radius: 32px 120px 32px 32px; }
.photo-whole { height: auto; } /* illustrations: show the whole image, no crop */
@media (min-width: 900px) { .photo-tall { height: 420px; } .photo-portrait { height: 520px; } }

/* Hero */
.hero { padding: 48px 0 72px; position: relative; overflow: hidden; }
.hero::before { /* soft organic blob accent */
  content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -160px;
  background: var(--green-soft); border-radius: 46% 54% 60% 40% / 50% 40% 60% 50%; z-index: -1;
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 80px 0 104px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
  .photo-hero { height: 460px; }
}

/* Cards */
.card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.card-green { background: var(--green); color: #fff; }
.card-green h3 { color: #fff; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: #fff; font-size: .8rem; display: grid; place-items: center; font-weight: 700; }

/* Steps flow */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: s; }
.step { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.step-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50% 50% 50% 14px; background: var(--green-soft); color: var(--green); margin-bottom: 14px; }
.step-num { display: block; font: 800 .85rem var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--orange-dark); }
.step h3 { margin: 4px 0 8px; }
.step p { margin: 0; color: var(--ink-soft); }
.step:not(:last-child)::after { /* arrow between steps */
  content: "↓"; position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%);
  font: 900 1.4rem var(--head); color: var(--orange); z-index: 1;
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .step:not(:last-child)::after { content: "→"; left: auto; right: -27px; bottom: auto; top: 50%; transform: translateY(-50%); }
}

/* Stats */
.stats { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.stat { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 6px solid var(--orange); }
.stat-num { font: 900 clamp(2.4rem, 6vw, 3.2rem)/1 var(--head); color: var(--green); margin-bottom: 12px; }
.stat-label { margin: 0; color: var(--ink-soft); }
.impact-extra { display: grid; gap: 20px; margin: 32px 0 20px; }
.mini { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--green-soft); }
.mini .icon { color: var(--green); margin-top: 2px; }
.mini p { margin: 0; }
@media (min-width: 900px) { .impact-extra { grid-template-columns: repeat(3, 1fr); } }

/* Get food */
.step .when, .project .when { display: inline-block; margin: 4px 0 12px; padding: 4px 14px; border-radius: 999px; background: var(--green); color: #fff; font: 800 .95rem var(--head); }
.step address { margin: 0; color: var(--ink-soft); }
.step .btn { margin-top: 16px; }
.callout { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; padding: 20px 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.callout .icon { color: var(--green); }
.callout p { margin: 0; font-size: 1.1rem; flex: 1 1 280px; }
.callout-first { margin: 0 0 32px; border-left: 6px solid var(--orange); }
.group-label { font: 800 .9rem var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); margin: 0 0 14px; }

/* About: mission */
.mission { margin-top: 56px; display: grid; gap: 24px 64px; align-items: center; padding: 40px 32px; }
.mission h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; }
.mission p { margin: 0 0 20px; font-size: 1.1rem; }
.not-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.not-list li { padding: 6px 16px; border: 2px solid rgba(255,255,255,.55); border-radius: 999px; font: 800 1rem var(--head); }
.mission .join { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0; font: 800 1.3rem var(--head); }
@media (min-width: 900px) { .mission { grid-template-columns: 1fr 1fr; padding: 56px; } }

/* Volunteer */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.project { transition: transform .2s, box-shadow .2s; }
.project:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(43,43,43,.12); }
.project .icon { color: var(--orange); margin-bottom: 12px; }
.project { display: flex; flex-direction: column; align-items: flex-start; }
.project h3 { margin-bottom: 8px; }
.project p { margin: 0; color: var(--ink-soft); }
.project .more { margin-top: auto; padding-top: 16px; font-weight: 700; }
.head-split { margin-bottom: 40px; }
.head-split .btn { margin-top: 8px; }
.photo-mt { margin-top: 24px; }


/* Partners */
.partners { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.partner { background: var(--white); border-radius: var(--radius); padding: 28px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; font-weight: 600; box-shadow: var(--shadow); }
.partner .icon { color: var(--green); }

/* Policies page */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
.prose h2 { font-size: 1.6rem; margin-top: 48px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .6em; }
.prose .toc { list-style: none; padding: 0; margin: 0 0 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.prose .toc li { margin: 0; }
.toc a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); font-weight: 600; text-decoration: none; }
.toc a:hover { background: var(--green-soft); }
.prose h3 { font-size: 1.1rem; margin: 1.2em 0 .4em; }
.legal { padding-left: 1.4em; margin-bottom: 48px; }
.legal li { margin-bottom: 1em; }
.legal ol { margin-top: .8em; }
.legal ol li { margin-bottom: .4em; }
.grades { display: grid; gap: 10px; margin: 0 0 40px; }
.grades div { display: flex; align-items: center; gap: 14px; }
.grades dt { min-width: 52px; padding: 4px 0; border-radius: 999px; background: var(--green); color: #fff; font: 800 .95rem var(--head); text-align: center; }
.grades dd { margin: 0; }

/* Donate */
.donate-box { text-align: center; max-width: 760px; margin: 0 auto; padding: 56px 28px; border-radius: 32px; background: var(--green-soft); }
.donate-box .icon { color: var(--orange); margin-bottom: 12px; }
.donate-box > p:not(.small) { font-size: 1.2rem; }
.donate-box .btn { margin: 12px 0 20px; }

/* Order form closed page */
.closed { position: relative; overflow: hidden; }
.closed::before { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; top: -180px; background: var(--green-soft); border-radius: 46% 54% 60% 40% / 50% 40% 60% 50%; z-index: -1; }
.closed-box { max-width: 720px; text-align: center; }
.closed-box .lead { margin-inline: auto; }
.closed-icon { color: var(--orange); margin-bottom: 8px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 32px 0 12px; }
.countdown[hidden], html:not(.js) .countdown { display: none; }
.cd-nojs { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin: 32px 0 12px; font-weight: 600; }
.countdown div { background: var(--white); border-radius: var(--radius); padding: 18px 8px; box-shadow: var(--shadow); border-top: 6px solid var(--orange); }
.cd-num { display: block; font: 900 clamp(2rem, 7vw, 3.2rem)/1 var(--head); color: var(--green); font-variant-numeric: tabular-nums; }
.cd-label { font: 800 .8rem var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.closed-actions { justify-content: center; margin: 28px 0 24px; }

/* Footer */
.site-footer { background: var(--green-dark); color: #eef3e8; padding: 64px 0 24px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #ffd9b8; }
.brand-light { color: #fff; margin-bottom: 12px; }
.footer-grid { display: grid; gap: 40px; }
.footer-h { font-size: 1.15rem; color: #fff; margin-bottom: .8em; }
address { font-style: normal; margin-bottom: 1em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); margin-top: 40px; padding-top: 20px; font-size: .95rem; }
.footer-bottom p { margin: 0; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.2fr 1fr; } }

/* Scroll reveal (only when JS is running and motion is OK) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .project { transition: none; }
}
