/* Stevens Point Community Outreach — public site */
:root {
  --navy: #1d2b44;
  --navy-2: #2a3d5e;
  --ember: #d9622b;
  --ember-dark: #b84d1c;
  --cream: #f8f3ec;
  --sand: #efe6d8;
  --ink: #1f2937;
  --muted: #5b6474;
  --line: #e4dccf;
  --white: #fff;
  --green: #2f7d4f;
  --amber: #b7791f;
  --red: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 43, 68, .06), 0 8px 24px rgba(29, 43, 68, .08);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--ember-dark); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: .85rem; color: var(--muted); margin-top: .75em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Status bar */
.statusbar { font-size: .9rem; color: #fff; background: var(--green); }
.statusbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 0; }
.statusbar .dot { width: 9px; height: 9px; border-radius: 50%; background: #b6f2c9; box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
.statusbar .sep { opacity: .6; }
.statusbar .statuslink { color: #fff; margin-left: auto; font-weight: 600; text-decoration: none; }
.status-full { background: var(--amber); }
.status-full .dot { background: #ffe1a6; }
.status-closed, .status-off { background: #4b5563; }
.status-closed .dot, .status-off .dot { background: #d1d5db; }

/* Header */
.site-header { background: rgba(248, 243, 236, .94); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand strong { display: block; font-family: var(--serif); font-size: 1.15rem; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: .78rem; }
.links { display: flex; align-items: center; gap: 4px; }
.links a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.links a:hover, .links a[aria-current="page"] { background: var(--sand); color: var(--navy); }
.links a.btn { color: #fff; margin-left: 6px; }
.menu-btn { display: none; background: var(--navy); color: #fff; border: 0; border-radius: 8px; padding: 9px 14px; font: 600 .95rem var(--sans); cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; border-radius: 999px; padding: 10px 20px; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; transition: transform .1s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-ember { background: var(--ember); color: #fff; }
.btn-ember:hover { background: var(--ember-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-sm { padding: 6px 14px; font-size: .9rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(40px, 6vw, 70px); background: radial-gradient(1200px 500px at 85% -10%, #fbd9c3 0, transparent 60%), radial-gradient(900px 400px at -10% 110%, #dfe7f3 0, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--ember-dark); }
.lead { font-size: 1.15rem; color: #374151; max-width: 62ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.tonight-card { background: var(--navy); color: #e8edf6; border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.tonight-card h2 { color: #fff; font-size: 1.5rem; }
.tonight-card dl { margin: 0 0 20px; }
.tonight-card dl div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); }
.tonight-card dt { color: #f6b48f; font-weight: 600; font-size: .9rem; }
.tonight-card dd { margin: 0; }
.tonight-card .btn-navy { background: var(--ember); }
.tonight-card .btn-navy:hover { background: var(--ember-dark); }

.stats-band { background: var(--navy); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 28px 0; text-align: center; }
.stats strong { display: block; font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); color: #f6b48f; }
.stats span { color: #cfd8e6; }

/* Sections */
.section { padding: clamp(44px, 6vw, 80px) 0; }
.section.alt { background: var(--sand); }
.section-title { margin-bottom: .8em; }
.section-title.small { font-size: 1.2rem; color: var(--muted); font-family: var(--sans); font-weight: 600; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.page-head { padding: clamp(40px, 6vw, 70px) 0 10px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.cards3 .card { margin: 0; }
.link-card { text-decoration: none; color: var(--ink); display: block; transition: transform .15s, box-shadow .15s; }
.link-card:hover { transform: translateY(-3px); color: var(--ink); }
.card-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #fde7d9; color: var(--ember-dark); font-size: 1.3rem; margin-bottom: 12px; }
.more { color: var(--ember-dark); font-weight: 600; }
.meta { font-size: .85rem; color: var(--muted); margin-bottom: .4em; }

/* Lists */
.needs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.needs li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.needs small { color: var(--muted); width: 100%; padding-left: 0; }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 999px; background: #e5e7eb; color: #374151; }
.pill-urgent { background: #fde2e1; color: var(--red); }
.pill-high { background: #fdecd3; color: #8a4b0f; }
.pill-normal { background: #e6edf7; color: var(--navy-2); }
.checks, .bullets { padding: 0; margin: 0 0 1.2em; list-style: none; }
.checks li, .bullets li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.bullets li::before { content: ''; position: absolute; left: 8px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); }
.facts { margin: 0 0 20px; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--navy); }
.facts dd { margin: 0; }
.callout { background: #fff7f1; border-left: 4px solid var(--ember); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 20px 0; }
.callout p { margin: .3em 0 0; }
.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.resource { margin: 0; }
.resource p { margin-bottom: .5em; }
.phone { font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.give-list, .impact, .dropoffs, .role-list { list-style: none; padding: 0; margin: 0; }
.give-list li, .role-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.give-list li:last-child { border: 0; }
.give-list strong { min-width: 90px; color: var(--navy); }
.give-list span { flex: 1; text-align: right; }
.role-list li { flex-direction: column; gap: 2px; }
.role-list span { color: var(--muted); }
.impact li { display: grid; grid-template-columns: 90px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.impact strong { font-family: var(--serif); font-size: 1.5rem; color: var(--ember-dark); }
.dropoffs li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 8px; display: flex; flex-direction: column; }
.dropoffs span, .dropoffs small { color: var(--muted); }
.partners { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.partners li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-weight: 600; color: var(--navy); }
.verse-band { background: var(--navy); color: #cfd8e6; }
.big-verse { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: #fff; line-height: 1.4; }
.quote { font-family: var(--serif); font-size: 1.25rem; color: var(--navy); border-left: 4px solid var(--ember); margin: 24px 0; padding: 6px 0 6px 20px; }
.people { list-style: none; padding: 0; margin: 0 0 28px; }
.people li { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.people strong, .people small { display: block; }
.people small { color: var(--muted); }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #f6b48f; font-weight: 700; font-family: var(--serif); font-size: 1.1rem; flex: none; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal ul { padding-left: 22px; }
.message-page { padding: 40px 0; }
.msg-icon { font-size: 2.6rem; color: var(--ember); }

/* Forms */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--navy); border: 0; padding: 0; margin: 0; }
.field legend { margin-bottom: 8px; }
input, select, textarea { font: 400 1rem var(--sans); color: var(--ink); background: #fff; border: 1.5px solid #d6ccbc; border-radius: 10px; padding: 11px 13px; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--navy-2); outline: 3px solid rgba(42, 61, 94, .15); }
textarea { resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--ink); font-size: .95rem; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--ember); }
.checkgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.flash { padding: 14px 18px; border-radius: 12px; margin: 16px 0; font-weight: 500; }
.flash ul { margin: 0; padding-left: 18px; }
.flash-error { background: #fdecec; color: #8a1c13; border: 1px solid #f5c2bf; }
.flash-success { background: #e8f5ee; color: #1d5c39; border: 1px solid #b9e0c9; }
.flash-info { background: #eaf0fa; color: #1f3a66; border: 1px solid #c4d3ec; }
.give-card h2 { margin-bottom: .6em; }
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.amount input { position: absolute; opacity: 0; pointer-events: none; }
.amount span { display: block; text-align: center; padding: 14px 6px; border: 2px solid #d6ccbc; border-radius: 12px; font-weight: 700; font-size: 1.15rem; cursor: pointer; color: var(--navy); background: #fff; }
.amount input:checked + span { border-color: var(--ember); background: #fff2ea; color: var(--ember-dark); }
.amount input:focus-visible + span { outline: 3px solid var(--ember); }
.dollar { position: relative; display: block; }
.dollar::before { content: '$'; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.dollar input { padding-left: 28px; }

/* Meals calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 16px; }
.cal-day { display: flex; flex-direction: column; gap: 2px; border-radius: 12px; padding: 10px; text-decoration: none; border: 1.5px solid var(--line); background: #fff; color: var(--ink); min-height: 82px; }
.cal-day .dow { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.cal-day .dnum { font-weight: 700; color: var(--navy); }
.cal-day .tag { margin-top: auto; font-size: .75rem; font-weight: 700; }
.cal-day.open { border-color: #f1c3a7; background: #fff8f3; }
.cal-day.open .tag { color: var(--ember-dark); }
.cal-day.open:hover, .cal-day.selected { border-color: var(--ember); background: #ffeadd; }
.cal-day.taken { opacity: .55; background: var(--sand); }
.cal-day.taken .tag { color: var(--green); }

/* Footer */
.site-footer { background: #142036; color: #b8c3d6; padding: 56px 0 24px; font-size: .95rem; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: 1rem; }
.site-footer a { color: #e3e9f3; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.brand-footer { color: #fff; margin-bottom: 12px; }
.brand-footer strong { color: #fff; }
.verse { font-style: italic; color: #93a1b8; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; font-size: .85rem; }

/* Responsive */
@media (max-width: 960px) {
  .menu-btn { display: inline-block; }
  .links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .links.open { display: flex; }
  .links a { padding: 12px; font-size: 1.05rem; }
  .links a.btn { margin: 8px 0 0; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .cards3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand small { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .row2, .checkgrid { grid-template-columns: 1fr; }
  .cal { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .give-list span { text-align: left; flex-basis: 100%; }
  .statusbar .statuslink { margin-left: auto; }
  .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .statusbar, .site-footer { display: none; } }
