/* =============================================================================
   THE LYDIA PROJECT — STYLES
   Brand color from the logo tree graphic: #20428F
   Modeled on the look & feel of amazima.org
   ========================================================================== */

:root {
  --blue: #20428F;         /* primary brand blue (Lydia logo tree) */
  --blue-dark: #16305f;
  --blue-light: #eaf0fb;
  --ink: #1f2733;          /* body text */
  --muted: #5b6672;
  --paper: #ffffff;
  --sand: #f6f4ef;         /* warm off-white section background */
  --line: #e6e6e6;
  --gold: #c8a24a;         /* small warm accent */
  --shadow: 0 12px 30px rgba(20, 40, 90, 0.10);
  --radius: 12px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.15;
  color: var(--blue);
  margin: 0 0 .5em;
}

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

a { color: var(--blue); text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.center { text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 .6em;
}
.eyebrow.center { display: block; }

/* ---------------------------- Buttons ---------------------------- */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  border: none;
}
.btn:hover { background: var(--blue-dark); transform: translateY(-1px); color: #fff; }
.btn-give { box-shadow: 0 8px 18px rgba(32, 66, 143, .28); }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* ---------------------------- Header ---------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo img { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; flex: 1; gap: 46px; }
.main-nav a {
  font-weight: 700;
  color: var(--blue);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.main-nav > :first-child { margin-left: auto; }   /* center the link cluster */
.main-nav a:hover { color: var(--blue-dark); }
.main-nav .nav-give { color: #fff; margin-left: auto; }  /* pin Give Now to far right */
.main-nav .nav-give:hover { color: #fff; }

/* Dropdown menus */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-parent { display: inline-flex; align-items: center; gap: 9px; }
.caret { font-size: .78em; line-height: 1; position: relative; top: -2px; transition: transform .2s ease; }
.nav-item.has-children::after {   /* invisible bridge so hover survives the gap */
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px;
}
.submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  display: flex;
  flex-direction: column;
  min-width: 210px;
  background: #fff;
  padding: 10px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 60;
}
.nav-item.has-children:hover > .submenu,
.nav-item.has-children:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.submenu a {
  padding: 11px 24px;
  font-size: .95rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  white-space: nowrap;
}
.submenu a:hover { background: var(--blue-light); color: var(--blue); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 26px; height: 3px; background: var(--blue); border-radius: 3px;
  transition: .25s;
}

/* -------------------- Sticky Give rail (left) -------------------- */
.give-rail {
  position: fixed;
  left: 0;
  top: 42%;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #fff;
  padding: 16px 11px;
  border-radius: 0 12px 12px 0;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  transition: transform .3s ease, background .2s ease;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}
.give-rail.show { transform: translateX(0); opacity: 1; pointer-events: auto; }
.give-rail:hover { background: #b48f38; color: #fff; }
.give-rail-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 700;
  letter-spacing: .06em;
  font-size: .95rem;
}
.give-rail-heart {
  line-height: 0;
  animation: give-pulse 1.2s ease-in-out infinite;
}
.give-rail-heart svg { width: 19px; height: 19px; display: block; transform: rotate(270deg); }
@keyframes give-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .give-rail-heart { animation: none; }
}

/* ---------------------------- Hero ---------------------------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  /* Zoomed slightly and panned right so the girl sits in the left third with her
     head near the edge (desktop framing). The mobile block below overrides this. */
  background: var(--blue-dark) 74% 30% / 120% auto no-repeat;
  color: #fff;
}
.hero-overlay {
  position: absolute; inset: 0;
  /* Clear over her face (left), darkening only on the right behind the headline. */
  background: linear-gradient(90deg, rgba(15,28,60,0) 0%, rgba(15,28,60,0) 34%, rgba(15,28,60,.22) 48%, rgba(15,28,60,.6) 66%, rgba(15,28,60,.85) 100%);
}
.hero-content { position: relative; max-width: 560px; margin-left: auto; padding-top: 40px; padding-bottom: 40px; text-align: left; }
.hero-content h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: .45em;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero-content p {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 620px;
  margin-bottom: 1.8em;
  color: #eef2fb;
}

/* ---------------------- Our Impact banner ---------------------- */
.impact-banner { background: var(--blue); color: #fff; padding: 96px 0; }
.impact-banner-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.impact-stats { display: flex; flex-direction: column; gap: 36px; }
.impact-stat { display: flex; gap: 22px; align-items: flex-start; }
.impact-icon { flex: 0 0 auto; color: var(--gold); line-height: 0; }
.impact-icon svg { width: 46px; height: 46px; display: block; }
.impact-stat p {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.5;
  color: #eaf0fb;
}
.impact-lead { text-align: left; }
.impact-lead .script {
  color: #fff;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 1.02;
  margin: 0 0 30px;
}
.btn-gold {
  background: var(--gold);
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}
.btn-gold:hover { background: #b48f38; color: #fff; }

/* ---------------------- Our Journey timeline ---------------------- */
.timeline-section { padding: 30px 0 92px; background: var(--sand); }
.timeline-section h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 8px; text-align: center; }
.timeline-sub { text-align: center; color: var(--muted); font-size: 1.15rem; margin: 0 0 40px; }
/* keep the timeline within the page's content column (breathing room on the sides) */
.timeline-carousel { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 56px; }
.timeline-track {
  display: flex;
  align-items: flex-start;   /* each card sizes to its own content, not equal height */
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 88px 2px 26px;   /* top room for the year labels, line + numbered dots */
}
.timeline-track::-webkit-scrollbar { height: 8px; }
.timeline-track::-webkit-scrollbar-thumb { background: #d8d2c4; border-radius: 4px; }
.tl-card {
  position: relative;
  flex: 0 0 clamp(250px, 76vw, 300px);
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tl-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(20, 40, 90, .18); }
.tl-card:hover .tl-band { background: var(--gold); color: var(--blue); }
.tl-card:hover .tl-body { background: var(--blue-light); }
/* thin connecting line + numbered circle + year, floating above each card */
.tl-marker { position: absolute; top: -41px; left: 0; right: 0; height: 0; }
.tl-marker::before { content: ""; position: absolute; top: 0; left: 0; right: -24px; height: 2px; background: var(--blue); }
.tl-card:first-child .tl-marker::before { left: 50%; }
.tl-card:last-child .tl-marker::before { right: 50%; }
.tl-mk-year {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: var(--ink);
  font-weight: 700;
  font-size: .95rem;
}
.tl-mk-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  z-index: 1;
}
.tl-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.tl-photo img { width: 100%; height: 100%; object-fit: cover; }
.tl-band {
  background: var(--blue);
  color: #fff;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.5rem;
  padding: 8px 22px;
  text-align: center;
  transition: background .2s ease, color .2s ease;
}
.tl-body {
  padding: 18px 22px 24px;
  text-align: center;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: background .2s ease;
}
.tl-card h3 { font-size: 1.12rem; margin-bottom: .35em; }
.tl-card p { color: var(--muted); margin: 0; font-size: .96rem; line-height: 1.55; }
.timeline-arrow {
  position: absolute;
  top: 47px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--blue);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-arrow.prev { left: 4px; }
.timeline-arrow.next { right: 4px; }
.timeline-arrow:hover { background: var(--blue); color: #fff; }
@media (max-width: 680px) {
  .timeline-carousel { padding: 0 16px; }
  .timeline-arrow { display: none; }
}

/* ---------------------------- Story ---------------------------- */
.story { background: #fff; }
.story-banner { width: 100%; height: clamp(240px, 40vw, 520px); overflow: hidden; }
.story-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.story-intro { max-width: 720px; text-align: center; padding-top: 66px; padding-bottom: 84px; }
.story-intro h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .4em; }
.story-intro p { font-size: 1.18rem; color: var(--muted); margin: 0 auto 1.6em; }

/* ---------------------- Story of life change (highlight) ---------------------- */
.highlight { background: var(--sand); padding: 92px 0; }
.highlight-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.highlight-photo img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.highlight-text .script {
  font-family: "Caveat", cursive;
  font-weight: 700;
  color: var(--blue);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  margin: 0 0 .35em;
}
.highlight-text p { font-size: 1.18rem; color: var(--ink); line-height: 1.7; margin: 0; }
.highlight-text .btn { margin-top: 28px; }

@media (max-width: 820px) {
  .highlight-inner { grid-template-columns: 1fr; gap: 30px; }
  .highlight-photo img { aspect-ratio: 3 / 2; }
}

/* ---------------------------- Ministries ---------------------------- */
.ministries { padding: 92px 0; background: var(--sand); }
.ministries h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 48px; }
.ministry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.ministry-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ministry-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,40,90,.16); }
.ministry-card .photo { aspect-ratio: 4 / 3; overflow: hidden; }
.ministry-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.ministry-card .body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.ministry-card h3 { font-size: 1.4rem; margin-bottom: .35em; }
.ministry-card p { color: var(--muted); margin: 0 0 18px; flex: 1; }
.ministry-card .more {
  font-weight: 700; color: var(--blue); font-size: .9rem;
  text-transform: uppercase; letter-spacing: .08em;
}
.ministry-card .more:after { content: " →"; }

/* ---------------------- Stories of Life Change (carousel) ---------------------- */
.stories { padding: 92px 0; background: #fff; }
.stories h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 44px; }
.stories-carousel { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 56px; }
.stories-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 2px 26px;
}
.stories-track::-webkit-scrollbar { height: 8px; }
.stories-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.story-card {
  flex: 0 0 clamp(260px, 78vw, 320px);
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.story-card-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.story-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.story-card-body h3 { font-size: 1.25rem; margin-bottom: .3em; }
.story-card-body p { color: var(--muted); margin: 0 0 18px; flex: 1; }
.story-more {
  align-self: flex-start;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s ease;
}
.story-more:hover { background: var(--blue-dark); }
.stories-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--blue);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stories-arrow.prev { left: 4px; }
.stories-arrow.next { right: 4px; }
.stories-arrow:hover { background: var(--blue); color: #fff; }
@media (max-width: 680px) {
  .stories-carousel { padding: 0 16px; }
  .stories-arrow { display: none; }
}

/* In-site story popup */
.story-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.story-modal[hidden] { display: none; }
.story-modal-backdrop { position: absolute; inset: 0; background: rgba(10, 20, 40, .6); }
.story-modal-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}
.story-modal-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.story-modal-body { padding: 26px 28px 30px; }
.story-modal-body h3 { font-size: 1.5rem; margin-bottom: .4em; }
.story-modal-body p { color: var(--ink); line-height: 1.7; margin: 0; }
.story-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-modal-close:hover { background: #fff; }

/* ---------------------------- Ways to help ---------------------------- */
.help { padding: 92px 0; background: var(--blue-dark); color: #fff; }
.help h2.light { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.help .sub { color: #c9d6f2; margin-bottom: 48px; }
.help-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-bottom: 48px;
}
.help-item { text-align: center; padding: 0 8px; }
.help-item h3 { color: #fff; font-size: 1.5rem; margin-bottom: .3em; }
.help-item p { color: #c9d6f2; margin: 0; }


/* ---------------------------- Footer ---------------------------- */
.site-footer { background: var(--blue-dark); color: #c9d6f2; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1fr;
  gap: 40px;
  padding: 66px 24px 50px;
  align-items: start;
}
.footer-logo { height: 46px; width: auto; margin: 0 0 16px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand .footer-blurb { color: #9fb0d6; margin: 0 0 22px; max-width: 300px; font-size: .98rem; line-height: 1.6; }
.footer-brand .btn-gold { margin: 0; }
.footer-col h4 {
  color: #fff;
  font-family: "Libre Franklin", sans-serif;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 14px;
}
.footer-col a, .footer-col .footer-email { display: block; color: #c9d6f2; padding: 6px 0; font-size: .96rem; }
.footer-col a:hover { color: #fff; }
.footer-connect .footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--blue-dark); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 12px 28px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: .82rem;
  color: #8fa0c6;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; }
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 900px) {
  .ministry-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-banner-inner { grid-template-columns: 1fr; gap: 44px; }
  .impact-lead { text-align: center; }
  .help-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
}

@media (max-width: 680px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav > :first-child { margin-left: 0; }
  .main-nav > a { padding: 14px 24px; border-top: 1px solid var(--line); }

  /* Dropdown becomes an expandable section on mobile */
  .nav-item { flex-direction: column; align-items: stretch; width: 100%; }
  .nav-parent { padding: 14px 24px; border-top: 1px solid var(--line); justify-content: space-between; }
  .nav-item.has-children::after { content: none; }
  .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: var(--sand);
  }
  .nav-item.open .submenu { display: flex; }
  .nav-item.open .caret { transform: rotate(180deg); }
  /* On phones a tap fires :hover, so the desktop hover-reveal rule (higher
     specificity) would yank the submenu sideways and animate it. Neutralize it. */
  .nav-item.has-children:hover > .submenu,
  .nav-item.has-children:focus-within > .submenu {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .submenu a { padding: 13px 40px; border-top: 1px solid var(--line); }

  .main-nav .nav-give { margin: 12px 24px 0; text-align: center; border: none; }

  /* --- Mobile hero: stacked layout ---
     On phones the wide hero photo becomes a clean band on top (no dark overlay),
     with the headline on a solid navy block beneath — so the child's face is
     never darkened to make room for text. Desktop (the photo-with-text hero
     above) is unchanged; these rules only apply at phone width. */
  .hero {
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    background: var(--blue-dark) !important;      /* solid navy; overrides the JS photo, mobile only */
  }
  .hero::before {
    content: "";
    display: block;
    width: 100%;
    height: 300px;
    background: var(--hero-image, var(--blue-dark)) center 28% / cover no-repeat;
  }
  .hero-overlay { display: none; }
  .hero-content { margin: 0; max-width: none; padding: 32px 0 38px; }
  .hero-content h1 { text-shadow: none; }
  .hero-content p { text-shadow: none; }
  .impact-banner, .ministries, .help { padding: 64px 0; }
  .ministry-grid { grid-template-columns: 1fr; }
  .give-rail { top: auto; bottom: 16px; }
}

/* ============================ INTERIOR PAGES ============================ */
.page-hero {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 96px 0 76px;
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.3rem); margin: 0 0 .25em; }
.page-hero p { color: #dbe4f7; font-size: 1.18rem; max-width: 680px; margin: 0 auto; }

/* Full-width photo banner for interior pages */
.page-banner { position: relative; width: 100%; height: clamp(300px, 46vw, 600px); overflow: hidden; }
.page-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; display: block; }
.page-banner-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 28, 60, .3);
  text-align: center;
  padding: 0 24px;
}
.page-banner-title { flex-direction: column; }
.page-banner-title h1 {
  color: #fff;
  font-size: clamp(2.6rem, 7vw, 5rem);
  margin: 0;
  text-shadow: 0 2px 28px rgba(0, 0, 0, .5);
}
.banner-sub {
  color: #eef2fb;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  margin: .5em 0 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
}

.page-body { padding: 76px 0; }
.prose { max-width: 820px; margin: 0 auto; }
.prose > :first-child { margin-top: 0; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.9rem); text-align: center; margin: 0 0 .8em; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 1.7em 0 .5em; }
.prose p { font-size: 1.13rem; color: var(--ink); margin: 0 0 1.15em; }
.prose .lead { font-size: 1.3rem; color: var(--muted); line-height: 1.6; }
.prose ul { font-size: 1.13rem; color: var(--ink); padding-left: 1.25em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .55em; }
.prose a { font-weight: 600; text-decoration: underline; }

/* Impact page — stat cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin: 6px 0 40px;
}
.stat-card {
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
}
.stat-card .n {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4.4vw, 3rem);
  font-weight: 700;
  line-height: 1;
}
.stat-card .l {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  color: #c9d6f2;
  margin-top: 10px;
}

/* Team page */
.team-section { padding: 72px 0; }
.team-section.alt { background: var(--sand); }
.team-intro { max-width: 780px; margin: 0 auto 46px; text-align: center; }
.team-intro h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: .4em; }
.team-intro p { font-size: 1.1rem; color: var(--muted); margin: 0; }
.team-subhead { text-align: center; font-size: 1.2rem; color: var(--blue); margin: 0 0 30px; letter-spacing: .02em; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 34px; }
.team-card { text-align: center; }
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--blue-light);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo--ph { display: flex; align-items: center; justify-content: center; color: var(--blue); }
.team-photo--ph svg { width: 38%; height: 38%; opacity: .6; }
.team-card h3 { margin: 0 0 .2em; font-size: 1.18rem; }
.team-role { color: var(--muted); font-size: .95rem; margin: 0; line-height: 1.45; }
.team-role em { font-size: .92em; }
/* Centered two-per-row grid; a lone last card centers under the pair */
.team-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; margin-left: auto; margin-right: auto; }
.team-grid--2 > .team-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 17px); margin-left: auto; margin-right: auto; }
@media (max-width: 600px) {
  .team-grid--2 { grid-template-columns: 1fr; }
  .team-grid--2 > .team-card:last-child:nth-child(odd) { grid-column: auto; width: auto; }
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-card { background: var(--sand); border-radius: var(--radius); padding: 34px; }
.contact-card h3 { margin-top: 0; }
.contact-card p { margin: 0 0 .5em; color: var(--ink); }

@media (max-width: 760px) {
  .stat-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .page-body { padding: 56px 0; }
}
@media (max-width: 520px) {
  .stat-grid, .team-grid { grid-template-columns: 1fr; }
}

/* ==================== MISSION / VISION two-column feature ==================== */
.feature { padding: 84px 0; background: #fff; }
.feature-alt { background: var(--sand); }
.feature-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.feature-alt .feature-inner { grid-template-columns: 0.9fr 1.1fr; }
.feature-photo img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; }
.feature-text .script {
  font-family: "Caveat", cursive;
  font-weight: 700;
  color: var(--blue);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  margin: 0 0 .5em;
}
.statement { border-left: 3px solid var(--gold); padding-left: 18px; margin-bottom: 24px; }
.statement:last-child { margin-bottom: 0; }
.statement-label { text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; font-weight: 700; color: var(--gold); margin: 0 0 .35em; }
.statement-text { font-size: 1.12rem; color: var(--ink); line-height: 1.6; margin: 0; }

@media (max-width: 820px) {
  .feature-inner, .feature-alt .feature-inner { grid-template-columns: 1fr; gap: 30px; }
  .feature-alt .feature-photo { order: -1; }
}

/* ==================== Core Values carousel ==================== */
.values-section { padding: 84px 0; background: #fff; }
.values-section h2 { text-align: center; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 40px; }
.values-carousel { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 56px; }
.values-track {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 2px 26px;
}
.values-track::-webkit-scrollbar { height: 8px; }
.values-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.value-card {
  flex: 0 0 clamp(240px, 74vw, 290px);
  scroll-snap-align: start;
  background: var(--sand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  padding: 28px 26px 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.value-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(20, 40, 90, .16); }
.value-card h3 { font-size: 1.35rem; color: var(--blue); margin: 0 0 .4em; }
.value-card .star { color: var(--gold); font-size: .9em; }
.value-card p { color: var(--muted); margin: 0; line-height: 1.6; }
.values-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--blue);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.values-arrow.prev { left: 4px; }
.values-arrow.next { right: 4px; }
.values-arrow:hover { background: var(--blue); color: #fff; }
.values-note { text-align: center; color: var(--muted); font-size: .9rem; margin: 22px auto 0; }
@media (max-width: 680px) {
  .values-carousel { padding: 0 16px; }
  .values-arrow { display: none; }
}

/* ==================== Newsletters (The Lydia Letter) ==================== */
.newsletters { padding: 84px 0; background: #fff; }
.newsletters h2 { text-align: center; font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 8px; }
.nl-sub { text-align: center; color: var(--muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto 48px; }
.newsletter { max-width: 940px; margin: 0 auto 56px; }
.newsletter:last-child { margin-bottom: 0; }
.newsletter h3 { text-align: center; font-size: 1.6rem; margin-bottom: 22px; }
.nl-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 24px; }
.nl-page { padding: 0; border: none; background: none; cursor: pointer; display: block; line-height: 0; }
.nl-page img { width: 100%; border-radius: 8px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.nl-page:hover img { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(20, 40, 90, .2); }
.newsletter .btn { display: block; width: max-content; margin: 0 auto; }
@media (max-width: 680px) { .nl-pages { grid-template-columns: 1fr; } }

/* Newsletter lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(10, 15, 30, .92); }
.lightbox[hidden] { display: none; }
.lb-stage { position: absolute; inset: 0; overflow: auto; display: flex; padding: 24px; -webkit-overflow-scrolling: touch; }
.lb-img {
  margin: auto;
  max-width: calc(100vw - 120px);
  max-height: calc(100vh - 96px);
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
  cursor: zoom-in;
}
.lb-img.zoomed { max-width: none; max-height: none; width: 1600px; border-radius: 0; cursor: zoom-out; }
.lb-close { position: absolute; top: 14px; right: 16px; z-index: 3; background: rgba(15, 22, 44, .82); border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; font-size: 1.05rem; font-weight: 700; line-height: 1; cursor: pointer; padding: 11px 18px; border-radius: 999px; display: inline-flex; align-items: center; }
.lb-close:hover { background: var(--blue); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, .16); color: #fff; font-size: 2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lb-nav:hover { background: rgba(255, 255, 255, .32); }
.lb-nav.prev { left: 18px; }
.lb-nav.next { right: 18px; }
@media (max-width: 680px) {
  .lb-nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .lb-stage { padding: 12px; }
  .lb-img { max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); }
  .lb-img.zoomed { width: 1400px; }
}

/* ==================== Contact page ==================== */
.contact-hero { position: relative; overflow: hidden; }
.contact-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.contact-hero-overlay { position: absolute; inset: 0; background: rgba(15, 28, 60, .42); }
.contact-hero-content { position: relative; z-index: 2; text-align: center; padding: 74px 24px 96px; }
.contact-hero-content h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 0; text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
.contact-hero .banner-sub { color: #eef2fb; font-size: clamp(1.05rem, 2vw, 1.4rem); margin: .45em 0 0; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 960px; margin: 62px auto 0; }
.contact-card {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 48px 24px 30px;
  text-align: center;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .3);
}
.contact-card .c-icon {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}
.contact-card .c-icon svg { width: 26px; height: 26px; color: #fff; }
.contact-card h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .55em; color: var(--ink); }
.contact-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.contact-card a { color: var(--muted); }
.contact-card a:hover { color: var(--blue); }

.contact-form-section { padding: 60px 0 92px; }
.contact-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: stretch; }
.contact-form-wrap h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 28px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .88rem; color: var(--ink); }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(32, 66, 143, .12);
}
.contact-form .btn { align-self: center; margin-top: 8px; }
/* World map (Leaflet) */
.contact-map-section { margin-top: 6px; }
.world-map { width: 100%; height: 470px; background: #e9edf2; }
.world-map .leaflet-tile-pane { filter: grayscale(1) brightness(1.06) contrast(.96); }
.lp-pin {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); background: #fff;
}
.lp-pin svg { display: block; width: 100%; height: 100%; }
.leaflet-popup-content { font-family: "Libre Franklin", sans-serif; font-size: .95rem; line-height: 1.5; color: var(--ink); margin: 12px 16px; }
.leaflet-popup-content strong { color: var(--blue); }
@media (max-width: 820px) {
  .contact-cards { grid-template-columns: 1fr; max-width: 420px; }
  .world-map { height: 360px; }
}

/* ==================== Stories of Hope — full page ==================== */
.stories-page { padding: 80px 0 92px; }
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.stories-grid .story-card { flex: none; max-width: none; }
.stories-cta { margin-top: 58px; }
.ig-follow { display: inline-flex; align-items: center; gap: 10px; }
.ig-follow svg { width: 20px; height: 20px; }
/* full vignette paragraphs in the popup */
.story-modal-body #modal-text p { margin: 0 0 1em; color: var(--ink); line-height: 1.7; }
.story-modal-body #modal-text p:last-child { margin-bottom: 0; }
/* "See all" link under the home-page strip */
.stories-all { display: inline-block; margin-top: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--blue); }
.stories-all:hover { color: var(--blue-dark); }
@media (max-width: 900px) { .stories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stories-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   WHAT WE DO — landing grid, area pages (rows / list), placeholder tiles
   ===================================================================== */

/* Breadcrumb */
.breadcrumb { border-bottom: 1px solid var(--line); font-size: .82rem; }
.breadcrumb .container { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: #c3c8cf; }
.breadcrumb .current { color: var(--ink); }

/* Intro under hero */
.wwd-intro { padding: 58px 0 6px; }
.wwd-intro .lead { max-width: 820px; margin: 0 auto; text-align: center; font-size: 1.25rem; color: var(--muted); line-height: 1.65; }

/* Accessible placeholder tile — reserves 3:2 space so nothing shifts when a real photo is added */
.wwd-ph { display: flex; align-items: center; justify-content: center; background: var(--blue-light); color: var(--blue); }
.wwd-ph-icon { opacity: .4; }
.wwd-ph-icon svg { width: 46px; height: 46px; display: block; }

/* Landing grid of six area cards */
.wwd-landing-section { padding: 56px 0 24px; }
.wwd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.wwd-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; color: inherit; }
.wwd-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 40, 90, .16); }
.wwd-card-photo { aspect-ratio: 3 / 2; overflow: hidden; }
.wwd-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wwd-card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.wwd-card-body h3 { font-size: 1.35rem; margin: 0 0 .3em; }
.wwd-card-body p { color: var(--muted); margin: 0 0 16px; flex: 1; }
.wwd-more { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; color: var(--blue); }
.wwd-card:hover .wwd-more { color: var(--blue-dark); }

/* Alternating image / text rows */
.wwd-rows { padding: 42px 0 84px; }
.wwd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.wwd-row:last-child { margin-bottom: 0; }
.wwd-row--flip .wwd-row-photo { order: 2; }
.wwd-row--noimg { grid-template-columns: 1fr; }
.wwd-row--noimg .wwd-row-text { max-width: 780px; margin: 0 auto; text-align: center; }
.wwd-row-photo { aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.wwd-row-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wwd-row-text h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 0 0 .4em; }
.wwd-row-text p { color: var(--muted); font-size: 1.08rem; line-height: 1.65; margin: 0; }
.wwd-row-text .wwd-more { display: inline-block; margin-top: 16px; }

/* List layout (After-School Programs — club locations) */
.wwd-list-section { padding: 42px 0 84px; }
.wwd-list-body { max-width: 820px; margin: 0 auto 42px; text-align: center; color: var(--ink); font-size: 1.12rem; line-height: 1.7; }
.wwd-list-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 26px; }
.wwd-list { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.wwd-list li { padding: 12px 16px; background: var(--sand); border-radius: 8px; border-left: 3px solid var(--gold); font-weight: 600; color: var(--ink); }

/* Landing call-to-action band */
.wwd-cta { background: var(--sand); padding: 52px 0; text-align: center; margin-top: 40px; }
.wwd-cta-line { font-family: "Playfair Display", serif; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--blue); margin: 0 0 22px; }

/* Visible keyboard focus (site-wide a11y) */
a:focus-visible, button:focus-visible, .btn:focus-visible, .wwd-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

@media (max-width: 900px) {
  .wwd-grid { grid-template-columns: repeat(2, 1fr); }
  .wwd-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .wwd-row, .wwd-row--flip { grid-template-columns: 1fr; gap: 22px; }
  .wwd-row--flip .wwd-row-photo, .wwd-row-photo { order: 0; }  /* image always above text on mobile */
}
@media (max-width: 560px) {
  .wwd-grid { grid-template-columns: 1fr; }
  .wwd-list { grid-template-columns: 1fr; }
}

/* Respect reduced-motion preference (site-wide) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== FOLLOW US page ===== */
.follow-section { padding: 64px 0 84px; }
.follow-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 760px; margin: 0 auto; }
.follow-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 48px 28px 40px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.follow-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(20, 40, 90, .18); }
.follow-badge {
  width: 86px; height: 86px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 22px;
}
.follow-badge svg { width: 42px; height: 42px; }
.follow-fb .follow-badge { background: #1877f2; }
.follow-ig .follow-badge { background: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 78%, #4f5bd5 100%); }
.follow-card h2 { font-size: 1.5rem; margin: 0 0 .25em; }
.follow-handle { color: var(--muted); margin: 0 0 20px; font-size: 1rem; }
.follow-cta { font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: .82rem; color: var(--blue); }
.follow-card:hover .follow-cta { color: var(--blue-dark); }
.follow-note { text-align: center; color: var(--muted); margin: 44px 0 0; font-size: 1.05rem; }
.follow-note a { color: var(--blue); font-weight: 600; }
.follow-note a:hover { color: var(--blue-dark); }
@media (max-width: 620px) {
  .follow-grid { grid-template-columns: 1fr; gap: 22px; max-width: 420px; }
}

/* --- Reserve space for the JS-injected header/footer so the page doesn't jump on load (Fix A) --- */
#site-header { min-height: 79px; }
#site-footer { min-height: 300px; }

/* --- Skip-to-content link: hidden until a keyboard user tabs to it --- */
.skip-link {
  position: absolute; left: 10px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 11px 18px;
  border-radius: 0 0 10px 10px; font-weight: 700; font-size: .95rem;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; outline: 3px solid var(--gold); outline-offset: 2px; }
#main-content:focus { outline: none; }
