/* SDG Worldwide — homepage
   Brand: logo blue on neutral surfaces; the five logo colours appear only in the
   stripe and the hero ring. Hairlines instead of shadows, 8pt spacing rhythm. */

:root {
  --brand: #0049ad;
  --brand-strong: #003b8e;
  --brand-soft: rgb(0 73 173 / 0.08);
  --ink: #0f172a;
  --text: #1e293b;
  --muted: #64748b;
  --canvas: #ffffff;
  --surface: #f8fafc;
  --line: rgb(15 23 42 / 0.1);
  --line-strong: rgb(15 23 42 / 0.18);
  --dark: #0f172a;
  --line-dark: rgb(255 255 255 / 0.12);

  --logo-red: #f31b1b;
  --logo-yellow: #ffd60a;
  --logo-pink: #e8008a;
  --logo-green: #6ac46a;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-accent: "Instrument Serif", Georgia, serif;

  --gutter: clamp(1.25rem, 4vw, 5rem);
  --section: clamp(4rem, 9vw, 9rem);
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 4.5rem;
}

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

html {
  /* type and spacing scale with the screen, so wide monitors are filled, not letterboxed */
  font-size: clamp(16px, 11px + 0.45vw, 24px);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

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

.wrap { padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.5rem 1rem; background: var(--ink); color: #fff; border-radius: var(--radius-sm);
  transition: top 150ms ease-out;
}
.skip-link:focus { top: 1rem; }

/* ---------- shared pieces ---------- */

.brand-stripe { display: flex; height: 3px; }
.brand-stripe i { flex: 1; }
.brand-stripe i:nth-child(1) { background: var(--brand); flex: 3; }
.brand-stripe i:nth-child(2) { background: var(--logo-red); }
.brand-stripe i:nth-child(3) { background: var(--logo-yellow); }
.brand-stripe i:nth-child(4) { background: var(--logo-pink); }
.brand-stripe i:nth-child(5) { background: var(--logo-green); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.625rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--brand); }
.eyebrow--light { color: rgb(255 255 255 / 0.75); }
.eyebrow--light .eyebrow__dot { background: #fff; }

.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 1.1rem + 3.6vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
  margin-top: 1.5rem;
}
.display em, .hero__title em, .give__title em, .crowd__quote em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.lead {
  font-size: 1.125rem; line-height: 1.6; color: var(--muted);
  max-width: 34rem; margin-top: 1.5rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9375rem; line-height: 1.25; white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out, transform 150ms ease-out;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn--lg { padding: 1rem 1.5rem; font-size: 1rem; }
.btn--xl { padding: 1.25rem 2rem; font-size: 1.125rem; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-strong); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: rgb(255 255 255 / 0.9); }
.btn--light:focus-visible { outline-color: #fff; }
.btn__arrow {
  width: 1em; height: 1em; flex: none; 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='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M13 5l7 7-7 7'/%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='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 150ms ease-out;
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease-out;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  min-height: var(--header-h);
}
.site-header__logo { display: block; flex: none; }
.site-header__logo img { height: 3.25rem; width: auto; }
.site-nav { display: flex; align-items: center; gap: 2.5rem; }
.site-nav__list { display: flex; align-items: center; gap: 2rem; }
.site-nav__list a {
  position: relative; padding-block: 0.5rem;
  font-weight: 500; font-size: 0.9375rem; color: var(--ink);
  transition: color 150ms ease-out;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform 150ms ease-out;
}
.site-nav__list a:hover { color: var(--brand); }
.site-nav__list a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 3rem; height: 3rem; margin-right: -0.5rem;
  border: 0; background: none; cursor: pointer; border-radius: var(--radius-sm);
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 0.75rem; right: 0.75rem; height: 2px; background: var(--ink);
  transition: transform 150ms ease-out, top 150ms ease-out;
}
.nav-toggle span:nth-child(1) { top: 1.2rem; }
.nav-toggle span:nth-child(2) { top: 1.7rem; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 1.45rem; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 1.45rem; transform: rotate(-45deg); }

@media (max-width: 991.98px) {
  .nav-toggle { display: block; }
  .site-nav {
    /* absolute, not fixed: the header's backdrop blur makes it the containing block */
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h) - 3px); height: calc(100dvh - var(--header-h) - 3px);
    border-top: 1px solid var(--line);
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: 2rem;
    padding: 1.5rem var(--gutter) 2rem;
    background: var(--canvas);
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-0.5rem);
    transition: opacity 150ms ease-out, transform 150ms ease-out, visibility 0s linear 150ms;
  }
  .nav-open .site-nav {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity 150ms ease-out, transform 150ms ease-out;
  }
  .nav-open body { overflow: hidden; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list li { border-bottom: 1px solid var(--line); }
  .site-nav__list a {
    display: block; padding-block: 1.25rem;
    font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; letter-spacing: -0.03em; line-height: 1.1;
  }
  .site-nav__list a::after { display: none; }
  .site-nav__donate { padding: 1rem 1.5rem; font-size: 1rem; }
}

/* ---------- hero ---------- */

.hero { padding-top: clamp(2rem, 4vw, 4rem); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center; gap: clamp(2rem, 4vw, 5rem);
}
.hero__title {
  margin-top: 1.5rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.75rem, 0.5rem + 5.9vw, 8.5rem);
  line-height: 0.98; letter-spacing: -0.035em; color: var(--ink);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .line > span { display: block; }
.hero__title em { color: var(--brand); padding-right: 0.04em; }
.hero__lead { margin-top: 2rem; max-width: 33rem; font-size: 1.125rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

.hero__visual { display: flex; justify-content: flex-end; }
.orbit { position: relative; width: 100%; max-width: 46rem; aspect-ratio: 1; }
.orbit__photo {
  position: absolute; inset: 9%; border-radius: 50%; overflow: hidden; background: var(--surface);
}
.orbit__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.orbit__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__track { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.orbit__arc {
  fill: none; stroke: var(--brand); stroke-width: 12; stroke-linecap: round;
  stroke-dasharray: 78 100; transform: rotate(-150deg); transform-origin: 300px 300px;
}
.orbit__dots { transform-origin: 300px 300px; animation: orbit-spin 60s linear infinite; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

.hero-card {
  position: absolute; left: 0; bottom: 9%;
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.5rem 1rem 1rem;
  background: rgb(255 255 255 / 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.hero-card__icon {
  display: grid; place-items: center; width: 3rem; height: 3rem; flex: none;
  border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--brand); font-size: 1.125rem;
}
.hero-card strong {
  display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums;
}
.hero-card span { font-size: 0.8125rem; color: var(--muted); }

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid var(--line-strong);
}
.stat {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 2rem 1.5rem 0 0;
}
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stat dd {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.25rem, 1rem + 3.4vw, 5rem);
  line-height: 1; letter-spacing: -0.04em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat dt { font-size: 0.875rem; color: var(--muted); }

/* ---------- platforms ---------- */

.platforms { padding-block: var(--section); }
.section-head { max-width: 60rem; }
.platform-list { margin-top: clamp(2.5rem, 5vw, 5rem); border-bottom: 1px solid var(--line-strong); }
.platform {
  position: relative;
  display: grid; grid-template-columns: 1rem minmax(0, 6fr) minmax(0, 4fr) minmax(0, 3fr) 3.5rem;
  align-items: center; gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line-strong);
  transition: background-color 150ms ease-out, padding 150ms ease-out;
}
.platform__mark { width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--mark); }
.platform__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.75rem, 1rem + 1.9vw, 3.25rem);
  line-height: 1.05; letter-spacing: -0.035em; color: var(--ink);
  transition: color 150ms ease-out;
}
.platform__text { color: var(--muted); max-width: 28rem; }
.platform__host { font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.platform__go {
  justify-self: end; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  border: 1px solid var(--line-strong); position: relative;
  transition: background-color 150ms ease-out, border-color 150ms ease-out;
}
.platform__go::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 1.125rem; height: 1.125rem; background: var(--ink);
  -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='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18 18 6M8 6h10v10'/%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='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18 18 6M8 6h10v10'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: background-color 150ms ease-out, transform 150ms ease-out;
}
.platform:hover, .platform:focus-visible { background: var(--surface); padding-inline: 1.5rem; }
.platform:hover .platform__name { color: var(--brand); }
.platform:hover .platform__go { background: var(--brand); border-color: var(--brand); }
.platform:hover .platform__go::after { background: #fff; transform: rotate(45deg); }

/* ---------- impact ---------- */

.impact { padding-block: var(--section); background: var(--surface); border-block: 1px solid var(--line); }
.impact__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 7rem); align-items: start;
}
.impact-tabs { margin-top: 3rem; border-bottom: 1px solid var(--line-strong); }
.impact-tab {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: 1.25rem; align-items: start;
  width: 100%; padding: 1.5rem 0; text-align: left;
  background: none; border: 0; border-top: 1px solid var(--line-strong); cursor: pointer;
  opacity: 0.6;
  transition: opacity 150ms ease-out;
}
.impact-tab:hover { opacity: 0.85; }
.impact-tab[aria-pressed="true"] { opacity: 1; }
.impact-tab__icon {
  display: grid; place-items: center; width: 3rem; height: 3rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink);
  transition: background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out;
}
.impact-tab[aria-pressed="true"] .impact-tab__icon { background: var(--brand); border-color: var(--brand); color: #fff; }
.impact-tab__title {
  display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.375rem;
  letter-spacing: -0.025em; line-height: 1.2; color: var(--ink);
}
.impact-tab__text { display: block; margin-top: 0.5rem; font-size: 0.9375rem; color: var(--muted); max-width: 30rem; }
.impact-tab__pct {
  font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--ink);
  font-variant-numeric: tabular-nums; padding-top: 0.125rem;
}

.impact__stage { position: sticky; top: calc(var(--header-h) + 2rem); }
.fund {
  padding: clamp(1.5rem, 3vw, 3rem);
  background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius);
}
.fund[hidden] { display: none; }
.fund__head h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; letter-spacing: -0.03em; line-height: 1.15; color: var(--ink);
}
.fund__head p { margin-top: 0.75rem; color: var(--muted); max-width: 32rem; }
.fund__figure { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-top: 2.5rem; }
.fund__pct {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(5rem, 2rem + 8vw, 11rem);
  line-height: 0.8; letter-spacing: -0.06em; color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.fund__pct small { font-size: 0.4em; letter-spacing: -0.02em; margin-left: 0.05em; }
.fund__raised { text-align: right; font-size: 0.9375rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.fund__raised strong { font-size: 1.25rem; color: var(--ink); font-weight: 600; }
.fund__bar { margin-top: 1.5rem; height: 0.5rem; border-radius: 0.25rem; background: var(--brand-soft); overflow: hidden; }
.fund__bar span {
  display: block; height: 100%; width: var(--p); border-radius: inherit; background: var(--brand);
  transform-origin: left; transition: transform 900ms var(--ease);
}
.js .fund__bar span { transform: scaleX(0); }
.js .fund.is-shown .fund__bar span { transform: none; }
.fund__metrics { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2.5rem; border-top: 1px solid var(--line); }
.fund__metric { padding: 1.5rem 1.5rem 0 0; display: grid; gap: 0.25rem; }
.fund__metric + .fund__metric { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.fund__metric i { color: var(--brand); font-size: 1rem; margin-bottom: 0.5rem; }
.fund__metric strong {
  font-family: var(--font-display); font-weight: 600; font-size: 2rem; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.fund__metric span { font-size: 0.875rem; color: var(--muted); }
.fund .btn { margin-top: 2.5rem; width: 100%; }

/* ---------- crowdfunding ---------- */

.crowd { padding-top: var(--section); overflow: hidden; }
.crowd__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 7rem); align-items: center;
}
.crowd__gallery { position: relative; padding: 0 12% 12% 0; }
.crowd__photo { overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.crowd__photo img { width: 100%; height: 100%; object-fit: cover; }
.crowd__photo--main { aspect-ratio: 4 / 3.4; }
.crowd__photo--sub {
  position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 1;
  border: 0.5rem solid var(--canvas); border-radius: calc(var(--radius) + 0.5rem);
}
.crowd__ring {
  position: absolute; left: -2.5rem; bottom: 2%; width: 7rem; height: 7rem; border-radius: 50%;
  border: 0.625rem solid var(--brand); border-right-color: transparent; transform: rotate(20deg); z-index: -1;
}
.crowd__quote {
  margin-block: 2.5rem; padding-left: 1.5rem; border-left: 2px solid var(--brand);
  font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; line-height: 1.35; letter-spacing: -0.02em; color: var(--ink);
  max-width: 30rem;
}
.crowd__quote em { color: var(--brand); font-size: 1.15em; }

.ticker {
  display: flex; margin-top: var(--section);
  border-block: 1px solid var(--line-strong);
  overflow: hidden; user-select: none;
}
.ticker__track {
  display: flex; flex: none; align-items: center;
  animation: ticker 45s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track li {
  display: flex; align-items: center; gap: 2.5rem; padding: 1.5rem 0 1.5rem 2.5rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 0.8rem + 2vw, 3.25rem); letter-spacing: -0.035em; line-height: 1.1; white-space: nowrap; color: var(--ink);
}
.ticker__track li::after { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--brand); flex: none; }
.ticker__track li:nth-child(even) { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -0.02em; font-size: clamp(1.7rem, 0.9rem + 2.3vw, 3.7rem); }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ---------- volunteer management ---------- */

.vms { padding-block: var(--section); }
.vms__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 7rem); align-items: end;
}
.vms__head .lead { margin-top: 0; max-width: 38rem; }
.vms__grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5vw, 5rem);
  border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line);
}
.vms__item {
  padding: 2rem 1.5rem 2.5rem;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color 150ms ease-out;
}
.vms__item:hover { background: var(--surface); }
.vms__icon {
  display: grid; place-items: center; width: 3rem; height: 3rem;
  border-radius: var(--radius-sm); background: var(--brand-soft);
  transition: background-color 150ms ease-out;
}
.vms__icon svg { width: 1.375rem; height: 1.375rem; fill: var(--brand); transition: fill 150ms ease-out; }
.vms__item:hover .vms__icon { background: var(--brand); }
.vms__item:hover .vms__icon svg { fill: #fff; }
.vms__item h3 {
  margin-top: 2.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.02em; line-height: 1.25; color: var(--ink);
}
.vms__item p { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--muted); }
.vms__cta { margin-top: 2.5rem; }

/* ---------- donation call to action ---------- */

.give { position: relative; isolation: isolate; color: #fff; background: var(--dark); overflow: hidden; }
.give__media { position: absolute; inset: 0; z-index: -1; }
.give__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.give__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(15 23 42 / 0.92), rgb(15 23 42 / 0.35));
}
.give__inner { padding-block: clamp(5rem, 12vw, 12rem) clamp(3rem, 6vw, 6rem); }
.give__title {
  margin-top: 1.5rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3rem, 0.5rem + 8.4vw, 12rem);
  line-height: 0.92; letter-spacing: -0.05em; text-wrap: balance; max-width: 14ch;
}
.give__foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap;
  margin-top: clamp(2.5rem, 5vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--line-dark);
}
.give__foot p { max-width: 36rem; font-size: 1.125rem; color: rgb(255 255 255 / 0.8); }

/* ---------- contact ---------- */

.contact { padding-block: var(--section); }
.contact:focus { outline: none; }
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 7rem); align-items: start;
}
.contact__direct { margin-top: 3rem; }
.contact__email {
  display: inline-block;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.25rem, 0.8rem + 1.5vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.2; color: var(--ink);
  border-bottom: 2px solid var(--brand); padding-bottom: 0.25rem;
  overflow-wrap: anywhere;
  transition: color 150ms ease-out;
}
.contact__email:hover { color: var(--brand); }
.contact__where { margin-top: 1.5rem; color: var(--muted); }
.contact__where i { color: var(--brand); margin-right: 0.5rem; }
.social { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.social a {
  display: inline-flex; align-items: center; gap: 0.625rem; padding: 0.625rem 1rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500; color: var(--ink);
  transition: border-color 150ms ease-out, background-color 150ms ease-out, color 150ms ease-out;
}
.social a:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.contact__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 3rem; border-top: 1px solid var(--line-strong); }
.contact__stats > div { padding: 1.5rem 1rem 0 0; }
.contact__stats > div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.contact__stats dd {
  font-family: var(--font-display); font-weight: 600; font-size: 2.25rem; letter-spacing: -0.04em; line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.contact__stats dt { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted); }

.contact__form {
  padding: clamp(1.5rem, 3vw, 3rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.contact__form-head h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; letter-spacing: -0.03em; line-height: 1.15; color: var(--ink);
}
.contact__form-head p { margin-top: 0.5rem; color: var(--muted); }
.contact__notice {
  margin-top: 1.5rem; padding: 1rem 1.25rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--canvas); font-weight: 500; color: var(--ink);
}
.contact__notice.is-success { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-strong); }
.contact__notice.is-error { border-color: #b42318; color: #b42318; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.field label small { font-weight: 400; color: var(--muted); font-size: inherit; }
.field input, .field textarea {
  display: block; width: 100%; padding: 0.875rem 1rem;
  background: var(--canvas); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:hover, .field textarea:hover { border-color: rgb(15 23 42 / 0.35); }
.field input:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(0 73 173 / 0.2);
}
.field [aria-invalid="true"] { border-color: #b42318; }
.field__error { margin-top: 0.5rem; font-size: 0.875rem; color: #b42318; }
.contact__actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.contact__footnote { font-size: 0.8125rem; color: var(--muted); max-width: 22rem; }

/* ---------- footer ---------- */

.site-footer { background: var(--dark); color: rgb(255 255 255 / 0.7); overflow: hidden; }
.site-footer__top {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding-block: 3rem;
}
.site-footer__logo { display: block; padding: 0.5rem 1rem; background: #fff; border-radius: var(--radius-sm); }
.site-footer__logo img { height: 3rem; width: auto; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.site-footer__links a, .site-footer__top-link { font-size: 0.9375rem; font-weight: 500; transition: color 150ms ease-out; }
.site-footer__links a:hover, .site-footer__top-link:hover { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }
.site-footer__social { display: flex; gap: 0.5rem; }
.site-footer__social a {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--line-dark); border-radius: var(--radius-sm); color: #fff;
  transition: background-color 150ms ease-out, border-color 150ms ease-out;
}
.site-footer__social a:hover { background: var(--brand); border-color: var(--brand); }
.site-footer__wordmark {
  font-family: var(--font-display); font-weight: 600;
  font-size: 14.6vw; line-height: 0.8; letter-spacing: -0.06em; white-space: nowrap; text-align: center;
  color: rgb(255 255 255 / 0.06);
  padding-block: 1rem 0; margin-bottom: -0.06em;
  border-top: 1px solid var(--line-dark);
  user-select: none;
}
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.5rem; border-top: 1px solid var(--line-dark); font-size: 0.875rem;
  position: relative; background: var(--dark);
}
.site-footer__top-link i { margin-left: 0.5rem; }

/* ---------- status page (volunteer portal coming soon) ---------- */

.status-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.status { flex: 1; display: grid; align-items: center; padding-block: var(--section); }
.status .hero__title { max-width: 12ch; }
.status__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line > span { transform: translateY(105%); animation: line-up 900ms var(--ease) forwards; }
  .js .hero__title .line:nth-child(2) > span { animation-delay: 80ms; }
  .js .hero__title .line:nth-child(3) > span { animation-delay: 160ms; }
  .js .hero__title .line:nth-child(4) > span { animation-delay: 240ms; }
  .js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .hero-card {
    opacity: 0; animation: fade-up 700ms var(--ease) forwards;
  }
  .js .hero__lead { animation-delay: 380ms; }
  .js .hero__actions { animation-delay: 480ms; }
  .js .hero-card { animation-delay: 900ms; }
  .js .orbit__photo { clip-path: circle(0% at 50% 50%); animation: photo-open 1100ms var(--ease) 150ms forwards; }
  .js .orbit__arc { stroke-dashoffset: 78; animation: arc-draw 1400ms var(--ease) 400ms forwards; }

  .js .reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .stat.reveal:nth-child(2), .js .platform-list li:nth-child(2), .js .vms__item:nth-child(5n + 2) { transition-delay: 70ms; }
  .js .stat.reveal:nth-child(3), .js .platform-list li:nth-child(3), .js .vms__item:nth-child(5n + 3) { transition-delay: 140ms; }
  .js .stat.reveal:nth-child(4), .js .vms__item:nth-child(5n + 4) { transition-delay: 210ms; }
  .js .vms__item:nth-child(5n + 5) { transition-delay: 280ms; }
}
@keyframes line-up { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }
@keyframes photo-open { to { clip-path: circle(75% at 50% 50%); } }
@keyframes arc-draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit__dots, .ticker__track { animation: none; }
  .ticker { overflow-x: auto; }
  .js .fund__bar span { transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1279.98px) {
  .platform { grid-template-columns: 1rem minmax(0, 5fr) minmax(0, 5fr) 3.5rem; }
  .platform__host { display: none; }
}

@media (max-width: 1099.98px) {
  .vms__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991.98px) {
  .hero__grid, .impact__grid, .crowd__grid, .contact__grid, .vms__head { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { justify-content: center; }
  .orbit { max-width: 34rem; }
  .impact__stage { position: static; }
  .vms__head { align-items: start; gap: 1.5rem; }
  .crowd__gallery { max-width: 40rem; }
}

@media (max-width: 767.98px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.5rem 1rem 1.5rem 0; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .platform {
    grid-template-columns: 1rem minmax(0, 1fr) 3rem; gap: 0.75rem 1rem; padding: 1.75rem 0; align-items: start;
  }
  .platform__mark { margin-top: 0.75rem; }
  .platform__text { grid-column: 2 / 3; grid-row: 2; }
  .platform__go { grid-column: 3; grid-row: 1 / 3; width: 3rem; height: 3rem; }
  .platform:hover, .platform:focus-visible { padding-inline: 0; background: none; }
  .vms__grid { grid-template-columns: 1fr 1fr; }
  .vms__item { padding: 1.5rem 1rem 2rem; }
  .vms__item h3 { margin-top: 1.5rem; }
  .give__foot { align-items: flex-start; flex-direction: column; }
  .contact__actions { flex-direction: column; align-items: stretch; }
  .site-footer__top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 519.98px) {
  .hero__actions .btn, .vms__cta .btn, .give__foot .btn, .crowd__copy .btn { width: 100%; }
  .hero-card { left: -0.25rem; bottom: 4%; padding: 0.75rem 1rem 0.75rem 0.75rem; }
  .hero-card strong { font-size: 1.25rem; }
  .impact-tab { grid-template-columns: 3rem minmax(0, 1fr); }
  .impact-tab__pct { display: none; }
  .fund__figure { flex-direction: column; align-items: flex-start; }
  .fund__raised { text-align: left; }
  .field-grid { grid-template-columns: 1fr; }
  .vms__grid { grid-template-columns: 1fr; }
  .vms__item { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; padding: 1.5rem 1rem 1.5rem 1rem; }
  .vms__icon { grid-row: 1 / 3; }
  .vms__item h3 { margin-top: 0; }
  .vms__item p { grid-column: 2; margin-top: 0.5rem; }
  .crowd__ring { display: none; }
}
