/* Page Lemon template: Pantry. Tokens first; edit these to make it yours. */
:root {
  --paper: #FFFFFF;       /* page ground */
  --ink: #17301F;         /* body text, dark on light */
  --green: #1F5C3B;       /* deep green: headings on tint, footer, step band */
  --green-deep: #133D27;  /* darkest green: pills, footer ground */
  --red: #C92E1E;         /* tomato red: hero, primary buttons, accents */
  --yellow: #FFC83D;      /* sunshine yellow: hours band, closing band */
  --tint: #EEF6EC;        /* pale green panels */
  --line: #C9DCC9;        /* hairlines and borders */
  --muted: #4A5E50;       /* small print, still 7:1 on white */
  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  padding-bottom: 84px; /* room for the mobile action bar */
  overflow-x: clip;
}
@media (min-width: 768px) { body { padding-bottom: 0; font-size: 1.125rem; } }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, .price, .amount-price, .num-big, .get-big, .role-time, .num {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }

a { color: var(--green); font-weight: 700; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.hero a:focus-visible, .steps-band a:focus-visible, .donate-band a:focus-visible, .footer a:focus-visible {
  outline-color: #fff;
}
.skip { position: absolute; left: -9999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 10px 14px; font-weight: 700; z-index: 50; }
.skip:focus { left: 8px; }

.photo { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 28px; }
.coord .photo { aspect-ratio: 4 / 5; border-radius: 24px; }

/* Buttons: big, rounded, at least 52px tall */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 12px 22px; border-radius: 16px; border: 2px solid transparent;
  background: var(--red); color: #fff; font: 700 1.05rem var(--font-body); text-decoration: none;
  cursor: pointer;
}
.btn:hover { filter: brightness(0.94); }
.btn-big { min-height: 60px; font-size: 1.15rem; background: var(--yellow); color: var(--green-deep); }
.btn-line { background: transparent; border-color: #fff; color: #fff; }
.btn-line-dark { background: transparent; border-color: var(--green-deep); color: var(--green-deep); }
.closing .btn-big, .page-hero .btn-big { background: var(--red); color: #fff; }
.btn-small { min-height: 44px; padding: 8px 14px; font-size: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.text-link { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

.kicker {
  display: inline-block; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px;
  background: var(--green-deep); color: #fff; font-weight: 700; font-size: 0.95rem;
}
.kicker-dark { background: var(--yellow); color: var(--green-deep); }
.lead { font-size: 1.2rem; max-width: 36ch; }

/* Header */
.header { position: sticky; top: 0; z-index: 15; background: var(--paper); border-bottom: 2px solid var(--tint); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 600 1.15rem var(--font-display); color: var(--ink); text-decoration: none; }
@media (min-width: 768px) { .wordmark { font-size: 1.35rem; } }
.mark { width: 22px; height: 22px; border-radius: 50%; background: var(--red); flex: none; }
.desktop-nav { display: none; }
.mobile-nav { position: relative; }
.mobile-nav summary {
  list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; cursor: pointer;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; display: grid; min-width: 230px; padding: 8px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 18px;
}
.mobile-nav nav a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.mobile-nav nav a[aria-current] { background: var(--tint); }
@media (max-width: 479px) { .header .btn-small { display: none; } }
@media (min-width: 900px) {
  .desktop-nav { display: flex; gap: 22px; }
  .desktop-nav a { color: var(--ink); text-decoration: none; padding: 8px 2px; border-bottom: 3px solid transparent; }
  .desktop-nav a[aria-current] { border-bottom-color: var(--red); }
  .mobile-nav { display: none; }
}

/* Hero (home): tomato red block with a tilted photo frame */
.hero { background: var(--red); color: #fff; padding: 40px 0 56px; }
.hero a:not(.btn) { color: #fff; }
.hero .kicker { background: var(--green-deep); }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero-art { margin: 0; transform: rotate(-2deg); }
.hero-art .photo { border: 8px solid #fff; border-radius: 32px; }
.hero .lead { color: #fff; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

/* Hours band (home) */
.hours-band { background: var(--yellow); color: var(--green-deep); padding: 40px 0; }
.hours-grid { display: grid; gap: 20px; }
.open-now {
  display: flex; align-items: center; gap: 14px; padding: 22px; border-radius: 24px;
  background: var(--paper); color: var(--green-deep);
}
.open-now p { margin: 0; font: 600 1.35rem var(--font-display); line-height: 1.25; }
.dot { position: relative; width: 18px; height: 18px; border-radius: 50%; background: #7B8279; flex: none; }
.open-now.is-open .dot { background: #1B8A4B; }
.open-now.is-open .dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1B8A4B;
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping { from { transform: scale(1); opacity: 0.6; } to { transform: scale(2.6); opacity: 0; } }
.hours-card, .address-card { background: var(--paper); border-radius: 24px; padding: 24px; }
.hours-card h2, .address-card .label { font-size: 1.5rem; }
.address-card .label { font-family: var(--font-display); font-weight: 600; margin: 0 0 8px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 10px 0; border-bottom: 2px solid var(--tint); vertical-align: top; }
.hours-table th { font-weight: 700; width: 38%; padding-right: 12px; }
.hours-table.big th, .hours-table.big td { font-size: 1.2rem; padding: 16px 0; }
.address-card a { font-weight: 700; font-size: 1.2rem; color: var(--green-deep); }
@media (min-width: 900px) { .hours-grid { grid-template-columns: 1fr 1.2fr 1fr; align-items: stretch; } }

/* Shared section rhythm */
.section { padding: 64px 0; }
.section.tint { background: var(--tint); }
.section-head { display: grid; gap: 8px; margin-bottom: 24px; }
.section-head p { max-width: 60ch; margin: 0; }
.section-foot { margin: 28px 0 0; }
.note { margin-top: 18px; color: var(--muted); font-size: 0.98rem; }
.two-col { display: grid; gap: 32px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { background: var(--paper); border-left: 8px solid var(--red); border-radius: 14px; padding: 16px 18px; box-shadow: none; }
.tint .check-list li { background: var(--paper); }

/* Needs (home): stock meters, text state too */
.needs { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.need { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; padding: 18px 20px; border-radius: 18px; background: var(--tint); }
.need-name { font-weight: 700; font-size: 1.1rem; grid-column: 1; grid-row: 1; }
.need-state { grid-column: 2; grid-row: 1; font-weight: 700; font-size: 0.98rem; }
.need .meter { grid-column: 1 / -1; grid-row: 2; }
.meter { display: block; height: 16px; border-radius: 999px; background: var(--paper); border: 2px solid var(--line); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 999px; background: var(--green); }
.very-low .meter span { width: 12%; background: var(--red); }
.very-low .need-state { color: #9E1F12; }
.low .meter span { width: 30%; background: #E0701E; }
.low .need-state { color: #8A4208; }
.mid .meter span { width: 55%; }
.ok .meter span { width: 90%; }
@media (min-width: 900px) { .needs { grid-template-columns: 1fr 1fr; } }

/* Steps band (home) */
.steps-band { background: var(--green); color: #fff; padding: 64px 0; }
.steps-band h2 { color: #fff; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.steps li { background: var(--paper); color: var(--ink); border-radius: 24px; padding: 26px; }
.steps h3 { color: var(--green-deep); }
.steps li p { margin: 0; }
.num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--yellow); color: var(--green-deep); font-size: 1.6rem; margin-bottom: 14px;
}
.steps-foot { margin: 24px 0 0; color: #fff; }
.steps-foot .text-link { color: var(--yellow); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Volunteer shifts (home) */
.shift-grid { display: grid; gap: 16px; }
.shift { margin: 0; border-radius: 24px; padding: 28px; }
.shift h3 { margin-bottom: 8px; }
.shift p { margin-bottom: 8px; }
.shift-day { font-weight: 700; margin: 0; }
.shift-time { font-weight: 700; }
.shift-red { background: var(--red); color: #fff; }
.shift-green { background: var(--green); color: #fff; }
.shift-yellow { background: var(--yellow); color: var(--green-deep); }
@media (min-width: 900px) { .shift-grid { grid-template-columns: repeat(3, 1fr); } }

/* Donate band (home) */
.donate-band { background: var(--green-deep); color: #fff; padding: 64px 0; }
.donate-band h2 { color: #fff; }
.donate-grid { display: grid; gap: 28px; }
.donate-options p:last-child { margin-bottom: 0; }
.donate-band .price { color: var(--yellow); font-size: 2.2rem; display: inline; margin-right: 6px; }
.donate-small { margin-top: 16px; }
.donate-band a:not(.btn) { color: var(--yellow); }
@media (min-width: 900px) { .donate-grid { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; } }

/* Closing band */
.closing { background: var(--yellow); color: var(--green-deep); padding: 56px 0; }
.closing h2 { color: var(--green-deep); margin-bottom: 0; }
.closing-grid { display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .closing-grid { grid-template-columns: 1.3fr 1fr; gap: 40px; } }

/* Subpage hero */
.page-hero { background: var(--yellow); color: var(--green-deep); padding: 40px 0 56px; }
.page-hero .lead { color: var(--green-deep); }
.page-hero-grid { display: grid; gap: 32px; align-items: center; }
.page-art { margin: 0; }
.page-art .photo { border-radius: 28px; border: 6px solid var(--paper); }
@media (min-width: 900px) { .page-hero { padding: 72px 0 80px; } .page-hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Get help */
.get-grid { display: grid; gap: 16px; margin-top: 24px; }
.get-card { background: var(--paper); border: 2px solid var(--line); border-radius: 24px; padding: 26px; }
.get-card p:last-child { margin-bottom: 0; }
.get-big { color: var(--red); font-size: 2.4rem; }
@media (min-width: 900px) { .get-grid { grid-template-columns: repeat(3, 1fr); } }

/* Volunteer */
.role-grid { display: grid; gap: 16px; margin-top: 24px; }
.role { margin: 0; border-radius: 24px; padding: 26px; }
.role h3 { margin-bottom: 6px; }
.role p { margin-bottom: 0; }
.role-time { font-size: 2.2rem; margin-bottom: 10px; }
.role-red { background: var(--red); color: #fff; }
.role-green { background: var(--green); color: #fff; }
.role-yellow { background: var(--yellow); color: var(--green-deep); }
.role-ink { background: var(--green-deep); color: #fff; }
@media (min-width: 640px) { .role-grid { grid-template-columns: 1fr 1fr; } }
.dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dates li { display: grid; gap: 4px; background: var(--paper); border-radius: 16px; padding: 18px 20px; }
.dates li span:first-child { font-weight: 700; font-size: 1.15rem; }
.coord-grid { display: grid; gap: 32px; align-items: center; }
.coord { margin: 0; }
@media (min-width: 900px) { .coord-grid { grid-template-columns: 0.8fr 1fr; gap: 64px; } }

/* Forms: slot fallbacks and the inert form markup (never rendered in the demo) */
.slot { background: var(--paper); border: 2px dashed var(--green); border-radius: 20px; padding: 22px; }
.slot-fallback { margin: 0; font-size: 1.05rem; }
.tint .slot { border-color: var(--green); }
.slot-form { display: grid; gap: 8px; }
.slot-form label { font-weight: 700; margin-top: 6px; }
.slot-form input, .slot-form select, .slot-form textarea {
  width: 100%; min-height: 52px; padding: 10px 14px; font: inherit; color: var(--ink);
  background: var(--paper); border: 2px solid var(--green); border-radius: 14px;
}
.slot-form textarea { min-height: 96px; }
.slot-form button { justify-self: start; margin-top: 10px; }

/* Amounts and money (donate) */
.amount-grid { display: grid; gap: 16px; margin-top: 24px; }
.amount { background: var(--paper); border: 2px solid var(--line); border-radius: 24px; padding: 28px; }
.amount p:last-child { margin-bottom: 0; }
.amount-price { font-size: 3rem; color: var(--green); margin-bottom: 8px; }
.amount-hi { background: var(--red); border-color: var(--red); color: #fff; }
.amount-hi .amount-price { color: #fff; }
@media (min-width: 900px) { .amount-grid { grid-template-columns: repeat(3, 1fr); } }
.spend { margin-top: 24px; }
.spend-row { display: grid; gap: 6px; align-items: center; margin-bottom: 18px; }
.spend-name { font-weight: 700; }
.spend-bar { display: block; height: 28px; border-radius: 999px; background: var(--green); }
.w84 { width: 84%; }
.w9 { width: 9%; background: var(--red); }
.w7 { width: 7%; background: #E0A10B; }
.spend-val { font-weight: 700; }
@media (min-width: 900px) { .spend-row { grid-template-columns: 240px 1fr 70px; gap: 16px; } }

/* About */
.numbers { display: grid; gap: 16px; margin-top: 24px; }
.number { background: var(--tint); border-radius: 24px; padding: 26px; }
.number p:last-child { margin-bottom: 0; }
.num-big { font-size: 3.6rem; color: var(--red); margin-bottom: 4px; }
@media (min-width: 900px) { .numbers { grid-template-columns: repeat(3, 1fr); } }
.fail-note { background: var(--yellow); color: var(--green-deep); border-radius: 24px; padding: 26px; }
.fail-note p:last-child { margin-bottom: 0; font-weight: 700; }
.prose { max-width: 68ch; }

/* Footer */
.footer { background: var(--green-deep); color: #fff; padding: 56px 0 32px; font-size: 0.98rem; }
.footer a { color: #fff; }
.footer-grid { display: grid; gap: 28px; }
.footer-name { font: 600 1.4rem var(--font-display); margin-bottom: 8px; }
.footer .label { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--yellow); margin: 0 0 6px; }
.footer-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.footer-cta p { margin: 0; font-weight: 700; font-size: 1.1rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

/* Mobile action bar: Call / Get help / Directions */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--paper); border-top: 2px solid var(--ink);
}
.action-bar a { display: flex; align-items: center; justify-content: center; min-height: 56px; color: var(--green-deep); text-decoration: none; font-weight: 700; }
.action-bar a + a { border-left: 2px solid var(--tint); }
@media (min-width: 768px) { .action-bar { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-art { transform: none; }
}
