/* ==================================================================
   CRUNCH THE HUNGER — "harvest broadsheet"
   A community print-poster brought to life: hand-set type, hard
   offset-print shadows, taped photos, ledger rules, paper grain.
   ================================================================== */

:root {
  --paper:      #F4EAD3;   /* aged newsprint cream */
  --paper-hi:   #FBF5E4;   /* lifted paper panels  */
  --white:      #FFFEFA;
  --ink:        #2B1A0F;   /* espresso ink         */
  --ink-soft:   #5C4330;
  --terra:      #B14E26;   /* burnt terracotta     */
  --terra-deep: #8F3D1C;
  --gold:       #D9A13B;
  --gold-light: #F0CE8B;   /* gold for use ON the terracotta plate (contrast) */
  --bronze:     #8A5A12;   /* gold-family tone dark enough for cream backgrounds */
  --hard:       4px 4px 0 var(--ink);
  --font-disp:  "Fraunces", Georgia, serif;
  --font-body:  "Karla", -apple-system, "Segoe UI", sans-serif;
  --font-hand:  "Caveat", cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--paper);
}

/* paper grain over everything */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 2000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: multiply;
}

::selection { background: var(--gold); color: var(--ink); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1140px; margin-inline: auto; padding-inline: 28px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 16px; top: -64px;
  z-index: 3000; padding: 10px 18px;
  background: var(--ink); color: var(--paper);
  font-weight: 800; text-decoration: none;
  border: 2px solid var(--paper);
  transition: top 150ms ease-out;
}
.skip-link:focus { top: 8px; }

/* ------------------------------------------------------------------
   type
   ------------------------------------------------------------------ */
h1, h2, h3 {
  font-family: var(--font-disp);
  font-variation-settings: "SOFT" 40, "WONK" 1;
  font-weight: 640;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 em, h2 em, h3 em, .footer-title em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--terra);
}
p { margin: 0 0 1em; }
a { color: var(--terra-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }

h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }

/* ------------------------------------------------------------------
   buttons — offset-print blocks
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 800; font-size: 0.98rem;
  letter-spacing: 0.02em;
  padding: 14px 26px; min-height: 48px;
  text-decoration: none;
  border: 2.5px solid var(--ink);
  border-radius: 3px;
  box-shadow: var(--hard);
  cursor: pointer;
  transition: transform 140ms ease-out, box-shadow 140ms ease-out, background-color 140ms ease-out;
}
.btn:hover  { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px);   box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--terra); color: var(--white); }
.btn-primary:hover { background: var(--terra-deep); }
.btn-paper { background: var(--paper-hi); color: var(--ink); }
.btn-paper:hover { background: var(--white); }
.btn-gold { background: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 var(--gold); border-color: var(--ink); }
.btn-gold:hover  { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--gold); background: var(--white); }
.btn-gold:active { transform: translate(2px,2px);   box-shadow: 1px 1px 0 var(--gold); }
.btn-small { padding: 9px 18px; min-height: 44px; font-size: 0.9rem; }
.btn-donate-big {
  background: var(--gold); color: var(--ink);
  border-color: var(--paper);
  box-shadow: 5px 5px 0 var(--paper);
  font-size: 1.12rem;
  padding: 17px 34px; min-height: 58px;
}
.btn-donate-big:hover  { background: #E8AE43; transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--paper); }
.btn-donate-big:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--paper); }

/* ------------------------------------------------------------------
   ticker ribbon
   ------------------------------------------------------------------ */
.ticker {
  background: var(--ink);
  color: var(--gold);
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 38s linear infinite;
}
.ticker-run {
  white-space: nowrap;
  padding: 8px 0;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ------------------------------------------------------------------
   header
   ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 74px;
}
.brand {
  display: inline-flex; align-items: center; gap: 13px;
  text-decoration: none; color: var(--ink);
}
.brand-logo {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--ink);
}
.brand-name {
  font-family: var(--font-disp);
  font-variation-settings: "SOFT" 40, "WONK" 1;
  font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em;
}
.brand-name em { font-style: italic; font-weight: 500; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav > a:not(.btn) {
  text-decoration: none; color: var(--ink);
  font-weight: 800; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  padding: 8px 0;
  border-bottom: 3px solid transparent;
  transition: border-color 140ms ease-out, color 140ms ease-out;
}
.site-nav > a:not(.btn):hover { color: var(--terra-deep); border-bottom-color: var(--gold); }

.menu-toggle {
  display: none;
  background: var(--paper-hi); color: var(--ink);
  border: 2.5px solid var(--ink); border-radius: 3px;
  box-shadow: 3px 3px 0 var(--ink);
  padding: 8px; min-width: 44px; min-height: 44px;
  cursor: pointer;
}

@media (max-width: 940px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 3px solid var(--ink);
    padding: 6px 28px 22px;
  }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.btn) {
    padding: 14px 2px; font-size: 1rem;
    border-bottom: 1px dashed rgba(43, 26, 15, 0.25);
  }
  .site-nav > .btn { margin-top: 16px; justify-content: center; }
}

/* ------------------------------------------------------------------
   hero
   ------------------------------------------------------------------ */
.hero {
  /* no top padding: the eyebrow band butts straight up under the header,
     whose bottom border doubles as the band's top rule */
  padding: 0 0 clamp(44px, 5.5vw, 72px);
  overflow-x: clip;
}
.hero-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--ink);
  padding: 14px 0;
  margin: 0 0 clamp(28px, 4vw, 48px);
  font-size: 0.82rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.22em;
  text-align: center;
}
.dia { color: var(--terra); }

.hero-title {
  font-size: clamp(2.9rem, 7.6vw, 6.2rem);
  text-align: center;
  margin: 0 0 clamp(36px, 5vw, 64px);
}
.hero-title .line { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .hero-title .line {
    opacity: 0;
    transform: translateY(26px);
    animation: rise-in 650ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  }
  .hero-title .line:nth-child(2) { animation-delay: 130ms; }
  .hero-copy, .hero-collage {
    opacity: 0;
    animation: fade-in 700ms ease-out 380ms forwards;
  }
}
@keyframes rise-in { to { opacity: 1; transform: none; } }
@keyframes fade-in { to { opacity: 1; } }

.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.lede {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 50ch;
}
.lede::first-line { font-weight: 700; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.hero-follow {
  display: flex; align-items: center; gap: 9px;
  margin: 20px 0 0;
  font-size: 0.96rem; font-weight: 600;
  color: var(--ink-soft);
}
.hero-follow svg { flex-shrink: 0; }
.hero-follow a { font-weight: 800; }

/* — collage — */
.hero-collage { position: relative; padding: 14px 10px 30px; }

.snap {
  margin: 0;
  background: var(--white);
  padding: 10px 10px 8px;
  border: 1px solid rgba(43, 26, 15, 0.22);
  box-shadow: 0 14px 28px rgba(43, 26, 15, 0.18);
  position: relative;
}
.snap img { border: 1px solid rgba(43, 26, 15, 0.12); }
/* wider crop in the hero so the photo column doesn't tower over the text column */
.hero-collage .snap img { aspect-ratio: 3 / 2; object-fit: cover; }
.snap figcaption {
  font-family: var(--font-hand);
  font-size: 1.32rem; font-weight: 600;
  color: var(--ink-soft);
  text-align: center; padding-top: 7px;
}
/* tape strips */
.snap::before, .snap::after {
  content: "";
  position: absolute;
  width: 86px; height: 26px;
  background: rgba(217, 161, 59, 0.5);
  border-left: 1px dashed rgba(43, 26, 15, 0.18);
  border-right: 1px dashed rgba(43, 26, 15, 0.18);
  top: -12px;
}
.snap::before { left: -26px;  transform: rotate(-38deg); }
.snap::after  { right: -26px; transform: rotate(38deg); }

.snap-photo { transform: rotate(-2.2deg); z-index: 1; }
/* captions in the collage sit left so the overlapping inset can't cover them */
.snap-photo figcaption { text-align: left; padding-left: 4px; }
.snap-inset {
  width: 58%;
  margin: -9% 0 0 auto;
  transform: rotate(2.6deg);
  z-index: 2;
}
.snap-inset::before { display: none; }
.snap-inset::after { right: auto; left: 46%; transform: translateX(-50%) rotate(-4deg); }

.stamp {
  position: absolute;
  width: clamp(96px, 10vw, 128px); height: auto;
  right: -8px; top: -26px;
  z-index: 3;
  color: var(--terra);
  transform: rotate(10deg);
  opacity: 0.92;
}
.stamp-text { font-family: var(--font-body); font-weight: 800; font-size: 11px; letter-spacing: 0.16em; fill: currentColor; }
.stamp-mid  { font-family: var(--font-body); font-weight: 800; font-size: 10px; letter-spacing: 0.06em; fill: currentColor; }

/* handwritten margin note, sitting under the hero copy like a signature */
.annotation {
  display: inline-block;
  margin: 26px 0 0 4px;
  font-family: var(--font-hand);
  font-size: 1.75rem; font-weight: 700; line-height: 1.15;
  color: var(--terra-deep);
  transform: rotate(-4deg);
  transform-origin: left center;
}
.annotation::after {
  content: "";
  display: block;
  height: 10px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 Q 20 1 40 6 T 78 6 T 118 5' fill='none' stroke='%23D99A2B' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

@media (max-width: 940px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-collage { max-width: 460px; margin-inline: auto; }
  .hero-title { text-align: left; }
  .hero-eyebrow { justify-content: flex-start; text-align: left; }
  /* narrow column: stop the inset from overlapping the caption above it */
  .snap-inset { width: 72%; margin: 14px 0 0 auto; }
}

/* ------------------------------------------------------------------
   stat ledger
   ------------------------------------------------------------------ */
.stats-band {
  background: var(--ink);
  color: var(--paper);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: clamp(40px, 4.6vw, 58px) 0 clamp(32px, 3.6vw, 46px);
}
.ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 clamp(30px, 4vw, 48px);
}
.ledger-item {
  display: flex; flex-direction: column;
  text-align: center;
  padding: 6px 18px;
}
.ledger-item + .ledger-item { border-left: 1px dashed rgba(244, 234, 211, 0.35); }
.ledger-item dd { margin: 0 0 10px; }
.count, .ledger-word {
  font-family: var(--font-disp);
  font-variation-settings: "SOFT" 40, "WONK" 1;
  font-weight: 760;
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.ledger-word {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  padding-top: 0.22em;
}
.ledger-item dt {
  font-size: 0.8rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--gold);
  line-height: 1.55;
}
.ledger-note {
  text-align: center;
  margin: 0 auto; max-width: 68ch;
  font-size: 1.05rem;
  color: rgba(244, 234, 211, 0.88);
}
.ledger-note strong { color: var(--gold); font-weight: 800; }

@media (max-width: 880px) {
  .ledger { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .ledger-item:nth-child(3) { border-left: none; }
  .ledger-item { padding: 6px 10px; }
  .ledger-word { font-size: clamp(1.55rem, 5.6vw, 2.4rem); }
}

/* ------------------------------------------------------------------
   shared section furniture
   ------------------------------------------------------------------ */
.section { padding: clamp(42px, 4.2vw, 56px) 0; }
.section + .section { border-top: 3px solid var(--ink); }

.section-head {
  display: flex; align-items: baseline; gap: 20px;
  margin-bottom: clamp(26px, 3.2vw, 40px);
}
.sec-num {
  font-family: var(--font-disp);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: 1.5rem; font-weight: 600;
  color: var(--terra);
  white-space: nowrap;
}
.sec-label {
  font-size: 0.8rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--ink-soft);
  white-space: nowrap;
  flex-grow: 1;
  display: flex; align-items: center; gap: 20px;
}
.sec-label::after {
  content: "";
  flex-grow: 1;
  border-bottom: 2px solid var(--ink);
}

/* ------------------------------------------------------------------
   story
   ------------------------------------------------------------------ */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.story-copy p { max-width: 56ch; }
.has-dropcap::first-letter {
  font-family: var(--font-disp);
  font-variation-settings: "SOFT" 40, "WONK" 1;
  font-weight: 800;
  font-size: 3.6em;
  line-height: 0.78;
  float: left;
  padding: 0.06em 0.14em 0 0;
  color: var(--terra);
}
.snap-story {
  max-width: 100%;
  margin-inline: auto;
  transform: rotate(2deg);
}

.pullquote {
  position: relative;
  margin: clamp(38px, 4.4vw, 58px) auto 0;
  max-width: 760px;
  text-align: center;
  padding-top: 30px;
}
.pullquote::before {
  content: "\201C";
  position: absolute;
  top: -0.18em; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-disp);
  font-weight: 900;
  font-size: 7rem;
  line-height: 1;
  color: var(--gold);
  pointer-events: none;
}
.pullquote p {
  font-family: var(--font-disp);
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.4;
  margin-bottom: 0.55em;
}
.pullquote em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--terra);
}
.pullquote cite {
  font-style: normal;
  font-size: 0.85rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr; }
  .snap-story { max-width: 320px; }
}

/* ------------------------------------------------------------------
   the drive — terracotta plate
   ------------------------------------------------------------------ */
.drive {
  background: var(--terra);
  color: var(--paper-hi);
}
.drive .sec-num { color: var(--gold-light); }
.drive .sec-label { color: rgba(251, 245, 228, 0.85); }
.drive .sec-label::after { border-color: rgba(251, 245, 228, 0.6); }
.drive h2 { color: var(--white); }
.drive h2 em { color: var(--gold-light); }

.drive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.fieldnotes {
  list-style: none;
  margin: 0; padding: 0;
}
.fieldnotes li {
  border-top: 2px dashed rgba(251, 245, 228, 0.4);
  padding: 22px 0 10px;
}
.fieldnotes h3 {
  font-size: 1.45rem;
  color: var(--white);
  margin-bottom: 0.35em;
}
.fn-num {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--gold-light);
  margin-right: 6px;
}
.fieldnotes p {
  color: rgba(251, 245, 228, 0.92);
  max-width: 54ch;
  margin-bottom: 0.6em;
}
.fieldnotes strong { color: var(--white); }

.drive-cta {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 2px dashed rgba(251, 245, 228, 0.4);
}
.seasonal-note {
  margin: 18px 0 0;
  max-width: 52ch;
  font-size: 0.98rem;
  color: rgba(251, 245, 228, 0.9);
}
.seasonal-note a { color: var(--white); }
.seasonal-note a:focus-visible { outline-color: var(--gold); }

.drive-aside { display: grid; gap: 34px; justify-items: end; }
.snap-drive {
  max-width: 340px;
  transform: rotate(-1.8deg);
}
.snap-drive figcaption { color: var(--ink); }

/* — handwritten grocery note — */
.grocery-note {
  margin: 0;
  background:
    linear-gradient(to right, transparent 44px, rgba(177, 78, 38, 0.35) 44px, rgba(177, 78, 38, 0.35) 46px, transparent 46px),
    repeating-linear-gradient(to bottom, var(--white) 0, var(--white) 42px, rgba(43, 26, 15, 0.16) 42px, rgba(43, 26, 15, 0.16) 43px);
  background-color: var(--white);
  color: var(--ink);
  padding: 46px 30px 34px 64px;
  border: 1px solid rgba(43, 26, 15, 0.25);
  box-shadow: 8px 10px 0 rgba(43, 26, 15, 0.35);
  transform: rotate(1.6deg);
  position: relative;
  max-width: 380px;
  justify-self: end;
}
.grocery-note::before {
  content: "";
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 110px; height: 30px;
  background: rgba(217, 161, 59, 0.55);
  border-left: 1px dashed rgba(43, 26, 15, 0.2);
  border-right: 1px dashed rgba(43, 26, 15, 0.2);
}
.grocery-note h3 {
  font-family: var(--font-hand);
  font-variation-settings: normal;
  font-size: 2.1rem; font-weight: 700;
  color: var(--terra-deep);
  margin: 0;
  line-height: 43px;
}
.grocery-note ul { list-style: none; margin: 0; padding: 0; }
.grocery-note li {
  font-family: var(--font-hand);
  font-size: 1.5rem; font-weight: 600;
  line-height: 43px;
  position: relative;
  padding-left: 34px;
}
.grocery-note li::before {
  content: "";
  position: absolute;
  left: 2px; top: 12px;
  width: 15px; height: 15px;
  border: 2.5px solid var(--ink);
  background: var(--white);
}
.grocery-note li::after {
  content: "";
  position: absolute;
  left: 5px; top: 13px;
  width: 12px; height: 7px;
  border-left: 3px solid var(--terra);
  border-bottom: 3px solid var(--terra);
  transform: rotate(-48deg);
}

@media (max-width: 880px) {
  .drive-grid { grid-template-columns: 1fr; }
  .drive-aside { justify-items: center; margin-top: 26px; }
  .grocery-note { transform: rotate(0.8deg); }
  .snap-drive { max-width: 380px; }
}

/* ------------------------------------------------------------------
   partners — typographic directory (no logos needed)
   ------------------------------------------------------------------ */
.partner-grid {
  list-style: none;
  margin: clamp(30px, 4vw, 46px) 0 0; padding: 0;
  display: grid;
  /* fixed column counts (4 / 2 / 1) so the 8 cards always fill the grid
     exactly — no orphan cells at any breakpoint */
  grid-template-columns: repeat(4, 1fr);
  /* rules are drawn per-cell, not by the gap */
  background: var(--paper-hi);
  border: 2.5px solid var(--ink);
  box-shadow: var(--hard);
}
.partner {
  background: var(--paper-hi);
  padding: 26px 24px 24px;
  display: flex; flex-direction: column;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  margin: 0 -1.5px -1.5px 0;   /* tuck the outer cell rules under the frame */
}
.partner-role {
  font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--terra);
  margin-bottom: 12px;
}
.partner h3 {
  font-size: 1.28rem;
  margin-bottom: 0.4em;
}
.partner p {
  margin: 0;
  font-size: 0.95rem; line-height: 1.55;
  color: var(--ink-soft);
}

@media (max-width: 1000px) {
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .partner-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   help — three verbs
   ------------------------------------------------------------------ */
.help-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(30px, 4vw, 48px);
}
.help-col {
  border-top: 4px solid var(--ink);
  padding-top: 22px;
  display: flex; flex-direction: column;
}
.help-verb {
  font-family: var(--font-disp);
  font-variation-settings: "SOFT" 40, "WONK" 1;
  font-weight: 760;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1;
  margin-bottom: 16px;
}
.help-col:nth-child(1) .help-verb { color: var(--terra); }
.help-col:nth-child(2) .help-verb { color: var(--ink); }
.help-col:nth-child(3) .help-verb {
  color: var(--bronze);   /* gold family, but dark enough to pass on cream */
}
.help-col p { color: var(--ink-soft); flex-grow: 1; }
.help-link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  font-weight: 800; font-size: 0.88rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--gold);
  align-self: flex-start;
}
.help-link .arrow { transition: transform 160ms ease-out; }
.help-link:hover { color: var(--terra-deep); }
.help-link:hover .arrow { transform: translateX(5px); }

@media (max-width: 880px) {
  .help-cols { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   sponsors — wall of thanks
   ------------------------------------------------------------------ */
.credits {
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  padding: clamp(30px, 3.6vw, 46px) clamp(24px, 4vw, 56px) clamp(26px, 3vw, 36px);
  text-align: center;
}
.credits h2 { margin-bottom: 0.25em; }
.credits-lede {
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin-bottom: clamp(30px, 4vw, 46px);
}
.logo-wall {
  list-style: none;
  margin: 0 0 clamp(30px, 4vw, 44px); padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 34px 30px;
  align-items: center;
  justify-items: center;
}
.logo-wall li { display: grid; place-items: center; }
.logo-wall img {
  max-height: 60px; width: auto; max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply; /* hides the white boxes around extracted logos */
  transition: transform 160ms ease-out;
}
.logo-wall li:hover img { transform: scale(1.06); }
.partners-line {
  margin: 0;
  padding-top: 24px;
  border-top: 1px dashed rgba(43, 26, 15, 0.3);
  font-size: 0.86rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  line-height: 2.1;
  color: var(--ink-soft);
}
.partners-line .dia { color: var(--gold); }

/* ------------------------------------------------------------------
   press index
   ------------------------------------------------------------------ */
.press-index { margin-top: clamp(26px, 3vw, 40px); }
.press-row {
  display: grid;
  grid-template-columns: 200px 1fr auto auto;
  gap: 10px 28px;
  align-items: center;
  padding: 22px 6px;
  border-top: 2px solid var(--ink);
  text-decoration: none;
  color: var(--ink);
  transition: background-color 140ms ease-out;
}
.press-index .press-row:last-child { border-bottom: 2px solid var(--ink); }
.press-row:hover { background: var(--paper-hi); }
.press-outlet {
  font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--terra-deep);
}
.press-headline {
  font-family: var(--font-disp);
  font-variation-settings: "SOFT" 40, "WONK" 1;
  font-weight: 620;
  font-size: 1.3rem; line-height: 1.3;
}
.press-row:hover .press-headline { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.press-date {
  font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.press-row .arrow {
  font-size: 1.3rem;
  transition: transform 160ms ease-out;
}
.press-row:hover .arrow { transform: translateX(6px); }

.press-quote-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-top: clamp(38px, 4.4vw, 58px);
}
.snap-press {
  max-width: 380px;
  transform: rotate(-2.4deg);
  justify-self: center;
}

.bigquote {
  position: relative;
  margin: 0;
  max-width: 800px;
  text-align: center;
  padding-top: 26px;
}
.bigquote p {
  font-family: var(--font-disp);
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.35;
  margin-bottom: 0.55em;
}
.bigquote em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--terra);
}
.bigquote cite {
  font-style: normal;
  font-size: 0.85rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .press-quote-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .press-row { grid-template-columns: 1fr auto; }
  .press-headline { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------
   footer
   ------------------------------------------------------------------ */
.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border-top: 3px solid var(--ink);
  padding: clamp(52px, 6vw, 80px) 0 clamp(96px, 11vw, 150px);
  text-align: center;
  overflow: hidden;
}
.footer-ghost {
  position: absolute;
  left: 50%; bottom: -0.34em;
  transform: translateX(-50%);
  font-family: var(--font-disp);
  font-variation-settings: "SOFT" 40, "WONK" 1;
  font-weight: 900;
  font-size: clamp(7rem, 22vw, 21rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 234, 211, 0.16);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.footer-inner { position: relative; z-index: 1; }
.footer-logo {
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  margin: 0 auto 22px;
}
.footer-title {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  color: var(--paper);
  margin-bottom: 30px;
}
.footer-title em { color: var(--gold); }
.footer-actions {
  display: flex; flex-wrap: wrap; gap: 18px;
  justify-content: center;
  margin: 34px 0;
}
.footer-tag {
  font-family: var(--font-hand);
  font-size: 1.65rem; font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-small {
  font-size: 0.9rem;
  color: rgba(244, 234, 211, 0.65);
  margin: 0;
}
.site-footer a:focus-visible { outline-color: var(--gold); }

/* ------------------------------------------------------------------
   donation modal
   ------------------------------------------------------------------ */
body.modal-open { overflow: hidden; }

.donate-modal {
  position: fixed; inset: 0;
  z-index: 1500;
  display: grid; place-items: center;
  padding: clamp(12px, 3vw, 32px);
}
.donate-modal[hidden] { display: none; }

.donate-backdrop {
  position: absolute; inset: 0;
  background: rgba(43, 26, 15, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: donate-fade 180ms ease-out;
}
.donate-panel {
  position: relative;
  display: flex; flex-direction: column;
  width: min(560px, 100%);
  /* percentage max-height doesn't resolve against the centred grid track,
     so clamp against the viewport directly (dvh handles mobile browser chrome) */
  max-height: min(860px, calc(100vh - 2 * clamp(12px, 3vw, 32px)));
  max-height: min(860px, calc(100dvh - 2 * clamp(12px, 3vw, 32px)));
  background: var(--paper-hi);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  animation: donate-pop 220ms cubic-bezier(0.2, 0.8, 0.3, 1);
}
.donate-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 14px;
  border-bottom: 2.5px solid var(--ink);
  background: var(--paper);
}
.donate-head h2 {
  margin: 0;
  font-size: 1.4rem;
}
.donate-close {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--paper-hi); color: var(--ink);
  border: 2.5px solid var(--ink); border-radius: 3px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  transition: transform 140ms ease-out, box-shadow 140ms ease-out, background-color 140ms ease-out;
}
.donate-close:hover  { background: var(--gold); transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }
.donate-close:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }

.donate-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;       /* let it shrink on short screens */
  height: 620px;       /* preferred size; capped by the panel's max-height */
  background: var(--white);
}
.donate-body iframe {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 220ms ease-out;
}
.donate-modal.is-loaded .donate-body iframe { opacity: 1; }
.donate-loading {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  margin: 0;
  font-weight: 700; color: var(--ink-soft);
  transition: opacity 200ms ease-out;
}
.donate-modal.is-loaded .donate-loading { opacity: 0; visibility: hidden; }
.donate-foot {
  margin: 0;
  padding: 13px 18px;
  border-top: 2px solid var(--ink);
  background: var(--paper);
  font-size: 0.83rem; line-height: 1.5;
  color: var(--ink-soft);
}

@keyframes donate-fade { from { opacity: 0; } }
@keyframes donate-pop  { from { opacity: 0; transform: translateY(14px) scale(0.98); } }

@media (max-width: 560px) {
  .donate-modal { padding: 0; }
  .donate-panel {
    width: 100%; max-height: 100%; height: 100%;
    border-width: 0; box-shadow: none;
  }
}

/* ------------------------------------------------------------------
   reduced motion
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .btn, .help-link .arrow, .press-row .arrow, .logo-wall img { transition: none; }
  .btn:hover, .btn:active { transform: none; box-shadow: var(--hard); }
  .btn-gold:hover, .btn-gold:active { transform: none; box-shadow: 4px 4px 0 var(--gold); }
  .btn-donate-big:hover, .btn-donate-big:active { transform: none; box-shadow: 5px 5px 0 var(--paper); }
  .donate-backdrop, .donate-panel { animation: none; }
  .donate-close, .donate-loading, .donate-body iframe { transition: none; }
  .donate-close:hover, .donate-close:active { transform: none; box-shadow: 3px 3px 0 var(--ink); }
  .help-link:hover .arrow, .press-row:hover .arrow { transform: none; }
  .logo-wall li:hover img { transform: none; }
}
