/* ===== Dignifeed — palette derived from logo =====
   Forest green : #435420  (bowl / "digni" wordmark)
   Terracotta   : #D86A1F  (hand / "feed" wordmark / heart)
   Warm gold    : #DA9F5B  (bread accent)
   Cream        : #FBF8F3  (background)
============================================================ */

:root {
  --green: #435420;
  --green-dark: #313d17;
  --orange: #d86a1f;
  --orange-dark: #b8580f;
  --gold: #da9f5b;
  --cream: #fbf8f3;
  --white: #ffffff;
  --ink: #2a2a22;
  --ink-soft: #5b5b4f;
  --border: #e9e3d6;

  /* Chart-only palette: brand-adjacent hues re-stepped to pass categorical
     CVD/contrast checks (validate_palette.js) — see donate page allocation chart. */
  --chart-green: #0f7a5a;
  --chart-orange: #c1541a;
  --chart-gold: #d9a520;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1120px;
}

* { 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;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--green-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 500;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1.5px solid transparent;
}
.btn-small { padding: 9px 20px; font-size: 0.88rem; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-outline:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 243, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 96px;
}

/* Homepage only: header floats transparently over the hero image instead of
   reserving its own layout space, so the hero background starts at the very top. */
body.home .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

body.home .site-header.is-scrolled {
  background: rgba(251, 248, 243, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand-logo {
  height: 68px;
  width: auto;
  display: block;
  animation: fb-float 5s ease-in-out infinite;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: -0.01em;
}
.brand-name em { color: var(--orange); font-style: normal; }

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.85;
}

.nav-cta-mobile { display: none; }
.nav a:hover { opacity: 1; color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  padding: 140px 0 88px;
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
  background-image: linear-gradient(rgba(253, 251, 246, 0.9), rgba(253, 251, 246, 0.2)), url("/images/hero-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

body.home .site-header .brand-name { color: var(--green-dark); }
body.home .site-header .brand-logo { filter: none; }
body.home .site-header .brand-name em { color: var(--orange); }
body.home .site-header .nav a { color: var(--ink); opacity: 0.85; }
body.home .site-header .nav a:hover { opacity: 1; color: var(--orange); }
body.home .site-header .nav-toggle span { background: var(--green-dark); }

/* Mobile dropdown has its own solid cream background, so nav links revert to dark ink there */
body.home .site-header .nav.nav-open a { color: var(--ink); opacity: 0.85; }
body.home .site-header .nav.nav-open a:hover { color: var(--orange); opacity: 1; }

.hero-inner {
  max-width: 720px;
  margin-left: 0;
  padding-left: 200px;
  text-align: left;
}

.hero-lede {
  font-size: 1.15rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.mission { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-bottom: 40px; }

.mission-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 0px;
}
.mission-top .section-head { margin-bottom: 32px; }

.mission-left {
  flex: 1;
  min-width: 0;
}

.mission-visual {
  flex-shrink: 0;
  width: 300px;
}

.mission-visual-pair {
  position: relative;
  width: 440px;
  height: 330px;
}

.mission-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.food-basket-img {
  width: 100%;
  height: auto;
  display: block;
  animation: fb-float 5s ease-in-out infinite;
}

.mission-visual-pair .food-basket-img {
  position: absolute;
  width: 48%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(49, 61, 23, 0.22));
  opacity: 0;
  transform: translateY(36px) scale(0.94);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.mission-visual-pair.is-visible .food-basket-img {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.food-basket-img-1 {
  top: 0;
  left: 0;
  z-index: 2;
  width: 57%;
  animation-delay: 0s;
  transition-delay: 0s;
}

.food-basket-img-2 {
  bottom: 0;
  left: 20%;
  z-index: 1;
  width: 51%;
  animation-delay: 0.6s;
  transition-delay: 0.18s;
}

.food-basket-img-3 {
  top: 20%;
  right: 0;
  z-index: 3;
  width: 55%;
  animation-delay: 1.1s;
  transition-delay: 0.36s;
}

@keyframes fb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .food-basket-img,
  .brand-logo,
  .footer-logo {
    animation: none;
  }
  .mission-visual-pair .food-basket-img {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Mission cards ===== */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 4px;
}

.card-text { flex: 1; }

.card-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  animation: fb-float 5s ease-in-out infinite;
}
.card-icon svg { width: 34px; height: 34px; }

.card:nth-child(1) .card-icon { animation-delay: 0s; }
.card:nth-child(2) .card-icon { animation-delay: 0.6s; }
.card:nth-child(3) .card-icon { animation-delay: 1.2s; }

.card-icon--gold { background: color-mix(in srgb, var(--gold) 20%, var(--white)); color: var(--gold); }
.card-icon--orange { background: color-mix(in srgb, var(--orange) 14%, var(--white)); color: var(--orange); }
.card-icon--green { background: color-mix(in srgb, var(--green) 14%, var(--white)); color: var(--green); }

@media (prefers-reduced-motion: reduce) {
  .card-icon { animation: none; }
}

.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; }

/* ===== How it works ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 20px;
  transition: transform 0.25s ease;
  cursor: default;
}

.step-number:hover {
  transform: scale(1.25);
}

.step h3 { margin-bottom: 8px; }
.step p { margin-bottom: 0; }

/* ===== Ways to help ===== */
.ways-to-help {
  background: #434c32;
  position: relative;
  overflow: hidden;
}
.ways-to-help h2,
.ways-to-help .section-head p { color: var(--white); }
.ways-to-help .section-head p { opacity: 0.85; }

.ways-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.ways-to-help > .container {
  position: relative;
  z-index: 1;
}

.ways-shape {
  transform-box: fill-box;
  transform-origin: center;
  animation: fb-float 6s ease-in-out infinite;
}
.ways-shape-1 { animation-delay: 0s; }
.ways-shape-2 { animation-delay: 0.8s; }
.ways-shape-3 { animation-delay: 1.6s; }
.ways-shape-4 { animation-delay: 2.4s; }
.ways-shape-5 { animation-delay: 3.2s; }
.ways-shape-6 { animation-delay: 1.2s; }
.ways-shape-7 { animation-delay: 2s; }
.ways-shape-8 { animation-delay: 2.8s; }

@media (prefers-reduced-motion: reduce) {
  .ways-shape { animation: none; }
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.help-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 36px;
}

.help-card h3 { color: var(--white); }
.help-card p { color: rgba(255, 255, 255, 0.75); }

.help-card .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.help-card .btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
  background-image: linear-gradient(rgba(251, 248, 243, 0.85), rgba(251, 248, 243, 0.85)), url("/images/footer-background.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-top: 1px solid var(--border);
  padding: 80px 0;
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-birds {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.footer-bird {
  opacity: 0.4;
  transform-box: fill-box;
  transform-origin: center;
  animation: fb-fly 6s ease-in-out infinite;
}
.footer-bird-1 { animation-delay: 0s; }
.footer-bird-2 { animation-delay: 0.8s; }
.footer-bird-3 { animation-delay: 1.6s; }
.footer-bird-4 { animation-delay: 2.4s; }
.footer-bird-5 { animation-delay: 3.2s; }

@keyframes fb-fly {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -6px); }
}

@media (prefers-reduced-motion: reduce) {
  .footer-bird { animation: none; }
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-links a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--orange); }

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-contact-col {
  display: flex;
  align-items: center;
  height: 100%;
}

.footer-contact-heading {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--green-dark);
  margin-top: 76px;
  margin-bottom: 14px;
}

.footer-logo {
  height: 72px;
  width: auto;
  margin-bottom: 4px;
  animation: fb-float 5s ease-in-out infinite;
}

.footer-brand { font-size: 1.35rem; }

.footer-tagline {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 4px 0 0;
  max-width: 380px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #000;
  opacity: 0.7;
  margin: 0;
  text-align: center;
}

/* ===== Donate page ===== */
.donate-section { background: var(--white); }

.donate-container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.donate-container .section-head { margin-bottom: 40px; }

.donate-card {
  width: 100%;
  max-width: 480px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  text-align: left;
}

.donate-payment-columns {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 48px;
  flex-wrap: wrap;
}

.donate-payment-col,
.donate-bank-col {
  flex: 1 1 380px;
  max-width: 480px;
  display: flex;
  flex-direction: column;
}

.donate-bank-col h2 { font-size: 1.6rem; margin-bottom: 8px; }
.donate-bank-col > p { margin-bottom: 24px; }
.donate-bank-col .bank-card { max-width: none; flex: 1; display: flex; flex-direction: column; justify-content: center; }

.donate-payment-col > h2 { font-size: 1.6rem; margin-bottom: 8px; }
.donate-payment-col > p { margin-bottom: 24px; }
.donate-payment-col .donate-card { flex: 1; display: flex; flex-direction: column; justify-content: center; }

.donate-frequency {
  display: flex;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 24px;
}

.freq-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.freq-btn.is-active { background: var(--green); color: var(--white); }

.donate-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.amount-btn {
  padding: 14px 0;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.amount-btn.is-active {
  border-color: var(--orange);
  background: color-mix(in srgb, var(--orange) 10%, transparent);
  color: var(--orange-dark);
}

.custom-amount {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.custom-amount input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: 1rem;
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
}
.custom-amount input:focus {
  outline: none;
  border-color: var(--orange);
}

.donate-error {
  background: color-mix(in srgb, #c0392b 10%, transparent);
  color: #a53125;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.donate-pay-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.btn-wide { width: 100%; text-align: center; border: none; cursor: pointer; }
.btn-wide:disabled { opacity: 0.7; cursor: not-allowed; }

.donate-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  opacity: 0.75;
  margin: 0;
  text-align: center;
}

.donate-status {
  min-height: 50vh;
  display: flex;
  align-items: center;
}
.donate-status-inner {
  max-width: 560px;
  text-align: center;
  margin: 0 auto;
}
.donate-status-inner .btn { margin: 8px; }

/* ===== Donate: intro ===== */
.donate-intro {
  padding-bottom: 24px;
  position: relative;
  overflow: hidden;
  background: #ffcc93;
}

.donate-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.donate-intro > .container {
  position: relative;
  z-index: 1;
}
.donate-attribution {
  font-size: 0.9rem;
  color: var(--ink-soft);
  opacity: 0.8;
  margin-top: -4px;
}

/* ===== Donate: three types ===== */
.donate-types {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.donate-types > .container { position: relative; z-index: 1; }

.donate-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.donate-type-card {
  position: relative;
  overflow: hidden;
  background: #ffead2;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.donate-type-card h3 { margin-bottom: 8px; }
.donate-type-card p { margin-bottom: 20px; }
.donate-type-card .btn { margin-top: auto; align-self: flex-start; }

/* ===== Donate: bank transfer ===== */
.bank-card {
  max-width: 520px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 36px;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.bank-row:last-of-type { border-bottom: none; }

.bank-label {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.bank-value {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 0.02em;
}

.bank-note {
  margin: 18px 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ===== Donate: where your donation goes ===== */
.donate-allocation { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.allocation-bar {
  display: flex;
  width: 100%;
  height: 16px;
  border-radius: 8px;
  overflow: hidden;
  gap: 2px;
  background: var(--border);
  margin-bottom: 40px;
}
.allocation-segment { display: block; height: 100%; }

.allocation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.allocation-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.allocation-value {
  display: block;
  font-family: var(--sans);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 10px;
}

.allocation-item h3 { margin-bottom: 6px; font-size: 1.1rem; }
.allocation-item p { margin-bottom: 0; font-size: 0.92rem; }

/* ===== Donate: corporate partnerships ===== */
.donate-corporate .section-head { max-width: 680px; }

/* ===== Get Involved page ===== */
.involve-section {
  position: relative;
  overflow: hidden;
}
.involve-section > .container { position: relative; z-index: 1; }

.involve-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}

.involve-card {
  position: relative;
  overflow: hidden;
  background: #ffead2;
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  padding: 32px;
}
.involve-card h3 { margin-bottom: 6px; }
.involve-card > .btn { margin-top: auto; align-self: flex-start; }

.card-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.involve-card > *:not(.card-art),
.donate-type-card > *:not(.card-art) {
  position: relative;
  z-index: 1;
}

.involve-tagline {
  font-weight: 600;
  color: var(--green-dark);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.involve-subhead {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.involve-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.involve-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.involve-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.champion-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.champion-item strong {
  display: block;
  font-family: var(--serif);
  color: var(--green-dark);
  font-size: 1rem;
  margin-bottom: 2px;
}
.champion-item span {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ===== Resources page ===== */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.resource-card {
  position: relative;
  overflow: hidden;
  background: #ffead2;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.resource-card > *:not(.card-art) {
  position: relative;
  z-index: 1;
}
.resource-card h3 { margin-bottom: 6px; }
.resource-card p { margin-bottom: 16px; font-size: 0.92rem; }

.resource-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.resource-links li {
  position: relative;
  padding-left: 20px;
}
.resource-links li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 600;
}
.resource-links a {
  color: var(--green-dark);
  font-weight: 600;
}
.resource-links a:hover { color: var(--orange); }

.resources-crisis .crisis-list {
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: center;
}
.crisis-item {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  margin: 0;
}
.crisis-item strong { color: var(--white); }
.crisis-item a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
}
.crisis-item a:hover { color: var(--gold); }

.resources-disclaimer {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 24px;
  text-align: center;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-soft);
}
.resources-disclaimer a {
  color: var(--orange);
  font-weight: 600;
  font-style: normal;
}

/* ===== Get Food page ===== */
.reg-gate {
  max-width: 480px;
  margin: 0 auto 8px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  text-align: center;
}
.reg-gate .field-label { text-align: left; margin-bottom: 10px; }
.reg-gate-row { display: flex; gap: 10px; margin-top: 8px; }
.reg-gate-row input { margin-top: 0; flex: 1; }
.reg-gate-row .btn { flex-shrink: 0; border: none; cursor: pointer; }
.reg-gate-hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.reg-gate-hint.is-satisfied { color: var(--green-dark); font-weight: 600; }
.reg-gate-hint.is-error { color: #a53125; font-weight: 600; }
.reg-gate-hint a { color: var(--orange); font-weight: 600; }

.basket-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.basket-categories {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.basket-category h3 {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.basket-item-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.basket-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
}

.basket-item-name { color: var(--ink); }

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 14px;
}
.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--green-dark);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.qty-btn:hover:not(:disabled) { border-color: var(--orange); color: var(--orange); }
.qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.qty-value {
  min-width: 18px;
  text-align: center;
  font-weight: 600;
  color: var(--ink);
}

.basket-summary {
  position: sticky;
  top: 100px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.basket-summary h3 { margin-bottom: 16px; }

.basket-summary-list { margin-bottom: 18px; }
.basket-empty {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}
.basket-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.basket-summary-item:last-child { border-bottom: none; }
.basket-summary-qty { color: var(--orange); font-weight: 600; }

/* ===== Contact page ===== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: stretch;
}

.contact-info .section-head { margin-bottom: 32px; }

.contact-info-panel {
  position: relative;
  overflow: hidden;
  background: #ffcc93;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-info-panel .section-head,
.contact-info-panel .contact-direct {
  position: relative;
  z-index: 1;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-direct-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  color: var(--green-dark);
}
.contact-direct-item:hover { color: var(--orange); }

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--orange) 14%, var(--white));
  color: var(--orange);
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }

.footer-contact-col .contact-icon {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
}

.contact-card {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  text-align: left;
}

.contact-success { text-align: center; }
.contact-success h3 { margin-bottom: 8px; }
.contact-success .btn { margin-top: 12px; }

.field-label {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.field-label .optional { opacity: 0.7; }
.field-label input,
.field-label textarea,
.field-label select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: 1rem;
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  resize: vertical;
}
.field-label input:focus,
.field-label textarea:focus,
.field-label select:focus {
  outline: none;
  border-color: var(--orange);
}

.field-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  opacity: 0.8;
}

/* ===== Signup page ===== */
.signup-card { max-width: 640px; }

.signup-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.signup-subheading {
  font-size: 1.1rem;
  color: var(--green-dark);
  margin: 8px 0 18px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.radio-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 18px;
}
.radio-fieldset legend {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 0;
  margin-bottom: 10px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radio-group-inline { flex-direction: row; gap: 24px; }

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
}
.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
  flex-shrink: 0;
  margin: 0;
}

.signup-privacy {
  margin: 18px 0 0;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--ink-soft);
  text-align: center;
}

/* ===== Admin page ===== */
.admin-section { padding-top: 56px; }

.admin-notice {
  background: color-mix(in srgb, var(--green) 12%, var(--white));
  border: 1px solid var(--green);
  color: var(--green-dark);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 0.92rem;
}

.admin-subhead {
  font-size: 1.3rem;
  margin: 40px 0 16px;
}

.admin-empty {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.admin-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.admin-card-header h3 { margin: 0; }
.admin-date { font-size: 0.82rem; color: var(--ink-soft); }

.admin-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 24px;
  margin-bottom: 18px;
}
.admin-fields p {
  font-size: 0.9rem;
  color: var(--ink);
  margin: 0;
}
.admin-fields strong { color: var(--ink-soft); font-weight: 600; }

.admin-actions {
  display: flex;
  gap: 12px;
}

.admin-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}
.admin-table-row {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr 1fr;
  gap: 12px;
  padding: 12px 18px;
  font-size: 0.9rem;
  background: var(--white);
}
.admin-table-row:nth-child(even) { background: var(--cream); }
.admin-code { font-weight: 700; color: var(--green-dark); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
  }
  .nav.nav-open { display: flex; }
  .nav a:not(.nav-cta-mobile) { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav a:not(.nav-cta-mobile):nth-last-child(3) { border-bottom: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .nav-cta-mobile {
    display: inline-block;
    text-align: center;
    margin: 8px 0 0;
  }
  .nav-cta-mobile:first-of-type { margin-top: 16px; }
  .steps, .help-grid, .donate-types-grid, .allocation-grid, .involve-grid, .champion-list, .contact-layout, .footer-columns, .resource-grid, .basket-layout { grid-template-columns: 1fr; }
  .basket-summary { position: static; }
  .footer-brand-col { align-items: center; text-align: center; }
  .footer-links-col { text-align: center; margin-top: 24px; }
  .footer-links { align-items: center; }
  .footer-contact-col { justify-content: center; margin-top: 24px; }
  .footer-contact-heading { margin-top: 0; text-align: center; width: 100%; }
  .bank-card { padding: 28px 24px; }
  .hero { padding: 64px 0 56px; }
  .hero-inner { padding-left: 20px; padding-top: 80px; }
  .section { padding: 56px 0; }
  .mission-top { flex-direction: column; align-items: flex-start; }
  .mission-visual { width: 200px; align-self: center; }
  .mission-visual-pair { width: 300px; height: 260px; }
}
