/* ==========================================================================
   Health All Round — homepage redesign
   Palette and shapes derived from the original brand:
   green #28AC7A, white, near-black ink, pill buttons, roundel logo.
   ========================================================================== */

:root {
  --green:        #28AC7A;
  --green-strong: #0F7A54;  /* interactive green, AA on white */
  --green-dark:   #0B5C40;
  --green-soft:   #4CC79A;  /* accents on dark ink */
  --ink:          #10312B;
  --ink-soft:     #42615A;
  --mint:         #E9F6F0;
  --mint-deep:    #D9EFE4;
  --paper:        #FFFFFF;
  --shadow-soft:  0 10px 30px rgba(16, 49, 43, .08);
  --shadow-lift:  0 18px 44px rgba(16, 49, 43, .14);

  --font-display: "Quicksand", "Trebuchet MS", sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;

  --fs-900: clamp(2.5rem, 4.6vw + 1rem, 4.35rem);
  --fs-800: clamp(1.9rem, 2.6vw + .9rem, 2.9rem);
  --fs-700: clamp(1.25rem, 1vw + .9rem, 1.55rem);
  --fs-600: clamp(1.1rem, .5vw + 1rem, 1.3rem);
  --fs-500: 1.0625rem;
  --fs-400: .9375rem;
  --fs-300: .8125rem;

  --radius-lg: 26px;
  --radius-md: 18px;
  --pill: 999px;

  --space-section: clamp(4.5rem, 9vw, 7.5rem);
  --header-h: 76px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-500);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--green-strong); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: var(--fs-900); }
h2 { font-size: var(--fs-800); }
h3 { font-size: var(--fs-700); }
h1 em, h2 em { font-style: normal; color: var(--green); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.ic { width: 1.05em; height: 1.05em; flex: none; }

.container { width: min(1180px, 92vw); margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  background: var(--ink); color: #fff; padding: .6em 1.2em; border-radius: var(--pill);
  transform: translateY(-300%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-300);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-strong);
  margin-bottom: .9em;
}
.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-sub { color: var(--ink-soft); font-size: var(--fs-600); max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-display); font-weight: 700; font-size: 1.0325rem;
  padding: .86em 1.7em; border-radius: var(--pill);
  text-decoration: none; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--green-strong); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-donate { background: var(--green); color: var(--ink); }
.btn-donate .ic path { fill: var(--ink); }
.btn-donate:hover { background: #33c68e; }
.btn-secondary { background: transparent; color: var(--green-strong); border-color: var(--green-strong); }
.btn-secondary:hover { background: var(--green-strong); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mint); }

.text-link {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-display); font-weight: 700; color: var(--green-strong);
  text-decoration: none; border-bottom: 2px solid transparent;
}
.text-link:hover { border-color: currentColor; }
.text-link.is-light { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-block: 10px;
  transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease;
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-logo { width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(16,49,43,.18); }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; line-height: 1.05;
  color: var(--ink);
}
.brand-name em { font-style: normal; color: var(--green-strong); }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.site-nav ul { display: flex; gap: clamp(.6rem, 1.6vw, 1.5rem); }
.site-nav a:not(.btn) {
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  color: var(--ink); text-decoration: none; padding: .4em .2em;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.site-nav a:not(.btn):hover, .site-nav a:not(.btn)[aria-current] { border-color: var(--green); }
.nav-donate { padding: .6em 1.35em; font-size: .95rem; }

.site-header.is-solid { background: rgba(255,255,255,.96); box-shadow: 0 2px 20px rgba(16,49,43,.09); padding-block: 6px; }

.nav-toggle {
  display: none; margin-left: auto; z-index: 120;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--mint); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s, background-color .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 0; z-index: 110;
    flex-direction: column; justify-content: center; gap: 2rem;
    background: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  }
  .site-nav ul { flex-direction: column; align-items: center; gap: 1.1rem; }
  .site-nav a:not(.btn) { color: #fff !important; font-size: 1.35rem; }
  body.nav-open .site-nav { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle { background: rgba(255,255,255,.14); }
  body.nav-open .nav-toggle span { background: #fff; }
}

/* ---------- Hero (bright animated gradient) ---------- */
.hero {
  position: relative; min-height: max(92svh, 620px);
  display: flex; align-items: center;
  color: var(--ink); overflow: hidden;
  background: linear-gradient(165deg, #F7FCFA 0%, #EAF6F0 55%, #DCF1E6 100%);
}
.hero-media { position: absolute; inset: 0; }
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); will-change: transform;
}
.hero-blob-1 {
  width: 52vw; height: 52vw; top: -16%; left: -14%;
  background: radial-gradient(circle, rgba(40, 172, 122, .38), transparent 68%);
  animation: blobDrift1 36s ease-in-out infinite alternate;
}
.hero-blob-2 {
  width: 42vw; height: 42vw; top: 2%; right: -12%;
  background: radial-gradient(circle, rgba(255, 205, 128, .34), transparent 68%);
  animation: blobDrift2 44s ease-in-out infinite alternate;
}
.hero-blob-3 {
  width: 46vw; height: 46vw; bottom: -24%; left: 22%;
  background: radial-gradient(circle, rgba(15, 122, 84, .22), transparent 68%);
  animation: blobDrift3 40s ease-in-out infinite alternate;
}
.hero-blob-4 {
  width: 30vw; height: 30vw; bottom: 4%; right: 16%;
  background: radial-gradient(circle, rgba(255, 255, 255, .85), transparent 70%);
  animation: blobDrift1 30s ease-in-out infinite alternate-reverse;
}
@keyframes blobDrift1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(6vw, 4vh) scale(1.12); } }
@keyframes blobDrift2 { from { transform: translate(0, 0) scale(1.08); } to { transform: translate(-5vw, 6vh) scale(.94); } }
@keyframes blobDrift3 { from { transform: translate(0, 0) scale(.96); } to { transform: translate(4vw, -5vh) scale(1.1); } }
.hero-path { position: absolute; inset: auto 0 0; width: 100%; height: clamp(140px, 20vw, 260px); }

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.6rem, 3.5vw, 3.5rem);
  align-items: center;
  padding-block: clamp(6.5rem, 13vh, 9rem) clamp(4rem, 8vh, 5.5rem);
}
.hero-panel {
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(16, 49, 43, .08);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.8rem);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}
.hero-side { display: grid; gap: 1.2rem; align-content: center; }
.hero-video-card { margin: 0; }
.hero-video-frame { position: relative; }
.hero-video-card video {
  width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: 0 18px 44px rgba(16, 49, 43, .18);
  border: 1px solid rgba(16, 49, 43, .08);
  display: block;
}
/* Custom play button (hide the browser's native overlay button) */
.hero-video-card video::-webkit-media-controls-overlay-play-button { display: none; }
.video-play-btn {
  position: absolute; top: 50%; left: 50%;
  width: 72px; height: 72px; border: none; border-radius: 50%;
  background: var(--green); color: #fff; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(16, 49, 43, .35);
  transform: translate(-50%, -50%);
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease, opacity .25s ease, visibility .25s;
  z-index: 3;
}
.video-play-btn svg { width: 30px; height: 30px; margin-left: 3px; }
.video-play-btn::before {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid var(--green); opacity: 0;
}
.video-play-btn:hover, .video-play-btn:focus-visible {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--green-strong);
  box-shadow: 0 14px 34px rgba(16, 49, 43, .45);
  outline: none;
}
.video-play-btn:hover::before, .video-play-btn:focus-visible::before {
  animation: playPulse 1.4s ease-out infinite;
}
@keyframes playPulse {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(1.7); opacity: 0; }
}
.hero-video-card.is-playing .video-play-btn {
  opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(.7);
}
.hero-video-card figcaption {
  display: inline-block;
  margin-top: .8rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-400);
  color: var(--ink);
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--mint-deep);
  border-radius: var(--pill);
  padding: .45em 1.2em;
}
.hero-team-card { margin: 0; position: relative; }
.hero-team-card img {
  width: 100%; height: auto; display: block; /* full team photo, never cropped */
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(16, 49, 43, .14);
  border: 1px solid rgba(16, 49, 43, .08);
}
.hero-team-card figcaption {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-300);
  background: rgba(255, 255, 255, .92); color: var(--ink);
  padding: .45em 1em; border-radius: var(--pill);
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { max-width: 560px; }
}
.hero-eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-400);
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1em;
  color: var(--green-strong);
}
.hero-eyebrow span { color: var(--green); margin-inline: .25em; }
.hero-title { max-width: 13ch; text-wrap: balance; }
.hero-title em { color: var(--green-strong); }
.hero-lead { max-width: 58ch; font-size: var(--fs-600); color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.hero-chips li {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-300);
  padding: .45em 1.1em; border-radius: var(--pill);
  background: #fff; border: 1px solid var(--mint-deep); color: var(--ink-soft);
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(16, 49, 43, .3); border-radius: 14px;
  z-index: 2;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--green-strong); border-radius: 2px; animation: scrollNudge 1.8s ease-in-out infinite;
}
@keyframes scrollNudge { 0%,100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: .2; } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 3; }
.stats-card {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 3vw, 2.6rem);
  background: var(--paper); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: clamp(1.8rem, 3.5vw, 3rem);
  margin-top: clamp(-4.5rem, -6vw, -3rem);
}
.stat { text-align: left; }
.stat-medal {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--mint); color: var(--green-strong);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.stat-medal svg { width: 30px; height: 30px; }
.stat-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 2.6vw + .8rem, 3rem); line-height: 1; letter-spacing: -.02em;
  margin: 0 0 .3rem; color: var(--ink);
}
.stat-label { font-size: var(--fs-400); color: var(--ink-soft); margin: 0; max-width: 24ch; }

@media (max-width: 900px) { .stats-card { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats-card { grid-template-columns: 1fr 1fr; gap: 1.4rem; } .stat-label { font-size: .85rem; } }

/* ---------- Services (compact cards: image or icon tile + tag + title) ---------- */
.services { padding-block: var(--space-section) var(--space-section); }
.services-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(.9rem, 1.8vw, 1.4rem);
}
.service-card {
  grid-column: span 3;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1.5px solid var(--mint-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none; color: var(--ink);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
/* 8 cards: two rows of four */
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--green); }
.service-media { aspect-ratio: 16 / 9.5; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-card:hover .service-media img { transform: scale(1.05); }
/* Logos / non-landscape graphics: show the whole image instead of cropping */
.service-media.is-contain { background: var(--paper); }
.service-media.is-contain img { object-fit: contain; padding: .6rem; }
.service-media.is-icon {
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--mint) 0%, var(--mint-deep) 100%);
  color: var(--green-strong);
}
.service-media.is-icon svg { width: 54px; height: 54px; transition: transform .25s ease; }
.service-card:hover .service-media.is-icon svg { transform: scale(1.12) rotate(-5deg); }
.service-body { padding: 1.1rem 1.3rem 1.25rem; }
.service-tag {
  font-family: var(--font-display); font-size: .74rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--green-strong);
  margin-bottom: .3em;
}
.service-title {
  display: flex; align-items: center; justify-content: space-between; gap: .5em;
  font-size: 1.22rem; margin: 0;
}
.service-title .ic { color: var(--green-strong); transition: transform .2s ease; flex: none; }
.service-card:hover .service-title .ic { transform: translateX(4px); }

@media (max-width: 980px) {
  .service-card { grid-column: span 6; }
}
@media (max-width: 560px) {
  .service-card { grid-column: span 12; }
  .service-media { aspect-ratio: 16 / 8; }
}

/* ---------- About ---------- */
.about { position: relative; background: var(--mint); padding-block: var(--space-section); overflow: hidden; }
.about-path { position: absolute; inset: auto 0 0; width: 100%; height: clamp(160px, 26vw, 320px); }
.walk-path {
  stroke: var(--green); stroke-width: 3; opacity: .38;
  stroke-linecap: round; stroke-dasharray: 1 14;
}
.about-path .walk-path, .volunteer-path .walk-path {
  stroke-dashoffset: 0;
}
.about-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 4rem); align-items: end;
}
.about-copy p:not(.eyebrow), .about-copy-2 p { color: var(--ink-soft); max-width: 58ch; }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 1.6rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Team ---------- */
.team { padding-block: var(--space-section) calc(var(--space-section) * .8); overflow: hidden; }
.team .section-head { margin-bottom: 1.6rem; }
.team-marquee {
  --marquee-speed: 46s;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.team-track {
  display: flex; gap: clamp(1.6rem, 3vw, 2.8rem);
  width: max-content; padding-block: 1rem;
  animation: marquee var(--marquee-speed) linear infinite;
  animation-play-state: paused;
}
.team-marquee.is-live .team-track { animation-play-state: running; }
.team-marquee:hover .team-track, .team-track:focus-within { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.team-track li {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: 128px; flex: none;
}
.team-track img {
  width: 104px; height: 104px; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--mint-deep);
  box-shadow: var(--shadow-soft);
  margin-bottom: .7rem;
  transition: border-color .2s ease, transform .2s ease;
}
.team-track li:hover img { border-color: var(--green); transform: scale(1.05); }
.team-track strong { font-family: var(--font-display); font-size: .92rem; line-height: 1.25; }
.team-track strong small { font-weight: 600; color: var(--ink-soft); font-size: .8em; }
.team-track span { font-size: .8rem; color: var(--green-strong); font-weight: 600; }

/* ---------- Mosaic ---------- */
.mosaic { background: var(--mint); padding-block: var(--space-section); }
.mosaic-grid {
  display: grid; gap: clamp(.8rem, 1.6vw, 1.2rem);
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(130px, 17vw, 215px);
}
.mosaic-tile { position: relative; margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.mosaic-tile.is-big { grid-column: span 2; grid-row: span 2; }
.mosaic-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic-tile:hover img { transform: scale(1.05); }
.mosaic-tile figcaption {
  position: absolute; inset: auto 10px 10px;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-300);
  color: #fff; text-shadow: 0 1px 8px rgba(11,32,27,.65);
  background: linear-gradient(to top, rgba(11,32,27,.5), transparent);
  margin: -10px; padding: 2.2em 1.2em .9em;
  pointer-events: none;
}
.mosaic-more {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  background: var(--green-strong); color: #fff; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-600);
  text-align: center; padding: 1rem;
  transition: background-color .2s ease;
}
.mosaic-more:hover { background: var(--green-dark); }
.mosaic-more .ic { width: 1.6em; height: 1.6em; transition: transform .2s ease; }
.mosaic-more:hover .ic { transform: translateX(6px); }
@media (max-width: 760px) {
  .mosaic-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(120px, 26vw, 180px); }
}

/* ---------- Quotes ---------- */
.quotes { padding-block: var(--space-section); }
.quotes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem);
  align-items: start;
}
.quote-card {
  margin: 0; background: var(--paper);
  border: 1.5px solid var(--mint-deep); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  transition: transform .22s ease, box-shadow .22s ease;
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.quote-card.is-tall { background: var(--ink); color: #fff; border-color: var(--ink); }
.quote-card.is-tall footer { color: var(--green-soft); }
.quote-card.is-tall .quote-mark { color: var(--green-soft); }
.quote-mark { width: 34px; height: 34px; color: var(--green); margin-bottom: .8rem; }
.quote-card p { font-size: var(--fs-600); font-weight: 600; line-height: 1.5; font-family: var(--font-display); }
.quote-card footer { font-size: var(--fs-400); font-weight: 700; color: var(--green-strong); }
.quote-card footer::before { content: "— "; }
@media (max-width: 860px) { .quotes-grid { grid-template-columns: 1fr; } }

/* ---------- Volunteer band ---------- */
.volunteer {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--ink) 90%);
  color: #fff;
  padding-block: var(--space-section);
  text-align: center;
}
.volunteer-path { position: absolute; inset: 0 0 auto; width: 100%; height: 100%; }
.volunteer .walk-path { opacity: .22; stroke: var(--green-soft); }
.volunteer-inner { position: relative; max-width: 680px; }
.volunteer .eyebrow { color: var(--green-soft); }
.volunteer h2 { text-wrap: balance; }
.volunteer h2 em { color: var(--green-soft); }
.volunteer p { color: rgba(255,255,255,.86); font-size: var(--fs-600); }
.volunteer-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.4rem; margin-top: 1.8rem; }

/* ---------- Stay connected: news + Facebook ---------- */
.connect { padding-block: var(--space-section); }
.connect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 2.4vw, 2rem); align-items: start; }

.news-card {
  display: flex; flex-direction: column;
  background: var(--mint); border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: var(--ink); height: 100%;
  transition: transform .22s ease, box-shadow .22s ease;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.news-card > img { width: 100%; height: auto; display: block; }
.news-body { padding: clamp(1.5rem, 2.4vw, 2.2rem); display: flex; flex-direction: column; align-items: flex-start; flex-grow: 1; }
.news-body h3 { font-size: var(--fs-700); }
.news-item { font-size: var(--fs-400); color: var(--ink-soft); margin-bottom: .5em; }
.news-item span {
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  color: var(--green-strong); text-transform: uppercase; letter-spacing: .08em; margin-right: .5em;
}
.news-body .service-link { margin-top: auto; padding-top: 1rem; }

/* Facebook feed card */
.fb-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1.5px solid var(--mint-deep); border-radius: var(--radius-lg);
  overflow: hidden;
}
.fb-embed { position: relative; display: flex; flex-direction: column; align-items: center; padding: .9rem .9rem 1.1rem; background: #f6f8fb; flex-grow: 1; }
.fb-embed iframe { width: 100%; max-width: 500px; border-radius: var(--radius-md); background: #fff; }
.fb-fallback { font-size: var(--fs-300); color: var(--ink-soft); text-align: center; margin: .8rem 0 0; }
.fb-fallback a { color: var(--green-strong); font-weight: 700; }

@media (max-width: 900px) { .connect-grid { grid-template-columns: 1fr; } .fb-card { max-width: 460px; } }

/* ---------- Funders strip ---------- */
.funders { padding-block: 0 var(--space-section); }
.funders-inner {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--mint); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 3rem);
}
.funders-intro h2 { font-size: var(--fs-600); font-weight: 600; line-height: 1.35; color: var(--ink-soft); margin: 0; }
.funders-intro .eyebrow { margin-bottom: .6em; }
.funders-logos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0;
}
.funders-logos li { display: grid; place-items: center; background: #fff; border: 1px solid var(--mint-deep); border-radius: var(--radius-md); padding: .8rem; }
.funders-logos a { display: grid; place-items: center; }
.funders-logos img {
  max-height: 48px; width: auto; max-width: 100%; object-fit: contain;
  filter: grayscale(1); opacity: .75; transition: filter .25s ease, opacity .25s ease;
}
.funders-logos li:hover img { filter: none; opacity: 1; }
@media (max-width: 760px) { .funders-inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.85); padding-block: clamp(3.4rem, 6vw, 5.5rem) 1.6rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.2fr; gap: clamp(2rem, 4vw, 3.4rem);
  padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,.16);
}
.footer-brand img { border-radius: 50%; background: #fff; margin-bottom: .9rem; }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; margin-bottom: .5rem; }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--green-soft); }
.footer-social { display: flex; gap: .7rem; margin-top: 1.1rem; }
.footer-social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.1); transition: background-color .2s ease;
}
.footer-social a:hover { background: var(--green-strong); color: #fff; }
.footer-social svg { width: 20px; height: 20px; }
.footer-head { font-family: var(--font-display); font-weight: 700; color: #fff; margin-bottom: 1rem; letter-spacing: .04em; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-support p:not(.footer-head) { font-size: var(--fs-400); color: rgba(255,255,255,.65); }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem;
  padding-top: 1.4rem; font-size: var(--fs-300); color: rgba(255,255,255,.55);
}
.footer-legal p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky donate ---------- */
.sticky-donate {
  position: fixed; right: clamp(14px, 2.4vw, 28px); bottom: clamp(14px, 2.4vw, 28px); z-index: 90;
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--green); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  padding: .85em 1.55em; border-radius: var(--pill);
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(15, 122, 84, .45);
  opacity: 0; transform: translateY(18px) scale(.94); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background-color .2s ease;
}
.sticky-donate .ic path { fill: var(--ink); }
.sticky-donate.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.sticky-donate:hover { background: #33c68e; transform: translateY(-3px); }
.sticky-donate.is-visible .ic { animation: heartbeat 2.4s ease-in-out infinite; }
@keyframes heartbeat {
  0%, 28%, 100% { transform: scale(1); }
  10% { transform: scale(1.18); }
  19% { transform: scale(1.05); }
}

/* ---------- Reveal animations (gated on .js so content is never hidden without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .65, .3, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.quotes-grid .reveal:nth-child(2), .mosaic-grid .reveal:nth-child(2) { transition-delay: .08s; }
.quotes-grid .reveal:nth-child(3), .mosaic-grid .reveal:nth-child(3) { transition-delay: .16s; }
.mosaic-grid .reveal:nth-child(4) { transition-delay: .1s; }
.mosaic-grid .reveal:nth-child(5) { transition-delay: .18s; }
.mosaic-grid .reveal:nth-child(6) { transition-delay: .26s; }
/* Services: 4+4 grid, stagger within each row */
.services-grid .reveal:nth-child(2), .services-grid .reveal:nth-child(6) { transition-delay: .07s; }
.services-grid .reveal:nth-child(3), .services-grid .reveal:nth-child(7) { transition-delay: .14s; }
.services-grid .reveal:nth-child(4), .services-grid .reveal:nth-child(8) { transition-delay: .21s; }
.hero .reveal { transition-duration: .9s; }
.hero-grid .reveal:nth-child(2) { transition-delay: .18s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-blob { animation: none; }
  .hero-scroll span { animation: none; }
  .team-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .team-marquee { mask-image: none; -webkit-mask-image: none; }
  .sticky-donate .ic { animation: none; }
  .btn, .service-card, .quote-card, .news-card, .mosaic-tile img, .service-medal, .video-play-btn { transition: none; }
  .video-play-btn:hover::before, .video-play-btn:focus-visible::before { animation: none; }
}
