/* Spark Nucleus Foundation, static site styles
   Design language: warm-editorial nonprofit. Lora (calm friendly serif)
   for display + Inter for UI. Deep ink navy, warm cream, spark coral,
   tech teal, community gold. Generous spacing, pill chips, large
   rounded cards, layered hero collage, dark CTA bands.
*/

:root {
  color-scheme: light;

  /* Palette */
  --ink: #0e1530;
  --ink-soft: #1f2545;
  --ink-deep: #050818;
  --cream: #f5efe2;
  --cream-deep: #ecd9b5;
  --paper: #fbf8f1;
  --white: #ffffff;
  --spark: #ef5a2b;
  --spark-dark: #c43d12;
  --spark-soft: #fde2d6;
  --teal: #1fb5a3;
  --teal-dark: #0f7d70;
  --teal-soft: #d3f3ee;
  --gold: #f5b942;
  --gold-soft: #faecc8;

  /* Text */
  --text: #15192d;
  --text-muted: #4a526a;
  --text-soft: #6b7388;
  --on-ink: rgba(245, 239, 226, 0.94);
  --on-ink-soft: rgba(245, 239, 226, 0.72);

  /* Surfaces */
  --border: #e8e1cf;
  --border-strong: #d8cfb6;
  --border-ink: rgba(245, 239, 226, 0.16);
  --focus: #1fb5a3;
  --shadow-card: 0 1px 2px rgba(14, 21, 48, 0.04),
                 0 12px 30px -18px rgba(14, 21, 48, 0.20);
  --shadow-card-hover: 0 2px 4px rgba(14, 21, 48, 0.06),
                       0 22px 48px -20px rgba(14, 21, 48, 0.28);

  /* Geometry */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --max-width: 1180px;
  --max-width-narrow: 760px;

  /* Type */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --font-display: "Lora", "Iowan Old Style", "Charter", Georgia,
    "Times New Roman", serif;
}

/* Base reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

html, body { background: var(--paper); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  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(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(14, 21, 48, 0.25);
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  transition: color 140ms ease, text-decoration-color 140ms ease;
}
a:hover {
  color: var(--spark-dark);
  text-decoration-color: var(--spark);
}
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--spark); color: var(--white); }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.01em;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.18;
}
h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
  letter-spacing: -0.018em;
  line-height: 1.18;
}
h3 {
  font-size: clamp(1.22rem, 1.6vw, 1.42rem);
  letter-spacing: -0.01em;
  line-height: 1.25;
  font-weight: 600;
}
h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section > .container > h3 { margin-top: 2.25em; }

p { margin: 0 0 1em; }

ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
ul li, ol li { margin-bottom: 0.4em; }

strong { font-weight: 600; }

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}
.container.narrow { max-width: var(--max-width-narrow); }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: var(--radius-sm);
  z-index: 100;
}

/* ===========================================================
   Header
=========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 6%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  line-height: 0;
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-logo {
  height: 90px;
  width: auto;
  max-width: 100%;
  display: block;
}
.site-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  transition: background-color 140ms ease, color 140ms ease;
}
.site-nav a:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
}
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: color-mix(in srgb, var(--spark) 14%, transparent);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover {
  background: color-mix(in srgb, var(--ink) 5%, transparent);
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--spark);
  outline-offset: 2px;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* ===========================================================
   Buttons
=========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease,
              border-color 160ms ease, transform 160ms ease,
              box-shadow 160ms ease;
}
.btn:hover {
  background: var(--spark);
  border-color: var(--spark);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px rgba(239, 90, 43, 0.6);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: color-mix(in srgb, var(--ink) 25%, transparent);
}
.btn-ghost:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: none;
}
.btn-spark {
  background: var(--spark);
  border-color: var(--spark);
  color: var(--white);
}
.btn-spark:hover {
  background: var(--spark-dark);
  border-color: var(--spark-dark);
  color: var(--white);
}
.btn-on-dark {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.btn-on-dark:hover {
  background: var(--spark);
  border-color: var(--spark);
  color: var(--white);
}
.btn-ghost-on-dark {
  background: transparent;
  color: var(--paper);
  border-color: color-mix(in srgb, var(--paper) 35%, transparent);
}
.btn-ghost-on-dark:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
  box-shadow: none;
}

.btn .arrow {
  display: inline-block;
  transition: transform 160ms ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ===========================================================
   Eyebrow chips & badges
=========================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--spark) 14%, transparent);
  color: var(--spark-dark);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--spark);
  flex-shrink: 0;
}
.eyebrow.eyebrow-teal {
  background: color-mix(in srgb, var(--teal) 16%, transparent);
  color: var(--teal-dark);
}
.eyebrow.eyebrow-teal::before { background: var(--teal); }
.eyebrow.eyebrow-gold {
  background: color-mix(in srgb, var(--gold) 30%, transparent);
  color: #7a4a06;
}
.eyebrow.eyebrow-gold::before { background: var(--gold); }
.eyebrow.eyebrow-on-dark {
  background: rgba(245, 239, 226, 0.10);
  color: var(--on-ink);
}
.eyebrow.eyebrow-on-dark::before { background: var(--spark); }

/* ===========================================================
   Sections
=========================================================== */
.section {
  padding: 96px 0;
  position: relative;
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
}
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }
.section-white { background: var(--white); }
.section.section-tight { padding: 56px 0; }
@media (max-width: 720px) {
  .section.section-tight { padding: 40px 0; }
}
.priorities-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;
}
@media (min-width: 880px) {
  .priorities-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }
}
.priorities-card {
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.priorities-row .priorities-card { max-width: none; margin: 0; }
@media (max-width: 720px) {
  .priorities-card { padding: 28px; }
}
.priorities-head { margin-bottom: 16px; }
.priorities-head h2 { margin: 8px 0 0; }
.priorities-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 62ch;
}
.section-ink {
  background: var(--ink);
  color: var(--on-ink);
}
.section-ink h1,
.section-ink h2,
.section-ink h3 { color: var(--white); }
.section-ink p { color: var(--on-ink); }
.section-ink .muted { color: var(--on-ink-soft); }
.section-ink a:not(.btn) {
  color: var(--paper);
  text-decoration-color: rgba(245, 239, 226, 0.4);
}
.section-ink a:not(.btn):hover {
  color: var(--spark);
  text-decoration-color: var(--spark);
}

.section-intro {
  color: var(--text-muted);
  max-width: 62ch;
  margin-bottom: 40px;
  font-size: 1.1rem;
  line-height: 1.6;
}
.section-ink .section-intro { color: var(--on-ink); }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 56px;
}
@media (min-width: 900px) {
  .section-head {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: end;
  }
}
.section-head h2 { margin: 0; }
.section-head .section-intro { margin: 0; }

/* ===========================================================
   Hero
=========================================================== */
.hero {
  position: relative;
  padding: 88px 0 104px;
  background: var(--paper);
  overflow: hidden;
}
.hero::before {
  /* warm wash behind hero */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 50% at 92% 18%, color-mix(in srgb, var(--gold) 28%, transparent), transparent 70%),
    radial-gradient(45% 40% at 8% 92%, color-mix(in srgb, var(--spark) 14%, transparent), transparent 70%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
    gap: 72px;
  }
}
.hero h1 {
  max-width: 26ch;
  margin-bottom: 24px;
}
.hero .lede {
  font-size: clamp(1.1rem, 1.55vw, 1.32rem);
  color: var(--text-muted);
  max-width: 56ch;
  line-height: 1.55;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Hero collage: stacked color cards forming a "scene" */
.hero-collage {
  position: relative;
  aspect-ratio: 5 / 6;
  min-height: 380px;
  width: 100%;
}
.collage-card {
  position: absolute;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: transform 280ms ease;
}
.collage-card:hover { transform: translateY(-4px); }
.collage-card .collage-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin: 0;
}
.collage-card .collage-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.22;
  letter-spacing: -0.012em;
  margin: 0;
  font-weight: 600;
}
.collage-card .collage-meta {
  margin-top: auto;
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.9;
}

/* Layout note:
   Two pairs of cards: top-left (ink) + top-right (spark), bottom-left
   (cream) + bottom-right (teal). Front cards (ink, teal) sit on top of
   back cards (spark, cream). Widths sum to ~104% so overlap is just a
   visual edge (~4%), keeping all card text readable. */
.collage-card.card-ink {
  background: var(--ink);
  color: var(--paper);
  top: 0;
  left: 0;
  width: 54%;
  height: 52%;
  z-index: 3;
}
.collage-card.card-spark {
  background: var(--spark);
  color: var(--white);
  top: 6%;
  right: 0;
  width: 50%;
  height: 46%;
  z-index: 2;
}
.collage-card.card-cream {
  background: var(--cream-deep);
  color: var(--ink);
  bottom: 6%;
  left: 0;
  width: 50%;
  height: 42%;
  z-index: 2;
}
.collage-card.card-teal {
  background: var(--teal);
  color: var(--white);
  bottom: 0;
  right: 0;
  width: 54%;
  height: 48%;
  z-index: 3;
}
.collage-glyph {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
}
.collage-card.card-cream .collage-glyph {
  background: rgba(14, 21, 48, 0.10);
}

@media (max-width: 979px) {
  .hero-collage {
    position: static;
    aspect-ratio: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .hero-collage .collage-card,
  .hero-collage .collage-card.card-ink,
  .hero-collage .collage-card.card-spark,
  .hero-collage .collage-card.card-cream,
  .hero-collage .collage-card.card-teal {
    position: static;
    width: auto;
    height: auto;
    inset: auto;
  }
}
@media (max-width: 640px) {
  .collage-card { padding: 18px 20px; }
  .collage-card .collage-title { font-size: 1.1rem; }
  .collage-card .collage-meta { font-size: 0.85rem; }
}
@media (max-width: 500px) {
  .hero-collage { grid-template-columns: 1fr; }
}

/* Page hero (lighter hero for inner pages) */
.page-hero {
  position: relative;
  padding: 76px 0 56px;
  background: var(--paper);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(50% 45% at 95% 10%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 22ch; margin-bottom: 20px; }
.page-hero .lede {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--text-muted);
  max-width: 64ch;
  line-height: 1.6;
}

/* ===========================================================
   Cards
=========================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-strong);
}
.card h3 { margin-top: 0; margin-bottom: 12px; }
.card p { color: var(--text-muted); margin-bottom: 0; }

.section-cream .card { background: var(--white); }
.section-ink .card {
  background: var(--ink-soft);
  border-color: var(--border-ink);
  color: var(--on-ink);
}
.section-ink .card h3 { color: var(--white); }
.section-ink .card p { color: var(--on-ink); }

.card-num {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--spark-dark);
  text-transform: uppercase;
}

/* ===========================================================
   Grids
=========================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 28px; }
}

.three-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 760px) {
  .three-col { grid-template-columns: repeat(3, 1fr); gap: 26px; }
}

/* Program cards with icon glyph + accent */
.program-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 40px;
}
@media (min-width: 720px) {
  .program-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}
@media (min-width: 1040px) {
  .program-grid { grid-template-columns: repeat(3, 1fr); }
}
.program-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 200ms ease, box-shadow 200ms ease,
              border-color 200ms ease;
  position: relative;
  overflow: hidden;
}
.program-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--spark);
  opacity: 0;
  transition: opacity 200ms ease;
}
.program-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-strong);
}
.program-card:hover::after { opacity: 1; }
.program-card h3 { margin: 0 0 12px; }
.program-card p { color: var(--text-muted); margin: 0; line-height: 1.6; }

.program-glyph {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.program-glyph svg { width: 26px; height: 26px; }
.program-glyph.glyph-spark {
  background: var(--spark-soft);
  color: var(--spark-dark);
}
.program-glyph.glyph-teal {
  background: var(--teal-soft);
  color: var(--teal-dark);
}
.program-glyph.glyph-gold {
  background: var(--gold-soft);
  color: #7a4a06;
}
.program-glyph.glyph-ink {
  background: color-mix(in srgb, var(--ink) 10%, transparent);
  color: var(--ink);
}

.program-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ===========================================================
   Stats
=========================================================== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin: 16px 0 0;
  border-top: 1px solid var(--border-strong);
}
.stat {
  padding: 32px 24px 28px;
  border-bottom: 1px solid var(--border-strong);
  border-right: 1px solid var(--border-strong);
  background: transparent;
}
.stat:last-child { border-right: none; }
@media (max-width: 720px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat { border-right: 1px solid var(--border-strong); }
  .stat:nth-child(even) { border-right: none; }
}
.section-ink .stat-grid { border-top-color: var(--border-ink); }
.section-ink .stat {
  border-color: var(--border-ink);
}

.stat-num {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--ink);
}
.section-ink .stat-num { color: var(--white); }
.stat-num .stat-suffix {
  font-size: 0.6em;
  color: var(--spark);
  margin-left: 2px;
}
.stat-label {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-muted);
}
.section-ink .stat-label { color: var(--on-ink); }

/* ===========================================================
   CTA grid (Get involved)
=========================================================== */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) {
  .cta-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (min-width: 1040px) {
  .cta-grid { grid-template-columns: repeat(3, 1fr); }
}
.cta-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease,
              border-color 180ms ease, background 180ms ease;
  position: relative;
  overflow: hidden;
}
.cta-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--ink);
  color: var(--ink);
}
.cta-card h3 { margin: 0 0 10px; }
.cta-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}
.cta-card-arrow {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--spark-dark);
  letter-spacing: -0.005em;
  transition: gap 180ms ease;
}
.cta-card:hover .cta-card-arrow { gap: 10px; }
.cta-label {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
}

/* CTA band (dark band for key conversions) */
.cta-band {
  position: relative;
  padding: 96px 0;
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 80% 50%, color-mix(in srgb, var(--spark) 22%, transparent), transparent 70%),
    radial-gradient(45% 60% at 15% 100%, color-mix(in srgb, var(--teal) 18%, transparent), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 {
  color: var(--white);
  max-width: 22ch;
}
.cta-band p {
  color: var(--on-ink);
  max-width: 60ch;
  font-size: 1.1rem;
}
.cta-band a:not(.btn) {
  color: var(--paper);
  text-decoration-color: rgba(245, 239, 226, 0.4);
}
.cta-band a:not(.btn):hover {
  color: var(--spark);
  text-decoration-color: var(--spark);
}

/* Email display block used inside dark CTA bands.
   Pill-shaped, selectable, replaces the old mailto button. */
.cta-email {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0 24px;
  padding: 12px 22px;
  border: 1px solid rgba(245, 239, 226, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(245, 239, 226, 0.05);
  flex-wrap: wrap;
}
.cta-email-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-ink-soft);
  margin: 0;
}
.cta-email-value {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--paper);
  margin: 0;
  user-select: all;
  -webkit-user-select: all;
}

/* ===========================================================
   Mission list (the bigger "we stand for" list)
=========================================================== */
.mission-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border-strong);
}
.section-ink .mission-list { border-top-color: var(--border-ink); }
.mission-list li {
  padding: 28px 0;
  border-bottom: 1px solid var(--border-strong);
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
}
.section-ink .mission-list li { border-color: var(--border-ink); }
@media (min-width: 760px) {
  .mission-list li {
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 40px;
    align-items: start;
  }
}
.mission-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.012em;
  color: var(--ink);
  line-height: 1.25;
}
.section-ink .mission-list strong { color: var(--white); }
.mission-list span {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}
.section-ink .mission-list span { color: var(--on-ink); }

/* ===========================================================
   Plain list (bulleted with dot)
=========================================================== */
.plain-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1em;
}
.plain-list li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.55em;
  color: var(--text);
  line-height: 1.6;
}
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--spark);
}
.section-ink .plain-list li { color: var(--on-ink); }
.section-ink .plain-list li::before { background: var(--spark); }

.card-list {
  padding-left: 1.1em;
  color: var(--text-muted);
}
.card-list li { margin-bottom: 0.45em; }

/* ===========================================================
   Info rows (label / value)
=========================================================== */
.info-rows {
  margin: 28px 0 0;
  border-top: 1px solid var(--border-strong);
}
.info-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-strong);
}
@media (min-width: 640px) {
  .info-row {
    grid-template-columns: minmax(180px, 240px) 1fr;
    gap: 32px;
    align-items: baseline;
  }
}
.info-row-label {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}
.info-row-value {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
}

/* ===========================================================
   Contact email block
=========================================================== */
.contact-email {
  margin: 28px 0 22px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--cream);
  display: grid;
  gap: 6px;
}
.contact-email-label {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  font-weight: 700;
}
.contact-email-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.contact-email-value a {
  text-decoration-color: rgba(14, 21, 48, 0.25);
  text-decoration-thickness: 1.5px;
}
.contact-email-value a:hover {
  text-decoration-color: var(--spark);
}

/* ===========================================================
   Team grid
=========================================================== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.team-member {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.team-member:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.team-role {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--spark-dark);
}
.team-name {
  margin: 0 0 14px;
  font-size: 1.4rem;
}
.team-link {
  margin: 18px 0 0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
}
.team-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--spark-dark);
  text-decoration: none;
}
.team-link a:hover {
  color: var(--spark);
  text-decoration: underline;
}
.team-bullets-label {
  margin: 18px 0 8px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}

/* ===========================================================
   Case study outcome callout
=========================================================== */
.case-outcome {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.96rem;
}
.case-outcome strong { color: var(--ink); }

/* ===========================================================
   Partner / sponsor tile placeholders
=========================================================== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin: 32px 0 12px;
}
.partner-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.88rem;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.partner-tile:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.partner-tile img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}
/* Modifier for empty placeholder tiles (e.g., "coming soon" slots) */
.partner-tile.is-placeholder {
  border-style: dashed;
  border-color: var(--border-strong);
}

/* ===========================================================
   Footer
=========================================================== */
.site-footer {
  background: var(--ink);
  color: var(--on-ink);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 48px;
}
@media (min-width: 780px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 56px;
  }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand-logo {
  height: 64px;
  width: auto;
  max-width: 100%;
  display: block;
  align-self: flex-start;
}
.footer-tagline {
  margin: 0;
  max-width: 38ch;
  color: var(--on-ink);
  line-height: 1.6;
}
.footer-col h4 {
  color: var(--on-ink-soft);
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-col a {
  color: var(--on-ink);
  text-decoration: none;
  font-size: 0.96rem;
}
.footer-col a:hover {
  color: var(--spark);
  text-decoration: underline;
  text-decoration-color: var(--spark);
}
/* Contact column: icon + text rows */
.footer-contact { gap: 14px; }
.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--on-ink);
}
.footer-contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--spark);
  margin-top: 4px;
}
.footer-contact-icon svg {
  width: 18px;
  height: 18px;
}
/* Social media row in the brand column */
.footer-social {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  gap: 10px;
}
.footer-social li { margin: 0; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 239, 226, 0.08);
  color: var(--on-ink);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease,
              transform 180ms ease;
}
.footer-social a:hover {
  background: var(--spark);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
}
.footer-social a svg {
  width: 17px;
  height: 17px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border-ink);
  color: var(--on-ink-soft);
  font-size: 0.86rem;
}
.footer-bottom p { margin: 0; }

/* ===========================================================
   Utility
=========================================================== */
.muted { color: var(--text-muted); }
.small { font-size: 0.9rem; }
.center { text-align: center; }

/* ===========================================================
   Narrow screen tuning
=========================================================== */
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .header-inner { gap: 12px; padding-block: 14px; }
  .brand-logo { height: 48px; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
  }
  .site-nav a { font-size: 0.95rem; padding: 10px 12px; }
  .nav-toggle[aria-expanded="true"] ~ .site-nav { display: flex; }
  .hero { padding: 56px 0 72px; }
  .page-hero { padding: 56px 0 32px; }
  .card, .program-card, .team-member, .cta-card { padding: 24px; }
  .cta-band { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
}

/* ===========================================================
   Print
=========================================================== */
@media print {
  .site-header, .site-nav, .hero-actions, .skip-link,
  .hero::before, .page-hero::before, .cta-band::before { display: none; }
  .section, .hero, .page-hero, .cta-band { padding: 12px 0; }
  body { font-size: 11pt; color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .card, .program-card, .team-member, .cta-card, .contact-email {
    border: 1px solid #999; background: #fff;
  }
}
