/* Student Arts Foundation
   Layout concept: a calm white foundation; the logo's three shapes (the red
   S arc, the sky A triangle, the yellow slab) are the only ornament. Pages
   follow the five-stage pathway: Discover, Experience, Access, Develop, Advance. */

:root {
  --indigo: #2414c4;
  --indigo-deep: #170c86;
  --sky: #12b5ef;
  --sky-soft: #def4fd;
  --red: #d7141c;          /* text-safe red: white on it passes WCAG AA */
  --red-brand: #ec1c24;    /* logo red, shapes only */
  --yellow: #f5ec00;
  --yellow-soft: #fffbc2;
  --ink: #15132b;
  --ink-soft: #46445e;
  --muted: #64627a;
  --line: #dcdeea;
  --paper: #ffffff;
  --paper-2: #f4f5fa;
  --on-color: #ffffff;
  --ok: #0b6b33;
  --ok-soft: #dcf5e5;
  --warn-soft: #fff1d6;
  --warn: #7a4a00;

  --font-display: "Urbanist", "Segoe UI", system-ui, sans-serif;
  --font-script: "Caveat", "Segoe Print", cursive;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 2.1vw, 1.8rem);
  --step-3: clamp(2rem, 4vw, 3rem);
  --step-4: clamp(2.5rem, 6vw, 4.9rem);

  --radius: 14px;
  --radius-sm: 10px;
  --max: 1200px;
  --gutter-x: clamp(16px, 4vw, 48px);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 0.45em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-2); font-weight: 700; line-height: 1.15; }
h4 { font-size: var(--step-1); font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }
p, li { max-width: 68ch; }
strong { font-weight: 700; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter-x));
  margin: 0 auto;
  padding-left: max(var(--gutter-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter-x), env(safe-area-inset-right, 0px));
}
.wrap--narrow { max-width: calc(820px + 2 * var(--gutter-x)); }
.band { padding-block: clamp(60px, 8vw, 112px); }
.band--tight { padding-block: clamp(40px, 5vw, 72px); }
.band--tint { background: var(--paper-2); }
.band--indigo { background: var(--indigo); color: var(--on-color); }
.band--sky { background: var(--sky); color: var(--ink); }
.band--ink { background: var(--ink); color: var(--on-color); }
.band--indigo a:not(.btn), .band--ink a:not(.btn) { color: var(--on-color); }

.label {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.label::before { content: ""; width: 14px; height: 14px; background: var(--yellow); transform: skewX(-24deg); flex: none; }
.band--indigo .label, .band--ink .label { color: var(--yellow); }
.band--sky .label { color: var(--ink); }
.band--sky .label::before { background: var(--ink); }

.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); }
.band--indigo .lead, .band--ink .lead { color: rgba(255,255,255,0.88); }
.band--sky .lead { color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 64px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2, .section-head p { margin: 0; }
.section-head > * { min-width: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--on-color); padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Admin placeholders (hidden at launch via SHOW_ADMIN_NOTES) ---------- */
.admin-note {
  display: none;
  border: 2px dashed #b4870a;
  background: var(--warn-soft);
  color: var(--warn);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 12px 0;
  max-width: 68ch;
}
.admin-note::before { content: "Before launch · "; font-weight: 500; }
.show-admin .admin-note { display: block; }
.show-admin span.admin-note { display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  padding: 0.95em 1.45em;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn--red { background: var(--red); color: var(--on-color); }
.btn--red:hover { background: var(--ink); color: var(--on-color); }
.btn--indigo { background: var(--indigo); color: var(--on-color); }
.btn--indigo:hover { background: var(--ink); color: var(--on-color); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--paper); color: var(--ink); }
.btn--line { border-color: currentColor; color: inherit; background: transparent; }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--on-color); }
.band--indigo .btn--line:hover, .band--ink .btn--line:hover, .dark .btn--line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--sm { padding: 0.7em 1.1em; font-size: 0.93rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }

.arrow-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.arrow-link::after { content: "→"; transition: transform 0.18s ease; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.utility { background: var(--ink); color: rgba(255,255,255,0.85); font-size: var(--step--1); }
.utility .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.utility a { color: var(--yellow); font-weight: 700; }
.utility__right { display: flex; gap: 18px; }
.utility__right a { color: rgba(255,255,255,0.9); font-weight: 600; text-decoration: none; }
.utility__right a:hover { color: var(--yellow); }
@media (max-width: 640px) { .utility__right { display: none; } }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; flex: none; }
.brand img { width: 42px; height: auto; }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; }
.nav li { max-width: none; }
.nav a { display: block; padding: 0.55em 0.7em; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: var(--paper-2); color: var(--indigo); }
.nav a[aria-current="page"] { color: var(--indigo); box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
.nav .mobile-only { display: none; }
.header-actions { display: flex; gap: 8px; flex: none; }
.header-actions .btn { padding: 0.75em 1.15em; font-size: 0.95rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 1260px) {
  .nav-toggle { display: block; order: 3; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(21,19,43,0.12); max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px max(var(--gutter-x), env(safe-area-inset-left, 0px)) 24px; }
  .nav a { padding: 0.9em 0.25em; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--yellow); padding-left: 14px; }
}
@media (max-width: 640px) {
  .header-actions { display: none; }
  .nav .mobile-only { display: block; }
  .nav .mobile-only .btn { margin-top: 12px; width: 100%; border-bottom: 2px solid transparent; padding: 0.95em; }
}

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 84px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 em { font-style: normal; color: var(--indigo); background: linear-gradient(transparent 68%, var(--yellow) 68%, var(--yellow) 92%, transparent 92%); padding: 0 0.04em; }
.hero__lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 50ch; }
.hero__support { margin-top: 18px; font-weight: 600; }

.collage { position: relative; aspect-ratio: 1 / 1; max-width: 100%; }
.collage figure { margin: 0; position: absolute; overflow: hidden; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .c-arch { left: 0; top: 4%; width: 52%; height: 70%; border-radius: 999px 999px 24px 24px; }
.collage .c-tri { right: 0; top: 0; width: 50%; height: 56%; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.collage .c-circle { right: 6%; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 8px var(--paper); }
.collage .s-slab { position: absolute; left: 30%; bottom: 8%; width: 26%; height: 9%; background: var(--yellow); transform: skewX(-32deg); }
.collage .s-arc { position: absolute; left: 6%; bottom: 2%; width: 22%; aspect-ratio: 1; border: 18px solid var(--red-brand); border-radius: 50%; border-right-color: transparent; border-bottom-color: transparent; transform: rotate(-45deg); }
.collage .tag { position: absolute; left: 6%; top: 66%; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; background: var(--ink); color: var(--on-color); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .collage { max-width: 540px; } }
@media (max-width: 480px) { .collage .s-arc { border-width: 10px; } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(52px, 7vw, 96px); background: var(--indigo); color: var(--on-color); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 17ch; font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
.page-hero .lead { color: rgba(255,255,255,0.9); max-width: 58ch; }
.page-hero .label { color: var(--yellow); }
.page-hero .crumbs { font-size: var(--step--1); margin-bottom: 14px; color: rgba(255,255,255,0.75); }
.page-hero .crumbs a { color: rgba(255,255,255,0.9); }
.page-hero__shapes { position: absolute; inset: 0; pointer-events: none; }
.page-hero__shapes .tri { position: absolute; right: 6%; top: 14%; width: clamp(140px, 20vw, 280px); aspect-ratio: 1; background: var(--sky); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.page-hero__shapes .slab { position: absolute; right: 3%; bottom: 14%; width: clamp(80px, 12vw, 170px); height: clamp(22px, 3vw, 44px); background: var(--yellow); transform: skewX(-32deg); }
.page-hero__shapes .arc { position: absolute; right: 24%; bottom: -60px; width: clamp(120px, 16vw, 220px); aspect-ratio: 1; border: clamp(14px, 2vw, 26px) solid var(--red-brand); border-radius: 50%; border-bottom-color: transparent; border-left-color: transparent; transform: rotate(-45deg); }
@media (max-width: 760px) {
  .page-hero__shapes .tri { right: -50px; top: -30px; opacity: 0.5; }
  .page-hero__shapes .arc { display: none; }
  .page-hero__shapes .slab { bottom: 18px; }
}
.page-hero .status { margin-bottom: 16px; white-space: normal; }

/* ---------- Mission ---------- */
.mission { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px 56px; align-items: start; }
.mission blockquote { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; max-width: 36ch; }
.mission blockquote::before { content: "“"; color: var(--red-brand); }
.mission blockquote::after { content: "”"; color: var(--red-brand); }
.mission__ideas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 40px; grid-column: 2; border-top: 2px solid var(--ink); }
.mission__ideas div { padding: 18px 20px 0 0; }
.mission__ideas h4 { font-size: 1.05rem; margin-bottom: 6px; }
.mission__ideas p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 960px) {
  .mission { grid-template-columns: 1fr; }
  .mission__ideas { grid-column: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
}
@media (max-width: 520px) { .mission__ideas { grid-template-columns: 1fr; } }

/* ---------- Search panel ---------- */
.search-panel { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: 0 24px 60px rgba(21, 19, 43, 0.18); }
.search-panel__grid { display: grid; grid-template-columns: 1.6fr repeat(5, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
.search-panel__grid > * { min-width: 0; }
@media (max-width: 1180px) { .search-panel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .search-panel__grid .field--q, .search-panel__grid .btn { grid-column: 1 / -1; } }
@media (max-width: 520px) { .search-panel__grid { grid-template-columns: 1fr; } }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.quick-links span { font-size: var(--step--1); color: var(--muted); margin-right: 4px; }

/* ---------- Program cards ---------- */
.program-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .program-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .program-cards { grid-template-columns: 1fr; } }
.pcard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 24px; border-radius: var(--radius); background: var(--paper); border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); transition: transform 0.2s ease, border-color 0.2s ease; }
.pcard:hover { transform: translateY(-4px); border-color: var(--ink); color: var(--ink); }
.pcard__shape { width: 40px; height: 40px; margin-bottom: 6px; }
.pcard h3 { font-size: 1.4rem; margin: 0; }
.pcard p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.pcard .arrow-link { margin-top: auto; padding-top: 8px; color: var(--indigo); }
.pcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.shape-tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.shape-circle { border-radius: 50%; }
.shape-slab { transform: skewX(-24deg); height: 20px !important; margin-top: 10px; margin-bottom: 16px !important; }
.shape-arch { border-radius: 999px 999px 6px 6px; }
.shape-ring { border-radius: 50%; border: 9px solid currentColor; background: transparent !important; }
.shape-diamond { transform: rotate(45deg) scale(0.8); }
.c-yellow { background: var(--yellow); color: var(--yellow); }
.c-sky { background: var(--sky); color: var(--sky); }
.c-red { background: var(--red-brand); color: var(--red-brand); }
.c-indigo { background: var(--indigo); color: var(--indigo); }
.c-ink { background: var(--ink); color: var(--ink); }

/* ---------- Status chips ---------- */
.status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; font-weight: 500; white-space: nowrap; line-height: 1.4; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--established, .status--open, .status--ongoing { background: var(--ok-soft); color: var(--ok); }
.status--upcoming { background: var(--sky-soft); color: #075a7c; }
.status--development { background: var(--ink); color: var(--yellow); }
.status--closed { background: var(--paper-2); color: var(--muted); }
.status--tbc { background: var(--warn-soft); color: var(--warn); }

/* ---------- Pathway ---------- */
.pathway { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; }
.pathway li { max-width: none; position: relative; padding-right: 22px; }
.pathway__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pathway__dot { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.92rem; background: var(--yellow); color: var(--ink); }
.pathway li:nth-child(2) .pathway__dot { background: var(--sky); }
.pathway li:nth-child(3) .pathway__dot { background: var(--paper); box-shadow: inset 0 0 0 3px var(--ink); }
.pathway li:nth-child(4) .pathway__dot { background: var(--indigo); color: var(--on-color); }
.pathway li:nth-child(5) .pathway__dot { background: var(--red); color: var(--on-color); }
.pathway__line { flex: 1; height: 3px; background: repeating-linear-gradient(90deg, currentColor 0 10px, transparent 10px 18px); opacity: 0.3; }
.pathway li:last-child .pathway__line { display: none; }
.pathway h3 { font-size: 1.55rem; margin-bottom: 0.3em; }
.pathway p { font-size: 0.97rem; margin: 0; opacity: 0.9; }
.pathway .programs-in { margin-top: 12px; font-size: 0.86rem; font-weight: 700; color: var(--indigo); }
.band--ink .pathway .programs-in, .band--indigo .pathway .programs-in { color: var(--yellow); }
.band--ink .pathway li:nth-child(3) .pathway__dot { box-shadow: inset 0 0 0 3px var(--paper); background: transparent; color: var(--on-color); }
.pathway-note { margin-top: 32px; font-size: var(--step--1); opacity: 0.75; }
@media (max-width: 1000px) {
  .pathway { grid-template-columns: 1fr; gap: 0; }
  .pathway li { display: grid; grid-template-columns: 50px 1fr; gap: 0 18px; padding: 0 0 26px; }
  .pathway__head { grid-row: span 3; flex-direction: column; margin: 0; align-self: stretch; }
  .pathway__line { width: 3px; height: auto; flex: 1; background: repeating-linear-gradient(180deg, currentColor 0 8px, transparent 8px 14px); }
  .pathway li:last-child .pathway__line { display: none; }
}

/* ---------- Barriers ---------- */
.barriers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.barrier { padding: 24px 28px 28px 0; border-bottom: 1px solid var(--line); }
.barrier:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.barrier__k { font-family: var(--font-mono); font-size: var(--step--1); color: var(--indigo); letter-spacing: 0.06em; text-transform: uppercase; }
.barrier h3 { font-size: 1.3rem; margin: 6px 0 8px; }
.barrier p { font-size: 0.97rem; color: var(--ink-soft); margin: 0; }
.barrier__answer { margin-top: 12px !important; font-weight: 700; color: var(--ink) !important; display: flex; gap: 8px; }
.barrier__answer::before { content: "→"; color: var(--red); }
@media (max-width: 960px) {
  .barriers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .barrier:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .barrier:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .barriers { grid-template-columns: 1fr; }
  .barrier:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.stat { padding: 6px 24px 6px 0; min-width: 0; }
.stat + .stat { padding-left: 24px; border-left: 2px solid var(--line); }
.band--ink .stat + .stat, .band--indigo .stat + .stat { border-left-color: rgba(255,255,255,0.18); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.03em; color: var(--indigo); font-variant-numeric: tabular-nums; }
.band--ink .stat__num, .band--indigo .stat__num { color: var(--yellow); }
.stat p { margin: 10px 0 0; font-size: 0.97rem; }
.stat .muted { font-size: 0.82rem; }
.band--ink .stat .muted, .band--indigo .stat .muted { color: rgba(255,255,255,0.65); }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0 !important; }
}

/* ---------- Split / media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.split--wide-left { grid-template-columns: 1.3fr 1fr; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; } }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--arch { border-radius: 999px 999px var(--radius) var(--radius); }
.photo--tall img { aspect-ratio: 4 / 5; }
.photo--wide img { aspect-ratio: 16 / 10; }
.photo figcaption { position: absolute; left: 16px; bottom: 16px; font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; background: var(--ink); color: var(--on-color); padding: 6px 12px; border-radius: 999px; }

.check { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: 10px; }
.check li { position: relative; padding-left: 34px; }
.check li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; background: var(--sky); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.band--indigo .check li::before, .band--ink .check li::before { background: var(--yellow); }
.cols-2 { columns: 2; column-gap: 32px; }
.cols-2 li { break-inside: avoid; }
@media (max-width: 600px) { .cols-2 { columns: 1; } }

/* ---------- Info blocks (program detail) ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); margin: 0; }
.facts > div { padding: 18px 24px 18px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.facts dt { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; counter-increment: step; max-width: none; }
.steps li::before { content: counter(step); width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; font-family: var(--font-mono); }
.band--ink .steps li::before, .band--indigo .steps li::before { background: var(--yellow); color: var(--ink); }
.steps h4 { margin: 7px 0 4px; font-size: 1.1rem; }
.steps p { margin: 0; color: inherit; opacity: 0.85; font-size: 0.98rem; }

.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--font-body); font-size: 1.6rem; color: var(--indigo); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 22px; color: var(--ink-soft); }
.faq details > div p:last-child { margin: 0; }

.callout { border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); background: var(--yellow-soft); }
.callout--sky { background: var(--sky-soft); }
.callout--line { background: var(--paper); border: 1.5px solid var(--line); }
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Audience routes ---------- */
.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid currentColor; }
.route { display: flex; flex-direction: column; gap: 8px; padding: 26px 26px 26px 0; border-bottom: 1px solid rgba(127,127,160,0.35); text-decoration: none; color: inherit; min-width: 0; }
.route:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid rgba(127,127,160,0.35); }
.route h3 { font-size: 1.3rem; margin: 0; }
.route p { margin: 0; font-size: 0.97rem; opacity: 0.85; }
.route .arrow-link { margin-top: 6px; }
.route:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.band--ink .route, .band--indigo .route { color: var(--on-color); }
.band--ink .route .arrow-link, .band--indigo .route .arrow-link { color: var(--yellow); }
@media (max-width: 900px) {
  .routes { grid-template-columns: 1fr 1fr; }
  .route:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .route:nth-child(2n) { padding-left: 22px; border-left: 1px solid rgba(127,127,160,0.35); }
}
@media (max-width: 560px) {
  .routes { grid-template-columns: 1fr; }
  .route:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* ---------- Finder ---------- */
/* Linked partner logos */
.logo-wall li:has(> a) { padding: 0; }
.logo-wall li > a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 100%; padding: 26px 14px; color: inherit; text-decoration: none; }
.logo-wall li > a:hover span, .logo-wall li > a:focus-visible span { text-decoration: underline; color: var(--indigo); }
.logo-wall li > a:focus-visible, .logo-strip li > a:focus-visible { outline: 3px solid var(--sky); outline-offset: -3px; }
.logo-strip li > a { display: grid; place-items: center; }
.logo-strip li:focus-within { filter: none; opacity: 1; }

/* ---------- Region cards (Partner page) ---------- */
.region-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.region-card { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; border-radius: var(--radius); background: var(--paper-2); }
.region-card h3 { margin: 4px 0 0; }
.region-card p { margin: 0; }
.region-card__hub { font-weight: 700; color: var(--indigo); }
.region-card__counties { font-size: var(--step--1); color: var(--muted); }
.region-card .arrow-link { margin-top: auto; padding-top: 8px; }

/* ---------- Region picker (Opportunity Finder) ---------- */
.region-bar { display: grid; gap: 14px; margin-bottom: 40px; padding: 26px 28px; border-radius: var(--radius); background: var(--paper-2); }
.region-bar__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.region-bar__head .label { margin: 0; }
.region-bar__title { font-size: var(--step-1, 1.3rem); margin: 0; }
.region-picker { display: flex; flex-wrap: wrap; gap: 10px; }
.region-chip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 48px; padding: 9px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 700; line-height: 1.2; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.region-chip small { font-weight: 500; font-size: 0.8rem; color: var(--muted); }
.region-chip:hover { border-color: var(--indigo); }
.region-chip:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.region-chip[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.region-chip[aria-pressed="true"] small { color: rgba(255, 255, 255, 0.8); }
.region-bar__note { margin: 0; color: var(--muted); font-size: var(--step--1); }
.region-bar__note strong { color: var(--ink); }
@media (max-width: 520px) { .region-bar { padding: 20px 18px; } .region-chip { flex: 1 1 calc(50% - 10px); } }

.finder { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 960px) { .finder { grid-template-columns: 1fr; } }
.filters { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); display: grid; gap: 18px; }
@media (max-width: 960px) { .filters { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); } .filters .field--q, .filters .filter-toggles, .filters .filters__reset { grid-column: 1 / -1; } }
@media (max-width: 520px) { .filters { grid-template-columns: 1fr; } }
.filter-toggles { display: grid; gap: 10px; }
.toggle { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.toggle input { width: 20px; height: 20px; accent-color: var(--indigo); flex: none; }
.filters__reset { justify-self: start; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--indigo); text-decoration: underline; cursor: pointer; }
.results-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.results-bar p { margin: 0; font-weight: 700; }
.results-bar .field { display: flex; align-items: center; gap: 10px; }
.results-bar .field label { font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.results-bar select { width: auto; padding: 0.55em 0.8em; }
.listings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 680px) { .listings { grid-template-columns: 1fr; } }
.listing { border: 1.5px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); max-width: none; min-width: 0; }
.listing__top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.listing__type { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo); }
.listing h3 { font-size: 1.25rem; margin: 2px 0 0; }
.listing__provider { margin: 0; color: var(--ink-soft); font-size: 0.95rem; font-weight: 600; }
.listing__desc { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.listing__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.listing__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.listing__foot a { font-weight: 700; font-size: 0.95rem; }
.listing__links { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.pill { font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink); }
.pill--free { background: var(--ok-soft); color: var(--ok); }
.pill--aid { background: var(--yellow); color: var(--ink); }
.verify { display: inline-flex; align-items: center; gap: 6px; }
.verify svg { width: 15px; height: 15px; flex: none; }
.verify--saf { color: var(--indigo); font-weight: 700; }
.verify--verified { color: var(--ok); font-weight: 700; }
.empty { padding: 36px; border: 2px dashed var(--line); border-radius: 18px; text-align: center; color: var(--ink-soft); grid-column: 1 / -1; max-width: none; }
.empty h3 { color: var(--ink); font-size: 1.3rem; }

/* ---------- Upcoming list ---------- */
.upcoming { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.upcoming li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); max-width: none; }
.upcoming time { font-family: var(--font-mono); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; color: var(--indigo); }
.upcoming time strong { display: block; font-family: var(--font-display); font-size: 1.7rem; letter-spacing: -0.02em; text-transform: none; color: var(--ink); line-height: 1.1; }
.upcoming h3 { font-size: 1.2rem; margin: 0 0 4px; }
.upcoming p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 640px) { .upcoming li { grid-template-columns: 80px 1fr; } .upcoming li > :last-child { grid-column: 2; justify-self: start; } }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border-top: 3px solid var(--ink); }
.timeline li { padding: 22px 22px 0 0; position: relative; max-width: none; }
.timeline li::before { content: ""; position: absolute; top: -10px; left: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px var(--ink); }
.timeline .year { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -0.02em; line-height: 1; }
.timeline p { margin: 8px 0 0; color: var(--ink-soft); font-size: 0.97rem; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 3px solid var(--ink); padding-left: 24px; gap: 26px; }
  .timeline li { padding: 0; }
  .timeline li::before { left: -34px; top: 6px; }
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 12px; }
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-1 { grid-column: span 3; grid-row: span 2; }
.gallery .g-2 { grid-column: span 3; }
.gallery .g-3 { grid-column: span 2; grid-row: span 2; }
.gallery .g-4 { grid-column: span 1; }
.gallery .g-5 { grid-column: span 3; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery .g-1 { grid-column: span 2 !important; grid-row: span 2 !important; }
}

/* ---------- Disciplines ---------- */
.disciplines { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.disciplines li { padding: 0.55em 1.1em; border-radius: 999px; border: 2px solid currentColor; font-weight: 700; max-width: none; }

/* ---------- Roles ---------- */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .roles { grid-template-columns: 1fr; } }
.role { padding: 24px; border-radius: 18px; background: var(--paper-2); }
.role h3 { font-size: 1.25rem; margin-bottom: 6px; }
.role p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Hub diagram ---------- */
.hub { position: relative; aspect-ratio: 1; max-width: 500px; width: 100%; margin: 0 auto; }
.hub svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 32%; aspect-ratio: 1; border-radius: 50%; background: var(--paper); display: grid; place-items: center; box-shadow: 0 0 0 10px var(--yellow); }
.hub__center img { width: 60%; }
.hub__node { position: absolute; transform: translate(-50%, -50%); background: var(--ink); color: var(--on-color); font-weight: 700; font-size: clamp(0.74rem, 1.6vw, 0.92rem); padding: 7px 13px; border-radius: 999px; white-space: nowrap; }
.hub__node:nth-of-type(2n) { background: var(--indigo); }

/* ---------- Partners ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1.5px solid var(--line); border-left: 1.5px solid var(--line); }
.logo-wall li { border-right: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 26px 14px; text-align: center; max-width: none; background: var(--paper); min-width: 0; }
.logo-wall img { height: 72px; width: auto; max-width: 140px; object-fit: contain; }
.logo-wall span { font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); line-height: 1.3; }
@media (max-width: 760px) { .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; list-style: none; padding: 0; margin: 0; }
.benefits li { padding: 22px 0; border-top: 2px solid var(--ink); max-width: none; }
.benefits h3 { font-size: 1.25rem; margin-bottom: 0.35em; }
.benefits p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Tabs (form switcher) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tab { font: inherit; font-weight: 700; font-size: 0.95rem; padding: 0.6em 1.1em; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--on-color); }

/* ---------- Give ---------- */
.give { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.give > * { min-width: 0; }
@media (max-width: 900px) { .give { grid-template-columns: 1fr; } }
.give-card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); border: 1.5px solid var(--line); }
.freq { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.freq button { font: inherit; font-weight: 700; border: 0; background: transparent; padding: 0.7em; border-radius: 999px; cursor: pointer; color: var(--ink); }
.freq button[aria-pressed="true"] { background: var(--ink); color: var(--on-color); }
.amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 420px) { .amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.amount { font: inherit; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; border: 2px solid var(--line); background: var(--paper); border-radius: 14px; padding: 14px 8px; cursor: pointer; color: var(--ink); font-variant-numeric: tabular-nums; }
.amount[aria-pressed="true"] { border-color: var(--indigo); box-shadow: inset 0 0 0 1px var(--indigo); background: #eeedfc; }
.give-card .btn--block { width: 100%; margin-top: 16px; }
.give-note { font-size: 0.85rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .field__label { font-weight: 700; font-size: 0.93rem; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.78em 0.95em;
  border: 1.5px solid #c9cbdc;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  min-width: 0;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(36,20,196,0.2); }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.form-card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); border: 1.5px solid var(--line); }
.form-card h3 { margin-bottom: 4px; }
.form-status { margin: 0; font-weight: 700; min-height: 1.4em; }
.form-status.is-success { color: var(--ok); }
.form-status.is-error { color: var(--red); }
.privacy-line { font-size: 0.85rem; color: var(--muted); margin: 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 220px; min-width: 0; font: inherit; padding: 0.95em 1.2em; border-radius: 999px; border: 2px solid transparent; background: var(--paper); color: var(--ink); }
.inline-form input:focus { outline: none; border-color: var(--yellow); }
.band--indigo .form-status, .band--ink .form-status { color: var(--yellow); }
.band--indigo .privacy-line, .band--ink .privacy-line { color: rgba(255,255,255,0.65); }
.check-group { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.check-group label { display: flex; gap: 8px; align-items: center; font-weight: 500; font-size: 0.97rem; }
.check-group input { width: 18px; height: 18px; accent-color: var(--indigo); }

/* ---------- Feature (dark card) ---------- */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--on-color); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.feature__body { padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.feature__body .label { color: var(--yellow); }
.feature__body a:not(.btn) { color: var(--on-color); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Newsletter / closing ---------- */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.newsletter > * { min-width: 0; }
.newsletter h2 { margin: 0; }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; } }
.closing { text-align: center; }
.closing h2 { max-width: 20ch; margin-inline: auto; }
.closing .lead { margin-inline: auto; max-width: 54ch; }
.closing .btn-row { justify-content: center; }

/* ---------- Contact ---------- */
.contact-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-lines li { display: grid; gap: 2px; max-width: none; }
.contact-lines .k { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-lines .v { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; line-height: 1.25; color: var(--ink); text-decoration: none; }
.contact-lines a.v:hover { color: var(--indigo); }

/* ---------- Prose ---------- */
.prose h2 { font-size: var(--step-2); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.78); padding-block: 72px 32px; font-size: 0.97rem; }
.site-footer a { color: rgba(255,255,255,0.88); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-top > * { min-width: 0; }
.footer-brand p { max-width: 36ch; }
.footer-brand .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.05; color: var(--on-color); letter-spacing: -0.02em; margin-bottom: 18px; }
.site-footer h2 { font-family: var(--font-mono); font-weight: 500; font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.86rem; color: rgba(255,255,255,0.6); }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-shapes { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.footer-shapes span { width: 18px; height: 18px; }
.footer-shapes .fs-1 { background: var(--red-brand); border-radius: 50%; }
.footer-shapes .fs-2 { background: var(--sky); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.footer-shapes .fs-3 { background: var(--yellow); transform: skewX(-24deg); height: 10px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .pcard:hover { transform: none; }
}

/* =====================================================================
   Charity-template layer: photo-led hero slider, feature boxes,
   photo cards, counter band, photo page banners, script taglines.
   Overrides earlier rules where they overlap.
   ===================================================================== */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }

/* Script tagline above headings */
.label {
  font-family: var(--font-script);
  font-size: 1.65rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--red);
  margin-bottom: 0.4rem;
  line-height: 1.1;
  gap: 12px;
}
.label::before { width: 28px; height: 3px; background: currentColor; transform: none; border-radius: 2px; }
.band--sky .label::before { background: var(--ink); }

/* Buttons: squarer, uppercase */
.btn { border-radius: 10px; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9rem; padding: 1.1em 1.7em; }
.btn--sm { font-size: 0.8rem; padding: 0.85em 1.2em; }
.header-actions .btn { padding: 0.95em 1.2em; font-size: 0.82rem; }
.tab { border-radius: 10px; }

/* Centered section heads */
.section-head--center { display: block; text-align: center; max-width: 760px; margin-inline: auto; }
.section-head--center .label { justify-content: center; }
.section-head--center .label::after { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.section-head--center h2 { margin-bottom: 14px; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Top bar ---------- */
.utility { background: var(--ink); }
.utility .wrap { padding-block: 11px; align-items: center; }
.utility__item { display: inline-flex; align-items: center; gap: 8px; }
.utility svg { width: 15px; height: 15px; color: var(--yellow); flex: none; }

/* ---------- Header ---------- */
.site-header { box-shadow: 0 10px 30px rgba(21, 19, 43, 0.06); border-bottom: 0; }
.site-header .wrap { min-height: 88px; }
.nav a { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.nav a[aria-current="page"] { color: var(--red); box-shadow: none; }

/* ---------- Hero slider ---------- */
.slider { position: relative; background: var(--ink); color: var(--on-color); overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0.9s; }
.slide.is-active { position: relative; opacity: 1; visibility: visible; }
.slide__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); transition: transform 7s ease-out; }
.slide.is-active .slide__bg { transform: scale(1); }
.slide__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,19,43,0.88) 0%, rgba(21,19,43,0.62) 50%, rgba(21,19,43,0.25) 100%); }
.slide .wrap { position: relative; z-index: 1; min-height: clamp(560px, 80vh, 760px); display: flex; flex-direction: column; justify-content: center; padding-block: 96px 150px; }
.slide__tag { font-family: var(--font-script); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--yellow); margin: 0 0 6px; }
.slide h1, .slide h2 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.02; max-width: 15ch; margin-bottom: 0.3em; color: var(--on-color); }
.slide h1 em, .slide h2 em { font-style: normal; color: var(--yellow); }
.slide p { font-size: var(--step-1); max-width: 54ch; color: rgba(255,255,255,0.88); }
.slide .btn-row { margin-top: 1.5rem; }
.slider__controls { position: absolute; z-index: 3; right: max(var(--gutter-x), env(safe-area-inset-right, 0px)); bottom: 120px; display: flex; gap: 10px; align-items: center; }
.slider__btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.6); background: transparent; color: var(--on-color); display: grid; place-items: center; cursor: pointer; }
.slider__btn:hover { background: var(--red); border-color: var(--red); }
.slider__btn svg { width: 20px; height: 20px; }
.slider__dots { display: flex; gap: 8px; margin-right: 8px; }
.slider__dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--on-color); background: transparent; padding: 0; cursor: pointer; }
.slider__dots button[aria-current="true"] { background: var(--yellow); border-color: var(--yellow); }
@media (max-width: 760px) {
  .slide .wrap { justify-content: flex-end; padding-block: 120px 170px; }
  .slide__bg::after { background: linear-gradient(180deg, rgba(21,19,43,0.35) 0%, rgba(21,19,43,0.9) 62%); }
  .slider__controls { left: max(var(--gutter-x), env(safe-area-inset-left, 0px)); right: auto; bottom: 110px; }
}

/* ---------- Feature boxes overlapping the hero ---------- */
.features { position: relative; z-index: 4; margin-top: -84px; }
.features__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(21,19,43,0.18); }
.feature-box { display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; text-decoration: none; color: var(--on-color); transition: transform 0.2s ease, filter 0.2s ease; min-width: 0; }
.feature-box:hover { color: var(--on-color); filter: brightness(1.08); }
.feature-box h3 { font-size: 1.35rem; margin: 0; color: inherit; }
.feature-box p { margin: 0; font-size: 0.97rem; opacity: 0.9; }
.feature-box .icon-circle { background: rgba(255,255,255,0.18); color: inherit; }
.feature-box--red { background: var(--red); }
.feature-box--indigo { background: var(--indigo); }
.feature-box--sky { background: var(--sky); color: var(--ink); }
.feature-box--sky:hover { color: var(--ink); }
.feature-box--sky .icon-circle { background: rgba(255,255,255,0.45); }
.feature-box--yellow { background: var(--yellow); color: var(--ink); }
.feature-box--yellow:hover { color: var(--ink); }
.feature-box--yellow .icon-circle { background: rgba(255,255,255,0.55); }
.feature-box .arrow-link { margin-top: auto; padding-top: 6px; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.05em; }
@media (max-width: 1000px) { .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { margin-top: -70px; } .features__grid { grid-template-columns: 1fr; } }

.icon-circle { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--paper-2); color: var(--red); }
.icon-circle svg { width: 28px; height: 28px; }

/* ---------- About with stacked photos ---------- */
.about-photos { position: relative; padding: 0 0 80px 0; max-width: 560px; }
.about-photos__main { margin: 0; border-radius: var(--radius); overflow: hidden; width: 82%; }
.about-photos__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-photos__small { position: absolute; right: 0; bottom: 0; width: 52%; margin: 0; border-radius: var(--radius); overflow: hidden; border: 10px solid var(--paper); box-shadow: 0 20px 40px rgba(21,19,43,0.18); }
.about-photos__small img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-badge { position: absolute; left: -14px; bottom: 30px; width: 140px; height: 140px; border-radius: 50%; background: var(--red); color: var(--on-color); display: grid; place-items: center; text-align: center; box-shadow: 0 0 0 10px var(--paper); z-index: 2; }
.about-badge strong { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.about-badge span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.about-shape { position: absolute; top: -26px; right: 8%; width: 90px; height: 90px; background: var(--yellow); clip-path: polygon(50% 0, 100% 100%, 0 100%); z-index: -1; }
@media (max-width: 900px) { .about-photos { margin-inline: auto; } .about-badge { left: 0; } }
@media (max-width: 480px) { .about-badge { width: 110px; height: 110px; } .about-badge strong { font-size: 1.7rem; } }
.mission-quote { border-left: 4px solid var(--red); padding: 4px 0 4px 20px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.45; color: var(--ink); margin: 22px 0; max-width: 60ch; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; max-width: none; }
.ticks li svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--red); color: var(--on-color); margin-top: 2px; }
.ticks strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.ticks span { font-size: 0.93rem; color: var(--ink-soft); }
@media (max-width: 560px) { .ticks { grid-template-columns: 1fr; } }

/* ---------- Photo cards (programs) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 14px 40px rgba(21,19,43,0.08); transition: transform 0.25s ease, box-shadow 0.25s ease; min-width: 0; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(21,19,43,0.14); }
.card__media { position: relative; margin: 0; overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__cat { position: absolute; left: 20px; bottom: -14px; background: var(--red); color: var(--on-color); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 7px 14px; border-radius: 8px; z-index: 1; }
.card__cat--indigo { background: var(--indigo); }
.card__cat--sky { background: var(--sky); color: var(--ink); }
.card__cat--yellow { background: var(--yellow); color: var(--ink); }
.card__body { padding: 32px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { font-size: 1.35rem; margin: 0; }
.card__body h3 a { color: var(--ink); text-decoration: none; }
.card__body h3 a:hover { color: var(--red); }
.card__body p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.card__foot .arrow-link { color: var(--red); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; }

/* ---------- Counter band ---------- */
.counter-band { position: relative; color: var(--on-color); background: var(--ink); overflow: hidden; }
.counter-band__bg { position: absolute; inset: 0; background: url("../img/photos/showcase-stage.jpg") center / cover no-repeat fixed; }
.counter-band__bg::after { content: ""; position: absolute; inset: 0; background: rgba(23, 12, 134, 0.86); }
@supports (-webkit-touch-callout: none) { .counter-band__bg { background-attachment: scroll; } }
.counter-band .wrap { position: relative; z-index: 1; }
.counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; }
.counter { padding: 18px 8px; min-width: 0; }
.counter .icon-circle { margin: 0 auto 16px; background: rgba(255,255,255,0.12); color: var(--yellow); width: 70px; height: 70px; }
.counter__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.counter p { margin: 10px auto 0; color: rgba(255,255,255,0.82); max-width: 22ch; }
.counter .muted { color: rgba(255,255,255,0.6); font-size: 0.82rem; margin-top: 4px; }
@media (max-width: 860px) { .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Split CTA panels ---------- */
.cta-panels { display: grid; grid-template-columns: 1fr 1fr; }
.cta-panel { position: relative; overflow: hidden; color: var(--on-color); padding: clamp(56px, 8vw, 100px) max(var(--gutter-x), env(safe-area-inset-left, 0px)); min-width: 0; }
.cta-panel__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-panel__bg::after { content: ""; position: absolute; inset: 0; }
.cta-panel--red .cta-panel__bg::after { background: rgba(215, 20, 28, 0.88); }
.cta-panel--ink .cta-panel__bg::after { background: rgba(21, 19, 43, 0.88); }
.cta-panel > div:last-child { position: relative; z-index: 1; max-width: 520px; }
.cta-panel--red > div:last-child { margin-left: auto; }
.cta-panel .label { color: var(--yellow); }
.cta-panel h2 { color: var(--on-color); }
.cta-panel p { color: rgba(255,255,255,0.9); }
.cta-panel .btn--line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (max-width: 860px) { .cta-panels { grid-template-columns: 1fr; } .cta-panel--red > div:last-child { margin-left: 0; } }

/* ---------- Logo strip ---------- */
.logo-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; align-items: center; list-style: none; padding: 0; margin: 0; }
.logo-strip li { display: grid; place-items: center; max-width: none; padding: 10px; filter: grayscale(1); opacity: 0.75; transition: filter 0.2s, opacity 0.2s; }
.logo-strip li:hover { filter: none; opacity: 1; }
.logo-strip img { max-height: 64px; width: auto; object-fit: contain; }
@media (max-width: 960px) { .logo-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .logo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Page banner (inner pages) ---------- */
.page-hero { text-align: center; padding-block: clamp(90px, 12vw, 150px) clamp(70px, 9vw, 110px); }
.page-hero { background-color: var(--ink); background-size: cover; background-position: center; background-repeat: no-repeat; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,19,43,0.78), rgba(21,19,43,0.9)); }
.page-hero__shapes { display: none; }
.page-hero .wrap { z-index: 2; display: flex; flex-direction: column; align-items: center; }
.page-hero h1 { max-width: 20ch; margin-inline: auto; }
.page-hero .lead { margin-inline: auto; }
.page-hero .label { justify-content: center; }
.page-hero .btn-row { justify-content: center; }
.page-hero .crumbs { order: 10; margin: 26px 0 0; display: inline-flex; gap: 8px; background: var(--red); color: var(--on-color); padding: 10px 22px; border-radius: 10px; font-weight: 700; font-size: 0.9rem; }
.page-hero .crumbs a { color: var(--on-color); }

/* ---------- Program cards on tint pick up template shadow ---------- */
.pcard { border: 0; box-shadow: 0 14px 40px rgba(21,19,43,0.08); }
.pcard:hover { border-color: transparent; box-shadow: 0 24px 50px rgba(21,19,43,0.14); }
.listing { border: 0; box-shadow: 0 10px 30px rgba(21,19,43,0.08); }
.form-card { border: 0; box-shadow: 0 20px 50px rgba(21,19,43,0.1); }
.give-card { border: 0; box-shadow: 0 20px 50px rgba(21,19,43,0.12); }
.search-panel { border-radius: var(--radius); }
.photo, .gallery figure { border-radius: var(--radius); }

/* ---------- Newsletter strip (above footer) ---------- */
.news-strip { position: relative; z-index: 2; margin-bottom: -70px; }
.news-strip__inner { background: var(--red); color: var(--on-color); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 56px); display: grid; grid-template-columns: auto 1fr 1.1fr; gap: 24px; align-items: center; box-shadow: 0 30px 60px rgba(215,20,28,0.25); }
.news-strip__inner > * { min-width: 0; }
.news-strip .icon-circle { background: rgba(255,255,255,0.18); color: var(--on-color); width: 70px; height: 70px; }
.news-strip h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--on-color); margin: 0; }
.news-strip p { margin: 4px 0 0; color: rgba(255,255,255,0.88); }
.news-strip .form-status { color: var(--yellow); }
.news-strip .inline-form input { border-radius: 10px; }
@media (max-width: 900px) { .news-strip__inner { grid-template-columns: 1fr; } .news-strip .icon-circle { display: none; } }

/* ---------- Footer ---------- */
.site-footer { padding-top: 150px; background: #100e24; }
.site-footer .footer-logo { display: inline-flex; align-items: center; gap: 12px; background: var(--paper); border-radius: 12px; padding: 10px 16px; margin-bottom: 20px; text-decoration: none; color: var(--ink); }
.footer-logo img { width: 40px; }
.footer-logo span { font-family: var(--font-display); font-weight: 800; line-height: 1; }
.site-footer .footer-logo:hover { color: var(--ink); text-decoration: none !important; }
.site-footer h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; text-transform: none; letter-spacing: 0; color: var(--on-color); position: relative; padding-bottom: 14px; margin-bottom: 18px; }
.site-footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 2px; background: var(--red); }
.footer-contact { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--yellow); flex: none; margin-top: 4px; }
.footer-links a::before { content: "›"; color: var(--red); margin-right: 8px; font-weight: 800; }
.footer-bottom { background: transparent; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; border-radius: 12px; background: var(--red); color: var(--on-color); display: grid; place-items: center; z-index: 50; box-shadow: 0 10px 30px rgba(21,19,43,0.25); }
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { background: var(--ink); color: var(--on-color); }

@media (prefers-reduced-motion: reduce) {
  .slide__bg, .slide.is-active .slide__bg { transform: none; }
  .card:hover, .card:hover .card__media img { transform: none; }
  .counter-band__bg { background-attachment: scroll; }
}

/* Slides with the headline on the right (subject on the left of the photo) */
.slide__content { max-width: 640px; }
.slide--right .wrap { align-items: flex-end; }
.slide--right .slide__bg::after { background: linear-gradient(270deg, rgba(21,19,43,0.9) 0%, rgba(21,19,43,0.62) 48%, rgba(21,19,43,0.15) 100%); }
@media (max-width: 760px) {
  .slide--right .wrap { align-items: stretch; }
  .slide--right .slide__bg::after { background: linear-gradient(180deg, rgba(21,19,43,0.3) 0%, rgba(21,19,43,0.9) 62%); }
}

/* ---------- Leadership ---------- */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; } }
.person { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: start; background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: 0 14px 40px rgba(21,19,43,0.08); }
.person__photo { margin: 0; border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.person__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--red-brand) 0 33%, var(--sky) 33% 66%, var(--yellow) 66%); }
.person__photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; }
.person h3 { font-size: 1.35rem; margin: 0 0 4px; }
.person__role { margin: 0 0 12px; font-weight: 700; color: var(--red); font-size: 0.95rem; line-height: 1.35; }
.person__body p:last-child { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }
@media (max-width: 520px) { .person { grid-template-columns: 1fr; } .person__photo { max-width: 220px; } }

/* ---------- Footer social + legal ---------- */
.social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer .social__link { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.08); color: var(--on-color); }
.site-footer .social__link:hover { background: var(--red); color: var(--on-color); text-decoration: none; }
.social__link svg { width: 18px; height: 18px; }
.footer-legal { margin: 18px 0 0; font-size: 0.82rem; color: rgba(255,255,255,0.55); max-width: none; }

/* Text tile for partners whose logo hasn't been supplied yet */
.logo-text { display: grid; place-items: center; text-align: center; min-height: 64px; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1.1; color: var(--ink); letter-spacing: -0.01em; }
.logo-wall .logo-text { height: 72px; }

.news-strip__cta { display: grid; gap: 8px; justify-items: start; }
.news-strip .privacy-line { color: rgba(255,255,255,0.8); margin: 0; }

/* ---------- Privacy: services table ---------- */
.table-wrap { overflow-x: auto; margin: 18px 0 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.services { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.services th, .services td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.services thead th { background: var(--paper-2); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.services tbody tr:last-child th, .services tbody tr:last-child td { border-bottom: 0; }
.services tbody th { font-family: var(--font-display); font-size: 1.05rem; white-space: nowrap; }
.services td { color: var(--ink-soft); }

/* Form launcher (shown when embedded forms can't load, e.g. in a preview frame) */
.form-launch { display: grid; justify-items: start; gap: 12px; padding: 32px 30px; border-radius: var(--radius); background: var(--paper-2); border: 1.5px dashed var(--line); }
.form-launch h3 { margin: 4px 0 0; }
.form-launch p { margin: 0; color: var(--muted); }
.footer-contact small { display: block; margin-top: 4px; font-size: 0.8rem; opacity: 0.7; }
.about-badge span { display: block; margin-bottom: 4px; }

/* ---------- Leadership spotlight (About) ---------- */
.band--leaders { background: var(--ink); color: var(--on-color); position: relative; overflow: hidden; }
.band--leaders::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(36, 20, 196, 0.55), transparent 70%); pointer-events: none; }
.band--leaders .section-head h2 { color: #fff; }
.band--leaders .section-head .lead { color: rgba(255, 255, 255, 0.78); }
.band--leaders .label { color: var(--yellow); }
.band--leaders .callout { color: var(--ink); }
.leaders { position: relative; display: grid; gap: 40px; }
.leaders__picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.leader-pick { --c: var(--red-brand); display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.04); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.2s; min-width: 0; }
.leader-pick img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; box-shadow: 0 0 0 3px transparent; transition: box-shadow 0.2s; }
.leader-pick span { display: grid; min-width: 0; }
.leader-pick strong { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; }
.leader-pick small { font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); line-height: 1.3; }
.leader-pick:hover { border-color: rgba(255, 255, 255, 0.4); transform: translateY(-2px); }
.leader-pick:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.leader-pick[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.leader-pick[aria-selected="true"] small { color: var(--ink-soft); }
.leader-pick[aria-selected="true"] img { box-shadow: 0 0 0 3px var(--c); }
.leader-pick--sky, .leader--sky { --c: var(--sky); }
.leader-pick--yellow, .leader--yellow { --c: var(--yellow); }
.leader-pick--indigo, .leader--indigo { --c: #7b6cff; }
.leader { --c: var(--red-brand); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; animation: leader-in 0.45s ease both; }
.leader + .leader { margin-top: 56px; }
.leader[hidden] { display: none; }
.leader__photo { position: relative; margin: 0; max-width: 420px; justify-self: center; width: 100%; }
.leader__photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 220px 220px 28px 28px; background: var(--c); }
.leader__photo::after { content: ""; position: absolute; width: 74px; height: 74px; left: -18px; top: 36px; border-radius: 50%; border: 3px dashed rgba(255, 255, 255, 0.5); }
.leader__photo img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 220px 220px 28px 28px; }
.leader__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 4.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--c); margin-bottom: 8px; }
.leader h3 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin: 0; }
.leader__role { font-family: var(--font-script); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--c); margin: 4px 0 20px; line-height: 1.2; }
.leader__body p:last-child { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; line-height: 1.7; margin: 0; max-width: 60ch; }
@keyframes leader-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .leader { animation: none; } .leader-pick { transition: none; } }
@media (max-width: 1100px) { .leaders__picker { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .leader { grid-template-columns: 1fr; gap: 44px; } .leader__photo { max-width: 320px; } }
@media (max-width: 520px) { .leaders__picker { grid-template-columns: 1fr 1fr; gap: 10px; } .leader-pick { border-radius: 18px; flex-direction: column; align-items: flex-start; padding: 12px; } .leader-pick img { width: 48px; height: 48px; } .leader__num { font-size: 3.4rem; } }
.band--leaders > .wrap { position: relative; z-index: 1; }

/* ---------- Event feed (Events page) ---------- */
.event-filters { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; padding: 18px 20px; border-radius: var(--radius); background: var(--paper-2); }
.event-filters .field { min-width: 240px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; transition: background 0.15s, color 0.15s; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.event-count { margin: 24px 0 8px; font-weight: 700; color: var(--muted); }
.event-month { margin-top: 28px; }
.event-month__title { display: flex; align-items: center; gap: 14px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--indigo); margin: 0 0 16px; }
.event-month__title::after { content: ""; flex: 1; height: 1.5px; background: var(--line); }
.event-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.event-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1.5px solid var(--line); transition: border-color 0.2s, transform 0.2s; }
.event-card:hover { border-color: var(--indigo); transform: translateY(-2px); }
.event-card--saf { border-color: var(--red); box-shadow: inset 4px 0 0 var(--red); }
.event-card__date { display: grid; place-items: center; align-content: center; height: 84px; border-radius: 14px; background: var(--ink); color: #fff; text-align: center; line-height: 1; }
.event-card--saf .event-card__date { background: var(--red); }
.event-card__date span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--yellow); }
.event-card__date strong { font-family: var(--font-display); font-size: 2rem; margin-top: 4px; }
.event-card__tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }
.event-tag { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; background: var(--sky-soft); color: #075b7a; }
.event-tag--saf { background: #fde3e4; color: var(--red); }
.event-card h4 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; margin: 0 0 4px; }
.event-card__host { margin: 0 0 10px; font-weight: 600; color: var(--ink-soft); font-size: 0.95rem; }
.event-card__desc { margin: 0 0 12px; color: var(--ink-soft); font-size: 0.95rem; }
.event-card__meta { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 4px; font-size: 0.9rem; color: var(--ink-soft); }
.event-card__meta strong { display: inline-block; min-width: 46px; color: var(--ink); }
.event-disclaimer { margin: 28px 0 0; font-size: 0.88rem; color: var(--muted); }
.event-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 36px 40px; border-radius: var(--radius); background: var(--indigo); color: #fff; }
.event-share h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); }
.event-share p { margin: 0; color: rgba(255, 255, 255, 0.85); max-width: 60ch; }
.event-share .label { color: var(--yellow); }
@media (max-width: 900px) { .event-cards { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .event-card { grid-template-columns: 1fr; } .event-card__date { width: 76px; height: 76px; } .event-filters .field { min-width: 0; width: 100%; } .seg { width: 100%; } .seg label { flex: 1; text-align: center; } .seg span { padding: 10px 8px; font-size: 0.85rem; } .event-share { padding: 28px 22px; } }

/* ---------- Donate page ---------- */
.donate-hero { position: relative; overflow: hidden; background: var(--red); color: #fff; padding: clamp(48px, 7vw, 96px) 0; }
.donate-hero::before { content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, 0.07); }
.donate-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.donate-hero .crumbs { font-size: 0.88rem; color: rgba(255, 255, 255, 0.8); margin: 0 0 18px; }
.donate-hero .crumbs a { color: #fff; }
.donate-hero .label { color: var(--yellow); }
.donate-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.02; margin: 8px 0 18px; }
.donate-hero .lead { color: rgba(255, 255, 255, 0.92); max-width: 46ch; }
.donate-hero .btn--line:hover { background: #fff; color: var(--red); border-color: #fff; }
.donate-hero__trust { margin: 26px 0 0; font-size: 0.88rem; color: rgba(255, 255, 255, 0.8); max-width: 52ch; }
.donate-hero__art { position: relative; height: 460px; }
.donate-hero__art figure { position: absolute; margin: 0; overflow: hidden; border: 6px solid #fff; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25); }
.donate-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.dh-1 { width: 58%; height: 72%; left: 0; top: 0; border-radius: 200px 200px 24px 24px; }
.dh-2 { width: 46%; height: 52%; right: 0; top: 8%; border-radius: 24px; transform: rotate(3deg); }
.dh-3 { width: 50%; height: 42%; right: 8%; bottom: 0; border-radius: 24px 24px 120px 24px; }
.dh-shape { position: absolute; border-radius: 50%; }
.dh-shape--sky { width: 70px; height: 70px; background: var(--sky); left: 40%; bottom: 6%; }
.dh-shape--yellow { width: 40px; height: 40px; background: var(--yellow); right: 2%; top: 0; }
@media (max-width: 900px) { .donate-hero__grid { grid-template-columns: 1fr; } .donate-hero__art { height: 340px; max-width: 520px; } }
@media (max-width: 520px) { .donate-hero__art { height: 260px; } .donate-hero__art figure { border-width: 4px; } }

.gift-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: none; }
.gift-path li { position: relative; padding: 0 18px; text-align: center; }
.gift-path li:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: calc(50% + 34px); right: calc(-50% + 34px); border-top: 2px dashed var(--line); }
.gift-path__n { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: #fff; background: var(--indigo); margin-bottom: 14px; }
.gift-path li:nth-child(2) .gift-path__n { background: var(--red); }
.gift-path li:nth-child(3) .gift-path__n { background: var(--sky); }
.gift-path li:nth-child(4) .gift-path__n { background: var(--yellow); color: var(--ink); }
.gift-path li:nth-child(5) .gift-path__n { background: var(--ink); }
.gift-path h3 { font-size: 1.1rem; margin: 0 0 6px; }
.gift-path p { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }
@media (max-width: 960px) { .gift-path { grid-template-columns: 1fr; gap: 22px; } .gift-path li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; padding: 0; } .gift-path__n { grid-row: span 2; margin: 0; } .gift-path li::after { display: none; } }

.donate-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.donate-ways h2 { margin-bottom: 26px; }
.way { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-top: 1.5px solid var(--line); scroll-margin-top: 120px; }
.way__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--red); box-shadow: 0 8px 20px rgba(21, 19, 43, 0.08); }
.way__icon svg { width: 24px; height: 24px; }
.way h3 { font-size: 1.2rem; margin: 4px 0 6px; }
.way p { margin: 0 0 8px; color: var(--ink-soft); }
.way__note { font-size: 0.88rem; }
.mail-card { font-style: normal; display: inline-block; margin: 6px 0 12px; padding: 16px 22px; border-radius: 12px; background: #fff; border-left: 5px solid var(--yellow); font-weight: 700; line-height: 1.5; box-shadow: 0 8px 20px rgba(21, 19, 43, 0.06); }
.donate-form { position: sticky; top: 120px; }
.donate-form__card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: 0 24px 60px rgba(21, 19, 43, 0.12); border-top: 6px solid var(--red); }
.donate-form__title { font-size: 1.4rem; margin: 0 0 14px; }
@media (max-width: 960px) { .donate-main { grid-template-columns: 1fr; } .donate-form { position: static; order: -1; } }

/* ---------- Support hub mosaic ---------- */
.help-mosaic { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.help-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 230px; padding: 28px; border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--paper-2); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.help-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(21, 19, 43, 0.14); }
.help-tile:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.help-tile h3 { margin: 0; font-size: 1.35rem; line-height: 1.25; }
.help-tile p { margin: 0; }
.help-tile__kicker { font-family: var(--font-script); font-size: 1.5rem; line-height: 1; color: var(--red); }
.help-tile--donate { grid-row: span 2; min-height: 480px; color: #fff; background: var(--ink); }
.help-tile--donate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.help-tile--donate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 19, 43, 0.05) 25%, rgba(21, 19, 43, 0.9) 100%); }
.help-tile--donate .help-tile__body { position: relative; z-index: 1; display: grid; gap: 12px; justify-items: start; }
.help-tile--donate h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: #fff; }
.help-tile--donate p { color: rgba(255, 255, 255, 0.88); max-width: 40ch; }
.help-tile--donate .help-tile__kicker { color: var(--yellow); font-size: 1.8rem; }
.help-tile--sky { background: var(--sky-soft); }
.help-tile--yellow { background: var(--yellow-soft); }
.help-tile--ink { background: var(--indigo); color: #fff; }
.help-tile--ink h3, .help-tile--ink .arrow-link { color: #fff; }
.help-tile--ink .help-tile__kicker { color: var(--yellow); }
.help-tile--line { background: #fff; border: 1.5px solid var(--line); }
@media (max-width: 960px) { .help-mosaic { grid-template-columns: 1fr 1fr; } .help-tile--donate { grid-column: 1 / -1; grid-row: auto; min-height: 380px; } }
@media (max-width: 560px) { .help-mosaic { grid-template-columns: 1fr; } .help-tile { min-height: 0; } .help-tile--donate { min-height: 340px; } }

/* ---------- Contact page ---------- */
.topics-title { text-align: center; margin: 0 0 28px; }
.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.topic { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; row-gap: 2px; align-items: center; height: 100%; padding: 20px; border-radius: var(--radius); border: 1.5px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.topic:hover { border-color: var(--indigo); transform: translateY(-2px); }
.topic:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.topic__icon { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sky-soft); color: var(--indigo); }
.topic__icon svg { width: 22px; height: 22px; }
.topic strong { font-family: var(--font-display); font-size: 1.1rem; }
.topic span:last-child { font-size: 0.9rem; color: var(--ink-soft); }
.topic--accent { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.topic--accent span:last-child { color: rgba(255, 255, 255, 0.85); }
.topic--accent .topic__icon { background: rgba(255, 255, 255, 0.15); color: var(--yellow); }
@media (max-width: 900px) { .topics { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .topics { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.contact-card { position: sticky; top: 120px; padding: 34px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.contact-card h2 { color: #fff; margin: 6px 0 8px; }
.contact-card > p { color: rgba(255, 255, 255, 0.8); margin: 0 0 24px; }
.contact-card .label { color: var(--yellow); }
.contact-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.contact-list__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--yellow); }
.contact-list__icon svg { width: 20px; height: 20px; }
.contact-list .k { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.6); font-weight: 700; margin-bottom: 2px; }
.contact-list a { color: #fff; font-weight: 700; overflow-wrap: anywhere; }
.contact-list small { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.65); font-size: 0.82rem; }
.contact-form { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: 0 18px 50px rgba(21, 19, 43, 0.1); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { position: static; } }
.contact-card .social__link { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.1); color: #fff; }
.contact-card .social__link:hover { background: var(--red); }
.form-launch .icon-circle { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fde3e4; color: var(--red); }
.form-launch .icon-circle svg { width: 24px; height: 24px; }

/* ---------- 404 page ---------- */
.notfound { text-align: center; padding-block: clamp(64px, 10vw, 140px); }
.notfound__inner { display: grid; justify-items: center; gap: 6px; }
.notfound__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 18vw, 11rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 3px var(--indigo); background: linear-gradient(90deg, var(--red-brand), var(--sky), var(--yellow)); -webkit-background-clip: text; background-clip: text; }
.notfound .btn-row { justify-content: center; }
