/* tokens.css */
/* Design tokens. Source: design/tokens.json (light theme) + CLAUDE.md extras
   + values found in design/Main.dc.html. This is the ONLY file allowed to hold
   raw colour values; components and pages reference these custom properties. */

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/assets/fonts/atkinson-hyperlegible-next-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Young Serif";
  src: url("/assets/fonts/young-serif-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Indie Flower";
  src: url("/assets/fonts/indie-flower-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color: tokens.json, light theme. The design is light-only, so dark values aren't shipped. */
  --linen: #f7f1e6;
  --linen-raised: #fffaf1;
  --parchment: #efe4d0;
  --ink: #2a211b;
  --ink-muted: #5f5247;
  --hairline: #d9ccb6;
  --border: #8a7a68;
  --anne-green: #4f7a62;
  --on-anne-green: #fffaf1;
  --green-ink: #3e6650;
  --green-tint: #dce6df;
  --halo-gold: #f0cb5a;
  --on-halo-gold: #2a211b;
  --gold-tint: #f8ecc4;
  --focus: #3e6650;

  /* Extras: CLAUDE.md + Main.dc.html */
  --deep-green: #1f3a2b;           /* receipt numbers, clipboard checkboxes */
  --clipboard-green: #2c4a39;
  --strip-green-solid: #24402f;    /* mobile hero program strip */
  --paper: #ffffff;                /* clipboard / receipt paper only */
  --frosted-green: rgba(30, 56, 43, 0.55);
  --frosted-green-note: rgba(24, 44, 33, 0.68);  /* design .6 → .68 (D6, pending approval) */
  --frosted-blur: blur(16px) saturate(1.1);
  --frost-edge: rgba(255, 250, 241, 0.3);
  --frost-edge-strong: rgba(255, 250, 241, 0.35);
  --pillar-rule: rgba(255, 250, 241, 0.4);
  --pillar-hover: rgba(255, 250, 241, 0.1);
  --overlay-hero: rgba(28, 38, 32, 0.64);
  --overlay-card: rgba(28, 38, 32, 0.66);   /* design .60/.62 → .66 (D6, pending approval) */
  --overlay-impact: rgba(28, 38, 32, 0.74);
  --paper-shade: rgba(95, 82, 71, 0.14);
  --paper-shade-edge: rgba(95, 82, 71, 0.2);
  --overlay-hero-strong: rgba(28, 38, 32, 0.68);   /* inner-page heroes (FP, RS, Volunteer) */
  --note-dark: rgba(24, 44, 33, 0.85);             /* drop-off / delivery notes on green-tint */
  --panel-dark: rgba(24, 44, 33, 0.45);            /* Holiday Meals panel on anne-green */
  --icon-tile-on-green: rgba(255, 250, 241, 0.15); /* icon tile inside green cards */
  --green-hairline: #b9cfc2;                       /* list rules on green-tint panels */

  /* Type */
  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;
  --font-hand: "Indie Flower", "Segoe Print", cursive;
  --fs-display-xl: 60px;  --lh-display-xl: 62px;
  --fs-display-lg: 40px;  --lh-display-lg: 46px;
  --fs-heading: 28px;     --lh-heading: 34px;
  --fs-subhead: 20px;     --lh-subhead: 28px;
  --fs-body: 18px;        --lh-body: 28px;
  --fs-body-sm: 15px;     --lh-body-sm: 23px;
  --fs-label: 13px;       --lh-label: 16px;
  --ls-label: 0.08em;
  --ls-stamp: 0.16em;
  --fs-h2-mobile: 32px;   --lh-h2-mobile: 38px;

  /* Space */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --gutter: clamp(16px, 4vw, 32px);
  --container: 1200px;
  --section-pad: 80px;
  --section-pad-lg: 88px;
  --section-pad-mobile: 56px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --radius-stamp: 3px;
  --radius-clipboard: 14px;

  /* Motion */
  --ease-out: ease-out;
  --ease-in-out: ease-in-out;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Focus */
  --focus-ring: 3px solid var(--focus);
  --focus-offset: 2px;
}

/* base.css */
/* Base: reset, typography, focus, layout primitives, utilities. */

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-width: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
picture { display: contents; }
picture > source { display: none; }

h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; }
h2 { font-size: var(--fs-display-lg); line-height: var(--lh-display-lg); }
h3 { font-size: var(--fs-heading); line-height: var(--lh-heading); }

a { color: var(--green-ink); }
a:hover { color: var(--ink); }

button, input, textarea, select { font: inherit; color: inherit; }

/* Focus: 3px solid, offset 2px, on every interactive element */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* Layout primitives */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { background: var(--linen); }
.section--linen { background: var(--linen); }
.section--parchment { background: var(--parchment); }
.section--green-tint { background: var(--green-tint); }
.section--raised { background: var(--linen-raised); }

.section__inner {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.section--lg .section__inner {
  padding-top: var(--section-pad-lg);
  padding-bottom: var(--section-pad-lg);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-width: 720px;
}
.section-head__lead {
  font-size: var(--fs-subhead);
  line-height: var(--lh-subhead);
  font-weight: 700;
}

/* Icons (Lucide, 2px outline) */
.icon {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--18 { width: 18px; height: 18px; }
.icon--20 { width: 20px; height: 20px; }
.icon--22 { width: 22px; height: 22px; }

/* Utilities */
.visually-hidden {
  position: absolute !important;
  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: var(--space-4);
  top: -100px;
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--linen-raised);
  color: var(--ink);
  font-weight: 700;
  border: 2px solid var(--green-ink);
  border-radius: var(--radius-md);
}
.skip-link:focus { top: var(--space-4); }

@media (max-width: 760px) {
  .section__inner,
  .section--lg .section__inner {
    padding-top: var(--section-pad-mobile);
    padding-bottom: var(--section-pad-mobile);
  }
  h2 { font-size: var(--fs-h2-mobile); line-height: var(--lh-h2-mobile); }
}

/* Photo focal points (object-position), taken from the design */
.fp-50-45 { object-position: 50% 45%; }
.fp-50-50 { object-position: 50% 50%; }
.fp-50-55 { object-position: 50% 55%; }
.fp-50-60 { object-position: 50% 60%; }
.fp-50-65 { object-position: 50% 65%; }
.fp-55-40 { object-position: 55% 40%; }
.fp-55-45 { object-position: 55% 45%; }
.fp-60-30 { object-position: 60% 30%; }
.fp-60-50 { object-position: 60% 50%; }
.fp-40-50 { object-position: 40% 50%; }

.lead-bold { font-size: var(--fs-subhead); line-height: var(--lh-subhead); font-weight: 700; }
.muted { color: var(--ink-muted); }
.small { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); }

/* components/stamp.css */
/* Parish stamp eyebrow. Light (green-ink) and dark (cream) variants. */
.stamp {
  display: inline-block;
  align-self: flex-start;
  margin: 2px;
  padding: 6px 12px 5px;
  border: 4px double var(--green-ink);
  border-radius: var(--radius-stamp);
  color: var(--green-ink);
  font-size: var(--fs-label);
  line-height: var(--lh-label);
  font-weight: 700;
  letter-spacing: var(--ls-stamp);
  text-transform: uppercase;
  transform: rotate(-1.5deg);
}
.stamp--dark {
  border-color: var(--linen-raised);
  color: var(--linen-raised);
}

/* components/button.css */
/* Buttons: min-height 48px, radius 10px. Outline variants add a 2px border (as in the design). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: var(--space-3) 22px;
  border: 0;
  border-radius: var(--radius-md);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.btn--gold { background: var(--halo-gold); color: var(--on-halo-gold); }
.btn--green { background: var(--anne-green); color: var(--on-anne-green); }
.btn--outline-cream { border: 2px solid var(--linen-raised); color: var(--linen-raised); }
.btn--outline-green { border: 2px solid var(--anne-green); color: var(--green-ink); }

/* Hover (not specified in the design): keep text colour, shift the fill slightly */
.btn--gold:hover { color: var(--on-halo-gold); background: color-mix(in srgb, var(--halo-gold) 88%, var(--ink)); }
.btn--green:hover { color: var(--on-anne-green); background: var(--green-ink); }
.btn--outline-cream:hover { color: var(--linen-raised); background: var(--pillar-hover); }
.btn--outline-green:hover { color: var(--green-ink); background: var(--green-tint); }

.btn[disabled] { cursor: progress; opacity: 0.7; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.text-link { font-weight: 700; color: var(--green-ink); padding: 10px 0; }

/* components/header.css */
/* Site header: two-line wordmark, nav, Donate. Under 760px: stamp-styled hamburger that opens a
   full-screen menu (links, Donate / Request Support, contact info, faded decor). */
.site-header {
  background: var(--linen);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4) var(--space-8);
}

.wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink);
  text-decoration: none;
}
.wordmark:hover { color: var(--ink); }
.wordmark__line {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 28px;
}

/* Desktop nav */
.site-nav,
.site-nav__links,
.site-nav__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-6);
}
.site-nav__link {
  padding: 10px 0;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.site-nav__link > .icon { display: none; }
/* Current page (not in the design): gold underline, same treatment as the hero strip titles */
.site-nav__link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--halo-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.site-nav__decor,
.site-nav__support,
.site-nav__contact,
.site-nav__stamp { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 4px double var(--green-ink);
  border-radius: var(--radius-stamp);
  background: var(--linen);
  color: var(--green-ink);
  cursor: pointer;
  transform: rotate(-2deg);
  transition: transform 0.3s var(--ease-expo);
}
.nav-toggle[aria-expanded="true"] { transform: rotate(2deg); }

/* Contact list, small (menu) */
.contact-list--sm { gap: var(--space-3); font-size: 16px; line-height: 24px; }
.contact-list--sm a { font-weight: 700; }

@media (max-width: 760px) {
  /* Without JS the links stay visible in the header. */
  .js .nav-toggle { display: inline-flex; }

  .js .site-nav {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: var(--space-8);
    padding: calc(var(--nav-top, 81px) + var(--space-4)) var(--gutter) calc(var(--space-8) + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--linen);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s var(--ease-out), visibility 0s linear 0.25s;
  }
  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.35s var(--ease-out), visibility 0s;
  }

  /* Keep the wordmark + close button on top of the overlay, pinned while the menu is open */
  .nav-open .site-header__inner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 51;
  }
  .nav-open .site-header__inner > .wordmark,
  .nav-open .nav-toggle { position: relative; z-index: 52; }
  .nav-open body { overflow: hidden; }

  .js .site-nav__links {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--hairline);
  }
  .js .site-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
  }
  .js .site-nav__link > .icon { display: block; color: var(--green-ink); }

  .js .site-nav__actions {
    flex-wrap: wrap;
    gap: var(--space-3);
  }
  .js .site-nav__actions > .btn { flex: 1 1 auto; white-space: nowrap; }
  .js .site-nav__support { display: inline-flex; }

  .js .site-nav__contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding-top: var(--space-6);
    border-top: 4px double var(--green-ink);
  }
  .site-nav__eyebrow {
    font-size: var(--fs-label);
    line-height: var(--lh-label);
    font-weight: 700;
    letter-spacing: var(--ls-stamp);
    text-transform: uppercase;
    color: var(--green-ink);
  }
  .site-nav__contact .contact-list li { align-items: flex-start; }
  .site-nav__contact .contact-list .icon { margin-top: 2px; }

  /* Faded background decor */
  .js .site-nav__decor {
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    color: var(--green-ink);
  }
  .icon--decor-a,
  .icon--decor-b,
  .icon--decor-c {
    position: absolute;
    stroke-width: 1.25;
    opacity: 0.07;
  }
  .icon--decor-a { width: 260px; height: 260px; right: -70px; bottom: 90px; transform: rotate(-12deg); }
  .icon--decor-b { width: 150px; height: 150px; left: -36px; bottom: 300px; transform: rotate(8deg); opacity: 0.05; }
  .icon--decor-c { width: 120px; height: 120px; right: 18px; top: calc(var(--nav-top, 81px) + 170px); transform: rotate(14deg); opacity: 0.05; }
  .js .site-nav__stamp {
    display: block;
    align-self: center;
    margin-top: auto;
    padding: 6px 12px 5px;
    border: 4px double var(--green-ink);
    border-radius: var(--radius-stamp);
    color: var(--green-ink);
    font-size: var(--fs-label);
    line-height: var(--lh-label);
    font-weight: 700;
    letter-spacing: var(--ls-stamp);
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: rotate(-3deg);
    transition: opacity 0.2s;
  }
  .js .site-nav.is-open .site-nav__stamp { opacity: 0.16; transition: opacity 0.8s var(--ease-out) 0.45s; }
  .site-nav { isolation: isolate; }

  /* Open animation: overlay fades, items rise in with a stagger */
  .js .site-nav__links > a,
  .js .site-nav__actions,
  .js .site-nav__contact {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  }
  .js .site-nav__decor { opacity: 0; transform: scale(1.04); transition: opacity 0.2s, transform 0.2s; }
  .js .site-nav.is-open .site-nav__links > a,
  .js .site-nav.is-open .site-nav__actions,
  .js .site-nav.is-open .site-nav__contact {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s var(--ease-expo), transform 0.6s var(--ease-expo);
  }
  .js .site-nav.is-open .site-nav__decor { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out) 0.1s, transform 1.2s var(--ease-expo) 0.1s; }
  .js .site-nav.is-open .site-nav__links > a:nth-child(1) { transition-delay: 0.06s; }
  .js .site-nav.is-open .site-nav__links > a:nth-child(2) { transition-delay: 0.11s; }
  .js .site-nav.is-open .site-nav__links > a:nth-child(3) { transition-delay: 0.16s; }
  .js .site-nav.is-open .site-nav__links > a:nth-child(4) { transition-delay: 0.21s; }
  .js .site-nav.is-open .site-nav__links > a:nth-child(5) { transition-delay: 0.26s; }
  .js .site-nav.is-open .site-nav__actions { transition-delay: 0.32s; }
  .js .site-nav.is-open .site-nav__contact { transition-delay: 0.38s; }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .js .site-nav,
  .js .site-nav.is-open,
  .js .site-nav__links > a,
  .js .site-nav__actions,
  .js .site-nav__contact,
  .js .site-nav__decor,
  .nav-toggle { transition: none !important; transform: none !important; }
  .js .site-nav__stamp { transition: none !important; }
  .js .site-nav__links > a,
  .js .site-nav__actions,
  .js .site-nav__contact,
  .js .site-nav__decor { opacity: 1; }
}

/* components/footer.css */
/* Site footer: linen-raised, two-line wordmark, one link per line, clickable phone and email. */
.site-footer {
  background: var(--linen-raised);
  border-top: 1px solid var(--hairline);
}
.site-footer__inner {
  padding-top: 56px;
  padding-bottom: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 64px;
}
.site-footer__brand {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.wordmark--footer {
  font-family: var(--font-display);
  font-size: var(--fs-heading);
  line-height: var(--lh-heading);
}
.site-footer__contact {
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--ink-muted);
}
.site-footer__contact a { color: var(--green-ink); font-weight: 700; }

.footer-nav {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-nav__title {
  font-size: var(--fs-label);
  line-height: var(--lh-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--ink-muted);
}
.footer-nav a {
  padding: var(--space-1) 0;
  color: var(--ink);
  white-space: nowrap;
}

.site-footer__bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--ink-muted);
}

/* components/form.css */
/* Forms: raised panel, 48px inputs, 4px input radius, status message (D5). */
.form {
  background: var(--linen-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.field > label { font-weight: 700; }
.field__help {
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--ink-muted);
}
.input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--linen-raised);
  color: var(--ink);
  font: inherit;
}
textarea.input { resize: vertical; }
.form__submit {
  align-self: flex-start;
  padding-left: 26px;
  padding-right: 26px;
}

/* Honeypot: visually hidden and out of the tab order */
.form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Status (D5: the design has no error/success states) */
.form-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 700;
}
.form-status:empty { display: none; }
.form-status .icon { margin-top: 2px; }
.form-status--ok { background: var(--green-tint); color: var(--green-ink); }
.form-status--err { background: var(--gold-tint); color: var(--ink); }

/* Two-column form (Volunteer sign-up) */
.form--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 20px var(--space-6);
}
.form--grid > .field--full,
.form--grid > fieldset,
.form--grid > .form__submit,
.form--grid > .form-status { grid-column: 1 / -1; }
.form--grid > .form__submit { justify-self: start; }
.field__optional { font-weight: 400; color: var(--ink-muted); }

.choices {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.choices > legend { font-weight: 700; padding: 0; margin-bottom: 10px; }
.choices__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 10px;
}
.choice {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 48px;
  padding: var(--space-2) 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--linen-raised);
  cursor: pointer;
}
.choice input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--anne-green);
}
.choice:has(input:checked) { background: var(--green-tint); border-color: var(--green-ink); }

@media (max-width: 760px) {
  .form { padding: var(--space-6) 20px; }
}

/* components/contact.css */
/* Contact block ("Original" layout): info list + form, on parchment. */
.contact__inner {
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-12);
}
.contact__info {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.contact__form {
  flex: 1 1 420px;
  min-width: 0;
}
.contact-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.contact-list .icon { color: var(--green-ink); }
.contact-list a { color: var(--green-ink); font-weight: 700; }
.contact-list a { overflow-wrap: anywhere; }

/* components/photo-hero.css */
/* Photo / video hero with a dark overlay. Inner pages use .photo-hero; the homepage adds
   .photo-hero--video with the frosted program strip (.hero-strip). */
.photo-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--linen-raised);
}
.photo-hero__media {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.photo-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--overlay-card);
}
.photo-hero--strong .photo-hero__overlay { background: var(--overlay-hero-strong); }
.photo-hero--video .photo-hero__overlay { background: var(--overlay-hero); }

.photo-hero__inner {
  padding-top: 140px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.photo-hero--compact .photo-hero__inner { padding-top: 128px; padding-bottom: 112px; }
.photo-hero__title {
  font-size: clamp(40px, 5.6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  max-width: 820px;
}
.photo-hero__lead {
  font-size: 20px;
  line-height: 30px;
  max-width: 640px;
}
.photo-hero__inner > .btn-row { padding-top: 6px; }

/* Homepage video hero */
.photo-hero--video {
  min-height: 900px;
  display: flex;
  flex-direction: column;
}
.photo-hero--video .photo-hero__inner {
  flex: 1 1 auto;
  justify-content: center;
  padding-top: 160px;
  padding-bottom: 160px;
  gap: 24px;
}
.home-hero__title {
  font-size: clamp(22px, calc((100vw - 48px) / 16), 60px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.home-hero__title > span { display: block; white-space: nowrap; }
.photo-hero--video .photo-hero__lead { max-width: 560px; }
.photo-hero--video .photo-hero__inner > .btn-row { padding-top: 8px; }

/* Pause / play for the background video (WCAG 2.2.2). Not in the design. */
.video-toggle {
  position: absolute;
  top: var(--space-4);
  right: var(--gutter);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--frost-edge-strong);
  border-radius: var(--radius-pill);
  background: var(--frosted-green);
  color: var(--linen-raised);
  cursor: pointer;
}
.video-toggle:hover { background: var(--clipboard-green); }
.no-js .video-toggle { display: none; }

/* Program strip: frosted dark green, "Linked title" CTA (gold underline + chevron) */
.hero-strip {
  position: relative;
  background: var(--frosted-green);
  -webkit-backdrop-filter: var(--frosted-blur);
  backdrop-filter: var(--frosted-blur);
  border-top: 1px solid var(--frost-edge);
}
.hero-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  list-style: none;
  margin: 0 auto;
}
.hero-strip__grid > li { display: flex; }
.pillar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px;
  color: var(--linen-raised);
  text-decoration: none;
  transition: background-color 0.2s;
}
.hero-strip__grid > li + li .pillar { border-left: 1px solid var(--pillar-rule); }
.pillar:hover { color: var(--linen-raised); background-color: var(--pillar-hover); }
.pillar__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
}
.pillar__label .icon { color: var(--halo-gold); }
.pillar__title {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 28px;
  text-decoration: underline;
  text-decoration-color: var(--halo-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.pillar__go {
  color: var(--halo-gold);
  stroke-width: 2.5;
  transition: transform 0.2s;
}
.pillar:hover .pillar__go { transform: translateX(4px); }
.pillar__text { font-size: 18px; line-height: 26px; }

@media (max-width: 760px) {
  .photo-hero__inner,
  .photo-hero--compact .photo-hero__inner,
  .photo-hero--video .photo-hero__inner {
    padding-top: 72px;
    padding-bottom: 56px;
    gap: 32px;
  }
  .photo-hero--video { min-height: 0; }
  .photo-hero--video .photo-hero__inner { padding-top: 88px; }
  .hero-strip {
    background: var(--strip-green-solid);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-top: none;
  }
  .hero-strip__grid > li + li .pillar {
    border-left: none;
    border-top: 1px solid var(--frost-edge);
  }
}

/* components/cards.css */
/* Cards, panels and lists shared across pages. Radius 10px, no shadows. */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--space-6);
}
.card-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 20px;
}
.card-grid--options {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 20px;
}

/* Two-column split that wraps. Children take .split__a / .split__b basis. */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  align-items: flex-start;
}
.split--center { align-items: center; }
.split--stretch { align-items: stretch; }
.split > * { flex: 1 1 400px; min-width: 0; }
.split__narrow { flex-basis: 340px; }
.split__wide { flex-basis: 520px; }
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.stack > .btn,
.stack > .btn-row { align-self: flex-start; }
.stack--lg { gap: 20px; }

/* Program card (homepage "Three Ways") */
.program-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--linen-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}
.program-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.program-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-6);
}
.program-card__body > .text-link { margin-top: auto; }

/* Photo card: photo + overlay, content pinned to the bottom */
.photo-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 460px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: var(--linen-raised);
}
.photo-card--sm { min-height: 320px; padding: var(--space-6); }
.photo-card--xs { min-height: 300px; padding: var(--space-6); }
.photo-card__img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--overlay-card);
}
.photo-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}
.photo-card__body h3 { font-size: 32px; line-height: 38px; }
.photo-card--sm .photo-card__body h3,
.photo-card--xs .photo-card__body h3 { font-size: var(--fs-heading); line-height: var(--lh-heading); }
.photo-card__body a:not(.btn) { color: inherit; font-weight: 700; }
.photo-card__body > .btn-row { padding-top: var(--space-2); }

/* Fact cards (inner-page hero overlap) */
.facts { position: relative; }
.facts__inner {
  margin-top: -56px;
  padding-bottom: 56px;
}
.facts--tight .facts__inner { padding-bottom: var(--space-6); }
.fact-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}
.fact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: var(--space-6);
  background: var(--linen-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.icon-tile {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--green-tint);
  color: var(--green-ink);
}
.icon-tile--lg { width: 52px; height: 52px; }
.fact-card__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fact-card__title { font-family: var(--font-display); font-size: 22px; line-height: 28px; }
.fact-card__sub { font-size: var(--fs-body-sm); line-height: 22px; color: var(--ink-muted); }

/* Feature card: icon tile + heading + text + button. --green is the highlighted first card. */
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: 28px;
  background: var(--linen-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.feature-card > .btn { margin-top: auto; }
.feature-card--green {
  background: var(--anne-green);
  border-color: var(--anne-green);
  color: var(--on-anne-green);
}
.feature-card--green .icon-tile { background: var(--icon-tile-on-green); color: var(--halo-gold); }
.feature-card__num { font-family: var(--font-display); font-size: 16px; line-height: 20px; color: var(--green-ink); }
.feature-card h3.feature-card__title--sm { font-size: 26px; line-height: 32px; }

/* Option card (Request Support: Apply by Email / Pick Up in Person) */
.option-card > .icon { color: var(--green-ink); }
.option-card__help { font-size: var(--fs-body-sm); line-height: 22px; color: var(--ink-muted); }
.option-card a:not(.btn) { font-weight: 700; overflow-wrap: anywhere; }

/* Plain raised panel */
.panel {
  background: var(--linen-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.panel--lg { padding: clamp(24px, 4vw, 40px); }
.panel--md { padding: 28px; }
.panel--list { padding: clamp(20px, 3vw, 32px); }
.panel__title { font-family: var(--font-display); font-size: 22px; line-height: 28px; }

/* Callout on linen (green-tint) */
.callout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  background: var(--green-tint);
}
.callout__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: var(--fs-subhead);
  line-height: var(--lh-subhead);
}
.callout__title .icon { color: var(--green-ink); }
.callout a { font-weight: 700; overflow-wrap: anywhere; }

/* Note: icon + bold title + text. Dark (solid) or frosted (over a photo). */
.note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px var(--space-6);
  border-radius: var(--radius-md);
  background: var(--note-dark);
  color: var(--linen-raised);
}
.note > .icon { margin-top: 3px; color: var(--halo-gold); }
.note__text { display: flex; flex-direction: column; }
.note__title { font-weight: 700; font-size: var(--fs-subhead); line-height: var(--lh-subhead); }
.note__body { font-size: 16px; line-height: 24px; }
.note a { color: inherit; font-weight: 700; }
.note--frosted {
  gap: var(--space-3);
  padding: var(--space-4) 20px;
  background: var(--frosted-green-note);
  -webkit-backdrop-filter: var(--frosted-blur);
  backdrop-filter: var(--frosted-blur);
  border: 1px solid var(--frost-edge);
}
.note--frosted > .icon { color: currentColor; }

/* Frosted card (impact stats) */
.frosted-card {
  background: var(--frosted-green);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--frost-edge-strong);
  border-radius: var(--radius-md);
  color: var(--linen-raised);
}

/* Photo block inside a split (pantry, garden location) */
.photo-block {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border-radius: var(--radius-md);
}
.photo-block__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.photo-block > .note {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
}

/* Lists */
.check-list {
  list-style: none;
  padding: 0;
  columns: 2 220px;
  column-gap: var(--space-8);
  border-top: 2px solid var(--green-ink);
}
.check-list li {
  break-inside: avoid;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--hairline);
}
.check-list .icon,
.place-list .icon { color: var(--green-ink); }

.place-list {
  list-style: none;
  padding: 0;
}
.place-list li {
  break-inside: avoid;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.place-list .icon { margin-top: 2px; }
.place-list__text { display: flex; flex-direction: column; }
.place-list__name { font-weight: 700; }
.place-list__town { font-size: var(--fs-body-sm); line-height: 22px; color: var(--ink-muted); }
.place-list--cols { columns: 2 220px; column-gap: var(--space-8); }
.place-list--cols li { padding: var(--space-3) 0; border-bottom-color: var(--green-hairline); }

.list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 3px double var(--green-ink);
}
.list-head__title { font-family: var(--font-display); font-size: 26px; line-height: 32px; }
.list-head__count { font-size: var(--fs-body-sm); color: var(--ink-muted); }

/* Numbered steps (How to Become a Guest) */
.steps { list-style: none; padding: 0; }
.steps li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}
.steps__num {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--anne-green);
  color: var(--on-anne-green);
  font-family: var(--font-display);
  font-size: 20px;
}
.steps__text { display: flex; flex-direction: column; gap: var(--space-1); }
.steps__title { font-family: var(--font-display); font-size: 24px; line-height: 30px; }

/* Hours table (Food Pantry) */
.hours {
  padding: var(--space-2) 28px;
  border-radius: var(--radius-md);
  background: var(--linen-raised);
  color: var(--ink);
}
.hours__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) var(--space-6);
  padding: 20px 0;
}
.hours__row + .hours__row { border-top: 2px dashed var(--hairline); }
.hours__day {
  flex: 0 0 160px;
  font-family: var(--font-display);
  font-size: var(--fs-heading);
  line-height: var(--lh-heading);
  color: var(--green-ink);
}
.hours__time {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
}

/* Dark panel on anne-green (Holiday Meals) */
.panel-dark {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: 28px;
  border: 1px solid var(--frost-edge-strong);
  border-radius: var(--radius-md);
  background: var(--panel-dark);
}
.panel-dark > .icon { color: var(--halo-gold); }
.panel-dark__foot {
  padding-top: var(--space-3);
  border-top: 1px solid var(--frost-edge-strong);
  font-weight: 700;
}

/* "Prefer to Give Money?" block */
.give-money {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.give-money__title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: var(--fs-subhead);
  line-height: var(--lh-subhead);
}
.give-money__title .icon { color: var(--green-ink); }

/* Photo strip (Heaven's Kitchen in action) */
.photo-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-4);
}
.photo-strip img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* 9:16 video embed (YouTube Short, privacy-enhanced) */
.video-embed {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--ink);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed__wrap { flex: 0 1 340px; min-width: 0; }

@media (max-width: 760px) {
  .photo-hero:has(+ .facts) .photo-hero__inner { padding-bottom: 88px; }
  .facts__inner { margin-top: -40px; padding-bottom: 40px; }
  .split { gap: var(--space-8); }
  .photo-card { min-height: 380px; padding: var(--space-6); }
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .fact-card { flex-direction: column; gap: 10px; padding: 18px 14px; }
  .fact-card__title { font-size: 19px; line-height: 24px; }
  .photo-block { min-height: 400px; }
  .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .photo-strip img { height: 200px; }
  .photo-strip > picture:first-child img { grid-column: 1 / -1; }
  .hours { padding: var(--space-1) 20px; }
  .hours__day { flex-basis: 100%; }
  .steps li { gap: 14px; }
}

/* components/ticket.css */
/* Ticket cards (Heaven's Kitchen stops): green-tint top band, dashed tear line, Directions link.
   Two columns on mobile, an odd last card spans both. */
.ticket-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}
.ticket {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--linen-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.ticket__top {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-4) 20px 14px;
  background: var(--green-tint);
}
.ticket__stop {
  font-size: var(--fs-label);
  line-height: var(--lh-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-ink);
}
.ticket__time {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 32px;
}
.ticket__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) 20px 18px;
  border-top: 2px dashed var(--border);
}
.ticket__place { font-weight: 700; font-size: var(--fs-body); line-height: 26px; }
.ticket__detail { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--ink-muted); }
.ticket__directions {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 700;
  color: var(--green-ink);
}

/* Menu + delivery cards that sit with the tickets */
.stops-extras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--space-6);
}

@media (max-width: 760px) {
  .ticket-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ticket-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ticket__top { padding: var(--space-3) var(--space-3) 10px; }
  .ticket__body { padding: var(--space-3) var(--space-3) 14px; }
  .ticket__time { font-size: 18px; line-height: 24px; }
  .ticket__place { font-size: 16px; line-height: 22px; overflow-wrap: anywhere; }
  .ticket__directions { font-size: var(--fs-body-sm); }
}

/* components/ration-band.css */
/* Ration band: double-ruled marquee strip. translateX(-50%) loop over 40s (the track holds an even
   number of identical groups), icons wiggle ±9deg. Static under prefers-reduced-motion. */
.ration-band {
  display: flex;
  align-items: center;
  height: 60px;
  overflow: hidden;
  white-space: nowrap;
  background: var(--parchment);
  border-top: 4px double var(--green-ink);
  border-bottom: 4px double var(--green-ink);
}
.ration-band__track {
  flex: none;
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-ink);
  animation: ration-scroll 40s linear infinite;
}
.ration-band__group {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
}
.ration-band__item { display: inline-flex; align-items: center; gap: 10px; }
.ration-band__icon {
  transform-origin: 50% 60%;
  animation: ration-wiggle 1.6s ease-in-out infinite alternate;
}
.ration-band__group:nth-child(even) .ration-band__icon { animation-delay: -0.8s; }

@keyframes ration-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ration-wiggle { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }

@media (prefers-reduced-motion: reduce) {
  .ration-band__track,
  .ration-band__icon { animation: none; }
}

/* components/impact.css */
/* Impact: frosted stat cards over a parallax photo. background-attachment: fixed falls back to
   scroll on touch devices and under reduced motion. Two-by-two on mobile. */
.impact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--linen-raised);
}
.impact__bg,
.impact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}
.impact__bg {
  background-image: url("/assets/img/volunteers-1920.jpg");
  background-image: image-set(url("/assets/img/volunteers-1920.webp") type("image/webp"), url("/assets/img/volunteers-1920.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center 35%;
  background-attachment: fixed;
}
.impact::after { z-index: -1; background: var(--overlay-impact); }
.impact .section__inner { gap: 40px; }
.impact .section-head { gap: var(--space-3); }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.impact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px var(--space-6);
}
.impact-card__num {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.6vw, 48px);
  line-height: 1.1;
  color: var(--halo-gold);
}
.impact-card__label { font-weight: 700; font-size: var(--fs-body); line-height: 26px; }

@media (hover: none), (prefers-reduced-motion: reduce) {
  .impact__bg { background-attachment: scroll; }
}
@media (max-width: 760px) {
  .impact__bg {
    background-image: url("/assets/img/volunteers-1280.jpg");
    background-image: image-set(url("/assets/img/volunteers-1280.webp") type("image/webp"), url("/assets/img/volunteers-1280.jpg") type("image/jpeg"));
  }
  .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .impact-card { padding: 18px 14px; min-width: 0; }
  .impact-card__num { font-size: 30px; line-height: 36px; }
  .impact-card__label { font-size: var(--fs-body-sm); line-height: 21px; }
}

/* components/grocery.css */
/* Grocery list: .clipboard (desktop) and .receipt (mobile), both on textured paper.
   Paper texture = ::before at opacity .4, multiply, on white, with an irregular clip-path edge. */
.grocery {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.grocery--desktop { padding-top: var(--space-4); }
.grocery--mobile { display: none; align-items: center; }
.grocery__note {
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--ink-muted);
}

.paper {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 24px var(--paper-shade), inset 0 0 3px var(--paper-shade-edge);
}
.paper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/assets/img/paper-640.jpg") center / 640px auto;
  opacity: 0.4;
  mix-blend-mode: multiply;
  pointer-events: none;
  border-radius: inherit;
}
.paper > * { position: relative; z-index: 1; }
.paper--torn {
  clip-path: polygon(0.00% 1.1px, 3.85% 0.5px, 7.69% 2.3px, 11.54% 0.3px, 15.38% 1.9px, 19.23% 1.3px, 23.08% 0.2px, 26.92% 1.8px, 30.77% 0.1px, 34.62% 1.5px, 38.46% 0.2px, 42.31% 0.3px, 46.15% 1.5px, 50.00% 2.9px, 53.85% 0.4px, 57.69% 0.8px, 61.54% 2.2px, 65.38% 3.3px, 69.23% 2.0px, 73.08% 1.4px, 76.92% 3.4px, 80.77% 0.2px, 84.62% 3.0px, 88.46% 1.0px, 92.31% 0.5px, 96.15% 0.4px, 100.00% 1.1px, calc(100% - 2.9px) 3.85%, calc(100% - 0.6px) 7.69%, calc(100% - 2.0px) 11.54%, calc(100% - 2.2px) 15.38%, calc(100% - 1.3px) 19.23%, calc(100% - 1.9px) 23.08%, calc(100% - 0.2px) 26.92%, calc(100% - 0.2px) 30.77%, calc(100% - 0.7px) 34.62%, calc(100% - 2.4px) 38.46%, calc(100% - 1.5px) 42.31%, calc(100% - 1.1px) 46.15%, calc(100% - 2.0px) 50.00%, calc(100% - 1.6px) 53.85%, calc(100% - 1.0px) 57.69%, calc(100% - 2.8px) 61.54%, calc(100% - 2.4px) 65.38%, calc(100% - 0.9px) 69.23%, calc(100% - 2.0px) 73.08%, calc(100% - 1.8px) 76.92%, calc(100% - 3.1px) 80.77%, calc(100% - 2.6px) 84.62%, calc(100% - 1.0px) 88.46%, calc(100% - 3.4px) 92.31%, calc(100% - 0.4px) 96.15%, 100.00% calc(100% - 1.5px), 96.15% calc(100% - 2.6px), 92.31% calc(100% - 0.5px), 88.46% calc(100% - 1.7px), 84.62% calc(100% - 0.1px), 80.77% calc(100% - 2.3px), 76.92% calc(100% - 2.7px), 73.08% calc(100% - 2.0px), 69.23% calc(100% - 3.1px), 65.38% calc(100% - 1.1px), 61.54% calc(100% - 2.4px), 57.69% calc(100% - 2.1px), 53.85% calc(100% - 2.0px), 50.00% calc(100% - 1.6px), 46.15% calc(100% - 2.9px), 42.31% calc(100% - 3.3px), 38.46% calc(100% - 1.7px), 34.62% calc(100% - 2.3px), 30.77% calc(100% - 0.2px), 26.92% calc(100% - 2.5px), 23.08% calc(100% - 2.3px), 19.23% calc(100% - 3.5px), 15.38% calc(100% - 2.9px), 11.54% calc(100% - 1.0px), 7.69% calc(100% - 1.4px), 3.85% calc(100% - 2.3px), 0.00% calc(100% - 0.1px), 1.6px 96.15%, 0.6px 92.31%, 0.4px 88.46%, 0.2px 84.62%, 2.7px 80.77%, 0.5px 76.92%, 0.9px 73.08%, 1.4px 69.23%, 3.0px 65.38%, 0.3px 61.54%, 1.6px 57.69%, 1.9px 53.85%, 3.1px 50.00%, 2.9px 46.15%, 3.0px 42.31%, 1.0px 38.46%, 1.5px 34.62%, 1.3px 30.77%, 3.1px 26.92%, 3.4px 23.08%, 0.5px 19.23%, 0.6px 15.38%, 0.8px 11.54%, 0.8px 7.69%, 1.7px 3.85%);
}

/* Clipboard */
.clipboard {
  position: relative;
  padding: 36px 18px 18px;
  border-radius: var(--radius-clipboard);
  background: var(--clipboard-green);
}
.clipboard__clip {
  position: absolute;
  top: -14px;
  left: 50%;
  z-index: 2;
  width: 140px;
  height: 40px;
  margin-left: -70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--border);
}
.clipboard__clip-slot {
  width: 56px;
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--parchment);
}
.clipboard__sheet {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: 28px;
  border-radius: var(--radius-sm);
}
.clipboard__title { font-size: 26px; line-height: 32px; }
.clipboard__list {
  list-style: none;
  padding: 0;
  columns: 2 170px;
  column-gap: 28px;
}
.clipboard__item {
  break-inside: avoid;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 6px 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-hand);
  font-size: 23px;
  line-height: 30px;
  -webkit-text-stroke: 0.7px var(--ink);
  paint-order: stroke fill;
}
.clipboard__box {
  flex: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--deep-green);
  border-radius: 3px;
}

/* Receipt */
.receipt {
  width: 100%;
  max-width: 420px;
  padding: 28px 28px 44px;
  transform: rotate(1deg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 95.83% calc(100% - 12px), 91.67% 100%, 87.5% calc(100% - 12px), 83.33% 100%, 79.17% calc(100% - 12px), 75% 100%, 70.83% calc(100% - 12px), 66.67% 100%, 62.5% calc(100% - 12px), 58.33% 100%, 54.17% calc(100% - 12px), 50% 100%, 45.83% calc(100% - 12px), 41.67% 100%, 37.5% calc(100% - 12px), 33.33% 100%, 29.17% calc(100% - 12px), 25% 100%, 20.83% calc(100% - 12px), 16.67% 100%, 12.5% calc(100% - 12px), 8.33% 100%, 4.17% calc(100% - 12px), 0 100%);
}
.receipt__head,
.receipt__foot {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  text-align: center;
}
.receipt__head { padding-bottom: var(--space-4); border-bottom: 2px dashed var(--border); }
.receipt__foot { padding-top: var(--space-4); }
.receipt__name {
  font-size: var(--fs-body-sm);
  line-height: 20px;
  font-weight: 700;
  letter-spacing: var(--ls-stamp);
  text-transform: uppercase;
}
.receipt__meta { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.receipt__thanks { font-family: var(--font-display); font-size: 22px; line-height: 28px; }
.receipt__list {
  list-style: none;
  padding: var(--space-3) 0;
  border-bottom: 2px dashed var(--border);
}
.receipt__item {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding: var(--space-1) 0;
  font-size: 16px;
  line-height: 24px;
}
.receipt__num { flex: none; width: 26px; font-weight: 700; color: var(--deep-green); }
.receipt__leader {
  flex: 1;
  border-bottom: 2px dotted var(--hairline);
  transform: translateY(-4px);
}
.receipt__box {
  flex: none;
  width: 14px;
  height: 14px;
  border: 2px solid var(--border);
  border-radius: 2px;
}

@media (max-width: 760px) {
  .grocery--desktop { display: none; }
  .grocery--mobile { display: flex; }
}

/* components/bands.css */
/* Full-width bands: green CTA band, Facebook / volunteer strip, stay-in-touch. */

.section--green {
  background: var(--anne-green);
  color: var(--on-anne-green);
}
.section--green a:not(.btn) { color: inherit; }
.section--bordered { border-bottom: 1px solid var(--hairline); }
.section--top-rule { border-top: 1px solid var(--hairline); }

/* Green CTA band: text left, buttons right */
.band__inner {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}
.band__text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.band__lead { font-size: 20px; line-height: 30px; }
.band__inner > .btn-row { flex: 0 1 auto; }

/* Compact strip (56px padding) with a serif line and buttons */
.strip__inner {
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.strip__text { display: flex; flex-direction: column; gap: 6px; }
.strip__title { font-family: var(--font-display); font-size: 32px; line-height: 38px; }
.strip__icon-text { display: flex; align-items: flex-start; gap: var(--space-4); flex: 1 1 520px; }
.strip__icon-text > .icon { margin-top: 4px; color: var(--halo-gold); }
.strip__title--sm { font-size: var(--fs-heading); line-height: var(--lh-heading); }

/* Stay in touch (homepage) */
.stay__inner {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8) var(--space-12);
}
.stay__text {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.stay__text h2 { font-size: var(--fs-h2-mobile); line-height: var(--lh-h2-mobile); }
.stay__text > .btn { margin-top: 6px; }
.stay__form {
  flex: 1 1 420px;
  min-width: 0;
  padding: var(--space-6);
  gap: var(--space-3);
}
.stay__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
}
.stay__label .icon { color: var(--green-ink); }
.stay__fields { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.stay__fields > .field { flex: 1 1 180px; min-width: 0; }

@media (max-width: 760px) {
  .strip__inner { padding-top: 40px; padding-bottom: 40px; }
  .strip__title { font-size: 26px; line-height: 32px; }
  .stay__inner { padding-top: 40px; padding-bottom: 40px; }
}

/* components/motion.css */
/* Homepage hero load animation. Timings are the data-props defaults in design/Main.dc.html.
   Elements wait (paused, in their "from" state) until html.is-loaded is set on window load by the
   inline head script (2.5s fallback). Only runs with JS, on the homepage, without reduced motion. */

@keyframes rv-fade  { from { opacity: 0; } }
@keyframes rv-up    { from { opacity: 0; transform: translateY(var(--rv-d)); } }
@keyframes rv-down  { from { opacity: 0; transform: translateY(calc(var(--rv-d) * -1)); } }
@keyframes rv-scale { from { opacity: 0; transform: scale(0.9); } }
@keyframes rv-blur  { from { opacity: 0; filter: blur(12px); transform: translateY(var(--rv-d)); } }
@keyframes rv-clip  { from { clip-path: inset(0 0 100% 0); transform: translateY(var(--rv-d)); } }

@media (prefers-reduced-motion: no-preference) {
  .js .home .reveal {
    animation-name: var(--rv-name);
    animation-duration: var(--rv-dur);
    animation-timing-function: var(--rv-ease);
    animation-delay: var(--rv-delay);
    animation-fill-mode: both;
    animation-play-state: paused;
    will-change: opacity, transform;
  }
  .js.is-loaded .home .reveal { animation-play-state: running; }

  /* Nav · Logo: Fade up, Expo out, 700ms, delay 100, stagger 80, 12px */
  .reveal--logo { --rv-name: rv-up; --rv-dur: 700ms; --rv-ease: var(--ease-expo); --rv-delay: 100ms; --rv-d: 12px; }
  .reveal--logo + .reveal--logo { --rv-delay: 180ms; }

  /* Nav · Links: Fade down, Expo out, 600ms, delay 200, stagger 60, 10px */
  .reveal--nav { --rv-name: rv-down; --rv-dur: 600ms; --rv-ease: var(--ease-expo); --rv-delay: 200ms; --rv-d: 10px; }
  .reveal--nav:nth-child(2) { --rv-delay: 260ms; }
  .reveal--nav:nth-child(3) { --rv-delay: 320ms; }
  .reveal--nav:nth-child(4) { --rv-delay: 380ms; }
  .reveal--nav:nth-child(5) { --rv-delay: 440ms; }

  /* Nav · Donate button: Scale up, Back out, 600ms, delay 550 */
  .reveal--nav-btn { --rv-name: rv-scale; --rv-dur: 600ms; --rv-ease: var(--ease-back); --rv-delay: 550ms; --rv-d: 0px; }

  /* Hero · Background video: Fade, Ease out, 1400ms, delay 0 */
  .reveal--video { --rv-name: rv-fade; --rv-dur: 1400ms; --rv-ease: var(--ease-out); --rv-delay: 0ms; }

  /* Hero · Eyebrow tag: Fade up, Expo out, 700ms, delay 300, 16px */
  .reveal--tag { --rv-name: rv-up; --rv-dur: 700ms; --rv-ease: var(--ease-expo); --rv-delay: 300ms; --rv-d: 16px; }

  /* Hero · Headline: Clip reveal, Expo out, 900ms, delay 400, stagger 120, 24px */
  .reveal--headline { --rv-name: rv-clip; --rv-dur: 900ms; --rv-ease: var(--ease-expo); --rv-delay: 400ms; --rv-d: 24px; }
  .reveal--headline + .reveal--headline { --rv-delay: 520ms; }

  /* Hero · Paragraph: Blur in, Quart out, 800ms, delay 650, 12px */
  .reveal--paragraph { --rv-name: rv-blur; --rv-dur: 800ms; --rv-ease: var(--ease-quart); --rv-delay: 650ms; --rv-d: 12px; }

  /* Hero · Buttons: Fade up, Back out, 700ms, delay 800, stagger 90, 16px */
  .reveal--button { --rv-name: rv-up; --rv-dur: 700ms; --rv-ease: var(--ease-back); --rv-delay: 800ms; --rv-d: 16px; }
  .reveal--button + .reveal--button { --rv-delay: 890ms; }

  /* Hero · Program strip: Fade up, Expo out, 800ms, delay 950, stagger 110, 32px */
  .reveal--pillar { --rv-name: rv-up; --rv-dur: 800ms; --rv-ease: var(--ease-expo); --rv-delay: 950ms; --rv-d: 32px; }
  li:nth-child(2) > .reveal--pillar { --rv-delay: 1060ms; }
  li:nth-child(3) > .reveal--pillar { --rv-delay: 1170ms; }
}

/* The mobile menu is display:none until opened; don't replay the nav reveal every time it opens. */
@media (max-width: 760px) {
  .js .home .site-nav .reveal { animation: none; }
}
