/* Charity Agricultural Foundation — US nonprofit site */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --navy: #0c2340;
  --navy-deep: #071628;
  --navy-mid: #163a5f;
  --gold: #c4a35a;
  --gold-light: #e2c98a;
  --sand: #f3ead7;
  --cream: #faf7f1;
  --ink: #1a1a1a;
  --muted: #5c6570;
  --line: rgba(12, 35, 64, 0.12);
  --white: #ffffff;
  --radius: 2px;
  --header-h: 88px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Libre Baskerville", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.05rem;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(7, 22, 40, 0.08); }

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}
.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  max-width: 11rem;
}
.brand-text span {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.15rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: absolute;
  left: 12px;
  transition: 0.25s var(--ease);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { content: ""; top: -6px; }
.nav-toggle span::after { content: ""; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.35rem 0;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 0.65rem 1.2rem; font-size: 0.82rem; }

.header-cta { margin-left: 0.5rem; }

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,22,40,0.35) 0%, rgba(7,22,40,0.55) 40%, rgba(7,22,40,0.88) 100%),
    linear-gradient(90deg, rgba(7,22,40,0.55) 0%, transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 1.5rem 4.5rem;
}
.hero-brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  animation: rise 0.9s var(--ease) both;
}
.hero-brand-lockup img {
  width: 92px;
  height: 92px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35));
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.18;
  max-width: 16ch;
  margin-bottom: 1.1rem;
  animation: rise 1s 0.1s var(--ease) both;
}
.hero p {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 38rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
  animation: rise 1s 0.2s var(--ease) both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: rise 1s 0.3s var(--ease) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}
.page-hero .hero-media { position: absolute; inset: 0; }
.page-hero .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,22,40,0.25), rgba(7,22,40,0.85));
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  width: 100%;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
}
.page-hero p {
  margin-top: 0.65rem;
  color: rgba(255,255,255,0.85);
  max-width: 36rem;
}

/* Sections */
.section {
  padding: 5rem 1.5rem;
}
.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.section-dark {
  background: var(--navy-deep);
  color: var(--white);
}
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--gold);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1rem;
  max-width: 22ch;
}
.section-lead {
  color: var(--muted);
  max-width: 42rem;
  font-size: 1.08rem;
}
.section-dark .section-lead,
.section-navy .section-lead { color: rgba(255,255,255,0.75); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-media {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.split-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.split:hover .split-media img { transform: scale(1.04); }
.split-caption {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.split-caption span {
  display: block;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  margin-top: 0.2rem;
}
.section-dark .split-caption span { color: rgba(255,255,255,0.65); }

.principle-mark {
  border-left: 4px solid var(--gold);
  padding-left: 1.15rem;
}

/* Program tiles */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.program-tile {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: flex-end;
}
.program-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.program-tile:hover img { transform: scale(1.08); }
.program-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(7,22,40,0.92) 100%);
}
.program-tile-body {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
}
.program-tile h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}
.program-tile p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
}

/* Impact strip */
.impact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.impact-item {
  border-top: 2px solid var(--gold);
  padding-top: 1.25rem;
}
.impact-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}
.impact-item span {
  color: rgba(255,255,255,0.72);
  font-size: 0.98rem;
}

/* Leadership */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.leader-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(7,22,40,0.08);
}
.leader-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.leader-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.leader-role {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.leader-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.leader-featured {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem;
  margin-top: 2rem;
}
.leader-featured-photo {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 30%, var(--gold-light), transparent 55%),
    linear-gradient(160deg, var(--navy), var(--navy-mid));
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 4rem;
}
.leader-featured h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--navy);
}
.leader-featured .leader-role { margin: 0.4rem 0 1rem; }

/* Donate */
.donate-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
.donate-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem;
}
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.amount-btn {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 0.95rem 0.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  transition: 0.2s;
}
.amount-btn:hover,
.amount-btn.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.donate-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.tax-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sand);
  color: var(--navy);
  padding: 0.55rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

/* Financials table */
.finance-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background: var(--white);
}
.finance-table th,
.finance-table td {
  text-align: left;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.finance-table th {
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.finance-table td { color: var(--muted); }
.finance-table strong { color: var(--navy); }

/* CTA band */
.cta-band {
  padding: 4.5rem 1.5rem;
  background:
    linear-gradient(120deg, rgba(7,22,40,0.88), rgba(12,35,64,0.75)),
    url("../images/donate-hero.jpg") center/cover;
  color: var(--white);
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  margin-bottom: 0.85rem;
}
.cta-band p {
  max-width: 34rem;
  margin: 0 auto 1.75rem;
  color: rgba(255,255,255,0.82);
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
}
.contact-info {
  background: var(--navy);
  color: var(--white);
  padding: 2.25rem;
}
.contact-info h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.contact-info dl { margin-top: 1.5rem; }
.contact-info dt {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.contact-info dd {
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,0.85);
}
.contact-info a:hover { color: var(--gold-light); }

/* Footer */
.site-footer {
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(196, 163, 90, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(22, 58, 95, 0.55), transparent 50%),
    var(--navy-deep);
  color: rgba(255,255,255,0.78);
  padding: 0 1.5rem 2rem;
  position: relative;
}
.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  margin: 0 -1.5rem 0;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}

.footer-cta {
  background:
    linear-gradient(120deg, rgba(7,22,40,0.92), rgba(12,35,64,0.82)),
    url("../images/donate-hero.jpg") center/cover;
  color: var(--white);
  padding: 3.5rem 1.5rem;
}
.footer-cta-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-cta-eyebrow {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.footer-cta h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  margin-bottom: 0.55rem;
  max-width: 18ch;
}
.footer-cta p {
  color: rgba(255,255,255,0.78);
  max-width: 36rem;
}
.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-trust {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.75rem 0 0.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-trust-item {
  padding: 1rem 0.25rem 1.25rem;
  border-top: 2px solid var(--gold);
}
.footer-trust-item strong {
  display: block;
  color: var(--gold-light);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.footer-trust-item span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.62);
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 2.75rem;
  display: grid;
  grid-template-columns: 1.55fr 0.9fr 0.9fr 1.25fr;
  gap: 2.5rem;
}
.footer-brand {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.footer-logo {
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}
.footer-logo:hover { transform: scale(1.05); }
.footer-brand img,
.footer-logo img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.35));
}
.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}
.footer-brand > div > p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 28ch;
}
.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  margin-bottom: 0.65rem;
}
.footer-mail {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.footer-mail:hover {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.footer-col h3 {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  padding: 0.38rem 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  transition: color 0.2s, transform 0.2s;
}
.footer-col a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.newsletter p {
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}
.newsletter-form {
  display: flex;
  gap: 0.5rem;
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-note {
  margin-top: 0.65rem !important;
  font-size: 0.78rem !important;
  color: rgba(255,255,255,0.45) !important;
}

.footer-bottom {
  max-width: 1240px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.88rem;
}
.footer-bottom a { color: var(--gold-light); }
.footer-bottom a:hover { text-decoration: underline; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Legal pages */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}
.prose p, .prose li { color: var(--muted); margin-bottom: 0.9rem; }
.prose ul { padding-left: 1.2rem; list-style: disc; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.35s var(--ease);
    gap: 0;
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .header-cta { width: 100%; margin: 0.75rem 0 0; }
  .split,
  .split.reverse,
  .donate-layout,
  .contact-grid,
  .leader-featured,
  .footer-grid,
  .footer-trust {
    grid-template-columns: 1fr 1fr;
    direction: ltr;
  }
  .footer-cta-inner { align-items: flex-start; }
  .program-grid,
  .impact-strip,
  .leader-grid { grid-template-columns: 1fr; }
  .brand-text { display: none; }
}

@media (max-width: 640px) {
  .amount-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 78vh; }
  .newsletter-form { flex-direction: column; }
  .footer-grid,
  .footer-trust { grid-template-columns: 1fr; }
  .footer-brand { flex-direction: column; }
}

/* ========== Advanced enhancements ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform-origin: left;
  pointer-events: none;
}

.page-enter {
  animation: pageIn 0.7s var(--ease) both;
}
@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.trust-rail {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 0.85rem 0;
}
.trust-rail-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 42s linear infinite;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}
.trust-rail-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.trust-rail-track span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  animation: hintPulse 2.4s ease-in-out infinite;
}
.hero-scroll-hint i {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  display: block;
}
@keyframes hintPulse {
  0%, 100% { opacity: 0.45; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.stat-card {
  padding: 1.5rem 1.25rem;
  border-top: 2px solid var(--gold);
  background: rgba(255,255,255,0.04);
}
.stat-card .stat-value {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.55rem;
}
.stat-card .stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 140px;
  gap: 0.75rem;
  margin-top: 2rem;
}
.mosaic-item {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  background: none;
  color: var(--white);
}
.mosaic-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.mosaic-item:nth-child(2) { grid-column: span 5; grid-row: span 1; }
.mosaic-item:nth-child(3) { grid-column: span 5; grid-row: span 1; }
.mosaic-item:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.mosaic-item:nth-child(5) { grid-column: span 4; grid-row: span 2; }
.mosaic-item:nth-child(6) { grid-column: span 4; grid-row: span 2; }
.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.4s;
}
.mosaic-item:hover img,
.mosaic-item:focus-visible img {
  transform: scale(1.06);
  filter: brightness(0.85);
}
.mosaic-item figcaption,
.mosaic-item .mosaic-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(transparent, rgba(7,22,40,0.9));
  font-size: 0.88rem;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.35s var(--ease);
}
.mosaic-item:hover .mosaic-cap,
.mosaic-item:focus-visible .mosaic-cap {
  opacity: 1;
  transform: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(7, 22, 40, 0.92);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-inner {
  max-width: min(960px, 100%);
  width: 100%;
  position: relative;
}
.lightbox-inner img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: var(--navy-deep);
}
.lightbox-caption {
  color: rgba(255,255,255,0.85);
  margin-top: 0.85rem;
  text-align: center;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-close { top: -52px; right: 0; }
.lightbox-prev { left: -8px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -8px; top: 50%; transform: translateY(-50%); }

.float-donate {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.25rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  box-shadow: 0 14px 40px rgba(7,22,40,0.28);
  transform: translateY(120%);
  opacity: 0;
  transition: 0.4s var(--ease);
}
.float-donate.is-visible {
  transform: none;
  opacity: 1;
}
.float-donate:hover { background: var(--gold-light); }

.freq-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  background: var(--cream);
  padding: 0.35rem;
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--line);
}
.freq-toggle button {
  border: 0;
  background: transparent;
  padding: 0.75rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
}
.freq-toggle button.is-active {
  background: var(--navy);
  color: var(--white);
}

.impact-preview {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  padding: 1.15rem 1.25rem;
  margin: 1rem 0 1.25rem;
  min-height: 4.5rem;
}
.impact-preview strong {
  display: block;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}
.impact-preview span {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}
.filter-chip {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  padding: 0.55rem 1rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: 0.2s;
}
.filter-chip:hover,
.filter-chip.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.story-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(7,22,40,0.1);
}
.story-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.story-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.story-card:hover .story-card-media img { transform: scale(1.06); }
.story-card-body { padding: 1.35rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.story-tag {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.story-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}
.story-card p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}
.story-card .story-link {
  margin-top: 1rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  background: var(--navy);
  color: var(--white);
  padding: 0.9rem 1.25rem;
  z-index: 250;
  max-width: min(420px, calc(100% - 2rem));
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  transition: transform 0.4s var(--ease);
  font-size: 0.92rem;
}
.toast.is-visible { transform: translateX(-50%) translateY(0); }

.back-top {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(12,35,64,0.2);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s var(--ease);
}
.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.is-locked { overflow: hidden; }

@media (max-width: 980px) {
  .stats-band,
  .story-grid { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-auto-rows: 120px; }
  .mosaic-item:nth-child(n) { grid-column: span 6; grid-row: span 1; }
  .lightbox-prev { left: 0; }
  .lightbox-next { right: 0; }
}
@media (max-width: 640px) {
  .stats-band,
  .story-grid { grid-template-columns: 1fr; }
  .mosaic-item:nth-child(n) { grid-column: span 12; }
  .float-donate span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .page-enter,
  .hero-media img,
  .hero-scroll-hint,
  .trust-rail-track,
  .float-donate,
  .story-card,
  .mosaic-item img {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
