/* Charity and Racing Society — US nonprofit static site */
:root {
  --navy: #0a1f44;
  --navy-mid: #122a52;
  --navy-deep: #061228;
  --gold: #c9a227;
  --gold-bright: #e0c35a;
  --gold-muted: #a8861f;
  --red: #c8102e;
  --red-bright: #e31b23;
  --white: #ffffff;
  --fog: #eef2f7;
  --mist: #d5dde8;
  --ink: #101828;
  --muted: #5b6b7c;
  --font-display: "Teko", "Arial Narrow", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --shadow-soft: 0 18px 50px rgba(6, 18, 40, 0.28);
  --radius: 4px;
  --max: 1120px;
  --header-h: 78px;
  --grant-h: 0px;
  --chrome-h: calc(var(--grant-h) + var(--header-h));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.has-grant {
  --grant-h: 52px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--fog);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  top: var(--grant-h);
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), top 0.2s ease;
}

.site-header.is-scrolled,
.site-header.theme-solid {
  background: rgba(6, 18, 40, 0.96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(224, 195, 90, 0.35),
    0 6px 16px rgba(0, 0, 0, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.brand-text span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-bright);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--red-bright);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: var(--gold-bright);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.nav-cta {
  min-height: 42px;
  padding-inline: 1.1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(6, 18, 40, 0.92) 18%, rgba(10, 31, 68, 0.72) 55%, rgba(200, 16, 46, 0.35) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(201, 162, 39, 0.22), transparent 50%),
    linear-gradient(180deg, #061228 0%, #0a1f44 55%, #122a52 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: kenburns 22s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(6, 18, 40, 0.88) 12%, rgba(10, 31, 68, 0.62) 48%, rgba(200, 16, 46, 0.38) 100%),
    linear-gradient(180deg, rgba(6, 18, 40, 0.35) 0%, rgba(6, 18, 40, 0.82) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent 0 38px,
      rgba(255, 255, 255, 0.015) 38px 39px
    );
  pointer-events: none;
  animation: drift 28s linear infinite;
}

.hero-glow {
  position: absolute;
  width: 50vw;
  height: 50vw;
  right: -12%;
  bottom: -20%;
  z-index: 0;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.18), transparent 65%);
  animation: pulse 7s ease-in-out infinite;
  pointer-events: none;
}

.hero-speed {
  position: absolute;
  left: -10%;
  top: 35%;
  z-index: 0;
  width: 70%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(-12deg);
  animation: streak 4.5s var(--ease) infinite;
  opacity: 0.55;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--chrome-h) + 4rem) 0 5rem;
}

.hero-logo {
  width: min(168px, 40vw);
  height: min(168px, 40vw);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 1.35rem;
  background: transparent;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55));
  animation: rise 0.9s var(--ease) both;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  animation: rise 0.9s var(--ease) 0.08s both;
}

.hero-brand em {
  font-style: normal;
  color: var(--gold-bright);
}

.hero-tag {
  margin: 0 0 1.1rem;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 600;
  animation: rise 0.9s var(--ease) 0.14s both;
}

.hero p {
  max-width: 34rem;
  margin: 0 0 1.8rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  animation: rise 0.9s var(--ease) 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: rise 0.9s var(--ease) 0.28s both;
}

.page-hero {
  position: relative;
  padding: calc(var(--chrome-h) + 4.5rem) 0 3.5rem;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(6, 18, 40, 0.95), rgba(10, 31, 68, 0.88) 55%, rgba(200, 16, 46, 0.45)),
    linear-gradient(160deg, #061228, #0a1f44);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold), transparent);
}

.page-hero-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.page-hero p {
  margin: 0;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.86);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
}

.lede {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.panel {
  background: var(--white);
  border: 1px solid rgba(16, 24, 40, 0.08);
  padding: 1.75rem;
}

.panel h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.mission-band {
  background:
    linear-gradient(135deg, var(--navy-deep), var(--navy-mid) 60%, #1a355f),
    radial-gradient(circle at 85% 20%, rgba(201, 162, 39, 0.2), transparent 40%);
  color: var(--white);
}

.mission-band h2 {
  color: var(--white);
}

.mission-band .lede {
  color: rgba(255, 255, 255, 0.82);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.stat {
  padding: 1.25rem 0 0;
  border-top: 2px solid var(--gold);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
}

.stat span {
  display: block;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

/* Impact list — WRG-inspired, not cards-as-decoration */
.impact-list {
  display: grid;
  gap: 0;
  margin-top: 2.5rem;
  border-top: 1px solid var(--mist);
}

.impact-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--mist);
  align-items: start;
}

.impact-item .label {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  line-height: 1.15;
}

.impact-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  color: var(--navy);
}

.impact-item p {
  margin: 0;
  color: var(--muted);
}

.programs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
  margin-top: 2rem;
}

.program {
  padding-top: 1rem;
  border-top: 2px solid var(--gold);
}

.program h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
}

.program p {
  margin: 0;
  color: var(--muted);
}

.cta-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem;
}

.cta-strip h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.cta-strip .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* Donate */
.donate-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.amount-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0 1.5rem;
}

.amount-btn {
  min-width: 88px;
  min-height: 48px;
  border: 1px solid var(--mist);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.amount-btn:hover,
.amount-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.policy-box {
  background: var(--fog);
  border-left: 4px solid var(--gold);
  padding: 1.35rem 1.5rem;
}

.policy-box h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
}

.policy-box p,
.policy-box li {
  color: var(--muted);
  font-size: 0.98rem;
}

.policy-box ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.ein-note {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: var(--navy);
  font-size: 0.95rem;
}

/* Leadership */
.leader-feature {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--mist);
}

.leader-mark {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, var(--navy), var(--navy-mid)),
    radial-gradient(circle at 30% 20%, rgba(201, 162, 39, 0.35), transparent 55%);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: 0.05em;
}

.leader-feature h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.role {
  margin: 0 0 1rem;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.leader-feature p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  max-width: 42rem;
}

.board-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--mist);
}

.board-note h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy);
}

.board-note p {
  margin: 0;
  color: var(--muted);
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.leader-card {
  padding: 1.35rem 1.4rem 1.5rem;
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: 0 10px 28px rgba(6, 18, 40, 0.06);
}

.leader-card .leader-mark {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  font-size: 1.45rem;
}

.leader-card h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
}

.leader-card .role {
  margin-bottom: 0.75rem;
}

.leader-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (max-width: 700px) {
  .leader-grid {
    grid-template-columns: 1fr;
  }
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--mist);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(201, 162, 39, 0.55);
  outline-offset: 1px;
  border-color: var(--gold);
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--navy);
}

.form-status.is-error {
  color: var(--red);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-meta {
  display: grid;
  gap: 1.35rem;
}

.contact-meta h2 {
  margin-bottom: 0.25rem;
}

.contact-block h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.contact-block p,
.contact-block a {
  margin: 0;
  color: var(--muted);
}

.contact-block a:hover {
  color: var(--red);
}

.request-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.request-list li {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
  box-shadow: 0 8px 22px rgba(6, 18, 40, 0.06);
}

.request-list strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.request-list span,
.request-list a {
  color: var(--muted);
  font-size: 0.95rem;
}

.request-list a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.request-list a:hover {
  color: var(--red);
}

.map-embed {
  position: relative;
  margin-top: 1.5rem;
  min-height: 220px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(10, 31, 68, 0.9), rgba(200, 16, 46, 0.55)),
    var(--navy);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
}

.map-embed.has-photo {
  place-items: end stretch;
  text-align: left;
  padding: 0;
  min-height: 260px;
}

.map-embed.has-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-embed.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 18, 40, 0.2), rgba(6, 18, 40, 0.88));
}

.map-embed-copy {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.4rem 1.5rem;
}

.map-kicker {
  margin: 0 0 0.35rem !important;
  color: var(--gold-bright) !important;
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.map-embed p {
  margin: 0;
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.45;
}

/* Transparency strip */
.legal-bar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 1.25rem 0;
  font-size: 0.92rem;
}

.legal-bar strong {
  color: var(--gold-bright);
}

/* Footer — advanced */
.site-footer {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(201, 162, 39, 0.16), transparent 42%),
    radial-gradient(ellipse at 88% 20%, rgba(200, 16, 46, 0.18), transparent 40%),
    linear-gradient(180deg, #071326 0%, #040b18 45%, #02060f 100%);
  overflow: hidden;
  padding: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold), transparent 70%);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent 0 46px,
      rgba(255, 255, 255, 0.012) 46px 47px
    );
  pointer-events: none;
}

.footer-cta {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(105deg, rgba(200, 16, 46, 0.22), rgba(10, 31, 68, 0.35) 45%, rgba(201, 162, 39, 0.12));
}

.footer-cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 2.25rem 0;
}

.footer-cta-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-main {
  position: relative;
  z-index: 1;
  padding: 3.25rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr 0.85fr 1.1fr;
  gap: 2rem 1.75rem;
  margin-bottom: 2.25rem;
}

.footer-brand-block {
  max-width: 28rem;
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(224, 195, 90, 0.35),
    0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease);
}

.footer-brand:hover img {
  transform: scale(1.04) rotate(-3deg);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.footer-brand span {
  display: block;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-brand-block > p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-col h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  padding-bottom: 0.55rem;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--red);
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
  color: var(--gold-bright);
  transform: translateX(3px);
}

.footer-links {
  display: grid;
  gap: 0.15rem;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.55rem;
  align-items: start;
  margin-bottom: 0.95rem;
}

.footer-contact-item .ico {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-contact-item a,
.footer-contact-item p {
  margin: 0;
}

.footer-contact-item .label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.15rem;
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(201, 162, 39, 0.08);
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-badge strong {
  color: var(--white);
  font-weight: 700;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 1.15rem 0 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
}

.footer-bottom .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom a:hover {
  color: var(--gold-bright);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes streak {
  0% {
    transform: translateX(-20%) rotate(-12deg);
    opacity: 0;
  }
  35% {
    opacity: 0.6;
  }
  100% {
    transform: translateX(80%) rotate(-12deg);
    opacity: 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 120px 60px;
  }
}

@keyframes kenburns {
  from {
    transform: scale(1.05) translate(0, 0);
  }
  to {
    transform: scale(1.14) translate(-1.5%, -1%);
  }
}

@media (max-width: 900px) {
  .split,
  .donate-grid,
  .contact-grid,
  .cta-strip,
  .leader-feature,
  .impact-item,
  .programs,
  .stats {
    grid-template-columns: 1fr;
  }

  .cta-strip .actions {
    justify-content: flex-start;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: var(--chrome-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(6, 18, 40, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.has-grant {
    --grant-h: 64px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-cta {
    margin-top: 0.75rem;
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .brand-text span {
    display: none;
  }
}

/* —— Advanced editorial / story layers —— */
.grant-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: var(--grant-h);
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, var(--red), #8f0f22 40%, var(--navy-mid));
  color: var(--white);
  font-size: 0.9rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.grant-banner .wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.grant-banner .wrap span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grant-banner a {
  flex-shrink: 0;
  color: var(--gold-bright);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.quote-band {
  position: relative;
  padding: 4.5rem 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201, 162, 39, 0.18), transparent 45%),
    linear-gradient(160deg, #071326, #0f274c);
  color: var(--white);
  overflow: hidden;
}

.quote-band::before {
  content: "“";
  position: absolute;
  left: 4%;
  top: -0.2rem;
  font-family: var(--font-display);
  font-size: 12rem;
  line-height: 1;
  color: rgba(201, 162, 39, 0.18);
  pointer-events: none;
}

.quote-band blockquote {
  margin: 0;
  max-width: 46rem;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.45;
  font-weight: 500;
}

.quote-band cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  color: var(--gold-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.story-tile {
  position: relative;
  min-height: 280px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.story-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 10%, rgba(6, 18, 40, 0.92) 78%),
    linear-gradient(135deg, var(--navy-mid), var(--red));
  transition: transform 0.5s var(--ease);
}

.story-tile:nth-child(2)::before {
  background:
    linear-gradient(180deg, transparent 10%, rgba(6, 18, 40, 0.92) 78%),
    linear-gradient(145deg, #122a52, #c9a227 120%);
}

.story-tile:nth-child(3)::before {
  background:
    linear-gradient(180deg, transparent 10%, rgba(6, 18, 40, 0.92) 78%),
    linear-gradient(145deg, #061228, #c8102e 90%);
}

.story-tile:hover::before {
  transform: scale(1.04);
}

.story-tile .meta {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.45rem;
}

.story-tile h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.story-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.story-tile a {
  margin-top: 1rem;
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.timeline {
  margin-top: 2.5rem;
  border-left: 2px solid var(--mist);
  padding-left: 1.5rem;
  display: grid;
  gap: 1.75rem;
}

.timeline-item {
  position: relative;
  padding-left: 0.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.95rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.2);
}

.timeline-item .when {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.timeline-item h3 {
  margin: 0.2rem 0 0.4rem;
  font-size: 1.25rem;
  color: var(--navy);
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

.editorial {
  max-width: 46rem;
}

.editorial h2 {
  margin-top: 2.5rem;
}

.editorial p + p {
  margin-top: 1rem;
}

.editorial .byline {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.press-list {
  display: grid;
  gap: 0;
  margin-top: 2rem;
}

.press-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--mist);
}

.press-item .source {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.press-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.press-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.press-item .ext {
  color: var(--gold-muted);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.involve-card {
  padding: 1.5rem 1.5rem 1.65rem;
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: 0 10px 30px rgba(6, 18, 40, 0.06);
}

.involve-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
}

.involve-card p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.45rem 1rem;
  border: 1px solid var(--mist);
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.pill-link:hover {
  border-color: var(--gold);
  color: var(--red);
}

.feature-wide {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  margin-top: 2rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(16, 24, 40, 0.08);
}

.feature-wide-copy {
  padding: 2rem 2rem 2.25rem;
}

.feature-wide-visual {
  min-height: 280px;
  background:
    linear-gradient(160deg, rgba(6, 18, 40, 0.55), rgba(200, 16, 46, 0.55)),
    radial-gradient(circle at 70% 30%, rgba(201, 162, 39, 0.45), transparent 50%),
    linear-gradient(135deg, #0a1f44, #122a52);
  display: grid;
  place-items: center;
  color: var(--white);
  text-align: center;
  padding: 2rem;
}

.feature-wide-visual strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.feature-wide-visual span {
  display: block;
  margin-top: 0.65rem;
  color: var(--gold-bright);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
}

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.partner-strip strong {
  color: var(--gold-bright);
  font-weight: 600;
}

/* Photo system */
.photo-frame {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}

.photo-frame:hover img {
  transform: scale(1.05);
}

.photo-frame.ratio-4x5 {
  aspect-ratio: 4 / 5;
}

.photo-frame.ratio-16x10 {
  aspect-ratio: 16 / 10;
}

.photo-frame.ratio-1x1 {
  aspect-ratio: 1;
}

.photo-caption {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.split-photo {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 0.85rem;
  margin-top: 2rem;
}

.mosaic .photo-frame:first-child {
  grid-row: 1 / span 2;
}

.mosaic .photo-frame {
  min-height: 0;
  height: 100%;
}

.photo-band {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.photo-band-media {
  position: absolute;
  inset: 0;
}

.photo-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 18, 40, 0.15), rgba(6, 18, 40, 0.88));
}

.photo-band-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 3.5rem 0;
}

.photo-band h2 {
  color: var(--white);
  margin-bottom: 0.6rem;
}

.photo-band p {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
}

.story-tile {
  padding: 0;
  min-height: 320px;
}

.story-tile-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.story-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.story-tile:hover .story-tile-media img {
  transform: scale(1.06);
}

.story-tile::before {
  background: linear-gradient(180deg, transparent 8%, rgba(6, 18, 40, 0.92) 72%) !important;
  z-index: -1;
}

.story-tile-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
}

.feature-wide-visual.has-photo {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 320px;
}

.feature-wide-visual.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-wide-visual.has-photo .feature-overlay {
  position: relative;
  z-index: 1;
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(160deg, rgba(6, 18, 40, 0.55), rgba(200, 16, 46, 0.45));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  background: var(--navy-deep);
  color: inherit;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption,
.gallery-item .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(transparent, rgba(6, 18, 40, 0.9));
  color: var(--white);
  font-size: 0.88rem;
  text-align: left;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  background: rgba(4, 10, 22, 0.92);
  padding: 1.5rem;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: min(82vh, 100%);
  object-fit: contain;
  box-shadow: var(--shadow-soft);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}

.lightbox-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  text-align: center;
  max-width: 40rem;
}

.page-hero.has-photo {
  min-height: 380px;
  display: grid;
  align-items: end;
  background-color: #061228;
  background-image:
    linear-gradient(120deg, rgba(6, 18, 40, 0.92), rgba(10, 31, 68, 0.78) 55%, rgba(200, 16, 46, 0.5)),
    linear-gradient(160deg, #061228, #0a1f44);
}

.page-hero-donate.has-photo {
  min-height: 460px;
}

.page-hero-donate .page-hero-media::after {
  background:
    linear-gradient(115deg, rgba(6, 18, 40, 0.9) 8%, rgba(10, 31, 68, 0.72) 48%, rgba(200, 16, 46, 0.55)),
    linear-gradient(180deg, rgba(6, 18, 40, 0.25), rgba(6, 18, 40, 0.78));
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #061228;
  pointer-events: none;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 18, 40, 0.88), rgba(10, 31, 68, 0.72) 55%, rgba(200, 16, 46, 0.45));
}

.page-hero.has-photo .page-hero-inner {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .story-grid,
  .involve-grid,
  .feature-wide,
  .press-item,
  .split-photo,
  .gallery-grid,
  .mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic {
    grid-template-rows: none;
  }

  .mosaic .photo-frame:first-child {
    grid-row: auto;
    min-height: 280px;
  }

  .mosaic .photo-frame {
    min-height: 200px;
  }

  .press-item .ext {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-media img {
    transform: none;
  }
}
