/* SNAP East Cape — static site styles */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --navy: #0c2340;
  --navy-deep: #061525;
  --navy-soft: #153355;
  --gold: #fbc337;
  --gold-hover: #e0af2c;
  --sand: #f3efe6;
  --cream: #faf8f4;
  --ink: #1a2332;
  --muted: #5a6575;
  --line: rgba(12, 35, 64, 0.12);
  --white: #ffffff;
  --radius: 4px;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Outfit", "Segoe UI", sans-serif;
  --shadow-soft: 0 14px 40px rgba(6, 21, 37, 0.12);
  --shadow-gold: 0 4px 14px rgba(251, 195, 55, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(251, 195, 55, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at -10% 30%, rgba(12, 35, 64, 0.05), transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--navy);
  font-weight: 700;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
}

.muted {
  color: var(--muted);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  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: var(--navy);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.brand-logo {
  width: 2.75rem;
  height: 2.75rem;
  display: block;
  /* Force navy SVG artwork to white on the dark header */
  filter: brightness(0) invert(1);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-name .brand-line {
  display: inline;
}

.brand-name .brand-line + .brand-line {
  margin-left: 0.35em;
}

@media (max-width: 979px) {
  .brand-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.05;
    font-size: 1.05rem;
  }

  .brand-name .brand-line {
    display: block;
  }

  .brand-name .brand-line + .brand-line {
    margin-left: 0;
  }
}

.brand-tag {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 5px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li {
  position: relative;
}

.nav-list a,
.nav-toggle-btn,
.lang-btn,
.menu-btn {
  font: inherit;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

.nav-list > li > a,
.nav-list > li > .nav-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
}

.nav-list > li > a:hover,
.nav-list > li:hover > .nav-toggle-btn,
.nav-list > li:focus-within > .nav-toggle-btn,
.nav-list > li > a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Transparent padding-top keeps hover continuous while looking slightly offset */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 14rem;
  padding: 0.55rem 0 0;
  margin: 0;
  list-style: none;
  display: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  z-index: 50;
}

.dropdown::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  pointer-events: none;
}

.nav-list > li:hover > .dropdown,
.nav-list > li:focus-within > .dropdown,
.nav-list > li.is-open > .dropdown {
  display: block;
}

.dropdown li {
  position: relative;
  list-style: none;
}

.dropdown a {
  display: block;
  padding: 0.65rem 0.8rem;
  margin: 0 0.35rem;
  text-decoration: none;
  color: var(--navy);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.dropdown li:first-child a {
  margin-top: 0.35rem;
}

.dropdown li:last-child a {
  margin-bottom: 0.35rem;
}

.dropdown a:hover,
.dropdown a:focus {
  background: var(--sand);
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-btn {
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

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

.btn-gold,
.btn-donate {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(251, 195, 55, 0.35);
}

.btn-gold:hover,
.btn-donate:hover {
  background: var(--gold-hover);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(251, 195, 55, 0.45);
}

/* Donate always reads as the high-priority action */
.btn-donate {
  font-weight: 700;
  letter-spacing: 0.01em;
  padding-inline: 1.5rem;
}

.header-actions .btn-donate,
.header-actions .btn-gold {
  box-shadow: 0 0 0 1px rgba(251, 195, 55, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(251, 195, 55, 0.08);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: rgba(12, 35, 64, 0.35);
}

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

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

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

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.92rem;
}

.btn-donate.btn-sm {
  padding: 0.55rem 1.1rem;
}

/* Consistent CTA groups — left-aligned by default */
.actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.actions-center {
  justify-content: flex-start;
}

.actions-top {
  margin-top: 0;
}

.menu-btn {
  display: inline-flex;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
}

.nav-mobile {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 0 1rem;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile > a {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.7rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-mobile .nav-accordion {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-mobile .nav-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.25rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 1rem;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.nav-mobile .nav-accordion-btn:hover,
.nav-mobile .nav-accordion-btn:focus-visible {
  color: var(--gold);
  outline: none;
}

.nav-mobile .nav-accordion-icon {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  color: inherit;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.nav-mobile .nav-accordion.is-open .nav-accordion-icon {
  transform: rotate(180deg);
}

.nav-mobile .nav-accordion-panel {
  display: none;
  padding: 0 0 0.35rem;
}

.nav-mobile .nav-accordion.is-open .nav-accordion-panel {
  display: block;
}

.nav-mobile .nav-accordion-panel a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 0.55rem 0.25rem 0.55rem 1rem;
  font-size: 0.95rem;
  border-bottom: 0;
}

.nav-mobile .nav-accordion-panel a:hover,
.nav-mobile .nav-accordion-panel a:focus-visible {
  color: var(--gold);
}

.nav-mobile .donate-mobile {
  margin-top: 0.75rem;
  text-align: center;
  border-bottom: 0;
}

@media (min-width: 980px) {
  .nav-desktop {
    display: flex;
  }
  .menu-btn {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--navy-deep) center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(3, 17, 34, 0.88) 0%, rgba(3, 17, 34, 0.72) 45%, rgba(3, 17, 34, 0.4) 100%),
    linear-gradient(180deg, rgba(3, 17, 34, 0.2) 0%, rgba(3, 17, 34, 0.45) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  z-index: 1;
}

.hero-inner,
.page-hero-inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(100% - 2rem, 40rem);
  max-width: 40rem;
  margin-inline: auto;
  padding: 2.25rem 0 2rem;
  text-align: left;
}

.hero .brand-signal {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.7rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 34rem;
  margin-bottom: 0;
}

.hero-actions {
  margin-top: 1.25rem;
}

.page-hero {
  position: relative;
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 0;
  text-align: left;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(3, 17, 34, 0.9) 0%, rgba(3, 17, 34, 0.75) 48%, rgba(3, 17, 34, 0.45) 100%);
  z-index: 0;
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent 65%);
  z-index: 1;
}

.page-hero-inner .eyebrow {
  color: var(--gold);
  margin: 0 0 0.65rem;
}

.page-hero-inner h1 {
  color: var(--white);
  margin: 0 0 0.7rem;
  max-width: none;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
}

.page-hero-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.55;
  max-width: 38rem;
}

.page-hero-inner .actions {
  margin-top: 1.25rem;
}

.page-hero-inner .anchor-nav {
  margin-top: 1.15rem;
}

/* Legacy selectors kept in sync with page-hero-inner */
.page-hero .container > .eyebrow,
.page-hero .eyebrow {
  color: var(--gold);
}

.page-hero h1 {
  color: var(--white);
}

/* Sections — left-aligned content rhythm */
.section {
  padding: 4.25rem 0;
  text-align: left;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(243, 239, 230, 0.92), rgba(243, 239, 230, 0.92)),
    var(--sand);
  border-block: 1px solid rgba(12, 35, 64, 0.06);
}

.section-navy {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(251, 195, 55, 0.12), transparent 40%),
    linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, var(--navy-soft));
  color: var(--white);
  text-align: left;
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-navy .eyebrow {
  color: var(--gold);
}

.section-navy .muted {
  color: rgba(255, 255, 255, 0.75);
}

.section-head {
  max-width: 40rem;
  margin: 0 0 2rem;
  text-align: left;
}

.section-head-center {
  margin: 0 0 2rem;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-soft);
  margin-bottom: 0.5rem;
}

.section-navy .eyebrow,
.page-hero .eyebrow,
.hero .eyebrow {
  color: var(--gold);
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.program-link,
.help-link,
.route-card {
  display: block;
  padding: 1.5rem 1.5rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(6, 21, 37, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-align: left;
}

.program-link:hover,
.help-link:hover,
.route-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  color: inherit;
  border-color: rgba(12, 35, 64, 0.18);
}

.program-link h3,
.help-link h3,
.route-card h3 {
  margin-bottom: 0.45rem;
}

.program-link span,
.help-link span,
.route-card span {
  display: inline-block;
  margin-top: 0.65rem;
  font-weight: 600;
  color: var(--navy);
}

.program-body span,
.help-body span {
  display: inline-block;
  margin-top: 0.65rem;
  font-weight: 600;
  color: var(--navy);
}

.stat-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .stat-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat {
  text-align: left;
  padding: 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.stat-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(251, 195, 55, 0.14);
  border: 1px solid rgba(251, 195, 55, 0.35);
  color: var(--gold);
  margin-bottom: 0.15rem;
}

.stat-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4vw, 3rem);
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  max-width: 14rem;
  line-height: 1.35;
}

.impact-band {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  text-align: left;
}

@media (min-width: 800px) {
  .impact-band {
    grid-template-columns: 1.2fr 1fr;
  }
}

.gift-visual {
  background:
    radial-gradient(circle at 30% 20%, rgba(251, 195, 55, 0.2), transparent 50%),
    var(--navy);
  color: var(--white);
  padding: 2.5rem 2rem;
  text-align: left;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.gift-visual .amount {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.callout {
  background: linear-gradient(90deg, rgba(251, 195, 55, 0.16), rgba(251, 195, 55, 0.05));
  border-left: 4px solid var(--gold);
  padding: 1.2rem 1.35rem;
  margin: 1.75rem 0;
  text-align: left;
}

.trust-line {
  font-size: 0.95rem;
  color: var(--muted);
}

.story {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 1.75rem;
  padding: 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: left;
}

@media (min-width: 720px) {
  .story {
    grid-template-columns: minmax(220px, 280px) 1fr;
    align-items: stretch;
  }
}

.story img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: none;
  min-height: 12rem;
}

/* Content photography */
.content-media,
.split-media {
  margin: 0 0 1.25rem;
  overflow: hidden;
  background: var(--sand);
}

.content-media img,
.split-media img,
.program-thumb img,
.help-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-media img {
  aspect-ratio: 16 / 10;
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: 56rem;
  aspect-ratio: 16 / 9;
  background: var(--navy-deep);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.video-frame .content-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--navy-deep);
}

.split-block {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.split-block > :only-child {
  grid-column: 1 / -1;
}

@media (min-width: 800px) {
  .split-block {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2rem;
  }

  .split-block.split-flip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }

  .split-block.split-flip .split-media {
    order: 2;
  }

  .split-block.split-flip .split-copy {
    order: 1;
  }
}

.split-media {
  margin: 0;
  min-height: 14rem;
}

.split-media img {
  aspect-ratio: 4 / 3;
  min-height: 14rem;
}

.split-copy > *:last-child {
  margin-bottom: 0;
}

.program-link,
.help-link {
  padding: 0;
  overflow: hidden;
}

.program-link .program-body,
.help-link .help-body {
  padding: 1.25rem 1.35rem 1.3rem;
}

.program-thumb,
.help-thumb {
  margin: 0;
  display: block;
  background: var(--sand);
}

.program-thumb img,
.help-thumb img {
  aspect-ratio: 16 / 10;
}

.gift-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 14rem;
  background: var(--navy);
}

.gift-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.prose,
.content {
  max-width: 42rem;
  text-align: left;
}

.content--wide {
  max-width: none;
}

.content.content--with-media {
  max-width: 56rem;
}

.container.content--wide.grid-2,
.container.grid-2 {
  max-width: var(--max);
}

.prose h2,
.content h2 {
  margin-top: 2.25rem;
}

.prose h2:first-child,
.content h2:first-child,
.prose > .section-block:first-child h2,
.content > .section-block:first-child h2 {
  margin-top: 0;
}

.section-block + .section-block {
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.section-navy .section-block + .section-block {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.prose ul,
.prose ol,
.content ul,
.content ol {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.prose li,
.content li {
  margin-bottom: 0.4rem;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.anchor-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

.clinic {
  background: var(--white);
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  text-align: left;
  box-shadow: 0 6px 18px rgba(6, 21, 37, 0.04);
}

.clinic time,
.clinic .meta {
  color: var(--muted);
  font-size: 0.92rem;
}

/* FAQ */
.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.chip {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.chip.is-active,
.chip:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .answer {
  padding: 0 0 1.1rem;
  color: var(--muted);
}

.faq-item .answer a {
  font-weight: 600;
}

/* Donate */
.donate-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 880px) {
  .donate-layout {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  }
}

.donate-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.donate-panel #stripe-donate,
.donate-panel #paypal-link {
  width: 100%;
}

.donate-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}

.donate-paypal {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.donate-paypal-note {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.toggle-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.toggle-row button {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 0.7rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.toggle-row button.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.amount-grid button {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.85rem 0.65rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

.amount-grid button .amount-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.amount-grid button .amount-impact {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.25;
}

.amount-grid button.is-active {
  border-color: var(--gold);
  background: rgba(251, 195, 55, 0.18);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.amount-grid button.is-active .amount-impact {
  color: var(--navy);
}

.amount-grid button.amount-choose {
  grid-column: 1 / -1;
  width: 100%;
}

.amount-grid button.amount-choose[hidden] {
  display: none;
}

.donate-impact {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.donate-summary {
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--muted);
}

.team-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-member {
  background: var(--white);
  padding: 0;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  text-align: left;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: var(--sand);
}

.team-photo-fallback {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--navy-soft), var(--navy));
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
}

.team-member-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.final-cta {
  text-align: left;
  padding: 3.5rem 0;
}

.final-cta .container {
  max-width: 42rem;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.88);
}

.final-cta .actions {
  justify-content: flex-start;
}

.final-cta .actions-center {
  justify-content: flex-start;
}

.section-follow {
  margin-top: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

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

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-social-link:hover {
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  .hero-inner {
    animation: rise 0.9s ease both;
  }
  .gift-visual .amount {
    animation: pulse-soft 3.5s ease-in-out infinite;
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes pulse-soft {
    0%,
    100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.03);
    }
  }
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
