/* Ascension Outreach Food Pantry, site styles.
   Built to the Ascension Outreach Design System (claude.ai/artifact/Uo3T1LTciyBTo5JbEfC9tR): cream paper, navy ink,
   gold for rules and buttons, green only to edge a story, a square system, no shadows. Fonts self-hosted (OFL). */

@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/libre-baskerville-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("/fonts/libre-baskerville-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("/fonts/source-sans-3-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("/fonts/source-sans-3-italic.woff2") format("woff2"); }

:root {
  /* brand */
  --navy: #1f3a4d;
  --green: #4e8b57;
  --gold: #f0b429;
  --terracotta: #d65a3d;
  --cream: #faf4e8;
  --white: #ffffff;
  /* roles, cream theme */
  --surface: var(--cream);
  --ground: #efe6d6;
  --ink: var(--navy);
  --ink-secondary: #4a5d6b;
  --ink-muted: #61727c;
  --story-tint: #eef3ea;
  --gold-tint: #fbe7b0;
  --hairline: #1f3a4d40;
  /* roles, on navy */
  --ink-on-navy: var(--cream);
  --ink-secondary-on-navy: #dcd3c2;
  --hairline-on-navy: #faf4e840;

  --radius-sm: 4px;
  --focus-ring: 0 0 0 2px var(--cream), 0 0 0 4px var(--navy);
  --focus-ring-on-navy: 0 0 0 2px var(--navy), 0 0 0 4px var(--gold);

  --serif: "Libre Baskerville", Georgia, "Iowan Old Style", Palatino, serif;
  --sans: "Source Sans 3", "Source Sans Pro", -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(22px, 4vw, 40px);
}

*, *::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(--surface); color: var(--ink); font-family: var(--sans); font-size: 1.125rem; line-height: 1.58; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 400; line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 1.2; }
h2 { font-size: clamp(1.45rem, 2.9vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 .8em; }

/* The short gold accent rule under a section heading (rule-accent: 3px, 44px wide; 52px under the display headline) */
.section h2::after { content: ""; display: block; width: 44px; height: 3px; background: var(--gold); margin-top: .5em; }
.center h2::after { margin-left: auto; margin-right: auto; }
.rule { width: 52px; height: 3px; background: var(--gold); border: 0; margin: 0 0 1.3em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.measure { max-width: 38em; }
/* kicker: uppercase sans bold with tracking, in ink. Bold is kept for uppercase labels like this one. */
.kicker { font-family: var(--sans); font-size: .78rem; line-height: 1.35; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); margin: 0 0 .7em; }
/* meta: the uppercase hours-and-place line */
.meta { font-family: var(--sans); font-size: .82rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--cream); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Buttons: radius-sm, uppercase bold labels. Gold with navy text is the brand button; navy with cream text is the
   second action. White on terracotta (3.9:1) or green (4.1:1) fails at button size, so neither is a button fill. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8em 1.5em; border-radius: var(--radius-sm); font-family: var(--sans); font-weight: 700; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.15; text-align: center; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn-give { background: var(--gold); color: var(--navy); }
.btn-give:hover { background: #f5c552; color: var(--navy); }
.btn-help { background: var(--navy); color: var(--cream); }
.btn-help:hover { background: #2c4d64; color: var(--cream); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--cream); }
.btn-sm { min-height: 40px; padding: .55em 1.05em; font-size: .8rem; }

/* Header: the 6px gold band (rule-band) across the top, then the logo on cream */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-top: 6px solid var(--gold); border-bottom: 1px solid var(--hairline); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { flex: none; display: block; }
.brand img { width: 172px; height: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 1rem; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.header-cta { display: flex; gap: 10px; flex: none; }

@media (max-width: 900px) {
  .site-header .wrap { flex-wrap: wrap; gap: 10px 16px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .brand img { width: 138px; }
  .header-cta { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0; gap: 18px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: .95rem; white-space: nowrap; }
}
@media (max-width: 400px) {
  .brand img { width: 112px; }
  .header-cta { gap: 6px; }
  .header-cta .btn-sm { padding: .5em .7em; font-size: .74rem; letter-spacing: .06em; }
}

/* Hero */
.hero .wrap { padding-top: clamp(40px, 7vw, 84px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero h1 { max-width: 15ch; }
.hero .lede { font-size: clamp(1.1rem, 1.7vw, 1.25rem); max-width: 36em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }
.hero .actions .btn { min-width: 240px; }
.hero .meta { margin-top: 1.6em; }
.hero .meta a { white-space: nowrap; }
@media (max-width: 600px) { .hero .actions .btn { width: 100%; } }

/* Photo band (slideshow), ending in a gold band as the postcard front does */
.band { background: var(--navy); border-bottom: 6px solid var(--gold); }
.slides { position: relative; max-width: 1400px; margin: 0 auto; aspect-ratio: 21 / 8; overflow: hidden; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px var(--gutter) 14px; color: var(--cream); font-size: .95rem; font-style: italic; background: linear-gradient(transparent, rgba(20,38,51,.78)); }
.slides-ctrl { position: absolute; right: var(--gutter); top: 14px; z-index: 2; display: flex; gap: 6px; }
.slides-ctrl button { width: 40px; height: 40px; border-radius: var(--radius-sm); border: 0; background: var(--cream); color: var(--navy); font: 700 1rem var(--sans); cursor: pointer; }
.slides-ctrl button:hover { background: var(--gold); }
.slides-ctrl button:focus-visible { box-shadow: var(--focus-ring-on-navy); }
@media (max-width: 700px) { .slides { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* Sections: the cream sheet, with parchment (ground) for the alternate band */
.section { padding: clamp(52px, 8vw, 96px) 0; }
.section.alt { background: var(--ground); }
.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; } }
.photo { border-radius: var(--radius-sm); overflow: hidden; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Stats: a 2px gold rule over the row, figures in the serif, labels in ink */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; border-top: 2px solid var(--gold); padding-top: 26px; }
.stat .num { font-family: var(--serif); font-size: clamp(2.1rem, 4.4vw, 2.9rem); line-height: 1.1; color: var(--ink); display: block; margin-bottom: 8px; }
.stat .label { color: var(--ink); font-size: 1rem; line-height: 1.4; max-width: 16em; display: block; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; gap: 22px; } }

/* Why it matters: each figure under its own gold rule, no cards */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; margin-top: 30px; }
.fact { border-top: 2px solid var(--gold); padding-top: 18px; }
.fact .big { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.4rem); color: var(--ink); line-height: 1.15; display: block; margin-bottom: 10px; }
.fact p { margin: 0; }
.fact .src { display: block; margin-top: 10px; font-size: .9rem; color: var(--ink-secondary); }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } }

/* Two ways in: Give on navy (the on-navy theme), Volunteer as a cream sheet; both under the gold band */
.ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.way { padding: clamp(26px, 4vw, 40px); display: flex; flex-direction: column; border-top: 6px solid var(--gold); }
.way .btn { align-self: flex-start; margin-top: auto; }
.way-give { background: var(--navy); color: var(--ink-on-navy); }
.way-give h2, .way-give .kicker { color: var(--ink-on-navy); }
.way-give .btn:focus-visible { box-shadow: var(--focus-ring-on-navy); }
.way-help { background: var(--surface); }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; } }

/* Story: the story-tint panel with the green rule-story edge and a green label */
.story { max-width: 44em; margin: 0 auto; background: var(--story-tint); border-left: 4px solid var(--green); padding: clamp(20px, 3vw, 30px) clamp(22px, 3.5vw, 36px); }
.story .label { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin: 0 0 .8em; }
.story blockquote { margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.5; color: var(--navy); }
.story .who { color: var(--navy); font-size: 1rem; margin: 0; }

/* Partners: set as words under hairlines, no badges */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; list-style: none; margin: 28px auto 0; padding: 0; max-width: 54em; text-align: left; }
.partners li { border-top: 1px solid var(--hairline); padding: 12px 0; font-size: 1.02rem; color: var(--ink); }
@media (max-width: 700px) { .partners { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .partners { grid-template-columns: 1fr; } }

/* Visit strip, on navy */
.visit { background: var(--navy); color: var(--ink-on-navy); }
.visit .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.visit h2 { color: var(--ink-on-navy); margin-bottom: .3em; }
.visit p { margin: 0; }
.visit .meta { color: var(--ink-on-navy); margin-bottom: .9em; }
.visit .btn-line { color: var(--cream); border-color: var(--cream); justify-self: end; }
.visit .btn-line:hover { background: var(--cream); color: var(--navy); }
.visit .btn-line:focus-visible { box-shadow: var(--focus-ring-on-navy); }
@media (max-width: 760px) { .visit .wrap { grid-template-columns: 1fr; } .visit .btn-line { justify-self: start; } }

/* Footer, on navy */
.site-footer { background: var(--navy); color: var(--ink-on-navy); font-size: 1rem; border-top: 1px solid var(--hairline-on-navy); }
.site-footer .wrap { padding-top: 52px; padding-bottom: 36px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer img { width: 190px; margin-bottom: 14px; }
.site-footer h3 { color: var(--ink-on-navy); font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer a { color: var(--ink-on-navy); }
.site-footer a:focus-visible { box-shadow: var(--focus-ring-on-navy); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .legal { border-top: 1px solid var(--hairline-on-navy); margin-top: 36px; padding-top: 20px; font-size: .88rem; color: var(--ink-secondary-on-navy); max-width: 60em; }
.site-footer .tagline { font-family: var(--serif); font-style: italic; color: var(--gold); margin: 0 0 10px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* Inner pages */
.page-hero .wrap { padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(32px, 5vw, 56px); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { font-size: clamp(1.1rem, 1.7vw, 1.22rem); max-width: 36em; margin: 0; }
.wide-photo { margin: 0; background: var(--navy); border-bottom: 6px solid var(--gold); }
.wide-photo img { width: 100%; max-width: 1400px; margin: 0 auto; aspect-ratio: 21 / 8; object-fit: cover; object-position: var(--pos, 50% 6%); }
@media (max-width: 700px) { .wide-photo img { aspect-ratio: 4 / 3; } }

.steps { list-style: none; counter-reset: step; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding: 4px 0 4px 56px; min-height: 40px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--gold); color: var(--navy); font-family: var(--serif); font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
.steps strong { font-family: var(--serif); font-weight: 400; color: var(--ink); }

.facts-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--gold); }
.facts-list li { padding: 14px 0; }
.facts-list li + li { border-top: 1px solid var(--hairline); }
.facts-list .k { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-bottom: 3px; }

/* Form: a cream sheet under the gold band, on the parchment section. Fields on white with a 4.6:1 border. */
.form-card { background: var(--surface); border-top: 6px solid var(--gold); padding: clamp(22px, 4vw, 40px); max-width: 760px; margin: 0 auto; }
.field { margin-bottom: 20px; }
.field label, .field legend { display: block; font-size: 1.05rem; color: var(--ink); margin-bottom: 6px; }
.field .hint { color: var(--ink-secondary); font-size: .95rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--white); border: 1px solid var(--ink-muted); border-radius: 0; padding: 12px 14px; min-height: 48px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--navy); box-shadow: var(--focus-ring); }
.field fieldset { border: 0; margin: 0; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--ink-muted); background: var(--white); padding: 9px 16px; cursor: pointer; color: var(--ink); min-height: 44px; }
.choice input { accent-color: var(--navy); width: 18px; height: 18px; margin: 0; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--gold-tint); }
.choice:has(input:focus-visible) { box-shadow: var(--focus-ring); }
.choice input:focus-visible { box-shadow: none; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .95rem; color: var(--ink-secondary); margin-top: 14px; }
.form-status { margin-top: 14px; padding: 12px 16px; background: var(--gold-tint); color: var(--navy); display: none; }
.form-status.is-on { display: block; }

.names { columns: 3 14em; column-gap: 28px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--ink-secondary); font-size: 1rem; }
.names li { break-inside: avoid; padding: 3px 0; }

/* Our neighbors: the three stories side by side, and the volunteer roll under its own heading */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.stories .story { max-width: none; margin: 0; }
@media (max-width: 900px) { .stories { grid-template-columns: 1fr; max-width: 44em; } }
.names-head { margin-top: clamp(40px, 6vw, 64px); padding-top: 20px; border-top: 2px solid var(--gold); }

/* Visit: the registration note, a story panel carrying a notice instead of a story */
.story-note .note-head { font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.4; margin: 0 0 .5em; }
.story-note p:last-child { margin: 0; }
