/* ==========================================================================
   The Noble Mission — shared stylesheet
   Palette: Navy + Warm Gold (see :root below)
   Used by index.html and every subpage. Edit colours here only.
   ========================================================================== */

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

:root {
  /* Primary — deep navy: headers, nav, footer */
  --navy: #1B2A4A;
  --navy-deep: #131F36;
  --navy-deepest: #0E1727;
  --navy-hover: #24365C;

  /* Accent — muted gold: buttons, links, Donate Now CTA */
  --gold: #C9A24B;
  --gold-hover: #D8B662;
  /* Darker gold for small text/icons on light backgrounds (WCAG AA: 5:1 on --bg) */
  --gold-ink: #8A6A28;

  /* Background — off-white, not stark white */
  --bg: #FAFAF8;
  --bg-alt: #F2F1EC;
  --white: #FFFFFF;
  --border: #E3E1D9;

  /* Text */
  --text: #2D2D2D;
  --text-muted: #5E5E5E;
  --text-on-navy: rgba(255,255,255,0.82);
  --text-on-navy-dim: rgba(255,255,255,0.58);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

a { text-decoration: none; color: inherit; transition: color 0.3s; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Accessibility: visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(19,31,54,0.18);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 14px 22px 28px 22px;
  border-radius: 0 0 14px 14px;
  margin-left: 24px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), 50% 100%, 0 calc(100% - 16px));
  box-shadow: 0 6px 20px rgba(14,23,39,0.22);
  transition: transform 0.3s ease;
}

.nav-logo:hover { transform: translateY(2px); }

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--gold); }

.nav-links a.current { color: var(--gold); }

.nav-donate-btn {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: background 0.3s, transform 0.2s;
}

.nav-donate-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

/* Dropdown navigation */
.has-dropdown { position: relative; }

.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-arrow {
  transition: transform 0.25s ease;
  opacity: 0.7;
}

.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(19,31,54,0.18), 0 2px 8px rgba(19,31,54,0.08);
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 100;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--white);
  border-radius: 2px;
}

/* Invisible hover bridge so the dropdown doesn't close in the gap */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 20px;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 20px;
  color: var(--text) !important;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
  white-space: nowrap;
}

.dropdown li a:hover {
  background: var(--bg-alt);
  color: var(--navy) !important;
  padding-left: 24px;
}

.dropdown li:first-child a { border-radius: 12px 12px 0 0; }
.dropdown li:last-child a { border-radius: 0 0 12px 12px; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ========== HOMEPAGE HERO (plain background — no photo) ========== */
.hero {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 160px 24px 96px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,75,0.14);
  border: 1px solid rgba(201,162,75,0.45);
  color: var(--gold-ink);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  color: var(--navy);
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.hero-subtitle {
  color: var(--text);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 66ch;
}

/* 501(c)(3) status banner — must stay high on the page, never in the footer only */
.status-banner {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  padding: 20px 26px;
  margin-bottom: 36px;
  max-width: 74ch;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(19,31,54,0.05);
}

.status-banner .status-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(201,162,75,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.status-banner p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

.status-banner strong { color: var(--navy); }

/* "What We Do" quick list under the hero subcopy */
.hero-do-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px 28px;
  margin-bottom: 40px;
  max-width: 780px;
}

.hero-do-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
}

.hero-do-list .tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 3px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', -apple-system, sans-serif;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 18px rgba(201,162,75,0.32);
}

.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(201,162,75,0.42);
}

/* Outline button on a light background */
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* Outline button on a navy background */
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.45);
}

.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ========== VALUES STRIP ========== */
.impact-stats {
  background: var(--navy);
  padding: 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  padding: 52px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s;
}

.stat-card:last-child { border-right: none; }
.stat-card:hover { background: rgba(255,255,255,0.04); }

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-on-navy);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ========== SECTION SHARED ========== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-ink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.section-title { margin-bottom: 20px; }

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  line-height: 1.8;
}

/* ========== OUR IMPACT ========== */
.impact {
  padding: 110px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.impact-header {
  text-align: center;
  margin-bottom: 56px;
}

.impact-header .section-label { justify-content: center; }

.impact-subhead {
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: var(--navy);
  font-weight: 500;
  max-width: 24ch;
  margin: 0 auto;
  line-height: 1.4;
}

.impact-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.impact-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
}

.impact-panel h3 {
  font-size: 1.15rem;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.impact-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.impact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.02rem;
  color: var(--text);
  font-weight: 500;
}

.impact-list .bullet {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 10px;
}

/* ========== ABOUT ========== */
.about {
  padding: 120px 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(27,42,74,0.16);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.mission-statement {
  font-size: clamp(1.1rem, 1.9vw, 1.3rem);
  line-height: 1.65;
  color: var(--navy);
  font-weight: 600;
  border-left: 4px solid var(--gold);
  padding-left: 22px;
  margin-bottom: 28px;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.value-item .check {
  width: 28px;
  height: 28px;
  background: rgba(201,162,75,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-ink);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ========== PROGRAMS ========== */
.programs {
  padding: 120px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.programs-header {
  text-align: center;
  margin-bottom: 64px;
}

.programs-header .section-label { justify-content: center; }
.programs-header .section-desc { margin: 0 auto; }

/* auto-fit so the four programme cards sit on one row instead of 3 + 1 orphan */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 28px;
}

.program-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(27,42,74,0.12);
}

.program-card:hover::before { transform: scaleX(1); }

.program-icon {
  width: 56px;
  height: 56px;
  background: rgba(201,162,75,0.16);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.program-card h3 { margin-bottom: 14px; }

.program-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== CAUSES ========== */
.causes {
  padding: 120px 0;
  background: var(--bg);
}

.causes-header {
  text-align: center;
  margin-bottom: 64px;
}

.causes-header .section-label { justify-content: center; }
.causes-header .section-desc { margin: 0 auto; }

.causes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cause-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 380px;
}

.cause-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.cause-card:hover img { transform: scale(1.05); }

.cause-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,23,39,0.94) 0%, rgba(14,23,39,0.35) 55%, rgba(14,23,39,0.05) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.cause-overlay .cause-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  width: fit-content;
}

.cause-overlay h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.cause-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========== HOW TO HELP ========== */
.how-to-help {
  padding: 120px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.how-to-help-header {
  text-align: center;
  margin-bottom: 64px;
}

.how-to-help-header .section-label { justify-content: center; }
.how-to-help-header .section-desc { margin: 0 auto; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step-card {
  text-align: center;
  padding: 20px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 24px;
}

.step-card h3 { margin-bottom: 14px; }

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== TEAM ========== */
.team {
  padding: 120px 0;
  background: var(--bg);
}

.team-header {
  text-align: center;
  margin-bottom: 64px;
}

.team-header .section-label { justify-content: center; }
.team-header .section-desc { margin: 0 auto; }

.team-featured {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
}

.team-photo {
  width: 280px;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info h3 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.team-info .role {
  color: var(--gold-ink);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 20px;
  display: block;
}

.team-info p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.team-info .team-quote {
  font-style: italic;
  color: var(--navy);
  font-size: 1.1rem;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin-top: 20px;
}

/* ========== DONATE CTA ========== */
.donate-cta {
  position: relative;
  padding: 110px 0;
  background: var(--navy);
  overflow: hidden;
}

.donate-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.donate-content .section-label {
  justify-content: center;
  color: var(--gold);
}

.donate-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.donate-content > p {
  color: var(--text-on-navy);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.custom-amount-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.custom-amount-row label {
  color: var(--text-on-navy);
  font-weight: 600;
}

.custom-amount-row input {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.28);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  width: 140px;
  outline: none;
  transition: border-color 0.3s;
}

.custom-amount-row input::placeholder { color: rgba(255,255,255,0.45); }
.custom-amount-row input:focus { border-color: var(--gold); }

.donate-form-wrap { margin-top: 12px; }

.donate-form-wrap .btn-gold {
  font-size: 1.1rem;
  padding: 18px 48px;
}

/* Tax-deductibility note on the donation block */
.donate-note {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: var(--text-on-navy);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.donate-note strong { color: var(--gold); }

/* ========== CONTACT ========== */
.contact {
  padding: 120px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info .section-desc { margin-bottom: 40px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(201,162,75,0.16);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-detail p, .contact-detail a {
  color: var(--navy);
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-detail a:hover { color: var(--gold-ink); }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(27,42,74,0.07);
}

.contact-form h3 {
  margin-bottom: 28px;
  font-size: 1.5rem;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; }

/* ========== SUBPAGE COMPONENTS ========== */

/* Page header band (navy) used at the top of every subpage */
.page-hero {
  background: var(--navy);
  padding: 152px 0 72px;
}

.page-hero .section-label { color: var(--gold); }

.page-hero h1 {
  color: var(--white);
  max-width: 22ch;
  margin-bottom: 20px;
}

.page-hero p {
  color: var(--text-on-navy);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.75;
  max-width: 68ch;
}

/* Breadcrumb */
.breadcrumb {
  color: var(--text-on-navy-dim);
  font-size: 0.85rem;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.breadcrumb a { color: var(--text-on-navy-dim); }
.breadcrumb a:hover { color: var(--gold); }

/* Long-form prose block */
.prose {
  padding: 90px 0;
  background: var(--bg);
}

.prose h2 {
  margin-top: 8px;
  margin-bottom: 18px;
}

.prose h3 {
  margin-top: 40px;
  margin-bottom: 12px;
}

.prose p {
  font-size: 1.06rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.prose > .container-narrow > ul,
.prose > .container-narrow > ol {
  margin: 0 0 24px 22px;
}

.prose li {
  font-size: 1.06rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.prose a:not(.btn) {
  color: var(--gold-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:not(.btn):hover { color: var(--navy); }

.lede {
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  line-height: 1.65;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 32px;
}

/* Statistic cards with sources */
.stat-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 44px 0 8px;
}

.fact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 14px;
  padding: 30px 28px;
}

.fact-figure {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.fact-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 14px;
}

.fact-source {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: block;
}

.fact-source a {
  color: var(--gold-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fact-source a:hover { color: var(--navy); }

/* Numbered / iconed reason blocks */
.reasons {
  display: grid;
  gap: 28px;
  margin: 40px 0;
}

.reason {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 30px;
}

.reason-num {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.reason h3 {
  margin: 4px 0 10px;
  font-size: 1.2rem;
}

.reason p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
}

/* Category grid — "Who We Help" */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 8px;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(27,42,74,0.12);
}

.category-icon {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  background: rgba(201,162,75,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.category-card h3 {
  margin-bottom: 6px;
  font-size: 1.25rem;
}

.category-card .category-tagline {
  color: var(--gold-ink);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
  display: block;
}

.category-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Support routes — "Corporate Partners" */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 40px 0 8px;
}

.support-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 34px 30px;
  position: relative;
}

.support-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 3px;
  background: var(--gold);
  border-radius: 0 0 3px 3px;
}

.support-card h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}

.support-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Pull-quote / callout panel on navy */
.callout {
  background: var(--navy);
  border-radius: 18px;
  padding: 48px 44px;
  margin: 52px 0;
  text-align: center;
}

.callout p {
  color: var(--white);
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  max-width: 30ch;
  margin: 0 auto;
}

/* Closing CTA band */
.page-cta {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 84px 0;
  text-align: center;
}

.page-cta h2 { margin-bottom: 16px; }

.page-cta p {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 62ch;
  margin: 0 auto 32px;
  line-height: 1.75;
}

.page-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sources list */
.sources {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.sources h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.sources ol {
  margin-left: 20px;
}

.sources li {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.sources a {
  color: var(--gold-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sources a:hover { color: var(--navy); }

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-deepest);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 44px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--text-on-navy-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 24px;
  font-weight: 700;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }

.footer-col a {
  color: var(--text-on-navy-dim);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-on-navy-dim);
  font-size: 0.9rem;
}

.footer-contact-item .fc-icon {
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* 501(c)(3) legal block in the footer */
.footer-legal {
  padding: 28px 0 4px;
  text-align: center;
}

.footer-legal p {
  color: var(--text-on-navy);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 74ch;
  margin: 0 auto;
}

.footer-legal strong { color: var(--gold); font-weight: 700; }

.footer-bottom {
  padding: 20px 0 28px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  /* Keep the wider nav from wrapping on tablets */
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.86rem; }
  .nav-donate-btn { padding: 9px 18px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 360px; }

  .impact-columns { grid-template-columns: 1fr; }

  .causes-grid { grid-template-columns: 1fr 1fr; }

  .programs-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }

  .nav-logo { margin-left: 0; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 24px;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(14,23,39,0.28);
  }

  /* Mobile dropdowns: inline, no absolute positioning */
  .dropdown {
    position: static;
    transform: none;
    min-width: auto;
    width: 100%;
    background: rgba(255,255,255,0.07);
    border-radius: 8px;
    box-shadow: none;
    padding: 4px 0;
    opacity: 1;
    visibility: visible;
    display: none;
    margin-top: 8px;
  }

  .dropdown::before { display: none; }
  .has-dropdown::after { display: none; }
  .has-dropdown { width: 100%; }

  .has-dropdown.mobile-open .dropdown { display: block; }

  .has-dropdown:hover .dropdown {
    opacity: 0;
    visibility: hidden;
    display: none;
  }

  .has-dropdown.mobile-open:hover .dropdown {
    opacity: 1;
    visibility: visible;
    display: block;
  }

  .dropdown li a {
    color: rgba(255,255,255,0.78) !important;
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .dropdown li a:hover {
    background: rgba(255,255,255,0.08);
    color: var(--gold) !important;
    padding-left: 20px;
  }

  .hero-content { padding: 120px 24px 72px; }
  .hero h1 { font-size: 2.1rem; max-width: none; }
  .status-banner { padding: 18px 20px; flex-direction: column; gap: 12px; }

  .page-hero { padding: 118px 0 56px; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 40px 24px;
  }

  .programs-grid { grid-template-columns: 1fr; }

  .causes-grid { grid-template-columns: 1fr; }
  .cause-card { height: 280px; }

  .steps-grid { grid-template-columns: 1fr; gap: 32px; }

  .impact-panel { padding: 32px 26px; }

  .reason { grid-template-columns: 1fr; gap: 16px; padding: 26px 24px; }

  .callout { padding: 36px 26px; }

  .team-featured {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px;
  }

  .team-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
  }

  .team-info .team-quote { text-align: left; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .about, .programs, .causes, .how-to-help, .team, .contact { padding: 80px 0; }
  .impact, .prose { padding: 72px 0; }
}
