
@import url("/assets/fonts/fonts.css");

:root {
  --bg: #F7F4EF;
  --bg-alt: #F1EDE6;
  --bg-card: #FFFcf8;
  --ink: #1A1A18;
  --muted: #5E5A53;
  --faint: #8A857C;
  --line: #E4DFD6;
  --accent: #9A3B1A;
  --accent-hover: #7C2D12;
  --accent-ink: #FFFFFF;
  --header-bg: rgba(247,244,239,0.96);
  --footer-bg: #1B2A4A;
  --footer-ink: #FFFFFF;
  --footer-muted: #C5CBD6;
  --font-display: "Newsreader", "Newsreader 16pt", Georgia, serif;
  --font-sans: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 2px;
  --radius-sm: 2px;
  --shadow: none;
  --max: 1120px;
  --header-h: 80px;
  --logo-cell-h: 120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.wrap {
  width: min(var(--max), calc(100% - 2 * var(--pad, clamp(20px, 5vw, 56px))));
  margin-inline: auto;
}
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus {
  left: 16px; top: 16px; z-index: 100;
  background: var(--ink); color: var(--bg);
  padding: 8px 12px; border-radius: 4px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(10px);
}
.head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink); flex-shrink: 0;
}
.brand img {
  height: 58px; width: auto;
}
.brand-text {
  display: flex; flex-direction: column; line-height: 1.1;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
  max-width: 180px;
}
.nav-toggle, #nav-toggle { display: none; }
.nav-toggle {
  width: 40px; height: 40px; border: 1px solid var(--line);
  background: transparent; border-radius: var(--radius-sm);
  cursor: pointer; position: relative;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 26px; }
nav.primary {
  display: flex; align-items: center; gap: 4px 22px; flex-wrap: wrap;
}
nav.primary a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav.primary a:hover,
nav.primary a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light {
  background: #fff; color: #1B2A4A;
}
.btn-light:hover { background: #f3f4f6; color: #1B2A4A; }
.head .btn { padding: 10px 18px; }

/* Hero */
.hero {
  padding: 88px 0 96px;
  background: #F7F4EF;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
}
.kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}
.hero h1 { margin-bottom: 20px; max-width: 16ch; }
.hero .lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 42em;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-aside {
  border-left: 2px solid var(--ink); padding-left: 32px;
}
.hero-logo {
  width: min(100%, 380px);
  height: auto;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.stat {
  padding: 8px 0;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
}
.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; margin-bottom: 36px; flex-wrap: wrap;
}
.section-head p.deck {
  color: var(--muted); max-width: 36em; margin: 0;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pillar {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 26px;
  box-shadow: var(--shadow);
}
.pillar .n {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.pillar h3 { margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Partnership */
.partner {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.partner-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--line);
}
.partner-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.program-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 16px 0 20px;
}
.program-list li {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Board grid */
.board-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px 16px;
}
.person {
  text-decoration: none; color: inherit;
}
.person .ph {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--line);
  margin-bottom: 12px;
}
.person img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { font-size: 1rem; margin: 0 0 2px; font-family: var(--font-sans); font-weight: 650; letter-spacing: 0; }
.person p { margin: 0; color: var(--muted); font-size: 0.85rem; }
.board-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.board-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.board-card .ph {
  aspect-ratio: 1; overflow: hidden; border-radius: 2px;
}
.board-card img { width: 100%; height: 100%; object-fit: cover; }
.board-card h3 { margin: 0 0 2px; font-size: 1.05rem; }
.board-card .title { color: var(--accent); font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; }
.board-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* Logo wall — equal boxes */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--logo-cell-h);
  padding: 18px 24px;
  background: #FFFcf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.logo-cell img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1);
  opacity: 0.88;
  transition: filter .2s ease, opacity .2s ease;
}
.logo-cell:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow);
}
.logo-cell:hover img {
  filter: none;
  opacity: 1;
}

/* Donate widget */
.give-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.gb-embed {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.gb-label {
  background: #1B2A4A;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 12px;
}
.gb-body { padding: 28px 28px 32px; }
.gb-body h2 { font-size: 1.45rem; margin-bottom: 6px; }
.gb-body .sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }
.seg {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 20px;
}
.seg button {
  appearance: none; border: 0; background: transparent;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.92rem;
  padding: 10px 12px; border-radius: 999px; cursor: pointer; color: var(--muted);
}
.seg button[aria-pressed="true"] {
  background: var(--bg-card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.amounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.amounts button, .custom-amt {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 12px 10px;
  cursor: pointer;
  color: var(--ink);
}
.amounts button[aria-pressed="true"] {
  border-color: var(--accent);
  background: #F4E8E2;
  color: #1A1A18;
  box-shadow: inset 0 0 0 1px var(--accent);
}
.custom {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  background: var(--bg);
  margin-bottom: 20px;
}
.custom.selected {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.custom span { color: var(--muted); font-weight: 600; }
.custom input {
  border: 0; background: transparent; width: 100%;
  font: 600 1.05rem var(--font-sans);
  color: var(--ink); padding: 14px 0; outline: none;
}
.gb-body .btn { width: 100%; padding: 16px 22px; font-size: 1.02rem; }
.fine { font-size: 0.82rem; color: var(--muted); margin-top: 14px; text-align: center; }

.zelle {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.zelle h2 { font-size: 1.45rem; }
.zelle-tag {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  margin: 8px 0 16px;
}
.zelle img {
  width: 200px; height: auto; margin: 4px auto 0;
}
.zelle .qr-wrap {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.tax-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}
.tax-note strong { color: var(--ink); }

/* Donors list */
.donor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 32px;
  list-style: none; padding: 0; margin: 0;
}
.donor-grid li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.donor-grid b { display: block; font-weight: 650; font-size: 0.95rem; }
.donor-grid span { color: var(--muted); font-size: 0.85rem; }
.disclaimer {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 60em;
}

/* Trust / contact */
.trust {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}
.trust img { width: 108px; height: 108px; }
.prose { max-width: 42em; }
.prose a { color: var(--ink); }

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 48px 0 28px;
}
.foot {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-footer .brand-name, .site-footer .brand { color: var(--footer-ink); }
.site-footer .brand-sub { color: var(--footer-muted); }
.site-footer p, .site-footer li, .site-footer a {
  color: var(--footer-muted);
  font-size: 0.9rem;
}
.site-footer a:hover { color: #fff; }
.site-footer h4 {
  color: var(--footer-ink);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { text-decoration: none; }
.legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  padding-top: 18px; color: var(--footer-muted); font-size: 0.82rem;
}
.legal a { color: var(--footer-muted); }
.foot-logo { height: 52px; width: auto; margin-bottom: 14px; }

/* Page intro */
.page-intro {
  padding: 28px 0 0;
}
.page-intro h1 { max-width: 18ch; font-size: clamp(1.85rem, 3.2vw, 2.55rem); margin-bottom: 0.45em; }
.page-intro .lede { color: var(--muted); max-width: 42em; font-size: 1.05rem; }
section.give { padding-top: 16px; padding-bottom: 64px; }
.gb-body { padding: 18px 24px 20px; }
.zelle { padding: 22px 24px; }

/* Privacy placeholder */
.placeholder-note {
  display: inline-block;
  background: #1B2A4A;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 16px;
}

@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .board-grid { grid-template-columns: repeat(3, 1fr); }
  .partner, .give-layout, .hero-inner, .board-full, .trust, .foot {
    grid-template-columns: 1fr;
  }
  .hero h1 { max-width: none; }
  .hero-aside { order: -1; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  nav.primary {
    display: none;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--header-bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 12px 20px 20px; gap: 0;
  }
  nav.primary a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  nav.primary .btn { margin-top: 12px; width: 100%; border-bottom: 0; }
  #nav-toggle:checked ~ nav.primary { display: flex; }
  .head { position: relative; }
  .brand-sub { display: none; }
  .hero-aside { display: none !important; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .board-card { grid-template-columns: 96px 1fr; }
  .donor-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .hero { padding: 40px 0 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* Become a supporter (supporters page) */
.become {
  margin: 4px 0 0;
  font-size: 0.95rem;
}
.become a { font-weight: 600; }

/* 404 */
.not-found { padding-bottom: 72px; }
