/* Tulsa Resource Hub Foundation — site.css
   Tokens derived from the TRHF mark (see DESIGN.md). Plain CSS, no framework. */

:root {
  --paper: #FFFFFF;
  --card: #FFFFFF;
  --ink: #221A33;
  --ink-soft: #5B5366;
  --line: #E3DEEA;
  --purple: #5B2E91;
  --purple-deep: #3E1F67;
  --purple-tint: #F0EAF7;
  --teal: #177F9B;
  --teal-deep: #11607A;
  --teal-tint: #E3F2F6;
  --urgent: #A8231B;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-1: 0 1px 2px rgba(34, 26, 51, 0.06), 0 6px 18px -8px rgba(91, 46, 145, 0.18);
  --shadow-2: 0 2px 4px rgba(34, 26, 51, 0.08), 0 18px 40px -16px rgba(91, 46, 145, 0.28);
  --radius: 10px;
  --radius-sm: 6px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: 16px;
  --measure: 64ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--purple-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.5em;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); font-weight: 700; letter-spacing: -0.015em; }
h4 { font-size: 1.1rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.2em; }
small, .small { font-size: 0.9rem; }
.muted { color: var(--ink-soft); }
.tnum { font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute; left: 12px; top: -48px;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm);
  z-index: 100; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.meta-line { font-weight: 600; color: var(--teal-deep); margin: -0.25rem 0 0.9rem; font-size: 1rem; }
.h-small { font-size: 1.35rem; margin-bottom: 14px; }
.group-label { grid-column: 1 / -1; margin: 10px 0 2px; font-weight: 700; color: var(--teal-deep); }

/* ---------- Crisis strip ---------- */
.crisis {
  background: var(--purple-deep);
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.4;
}
.crisis .wrap { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 7px 0; align-items: center; }
@media (max-width: 639px) { .crisis { font-size: 0.84rem; } .crisis .hide-sm { display: none; } .crisis .wrap { gap: 4px 12px; } }
.crisis strong { font-weight: 700; }
.crisis a { color: #fff; font-weight: 700; text-decoration-color: rgba(255,255,255,0.55); white-space: nowrap; display: inline-block; padding: 4px 2px; margin: -4px -2px; }
.crisis a:hover { color: #fff; text-decoration-color: #fff; }
.crisis .crisis-tag {
  display: inline-block; background: var(--urgent); color: #fff; font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border-radius: 3px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: auto; height: 44px; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1; }
.brand-sub { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-deep); margin-top: 4px; }
.nav-links { display: none; margin-left: auto; align-items: center; gap: 4px; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 10px 12px; border-radius: var(--radius-sm); display: inline-block; transition: background-color 180ms var(--ease), color 180ms var(--ease); }
.nav-links a:hover { background: var(--purple-tint); color: var(--purple-deep); }
.nav-links .btn-primary, .mobile-menu .btn-primary { color: #fff; }
.nav-links .btn-primary:hover, .mobile-menu .btn-primary:hover { background: var(--purple-deep); color: #fff; }
.nav-links a[aria-current="page"] { color: var(--purple); box-shadow: inset 0 -2px 0 var(--purple); border-radius: 0; }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; color: var(--ink);
}
.nav-toggle:hover { background: var(--purple-tint); }
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-menu { display: none; background: var(--card); box-shadow: var(--shadow-2); }
.mobile-menu[data-open="true"] { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 8px 0 16px; }
.mobile-menu a { display: block; padding: 14px var(--gutter); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.mobile-menu a:hover { background: var(--purple-tint); }
.mobile-menu .btn { margin: 12px var(--gutter) 0; display: flex; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; min-height: 46px;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--purple); color: #fff; border-color: var(--purple); }
.btn-primary:hover { background: var(--purple-deep); border-color: var(--purple-deep); color: #fff; }
.btn-secondary { background: transparent; color: var(--purple-deep); border-color: var(--purple); }
.btn-secondary:hover { background: var(--purple-tint); color: var(--purple-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--purple-deep); border-color: #fff; }
.btn-light:hover { background: var(--purple-tint); border-color: var(--purple-tint); color: var(--purple-deep); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 6vw + 24px, 104px) 0; }
.section-tight { padding: clamp(40px, 4vw + 16px, 72px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 3vw, 48px); }
.section-head p { font-size: 1.15rem; color: var(--ink-soft); }
.band-purple { background: var(--purple-deep); color: #fff; }
.band-purple h2, .band-purple h3, .band-purple h4 { color: #fff; }
.band-purple p { color: rgba(255,255,255,0.86); }
.band-purple a:not(.btn) { color: #fff; }
.band-tint { background: var(--purple-tint); }
.band-teal { background: var(--teal-tint); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 5vw + 16px, 88px) 0 clamp(40px, 5vw + 8px, 72px); position: relative; overflow: hidden; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .mark { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 0.09em; text-underline-offset: 0.1em; text-decoration-skip-ink: none; }
.hero .lede { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.35rem); color: var(--ink-soft); max-width: 56ch; margin-bottom: 28px; }
.hero .btn-row { margin-bottom: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; list-style: none; }
.hero-proof li { font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; font-size: 0.98rem; }
.hero-proof svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.hero-art { position: relative; }
.hero-art .sheet {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-2); overflow: hidden; transform: rotate(-1.2deg);
  max-width: 420px; margin-inline: auto;
}
.hero-art .sheet img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; }
.hero-art .chip {
  position: absolute; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-2); padding: 14px 16px; min-width: 150px;
}
.hero-art .chip strong { display: block; font-family: var(--font-display); font-size: 1.9rem; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.hero-art .chip span { display: block; font-size: 0.86rem; color: var(--ink-soft); margin-top: 4px; font-weight: 600; }
.hero-art .chip-a { right: 0; bottom: 12%; }
.hero-art .chip-b { left: 0; top: 30%; }
.hero-art .chip-b strong { color: var(--teal-deep); }
@media (max-width: 899px) {
  .hero-art .sheet { max-width: 300px; }
  .hero-art .chip { padding: 10px 12px; min-width: 120px; }
  .hero-art .chip strong { font-size: 1.5rem; }
  .hero-art .chip-a { right: 4%; }
  .hero-art .chip-b { left: 4%; }
}
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
  .hero-art .sheet { max-width: 440px; margin-right: 0; }
  .hero-art .chip-a { right: -4%; bottom: 16%; }
  .hero-art .chip-b { left: -8%; top: 34%; }
}

/* ---------- Referral-only band ---------- */
.referral-band .wrap { display: grid; gap: 32px; align-items: start; }
.referral-badge {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px;
  border: 2px solid rgba(255,255,255,0.35); border-radius: var(--radius); padding: 16px 20px;
}
.referral-badge strong { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -0.02em; line-height: 1.1; }
.referral-badge span { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em;
  color: #fff; background: rgba(255,255,255,0.12); border-radius: var(--radius-sm); height: 44px; display: grid; place-items: center;
}
.steps strong { display: block; font-size: 1.08rem; margin-bottom: 2px; }
.steps p { font-size: 0.98rem; }
@media (min-width: 900px) { .referral-band .wrap { grid-template-columns: 1fr 1.2fr; gap: 64px; } }

/* ---------- Services strip ---------- */
.services-strip { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.services-strip li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.services-strip .num { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.02em; color: var(--teal-deep); padding-top: 6px; }
.services-strip h3 { margin-bottom: 4px; }
.services-strip p { color: var(--ink-soft); font-size: 1rem; }
.services-strip .ico { width: 44px; height: 44px; color: var(--purple); margin-bottom: 10px; }
.services-strip .ico svg { width: 100%; height: 100%; }
@media (min-width: 760px) {
  .services-strip { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
}
@media (min-width: 1100px) {
  .services-strip { grid-template-columns: repeat(5, 1fr); column-gap: 28px; border-top: 0; }
  .services-strip li { grid-template-columns: 1fr; border-bottom: 0; border-top: 2px solid var(--ink); padding-top: 18px; }
  .services-strip .num { padding-top: 0; }
}

/* ---------- Cards / grids ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.grid-2 { display: grid; gap: 20px; }
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 700px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Resource index cards */
.res-grid { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .res-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .res-grid { grid-template-columns: repeat(3, 1fr); } }
.res-card {
  position: relative; display: block; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}
.res-card:hover { transform: translateY(-2px); border-color: var(--purple); color: var(--ink); }
.res-card:hover h3 { color: var(--purple); }
.res-card h3 { margin: 0 0 6px; font-size: 1.2rem; transition: color 200ms var(--ease); }
.res-card p { font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 10px; }
.res-card .meta { font-size: 0.88rem; font-weight: 600; color: var(--teal-deep); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.res-grid .res-featured { grid-column: 1 / -1; }
.res-card.is-featured { display: grid; gap: 20px; align-items: center; background: var(--purple-tint); border-color: var(--purple-tint); }
.res-card.is-featured img { border-radius: var(--radius-sm); box-shadow: var(--shadow-2); max-height: 320px; width: auto; }
@media (min-width: 760px) { .res-card.is-featured { grid-template-columns: 220px 1fr; } }

/* Resource page */
.page-head { padding: clamp(36px, 4vw + 12px, 64px) 0 clamp(24px, 3vw, 40px); }
.page-head h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); }
.page-head .lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }
@media (min-width: 900px) {
  .page-head .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; align-items: end; }
  .page-head h1 { margin-bottom: 0; }
  .page-head .lede { margin: 0 0 0.35em; }
  .page-head .meta-line { grid-column: 1; }
  .page-head .actions { grid-column: 1 / -1; }
}
.page-head .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; align-items: center; }
.page-head .updated { font-size: 0.9rem; color: var(--ink-soft); }
.page-head + .section-tight { padding-top: clamp(8px, 1.5vw, 20px); }
.quickref {
  background: var(--teal-tint); border-radius: var(--radius-sm);
  padding: 16px 20px; margin: 0 0 28px; font-size: 1.02rem; max-width: 78ch;
}
.quickref strong { color: var(--teal-deep); }
.entries { list-style: none; padding: 0; margin: 0; }
.entries li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 4px 20px; }
.entries li:last-child { border-bottom: 1px solid var(--line); }
.entries h3 { font-size: 1.15rem; margin: 0; }
.entries .phone { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; text-decoration: none; color: var(--purple); white-space: nowrap; font-variant-numeric: tabular-nums; }
.entries .phone:hover { text-decoration: underline; }
.entries .phone, .pantry .phone { display: inline-block; padding: 4px 0; margin: -4px 0; }
.entries p { color: var(--ink-soft); font-size: 1rem; max-width: 78ch; }
.entries .ext { font-weight: 600; font-size: 0.95rem; }
@media (min-width: 760px) {
  .entries li { grid-template-columns: 1fr auto; }
  .entries li p, .entries li .ext { grid-column: 1 / -1; }
}
.entries-section h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.entries-section h2.h-small { margin-top: 0; }

/* Pantry list (food page) */
.filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 20px; }
.filter input { flex: 1 1 260px; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: var(--card); }
.filter input:focus { border-color: var(--purple); outline: 3px solid var(--teal-tint); outline-offset: 0; }
.filter .count { font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.pantries { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .pantries { grid-template-columns: repeat(2, 1fr); } }
.pantry { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 10px; }
.pantry[hidden] { display: none; }
.pantry header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.pantry h3 { font-size: 1.15rem; margin: 0; }
.pantry .n { font-family: var(--font-display); font-weight: 800; color: var(--teal-deep); font-size: 0.85rem; letter-spacing: 0.04em; }
.pantry address { font-style: normal; color: var(--ink-soft); font-size: 0.98rem; }
.pantry .phone { font-family: var(--font-display); font-weight: 700; color: var(--purple); text-decoration: none; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.pantry .phone:hover { text-decoration: underline; }
.pantry dl { margin: 4px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 0.95rem; }
.pantry dt { font-weight: 700; color: var(--ink); white-space: nowrap; }
.pantry dd { margin: 0; color: var(--ink-soft); }
.pantry .elig dd { color: var(--teal-deep); font-weight: 600; }
.pantry-note { font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 20px; max-width: 78ch; }

/* Gallery */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--purple-tint); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 300ms var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figure.wide { grid-column: span 2; }
.gallery-mini { grid-template-columns: repeat(2, 1fr) !important; }
.gallery figure.wide img { aspect-ratio: 2 / 1; }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 24px 12px 10px; font-size: 0.82rem; color: #fff; background: linear-gradient(to top, rgba(34,26,51,0.75), rgba(34,26,51,0)); opacity: 0; transition: opacity 200ms var(--ease); }
.gallery figure:hover figcaption, .gallery figure:focus-within figcaption { opacity: 1; }

/* Events */
.event-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.event { display: grid; grid-template-columns: 76px 1fr; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.event .date { text-align: center; background: var(--purple-tint); border-radius: var(--radius-sm); padding: 10px 6px; font-family: var(--font-display); font-weight: 800; color: var(--purple-deep); line-height: 1; }
.event .date .d { font-size: 1.8rem; overflow-wrap: anywhere; letter-spacing: -0.03em; display: block; }
.event .date .m { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; display: block; margin-top: 6px; }
.event h3 { margin-bottom: 4px; }
.event .where { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 6px; }
.event p, .event h3 { max-width: 68ch; }
.gallery figcaption span { display: block; max-width: 56ch; }
.gallery.captioned figcaption { position: static; opacity: 1; background: none; color: var(--ink-soft); padding: 8px 2px 0; font-size: 0.82rem; line-height: 1.45; }
.gallery.captioned figure { background: none; }
.gallery.captioned img { border-radius: var(--radius-sm); }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; color: var(--ink-soft); }

/* Team */
.team { display: grid; gap: 20px; }
@media (min-width: 900px) { .team { grid-template-columns: repeat(3, 1fr); } }
.person { border-top: 2px solid var(--ink); padding-top: 16px; }
.person .role { color: var(--teal-deep); font-weight: 700; font-size: 0.95rem; margin: 0 0 10px; }
.person h3 { margin-bottom: 2px; }
.person p { font-size: 1rem; color: var(--ink-soft); }
.person .portrait { width: 160px; height: 160px; object-fit: cover; border-radius: var(--radius-sm); display: block; margin-bottom: 14px; }
.team-photo { margin: 0 0 32px; border-radius: var(--radius-sm); overflow: hidden; background: var(--purple-tint); }
.team-photo img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; }
@media (min-width: 760px) { .team-photo img { aspect-ratio: 3 / 2; object-position: 50% 38%; } }
.photo-strip { padding: 0 0 clamp(32px, 4vw, 56px); }
.photo-strip .strip { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .photo-strip .strip { grid-template-columns: repeat(4, 1fr); } }
.photo-strip figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--purple-tint); }
.photo-strip img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.event-flyer { display: block; margin-top: 12px; max-width: 560px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.event-flyer img { width: 100%; height: auto; display: block; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts li { border-top: 2px solid var(--purple); padding-top: 12px; }
.facts .v { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; display: block; color: var(--purple-deep); line-height: 1.1; }
.facts .l { font-size: 0.88rem; color: var(--ink-soft); font-weight: 600; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 1.02rem; }
.checklist svg { width: 22px; height: 22px; color: var(--teal); margin-top: 3px; }
.notes { display: grid; gap: 14px; }
.note { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.note strong { color: var(--purple-deep); }
.note p { font-size: 0.98rem; color: var(--ink-soft); }

/* Forms */
.form { display: grid; gap: 28px; }
.form-refer { max-width: 820px; }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--card); margin: 0; }
.fieldset legend { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; padding: 0 8px; color: var(--purple-deep); }
.fieldset .hint { color: var(--ink-soft); font-size: 0.95rem; margin: -6px 0 14px; }
.fields { display: grid; gap: 14px; }
@media (min-width: 700px) { .fields.two { grid-template-columns: 1fr 1fr; } }
.field > label, .field > .choices-label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="number"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #CFC7BE; border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff;
  transition: border-color 160ms var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple); outline: 3px solid var(--purple-tint); outline-offset: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.choice { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; min-height: 32px; }
.choice input { width: 20px; height: 20px; accent-color: var(--purple); margin: 0; }
.check-grid { display: grid; gap: 8px; }
@media (min-width: 700px) { .check-grid { grid-template-columns: 1fr 1fr; } }

.certify { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 1rem; }
.certify input { width: 22px; height: 22px; accent-color: var(--purple); margin-top: 2px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-foot .btn { min-width: 220px; }
.form-status { font-weight: 600; }
.form-status[data-state="error"] { color: var(--urgent); }
.form-status[data-state="ok"] { color: var(--teal-deep); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Contact */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; } }
.contact-card dl { margin: 0; display: grid; gap: 14px; }
.contact-card dt { font-size: 0.9rem; font-weight: 700; color: var(--teal-deep); }
.contact-card dd { margin: 2px 0 0; font-size: 1.1rem; }
.contact-card dd a { font-weight: 700; text-decoration: none; }
.contact-card dd a:hover { text-decoration: underline; }

/* Donate teaser */
.donate-teaser { display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .donate-teaser { grid-template-columns: 1.3fr 0.7fr; } }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,0.82); padding: 56px 0 28px; margin-top: clamp(40px, 5vw, 80px); }
.footer a { color: #fff; }
.footer .cols { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .brand { color: #fff; }
.footer .brand-sub { color: #9ED7E6; }
.footer .footer-h { color: #fff; font-size: 1rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer ul a { text-decoration: none; }
.footer ul a:hover { text-decoration: underline; }
.footer .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.9rem; color: rgba(255,255,255,0.7); display: grid; gap: 10px; }
.footer .legal p { max-width: 78ch; }
.footer .ein { font-variant-numeric: tabular-nums; }

/* 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; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.flow > * + * { margin-top: 1em; }
.lead { font-size: 1.18rem; }

/* Reveal (opt-in, degrades to visible) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(12px); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
  html.no-js .reveal { opacity: 1; transform: none; }
}

@media print {
  .crisis, .nav, .footer, .btn, .filter { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a { color: #000; text-decoration: none; }
  .pantries { grid-template-columns: 1fr 1fr; }
  .pantry, .entries li { break-inside: avoid; box-shadow: none; }
}
