/* ============ Tokens ============ */
:root {
  --teal: #00b6bd;
  --teal-deep: #007a80;
  --slate: #334155;
  --white: #ffffff;
  --terracotta: #c9673f;
  --terracotta-deep: #a34f2f;
  --gold: #c89b3c;
  --warm-white: #fdfaf6;
  --urgent: #c1443a;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, sans-serif;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 26px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 2.75rem;
  --space-5: 4.5rem;
  --space-6: 6rem;

  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate);
  background:
    radial-gradient(ellipse 1200px 700px at 15% 0%, rgba(0, 182, 189, 0.07), transparent 60%),
    radial-gradient(ellipse 900px 600px at 100% 30%, rgba(200, 155, 60, 0.06), transparent 55%),
    var(--white);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--slate);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-s);
  z-index: 200;
}
.skip-link:focus { left: var(--space-2); top: var(--space-2); }

a { color: inherit; }

/* Grain overlay: a warm, tactile paper texture over the whole page. */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.1;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feComponentTransfer><feFuncA type='linear' slope='2.2' intercept='-0.35'/></feComponentTransfer></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
}
@media print {
  .grain-overlay { display: none; }
}

/* ============ Woven trim — the one recurring human touch ============ */
.woven-trim {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--teal) 0 10px,
    var(--gold) 10px 16px,
    var(--terracotta) 16px 26px,
    var(--gold) 26px 32px
  );
}
.woven-trim--header {
  transform: scaleX(0);
  transform-origin: left center;
  animation: weave-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
@keyframes weave-in {
  to { transform: scaleX(1); }
}

/* ============ Type ============ */
.hero-heading, .section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--slate);
  letter-spacing: -0.01em;
}
.hero-heading { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.08; max-width: 18ch; margin: 0 0 var(--space-3); }
.section-heading { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; max-width: 24ch; margin: 0 0 var(--space-3); }
.section-heading--on-dark { color: var(--white); }
.section-heading--on-accent { color: var(--white); }
.section-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-lede { max-width: 62ch; margin: 0 auto var(--space-4); font-size: 1.05rem; }

.hero-place {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--teal-deep);
  margin: 0 0 var(--space-2);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn--primary { background: var(--teal-deep); color: var(--white); box-shadow: 0 8px 20px -10px rgba(0, 122, 128, 0.55); }
.btn--primary:hover { background: var(--teal); }

.btn--gold { background: var(--gold); color: var(--slate); }
.btn--gold:hover { background: #b78a2f; }

.btn--ghost { background: transparent; color: var(--slate); border-color: rgba(51, 65, 85, 0.3); }
.btn--ghost:hover { border-color: var(--slate); }

.btn--on-accent { background: var(--white); color: var(--terracotta-deep); }
.btn--on-accent:hover { background: #fff3ec; }

.btn--on-accent-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn--on-accent-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 250, 246, 0.92);
  backdrop-filter: blur(10px);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-2) var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.brand { display: flex; align-items: center; }
.brand-mark { height: 64px; width: auto; }

.main-nav { display: flex; gap: 1.35rem; margin-left: var(--space-2); flex: 1; min-width: 0; }
.main-nav a {
  text-decoration: none;
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  padding: 0.3rem 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--terracotta);
  transition: right 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; gap: var(--space-2); }
.header-actions .btn { padding: 0.65rem 1.2rem; font-size: 0.88rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 0.4rem; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--slate); border-radius: 2px; }

/* ============ Hero — photo-led ============ */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  min-height: 78vh;
}
.hero-photo {
  position: relative;
  overflow: hidden;
  clip-path: inset(0 0 0 100%);
  animation: hero-photo-reveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}
@keyframes hero-photo-reveal {
  to { clip-path: inset(0 0 0 0%); }
}
.hero-photo-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-photo-settle 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}
@keyframes hero-photo-settle {
  to { transform: scale(1); }
}

.hero-line-wrap { display: block; overflow: hidden; }
.hero-line { display: block; }
.hero-anim {
  opacity: 0;
  transform: translateY(100%);
  animation: hero-line-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-place.hero-anim { animation-delay: 0.15s; }
.hero-line-wrap:nth-of-type(1) .hero-line { animation-delay: 0.3s; }
.hero-line-wrap:nth-of-type(2) .hero-line { animation-delay: 0.42s; }
.hero-lede.hero-anim { animation-delay: 0.62s; }
.hero-ctas.hero-anim { animation-delay: 0.74s; }
@keyframes hero-line-up {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo, .hero-photo-img, .hero-anim {
    animation: none !important;
    clip-path: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
.hero-copy {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-5) var(--space-4);
  background:
    radial-gradient(ellipse 800px 500px at 0% 0%, rgba(0, 182, 189, 0.08), transparent 60%),
    var(--warm-white);
}
.hero-lede { font-size: 1.12rem; max-width: 46ch; margin-bottom: var(--space-3); }
.hero-ctas { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* ============ Page hero — subpage banner ============ */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero-photo {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 0);
  animation: page-hero-reveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes page-hero-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
.page-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 4%;
  transform: scale(1.08);
  animation: page-hero-settle 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes page-hero-settle {
  to { transform: scale(1); }
}
.page-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(51, 65, 85, 0.55), rgba(51, 65, 85, 0.72));
}
.page-hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-5) var(--space-3);
  max-width: 720px;
}
.page-hero-copy .section-heading { color: var(--white); }
.page-hero-copy .section-lede { color: rgba(255, 255, 255, 0.88); }
.page-hero-anim {
  opacity: 0;
  transform: translateY(16px);
  animation: page-hero-line-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.page-hero-copy .section-heading.page-hero-anim { animation-delay: 0.15s; }
.page-hero-copy .section-lede.page-hero-anim { animation-delay: 0.28s; }
@keyframes page-hero-line-up {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero-photo, .page-hero-photo img, .page-hero-anim {
    animation: none !important;
    clip-path: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.founder-portrait-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-l);
}
.founder-portrait figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #6b7885;
  text-align: center;
}

/* ============ Stats ============ */
.stats { background: var(--slate); padding: var(--space-5) var(--space-3); }
.stats-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.stat { display: flex; flex-direction: column; gap: 0.4rem; border-left: 1px solid rgba(255, 255, 255, 0.18); padding-left: var(--space-3); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat-figure { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.2vw, 2.7rem); color: var(--gold); line-height: 1; }
.stat-plus { color: var(--teal); }
.stat-label { color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; max-width: 22ch; }

/* ============ Panels ============ */
.panel { padding: var(--space-6) var(--space-3); position: relative; overflow: hidden; }

/* Soft floating color blobs: organic depth behind a few sections. */
.bg-blobs { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.hero-copy > *:not(.bg-blobs) { position: relative; z-index: 1; }
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  animation: blob-drift 26s ease-in-out infinite;
}
.bg-blob--teal {
  width: 420px; height: 420px;
  background: var(--teal);
  top: -120px; right: -100px;
  animation-duration: 30s;
}
.bg-blob--gold {
  width: 320px; height: 320px;
  background: var(--gold);
  bottom: -140px; left: -80px;
  animation-duration: 24s;
  animation-delay: -6s;
}
.bg-blob--terracotta {
  width: 380px; height: 380px;
  background: var(--terracotta);
  top: -100px; left: 55%;
  opacity: 0.22;
  animation-duration: 28s;
}
.bg-blob--teal-dark {
  width: 460px; height: 460px;
  background: var(--teal);
  bottom: -180px; right: 5%;
  opacity: 0.28;
  animation-duration: 32s;
}
@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.08); }
  66% { transform: translate(-20px, 25px) scale(0.95); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-blob { animation: none; }
}
.panel-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; }
.panel--tint {
  background:
    radial-gradient(ellipse 900px 500px at 85% 100%, rgba(0, 182, 189, 0.06), transparent 60%),
    #fbf9f5;
}
.panel--dark { background: var(--slate); }
.panel--accent { background: linear-gradient(155deg, var(--terracotta), var(--terracotta-deep)); }

/* ============ Founder ============ */
.founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: center; }
.founder-portrait { margin: 0; }
.founder-copy p { font-size: 1.05rem; max-width: 60ch; }

/* ============ Services ============ */
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.service-card {
  padding: var(--space-3);
  border: 1px solid rgba(51, 65, 85, 0.12);
  border-radius: var(--radius-m);
  background: var(--white);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(51, 65, 85, 0.22), 0 8px 16px -12px rgba(51, 65, 85, 0.12);
}
.service-card--urgent { border: 1.5px solid rgba(193, 68, 58, 0.4); }
.service-card--urgent:hover { box-shadow: 0 24px 48px -24px rgba(193, 68, 58, 0.28), 0 8px 16px -12px rgba(193, 68, 58, 0.14); }
.service-icon { display: inline-flex; width: 48px; height: 48px; color: var(--teal-deep); margin-bottom: var(--space-2); }
.service-icon--urgent { color: var(--urgent); }
.service-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; color: var(--slate); margin: 0 0 0.5rem; }
.emergency-number-note { margin-top: var(--space-2); font-size: 0.88rem; font-style: italic; color: var(--urgent); }

/* ============ Gallery ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}
.gallery-item {
  margin: 0;
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-img--surgical-team { object-position: 78% 35%; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.6rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(to top, rgba(27, 20, 15, 0.65), transparent);
}

.gallery-grid--full { grid-template-columns: repeat(3, 1fr); }

/* ============ Milestones ============ */
.milestone-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 70ch;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.milestone-list li {
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(51, 65, 85, 0.12);
  font-size: 1.02rem;
}
.milestone-list li:last-child { border-bottom: none; padding-bottom: 0; }
.milestone-list strong { display: block; font-family: var(--font-display); color: var(--teal-deep); margin-bottom: 0.2rem; }

/* ============ Giving channels ============ */
.giving-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.giving-card {
  padding: var(--space-4);
  border: 1px solid rgba(51, 65, 85, 0.12);
  border-radius: var(--radius-l);
  background: #fbf9f5;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.giving-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(51, 65, 85, 0.22), 0 8px 16px -12px rgba(51, 65, 85, 0.12);
}
.giving-card h2 { font-family: var(--font-display); font-size: 1.4rem; margin: 0 0 0.2rem; }
.giving-card-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 var(--space-2);
}
.giving-methods { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.95rem; }
.giving-methods a { color: var(--teal-deep); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(0, 122, 128, 0.35); }
.giving-methods a:hover { border-color: currentColor; }
.giving-card-note { font-size: 0.88rem; color: #6b7885; margin-top: var(--space-2); }
.giving-card-note a { color: var(--teal-deep); font-weight: 700; }
.support-note--dark { color: #6b7885; margin-top: var(--space-4); }

/* ============ Impact tiers ============ */
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.impact-card {
  padding: var(--space-3);
  border-radius: var(--radius-m);
  background: var(--white);
  border: 1px solid rgba(51, 65, 85, 0.12);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(51, 65, 85, 0.22), 0 8px 16px -12px rgba(51, 65, 85, 0.12);
}
.impact-card-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--terracotta-deep);
  margin-bottom: 0.4rem;
}
.impact-card p { margin: 0; font-size: 0.95rem; }

/* ============ Academy ============ */
.academy-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: var(--space-5); align-items: start; }
.academy-copy p { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; }
.discipline-groups { display: flex; flex-direction: column; gap: var(--space-3); }
.discipline-group-label {
  display: block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.discipline-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.discipline-group li {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(0, 182, 189, 0.4);
  border-radius: 999px;
  background: rgba(0, 182, 189, 0.1);
}

/* ============ Recognition ============ */
.recognition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-3);
}
.recognition-item { margin: 0; }
.recognition-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-m);
  margin-bottom: 0.6rem;
}
.recognition-item figcaption {
  font-size: 0.88rem;
  color: #6b7885;
  text-align: center;
}

/* ============ Partners ============ */
.partners {
  padding: var(--space-3);
  text-align: center;
  border-top: 1px solid rgba(51, 65, 85, 0.12);
  border-bottom: 1px solid rgba(51, 65, 85, 0.12);
}
.partners-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7885;
  margin: 0 0 var(--space-2);
}
.partners-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  max-width: 900px;
  margin-inline: auto;
}
.partners-list li {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--slate);
  font-size: 0.98rem;
}

.section-more { text-align: center; margin-top: var(--space-3); }

/* ============ Support ============ */
.support-lede { color: rgba(255, 255, 255, 0.9); }
.support-actions { display: flex; justify-content: center; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-3); }
.support-note { text-align: center; color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; max-width: 50ch; margin: 0 auto; }

/* ============ Donate + volunteer split ============ */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: start; }
.check-list { list-style: none; margin: var(--space-2) 0 var(--space-3); padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  color: rgba(255, 255, 255, 0.9);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.check-list li::after {
  content: "✓";
  position: absolute;
  left: 0.28rem;
  top: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
}
.check-list a { color: var(--white); text-decoration: underline; }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--space-5); }
.contact-photo { margin: 0 0 var(--space-3); }
.contact-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-l);
}
.contact-details { list-style: none; margin: var(--space-2) 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.contact-details a {
  font-weight: 700;
  color: var(--teal-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 122, 128, 0.35);
}
.contact-details a:hover { border-color: currentColor; }
.contact-emergency { font-weight: 700; color: var(--urgent); }
.emergency-number-note a {
  color: var(--urgent);
  text-decoration: none;
  border-bottom: 1px solid rgba(193, 68, 58, 0.4);
}
.emergency-number-note a:hover { border-color: currentColor; }
.consultation-form { background: #fbf9f5; border-radius: var(--radius-m); padding: var(--space-3); border: 1px solid rgba(51, 65, 85, 0.12); }
.form-note { font-size: 0.85rem; color: #6b7885; font-style: italic; margin-top: 0; }
.form-row { margin-bottom: var(--space-2); display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-weight: 600; font-size: 0.9rem; }
.form-error { font-size: 0.82rem; color: var(--urgent); min-height: 1.1em; }
.form-row input[aria-invalid="true"], .form-row textarea[aria-invalid="true"] {
  border-color: var(--urgent);
}
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-s);
  border: 1.5px solid rgba(51, 65, 85, 0.25);
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 182, 189, 0.18);
}
.form-status { font-weight: 600; color: var(--teal-deep); min-height: 1.2em; }

/* ============ Footer ============ */
.site-footer { background: var(--slate); color: rgba(255, 255, 255, 0.85); }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: var(--space-4) var(--space-3); display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.footer-mark-plate {
  display: inline-flex;
  align-items: center;
  background: var(--warm-white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-m);
}
.footer-mark { height: 50px; width: auto; }
.site-footer nav { display: flex; gap: var(--space-3); flex-wrap: wrap; flex: 1; }
.site-footer nav a { text-decoration: none; color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.site-footer nav a:hover { color: var(--white); }
.footer-note { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin: 0; }

/* ============ Reveal-on-scroll ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Lists reveal as lists: a capped stagger, not a uniform block fade. */
.service-list .reveal:nth-child(1) { transition-delay: 0s; }
.service-list .reveal:nth-child(2) { transition-delay: 0.08s; }
.service-list .reveal:nth-child(3) { transition-delay: 0.16s; }
.service-list .reveal:nth-child(4) { transition-delay: 0.24s; }
.stats-inner .reveal:nth-child(1) { transition-delay: 0s; }
.stats-inner .reveal:nth-child(2) { transition-delay: 0.08s; }
.stats-inner .reveal:nth-child(3) { transition-delay: 0.16s; }
.stats-inner .reveal:nth-child(4) { transition-delay: 0.24s; }
.gallery-grid .reveal:nth-child(1) { transition-delay: 0s; }
.gallery-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.gallery-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.gallery-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.gallery-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.gallery-grid .reveal:nth-child(6) { transition-delay: 0.4s; }
.gallery-grid .reveal:nth-child(n+7) { transition-delay: 0.4s; }
.giving-grid .reveal:nth-child(1) { transition-delay: 0s; }
.giving-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.impact-grid .reveal:nth-child(1) { transition-delay: 0s; }
.impact-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.impact-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.impact-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.recognition-grid .reveal:nth-child(1) { transition-delay: 0s; }
.recognition-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.recognition-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.recognition-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.milestone-list .reveal:nth-child(1) { transition-delay: 0s; }
.milestone-list .reveal:nth-child(2) { transition-delay: 0.06s; }
.milestone-list .reveal:nth-child(3) { transition-delay: 0.12s; }
.milestone-list .reveal:nth-child(4) { transition-delay: 0.18s; }
.milestone-list .reveal:nth-child(5) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { justify-content: space-between; }
  .header-actions .btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo-img { min-height: 260px; }
  .founder-grid, .academy-grid, .contact-grid, .split-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .service-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .recognition-grid { grid-template-columns: 1fr; }
  .giving-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--warm-white);
    padding: var(--space-2) var(--space-3) var(--space-3);
    border-bottom: 1px solid rgba(0, 122, 128, 0.2);
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 86px; }
  .panel { padding: var(--space-5) var(--space-2); }
  .header-inner { padding: var(--space-2); gap: var(--space-1); }
  .brand-mark { height: 44px; }
  .header-actions .btn { padding: 0.45rem 0.7rem; font-size: 0.72rem; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .hero-copy { padding: var(--space-4) var(--space-2); }
}
