/* ==========================================================================
   UniVerse Education — shared stylesheet
   Mobile-first. Edit the tokens in :root to re-theme the whole site.
   ========================================================================== */

/* Fonts (self-hosted in /fonts, SIL Open Font License): DM Serif Display for titles, DM Sans for text */
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/dm-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Brand colors */
  --navy-900: #12164a;
  --navy-800: #1b2063;   /* primary deep indigo/navy */
  --navy-700: #2a3080;
  --navy-100: #e7e8f5;
  --marigold-500: #f2a71b; /* warm saffron / marigold accent */
  --marigold-400: #f6bd4f;
  --marigold-100: #fdf0d5;
  --cream: #fbf8f3;       /* soft off-white background */
  --white: #ffffff;
  --ink: #1d1f33;         /* body text */
  --ink-soft: #4a4d66;    /* secondary text (passes AA on cream) */
  --line: #e6e1d8;

  /* Type */
  /* Titles: DM Serif Display. Subtitles, labels and text: DM Sans. */
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape & spacing */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px -12px rgba(18, 22, 74, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(18, 22, 74, 0.28);
  --container: 1180px;
  --gutter: 1.25rem;
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --header-h: 68px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.12;
  margin: 0 0 .6em;
  font-weight: 400;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.75rem); }
h3 { font-family: var(--font-body); font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.4rem); letter-spacing: 0; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--marigold-500); 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: 1000;
  background: var(--marigold-500); color: var(--navy-900); padding: .6rem 1rem;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: var(--section-y) 0; }
.section-white { background: var(--white); }
.section-navy { background: var(--navy-800); color: #e9eaf7; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-tint { background: var(--marigold-100); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--navy-700); margin-bottom: .8rem;
}
.section-navy .eyebrow, .panel-navy .eyebrow, .event-banner .eyebrow { color: var(--marigold-400); }
.eyebrow-lg { font-size: 1.05rem; letter-spacing: .16em; margin-bottom: 1rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink-soft); line-height: 1.55; }
.section-navy .lead { color: #cfd1ee; }
.section-head { max-width: 720px; margin: 0 auto 2.75rem; text-align: center; }
.grid { display: grid; gap: 1.5rem; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
.split { display: grid; gap: 2.5rem; align-items: center; }
.stack > * + * { margin-top: 1rem; }

@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  :root { --gutter: 2rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split.reverse > :first-child { order: 2; }
}

/* ---------- Placeholder markers ----------
   Anything wrapped in .tbd is unverified or missing content.
   Search the HTML for class="tbd" to find everything left to fill in. */
.tbd {
  background: #fff3c4;
  color: #6b4a00;
  border-bottom: 2px dashed #d99a00;
  padding: 0 .2em;
  border-radius: 3px;
  font-style: normal;
}
.section-navy .tbd, .hero .tbd { background: rgba(246, 189, 79, .22); color: #ffe7b0; border-bottom-color: var(--marigold-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 700 1.06rem/1 var(--font-body); letter-spacing: .005em; padding: 1rem 1.65rem; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--marigold-500); color: var(--navy-900); box-shadow: 0 6px 18px -8px rgba(242, 167, 27, .8); }
.btn-accent:hover { background: var(--marigold-400); color: var(--navy-900); }
.btn-primary { background: var(--navy-800); color: var(--white); }
.btn-primary:hover { background: var(--navy-700); color: var(--white); }
.btn-outline { border-color: currentColor; color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: var(--white); background: rgba(255,255,255,.06); }
.btn-ghost-light:hover { background: var(--white); color: var(--navy-900); }
.btn-sm { padding: .6rem 1.15rem; min-height: 40px; font-size: .97rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.center .btn-row, .btn-row.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 243, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(18,22,74,.4); }
.header-inner { display: flex; align-items: center; gap: .75rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy-900); margin-right: auto; }
.brand img { width: auto; height: 40px; }
.brand-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; line-height: 1; white-space: nowrap; }
.brand-name span { color: var(--marigold-500); }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--white); color: var(--navy-900); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-open { display: none; }
.site-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--cream); border-bottom: 1px solid var(--line);
  padding: .5rem var(--gutter) 1.5rem; box-shadow: var(--shadow);
  display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.nav-open .site-nav { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: .85rem .25rem; text-decoration: none; color: var(--navy-900);
  font-weight: 600; border-bottom: 1px solid var(--line);
}
.site-nav a[aria-current="page"] { color: var(--navy-700); }
.site-nav a[aria-current="page"]::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--marigold-500); margin-right: .5rem; vertical-align: middle; }
.header-donate { padding: .65rem 1.2rem; min-height: 44px; font-size: 1rem; }
.nav-toggle, .header-donate { flex-shrink: 0; }
.brand { min-width: 0; }
@media (max-width: 480px) {
  .header-inner { gap: .5rem; }
  .brand { gap: .45rem; }
  .brand img { height: 34px; }
  .brand-name { font-size: 1.08rem; }
  .header-donate { padding: .55rem .9rem; min-height: 40px; font-size: .92rem; }
  .nav-toggle { width: 42px; height: 42px; }
}
@media (max-width: 360px) { .brand-name { font-size: .98rem; } }

@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: block; background: none; border: 0; box-shadow: none;
    padding: 0; max-height: none; overflow: visible;
  }
  .site-nav ul { display: flex; gap: .15rem; }
  .site-nav a { border: 0; padding: .5rem .6rem; border-radius: 999px; font-size: .93rem; white-space: nowrap; }
  .site-nav a:hover { background: var(--navy-100); }
  .site-nav a[aria-current="page"] { background: var(--navy-100); }
  .site-nav a[aria-current="page"]::before { display: none; }
  .brand { margin-right: 1rem; flex-shrink: 0; }
  .site-nav { margin-left: auto; }
}

/* ---------- Photo slots ----------
   <div class="photo" data-img="images/x.jpg" role="img" aria-label="alt text">
   If images/x.jpg exists, main.js swaps it in automatically. Otherwise a
   labeled placeholder is shown. */
.photo {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 20%, rgba(242,167,27,.18), transparent 45%),
    linear-gradient(135deg, #e9e6f5, #f4ecdc);
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  color: var(--navy-700);
}
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-label {
  display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center;
  font-size: .85rem; font-weight: 600; padding: 1rem; max-width: 90%; line-height: 1.4;
}
.photo-label::before {
  content: ""; width: 42px; height: 42px; opacity: .7;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='m21 16-5-5-9 8'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='m21 16-5-5-9 8'/%3E%3C/svg%3E") center/contain no-repeat;
}
.photo-label code { font-size: .78rem; font-weight: 500; opacity: .8; word-break: break-all; }
.photo.has-img .photo-label { display: none; }
.photo.tall { aspect-ratio: 3 / 4; }
.photo.wide { aspect-ratio: 16 / 9; }
.photo.square { aspect-ratio: 1; }
.photo.round { border-radius: 50%; aspect-ratio: 1; }
.photo.round .photo-label { font-size: .7rem; }
.photo.round .photo-label::before { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  min-height: min(88vh, 760px); display: flex; align-items: flex-end;
  background: var(--navy-900);
}
.hero .photo {
  position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto;
  background:
    radial-gradient(circle at 80% 15%, rgba(242,167,27,.35), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(80,90,200,.45), transparent 50%),
    linear-gradient(160deg, #262c86, #12164a);
  color: rgba(255,255,255,.75); align-items: flex-start; justify-content: flex-end;
}
.hero .photo-label { margin: calc(var(--header-h) - 40px) 0 0; align-items: flex-end; text-align: right; font-size: .75rem; }
.hero .photo-label::before { width: 26px; height: 26px; }
/* Hero: the whole photo sits on the right, starting just past the headline, and
   blends into navy through a short eased fade over the wall at its left edge.
   Below 1280px: photo on top, easing down into navy, text below. */
.hero { background: radial-gradient(120% 90% at 0% 100%, #1d2370 0%, var(--navy-900) 60%); }
.hero .hero-photo { background: transparent; }
.hero-glow { display: none; }
.hero-photo > img { object-position: center 50%; }
.hero .hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
@media (max-width: 1279px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero .hero-photo {
    position: relative; inset: auto; height: clamp(300px, 62vw, 560px);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgba(0,0,0,.9) 60%, rgba(0,0,0,.7) 70%, rgba(0,0,0,.45) 80%, rgba(0,0,0,.2) 90%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgba(0,0,0,.9) 60%, rgba(0,0,0,.7) 70%, rgba(0,0,0,.45) 80%, rgba(0,0,0,.2) 90%, transparent 100%);
  }
  .hero::after { display: none; }
  .hero .hero-content { padding-top: .5rem; margin-top: 0; }
}
@media (min-width: 1280px) {
  .hero { min-height: min(90vh, 800px); }
  .hero > .container { max-width: none; padding-left: clamp(2rem, 4.5vw, 5rem); padding-right: 0; }
  .hero .hero-photo { z-index: 0; }
  .hero .hero-content { z-index: 2; }
  /* soft light behind the photo's edge so the transition feels natural */
  .hero::after { display: none; }
  /* blurred copy of the photo: carries its colours far into the navy for a long, soft blend */
  /* colour bridge: the photo's own left-edge colours (wall, then floor), fading in from the navy.
     Because it matches what the photo starts with, the photo's fade has no visible seam. */
  .hero-glow {
    display: block; position: absolute; top: -40px; bottom: -40px; left: 0; right: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(180deg, rgb(253,196,232) 5%, rgb(253,185,217) 15%, rgb(253,176,203) 25%, rgb(253,172,197) 35%, rgb(252,172,197) 45%, rgb(243,161,182) 55%, rgb(222,108,122) 65%, rgb(208,164,157) 75%, rgb(208,185,183) 85%, rgb(204,200,210) 95%);
    filter: blur(10px);
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.0) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0), rgba(0,0,0,0.012) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0.12), rgba(0,0,0,0.05) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0.24), rgba(0,0,0,0.117) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0.36), rgba(0,0,0,0.214) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0.48), rgba(0,0,0,0.342) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0.6), rgba(0,0,0,0.473) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0.7), rgba(0,0,0,0.626) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0.8), rgba(0,0,0,0.765) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0.88), rgba(0,0,0,0.878) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0.94), rgba(0,0,0,1.0) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 1), #000 100%);
            mask-image: linear-gradient(90deg, rgba(0,0,0,0.0) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0), rgba(0,0,0,0.012) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0.12), rgba(0,0,0,0.05) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0.24), rgba(0,0,0,0.117) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0.36), rgba(0,0,0,0.214) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0.48), rgba(0,0,0,0.342) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0.6), rgba(0,0,0,0.473) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0.7), rgba(0,0,0,0.626) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0.8), rgba(0,0,0,0.765) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0.88), rgba(0,0,0,0.878) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 0.94), rgba(0,0,0,1.0) calc((clamp(2rem, 4.5vw, 5rem) + 40rem) * 1), #000 100%);
  }
  /* keeps the text area readable on top of the warmer glow */
  .hero > .container::before {
    content: ""; position: absolute; inset: 0 auto 0 0; width: 62%; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(18,22,74,.5) 0%, rgba(18,22,74,.38) 40%, rgba(18,22,74,.18) 75%, rgba(18,22,74,0) 100%);
  }
  .hero .hero-photo {
    inset: 0 0 0 auto; left: calc(clamp(2rem, 4.5vw, 5rem) + 40rem);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.1) 1.5%, rgba(0,0,0,.3) 3%, rgba(0,0,0,.55) 4.5%, rgba(0,0,0,.78) 6%, rgba(0,0,0,.93) 7.5%, #000 9%);
            mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.1) 1.5%, rgba(0,0,0,.3) 3%, rgba(0,0,0,.55) 4.5%, rgba(0,0,0,.78) 6%, rgba(0,0,0,.93) 7.5%, #000 9%);
  }
  .hero .hero-photo::after { background: linear-gradient(180deg, rgba(18,22,74,.12) 0%, rgba(18,22,74,0) 18%, rgba(18,22,74,0) 82%, rgba(18,22,74,.25) 100%); }
}
.hero h1, .hero p { text-shadow: 0 2px 18px rgba(10,12,40,.45); }
.hero-content { position: relative; z-index: 1; padding: 8rem 0 clamp(3rem, 8vw, 5.5rem); max-width: 820px; }
.hero h1 { color: var(--white); }
.hero p { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: #e4e6fa; max-width: 620px; margin-bottom: 2rem; }
.page-hero { padding: clamp(3.5rem, 9vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem); background: linear-gradient(180deg, var(--white), var(--cream)); }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { max-width: 680px; }

/* ---------- Stats / counters ---------- */
.stats { background: var(--navy-800); color: var(--white); padding: clamp(2.75rem, 6vw, 4rem) 0; }
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 960px; margin: 0 auto; }
.stat { text-align: center; }
.stat-num {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 3.6rem); color: var(--marigold-400); line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.stat-label { display: block; font-size: .9rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #d3d5f0; margin-top: .6rem; }
@media (min-width: 700px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .stat + .stat { border-left: 1px solid rgba(255,255,255,.16); }
}
.locations { margin: clamp(2.25rem, 5vw, 3rem) auto 0; max-width: 960px; text-align: center; }
.locations-title {
  display: flex; align-items: center; gap: 1rem; margin: 0 0 1.4rem;
  font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--marigold-400); line-height: 1.3;
}
.locations-title::before, .locations-title::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.18); }
.locations-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 0; }
.locations-list li { display: flex; flex-direction: column; align-items: center; padding: 0 clamp(1rem, 3vw, 2rem); min-width: 0; }
.locations-list li + li { border-left: 1px solid rgba(255,255,255,.16); }
.locations-list strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 2.4vw, 1.55rem); color: var(--white); line-height: 1.2; }
.locations-list span { font-size: .8rem; color: #b9bce3; margin-top: .25rem; letter-spacing: .03em; }
@media (max-width: 699px) {
  .locations-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem .5rem; }
  .locations-list li + li { border-left: 0; }
  .locations-list li:last-child { grid-column: 1 / -1; }
}

/* How-it-works steps: 2 x 2 so longer descriptions stay readable */
.steps-grid { grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Photo gallery ("Our documented journey") ----------
   Wide and tall photos alternate in a checkerboard:
   desktop  [ wide | tall ] / [ tall | wide ]   tablet: wide rows full, tall photos side by side */
.journey { display: grid; gap: 2rem 1.25rem; grid-template-columns: 1fr; }
.journey-item { margin: 0; display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.journey-item .photo { box-shadow: var(--shadow); max-width: 100%; }
.journey-wide .photo { aspect-ratio: 3 / 2; }
.journey-tall .photo { aspect-ratio: 4 / 5; }
.journey figcaption { font-size: 1rem; font-weight: 500; color: var(--navy-900); line-height: 1.5; }
.photo.pos-top > img { object-position: center top; }
.photo.pos-upper > img { object-position: center 30%; }
.photo.pos-mid > img { object-position: center 55%; }
.photo.pos-lower > img { object-position: center 65%; }
@media (min-width: 600px) {
  .journey { grid-template-columns: 1fr 1fr; }
  .journey-wide { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .journey { grid-template-columns: repeat(3, 1fr); }
  .journey-wide { grid-column: span 2; }
  .journey-item .photo { aspect-ratio: auto; height: clamp(320px, 31vw, 440px); }
}

/* ---------- Partner logos ---------- */
.partners { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; }
@media (min-width: 860px) { .partners { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.partners .partner {
  position: relative; height: 140px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 6px 18px -14px rgba(18,22,74,.35);
  display: flex; align-items: center; justify-content: center; padding: 1rem 1.25rem; overflow: hidden;
  max-width: none; min-width: 0; flex: none; font-size: 1rem;
}
.partners .partner > img { position: static; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.partner.logo-slot > img { position: absolute; inset: 1rem; width: calc(100% - 2rem); height: calc(100% - 2rem); }
.partners .partner strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 2.4vw, 1.6rem); color: var(--navy-900); text-align: center; line-height: 1.15; }
.partner.logo-slot.has-img strong { visibility: hidden; }
/* ---------- Our Story ---------- */
.story-photo .photo { aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); border-radius: var(--radius-lg); max-width: 100%; }
@media (max-width: 600px) { .story-photo .photo { aspect-ratio: 4 / 3; } }
.story-text .section-title-lg { margin-bottom: 1.5rem; }
.story-text p { font-size: 1.12rem; line-height: 1.8; }
.story-kicker { font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.7rem) !important; line-height: 1.4 !important; color: var(--navy-900); border-left: 4px solid var(--marigold-500); padding-left: 1.25rem; margin-top: 2rem; }

/* Milestones: large photo + text rows on a center line, alternating sides */
.milestones { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); position: relative; }
.milestone { display: grid; gap: 1.25rem; align-items: center; position: relative; }
.milestone .photo { aspect-ratio: 4 / 3; box-shadow: var(--shadow); max-width: 100%; }
.milestone-body .when { display: inline-block; font-weight: 600; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-900); background: var(--marigold-100); border-radius: 999px; padding: .35rem .9rem; margin-bottom: .8rem; }
.milestone-body h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: .5rem; }
.milestone-body p { font-size: 1.08rem; color: var(--ink-soft); margin: 0; max-width: 34em; text-wrap: pretty; }
.milestone-body h3 { text-wrap: balance; }
@media (min-width: 860px) {
  .milestones::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); background: linear-gradient(var(--marigold-500), var(--navy-700)); border-radius: 3px; }
  .milestone { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .milestone::before { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--white); border: 5px solid var(--marigold-500); z-index: 1; }
  .milestone:nth-child(even) .photo { order: 2; }
  .milestone:nth-child(even) .milestone-body { text-align: left; }
}

/* ---------- Our Team ---------- */
.team-group { font-family: var(--font-body); font-weight: 600; font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-700); text-align: center; margin: 0 0 1.5rem; display: flex; align-items: center; gap: 1rem; }
.team-group::before, .team-group::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.team-group + .leaders, .team-group + .leader { margin-bottom: 3.5rem; }
.leaders { display: grid; gap: 1.75rem; grid-template-columns: 1fr; max-width: 1000px; margin: 0 auto; }
@media (min-width: 720px) { .leaders-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.leader { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(230,225,216,.7); display: flex; flex-direction: column; }
.leader .photo { border-radius: 0; aspect-ratio: 4 / 4.2; max-width: 100%; }
.leader-body { padding: 1.6rem 1.75rem 1.9rem; }
.leader-body h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 2.8vw, 2.05rem); margin-bottom: .15rem; }
.leader-role { font-weight: 600; color: var(--navy-700); margin: 0 0 .9rem; letter-spacing: .02em; }
.leader-body p:last-child { margin-bottom: 0; color: var(--ink-soft); line-height: 1.7; }
.leader-wide { max-width: 1000px; margin: 0 auto; }
@media (min-width: 720px) {
  .leader-wide { flex-direction: row; }
  .leader-wide .photo { flex: 0 0 38%; aspect-ratio: auto; min-height: 340px; }
  .leader-wide .leader-body { display: flex; flex-direction: column; justify-content: center; padding: 2rem 2.5rem; }
}

.join-board .section-head { margin-bottom: 3rem; }
.badge-open { display: inline-flex; align-items: center; gap: .5rem; background: var(--marigold-500); color: var(--navy-900); font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; padding: .45rem 1rem; border-radius: 999px; margin-bottom: 1.1rem; }
.badge-open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--navy-900); }
.join-board .section-title-lg { color: var(--white); margin-bottom: .75rem; }
.join-board .lead { margin-bottom: 1.75rem; }
.btn-xl { font-size: 1.2rem; padding: 1.15rem 2.6rem; min-height: 60px; }
.roles-title { color: var(--white); font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.4rem); text-align: center; margin: 0 0 1.5rem; }
.roles { display: grid; gap: 1.1rem; grid-template-columns: 1fr; max-width: 1000px; margin: 0 auto; }
@media (min-width: 720px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.role-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.6rem 1.7rem; }
.role-card h4 { color: var(--marigold-400); font-family: var(--font-body); font-weight: 600; font-size: 1.2rem; line-height: 1.3; margin: 0 0 .55rem; }
.role-card p { margin: 0; font-size: 1rem; color: #d3d5f0; line-height: 1.65; }

/* A logo shown in a photo slot (contained, not cropped) */
.photo.photo-logo { background: var(--white); border: 1px solid var(--line); }
.photo.photo-logo > img { object-fit: contain; padding: 12%; }

/* Get Involved */
.path-card h3 { margin-bottom: .55rem; }
.path-card p { flex: 1; }
.path-card .btn { margin-top: .75rem; white-space: nowrap; }
.inquiry-sub { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.45rem, 3vw, 1.9rem); color: var(--navy-700); margin: 1.6rem 0 1.4rem; }
#inquiry .section-head .lead { line-height: 1.7; }
#inquiry .section-head { margin-bottom: 3rem; }
#inquiry .section-title-lg { font-size: clamp(2.3rem, 5.5vw, 3.4rem); }

/* Footer email */
.footer-email { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: 1.02rem; word-break: break-all; }
.footer-email svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--marigold-400); }

/* Larger standalone section title */
.section-title-lg { font-size: clamp(2.6rem, 6vw, 3.75rem); margin-bottom: 0; }

/* "Impact in action" photos: one wide + two tall, equal heights on desktop */
.action-photos { display: grid; gap: 2rem 1.25rem; grid-template-columns: 1fr; }
.action-photos .photo { aspect-ratio: 4 / 5; }
.action-photos .action-wide .photo { aspect-ratio: 4 / 3; }
@media (min-width: 600px) {
  .action-photos { grid-template-columns: 1fr 1fr; }
  .action-photos .action-wide { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .action-photos { grid-template-columns: 2fr 1fr 1fr; }
  .action-photos .action-wide { grid-column: auto; }
  .action-photos .photo, .action-photos .action-wide .photo { aspect-ratio: auto; height: clamp(340px, 32vw, 460px); }
}

/* Press feature */
.press-feature {
  margin: clamp(2.5rem, 6vw, 4rem) auto 0; max-width: 1000px; display: grid; gap: 1.75rem; align-items: center;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem);
}
.press-clip { display: block; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); background: var(--white); max-width: 340px; width: 100%; margin: 0 auto; transform: rotate(-1.2deg); transition: transform .25s ease; }
a.press-clip:hover { transform: rotate(0deg) scale(1.01); }
.press-clip img { width: 100%; height: auto; }
.press-body { min-width: 0; }
.press-meta { font-weight: 600; font-size: .9rem; letter-spacing: .04em; color: var(--ink-soft); margin: 0 0 .35rem; }
.press-body h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: .6rem; }
@media (min-width: 760px) { .press-feature { grid-template-columns: minmax(220px, 340px) 1fr; gap: 2.5rem; } }
.press-feature.press-lg { max-width: 1080px; margin-top: 0; padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.press-lg .press-clip { max-width: 420px; }
.press-lg .press-meta { font-size: 1rem; }
.press-lg .press-body h3 { font-size: clamp(2rem, 4vw, 2.9rem); }
.press-lg .press-body p:last-child { font-size: 1.15rem; line-height: 1.65; }
@media (min-width: 760px) { .press-feature.press-lg { grid-template-columns: minmax(240px, 420px) 1fr; gap: 3rem; } }
@media (prefers-reduced-motion: reduce) { .press-clip, .press-clip:hover { transform: none; } }
.cta-lead { color: #cfd1ee; max-width: 560px; margin: 0 auto 1.75rem; }
/* Two calls to action side by side (home) */
.cta-pair { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cta-pair { grid-template-columns: 1fr 1fr; } }
.cta-pair .cta-band { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 4.5vw, 3.25rem); }
.cta-pair .cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.cta-pair .cta-lead { font-size: 1.08rem; }
.cta-band.cta-light { background: var(--marigold-100); color: var(--ink); border: 1px solid #f3dfb2; }
.cta-band.cta-light h2 { color: var(--navy-900); }
.cta-band.cta-light .cta-lead { color: var(--ink-soft); }
.cta-band.cta-light::after { background: radial-gradient(circle, rgba(27,32,99,.08), transparent 65%); }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow); border: 1px solid rgba(230,225,216,.7);
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .45rem; }
.card p:last-child { margin-bottom: 0; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card .card-body { display: flex; flex-direction: column; flex: 1; }
.card-media { padding: 0; overflow: hidden; }
.card-media .photo { border-radius: 0; }
.card-media .card-body { padding: 1.5rem 1.6rem 1.75rem; }
.icon-badge {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--marigold-100); color: var(--navy-800); margin-bottom: 1.1rem; flex-shrink: 0;
}
.icon-badge svg { width: 28px; height: 28px; }
.step-num {
  font-family: var(--font-body); font-weight: 600; color: var(--marigold-500);
  font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .2rem;
}
.tag {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  padding: .3rem .7rem; border-radius: 999px; background: var(--navy-100); color: var(--navy-800);
  margin-bottom: .8rem; align-self: flex-start;
}
.tag-soon { background: var(--marigold-100); color: #7a5200; }

/* Problem / solution panels */
.panel { border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); }
.panel-light { background: var(--white); box-shadow: var(--shadow); }
.panel-navy { background: var(--navy-800); color: #e5e7fb; }
.panel-navy h2, .panel-navy h3 { color: var(--white); }

/* Featured story */
.feature-story { display: grid; gap: 0; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.feature-story .photo { border-radius: 0; aspect-ratio: 16/10; }
.feature-story .story-body { padding: clamp(1.75rem, 4vw, 3rem); }
@media (min-width: 900px) {
  .feature-story { grid-template-columns: 1.05fr 1fr; }
  .feature-story .photo { aspect-ratio: auto; min-height: 100%; }
}
blockquote {
  margin: 1.25rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--marigold-500);
  background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display); font-size: 1.1rem; color: var(--navy-900);
}
blockquote cite { display: block; margin-top: .5rem; font-family: var(--font-body); font-style: normal; font-size: .88rem; color: var(--ink-soft); }

/* Event banner */
.event-banner {
  display: grid; gap: 1.5rem; align-items: center;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  color: #e9eaf7; border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem);
  position: relative; overflow: hidden;
}
.event-banner::before {
  content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -140px;
  border-radius: 50%; background: radial-gradient(circle, rgba(242,167,27,.45), transparent 65%);
}
.event-banner > * { position: relative; }
.event-banner .eyebrow { color: var(--marigold-400); }
.event-banner h2 { color: var(--white); margin-bottom: .4rem; }
.event-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-weight: 600; margin: .75rem 0 0; padding: 0; list-style: none; }
.event-meta li { display: flex; align-items: center; gap: .4rem; }
.event-meta svg { width: 18px; height: 18px; color: var(--marigold-400); }
@media (min-width: 900px) { .event-banner { grid-template-columns: 1.6fr auto; } }

/* Partners strip */
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.logo-slot {
  min-width: 170px; flex: 1 1 170px; max-width: 230px; height: 96px;
  border: 2px dashed #d5cfc2; border-radius: var(--radius); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: .75rem;
  color: var(--ink-soft); font-size: .82rem; background: var(--white); position: relative; overflow: hidden;
}
.logo-slot strong { color: var(--navy-900); font-size: .98rem; }
.logo-slot img { position: absolute; inset: .75rem; width: calc(100% - 1.5rem); height: calc(100% - 1.5rem); object-fit: contain; background: var(--white); }
.logo-slot.has-img { border-style: solid; border-color: var(--line); }

/* CTA band */
.cta-band {
  background: var(--navy-900); color: #e3e5fa; border-radius: var(--radius-lg);
  padding: clamp(2rem, 6vw, 4rem); text-align: center; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; left: 50%; bottom: -260px; transform: translateX(-50%);
  width: 620px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,167,27,.35), transparent 65%); pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .4rem; color: var(--navy-900); }
.field .hint { font-weight: 500; color: var(--ink-soft); font-size: .85rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid #d6d1c6; border-radius: 12px;
  padding: .8rem .95rem; min-height: 48px; transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(42,48,128,.15); }
fieldset { border: 0; padding: 0; margin: 0; }
.check-grid { display: grid; gap: .55rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: .6rem; align-items: center; background: var(--white); border: 1.5px solid #d6d1c6; border-radius: 12px; padding: .7rem .9rem; cursor: pointer; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--navy-800); }
.form .btn { justify-self: start; }
.hp-field { position: absolute; left: -9999px; }
.form-status { font-weight: 600; margin: 0; min-height: 1.4em; }
.form-status.ok { color: #1a6b3c; }
.form-status.warn { color: #8a5a00; }

.newsletter { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 520px; }
.newsletter input[type="email"] { flex: 1 1 220px; }
.center .newsletter { margin: 0 auto; }

/* ---------- Accordion (FAQ) ---------- */
.faq { display: grid; gap: .8rem; }
.faq-title { font-size: clamp(2.6rem, 6vw, 3.75rem); margin-bottom: 0; }
.faq details {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 4px 14px -10px rgba(18,22,74,.25);
}
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 3.25rem 1.15rem 1.35rem; position: relative;
  font-weight: 600; color: var(--navy-900); font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.3rem; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--navy-700); border-bottom: 2.5px solid var(--navy-700);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 1.35rem 1.25rem; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 3px; background: linear-gradient(var(--marigold-500), var(--navy-700)); border-radius: 3px; }
.timeline li { position: relative; padding: 0 0 2rem 3.25rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 6px; top: 4px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--marigold-500);
}
.timeline .when { font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-700); }
.timeline h3 { margin: .2rem 0 .35rem; font-size: 1.2rem; }
.timeline p { color: var(--ink-soft); margin: 0; }
@media (min-width: 900px) {
  .timeline::before { left: 50%; transform: translateX(-50%); }
  .timeline li { width: 50%; padding: 0 3rem 2.5rem 0; text-align: right; }
  .timeline li::before { left: auto; right: -10.5px; }
  .timeline li:nth-child(even) { margin-left: 50%; padding: 0 0 2.5rem 3rem; text-align: left; }
  .timeline li:nth-child(even)::before { right: auto; left: -10.5px; }
}

/* ---------- Team ---------- */
.team-card { text-align: center; align-items: center; }
.team-card .photo { width: 150px; margin: 0 auto 1.1rem; }
.team-card .role { color: var(--navy-700); font-weight: 700; font-size: .92rem; margin-bottom: .6rem; }

/* ---------- Impact page ---------- */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.map-frame { position: relative; width: 100%; aspect-ratio: 16 / 10; max-height: 560px; background: #e8eaf1; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 600px) { .map-frame { aspect-ratio: 4 / 5; } }
.map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.75rem; padding: 1rem 1.35rem; font-size: .95rem; font-weight: 500; color: var(--navy-900); border-top: 1px solid var(--line); }
.legend-item { display: inline-flex; align-items: center; gap: .55rem; }
.legend-pin { width: 16px; height: 22px; }
.legend-circle { width: 18px; height: 18px; }
.legend-link { margin-left: auto; font-weight: 600; font-size: .9rem; }
.lab-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; margin: .4rem 0 1rem; padding: 0; list-style: none; font-size: .93rem; }
.lab-facts li { display: flex; flex-direction: column; }
.lab-facts span { font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-soft); font-weight: 700; }
.lab-facts strong { color: var(--navy-900); }
.lab-card blockquote { font-size: 1rem; margin: 0 0 .5rem; }

.breakdown-bar { display: flex; height: 54px; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.breakdown-bar span { display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; color: var(--white); min-width: 0; white-space: nowrap; overflow: hidden; }
.bk-1 { background: var(--navy-800); }
.bk-2 { background: #4b54b8; }
.bk-3 { background: var(--marigold-500); color: var(--navy-900) !important; }
.bk-4 { background: #f7cd7c; color: var(--navy-900) !important; }
.breakdown-legend { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
@media (min-width: 700px) { .breakdown-legend { grid-template-columns: 1fr 1fr; } }
.breakdown-legend li { display: flex; gap: .8rem; align-items: flex-start; }
.breakdown-legend i { width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0; margin-top: .25rem; }
.breakdown-legend b { color: var(--navy-900); }

.giving-level { text-align: center; align-items: center; }
.giving-level .amount { font-family: var(--font-display); font-size: 2.4rem; font-weight: 400; color: var(--navy-800); line-height: 1.1; }

/* ---------- Process (How it works) ---------- */
.process { counter-reset: step; display: grid; gap: 1.25rem; }
.process-step { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.process-step::before {
  counter-increment: step; content: counter(step);
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-800); color: var(--marigold-400); font-family: var(--font-display); font-weight: 400; font-size: 1.45rem;
}
.process-step h3 { margin-bottom: .35rem; }
.process-step p { margin: 0; color: var(--ink-soft); }

/* ---------- Donate page ---------- */
.give-box { max-width: 820px; margin: 0 auto; background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow-lg); text-align: center; }
.give-title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 1.5rem; }
.give-buttons { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .give-buttons { grid-template-columns: 1fr 1fr; } }
.give-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  min-height: 120px; padding: 1.25rem; border-radius: var(--radius); text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.give-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.give-name { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.4rem); line-height: 1.05; }
.give-sub { font-size: .9rem; font-weight: 500; }
.give-gofundme { background: var(--marigold-500); color: var(--navy-900); }
.give-gofundme:hover { background: var(--marigold-400); color: var(--navy-900); }
.give-paypal { background: var(--navy-800); color: var(--white); }
.give-paypal:hover { background: var(--navy-700); color: var(--white); }
.give-paypal .give-sub { color: #d3d5f0; }
.give-note { margin: 1rem 0 0; }
.gifts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; margin: 0 auto; }
@media (min-width: 900px) { .gifts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gifts .giving-level p:last-child { color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .give-btn, .give-btn:hover { transform: none; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery .photo { aspect-ratio: 1; border-radius: var(--radius-sm); }
.gallery .photo-label { font-size: .72rem; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list svg { width: 24px; height: 24px; color: var(--navy-700); flex-shrink: 0; margin-top: .2rem; }

/* ---------- Social icons ---------- */
.social { display: flex; gap: .6rem; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: inherit; transition: background-color .2s ease, color .2s ease;
}
.social a:hover { background: var(--marigold-500); color: var(--navy-900); }
.social svg { width: 20px; height: 20px; }
.social.dark a { background: var(--navy-100); color: var(--navy-800); }
.social.dark a:hover { background: var(--marigold-500); color: var(--navy-900); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c9cbe8; padding: 4rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #e6e7fa; text-decoration: none; }
.site-footer a:hover { color: var(--marigold-400); text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; } }
.site-footer .brand { color: var(--white); margin-bottom: 1rem; }
.site-footer h2 { font-family: var(--font-body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--marigold-400); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .85rem; }
.site-footer .newsletter input { background: rgba(255,255,255,.95); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200; max-width: 560px;
  background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem;
}
.cookie-banner p { margin: 0; flex: 1 1 260px; font-size: .92rem; }

/* ---------- Toast notice ---------- */
.notice {
  background: var(--marigold-100); border: 1px solid #f0d49a; color: #5e4100;
  border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .9rem; margin-top: .8rem;
}

/* ---------- Scroll reveal (subtle) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .faq summary::after { transition: none; }
}

/* Utility */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 2rem; }
.small { font-size: .88rem; color: var(--ink-soft); }
.section-navy .small { color: #c4c7ea; }
