/* ==========================================================================
   The Agape Fund — site styles
   Navy + white. One stylesheet for every page; colors and fonts live in :root.
   ========================================================================== */

:root {
  /* Brand */
  --navy: #19355c;        /* logo navy: buttons, headings accents, bands */
  --navy-dark: #102542;   /* footer, hover */
  --ocean: #266794;       /* links, labels */
  --ocean-light: #8eb6dc; /* accents on navy */

  /* Neutrals */
  --white: #ffffff;
  --mist: #e8f0f8;        /* light blue: alternate sections, page headers */
  --tint: #d8e5f1;        /* deeper light blue: tags, progress track */
  --line: #d5e0eb;

  /* Text */
  --ink: #14233a;
  --text: #2e3a48;
  --muted: #5b6878;

  --radius: 3px;
  --wrap: 1160px;
  --header-h: 76px;

  /* Closest free matches to the current site's Adobe fonts:
     Playfair Display ~ Abril Titling (headlines), Montserrat ~ Proxima Nova (nav + body). */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 960px) { body { font-size: 1.0625rem; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--ocean); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.18;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 700px) { .wrap { padding-inline: 32px; } }
.section { padding-block: clamp(48px, 6vw, 80px); }
.section-tight { padding-block: clamp(36px, 4vw, 52px); }
.pt-0 { padding-top: 0; }
.bg-mist { background: var(--mist); }
.narrow { max-width: 780px; }
.center { text-align: center; margin-inline: auto; }
.section-head { max-width: 720px; margin-bottom: clamp(24px, 3vw, 36px); }
.section-head.center { margin-inline: auto; }
.section-head p:last-child { margin-bottom: 0; }
.section-head.row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.section-head.row > div { max-width: 720px; }

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--sans); font-size: 0.75rem; font-weight: 600; line-height: 1.5;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ocean);
}
.on-dark .eyebrow { color: var(--ocean-light); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.15rem); line-height: 1.65; }
.muted { color: var(--muted); }
.more-link { margin: 32px 0 0; text-align: center; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 46px; padding: 0.7rem 1.4rem;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font-family: var(--sans); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-lg { min-height: 50px; padding-inline: 1.75rem; }
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.8); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: var(--tint); border-color: var(--tint); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5rem; }
.actions.center { justify-content: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; color: var(--ocean);
}
.text-link::after { content: "\2192"; transition: transform 0.2s; }
.text-link:hover { color: var(--navy); }
.text-link:hover::after { transform: translateX(3px); }
.text-link.back::after { content: none; }
.text-link.back::before { content: "\2190"; transition: transform 0.2s; }
.text-link.back:hover::before { transform: translateX(-3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 8px; min-height: 68px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--ink); text-decoration: none; min-width: 0; }
.brand img { width: 30px; height: auto; flex: none; }
.brand span { font-family: var(--serif); font-size: clamp(1.1rem, 4.6vw, 1.45rem); font-weight: 500; white-space: nowrap; letter-spacing: -0.005em; }
.brand:hover { color: var(--ink); }

.btn-donate { min-height: 40px; padding: 0.5rem 1rem; flex: none; }

.menu-toggle {
  flex: none; width: 44px; height: 44px; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink);
}
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative;
  transition: transform 0.25s, background-color 0.2s;
}
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -6px; }
.menu-toggle .bars::after { top: 6px; }
.site-header.is-open .menu-toggle .bars { background: transparent; }
.site-header.is-open .menu-toggle .bars::before { transform: translateY(6px) rotate(45deg); background: var(--ink); }
.site-header.is-open .menu-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); background: var(--ink); }

/* Mobile menu panel */
.site-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 24px -16px rgba(16, 37, 66, 0.25);
}
.site-header.is-open .site-nav { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 4px 20px 14px; }
.site-nav a {
  display: block; padding: 13px 0; border-bottom: 1px solid var(--line);
  font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.site-nav > ul > li:last-child > a { border-bottom: 0; }
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.site-nav .sub { padding: 0 0 0 16px; }
.site-nav .sub a { font-size: 0.9375rem; font-weight: 400; color: var(--muted); padding: 10px 0; }
@media (min-width: 700px) { .site-nav ul { padding-inline: 32px; } .site-nav .sub { padding-inline: 16px 0; } }
@media (max-width: 389px) {
  .header-inner { gap: 6px; }
  .brand { gap: 7px; }
  .brand img { width: 26px; }
  .brand span { font-size: 1.02rem; }
  .btn-donate { padding-inline: 0.75rem; letter-spacing: 0.06em; }
}

/* Desktop nav */
@media (min-width: 960px) {
  .header-inner { min-height: var(--header-h); gap: 16px; }
  .brand img { width: 34px; }
  .menu-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; box-shadow: none; }
  .site-nav > ul { display: flex; align-items: center; gap: 30px; padding: 0; }
  .site-nav > ul > li { position: relative; }
  .site-nav a {
    border: 0; padding: 26px 0; font-size: 0.95rem; font-weight: 400; letter-spacing: 0.01em;
    position: relative;
  }
  .site-nav > ul > li > a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px;
    background: var(--navy); transform: scaleX(0); transition: transform 0.2s;
  }
  .site-nav > ul > li > a:hover { color: var(--navy); }
  .site-nav > ul > li > a:hover::after, .site-nav > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav a[aria-current="page"] { font-weight: 600; }
  .has-sub > a { padding-right: 14px !important; }
  .has-sub > a::before {
    content: ""; position: absolute; right: 0; top: 50%; margin-top: -4px;
    width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
  }
  .site-nav .sub {
    position: absolute; top: 100%; left: -18px; min-width: 230px; padding: 8px 0;
    background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--navy);
    box-shadow: 0 14px 28px -16px rgba(16, 37, 66, 0.35);
    opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  }
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .site-nav .sub a { padding: 9px 18px; font-size: 0.9rem; color: var(--text); }
  .site-nav .sub a:hover { background: var(--mist); color: var(--navy); }
  .btn-donate { margin-left: 6px; min-height: 42px; padding-inline: 1.3rem; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--navy-dark); color: #fff; overflow: hidden; }
.hero-media { position: relative; aspect-ratio: 16 / 10; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; padding-block: 28px 40px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; }
.hero h1 .line { display: block; }
.hero h1 em { color: var(--ocean-light); }
.hero .lede { color: rgba(255, 255, 255, 0.9); max-width: 44ch; }

@media (min-width: 900px) {
  .hero { min-height: min(74vh, 680px); display: flex; align-items: center; }
  .hero-media { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero-media img { object-position: 60% 50%; }
  .hero-media::after {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(90deg, rgba(16, 37, 66, 0.88) 0%, rgba(16, 37, 66, 0.62) 42%, rgba(16, 37, 66, 0.08) 75%),
      linear-gradient(0deg, rgba(16, 37, 66, 0.45) 0%, rgba(16, 37, 66, 0) 30%);
  }
  .hero-content { padding-block: 64px 120px; width: 100%; }
  .hero-content > * { max-width: 620px; }
  .hero-content h1 { max-width: 760px; }
}

/* ---------- CARE framework ---------- */
.care-strip { position: relative; z-index: 2; padding-bottom: clamp(40px, 5vw, 64px); }
.care-panel { background: #fff; border: 1px solid var(--line); padding: 22px 18px; margin-top: 24px; }
@media (min-width: 900px) { .care-panel { margin-top: -72px; padding: 26px 28px; box-shadow: 0 20px 40px -28px rgba(16, 37, 66, 0.45); } }
.care-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 16px; }
.care-head h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 0; }
.care-head .eyebrow { margin-bottom: 0.25rem; }

.care-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .care-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .care-grid { grid-template-columns: repeat(4, 1fr); } }
.care-tile {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 16px 18px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--text); text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
a.care-tile:hover { border-color: var(--navy); color: var(--text); }
.care-tile .care-letter { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--navy); }
.care-tile .care-name { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin: 0.35rem 0 0.2rem; line-height: 1.25; }
.care-tile .care-desc { font-size: 0.875rem; line-height: 1.55; color: var(--muted); }
.care-tile.is-focus { background: var(--navy); border-color: var(--navy); }
.care-tile.is-focus .care-letter, .care-tile.is-focus .care-name { color: #fff; }
.care-tile.is-focus .care-desc { color: rgba(255, 255, 255, 0.85); }
a.care-tile.is-focus:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.focus-tag {
  position: absolute; top: 14px; right: 14px;
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy); background: #fff; padding: 0.3em 0.6em; border-radius: 2px;
}
/* Longer version on the About page */
.care-grid.detailed .care-tile { padding: 22px 22px 24px; scroll-margin-top: 110px; }
.care-grid.detailed .care-desc { font-size: 0.9375rem; margin: 0 0 0.9rem; }
.care-grid.detailed .care-partners { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }
.care-grid.detailed .is-focus .care-partners { border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.8); }
.care-grid.detailed .is-focus .care-partners a { color: #fff; }
.care-tile:target { outline: 2px solid var(--ocean); outline-offset: 3px; }

/* ---------- Split (photo + text) ---------- */
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.wide-text { grid-template-columns: 1.1fr 0.9fr; }
  .split.reverse > :first-child { order: 2; }
}
.photo img { width: 100%; object-fit: cover; aspect-ratio: 4 / 5; border-radius: var(--radius); }
.photo.landscape img { aspect-ratio: 3 / 2; }
.photo.square img { aspect-ratio: 1; }
.photo figcaption { font-size: 0.8125rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 899px) {
  .media-first-mobile > .photo { order: -1; }
  .media-first-mobile > .photo img { aspect-ratio: 3 / 2; }
}

/* ---------- Cards (partners) ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards.four { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--navy); box-shadow: 0 14px 30px -22px rgba(16, 37, 66, 0.5); }
.card-img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; background: var(--mist); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.card h3 { margin: 0 0 0.15rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .affil { font-size: 0.8125rem; font-weight: 600; color: var(--muted); margin: 0; }
.card p.blurb { font-size: 0.9rem; line-height: 1.6; margin: 0.6rem 0 1rem; }
.card .text-link { margin-top: auto; }
.cards.large .card-body { padding: 22px 24px 24px; }
.cards.large .card h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
.cards.large p.blurb { font-size: 0.95rem; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 0.7rem; }
.tag {
  display: inline-block; position: relative; z-index: 2;
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35em 0.65em; border-radius: 2px; text-decoration: none;
  background: var(--navy); color: #fff;
}
.tag.secondary { background: var(--tint); color: var(--navy); }
a.tag:hover { background: var(--ocean); color: #fff; }

/* ---------- Stats band ---------- */
.stats { background: var(--navy); color: #fff; }
.stats-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; text-align: center; }
@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .stats-grid li + li { border-left: 1px solid rgba(255, 255, 255, 0.18); }
}
.stat-num { display: block; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1; color: #fff; }
.stat-label { display: block; margin-top: 0.55rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ocean-light); }

/* ---------- Sponsors ---------- */
.sponsors { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .sponsors { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .sponsors { grid-template-columns: repeat(5, 1fr); } }
.sponsor {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 120px; padding: 16px 12px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.sponsor img { max-height: 56px; max-width: 100%; width: auto; object-fit: contain; }
.sponsor span { font-size: 0.75rem; font-weight: 600; color: var(--muted); line-height: 1.3; }
@media (max-width: 699px) { .sponsor:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- CTA band (compact) ---------- */
.cta-band { background: var(--navy); color: #fff; padding-block: clamp(32px, 4vw, 44px); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.cta-text { display: flex; align-items: center; gap: 18px; max-width: 720px; }
.cta-text img { width: 40px; flex: none; }
.cta-band h2 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 0 0 0.2rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; font-size: 0.95rem; }
.cta-band .actions { margin-top: 0; }
@media (max-width: 599px) { .cta-text img { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, 0.8); padding-block: 52px 24px; font-size: 0.9rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--ocean-light); text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 0.8fr; } }
.footer-brand img { width: 48px; margin-bottom: 14px; }
.footer-tagline { font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; color: #fff; margin-bottom: 0.5rem; }
.site-footer h2 { font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ocean-light); margin: 0 0 0.9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer address { font-style: normal; line-height: 1.6; margin-bottom: 0.8rem; }
.social { display: flex; gap: 8px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--radius); }
.social a:hover { border-color: var(--ocean-light); }
.social svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.6);
}

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--mist); padding-block: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 0.4em; }
.meta-line { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); }
.page-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 1.4rem 0 0; }
.page-links a {
  display: inline-block; padding: 0.55rem 0.9rem; border: 1px solid var(--navy); border-radius: var(--radius);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--navy); background: #fff;
}
.page-links a:hover { background: var(--navy); color: #fff; }

/* Photo hero (Races) */
.photo-hero { position: relative; color: #fff; background: var(--navy-dark); overflow: hidden; }
.photo-hero .hero-media { aspect-ratio: 16 / 10; }
.photo-hero .hero-content { padding-block: 28px 40px; }
.photo-hero h1 { color: #fff; }
.photo-hero .lede { color: rgba(255, 255, 255, 0.9); max-width: 46ch; }
@media (min-width: 900px) {
  .photo-hero { min-height: 520px; display: flex; align-items: flex-end; }
  .photo-hero .hero-media { position: absolute; inset: 0; aspect-ratio: auto; }
  .photo-hero .hero-media::after {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(90deg, rgba(16, 37, 66, 0.8) 0%, rgba(16, 37, 66, 0.45) 45%, rgba(16, 37, 66, 0) 75%),
      linear-gradient(0deg, rgba(16, 37, 66, 0.8) 0%, rgba(16, 37, 66, 0.2) 45%, rgba(16, 37, 66, 0) 75%);
  }
  .photo-hero .hero-content { padding-block: 140px 56px; width: 100%; }
}

/* ---------- About ---------- */
.story-block + .story-block { margin-top: clamp(40px, 5vw, 64px); }
.story-block h2 { margin-bottom: 0.6em; }

.agape-band { background: var(--navy); color: #fff; }
.agape-grid { display: grid; gap: 20px 56px; align-items: center; }
@media (min-width: 860px) { .agape-grid { grid-template-columns: auto 1fr; } }
.agape-word { font-family: var(--serif); font-style: italic; font-size: clamp(3.2rem, 7vw, 5rem); line-height: 1; color: #fff; margin: 0; }
.agape-pron { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ocean-light); margin: 0.6rem 0 0; }
.agape-def { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; color: #fff; margin: 0 0 0.8rem; }
.agape-band p { color: rgba(255, 255, 255, 0.85); }
.agape-band p:last-child { margin-bottom: 0; }
@media (min-width: 860px) { .agape-grid > div + div { border-left: 1px solid rgba(255, 255, 255, 0.2); padding-left: 56px; } }

.board { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .board { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .board { grid-template-columns: repeat(4, 1fr); } }
.board li {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.board li.lead { border-color: var(--navy); }
.avatar {
  flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.02em;
}
.board .name { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--ink); line-height: 1.25; }
.board .role { display: block; margin-top: 2px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ocean); }

/* ---------- Partners ---------- */
.care-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 22px; font-size: 0.875rem; color: var(--muted); }
.care-legend .tags { margin: 0; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 16px 24px; font-size: 0.9375rem; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 0.55em; width: 10px; height: 10px; background: var(--navy); }
.timeline .yr { font-family: var(--serif); font-size: 1.1rem; color: var(--navy); margin-right: 0.5rem; }
.timeline li:last-child { padding-bottom: 0; }

.crumbs { margin: 0 0 18px; }
.partner-hero { background: var(--mist); padding-block: 24px clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.partner-hero h1 { margin-bottom: 0.15em; }
.partner-hero .affil { font-size: 1.05rem; color: var(--text); margin-bottom: 0.6rem; }
.partner-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .partner-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; } }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose figure { margin: 2rem 0; }
.prose figure img { width: 100%; border-radius: var(--radius); }
.prose figcaption { font-size: 0.8125rem; color: var(--muted); margin-top: 0.5rem; }

.aside-card { background: var(--mist); border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 22px; }
@media (min-width: 1000px) { .aside-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.aside-card h2 { font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ocean); margin-bottom: 0.9rem; }
.aside-card dl { margin: 0 0 1.2rem; }
.aside-card dt { font-size: 0.75rem; font-weight: 600; color: var(--muted); margin-top: 0.8rem; }
.aside-card dt:first-child { margin-top: 0; }
.aside-card dd { margin: 0.1rem 0 0; font-size: 0.9375rem; color: var(--ink); }
.aside-card .btn { width: 100%; }

.quote { margin: 2rem 0; padding: 24px 26px; background: var(--mist); border-left: 3px solid var(--navy); }
.quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.5; color: var(--ink); }
.quote blockquote p { margin: 0; }
.quote figcaption { margin-top: 12px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }

.highlights { list-style: none; padding: 0; margin: 0; }
.highlights li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.highlights li:first-child { border-top: 1px solid var(--line); }
.highlights .yr { font-family: var(--serif); font-size: 1.1rem; color: var(--navy); line-height: 1.45; }

.reading { list-style: none; padding: 0; margin: 0; }
.reading li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.reading .date { display: block; font-size: 0.8rem; color: var(--muted); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 28px; margin-top: 48px; border-top: 1px solid var(--line); }
.pager a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.pager a:hover { border-color: var(--navy); }
.pager small { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ocean); }
.pager span { font-family: var(--serif); font-size: 1.05rem; }
.pager .next { text-align: right; grid-column: 2; }

/* ---------- Races & Events ---------- */
.event-facts { list-style: none; padding: 0; margin: 1.2rem 0; border-top: 1px solid var(--line); }
.event-facts li { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.event-facts strong { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 0.2em; }

.ambassadors { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .ambassadors { grid-template-columns: repeat(3, 1fr); } }
.amb-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.amb-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; }
.amb-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.amb-card h3 { font-size: 1.3rem; margin: 0 0 0.25rem; }
.amb-event { margin: 0 0 1rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ocean); }
.progress { margin: 0 0 1rem; }
.progress-track { height: 6px; background: var(--tint); overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: var(--navy); transition: width 1.2s ease; }
.progress-text { margin: 8px 0 0; font-size: 0.8125rem; color: var(--muted); }
.progress-text strong { color: var(--ink); }
.progress[data-goal=""] { display: none; } /* hidden until a goal is filled in */
.amb-quote { margin: 0 0 1.25rem; padding-left: 14px; border-left: 2px solid var(--line); font-size: 0.875rem; line-height: 1.65; font-style: italic; color: var(--text); }
.amb-quote p { margin: 0; }
.amb-card .btn { width: 100%; margin-top: auto; }

.start-banner {
  margin-top: 20px; padding: 24px 26px; background: var(--navy); color: #fff; border-radius: var(--radius);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
}
.start-banner .start-text { display: flex; align-items: center; gap: 18px; max-width: 760px; }
.start-banner img { width: 40px; flex: none; }
.start-banner h3 { color: #fff; margin: 0 0 0.2rem; font-size: 1.3rem; }
.start-banner p { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 0.9375rem; }
@media (max-width: 599px) { .start-banner img { display: none; } }

.gallery { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; margin: 0; }
.gallery li { aspect-ratio: 1; }
.gallery li:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 10px; }
  .gallery li, .gallery li:first-child { aspect-ratio: auto; }
  .gallery li:first-child { grid-row: span 2; }
}

.events { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.event-date { text-align: center; padding: 10px 4px; background: var(--navy); color: #fff; font-family: var(--serif); line-height: 1.1; border-radius: var(--radius); }
.event-date .mo { display: block; font-family: var(--sans); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.event-date .day { display: block; font-size: 1.5rem; }
.event h3 { margin: 0 0 0.15rem; font-size: 1.15rem; }
.event p { margin: 0; font-size: 0.875rem; color: var(--muted); }

/* ---------- Donate ---------- */
.levels { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .levels { grid-template-columns: repeat(4, 1fr); } }
.level {
  display: flex; flex-direction: column; gap: 6px; padding: 20px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); text-decoration: none; transition: border-color 0.2s, background-color 0.2s;
}
.level:hover { border-color: var(--navy); color: var(--text); }
.level .amt { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.1rem); line-height: 1; color: var(--navy); }
.level .what { font-size: 0.875rem; line-height: 1.5; }

.give-frame { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.give-frame iframe { display: block; width: 100%; height: 1700px; border: 0; }
.give-help { font-size: 0.875rem; color: var(--muted); margin-top: 14px; text-align: center; }

.ways { display: grid; gap: 12px; }
@media (min-width: 800px) { .ways { grid-template-columns: repeat(2, 1fr); } }
.way { padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); }
.way h3 { margin-bottom: 0.4rem; }
.way p { font-size: 0.9375rem; }
.way p:last-child { margin-bottom: 0; }

.tax-note { padding: 22px 24px; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.9375rem; }
.tax-note h2 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.tax-note p:last-child { margin-bottom: 0; }

/* ---------- Draft markers (remove before launch) ----------
   Anything wrapped in .tk still needs a real fact from the team.
   Search the HTML for class="tk" to find them all. */
.tk { background: #fff1bf; box-shadow: inset 0 0 0 1px #e2c46a; padding: 0 0.3em; color: #4a3a00; font-style: normal; }
.tk-flag {
  display: inline-block; vertical-align: middle;
  font-family: var(--sans); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: #fff1bf; color: #4a3a00; border: 1px dashed #c9a13b; padding: 0.25em 0.6em;
}
.tk-block { outline: 2px dashed #d9b44a; outline-offset: 5px; }

/* ---------- Utilities ---------- */
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.nowrap { white-space: nowrap; }
figure.photo { margin: 0; }
.section.pt-sm { padding-top: clamp(28px, 4vw, 44px); }
.section-head.flush { margin-bottom: 0; }
.tax-note.spaced { margin-top: 28px; }
@media (max-width: 559px) {
  .care-grid:not(.detailed) { grid-template-columns: repeat(2, 1fr); }
  .care-grid:not(.detailed) .care-desc { display: none; }
  .care-grid:not(.detailed) .focus-tag { position: static; align-self: flex-start; order: 3; margin-top: 8px; }
}

/* ==========================================================================
   Layout refinements (round 3)
   ========================================================================== */

/* Home hero: calmer photo behind the headline */
@media (min-width: 900px) {
  .hero { min-height: min(72vh, 660px); }
  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(16, 37, 66, 0.92) 0%, rgba(16, 37, 66, 0.74) 38%, rgba(16, 37, 66, 0.15) 72%),
      linear-gradient(0deg, rgba(16, 37, 66, 0.45) 0%, rgba(16, 37, 66, 0) 30%);
  }
}

/* Home story: smaller photo, wider text */
@media (min-width: 900px) { .story-split { grid-template-columns: 5fr 7fr; gap: 64px; } }
.story-split .photo img { max-height: 540px; }
.name-note { margin: 1.4rem 0 0; padding: 14px 18px; background: var(--mist); border-left: 3px solid var(--navy); }
.name-note p { margin: 0; font-size: 0.9rem; }
.name-note .name-word { font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.2; color: var(--navy); margin-bottom: 4px; }
.name-word span {
  margin-left: 8px; vertical-align: middle;
  font-family: var(--sans); font-style: normal; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}

/* Four-up partner cards: names fit on one line */
.cards.four .card h3 { font-size: 1.12rem; }

/* Sponsors: larger logos */
.sponsor { min-height: 136px; }
.sponsor img { max-height: 66px; }

/* Board: President featured, six members in a grid */
.board-layout { display: grid; gap: 12px; }
@media (min-width: 900px) {
  .board-layout { grid-template-columns: 1fr 3fr; }
  .board-layout .board { grid-template-columns: repeat(3, 1fr); }
}
.board-lead {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 24px; background: var(--navy); color: #fff; border-radius: var(--radius);
}
.avatar-lg { width: 72px; height: 72px; font-size: 1.5rem; background: #fff; color: var(--navy); margin-bottom: 14px; }
.board-lead .name { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; color: #fff; }
.board-lead .role { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ocean-light); }

/* Partners page header: text + stats panel */
.hero-split { display: grid; gap: 28px; align-items: end; }
@media (min-width: 900px) { .hero-split { grid-template-columns: 1.5fr 1fr; gap: 64px; } }
.hero-stats { list-style: none; margin: 0; padding: 6px 24px; background: var(--navy); border-radius: var(--radius); }
.hero-stats li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.hero-stats li:last-child { border-bottom: 0; }
.hs-num { min-width: 4.4ch; font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: #fff; }
.hs-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ocean-light); }

/* Partners page: wide rows */
.prows { display: grid; gap: 16px; }
.prow {
  position: relative; display: grid; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.prow:hover { border-color: var(--navy); box-shadow: 0 14px 30px -22px rgba(16, 37, 66, 0.5); }
.prow-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.prow-body { display: flex; flex-direction: column; justify-content: center; padding: 22px 22px 24px; }
.prow h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 0 0 0.2rem; }
.prow h3 a { color: inherit; text-decoration: none; }
.prow h3 a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.prow .affil { font-size: 0.8125rem; font-weight: 600; color: var(--muted); margin: 0 0 0.7rem; }
.prow .blurb { font-size: 0.975rem; max-width: 56ch; margin: 0 0 1rem; }
@media (min-width: 760px) {
  .prow { grid-template-columns: 360px 1fr; }
  .prow-img { height: 100%; min-height: 230px; aspect-ratio: auto; }
  .prow-body { padding: 28px 36px; }
}

.split.align-start { align-items: start; }

/* Races hero: keep runners' heads in frame */
.photo-hero .hero-media img { object-position: 50% 20%; }

/* Donate: where-your-gift-goes list */
.gift-list { list-style: none; padding: 0; margin: 0.4rem 0 1rem; border-top: 1px solid var(--line); }
.gift-list li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.gift-list li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 9px; height: 9px; background: var(--navy); }
.gift-list strong { font-weight: 600; color: var(--ink); }

/* Donate: giving levels beside the form */
.give-layout { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .give-layout { grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
  .give-side { position: sticky; top: calc(var(--header-h) + 24px); }
}
.levels-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; border-top: 1px solid var(--line); }
.levels-list li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.levels-list .amt { font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--navy); }
.levels-list .what { font-size: 0.9rem; }
.trust { list-style: none; padding: 0; margin: 0; font-size: 0.85rem; color: var(--muted); }
.trust li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.trust li::before { content: "\2713"; position: absolute; left: 0; font-weight: 700; color: var(--navy); }
.hs-num { min-width: 5.4ch; }
.photo-hero .hero-media img { object-position: 50% 0%; }
@media (max-width: 559px) {
  .board { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .board li { flex-direction: column; text-align: center; gap: 10px; padding: 16px 8px; }
  .board-lead { flex-direction: row; align-items: center; gap: 16px; padding: 18px; }
  .board-lead .avatar-lg { margin-bottom: 0; width: 60px; height: 60px; font-size: 1.25rem; }
}
@media (max-width: 559px) {
  .board-lead { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 2px; }
  .board-lead .avatar-lg { grid-row: 1 / span 2; }
  .board-lead .name { align-self: end; }
  .board-lead .role { align-self: start; }
}

/* ==========================================================================
   Round 4: roomier rhythm, light-blue sections, fuller CARE, footer CTA
   ========================================================================== */
.section { padding-block: clamp(64px, 7.5vw, 104px); }
.section-head { margin-bottom: clamp(28px, 3.5vw, 44px); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.lede { font-size: clamp(1.06rem, 1.4vw, 1.18rem); }
@media (min-width: 900px) {
  .split { gap: 72px; }
  .story-split { gap: 80px; }
}
.story-block + .story-block { margin-top: 0; }

/* Home hero + CARE panel */
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
@media (min-width: 900px) {
  .hero { min-height: min(78vh, 720px); }
  .hero-content { padding-block: 80px 150px; }
  .care-panel { margin-top: -100px; padding: 36px 40px 40px; }
}
.care-strip { padding-bottom: clamp(56px, 7vw, 96px); }
.care-head { margin-bottom: 24px; }
.care-head h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.care-grid { gap: 14px; }
.care-tile { padding: 24px 24px 26px; }
.care-tile .care-letter { font-size: 2.75rem; }
.care-tile .care-name { font-size: 1.3rem; margin: 0.5rem 0 0.35rem; }
.care-tile .care-desc { font-size: 0.9375rem; }
.focus-tag { top: 18px; right: 18px; }
@media (min-width: 960px) { .care-grid:not(.detailed) .care-tile { min-height: 210px; } }

/* White details on light-blue sections */
.name-note { background: #fff; }
.bg-mist .tax-note { background: #fff; }

/* Bands */
.stats { padding-block: clamp(48px, 6vw, 72px); }
.agape-band.section { padding-block: clamp(56px, 6vw, 84px); }

/* Footer with built-in Donate prompt (replaces the small navy strip) */
.site-footer { padding-block: clamp(52px, 6vw, 72px) 28px; }
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-top .footer-brand { display: flex; align-items: center; gap: 20px; max-width: 660px; }
.footer-top .footer-brand img { width: 56px; margin: 0; flex: none; }
.footer-top .footer-tagline { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: 0.3rem; }
.footer-top p { margin: 0; }
.footer-top .actions { margin-top: 0; }
.footer-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 0.8fr; } }
@media (max-width: 599px) { .footer-top .footer-brand { flex-direction: column; align-items: flex-start; } }
.site-footer .btn { text-decoration: none; }
.site-footer .btn-white, .site-footer .btn-white:hover { color: var(--navy); }
.site-footer .btn-outline-light:hover { color: var(--navy); }

/* ==========================================================================
   Round 5: home hero stands alone, highlights carousel, CARE section
   ========================================================================== */
@media (min-width: 900px) {
  .hero { min-height: min(76vh, 700px); }
  .hero-content { padding-block: 88px; }
}
.name-note { background: var(--mist); }

/* Highlights carousel */
.car-nav { display: flex; gap: 8px; }
.car-btn {
  width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid var(--navy); border-radius: var(--radius); background: #fff; color: var(--navy);
  font-size: 1.1rem; transition: background-color 0.2s, color 0.2s;
}
.car-btn:hover { background: var(--navy); color: #fff; }
.carousel { position: relative; }
.car-track {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.car-track::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .car-track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; } }
@media (min-width: 1040px) { .car-track { grid-auto-columns: calc((100% - 40px) / 3); } }
.car-slide { scroll-snap-align: start; }
.car-slide a {
  position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: var(--radius); background: var(--navy-dark); color: #fff; text-decoration: none;
}
.car-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.car-slide a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(16, 37, 66, 0.95) 0%, rgba(16, 37, 66, 0.6) 40%, rgba(16, 37, 66, 0) 68%);
}
.car-slide a:hover img { transform: scale(1.04); }
.car-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 24px; }
.car-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ocean-light); }
.car-title { font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.45rem); line-height: 1.25; color: #fff; }
.car-text { font-size: 0.875rem; line-height: 1.55; color: rgba(255, 255, 255, 0.86); }
.car-dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.car-dot { position: relative; width: 30px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; }
.car-dot::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 4px; border-radius: 2px; background: var(--tint); transition: background-color 0.2s; }
.car-dot:hover::before { background: var(--ocean-light); }
.car-dot[aria-current="true"]::before { background: var(--navy); }
@media (prefers-reduced-motion: reduce) { .car-track { scroll-behavior: auto; } }

/* CARE on home: intro beside a 2 x 2 grid */
.care-split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .care-split { grid-template-columns: 0.8fr 1.2fr; gap: 72px; } }
.care-intro .lede { max-width: 40ch; }
.care-grid.two { grid-template-columns: repeat(2, 1fr); gap: 14px; }
.care-grid.two .care-tile { min-height: 210px; }
@media (max-width: 559px) { .care-grid.two .care-tile { min-height: 0; } }

/* Board: seven equal cards, rows centered (4 + 3 on desktop) */
.board { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.board li { flex: 0 1 calc(50% - 6px); }
@media (min-width: 900px) { .board li { flex-basis: calc(25% - 9px); } }

/* "Take on a challenge" banner: light card instead of solid navy */
.start-banner { background: #fff; color: var(--text); border: 1px solid var(--line); border-left: 4px solid var(--navy); }
.start-banner h3 { color: var(--ink); }
.start-banner p { color: var(--text); }

/* Partners header: title left, intro right (no floating box) */
.header-split { display: grid; gap: 12px 64px; align-items: end; }
.header-split h1 { margin-bottom: 0; }
.header-split .lede { margin: 0; max-width: 52ch; }
@media (min-width: 900px) {
  .header-split { grid-template-columns: 1fr 1fr; }
  .header-split .lede { padding-left: 32px; border-left: 2px solid var(--navy); }
}

/* ==========================================================================
   Round 6: full-screen home hero (fills the first screen on every device)
   ========================================================================== */
.hero {
  min-height: calc(100vh - 68px);
  min-height: calc(100svh - 68px);
  display: flex; align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; aspect-ratio: auto; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(16, 37, 66, 0.95) 0%, rgba(16, 37, 66, 0.78) 45%, rgba(16, 37, 66, 0.3) 100%);
}
.hero-content { padding-block: 48px 84px; width: 100%; }
@media (min-width: 900px) {
  .hero {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    align-items: center;
  }
  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(16, 37, 66, 0.92) 0%, rgba(16, 37, 66, 0.74) 38%, rgba(16, 37, 66, 0.15) 72%),
      linear-gradient(0deg, rgba(16, 37, 66, 0.5) 0%, rgba(16, 37, 66, 0) 30%);
  }
  .hero-content { padding-block: 96px 120px; }
}

/* "Scroll" cue at the bottom of the hero */
.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; z-index: 2; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85); text-decoration: none;
}
.hero-scroll::after {
  content: ""; width: 11px; height: 11px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); animation: hero-bob 2.2s ease-in-out infinite;
}
.hero-scroll:hover { color: #fff; }
@keyframes hero-bob {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(5px) rotate(45deg); }
}
@media (max-height: 600px) { .hero-scroll { display: none; } }
@media (max-width: 899px) {
  .hero-media::after { background: linear-gradient(0deg, rgba(16, 37, 66, 0.95) 0%, rgba(16, 37, 66, 0.72) 42%, rgba(16, 37, 66, 0.2) 78%, rgba(16, 37, 66, 0.1) 100%); }
}

/* Round 7: leave a sliver of the next section showing; all-white headline */
.hero { min-height: calc(100vh - 68px - 48px); min-height: calc(100svh - 68px - 48px); }
@media (min-width: 900px) {
  .hero { min-height: calc(100vh - var(--header-h) - 64px); min-height: calc(100svh - var(--header-h) - 64px); }
}
.hero h1 em { color: #fff; }

/* ==========================================================================
   Round 8: impact band, ambassador cards, community photo carousel
   ========================================================================== */

/* Impact band: ocean-to-navy gradient with a soft logo watermark */
.stats {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, #132a4a 0%, var(--navy) 38%, #1f4c79 72%, var(--ocean) 100%);
  padding-block: clamp(56px, 7vw, 92px);
}
.stats::after {
  content: ""; position: absolute; right: -70px; top: 50%; width: 360px; height: 376px; transform: translateY(-50%);
  background: url("../images/logo-white.png") no-repeat center / contain; opacity: 0.07; pointer-events: none;
}
.stats .wrap { position: relative; z-index: 1; }
.stats .eyebrow { text-align: center; color: var(--ocean-light); margin-bottom: clamp(28px, 4vw, 44px); }
.stat-num { font-size: clamp(2.8rem, 5.4vw, 4.1rem); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.01em; }
.stat-label { margin-top: 0.8rem; }
.stats-grid li { padding-inline: 12px; }
@media (min-width: 900px) { .stats-grid li + li { border-left-color: rgba(255, 255, 255, 0.2); } }
.stats-grid.will-animate li { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.stats-grid.will-animate.in-view li { opacity: 1; transform: none; }
.stats-grid.will-animate.in-view li:nth-child(2) { transition-delay: 0.12s; }
.stats-grid.will-animate.in-view li:nth-child(3) { transition-delay: 0.24s; }
.stats-grid.will-animate.in-view li:nth-child(4) { transition-delay: 0.36s; }

/* Ambassador cards */
.amb-card { box-shadow: 0 18px 36px -30px rgba(16, 37, 66, 0.5); transition: transform 0.25s, box-shadow 0.25s; }
.amb-card:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -28px rgba(16, 37, 66, 0.55); }
.amb-photo { position: relative; }
.amb-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; }
.amb-chip {
  position: absolute; left: 14px; bottom: 14px; right: 14px; width: fit-content;
  padding: 0.5em 0.8em; border-radius: 2px; background: #fff; color: var(--navy);
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.4;
  box-shadow: 0 6px 14px -6px rgba(16, 37, 66, 0.35);
}
.amb-body { padding: 22px 24px 24px; }
.amb-card h3 { font-size: 1.45rem; margin: 0 0 0.8rem; }
.amb-quote {
  position: relative; margin: 0; padding: 0 0 0 30px; border: 0;
  font-family: var(--serif); font-style: italic; font-size: 1rem; line-height: 1.62; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.amb-quote::before {
  content: "\201C"; position: absolute; left: 0; top: 0;
  font-size: 2.4rem; line-height: 0.95; font-style: normal; color: var(--ocean-light);
}
.amb-quote p { margin: 0; }
.amb-quote.is-open { display: block; -webkit-line-clamp: unset; overflow: visible; }
.amb-more {
  align-self: flex-start; margin: 6px 0 0 30px; padding: 4px 0; border: 0; background: none; cursor: pointer;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em; color: var(--ocean);
  text-decoration: underline; text-underline-offset: 0.2em;
}
.amb-more:hover { color: var(--navy); }
.amb-more[hidden] { display: none; }
.amb-card .progress { margin: 20px 0 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.amb-card .progress-text { margin: 0 0 10px; }
.amb-card .progress-track { height: 8px; border-radius: 999px; }
.amb-card .progress-fill { border-radius: 999px; background: linear-gradient(90deg, var(--navy), var(--ocean)); }
/* No goal yet: the bar stays hidden but keeps a gap above the Support button */
.amb-card .progress[data-goal=""] { display: block; visibility: hidden; height: 0; overflow: hidden; margin: 20px 0 0; padding: 0; border: 0; }
.btn-give {
  width: 100%; margin-top: auto; min-height: 52px; gap: 0.6rem;
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.btn-give:hover { background: var(--ocean); border-color: var(--ocean); color: #fff; }
.btn-give svg { width: 16px; height: 16px; transition: transform 0.2s; }
.btn-give:hover svg { transform: scale(1.15); }

/* Community photo carousel */
.car-photos figure { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--navy-dark); }
.car-photos img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 0.6s ease; }
.car-photos figure:hover img { transform: scale(1.03); }
.car-photos figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 18px 14px;
  background: linear-gradient(0deg, rgba(16, 37, 66, 0.88), rgba(16, 37, 66, 0));
  color: #fff; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em;
}

/* ==========================================================================
   Round 9: event albums + photo pop-up, grant count-up on Partners
   ========================================================================== */
[hidden] { display: none !important; }

/* Album cards in the "Moments from our community" carousel */
.album-card {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius);
  background: var(--navy-dark); color: #fff; text-align: left; font: inherit;
}
.album-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform 0.6s ease; }
.album-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(16, 37, 66, 0.92) 0%, rgba(16, 37, 66, 0.45) 45%, rgba(16, 37, 66, 0) 70%);
}
.album-card:hover img, .album-card:focus-visible img { transform: scale(1.04); }
.album-count {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  padding: 0.45em 0.75em; border-radius: 2px; background: #fff; color: var(--navy);
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.album-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 22px; }
.album-title { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.2; }
.album-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ocean-light); }
.album-cta::after { content: "\2192"; transition: transform 0.2s; }
.album-card:hover .album-cta::after { transform: translateX(4px); }

/* Photo pop-up */
body.lb-open { overflow: hidden; }
.lightbox {
  width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh;
  margin: 0; padding: clamp(16px, 3vw, 32px); border: 0;
  background: rgba(10, 22, 40, 0.96); color: #fff;
}
.lightbox::backdrop { background: rgba(10, 22, 40, 0.6); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px; }
.lb-head, .lb-stage, .lb-thumbs { width: 100%; max-width: 1200px; margin-inline: auto; }
.lb-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.lb-head h2 { margin: 0; color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.lb-count { margin: 0 0 4px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ocean-light); }
.lb-close {
  flex: none; width: 46px; height: 46px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius); background: none; color: #fff;
  font-size: 1.6rem; line-height: 1;
}
.lb-close:hover { background: #fff; color: var(--navy); }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; min-height: 0; max-height: 100%; }
.lb-figure img {
  width: auto; height: auto; max-width: 100%;
  max-height: calc(100vh - 250px); max-height: calc(100dvh - 250px);
  object-fit: contain; border-radius: var(--radius);
}
.lb-figure figcaption { margin-top: 12px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.86); text-align: center; }
.lb-nav {
  position: absolute; top: 50%; z-index: 1; transform: translateY(-50%);
  width: 48px; height: 48px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius);
  background: rgba(16, 37, 66, 0.7); color: #fff; font-size: 1.2rem;
}
.lb-nav:hover { background: #fff; color: var(--navy); }
.lb-prev { left: 0; }
.lb-next { right: 0; }
.lb-thumbs { display: flex; justify-content: center; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.lb-thumb { flex: none; width: 72px; height: 54px; padding: 0; overflow: hidden; cursor: pointer; border: 2px solid transparent; border-radius: 2px; background: none; opacity: 0.55; transition: opacity 0.2s; }
.lb-thumb:hover { opacity: 0.85; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb[aria-current="true"] { opacity: 1; border-color: #fff; }

/* Partners: big counting "8" and timeline years rising in */
.grant-total .gt-num {
  display: block; margin-bottom: 0.1em;
  font-size: clamp(4rem, 9vw, 6rem); line-height: 1; color: var(--navy);
  font-variant-numeric: lining-nums tabular-nums;
}
[data-countup].will-animate .timeline li { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-countup].will-animate.in-view .timeline li { opacity: 1; transform: none; }
[data-countup].will-animate.in-view .timeline li:nth-child(2) { transition-delay: 0.12s; }
[data-countup].will-animate.in-view .timeline li:nth-child(3) { transition-delay: 0.24s; }
[data-countup].will-animate.in-view .timeline li:nth-child(4) { transition-delay: 0.36s; }
[data-countup].will-animate.in-view .timeline li:nth-child(5) { transition-delay: 0.48s; }
[data-countup].will-animate.in-view .timeline li:nth-child(6) { transition-delay: 0.6s; }
.lightbox { background: #0c1b30; }

/* Event albums still waiting for photos */
.album-card.is-empty { cursor: default; background: linear-gradient(135deg, var(--navy) 0%, #1f4c79 60%, var(--ocean) 100%); }
.album-card.is-empty::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/logo-white.png") no-repeat 50% 38% / 32% auto; opacity: 0.14;
}
.album-card.is-empty::after { background: none; }
.album-soon { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ocean-light); }

/* ==========================================================================
   Round 10: balance text and photos side by side
   Photos in story sections now stretch to the full height of the text beside
   them, and the copy in those columns is a touch smaller.
   ========================================================================== */
.story-split .lede, .story-block .lede, .page-hero .split .lede { font-size: clamp(1rem, 1.25vw, 1.08rem); line-height: 1.65; }
.story-split p:not(.eyebrow):not(.name-word):not(.lede),
.story-block p:not(.eyebrow):not(.lede),
.page-hero .split p:not(.eyebrow):not(.lede):not(.meta-line) { font-size: 0.95rem; line-height: 1.7; }
.story-split h2, .story-block h2 { font-size: clamp(1.7rem, 2.6vw, 2.15rem); }

@media (min-width: 900px) {
  .story-split, .story-block.split { align-items: stretch; }
  .story-block.split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .story-split > div, .story-block > div { align-self: center; }
  .story-split > .photo, .story-block > .photo { display: flex; }
  .story-split > .photo img, .story-block > .photo img {
    width: 100%; height: 100%; min-height: 440px; max-height: none; aspect-ratio: auto; object-fit: cover;
  }
  .story-block > .photo img { object-position: 50% 40%; }

  /* Donate header: photo matches the height of the text column */
  .page-hero .split.media-first-mobile { align-items: stretch; }
  .page-hero .split.media-first-mobile > div { align-self: center; }
  .page-hero .split.media-first-mobile > .photo { display: flex; }
  .page-hero .split.media-first-mobile > .photo img { height: 100%; min-height: 460px; aspect-ratio: auto; }
}
@media (min-width: 900px) { .story-split { grid-template-columns: 1fr 1.2fr; gap: 64px; } }

/* ==========================================================================
   Round 11: CARE pillar colors (from the CARE one-pager), Thomas photos,
   board President tag, track record chips, centered ambassador photos
   ========================================================================== */
:root {
  /* One-pager palette, deepened slightly where white text sits on top (WCAG AA) */
  --c-clinical: #2e7d86;   /* teal */
  --c-access: #b0533a;     /* terracotta (one-pager #C25E43) */
  --c-research: #3d4c8a;   /* indigo */
  --c-education: #8f6b1e;  /* gold (one-pager #B3862B) */
}
.pillar-clinical, .tl-clinical { --pc: var(--c-clinical); }
.pillar-access, .tl-access { --pc: var(--c-access); }
.pillar-research, .tl-research { --pc: var(--c-research); }
.pillar-education, .tl-education { --pc: var(--c-education); }

/* Tags everywhere (Home cards, Partners, partner pages) */
.tag.tag-clinical { background: var(--c-clinical); color: #fff; }
.tag.tag-access { background: var(--c-access); color: #fff; }
.tag.tag-research { background: var(--c-research); color: #fff; }
.tag.tag-education { background: var(--c-education); color: #fff; }
a.tag.tag-clinical:hover, a.tag.tag-access:hover, a.tag.tag-research:hover, a.tag.tag-education:hover { color: #fff; filter: brightness(1.15); }
.tag.tag-clinical:hover { background: var(--c-clinical); }
.tag.tag-access:hover { background: var(--c-access); }
.tag.tag-research:hover { background: var(--c-research); }
.tag.tag-education:hover { background: var(--c-education); }

/* Home CARE tiles */
.care-tile[class*="pillar-"] { border-top: 4px solid var(--pc); }
.care-tile[class*="pillar-"] .care-letter { color: var(--pc); }
.care-tile.is-focus[class*="pillar-"] { background: var(--pc); border-color: var(--pc); }
.care-tile.is-focus[class*="pillar-"] .care-letter { color: #fff; }
.care-tile.is-focus[class*="pillar-"] .focus-tag { color: var(--pc); }
a.care-tile[class*="pillar-"]:hover { border-color: var(--pc); }
a.care-tile.is-focus[class*="pillar-"]:hover { background: var(--pc); filter: brightness(1.08); }

/* About: CARE pillars */
.pillars-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars-grid { grid-template-columns: repeat(4, 1fr); } }
.pillar {
  display: flex; flex-direction: column; overflow: hidden; scroll-margin-top: 110px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 16px 34px -28px rgba(16, 37, 66, 0.5);
}
.pillar:target { outline: 3px solid var(--pc); outline-offset: 3px; }
.pillar-head { display: flex; align-items: flex-start; gap: 14px; min-height: 136px; padding: 22px 22px 20px; background: var(--pc); color: #fff; }
.pillar-letter { font-family: var(--serif); font-size: 2.8rem; line-height: 0.9; color: rgba(255, 255, 255, 0.92); }
.pillar-head h3 { margin: 0 0 0.25rem; font-size: 1.3rem; color: #fff; }
.pillar-tagline { margin: 0; font-size: 0.875rem; font-style: italic; line-height: 1.45; color: rgba(255, 255, 255, 0.92); }
.pillar-badge {
  display: inline-block; margin-bottom: 6px; padding: 0.3em 0.6em; border-radius: 2px;
  background: #fff; color: var(--pc); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.pillar-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.pillar-body p { margin: 0 0 1rem; font-size: 0.9rem; line-height: 1.55; }
.pillar-body .pillar-label { margin: 0 0 0.35rem; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pc); }
.pillar-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.pillar-list li { position: relative; margin-bottom: 4px; padding-left: 16px; font-size: 0.9rem; }
.pillar-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--pc); }
.pillar-body .pillar-partners { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }

/* Partners: color-coded track record */
.timeline li { padding-left: 40px; }
.timeline li::before { display: none; }
.tl-chip {
  position: absolute; left: -12px; top: 0.15em; width: 22px; height: 22px;
  display: grid; place-items: center; border-radius: 3px; background: var(--pc); color: #fff;
  font-family: var(--sans); font-size: 0.7rem; font-weight: 700;
}
.timeline strong { font-weight: 600; color: var(--ink); }

/* About: President tag on the board card */
.board-tag {
  display: inline-block; margin-bottom: 4px; padding: 0.2em 0.55em; border-radius: 2px;
  background: var(--navy); color: #fff; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}

/* About: Thomas photo slideshow */
.thomas-slider { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--radius); background: var(--navy-dark); }
.ts-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 0.8s ease; }
.ts-slide.is-active { opacity: 1; }
.ts-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.ts-controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 28px 14px 14px; background: linear-gradient(0deg, rgba(16, 37, 66, 0.65), rgba(16, 37, 66, 0));
}
.ts-btn {
  width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.6); border-radius: var(--radius); background: rgba(16, 37, 66, 0.35); color: #fff;
}
.ts-btn:hover { background: #fff; color: var(--navy); }
.ts-dots { display: flex; gap: 6px; }
.ts-dot { position: relative; width: 26px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; }
.ts-dot::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.45); }
.ts-dot[aria-current="true"]::before { background: #fff; }
@media (min-width: 900px) {
  .story-block > .thomas-slider { aspect-ratio: auto; height: 100%; min-height: 440px; display: block; }
}
@media (prefers-reduced-motion: reduce) { .ts-slide { transition: none; } }

/* Ambassador photos are pre-cropped around each face */
.amb-photo img { object-position: 50% 50%; }

/* Donate */
.page-hero .split.media-first-mobile > .photo img { object-position: 42% 40%; }
.gift-intro { margin: 0 0 0.5rem; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.page-hero .split.media-first-mobile > .photo img { object-position: 36% 40%; }

/* ==========================================================================
   Round 12: Thomas first on Home, one tag color on Home partners,
   CARE pillars on About lined up row by row
   ========================================================================== */

/* Home changemakers: every CARE tag in navy (colors stay on Partners and partner pages) */
.tags-plain .tag.tag-clinical, .tags-plain .tag.tag-access,
.tags-plain .tag.tag-research, .tags-plain .tag.tag-education { background: var(--navy); color: #fff; }
.tags-plain a.tag:hover { background: var(--ocean); filter: none; }

/* About: each pillar is header / what we fund / in practice.
   With subgrid, each of those three rows is shared by the cards beside it, so headings and dividers line up. */
.pillar-head { display: block; min-height: 0; padding: 20px 22px 20px; }
.pillar-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.pillar-letter { font-size: 2.6rem; line-height: 1; }
.pillar-badge { margin: 0; }
.pillar-head h3 { margin: 0 0 0.3rem; }
.pillar-sec { padding: 18px 22px; border-top: 1px solid var(--line); }
.pillar-head + .pillar-sec { border-top: 0; padding-top: 20px; }
.pillar-sec p { margin: 0; font-size: 0.9rem; line-height: 1.55; }
.pillar-sec .pillar-label { margin: 0 0 0.5rem; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pc); }
.pillar-sec .pillar-list { margin: 0; }
.pillar-sec .pillar-list li:last-child { margin-bottom: 0; }
@supports (grid-template-rows: subgrid) {
  .pillars-grid { row-gap: 0; }
  .pillar { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; margin-bottom: 16px; }
  @media (min-width: 1100px) { .pillar { margin-bottom: 0; } }
}

/* ==========================================================================
   Round 13: Team Agape at the LA Marathon page (la-marathon.html),
   and the Races & Events dropdown that leads to it
   ========================================================================== */

/* Menu: keep "Races & Events" marked while on its sub-page */
.site-nav a.is-current-parent { color: var(--navy); font-weight: 700; }
.site-nav > ul > li:last-child .sub li:last-child > a { border-bottom: 0; }
.site-nav .sub a[aria-current="page"] { color: var(--navy); font-weight: 600; }
@media (min-width: 960px) {
  .site-nav a.is-current-parent { font-weight: 600; }
  .site-nav > ul > li > a.is-current-parent::after { transform: scaleX(1); }
  .site-nav .sub a[aria-current="page"] { font-weight: 600; color: var(--navy); }
  .site-nav .sub a { white-space: nowrap; }
}

/* Hero photo: keep the runners in view */
.hero-marathon .hero-media img { object-position: 50% 62%; }

.team-note { margin: 12px 0 0; font-size: 0.8125rem; line-height: 1.55; color: var(--muted); }
.wk-day h3, .perk h3, .tiers h3, .steps h3, .tent-note h3 { margin: 0 0 0.3rem; font-size: 1.08rem; line-height: 1.3; }

/* Race weekend: three dated cards and the tent */
.weekend { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 820px) { .weekend { grid-template-columns: repeat(3, 1fr); } }
.wk-day { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.wk-day .event-date { padding: 10px 4px 9px; }
.event-date .dow { display: block; margin-top: 3px; font-family: var(--sans); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.wk-day p { margin: 0; font-size: 0.875rem; line-height: 1.55; }
.wk-day .wk-meta { margin: 0 0 0.45rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ocean); }
.tent-note { display: flex; align-items: center; gap: 18px; margin-top: 14px; padding: 18px 22px; background: var(--mist); border-radius: var(--radius); }
.tent-note .perk-icon { flex: none; margin: 0; }
.tent-note p { margin: 0; font-size: 0.9rem; }

/* What every team member gets */
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .perks { grid-template-columns: repeat(3, 1fr); } }
.perk { padding: 22px 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.perk-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: var(--navy); color: #fff; }
.perk-icon svg { width: 22px; height: 22px; }
.perk p { margin: 0; font-size: 0.875rem; line-height: 1.55; }

/* Ways to join + training */
.team-cols { display: grid; gap: 48px; }
@media (min-width: 900px) { .team-cols { grid-template-columns: 1fr 1fr; gap: 44px; } }
.team-cols h2 { margin-bottom: 20px; }
.tiers { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.tiers li { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line); }
.tiers li:first-child { border-top: 0; }
.tiers h3 { margin-bottom: 0.15rem; }
.tiers p { margin: 0; font-size: 0.85rem; line-height: 1.5; color: var(--muted); }
.tiers .tier-goal { min-width: 96px; text-align: right; font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; color: var(--navy); }
.tiers .tier-goal.is-optional { font-size: 1.05rem; }
.tier-goal small { display: block; margin-top: 5px; font-family: var(--sans); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.event-facts.train { margin: 0; padding: 2px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.event-facts.train li { grid-template-columns: 112px 1fr; padding: 13px 0; font-size: 0.875rem; line-height: 1.55; }
.event-facts.train li:last-child { border-bottom: 0; }

/* How it works */
.team-steps { padding: 32px 32px 30px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--radius); }
.team-steps h2 { margin-bottom: 22px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.step-num { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 12px; border-radius: 50%; border: 1.5px solid var(--navy); color: var(--navy); font-size: 0.85rem; font-weight: 700; }
.steps p { margin: 0; font-size: 0.875rem; line-height: 1.55; }
.team-steps .actions { margin-top: 26px; }

@media (max-width: 559px) {
  .team-steps { padding: 24px 20px; }
  .tent-note { align-items: flex-start; padding: 16px 18px; }
  .tiers li { padding: 14px 16px; gap: 12px; }
  .tiers .tier-goal { min-width: 0; font-size: 1.15rem; }
  .event-facts.train { padding: 2px 16px; }
  .event-facts.train li { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================================
   Round 14: 2027 Summer Fundraiser page (summer-fundraiser.html)
   ========================================================================== */
.hero-summer .hero-media img { object-position: 50% 55%; }
.summer-intro { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .summer-intro { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; } }

.save-date { padding: 30px 30px 26px; background: var(--mist); border-top: 4px solid var(--navy); border-radius: var(--radius); }
.save-date .sd-when { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 1.1; color: var(--ink); }
.save-date .sd-status {
  display: inline-block; margin: 0 0 16px; padding: 0.4em 0.75em; border-radius: 2px;
  background: var(--navy); color: #fff; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.save-date p { font-size: 0.9375rem; }
.save-date .actions { margin-top: 18px; }

/* Photo mosaic: one big, one wide, two small; each opens the photo pop-up */
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
@media (min-width: 760px) { .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; } }
.mosaic-item { position: relative; display: block; padding: 0; border: 0; overflow: hidden; border-radius: var(--radius); background: var(--navy-dark); cursor: zoom-in; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.mosaic-item:hover img { transform: scale(1.04); }
.mosaic-item:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; }
.mosaic-item.is-big { grid-column: span 2; grid-row: span 2; }
.mosaic-item.is-wide { grid-column: span 2; }
.mosaic-item.is-wide img { object-position: 50% 35%; }
.mosaic-zoom {
  position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--navy); font-size: 1.15rem; line-height: 1;
  opacity: 0; transition: opacity 0.2s;
}
.mosaic-item:hover .mosaic-zoom, .mosaic-item:focus-visible .mosaic-zoom { opacity: 1; }
@media (hover: none) { .mosaic-zoom { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mosaic-item img { transition: none; } }
@media (max-width: 559px) { .save-date { padding: 24px 20px 22px; } }

/* ==========================================================================
   Round 15: LA Marathon "Choose how you join" on its own, as full-width cards
   ========================================================================== */
.tiers.tiers-grid { display: grid; gap: 16px; background: none; border: 0; border-radius: 0; }
@media (min-width: 640px) { .tiers.tiers-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tiers.tiers-grid { grid-template-columns: repeat(4, 1fr); } }
.tiers.tiers-grid li {
  display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; gap: 18px;
  padding: 22px 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.tiers.tiers-grid li:first-child { border-top: 1px solid var(--line); }
.tiers.tiers-grid .tier-goal { min-width: 0; text-align: left; padding-top: 14px; border-top: 1px solid var(--line); }

/* ==========================================================================
   Round 16: Home numbers band has three numbers (grant count removed)
   ========================================================================== */
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) { .stats-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ==========================================================================
   Round 17: About header shows Thomas's photo first on phones
   ========================================================================== */
@media (max-width: 899px) {
  .photo-first-mobile > .photo { order: -1; }
  .photo-first-mobile > .photo img { aspect-ratio: 1; object-position: 50% 25%; }
}
