:root {
  /* CTNCR brand: lilac #CE8CBF, coral #FD513E, wine #870031, white, black */
  --lilac: #ce8cbf;
  --coral: #fd513e;
  --wine: #870031;
  --bg: #faf6ef;
  --bg-alt: #f7eaf3;
  --surface: #ffffff;
  --text: #1a1016;
  --muted: #5f4b58;
  --border: #ecdae5;
  --brand: #870031;
  --brand-ink: #ffffff;
  --brand-soft: #f6e1ef;
  --accent: #fd513e;
  --warm: #c4321f; /* coral, deepened so small text stays readable */
  --warm-soft: #ffe6e1;
  --meal: #8a4b00;
  --meal-soft: #fdf0d8;
  --pantry: #1f6a4a;
  --pantry-soft: #dff2e8;
  --mobile: #2d4f9e;
  --mobile-soft: #e3eafb;
  --shadow: 0 1px 2px rgba(80, 20, 50, 0.06), 0 4px 16px rgba(80, 20, 50, 0.07);
  --radius: 14px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --font-label: "Montserrat", var(--font-body);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #170c12;
    --bg-alt: #201019;
    --surface: #2a1720;
    --text: #f8eef3;
    --muted: #cbb5c2;
    --border: #45283a;
    --brand: #eba8da;
    --brand-ink: #2a0716;
    --brand-soft: #3b1a2f;
    --warm: #ff8a78;
    --warm-soft: #3d1a14;
    --meal: #f6c779;
    --meal-soft: #3a2a12;
    --pantry: #8fdcb5;
    --pantry-soft: #163327;
    --mobile: #a9c1ff;
    --mobile-soft: #1b2747;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.25);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-display); font-variation-settings: "SOFT" 100; line-height: 1.2; margin: 0 0 0.5em; }
h1, h2 { font-weight: 900; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--surface); padding: 8px 12px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Crisis bar */
.crisis-bar { background: var(--warm-soft); color: var(--text); font-size: 0.85rem; border-bottom: 1px solid var(--border); }
.crisis-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding-top: 5px; padding-bottom: 5px; }
.crisis-bar strong { color: var(--warm); }
.crisis-bar a { color: var(--text); text-decoration: none; white-space: nowrap; }
.crisis-bar a:hover { text-decoration: underline; }
.crisis-bar b { color: var(--warm); font-weight: 700; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark { width: 44px; height: 44px; flex: none; border-radius: 10px; background: #fff; border: 1px solid var(--border); }
.brand > span { display: flex; flex-direction: column; justify-content: space-between; height: 44px; }
.brand-short { display: block; font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-weight: 900; color: var(--text); font-size: 1.6rem; line-height: 0.95; letter-spacing: 0.01em; }
.brand-long { display: block; font-size: 0.78rem; line-height: 1.1; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { text-decoration: none; color: var(--text); font-weight: 500; }
.site-nav a:hover { color: var(--brand); }
.nav-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--brand); color: var(--brand-ink) !important;
  font-weight: 600; text-decoration: none; border: 2px solid var(--brand);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-small { padding: 7px 16px; font-size: 0.95rem; }
.btn-ghost { background: transparent; color: var(--brand) !important; }
.btn-light { background: #fff; border-color: #fff; color: var(--wine) !important; }

/* Hero */
.hero {
  padding: 56px 0 56px;
  background:
    radial-gradient(ellipse at 85% 10%, var(--warm-soft), transparent 55%),
    radial-gradient(ellipse at 0% 100%, color-mix(in srgb, var(--lilac) 35%, transparent), transparent 55%);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; font-weight: 800; color: var(--warm); margin-bottom: 0.6em; }
/* Keep the headline on one line by sizing it to its column. */
.hero-inner > div:has(.hero-title) { container-type: inline-size; }
.hero-title { white-space: nowrap; font-size: min(3.4rem, 7.4cqi); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.quick-links { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.quick-links a {
  display: flex; flex-direction: column; gap: 6px; padding: 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); text-decoration: none; color: var(--text); font-weight: 600;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.quick-links a:hover { border-color: var(--brand); transform: translateY(-2px); }
.quick-links li { display: flex; }
.quick-links a { flex: 1; }
.quick-links span { font-size: 1.6rem; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head p { color: var(--muted); }

/* Who we are */
.who-intro { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px 48px; align-items: start; margin-bottom: 36px; }
.who-intro h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--wine); }
.who-text p { color: var(--muted); }
.who-text p:first-child { font-size: 1.12rem; color: var(--text); }
.who-subhead, .approach h3 { font-family: var(--font-label); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--warm); margin-bottom: 14px; }
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.program { padding: 22px; background: var(--surface); border: 1px solid var(--border); border-top: 5px solid var(--lilac); border-radius: var(--radius); box-shadow: var(--shadow); }
.program:nth-child(2) { border-top-color: var(--coral); }
.program:nth-child(3) { border-top-color: var(--wine); }
.program:nth-child(4) { border-top-color: var(--text); }
.program-icon { font-size: 1.7rem; }
.program h4 { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: 1.15rem; line-height: 1.25; margin: 8px 0 8px; }
.program p { font-size: 0.95rem; color: var(--muted); margin: 0; }
.approach { display: grid; grid-template-columns: 1fr; gap: 24px 48px; margin-top: 40px; padding: 28px; background: var(--bg-alt); border-radius: var(--radius); }
.approach p { color: var(--muted); }
.approach p:last-child { margin-bottom: 0; }
.who-contact { color: var(--text) !important; }
.further-reading { margin-top: 20px; }
.further-reading summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.further-reading ul { margin: 10px 0 0; padding-left: 1.2em; }
.further-reading li { margin-bottom: 6px; }

/* Neighbors' stories */
.stories { background: var(--wine); color: #fff; }
.stories .eyebrow { color: #ffb3a8; }
.stories h2 { color: #fff; }
.story-slides { display: grid; grid-template-columns: minmax(0, 1fr); }
.story {
  grid-area: 1 / 1; margin: 0; display: grid; grid-template-columns: 5fr 7fr; gap: 0;
  background: #fff; color: #1a1016; border-radius: 24px; overflow: hidden;
  opacity: 0; visibility: hidden; transition: opacity 0.7s ease, visibility 0.7s;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.story.is-active { opacity: 1; visibility: visible; }
.story-photo { position: relative; min-height: 340px; background: var(--lilac); }
.story-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-text { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 40px 44px; background: linear-gradient(150deg, #fff, #fbeef6); }
.story-text blockquote { margin: 0; }
.story-text blockquote::before { content: "“"; display: block; font-family: var(--font-display); font-size: 5rem; line-height: 0.6; color: var(--coral); margin-bottom: 6px; }
.story-text blockquote p { margin: 0; font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.4; }
.story-text figcaption { margin-top: 18px; font-family: var(--font-label); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; color: var(--wine); }
.story-text figcaption::before { content: "— "; }
.story-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; }
.story-count { min-width: 80px; text-align: center; font-weight: 600; color: #f6dbe9; }
.stories .slideshow-btn { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); color: #fff; box-shadow: none; }
.stories .slideshow-btn:hover { background: #fff; color: var(--wine); }

/* Directory */
.filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: 12px; }
.search input {
  width: 100%; padding: 14px 18px; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
}
.search input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-size: 0.92rem; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
}
.chip[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.result-count { font-size: 0.9rem; color: var(--muted); }
.load-more-wrap { display: flex; justify-content: center; margin-top: 20px; }
.load-more-wrap .btn { cursor: pointer; font: inherit; font-weight: 600; }
.load-more-wrap .btn[hidden] { display: none; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.card {
  display: flex; flex-direction: column; padding: 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.card h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 600; margin: 10px 0 6px; }
.card p { font-size: 0.95rem; margin-bottom: 0.5em; }
.card .address, .card .hours { color: var(--muted); }
.card-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 0.93rem; }
.tag { align-self: flex-start; font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.empty { grid-column: 1 / -1; padding: 32px; text-align: center; background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); }
.empty p:last-child { margin-bottom: 0; }
.empty.prompt { color: var(--muted); }
.empty.prompt strong { color: var(--text); }
.fine-print { font-size: 0.85rem; color: var(--muted); margin-top: 24px; }

/* Partner: Cleveland-Bradley Free Press */
.partner { margin-top: 40px; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.partner-head { max-width: 640px; margin-bottom: 20px; }
.partner-head h3 { font-size: 1.5rem; }
.partner-head p:last-child { color: var(--muted); margin: 0; }
.partner-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }
.partner-card {
  display: flex; flex-direction: column; gap: 6px; padding: 20px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease;
}
.partner-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.partner-card span { color: var(--muted); font-size: 0.95rem; }
.partner-card strong { font-size: 1.08rem; }
.partner-card .partner-icon { font-size: 1.6rem; }
.partner-card .partner-cta { margin-top: auto; padding-top: 6px; color: var(--brand); font-weight: 600; }
.partner-card-featured { background: var(--brand); border-color: var(--brand); }
.partner-card-featured strong, .partner-card-featured span, .partner-card-featured .partner-cta { color: var(--brand-ink); }

/* More directories */
.more-dirs { margin-top: 32px; padding: 24px; background: var(--brand-soft); border-radius: var(--radius); }
.more-dirs h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; }
.more-dirs ul { margin: 0; padding-left: 1.2em; }
.more-dirs li { margin-bottom: 6px; }

/* Food calendar: one day at a time, picked from a dropdown */
.cal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.cal-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 14px; }
.day-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.day-picker-label { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: 1.3rem; }
.day-picker select {
  font: inherit; font-weight: 600; color: var(--text); cursor: pointer;
  padding: 10px 44px 10px 16px; border-radius: 999px; border: 2px solid var(--warm);
  background: var(--warm-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c4321f' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
  appearance: none; -webkit-appearance: none; max-width: 100%;
}
.day-picker select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.cal-key { font-size: 0.8rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.kind-meal { --kind: var(--meal); --kind-soft: var(--meal-soft); }
.kind-pantry { --kind: var(--pantry); --kind-soft: var(--pantry-soft); }
.kind-mobile { --kind: var(--mobile); --kind-soft: var(--mobile-soft); }
.cal-hint { margin: 0 0 6px; font-size: 0.85rem; color: var(--muted); }
button.cal-key { font-family: inherit; min-height: 32px; padding: 4px 12px; cursor: pointer; border: 1px solid var(--kind); }
button.cal-key[aria-pressed="false"] { background: transparent; color: var(--muted); border-color: var(--border); text-decoration: line-through; }
.cal-key, .tag.cal-key { background: var(--kind-soft); color: var(--kind); }
.day-count { color: var(--muted); margin: 0 0 14px; }
.day-count:empty { display: none; }

.day-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.day-card { border-top: 4px solid var(--kind); box-shadow: none; background: var(--bg); }
.day-time { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--kind); margin: 8px 0 0; line-height: 1.2; }
.day-card h3 { margin-top: 4px; }
.day-swipe-hint { display: none; }

/* Community bulletin board: a compact agenda, one week at a time */
.board-toolbar { margin-bottom: 12px; }
.board-cta { margin: 20px 0 0; }
#board { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
#board > .empty { border: 0; }
.agenda-day { border-top: 1px solid var(--border); }
.agenda-day:first-child { border-top: 0; }
.agenda-day-head { display: flex; align-items: center; gap: 14px; padding: 10px 16px; cursor: pointer; list-style: none; }
.agenda-day-head::-webkit-details-marker { display: none; }
.agenda-day-head:hover .agenda-day-name { color: var(--brand); }
.agenda-day[open] > .agenda-day-head { border-bottom: 1px solid var(--border); }
.agenda-date {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 54px; height: 58px; border-radius: 12px; line-height: 1.05; color: var(--muted); background: var(--bg-alt);
}
.agenda-dow { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.agenda-num { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: 1.45rem; font-weight: 800; color: var(--text); }
.agenda-month { font-size: 0.68rem; }
.agenda-day.is-today .agenda-date { color: #fff; background: var(--wine); }
.agenda-day.is-today .agenda-num { color: #fff; }
.agenda-day-info { flex: 1; min-width: 0; }
.agenda-day-name { display: block; font-weight: 700; }
.agenda-preview { display: block; font-size: 0.88rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda-day[open] .agenda-preview { display: none; }
.agenda-chevron { flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform 0.2s ease; }
.agenda-day[open] .agenda-chevron { transform: rotate(-135deg) translate(-2px, -2px); }
.agenda-items { list-style: none; margin: 0; padding: 0; min-width: 0; }
.agenda-items > li + li { border-top: 1px dashed var(--border); }
.agenda-item summary {
  display: grid; grid-template-columns: 118px 1fr auto; gap: 4px 14px; align-items: baseline;
  padding: 10px 16px; cursor: pointer; list-style: none;
}
.agenda-item summary::-webkit-details-marker { display: none; }
.agenda-item summary:hover .agenda-title { color: var(--brand); text-decoration: underline; }
.agenda-item[open] summary { background: var(--bg); }
.agenda-time { font-size: 0.88rem; font-weight: 600; color: var(--warm); white-space: nowrap; }
.agenda-main { min-width: 0; }
.agenda-title { font-weight: 600; }
.agenda-title::after { content: " ›"; color: var(--muted); }
.agenda-item[open] .agenda-title::after { content: " ⌄"; }
.agenda-where { display: block; font-size: 0.88rem; color: var(--muted); }
.agenda-tag { white-space: nowrap; }
.agenda-more { padding: 0 16px 14px calc(118px + 30px); font-size: 0.95rem; background: var(--bg); }
.agenda-more p { margin-bottom: 0.5em; }

/* Photo slideshow */
.slideshow { position: relative; }
.slideshow[hidden] { display: none; }
.slides {
  position: relative; aspect-ratio: 4 / 5; max-height: 600px; width: 100%;
  border-radius: 28px; overflow: hidden; background: var(--warm-soft);
  box-shadow: 0 2px 4px rgba(80, 50, 30, 0.08), 0 18px 40px rgba(80, 50, 30, 0.16);
}
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 0.9s ease; }
.slide.is-active { opacity: 1; }
.slide-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; font: inherit; color: inherit; }
.slide img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease-out; }
.slide.is-active img { transform: scale(1); }
.slide-whole img { object-fit: contain; padding: 24px; transform: none !important; }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 22px 18px;
  color: #fff; font-weight: 500; font-size: 1rem; line-height: 1.4; pointer-events: none;
  background: linear-gradient(to top, rgba(40, 20, 15, 0.78), rgba(40, 20, 15, 0));
}
.slide-quote { background: linear-gradient(150deg, #f6e1ef, #e7b5da 60%, #ce8cbf); }
.slide-quote .slide-open { display: flex; align-items: center; padding: 40px 34px 90px; text-align: left; }
.slide-quote blockquote { margin: 0; color: #3a0a20; }
.slide-quote blockquote::before {
  content: "“"; display: block; font-family: var(--font-display); font-size: 5rem; line-height: 0.6;
  color: var(--wine); opacity: 0.6; margin-bottom: 8px;
}
.slide-quote blockquote p { margin: 0; font-family: var(--font-display); font-size: clamp(1.25rem, 2.3vw, 1.65rem); line-height: 1.35; font-weight: 600; }
.slide-quote figcaption { background: none; color: #5a1838; }

.slideshow-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; }
.slideshow-controls[hidden] { display: none; }
.slideshow-btn {
  flex: none; width: 40px; height: 40px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 1.3rem; line-height: 1; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
#slide-pause, #story-pause { font-size: 0.8rem; letter-spacing: -0.1em; }
.slideshow-btn:hover { border-color: var(--warm); color: var(--warm); }
.slide-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.slide-dot { width: 22px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.slide-dot::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: var(--border); transition: width 0.3s ease, background 0.3s ease; }
.slide-dot[aria-current="true"]::before { width: 20px; background: var(--warm); }

.lightbox { max-width: min(1100px, 94vw); max-height: 94vh; padding: 0; border: 0; border-radius: 12px; background: #000; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 10, 20, 0.85); }
.lightbox figure { margin: 0; }
.lightbox img { display: block; max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: 12px 12px 0 0; }
.lightbox figcaption { padding: 10px 16px 14px; font-size: 0.95rem; }
.lightbox-btn {
  position: absolute; width: 44px; height: 44px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 1.5rem; line-height: 1; background: rgba(255, 255, 255, 0.92); color: #1c1b2e;
}
.lightbox-btn[hidden] { display: none; }
.lightbox-close { top: -14px; right: -14px; font-size: 1.1rem; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

/* Campaigns */
.campaign-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.campaign {
  position: relative; display: flex; flex-direction: column; padding: 26px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.campaign p { color: var(--muted); }
.campaign .btn { margin-top: auto; align-self: flex-start; }
.campaign-icon { font-size: 2rem; margin-bottom: 8px; }
.campaign-pride::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 6px;
  background: linear-gradient(90deg, #e40303, #ff8c00, #ffed00, #008026, #004dff, #750787);
}

/* About */
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }

/* Get involved */
.involve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.involve-grid article { padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.involve-grid p { color: var(--muted); }
.involve-grid a { font-weight: 600; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.social-links a { font-weight: 600; }

/* Donate */
.donate { background: var(--wine); color: #fff; text-align: center; }
.donate-inner { max-width: 720px; }
.donate p { color: #f6dbe9; }
.donate .fine-print { color: #e6bcd3; }
.priorities { text-align: left; max-width: 560px; margin: 0 auto 24px; padding-left: 1.4em; color: #f6dbe9; }
.priorities li { margin-bottom: 6px; }
.priorities strong { color: #fff; }
.donate-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 8px 0 4px; }
/* Latest from CBFP.news */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.news-card {
  display: flex; flex-direction: column; gap: 8px; padding: 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  color: var(--text); text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease;
}
.news-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.news-featured { grid-column: 1 / -1; padding: 28px; border-top: 5px solid var(--coral); }
.news-featured .news-summary { max-width: 720px; }
.news-date { font-family: var(--font-label); font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--warm); }
.news-title { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; }
.news-featured .news-title { font-size: 1.7rem; }
.news-summary { color: var(--muted); font-size: 0.95rem; }
.news-featured .news-summary { font-size: 1.05rem; }
.news-cta { margin-top: auto; padding-top: 6px; color: var(--brand); font-weight: 600; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--border); font-size: 0.93rem; }
.footer-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-inner .fine-print { margin-top: 0; }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner, .two-col { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 40px; }
  .who-intro, .approach { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: minmax(0, 1fr); }
  .story-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .story-text { padding: 26px 24px 28px; }
  .slides { aspect-ratio: 1; max-height: 70vh; }
  .quick-links { grid-template-columns: repeat(3, 1fr); }
  .involve-grid, .footer-inner, .campaign-grid, .partner-grid, .news-grid { grid-template-columns: 1fr; }
  .news-featured { padding: 22px; }
  .news-featured .news-title { font-size: 1.4rem; }
  .partner { padding: 20px; }
  .brand-long { display: none; }
  .brand > span { justify-content: center; }
  .brand-short { font-size: 2.7rem; line-height: 1; }
}

@media (max-width: 1060px) {
  .nav-toggle {
    display: block; font: inherit; font-weight: 600; padding: 8px 14px; cursor: pointer;
    background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 999px;
  }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px;
    background: var(--bg); border-bottom: 1px solid var(--border);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .site-nav .btn { margin-top: 12px; text-align: center; border-bottom: none; }
}

/* On phones a day's places sit side by side and swipe like a slideshow. */
@media (max-width: 640px) {
  .cal { padding: 16px; }
  .day-picker-label { font-size: 1.1rem; }
  .day-picker, .day-picker select { width: 100%; }
  .day-list:not(.is-single) {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 -16px; padding: 0 16px 6px; scroll-padding: 0 16px;
  }
  .day-list:not(.is-single) > li { scroll-snap-align: start; }
  .day-list:not(.is-single) + .day-swipe-hint { display: block; margin-top: 8px; }
  .agenda-day-head { padding: 10px 12px; gap: 12px; }
  .agenda-item summary { grid-template-columns: 1fr; gap: 2px; padding: 10px 12px; }
  .agenda-tag { justify-self: start; margin-top: 4px; }
  .agenda-more { padding: 0 12px 12px; }
}

@media (max-width: 480px) {
  .crisis-bar { font-size: 0.78rem; }
  .crisis-bar .wrap { gap: 2px 12px; }
  .crisis-bar strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .quick-links { grid-template-columns: 1fr 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

@media (max-width: 360px) {
  .brand-short { font-size: 2.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .slide img { transform: none; }
}
