/* Equal Chance Foundation — Brand styles from logo blues */
:root {
  --blue-light: #84beec;
  --blue-mid: #4a90d1;
  --blue-deep: #3c84cc;
  --blue-dark: #2a6aab;
  --blue-ink: #1a3f66;
  --sky: #e8f4fc;
  --sky-soft: #f4f9fd;
  --white: #ffffff;
  --ink: #1c2e3d;
  --ink-soft: #4a5d6e;
  --line: rgba(74, 144, 209, 0.18);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --radius: 4px;
  --header-h: 5.5rem;
  --header-h-scrolled: 3.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sky-soft);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--blue-mid);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--blue-ink);
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.35rem, 5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }

p { margin: 0 0 1rem; }

ul { margin: 0; padding-left: 1.15rem; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--blue-ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.container.narrow {
  width: min(720px, calc(100% - 2.5rem));
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 0.75rem;
}

.eyebrow.light { color: var(--blue-light); }

.section-lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.section-intro {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background: var(--blue-mid);
  color: var(--white);
  border-color: var(--blue-mid);
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue-dark);
}

.btn-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-light:hover {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--blue-dark);
  border-color: var(--blue-mid);
}

.btn-outline:hover {
  background: var(--blue-mid);
  color: var(--white);
}

.btn-lg {
  padding: 1.05rem 1.85rem;
  font-size: 1.05rem;
}

.btn-nav {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 249, 253, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(42, 106, 171, 0.08);
}

.header-inner {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: min-height 0.35s var(--ease);
}

.site-header.scrolled .header-inner {
  min-height: var(--header-h-scrolled);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  width: clamp(64px, 8.5vw, 88px);
  height: auto;
  transition: width 0.35s var(--ease);
}

.site-header.scrolled .brand-logo {
  width: clamp(44px, 6vw, 56px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-header.scrolled .site-nav a:not(.btn) {
  font-size: 0.86rem;
}

.site-header.scrolled .btn-nav {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
}

.site-nav a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding: 0.35rem 0;
  transition: font-size 0.35s var(--ease);
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--blue-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn):focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--blue-ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero — full-bleed photo, balanced copy */
.hero {
  position: relative;
  min-height: clamp(34rem, 88vh, 46rem);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out both;
}

@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1.04); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(26, 63, 102, 0.88) 0%, rgba(42, 106, 171, 0.72) 42%, rgba(26, 63, 102, 0.45) 100%),
    linear-gradient(to top, rgba(26, 63, 102, 0.55), transparent 40%);
  pointer-events: none;
}

.hero-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 7vh, 4.5rem) 0;
}

.hero-brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue-light);
  margin: 0 0 0.85rem;
  animation: riseIn 0.9s var(--ease) both;
}

.hero-copy h1 {
  max-width: 11ch;
  color: var(--white);
  font-size: clamp(2.4rem, 5.2vw, 3.85rem);
  line-height: 1.08;
  margin-bottom: 1rem;
  animation: riseIn 0.9s var(--ease) 0.1s both;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 28rem;
  line-height: 1.55;
  margin-bottom: 0;
  animation: riseIn 0.9s var(--ease) 0.18s both;
}

.hero-actions {
  animation: riseIn 0.9s var(--ease) 0.28s both;
}

.hero .btn-primary,
.rise .btn-primary {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: var(--blue-ink);
}

.hero .btn-primary:hover,
.rise .btn-primary:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue-ink);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 400px);
  display: grid;
  place-items: center;
  animation: riseIn 1s var(--ease) 0.2s both;
}

.hero-logo {
  width: min(100%, 380px);
  height: auto;
  opacity: 0.55;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.2));
  animation: floatIcon 6s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.75rem;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  z-index: 2;
  pointer-events: none;
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--blue-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(1.2); opacity: 1; }
}

/* Problem */
.problem {
  background: var(--white);
}

.problem .narrow {
  text-align: center;
  margin-bottom: 3rem;
}

.problem .narrow .section-lead {
  margin-inline: auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.problem-block {
  padding: 2rem 2rem 2rem 2.25rem;
  background: linear-gradient(160deg, var(--sky-soft), var(--sky));
  border-left: 3px solid var(--blue-mid);
}

.problem-block h3 {
  margin-bottom: 1rem;
}

.problem-block li {
  margin-bottom: 0.45rem;
  color: var(--ink-soft);
}

/* About */
.about {
  background:
    linear-gradient(180deg, var(--sky-soft), var(--white) 40%, var(--sky-soft));
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(3rem, 7vw, 5rem);
  align-items: start;
}

.about-copy blockquote {
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 1.25rem 1.25rem;
  border-left: 3px solid var(--blue-light);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--blue-ink);
  line-height: 1.35;
}

.mission-vision {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mv-item {
  padding: 1.5rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.mv-item h3 {
  color: var(--blue-mid);
  font-size: 1.35rem;
}

.values h2 {
  margin-bottom: 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.value {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.value h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.value p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Programs / Pillars */
.programs {
  background: var(--white);
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

.pillar {
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.pillar-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.pillar p {
  margin: 0;
  color: var(--ink-soft);
}

/* Rise Together */
.rise {
  color: var(--white);
  background: linear-gradient(135deg, #2a6aab 0%, #3c84cc 40%, #4a90d1 100%);
  overflow: hidden;
}

.rise-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(132, 190, 236, 0.35), transparent 45%),
    radial-gradient(ellipse at 10% 90%, rgba(26, 63, 102, 0.35), transparent 40%);
  pointer-events: none;
}

.rise h2,
.rise h3,
.rise h4 {
  color: var(--white);
}

.rise-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  z-index: 1;
}

.tagline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--blue-light);
  margin-bottom: 1rem;
}

.journey {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.journey li {
  padding-left: 1.1rem;
  border-left: 2px solid rgba(132, 190, 236, 0.55);
  color: rgba(255, 255, 255, 0.9);
}

.rise-aside {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  align-self: start;
}

.serve-group {
  margin-bottom: 1.35rem;
}

.serve-group h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--blue-light);
}

.serve-group ul {
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.serve-group li { margin-bottom: 0.3rem; }

.text-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.text-link:hover {
  color: var(--blue-light);
  border-bottom-color: var(--blue-light);
}

/* Impact */
.impact {
  background:
    radial-gradient(ellipse at top, rgba(132, 190, 236, 0.22), transparent 55%),
    linear-gradient(180deg, var(--white) 0%, var(--sky-soft) 100%);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem 1.65rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100%;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.stat:hover {
  transform: translateY(-3px);
  border-top-color: var(--blue-light);
}

.stat-prefix {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.55rem;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--blue-mid);
  line-height: 1;
  margin-bottom: 0.55rem;
}

.stat-num.accent {
  color: var(--blue-deep);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.35;
  max-width: 12rem;
}

.impact-note {
  margin: 0 0 2.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 44rem;
  padding-left: 1rem;
  border-left: 3px solid var(--blue-light);
}

.stories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.story {
  padding: 2rem;
  background: var(--white);
  border-top: 3px solid var(--blue-mid);
}

.story-quote {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--blue-ink);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.story-meta {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-mid);
}

/* Involve */
.involve {
  background: var(--white);
}

.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.involve-item {
  padding: 2rem 1.75rem;
  background: linear-gradient(180deg, var(--sky-soft), var(--white));
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
}

.involve-item p {
  flex: 1;
  color: var(--ink-soft);
}

/* Donate */
.donate {
  background:
    linear-gradient(180deg, var(--sky) 0%, var(--sky-soft) 100%);
}

.donate-layout {
  display: grid;
  gap: 2rem;
}

.donate-copy {
  max-width: 40rem;
}

.stewardship {
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--blue-light);
  padding-left: 1rem;
}

.giving-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.gift {
  text-align: left;
  font-family: var(--font-body);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
  min-height: 100%;
}

.gift:hover {
  border-color: var(--blue-light);
  transform: translateY(-2px);
}

.gift.selected {
  border-color: var(--blue-mid);
  background: linear-gradient(160deg, #eef6fc, var(--white));
  box-shadow: inset 0 0 0 1px var(--blue-mid);
}

.gift-amount {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--blue-mid);
  margin-bottom: 0.35rem;
}

.gift-desc {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.donate-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.selected-gift {
  margin: 0;
  font-size: 1.05rem;
}

.fine-print {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Sponsorship tiers */
.sponsorship {
  background: var(--white);
}

.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.tier {
  padding: 1.75rem 1.4rem;
  border-top: 3px solid var(--blue-light);
  background: var(--sky-soft);
}

.tier.featured {
  border-top-color: var(--blue-mid);
  background: linear-gradient(180deg, #dff0fb, var(--sky-soft));
}

.tier-price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0.25rem 0 0.75rem;
}

.tier p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Contact */
.contact {
  background:
    radial-gradient(ellipse at bottom right, rgba(132, 190, 236, 0.25), transparent 50%),
    var(--sky-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-paths {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.contact-paths li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form label span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-ink);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--sky-soft);
  color: var(--ink);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-mid);
  background: var(--white);
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--blue-dark);
  min-height: 1.25rem;
}

/* Footer */
.site-footer {
  background: var(--blue-ink);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand img {
  width: 110px;
  margin-bottom: 0.85rem;
  background: var(--white);
  border-radius: 8px;
  padding: 0.35rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.92rem;
  max-width: 20rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--blue-light);
}

.footer-meta p {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner,
  .about-layout,
  .rise-inner,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    justify-content: flex-start;
    padding-bottom: 0;
  }

  .hero-inner {
    padding: 2.25rem 0 1.25rem;
    flex: 1;
  }

  .hero-visual {
    order: -1;
    width: min(100%, 280px);
    justify-self: start;
  }

  .hero-logo {
    width: min(100%, 260px);
    opacity: 0.5;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }

  .hero-scroll {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    align-self: center;
    margin-top: 0.5rem;
    padding-bottom: 1.25rem;
  }

  .values-grid,
  .pillars,
  .stats,
  .stories,
  .involve-grid,
  .giving-levels,
  .tiers,
  .problem-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: block;
    z-index: 110;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    padding: calc(var(--header-h) + 1rem) 1.5rem 1.5rem;
    background: rgba(247, 251, 254, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.35s ease;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a:not(.btn) {
    padding: 0.75rem 0;
    font-size: 1.05rem;
  }

  .btn-nav {
    margin-top: 0.5rem;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .values-grid,
  .pillars,
  .stories,
  .involve-grid,
  .tiers,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .stats,
  .giving-levels {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .stat {
    padding: 1.15rem 0.7rem 1.25rem;
  }

  .stat-num {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .stat-label {
    font-size: 0.78rem;
    max-width: none;
  }

  .gift {
    padding: 0.95rem 0.85rem;
  }

  .gift-amount {
    font-size: 1.35rem;
  }

  .gift-desc {
    font-size: 0.78rem;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.1rem, 9vw, 2.75rem);
  }

  .hero-visual {
    width: min(70%, 220px);
  }

  .brand-logo {
    width: 58px;
  }

  .site-header.scrolled .brand-logo {
    width: 42px;
  }

  .donate-cta {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
