/* ==========================================================================
   Englewood Family Outreach — site stylesheet
   --------------------------------------------------------------------------
   One hand-written stylesheet serves every page. There is no build step:
   edit this file and push. Sections:
     1. Fonts (self-hosted, SIL Open Font License)
     2. Design tokens — colors, type, spacing; light and dark modes
     3. Base elements
     4. Layout helpers
     5. Header and navigation
     6. Buttons and links
     7. Hero
     8. Sections, cards, bands
     9. Page-specific pieces (home, donate, signup, thanks, 404, Englewood Works)
    10. Footer
    11. Motion and print
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/resources/fonts/fraunces-latin-normal.woff2") format("woff2-variations"),
       url("/resources/fonts/fraunces-latin-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/resources/fonts/fraunces-latin-italic.woff2") format("woff2-variations"),
       url("/resources/fonts/fraunces-latin-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/resources/fonts/inter-latin-normal.woff2") format("woff2-variations"),
       url("/resources/fonts/inter-latin-normal.woff2") format("woff2");
}

/* 2. Tokens --------------------------------------------------------------- */
:root {
  color-scheme: light dark;

  /* palette */
  --navy-950: #08131f;
  --navy-900: #0b1a2e;
  --navy-800: #0f2440;
  --navy-700: #163455;
  --blue-700: #1a4f7d;
  --blue-600: #1f5f96;
  --blue-500: #3684c6;
  --blue-400: #6db1f0;
  --blue-300: #a9d1f7;
  --gold-500: #facc15;
  --gold-600: #e2b40f;
  --gold-700: #7f5d07;
  --paper: #f6f3ec;
  --paper-2: #ede8dc;
  --white: #ffffff;
  --ink: #16202e;
  --ink-2: #384454;
  --ink-3: #5c6879;

  /* semantic — light mode */
  --bg: var(--paper);
  --bg-alt: var(--paper-2);
  --surface: var(--white);
  --surface-2: #fbfaf7;
  --text: var(--ink);
  --text-2: var(--ink-2);
  --muted: var(--ink-3);
  --line: rgba(22, 32, 46, 0.12);
  --line-strong: rgba(22, 32, 46, 0.22);
  --link: var(--blue-600);
  --link-hover: var(--blue-700);
  --brand: var(--blue-500);
  --accent: var(--gold-500);
  --accent-strong: var(--gold-600);
  --accent-text: var(--gold-700);
  --on-accent: var(--navy-950);
  --heading: var(--navy-800);
  --header-bg: rgba(255, 255, 255, 0.86);
  --shadow-sm: 0 1px 2px rgba(15, 36, 64, 0.06), 0 1px 8px rgba(15, 36, 64, 0.05);
  --shadow-md: 0 8px 24px -8px rgba(15, 36, 64, 0.18), 0 2px 6px rgba(15, 36, 64, 0.06);
  --shadow-lg: 0 24px 48px -16px rgba(15, 36, 64, 0.28);
  --focus: var(--blue-500);

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* rhythm */
  --container: 74rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 1rem;
  --radius-sm: 0.625rem;
  --header-h: 4.5rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1626;
    --bg-alt: #0e1c30;
    --surface: #132540;
    --surface-2: #172c4a;
    --text: #e8ecf2;
    --text-2: #c6cfdc;
    --muted: #a3afc0;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.24);
    --link: var(--blue-400);
    --link-hover: var(--blue-300);
    --accent-text: var(--gold-500);
    --heading: #f4f6fa;
    --header-bg: rgba(11, 22, 38, 0.82);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 28px -10px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 28px 56px -18px rgba(0, 0, 0, 0.7);
    --focus: var(--gold-500);
  }
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--heading);
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--link); text-decoration-thickness: 0.06em; text-underline-offset: 0.16em; transition: color 0.2s ease; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 0.25rem; }
strong { font-weight: 650; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
::selection { background: var(--gold-500); color: var(--navy-950); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 1000;
  background: var(--navy-900); color: var(--white);
  padding: 0.75rem 1rem; border-radius: 0.5rem; font-weight: 600; text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; outline-color: var(--gold-500); }

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

/* 4. Layout --------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container.narrow { max-width: 46rem; }
.container.medium { max-width: 58rem; }
.section { padding-block: var(--section); }
.section.tight { padding-block: calc(var(--section) * 0.6); }
.band-alt { background: var(--bg-alt); }
.band-navy { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #e6ecf5; }
.band-navy h1, .band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy a:not(.btn) { color: var(--gold-500); }
.band-navy a:not(.btn):hover { color: #fde68a; }
.band-navy .eyebrow { color: var(--gold-500); }
.band-navy .lead, .band-navy p { color: #d3dceb; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 1.75rem; height: 2px; background: currentColor; border-radius: 2px; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.15rem; color: var(--text-2); }
.lead { font-size: clamp(1.15rem, 1.4vw, 1.3rem); line-height: 1.55; color: var(--text-2); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* 5. Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 1rem 1.25rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: var(--heading);
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em;
  margin-right: auto; white-space: nowrap; min-width: 0;
}
.brand img { width: 2.5rem; height: 2.5rem; flex: none; }
.brand .brand-sub { display: block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 0.15rem; }
.brand:hover { color: var(--link); }
.logo-light { display: block; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: block; }
}

.site-nav { display: flex; align-items: center; gap: 0.25rem 1.5rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem 1.25rem; }
.site-nav a:not(.btn) {
  position: relative; text-decoration: none; color: var(--text-2); font-weight: 550; font-size: 0.95rem; padding: 0.35rem 0; white-space: nowrap;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.1rem; height: 2px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.site-nav a:not(.btn):hover, .site-nav a:not(.btn)[aria-current="page"] { color: var(--heading); }
.site-nav a:not(.btn):hover::after, .site-nav a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.site-nav a.archer-link {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.3rem 1rem 0.3rem 0.4rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--text-2); font-weight: 600; font-size: 0.9rem; text-decoration: none; white-space: nowrap; flex: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.site-nav a.archer-link img { width: 2.4rem; height: auto; flex: none; }
.site-nav a.archer-link:hover { border-color: var(--blue-500); color: var(--heading); transform: translateY(-1px); }
.site-nav a.archer-link::after { display: none; }
.nav-actions .btn { flex: none; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 0.6rem;
  border: 1px solid var(--line-strong); background: transparent; color: var(--heading); cursor: pointer;
}
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 78rem) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 0.75rem var(--gutter) 1.25rem;
  }
  .js .site-nav:not([data-open]) { display: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav ul a:not(.btn) { display: block; padding: 0.8rem 0.25rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .nav-actions { flex-wrap: wrap; padding-top: 1rem; }
  .brand { font-size: 1.05rem; }
}
@media (max-width: 48rem) {
  .brand .brand-sub { display: none; }
}
@media (max-width: 40rem) {
  .brand img { width: 2.15rem; height: 2.15rem; }
  .brand .brand-name { font-size: 0.98rem; }
}

/* 6. Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 650; font-size: 1rem; line-height: 1.2; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn.small { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.btn-gold { background: var(--gold-500); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-600); color: var(--navy-950); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-900); color: var(--white); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-navy { background: var(--blue-500); }
  :root:not([data-theme="light"]) .btn-navy:hover { background: var(--blue-400); color: var(--navy-950); }
}
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: inherit; }
.btn-outline { background: transparent; color: var(--link); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--link); color: var(--link-hover); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.btn-row.center { justify-content: center; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 650; text-decoration: none;
}
.arrow-link svg { width: 1.05em; height: 1.05em; transition: transform 0.2s ease; }
.arrow-link:hover svg { transform: translateX(4px); }

/* 7. Hero ----------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(34rem, 78vh, 46rem);
  display: flex; align-items: flex-end;
  color: var(--white);
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: -2; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 19, 31, 0.35) 0%, rgba(8, 19, 31, 0.15) 30%, rgba(8, 19, 31, 0.78) 75%, rgba(8, 19, 31, 0.94) 100%),
    linear-gradient(90deg, rgba(8, 19, 31, 0.55) 0%, rgba(8, 19, 31, 0.1) 60%);
}
.hero-inner { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(3rem, 7vw, 5rem); flex: 0 1 auto; }
.hero .eyebrow { color: var(--gold-500); }
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: 0.4em; }
.hero h1 .cap { color: var(--gold-500); font-weight: 700; }
.hero .lead { color: rgba(255, 255, 255, 0.88); max-width: 40rem; margin-bottom: 2rem; }
.hero .btn-ghost { color: var(--white); }
.hero-foot {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  display: flex; flex-wrap: wrap; gap: 0.75rem 2rem;
  color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em;
}
.hero-foot span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-foot svg { width: 1rem; height: 1rem; color: var(--gold-500); }
.hero-content { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* page hero for inner pages */
.page-hero { position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -8rem; top: -8rem; width: 26rem; height: 26rem; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(250, 204, 21, 0.16), transparent 70%); pointer-events: none;
}
.page-hero .container { position: relative; padding-block: clamp(3rem, 7vw, 5rem); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 44rem; }
.breadcrumb { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; color: #b8c4d6; }
.breadcrumb a { color: #d3dceb; text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.5; }

/* 8. Sections, cards ------------------------------------------------------ */
.facts { border-bottom: 1px solid var(--line); background: var(--surface); }
.facts .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.fact { padding: 1.5rem 1.25rem; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; line-height: 1; color: var(--heading); letter-spacing: -0.02em; }
.fact .num small { font-size: 1.1rem; color: var(--accent-text); margin-left: 0.25rem; font-weight: 700; }
.fact .label { color: var(--muted); font-size: 0.95rem; margin-top: 0.35rem; }
@media (max-width: 40rem) {
  .facts .container { grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
  .fact { padding: 1.1rem 0; border-left: 0; border-top: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact .num { font-size: 1.9rem; }
  .fact .label { font-size: 0.88rem; }
}

.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card.lift:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-alt); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
a.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { color: var(--text-2); margin: 0; }
.card-body .arrow-link { margin-top: auto; padding-top: 0.75rem; align-self: flex-start; }
.card-kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }

.icon-badge {
  width: 3.25rem; height: 3.25rem; border-radius: 1rem; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900)); color: var(--gold-500);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.icon-badge svg { width: 1.5rem; height: 1.5rem; }

.mission {
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}
.mission-quote {
  position: relative; padding-left: 1.75rem; border-left: 4px solid var(--gold-500);
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.32; color: var(--heading); text-wrap: pretty;
  margin: 0;
}
.mission-quote footer { margin-top: 1rem; font-family: var(--font-body); font-style: normal; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }

.care { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; list-style: none; padding: 0; }
.care li { padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.care b { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--heading); }
.care b::first-letter { color: var(--accent-text); }

.leader {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2rem; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.monogram {
  width: 5.5rem; height: 5.5rem; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-950)); color: var(--gold-500);
  font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; letter-spacing: 0.02em;
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--gold-500);
}
.leader h3 { margin-bottom: 0.15rem; }
.leader .role { color: var(--accent-text); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.9rem; }
@media (max-width: 34rem) { .leader { grid-template-columns: 1fr; } }

.vision-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.video-frame { position: relative; }
.video-frame::before {
  content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 2px solid var(--gold-500); border-radius: var(--radius); opacity: 0.8; pointer-events: none;
}
.video-frame iframe { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #000; display: block; }
.check-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; color: #d3dceb; }
.check-list svg { width: 1.25rem; height: 1.25rem; color: var(--gold-500); flex: none; margin-top: 0.2rem; }

.ways .card-body { padding-top: 1.75rem; }
.ways .card-body h3 { font-size: 1.3rem; }

/* 9. Page-specific ----------------------------------------------------------- */
/* donate */
.give-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 56rem) { .give-grid { grid-template-columns: 1fr; } }
.lgl-card {
  background: #ffffff; color: #16202e; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-md);
  padding: clamp(1.25rem, 3vw, 2rem); color-scheme: light;
}
.lgl-card h2 { color: var(--navy-800); font-size: 1.7rem; margin-bottom: 0.35rem; }
.lgl-card > p { color: #4b5563; }
.lgl-card noscript a { color: var(--blue-600); font-weight: 600; }
.lgl-card .form-slot { margin-top: 1rem; min-height: 6rem; }
.ways-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.way {
  display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm); transition: border-color 0.2s ease, transform 0.2s ease;
}
.way:hover { border-color: var(--line-strong); transform: translateX(3px); }
.way img { width: 3.5rem; height: 3.5rem; border-radius: 0.75rem; }
.way .icon-badge { width: 3.5rem; height: 3.5rem; }
.way h3 { font-size: 1.15rem; margin: 0 0 0.25rem; }
.way p { color: var(--text-2); font-size: 0.97rem; margin: 0; }
.way p + p { margin-top: 0.35rem; }
.way .arrow-link { font-size: 0.95rem; margin-top: 0.4rem; }
.fineprint { font-size: 0.9rem; color: var(--muted); }

/* signup */
.signup-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
@media (max-width: 56rem) { .signup-grid { grid-template-columns: 1fr; } }
.promise { display: grid; gap: 1rem; margin-top: 1.5rem; }
.promise > div { display: flex; gap: 0.9rem; align-items: flex-start; }
.promise > div > div { flex: 1; min-width: 0; }
.promise .icon-badge { width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; flex: none; }
.promise .icon-badge svg { width: 1.2rem; height: 1.2rem; }
.promise b { display: block; color: var(--heading); font-weight: 650; }
.promise p { color: var(--text-2); font-size: 0.97rem; }

/* confirmation + error pages */
.centered-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center;
}
.centered-card .lead { margin-inline: auto; }
.check-ring {
  width: 4.5rem; height: 4.5rem; border-radius: 50%; margin: 0 auto 1.5rem; display: grid; place-items: center;
  background: var(--gold-500); color: var(--navy-950); box-shadow: 0 0 0 8px rgba(250, 204, 21, 0.18);
}
.check-ring svg { width: 2.2rem; height: 2.2rem; }
.big-404 { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 11rem); font-weight: 600; line-height: 0.9; color: var(--accent-text); letter-spacing: -0.04em; margin-bottom: 0.5rem; }
.next-steps .card-body { align-items: center; text-align: center; }
.next-steps .btn { margin-top: 0.5rem; }

/* Englewood Works */
.ew-hero { min-height: clamp(28rem, 70vh, 40rem); }
.slides { position: absolute; inset: 0; z-index: -2; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: slide 45s infinite; }
.slides img:nth-child(1) { animation-delay: 0s; opacity: 1; }
.slides img:nth-child(2) { animation-delay: 5s; }
.slides img:nth-child(3) { animation-delay: 10s; }
.slides img:nth-child(4) { animation-delay: 15s; }
.slides img:nth-child(5) { animation-delay: 20s; }
.slides img:nth-child(6) { animation-delay: 25s; }
.slides img:nth-child(7) { animation-delay: 30s; }
.slides img:nth-child(8) { animation-delay: 35s; }
.slides img:nth-child(9) { animation-delay: 40s; }
@keyframes slide {
  0% { opacity: 0; transform: scale(1.02); }
  3% { opacity: 1; }
  11.1% { opacity: 1; transform: scale(1.06); }
  14.5% { opacity: 0; }
  100% { opacity: 0; }
}
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step {
  display: grid; grid-template-columns: 3.75rem 1fr; gap: 1.25rem; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--accent-text); line-height: 1;
  border-right: 1px solid var(--line); padding-right: 1rem; padding-top: 0.2rem;
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.step p { color: var(--text-2); margin: 0; }
.tiers { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.tier { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--gold-500); border-radius: var(--radius-sm); padding: 1.35rem 1.3rem; box-shadow: var(--shadow-sm); }
.tier h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.tier .amount { font-family: var(--font-display); font-size: 1.5rem; color: var(--heading); font-weight: 600; margin-bottom: 0.5rem; }
.tier p { color: var(--text-2); font-size: 0.95rem; margin: 0; }
.tier:first-child { border-top-color: var(--navy-800); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tier:first-child { border-top-color: var(--blue-400); } }

/* 10. Footer ---------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: #c8d2e2; margin-top: auto; }
.footer-top { padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; display: grid; gap: 2.5rem 3rem; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 56rem) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36rem) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.85rem; color: var(--white); text-decoration: none; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.footer-brand img { width: 2.75rem; height: 2.75rem; }
.footer-brand:hover { color: var(--gold-500); }
.site-footer p { color: #b7c2d4; }
.footer-mission { margin-top: 1.1rem; max-width: 34ch; font-size: 0.98rem; }
.footer-heading { color: var(--white); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-list a { color: #d8e0ec; text-decoration: none; }
.footer-list a:hover { color: var(--gold-500); }
.footer-list li { display: flex; gap: 0.65rem; align-items: flex-start; }
.footer-list svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--gold-500); margin-top: 0.25rem; }
.social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social a {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18); color: #e2e8f0; text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.social a:hover { background: var(--gold-500); color: var(--navy-950); border-color: var(--gold-500); transform: translateY(-2px); }
.social svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 1.25rem; font-size: 0.86rem; color: #8f9db3; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; }
.footer-bottom a { color: #b7c2d4; }

/* 11. Motion, print --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .slides img { animation: none; opacity: 0; }
  .slides img:first-child { opacity: 1; }
  .hero-content { animation: none; }
}
@media print {
  .site-header, .site-footer .social, .nav-toggle, .btn, .video-frame, .slides { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: 0; color: #000; }
  .hero-media, .hero-scrim { display: none; }
  .hero h1, .hero .lead { color: #000; }
  a { color: #000; }
}
