/* =============================================================
   WakeUp Health Organization — Design System
   Editorial layout · tactile surfaces · emerald / sand / coral
   Poppins throughout. Vanilla CSS, no dependencies.
   ============================================================= */

/* -------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------- */
:root {
  /* Brand — Royal Blue, Sky Blue, Ice Blue, Deep Navy */
  --emerald-ink: #0a1e3b;
  --emerald: #2563eb;
  --emerald-lite: #3b82f6;
  --mint: #38bdf8;
  --mint-pale: #bae6fd;
  --coral: #f26a4b;
  --coral-deep: #d94a2b;
  --amber: #e8a33d;
  --amber-deep: #c07f1c;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --blue-lite: #60a5fa;
  --blue-pale: #dbeafe;
  --surface-blue: #f0f6ff;

  /* Modern Navy-Tinted Ink Ramp */
  --ink-900: #0a192f;
  --ink-800: #122849;
  --ink-700: #1e3d6b;
  --ink-600: #3b5a84;
  --ink-500: #5c7b9e;
  --ink-400: #88a3c2;
  --ink-300: #b5cbdf;
  --ink-200: #dbe6f3;
  --ink-100: #eef4fb;

  /* Surfaces — subtle ice-blue paper & serene atmospheric tints */
  --sand: #f4f8fc;
  --sand-deep: #e8f1fa;
  --sand-deeper: #d6e5f5;
  --paper: #ffffff;
  --white: #ffffff;
  --surface: var(--sand);
  --surface-alt: var(--sand-deep);
  --surface-mint: #e8f3fe;
  --surface-coral: #fdece7;
  --surface-deep: #09192f;
  --surface-deep-2: #0c203d;

  /* Semantic */
  --text: var(--ink-800);
  --text-muted: var(--ink-600);
  --text-soft: var(--ink-500);
  --line: #d3e3f3;
  --line-strong: #b8cde4;
  --rule: var(--ink-900);

  /* Gradients */
  --grad-emerald: linear-gradient(135deg, #2563eb 0%, #0a1e3b 100%);
  --grad-coral: linear-gradient(135deg, #f6864b 0%, #e04a2b 100%);
  --grad-warm: linear-gradient(120deg, #e8a33d 0%, #f26a4b 100%);
  --grad-ink: linear-gradient(165deg, #122b52 0%, #0a192f 55%, #051020 100%);
  --grad-blue: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);

  /* Radii — soft but not pill-everything */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Tactile elevation: refined offset shadows with subtle depth */
  --off-1: 3px 3px 0 var(--ink-900);
  --off-2: 4px 4px 0 var(--ink-900);
  --off-3: 6px 6px 0 var(--ink-900);
  --off-em: 4px 4px 0 var(--blue);
  --off-coral: 4px 4px 0 var(--coral-deep);
  --off-soft: 4px 4px 0 var(--sand-deeper);
  /* ambient depth */
  --amb: 0 18px 40px rgba(10, 25, 47, 0.12);
  --amb-lg: 0 30px 70px rgba(10, 25, 47, 0.18);

  /* Layout */
  --container: 1240px;
  --container-wide: 1440px;
  --container-narrow: 880px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 8vw, 8rem);

  /* Type — Poppins throughout */
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 84px;      /* nav height at rest */
  --header-h-sm: 62px;   /* nav height once condensed */
  /* measured at runtime so the fixed bars can be offset exactly */
  --topbar-h: 42px;
  --nav-h: 84px;
}

/* -------------------------------------------------------------
   2. RESET / BASE
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* anchors land clear of the condensed nav, which is what's on screen by the
     time any in-page link is followed */
  scroll-padding-top: calc(var(--header-h-sm) + 20px);
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.72;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  /* the info bar and nav are both fixed, so reserve their combined
     at-rest height here. Stays constant when the bar collapses, so the
     page never jumps. */
  padding-top: calc(var(--topbar-h) + var(--nav-h));
}

/* Paper grain over the whole page — the single cheapest way to stop
   large flat fills from reading as digital-flat. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video, picture { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; padding: 0; }

a { color: var(--emerald); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--coral-deep); }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 3px;
}
::selection { background: var(--mint-pale); color: var(--ink-900); }

.skip-link {
  position: absolute;
  left: 50%; top: -100px;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--ink-900);
  color: var(--sand);
  padding: 0.85rem 1.5rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0; color: var(--sand); }

/* -------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink-900);
  text-wrap: balance;
}

/* Oversized editorial display */
.display {
  font-size: clamp(2.5rem, 1.35rem + 3.9vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 1.3rem + 4.4vw, 4.6rem); letter-spacing: -0.045em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.5rem); letter-spacing: -0.04em; line-height: 1.06; }
h3 { font-size: clamp(1.28rem, 1.06rem + 0.9vw, 1.7rem); }
h4 { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.28rem); }

.h-sans { font-family: var(--font); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; }

p { text-wrap: pretty; }
p + p { margin-top: 1.1em; }

.lead {
  font-size: clamp(1.06rem, 0.98rem + 0.4vw, 1.3rem);
  line-height: 1.68;
  color: var(--text-muted);
  font-weight: 400;
}
.muted { color: var(--text-muted); }
.soft { color: var(--text-soft); }
.small { font-size: 0.9375rem; }
.tiny { font-size: 0.8125rem; }

/* Eyebrow — now a boxed editorial tag rather than a floating caption */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald-ink);
  padding: 0.42rem 0.85rem;
  border: 1.5px solid var(--emerald-ink);
  border-radius: var(--r-pill);
  background: transparent;
  line-height: 1;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--coral);
  flex: none;
}
.eyebrow.is-centered { justify-content: center; }
.eyebrow.on-dark { color: var(--mint-pale); border-color: rgba(169, 221, 203, 0.5); }
.eyebrow.on-dark::before { background: var(--amber); }
.eyebrow.warm { color: var(--coral-deep); border-color: var(--coral-deep); }
.eyebrow.warm::before { background: var(--emerald); }
.eyebrow.blue, .eyebrow--blue {
  color: var(--blue-deep);
  border-color: var(--blue);
  background: var(--surface-blue);
}
.eyebrow.blue::before, .eyebrow--blue::before {
  background: var(--blue);
}
.eyebrow.blue-on-dark, .eyebrow--blue-on-dark {
  color: var(--blue-pale);
  border-color: rgba(74, 148, 237, 0.6);
  background: rgba(35, 118, 229, 0.15);
}
.eyebrow.blue-on-dark::before, .eyebrow--blue-on-dark::before {
  background: var(--blue-lite);
}

/* Colour accent inside headings — flat ink, not gradient */
.grad-text { color: var(--emerald); }
.grad-text-coral { color: var(--coral-deep); }
.grad-text-blue { color: var(--blue); }
.text-blue { color: var(--blue); }
.text-blue-deep { color: var(--blue-deep); }

/* Hand-drawn highlight behind a keyword */
.mark { position: relative; display: inline-block; white-space: nowrap; }
.mark::after {
  content: "";
  position: absolute;
  left: -1.5%; right: -1.5%;
  bottom: 0.06em;
  height: 0.34em;
  background: var(--amber);
  opacity: 0.55;
  border-radius: 2px;
  z-index: -1;
  transform: scaleX(0) rotate(-0.6deg);
  transform-origin: left;
  animation: markIn 0.85s 0.35s var(--ease-out) forwards;
}
.mark--blue::after {
  background: var(--blue);
  opacity: 0.45;
}
@keyframes markIn { to { transform: scaleX(1) rotate(-0.6deg); } }

/* -------------------------------------------------------------
   4. LAYOUT
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3.25rem, 5.5vw, 5rem); }
.section--alt { background: var(--sand-deep); }
.section--warm { background: var(--surface-coral); }
.section--mint { background: var(--surface-mint); }
.section--blue { background: var(--surface-blue); }
.section--deep { background: var(--surface-deep); color: var(--ink-300); }
.section--deep h1, .section--deep h2, .section--deep h3, .section--deep h4 { color: var(--sand); }
.section--deep .muted { color: #9fb5ac; }
.section--emerald {
  background: linear-gradient(140deg, #165b4c 0%, #0e3d32 60%, #082821 100%);
  color: #c2e5d9;
}
.section--emerald h1, .section--emerald h2, .section--emerald h3, .section--emerald h4 { color: var(--sand); }
.section--emerald .muted { color: #b4d8cb; }
.section--emerald .sec-num { color: var(--mint-pale); }
.section--emerald .sec-num b { color: var(--amber); }
.section--emerald .sec-num::after { background: rgba(169, 221, 203, 0.35); }
.section--emerald .stat {
  background: rgba(250, 246, 239, 0.08);
  border: 2px solid rgba(169, 221, 203, 0.32);
}
.section--emerald .stat:hover {
  background: rgba(250, 246, 239, 0.15);
  box-shadow: 4px 4px 0 rgba(232, 163, 61, 0.45);
}

/* Ruled section edges — visible structure, editorial */
.section--ruled { border-top: 2px solid var(--rule); }

.grid { display: grid; gap: clamp(1.15rem, 2.2vw, 1.9rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 236px), 1fr)); }

.center { text-align: center; }

/* ---- Editorial numbered section head ---- */
.sec-head {
  display: grid;
  gap: 1.1rem;
  max-width: 48rem;
  margin-bottom: clamp(2.5rem, 4.5vw, 4rem);
  justify-items: start;
}
.sec-head.is-centered { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head__title { margin: 0; }
.sec-head--split {
  max-width: none;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1.5rem 2.5rem;
}
.sec-head--split .sec-head__copy { max-width: 48rem; display: grid; gap: 1.1rem; justify-items: start; }
@media (max-width: 780px) {
  .sec-head--split { grid-template-columns: 1fr; align-items: start; }
}

/* The number + rule that opens each major section */
.sec-num {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  width: 100%;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-900);
}
.sec-num b {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--coral-deep);
}
.sec-num::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--rule);
  opacity: 0.85;
}
.section--deep .sec-num { color: var(--mint-pale); }
.section--deep .sec-num b { color: var(--amber); }
.section--deep .sec-num::after { background: rgba(169, 221, 203, 0.32); }

/* Decorative organic blobs */
.bloom {
  position: absolute;
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  filter: blur(50px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.bloom--teal { background: rgba(79, 185, 154, 0.4); }
.bloom--blue { background: rgba(35, 118, 229, 0.32); }
.bloom--rose { background: rgba(242, 106, 75, 0.24); }
.bloom--orange { background: rgba(232, 163, 61, 0.3); }
.section > .container { position: relative; z-index: 1; }

/* Curved divider between sections */
.wave {
  display: block;
  width: 100%;
  height: clamp(38px, 5vw, 72px);
  fill: currentColor;
  margin-bottom: -1px;
}
.wave--flip { transform: rotate(180deg); margin-bottom: 0; margin-top: -1px; }

/* -------------------------------------------------------------
   5. BUTTONS — pressable, solid offset shadow
   ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink-900);
  --btn-fg: var(--sand);
  --btn-sh: var(--ink-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.92rem 1.7rem;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  border: 2px solid var(--ink-900);
  box-shadow: 4px 4px 0 var(--btn-sh);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--btn-sh); color: var(--btn-fg); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--btn-sh); }
.btn svg { flex: none; }

.btn--primary { --btn-bg: var(--emerald); --btn-fg: #fff; --btn-sh: var(--emerald-ink); border-color: var(--emerald-ink); }
.btn--donate  { --btn-bg: var(--coral); --btn-fg: #fff; --btn-sh: var(--ink-900); }
.btn--blue    { --btn-bg: var(--blue); --btn-fg: #fff; --btn-sh: var(--ink-900); }
.btn--blue:hover { --btn-bg: var(--blue-deep); }
.btn--ghost   { --btn-bg: transparent; --btn-fg: var(--ink-900); --btn-sh: var(--ink-900); }
.btn--ghost:hover { background: var(--paper); }
.btn--white   { --btn-bg: var(--paper); --btn-fg: var(--ink-900); --btn-sh: var(--emerald-ink); }
.btn--ghost-light {
  --btn-bg: transparent; --btn-fg: var(--sand); --btn-sh: var(--mint);
  border-color: var(--mint-pale);
}
.btn--ghost-light:hover { background: rgba(169, 221, 203, 0.14); }

.btn--sm { padding: 0.62rem 1.15rem; font-size: 0.85rem; box-shadow: 3px 3px 0 var(--btn-sh); }
.btn--sm:hover { box-shadow: 1px 1px 0 var(--btn-sh); }
.btn--lg { padding: 1.1rem 2.1rem; font-size: 1.02rem; box-shadow: 5px 5px 0 var(--btn-sh); }
.btn--lg:hover { box-shadow: 3px 3px 0 var(--btn-sh); }
/* Full-width buttons must be allowed to wrap. Inheriting the default
   white-space:nowrap made a long label (e.g. "Continue to secure payment")
   set a ~326px min-content that pushed its whole form grid wider than the
   panel on small screens. */
.btn--block { width: 100%; min-width: 0; white-space: normal; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--emerald-ink);
  border-bottom: 2px solid var(--mint);
  padding-bottom: 2px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--coral-deep); border-color: var(--coral); }
.link-arrow:hover svg { transform: translateX(5px); }

/* -------------------------------------------------------------
   6. BADGES / STICKERS / CHIPS
   ------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  background: var(--sand-deep);
  color: var(--ink-800);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1.5px solid var(--ink-900);
  line-height: 1;
}
.badge--teal   { background: var(--mint-pale); color: var(--emerald-ink); }
.badge--blue   { background: var(--surface-blue); color: var(--blue-deep); border-color: var(--blue); }
.badge--blue-solid { background: var(--blue); color: #fff; border-color: var(--ink-900); }
.badge--rose   { background: var(--surface-coral); color: var(--coral-deep); }
.badge--orange { background: #fbe9c9; color: var(--amber-deep); }
.badge--free   { background: var(--emerald); color: #fff; border-color: var(--emerald-ink); }
.badge--glass  { background: rgba(250, 246, 239, 0.16); color: var(--sand); border-color: rgba(250, 246, 239, 0.4); }

/* Sticker — a badge that sits on media, rotated like it was placed by hand */
.sticker {
  transform: rotate(-3.5deg);
  box-shadow: 2px 2px 0 var(--ink-900);
}
.sticker--r { transform: rotate(2.5deg); }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  padding: 0.6rem 1.15rem;
  border-radius: var(--r-pill);
  border: 2px solid var(--ink-900);
  background: var(--paper);
  color: var(--ink-800);
  font-size: 0.87rem;
  font-weight: 600;
  box-shadow: 2px 2px 0 var(--ink-900);
  transition: all 0.18s var(--ease);
}
.chip:hover { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink-900); color: var(--emerald-ink); }
.chip[aria-pressed="true"], .chip.is-active {
  background: var(--emerald-ink);
  color: var(--sand);
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--ink-900);
}

/* -------------------------------------------------------------
   7. HEADER
   ------------------------------------------------------------- */
.topbar {
  background: var(--ink-900);
  color: var(--mint-pale);
  font-size: 0.8rem;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 55;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
/* slides out of the way as soon as the page moves */
body.is-scrolled .topbar {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 42px;
  padding-block: 0.35rem;
}
.topbar__list { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--mint-pale); font-weight: 400; }
.topbar__item svg { color: var(--amber); flex: none; }
a.topbar__item:hover { color: var(--sand); }
.topbar__socials { display: flex; align-items: center; gap: 0.45rem; }
.soc {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  transition: all 0.25s var(--ease);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Facebook: #1877F2 on bright white */
.soc[href*="facebook"],
.soc[aria-label*="Facebook"] {
  background: #ffffff;
  border: 1.5px solid #ffffff;
  color: #1877f2;
}
.soc[href*="facebook"]:hover,
.soc[aria-label*="Facebook"]:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.55);
  transform: translateY(-2px) scale(1.06);
}

/* YouTube: #FF0000 on bright white */
.soc[href*="youtube"],
.soc[aria-label*="YouTube"] {
  background: #ffffff;
  border: 1.5px solid #ffffff;
  color: #ff0000;
}
.soc[href*="youtube"]:hover,
.soc[aria-label*="YouTube"]:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.55);
  transform: translateY(-2px) scale(1.06);
}

/* Instagram: #E1306C on bright white */
.soc[href*="instagram"],
.soc[aria-label*="Instagram"] {
  background: #ffffff;
  border: 1.5px solid #ffffff;
  color: #e1306c;
}
.soc[href*="instagram"]:hover,
.soc[aria-label*="Instagram"]:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #e1306c;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.55);
  transform: translateY(-2px) scale(1.06);
}

.site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 3px solid var(--blue);
  border-bottom: 1.5px solid var(--line);
  transition: top 0.35s var(--ease), box-shadow 0.3s var(--ease);
}
/* rides up to the very top once the info bar has gone */
body.is-scrolled .site-header {
  top: 0;
  box-shadow: 0 4px 20px rgba(10, 25, 47, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  transition: min-height 0.35s var(--ease);
}
body.is-scrolled .nav { min-height: var(--header-h-sm); }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img {
  height: clamp(42px, 4.4vw, 54px);
  width: auto;
  transition: height 0.35s var(--ease);
}
body.is-scrolled .brand img { height: clamp(34px, 3.4vw, 42px); }

.nav__menu { display: flex; align-items: center; gap: clamp(0.1rem, 0.8vw, 0.45rem); }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: color 0.22s var(--ease), background-color 0.22s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.8rem; right: 0.8rem; bottom: 0.38rem;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.26s var(--ease);
}
.nav__link:hover {
  color: var(--blue);
  background: var(--surface-mint);
}

.nav__link[aria-current="page"] { color: var(--blue); font-weight: 700; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__item { position: relative; }
.nav__caret { transition: transform 0.28s var(--ease); }
.nav__item:hover .nav__caret, .nav__item:focus-within .nav__caret { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 268px;
  padding: 0.55rem;
  background: var(--paper);
  border: 2px solid var(--ink-900);
  border-radius: var(--r-md);
  box-shadow: var(--off-2);
  display: grid;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.26s var(--ease);
}
.nav__item:hover > .dropdown, .nav__item:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: grid; gap: 0.1rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-xs);
  color: var(--ink-800);
  font-size: 0.9rem;
  font-weight: 600;
}
.dropdown a span { display: block; font-size: 0.77rem; font-weight: 400; color: var(--text-soft); line-height: 1.45; }
.dropdown a:hover { background: var(--surface-mint); color: var(--emerald-ink); }
/* current item reads as coral + bold, distinct from the mint hover */
.dropdown a[aria-current="page"] {
  background: var(--surface-coral);
  color: var(--coral-deep);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--coral);
}
.dropdown a[aria-current="page"] span { color: var(--coral-deep); opacity: 0.75; }

.nav__actions { display: flex; align-items: center; gap: 0.7rem; flex: none; }

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--r-md);
  border: 2px solid var(--ink-900);
  background: var(--mint);
  box-shadow: 2px 2px 0 var(--ink-900);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.burger:hover {
  background: var(--blue-lite);
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink-900);
}
.burger:focus-visible {
  outline: 2.5px solid var(--mint);
  outline-offset: 2px;
}
.burger span {
  display: block;
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink-900);
  transform-origin: center;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), background-color 0.2s var(--ease);
}
.burger[aria-expanded="true"] {
  background: var(--coral);
  border-color: var(--ink-900);
  box-shadow: 1px 1px 0 var(--ink-900);
}
.burger[aria-expanded="true"] span {
  background: #ffffff;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(400px, 88vw);
  background: var(--sand);
  z-index: 90;
  padding: 1.5rem var(--gutter) 2.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.42s var(--ease);
  border-left: 2px solid var(--ink-900);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.drawer__close {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--ink-900);
  display: grid; place-items: center;
  color: var(--ink-900);
  background: var(--paper);
  box-shadow: 2px 2px 0 var(--ink-900);
}
.drawer__menu { display: grid; gap: 0.15rem; }
.drawer__menu a {
  display: block;
  padding: 0.9rem 0.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink-900);
  border-bottom: 1.5px solid var(--line);
  border-left: 4px solid transparent;
  transition: color 0.22s var(--ease), padding-left 0.22s var(--ease), border-left-color 0.22s var(--ease);
}
/* hover shifts to emerald and indents; current keeps a solid coral marker */
.drawer__menu a:hover { color: var(--emerald); padding-left: 0.9rem; }
.drawer__menu a[aria-current="page"] {
  color: var(--coral-deep);
  font-weight: 700;
  border-left-color: var(--coral);
  padding-left: 0.9rem;
}
.drawer__foot { display: grid; gap: 0.85rem; margin-top: auto; padding-top: 1rem; }
.drawer__contact { display: grid; gap: 0.5rem; font-size: 0.9rem; color: var(--text-muted); }

.scrim {
  position: fixed; inset: 0;
  background: rgba(9, 25, 47, 0.55);
  z-index: 80;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.scrim.is-open { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }

/* -------------------------------------------------------------
   8. HERO — asymmetric editorial
   ------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(4.5rem, 8vw, 8rem);
  background:
    radial-gradient(46rem 34rem at 88% -6%, rgba(56, 189, 248, 0.22), transparent 65%),
    radial-gradient(38rem 30rem at 4% 104%, rgba(37, 99, 235, 0.16), transparent 65%),
    var(--sand);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__copy { display: grid; gap: 1.5rem; justify-items: start; }
.hero__title { margin: 0; }
.hero__lead { max-width: 33rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 2rem;
  padding-top: 1.6rem;
  margin-top: 0.4rem;
  border-top: 2px solid var(--rule);
  width: 100%;
}
.trust-item { display: grid; gap: 0.05rem; }
.trust-item b {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--emerald-ink);
  line-height: 1;
}
.trust-item span { font-size: 0.76rem; color: var(--text-soft); font-weight: 500; letter-spacing: 0.02em; }
.trust-sep { width: 2px; height: 32px; background: var(--line-strong); }

/* Image cluster — one frame breaks out of the column */
.hero__art {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.7rem, 1.4vw, 1rem);
  align-items: stretch;
}
.hero__shape {
  position: absolute;
  inset: -10% -8% -14% -6%;
  background: var(--mint);
  opacity: 0.18;
  border-radius: 48% 52% 44% 56% / 54% 44% 56% 46%;
  z-index: -1;
  animation: morph 18s ease-in-out infinite alternate;
}
@keyframes morph {
  0%   { border-radius: 48% 52% 44% 56% / 54% 44% 56% 46%; transform: rotate(0deg) scale(1); }
  100% { border-radius: 58% 42% 60% 40% / 42% 58% 42% 58%; transform: rotate(5deg) scale(1.04); }
}
.hero__pic {
  position: relative;
  overflow: hidden;
  min-width: 0; /* grid items default to min-content; let them track the column */
  border-radius: var(--r-lg);
  border: 2.5px solid var(--ink-900);
  box-shadow: var(--off-3);
  background: var(--ink-100);
}
.hero__pic img { width: 100%; height: 100%; object-fit: cover; }
.hero__pic--main { grid-column: span 2; aspect-ratio: 16 / 10; transform: rotate(-1deg); }
.hero__pic--a { aspect-ratio: 4 / 3.15; transform: rotate(1.2deg); box-shadow: var(--off-2); }
.hero__pic--b { aspect-ratio: 4 / 3.15; transform: rotate(-0.8deg); box-shadow: var(--off-2); }

.hero__float {
  position: absolute;
  left: -6%;
  bottom: -8%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.15rem;
  background: var(--paper);
  border: 2.5px solid var(--ink-900);
  border-radius: var(--r-md);
  box-shadow: var(--off-2);
  transform: rotate(-2deg);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%      { transform: rotate(-2deg) translateY(-10px); }
}
.hero__float-ic {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--coral);
  color: #fff;
  border: 2px solid var(--ink-900);
  flex: none;
}
.hero__float b { display: block; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; color: var(--ink-900); }
.hero__float span { font-size: 0.75rem; color: var(--text-soft); font-weight: 500; }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { max-width: 640px; }
  .hero__float { left: 0; }
}
@media (max-width: 520px) {
  /* the float becomes a normal grid item here — span both columns so its
     natural width can't push past a single track */
  .hero__float {
    position: static;
    grid-column: 1 / -1;
    justify-self: start;
    max-width: 100%;
    margin-top: 1.4rem;
    animation: none;
    transform: rotate(-1.5deg);
  }
  .hero__pic { border-width: 2px; }
  .hero__pic--main, .hero__pic--a, .hero__pic--b { transform: none; }
}

/* -------------------------------------------------------------
   8b. HOME HERO — full-bleed background image slider
   ------------------------------------------------------------- */
.hero--media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: clamp(540px, 74vh, 780px);
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--ink-900);
  color: var(--sand);
}
.hero--media .hero__title { font-size: clamp(2.3rem, 1.25rem + 3.4vw, 4.05rem); }
/* the highlighter needs more punch over a photo, or it reads as a brown block */
.hero--media .mark::after { background: var(--amber); opacity: 0.9; }
.hero--media::after { content: none; }

.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 1.4s var(--ease), transform 9s linear;
}
.hero__bg img.is-active { opacity: 1; transform: scale(1); }

/* legibility scrim — ultra-light & transparent so photos are crystal clear */
.hero--media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(96deg, rgba(9, 25, 47, 0.45) 0%, rgba(9, 25, 47, 0.2) 45%,
                    rgba(9, 25, 47, 0.05) 75%, transparent 100%),
    linear-gradient(to top, rgba(9, 25, 47, 0.3) 0%, transparent 40%);
}

.hero--media .hero__inner { grid-template-columns: 1fr; }
.hero--media .hero__copy { max-width: 46rem; }
.hero--media .hero__title {
  color: #ffffff;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.9), 0 1px 6px rgba(0, 0, 0, 0.95);
}
.hero--media .grad-text-blue {
  color: #38bdf8;
  font-weight: 800;
  -webkit-text-stroke: 1.5px #071529;
  paint-order: stroke fill;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.95),
    0 4px 24px rgba(7, 21, 41, 0.9),
    0 0 4px rgba(7, 21, 41, 1);
}
.hero--media .hero__lead {
  color: #ffffff;
  max-width: 40rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}
.hero--media .eyebrow {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(9, 25, 47, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.hero--media .eyebrow::before { background: var(--amber); }
.hero--media .hero__trust {
  border-top-color: rgba(255, 255, 255, 0.2);
  background: rgba(9, 25, 47, 0.65);
  padding: 0.85rem 1.15rem;
  border-radius: var(--r-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: fit-content;
}
.hero--media .trust-item b { color: var(--amber); text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.hero--media .trust-item span { color: #e2e8f0; font-weight: 500; }
.hero--media .trust-sep { background: rgba(255, 255, 255, 0.2); }
.hero--media .btn--ghost {
  --btn-fg: var(--sand);
  --btn-sh: var(--mint);
  border-color: var(--mint-pale);
}
.hero--media .btn--ghost:hover { background: rgba(169, 221, 203, 0.16); }

/* Hide long vision lead on mobile screens and keep background bright & crystal clear */
@media (max-width: 768px) {
  .hero--media::before {
    background:
      linear-gradient(180deg, rgba(9, 25, 47, 0.22) 0%, rgba(9, 25, 47, 0.05) 40%, rgba(9, 25, 47, 0.3) 100%);
  }
  .hero--media .hero__lead {
    display: none;
  }
}

/* slider dots sit in flow under the trust row — no positioning hacks */
.hero__dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1.75rem;
}
.hero__dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid var(--mint-pale);
  background: transparent;
  padding: 0;
  position: relative;
  transition: all 0.35s var(--ease);
}
.hero__dot::after { content: ""; position: absolute; inset: -13px 0; }
.hero__dot[aria-selected="true"] {
  background: var(--amber);
  border-color: var(--amber);
  width: 34px;
  border-radius: var(--r-pill);
}

/* -------------------------------------------------------------
   9. PAGE HERO (inner pages)
   ------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 6vw, 6rem);
  background: var(--grad-ink);
  color: var(--ink-300);
  isolation: isolate;
  border-bottom: 2px solid var(--ink-900);
}
/* photo sits behind the scrim; the ink gradient above is the fallback */
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(96deg, rgba(9, 25, 47, 0.93) 0%, rgba(9, 25, 47, 0.8) 45%,
                    rgba(9, 25, 47, 0.5) 100%),
    radial-gradient(36rem 26rem at 88% 0%, rgba(79, 185, 154, 0.28), transparent 62%);
}
.page-hero__inner { display: grid; gap: 1.15rem; max-width: 56rem; justify-items: start; }
.page-hero h1 { color: var(--sand); }
.page-hero .lead { color: #a9c1b8; max-width: 46rem; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #7f9b91;
}
.crumbs a { color: var(--mint-pale); }
.crumbs a:hover { color: var(--amber); }
.crumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.crumbs li + li::before { content: "/"; color: #4b6a60; }
.crumbs [aria-current] { color: var(--sand); }

/* -------------------------------------------------------------
   10. CARDS — modern, elegant, blue-accented
   ------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 2px solid #d3e2f2;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(10, 25, 47, 0.06), 0 1px 3px rgba(10, 25, 47, 0.04);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--blue);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.15), 0 2px 6px rgba(37, 99, 235, 0.08);
}

.action-card {
  position: relative;
  display: grid;
  gap: 0.95rem;
  padding: clamp(1.6rem, 2.6vw, 2.25rem);
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  border-top: 5px solid #2563eb;
  border-radius: var(--r-lg);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  justify-items: start;
}
.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}
.action-card__ic {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.action-card__ic svg { stroke: #ffffff; }
.action-card:hover .action-card__ic {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

/* Alternating Action Card Palette */
.action-card:nth-child(4n+1) {
  border-top-color: #2563eb;
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
}
.action-card:nth-child(4n+1) .action-card__ic {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32);
}

.action-card:nth-child(4n+2), .action-card--warm {
  border-top-color: #d97706;
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
}
.action-card:nth-child(4n+2) .action-card__ic, .action-card--warm .action-card__ic {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.32);
}

.action-card:nth-child(4n+3), .action-card--rose {
  border-top-color: #db2777;
  background: linear-gradient(180deg, #ffffff 0%, #fdf2f8 100%);
}
.action-card:nth-child(4n+3) .action-card__ic, .action-card--rose .action-card__ic {
  background: linear-gradient(135deg, #ec4899, #db2777);
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.32);
}

.action-card:nth-child(4n+4) {
  border-top-color: #0891b2;
  background: linear-gradient(180deg, #ffffff 0%, #ecfeff 100%);
}
.action-card:nth-child(4n+4) .action-card__ic {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.32);
}

/* Cause cards — Rich, Colorful */
.cause-card {
  height: 100%;
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  border-top: 5px solid #2563eb;
  border-radius: var(--r-lg);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.cause-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}
.cause-card:nth-child(4n+1) { border-top-color: #2563eb; }
.cause-card:nth-child(4n+2) { border-top-color: #0891b2; }
.cause-card:nth-child(4n+3) { border-top-color: #7c3aed; }
.cause-card:nth-child(4n+4) { border-top-color: #d97706; }

.cause-card__media {
  position: relative;
  aspect-ratio: 16 / 10.4;
  overflow: hidden;
  background: var(--ink-100);
  border-bottom: 1.5px solid #e2edf8;
}
.cause-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.cause-card:hover .cause-card__media img { transform: scale(1.06); }
.cause-card__tag { position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2; }
.cause-card__body { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.35rem 1.45rem 1.55rem; flex: 1; }
.cause-card__body h3 { margin: 0; font-size: 1.15rem; color: var(--ink-900); font-weight: 700; }
.cause-card__body h3 a { color: inherit; transition: color 0.2s ease; }
.cause-card__body h3 a:hover { color: var(--blue); }
.cause-card__body p {
  margin: 0; font-size: 0.92rem; line-height: 1.65; color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cause-card__foot { margin-top: auto; display: grid; gap: 0.75rem; }

/* Progress — vibrant gradient bars */
.progress {
  position: relative;
  height: 10px;
  border-radius: var(--r-pill);
  background: #e2edf8;
  overflow: hidden;
}
.progress__bar {
  position: absolute; inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  border-radius: var(--r-pill);
  transition: width 1.3s var(--ease-out);
}
.progress__bar.warm { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.progress__bar.rose { background: linear-gradient(90deg, #f43f5e, #fb7185); }
.progress__bar.blue { background: linear-gradient(90deg, #2563eb, #38bdf8); }
.progress-meta {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; font-size: 0.82rem; font-weight: 500; color: var(--text-soft);
}
.progress-meta b { color: var(--ink-900); font-size: 0.98rem; font-weight: 700; letter-spacing: -0.02em; }

/* Program card — Multi-color vibrancy */
.program-card {
  position: relative;
  display: grid;
  gap: 0.95rem;
  padding: 1.6rem 1.55rem 1.75rem;
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  border-top: 5px solid #2563eb;
  border-radius: var(--r-lg);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  justify-items: start;
}
.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}
.program-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }
.program-card__ic {
  width: 50px; height: 50px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32);
  flex: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.program-card__ic svg { stroke: #ffffff; }
.program-card:hover .program-card__ic {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}
.program-card h3 { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--ink-900); }
.program-card p { margin: 0; font-size: 0.92rem; color: var(--ink-600); line-height: 1.65; }
.program-card__meta {
  display: grid; gap: 0.45rem;
  padding-top: 0.9rem; margin-top: auto;
  border-top: 1.5px solid #e4effa;
  width: 100%;
}
.meta-row {
  display: flex; align-items: flex-start; gap: 0.55rem;
  font-size: 0.85rem; font-weight: 600; color: var(--ink-800);
}
.meta-row svg { flex: none; margin-top: 3px; color: var(--blue); }
.meta-row span { font-weight: 400; color: var(--ink-500); }
.program-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 1.3rem;
  background: #eff6ff;
  color: #2563eb;
  border: 1.5px solid #bfdbfe;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.22s var(--ease);
}
.program-card .btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32);
  transform: translateY(-2px);
}

/* Alternating vibrant cards in program list */
.program-card:nth-child(6n+1) {
  border-top-color: #2563eb;
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
}
.program-card:nth-child(6n+1) .program-card__ic {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32);
}
.program-card:nth-child(6n+1) .btn {
  background: #eff6ff; color: #2563eb; border-color: #bfdbfe;
}
.program-card:nth-child(6n+1) .btn:hover {
  background: #2563eb; color: #ffffff; border-color: #2563eb; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32);
}

.program-card:nth-child(6n+2) {
  border-top-color: #0891b2;
  background: linear-gradient(180deg, #ffffff 0%, #ecfeff 100%);
}
.program-card:nth-child(6n+2) .program-card__ic {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.32);
}
.program-card:nth-child(6n+2) .btn {
  background: #ecfeff; color: #0891b2; border-color: #a5f3fc;
}
.program-card:nth-child(6n+2) .btn:hover {
  background: #0891b2; color: #ffffff; border-color: #0891b2; box-shadow: 0 4px 14px rgba(8, 145, 178, 0.32);
}

.program-card:nth-child(6n+3) {
  border-top-color: #7c3aed;
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
}
.program-card:nth-child(6n+3) .program-card__ic {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.32);
}
.program-card:nth-child(6n+3) .btn {
  background: #f5f3ff; color: #7c3aed; border-color: #ddd6fe;
}
.program-card:nth-child(6n+3) .btn:hover {
  background: #7c3aed; color: #ffffff; border-color: #7c3aed; box-shadow: 0 4px 14px rgba(124, 58, 237, 0.32);
}

.program-card:nth-child(6n+4) {
  border-top-color: #d97706;
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
}
.program-card:nth-child(6n+4) .program-card__ic {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.32);
}
.program-card:nth-child(6n+4) .btn {
  background: #fffbeb; color: #d97706; border-color: #fde68a;
}
.program-card:nth-child(6n+4) .btn:hover {
  background: #d97706; color: #ffffff; border-color: #d97706; box-shadow: 0 4px 14px rgba(217, 119, 6, 0.32);
}

.program-card:nth-child(6n+5) {
  border-top-color: #db2777;
  background: linear-gradient(180deg, #ffffff 0%, #fdf2f8 100%);
}
.program-card:nth-child(6n+5) .program-card__ic {
  background: linear-gradient(135deg, #ec4899, #db2777);
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.32);
}
.program-card:nth-child(6n+5) .btn {
  background: #fdf2f8; color: #db2777; border-color: #fbcfe8;
}
.program-card:nth-child(6n+5) .btn:hover {
  background: #db2777; color: #ffffff; border-color: #db2777; box-shadow: 0 4px 14px rgba(219, 39, 119, 0.32);
}

.program-card:nth-child(6n+6) {
  border-top-color: #059669;
  background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
}
.program-card:nth-child(6n+6) .program-card__ic {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.32);
}
.program-card:nth-child(6n+6) .btn {
  background: #ecfdf5; color: #059669; border-color: #a7f3d0;
}
.program-card:nth-child(6n+6) .btn:hover {
  background: #059669; color: #ffffff; border-color: #059669; box-shadow: 0 4px 14px rgba(5, 150, 105, 0.32);
}

/* Event card — Vibrant & Colorful Calendar Cards */
.event-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.35rem;
  align-items: start;
  padding: 1.4rem 1.55rem;
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  border-left: 5px solid #2563eb;
  border-radius: var(--r-lg);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}
.event-date {
  display: grid; place-items: center; align-content: center;
  width: 72px;
  padding: 0.75rem 0.45rem;
  border-radius: var(--r-md);
  background: linear-gradient(145deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
  flex: none;
  line-height: 1;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.event-card:hover .event-date {
  transform: scale(1.05);
}
.event-date b { font-size: 1.65rem; font-weight: 700; letter-spacing: -0.04em; color: #ffffff; }
.event-date span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #bfdbfe; margin-top: 0.25rem; }

.event-card__body { display: grid; gap: 0.55rem; min-width: 0; justify-items: start; }
.event-card__body h3 { margin: 0; font-size: 1.08rem; color: var(--ink-900); font-weight: 700; line-height: 1.35; }
.event-card__meta { display: grid; gap: 0.35rem; }
.event-card__meta .meta-row { font-size: 0.86rem; color: var(--ink-800); }
.event-card__meta .meta-row svg { color: var(--blue); }

.event-card .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--r-pill);
  background: #eff6ff;
  color: #2563eb;
  border: 1.5px solid #bfdbfe;
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 0.35rem;
  border-bottom: 1.5px solid #bfdbfe;
  transition: all 0.22s var(--ease);
}
.event-card .link-arrow:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transform: translateX(4px);
}
.event-card .link-arrow svg { stroke: currentColor; transition: transform 0.22s var(--ease); }
.event-card .link-arrow:hover svg { transform: translateX(3px); }

/* Alternating vibrant colorful variations for event cards */
.event-card:nth-child(4n+1) {
  border-left-color: #2563eb;
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}
.event-card:nth-child(4n+1) .event-date {
  background: linear-gradient(145deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}
.event-card:nth-child(4n+1) .event-date span { color: #dbeafe; }
.event-card:nth-child(4n+1) .link-arrow {
  background: #eff6ff; color: #2563eb; border-color: #bfdbfe;
}
.event-card:nth-child(4n+1) .link-arrow:hover {
  background: #2563eb; color: #ffffff; border-color: #2563eb; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.event-card:nth-child(4n+2) {
  border-left-color: #0891b2;
  background: linear-gradient(135deg, #ffffff 0%, #ecfeff 100%);
}
.event-card:nth-child(4n+2) .event-date {
  background: linear-gradient(145deg, #06b6d4 0%, #0891b2 100%);
  box-shadow: 0 6px 16px rgba(6, 182, 212, 0.3);
}
.event-card:nth-child(4n+2) .event-date span { color: #cffafe; }
.event-card:nth-child(4n+2) .link-arrow {
  background: #ecfeff; color: #0891b2; border-color: #a5f3fc;
}
.event-card:nth-child(4n+2) .link-arrow:hover {
  background: #0891b2; color: #ffffff; border-color: #0891b2; box-shadow: 0 4px 14px rgba(8, 145, 178, 0.3);
}

.event-card:nth-child(4n+3) {
  border-left-color: #7c3aed;
  background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
}
.event-card:nth-child(4n+3) .event-date {
  background: linear-gradient(145deg, #8b5cf6 0%, #7c3aed 100%);
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.3);
}
.event-card:nth-child(4n+3) .event-date span { color: #ede9fe; }
.event-card:nth-child(4n+3) .link-arrow {
  background: #f5f3ff; color: #7c3aed; border-color: #ddd6fe;
}
.event-card:nth-child(4n+3) .link-arrow:hover {
  background: #7c3aed; color: #ffffff; border-color: #7c3aed; box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.event-card:nth-child(4n+4) {
  border-left-color: #d97706;
  background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
}
.event-card:nth-child(4n+4) .event-date {
  background: linear-gradient(145deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
}
.event-card:nth-child(4n+4) .event-date span { color: #fef3c7; }
.event-card:nth-child(4n+4) .link-arrow {
  background: #fffbeb; color: #d97706; border-color: #fde68a;
}
.event-card:nth-child(4n+4) .link-arrow:hover {
  background: #d97706; color: #ffffff; border-color: #d97706; box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

/* -------------------------------------------------------------
   Social Media Cards & Posts — Rich & Vibrant
   ------------------------------------------------------------- */
.social-platform-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  border-radius: var(--r-lg);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.social-platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}
.social-platform-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: clamp(0.85rem, 2.5vw, 1.15rem);
  border-bottom: 1.5px solid #e2edf8;
  background: #f8fafc;
}
.social-platform-header--fb {
  background: linear-gradient(135deg, #1877f2 0%, #0d5ec4 100%);
  color: #ffffff;
}
.social-platform-header--fb h3 { color: #ffffff; }
.social-platform-header--fb span { color: #dbeafe; }
.social-platform-header--fb .btn { background: #ffffff; color: #1877f2; border: 0; font-weight: 700; }
.social-platform-header--fb .btn:hover { background: #f0f7ff; color: #0d5ec4; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }

.social-platform-header--ig {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  color: #ffffff;
}
.social-platform-header--ig h3 { color: #ffffff; }
.social-platform-header--ig span { color: #fef08a; }
.social-platform-header--ig .btn { background: #ffffff; color: #c13584; border: 0; font-weight: 700; }
.social-platform-header--ig .btn:hover { background: #fff5f8; color: #833ab4; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }

.social-platform-header--yt {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  color: #ffffff;
}
.social-platform-header--yt h3 { color: #ffffff; }
.social-platform-header--yt span { color: #fee2e2; }
.social-platform-header--yt .btn { background: #ffffff; color: #ff0000; border: 0; font-weight: 700; }
.social-platform-header--yt .btn:hover { background: #fef2f2; color: #b91c1c; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }

.social-platform-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
}
.social-platform-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  flex: none;
}
.social-platform-icon--fb { background: #1877F2; }
.social-platform-icon--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-platform-icon--yt { background: #FF0000; }

.social-platform-text {
  min-width: 0;
  overflow: hidden;
}
.social-platform-text h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.social-platform-text span {
  display: block;
  font-size: clamp(0.72rem, 1.8vw, 0.78rem);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-posts-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.2rem;
  flex: 1;
}

.social-post-item {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem;
  border: 1.5px solid #e2edf8;
  border-radius: var(--r-md);
  background: #ffffff;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.social-post-item:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12);
}

.social-post-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid #e2edf8;
  background: var(--ink-900);
}
.social-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.social-post-item:hover .social-post-media img {
  transform: scale(1.05);
}

.social-post-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(9, 25, 47, 0.35);
  transition: background 0.2s var(--ease);
}
.social-post-play svg {
  width: 44px;
  height: 44px;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: transform 0.2s var(--ease);
}
.social-post-item:hover .social-post-play svg {
  transform: scale(1.12);
}

.social-post-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-900);
}
.social-post-excerpt {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.social-post-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--blue);
  margin-top: auto;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}
.social-post-link:hover {
  color: #1d4ed8;
}

/* Team & Founder Showcase */
.team-card { text-align: center; }
.team-card__media {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-100);
  margin-bottom: 1.05rem;
  border: 1.5px solid #dbeafe;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.team-card:hover .team-card__media {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}
.team-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.team-card:hover .team-card__media img { transform: scale(1.05); }
.team-card__ph {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #ffffff;
}
.team-card:nth-child(4n+1) .team-card__ph { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.team-card:nth-child(4n+2) .team-card__ph { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.team-card:nth-child(4n+3) .team-card__ph { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.team-card:nth-child(4n+4) .team-card__ph { background: linear-gradient(135deg, #f59e0b, #d97706); }
.team-card h3 { margin: 0; font-size: 1.12rem; font-weight: 700; color: var(--ink-900); }
.team-card p { margin: 0.2rem 0 0; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--blue); }

/* Founder Showcase Card */
.founder-card {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--paper);
  border: 1.5px solid #dbeafe;
  border-radius: var(--r-xl);
  box-shadow: 0 10px 32px rgba(10, 25, 47, 0.07), 0 2px 6px rgba(10, 25, 47, 0.03);
  padding: clamp(1.85rem, 3.8vw, 3.25rem);
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.founder-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 50%, #1d4ed8 100%);
}
.founder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.11), 0 4px 12px rgba(37, 99, 235, 0.08);
  border-color: #bfdbfe;
}
.founder-card__media-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}
.founder-card__media {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 2px solid #dbeafe;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.founder-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.7s var(--ease);
}
.founder-card:hover .founder-card__media img {
  transform: scale(1.05);
}
.founder-card__badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.2rem;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32);
}
.founder-card__badge-pill svg {
  stroke: #ffffff;
}
.founder-card__body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.founder-card__header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.95rem;
}
.founder-card__name {
  font-size: clamp(1.65rem, 2.2vw, 2.2rem);
  font-weight: 700;
  color: var(--ink-900);
  margin: 0.35rem 0 0.15rem;
  line-height: 1.2;
}
.founder-card__role {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
}
.founder-card__bio {
  display: grid;
  gap: 0.85rem;
}
.founder-card__bio-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.founder-card__bio-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.15em;
  background: var(--blue);
  border-radius: 2px;
}
.founder-card__bio p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ink-700);
}
.founder-card__creds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
  margin-top: 0.35rem;
}
.founder-cred-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.founder-cred-item:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  background: #f0f7ff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}
.founder-cred-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.25);
}
.founder-cred-icon svg {
  stroke: #ffffff;
}
.founder-cred-text {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-700);
}
.founder-cred-text strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 0.15rem;
}

@media (max-width: 860px) {
  .founder-card {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 1.5rem;
    gap: 1.75rem;
  }
  .founder-card__media-wrap {
    width: 100%;
  }
  .founder-card__media {
    max-width: 260px;
  }
  .founder-card__creds {
    grid-template-columns: 1fr;
  }
}

/* Team Profile Grid & Cards (Leadership & Specialists) */
.team-profile-grid {
  max-width: 1040px;
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.75rem, 3vw, 2.5rem);
}

.team-profile-card {
  background: var(--paper);
  border: 1.5px solid #dbeafe;
  border-radius: var(--r-xl);
  box-shadow: 0 8px 24px rgba(10, 25, 47, 0.06), 0 2px 4px rgba(10, 25, 47, 0.03);
  padding: clamp(1.6rem, 2.8vw, 2.25rem);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.team-profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #38bdf8, #2563eb);
}

.team-profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(37, 99, 235, 0.07);
  border-color: #bfdbfe;
}

.team-profile-card__media-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.team-profile-card__media {
  position: relative;
  width: 110px;
  height: 110px;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 2px solid #dbeafe;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.team-profile-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.6s var(--ease);
}

.team-profile-card:hover .team-profile-card__media img {
  transform: scale(1.06);
}

.team-profile-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-pill);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--blue-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.team-profile-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1rem;
}

.team-profile-card__header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.85rem;
}

.team-profile-card__name {
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 0.2rem;
  line-height: 1.25;
}

.team-profile-card__role {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
}

.team-profile-card__bio {
  display: grid;
  gap: 0.75rem;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ink-700);
}

.team-profile-card__bio p {
  margin: 0;
}

.team-profile-card__creds {
  display: grid;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

@media (max-width: 860px) {
  .team-profile-grid {
    grid-template-columns: 1fr;
    margin-top: 1.75rem;
  }
}

/* Volunteer Showcase Grid & Cards */
.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1.15rem, 1.8vw, 1.75rem);
  margin-top: 2.25rem;
}

.volunteer-card {
  text-align: center;
  background: var(--paper);
  border: 1.5px solid #dbeafe;
  border-radius: var(--r-xl);
  padding: clamp(1.25rem, 2vw, 1.65rem) 0.9rem 1.4rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.volunteer-card:hover {
  transform: translateY(-5px);
  border-color: #bfdbfe;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.volunteer-card__media {
  position: relative;
  width: 100%;
  max-width: 175px;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  margin-bottom: 1rem;
  border: 1.5px solid #dbeafe;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.volunteer-card:hover .volunteer-card__media {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.14);
}

.volunteer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.7s var(--ease);
}

.volunteer-card:hover .volunteer-card__media img {
  transform: scale(1.06);
}

.volunteer-card__ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  position: relative;
}

.volunteer-card__ph--purple {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.volunteer-card__ph--amber {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.volunteer-card__ph--teal {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.volunteer-card__ph--rose {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
}

.volunteer-card__initials {
  font-size: clamp(2.4rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.volunteer-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex: 1;
}

.volunteer-card__name {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.35;
  font-family: var(--font);
}

.volunteer-card__role {
  margin: 0.35rem 0 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-pill);
}

@media (max-width: 1100px) {
  .volunteer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 480px) {
  .volunteer-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Spotlight Card (Featured Cause In-Depth) */
.spotlight-card {
  background: var(--paper);
  border: 1.5px solid #dbeafe;
  border-radius: var(--r-xl);
  box-shadow: 0 12px 36px rgba(10, 25, 47, 0.08), 0 2px 8px rgba(10, 25, 47, 0.04);
  padding: clamp(1.85rem, 3.5vw, 3rem);
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #06b6d4, #2563eb, #8b5cf6);
}

.spotlight-card__grid {
  display: grid;
  grid-template-columns: minmax(300px, 460px) 1fr;
  gap: clamp(2rem, 3.8vw, 3.5rem);
  align-items: start;
}

.spotlight-card__media-col {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.spotlight-card__frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid #dbeafe;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  background: #0f172a;
}

.spotlight-card__frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.spotlight-card__frame:hover img {
  transform: scale(1.04);
}

.spotlight-card__cap {
  display: block;
  padding: 0.6rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-700);
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  line-height: 1.4;
}

.spotlight-quote {
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
  border: 1.5px solid #bfdbfe;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  position: relative;
}

.spotlight-quote__icon {
  color: var(--blue);
  opacity: 0.7;
}

.spotlight-quote__text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-900);
  font-weight: 500;
  font-style: italic;
  margin: 0;
}

.spotlight-quote__author {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.spotlight-card__content-col {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.spotlight-badge-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.spotlight-heading {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  color: var(--ink-900);
  margin: 0;
  line-height: 1.3;
}

.spotlight-desc {
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--ink-700);
  margin: 0;
}

.spotlight-blocks {
  display: grid;
  gap: 1rem;
  margin-top: 0.25rem;
}

.spotlight-block {
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-md);
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
}

.spotlight-subhead {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.spotlight-ic {
  width: 28px;
  height: 28px;
  border-radius: var(--r-xs);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #ffffff;
}

.spotlight-ic--blue {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.spotlight-ic--teal {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.spotlight-ic svg {
  stroke: #ffffff;
}

.spotlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-700);
}

.spotlight-list li {
  position: relative;
  padding-left: 1.2rem;
}

.spotlight-list li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  color: var(--blue);
  font-weight: bold;
}

.spotlight-block__lead {
  font-size: 0.86rem;
  color: var(--ink-600);
  margin: 0 0 0.55rem;
}

.spotlight-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.spotlight-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-deep);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-pill);
}

.spotlight-mission-box {
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-md);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #166534;
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.4rem;
}

@media (max-width: 900px) {
  .spotlight-card__grid {
    grid-template-columns: 1fr;
  }
}

/* Stat tile — Radiant gradients */
.stat {
  display: grid; gap: 0.35rem;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s var(--ease), background-color 0.3s var(--ease), border-color 0.25s var(--ease);
}
.stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}
.stat b {
  font-size: clamp(2.5rem, 1.4rem + 3.2vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat:nth-child(4n+2) b {
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat:nth-child(4n+3) b {
  background: linear-gradient(135deg, #f472b6 0%, #db2777 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat:nth-child(4n+4) b {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #e0f2fe; }
.stat p { font-size: 0.86rem; color: #94a3b8; margin: 0.25rem 0 0; }

/* Value tile — Multi-color vibrancy */
.tile {
  display: grid; gap: 0.85rem;
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  border-radius: var(--r-lg);
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  border-top: 5px solid #2563eb;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  justify-items: start;
}
.tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}
.tile__ic {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32);
  transition: all 0.25s var(--ease);
}
.tile__ic svg { stroke: #ffffff; }
.tile:hover .tile__ic {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}
.tile h3 { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--ink-900); }
.tile p { margin: 0; font-size: 0.93rem; color: var(--ink-600); line-height: 1.6; }
.tile .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 1.2rem;
  border-radius: var(--r-pill);
  background: #eff6ff;
  color: #2563eb;
  border: 1.5px solid #bfdbfe;
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: auto;
  border-bottom: 1.5px solid #bfdbfe;
  text-decoration: none;
  transition: all 0.22s var(--ease);
}
.tile .link-arrow:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transform: translateX(4px);
}
.tile .link-arrow svg { stroke: currentColor; transition: transform 0.22s var(--ease); }
.tile .link-arrow:hover svg { transform: translateX(3px); }

/* Alternating Tile Palettes */
.tile:nth-child(4n+1) {
  border-top-color: #2563eb;
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
}
.tile:nth-child(4n+1) .tile__ic {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32);
}
.tile:nth-child(4n+1) .link-arrow { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
.tile:nth-child(4n+1) .link-arrow:hover { background: #2563eb; color: #ffffff; border-color: #2563eb; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3); }

.tile:nth-child(4n+2) {
  border-top-color: #0891b2;
  background: linear-gradient(180deg, #ffffff 0%, #ecfeff 100%);
}
.tile:nth-child(4n+2) .tile__ic {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.32);
}
.tile:nth-child(4n+2) .link-arrow { background: #ecfeff; color: #0891b2; border-color: #a5f3fc; }
.tile:nth-child(4n+2) .link-arrow:hover { background: #0891b2; color: #ffffff; border-color: #0891b2; box-shadow: 0 4px 14px rgba(8, 145, 178, 0.3); }

.tile:nth-child(4n+3) {
  border-top-color: #7c3aed;
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
}
.tile:nth-child(4n+3) .tile__ic {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.32);
}
.tile:nth-child(4n+3) .link-arrow { background: #f5f3ff; color: #7c3aed; border-color: #ddd6fe; }
.tile:nth-child(4n+3) .link-arrow:hover { background: #7c3aed; color: #ffffff; border-color: #7c3aed; box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3); }

.tile:nth-child(4n+4) {
  border-top-color: #d97706;
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
}
.tile:nth-child(4n+4) .tile__ic {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.32);
}
.tile:nth-child(4n+4) .link-arrow { background: #fffbeb; color: #d97706; border-color: #fde68a; }
.tile:nth-child(4n+4) .link-arrow:hover { background: #d97706; color: #ffffff; border-color: #d97706; box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3); }

/* -------------------------------------------------------------
   11. MISSION / VISION — Colorful & Luminous
   ------------------------------------------------------------- */
.mv {
  position: relative;
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.8rem, 3.2vw, 2.9rem);
  border-radius: var(--r-xl);
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  border-top: 6px solid #2563eb;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  justify-items: start;
}
.mv--mission {
  border-top-color: #7c3aed;
  background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
}
.mv__num {
  position: absolute;
  right: 1.3rem; top: 1rem;
  font-size: 4rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: #2563eb;
  opacity: 0.12;
}
.mv--mission .mv__num { color: #7c3aed; opacity: 0.14; }
.mv h3 {
  margin: 0;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  color: #1d4ed8;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mv--mission h3 {
  color: #6d28d9;
}
.mv p { margin: 0; color: var(--ink-700); line-height: 1.68; }
.mv__label,
.mv .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  line-height: 1;
}
.mv__label::before,
.mv .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
  flex: none;
}
.mv--mission .mv__label,
.mv--mission .eyebrow {
  color: #7c3aed;
}
.mv--mission .mv__label::before,
.mv--mission .eyebrow::before {
  background: #7c3aed;
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.5);
}

/* -------------------------------------------------------------
   12. SPLIT / MEDIA
   ------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(2rem, 4.5vw, 4.25rem);
  align-items: center;
}
.split__copy { display: grid; gap: 1.15rem; justify-items: start; }
.split__copy h2 { margin: 0; }

.frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 2.5px solid var(--ink-900);
  box-shadow: var(--off-3);
  background: var(--ink-100);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 11; }

.frame-duo { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-items: start; }
.frame-duo .frame:first-child { margin-top: 2.5rem; transform: rotate(-1.5deg); }
.frame-duo .frame:nth-child(2) { transform: rotate(1.5deg); }
.frame-badge {
  position: absolute;
  z-index: 3;
  left: 50%; bottom: -1.2rem;
  transform: translateX(-50%) rotate(-2deg);
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-pill);
  background: var(--amber);
  color: var(--ink-900);
  border: 2.5px solid var(--ink-900);
  box-shadow: var(--off-1);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}
.frame-badge svg { color: var(--ink-900); }

.checklist { display: grid; gap: 0.7rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.97rem; color: var(--text-muted); }
.checklist svg { flex: none; margin-top: 4px; color: var(--emerald); }
.checklist b { color: var(--ink-900); font-weight: 700; }

/* -------------------------------------------------------------
   13. TABS
   ------------------------------------------------------------- */
.tabs {
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.4rem;
  border-radius: var(--r-pill);
  background: #ffffff;
  border: 1.5px solid #d3e2f2;
  box-shadow: 0 4px 16px rgba(10, 25, 47, 0.06);
  flex-wrap: wrap;
}
.tabs button {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.35rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-600);
  transition: all 0.22s var(--ease);
}
.tabs button:hover { color: var(--blue); background: #f0f7ff; }
.tabs button[aria-selected="true"] {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.32);
}
.tabs button .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.tabs button[aria-selected="true"] .dot { background: #67e8f9; opacity: 1; box-shadow: 0 0 8px #67e8f9; }
.tabpanel[hidden] { display: none; }

/* -------------------------------------------------------------
   14. TESTIMONIALS
   ------------------------------------------------------------- */
.quote-slider { position: relative; }
.quote-track { display: grid; }
.quote-slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), visibility 0.55s;
}
.quote-slide.is-active { opacity: 1; visibility: visible; transform: translateY(0); position: relative; }

.quote-card {
  position: relative;
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.9rem, 3.6vw, 3.25rem);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.quote-card__mark {
  font-size: 4.5rem; line-height: 0.6; font-weight: 700;
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  height: 2rem;
}
.quote-card blockquote {
  margin: 0;
  font-size: clamp(1.02rem, 0.96rem + 0.35vw, 1.18rem);
  line-height: 1.78;
  color: #e2e8f0;
  font-weight: 300;
}
.quote-card blockquote p + p { margin-top: 1rem; }
.quote-card__by {
  display: flex; align-items: center; gap: 0.85rem;
  padding-top: 1.1rem;
  border-top: 1.5px solid rgba(56, 189, 248, 0.2);
  flex-wrap: wrap;
}
.quote-card__av {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  flex: none;
}
.quote-card__by b { color: #ffffff; display: block; font-size: 0.98rem; }
.quote-card__by span { font-size: 0.81rem; color: #94a3b8; }
.quote-card__by .btn { margin-left: auto; }

.quote-nav { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.75rem; flex-wrap: wrap; }
.qnav-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.2s var(--ease);
}
.qnav-btn:hover { background: #2563eb; color: #ffffff; border-color: #2563eb; transform: scale(1.06); }
.qdots { display: flex; gap: 0.45rem; margin-left: auto; }
.qdot { width: 10px; height: 10px; border-radius: 50%; background: rgba(56, 189, 248, 0.3); transition: all 0.3s var(--ease); }
.qdot[aria-selected="true"] { background: #38bdf8; width: 30px; border-radius: var(--r-pill); box-shadow: 0 0 10px rgba(56, 189, 248, 0.5); }

/* -------------------------------------------------------------
   15. GALLERY + LIGHTBOX
   ------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
}
.gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-100);
  border: 2.5px solid var(--ink-900);
  box-shadow: var(--off-1);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9, 25, 47, 0.6), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.gallery__item:hover { transform: translate(-3px, -3px); box-shadow: var(--off-3); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { opacity: 1; }
.gallery__zoom {
  position: absolute;
  right: 0.7rem; bottom: 0.7rem;
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--amber);
  color: var(--ink-900);
  border: 2px solid var(--ink-900);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
}
.gallery__item:hover .gallery__zoom { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(7, 26, 23, 0.94);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(100%, 1100px);
  max-height: 84vh;
  width: auto;
  border-radius: var(--r-md);
  border: 3px solid var(--sand);
  transform: scale(0.95);
  transition: transform 0.4s var(--ease);
}
.lightbox.is-open img { transform: scale(1); }
.lb-btn {
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: transparent;
  border: 2px solid var(--mint-pale);
  color: var(--mint-pale);
  transition: all 0.22s var(--ease);
}
.lb-btn:hover { background: var(--amber); color: var(--ink-900); border-color: var(--amber); }
.lb-close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lb-prev { left: clamp(0.6rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(0.6rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }
.lb-count { position: absolute; bottom: clamp(1rem, 3vw, 2rem); left: 50%; transform: translateX(-50%); color: #9fb5ac; font-size: 0.84rem; font-weight: 600; letter-spacing: 0.08em; }

/* -------------------------------------------------------------
   16. CTA BAND / DONATE STRIP
   ------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(4.5rem, 7vw, 7rem);
  color: var(--sand);
  border-block: 2px solid var(--ink-900);
}
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(9, 25, 47, 0.94) 18%, rgba(20, 82, 168, 0.88) 60%, rgba(35, 118, 229, 0.78));
}
.cta-band h2 { color: var(--sand); }
.cta-band p { color: #b9cdc5; }
.cta-band__inner { display: grid; gap: 1.4rem; max-width: 48rem; justify-items: start; }
.cta-band__inner.is-centered { margin-inline: auto; text-align: center; justify-items: center; }

.donate-strip {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--coral);
  color: #fff;
  border: 2.5px solid var(--ink-900);
  box-shadow: var(--off-3);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.75rem 2.5rem;
}
.donate-strip::after {
  content: ""; position: absolute; right: -70px; top: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.donate-strip::before {
  content: ""; position: absolute; left: -50px; bottom: -100px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(9, 25, 47, 0.1);
}
.donate-strip > * { position: relative; z-index: 1; }
.donate-strip h2 { color: #fff; margin: 0 0 0.55rem; }
.donate-strip p { color: rgba(255, 255, 255, 0.94); margin: 0; }
@media (max-width: 780px) { .donate-strip { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------
   17. NEWSLETTER
   ------------------------------------------------------------- */
.newsletter {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 1fr);
  align-items: center;
  gap: 1.75rem 3rem;
}
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; } }
.newsletter h2 { margin: 0 0 0.5rem; }
.nl-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.35rem 0.35rem 1.25rem;
  background: rgba(250, 246, 239, 0.08);
  border: 2px solid rgba(169, 221, 203, 0.35);
  border-radius: var(--r-pill);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
  flex-wrap: wrap;
}
.nl-form:focus-within {
  border-color: var(--mint-pale);
  background: rgba(250, 246, 239, 0.12);
  box-shadow: 0 0 0 3px rgba(169, 221, 203, 0.2);
}
.nl-form .field {
  flex: 1 1 180px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: transparent;
  border: none;
}
.nl-form input,
.nl-form .field input {
  width: 100%;
  min-width: 0;
  padding: 0.65rem 0.25rem;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--sand) !important;
  font-size: 0.95rem;
  outline: none !important;
}
.nl-form input::placeholder,
.nl-form .field input::placeholder {
  color: #92b0a5;
  opacity: 1;
}
.nl-form .field__err {
  position: absolute;
  top: calc(100% + 6px);
  left: 1.25rem;
  color: #ff9a85;
  font-size: 0.78rem;
  font-weight: 600;
}
.nl-form .btn {
  flex: none;
  border-radius: var(--r-pill);
  padding: 0.72rem 1.45rem;
}

/* -------------------------------------------------------------
   18. FORMS
   ------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; min-width: 0; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.1rem; min-width: 0; }
/* grid items default to min-width:auto, so a <select> with long option text
   (the cause list) would push the whole form wider than its panel */
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label { font-size: 0.83rem; font-weight: 600; color: var(--ink-800); }
.field label .req { color: var(--coral-deep); }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0.88rem 1.05rem;
  border-radius: var(--r-sm);
  border: 2px solid var(--ink-900);
  background: var(--paper);
  color: var(--ink-900);
  font-size: 0.96rem;
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 3px 3px 0 var(--emerald);
}
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--coral-deep);
  box-shadow: 3px 3px 0 var(--coral);
}
.field__err { font-size: 0.79rem; font-weight: 600; color: var(--coral-deep); display: none; }
.field.has-error .field__err { display: block; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%232563eb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.05rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}

/* -------------------------------------------------------------
   Custom Styled Select Dropdown Component
   ------------------------------------------------------------- */
.custom-select-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
}
.custom-select-native-hidden {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  border: 0 !important;
  padding: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  overflow: hidden !important;
}
.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.88rem 1.15rem;
  background: #ffffff;
  border: 2px solid #d3e2f2;
  border-radius: var(--r-sm);
  color: var(--ink-900);
  font-size: 0.96rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(10, 25, 47, 0.04);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
  text-align: left;
}
.custom-select-trigger:hover {
  border-color: var(--blue);
  background: #fbfdff;
}
.custom-select-wrap.is-open .custom-select-trigger,
.custom-select-trigger:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.18);
  background: #ffffff;
}
.custom-select-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-900);
}
.custom-select-chevron {
  flex: none;
  display: grid;
  place-items: center;
  color: var(--blue);
  transition: transform 0.25s var(--ease);
}
.custom-select-wrap.is-open .custom-select-chevron {
  transform: rotate(180deg);
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 120;
  max-height: 300px;
  overflow-y: auto;
  background: #ffffff;
  border: 2px solid #d3e2f2;
  border-radius: var(--r-md);
  box-shadow: 0 16px 36px rgba(10, 25, 47, 0.16), 0 2px 8px rgba(10, 25, 47, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  padding: 0.45rem;
}
.custom-select-wrap.is-open .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Custom scrollbar */
.custom-select-dropdown::-webkit-scrollbar {
  width: 7px;
}
.custom-select-dropdown::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: var(--r-pill);
}
.custom-select-dropdown::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--r-pill);
}
.custom-select-dropdown::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.custom-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 0.95rem;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-800);
  cursor: pointer;
  transition: all 0.16s var(--ease);
}
.custom-select-option span:first-child {
  flex: 1;
  min-width: 0;
}
.custom-select-option:hover {
  background: #f0f7ff;
  color: var(--blue);
  padding-left: 1.2rem;
}
.custom-select-option.is-selected {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
}
.custom-select-check {
  flex: none;
  display: grid;
  place-items: center;
  color: #2563eb;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.custom-select-option.is-selected .custom-select-check {
  opacity: 1;
  transform: scale(1);
}
.form-note { font-size: 0.83rem; color: var(--text-soft); }
.form-success {
  display: none;
  align-items: center; gap: 0.7rem;
  padding: 0.9rem 1.15rem;
  border-radius: var(--r-sm);
  background: var(--surface-mint);
  border: 2px solid var(--emerald);
  color: var(--emerald-ink);
  font-weight: 600;
  font-size: 0.91rem;
}
.form-success.is-visible { display: flex; }

.card-panel {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  background: var(--paper);
  border: 2.5px solid var(--ink-900);
  border-radius: var(--r-xl);
  box-shadow: var(--off-3);
}

.info-list { display: grid; gap: 0.9rem; }
.info-item {
  display: flex; align-items: flex-start; gap: 0.95rem;
  padding: 1.05rem 1.25rem;
  border-radius: var(--r-md);
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.info-item:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}
.info-item__ic {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.32);
  flex: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.info-item__ic svg { stroke: #ffffff; }
.info-item:hover .info-item__ic {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
}

/* Alternating colorful theme icon accents */
.info-item:nth-child(5n+1) .info-item__ic {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.32);
}
.info-item:nth-child(5n+2) .info-item__ic {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.32);
}
.info-item:nth-child(5n+3) .info-item__ic {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.32);
}
.info-item:nth-child(5n+4) .info-item__ic {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.32);
}
.info-item:nth-child(5n+5) .info-item__ic {
  background: linear-gradient(135deg, #ec4899, #db2777);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.32);
}

.info-item b { display: block; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: #ea580c; margin-bottom: 0.15rem; font-weight: 700; }
.info-item a, .info-item p { font-weight: 600; color: var(--ink-900); margin: 0; font-size: 0.97rem; }
.info-item a:hover { color: var(--blue); }

.map-embed {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 2.5px solid var(--ink-900);
  box-shadow: var(--off-3);
  line-height: 0;
  background: var(--ink-100);
}
.map-embed iframe { width: 100%; height: clamp(300px, 42vw, 460px); border: 0; }

.amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 0.7rem; }
.amount {
  padding: 0.95rem 0.5rem;
  border-radius: var(--r-sm);
  border: 2px solid var(--ink-900);
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink-900);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  transition: all 0.16s var(--ease);
}
.amount:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink-900); }
/* pressed state flattens its shadow rather than shifting, so a selected
   amount can't nudge the grid 3px past its panel */
.amount[aria-pressed="true"] {
  background: var(--emerald);
  color: #fff;
  transform: none;
  box-shadow: inset 0 2px 0 rgba(9, 25, 47, 0.25);
}
.freq-toggle {
  display: inline-flex;
  padding: 0.3rem;
  border-radius: var(--r-pill);
  background: var(--sand-deep);
  border: 2px solid var(--ink-900);
}
.freq-toggle button {
  padding: 0.52rem 1.35rem;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: all 0.22s var(--ease);
}
.freq-toggle button[aria-pressed="true"] { background: var(--emerald-ink); color: var(--sand); }

/* -------------------------------------------------------------
   19. ACCORDION
   ------------------------------------------------------------- */
.accordion { display: grid; gap: 0.8rem; }
.acc-item {
  background: var(--paper);
  border: 2.5px solid var(--ink-900);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--off-1);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.acc-item.is-open { box-shadow: var(--off-3); transform: translate(-2px, -2px); }
.acc-trigger {
  width: 100%;
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.2rem 1.35rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  transition: color 0.25s var(--ease);
}
.acc-trigger:hover { color: var(--coral-deep); }
.acc-icon {
  margin-left: auto; flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sand-deep);
  color: var(--ink-900);
  border: 2px solid var(--ink-900);
  transition: all 0.32s var(--ease);
}
.acc-item.is-open .acc-icon { background: var(--amber); transform: rotate(180deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 1.35rem 1.35rem; margin: 0; color: var(--text-muted); font-size: 0.96rem; }

/* -------------------------------------------------------------
   20. LOGO STRIP
   ------------------------------------------------------------- */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.logo-strip img {
  height: clamp(52px, 6vw, 76px);
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all 0.3s var(--ease);
}
.logo-strip img:hover { filter: none; opacity: 1; transform: scale(1.05) rotate(-1.5deg); }

/* -------------------------------------------------------------
   21. FOOTER
   ------------------------------------------------------------- */
.site-footer {
  background: var(--surface-deep);
  color: #9fb5ac;
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--ink-900);
}
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--emerald) 0 33%, var(--amber) 33% 66%, var(--coral) 66% 100%);
}
.site-footer .muted, .site-footer .soft { color: #9fb5ac; }
.site-footer h2 { color: var(--sand); }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(2rem, 4vw, 3.25rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { display: grid; gap: 1.1rem; align-content: start; }
.footer-brand img { height: 54px; width: auto; }
.footer-brand p { font-size: 0.94rem; line-height: 1.7; max-width: 30rem; }
.footer-contact { display: grid; gap: 0.55rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--mint-pale); font-weight: 500; font-size: 0.94rem; }
.footer-contact a svg { color: var(--amber); flex: none; }
.footer-contact a:hover { color: var(--sand); }

.footer-col h4 {
  color: var(--sand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.05rem;
}
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a { color: #9fb5ac; font-size: 0.93rem; }
.footer-col li a { transition: color 0.22s var(--ease), padding-left 0.22s var(--ease); display: inline-block; }
.footer-col a:hover { color: var(--amber); padding-left: 4px; }

.site-footer .footer-col:last-child h4,
.site-footer .footer-col:has(.charity-box) h4 {
  color: var(--amber);
  letter-spacing: 0.18em;
}

.charity-box {
  padding: 1.2rem 1.25rem;
  border-radius: var(--r-md);
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.22) 0%, rgba(10, 30, 59, 0.65) 50%, rgba(56, 189, 248, 0.12) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 20px rgba(56, 189, 248, 0.16);
  display: grid;
  gap: 0.55rem;
  position: relative;
  overflow: hidden;
  transition: all 0.28s var(--ease);
}
.charity-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--amber) 0%, var(--mint) 100%);
}
.charity-box:hover {
  border-color: rgba(56, 189, 248, 0.75);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 28px rgba(56, 189, 248, 0.28);
  transform: translateY(-2px);
}
.charity-box b {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.01em;
}
.charity-box span {
  font-size: 0.86rem;
  color: #dbeafe;
  line-height: 1.5;
}
.charity-box code {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.92rem;
  color: #fef08a;
  background: rgba(232, 163, 61, 0.22);
  border: 1px solid rgba(232, 163, 61, 0.55);
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  display: inline-block;
  margin-top: 0.35rem;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.site-footer .footer-col:has(.charity-box) .tiny.muted,
.site-footer .footer-col:last-child .tiny.muted {
  color: #dbe6f3 !important;
  font-size: 0.84rem;
  line-height: 1.55;
  margin-top: 0.85rem !important;
}

/* Bank transfer / direct deposit details */
.bank-card {
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: var(--paper);
  border: 2.5px solid var(--ink-900);
  border-radius: var(--r-lg);
  box-shadow: var(--off-2);
  display: grid;
  gap: 1rem;
  align-content: start;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.bank-card:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink-900);
}
.bank-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.bank-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: var(--r-pill);
  padding: 0.2rem 0.65rem;
}
.bank-rows { display: grid; gap: 0; margin: 0; }
.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.bank-row:last-child { border-bottom: 0; }
.bank-row dt { margin: 0; font-size: 0.86rem; color: var(--text-muted); flex: none; }
.bank-row dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-900);
  text-align: right;
  letter-spacing: 0.02em;
}

.footer-bottom {
  border-top: 2px solid rgba(169, 221, 203, 0.16);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a { color: #9fb5ac; }
.footer-bottom a:hover { color: var(--amber); }

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 70;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--amber);
  color: var(--ink-900);
  border: 2.5px solid var(--ink-900);
  box-shadow: var(--off-1);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink-900); }

/* -------------------------------------------------------------
   22. SCROLL REVEAL
   ------------------------------------------------------------- */
/* Opt-in: content is only hidden once JS confirms it can reveal it again. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.js [data-reveal="left"]  { transform: translateX(-28px); }
.js [data-reveal="right"] { transform: translateX(28px); }
.js [data-reveal="zoom"]  { transform: scale(0.95); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =============================================================
   22b. ENHANCEMENT LAYER
   Carousels · bento grids · marquee · scroll progress ·
   split-text reveals · parallax · richer card behaviour
   ============================================================= */

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--emerald) 0%, var(--amber) 55%, var(--coral) 100%);
  z-index: 100;
  pointer-events: none;
  will-change: transform;
}

/* ---- Page-load fade ---- */
.js body { opacity: 0; }
.js body.is-ready { opacity: 1; transition: opacity 0.5s var(--ease); }

/* ---- Split-text heading reveal ---- */
.split-line { display: block; overflow: hidden; }
.split-word {
  display: inline-block;
  transform: translateY(105%) rotate(3deg);
  opacity: 0;
  transition: transform 0.75s var(--ease-out), opacity 0.6s var(--ease-out);
  transition-delay: var(--wd, 0ms);
}
.is-split-in .split-word { transform: translateY(0) rotate(0); opacity: 1; }

/* ---- Parallax media ---- */
[data-parallax] { will-change: transform; }
[data-parallax] img { transform: scale(1.14); will-change: transform; }

/* -------------------------------------------------------------
   CAROUSEL — native scroll-snap track, JS drives arrows/dots
   ------------------------------------------------------------- */
.carousel { position: relative; }

.carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* room for the cards' offset shadows and hover lift */
  padding: 6px 0 16px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  /* without this the snapport starts at the border box, so slides snap flush
     to the screen edge and cancel the gutter above */
  scroll-padding-inline: var(--gutter);
  cursor: grab;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__viewport.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.carousel__viewport.is-dragging * { pointer-events: none; }

.carousel__track {
  display: flex;
  gap: var(--car-gap, clamp(1rem, 2vw, 1.6rem));
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* --peek leaves the next slide clearly visible on small screens, so a card
   never looks like it has simply been cut off at the screen edge */
.carousel__slide {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--car-gap, 1.6rem) - var(--peek, 0px)) / var(--per));
  scroll-snap-align: start;
  min-width: 0;
  display: flex;
}
.carousel__slide > * { width: 100%; }

/* slides-per-view — set by --per, stepped down at each breakpoint */
.carousel { --per: 1; --car-gap: clamp(1rem, 2vw, 1.6rem); --peek: 2.75rem; }
@media (min-width: 640px) { .carousel { --peek: 0px; } }
@media (min-width: 640px)  { .carousel[data-per="2"], .carousel[data-per="3"], .carousel[data-per="4"] { --per: 2; } }
@media (min-width: 1000px) { .carousel[data-per="3"] { --per: 3; } .carousel[data-per="4"] { --per: 3; } }
@media (min-width: 1240px) { .carousel[data-per="4"] { --per: 4; } }

.carousel__nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}
.carousel__arrow {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper);
  color: var(--ink-900);
  border: 2.5px solid var(--ink-900);
  box-shadow: 3px 3px 0 var(--ink-900);
  transition: all 0.16s var(--ease);
  flex: none;
}
.carousel__arrow:hover:not(:disabled) { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink-900); background: var(--amber); }
.carousel__arrow:disabled { opacity: 0.32; cursor: not-allowed; box-shadow: 2px 2px 0 var(--ink-900); }
.carousel__dots { display: flex; gap: 0.45rem; margin-left: auto; align-items: center; }
.carousel__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--ink-900);
  transition: all 0.3s var(--ease);
  padding: 0;
}
.carousel__dot[aria-selected="true"] { background: var(--coral); width: 32px; border-radius: var(--r-pill); }

/* progress rail alternative to dots */
.carousel__rail {
  flex: 1;
  height: 4px;
  background: var(--sand-deeper);
  border-radius: var(--r-pill);
  overflow: hidden;
  margin-left: 0.5rem;
  min-width: 80px;
}
.carousel__rail span {
  display: block;
  height: 100%;
  width: 30%;
  background: var(--emerald);
  border-radius: var(--r-pill);
  transition: transform 0.4s var(--ease), width 0.4s var(--ease);
}

/* dark-band carousel controls */
.section--deep .carousel__arrow,
.cta-band .carousel__arrow {
  background: transparent; color: var(--mint-pale);
  border-color: var(--mint-pale); box-shadow: 3px 3px 0 rgba(169, 221, 203, 0.35);
}
.section--deep .carousel__arrow:hover:not(:disabled) { background: var(--amber); color: var(--ink-900); border-color: var(--amber); }
.section--deep .carousel__dot { border-color: var(--mint-pale); }
.section--deep .carousel__dot[aria-selected="true"] { background: var(--amber); border-color: var(--amber); }

/* -------------------------------------------------------------
   BENTO GRID — asymmetric editorial media grid
   ------------------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(0, 190px);
  gap: clamp(0.8rem, 1.6vw, 1.25rem);
}
.bento__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 2.5px solid var(--ink-900);
  box-shadow: var(--off-1);
  background: var(--ink-100);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  grid-column: span 1;
  grid-row: span 1;
}
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.85s var(--ease); }
.bento__item:hover { transform: translate(-3px, -3px); box-shadow: var(--off-3); z-index: 2; }
.bento__item:hover img { transform: scale(1.09); }
.bento__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9, 25, 47, 0.72), transparent 58%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.bento__item:hover::after { opacity: 1; }

.bento__cap {
  position: absolute;
  left: 0.95rem; right: 0.95rem; bottom: 0.85rem;
  z-index: 2;
  color: var(--sand);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.35s var(--ease);
}
.bento__item:hover .bento__cap { opacity: 1; transform: translateY(0); }

.bento__item--w2 { grid-column: span 2; }
.bento__item--h2 { grid-row: span 2; }
.bento__item--w2h2 { grid-column: span 2; grid-row: span 2; }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(0, 165px); }
  .bento__item--w2h2 { grid-column: span 2; grid-row: span 2; }
  .bento__item--w2 { grid-column: span 2; }
  .bento__item--h2 { grid-row: span 1; }
  .bento__item--hide-mobile { display: none; }
}
@media (max-width: 520px) {
  .bento { grid-auto-rows: minmax(0, 140px); }
  .bento__item--h2 { grid-row: span 1; }
  .bento__item--w2h2 { grid-row: span 2; }
}

/* -------------------------------------------------------------
   MARQUEE — scrolling values ticker
   ------------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(0.9rem, 1.6vw, 1.3rem);
  background: var(--emerald-ink);
  border-block: 2.5px solid var(--ink-900);
  display: flex;
}
.marquee--amber { background: var(--amber); }
.marquee--coral { background: var(--coral); }
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex: none;
  min-width: 100%;
  padding-right: 2.5rem;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--sand);
  white-space: nowrap;
}
.marquee--amber .marquee__item, .marquee--coral .marquee__item { color: var(--ink-900); }
.marquee__item svg { flex: none; opacity: 0.75; }
.marquee__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); flex: none; }
.marquee--amber .marquee__dot, .marquee--coral .marquee__dot { background: var(--ink-900); }

/* -------------------------------------------------------------
   RICHER CARD BEHAVIOUR
   ------------------------------------------------------------- */
/* media zoom + slide-up caption for cause cards */
.cause-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9, 25, 47, 0.55), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.cause-card:hover .cause-card__media::after { opacity: 1; }

/* arrow that slides in on hover */
.card-go {
  position: absolute;
  right: 0.85rem; bottom: 0.85rem;
  z-index: 3;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--amber);
  color: var(--ink-900);
  border: 2.5px solid var(--ink-900);
  opacity: 0;
  transform: translate(6px, 6px) rotate(-25deg);
  transition: all 0.35s var(--ease);
}
.cause-card:hover .card-go,
.program-card:hover .card-go { opacity: 1; transform: translate(0, 0) rotate(0); }

/* subtle 3D tilt — JS writes the transform, this just smooths the return */
[data-tilt] { transition: transform 0.35s var(--ease), box-shadow 0.25s var(--ease); transform-style: preserve-3d; }

/* icon pop on card hover */
.program-card:hover .program-card__ic,
.tile:hover .tile__ic { transform: rotate(-8deg) scale(1.06); }
.program-card__ic, .tile__ic { transition: transform 0.3s var(--ease); }

/* Stat cards get a hover glow on the dark band */
.stat { position: relative; overflow: hidden; }
.stat::after {
  content: "";
  position: absolute;
  inset: auto auto -60% -20%;
  width: 140%; height: 120%;
  background: radial-gradient(closest-side, rgba(232, 163, 61, 0.22), transparent);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.stat:hover::after { opacity: 1; }

/* -------------------------------------------------------------
   23. UTILITIES
   ------------------------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1.5rem; }
.full { width: 100%; }
.divider { height: 2px; background: var(--line); border: 0; }
.stack > * + * { margin-top: var(--gap, 1rem); }
.flow-tight > * + * { margin-top: 0.75rem; }

/* -------------------------------------------------------------
   24. RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width: 1120px) {
  .nav__menu { display: none; }
  .nav__actions .btn--donate { display: none; }
  .burger { display: flex; }
}
@media (max-width: 480px) {
  .nav { gap: 0.5rem; }
  .brand img { height: auto; width: auto; max-width: 140px; max-height: 42px; }
  body.is-scrolled .brand img { max-width: 120px; max-height: 36px; }
  .nav__actions { gap: 0.45rem; }
}
/* Between the mobile cut-off and ~1000px the three items plus socials wrap
   onto a second line; drop the address (it is in the footer and drawer). */
@media (max-width: 1000px) {
  .topbar__list > li:first-child { display: none; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  /* The info bar goes entirely on mobile — phone, hours and address all live
     in the drawer and the footer. JS measures its height as 0, so the nav
     simply moves to the top of the page. */
  .topbar { display: none; }
}
@media (max-width: 640px) {
  .trust-sep { display: none; }
  .hero__trust { gap: 1.1rem 1.75rem; }
  .event-card { grid-template-columns: 1fr; }
  .event-date { width: 100%; grid-auto-flow: column; gap: 0.6rem; justify-content: center; padding: 0.55rem; }
  .event-date span { margin-top: 0; }
  /* rotated frames widen their bounding box; keep them square on phones */
  .frame-duo .frame:first-child { margin-top: 0; transform: none; }
  .frame-duo .frame:nth-child(2) { transform: none; }
  .quote-card__by .btn { margin-left: 0; width: 100%; }
  .sec-num b { font-size: 1.4rem; }
}

/* -------------------------------------------------------------
   24b. MOBILE REFINEMENTS
   ------------------------------------------------------------- */
@media (max-width: 620px) {
  /* Tabs wrapped onto three lines inside a pill and read as a blob.
     Turn them into a proper segmented control instead. */
  .tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 0.3rem;
    border-radius: var(--r-md);
  }
  .tabs button {
    justify-content: center;
    padding: 0.65rem 0.35rem;
    font-size: 0.8rem;
    border-radius: var(--r-sm);
    line-height: 1.2;
  }
  .tabs button .dot { display: none; }

  /* comfortable tap targets */
  .footer-col a, .footer-bottom a { display: inline-block; padding-block: 0.5rem; }
  .footer-contact a { padding-block: 0.5rem; }
  .info-item a { display: inline-block; padding-block: 0.45rem; }
  .link-arrow { padding-block: 0.4rem; }
  .crumbs a { display: inline-block; padding-block: 0.4rem; }
  .soc { width: 42px; height: 42px; }
  .drawer__contact a { display: inline-block; padding-block: 0.4rem; }

  /* the dots are 10px of ink — give them an invisible 38px-tall hit area.
     Vertical only, so the expanded area can't widen the row. */
  .carousel__dot { position: relative; }
  .carousel__dot::after { content: ""; position: absolute; inset: -14px 0; }
  .qdot { position: relative; width: 11px; height: 11px; }
  .qdot::after { content: ""; position: absolute; inset: -14px 0; }

  .event-date span { font-size: 0.72rem; }

  /* keep the back-to-top clear of full-width buttons */
  .to-top { width: 46px; height: 46px; }
}

/* On phones, keep page-hero readable and hero--media crystal clear without green cast */
@media (max-width: 860px) {
  .page-hero::before {
    background: linear-gradient(180deg, rgba(9, 25, 47, 0.85), rgba(9, 25, 47, 0.75));
  }
}

/* Decorative art must never widen a section on small screens. The morphing
   blob ends its keyframe rotated and scaled, which pushed the hero art ~44px
   past its column; it adds nothing behind full-width photos anyway. */
@media (max-width: 720px) {
  .hero__shape { display: none; }
  /* blurred blobs are positioned well outside their section; on phones they
     widen the section box for no visual gain (and cost a large blur) */
  .bloom { display: none; }
}

/* -------------------------------------------------------------
   25. MOTION & PRINT
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .mark::after { transform: scaleX(1) rotate(-0.6deg); }
  .split-word { transform: none !important; opacity: 1 !important; }
  .marquee__track { animation: none; }
  .carousel__viewport { scroll-behavior: auto; }
  [data-parallax] img { transform: none; }
  .js body { opacity: 1; }
}

@media print {
  .topbar, .site-header, .to-top, .cta-band, .drawer, .scrim, .lightbox { display: none !important; }
  body { color: #000; background: #fff; padding-top: 0; }
  body::after { display: none; }
  .section { padding-block: 1.5rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75em; }
}
