/* CEBB — American nonprofit / Squarespace-inspired system */
@import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

:root {
  --ink: #1a1a1a;
  --ink-soft: #3d3d3d;
  --muted: #6b6b6b;
  --white: #ffffff;
  --off: #f7f7f5;
  --line: rgba(26, 26, 26, 0.12);
  --navy: #1b3a5a;
  --navy-deep: #10263d;
  --green: #3d7a4a;
  --gold: #c4a035;
  --overlay: rgba(16, 28, 40, 0.55);
  --overlay-strong: rgba(12, 20, 30, 0.72);
  --font: "Libre Franklin", "Helvetica Neue", Helvetica, sans-serif;
  --max: 1100px;
  --wide: 1280px;
  --nav-h: 72px;
  --topbar-h: 0px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 1.0625rem;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.55em;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p { margin: 0 0 1.05em; }

.container {
  width: min(100% - 2.75rem, var(--max));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
}

.eyebrow,
.what-kicker {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.eyebrow::before { display: none; }

.lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  z-index: 400;
  background: var(--navy);
}

body:has(.topbar) { --topbar-h: 34px; }

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  height: 34px;
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

.topbar-inner {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.topbar a:hover { color: #fff; }
.topbar strong { color: #fff; }

/* —— Header: clean US nonprofit —— */
.site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header--solo { top: 0; }

.site-header.scrolled,
.site-header.solid {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.scrolled .nav-link,
.site-header.solid .nav-link,
.site-header.scrolled .brand-text,
.site-header.solid .brand-text {
  color: var(--ink);
}

.site-header.scrolled .nav-toggle span,
.site-header.solid .nav-toggle span { background: var(--ink); }

.header-inner {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--white);
  line-height: 1.25;
  max-width: 12rem;
}

.brand-text strong {
  display: none;
}

.hero-line--link {
  display: block;
  color: var(--white);
  text-decoration: none;
  border-bottom: 3px solid rgba(255,255,255,0.45);
  transition: border-color 0.25s;
}

.hero-line--link:hover {
  border-bottom-color: #fff;
}

.hero-line--accent { color: var(--white); }

.text-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.15rem;
  margin-top: 0.35rem;
  transition: opacity 0.2s;
}

.text-link:hover { opacity: 0.65; }

.text-link--light {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.7);
}

.text-link--light:hover {
  opacity: 1;
  border-bottom-color: #fff;
}

/* Full-bleed split — classic US nonprofit */
.bleed-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(90vh, 720px);
  background: var(--white);
  align-items: stretch;
}

.bleed-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 5vw, 4.5rem);
  max-width: none;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.bleed-copy h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  max-width: 16ch;
  letter-spacing: -0.03em;
}

.bleed-copy .btn-row {
  align-items: center;
  gap: 1.25rem;
}

.bleed-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #1a1a1a;
}

.bleed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.cta-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem) !important;
  max-width: 34rem;
  margin: 0 auto 1.75rem !important;
}

.cta-ein {
  margin: 1.75rem 0 0 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7) !important;
  font-weight: 600;
}

.section-pillars {
  padding: clamp(4.5rem, 9vw, 7rem) 0 0;
  background: var(--white);
}

.pillars-intro {
  width: min(100% - 2.75rem, var(--max));
  margin: 0 auto 2.75rem;
  text-align: center;
}

.pillars-intro h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 800;
  max-width: 16ch;
  margin: 0 auto;
  letter-spacing: -0.03em;
}

.pillars {
  min-height: 620px;
}

.pillar {
  text-decoration: none;
  color: var(--white);
  min-height: 480px;
  padding: 2.5rem 1.75rem;
}

.pillar-link {
  margin-top: 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.55);
  align-self: flex-start;
  padding-bottom: 2px;
}

.pillar:hover .pillar-link {
  border-bottom-color: #fff;
}

.pillar a { display: none; }

.section--gallery {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.gallery-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.gallery-intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: 0;
}

.gallery-grid--bleed {
  width: min(100% - 1.5rem, var(--wide));
  margin-inline: auto;
  gap: 0.4rem;
}

.gallery-footer {
  text-align: center;
  margin-top: 2rem;
}

.hero--cinematic h1 {
  font-size: clamp(3rem, 10vw, 7rem);
}

.cta-banner--tall {
  padding: clamp(6.5rem, 14vw, 10rem) 0;
}

.cta-banner--tall h2 {
  font-size: clamp(3rem, 8vw, 5.75rem);
}

.cta-sub {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem) !important;
  font-weight: 700;
  margin: 0 0 1.25rem !important;
}

@media (max-width: 900px) {
  .bleed-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .bleed-copy {
    max-width: none;
    margin: 0;
    padding: 3.5rem 1.5rem;
  }

  .bleed-copy h2 {
    max-width: none;
  }

  .bleed-media {
    min-height: 320px;
    aspect-ratio: 4/3;
  }

  .bleed-media img {
    position: relative;
    height: 100%;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  color: rgba(255,255,255,0.92);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0.65rem;
  transition: opacity 0.2s;
}

.nav-link::after { display: none; }
.nav-link:hover,
.nav-link.active { opacity: 1; }
.nav-link:not(.active):hover { opacity: 0.7; }

.site-header.scrolled .nav-link:hover,
.site-header.solid .nav-link:hover { opacity: 0.65; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.btn::after { display: none; }
.btn:hover { transform: none; }

.btn-gold,
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-gold:hover,
.btn-navy:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline-dark:hover {
  background: var(--ink);
  color: var(--white);
}

.nav-cta {
  margin-left: 0.65rem;
  padding: 0.65rem 1.15rem;
  font-size: 0.72rem;
  background: var(--white) !important;
  color: var(--ink) !important;
  border-color: var(--white) !important;
}

.site-header.scrolled .nav-cta,
.site-header.solid .nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  border-color: var(--navy) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
}

/* —— Hero (reference-style) —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; }

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 22s ease forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.hero-ornament { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
}

.hero--cinematic {
  text-align: center;
}

.hero-content--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 6rem) 0 5rem;
}

.hero-brand {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.15s forwards;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.75rem, 9vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: none;
  margin: 0 0 1.5rem;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.3s forwards;
}

.hero-line { display: block; line-height: 0.98; }
.hero-line--accent {
  color: var(--white);
  opacity: 0.92;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 32rem;
  margin: 0 auto 2rem;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.45s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.55s forwards;
}

.hero-actions--center { justify-content: center; }
.hero-meta { display: none; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.scroll-cue {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bob 2.4s ease-in-out infinite;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.55);
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* Page hero */
.page-hero {
  position: relative;
  min-height: 48vh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  padding-top: var(--topbar-h);
}

.page-hero .hero-media::after {
  background: var(--overlay-strong);
}

.page-hero .hero-content {
  padding: calc(var(--nav-h) + 5rem) 0 3.25rem;
  text-align: left;
  align-items: flex-start;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  text-transform: none;
  letter-spacing: -0.025em;
  max-width: 14ch;
  color: var(--white);
  opacity: 1;
  animation: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 1rem;
}

.breadcrumb a:hover { opacity: 1; color: #fff; }

/* Sections */
.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background: var(--white);
}

.section-tight { padding: clamp(3rem, 5vw, 4rem) 0; }
.section-dark,
.section-navy {
  background: var(--navy-deep);
  color: var(--white);
}
.section-dark h2,
.section-navy h2,
.section-dark .split-copy h2,
.section-navy .split-copy h2 { color: var(--white); }
.section-dark .lead,
.section-navy .lead { color: rgba(255,255,255,0.78); }

.section-cream-alt { background: var(--off); }

.section-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.section-split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.section-split.reverse .split-copy { order: 2; }
.section-split.reverse .split-media { order: 1; }

.split-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.split-media::before { display: none; }

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.split-copy h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 700;
}

/* What is — balanced split (fills left + right) */
.what-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: min(100% - 2.75rem, var(--wide));
  margin-inline: auto;
  text-align: left;
}

.what-split .what-copy {
  max-width: 34rem;
}

.what-split .what-kicker {
  text-align: left;
}

.what-split h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 1.1rem;
  max-width: 14ch;
}

.what-split .btn-row {
  justify-content: flex-start;
}

.what-split .what-media {
  display: block;
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.what-split .what-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

/* legacy centered block (unused on home) */
.what-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.what-copy h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.35rem);
  margin-bottom: 1.25rem;
}

.what-block .btn-row { justify-content: center; }

.what-media { display: none; }

.what-split .what-media { display: block; }

.what-block .what-video {
  display: block;
  margin-top: 3rem;
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
  transform: none;
}

.what-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

/* Impact — quiet trust row */
.impact-section {
  background: var(--off);
  border-block: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: transparent;
  box-shadow: none;
  border: none;
  gap: 0;
}

.stat {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid var(--line);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}

.stat:last-child { border-right: none; }
.stat::before { display: none; }

.stat-value {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
  margin: 0;
  font-family: var(--font);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 11rem;
  line-height: 1.35;
}

.impact-footnote {
  text-align: center;
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* CTA full-bleed bands */
.cta-banner {
  position: relative;
  padding: clamp(5.5rem, 12vw, 9rem) 0;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.cta-banner .bg { position: absolute; inset: 0; z-index: 0; }
.cta-banner .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-strong);
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.cta-banner--tall h2 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
}

.cta-banner p {
  max-width: 34rem;
  margin: 0 auto 1.75rem;
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
}

.cta-stack h2 {
  margin-bottom: 0.15em;
}

.cta-stack .cta-sub {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 1rem;
}

/* Pillars — full bleed like reference */
.section-pillars {
  padding: clamp(4rem, 8vw, 6rem) 0 0;
}

.pillars-intro {
  margin-bottom: 2.5rem;
  text-align: center;
}

.pillars-intro h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  max-width: 18ch;
  margin: 0 auto;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 560px;
}

.pillar {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem 1.6rem;
  color: var(--white);
  min-height: 380px;
}

.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease);
  transform: scale(1.04);
  z-index: 0;
}

.pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(10,18,28,0.88) 100%);
  z-index: 1;
}

.pillar:hover::before { transform: scale(1); }
.pillar > * { position: relative; z-index: 2; }
.pillar-index { display: none; }

.pillar h3 {
  color: var(--white);
  font-size: 1.65rem;
  font-weight: 700;
  text-transform: none;
  font-variant: normal;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.pillars--readable .pillar p,
.pillar p {
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  max-height: none;
  opacity: 0.92;
  color: rgba(255,255,255,0.9);
}

.pillar a {
  margin-top: 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  align-self: flex-start;
  padding-bottom: 2px;
}

.pillar a:hover { border-color: #fff; }

.p-community::before { background-image: url("../images/community.jpg"); }
.p-healthcare::before { background-image: url("../images/healthcare.jpg"); }
.p-education::before { background-image: url("../images/education.jpg"); }
.p-future::before { background-image: url("../images/future.jpg"); }

/* Gallery */
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
}

.gallery-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 38, 61, 0.0);
  transition: background 0.35s;
}

.gallery-grid a:hover::after { background: rgba(16, 38, 61, 0.25); }

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-grid a:hover img { transform: scale(1.05); }
.gallery-grid a:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-grid a:nth-child(1) img { min-height: 100%; }

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-grid--home { grid-template-columns: repeat(3, 1fr); }

.news-card {
  background: var(--white);
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s;
}

.news-card:hover { transform: none; box-shadow: none; opacity: 0.92; }

.news-card-media {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.news-card:hover .news-card-media img { transform: scale(1.04); }

.news-card-body {
  padding: 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.news-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.news-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.read-more {
  margin-top: auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  align-self: flex-start;
  padding-bottom: 2px;
}

.read-more::after { content: none; }

.news-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.news-feature {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.news-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(10,18,28,0.88) 100%);
}

.news-feature > * { position: relative; z-index: 1; }
.news-feature h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.news-feature .news-tag,
.news-feature .read-more { color: var(--white); border-color: var(--white); }

.news-side { display: grid; gap: 1rem; }

.news-side-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.news-side-item:hover { transform: none; box-shadow: none; }
.news-side-item img {
  width: 100%;
  height: 100%;
  min-height: 90px;
  object-fit: cover;
}
.news-side-body { padding: 0; }

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.filter-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.55rem 1rem;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.news-card.is-hidden { display: none; }

/* Article */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 680px) 260px;
  gap: 3rem;
  justify-content: center;
  align-items: start;
}

.article-body { font-size: 1.08rem; color: var(--ink-soft); }
.article-body .drop-cap::first-letter {
  float: left;
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 0.85;
  padding: 0.1rem 0.5rem 0 0;
  color: var(--ink);
}

.article-body h2 {
  font-size: 1.55rem;
  margin-top: 2rem;
  color: var(--ink);
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 0 0 0 1.25rem;
  border-left: 2px solid var(--navy);
  background: none;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}

.article-hero-img {
  margin: 0 0 2rem;
  max-height: 400px;
  overflow: hidden;
}

.article-hero-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.article-aside {
  position: sticky;
  top: calc(var(--topbar-h) + var(--nav-h) + 1.25rem);
}

.aside-box {
  background: var(--off);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: none;
}

.aside-box h4 {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.aside-box a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.92rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.aside-box a:last-child { border-bottom: none; }

/* Leadership / forms */
.leader-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.leader-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--off);
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.role-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.role-list li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.role-list strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.donate-layout,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin: 1.5rem 0;
}

.amount-btn {
  appearance: none;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  transition: 0.2s;
}

.amount-btn:hover,
.amount-btn.selected {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.donate-panel,
.contact-form {
  background: var(--off);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: none;
  position: relative;
}

.donate-panel::before,
.contact-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--navy);
}

.donate-panel label,
.contact-form label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1rem 0 0.4rem;
}

.donate-panel input,
.donate-panel textarea,
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font);
  font-size: 1rem;
}

.donate-panel input:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}

.tax-note {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  background: rgba(61, 122, 74, 0.08);
  border-left: 2px solid var(--green);
  font-size: 0.92rem;
}

.ein-badge {
  display: inline-block;
  margin-top: 0.65rem;
  font-weight: 700;
}

.contact-details dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 1.5rem;
}

.contact-details dd { margin: 0.35rem 0 0; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-status {
  margin-top: 1rem;
  color: var(--green);
  display: none;
}
.form-status.show { display: block; }

.timeline {
  max-width: 680px;
  margin: 0 auto;
  padding-left: 1.25rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding: 0 0 1.75rem 1.35rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 0.4rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--navy);
  transform: translateX(-4px);
}

.timeline-item span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.timeline-item strong {
  display: block;
  font-size: 1.15rem;
  margin: 0.25rem 0;
}

.quote-band {
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--off);
}

.quote-band blockquote {
  margin: 0 auto;
  max-width: 36rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

.quote-band cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.newsletter { display: none; }
.marquee-wrap { display: none; }
.legal-strip { display: none; }

/* —— Footer (US nonprofit) —— */
.footer-cta {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7rem) 0;
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.footer-cta::before { display: none; }

.footer-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-cta-copy h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  max-width: 16ch;
  margin: 0 auto 0.65rem;
}

.footer-cta-copy p {
  color: rgba(255,255,255,0.8);
  margin: 0 auto;
  max-width: 32rem;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.footer-cta .btn-gold {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.footer-cta .btn-gold:hover {
  background: transparent;
  color: var(--white);
}

.site-footer {
  background: #0a121c;
  color: rgba(255,255,255,0.7);
  padding: 0 0 1.5rem;
}

.site-footer::before {
  content: "";
  display: block;
  height: 1px;
  background: rgba(255,255,255,0.12);
}

.footer-newsletter {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2.5rem;
  text-align: left;
}

.footer-newsletter h3 {
  color: var(--white);
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.footer-newsletter p { margin: 0; color: rgba(255,255,255,0.6); }

.footer-news-form { display: flex; gap: 0.5rem; }

.footer-news-form input {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: var(--font);
}

.footer-news-form input:focus {
  outline: 1px solid var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.85fr 1.15fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.footer-brand-block h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin: 1rem 0 0.5rem;
  max-width: 18ch;
}

.footer-brand-block > p {
  margin: 0 0 1rem;
  max-width: 28ch;
  font-size: 0.92rem;
}

.footer-logo-link img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-social a {
  width: auto;
  height: auto;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 0;
  display: inline-flex;
  place-items: center;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: 0.2s;
}

.footer-social a:hover {
  background: var(--white);
  color: var(--ink);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-col a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
  transform: none;
}

.footer-contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.2rem;
}

.footer-address { margin: 0 0 0.75rem; font-size: 0.92rem; line-height: 1.55; }
.footer-email {
  display: inline-block !important;
  color: var(--white) !important;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.footer-officer {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-officer strong { color: var(--white); }

.footer-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.35rem 0 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.25rem;
}

.trust-badge {
  padding: 0.9rem 1.1rem;
  background: rgba(255,255,255,0.03);
  border-left: 2px solid rgba(255,255,255,0.35);
  text-align: left;
}

.trust-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.25rem;
}

.trust-badge strong {
  color: var(--white);
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

.footer-bottom-links a:hover { color: var(--white); }

.fab-donate {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 90;
  padding: 0.9rem 1.2rem;
  border-radius: 0;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transform: translateY(120%);
  opacity: 0;
  transition: 0.4s var(--ease);
}

.fab-donate.show { transform: none; opacity: 1; }
.fab-donate:hover { background: var(--navy-deep); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8,12,18,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open { display: flex; }
.lightbox img {
  max-height: 88vh;
  max-width: 92vw;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

.page-enter { animation: pageIn 0.55s var(--ease) both; }

@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 900px) {
  .footer-cta-inner,
  .footer-newsletter,
  .footer-grid,
  .footer-trust {
    grid-template-columns: 1fr;
  }
  .footer-news-form { flex-direction: column; }
  .footer-trust { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: calc(var(--topbar-h) + var(--nav-h)) 0 auto;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.35s var(--ease);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    max-height: calc(100dvh - var(--topbar-h) - var(--nav-h));
    overflow: auto;
  }

  .nav.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    color: var(--ink) !important;
    padding: 0.85rem 0.35rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin: 0.85rem 0 0;
    text-align: center;
    background: var(--navy) !important;
    color: var(--white) !important;
    border-color: var(--navy) !important;
  }

  .brand-text { display: none; }

  .section-split,
  .section-split.reverse,
  .leader-block,
  .donate-layout,
  .contact-grid,
  .news-featured,
  .article-layout,
  .footer-grid,
  .what-split {
    grid-template-columns: 1fr;
  }

  .what-split .what-media {
    min-height: 300px;
  }

  .what-split .what-media img {
    min-height: 300px;
  }

  .what-split h2 {
    max-width: none;
  }

  .section-split.reverse .split-copy,
  .section-split.reverse .split-media { order: unset; }

  .stats-grid,
  .pillars { grid-template-columns: 1fr 1fr; }

  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1),
  .stat:nth-child(2) { border-bottom: 1px solid var(--line); }

  .gallery-grid,
  .news-grid,
  .news-grid--home { grid-template-columns: 1fr 1fr; }

  .gallery-grid a:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16/10;
  }

  .form-row { grid-template-columns: 1fr; }
  .topbar .hide-sm { display: none; }
}

@media (max-width: 600px) {
  .stats-grid,
  .pillars,
  .news-grid,
  .news-grid--home,
  .gallery-grid,
  .amount-grid,
  .footer-grid,
  .footer-trust {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: none !important;
    border-bottom: 1px solid var(--line);
  }

  .gallery-grid a:nth-child(1) { grid-column: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .stat-value { white-space: normal; font-size: 1.45rem; }
  .fab-donate { right: 0.85rem; bottom: 0.85rem; }
}
