/* =========================================================
   Healing Los Angeles Together — design system
   Brand: navy + gold, Fraunces display over Inter body.
   Rules: design-system/MASTER.md (UI/UX Pro Max, HLAT overrides)
   ========================================================= */

:root {
  --navy: #0b3768;
  --navy-900: #062448;
  --navy-700: #134a85;
  --gold: #d4a017;
  --gold-300: #f0c75e;
  --ink: #13213a;
  --body: #3d4758;
  --muted: #5a6474;
  --line: #dde1e7;
  --surface: #ffffff;
  --canvas: #f6f4ef;
  --on-dark: #e8edf5;
  --on-dark-muted: #b9c4d6;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-mono: "Courier Prime", "Courier New", Courier, monospace;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.4vw, 4rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: clamp(4rem, 3rem + 4vw, 6.5rem);

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(6, 36, 72, 0.06), 0 8px 24px rgba(6, 36, 72, 0.08);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Courier Prime";
  src: url("/assets/fonts/courier-prime-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("/assets/fonts/courier-prime-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 var(--space-2);
  font-weight: 600;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 var(--space-2); text-wrap: pretty; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.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;
}
.skip-link {
  position: absolute; left: var(--space-2); top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy-900); font-weight: 700;
  padding: 0.75rem 1rem; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: var(--space-2); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 40px; } }

.section { padding-block: var(--space-6); }
.section-white { background: var(--surface); }
.section-navy { background: var(--navy); color: var(--on-dark); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy a:not(.button) { color: var(--gold-300); }

.section-head { max-width: 720px; margin: 0 auto var(--space-4); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.lead { font-size: var(--step-1); line-height: 1.6; }

/* Eyebrow + gold rule (wireframe motif) */
.eyebrow {
  display: block;
  font: 600 0.9375rem/1.4 var(--font-body);
  letter-spacing: 0;
  color: var(--navy-700);
  margin-bottom: 0.75rem;
}
.eyebrow::after {
  content: ""; display: block; width: 32px; height: 3px; border-radius: 2px;
  background: var(--gold); margin-top: 0.6rem;
}
.section-head .eyebrow::after, .center .eyebrow::after { margin-inline: auto; }
.section-head.left .eyebrow::after { margin-inline: 0; }
.on-dark .eyebrow, .section-navy .eyebrow { color: var(--gold-300); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.5rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--font-body); letter-spacing: 0;
  text-decoration: none; cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}
.button:active { transform: translateY(1px); }
.button-gold { background: var(--gold); color: var(--navy-900); }
.button-gold:hover { background: var(--gold-300); color: var(--navy-900); }
.button-navy { background: var(--navy); color: #fff; }
.button-navy:hover { background: var(--navy-700); color: #fff; }
.button-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.button-outline:hover { background: var(--navy); color: #fff; }
.button-ghost-light { border-color: rgba(255, 255, 255, 0.8); color: #fff; background: transparent; }
.button-ghost-light:hover { background: #fff; color: var(--navy-900); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: var(--space-2); }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 1rem; line-height: 1.2; }
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand-light { color: #fff; }
.brand-light:hover { color: #fff; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--navy); cursor: pointer;
}
.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; inset: var(--header-h) 0 auto 0;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.nav-list, .sub-nav { list-style: none; margin: 0; padding: 0; }
.nav-list { padding: var(--space-2) 20px var(--space-3); }
.nav-list > li > a {
  display: flex; align-items: center; gap: 0.35rem; min-height: 48px;
  font-weight: 600; font-size: 1rem; letter-spacing: 0;
  color: var(--ink); text-decoration: none;
}
.nav-list a[data-active]:not(.button) { color: var(--navy); box-shadow: inset 0 -3px 0 var(--gold); }
.sub-nav a { display: flex; align-items: center; min-height: 44px; padding-left: 1rem; color: var(--body); text-decoration: none; font-size: 0.9375rem; }
.sub-nav a:hover, .sub-nav a[aria-current] { color: var(--navy); font-weight: 600; }
.nav-cta { margin-top: var(--space-2); }
.nav-cta .button { width: 100%; }

@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; box-shadow: none; border: 0; max-height: none; overflow: visible; }
  .nav-list { display: flex; align-items: center; gap: 1.75rem; padding: 0; }
  .nav-list > li > a { font-size: 0.8125rem; min-height: 44px; }
  .nav-cta { margin: 0; }
  .nav-cta .button { width: auto; min-height: 44px; padding-inline: 1.25rem; }
  .has-sub { position: relative; }
  .sub-nav {
    position: absolute; top: 100%; left: 50%; min-width: 280px; padding: 0.5rem 0;
    background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold);
    border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
    transition: opacity 160ms var(--ease), transform 160ms var(--ease), visibility 160ms;
  }
  .has-sub:hover .sub-nav, .has-sub:focus-within .sub-nav { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .sub-nav a { padding: 0 1.25rem; }
  .sub-nav a:hover { background: var(--canvas); }
}

/* ---------- Heroes ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(82vh, 720px); display: grid; align-items: end;
  color: #fff; background: var(--navy-900);
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 36, 72, 0.35) 0%, rgba(6, 36, 72, 0.78) 55%, rgba(6, 36, 72, 0.94) 100%);
}
.hero-copy { padding-block: var(--space-6) var(--space-5); max-width: 780px; }
.hero h1 { color: #fff; }
.hero p { color: var(--on-dark); font-size: var(--step-1); }
.hero .eyebrow { color: var(--gold-300); }

.page-hero { min-height: 420px; align-items: center; text-align: center; }
.page-hero .hero-copy { margin-inline: auto; padding-block: var(--space-5); }
.page-hero .eyebrow::after { margin-inline: auto; }

.title-band { background: var(--navy); color: var(--on-dark); text-align: center; padding-block: var(--space-5); }
.title-band h1 { color: #fff; }
.title-band p { max-width: 640px; margin-inline: auto; font-size: var(--step-1); color: var(--on-dark); }
.title-band .eyebrow { color: var(--gold-300); }
.title-band .eyebrow::after { margin-inline: auto; }

/* ---------- Stats ---------- */
.stat-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-2); padding-block: var(--space-4); margin: 0; }
.stat { text-align: center; }
.stat dt { order: 2; font: 400 var(--step-0)/1.35 var(--font-mono); color: var(--muted); }
.stat dd { margin: 0 0 0.25rem; font: 700 clamp(1.9rem, 1.4rem + 2vw, 2.75rem)/1.1 var(--font-mono); letter-spacing: -0.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat { display: flex; flex-direction: column; }
.stats-note { text-align: center; font-size: var(--step--1); color: var(--muted); padding-bottom: var(--space-3); margin: 0; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats.three { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) { .stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.section-navy .stat dd { color: var(--gold-300); }
.section-navy .stat dt { color: var(--on-dark-muted); }

/* ---------- Split / mission ---------- */
.split { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-5); }
  .split.reverse > :first-child { order: 2; }
}
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.split-media.portrait img { aspect-ratio: 4 / 5; }
.quote-mark { font: 700 5rem/0.6 var(--font-display); color: var(--gold); display: block; height: 2.5rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-top: 4px solid var(--gold);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: var(--space-3); display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.card-body h3, .card-body h2 { font-size: var(--step-1); margin-bottom: 0.25rem; }
.card-body p { margin-bottom: 0.75rem; }
.card-body .text-link { margin-top: auto; }
.card-meta { font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.tag { font: 600 0.875rem/1.2 var(--font-body); color: var(--navy-700); margin-bottom: 0.5rem; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; }
.card.is-linked { position: relative; }

/* Activity cards on navy */
.activity-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.activity {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 3px solid var(--gold); border-radius: var(--radius); padding: var(--space-3);
}
.activity h3 { font-size: var(--step-1); color: #fff; }
.activity p { color: var(--on-dark); font-size: 0.975rem; }
.activity .when { font-weight: 600; color: var(--gold-300); font-size: var(--step-0); }
.activity .figures { font-size: var(--step--1); color: var(--on-dark-muted); margin: 0; }

/* ---------- Program rows ---------- */
.program-row { padding-block: var(--space-5); }
.program-row + .program-row { border-top: 1px solid var(--line); }
.program-row:nth-child(even) { background: var(--surface); }
.collage { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.collage img:first-child { grid-row: 1 / 3; aspect-ratio: 4 / 5; }
.collage img:not(:first-child) { aspect-ratio: 1 / 1; }
.metric { font-size: var(--step--1); font-weight: 600; color: var(--muted); letter-spacing: 0.02em; border-left: 3px solid var(--gold); padding-left: 0.75rem; }
.facts { list-style: none; padding: 0; margin: 0 0 var(--space-3); display: grid; gap: 0.5rem; }
.facts li { display: flex; gap: 0.6rem; align-items: flex-start; }
.facts svg { flex: none; margin-top: 0.3rem; color: var(--gold); }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- People ---------- */
.founder { display: grid; gap: var(--space-4); align-items: center; }
.founder img { width: 100%; max-width: 380px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-lg); border: 4px solid var(--gold); }
@media (min-width: 860px) { .founder { grid-template-columns: 380px 1fr; gap: var(--space-5); } }

.people { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.person { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: var(--space-3); text-align: center; }
.person img, .person .avatar { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; margin: 0 auto var(--space-2); }
.person .avatar { display: grid; place-items: center; background: var(--canvas); color: var(--navy); border: 2px dashed var(--line); }
.person h3 { font-size: var(--step-1); margin-bottom: 0.25rem; }
.person p { font-size: var(--step--1); color: var(--muted); margin: 0; }

/* ---------- Partners ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.6rem 1.2rem; font-weight: 600; color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--on-dark); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-3); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; max-width: 720px; margin-inline: auto; }
.cta-band p { max-width: 620px; margin-inline: auto; font-size: var(--step-1); }
.cta-band .actions { justify-content: center; }
.cta-band .fine { font-size: var(--step--1); color: var(--on-dark-muted); margin-top: var(--space-2); }
.cta-band .eyebrow { color: var(--gold-300); }
.cta-band .eyebrow::after { margin-inline: auto; }

/* ---------- Donate ---------- */
.give-panel { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: var(--shadow); }
.give-amount { font: 700 clamp(2.5rem, 2rem + 2vw, 3.5rem)/1 var(--font-display); color: var(--navy); margin-bottom: var(--space-1); }
.cause-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

/* ---------- Blog / article ---------- */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: var(--space-4); }
.article { max-width: 720px; margin-inline: auto; }
.article-meta { color: var(--muted); font-size: var(--step--1); }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: var(--space-4); }
.article h2 { font-size: var(--step-2); margin-top: var(--space-4); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--space-4); }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.hours li:last-child { border-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-muted); padding-top: var(--space-5); font-size: 0.9375rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); text-decoration: underline; }
.site-footer a.button-gold, .site-footer a.button-gold:hover { color: var(--navy-900); text-decoration: none; }
.footer-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr 1fr 1.3fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-brand p { margin: var(--space-2) 0; }
.footer-heading { font: 700 1.0625rem/1.3 var(--font-display); letter-spacing: 0; color: var(--gold-300); margin-bottom: var(--space-2); }
.footer-links, .footer-hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 32px; }
.footer-hours span { display: inline-block; width: 2.75rem; color: var(--on-dark); font-weight: 600; }
.social { display: flex; gap: 0.5rem; margin-top: var(--space-2); }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); }
.social a:hover { border-color: var(--gold-300); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-1) var(--space-3); margin-top: var(--space-5); padding-block: var(--space-3); border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: var(--step--1); }
.footer-bottom p { margin: 0; }

/* ---------- Pathways ---------- */
.pathways { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.pathway {
  position: relative; display: flex; flex-direction: column; gap: 0.35rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-3); text-decoration: none; color: var(--body);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}
.pathway:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--body); }
.pathway .icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--gold-300); margin-bottom: 0.5rem; }
.pathway strong { font: 600 var(--step-1)/1.2 var(--font-display); color: var(--ink); }
.pathway span { font-size: 0.975rem; }
.pathway .go { margin-top: auto; padding-top: 0.5rem; font-weight: 700; font-size: var(--step-0); color: var(--navy); }
.pathway-primary { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.pathway-primary strong { color: #fff; }
.pathway-primary .icon { background: var(--gold); color: var(--navy-900); }
.pathway-primary .go { color: var(--gold-300); }
.pathway-primary:hover { color: var(--on-dark); }
.pathways-wrap { margin-top: calc(var(--space-5) * -1); position: relative; z-index: 2; }

/* ---------- Quick exit ---------- */
.quick-exit {
  position: fixed; right: 12px; bottom: 16px; z-index: 60;
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 48px; padding: 0 1.1rem;
  background: #b42318; color: #fff; border-radius: 999px; font-weight: 700; font-size: 0.9375rem;
  text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.quick-exit:hover { background: #912018; color: #fff; }
@media (min-width: 960px) { .quick-exit { top: calc(var(--header-h) + 12px); bottom: auto; } }

/* ---------- Get help ---------- */
.help-actions { display: grid; gap: var(--space-2); }
@media (min-width: 640px) { .help-actions { grid-template-columns: 1fr 1fr; } }
.help-actions .button { min-height: 60px; font-size: 1rem; }
.promise { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); list-style: none; padding: 0; margin: 0; }
.promise li { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: var(--space-2) var(--space-3); }
.promise strong { display: block; color: var(--ink); font-size: 1.0625rem; }
.schedule { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.schedule th, .schedule td { text-align: left; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule th { font-family: var(--font-display); color: var(--ink); font-weight: 600; width: 38%; }
.schedule tr:last-child th, .schedule tr:last-child td { border-bottom: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.steps li { counter-increment: step; position: relative; padding-left: 3.5rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--gold); color: var(--navy-900); display: grid; place-items: center; font-weight: 700; }
.steps strong { display: block; color: var(--ink); font-size: 1.0625rem; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.stack > * + * { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.note { font-size: var(--step--1); color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.hero.has-pathways .hero-copy { padding-bottom: calc(var(--space-5) * 2); }
@media (max-width: 639px) {
  .pathways { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pathway { padding: 1rem; }
  .pathway .icon { width: 40px; height: 40px; margin-bottom: 0.25rem; }
  .pathway strong { font-size: 1.0625rem; }
  .pathway > span:not(.go):not(.icon) { display: none; }
  .pathway-primary { grid-column: 1 / -1; }
  .pathway-primary > span:not(.go):not(.icon) { display: block; }
  .pathways-wrap { margin-top: -2.5rem; }
  .hero.has-pathways .hero-copy { padding-bottom: 4.5rem; }
}
.split-media img { max-height: 560px; }
@media (max-width: 639px) {
  .schedule, .schedule tbody, .schedule tr, .schedule th, .schedule td { display: block; width: 100%; }
  .schedule th { border-bottom: 0; padding-bottom: 0.25rem; }
}
/* CTA band with L.A. sunset photo */
.cta-band.photo { background: var(--navy-900) url("/assets/photos/la-skyline-sunset.webp") center 42% / cover no-repeat; isolation: isolate; }
.cta-band.photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 36, 72, 0.72), rgba(6, 36, 72, 0.9)); }
.hero.sunset::before { background: linear-gradient(180deg, rgba(6, 36, 72, 0.25) 0%, rgba(6, 36, 72, 0.55) 60%, rgba(6, 36, 72, 0.85) 100%); }
.hero.sunset h1, .hero.sunset p { text-shadow: 0 2px 16px rgba(6, 36, 72, 0.6); }
.cta-band.photo::before { background: linear-gradient(180deg, rgba(6, 36, 72, 0.5), rgba(6, 36, 72, 0.88)); }

/* Instagram feed */
.ig-grid { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .ig-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ig-post { display: block; border-radius: var(--radius); overflow: hidden; }
.ig-post img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 240ms var(--ease); }
.ig-post:hover img { transform: scale(1.04); }

/* Constant Contact inline form, restyled to the brand */
.footer-signup p { margin-bottom: var(--space-2); }
.site-footer .ctct-inline-form { color: var(--ink); }
.site-footer .ctct-form-embed .ctct-form-defaults { background: var(--surface) !important; border-radius: var(--radius); padding: var(--space-3) !important; }
.site-footer .ctct-form-embed .ctct-form-button { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--navy-900) !important; border-radius: 999px !important; font-weight: 700 !important; min-height: 48px; }
.site-footer .ctct-form-embed .ctct-form-header { font-family: var(--font-display) !important; color: var(--ink) !important; }
/* Pieces icon system (assets/icons, design-system/MASTER.md) */
.pathway .icon { background: none; width: 56px; height: 56px; border-radius: 0; color: var(--navy); margin-bottom: 0.25rem; }
.pathway-primary .icon { background: none; color: var(--gold-300); }
.program-icon { display: block; color: var(--navy); margin-bottom: 0.25rem; }
@media (max-width: 639px) { .pathway .icon { width: 44px; height: 44px; } .pathway .icon svg { width: 44px; height: 44px; } }
.candid-seal { display: inline-block; margin-top: var(--space-2); border-radius: 6px; line-height: 0; }
.candid-seal img { border-radius: 6px; }
.site-footer .candid-seal img { background: #fff; }
/* Focused landing (give) */
.header-min .secure-note { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0; font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.footer-min { padding-top: 0; }
.footer-min .footer-bottom { margin-top: 0; border-top: 0; }
/* Partner logos */
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.logo-tile { display: grid; place-items: center; width: 200px; height: 120px; padding: var(--space-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease); }
.logo-tile:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.logo-tile img { max-width: 100%; max-height: 88px; width: auto; height: auto; object-fit: contain; }
/* Prose pages (privacy, terms, brief) */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--step-2); margin-top: var(--space-4); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
@media print {
  .site-header, .site-footer, .quick-exit, .no-print { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .section { padding-block: 1rem; }
}

.chips a { color: inherit; text-decoration: none; }
.chips a:hover { color: var(--navy); text-decoration: underline; }

/* Blog article body */
.byline { color: var(--muted); font-size: var(--step--1); margin-bottom: var(--space-3); }
.article-body { max-width: 68ch; }
.article-body > * + * { margin-top: 1.1em; }
.article-body h2 { margin-top: var(--space-4); }
.article-body h3 { font-size: var(--step-1); margin-top: var(--space-3); }
.article-body ul, .article-body ol { padding-left: 1.25rem; }
.article-body li + li { margin-top: 0.5em; }
.article-body a { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

/* ---------- Partner marquee (WordArt links) ---------- */
.marquee { display: flex; width: 100%; overflow: hidden; padding-block: var(--space-2); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; flex-shrink: 0; list-style: none; margin: 0; padding: 0; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-track li { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; white-space: nowrap; }
.wordart { font: 800 clamp(1.9rem, 1.2rem + 3vw, 3.4rem)/1.15 var(--font-display); text-decoration: none; letter-spacing: -0.01em; padding: .15em .05em; }
.wordart.w0 { color: var(--navy); text-shadow: 3px 3px 0 var(--gold-300); }
.wordart.w1 { color: #7a5a06; font-style: italic; text-shadow: 3px 3px 0 #e8eef6; }
.wordart.w2 { color: var(--navy-700); text-shadow: 3px 3px 0 var(--gold-300); }
.wordart:hover, .wordart:focus-visible { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; text-decoration-color: var(--gold); }
.marquee-piece { width: 28px; height: 28px; color: var(--gold); flex-shrink: 0; }
.marquee-note { text-align: center; font-size: var(--step--1); color: var(--muted); margin-top: var(--space-2); }

@media (prefers-reduced-motion: reduce) {
  .marquee { width: auto; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: .75rem; }
  .marquee-track + .marquee-track { display: none; }
  .marquee { justify-content: center; }
}

/* Homepage hero: darkened L.A. skyline with hairline puzzle-piece traces */
.hero-skyline > img { object-position: center 40%; }
.hero-skyline::before { background: linear-gradient(180deg, rgba(4, 18, 38, 0.55) 0%, rgba(4, 18, 38, 0.62) 45%, rgba(6, 36, 72, 0.92) 100%); }
.hero-pieces { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-pieces path { fill: none; stroke: #f4f1e8; stroke-opacity: .5; stroke-width: .5; vector-effect: non-scaling-stroke; }

/* ---------- Impact statistics card ---------- */
.stat-card-wrap { padding-block: var(--space-5) var(--space-3); }
.stat-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius-lg); box-shadow: 0 18px 40px -24px rgba(6, 36, 72, .35); padding: var(--space-4); display: grid; gap: var(--space-3); }
.stat-card-head h2 { font-size: var(--step-2); margin: 0 0 .25rem; }
.stat-card-head p { margin: 0; color: var(--muted); font-size: var(--step--1); }
.stat-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.stat-card-grid > div { display: flex; flex-direction: column; padding: var(--space-2) var(--space-2) var(--space-2) 0; border-top: 1px solid var(--line); }
.stat-card-grid dd { order: -1; margin: 0 0 .35rem; font: 700 clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem)/1 var(--font-mono); color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat-card-grid dt { font-size: var(--step--1); color: var(--muted); }
@media (min-width: 900px) {
  .stat-card { grid-template-columns: minmax(200px, 0.7fr) 2.6fr; align-items: center; padding: var(--space-4) var(--space-5); }
  .stat-card-grid dd { font-size: clamp(1.6rem, 0.9rem + 1.3vw, 2.2rem); letter-spacing: -0.04em; }
  .stat-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat-card-grid > div { border-top: 0; border-left: 1px solid var(--line); padding: var(--space-1) var(--space-3); }
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Photo heroes: grayscale photo, navy or amber wash, puzzle traces ---------- */
.photo-hero > img { filter: grayscale(1) contrast(1.05); object-position: center 45%; }
.photo-hero.tint-navy::before {
  background: linear-gradient(180deg, rgba(4, 18, 38, 0.72) 0%, rgba(6, 36, 72, 0.78) 50%, rgba(6, 36, 72, 0.94) 100%);
}
.photo-hero.tint-amber::before {
  background:
    linear-gradient(180deg, rgba(6, 36, 72, 0) 45%, rgba(6, 36, 72, 0.9) 100%),
    linear-gradient(180deg, rgba(84, 56, 4, 0.8) 0%, rgba(66, 44, 6, 0.8) 100%);
}
.photo-hero h1, .photo-hero p { text-shadow: 0 2px 14px rgba(4, 18, 38, 0.55); }
.photo-hero .lead, .photo-hero .note { color: var(--on-dark); }
.photo-hero .button-outline { color: #fff; border-color: rgba(255, 255, 255, 0.85); background: transparent; }
.photo-hero .button-outline:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.help-hero .help-actions { justify-content: center; }
.title-band.has-pieces { position: relative; isolation: isolate; overflow: hidden; }
.title-band.has-pieces .hero-pieces { z-index: -1; }
.info-card .stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.info-card .stat dd { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); letter-spacing: -0.04em; }
