/* ==========================================================================
   ArtWorks, The Naomi Cohain Foundation
   Design system derived from the ArtWorks Creative Library
   ========================================================================== */

:root {
  /* Palette */
  --teal: #2f5568;
  --teal-deep: #254c5f;
  --slate: #4b6d7d;
  --slate-ink: #485a67;
  --ink: #1d252c;
  --text: #2b3740;
  --muted: #5b6b75;
  --coral: #c03a2a;
  --coral-bright: #d94735;
  --coral-deep: #ae392a;
  --mint: #afd8d3;
  --mint-green: #a8ddc3;
  --mist: #ecf6f4;
  --mist-light: #f4faf8;
  --blush: #f7e1dc;
  --white: #fff;

  /* Type */
  --font: "proxima-nova", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 2vw, 2.875rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 4vw, 4.75rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --header-h: 84px;

  /* Shape and depth */
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 30px;
  --pill: 999px;
  --shadow-sm: 0 2px 6px rgba(29, 37, 44, 0.08);
  --shadow: 0 10px 30px -12px rgba(29, 37, 44, 0.25);
  --shadow-lg: 0 24px 60px -20px rgba(29, 37, 44, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { overflow-x: clip; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--teal);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1.15em; }
figure { margin: 0; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--coral-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-sm);
  font-weight: 700;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-block: var(--section); position: relative; }
.section--mist { background: var(--mist-light); }
.section--gradient { background: linear-gradient(0deg, var(--mist) 0%, var(--mist-light) 30%, var(--white) 100%); }
.section--teal { background: var(--teal); color: rgba(255, 255, 255, 0.88); }
.section--teal h2, .section--teal h3 { color: var(--white); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--waved { padding-block: calc(var(--section) * 0.6 + clamp(30px, 5vw, 70px)); }

/* --------------------------------------------------------------------------
   Typography helpers (the "ART / WORKS" light + bold pairing)
   -------------------------------------------------------------------------- */
.display {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.02;
}
.display .light { font-weight: 400; }

.kicker {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: var(--fs-sm);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--coral);
}
.section--teal .kicker { color: var(--mint); }

.lede {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--text);
}
.section--teal .lede { color: rgba(255, 255, 255, 0.92); }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--coral);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.8em 1.75em;
  border: 2px solid var(--btn-bg);
  border-radius: var(--pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn strong { font-weight: 800; margin-inline: -1px; }
.btn:hover {
  --btn-bg: var(--coral-deep);
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(192, 58, 42, 0.7);
}
.btn--teal { --btn-bg: var(--teal); }
.btn--teal:hover { --btn-bg: var(--teal-deep); box-shadow: 0 10px 22px -10px rgba(47, 85, 104, 0.7); }
.btn--ghost { --btn-fg: var(--white); background: transparent; border-color: rgba(255, 255, 255, 0.85); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-fg: var(--teal); background: var(--white); box-shadow: none; }
.btn--outline { --btn-fg: var(--teal); background: transparent; border-color: var(--teal); }
.btn--outline:hover { --btn-bg: var(--teal); --btn-fg: var(--white); background: var(--teal); }
.btn--lg { min-height: 56px; padding-inline: 2.25em; font-size: var(--fs-base); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* Creative Library "icon disc + pill" button */
.icon-pill {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
}
.icon-pill__disc {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--mint);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--teal);
  transition: transform 0.35s var(--ease);
}
.icon-pill__disc svg { width: 30px; height: 30px; }
.icon-pill__label {
  margin-left: -22px;
  padding: 0.7em 1.6em 0.7em 2.2em;
  border-radius: 0 var(--pill) var(--pill) 0;
  background: var(--coral);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.25s var(--ease);
}
.icon-pill__label strong { font-weight: 800; margin-inline: -1px; }
.icon-pill:hover { color: var(--white); }
.icon-pill:hover .icon-pill__label { background: var(--coral-deep); }
.icon-pill:hover .icon-pill__disc { transform: rotate(-8deg) scale(1.06); }

/* Arrow text link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 800;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--coral);
}
.link-arrow strong { margin-inline: -1px; }
.link-arrow::after { content: "\2192"; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 1px 0 rgba(29, 37, 44, 0.06);
  transition: box-shadow 0.3s var(--ease), height 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -14px rgba(29, 37, 44, 0.35); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-left: var(--gutter);
}

.brand { display: block; flex-shrink: 0; }
.brand img { width: clamp(160px, 16vw, 210px); height: auto; }

.nav { display: flex; align-items: center; height: 100%; margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0; padding: 0;
  list-style: none;
}
.nav__item { position: relative; }
.nav__link {
  display: flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.6rem 0.95rem;
  border-radius: var(--pill);
  color: var(--slate-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}
.nav__link:hover,
.nav__item:focus-within > .nav__link { color: var(--coral); background: var(--mist); }
.nav__link[aria-current="page"] { color: var(--coral); }
.nav__link .chev { width: 10px; height: 10px; transition: transform 0.25s var(--ease); }

.nav__sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 230px;
  margin: 0; padding: 0.6rem;
  list-style: none;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.nav__sub::before {
  content: "";
  position: absolute;
  inset: -14px 0 auto;
  height: 14px;
}
.nav__sub a {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
}
.nav__sub a:hover { background: var(--mist); color: var(--coral); }

@media (hover: hover) and (min-width: 1100px) {
  .nav__item--has-sub:hover .nav__sub,
  .nav__item--has-sub:focus-within .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
  .nav__item--has-sub:hover .chev { transform: rotate(180deg); }
}

.nav-donate {
  display: flex;
  align-items: center;
  align-self: stretch;
  padding: 0 clamp(1.5rem, 3vw, 2.75rem);
  margin-left: 0.75rem;
  background: var(--coral);
  color: var(--white);
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s var(--ease);
}
.nav-donate strong { font-weight: 800; }
.nav-donate:hover { background: var(--coral-deep); color: var(--white); }

.nav-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-right: var(--gutter);
  border: 0;
  border-radius: 50%;
  background: var(--mist);
  color: var(--teal);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1099px) {
  :root { --header-h: 72px; }
  .site-header {
    background: var(--white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header__inner { padding-right: 0; gap: 0.5rem; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    display: block;
    height: auto;
    padding: 1.5rem var(--gutter) 3rem;
    overflow-y: auto;
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--mist); }
  .nav__link {
    justify-content: space-between;
    width: 100%;
    padding: 1.1rem 0.25rem;
    border-radius: 0;
    font-size: 1.125rem;
  }
  .nav__link:hover, .nav__item:focus-within > .nav__link { background: none; }
  .nav__link .chev { display: none; }
  .nav__list > .nav__item:first-child,
  .nav__sub { display: none; }
  .nav-donate {
    align-self: center;
    min-height: 44px;
    margin-left: auto;
    padding: 0 1.25rem;
    border-radius: var(--pill);
  }
  .nav-toggle { margin-left: 0.75rem; }
  .nav__drawer-cta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    min-height: 0;
    margin-top: 0;
    padding: 1.1rem 0.25rem;
    border: 0;
    border-bottom: 1px solid var(--mist);
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--slate-ink);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transform: none;
  }
  .nav__drawer-cta strong { font-weight: 600; }
  .nav__drawer-cta:hover,
  .nav__drawer-cta:focus-visible {
    background: none;
    color: var(--coral);
    border-color: var(--mist);
    box-shadow: none;
    transform: none;
  }
  .nav__drawer-cta[aria-current="page"] { color: var(--coral); }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1100px) { .nav__drawer-cta { display: none; } }
@media (max-width: 380px) { .nav-donate { display: none; } }

/* --------------------------------------------------------------------------
   Wave dividers
   -------------------------------------------------------------------------- */
.wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 2;
  width: 100%;
  height: clamp(30px, 5vw, 70px);
  pointer-events: none;
}
.wave path { fill: var(--wave-fill, var(--white)); }
.wave--top { top: -1px; bottom: auto; transform: scaleY(-1); }

/* --------------------------------------------------------------------------
   Home hero (video)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(420px, 54vh, 560px);
  padding: calc(var(--header-h) + 2.75rem) var(--gutter) clamp(5.25rem, 8vw, 6.5rem);
  overflow: hidden;
  color: var(--white);
  text-align: center;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--teal) center / cover no-repeat;
}
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(29, 37, 44, 0.45) 0%, rgba(29, 37, 44, 0.62) 100%),
    linear-gradient(180deg, rgba(37, 76, 95, 0.42) 0%, rgba(37, 76, 95, 0.28) 45%, rgba(29, 37, 44, 0.58) 100%);
}
.hero__content {
  width: min(820px, 100%);
  max-width: 820px;
  text-align: center;
}
.hero__badge {
  display: block;
  width: clamp(96px, 12vw, 140px);
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
}
.hero__content > .hero__badge { animation: heart-in 1.1s var(--ease) both; }
.hero__mission {
  max-width: 790px;
  margin: 0 auto 1.6rem;
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}
.hero__mission strong,
.hero__mission em { color: inherit; }
.hero .btn-row { justify-content: center; }
.hero__content > * { animation: rise 0.9s var(--ease) both; }
.hero__content > *:nth-child(2) { animation-delay: 0.15s; }
.hero__content > *:nth-child(3) { animation-delay: 0.3s; }
.hero__content > *:nth-child(4) { animation-delay: 0.45s; }

.video-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(4.5rem, 8vw, 6.5rem);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--pill);
  background: rgba(29, 37, 44, 0.35);
  color: var(--white);
  font: inherit;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.video-toggle:hover { background: rgba(29, 37, 44, 0.6); }
.video-toggle svg { width: 14px; height: 14px; }
@media (max-width: 640px) {
  .video-toggle {
    top: calc(var(--header-h) + 0.75rem);
    bottom: auto;
    padding: 0.55rem;
  }
  .video-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.video-toggle .icon-play { display: none; }
.video-toggle[aria-pressed="true"] .icon-play { display: block; }
.video-toggle[aria-pressed="true"] .icon-pause { display: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes heart-in {
  0% { opacity: 0; transform: scale(0.6) rotate(-12deg); }
  60% { opacity: 1; transform: scale(1.06) rotate(3deg); }
  100% { transform: none; }
}
/* --------------------------------------------------------------------------
   Interior page hero
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(380px, 52vh, 540px);
  padding: calc(var(--header-h) + 3rem) 0 clamp(5rem, 9vw, 7.5rem);
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}
.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media img.page-hero__photo--down { object-position: center 16.1%; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(37, 76, 95, 0.92) 0%, rgba(47, 85, 104, 0.75) 45%, rgba(47, 85, 104, 0.2) 100%);
}
.page-hero__title { color: var(--white); margin-bottom: 1rem; }
.page-hero .kicker { color: var(--mint); }
.page-hero__lede { max-width: 620px; font-size: var(--fs-lg); color: rgba(255, 255, 255, 0.92); }

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}
.subnav a {
  display: inline-block;
  padding: 0.5rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--pill);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.subnav a:hover { background: var(--white); color: var(--teal); }

/* --------------------------------------------------------------------------
   Welcome intro (big painted heart + lettering)
   -------------------------------------------------------------------------- */
.welcome {
  position: relative;
  overflow: hidden;
  text-align: center;
}
/* Bottom fades back to white now that this section sits above Why Art Matters. */
.welcome.section--gradient {
  background: linear-gradient(
    180deg,
    var(--white) 0%,
    var(--mist-light) 42%,
    var(--mist) 68%,
    var(--white) 100%
  );
}
.welcome__heart {
  position: absolute;
  top: 2rem;
  left: -60px;
  width: clamp(220px, 30vw, 380px);
  opacity: 0.22;
  transform: rotate(-12deg);
  pointer-events: none;
}
.welcome__heart--right {
  left: auto;
  right: -90px;
  top: auto;
  bottom: -40px;
  width: clamp(160px, 20vw, 260px);
  opacity: 0.14;
  transform: rotate(14deg);
}
.welcome__lettering {
  width: clamp(220px, 32vw, 380px);
  margin: 0 auto 1.75rem;
}
.welcome .lede { max-width: 760px; margin-inline: auto; }
.welcome .lede strong { color: var(--teal); }

/* --------------------------------------------------------------------------
   Program cards
   -------------------------------------------------------------------------- */
.program-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  text-align: left;
}
@media (min-width: 860px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
.welcome .program-grid { margin-top: 0; }

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.program-card__title {
  margin-bottom: 1rem;
  font-size: var(--fs-h3);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
}
.program-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow);
}
.program-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.program-card:hover .program-card__media img { transform: scale(1.05); }
.program-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0.25rem 0;
  flex: 1;
}
.program-card__body p { color: var(--muted); }
.program-card .icon-pill { margin-top: auto; }

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
  margin: 0; padding: 0;
  list-style: none;
  text-align: center;
}
@media (min-width: 1100px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat__num {
  display: block;
  font-size: clamp(2.75rem, 2rem + 3vw, 4.25rem);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
[data-count] { will-change: filter; }
.stat__num [data-count] { display: inline-block; text-align: right; }
.stat__num sup { font-size: 0.5em; vertical-align: top; color: var(--mint); }
.stat__label {
  display: block;
  margin-top: 0.75rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mint);
}
.stats--light { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.7fr); gap: 1rem; }
@media (max-width: 480px) { .stats--light { column-gap: 0.5rem; } }
.stats--light .stat__num { color: var(--coral); font-size: clamp(2.25rem, 1.6rem + 2.5vw, 3.5rem); }
.stats--light .stat__num sup { color: var(--coral); }
.stats--light .stat__label { color: var(--teal); }
.feature-list p { font-size: var(--fs-base); font-weight: 400; color: var(--text); margin: 0; }
.stats-note { margin-top: 2.5rem; font-size: var(--fs-xs); text-align: center; color: rgba(255, 255, 255, 0.6); }

/* --------------------------------------------------------------------------
   Split layouts (image + text)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr 0.85fr; }
  .split--reverse > :first-child { order: 2; }
}

.photo-stack {
  position: relative;
  padding: 0 0 12% 10%;
}
.photo-stack__main {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.photo-stack__accent {
  position: absolute;
  left: 0; bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 6px solid var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.photo-stack__heart {
  position: absolute;
  top: -28px; right: -18px;
  width: 92px;
  transform: rotate(10deg);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.rounded-photo {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0; padding: 0;
  list-style: none;
}
.fact-grid li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
  padding: 1.5rem;
  border-radius: var(--r);
  background: var(--mist-light);
  text-align: center;
}
.fact-grid li:nth-child(2),
.fact-grid li:nth-child(3) { background: var(--teal); }
.fact-grid strong {
  font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--coral);
}
.fact-grid li:nth-child(2) strong,
.fact-grid li:nth-child(3) strong { color: var(--white); }
.fact-grid span {
  margin-top: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--teal);
}
.fact-grid li:nth-child(2) span,
.fact-grid li:nth-child(3) span { color: var(--mint); }

/* --------------------------------------------------------------------------
   Quote
   -------------------------------------------------------------------------- */
.quote {
  position: relative;
  margin: 0;
  padding-left: clamp(0rem, 2vw, 1rem);
}
.quote__mark {
  display: block;
  height: 0.6em;
  font-size: clamp(6rem, 10vw, 9rem);
  font-weight: 800;
  line-height: 1;
  color: var(--coral);
  opacity: 0.9;
}
.quote p {
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--teal);
}
.quote p strong { font-weight: 800; }
.quote footer {
  margin-top: 1.5rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.quote cite { display: block; font-style: normal; font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: 0.05em; }

/* --------------------------------------------------------------------------
   Cards (Get Involved, steps, info)
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 700px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--r);
  background: var(--white);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(47, 85, 104, 0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: 1.25rem; }
.card__icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal);
}
.card__icon svg { width: 30px; height: 30px; }
.card--mist { background: var(--mist-light); box-shadow: none; }

.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-weight: 800;
}

/* Checklist */
.checklist { margin: 1.5rem 0; padding: 0; list-style: none; }
.checklist li {
  position: relative;
  padding: 0.9rem 0 0.9rem 3rem;
  border-bottom: 1px solid rgba(47, 85, 104, 0.12);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.95rem;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5568' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Callout */
.callout {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--r-lg);
  background: var(--blush);
}
@media (min-width: 800px) { .callout { grid-template-columns: auto 1fr auto; } }
.callout__heart { width: 72px; }
.callout h3 { margin-bottom: 0.35rem; color: var(--coral-deep); }
.callout p { color: var(--text); }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin: 0; padding: 0;
  list-style: none;
}
@media (min-width: 800px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
  }
  .gallery li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery li:nth-child(4) { grid-column: span 2; }
}
.gallery li { overflow: hidden; border-radius: var(--r-sm); min-height: 160px; }
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gallery li:hover img { transform: scale(1.05); }
.gallery[hidden] { display: none; }

/* --------------------------------------------------------------------------
   People (staff / board)
   -------------------------------------------------------------------------- */
.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.25rem;
  margin: 0; padding: 0;
  list-style: none;
}
@media (min-width: 1100px) {
  .people--five { grid-template-columns: repeat(5, 1fr); }
}
.person {
  padding: 2rem 1.5rem;
  border-radius: var(--r);
  background: var(--white);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(47, 85, 104, 0.06);
  text-align: center;
}
.person__avatar {
  display: grid;
  place-items: center;
  width: 96px; height: 96px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 4px var(--white), 0 0 0 2px var(--mint);
}
.person:nth-child(3n + 2) .person__avatar { background: var(--blush); color: var(--coral-deep); box-shadow: inset 0 0 0 4px var(--white), 0 0 0 2px var(--blush); }
.person:nth-child(3n + 3) .person__avatar { background: var(--mist); }
.people--names .person { padding: 1.15rem 1.1rem; }
.person__name { margin: 0 0 0.25rem; font-size: 1.125rem; color: var(--ink); }
.person__role {
  margin: 0;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
}

/* --------------------------------------------------------------------------
   Financials table
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r);
  background: var(--white);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(47, 85, 104, 0.08);
}
.fin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.fin-table th,
.fin-table td {
  padding: 1.1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--mist);
}
.fin-table thead th {
  background: var(--teal);
  color: var(--white);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fin-table tbody tr:last-child td,
.fin-table tbody tr:last-child th { border-bottom: 0; }
.fin-table tbody tr:hover { background: var(--mist-light); }
.fin-table tbody th { font-size: 1.125rem; color: var(--teal); }
.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
}
.doc-link svg { width: 18px; height: 18px; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Partners
   -------------------------------------------------------------------------- */
.partner-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.search {
  position: relative;
  flex: 1 1 320px;
  max-width: 460px;
}
.search svg {
  position: absolute;
  left: 1.1rem; top: 50%;
  width: 20px; height: 20px;
  transform: translateY(-50%);
  color: var(--slate);
  pointer-events: none;
}
.search input {
  width: 100%;
  min-height: 54px;
  padding: 0.75rem 1.25rem 0.75rem 3.1rem;
  border: 2px solid rgba(47, 85, 104, 0.15);
  border-radius: var(--pill);
  background: var(--white);
  font: inherit;
  color: var(--text);
  transition: border-color 0.2s;
}
.search input:focus { outline: none; border-color: var(--teal); }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  min-height: 44px;
  padding: 0.5rem 1.2rem;
  border: 2px solid rgba(47, 85, 104, 0.18);
  border-radius: var(--pill);
  background: var(--white);
  color: var(--teal);
  font: inherit;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--white); }

.partner-groups {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) { .partner-groups { grid-template-columns: 1fr 1fr; align-items: start; } }
.partner-group {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r);
  background: var(--white);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(47, 85, 104, 0.06);
}
.partner-group[hidden] { display: none; }
.partner-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 3px solid var(--mint);
}
.partner-group__head h3 { margin: 0; }
.partner-group__count {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
  white-space: nowrap;
}
.partner-list { margin: 0; padding: 0; list-style: none; }
.partner-list li {
  position: relative;
  padding: 0.8rem 0 0.8rem 1.6rem;
  border-bottom: 1px solid var(--mist);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
}
.partner-list li:last-child { border-bottom: 0; }
.partner-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.25rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--coral);
}
.partner-list li[hidden] { display: none; }
@media (min-width: 800px) {
  .partner-list--alpha {
    column-count: 2;
    column-gap: 3rem;
  }
  .partner-list--alpha li {
    break-inside: avoid;
  }
}
.partner-list mark { background: var(--blush); color: inherit; border-radius: 3px; padding: 0 2px; }
.partner-empty { padding: 2rem; text-align: center; color: var(--muted); }

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0; padding: 0;
  list-style: none;
}
@media (min-width: 640px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .logo-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.logo-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 1rem;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(47, 85, 104, 0.08);
}
.logo-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 0.3s, opacity 0.3s;
}
.logo-grid li:hover img { filter: none; opacity: 1; }
.logo-grid a,
.marquee__track a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Logo marquee (home) */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  margin: 0; padding: 0;
  list-style: none;
  animation: marquee 50s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__track { padding-block: 0.75rem; }
.marquee__track li {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 190px;
  height: 120px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.marquee__track img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.3s, opacity 0.3s;
}
.marquee__track li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 1.25rem)); } }

/* --------------------------------------------------------------------------
   Donate band
   -------------------------------------------------------------------------- */
.donate-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: var(--coral);
  color: var(--white);
  text-align: center;
  isolation: isolate;
}
.donate-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.14) 0, transparent 35%),
    radial-gradient(circle at 88% 85%, rgba(29, 37, 44, 0.18) 0, transparent 40%);
}
.donate-band__heart {
  position: absolute;
  right: -40px; top: 50%;
  z-index: -1;
  width: clamp(220px, 28vw, 380px);
  opacity: 0.16;
  transform: translateY(-50%) rotate(12deg);
  filter: brightness(0) invert(1);
}
.donate-band .kicker { color: var(--white); }
.donate-band h2 { color: var(--white); max-width: 820px; margin-inline: auto; }
.donate-band p { max-width: 640px; margin: 0 auto 2rem; font-size: var(--fs-lg); color: rgba(255, 255, 255, 0.92); }
.donate-band .btn-row { justify-content: center; }
.btn--white { --btn-bg: var(--white); --btn-fg: var(--coral-deep); }
.btn--white:hover { --btn-bg: var(--ink); --btn-fg: var(--white); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.5); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label,
.field legend,
.fieldset legend {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate-ink);
}
.fieldset > legend {
  margin-bottom: 1rem;
  padding: 0;
  font-size: var(--fs-sm);
  color: var(--teal);
}
.req { color: var(--coral); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1.1rem;
  border: 2px solid rgba(47, 85, 104, 0.15);
  border-radius: var(--r-sm);
  background: var(--white);
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 2.75rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5568' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 18px no-repeat;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(175, 216, 211, 0.55);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--coral); }
.field__error { font-size: var(--fs-xs); font-weight: 700; color: var(--coral); min-height: 0; }
.field__hint { font-size: var(--fs-xs); color: var(--muted); }

.fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 0.75rem; }

.form-success {
  display: none;
  padding: 1.5rem;
  border-radius: var(--r);
  background: var(--mist);
  color: var(--teal);
  font-weight: 600;
}
.form-success.is-visible { display: flex; gap: 1rem; align-items: center; }
.form-success img { width: 48px; flex-shrink: 0; }

.panel {
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

/* Contact info list */
.contact-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.5rem; }
.contact-list li { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: start; }
.contact-list__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal);
}
.contact-list__icon svg { width: 24px; height: 24px; }
.contact-list h3 {
  margin: 0.2rem 0 0.2rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}
.contact-list p, .contact-list a { font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--coral); }

.contact-layout {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
@media (min-width: 980px) { .contact-layout { grid-template-columns: 0.85fr 1.15fr; } }
.h3 { font-size: var(--fs-h3); }
.page-hero--short { min-height: clamp(340px, 44vh, 460px); }

.map {
  overflow: hidden;
  border-radius: var(--r);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  background: var(--mist);
}
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.7); }

/* --------------------------------------------------------------------------
   Donate form
   -------------------------------------------------------------------------- */
.donate-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (min-width: 980px) { .donate-layout { grid-template-columns: 1.35fr 0.65fr; } }

.panel--donate { padding: clamp(0.75rem, 2vw, 1.25rem); }
.zeffy-donate { min-height: 240px; }

.review-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--pill);
  background: #fff4d6;
  color: #7a5b00;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px;
  border-radius: var(--pill);
  background: var(--mist);
}
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: var(--pill);
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s;
}
.segmented input:checked + label { background: var(--teal); color: var(--white); box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + label { outline: 3px solid var(--coral-bright); outline-offset: 2px; }

.amounts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) { .amounts { grid-template-columns: repeat(4, 1fr); } }
.amount { position: relative; }
.amount input { position: absolute; opacity: 0; pointer-events: none; }
.amount label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 92px;
  padding: 0.9rem 1rem;
  border: 2px solid rgba(47, 85, 104, 0.15);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--ease);
}
.amount label:hover { border-color: var(--teal); transform: translateY(-2px); }
.amount__value { font-size: 1.5rem; font-weight: 800; color: var(--teal); line-height: 1.1; }
.amount__tier {
  margin-top: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.amount input:checked + label { border-color: var(--coral); background: #fdf1ef; }
.amount input:checked + label .amount__value { color: var(--coral); }
.amount input:focus-visible + label { outline: 3px solid var(--coral-bright); outline-offset: 2px; }

.custom-amount { position: relative; }
.custom-amount span {
  position: absolute;
  left: 1.1rem; top: 50%;
  transform: translateY(-50%);
  font-weight: 800;
  color: var(--teal);
}
.custom-amount input { padding-left: 2.2rem; }

.impact-note {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: var(--r-sm);
  background: var(--mist-light);
  font-size: var(--fs-sm);
  color: var(--teal);
}
.impact-note img { width: 34px; flex-shrink: 0; }
.impact-note em { color: var(--muted); font-size: var(--fs-xs); }

.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
}
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--coral); flex-shrink: 0; }

.radio-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
}
.radio-row input { width: 18px; height: 18px; accent-color: var(--teal); }

.tribute {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--r);
  background: var(--mist-light);
}
.tribute[hidden] { display: none; }

.payment-placeholder {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border: 2px dashed rgba(47, 85, 104, 0.25);
  border-radius: var(--r-sm);
  background: var(--mist-light);
}
.payment-placeholder svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--teal); }
.payment-placeholder strong { display: block; color: var(--teal); }
.payment-placeholder span { font-size: var(--fs-sm); color: var(--muted); }

.donate-summary {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  margin-bottom: 1.25rem;
  border-block: 1px solid var(--mist);
}
.summary-total strong { font-size: 2rem; color: var(--coral); line-height: 1; }
.summary-total span { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }

.side-card {
  padding: 1.75rem;
  border-radius: var(--r);
  background: var(--teal);
  color: rgba(255, 255, 255, 0.9);
}
.side-card h3 { color: var(--white); font-size: 1.125rem; }
.side-card address { font-style: normal; font-weight: 700; color: var(--white); line-height: 1.6; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.25rem;
  font-size: var(--fs-xs);
  color: var(--muted);
}
.trust span { display: inline-flex; gap: 0.4rem; align-items: center; }
.trust svg { width: 14px; height: 14px; color: var(--teal); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding: clamp(4rem, 7vw, 5.5rem) 0 2rem;
  background: var(--slate);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-sm);
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--mint); }
.footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1.2fr 1fr; align-items: start; }
  .footer-grid > :nth-child(2) { text-align: center; }
  .footer-grid > :nth-child(3) { justify-self: end; text-align: right; }
}
.footer-nav { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.footer-nav a {
  display: inline-block;
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.75s var(--ease);
}
.footer-nav a strong { font-weight: 800; }
.footer-nav .btn {
  margin-top: 0.75rem;
  min-height: 40px;
  padding: 0.5em 1.4em;
  transition:
    background-color 0.6s var(--ease),
    color 0.6s var(--ease),
    border-color 0.6s var(--ease),
    transform 0.6s var(--ease),
    box-shadow 0.6s var(--ease);
}
.footer-nav .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -12px rgba(192, 58, 42, 0.4);
}
.footer-logo { width: 210px; margin: 0 0 1.25rem; }
@media (min-width: 900px) { .footer-logo { margin-inline: auto; } }
.footer-phone { display: block; font-size: 1.375rem; font-weight: 800; color: var(--white); }
.footer-tagline {
  margin-top: 1rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
}
.social { display: flex; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .social { justify-content: flex-end; } }
.social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--slate);
  transition: transform 0.25s var(--ease), background-color 0.25s;
}
.social a:hover { background: var(--mint); color: var(--teal); transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; }
.footer-badge { width: 74px; }
@media (min-width: 900px) { .footer-badge { margin-left: auto; } }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.7);
}

.to-top {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 2px solid var(--coral);
  border-radius: 50%;
  background: var(--white);
  color: var(--coral);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--coral); color: var(--white); }
.to-top svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal="zoom"] { transform: scale(0.94); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.divider {
  height: 1px;
  margin-block: clamp(3rem, 6vw, 4.5rem);
  border: 0;
  background: rgba(47, 85, 104, 0.15);
}

/* --------------------------------------------------------------------------
   Legal / long-form policy pages
   -------------------------------------------------------------------------- */
.legal h2 {
  margin-bottom: 1rem;
}
.legal h3 {
  margin-top: 2.25rem;
  margin-bottom: 0.65rem;
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
}
.legal h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.45rem;
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--slate-ink);
}
.legal p {
  max-width: 68ch;
}
.legal .lede {
  max-width: none;
}
.legal .contact-list h3 {
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
