:root {
  --ink: #0b2545;
  --ink-soft: #163a5f;
  --navy: #0b2545;
  --teal: #0e6b6a;
  --teal-deep: #0a5252;
  --green: #2a8f47;
  --paper: #f3f6f7;
  --white: #ffffff;
  --muted: #5a6570;
  --line: #d5dde3;
  --donate: #c62828;
  --donate-hover: #a61f1f;
  --max: 1180px;
  --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: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  background: var(--teal);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* ===== Top utility (CCUSA-style) ===== */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 35;
  background: rgba(11, 37, 69, 0.55);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  backdrop-filter: blur(4px);
}

.inner-shell .topbar {
  position: relative;
  background: var(--ink);
  backdrop-filter: none;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 40px;
}

.topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.topbar a.is-active {
  border-bottom-color: var(--teal);
  color: #fff;
}

.topbar a {
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
  padding-bottom: 0.35rem;
  border-bottom: 3px solid transparent;
}

.topbar a.is-active {
  color: #fff;
  border-bottom-color: var(--teal);
}

.topbar a:hover {
  color: #fff;
}

.topbar-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.topbar-right .ein {
  opacity: 0.75;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 400;
}

/* ===== Masthead over hero ===== */
.masthead {
  position: absolute;
  inset: 40px 0 auto;
  z-index: 36;
  width: 100%;
}

.inner-shell .masthead {
  position: relative;
  inset: auto;
  background: var(--navy);
}

.inner-shell .masthead.is-sticky {
  position: sticky;
  top: 0;
  z-index: 70;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.18);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  padding: 3px;
}

.brand-text {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand-text small {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 0.15rem;
}

.masthead-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1.5px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
  background: transparent;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-donate {
  background: var(--donate);
  color: #fff;
  border-color: var(--donate);
}

.btn-donate:hover {
  background: var(--donate-hover);
  border-color: var(--donate-hover);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
}

.btn-teal:hover {
  background: var(--teal-deep);
}

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.btn-ink:hover {
  background: var(--ink-soft);
}

.btn-outline-ink {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

.btn-outline-ink:hover {
  background: var(--ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
}

/* Sticky secondary nav below hero (desktop) */
.primary-nav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.primary-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
}

.primary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
}

.primary-links a {
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 1.1rem 0;
  border-bottom: 3px solid transparent;
}

.primary-links a:hover,
.primary-links a[aria-current="page"] {
  border-bottom-color: var(--teal);
  color: var(--teal-deep);
}

/* ===== Stories page (CCUSA-inspired) ===== */
.page-intro {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3rem;
  padding-top: 0.5rem;
}

.page-intro h1 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  color: var(--ink);
  margin-bottom: 1rem;
}

.page-intro p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.stories-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.story-feature {
  position: relative;
  min-height: 420px;
  background: center / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.story-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 0, 56, 0.1), rgba(11, 37, 69, 0.85));
}

.story-feature-inner {
  position: relative;
  z-index: 1;
  padding: 1.75rem;
}

.story-feature .story-tag {
  color: #9fd4a8;
}

.story-feature h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.story-feature p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 36ch;
  margin-bottom: 0.9rem;
}

.story-feature .more {
  color: #fff;
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stories-side {
  display: grid;
  gap: 1.25rem;
}

.story-link-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 0.2s, transform 0.2s;
}

.story-link-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.story-link-card .thumb {
  aspect-ratio: 1;
  background: center / cover no-repeat;
  min-height: 110px;
}

.story-link-card .body {
  padding: 0.75rem 1rem 0.75rem 0;
}

.story-link-card h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.05rem;
  color: var(--teal-deep);
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.story-link-card p {
  font-size: 0.88rem;
  color: var(--muted);
}

.stories-more {
  margin-top: 0.5rem;
}

/* ===== Leadership ===== */
.leader-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.leader-card {
  display: block;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 0;
}

.leader-card.leader-featured {
  padding-top: 0.5rem;
}

.leader-section-label {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 2.25rem 0 0.75rem;
}

.leader-card h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.45rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.leader-role {
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.leader-card p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 52rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 2.5rem;
  border-top: 1px solid var(--line);
}

.team-grid .leader-card {
  padding: 1.5rem 0;
}

.board-note {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--paper);
  border-left: 4px solid var(--teal);
}

.board-note h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.board-note p {
  color: var(--muted);
}

@media (max-width: 960px) {
  .stories-layout,
  .leader-grid,
  .story-link-card,
  .leader-card {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .story-link-card .thumb {
    aspect-ratio: 16 / 9;
  }
}

.primary-nav .btn-donate {
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(11, 37, 69, 0.55) 0%, rgba(14, 107, 106, 0.45) 45%, rgba(11, 37, 69, 0.78) 100%),
    url("../assets/hero-service.jpg") center / cover no-repeat;
  padding: 8rem 0 5rem;
}

.hero-content {
  max-width: 46rem;
  animation: fade-up 0.9s var(--ease) both;
}

.hero h1 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 38rem;
  margin: 0 auto 1.75rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Alert / notice bar */
.notice-bar {
  background: var(--teal);
  color: #fff;
  padding: 1rem 0;
}

.notice-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  text-align: center;
}

.notice-bar p {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.05rem;
}

.notice-bar .btn {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
  padding: 0.45rem 0.9rem;
  font-size: 0.7rem;
}

.notice-bar .btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ===== Sections ===== */
.section {
  padding: 4.75rem 0;
}

.section-paper {
  background: var(--paper);
}

.section-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.75rem;
}

.section-intro h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.section-intro p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* What We Do — tabbed panel like CCUSA */
.wwd {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 420px;
}

.wwd-tabs {
  border-top: 1px solid var(--line);
}

.wwd-tab {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-left: 4px solid transparent;
  padding: 1.05rem 1.1rem;
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.wwd-tab:hover {
  background: rgba(14, 107, 106, 0.05);
}

.wwd-tab.is-active {
  background: var(--white);
  border-left-color: var(--teal);
  color: var(--teal-deep);
}

.wwd-panel {
  position: relative;
  min-height: 420px;
  background: #ccc center / cover no-repeat;
}

.wwd-panel[data-panel="0"] {
  background-image: url("../assets/focus-community.jpg");
}

.wwd-panel[data-panel="1"] {
  background-image: url("../assets/research-work.jpg");
}

.wwd-panel[data-panel="2"] {
  background-image: url("../assets/focus-policy.jpg");
}

.wwd-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 420px);
  background: var(--white);
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: 0 8px 28px rgba(24, 0, 56, 0.12);
}

.wwd-card h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.wwd-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.wwd-card .more,
.story .more,
.story-feature .more,
.give-item .more,
a.more {
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-block;
}

.wwd-card .more:hover,
.story .more:hover,
a.more:hover {
  color: var(--ink);
}

.wwd-card .more {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.wwd-card .more:hover {
  color: var(--ink);
}

.wwd-panels > .wwd-panel {
  display: none;
}

.wwd-panels > .wwd-panel.is-active {
  display: block;
}

/* Help strip */
.help-strip {
  background: var(--navy);
  color: #fff;
  padding: 2.25rem 0;
}

.help-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.help-strip h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  max-width: 22ch;
}

/* Stories / insights */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.story {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.story:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
}

.story-media {
  aspect-ratio: 16 / 10;
  background: center / cover no-repeat;
}

.story-body {
  padding: 1.25rem 1.2rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.story-tag {
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.story h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 0.55rem;
  color: var(--ink);
}

.story p {
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.story .more {
  margin-top: 1rem;
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

/* How you can help */
.give-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.give-item {
  position: relative;
  min-height: 280px;
  background: center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.give-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 37, 69, 0.15), rgba(11, 37, 69, 0.82));
}

.give-item > * {
  position: relative;
  z-index: 1;
}

.give-item-inner {
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.give-item h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.give-item p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.9rem;
}

.give-item .more {
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.give-a {
  background-image: url("../assets/give-help.jpg");
}

.give-b {
  background-image: url("../assets/hero-community.jpg");
}

.give-c {
  background-image: url("../assets/research-work.jpg");
}

/* Trust / transparency */
.trust-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.trust-row h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.85rem;
}

.trust-row p {
  color: var(--muted);
}

.trust-facts {
  display: grid;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.trust-facts div {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.trust-facts .label {
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.2rem;
}

/* Newsletter */
.newsletter {
  background: var(--ink);
  color: #fff;
  padding: 3.25rem 0;
  text-align: center;
}

.newsletter h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 0.65rem;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 7.5rem 0 3.5rem;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(11, 37, 69, 0.88), rgba(14, 107, 106, 0.72)),
    url("../assets/hero-community.jpg") center / cover no-repeat;
}

.page-hero .masthead {
  inset: 0 0 auto;
}

.page-hero h1 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 0.65rem;
}

.page-hero p {
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.page-hero-compact {
  padding-top: 6.5rem;
}

/* Inner page content helpers */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
}

.prose p + p {
  margin-top: 1rem;
}

.prose a {
  color: var(--teal-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.amount-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.amount-options a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 0.2s, background 0.2s;
}

.amount-options a:hover {
  border-color: var(--teal);
  background: #f2f9f9;
}

.amount-options strong {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.4rem;
  color: var(--ink);
}

.amount-options span {
  font-size: 0.875rem;
  color: var(--muted);
}

.aside-box {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.aside-box h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.aside-box p,
.aside-box li {
  font-size: 0.95rem;
  color: var(--muted);
}

.aside-box ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.85rem 0 1.1rem;
}

.aside-box li::before {
  content: "• ";
  color: var(--teal);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-details {
  display: grid;
  gap: 1.35rem;
}

.contact-label {
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.contact-details a {
  color: var(--teal-deep);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font: inherit;
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgba(14, 107, 106, 0.3);
  border-color: var(--teal);
}

.form-status {
  min-height: 1.25rem;
  color: var(--green);
  font-size: 0.9rem;
}

.program-list {
  border-top: 1px solid var(--line);
}

.program-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.program-item .num {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.35rem;
  color: var(--teal);
}

.program-item h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.program-item p {
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  gap: 0.9rem;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 3px;
  flex-shrink: 0;
}

.footer-brand h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.45rem;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 28ch;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fd0cf;
  margin-bottom: 0.9rem;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 0 1.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  display: grid;
  gap: 0.35rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Inner pages: dark masthead variant when not over photo */
.inner-shell .primary-nav {
  top: 0;
}

@media (max-width: 960px) {
  .wwd,
  .story-grid,
  .give-grid,
  .trust-row,
  .split,
  .contact-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .topbar-nav {
    display: none;
  }

  .masthead {
    inset: 0 0 auto;
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav .container {
    flex-wrap: wrap;
    position: relative;
  }

  .primary-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .primary-links.is-open {
    display: flex;
  }

  .primary-links a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav .btn-donate {
    display: none;
  }

  .hero {
    min-height: 85vh;
    padding-top: 7rem;
  }

  .wwd-card {
    position: relative;
    width: 100%;
  }

  .wwd-panel {
    min-height: 280px;
  }

  .brand-text {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== US nonprofit upgrades ===== */
.breadcrumbs {
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.breadcrumbs a {
  color: var(--teal-deep);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  margin: 0 0.45rem;
  opacity: 0.5;
}

.seal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 2rem 0 0;
}

.seal-item {
  text-align: center;
  padding: 0.75rem 0.5rem;
}

.seal-item strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.seal-item span {
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 600;
}

.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.involve-card {
  border-top: 4px solid var(--teal);
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding: 1.75rem 1.5rem;
}

.involve-card h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.involve-card p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

.faq-list {
  border-top: 1px solid var(--line);
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.15rem 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.1rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item button::after {
  content: "+";
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  color: var(--teal);
  flex-shrink: 0;
}

.faq-item.is-open button::after {
  content: "-";
}

.faq-panel {
  display: none;
  padding: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.faq-item.is-open .faq-panel {
  display: block;
}

.legal-prose {
  max-width: 46rem;
}

.legal-prose h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
  color: var(--ink);
}

.legal-prose p,
.legal-prose li {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.legal-prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.sticky-donate {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--donate);
  padding: 0.75rem 1rem;
  box-shadow: 0 -6px 20px rgba(11, 37, 69, 0.18);
}

.sticky-donate a {
  display: block;
  text-align: center;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.65rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal-links a:hover {
  color: #fff;
}

body.has-sticky-donate {
  padding-bottom: 0;
}

@media (max-width: 960px) {
  .seal-strip,
  .involve-grid {
    grid-template-columns: 1fr 1fr;
  }

  body.has-sticky-donate {
    padding-bottom: 4rem;
  }

  .sticky-donate {
    display: block;
  }
}

@media (max-width: 600px) {
  .seal-strip,
  .involve-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Upgrade pass ===== */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.news-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.news-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.news-item time {
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.news-item h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  margin: 0.45rem 0 0.55rem;
}

.news-item h2 a:hover {
  color: var(--teal-deep);
}

.news-item p {
  color: var(--muted);
  margin-bottom: 0.75rem;
  max-width: 46rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  border-top: 3px solid var(--teal);
  padding-top: 1.25rem;
}

.step span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.step h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.newsletter-form input {
  min-width: min(100%, 280px);
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  border-radius: 2px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.approach {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: approach;
}

.approach-item {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.35rem 1.15rem;
}

.approach-item::before {
  counter-increment: approach;
  content: "0" counter(approach);
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 0.65rem;
}

.approach-item h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.approach-item p {
  color: var(--muted);
  font-size: 0.92rem;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 5rem;
  z-index: 55;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 2px;
  background: var(--ink);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

body.has-sticky-donate .back-to-top {
  bottom: 5.5rem;
}

@media (min-width: 961px) {
  body.has-sticky-donate .back-to-top {
    bottom: 1.25rem;
  }
}

@media (max-width: 960px) {
  .steps,
  .approach {
    grid-template-columns: 1fr;
  }

  .primary-links.is-open {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    background: rgba(11, 37, 69, 0.97);
    padding: 5.5rem 1.5rem 2rem;
    overflow: auto;
  }

  .primary-links.is-open a {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
    padding: 1rem 0;
  }

  .nav-toggle.is-open {
    position: relative;
    z-index: 90;
    border-color: rgba(255, 255, 255, 0.7);
  }
}

.partner-strip {
  background: linear-gradient(105deg, var(--navy), var(--teal-deep));
  color: #fff;
  padding: 3rem 0;
}

.partner-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.partner-strip h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.partner-strip p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.related-card {
  display: block;
  padding: 1.5rem 1.25rem;
  border-top: 3px solid var(--teal);
  background: var(--paper);
  transition: background 0.2s, transform 0.2s;
}

.related-card:hover {
  background: #e8f1f1;
  transform: translateY(-2px);
}

.related-card h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.related-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-banner {
  background:
    linear-gradient(105deg, rgba(11, 37, 69, 0.92), rgba(14, 107, 106, 0.82)),
    url("../assets/hero-community.jpg") center / cover no-repeat;
  color: #fff;
  padding: 4rem 0;
}

.cta-banner h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  margin-bottom: 0.65rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 34rem;
  margin-bottom: 1.25rem;
}

.amount-options a.is-selected {
  border-color: var(--teal);
  background: #e8f4f4;
  box-shadow: inset 0 0 0 1px var(--teal);
}

.nav-menu-close {
  display: none;
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 91;
}

@media (max-width: 960px) {
  .related-grid {
    grid-template-columns: 1fr;
  }

  .primary-links.is-open .nav-menu-close {
    display: grid;
    place-items: center;
  }
}

@media print {
  .topbar,
  .masthead,
  .primary-nav,
  .sticky-donate,
  .back-to-top,
  .notice-bar,
  .newsletter,
  .help-strip,
  .cta-banner,
  .partner-strip,
  .skip-link,
  .reading-progress,
  .share-bar {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    text-decoration: underline;
  }
}

/* ===== Further upgrade: search, values, articles ===== */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 120;
  background: var(--teal);
  pointer-events: none;
}

.site-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.site-search input {
  flex: 1 1 240px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  font: inherit;
  border-radius: 2px;
}

.search-meta {
  color: var(--muted);
  font-size: 0.92rem;
  min-height: 1.4em;
  margin-bottom: 1rem;
}

.search-results {
  display: grid;
  gap: 0.85rem;
}

.search-hit {
  display: block;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.search-hit h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.search-hit p {
  color: var(--muted);
  font-size: 0.95rem;
}

.search-hit:hover h3 {
  color: var(--teal-deep);
}

.chip-row,
.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
}

.chip.is-active,
a.chip:hover,
button.chip:hover {
  border-color: var(--teal);
  background: #e8f4f4;
  color: var(--teal-deep);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.value-item {
  border-top: 3px solid var(--teal);
  padding-top: 1.1rem;
}

.value-item h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.value-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.focus-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.focus-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.focus-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(11, 37, 69, 0.1);
}

.focus-card-media {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}

.focus-card-body {
  padding: 1.25rem 1.15rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.focus-card-body h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.25rem;
}

.focus-card-body p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.leader-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--navy), var(--teal));
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}

.leader-card.has-avatar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1rem;
  align-items: start;
}

.leader-card.has-avatar .leader-avatar {
  grid-row: 1 / span 3;
  margin-bottom: 0;
}

.leader-card.has-avatar h3,
.leader-card.has-avatar .leader-role,
.leader-card.has-avatar > p:not(.leader-role) {
  grid-column: 2;
}

.org-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 1rem 0 1.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.org-line strong {
  color: var(--ink);
}

.org-line span.sep {
  opacity: 0.45;
}

.article-hero {
  color: #fff;
  padding: 5.5rem 0 3.5rem;
  background-size: cover;
  background-position: center;
}

.article-hero h1 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  max-width: 40rem;
  margin: 0.5rem 0 0.85rem;
  line-height: 1.2;
}

.article-dek {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16rem;
  gap: 2.5rem;
  align-items: start;
}

.article-body h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.45rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--ink);
}

.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.map-embed {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
}

.map-embed iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
  filter: grayscale(0.25);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-family: "Montserrat", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 6px);
  }
}

@media (max-width: 960px) {
  .values-grid,
  .focus-cards,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .leader-card.has-avatar {
    grid-template-columns: 1fr;
  }

  .leader-card.has-avatar .leader-avatar {
    grid-row: auto;
    margin-bottom: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll {
    animation: none;
  }
}
