/* ==========================================================================
   Green Commons Collective — Nonprofit / community template
   --------------------------------------------------------------------------
   REBRANDING: edit the custom properties below.
   --green-*   main brand color (headings, buttons, dark bands)
   --sun-*     cheerful accent (donate buttons, highlights, badges)
   --cream-*   warm page backgrounds
   --font-round  also update the Google Fonts <link> in each page's <head>.
   Text/background pairs are chosen for 4.5:1 contrast — check yours too.
   ========================================================================== */
:root {
  --green-950: #0f3320;
  --green-900: #154a2e;
  --green-800: #1e5b3a;
  --green-600: #2f7d4f;
  --green-200: #c9e4cf;
  --green-100: #e3f1e5;
  --sun-400: #f6c445;
  --sun-300: #f9d36f;
  --sun-100: #fdf0c8;
  --peach-300: #f4a989;
  --cream-50: #fffbf2;
  --cream-100: #fbf3e1;
  --cream-200: #f3e6c8;
  --ink: #1d2a21;
  --ink-soft: #4a5a4e;
  --line: #e8dcc0;
  --font-round: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 40px -22px rgba(15, 51, 32, .45);
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-round); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--cream-50); overflow-wrap: break-word; }
svg { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .55em; color: var(--green-900); font-weight: 900; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }
a { color: var(--green-800); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--green-600); }
:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--sun-400); color: var(--green-950); padding: .7rem 1rem; border-radius: 12px; text-decoration: none; }
.skip-link:focus { top: 1rem; color: var(--green-950); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font: inherit; font-weight: 800; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-green { background: var(--green-800); color: #fff; box-shadow: 0 8px 0 -2px var(--green-950); }
.btn-green:hover { background: var(--green-600); color: #fff; }
.btn-sun { background: var(--sun-400); color: var(--green-950); box-shadow: 0 8px 0 -2px #c99a1c; }
.btn-sun:hover { background: var(--sun-300); color: var(--green-950); }
.btn-outline { border-color: var(--green-800); color: var(--green-800); background: transparent; }
.btn-outline:hover { background: var(--green-800); color: #fff; }
.btn-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-light:hover { background: #fff; color: var(--green-900); }
.btn-sm { padding: .55rem 1.1rem; font-size: .95rem; box-shadow: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 251, 242, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 2px solid var(--cream-200); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--green-900); font-weight: 900; line-height: 1.05; font-size: 1.15rem; }
.brand:hover { color: var(--green-900); }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); }
.nav-toggle { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .95rem; border-radius: 999px; border: 2px solid var(--green-800); background: transparent; color: var(--green-900); font: inherit; font-weight: 800; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream-50); border-bottom: 2px solid var(--cream-200); box-shadow: 0 20px 30px -24px rgba(15, 51, 32, .5); }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: .5rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .25rem; }
.site-nav a:not(.btn) { display: block; padding: .75rem 1rem; border-radius: 14px; text-decoration: none; color: var(--green-900); }
.site-nav a:not(.btn):hover { background: var(--green-100); }
.site-nav a[aria-current="page"]:not(.btn) { background: var(--green-100); color: var(--green-800); }
.site-nav .btn { margin-top: .75rem; }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; box-shadow: none; }
  .site-nav ul { flex-direction: row; align-items: center; padding: 0; gap: .25rem; }
  .site-nav a:not(.btn) { padding: .5rem .95rem; border-radius: 999px; }
  .site-nav .btn { margin: 0 0 0 .6rem; }
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; position: relative; }
@media (min-width: 900px) { .section { padding: 6rem 0; } }
.bg-cream { background: var(--cream-100); }
.bg-green { background: var(--green-900); color: #e5f1e7; }
.bg-green h2, .bg-green h3 { color: #fff; }
.bg-sun { background: var(--sun-400); color: var(--green-950); }
.bg-sun h2 { color: var(--green-950); }
.section-head { max-width: 660px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.bg-green .section-head p { color: #cfe3d3; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .85rem; border-radius: 999px; background: var(--green-100); color: var(--green-800); font-weight: 800; font-size: .85rem; margin-bottom: 1rem; }
.kicker svg { width: 16px; height: 16px; }
.bg-green .kicker { background: rgba(255, 255, 255, .12); color: var(--sun-300); }
.wave { display: block; width: 100%; height: 48px; }
.wave-top { margin-bottom: -1px; }
.wave-bottom { margin-top: -1px; }
.example-note { font-size: .85rem; color: var(--ink-soft); }
.bg-green .example-note { color: #cfe3d3; }
.squiggle { position: relative; white-space: nowrap; }
.squiggle svg { position: absolute; left: 0; bottom: -.22em; width: 100%; height: .35em; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 3.5rem 0 1rem; background: radial-gradient(circle at 85% 20%, var(--sun-100), transparent 40%), var(--cream-50); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 980px) { .hero { padding: 5rem 0 2rem; } .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3rem; } }
.hero .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 1.5rem; }
.hero-note { display: flex; align-items: center; gap: .6rem; font-size: .95rem; color: var(--ink-soft); }
.hero-note .faces { display: flex; }
.hero-note .faces span { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--cream-50); margin-left: -8px; background: var(--green-600); }
.hero-note .faces span:first-child { margin-left: 0; background: var(--sun-400); }
.hero-note .faces span:nth-child(3) { background: var(--peach-300); }
.hero-art { position: relative; }
.hero-art svg { display: block; width: 100%; height: auto; }
.hero-art .ph-tag { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); }

/* Photo placeholders */
.ph { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 260px; display: flex; align-items: flex-end; justify-content: flex-start; padding: 1rem;
  background: radial-gradient(circle at 80% 18%, rgba(246, 196, 69, .55) 0 12%, transparent 13%), linear-gradient(160deg, var(--green-600), var(--green-900)); }
.ph::before { content: ""; position: absolute; inset: 0; opacity: .25; background-image: radial-gradient(rgba(255, 255, 255, .7) 1.2px, transparent 1.6px); background-size: 18px 18px; }
.ph svg.ph-leaves { position: absolute; right: -10px; bottom: -10px; width: 70%; height: auto; opacity: .35; }
.ph-tag { position: relative; display: inline-flex; align-items: center; gap: .45rem; background: var(--cream-50); color: var(--green-900); font-weight: 800; font-size: .85rem; padding: .4rem .85rem; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap; }
.ph-tag svg { width: 16px; height: 16px; color: var(--green-600); flex: none; }

/* ---------- Impact numbers ---------- */
.impact { position: relative; z-index: 2; margin-top: 2.5rem; }
.impact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; background: #fff; border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); border: 2px solid var(--cream-200); }
@media (min-width: 820px) { .impact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 2rem 2.25rem; } }
.impact-item { text-align: center; padding: .5rem; }
.impact-item .num { display: block; font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900; color: var(--green-800); line-height: 1.05; font-variant-numeric: tabular-nums; }
.impact-item .lbl { display: block; font-size: .92rem; color: var(--ink-soft); font-weight: 700; margin-top: .35rem; }
.impact-item svg { width: 34px; height: 34px; margin-bottom: .35rem; }
.impact .example-note { text-align: center; margin-top: .9rem; }

/* ---------- Programs ---------- */
.programs { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.program { background: #fff; border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; border: 2px solid var(--cream-200); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.program:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--shadow); border-color: var(--green-200); }
.program-icon { width: 64px; height: 64px; border-radius: 22px 22px 22px 6px; display: grid; place-items: center; margin-bottom: 1.1rem; background: var(--green-100); }
.program-icon svg { width: 36px; height: 36px; }
.program:nth-child(2) .program-icon { background: var(--sun-100); }
.program:nth-child(3) .program-icon { background: #fde3d7; }
.program:nth-child(4) .program-icon { background: #e6efe0; }
.program p { color: var(--ink-soft); flex: 1; font-size: 1rem; }
.program .meta { font-size: .85rem; font-weight: 800; color: var(--green-600); }

/* ---------- Events ---------- */
.events-split { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .events-split { grid-template-columns: .8fr 1.3fr; gap: 4rem; align-items: start; } .events-split .section-head { text-align: left; margin: 0; } }
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.event { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.25rem; align-items: center; background: #fff; border-radius: var(--radius); padding: 1.1rem 1.25rem; border: 2px solid var(--cream-200); transition: border-color .2s ease, transform .2s ease; }
.event:hover { border-color: var(--green-200); transform: translateX(4px); }
.event[hidden] { display: none; }
.date-badge { width: 68px; text-align: center; border-radius: 16px; overflow: hidden; background: var(--green-100); line-height: 1.1; flex: none; }
.date-badge .m { display: block; background: var(--green-800); color: #fff; font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; padding: .25rem 0; }
.date-badge .d { display: block; font-size: 1.6rem; font-weight: 900; color: var(--green-900); padding: .3rem 0 .4rem; }
.event h3 { margin: 0 0 .2rem; font-size: 1.12rem; }
.event-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .9rem; color: var(--ink-soft); margin: 0; }
.event-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.event-meta svg { width: 15px; height: 15px; color: var(--green-600); flex: none; }
.tag { display: inline-block; font-size: .75rem; font-weight: 800; padding: .15rem .6rem; border-radius: 999px; background: var(--sun-100); color: #6b4e00; margin-bottom: .3rem; }
.tag.t-workshop { background: var(--green-100); color: var(--green-800); }
.tag.t-family { background: #fde3d7; color: #8a3a17; }
.event-desc { grid-column: 1 / -1; margin: 0; font-size: .97rem; color: var(--ink-soft); }
@media (min-width: 640px) { .event-desc { grid-column: 2; } }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.filter-btn { font: inherit; font-weight: 800; font-size: .95rem; padding: .5rem 1.1rem; border-radius: 999px; border: 2px solid var(--green-800); background: #fff; color: var(--green-800); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.filter-btn:hover { background: var(--green-100); }
.filter-btn[aria-pressed="true"] { background: var(--green-800); color: #fff; }
.filter-status { font-weight: 700; color: var(--ink-soft); margin-bottom: 1.5rem; }
.empty-state { text-align: center; background: #fff; border: 2px dashed var(--line); border-radius: var(--radius); padding: 2rem 1rem; color: var(--ink-soft); }
.events-layout { display: grid; gap: 2.5rem; }
@media (min-width: 980px) { .events-layout { grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; } }
.side-card { background: var(--green-900); color: #e5f1e7; border-radius: var(--radius-lg); padding: 1.75rem; }
.side-card h2 { color: #fff; font-size: 1.4rem; }
.side-card p { color: #cfe3d3; }

/* ---------- Story / quote ---------- */
.story { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.story .ph { min-height: 360px; border-radius: 120px 28px 28px 28px; }
.story-quote { margin: 0; }
.story-quote .label { display: inline-block; font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--green-950); background: var(--sun-400); padding: .25rem .75rem; border-radius: 999px; margin-bottom: 1.25rem; }
.story-quote blockquote { margin: 0 0 1.5rem; font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 800; line-height: 1.4; color: var(--green-900); position: relative; padding-top: 2.5rem; }
.story-quote blockquote::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 36px; background: var(--green-200); -webkit-mask: radial-gradient(circle at 25% 55%, #000 9px, transparent 10px), radial-gradient(circle at 75% 55%, #000 9px, transparent 10px); mask: radial-gradient(circle at 25% 55%, #000 9px, transparent 10px), radial-gradient(circle at 75% 55%, #000 9px, transparent 10px); }
.story-quote blockquote p { margin: 0; }
.story-quote figcaption { display: flex; align-items: center; gap: .8rem; color: var(--ink-soft); }
.story-quote figcaption strong { color: var(--ink); display: block; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--sun-400); color: var(--green-950); display: grid; place-items: center; font-weight: 900; flex: none; }

/* ---------- CTA bands ---------- */
.band { border-radius: var(--radius-lg); padding: 2.5rem 1.5rem; display: grid; gap: 1.5rem; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 860px) { .band { grid-template-columns: 1.5fr auto; padding: 3.5rem; gap: 3rem; } }
.band h2 { margin-bottom: .35rem; }
.band p { margin: 0; font-size: 1.1rem; }
.band-actions { display: flex; flex-wrap: wrap; gap: .8rem; position: relative; }
.band > div { position: relative; }
.band-green { background: var(--green-900); color: #e5f1e7; }
.band-green h2 { color: #fff; }
.band-green p { color: #cfe3d3; }
.band-sun { background: var(--sun-400); color: var(--green-950); }
.band-sun h2 { color: var(--green-950); }
.band-deco { position: absolute; right: -40px; bottom: -50px; width: 260px; height: 260px; opacity: .18; pointer-events: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--green-900); color: #e5f1e7; padding: 3.5rem 0 1rem; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero .lead { color: #d4e7d8; font-size: 1.15rem; max-width: 38rem; }
.page-hero .kicker { background: rgba(255, 255, 255, .12); color: var(--sun-300); }
.page-hero-art { position: absolute; right: -40px; top: 10px; width: 340px; opacity: .22; pointer-events: none; }
@media (max-width: 700px) { .page-hero-art { width: 220px; right: -70px; } }
.page-hero + .wave { background: var(--green-900); }

/* ---------- Forms ---------- */
.form-layout { display: grid; gap: 2.5rem; }
@media (min-width: 980px) { .form-layout { grid-template-columns: 1.4fr .8fr; gap: 3rem; align-items: start; } }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 2rem 1.25rem; border: 2px solid var(--cream-200); box-shadow: var(--shadow); }
@media (min-width: 600px) { .form-card { padding: 2.5rem; } }
.form-card h2 { font-size: 1.8rem; }
.field { margin: 0 0 1.35rem; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; gap: 0 1.1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field > label, .field legend { display: block; font-weight: 800; color: var(--green-900); margin-bottom: .45rem; padding: 0; }
.field .opt { font-weight: 600; color: var(--ink-soft); font-size: .9rem; }
.field .hint { display: block; font-size: .9rem; color: var(--ink-soft); margin: -.2rem 0 .6rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--cream-50); border: 2px solid #d9cba9; border-radius: 14px; padding: .75rem .95rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23154a2e' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(47, 125, 79, .22); background: #fff; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.choice-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice input + span { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 14px; border: 2px solid var(--line); background: var(--cream-50); cursor: pointer; font-weight: 700; transition: border-color .15s ease, background-color .15s ease; }
.choice input + span::before { content: ""; width: 20px; height: 20px; border-radius: 7px; border: 2px solid var(--green-600); background: #fff; flex: none; transition: background-color .15s ease; }
.choice input:checked + span { border-color: var(--green-600); background: var(--green-100); }
.choice input:checked + span::before { background: var(--green-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10 3.5 3.5L15 7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.choice input:focus-visible + span { outline: 3px solid var(--green-600); outline-offset: 2px; }
.day-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .4rem; }
.day { position: relative; }
.day input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.day input + span { display: grid; place-items: center; min-height: 48px; border-radius: 14px; border: 2px solid var(--line); background: var(--cream-50); font-weight: 900; font-size: .9rem; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.day input:checked + span { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.day input:focus-visible + span { outline: 3px solid var(--green-600); outline-offset: 2px; }
fieldset[aria-invalid="true"] .choice input + span, fieldset[aria-invalid="true"] .day input + span { border-color: #b3261e; }
.error { display: block; color: #b3261e; font-size: .92rem; font-weight: 800; margin-top: .4rem; }
.error:empty { display: none; }
.success-panel { text-align: center; padding: 1rem 0; }
.success-panel:focus { outline: none; }
.success-panel svg { width: 96px; height: 96px; margin-bottom: 1rem; }
.success-panel p { color: var(--ink-soft); }
.aside-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.aside-list li { display: flex; gap: .85rem; align-items: flex-start; }
.aside-list .dot { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--sun-400); color: var(--green-950); font-weight: 900; flex: none; }
.ways { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-bottom: 3.5rem; }
.way { background: #fff; border: 2px solid var(--cream-200); border-radius: var(--radius-lg); padding: 1.6rem; }
.way svg { width: 44px; height: 44px; margin-bottom: .75rem; }
.way p { color: var(--ink-soft); margin: 0; font-size: 1rem; }

/* ---------- Donate ---------- */
.donate-layout { display: grid; gap: 2.5rem; }
@media (min-width: 980px) { .donate-layout { grid-template-columns: 1.25fr .9fr; gap: 3rem; align-items: start; } }
.freq { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--cream-100); border: 2px solid var(--cream-200); margin-bottom: 1.5rem; }
.freq button { font: inherit; font-weight: 800; padding: .55rem 1.3rem; border-radius: 999px; border: 0; background: transparent; color: var(--ink-soft); cursor: pointer; }
.freq button[aria-pressed="true"] { background: var(--green-800); color: #fff; }
.amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.amount-btn { font: inherit; font-weight: 900; font-size: 1.35rem; padding: 1rem .5rem; border-radius: 18px; border: 2px solid var(--line); background: var(--cream-50); color: var(--green-900); cursor: pointer; transition: transform .15s ease, border-color .15s ease, background-color .15s ease; }
.amount-btn:hover { border-color: var(--green-600); transform: translateY(-2px); }
.amount-btn[aria-pressed="true"] { background: var(--sun-400); border-color: #d9a520; color: var(--green-950); }
.custom-amount { position: relative; }
.custom-amount .cur { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-weight: 900; color: var(--green-900); }
.custom-amount input { padding-left: 2rem !important; }
.summary { display: flex; gap: 1rem; align-items: flex-start; background: var(--green-100); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: 1.5rem 0; font-size: 1.08rem; color: var(--green-950); }
.summary svg { width: 34px; height: 34px; flex: none; }
.summary strong { color: var(--green-800); }
.pay-notice { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1rem; padding: 1rem 1.15rem; border-radius: var(--radius); background: var(--sun-100); border: 2px dashed #d9a520; color: #4d3800; font-weight: 700; }
.pay-notice[hidden] { display: none; }
.pay-notice svg { width: 22px; height: 22px; flex: none; margin-top: .1rem; }
.secure-note { font-size: .9rem; color: var(--ink-soft); margin-top: 1rem; }
.breakdown { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.breakdown li { display: grid; gap: .35rem; }
.breakdown .row { display: flex; justify-content: space-between; gap: 1rem; font-weight: 800; }
.breakdown .bar { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.breakdown .bar i { display: block; height: 100%; border-radius: 999px; background: var(--sun-400); width: var(--w); }
.impact-ladder { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.impact-ladder li { display: flex; gap: .75rem; align-items: baseline; color: #d4e7d8; }
.impact-ladder strong { color: var(--sun-300); min-width: 3.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #c6dccb; padding: 0 0 2rem; font-size: .97rem; }
.site-footer .wave { margin-bottom: 3rem; background: var(--cream-50); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: var(--sun-300); }
.footer-about p { margin-top: 1rem; max-width: 20rem; }
.site-footer h2 { font-size: 1rem; color: var(--sun-300); margin-bottom: .85rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: #e5f1e7; text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--sun-300); text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: .88rem; }
.built-with { font-size: .78rem; opacity: .85; }

/* ---------- Gentle motion ---------- */
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.sway { transform-origin: bottom center; transform-box: fill-box; animation: sway 5s ease-in-out infinite; }
.sway.d2 { animation-delay: -1.7s; } .sway.d3 { animation-delay: -3.1s; }
@keyframes spin { to { transform: rotate(360deg); } }
.sun-rays { transform-origin: center; transform-box: fill-box; animation: spin 40s linear infinite; }

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