/* ============================================================
   MISSION SOWERS — GLOBAL STYLESHEET
   Neo-Brutalist Design System
   Brand: Forest Green #12530D · Hopeful Yellow #FFA700
   Fonts: Fraunces (display) · Inter Tight (body)
   ============================================================ */


/* ── 1. TOKENS ─────────────────────────────────────────────── */
:root {
  /* ─ Primary brand palette (PDF-confirmed) ─ */
  --green:        #12530D;
  --green-deep:   #0A3508;
  --green-mid:    #1B6B15;
  --yellow:       #FFA700;
  --yellow-dark:  #CC8500;
  --yellow-light: #FFD166;

  /* ─ UI surfaces ─ */
  --bg:      #FDFAF3;   /* warm near-white — default page bg */
  --surface: #F8F4EB;   /* cream — alt section bg, cards */
  --white:   #FFFFFF;

  /* ─ Ink (near-black) — borders, shadows, headings ─ */
  --ink:       #1A1611;
  --ink-body:  #2D2620;
  --ink-mute:  #5A4F44;
  --ink-faint: #8A7D70;
  --ink-line:  rgba(26,22,17,0.10);

  /* ─ On-dark text (used on green/ink sections) ─ */
  --on-dark:       #F8F4EB;
  --on-dark-mute:  #E6CC8A;
  --on-dark-label: #FFA700;
  --on-dark-line:  rgba(248,244,235,0.15);

  /* ─ Typography ─ */
  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ─ Neo-brutalist system ─ */
  --bw:        3px;                   /* border width */
  --bw-thick:  4px;
  --shadow:    6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow-xs: 2px 2px 0 var(--ink);

  /* ─ Layout ─ */
  --max:    1280px;
  --gutter: clamp(20px, 5vw, 80px);
}


/* ── 2. RESET ──────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light only;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
::selection { background: var(--yellow); color: var(--ink); }


/* ── 3. TYPOGRAPHY ─────────────────────────────────────────── */

/* Display headings — Fraunces variable */
h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-variation-settings: "SOFT" 50;
}

h1 { font-size: clamp(42px, 6.5vw, 88px); font-weight: 800; }
h2 { font-size: clamp(32px, 4.5vw, 64px); font-weight: 700; }
h3 { font-size: clamp(24px, 3vw,  40px); font-weight: 600; }
h4 { font-size: clamp(19px, 2.2vw, 28px); font-weight: 600; }

h5, h6 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
}

p { line-height: 1.7; }

/* Section eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--yellow-dark);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: var(--bw);
  background: currentColor;
  flex-shrink: 0;
}

/* On dark sections */
.eyebrow-light {
  color: var(--on-dark-label);
}
.eyebrow-light::before { background: var(--on-dark-label); }

/* Section lede — body intro paragraph */
.lede {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;
  color: var(--ink-body);
  max-width: 640px;
}

/* Display number (huge italic serif) */
.display-num {
  font-family: var(--serif);
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 300;
  font-style: italic;
  line-height: 0.85;
  color: var(--yellow);
  font-variation-settings: "SOFT" 100;
  user-select: none;
}

/* Pull quote */
blockquote, .pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 28px);
  line-height: 1.4;
  border-left: var(--bw-thick) solid var(--yellow);
  padding-left: 24px;
  font-variation-settings: "SOFT" 80;
  color: var(--ink);
}

/* Large centred quote */
.quote-display {
  font-family: var(--serif);
  font-size: clamp(26px, 3.8vw, 48px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 80;
}

.attribution {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-top: 10px;
}


/* ── 4. LAYOUT ─────────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(80px, 10vw, 140px);
}

/* Full-bleed section wrappers */
.section-cream { background: var(--surface); }

.section-green {
  background: var(--green);
  color: var(--on-dark);
}
.section-green h1,
.section-green h2,
.section-green h3,
.section-green h4 { color: var(--on-dark); }
.section-green .lede { color: var(--on-dark); opacity: 0.88; }
.section-green p    { color: var(--on-dark); }

.section-deep {
  background: var(--green-deep);
  color: var(--on-dark);
}
.section-deep h1,
.section-deep h2,
.section-deep h3,
.section-deep h4 { color: var(--on-dark); }
.section-deep .lede { color: var(--on-dark); opacity: 0.88; }

.section-ink {
  background: var(--ink);
  color: var(--on-dark);
}
.section-ink h1,
.section-ink h2,
.section-ink h3,
.section-ink h4 { color: var(--on-dark); }
.section-ink .lede { color: var(--on-dark); opacity: 0.88; }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}


/* ── 5. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow);
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover,
.btn:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: var(--shadow-xs);
  outline: none;
}
.btn:active {
  transform: translate(6px, 6px);
  box-shadow: none;
}

/* Arrow nudge */
.btn .arrow { transition: transform 0.15s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* Variants */
.btn-primary { background: var(--green);  color: var(--white); }
.btn-accent  { background: var(--yellow); color: var(--ink); }
.btn-outline { background: transparent;   color: var(--ink); }
.btn-dark    { background: var(--ink);    color: var(--on-dark); border-color: var(--ink); }
.btn-white   { background: var(--white);  color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--on-dark); border-color: var(--on-dark-line); }
.btn-outline-light:hover { background: var(--on-dark); color: var(--ink); }

/* Sizes */
.btn-sm { padding: 10px 20px; font-size: 11px; box-shadow: var(--shadow-xs); }
.btn-sm:hover { box-shadow: none; }
.btn-lg { padding: 18px 36px; font-size: 13px; }


/* ── 6. CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--bg);
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow);
  padding: 36px;
  border-radius: 0;
  position: relative;
}

/* Card size variants */
.card-sm { padding: 24px; }
.card-lg { padding: 48px; }

/* Card colour variants */
.card-surface { background: var(--surface); }
.card-green   { background: var(--green); color: var(--on-dark); }
.card-green h2, .card-green h3, .card-green h4 { color: var(--on-dark); }
.card-accent  { background: var(--yellow); color: var(--ink); }
.card-ink     { background: var(--ink);   color: var(--on-dark); }
.card-ink h2, .card-ink h3, .card-ink h4 { color: var(--on-dark); }

/* Hover lift (opt-in) */
.card-hover {
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  cursor: pointer;
}
.card-hover:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}

/* Rotated "sticker" card */
.card-sticker { transform: rotate(-1.5deg); }
.card-sticker:hover { transform: rotate(0deg); }


/* ── 7. BADGES ─────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 5px 14px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.5;
  border: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  border-radius: 0;
}
.badge-green  { background: var(--green); color: var(--white); border-color: var(--green); }
.badge-white  { background: var(--white); color: var(--ink); }
.badge-rotate { transform: rotate(-2deg); display: inline-block; }


/* ── 8. FORM CONTROLS ──────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-body);
  background: var(--bg);
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-sm);
  border-radius: 0;
  outline: none;
  transition: transform 0.08s, box-shadow 0.08s;
  -webkit-appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-xs);
}
.form-textarea { resize: vertical; min-height: 160px; line-height: 1.6; }

.form-input::placeholder,
.form-textarea::placeholder { color: var(--ink-faint); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* On-dark forms */
.form-dark .form-label { color: var(--on-dark); }
.form-dark .form-input,
.form-dark .form-textarea { background: rgba(255,255,255,0.08); color: var(--on-dark); border-color: var(--on-dark-line); box-shadow: none; }
.form-dark .form-input:focus,
.form-dark .form-textarea:focus { border-color: var(--yellow); transform: none; }
.form-dark .form-input::placeholder,
.form-dark .form-textarea::placeholder { color: var(--on-dark-mute); opacity: 0.6; }

/* Inline form (newsletter bar) */
.form-inline {
  display: flex;
  gap: 0;
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow);
}
.form-inline .form-input {
  border: none;
  box-shadow: none;
  flex: 1;
}
.form-inline .form-input:focus { transform: none; }
.form-inline .btn { box-shadow: none; border: none; border-left: var(--bw) solid var(--ink); }


/* ── 9. PATTERN UTILITIES ──────────────────────────────────── */

/* Full pattern section background */
.pattern-bg {
  background-image: url('../images/patterns/pattern-section.png');
  background-size: 280px 280px;
  background-repeat: repeat;
}

/* Pattern as low-opacity section overlay (add to wrapper, children sit above) */
.pattern-overlay {
  position: relative;
  isolation: isolate;
}
.pattern-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/patterns/pattern-section.png');
  background-size: 260px 260px;
  background-repeat: repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
.pattern-overlay > * { position: relative; z-index: 1; }

/* Photo surrounded by pattern-frame mat (Pattern Two as decorative padding) */
.pattern-frame-wrap {
  display: inline-block;
  padding: 14px;
  background-image: url('../images/patterns/pattern-frame.png');
  background-size: 70px 70px;
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow);
}
.pattern-frame-wrap img {
  display: block;
  border: var(--bw) solid var(--ink);
  width: 100%;
}

/* Hard-shadow image frame (no pattern) */
.img-frame {
  display: block;
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.img-frame::after {
  content: '';
  position: absolute;
  inset: 8px;
  outline: 2px solid rgba(255,167,0,0.55);
  pointer-events: none;
  z-index: 2;
}
.img-frame img { display: block; width: 100%; }

/* Faint brand watermark overlay */
.watermark-wrap {
  position: relative;
  isolation: isolate;
}
.watermark-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/watermarks/watermark-1.png') center / 38% no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.watermark-wrap > * { position: relative; z-index: 1; }


/* ── 10. TAGLINE MARQUEE STRIP ─────────────────────────────── */
.marquee-strip {
  background: var(--green-deep);
  color: var(--on-dark);
  padding-block: 18px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-top: var(--bw) solid var(--ink);
  border-bottom: var(--bw) solid var(--ink);
}
.marquee-strip::before,
.marquee-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-strip::before { left: 0;  background: linear-gradient(90deg,  var(--green-deep), transparent); }
.marquee-strip::after  { right: 0; background: linear-gradient(-90deg, var(--green-deep), transparent); }

.marquee-track {
  display: inline-block;
  animation: marquee 40s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 36px);
  font-style: italic;
  padding-inline: 24px;
  font-variation-settings: "SOFT" 80;
  color: var(--on-dark);
}
.marquee-dot {
  width: 7px;
  height: 7px;
  background: var(--yellow);
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ── 11. STAT STRIP ────────────────────────────────────────── */
.stat-strip {
  background: var(--surface);
  border-top: var(--bw) solid var(--ink);
  border-bottom: var(--bw) solid var(--ink);
  padding-block: 52px;
}
.stat-strip .container,
.stat-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 56px;
  align-items: center;
  justify-content: center;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.stat-strip-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.stat-strip-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}
.display-num {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: var(--yellow);
  font-variation-settings: "SOFT" 100;
}
@media (max-width: 700px) {
  .stat-strip .container { grid-template-columns: 1fr; gap: 24px; }
  .stat-strip-inner { gap: 28px 40px; justify-content: flex-start; }
  .stat-divider { display: none; }
}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: var(--green);
  font-variation-settings: "SOFT" 100;
}
.stat-num em { color: var(--yellow-dark); font-style: normal; }
.stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  margin-top: 8px;
}
.stat-divider {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--yellow);
  text-align: center;
}


/* ── 12. PARTNER CARDS ─────────────────────────────────────── */
.partner-card {
  background: var(--bg);
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
}
.partner-icon {
  width: 56px;
  height: 56px;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  border: var(--bw) solid var(--ink);
  flex-shrink: 0;
  font-variation-settings: "SOFT" 100;
}
.partner-icon.yellow { background: var(--yellow); color: var(--ink); }
.partner-role {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--yellow-dark);
  margin-bottom: 10px;
}
.partner-card h4 { margin-bottom: 4px; }
.partner-card p { font-size: 14px; line-height: 1.65; color: var(--ink-body); }


/* ── 13. TIMELINE ──────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 44px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px; bottom: 8px;
  width: var(--bw);
  background: var(--ink-line);
}
.timeline-item {
  position: relative;
  padding-block: 20px 32px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 28px;
  width: 22px;
  height: 22px;
  background: var(--bg);
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-xs);
}
.timeline-item.done::before  { background: var(--green); border-color: var(--green); }
.timeline-item.now::before   { background: var(--yellow); animation: tl-pulse 2.2s ease-in-out infinite; }
@keyframes tl-pulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(255,167,0,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(255,167,0,0); }
}
.timeline-year {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--yellow-dark);
  margin-bottom: 4px;
  font-variation-settings: "SOFT" 80;
}
.now-tag {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 2px 9px;
  font-size: 9px;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-left: 10px;
  vertical-align: middle;
}
.timeline-item h4 { margin-bottom: 8px; color: var(--ink); }
.timeline-item p  { font-size: 15px; line-height: 1.65; color: var(--ink-body); max-width: 600px; }


/* ── 14. GIVING TIERS ──────────────────────────────────────── */
.tier-card {
  background: var(--bg);
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow);
  padding: 32px 26px;
  position: relative;
  transition: transform 0.1s, box-shadow 0.1s;
}
.tier-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}
.tier-card.featured {
  background: var(--green);
  color: var(--on-dark);
}
.tier-card.featured h3 { color: var(--on-dark); }
.tier-amt {
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow-dark);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.tier-card.featured .tier-amt { color: var(--yellow-light); }
.tier-desc { font-size: 14px; line-height: 1.65; color: var(--ink-body); }
.tier-card.featured .tier-desc { color: var(--on-dark); opacity: 0.85; }
.tier-badge {
  position: absolute;
  top: -12px;
  right: 20px;
}


/* ── 15. BUDGET TABLE ──────────────────────────────────────── */
.budget-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
}
.budget-table tr { border-bottom: 1px solid var(--ink-line); }
.budget-table tr:first-child { border-top: var(--bw) solid var(--ink); }
.budget-table tr.total-row { border-top: var(--bw-thick) solid var(--ink); border-bottom: var(--bw-thick) solid var(--ink); }
.budget-table td { padding: 22px 8px; font-size: 15px; vertical-align: top; color: var(--ink); }
.budget-table td.col-label { font-family: var(--serif); font-weight: 500; font-size: 17px; }
.budget-table td.col-note  { font-size: 13px; color: var(--ink-mute); font-style: italic; }
.budget-table td.col-amt   { text-align: right; font-weight: 700; font-feature-settings: 'tnum'; white-space: nowrap; }
.budget-table tr.total-row td { font-weight: 800; font-size: 20px; }
.budget-table tr.total-row td.col-amt { color: var(--yellow-dark); font-family: var(--serif); }
@media (max-width: 600px) {
  .budget-table td { padding: 16px 4px; font-size: 13px; }
  .budget-table td.col-note { display: none; }
}


/* ── 16. SITE HEADER / NAV ─────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: var(--bw) solid var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin-inline: auto;
  padding: 14px var(--gutter);
}

.site-logo img {
  height: 44px;
  width: auto;
  display: block;
}

/* Desktop nav list */
.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-nav .nav-list a {
  display: block;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  transition: background 0.08s, color 0.08s;
  border: 2px solid transparent;
}
.site-nav .nav-list a:hover,
.site-nav .nav-list a.active {
  background: var(--ink);
  color: var(--on-dark);
}
.site-nav .nav-list a.active { border-color: var(--ink); }

.nav-cta { flex-shrink: 0; }

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border: var(--bw) solid var(--ink);
  background: transparent;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: transform 0.08s, box-shadow 0.08s;
}
.nav-toggle:hover { transform: translate(2px,2px); box-shadow: none; }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.22s ease, opacity 0.15s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile full-screen overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--green);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 90px var(--gutter) 48px;
  overflow-y: auto;
}
.nav-overlay.is-open { display: flex; }
.nav-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/patterns/pattern-section.png');
  background-size: 200px 200px;
  opacity: 0.07;
  pointer-events: none;
}
.nav-overlay .nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
}
.nav-overlay .nav-list a {
  font-family: var(--serif);
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 700;
  color: var(--on-dark);
  padding: 6px 0;
  text-transform: none;
  letter-spacing: -0.01em;
  border: none;
  background: transparent;
  transition: color 0.12s;
  font-variation-settings: "SOFT" 50;
}
.nav-overlay .nav-list a:hover,
.nav-overlay .nav-list a.active { color: var(--yellow); background: transparent; }
.nav-overlay-footer {
  position: relative;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nav-overlay-socials {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.nav-overlay-socials a {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--on-dark);
  opacity: 0.65;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.15s, color 0.15s;
}
.nav-overlay-socials a:hover { opacity: 1; color: var(--yellow); }

body.nav-open { overflow: hidden; }

@media (max-width: 960px) {
  .site-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}


/* ── 17. SITE FOOTER ───────────────────────────────────────── */
.site-footer {
  background: var(--green);
  color: var(--on-dark);
  border-top: var(--bw) solid var(--ink);
  position: relative;
  isolation: isolate;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/patterns/pattern-section.png');
  background-size: 260px 260px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.site-footer > * { position: relative; z-index: 1; }

.footer-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 80px var(--gutter) 60px;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid var(--on-dark-line);
}

.footer-logo { margin-bottom: 14px; }
.footer-logo img { height: 64px; width: auto; }

.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--yellow);
  margin-bottom: 14px;
  font-variation-settings: "SOFT" 80;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--on-dark);
  opacity: 0.72;
  max-width: 300px;
  margin-bottom: 28px;
}
.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-socials a {
  display: inline-block;
  padding: 7px 14px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 2px solid rgba(248,244,235,0.25);
  color: var(--on-dark);
  transition: border-color 0.15s, color 0.15s;
}
.footer-socials a:hover { border-color: var(--yellow); color: var(--yellow); }

.footer-col h5 {
  color: var(--yellow);
  margin-bottom: 20px;
  font-size: 10px;
  letter-spacing: 0.22em;
}
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: 14px;
  color: var(--on-dark);
  opacity: 0.72;
  transition: opacity 0.15s, color 0.15s;
}
.footer-col a:hover { color: var(--yellow); opacity: 1; }

.footer-bottom {
  max-width: var(--max);
  margin-inline: auto;
  padding: 24px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--on-dark);
  opacity: 0.45;
}

@media (max-width: 1000px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
}


/* ── 18. SKIP LINK (accessibility) ────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 20px;
  font-weight: 700;
  font-size: 13px;
  border: var(--bw) solid var(--ink);
  z-index: 9999;
  transition: top 0.1s;
}
.skip-link:focus { top: 8px; }


/* ── 19. ANIMATIONS ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease-out forwards;
  animation-play-state: paused;
}
.fade-up.d1 { animation-delay: 0.10s; }
.fade-up.d2 { animation-delay: 0.25s; }
.fade-up.d3 { animation-delay: 0.40s; }
.fade-up.d4 { animation-delay: 0.55s; }


/* ── 20. UTILITIES ─────────────────────────────────────────── */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap    { flex-wrap: wrap; }
.flex-col     { flex-direction: column; }
.mt-auto      { margin-top: auto; }

.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

.max-prose { max-width: 680px; }
.max-narrow { max-width: 480px; }

/* ── 33. TIER CARD EXTENDED ──────────────────────────────── */
/* Extends .tier-card defined in section 14 */
.tier-name {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.tier-card.featured .tier-name { color: var(--on-dark-label); }
.tier-amount {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  font-style: italic;
  color: var(--green);
  line-height: 1;
  margin-bottom: 24px;
  font-variation-settings: "SOFT" 100;
}
.tier-card.featured .tier-amount { color: var(--yellow-light); }
.tier-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-body);
  flex: 1;
}
.tier-card.featured .tier-perks { color: var(--on-dark); opacity: 0.85; }
.tier-perks li::before {
  content: '✓ ';
  color: var(--green);
  font-weight: 700;
}
.tier-card.featured .tier-perks li::before { color: var(--yellow); }
.tier-featured-label {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  margin-bottom: 14px;
  border: 2px solid var(--ink);
}

/* Budget table — thead/tbody/tfoot version */
.budget-table thead th {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 12px 8px;
  border-bottom: var(--bw) solid var(--ink);
  text-align: left;
  color: var(--ink-mute);
}
.budget-table thead th.text-right { text-align: right; }
.budget-table tfoot tr { border-top: var(--bw-thick) solid var(--ink); }
.budget-table tfoot td { padding-top: 20px; font-weight: 700; }

/* Responsive 2-col content layout used on About, Programs, Volunteer, Partner */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.content-grid-wide {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 800px) {
  .content-grid,
  .content-grid-wide { grid-template-columns: 1fr; gap: 40px; }
}
.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 700px) {
  .donate-grid { grid-template-columns: 1fr; }
}

/* ── 21. ANIMATION DELAYS ───────────────────────────────── */
.d1 { transition-delay: 0.08s; animation-delay: 0.08s; }
.d2 { transition-delay: 0.16s; animation-delay: 0.16s; }
.d3 { transition-delay: 0.24s; animation-delay: 0.24s; }
.d4 { transition-delay: 0.32s; animation-delay: 0.32s; }
.d5 { transition-delay: 0.40s; animation-delay: 0.40s; }

/* ── 22. HERO SECTION (Home) ────────────────────────────── */
.hero-section {
  border-bottom: var(--bw) solid var(--ink);
  background: var(--bg);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: clamp(72px, 10vh, 120px);
}
.hero-content { max-width: 580px; }
.hero-content h1 { margin-bottom: 24px; }
.hero-content h1 em {
  font-style: italic;
  color: var(--yellow-dark);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 48px;
  border-top: var(--bw) solid var(--ink-line);
  padding-top: 28px;
  flex-wrap: wrap;
}
.hero-stat {
  flex: 1 1 100px;
  padding-right: 24px;
  min-width: 80px;
}
.hero-stat + .hero-stat {
  border-left: 2px solid var(--ink-line);
  padding-left: 24px;
  padding-right: 24px;
}
.hero-stat-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(16px, 2.4vw, 24px);
  font-weight: 300;
  font-style: italic;
  color: var(--green);
  line-height: 1;
  font-variation-settings: "SOFT" 100;
}
.hero-stat-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin-top: 6px;
}

/* Hero photo collage */
.hero-visual { position: relative; }
.hero-collage {
  position: relative;
  padding-bottom: 48px;
  padding-right: 36px;
}
.collage-main {
  overflow: hidden;
  border: var(--bw-thick) solid var(--ink);
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
  max-height: 520px;
}
.collage-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.collage-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 44%;
  aspect-ratio: 2/3;
  overflow: hidden;
  border: var(--bw) solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(2.5deg);
  background: var(--surface);
}
.collage-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}
.collage-tag {
  position: absolute;
  top: 18px;
  left: -8px;
  z-index: 3;
  transform: rotate(-3deg);
}

@media (max-width: 940px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content { max-width: none; }
  .hero-visual { max-width: 440px; }
  .hero-stats { gap: 0; }
}
@media (max-width: 520px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}

/* ── 23. PAGE PREVIEW CARDS ─────────────────────────────── */
.page-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: var(--bw) solid var(--ink);
  border-left: var(--bw) solid var(--ink);
  margin-top: 48px;
}
.page-card {
  display: flex;
  flex-direction: column;
  border-right: var(--bw) solid var(--ink);
  border-bottom: var(--bw) solid var(--ink);
  padding: 32px 28px 28px;
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: background 0.1s;
  position: relative;
}
.page-card:hover { background: var(--surface); }
.page-card:hover .page-card-arrow { transform: translate(4px, -4px); }
.page-card-num {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 300;
  font-style: italic;
  line-height: 0.9;
  color: var(--yellow);
  margin-bottom: 18px;
  font-variation-settings: "SOFT" 100;
}
.page-card h3 { font-size: 20px; margin-bottom: 10px; }
.page-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-body);
  flex: 1;
  margin-bottom: 22px;
}
.page-card-arrow {
  display: block;
  font-size: 20px;
  color: var(--yellow-dark);
  transition: transform 0.14s ease;
  margin-top: auto;
}

@media (max-width: 860px) {
  .page-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .page-cards-grid { grid-template-columns: 1fr; }
}

/* ── 24. STORY PREVIEW (Freddie) ────────────────────────── */
.story-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  align-items: stretch;
}
.story-preview-image {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  border-right: var(--bw) solid rgba(255,255,255,0.12);
}
.story-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.story-preview-text {
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.story-preview-text h2 {
  color: var(--on-dark);
  margin-bottom: 20px;
}
.story-preview-text h2 em {
  color: var(--yellow);
  font-style: italic;
}
.story-preview-text p {
  color: var(--on-dark);
  opacity: 0.82;
  margin-bottom: 20px;
  line-height: 1.7;
}
.pull-quote {
  border-left: 4px solid var(--yellow);
  padding-left: 20px;
  margin: 24px 0;
  font-family: var(--serif);
  font-size: clamp(17px, 2.2vw, 22px);
  font-style: italic;
  font-weight: 300;
  color: var(--on-dark);
  font-variation-settings: "SOFT" 80;
  line-height: 1.5;
}
.attribution {
  font-size: 13px;
  color: var(--on-dark-mute);
  font-style: italic;
}

@media (max-width: 800px) {
  .story-preview-grid { grid-template-columns: 1fr; }
  .story-preview-image {
    min-height: 340px;
    border-right: none;
    border-bottom: var(--bw) solid rgba(255,255,255,0.12);
  }
}

/* ── 25. PARTNERS STRIP ─────────────────────────────────── */
.partners-strip-section {
  border-top: var(--bw) solid var(--ink);
  border-bottom: var(--bw) solid var(--ink);
  padding-block: 36px;
  background: var(--bg);
}
.partners-strip-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.partners-strip-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  flex-shrink: 0;
  margin-right: 12px;
  white-space: nowrap;
}
.partner-chip {
  display: flex;
  flex-direction: column;
  border: var(--bw) solid var(--ink);
  padding: 10px 16px;
  box-shadow: var(--shadow-xs);
  background: var(--surface);
  line-height: 1.3;
}
.partner-chip strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.partner-chip small {
  font-size: 10px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── 26. DUAL CTA BLOCKS ─────────────────────────────────── */
.cta-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow);
}
.cta-block {
  padding: clamp(36px, 5.5vw, 70px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-block:first-child {
  border-right: var(--bw) solid var(--ink);
}
.cta-block-green {
  background: var(--green);
  color: var(--on-dark);
}
.cta-block-green h2 { color: var(--on-dark); margin: 0; }
.cta-block-green p  { color: var(--on-dark); opacity: 0.82; margin: 0; }
.cta-block-accent {
  background: var(--yellow);
  color: var(--ink);
}
.cta-block-accent h2 { color: var(--ink); margin: 0; }
.cta-block-accent p  { color: var(--ink-body); margin: 0; }

@media (max-width: 700px) {
  .cta-blocks { grid-template-columns: 1fr; }
  .cta-block:first-child {
    border-right: none;
    border-bottom: var(--bw) solid var(--ink);
  }
}

/* ── 27. BEFORE/AFTER SHIFT CARDS ───────────────────────── */
.shift-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 48px;
}
.shift-card {
  padding: 36px;
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-sm);
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.shift-card.shift-before { background: var(--bg); }
.shift-card.shift-after  { background: var(--ink); }
.shift-card.shift-after h3 { color: var(--on-dark); }
.shift-card.shift-after h3 em { color: var(--yellow); font-style: italic; }
.shift-card.shift-after p  { color: var(--on-dark); opacity: 0.82; }
.shift-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.shift-card.shift-after .shift-label { color: var(--on-dark-label); }
.shift-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 48px;
  color: var(--yellow-dark);
  padding: 0 4px;
  font-variation-settings: "SOFT" 0;
}

@media (max-width: 720px) {
  .shift-grid { grid-template-columns: 1fr; }
  .shift-arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* ── 28. GALLERY GRID + LIGHTBOX ────────────────────────── */
.gallery-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.gallery-filter {
  padding: 8px 18px;
  border: var(--bw) solid var(--ink);
  background: var(--bg);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
  box-shadow: var(--shadow-xs);
}
.gallery-filter:hover,
.gallery-filter.active {
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: none;
  transform: translate(2px, 2px);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.gallery-item {
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
  text-align: left;
  display: block;
  width: 100%;
}
.gallery-item-inner {
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.gallery-item:hover .gallery-item-inner {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}
.gallery-item img {
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
  display: block;
}
.gallery-item-caption {
  padding: 10px 14px 12px;
  font-size: 12px;
  color: var(--ink-mute);
  font-style: italic;
  font-family: var(--serif);
  border-top: 1px solid var(--ink-line);
  background: var(--surface);
}
.gallery-item[data-hidden="true"] { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26,22,17,0.95);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lb-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}
.lb-figure { margin: 0; }
.lb-figure img {
  max-height: 80vh;
  max-width: 100%;
  border: var(--bw-thick) solid var(--ink);
  box-shadow: var(--shadow);
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.lb-figure figcaption {
  font-size: 13px;
  color: rgba(248,244,235,0.6);
  margin-top: 14px;
  font-style: italic;
  font-family: var(--serif);
}
.lb-close {
  position: fixed;
  top: 16px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--ink);
  border: var(--bw) solid var(--on-dark);
  color: var(--on-dark);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 501;
  line-height: 1;
}
.lb-close:hover { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.lb-prev, .lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 64px;
  background: var(--ink);
  border: var(--bw) solid var(--on-dark);
  color: var(--on-dark);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 501;
}
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-prev:hover, .lb-next:hover { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.lb-prev:disabled, .lb-next:disabled { opacity: 0.25; cursor: default; }
body.lb-open { overflow: hidden; }

/* ── 29. ADMIN PANEL ─────────────────────────────────────── */
.admin-wrap { min-height: 100vh; background: var(--bg); font-family: var(--sans); }
.admin-header {
  background: var(--ink);
  color: var(--on-dark);
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 4px solid var(--green);
}
.admin-header-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--on-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-header-title span { color: var(--yellow); }
.admin-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px var(--gutter) 80px;
}
.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: var(--bw) solid var(--ink);
}
.admin-filter-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.admin-filter-btn {
  padding: 6px 16px;
  border: var(--bw) solid var(--ink);
  background: var(--bg);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  display: inline-block;
  box-shadow: var(--shadow-xs);
}
.admin-filter-btn:hover,
.admin-filter-btn.active {
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: none;
  transform: translate(2px, 2px);
}
.admin-table-wrap {
  overflow-x: auto;
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-sm);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 700px;
}
.admin-table thead th {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 12px 14px;
  background: var(--ink);
  color: var(--on-dark);
  text-align: left;
  white-space: nowrap;
}
.admin-table tbody td {
  padding: 12px 14px;
  vertical-align: top;
  border-bottom: 1px solid var(--ink-line);
  color: var(--ink-body);
}
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: var(--surface); }
.admin-table .td-msg {
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink-mute);
  font-style: italic;
}
.status-pill {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.status-new      { background: var(--yellow); color: var(--ink); }
.status-contacted { background: var(--green); color: var(--white); }
.type-pill {
  display: inline-block;
  border: 2px solid var(--ink);
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.admin-action-form { display: inline; }
.admin-action-btn {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border: 2px solid currentColor;
  background: transparent;
  cursor: pointer;
  margin-right: 4px;
  text-decoration: none;
  display: inline-block;
}
.admin-action-btn.mark { color: var(--green); }
.admin-action-btn.mark:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.admin-action-btn.del { color: #c0392b; }
.admin-action-btn.del:hover { background: #c0392b; color: var(--white); border-color: #c0392b; }
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  padding: 24px;
}
.admin-login-card {
  background: var(--bg);
  border: var(--bw-thick) solid var(--yellow);
  box-shadow: 8px 8px 0 var(--yellow);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
}
.admin-login-card h1 {
  font-size: 24px;
  margin-bottom: 8px;
}
.admin-login-card .subtitle {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 32px;
  display: block;
}
.admin-error {
  background: #fef0f0;
  border: 2px solid #c0392b;
  padding: 12px 16px;
  font-size: 13px;
  color: #c0392b;
  font-weight: 600;
  margin-bottom: 20px;
}
.admin-empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--ink-mute);
  font-style: italic;
  font-family: var(--serif);
  border: var(--bw) dashed var(--ink-faint);
}
.admin-count-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  margin-left: 8px;
}
.admin-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.admin-pagination a, .admin-pagination span {
  display: inline-block;
  padding: 8px 14px;
  border: var(--bw) solid var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}
.admin-pagination a:hover { background: var(--ink); color: var(--on-dark); }
.admin-pagination .current { background: var(--ink); color: var(--on-dark); }

/* ── 30. VOLUNTEER & PARTNER PAGE COMPONENTS ────────────── */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.role-card {
  padding: 32px;
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-sm);
  background: var(--bg);
}
.role-icon {
  width: 44px;
  height: 44px;
  background: var(--yellow);
  border: var(--bw) solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
}
.role-card h3 { font-size: 20px; margin-bottom: 10px; }

@media (max-width: 640px) {
  .roles-grid { grid-template-columns: 1fr; }
}

/* ── 31. DONATE PAGE ─────────────────────────────────────── */
.bank-details-box {
  border: var(--bw-thick) solid var(--ink);
  box-shadow: var(--shadow);
  background: var(--surface);
  padding: 36px;
  margin-top: 16px;
}
.bank-details-box dt {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin-top: 16px;
}
.bank-details-box dt:first-child { margin-top: 0; }
.bank-details-box dd {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--sans);
  margin-left: 0;
  margin-top: 4px;
}
.flutterwave-block {
  margin-top: 32px;
  padding: 32px;
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-xs);
  background: var(--yellow-light);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.flutterwave-block p {
  flex: 1;
  min-width: 200px;
  margin: 0;
  font-size: 15px;
}

/* ── 34. BLOG — PUBLIC ───────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow);
}
.blog-card {
  padding: 32px;
  border-right: var(--bw) solid var(--ink);
  border-bottom: var(--bw) solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
  transition: background 0.15s;
}
.blog-card:hover { background: var(--surface); }
.blog-card:nth-child(3n) { border-right: none; }
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card:nth-child(3n)  { border-right: var(--bw) solid var(--ink); }
  .blog-card:nth-child(2n)  { border-right: none; }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card { border-right: none; }
}
.blog-card-date {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}
.blog-card-title {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.25;
  font-variation-settings: "SOFT" 30;
}
.blog-card-title a {
  text-decoration: none;
  color: var(--ink);
}
.blog-card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-body);
  flex: 1;
}
.blog-card-link {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--green);
  margin-top: auto;
}
.blog-card-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.blog-empty {
  padding: 64px 0;
  color: var(--ink-mute);
  font-size: 16px;
}

/* Blog single post */
.blog-back-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--ink-mute);
}
.blog-back-link:hover { color: var(--ink); }
.blog-divider {
  border: none;
  border-top: var(--bw) solid var(--ink);
  margin: 40px 0;
}
.blog-post-body {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: var(--ink-body);
}
.blog-post-body p  { margin-bottom: 1.4em; }
.blog-post-body h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  margin: 2em 0 0.6em;
  font-variation-settings: "SOFT" 30;
}
.blog-post-body h3 {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  margin: 1.6em 0 0.5em;
  font-variation-settings: "SOFT" 20;
}
.blog-post-body a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-post-body ul,
.blog-post-body ol {
  padding-left: 24px;
  margin-bottom: 1.4em;
}
.blog-post-body li { margin-bottom: 0.4em; }
.blog-post-body blockquote {
  border-left: 4px solid var(--yellow);
  padding: 12px 20px;
  margin: 1.6em 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1em;
  color: var(--ink);
  font-variation-settings: "SOFT" 60;
}
.blog-post-body img {
  max-width: 100%;
  height: auto;
  border: var(--bw) solid var(--ink);
  display: block;
  margin: 1.6em 0;
}
.blog-post-body strong { font-weight: 700; color: var(--ink); }
.blog-post-body em     { font-style: italic; }

/* ── 35. ADMIN — BLOG CMS ────────────────────────────────── */
.admin-subnav {
  background: var(--ink-body);
  border-bottom: var(--bw) solid var(--ink);
  display: flex;
  gap: 0;
}
.admin-subnav a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(248,244,235,0.6);
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: color 0.15s, background 0.15s;
}
.admin-subnav a:hover   { color: var(--on-dark); background: rgba(255,255,255,0.06); }
.admin-subnav a.active  { color: var(--yellow); background: rgba(255,255,255,0.04); }

.blog-edit-form { max-width: 900px; }
.blog-edit-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 640px) {
  .blog-edit-top { grid-template-columns: 1fr; }
}
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 10px;
  background: var(--surface);
  border: var(--bw) solid var(--ink);
  border-bottom: none;
}
.tb-btn {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--sans);
  border: 1px solid var(--ink);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  line-height: 1.6;
  transition: background 0.1s;
}
.tb-btn:hover   { background: var(--ink); color: var(--bg); }
.tb-btn:active  { transform: translate(1px,1px); }
.tb-sep {
  width: 1px;
  background: var(--ink-line);
  margin: 2px 4px;
  display: inline-block;
}
.editor-area {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.65;
  min-height: 480px;
  resize: vertical;
  border-top: none;
}
.blog-edit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  border-top: var(--bw) solid var(--ink-line);
  margin-top: 8px;
}

/* ── 36. ADMIN — IMAGES & GALLERY ───────────────────────── */
.admin-section-h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-media-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--ink-line);
}
.admin-media-section:last-child { border-bottom: none; }

/* Upload row */
.admin-upload-form { max-width: 680px; }
.admin-upload-row  { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-upload-input { display: none; }
.admin-upload-label { cursor: pointer; }
.admin-upload-name  { font-size: 13px; color: var(--ink-mute); flex: 1; min-width: 120px; }

/* Site image slots */
.admin-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.admin-slot-card {
  border: var(--bw) solid var(--ink);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.admin-slot-thumb {
  height: 140px;
  overflow: hidden;
  background: var(--ink-line);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: var(--bw) solid var(--ink);
}
.admin-slot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-slot-empty { font-size: 12px; color: var(--ink-faint); }
.admin-slot-info  { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.admin-slot-label { font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1.3; }

/* Media library grid */
.admin-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.admin-image-card {
  border: var(--bw) solid var(--ink);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}
.admin-image-thumb-link {
  display: block;
  height: 130px;
  overflow: hidden;
  background: var(--surface);
  border-bottom: var(--bw) solid var(--ink);
}
.admin-image-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.15s;
}
.admin-image-thumb-link:hover img { opacity: 0.85; }
.admin-image-meta {
  padding: 8px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.admin-image-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.admin-image-size { font-size: 11px; color: var(--ink-mute); }
.admin-image-delete { padding: 8px 10px; border-top: 1px solid var(--ink-line); }

/* Gallery list */
.admin-gallery-list { display: flex; flex-direction: column; gap: 0; border: var(--bw) solid var(--ink); }
.admin-gallery-row  {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ink-line);
  background: var(--bg);
}
.admin-gallery-row:last-child { border-bottom: none; }
.admin-gallery-row.editing { background: var(--surface); }
.admin-gallery-thumb {
  width: 80px;
  height: 60px;
  overflow: hidden;
  border: var(--bw) solid var(--ink);
  background: var(--ink-line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-gallery-info  { min-width: 0; }
.admin-gallery-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

/* Gallery item form */
.gallery-item-form { max-width: 760px; }
.gallery-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 640px) { .gallery-form-grid { grid-template-columns: 1fr; } }
.gallery-form-thumb { min-height: 40px; }

/* ── 32. 404 PAGE ────────────────────────────────────────── */
.error-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 8vw, 100px) var(--gutter);
}
.error-page-inner { max-width: 560px; width: 100%; }
.error-num {
  font-family: var(--serif);
  font-size: clamp(100px, 18vw, 180px);
  font-weight: 300;
  font-style: italic;
  color: var(--yellow);
  line-height: 0.85;
  margin-bottom: 24px;
  display: block;
  font-variation-settings: "SOFT" 100;
  -webkit-text-stroke: 3px var(--ink);
}
