/* United Plates of America – starter styles. Palette: neutral grays (to match the grayscale seal) + one red accent. Mobile-first, no dependencies. */
:root{
  --navy:#0a3161; --navy-2:#1a4a8a; --red:#b31942; --red-dark:#8a1233;
  --cream:#f4f7fb; --paper:#ffffff; --ink:#1f2328; --muted:#4b5158;
  --line:#cfd8e6; --focus:#1a5fd0;
  --ph-bg:#fff3bf; --ph-ink:#5c4400; --ph-line:#b58900;
  --radius:12px; --maxw:68rem; --gap:clamp(1rem,3vw,1.75rem);
  --font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --serif:Georgia,"Iowan Old Style","Times New Roman",serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
body{margin:0;font-family:var(--font);font-size:1.0625rem;line-height:1.65;color:var(--ink);background:var(--cream)}
img,svg{max-width:100%;height:auto}
h1,h2,h3{font-family:var(--serif);line-height:1.2;color:var(--navy);margin:0 0 .6em}
h1{font-size:clamp(2rem,6vw,3.25rem)}
h2{font-size:clamp(1.5rem,4vw,2.1rem)}
h3{font-size:1.25rem}
p,ul,ol{margin:0 0 1em}
a{color:var(--navy-2);text-underline-offset:.15em}
a:hover{color:var(--red-dark)}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:4px}
.container{width:min(100% - 2rem,var(--maxw));margin-inline:auto}
.section{padding-block:clamp(2.25rem,7vw,4.5rem)}
.section--alt{background:var(--paper);border-block:1px solid var(--line)}
.section--navy{background:var(--navy);color:#fff}
.section--navy h2,.section--navy h3{color:#fff}
.section--navy a{color:#fff}
.lead{font-size:1.2rem;color:var(--muted);max-width:42rem}
.eyebrow{font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:.8rem;color:var(--red);margin-bottom:.5rem}
.visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:.5rem;top:-4rem;background:var(--navy);color:#fff;padding:.75rem 1rem;z-index:100;border-radius:8px}
.skip-link:focus{top:.5rem;color:#fff}

/* Placeholder marker – every [PLACEHOLDER: ...] must be replaced or removed before launch */
.ph{background:var(--ph-bg);color:var(--ph-ink);border:1px dashed var(--ph-line);border-radius:6px;padding:.05em .4em;font-weight:600}
.ph-block{background:var(--ph-bg);color:var(--ph-ink);border:2px dashed var(--ph-line);border-radius:var(--radius);padding:1rem 1.1rem;margin-bottom:1rem}
.ph-block>*:last-child{margin-bottom:0}
.notice{background:#e8eef7;border-left:4px solid var(--navy-2);padding:.9rem 1rem;border-radius:6px}

/* Header */
.site-header{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:.6rem}
.brand{display:flex;align-items:center;gap:.6rem;text-decoration:none;color:var(--navy);min-height:44px}
.brand:hover{color:var(--navy)}
.brand-seal{width:2.75rem;height:2.75rem;flex:none;border-radius:50%}
.brand-text{display:flex;flex-direction:column;line-height:1.1;font-family:var(--serif);font-weight:700}
.brand-text .l1{font-size:1.15rem;letter-spacing:.01em}
.brand-text .l2{font-size:.78rem;font-family:var(--font);font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--red)}
.nav-toggle{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;min-width:44px;padding:.4rem .8rem;background:transparent;border:2px solid var(--navy);color:var(--navy);border-radius:10px;font:inherit;font-weight:600;cursor:pointer}
.nav-toggle[hidden]{display:none}
.nav-menu{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.15rem;width:100%}
.nav-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%}
.nav-wrap .brand{order:1}
.nav-wrap .nav-toggle{order:2}
.nav-wrap nav{order:3;width:100%}
.nav-menu a{display:block;padding:.7rem .5rem;min-height:44px;text-decoration:none;color:var(--ink);font-weight:600;border-radius:8px}
.nav-menu a:hover{background:var(--cream);color:var(--navy)}
.nav-menu a[aria-current="page"]{color:var(--red-dark);box-shadow:inset 0 -3px 0 var(--red)}
.nav-menu .nav-cta a{background:var(--red);color:#fff;text-align:center}
.nav-menu .nav-cta a:hover{background:var(--red-dark);color:#fff}
.nav-menu .nav-cta a[aria-current="page"]{box-shadow:none;background:var(--red-dark)}
@media (max-width:47.99em){.nav-menu.is-collapsed{display:none}.nav-menu{padding-bottom:.6rem}}
@media (min-width:48em){
  .nav-toggle{display:none}
  .nav-wrap nav{order:2;width:auto}
  .nav-menu{flex-direction:row;align-items:center;gap:.25rem;width:auto}
  .nav-menu a{padding:.5rem .75rem}
  .nav-menu .nav-cta{margin-left:.5rem}
  .nav-menu .nav-cta a{padding-inline:1.1rem}
}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:48px;padding:.7rem 1.4rem;border-radius:999px;border:2px solid var(--red);background:var(--red);color:#fff;font:inherit;font-weight:700;text-decoration:none;cursor:pointer;text-align:center}
.btn:hover{background:var(--red-dark);border-color:var(--red-dark);color:#fff}
.btn--ghost{background:transparent;color:var(--navy);border-color:var(--navy)}
.btn--ghost:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.section--navy .btn--ghost,.hero .btn--ghost{color:#fff;border-color:#fff}
.section--navy .btn--ghost:hover,.hero .btn--ghost:hover{background:#fff;color:var(--navy)}
.btn[aria-disabled="true"]{opacity:.65;cursor:not-allowed}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem}

/* Hero */
.hero{background:var(--navy);color:#fff;position:relative;overflow:hidden;isolation:isolate}
.hero::before{content:"";position:absolute;right:-12rem;top:50%;width:34rem;height:34rem;transform:translateY(-50%);border-radius:50%;z-index:-1;
  background:repeating-radial-gradient(circle,rgba(255,255,255,.07) 0 2.2rem,transparent 2.2rem 2.5rem),radial-gradient(circle,rgba(179,35,43,.55) 0 5rem,transparent 5.1rem)}
.hero h1{color:#fff;max-width:18ch}
.hero .lead{color:#e8e9ea}
.hero .eyebrow{color:#ffb8bc}
.hero .ph{background:#fff3bf}

/* Grids / cards */
.grid{display:grid;gap:var(--gap)}
@media (min-width:40em){.grid--2{grid-template-columns:repeat(2,1fr)}.grid--3{grid-template-columns:repeat(2,1fr)}}
@media (min-width:60em){.grid--3{grid-template-columns:repeat(3,1fr)}}
.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem}
.card h3{margin-top:0}
.section--alt .card{background:var(--cream)}
.prose{max-width:46rem}
.prose h2{margin-top:2rem}
.prose h3{margin-top:1.5rem}
.page-head{background:var(--paper);border-bottom:1px solid var(--line);padding-block:clamp(2rem,6vw,3.5rem)}
.page-head h1{margin-bottom:.4em}
.breadcrumb{font-size:.9rem;color:var(--muted);margin-bottom:.75rem}

/* Forms */
.form{display:grid;gap:1rem;max-width:36rem}
.field{display:grid;gap:.35rem}
label,legend{font-weight:600}
.hint{font-size:.9rem;color:var(--muted);font-weight:400}
input[type=text],input[type=email],input[type=tel],input[type=url],input[type=number],select,textarea{width:100%;min-height:48px;padding:.65rem .8rem;font:inherit;color:var(--ink);background:#fff;border:2px solid #737a82;border-radius:10px}
textarea{min-height:9rem;resize:vertical}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:1px;border-color:var(--focus)}
fieldset{border:0;margin:0;padding:0;min-width:0}
.check{display:flex;gap:.6rem;align-items:flex-start;font-weight:400}
.check input{width:1.4rem;height:1.4rem;margin-top:.2rem;flex:none}
.hp{position:absolute!important;left:-9999px;height:0;overflow:hidden}
.form-status{margin:0;min-height:1.5em;font-weight:600}
.form-status.ok{color:#14532d}
.form-status.err{color:#9b1c1c}
.req{color:var(--red-dark)}

/* Donate selector */
.donate-box{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(1.1rem,4vw,2rem);max-width:36rem}
.seg{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}
.amounts{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}
@media (min-width:30em){.amounts{grid-template-columns:repeat(3,1fr)}}
.choice input{position:absolute;opacity:0;width:1px;height:1px}
.choice span{display:flex;align-items:center;justify-content:center;min-height:52px;padding:.5rem;border:2px solid #737a82;border-radius:10px;font-weight:700;background:#fff;cursor:pointer;text-align:center}
.choice input:checked+span{background:var(--navy);border-color:var(--navy);color:#fff}
.choice input:focus-visible+span{outline:3px solid var(--focus);outline-offset:2px}
.choice:hover span{border-color:var(--navy)}
.custom-amount{display:flex;align-items:center;gap:.4rem}
.custom-amount .sym{font-weight:700;font-size:1.2rem}

/* Footer */
.site-footer{background:var(--navy);color:#e0e1e2;padding-block:2.5rem 1.5rem;margin-top:0}
.site-footer h2{font-size:1.1rem;color:#fff;font-family:var(--font);letter-spacing:.02em}
.site-footer a{color:#fff}
.site-footer a:hover{color:#ffd2d9}
.footer-grid{display:grid;gap:2rem}
@media (min-width:48em){.footer-grid{grid-template-columns:1.2fr 1fr 1.4fr}}
.footer-links{list-style:none;padding:0;margin:0}
.footer-links a{display:inline-block;padding:.3rem 0;min-height:32px}
.footer-social{margin-top:.75rem}
.site-footer input[type=email]{border-color:#fff}
.site-footer .form-status.ok{color:#b7f0c8}
.site-footer .form-status.err{color:#ffc9c9}
.site-footer .hint{color:#c8cacc}
.site-footer .ph{background:#fff3bf}
.news-row{display:flex;flex-direction:column;gap:.6rem}
@media (min-width:30em){.news-row{flex-direction:row}.news-row .field{flex:1}}
.legal{border-top:1px solid rgba(255,255,255,.2);margin-top:2rem;padding-top:1rem;font-size:.9rem;color:#c8cacc}
@media print{.site-header,.site-footer,.nav-toggle{display:none}body{background:#fff}}

/* Utilities (no inline styles anywhere – required by the strict CSP in _headers) */
.mt-1{margin-top:1.5rem}.mt-2{margin-top:2rem}.mt-s{margin-top:.6rem}.mb-1{margin-bottom:1.25rem}
.btn--end{align-self:flex-end}
.footer-brand-row{display:flex;align-items:center;gap:.9rem;margin-bottom:1rem}
.footer-brand-row .brand-text{margin:0}
.footer-seal{width:5.5rem;height:5.5rem;flex:none;border-radius:50%;background:#fff}
.footer-brand .l1{font-size:1.3rem;color:#fff}
.footer-brand .l2{color:#ffb8bc}
.donate-h{font-size:1.4rem}
.donate-summary{font-weight:700}
@media (max-width:29.99em){.btn--end{align-self:stretch}}

/* Help/safety notice, card headings, donate fallback box */
.notice--help{border-left-color:var(--red);background:#f1e9e9}
.notice--help ul{margin:.4rem 0 0 1.2rem;padding:0}
.notice--help p{margin:0 0 .3rem}
.card .h3{font-size:1.2rem;margin:0 0 .5rem}
.donate-box[hidden]{display:none}
.footer-tagline{font-size:1.05rem}

/* Hero logo */
.hero-grid{display:grid;gap:1.5rem;align-items:center}
.hero-seal{width:9rem;height:9rem;border-radius:50%;background:#fff;padding:.4rem;box-shadow:0 0 0 4px rgba(255,255,255,.25);justify-self:start}
@media (min-width:48em){.hero-grid{grid-template-columns:1fr auto;gap:3rem}.hero-seal{order:2;width:15rem;height:15rem;justify-self:center}}
.brand-seal{background:#fff;box-shadow:0 0 0 1px rgba(11,37,69,.15)}
.hero:has(.hero-seal)::before{display:none}

/* Patriotic theme: red, white and blue */
.site-header{border-bottom:0;box-shadow:0 1px 0 var(--line)}
.site-header::after{content:"";display:block;height:6px;background:linear-gradient(90deg,var(--red) 0 33.33%,#fff 33.33% 66.66%,var(--navy) 66.66% 100%);border-bottom:1px solid var(--line)}
.hero{background:var(--navy) url('/assets/img/flag-bg.svg') center/cover no-repeat}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(10,49,97,.93) 0%,rgba(10,49,97,.85) 40%,rgba(10,49,97,.15) 72%,rgba(10,49,97,0) 100%)}
.hero .eyebrow{color:#fff;background:var(--red);display:inline-block;padding:.25rem .7rem;border-radius:999px}
.hero .lead{color:#f2f6fc}
.section--navy{background:var(--navy)}
.section--alt{background:#fff}
.site-footer{background:var(--navy);border-top:6px solid var(--red)}
.site-footer .footer-brand .l2{color:#ffc3cd}
h2{position:relative}
/* Manage my donation */
.manage-card{max-width:30rem;margin:0 auto;display:grid;gap:1rem}
.manage-card .h3{margin:0}
.gift-amount{font-size:2rem;font-weight:700;color:var(--navy);margin:0}
.gift-amount .ph{font-size:1rem;font-weight:400}
.manage-card .btn-row{margin-top:0}
.manage-card .hint{margin:0}
.manage-card [hidden]{display:none!important}

/* 2026-10-06: space between the Zeffy self-serve card and the fallback request form on /manage-donation/ */
.manage-card + .manage-card{margin-top:1.25rem}

/* 2026-10-06: "Join our list" signup on /donate/ (hidden until forms.donorList.endpoint is set) */
.list-signup .form{max-width:none}
.list-signup .btn{justify-self:start}
.list-signup .hint{margin:0}

/* 2026-10-07: donor-facing tax-receipt line under the Donate buttons on /donate/ */
.receipt-note{margin:.75rem 0 0;color:var(--navy);font-weight:600;font-size:.95rem}

/* 2026-10-08: About page leader card with headshot (Michael Conrad) */
.leader-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.9rem;margin:0 0 1.5rem;padding:1.4rem;background:var(--cream);border:1px solid var(--line);border-radius:var(--radius);max-width:34rem}
.leader-photo{width:8rem;height:8rem;flex:none;border-radius:50%;object-fit:cover;object-position:50% 35%;border:4px solid var(--navy);box-shadow:0 0 0 4px #fff,0 2px 10px rgba(10,49,97,.18);background:var(--line)}
.leader-card figcaption{display:flex;flex-direction:column;gap:.15rem}
.leader-name{font-family:var(--serif);font-size:1.35rem;line-height:1.2;color:var(--navy)}
.leader-title{color:var(--muted);font-weight:600}
@media (min-width:40em){.leader-card{flex-direction:row;text-align:left;gap:1.4rem}.leader-photo{width:10rem;height:10rem}}
/* 2026-10-08: Michael Conrad bio inside the leader card */
.leader-card--bio{max-width:none}
.leader-card--bio figcaption{align-self:stretch;min-width:0}
.leader-bio{margin-top:.75rem;text-align:left;color:var(--ink);max-width:38rem}
.leader-bio::before{content:"";display:block;width:3rem;height:3px;margin:0 auto .9rem;background:var(--navy);border-radius:2px}
.leader-bio p{margin:0 0 .9em}
.leader-bio p:last-child{margin-bottom:0}
@media (min-width:40em){.leader-card--bio{align-items:flex-start}.leader-card--bio figcaption{flex:1}.leader-bio::before{margin-left:0}}
/* 2026-10-08: stack photo, name, title, then bio on all screen sizes */
.leader-card--bio,.leader-card--bio figcaption{text-align:center}
@media (min-width:40em){.leader-card--bio{flex-direction:column;align-items:center;text-align:center}.leader-card--bio figcaption{flex:none;width:100%;align-items:center}.leader-card--bio .leader-bio{margin-left:auto;margin-right:auto}.leader-bio::before{margin-left:auto}}
.leader-card--bio .leader-bio{text-align:left}
/* 2026-10-08: square (boxed) leader photo instead of circle */
.leader-photo{border-radius:10px}

/* Homepage impact section */
.impact-stat{font-size:1.15rem;color:var(--navy)}
.btn--lg{font-size:1.15rem;min-height:56px;padding:.9rem 2rem}
.impact-sources{font-size:.85rem;color:var(--muted);margin-top:1.5rem}
/* 2026-10-08: Food Banks page (/food-banks/): status note, two-up form rows, optional-field group, sign-in card */
.fb-notice p{margin:0 0 .3rem}
.fb-notice p:last-child{margin:0}
.form-row{display:grid;gap:1rem}
@media (min-width:40em){.form-row{grid-template-columns:1fr 1fr}}
.form-group{display:grid;gap:1rem;padding:.9rem 1rem 1.1rem;border:2px dashed var(--line);border-radius:var(--radius)}
.form-group legend{padding:0 .35rem;color:var(--navy)}
.signin-card{max-width:36rem}
.signin-card .hint{margin:1rem 0 0}
/* 2026-10-08: 7 nav items (Food Banks added) – tighten spacing on mid-width screens so the nav stays on one row with the brand */
@media (min-width:48em) and (max-width:67.99em){
  .nav-menu{gap:0}
  .nav-menu a{padding:.5rem .5rem;font-size:.95rem}
  .nav-menu .nav-cta{margin-left:.35rem}
  .nav-menu .nav-cta a{padding-inline:.9rem}
}
/* 2026-10-08: Food Banks page region map (/assets/img/us-regions-northwest.svg): numbered region legend in rollout order */
.region-map{margin:0 0 2rem;display:grid;gap:1.25rem;align-items:start}
.region-map-img{display:block;width:100%;height:auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:.5rem}
.region-map-caption h3{margin:0 0 .4rem}
.region-funds{font-weight:600;color:var(--navy);margin:0 0 .75rem}
.legend-h{margin:0 0 .5rem}
.region-legend{list-style:none;counter-reset:region;margin:0;padding:0;display:grid;gap:.5rem;font-size:.92rem;line-height:1.45}
.region-legend li{counter-increment:region;display:flex;gap:.5rem;align-items:flex-start}
.region-legend li::before{content:counter(region);display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;flex:none;border-radius:50%;background:var(--red);color:#fff;font-weight:700;font-size:.85rem}
.swatch{width:1rem;height:1rem;flex:none;margin-top:.2rem;border-radius:3px;border:1px solid rgba(0,0,0,.18)}
.swatch--nw{background:#0a3161}.swatch--sw{background:#e2e5e9}.swatch--se{background:#a9b1bc}.swatch--ne{background:#8c96a3}.swatch--mw{background:#c7cdd5}.swatch--ak{background:#d3d8de}.swatch--hi{background:#b9c0c9}
.start-tag{color:var(--red-dark)}
.region-source{margin:.75rem 0 0;font-size:.85rem}
@media (min-width:60em){.region-map{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:2rem}}
/* 2026-10-08: Food Banks page: partner type radio list (I'm registering as a ...) */
.radio-list{display:grid;gap:.55rem;margin-top:.35rem}
/* Footer social links + 3-column form row (food bank registration: City / State / ZIP) */
@media (min-width:40em){.form-row--3{grid-template-columns:2fr 1.4fr 1fr}}
.form-row--end{align-items:end}
.meatup{color:var(--red);font-weight:700}.section--navy .meatup{color:#fff}
/* Events page (draft) */
.events-list{list-style:none;margin:0;padding:0;display:grid;gap:var(--gap)}
@media (min-width:48em){.events-list{grid-template-columns:repeat(2,1fr)}}
.event-card h3{margin-bottom:.5rem}
.event-meta{display:grid;grid-template-columns:auto 1fr;gap:.2rem .9rem;margin:0 0 1rem}
.event-meta dt{font-weight:700;color:var(--navy)}
.event-meta dd{margin:0}
.event-desc{color:var(--muted)}
.events-loading{color:var(--muted)}
.events-empty p:last-child{margin-bottom:0}
.quote-card{margin:0;display:flex;flex-direction:column;justify-content:space-between}.quote-card blockquote{margin:0 0 1rem;font-style:italic}.quote-card figcaption{line-height:1.4}.quote-card .quote-meta{font-size:.9rem;opacity:.8}
