/* =====================================================================
   Good Heart Foundation — Design System  ·  Palette: Meadow Light
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette — Meadow Light (official) */
  --deep-meadow: #234E52;
  --fresh-green: #4FAF8F;
  --sage-light: #F5B5BA;
  --warm-sun: #DC143C;             /* crimson — primary CTA / warm accent */
  --cream-base: #FAF8F1;
  --muted-green-gray: #6B7D73;
  --ink: #172126;
  --text-secondary: #66737A;
  --white: #FFFFFF;

  /* Semantic aliases — map the component layer onto Meadow Light */
  --care-blue: var(--deep-meadow);
  --harbor-teal: var(--fresh-green);
  --sage-mist: var(--sage-light);
  --warm-coral: var(--warm-sun);
  --soft-sand: #FBF0EF;            /* soft meadow-cream section band */
  --slate-gray: var(--muted-green-gray);

  /* Derived tints / shades (all from Meadow Light) */
  --care-blue-deep: #1A3B3E;       /* darker meadow — dark hover / footer depth */
  --care-blue-soft: #2F656A;       /* lighter meadow */
  --teal-deep: #3C8E73;            /* deeper fresh-green — link / button hover */
  --teal-soft: #74C2A6;
  --coral-deep: #B0102F;           /* deeper crimson — CTA hover / icons */
  --coral-soft: #F6BCC6;
  --coral-wash: #FDEBEE;           /* crimson wash — urgent badge / celebrate */
  --amber-deep: #A00D2A;           /* readable deep crimson — text/icon on wash */
  --crimson-light: #FF6F86;        /* light crimson — accents on dark surfaces */
  --soft-red: #E35D6A;
  --coral-red: #E35D6A;            /* coral red (not overridden inside How it works, unlike --soft-red) */             /* soft (coral) red — hero CTA */
  --blush-coral: #F8B4B4;          /* very light coral red, almost pink — progress bar start */
  --blush-wash: #FDE8E8;           /* lightest coral pink — soft hover surfaces */
  --coral-pink: #EF8A94;           /* pinkish coral red — active carousel dots */
  --coral-ink: #A8323F;            /* dark coral red — How it works frames, headings */
  --coral-ink-deep: #8E2733;
  --coral-mid: #C9404E;
  --coral-gray: #86696D;           /* coral-tinted secondary text */
  --coral-text: #C24A57;           /* readable coral red for text on light surfaces */
  --sage-soft: #F7C9CC;
  --sage-wash: #FDEEEE;            /* very light sage — chips / soft surfaces */
  --cream-2: #FFFFFF;              /* cards & inner surfaces */
  --sand-line: #F0DEDE;            /* progress track / muted line */
  --line: #F2E2E2;                 /* soft sage-derived border */
  --line-soft: #F8EEEE;

  /* Semantic */
  --bg: var(--cream-base);
  --bg-raised: #FFFFFFcc;
  --text: var(--ink);
  --text-2: var(--slate-gray);
  --accent: var(--warm-sun);
  --link: var(--fresh-green);

  /* Type */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;  /* editorial serif — big emotional headings */
  --font-logo: "Fraunces", "Cormorant Garamond", Georgia, serif;     /* brand wordmark — pinned so page-level overrides never touch the logo */
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;           /* UI: eyebrows, buttons, labels, card titles */
  --font-body: "Inter", system-ui, sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows — soft, warm, layered */
  --sh-xs: 0 1px 2px rgba(23, 33, 38, .05);
  --sh-sm: 0 2px 10px rgba(23, 33, 38, .06);
  --sh-md: 0 10px 30px -12px rgba(23, 33, 38, .18);
  --sh-lg: 0 24px 60px -22px rgba(23, 33, 38, .26);
  --sh-glass: 0 8px 30px -8px rgba(35,78,82, .18);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(18px, 5vw, 56px);
  --header-h: 92px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --dur: .5s;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(760px 520px at 100% 1%, rgba(248,180,180,.08), transparent 55%),
    radial-gradient(700px 600px at 0% 26%, rgba(245,181,186,.10), transparent 55%),
    radial-gradient(760px 560px at 100% 56%, rgba(245,181,186,.08), transparent 55%),
    radial-gradient(680px 540px at 0% 84%, rgba(248,180,180,.07), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;  /* clip (not hidden) so it never makes body a scroll container — keeps position:sticky working */
  min-height: 100vh;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Editorial display — the big, emotional headings carry the serif voice;
   smaller structural headings (cards, steps, FAQ, labels) stay on the clean sans. */
h1, h2, .feature-text h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.feature-text h3 { line-height: 1.14; }
/* Campaign page only: titles and figures use the clean sans instead of the serif.
   Scoped via the display token so every var(--font-display) element follows; the
   brand wordmark uses --font-logo, so the logo stays Fraunces across the whole site. */
body[data-page="campaign"] { --font-display: "Plus Jakarta Sans", system-ui, sans-serif; }
i.serif, .serif-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}

::selection { background: var(--coral-soft); color: var(--ink); }

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

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 760px; }
.section { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(44px, 6vw, 80px); }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--harbor-teal);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--warm-coral);
  border-radius: 2px;
}

.section-head { max-width: 640px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 {
  font-size: clamp(28px, 4.4vw, 44px);
  margin-bottom: 14px;
}
.section-head p { color: var(--text-2); font-size: clamp(16px, 2vw, 18px); max-width: 52ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center p { margin-inline: auto; }

.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--text-2); line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--warm-sun);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -.01em;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: var(--sh-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
  position: relative;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn:active { transform: translateY(0); }

.btn-primary { --btn-bg: var(--warm-sun); --btn-fg: #fff; }
.btn-primary:hover { --btn-bg: var(--coral-deep); }

.btn-dark { --btn-bg: var(--warm-sun); --btn-fg: #fff; }
.btn-dark:hover { --btn-bg: var(--coral-deep); }

.btn-teal { --btn-bg: var(--warm-sun); --btn-fg: #fff; }
.btn-teal:hover { --btn-bg: var(--coral-deep); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { --btn-bg: #fff; box-shadow: inset 0 0 0 1.5px var(--sage-mist), var(--sh-sm); }

.btn-soft {
  --btn-bg: var(--sage-wash);
  --btn-fg: var(--care-blue);
  box-shadow: none;
}
.btn-soft:hover { --btn-bg: var(--sage-soft); }

.btn-block { width: 100%; }
.btn-lg { padding: 17px 30px; font-size: 16.5px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--harbor-teal);
  transition: gap .25s var(--ease), color .2s;
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--teal-deep); gap: 11px; }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12.5px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--sage-wash);
  color: var(--care-blue);
  border: 1px solid transparent;
}
.badge-cat {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.86);
  color: var(--harbor-teal);
  backdrop-filter: blur(6px);
  box-shadow: var(--sh-xs);
}
.badge-status {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.badge-status.urgent { background: var(--coral-wash); color: var(--amber-deep); }
.badge-status.urgent::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--amber-deep); }
.badge-status.almost { background: var(--sage-wash); color: var(--teal-deep); }
.badge-status.almost::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--harbor-teal); }

.verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--harbor-teal);
}
.verified svg { width: 16px; height: 16px; }

/* =====================================================================
   HEADER — fixed full-width glass bar (pinned to top, always visible)
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(250,248,241, .82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(240,214,214, .6);
  transition: box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.header-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 13px var(--gutter);
}
.site-header.is-scrolled {
  background: rgba(250,248,241, .94);
  border-color: rgba(240,214,214, .9);
  box-shadow: 0 8px 24px -16px rgba(35,78,82,.3);
}
/* browse page only: slightly more transparent header (lets the field backdrop show through) */
body[data-page="browse"] .site-header { background: rgba(250,248,241, .60); }
body[data-page="browse"] .site-header.is-scrolled { background: rgba(250,248,241, .80); }

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}
/* brand lockup: mark (green + warm, reads on light and dark) + wordmark */
.bf-mark { height: 38px; width: auto; flex: none; display: block; }
@media (min-width: 861px) { .bf-mark { height: 42px; } }
.brand-word {
  font-family: var(--font-logo);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -.015em;
  color: var(--fresh-green);  /* "Good" + "Foundation" in fresh green; "Heart" is crimson */
  line-height: 1;
}
@media (max-width: 360px) { .brand-word { font-size: 21px; } }
/* footer brand: light wordmark on the dark footer + institutional sub-line */
.footer-brand .brand-word { display: block; color: #FFC2CB; font-size: 22px; line-height: 1.02; }  /* whole footer wordmark in light pink */
.brand-word .brand-heart { color: var(--warm-sun); }  /* "Heart" in crimson */
.footer-brand .brand-word .brand-heart { color: #FFC2CB; }  /* light pink so "Heart" reads on the carmine footer */
.footer-brand .bf-mark .bf-heart { fill: #FFC2CB; }  /* heart of the logo mark, light pink on the carmine footer */
.footer-brand .bf-mark path:not(.bf-heart) { stroke: #FFC2CB; }  /* smile, light pink on the carmine footer */
.footer-brand .brand-word-sub { font-family: var(--font-head); font-weight: 600; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(250,248,241,.55); margin-top: 4px; }
.footer-brand .bf-mark { height: 44px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--care-blue);
  padding: 9px 14px;
  border-radius: var(--r-pill);
  transition: background .2s, color .2s;
  position: relative;
}
.nav a:hover { background: rgba(255,255,255,.6); }
.nav a.active { color: var(--harbor-teal); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .icon-btn { width: 52px; height: 52px; }
.header-actions .icon-btn svg { width: 24px; height: 24px; }
.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--care-blue);
  background: transparent;
  transition: background .2s, transform .2s, color .2s;
}
.icon-btn:hover { background: rgba(255,255,255,.7); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 20px; height: 20px; }

.header-cta { margin-left: 4px; }
.menu-btn { display: none; }

/* Drawer */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,42,44,.42);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 210;
  width: min(360px, 86vw); height: 100dvh;
  background: var(--cream-base);
  box-shadow: -20px 0 60px -20px rgba(20,42,44,.4);
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  display: flex; flex-direction: column;
  padding: 22px 24px calc(22px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.drawer-nav { display: flex; flex-direction: column; gap: 2px; }
.drawer-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  color: var(--care-blue);
  padding: 15px 14px 15px 0;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .2s;
}
.drawer-nav a:hover, .drawer-nav a.active { background: var(--soft-sand); color: var(--harbor-teal); }
.drawer-nav a svg { width: 18px; height: 18px; opacity: .5; }
.drawer-sep { height: 1px; background: var(--line); margin: 18px 0; }

/* "How it works" — top-nav dropdown */
.nav-dd { position: relative; display: flex; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--care-blue); padding: 9px 14px; border-radius: var(--r-pill); background: none; border: none; cursor: pointer; transition: background .2s, color .2s; }
.nav-dd-btn:hover { background: rgba(255,255,255,.6); }
.nav-dd-btn.active { color: var(--harbor-teal); }
.nav-dd-btn svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav-dd.open .nav-dd-btn svg { transform: rotate(90deg); }
.nav-dd-menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px); min-width: 244px; background: var(--cream-base); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: 0 20px 46px -22px rgba(35,78,82,.4); padding: 6px; opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; z-index: 120; }
.nav-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dd-menu a { display: block; padding: 10px 12px; border-radius: var(--r-md); transition: background .15s; }
.nav-dd-menu a:hover { background: var(--sage-wash); }
.nav-dd-menu a b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--deep-meadow); }
.nav-dd-menu a span { display: block; font-size: 12px; color: var(--muted-green-gray); margin-top: 1px; }

/* "How it works" — drawer accordion */
.drawer-acc-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; font-family: var(--font-head); font-weight: 600; font-size: 19px; color: var(--care-blue); padding: 15px 14px 15px 0; border-radius: var(--r-md); background: none; border: none; cursor: pointer; transition: background .2s, color .2s; }
.drawer-acc-btn:hover, .drawer-acc-btn.active { background: var(--soft-sand); color: var(--harbor-teal); }
.drawer-acc-btn svg { width: 18px; height: 18px; opacity: .5; transition: transform .25s var(--ease); }
.drawer-acc.open .drawer-acc-btn svg { transform: rotate(90deg); }
.drawer-acc-panel { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.drawer-acc.open .drawer-acc-panel { max-height: 220px; }
.drawer-acc-panel a { display: block; padding: 12px 14px 12px 22px; border-radius: var(--r-md); }
.drawer-acc-panel a:hover, .drawer-acc-panel a.active { background: var(--soft-sand); }
.drawer-acc-panel a b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--deep-meadow); }
.drawer-acc-panel a span { display: block; font-size: 13px; color: var(--muted-green-gray); margin-top: 1px; }

/* =====================================================================
   How-it-works pages — animated step flow (donor / organizer)
   ===================================================================== */
.hx-stage { background: linear-gradient(165deg, var(--cream-base), var(--sage-wash)); border: 1px solid var(--line-soft); border-radius: var(--r-xl); padding: clamp(24px, 5vw, 44px) clamp(18px, 4vw, 40px); box-shadow: var(--sh-sm); }
.hx-flow { --hx-cycle: 8s; position: relative; display: flex; flex-direction: column; gap: 20px; }
.hx-flow::before { content: ""; position: absolute; z-index: 0; left: 27px; top: 30px; bottom: 30px; border-left: 2px dashed var(--line); }
.hx-node { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 16px; }
.hx-ic { flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--cream-base); border: 1.5px solid var(--line-soft); box-shadow: var(--sh-xs); display: grid; place-items: center; color: var(--hx-accent, var(--fresh-green)); position: relative; animation: hx-glow var(--hx-cycle) ease-in-out infinite; animation-delay: calc(var(--i, 0) * (var(--hx-cycle) / 5)); }
.hx-ic svg { width: 24px; height: 24px; }
.hx-num { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--hx-accent, var(--fresh-green)); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 11px; display: grid; place-items: center; box-shadow: 0 2px 6px -2px rgba(35,78,82,.4); }
.hx-tx { padding-top: 4px; min-width: 0; }
.hx-tx b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--deep-meadow); }
.hx-tx span { display: block; font-size: 13.5px; color: var(--muted-green-gray); line-height: 1.45; margin-top: 2px; }
@keyframes hx-glow {
  0%, 100% { box-shadow: var(--sh-xs); border-color: var(--line-soft); transform: scale(1); }
  7% { box-shadow: 0 0 0 6px var(--hx-wash, rgba(79,175,143,.16)), 0 12px 24px -10px var(--hx-soft, rgba(79,175,143,.5)); border-color: var(--hx-accent, var(--fresh-green)); transform: scale(1.08); }
  18% { box-shadow: var(--sh-xs); border-color: var(--line-soft); transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { .hx-ic { animation: none; } }
.hx-donor { --hx-accent: var(--fresh-green); --hx-wash: rgba(79,175,143,.16); --hx-soft: rgba(79,175,143,.45); }
.hx-org { --hx-accent: var(--amber-deep); --hx-wash: rgba(220,20,60,.18); --hx-soft: rgba(220,20,60,.35); }
@media (min-width: 861px) {
  .hx-flow { flex-direction: row; align-items: flex-start; gap: 10px; }
  .hx-flow::before { left: 9%; right: 9%; top: 32px; bottom: auto; border-left: none; border-top: 2px dashed var(--line); }
  .hx-node { flex: 1; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .hx-ic { width: 64px; height: 64px; }
  .hx-tx { padding-top: 0; }
  .hx-tx span { max-width: 22ch; margin-inline: auto; }
}

/* =====================================================================
   How-it-works — animated demo player (donor / organizer)
   ===================================================================== */
.hd { max-width: 720px; margin-inline: auto; }
.hd-donor { --hc: var(--fresh-green); --hcd: var(--teal-deep); --hcw: rgba(79,175,143,.16); }
.hd-org { --hc: var(--amber-deep); --hcd: #7A0A20; --hcw: rgba(220,20,60,.19); }
.hd-device { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-xl); box-shadow: 0 28px 60px -34px rgba(35,78,82,.45), 0 2px 8px -4px rgba(35,78,82,.12); overflow: hidden; }
.hd-chrome { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px; background: linear-gradient(180deg, #fff, #f3f1e9); border-bottom: 1px solid var(--line); }
.hd-cdot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); flex: none; }
.hd-cdot:nth-child(1) { background: #ff6058; } .hd-cdot:nth-child(2) { background: #ffbd2e; } .hd-cdot:nth-child(3) { background: #28c840; }
.hd-url { margin: 0 auto; font-family: var(--font-head); font-weight: 600; font-size: 11.5px; color: var(--text-2); background: var(--cream-base); border: 1px solid var(--line-soft); border-radius: var(--r-pill); padding: 3px 18px; }
.hd-screens { position: relative; min-height: 420px; background: linear-gradient(180deg, var(--cream-base), var(--sage-wash)); }
/* off scenes hide instantly (no fade-out) so two scenes never overlap during the swap; only the incoming scene fades in */
.hd-scene { position: absolute; inset: 0; padding: clamp(16px, 3vw, 24px); opacity: 0; visibility: hidden; transform: translateY(12px) scale(.99); }
.hd-scene.on { opacity: 1; visibility: visible; transform: none; z-index: 2; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.hd-foot { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 18px; }
.hd-cap { font-family: var(--font-head); font-weight: 700; font-size: clamp(14px, 2.4vw, 16px); color: var(--deep-meadow); }
.hd-dots { display: flex; gap: 7px; }
.hd-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--sand-line); cursor: pointer; transition: width .25s var(--ease), background .25s; }
.hd-dots button.on { width: 22px; border-radius: 99px; background: var(--coral-pink); }

/* ---- mock primitives (scoped to the demo) ---- */
.m-screen { height: 100%; display: flex; flex-direction: column; gap: 11px; }
.hd-scene i { display: block; height: 8px; border-radius: 5px; background: rgba(35,78,82,.14); }
.m-h1 { height: 13px !important; width: 66%; background: rgba(35,78,82,.34) !important; border-radius: 6px; }
.m-p { height: 7px; width: 100%; } .m-p.w60 { width: 60%; }
.m-bar { display: block; height: 8px; border-radius: 99px; background: var(--sand-line); overflow: hidden; }
.m-bar.lg { height: 9px; } .m-bar.xl { height: 12px; }
.m-bar b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--hc), var(--warm-sun)); width: var(--w, 0%); }
.hd-scene.on .m-bar b.grow { width: 0; animation: m-fill 1.5s var(--ease) .25s forwards; }
@keyframes m-fill { to { width: var(--w); } }

.m-srch { height: 32px; border-radius: 10px; background: var(--sage-wash); flex: none; }
.m-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m-mini { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 8px; box-shadow: var(--sh-xs); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.m-mini i { width: 78%; margin: 8px 0 7px; }
.m-mimg { display: block; height: clamp(58px, 8vw, 78px); border-radius: 8px; }
.m-mimg.a { background: linear-gradient(150deg, #F6D9DC, #F5B5BA); } .m-mimg.b { background: linear-gradient(150deg, #F6BCC6, #E0506A); } .m-mimg.c { background: linear-gradient(150deg, #F9DDE0, #4faf8f); }
.hd-scene.on .m-mini.pick { border-color: var(--hc); box-shadow: 0 0 0 3px var(--hcw), 0 14px 26px -12px rgba(35,78,82,.4); transform: translateY(-4px); animation: m-pickpop 1.4s var(--ease); }
@keyframes m-pickpop { 0%,100% { transform: translateY(-4px); } 40% { transform: translateY(-7px); } }

.m-phero { height: clamp(96px, 16vw, 128px); border-radius: var(--r-md); background: linear-gradient(150deg, #F6BCC6, #E0506A); flex: none; }
.m-phero.a { background: linear-gradient(150deg, #F6D9DC, #F5B5BA); } .m-phero.b { background: linear-gradient(150deg, #cdbfb0, #b79a82); } .m-phero.ph { background: linear-gradient(150deg, var(--sage-wash), var(--soft-sand)); border: 1px dashed var(--sage-soft); }
.hd-scene.on .m-phero.appear { animation: m-appear .6s var(--ease); }
@keyframes m-appear { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.m-cat2 { align-self: flex-start; font-family: var(--font-head); font-weight: 700; font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--teal-deep); background: var(--sage-wash); padding: 4px 10px; border-radius: var(--r-pill); }
.m-read { gap: 9px; }

.m-cta { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border-radius: var(--r-pill); background: var(--warm-sun); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 13.5px; box-shadow: 0 10px 22px -10px rgba(220,20,60,.42); }
.m-cta.big { align-self: stretch; margin-top: auto; }
.m-cta.donate { margin-top: 4px; }
.hd-scene.on .m-cta.pulse { animation: m-pulse 1.6s var(--ease) infinite; }
@keyframes m-pulse { 0%,100% { box-shadow: 0 10px 22px -10px rgba(220,20,60,.42); transform: scale(1); } 50% { box-shadow: 0 14px 30px -10px rgba(220,20,60,.59); transform: scale(1.03); } }
.m-cta.pub { align-self: stretch; margin-top: auto; background: var(--cream-2); color: var(--muted-green-gray); box-shadow: none; }
.hd-scene.on .m-cta.pub { animation: m-activate .5s var(--ease) 1s forwards; }
@keyframes m-activate { to { background: var(--warm-sun); color: #fff; box-shadow: 0 12px 26px -10px rgba(220,20,60,.49); } }

.m-center { align-items: center; justify-content: center; }
.m-label { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--deep-meadow); }
.m-amt { padding: 13px 0; text-align: center; border-radius: var(--r-md); background: #fff; border: 1.5px solid var(--line-soft); font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--ink); }
.m-amts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hd-scene.on .m-amt.sel { border-color: var(--hc); background: var(--hcw); color: var(--hcd); animation: m-pop .5s var(--ease) .4s both; }
@keyframes m-pop { 0% { transform: scale(1); } 45% { transform: scale(1.08); } 100% { transform: scale(1); } }

.m-conf { align-items: center; justify-content: center; text-align: center; gap: 12px; }
.m-bigcheck { width: 68px; height: 68px; border-radius: 50%; background: var(--hcw); color: var(--hc); display: grid; place-items: center; }
.m-bigcheck svg { width: 34px; height: 34px; }
.hd-scene.on .m-bigcheck { animation: m-pop .55s var(--ease) both; }
.m-conf-t { font-family: var(--font-display); font-weight: 600; font-size: 21px; color: var(--deep-meadow); }
.m-conf-d { font-size: 13px; color: var(--muted-green-gray); }

.m-imp { align-items: center; justify-content: center; gap: 14px; position: relative; }
.m-imp-top { display: flex; align-items: baseline; gap: 8px; }
.m-imp-top b { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 8vw, 46px); color: var(--hc); }
.m-imp-top span { font-family: var(--font-head); font-weight: 700; color: var(--muted-green-gray); }
.m-imp .m-bar { width: min(86%, 420px); }
.m-imp-supp { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--muted-green-gray); }
.m-imp-supp svg { width: 16px; height: 16px; color: var(--coral-deep); }

.m-floaters { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.m-floaters i { position: absolute; bottom: 14%; display: inline-flex; align-items: center; gap: 4px; color: var(--coral-deep); opacity: 0; }
.m-floaters i svg { width: 18px; }
.m-floaters i u { font-family: var(--font-head); font-weight: 800; font-size: 11px; color: var(--hc); text-decoration: none; white-space: nowrap; }
.m-floaters i:nth-child(1) { left: 18%; } .m-floaters i:nth-child(2) { left: 40%; } .m-floaters i:nth-child(2) svg { width: 14px; } .m-floaters i:nth-child(3) { left: 64%; } .m-floaters i:nth-child(4) { left: 80%; }
.hd-scene.on .m-floaters i { animation: m-float 2.8s ease-in infinite; }
.hd-scene.on .m-floaters i:nth-child(2) { animation-delay: .7s; } .hd-scene.on .m-floaters i:nth-child(3) { animation-delay: 1.3s; } .hd-scene.on .m-floaters i:nth-child(4) { animation-delay: 1.9s; }
@keyframes m-float { 0% { opacity: 0; transform: translateY(0) scale(.7); } 20% { opacity: .95; } 100% { opacity: 0; transform: translateY(-130px) scale(1.05); } }

/* split form / preview (organizer) */
.m-split { display: grid; grid-template-columns: 1fr; gap: 11px; height: 100%; }
.m-form, .m-prev { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 13px; display: flex; flex-direction: column; gap: 7px; box-shadow: var(--sh-xs); }
.m-prev { background: var(--cream-base); }
.m-flabel { font-family: var(--font-head); font-weight: 700; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-green-gray); }
.m-flabel.dim { opacity: .45; }
.m-input { min-height: 34px; border-radius: var(--r-md); background: var(--cream-2); border: 1.5px solid var(--line); display: flex; align-items: center; gap: 1px; padding: 0 10px; }
.m-input.active { border-color: var(--hc); }
.m-input.dim { opacity: .45; min-height: 30px; }
.m-input.tall { min-height: 60px; flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; padding: 10px; }
.m-input.tall i { height: 7px; } .m-input.tall i.w60 { width: 60%; }
.m-input.goal { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--deep-meadow); }
.m-typed { display: inline-block; overflow: hidden; white-space: nowrap; max-width: 0; font-family: var(--font-body); font-size: 13px; color: var(--ink); }
.hd-scene.on .m-typed { animation: m-type 1.5s steps(26) .3s forwards; }
@keyframes m-type { to { max-width: 200px; } }
.m-caret { width: 2px; height: 16px; background: var(--hc); flex: none; animation: m-blink 1s steps(1) infinite; }
@keyframes m-blink { 50% { opacity: 0; } }
.m-upload { min-height: 34px; border-radius: var(--r-md); background: var(--hcw); border: 1.5px dashed var(--hc); color: var(--hcd); display: flex; align-items: center; gap: 6px; padding: 0 12px; font-family: var(--font-head); font-weight: 700; font-size: 12px; }
.m-upload svg { width: 15px; height: 15px; }
.m-prev .m-p.dim { opacity: .4; }
.hd-scene.on .m-prev .m-h1.in, .hd-scene.on .m-prev .m-p.in { animation: m-appear .6s var(--ease) both; }
.hd-scene.on .m-prev .m-p.in.d2 { animation-delay: .25s; }
.m-goaltx { font-family: var(--font-head); font-weight: 600; font-size: 11px; color: var(--muted-green-gray); }

/* ---- how-it-works: faithful wizard + confirmation screens (mirror the real pages) ---- */
.m-wiz { gap: 9px; justify-content: flex-start; }
.m-steps { display: flex; gap: 5px; margin-bottom: 2px; }
.m-step { flex: 1; font-family: var(--font-head); font-weight: 700; font-size: 8.5px; letter-spacing: .02em; text-transform: uppercase; color: var(--muted-green-gray); text-align: center; padding-top: 7px; border-top: 3px solid var(--sand-line); opacity: .6; }
.m-step.on { color: var(--hcd); border-top-color: var(--hc); opacity: 1; }
.m-step.done { color: var(--hc); border-top-color: var(--hc); opacity: 1; }
.m-wtitle { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--deep-meadow); }
.m-field { display: flex; flex-direction: column; gap: 5px; }
.m-ival { font-family: var(--font-body); font-size: 12.5px; color: var(--ink); }
.m-catrow { display: flex; gap: 6px; }
.m-catchip { font-family: var(--font-head); font-weight: 700; font-size: 11px; color: var(--muted-green-gray); background: var(--cream-2); border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 6px 12px; }
.m-catchip.sel { color: #fff; background: var(--warm-sun); border-color: var(--warm-sun); }
.m-story { align-items: stretch !important; }
.m-story-tx { font-family: var(--font-body); font-size: 12px; line-height: 1.5; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hd-scene.on .m-story-tx { animation: m-appear .55s var(--ease) both .25s; }
.m-story .m-caret { align-self: flex-start; }
.m-revcard { display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 9px; box-shadow: var(--sh-xs); }
.m-revimg { position: relative; flex: none; width: 82px; height: 60px; border-radius: 9px; overflow: hidden; background: var(--soft-sand); }
.m-revimg img { width: 100%; height: 100%; object-fit: cover; }
.m-revimg .m-tag { top: 5px; left: 5px; }
.m-revb { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.m-revb b { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; color: var(--ink); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-revb em { font-style: normal; font-family: var(--font-head); font-size: 11px; color: var(--muted-green-gray); }
.m-revnote { display: flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; font-size: 11.5px; color: var(--fresh-green); }
.m-revnote svg { width: 15px; height: 15px; flex: none; }
.m-submitted .m-revcard { align-self: stretch; }
.m-status2 { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 11px; color: var(--amber-deep); background: rgba(160,13,42,.1); padding: 5px 12px; border-radius: var(--r-pill); }
.m-status2 .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber-deep); }
.m-ref { font-family: var(--font-head); font-size: 11.5px; color: var(--muted-green-gray); }
.m-ref b { color: var(--hcd); }
.m-badge { display: inline-flex; align-items: center; font-family: var(--font-head); font-weight: 700; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fresh-green); background: var(--sage-wash); padding: 6px 14px; border-radius: var(--r-pill); }
.m-amtpill { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: #fff; background: var(--warm-sun); padding: 8px 20px; border-radius: var(--r-pill); }
.d-share { align-items: center; justify-content: center; text-align: center; gap: 12px; }
.d-share .d-donhd { align-self: stretch; }
.m-sharerow { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.m-schip { position: relative; font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--deep-meadow); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 9px 15px; }
.m-schip.fb { background: #1877F2; color: #fff; border-color: #1877F2; }
.m-schip.wa { background: #25D366; color: #fff; border-color: #25D366; }

/* dashboard (organizer final) */
.m-dash { gap: 12px; }
.m-dash-h { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--deep-meadow); }
.m-live { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: var(--fresh-green); background: var(--sage-wash); padding: 3px 9px; border-radius: var(--r-pill); }
.m-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-stat { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 11px 8px; text-align: center; box-shadow: var(--sh-xs); }
.m-stat b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 3vw, 20px); color: var(--deep-meadow); }
.m-stat span { font-size: 10px; color: var(--muted-green-gray); }
.m-feed { display: flex; align-items: center; gap: 8px; }
.m-fav { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sage-wash); color: var(--deep-meadow); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 11px; }
.m-feed i { flex: 1; } .m-feed i.w40 { flex: none; width: 40%; }
.m-dash { position: relative; }

/* cursor — glides onto the target, gives a satisfying press dip + a soft brand-colored ripple */
.m-cursor { position: absolute; right: 14px; bottom: 8px; width: 20px; height: 20px; z-index: 6; pointer-events: none; opacity: 0; transform-origin: 2px 2px; filter: drop-shadow(0 3px 6px rgba(35,78,82,.32)); }
.m-cursor::before { content: ""; position: absolute; inset: 0; background: #fff; border: 1.5px solid rgba(35,78,82,.6); clip-path: polygon(0 0, 0 75%, 22% 58%, 40% 92%, 56% 84%, 38% 50%, 70% 50%); }
/* click ripple — emanates from the pointer tip (top-left) */
.m-cursor::after { content: ""; position: absolute; left: -11px; top: -11px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--hc); background: var(--hcw); opacity: 0; }
/* anchor targets so the click lands exactly on them */
.hd .d-btn, .hd .m-cta, .hd .d-card, .hd .m-amt.sel { position: relative; }
.hd-scene.on .m-cursor { animation: m-cursor-in .55s var(--ease) .4s both, m-cursor-press 1.15s var(--ease) 1.15s 2; }
.hd-scene.on .m-cursor::after { animation: m-tap 1.15s var(--ease) 1.15s 2; }
@keyframes m-cursor-in { 0% { opacity: 0; transform: translate(18px, 18px) scale(.8); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes m-cursor-press { 0%, 100% { transform: none; } 9% { transform: scale(.78); } 26% { transform: none; } }
@keyframes m-tap { 0% { opacity: .55; transform: scale(.3); } 60% { opacity: .22; transform: scale(2); } 100% { opacity: 0; transform: scale(2.7); } }

@media (prefers-reduced-motion: reduce) {
  .hd-scene.on .m-bar b.grow { width: var(--w); animation: none; }
  .hd-scene.on .m-typed { max-width: 200px; animation: none; }
  .m-cursor, .m-floaters { display: none; }
}

/* ---- richer demo detail ---- */
.m-srch { display: flex; align-items: center; gap: 8px; padding: 0 14px; }
.m-srch svg { width: 16px; height: 16px; flex: none; color: var(--muted-green-gray); }
.m-srch-tx { font-family: var(--font-body); font-size: 12.5px; color: var(--text-2); }
.m-mimg { position: relative; }
.m-tag { position: absolute; top: 6px; left: 6px; font-family: var(--font-head); font-weight: 700; font-size: 8px; letter-spacing: .03em; text-transform: uppercase; color: var(--deep-meadow); background: rgba(255,255,255,.92); padding: 3px 7px; border-radius: var(--r-pill); }
.m-tag.light { top: 10px; left: 10px; font-size: 10px; padding: 4px 11px; }
.m-mh { position: absolute; top: 5px; right: 5px; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--coral-deep); }
.m-mh svg { width: 11px; height: 11px; }
.m-ml { height: 7px; border-radius: 5px; background: rgba(35,78,82,.16); margin: 8px 0 0; width: 86%; }
.m-ml.sm { width: 56%; margin-top: 5px; margin-bottom: 7px; }
.m-mini .m-bar { margin-top: 7px; }
.m-org { display: flex; align-items: center; gap: 9px; }
.m-oav { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sage-light); color: var(--deep-meadow); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 12px; }
.m-oinfo { display: flex; flex-direction: column; line-height: 1.3; }
.m-oinfo b { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--ink); }
.m-vf { display: inline-flex; color: var(--fresh-green); } .m-vf svg { width: 14px; height: 14px; }
.m-oinfo span { font-size: 11px; color: var(--muted-green-gray); }
.m-statrow { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.m-statrow b { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--ink); }
.m-statrow span { font-family: var(--font-head); font-size: 12px; color: var(--muted-green-gray); }
.m-srpct { color: var(--hc) !important; font-weight: 800 !important; font-size: 14px !important; }
.m-amt.sel { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.m-amtck { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: var(--hc); color: #fff; }
.m-amtck svg { width: 10px; height: 10px; }
.m-custom { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: var(--r-md); background: #fff; border: 1.5px dashed var(--line); font-family: var(--font-head); font-size: 12.5px; color: var(--muted-green-gray); }
.m-custom b { color: var(--ink); }
.m-secure2 { display: flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 11.5px; color: var(--muted-green-gray); }
.m-secure2 svg { width: 14px; height: 14px; color: var(--fresh-green); }
.m-bigcheck { position: relative; }
.m-spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--warm-sun); opacity: 0; }
.m-spark.s1 { top: 0; left: 6px; --sx: -10px; --sy: -10px; } .m-spark.s2 { top: 8px; right: -2px; background: var(--fresh-green); --sx: 12px; --sy: -8px; } .m-spark.s3 { bottom: 2px; left: -2px; background: var(--coral-deep); --sx: -12px; --sy: 8px; } .m-spark.s4 { bottom: 6px; right: 6px; --sx: 10px; --sy: 10px; }
.hd-scene.on .m-spark { animation: m-spark 1s var(--ease) .3s 2; }
.hd-scene.on .m-spark.s2 { animation-delay: .45s; } .hd-scene.on .m-spark.s3 { animation-delay: .6s; } .hd-scene.on .m-spark.s4 { animation-delay: .75s; }
@keyframes m-spark { 0% { opacity: 0; transform: scale(.4) translate(0,0); } 40% { opacity: 1; } 100% { opacity: 0; transform: scale(1) translate(var(--sx,8px), var(--sy,-8px)); } }
.m-conf-amt { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--ink); }
.m-conf-d { display: inline-flex; align-items: center; gap: 6px; }
.m-conf-d svg { width: 15px; height: 15px; color: var(--fresh-green); }
.m-avrow { display: inline-flex; align-items: center; }
.m-avrow .m-fav { margin-left: -8px; border: 2px solid var(--cream-base); } .m-avrow .m-fav:first-child { margin-left: 0; }
.m-avmore { margin-left: 10px; font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--muted-green-gray); }
.hd-scene.on .m-avrow .m-fav { animation: m-avin .5s var(--ease) both; }
.hd-scene.on .m-avrow .m-fav:nth-child(2) { animation-delay: .12s; } .hd-scene.on .m-avrow .m-fav:nth-child(3) { animation-delay: .24s; }
@keyframes m-avin { from { opacity: 0; transform: translateX(-8px) scale(.7); } to { opacity: 1; transform: none; } }
.m-canvas { width: min(82%, 280px); height: 116px; border-radius: var(--r-lg); border: 2px dashed var(--sage-soft); background: rgba(245,181,186,.08); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; margin-bottom: 16px; }
.m-canvas-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--sage-wash); color: var(--hc); display: grid; place-items: center; font-size: 22px; font-weight: 300; line-height: 1; }
.m-canvas-tx { font-family: var(--font-head); font-weight: 600; font-size: 12px; color: var(--muted-green-gray); }
.m-input.selin { justify-content: space-between; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 13px; }
.m-input.selin svg { width: 15px; height: 15px; color: var(--muted-green-gray); }
.m-ptag { align-self: flex-start; font-family: var(--font-head); font-weight: 700; font-size: 9px; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-deep); background: var(--sage-wash); padding: 3px 9px; border-radius: var(--r-pill); }
.m-reviewed { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 11px; color: var(--fresh-green); }
.m-reviewed svg { width: 14px; height: 14px; }
.m-statusrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.m-status { font-family: var(--font-head); font-weight: 700; font-size: 10px; color: var(--fresh-green); }
.m-feedlist { display: flex; flex-direction: column; gap: 8px; }
.m-frow { display: flex; align-items: center; gap: 9px; }
.m-frtx { flex: 1; height: 8px; border-radius: 5px; background: rgba(35,78,82,.14); } .m-frtx.w70 { flex: none; width: 70%; } .m-frtx.w50 { flex: none; width: 50%; }
.m-fram { flex: none; font-family: var(--font-head); font-weight: 800; font-size: 12px; color: var(--hc); }
.hd-scene.on .m-frow { animation: m-rowin .5s var(--ease) both; }
.hd-scene.on .m-frow:nth-child(2) { animation-delay: .5s; } .hd-scene.on .m-frow:nth-child(3) { animation-delay: 1s; }
@keyframes m-rowin { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }

/* ---- real-component demo screens (campaign cards, careflow, buttons) ---- */
.hd .careflow { display: block; width: 100%; }
.hd .careflow-track { height: 8px; }
.hd .careflow-fill::after { display: none; }
.hd .careflow-fill.gw { width: 0; }
.hd-scene.on .careflow-fill.gw { animation: m-fill 1.5s var(--ease) .25s forwards; }
.hd .d-btn { width: 100%; font-size: 14px; padding: 12px 18px; }
.hd-scene.on .d-btn.pulse { animation: m-pulse 1.6s var(--ease) infinite; }

.d-srch { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-pill); font-family: var(--font-body); font-size: 12.5px; color: var(--text-2); flex: none; }
.d-srch svg { width: 15px; height: 15px; color: var(--muted-green-gray); flex: none; }
.d-cards { display: flex; flex-direction: column; gap: 10px; }
.d-card { display: flex; gap: 11px; align-items: center; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 8px; box-shadow: var(--sh-xs); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.d-cimg { position: relative; flex: none; width: 86px; height: 66px; border-radius: var(--r-md); overflow: hidden; background: var(--soft-sand); }
.d-cimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.d-cb { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.d-ct { font-family: var(--font-head); font-weight: 700; font-size: 13px; line-height: 1.25; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.d-ct.big { font-size: 16px; }
.d-cn { font-family: var(--font-head); font-size: 12px; color: var(--muted-green-gray); } .d-cn b { color: var(--ink); font-weight: 800; }
.hd-scene.on .d-card.pick { border-color: var(--hc); box-shadow: 0 0 0 3px var(--hcw), 0 14px 26px -12px rgba(35,78,82,.4); transform: translateY(-3px); }
.d-camp { gap: 10px; }
.d-hero { position: relative; display: block; height: clamp(112px, 17vw, 150px); border-radius: var(--r-md); overflow: hidden; background: var(--soft-sand); flex: none; }
.d-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.d-donhd { display: flex; align-items: center; gap: 11px; }
.d-mini { flex: none; width: 58px; height: 48px; border-radius: var(--r-md); overflow: hidden; background: var(--soft-sand); }
.d-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.d-minitx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.d-minitx b { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-minitx span { font-family: var(--font-head); font-size: 11.5px; color: var(--muted-green-gray); }
.d-phero { display: block; height: clamp(72px, 11vw, 96px); border-radius: var(--r-md); overflow: hidden; background: var(--soft-sand); }
.d-phero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.d-phero.ph { background: linear-gradient(150deg, var(--sage-wash), var(--soft-sand)); border: 1px dashed var(--sage-soft); }
.hd-scene.on .d-phero.appear { animation: m-appear .6s var(--ease); }
.d-impline { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-size: 12.5px; color: var(--muted-green-gray); }
.d-impline svg { width: 15px; height: 15px; color: var(--coral-deep); }
.d-impline b { color: var(--hc); }
.d-imp { gap: 13px; position: relative; justify-content: center; }
@media (min-width: 861px) {
  .d-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .d-card { flex-direction: column; align-items: stretch; gap: 9px; padding: 9px; }
  .d-cimg { width: 100%; height: 94px; }
  .d-hero { height: 150px; }
}

/* desktop: wider stage */
@media (min-width: 861px) {
  .hd { max-width: 860px; }
  .hd-screens { min-height: 380px; }
  .m-split { grid-template-columns: 1fr 1fr; gap: 16px; }
}
.drawer .btn { margin-top: 8px; }
/* secondary drawer links (legal / contact) — quieter than the main nav, same family */
.drawer-mininav { display: flex; flex-direction: column; gap: 1px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.drawer-mininav a { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--text-2); padding: 10px 14px 10px 0; border-radius: var(--r-sm); transition: background .2s, color .2s; }
.drawer-mininav a:hover, .drawer-mininav a.active { background: var(--soft-sand); color: var(--harbor-teal); }
.drawer-foot { margin-top: auto; padding-top: 24px; color: var(--text-2); font-size: 13px; }
.drawer-foot .socials { display: flex; gap: 10px; margin-top: 12px; }
.drawer-foot .socials a { width: 38px; height: 38px; display:grid; place-items:center; border-radius:50%; background: var(--soft-sand); color: var(--care-blue); transition: background .2s; }
.drawer-foot .socials a:hover { background: var(--sage-soft); }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 220;
  background: rgba(35,78,82,.32);
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
  display: flex; justify-content: center;
  padding-top: clamp(80px, 16vh, 180px);
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box {
  width: min(640px, 92vw); height: max-content;
  background: var(--cream-2);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 10px;
  transform: translateY(-16px) scale(.98);
  transition: transform .35s var(--ease);
}
.search-overlay.open .search-box { transform: none; }
.search-field { display: flex; align-items: center; gap: 12px; padding: 8px 14px; }
.search-field svg { width: 22px; height: 22px; color: var(--harbor-teal); flex: none; }
.search-field input {
  flex: 1; border: none; background: none; outline: none;
  font-family: var(--font-head); font-size: 19px; color: var(--ink);
}
.search-field input::placeholder { color: var(--slate-gray); }
.search-hint { padding: 6px 16px 12px; color: var(--text-2); font-size: 13px; display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.search-hint .chip { cursor: pointer; }
.search-results { border-top: 1px solid var(--line); margin-top: 6px; padding: 8px; display: flex; flex-direction: column; gap: 4px; max-height: 50vh; overflow-y: auto; }
.search-results:empty { display: none; }
.search-res-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r-md); transition: background .15s; }
.search-res-item:hover { background: var(--soft-sand); }
.search-res-item img { width: 52px; height: 52px; border-radius: var(--r-sm); object-fit: cover; flex: none; }
.search-res-item .t { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); }
.search-res-item .m { font-size: 12.5px; color: var(--text-2); }

/* =====================================================================
   CAMPAIGN CARD
   ===================================================================== */
.card-grid { display: grid; gap: clamp(18px, 2.4vw, 26px); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }

/* Horizontal scroll row (carousel) — Open Fundraisers & Urgent sections */
.hscroll {
  display: flex;
  gap: clamp(12px, 1.6vw, 18px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 14px 2px 20px;
  margin-inline: -2px;
  /* no visible scrollbar — users swipe the cards */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > .ccard {
  flex: 0 0 clamp(264px, 80vw, 320px);
  scroll-snap-align: start;
  /* focus effect: inactive cards sit smaller + dimmer; the framed one grows */
  transform: scale(.9);
  opacity: .58;
  transform-origin: center;
  transition: transform .5s var(--ease), opacity .5s var(--ease), box-shadow .4s var(--ease);
}
.hscroll > .ccard.is-active {
  transform: scale(1);
  opacity: 1;
}
@media (hover: hover) {
  .hscroll > .ccard.is-active:hover { box-shadow: var(--sh-md); }
}
@media (prefers-reduced-motion: reduce) {
  .hscroll > .ccard { transform: none; opacity: 1; }
}

/* "explore all" CTA card at the end of a carousel */
.ccard.end-card {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(160deg, var(--deep-meadow), var(--teal-deep));
  border: none;
  min-height: 0;
}
/* the CTA card stays fully visible even when it isn't the focused card */
.hscroll > .ccard.end-card { opacity: 1; }
.end-card .end-inner { padding: 30px 24px; }
.end-card .end-ic {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: var(--crimson-light);
  display: grid; place-items: center; margin: 0 auto 16px;
  transition: transform .3s var(--ease);
}
.end-card .end-ic svg { width: 26px; height: 26px; }
.end-card:hover .end-ic { transform: translateX(4px); }
.end-card .end-t { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: #fff; margin-bottom: 6px; }
.end-card .end-sub { font-size: 13.5px; color: var(--sage-mist); }
/* explore-rail "See all" card — light/dashed with an amber arrow (reference look) */
.ccard.end-card.exp-end { background: var(--cream-2); border: 2px dashed var(--sage-soft); }
.exp-end .end-ic { background: var(--warm-sun); color: #fff; }
.exp-end .end-t { color: var(--deep-meadow); }
.exp-end .end-sub { color: var(--muted-green-gray); }

/* explore fills use a CSS var so progress can (re)animate on activation */
.explore-rail .careflow-fill { width: var(--fill, 0%); }
.explore-rail .badge-status { display: none; }   /* no urgent / almost-there tag in the explore cards */

/* =====================================================================
   "Fundraisers to explore" — DESKTOP interactive showcase (≥861px).
   Expanding panels (one active at a time, hover switches), no scrollbar,
   fills the width, active card stays vivid. Mobile keeps the carousel.
   ===================================================================== */
@media (min-width: 861px) {
  .explore-rail { display: flex; gap: clamp(12px, 1.2vw, 18px); overflow: visible;
    height: clamp(380px, 40vw, 444px); padding: 6px 2px 8px;
    scroll-snap-type: none; scrollbar-width: none; -ms-overflow-style: none; }
  .explore-rail::-webkit-scrollbar { display: none; }
  /* desktop panels: 4 campaigns + the "See all" card at the end (hide campaigns 5 & 6) */
  .explore-rail > .ccard:nth-of-type(5), .explore-rail > .ccard:nth-of-type(6) { display: none; }

  .explore-rail > .ccard {
    flex: .9 1 0; min-width: 0; height: 100%; margin: 0; transform: none !important; opacity: 1 !important;
    scroll-snap-align: none; isolation: isolate;
    transition: flex-grow .55s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  }
  .explore-rail > .ccard:hover { box-shadow: var(--sh-lg); border-color: var(--sage-soft); }

  /* image fills the panel; body collapses when inactive */
  .explore-rail > .ccard .ccard-img { flex: 1 1 auto; aspect-ratio: auto; height: auto; min-height: 0; }
  .explore-rail > .ccard .ccard-img img { transition: transform .6s var(--ease), filter .5s var(--ease); filter: brightness(.93) saturate(.97); }
  .explore-rail > .ccard .ccard-scrim { transition: opacity .45s var(--ease); opacity: 1; }
  .explore-rail > .ccard .ccard-title { font-size: clamp(16px, 1.5vw, 20px); transition: font-size .4s var(--ease); }
  .explore-rail > .ccard .ccard-body { flex: none; max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; overflow: hidden;
    transition: max-height .55s var(--ease), opacity .4s var(--ease), padding .55s var(--ease); }
  .explore-rail > .ccard .careflow-fill { width: 0; }

  /* ACTIVE = first card by default, OR whichever card is hovered (only one at a time) */
  .explore-rail:not(:has(> .ccard:hover)) > .ccard:first-child,
  .explore-rail > .ccard:hover { flex-grow: 3.5; }
  .explore-rail:not(:has(> .ccard:hover)) > .ccard:first-child .ccard-body,
  .explore-rail > .ccard:hover .ccard-body { max-height: 230px; opacity: 1; padding-top: 16px; padding-bottom: 18px; }
  .explore-rail:not(:has(> .ccard:hover)) > .ccard:first-child .ccard-scrim,
  .explore-rail > .ccard:hover .ccard-scrim { opacity: .26; }
  .explore-rail:not(:has(> .ccard:hover)) > .ccard:first-child .ccard-img img,
  .explore-rail > .ccard:hover .ccard-img img { filter: brightness(1.03) saturate(1.07); transform: scale(1.04); }
  .explore-rail:not(:has(> .ccard:hover)) > .ccard:first-child .careflow-fill,
  .explore-rail > .ccard:hover .careflow-fill { width: var(--fill, 0%); }

  /* "See all" end-card as a panel (it has no image/body, so center its content full-height) */
  .explore-rail > .exp-end { align-items: center; justify-content: center; }
  .explore-rail > .exp-end .end-inner { padding: 24px; }
}
@media (min-width: 1240px) { .nh-mini .wrap { max-width: 1300px; } }

@media (prefers-reduced-motion: reduce) {
  .explore-rail > .ccard, .explore-rail > .ccard .ccard-body, .explore-rail > .ccard .ccard-img img,
  .explore-rail > .ccard .ccard-scrim, .explore-rail > .ccard .ccard-title { transition: none !important; }
}

.ccard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cream-2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  isolation: isolate;
}
@media (hover: hover) {
  .ccard:hover { transform: translateY(-7px); box-shadow: var(--sh-lg); border-color: var(--sage-soft); }
  .ccard:hover .ccard-img img { transform: scale(1.06); }
  .ccard:hover .ccard-go { gap: 10px; color: var(--coral-deep); }
}
.ccard a.stretch::after { content:""; position:absolute; inset:0; z-index: 4; }

/* media — editorial title sits OVER the image on a soft scrim */
.ccard-img {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--soft-sand);
}
.ccard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ccard-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(23,33,38,0) 36%, rgba(23,33,38,.2) 62%, rgba(23,33,38,.8) 100%); }
.ccard-img .badges { position: absolute; top: 13px; left: 13px; right: 13px; display: flex; justify-content: space-between; gap: 8px; z-index: 2; }
.ccard-img .ccard-title {
  position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(18px, 1.9vw, 21px); line-height: 1.16; letter-spacing: -.01em;
  color: #fff; text-shadow: 0 2px 18px rgba(23,33,38,.5);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.ccard-body { padding: 15px 17px 17px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
/* fallback for any legacy card markup that still puts the title in the body */
.ccard-body .loc { font-size: 12.5px; color: var(--text-2); display:flex; align-items:center; gap:5px; }
.ccard-body .loc svg { width: 13px; height: 13px; color: var(--sage-mist); }
.ccard-body > .ccard-title { position: static; color: var(--ink); text-shadow: none; font-size: 19px; }
.ccard-meta { margin-top: 0; }
.ccard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); margin-top: auto; }
.ccard-donors { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); }
.ccard-donors svg { width: 15px; height: 15px; color: var(--sage-mist); }
.ccard-go { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--teal-deep); transition: gap .25s var(--ease), color .2s; white-space: nowrap; }
.ccard-go svg { width: 15px; height: 15px; }

/* CareFlow progress bar */
.careflow { margin-top: 6px; }
.careflow-track {
  position: relative;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--sand-line);
  overflow: visible;
}
.careflow-fill {
  position: absolute; inset: 0 auto 0 0;
  height: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--blush-coral), var(--warm-sun));  /* light coral pink → crimson */
  width: 0;
  transition: width 1.1s var(--ease);
}
.careflow-fill::after {
  content: "";
  position: absolute; right: -3px; top: 50%;
  width: 13px; height: 13px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--warm-coral);
  box-shadow: 0 0 0 4px rgba(220,20,60,.14);
}
.careflow-stats { display: flex; align-items: baseline; justify-content: space-between; margin-top: 13px; gap: 10px; }
.careflow-stats .raised { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); }
.careflow-stats .raised span { font-weight: 500; font-size: 13px; color: var(--text-2); }
.careflow-stats .pct { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--harbor-teal); }

/* explore cards — mobile-only restructure (title in white body, $x of $y, bar, % funded, support button).
   Hidden by default so desktop keeps its expanding-accordion presentation untouched. */
.ccard-title-m, .ccard-amt, .ccard-funded, .ccard-support { display: none; }
@media (max-width: 860px) {
  .explore-rail > .ccard .ccard-img .ccard-title,
  .explore-rail > .ccard .ccard-scrim,
  .explore-rail > .ccard .careflow-stats,
  .explore-rail > .ccard .ccard-foot { display: none; }

  .explore-rail > .ccard .ccard-title-m {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-family: var(--font-display); font-weight: 500; font-size: 18px; line-height: 1.18; letter-spacing: -.01em; color: var(--ink);
  }
  .explore-rail > .ccard .ccard-amt { display: block; margin-bottom: 11px; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); }
  .explore-rail > .ccard .ccard-amt b { font-weight: 700; }
  .explore-rail > .ccard .ccard-amt span { font-weight: 500; font-size: 13.5px; color: var(--muted-green-gray); }
  .explore-rail > .ccard .ccard-funded { display: block; margin-top: 11px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--fresh-green); }
  .explore-rail > .ccard .ccard-support {
    position: relative; z-index: 5; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 2px; padding: 12px 18px; border-radius: var(--r-pill); background: var(--warm-sun); color: #fff;
    font-family: var(--font-head); font-weight: 700; font-size: 14px; transition: background .2s, transform .2s var(--ease);
  }
  .explore-rail > .ccard .ccard-support svg { width: 16px; height: 16px; }
  .explore-rail > .ccard .ccard-support:active { transform: translateY(1px); }
}

/* Featured (editorial) card */
.ccard.featured { flex-direction: row; align-items: stretch; }
.ccard.featured .ccard-img { aspect-ratio: auto; width: 52%; flex: none; }
.ccard.featured .ccard-body { padding: clamp(22px, 3vw, 36px); justify-content: center; }
.ccard.featured .ccard-title { font-size: clamp(22px, 2.6vw, 30px); -webkit-line-clamp: 3; margin-bottom: 16px; }
.ccard.featured .feat-blurb { color: var(--text-2); margin-bottom: 20px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 80px));
  padding-bottom: clamp(60px, 8vw, 110px);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg::before {
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(1100px 520px at 12% -8%, rgba(245,181,186,.5), transparent 60%),
    radial-gradient(900px 560px at 92% 8%, rgba(220,20,60,.19), transparent 58%),
    radial-gradient(800px 600px at 70% 100%, rgba(248,180,180,.16), transparent 60%),
    linear-gradient(180deg, var(--cream-base), var(--soft-sand));
}
.hero-path { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; }

/* "Hope spreading" — concentric ripples emanating from the hero visual.
   Signature motif tied to the logo's arcs; slow, soft, alive. */
.hero-ripple {
  position: absolute; z-index: -1; pointer-events: none;
  top: 42%; right: 8%; width: min(720px, 56vw); aspect-ratio: 1;
  transform: translateY(-50%);
  opacity: .9;
}
.hero-ripple circle { fill: none; stroke: var(--fresh-green); transform-origin: center; transform-box: fill-box; }
.hero-ripple circle:nth-child(1) { animation: ripple 7s var(--ease-soft) infinite; }
.hero-ripple circle:nth-child(2) { animation: ripple 7s var(--ease-soft) -2.33s infinite; }
.hero-ripple circle:nth-child(3) { animation: ripple 7s var(--ease-soft) -4.66s infinite; }
@keyframes ripple {
  0%   { transform: scale(.35); opacity: 0; }
  18%  { opacity: .5; }
  100% { transform: scale(1.15); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ripple circle { animation: none; opacity: .14; transform: scale(.9); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 70px);
  line-height: 1.02;
  letter-spacing: -.018em;
  margin-bottom: 22px;
}
/* editorial accent — italic serif in deep meadow with a soft warm brush underneath */
.hero h1 .hl {
  position: relative;
  font-style: italic;
  color: var(--care-blue);
  white-space: nowrap;
  padding-inline: 2px;
}
.hero h1 .hl::after {
  content:""; position:absolute; left:0; right:0; bottom: .04em; height: .14em; z-index:-1;
  background: var(--warm-sun); opacity: .7; border-radius: 4px;
  transform: skewX(-8deg);
}
.hero .lead { margin-bottom: 30px; max-width: 48ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust { margin-top: 32px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--text-2); font-size: 13.5px; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
  width: 34px; height: 34px; border-radius: 50%; margin-left: -10px;
  border: 2.5px solid var(--cream-base); background-size: cover; background-position: center;
  box-shadow: var(--sh-xs);
}
.hero-trust .avatars span:first-child { margin-left: 0; }
.hero-trust-stat { font-size: 14.5px; color: var(--text-2); line-height: 1.4; }
.hero-trust-stat b { font-family: var(--font-head); font-weight: 700; color: var(--ink); }

/* Hero visual — a single elegant featured-campaign panel */
.hero-visual { position: relative; }
.hero-feature {
  display: block; position: relative; z-index: 2;
  background: var(--cream-2);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  border: 1px solid rgba(255,255,255,.8);
  overflow: hidden;
  max-width: 440px; margin-left: auto;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
@media (hover: hover) { .hero-feature:hover { transform: translateY(-6px); box-shadow: var(--sh-lg), 0 30px 60px -30px rgba(35,78,82,.4); } .hero-feature:hover .hf-media img { transform: scale(1.05); } }
.hf-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.hf-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.hf-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,33,38,.18), rgba(23,33,38,0) 40%); }
.hf-badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-head); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .02em; padding: 5px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.92); color: var(--teal-deep); }
.hf-verified { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-head); font-weight: 600; font-size: 12px; padding: 5px 11px; border-radius: var(--r-pill); background: var(--deep-meadow); color: #fff; }
.hf-verified svg { width: 14px; height: 14px; color: var(--sage-light); }
.hf-body { padding: 18px 20px 20px; }
.hf-org { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); margin-bottom: 10px; }
.hf-org b { color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.hf-ava { width: 26px; height: 26px; border-radius: 50%; background: var(--sage-light); color: var(--deep-meadow); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 11px; }
.hf-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.4vw, 25px); line-height: 1.15; letter-spacing: -.01em; margin-bottom: 16px; }
.hf-body .careflow { margin-bottom: 18px; }
.hf-body .btn svg { width: 18px; height: 18px; }
/* small floating proof chip, anchored to the panel */
.hero-floatstat {
  position: absolute; left: -8px; bottom: 30px; z-index: 3;
  background: var(--warm-sun); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  padding: 11px 16px; border-radius: var(--r-pill); box-shadow: var(--sh-md);
  animation: floaty 7s var(--ease-soft) infinite;
}
.hero-floatstat b { font-weight: 800; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }
@media (prefers-reduced-motion: reduce) { .hero-floatstat { animation: none; } }
@media (max-width: 960px) {
  .hero-feature { margin-inline: auto; }
}
@media (max-width: 720px) {
  .hero-floatstat { display: none; }
}

/* =====================================================================
   SIGNATURE LANGUAGE — "hope spreading"  (waves, light, story tiles)
   ===================================================================== */
/* Organic wave transition between alternating section backgrounds.
   Place <div class="wave-sep wave-sep-cream"> at the top of a section to
   let the previous band flow into it with a soft curve, not a hard edge. */
.wave-sep { position: relative; height: clamp(40px, 6vw, 78px); margin-top: -1px; line-height: 0; pointer-events: none; }
.wave-sep svg { width: 100%; height: 100%; display: block; }
.wave-sep-cream svg path { fill: var(--cream-base); }
.wave-sep-sand svg path  { fill: var(--soft-sand); }
.wave-sep-mint svg path  { fill: #FCEAEA; }
.wave-sep-meadow svg path{ fill: var(--deep-meadow); }

/* Story-tile campaign card — more editorial, warmer hover (light "blooms"). */
.ccard { border-radius: var(--r-xl); }
.ccard-img { aspect-ratio: 3 / 2; }
@media (hover: hover) {
  .ccard:hover { transform: translateY(-7px); box-shadow: var(--sh-lg); border-color: var(--sage-soft); }
}
.badge-cat { background: rgba(255,255,255,.9); color: var(--teal-deep); font-size: 11px; }
/* a quiet "support" affordance that warms on hover */
.ccard .ccard-meta { position: relative; }

/* Impact band — integrated stat strip (used on home + how-it-works). */
.impact-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 28px);
  padding: clamp(26px, 3.4vw, 40px) clamp(22px, 3vw, 44px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--deep-meadow), #1c4145 70%);
  color: var(--cream-base);
  position: relative; overflow: hidden;
  box-shadow: var(--sh-md);
}
.impact-band::before {
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(420px 220px at 8% -20%, rgba(248,180,180,.5), transparent 60%),
    radial-gradient(380px 220px at 100% 120%, rgba(220,20,60,.12), transparent 60%);
}
.impact-band .imp { position: relative; z-index: 1; text-align: center; }
.impact-band .imp .n {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 4vw, 44px); line-height: 1; color: #fff; letter-spacing: -.01em;
}
.impact-band .imp .n .accent { color: var(--crimson-light); }
.impact-band .imp .l { font-size: 13.5px; color: var(--sage-mist); margin-top: 9px; }
@media (max-width: 760px) {
  .impact-band { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
}

/* =====================================================================
   SOFT SECTION TRANSITIONS
   ===================================================================== */
.bg-sand { background: var(--soft-sand); }
.bg-mint { background: linear-gradient(180deg, #FBE7E7, #FCEDED); }
.bg-cream2 { background: var(--cream-2); }

/* section head with title block + a link, link centered in the gap on mobile */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; max-width: none; }
.head-row > div { max-width: 560px; }
@media (max-width: 760px) {
  .head-row { flex-direction: column; align-items: stretch; gap: 18px; }
  .head-row .link-arrow { align-self: center; }
}
.bg-blue { background: var(--care-blue); color: var(--cream-base); }
.bg-blue h2, .bg-blue h3 { color: #fff; }
.flow-top, .flow-bottom { position: relative; }
.wave-divider { display: block; width: 100%; height: clamp(40px, 6vw, 90px); }
.wave-divider path { fill: currentColor; }

/* =====================================================================
   HOW IT WORKS + CareFlow mockup
   ===================================================================== */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.steps { display: flex; flex-direction: column; gap: 14px; }
.step-card {
  display: flex; gap: 18px;
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.step-card.active { box-shadow: var(--sh-md); border-color: var(--sage-soft); transform: translateX(4px); }
.step-num {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 18px;
  background: var(--sage-wash); color: var(--harbor-teal);
  transition: background .35s, color .35s;
}
.step-card.active .step-num { background: var(--warm-coral); color: #fff; }
.step-card h3 { font-size: 18px; margin-bottom: 5px; }
.step-card p { color: var(--text-2); font-size: 14.5px; }

.flow-mock {
  position: relative;
  background: linear-gradient(160deg, var(--sage-wash), var(--cream-2));
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--sh-md);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.flow-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md);
  position: relative;
}
/* faux cursor that glides to where the user would tap */
.flow-cursor {
  position: absolute; top: 0; left: 0; z-index: 6;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(35,78,82,.55); border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(23,33,38,.3);
  transform: translate(-60px, -60px);
  transition: transform .9s var(--ease), opacity .3s var(--ease);
  pointer-events: none; opacity: 0;
}
.flow-cursor.show { opacity: 1; }
.flow-cursor::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--harbor-teal); opacity: 0;
}
.flow-cursor.click::after { animation: cursorRipple .6s var(--ease); }
@keyframes cursorRipple { 0% { transform: scale(.5); opacity: .85; } 100% { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .flow-cursor { display: none; } }
.flow-card .fimg { aspect-ratio: 16/9; background: var(--soft-sand); position: relative; overflow:hidden; }
.flow-card .fimg img { width:100%; height:100%; object-fit:cover; }
.flow-card .fbody { padding: 16px 18px 20px; }
.flow-card .fbody h4 { font-size: 16px; margin-bottom: 14px; }
.flow-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.flow-chip {
  padding: 9px 12px; border-radius: var(--r-pill); text-align: center;
  background: var(--sage-wash); color: var(--care-blue);
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  transition: background .3s, color .3s, transform .3s;
}
.flow-chip.sel { background: var(--warm-sun); color: #fff; transform: scale(1.04); }
.flow-donate {
  width: 100%; padding: 13px; border-radius: var(--r-pill);
  background: var(--sage-soft); color: var(--care-blue);
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  transition: background .4s, color .4s, box-shadow .4s;
}
.flow-donate.armed { background: var(--warm-sun); color: #fff; box-shadow: var(--sh-md); animation: pulse 1.6s var(--ease) infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(220,20,60,.22);} 50%{ box-shadow: 0 0 0 8px rgba(220,20,60,0);} }
.flow-confirm {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--sage-wash); display: flex; align-items: center; gap: 11px;
  opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s;
}
.flow-confirm.show { opacity: 1; transform: none; }
.flow-confirm .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--harbor-teal); color:#fff; display:grid; place-items:center; flex:none; }
.flow-confirm .ic svg { width: 18px; height: 18px; }
.flow-confirm .tx { font-size: 13.5px; }
.flow-confirm .tx b { font-family: var(--font-head); display:block; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .flow-donate.armed { animation: none; } }

/* =====================================================================
   URGENT
   ===================================================================== */
.urgent-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(18px, 2.4vw, 26px); }
.urgent-grid .peek { position: relative; }
.urgent-grid .peek::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(100deg, transparent 30%, var(--cream-base) 92%);
  border-radius: var(--r-lg);
}

/* =====================================================================
   TRUST LAYER
   ===================================================================== */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 26px); }
.trust-card {
  background: rgba(252,248,241,.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
@media (hover:hover){ .trust-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); } }
.trust-card .tic {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--sage-wash); color: var(--harbor-teal);
  margin-bottom: 20px;
}
.trust-card .tic svg { width: 26px; height: 26px; }
.trust-card h3 { font-size: 19px; margin-bottom: 9px; }
.trust-card p { color: var(--text-2); font-size: 15px; }
.bg-blue .trust-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.bg-blue .trust-card p { color: var(--sage-mist); }
.bg-blue .trust-card .tic { background: rgba(245,181,186,.16); color: var(--sage-mist); }

/* =====================================================================
   FINAL CTA
   ===================================================================== */
/* final CTA fills its whole section (full-bleed band, not a floating card) */
.section-tight:has(.final-cta) { padding-block: 0; }
.final-cta {
  position: relative;
  text-align: center;
  border-radius: 0;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding: clamp(56px, 8vw, 100px) var(--gutter);
  overflow: hidden;
  background: linear-gradient(135deg, var(--blush-wash), #FBD7D7 55%, #F9CACA);  /* light coral pink band */
  color: var(--deep-meadow);
}
.final-cta::before {
  content:""; position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(248,180,180,.55), transparent 60%),
    radial-gradient(600px 360px at 90% 100%, rgba(253,232,232,.7), transparent 60%);
  background-size: 200% 200%;
  animation: ctaShift 14s var(--ease-soft) infinite alternate;
}
@keyframes ctaShift { 0%{ background-position: 0% 0%;} 100%{ background-position: 100% 100%;} }
@media (prefers-reduced-motion: reduce){ .final-cta::before { animation: none; } }
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 { color: var(--deep-meadow); font-size: clamp(28px, 5vw, 48px); margin-bottom: 16px; }
.final-cta p { color: rgba(35,78,82,.82); font-size: clamp(16px,2vw,19px); max-width: 46ch; margin: 0 auto 30px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  position: relative;
  background: var(--amber-deep);  /* deep carmine footer */
  color: var(--cream-base);
  padding: clamp(54px, 7vw, 86px) 0 30px;
  overflow: hidden;
}
/* footer kept as a single flat tone (glow gradients removed) */
.site-footer .wrap { position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.footer-brand .brand { margin-bottom: 4px; margin-left: -6px; }
.footer-brand .brand-namelogo { height: 92px; }
.footer-brand p { color: rgba(250,248,241,.66); font-size: 14.5px; max-width: 30ch; margin: 16px 0 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.07); color: var(--cream-base);
  transition: background .25s, transform .25s;
}
.footer-socials a svg { width: 18px; height: 18px; }
.footer-socials a:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }
.footer-col h4 {
  font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sage-mist); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: rgba(250,248,241,.78); font-size: 14.5px; transition: color .2s, padding .2s; }
.footer-col a:hover { color: #fff; padding-left: 3px; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 60px); padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: rgba(250,248,241,.55); font-size: 13px;
}
.footer-bottom .mini { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-ein { margin: clamp(32px, 4vw, 44px) 0 0; color: rgba(250,248,241,.78); font-size: 14.5px; }
.footer-ein + .footer-bottom { margin-top: 20px; }
.footer-bottom a:hover { color: #fff; }

/* ---- Footer responsive: stacked/vertical on mobile & tablet, horizontal only on desktop ---- */
@media (max-width: 960px) {
  /* Tablet: brand block on top (full width), link groups in two balanced columns */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 48ch; }
}
@media (max-width: 680px) {
  /* Mobile: single column, left-aligned, generously spaced */
  .footer-top { grid-template-columns: 1fr; gap: 36px; text-align: left; justify-items: start; }
  .footer-brand p { max-width: 42ch; }
  .footer-socials { justify-content: flex-start; }
  .footer-col { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; gap: 14px; }
  .footer-bottom .mini { justify-content: flex-start; }
}

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
/* base = fade-up; reusable variants via [data-rv] (pop · scale · slide-left · slide-right · fade) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-rv="up"]         { transform: translateY(24px); }
.reveal[data-rv="pop"]        { transform: translateY(14px) scale(.965); }
.reveal[data-rv="scale"]      { transform: scale(.93); }
.reveal[data-rv="slide-left"] { transform: translateX(-28px); }
.reveal[data-rv="slide-right"]{ transform: translateX(28px); }
.reveal[data-rv="fade"]       { transform: none; }
.reveal[data-rv].in           { transform: none; }
.reveal[data-delay="1"]{ transition-delay: .08s; }
.reveal[data-delay="2"]{ transition-delay: .16s; }
.reveal[data-delay="3"]{ transition-delay: .24s; }
.reveal[data-delay="4"]{ transition-delay: .32s; }
/* mobile: a touch more pop presence, still light */
@media (max-width: 600px) {
  .reveal[data-rv="pop"]  { transform: translateY(18px) scale(.95); }
  .reveal[data-rv="scale"]{ transform: scale(.92); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal[data-rv] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =====================================================================
   SKELETONS
   ===================================================================== */
.skel { position: relative; overflow: hidden; background: var(--soft-sand); border-radius: var(--r-sm); }
.skel::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.65s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce){ .skel::after { animation: none; } }
.skel-card { background: var(--cream-2); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-soft); }
.skel-card .skel-img { aspect-ratio: 16/10; border-radius: 0; }
.skel-card .skel-body { padding: 18px; }
.skel-line { height: 13px; border-radius: 6px; margin-bottom: 10px; }

/* reusable skeleton primitives (built on .skel) — used by page-specific ghosts */
.sk-text { height: 13px; border-radius: 6px; }
.sk-title { height: 22px; border-radius: 8px; }
.sk-img { border-radius: var(--r-lg); }
.sk-btn { height: 46px; border-radius: var(--r-pill); }
.sk-pill { height: 30px; width: 96px; border-radius: var(--r-pill); }
.sk-circle { border-radius: 50%; }
.sk-bar { height: 10px; border-radius: var(--r-pill); }
/* slightly warmer tint so ghosts sit on the cream page without looking grey/dead */
.sk-soft { background: var(--sage-wash); }
[aria-busy="true"] { cursor: progress; }

/* ---- page ghost layouts (mirror the real structure; mobile-first) ---- */
.ghost { animation: ghost-in .3s ease both; }
.exp-ghost { pointer-events: none; }
@keyframes ghost-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce){ .ghost { animation: none; } }

/* campaign detail ghost */
.gd-hero { width: 100%; aspect-ratio: 4/3; border-radius: 0; }
.gd-wrap { max-width: 1040px; margin-inline: auto; padding: clamp(20px,5vw,34px) var(--gutter) 0; }
.gd-panel { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.gd-fund { border: 1px solid var(--line-soft); background: var(--cream-2); border-radius: var(--r-xl); padding: clamp(18px,4vw,24px); display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.gd-row { display: flex; gap: 12px; }
.gd-block { margin-top: clamp(28px,6vw,40px); display: flex; flex-direction: column; gap: 12px; }
.gd-card { border: 1px solid var(--line-soft); background: var(--cream-2); border-radius: var(--r-xl); padding: clamp(18px,4vw,24px); display:flex; flex-direction:column; gap:12px; }
.gd-thumbs { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.gd-thumb { aspect-ratio: 4/3; border-radius: var(--r-lg); }
@media (min-width: 861px) {
  .gd-cols { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px,3vw,44px); align-items: start; }
  .gd-hero { aspect-ratio: auto; height: clamp(360px,42vw,520px); border-radius: var(--r-xl); }
}

/* donate / checkout ghost */
.gn-wrap { display: grid; grid-template-columns: 1fr; gap: clamp(20px,4vw,30px); }
.gn-amounts { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.gn-amt { height: 56px; border-radius: var(--r-lg); }
.gn-summary { border: 1px solid var(--line-soft); background: var(--cream-2); border-radius: var(--r-xl); padding: clamp(18px,4vw,24px); display:flex; flex-direction:column; gap:14px; }
@media (min-width: 861px) {
  .gn-wrap { grid-template-columns: 1.4fr .9fr; align-items: start; }
}

/* =====================================================================
   PAGE INTRO (inner pages)
   ===================================================================== */
.page-intro {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(30px, 5vw, 56px));
  padding-bottom: clamp(28px, 4vw, 48px);
  overflow: hidden;
}
.page-intro::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(800px 360px at 90% -20%, rgba(245,181,186,.4), transparent 60%),
    radial-gradient(600px 320px at 5% 0%, rgba(220,20,60,.1), transparent 60%),
    linear-gradient(180deg, var(--soft-sand), var(--cream-base));
}
.page-intro h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 14px; max-width: 18ch; }
.page-intro p { color: var(--text-2); font-size: clamp(16px, 2vw, 19px); max-width: 56ch; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-2); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--harbor-teal); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .5; }

/* =====================================================================
   BROWSE — toolbar, filters
   ===================================================================== */
.browse-toolbar {
  position: sticky; top: calc(var(--header-h) + 6px); z-index: 40;
  display: flex; gap: 12px; align-items: center;
  padding: 12px; margin-bottom: 24px;
  background: rgba(250,248,241,.82);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-sm);
}
.search-inline { display: flex; align-items: center; gap: 10px; flex: 1; padding: 4px 8px 4px 16px; }
.search-inline svg { width: 19px; height: 19px; color: var(--harbor-teal); flex: none; }
.search-inline input { flex: 1; border: none; background: none; outline: none; font-size: 15.5px; }
.filter-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--r-pill);
  background: var(--warm-sun); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  transition: background .2s; white-space: nowrap;
}
.filter-btn:hover { background: var(--coral-deep); }
.filter-btn svg { width: 17px; height: 17px; }
.filter-btn .count { background: var(--warm-coral); color: #fff; border-radius: var(--r-pill); padding: 1px 8px; font-size: 12px; }

.active-chips { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 22px; align-items: center; }
.active-chips:empty { display: none; }
.fchip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 8px 7px 14px; border-radius: var(--r-pill);
  background: var(--sage-wash); color: var(--care-blue);
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
}
.fchip button { width: 20px; height: 20px; display:grid; place-items:center; border-radius: 50%; color: var(--harbor-teal); transition: background .2s; }
.fchip button:hover { background: rgba(248,180,180,.16); }
.fchip button svg { width: 12px; height: 12px; }
.clear-all { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--harbor-teal); }
.clear-all:hover { text-decoration: underline; }

.results-meta { display:flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--text-2); font-size: 14px; }

/* Browse: persistent filter sidebar (desktop) + results column */
.browse-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: clamp(22px, 3vw, 40px); align-items: start; }
.browse-sidebar {
  position: sticky; top: calc(var(--header-h) + 16px);
  background: var(--cream-2); border: 1px solid var(--line-soft);
  border-radius: var(--r-xl); box-shadow: var(--sh-sm);
  max-height: calc(100dvh - var(--header-h) - 32px); overflow-y: auto;
  display: flex; flex-direction: column;
}
.browse-sidebar .sheet-head { padding: 18px 20px 4px; }
.browse-sidebar .sheet-head h3 { font-size: 18px; }
.browse-sidebar #sheetClose { display: none; }
.browse-sidebar .sheet-body { padding: 4px 20px 8px; }
.browse-sidebar .sheet-foot { padding: 14px 20px 18px; border-top: 1px solid var(--line); }
.browse-sidebar .fgroup { padding: 15px 0; }
.browse-main { min-width: 0; }
.browse-main .browse-toolbar { position: static; margin-bottom: 18px; top: auto; }
.browse-main .filter-btn { display: none; }
.browse-cards { grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); }

/* Filter sheet (bottom sheet on mobile, side panel desktop) */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 230; background: rgba(20,42,44,.42); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.sheet-backdrop.open { opacity: 1; visibility: visible; }
.filter-sheet {
  position: fixed; z-index: 240; background: var(--cream-base);
  display: flex; flex-direction: column;
}
/* desktop: right side panel */
.filter-sheet {
  top: 0; right: 0; height: 100dvh; width: min(420px, 92vw);
  transform: translateX(100%); transition: transform .4s var(--ease);
  box-shadow: -20px 0 60px -20px rgba(20,42,44,.4);
}
.filter-sheet.open { transform: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 14px; }
.sheet-head h3 { font-size: 20px; }
.sheet-body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; }
.fgroup { padding: 18px 0; border-bottom: 1px solid var(--line); }
.fgroup:last-child { border-bottom: none; }
.fgroup h4 { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-gray); margin-bottom: 14px; }
.fopts { display: flex; flex-wrap: wrap; gap: 9px; }
.fopt {
  padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--cream-2); border: 1.5px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--care-blue);
  transition: all .2s;
}
.fopt:hover { border-color: var(--sage-mist); }
.fopt.sel { background: var(--warm-sun); border-color: var(--warm-sun); color: #fff; }
.sheet-foot { display: flex; gap: 12px; padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-foot .btn { flex: 1; }

/* pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination button {
  min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--r-pill);
  background: var(--cream-2); border: 1.5px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--care-blue);
  transition: all .2s;
}
.pagination button:hover:not(:disabled) { border-color: var(--sage-mist); }
.pagination button.active { background: var(--warm-sun); border-color: var(--warm-sun); color: #fff; }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

/* empty state */
.empty-state { text-align: center; padding: clamp(48px, 8vw, 90px) 20px; }
.empty-state .ic { width: 80px; height: 80px; border-radius: 50%; background: var(--sage-wash); color: var(--harbor-teal); display: grid; place-items: center; margin: 0 auto 22px; }
.empty-state .ic svg { width: 38px; height: 38px; }
.empty-state h3 { font-size: 24px; margin-bottom: 10px; }
.empty-state p { color: var(--text-2); max-width: 40ch; margin: 0 auto 24px; }
.empty-state .acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =====================================================================
   CAMPAIGN DETAIL
   ===================================================================== */
.cd-grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.cd-gallery { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); background: var(--soft-sand); }
.cd-gallery .main-img { aspect-ratio: 16/10; }
.cd-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.cd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.cd-thumbs button { flex: 1; aspect-ratio: 16/10; border-radius: var(--r-md); overflow: hidden; border: 2px solid transparent; transition: border-color .2s; }
.cd-thumbs button.active { border-color: var(--warm-coral); }
.cd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.cd-head { margin-top: 26px; }
.cd-tags { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.cd-head h1 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 12px; }
.cd-metaline { display: flex; gap: 18px; flex-wrap: wrap; color: var(--text-2); font-size: 14px; }
.cd-metaline span { display: inline-flex; align-items: center; gap: 6px; }
.cd-metaline svg { width: 15px; height: 15px; color: var(--sage-mist); }

/* ---- Campaign hero: full-bleed image, content flows into an integrated sheet ---- */
.cd-hero {
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  min-height: clamp(420px, 56vh, 540px);
  display: flex;
  overflow: hidden;
  isolation: isolate;
  background: var(--soft-sand);
}
.cd-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: opacity .3s var(--ease); }
.cd-hero-img.is-swapping { opacity: .5; }
.cd-hero-grad {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(23,33,38,.32) 0%, rgba(23,33,38,0) 28%, rgba(23,33,38,0) 48%, rgba(23,33,38,.5) 80%, rgba(23,33,38,.78) 100%);
}
/* discreet organizer pill, top-left */
.cd-org-pill {
  position: absolute; z-index: 1;
  top: calc(var(--header-h) + 14px); left: var(--gutter);
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 13px 4px 4px; border-radius: var(--r-pill);
  background: rgba(23,33,38,.34);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92); max-width: calc(100% - var(--gutter) * 2);
}
.cd-org-pill img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; }
.cd-org-pill .op-by { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd-org-pill .op-by b { font-family: var(--font-head); font-weight: 700; color: #fff; }

/* gallery dots — top-right of the hero, one per image */
.cd-hero-dots {
  position: absolute; z-index: 1;
  top: calc(var(--header-h) + 18px); right: var(--gutter);
  display: flex; gap: 7px;
}
.cd-hero-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.5);
  transition: background .2s, transform .2s, width .2s;
}
.cd-hero-dots button.active { background: #fff; width: 22px; border-radius: var(--r-pill); }

.cd-hero-content {
  align-self: flex-end; position: relative; z-index: 1;
  width: 100%; max-width: 880px; margin-inline: auto;
  padding: var(--gutter); padding-bottom: clamp(52px, 8vw, 84px);
  color: #fff;
}
.cd-hero-content .cd-tags { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.cd-hero-content .badge-cat { background: rgba(255,255,255,.92); color: var(--harbor-teal); }
.cd-hero-content .cd-verified { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 13px; background: rgba(255,255,255,.18); padding: 5px 12px; border-radius: var(--r-pill); }
.cd-hero-content .cd-verified svg { width: 16px; height: 16px; }
.cd-hero-content h1 { color: #fff; font-size: clamp(28px, 5vw, 46px); line-height: 1.12; max-width: 20ch; text-shadow: 0 2px 26px rgba(23,33,38,.5); }

/* integrated sheet rising over the hero (cream surface, soft rounded top, no card edges) */
.cd-sheet {
  position: relative; z-index: 2;
  background: var(--cream-base);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin-top: clamp(-42px, -7vw, -26px);
  box-shadow: 0 -18px 44px -30px rgba(23,33,38,.28);
}
.cd-inner { max-width: 880px; margin-inline: auto; padding: clamp(26px, 4vw, 40px) var(--gutter) 0; }

/* Editorial two-column: narrative left, integrated donation rail right (desktop) */
.cd-inner.cd-layout {
  max-width: 1140px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.cd-main { min-width: 0; }
.cd-aside { margin-top: clamp(-150px, -12vw, -104px); position: sticky; top: calc(var(--header-h) + 14px); }

/* quick meta row under the hero — only 1–2 secondary facts up top */
.cd-quickmeta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; color: var(--text-2); font-size: 13.5px; margin-bottom: clamp(20px, 3vw, 30px); }
.cd-quickmeta span { display: inline-flex; align-items: center; gap: 6px; }
.cd-quickmeta svg { width: 15px; height: 15px; color: var(--sage-mist); }
.cd-quickmeta .dot { color: var(--sand-line); }
.cd-quickmeta .qm-verified { color: var(--harbor-teal); font-family: var(--font-head); font-weight: 600; }
.cd-quickmeta .qm-verified svg { color: var(--harbor-teal); }

/* funding panel — now an integrated card anchored into the hero */
.cd-fund {
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: clamp(22px, 2.6vw, 28px);
  box-shadow: var(--sh-lg);
}
.cd-fund .fund-bar { margin-top: 18px; }
.cd-fund .fund-trust { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); color: var(--text-2); font-size: 12.5px; line-height: 1.4; }
.cd-fund .fund-trust svg { width: 17px; height: 17px; color: var(--harbor-teal); flex: none; }
.cd-fund .fund-top { display: flex; align-items: center; gap: 18px; }
.cd-fund .fund-ring { position: relative; width: 74px; height: 74px; flex: none; }
.cd-fund .fund-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cd-fund .ring-bg { fill: none; stroke: var(--sand-line); stroke-width: 7; }
.cd-fund .ring-fg { fill: none; stroke: var(--fresh-green); stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease); }
.cd-fund .ring-pct { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--ink); }
.cd-fund .ring-pct i { font-style: normal; font-size: 11px; font-weight: 700; margin-left: 1px; }
.cd-fund .fund-label { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--harbor-teal); margin-bottom: 2px; }
.cd-fund .fund-raised { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 5.5vw, 38px); color: var(--ink); line-height: 1.05; }
.cd-fund .fund-goal { color: var(--text-2); font-size: 14.5px; margin-top: 2px; }
.cd-fund .fund-recent { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; padding: 7px 14px; border-radius: var(--r-pill); background: var(--sage-wash); color: var(--text-2); font-size: 13px; }
.cd-fund .fund-recent svg { width: 16px; height: 16px; color: var(--harbor-teal); }
.cd-fund .fund-recent b { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.cd-fund-actions { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.cd-fund-actions .btn-primary svg { width: 18px; height: 18px; }
.cd-fund-actions .btn-primary { flex: 1; }
.cd-share-btn {
  flex: none; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sage-wash); color: var(--harbor-teal);
  border: 1px solid var(--line);
  transition: background .2s, color .2s, transform .2s;
}
.cd-share-btn svg { width: 20px; height: 20px; }
.cd-share-btn:hover { background: var(--sage-soft); color: var(--teal-deep); }
.cd-share-btn:active { transform: scale(.94); }
.cd-fund-meta { display: flex; gap: 14px 22px; flex-wrap: wrap; align-items: center; margin-top: 22px; color: var(--text-2); font-size: 13.5px; }
.cd-fund-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cd-fund-meta svg { width: 15px; height: 15px; color: var(--sage-mist); }

.cd-inner .cd-thumbs { margin-top: 26px; }
/* consistent vertical rhythm between the campaign content sections */
.cd-inner .story-section,
.cd-inner .protect-card,
.cd-inner .organizer-card,
.cd-inner .share-section { margin-top: clamp(34px, 5vw, 52px); }

/* donation-protected reassurance — minimal, just a hairline border */
.protect-card {
  padding: clamp(18px, 2.4vw, 22px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: none; box-shadow: none;
}
.protect-card .pc-head { display: flex; gap: 14px; align-items: flex-start; }
.protect-card .pc-ic {
  width: 42px; height: 42px; flex: none; border-radius: 11px;
  border: 1px solid var(--sage-soft); background: var(--sage-wash);
  color: var(--harbor-teal);
  display: grid; place-items: center;
}
.protect-card .pc-ic svg { width: 22px; height: 22px; }
.protect-card .pc-tx h4 { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); margin-bottom: 3px; }
.protect-card .pc-tx p { color: var(--text-2); font-size: 14px; line-height: 1.5; max-width: 56ch; }
.protect-card .pc-checks { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 11px; }
.protect-card .pc-checks li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.protect-card .pc-checks li svg { width: 18px; height: 18px; color: var(--harbor-teal); flex: none; }
.protect-card .pc-learn { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--harbor-teal); transition: gap .2s; }
.protect-card .pc-learn svg { width: 15px; height: 15px; }
.protect-card .pc-learn:hover { gap: 9px; color: var(--teal-deep); }

/* =====================================================================
   DONATE PAGE (mock checkout)
   ===================================================================== */
.donate-grid { display: grid; grid-template-columns: 1fr 360px; gap: clamp(28px, 4vw, 52px); align-items: start; margin-top: 8px; }
.donate-form h1 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 8px; }
.donate-sub { color: var(--text-2); font-size: 15.5px; margin-bottom: 26px; max-width: 52ch; }
.dn-field { margin-bottom: 20px; }
.dn-field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; margin-bottom: 9px; color: var(--care-blue); }
.dn-field label .hint { font-weight: 400; color: var(--text-2); font-size: 13px; }
.dn-field label .hint.req { color: var(--coral-deep); font-weight: 600; }
.dn-field input, .dn-field textarea { width: 100%; padding: 14px 16px; border-radius: var(--r-md); background: var(--cream-2); border: 1.5px solid var(--line); font-size: 15.5px; transition: border-color .2s, box-shadow .2s; }
.dn-field textarea { min-height: 100px; resize: vertical; line-height: 1.6; }
.dn-field input:focus, .dn-field textarea:focus { outline: none; border-color: var(--harbor-teal); box-shadow: 0 0 0 4px rgba(79,175,143,.12); }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 10px; }
.amount-opt {
  padding: 15px 10px; border-radius: var(--r-md); text-align: center;
  background: var(--cream-2); border: 1.5px solid var(--line);
  font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--care-blue);
  transition: all .18s;
}
.amount-opt:hover { border-color: var(--sage-mist); }
.amount-opt.sel { background: var(--warm-sun); border-color: var(--warm-sun); color: #fff; }
.amount-custom { position: relative; }
.amount-custom span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-2); font-family: var(--font-head); font-weight: 700; }
.amount-custom input { width: 100%; padding: 14px 16px 14px 32px; border-radius: var(--r-md); background: var(--cream-2); border: 1.5px solid var(--line); font-size: 15.5px; font-family: var(--font-head); font-weight: 600; }
.amount-custom input:focus { outline: none; border-color: var(--harbor-teal); box-shadow: 0 0 0 4px rgba(79,175,143,.12); }
.anon-row { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-2); margin-bottom: 24px; cursor: pointer; }
.anon-row input { width: 18px; height: 18px; accent-color: var(--harbor-teal); }

.donate-summary { position: sticky; top: calc(var(--header-h) + 16px); }
.ds-card { background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-sm); }
.ds-img { aspect-ratio: 16/10; background: var(--soft-sand); }
.ds-img img { width: 100%; height: 100%; object-fit: cover; }
.ds-body { padding: 18px 20px 20px; }
.ds-title { font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.3; margin-bottom: 14px; }
.ds-card .careflow-track { height: 8px; }
.ds-meta { margin-top: 12px; font-size: 14px; color: var(--text-2); }
.ds-meta strong { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 16px; }
.ds-meta span { color: var(--harbor-teal); font-family: var(--font-head); font-weight: 700; }
.ds-eyebrow { font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--harbor-teal); margin-bottom: 8px; }

/* guided donate flow — stepper + panes */
.dn-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; }
.dn-step { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--slate-gray); white-space: nowrap; }
.dn-step i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 700; background: var(--sand-line); color: var(--slate-gray); transition: background .3s, color .3s; }
.dn-step.current { color: var(--deep-meadow); }
.dn-step.current i { background: var(--warm-sun); color: #fff; }
.dn-step.done i { background: var(--fresh-green); color: #fff; }
.dn-line { flex: 1; height: 2px; background: var(--sand-line); border-radius: 2px; min-width: 10px; }
@media (max-width: 600px) { .dn-step span, .dn-step:not(.current) { font-size: 0; } .dn-step.current { font-size: 13.5px; } .dn-step i { font-size: 13px; } }

.dn-pane { display: none; }
.dn-pane.active { display: block; animation: stepIn .4s var(--ease); }
@media (prefers-reduced-motion: reduce) { .dn-pane.active { animation: none; } }

.dn-custom { position: relative; margin: 0 0 22px; }
.dn-custom .cur { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-family: var(--font-head); font-weight: 700; color: var(--slate-gray); }
.dn-custom input { width: 100%; padding: 14px 16px 14px 32px; border-radius: var(--r-md); background: var(--cream-2); border: 1.5px solid var(--line); font-size: 15.5px; transition: border-color .2s, box-shadow .2s; }
.dn-custom input:focus { outline: none; border-color: var(--harbor-teal); box-shadow: 0 0 0 4px rgba(79,175,143,.12); }

.dn-nav { display: flex; gap: 12px; margin-top: 26px; }
.dn-nav .btn-ghost { margin-right: auto; }
.dn-nav .btn-primary { flex: 1; max-width: 220px; }

.dn-review { background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 6px 20px 14px; margin-bottom: 20px; }
.dn-review .dr-amount { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 16px 0 14px; border-bottom: 1px solid var(--line); }
.dn-review .dr-amount span { color: var(--text-2); font-size: 14px; }
.dn-review .dr-amount b { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 4vw, 34px); color: var(--ink); }
.dn-review .dr-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; font-size: 14.5px; border-bottom: 1px solid var(--line-soft); }
.dn-review .dr-row span { color: var(--text-2); }
.dn-review .dr-row b { font-family: var(--font-head); font-weight: 600; text-align: right; }
.dn-review .dr-msg { margin-top: 12px; padding: 12px 14px; border-radius: var(--r-md); background: var(--sage-wash); color: var(--teal-deep); font-style: italic; font-size: 14.5px; }
.dn-secure { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--text-2); font-size: 13px; line-height: 1.4; }
.dn-secure svg { width: 18px; height: 18px; color: var(--harbor-teal); flex: none; }

@media (max-width: 860px) {
  .donate-grid { grid-template-columns: 1fr; }
  .donate-summary { position: static; order: -1; }
  .ds-img { aspect-ratio: 16/9; }
}
@media (max-width: 480px) {
  .amount-opt { font-size: 16px; padding: 13px 8px; }
}

/* ===== Donate — two cohesive blocks: campaign summary + donation action ===== */
.dn2 { max-width: 560px; margin-inline: auto; }
.dn2-grid { display: flex; flex-direction: column; gap: 16px; }
.dn2-summary, .dn2-main { min-width: 0; }
.dn2-back { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted-green-gray); margin-bottom: 16px; transition: color .2s, gap .2s var(--ease); }
.dn2-back svg { width: 18px; height: 18px; }
.dn2-back:hover { color: var(--deep-meadow); gap: 8px; }

/* LEFT — campaign summary card (image cover → title → organizer → progress) */
.dn2-sumcard { background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 20px 46px -32px rgba(35,78,82,.34), var(--sh-xs); }
.dn2-hero { position: relative; aspect-ratio: 7 / 6; overflow: hidden; background: var(--soft-sand); }
.dn2-hero img { width: 100%; height: 100%; object-fit: cover; }
.dn2-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,31,35,.84) 0%, rgba(15,31,35,.34) 46%, transparent 72%); }
.dn2-hero-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(16px, 3.4vw, 22px); }
.dn2-hero-cap h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 5vw, 25px); line-height: 1.16; letter-spacing: -.01em; color: #fff; margin: 0; text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.dn2-sumbody { padding: clamp(18px, 3.2vw, 24px); }
.dn2-progress { margin: 0; }
.dn2-raised-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dn2-raised-left { min-width: 0; }
.dn2-amt { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 6.6vw, 34px); color: var(--deep-meadow); line-height: 1; letter-spacing: -.01em; }
.dn2-pct { font-family: var(--font-head); font-weight: 800; font-size: clamp(18px, 4.4vw, 22px); color: var(--fresh-green); flex: none; }
.dn2-goal { font-size: 13px; color: var(--text-2); margin-top: 6px; }
.dn2-goal b { font-weight: 700; color: var(--muted-green-gray); }
.dn2-bar { margin-top: 14px; }
.dn2-bar .careflow-track { height: 8px; border-radius: 99px; background: var(--soft-sand); }
.dn2-bar .careflow-fill { background: linear-gradient(90deg, var(--blush-coral), var(--warm-sun)); border-radius: 99px; }  /* light coral pink → crimson (matches campaign bars) */
.dn2-meta { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-family: var(--font-head); font-weight: 500; font-size: 12.5px; color: var(--muted-green-gray); }
.dn2-meta-ic { display: grid; place-items: center; color: var(--fresh-green); flex: none; }
.dn2-meta-ic svg { width: 14px; height: 14px; }

/* RIGHT — donation action card */
.dn2-action { background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-xl); padding: clamp(20px, 3.4vw, 26px); box-shadow: 0 20px 46px -32px rgba(35,78,82,.34), var(--sh-xs); }

/* amount picker — premium tickets with clear states */
.dn2-h { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 4.6vw, 24px); color: var(--deep-meadow); margin: 0 0 16px; }
.dn2-sub { margin: 0 0 16px; font-family: var(--font-head); font-weight: 500; font-size: 13px; line-height: 1.5; color: var(--muted-green-gray); }
.dn2-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 9px; }   /* margin-top = room for the "Suggested" ribbon above the top row */
.dn2-opt { position: relative; padding: 17px 8px; border-radius: 14px; background: var(--cream-base); border: 1.5px solid var(--line-soft); font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, color .2s, transform .16s var(--ease), box-shadow .22s; }
.dn2-opt:hover { border-color: var(--sage-mist); background: var(--sage-wash); transform: translateY(-2px); box-shadow: 0 9px 20px -12px rgba(35,78,82,.4); }
.dn2-opt:active { transform: translateY(0); }
.dn2-opt:focus-visible { outline: 2px solid var(--fresh-green); outline-offset: 2px; }
.dn2-suggested { border-color: rgba(220,20,60,.45); }
.dn2-opt.sel { border-color: var(--warm-sun); background: var(--coral-wash); color: var(--amber-deep); box-shadow: 0 0 0 3px rgba(220,20,60,.09), 0 12px 24px -14px rgba(220,20,60,.35); }
.dn2-opt.sel::after { content: ""; position: absolute; top: 7px; right: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--warm-sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center/10px no-repeat; box-shadow: 0 2px 6px -1px rgba(220,20,60,.45); }
/* "Suggested" ribbon — centred above the $100 card */
.dn2-sug-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 4px 12px; border-radius: var(--r-pill); background: linear-gradient(180deg, #E8405F, var(--warm-sun)); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 9px; letter-spacing: .07em; text-transform: uppercase; box-shadow: 0 4px 10px -3px rgba(220,20,60,.49); }

/* donate button — strong contextual CTA pill */
.dn2-donate { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: clamp(20px, 3.6vw, 26px); padding: 18px 24px; border: none; border-radius: var(--r-pill); background: linear-gradient(180deg, #E8405F, var(--warm-sun)); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 17.5px; letter-spacing: -.01em; cursor: pointer; box-shadow: 0 16px 34px -14px rgba(220,20,60,.5); transition: background .2s, transform .2s var(--ease), box-shadow .2s; }
.dn2-donate:hover { background: linear-gradient(180deg, var(--warm-sun), var(--coral-deep)); transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(220,20,60,.56); }
.dn2-donate:active { transform: translateY(0); }
.dn2-donate:disabled { opacity: .9; cursor: default; transform: none; }
.dn2-donate.is-empty { background: rgba(220,20,60,.25); color: rgba(35,78,82,.5); cursor: default; box-shadow: none; }
.dn2-donate.is-empty:hover { background: rgba(220,20,60,.25); transform: none; box-shadow: none; }

/* secure note + clarity card — leaner */
.dn2-secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; font-family: var(--font-head); font-weight: 500; font-size: 12px; color: var(--muted-green-gray); }
.dn2-secure svg { width: 14px; height: 14px; color: var(--fresh-green); flex: none; }
/* "Your donation is protected" — refined trust badge (shield + title + paragraph) */
.dn2-clarity { margin-top: 14px; display: flex; align-items: flex-start; gap: 12px; background: linear-gradient(180deg, var(--sage-wash), #FEF3F3); border: 1px solid rgba(248,180,180,.24); border-radius: var(--r-lg); padding: 14px 16px; box-shadow: 0 8px 22px -18px rgba(248,180,180,.6); }
.dn2-clarity-ic { flex: none; width: 33px; height: 33px; border-radius: 50%; background: #fff; color: var(--fresh-green); display: grid; place-items: center; box-shadow: var(--sh-xs); }
.dn2-clarity-ic svg { width: 17px; height: 17px; }
.dn2-clarity-tx { min-width: 0; }
.dn2-clarity-tx b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--deep-meadow); margin-bottom: 2px; letter-spacing: -.005em; }
.dn2-clarity-tx p { margin: 0; font-family: var(--font-body); font-size: 12px; line-height: 1.5; color: var(--muted-green-gray); }

/* desktop: two aligned cards — campaign summary (LEFT) + donation action (RIGHT) */
@media (min-width: 861px) {
  .dn2 { max-width: 900px; }
  .dn2-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.12fr); column-gap: clamp(24px, 2.4vw, 34px); align-items: start; }
  .dn2-summary { position: sticky; top: calc(var(--header-h) + 20px); }
  .dn2-hero { aspect-ratio: 3 / 2; }
  .dn2-sumbody { padding: clamp(18px, 2vw, 22px); }
  .dn2-hero-cap h1 { font-size: clamp(19px, 1.7vw, 23px); }
  .dn2-action { padding: clamp(22px, 2.4vw, 28px); }
  .dn2-opt { padding: 18px 8px; }
}

/* read more — plain centered text, no card */
.story-toggle-wrap { display: flex; justify-content: center; padding-top: 22px; }
.story-toggle-link { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--harbor-teal); display: inline-flex; align-items: center; gap: 6px; }
.story-toggle-link:hover { color: var(--teal-deep); text-decoration: underline; }

/* organizer card — avatar, label, name, location + report link */
.cd-inner .organizer-card {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; text-align: left;
  background: none; padding: 0; border-radius: 0;
}
.cd-inner .organizer-card .oav { grid-row: span 2; align-self: start; }
.cd-inner .organizer-card .lbl { text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-head); font-weight: 700; font-size: 11.5px; color: var(--slate-gray); }
.organizer-card .oloc { display: inline-flex; align-items: center; gap: 5px; color: var(--text-2); font-size: 13.5px; margin-top: 3px; }
.organizer-card .oloc svg { width: 14px; height: 14px; color: var(--sage-mist); }
.report-link { grid-column: 1 / -1; justify-self: center; display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; padding: 6px 4px; border: none; background: none; color: var(--slate-gray); font-family: var(--font-head); font-weight: 600; font-size: 13.5px; transition: color .2s; }
.report-link:hover { color: var(--care-blue); text-decoration: underline; }
.report-link svg { width: 15px; height: 15px; }

@media (max-width: 600px) {
  .cd-share-btn { width: 50px; height: 50px; }
}

/* donation panel */
.donate-panel {
  position: sticky; top: calc(var(--header-h) + 14px);
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--sh-md);
}
.dp-raised { font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 3vw, 34px); color: var(--ink); }
.dp-goal { color: var(--text-2); font-size: 14.5px; margin-bottom: 18px; }
.dp-goal b { color: var(--harbor-teal); font-weight: 700; }
.dp-stats { display: flex; justify-content: space-between; margin: 18px 0 6px; }
.dp-stat { text-align: center; flex: 1; }
.dp-stat .n { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--ink); }
.dp-stat .l { font-size: 12px; color: var(--text-2); }
.dp-stat + .dp-stat { border-left: 1px solid var(--line); }
.dp-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.donor-rotator {
  margin-top: 18px; padding: 13px 15px; border-radius: var(--r-md);
  background: var(--sage-wash); display: flex; align-items: center; gap: 11px;
  overflow: hidden;
}
.donor-rotator .av { width: 34px; height: 34px; border-radius: 50%; background: var(--harbor-teal); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 14px; flex: none; }
.donor-rotator .tx { font-size: 13.5px; line-height: 1.4; }
.donor-rotator .tx b { font-family: var(--font-head); }
.donor-rot-anim { animation: rotIn .5s var(--ease); }
@keyframes rotIn { from { opacity: 0; transform: translateY(8px);} to { opacity:1; transform:none;} }

/* story */
.story-section { margin-top: clamp(40px, 5vw, 64px); max-width: 70ch; }
.story-section h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 18px; }
.story-block h3 { font-size: 20.5px; margin: 30px 0 10px; color: var(--care-blue); }
.story-block p { color: var(--text); margin-bottom: 17px; font-size: 17.5px; line-height: 1.78; }
.story-collapse { position: relative; overflow: hidden; transition: max-height .5s var(--ease); }
.story-collapse.collapsed { max-height: 360px; }
.story-collapse.collapsed::after {
  content:""; position:absolute; inset: auto 0 0 0; height: 140px;
  background: linear-gradient(transparent, var(--cream-base));
  pointer-events: none;
}
.story-toggle { margin-top: 18px; }

/* support with clarity */
.clarity-panel {
  margin-top: clamp(36px, 5vw, 56px);
  background: var(--care-blue);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
  color: var(--cream-base);
  position: relative; overflow: hidden;
}
.clarity-panel::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(400px 220px at 90% 0, rgba(248,180,180,.5), transparent 60%);
}
.clarity-panel > * { position: relative; }
.clarity-panel h2 { color: #fff; font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 8px; }
.clarity-panel > p { color: var(--sage-mist); margin-bottom: 26px; }
.clarity-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px; }
.clarity-item .ci { width: 46px; height: 46px; border-radius: 13px; background: rgba(245,181,186,.16); color: var(--sage-mist); display: grid; place-items: center; margin-bottom: 14px; }
.clarity-item .ci svg { width: 24px; height: 24px; }
.clarity-item h4 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.clarity-item p { color: rgba(250,248,241,.7); font-size: 14px; }
.clarity-panel .link-arrow { color: var(--sage-mist); }
.clarity-panel .link-arrow:hover { color: #fff; }

/* supporters list */
.supporters-section { margin-top: clamp(40px, 5vw, 64px); }
.supporters-list { display: flex; flex-direction: column; gap: 4px; }
.supporter-row { display: flex; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line-soft); }
.supporter-row .av { position: relative; overflow: hidden; width: 44px; height: 44px; border-radius: 50%; background: var(--sage-wash); color: var(--harbor-teal); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; flex: none; }
.supporter-row .av::before { content: attr(data-initials); }
.supporter-row .av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.supporter-row .sd { flex: 1; }
.supporter-row .sh { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.supporter-row .nm { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.supporter-row .am { font-family: var(--font-head); font-weight: 700; color: var(--harbor-teal); font-size: 15px; }
.supporter-row .msg { color: var(--text-2); font-size: 14px; margin-top: 4px; }
.supporter-row .tm { color: var(--slate-gray); font-size: 12px; margin-top: 4px; }

/* donations head: eyebrow + title + count chip + Recent/Top segmented toggle */
.supporters-section .eyebrow { margin-bottom: 12px; }
.don-title { font-size: clamp(21px, 2.6vw, 27px); margin-bottom: 14px; }
.don-count { display: inline-block; padding: 6px 14px; border-radius: var(--r-pill); background: var(--sage-wash); color: var(--teal-deep); font-family: var(--font-head); font-weight: 700; font-size: 13.5px; margin-bottom: 18px; }
.seg-toggle { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--soft-sand); margin-bottom: 6px; }
.seg-toggle .seg { padding: 8px 22px; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--slate-gray); transition: color .2s; }
.seg-toggle .seg.active { background: var(--cream-2); color: var(--care-blue); box-shadow: var(--sh-xs); }
/* fade between recent / top */
.supporters-list { transition: opacity .2s var(--ease); margin-top: 6px; }
.supporters-list.is-fading { opacity: 0; }
/* See all — at the end of the list */
.sup-seeall {
  margin: 20px auto 0; display: flex; align-items: center; gap: 7px; width: max-content;
  padding: 11px 22px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--cream-2);
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--care-blue);
  transition: border-color .2s, color .2s, gap .2s;
}
.sup-seeall svg { width: 16px; height: 16px; }
.sup-seeall:hover { border-color: var(--sage-mist); color: var(--harbor-teal); gap: 10px; }

/* all-supporters modal (blurred backdrop, floating sheet) */
.sup-modal-backdrop {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(22,40,46,.4); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.sup-modal-backdrop.open { opacity: 1; visibility: visible; }
.sup-modal {
  width: min(560px, 100%); max-height: 86vh;
  background: var(--cream-2); border-radius: var(--r-xl) var(--r-xl) 0 0;
  display: flex; flex-direction: column; box-shadow: var(--sh-lg);
  transform: translateY(24px); transition: transform .35s var(--ease);
}
.sup-modal-backdrop.open .sup-modal { transform: none; }
.sup-modal-head { display: flex; align-items: center; gap: 12px; padding: 20px 22px 14px; border-bottom: 1px solid var(--line); }
.sup-modal-head h3 { font-size: 20px; }
.sup-modal-head .sup-modal-meta { color: var(--text-2); font-size: 13px; margin-right: auto; }
.sup-modal-list { overflow-y: auto; padding: 4px 22px 22px; -webkit-overflow-scrolling: touch; }
@media (min-width: 620px) {
  .sup-modal-backdrop { align-items: center; padding: 20px; }
  .sup-modal { border-radius: var(--r-xl); }
}

/* organizer */
.organizer-card {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex; gap: 18px; align-items: center;
  padding: clamp(22px, 3vw, 30px);
  background: var(--soft-sand); border-radius: var(--r-xl);
}
.organizer-card .oav { width: 64px; height: 64px; border-radius: 50%; flex: none; object-fit: cover; background: var(--sage-mist); }
.organizer-card .oinfo .lbl { font-size: 12.5px; color: var(--text-2); margin-bottom: 3px; }
.organizer-card .oinfo .nm { font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.organizer-card .oinfo .meta { font-size: 13.5px; color: var(--text-2); margin-top: 4px; }

/* share section — preview card of this campaign + share targets */
.share-section { margin-top: clamp(36px, 5vw, 56px); text-align: center; padding: clamp(34px, 5vw, 52px) clamp(20px, 3vw, 40px); background: linear-gradient(170deg, var(--cream-2), var(--soft-sand)); border: 1px solid var(--line-soft); border-radius: var(--r-xl); overflow: hidden; }
.share-section h3 { font-size: clamp(20px, 2.4vw, 24px); margin-bottom: 8px; }
.share-section p { color: var(--text-2); margin-bottom: 4px; max-width: 40ch; margin-inline: auto; }

/* stacked campaign preview */
.share-preview { display: flex; justify-content: center; margin: 28px 0 30px; }
.share-stack { position: relative; width: min(200px, 60%); margin-inline: auto; }
.share-stack .ssc { border-radius: var(--r-lg); overflow: hidden; background: var(--cream-2); box-shadow: var(--sh-md); text-align: left; }
.share-stack .front { position: relative; z-index: 3; }
.share-stack .ghost-l, .share-stack .ghost-r { position: absolute; top: 6%; width: 100%; opacity: .6; }
.share-stack .ghost-l { left: -27%; transform: rotate(-8deg) scale(.88); z-index: 1; }
.share-stack .ghost-r { right: -27%; transform: rotate(8deg) scale(.88); z-index: 2; }
.share-card-img { aspect-ratio: 16/10; background: var(--soft-sand); }
.share-card-img img { width: 100%; height: 100%; object-fit: cover; }
.share-card-body { padding: 14px 16px 16px; }
.ssc .sct { font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.3; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ssc .careflow-track { height: 6px; }
.ssc .scm { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-top: 10px; color: var(--ink); }
.ssc .scm span { color: var(--harbor-teal); margin-left: 4px; }

/* share targets — light circle + dark icon + label */
.share-row { display: flex; gap: clamp(4px, 1.4vw, 10px); justify-content: center; flex-wrap: nowrap; }
.share-row a { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 11.5px; color: var(--slate-gray); flex: 1 1 0; min-width: 0; }
.share-row a span:last-child { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.share-row .sic { width: clamp(40px, 12.5vw, 50px); height: clamp(40px, 12.5vw, 50px); border-radius: 50%; background: var(--cream-2); color: var(--care-blue); border: 1px solid var(--line-soft); box-shadow: var(--sh-xs); display: grid; place-items: center; transition: transform .2s, background .2s, color .2s; }
.share-row .sic svg { width: 20px; height: 20px; }
.share-row a:hover { color: var(--care-blue); }
.share-row a:hover .sic { transform: translateY(-3px); background: var(--sage-wash); color: var(--harbor-teal); }

/* sticky mobile donate */
.sticky-donate {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: flex; gap: 12px; align-items: center;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(250,248,241,.92); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px -12px rgba(20,42,44,.3);
  transform: translateY(120%);
  transition: transform .4s var(--ease);
}
.sticky-donate.show { transform: none; }
.sticky-donate .wrap-x { width: 100%; max-width: var(--maxw); margin-inline: auto; display: flex; gap: 12px; align-items: center; }
.sticky-donate .sd-info { flex: 1; }
.sticky-donate .sd-info .r { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.sticky-donate .sd-info .p { font-size: 12px; color: var(--text-2); }
.sticky-donate .btn { flex: none; }

/* =====================================================================
   START WIZARD
   ===================================================================== */
.wizard-grid { display: grid; grid-template-columns: 1fr 400px; gap: clamp(32px, 5vw, 60px); align-items: start; }
/* let both columns shrink below their content's intrinsic width — otherwise a large
   preview image's natural width blows the 1fr track out and breaks the layout */
.wizard-grid > * { min-width: 0; }
.stepper { display: flex; gap: 6px; margin-bottom: 32px; }
.stepper-item { flex: 1; min-width: 0; }
.stepper-item .bar { height: 5px; border-radius: var(--r-pill); background: var(--sand-line); margin-bottom: 9px; transition: background .4s; }
.stepper-item.done .bar, .stepper-item.current .bar { background: var(--warm-coral); }
.stepper-item .lbl { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; color: var(--slate-gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
@media (max-width: 460px) { .stepper { gap: 5px; } .stepper-item .lbl { font-size: 11px; letter-spacing: -.01em; } }
.stepper-item.current .lbl { color: var(--care-blue); }
.stepper-item.done .lbl { color: var(--harbor-teal); }

.wstep { display: none; animation: stepIn .45s var(--ease); }
.wstep.active { display: block; }
@keyframes stepIn { from { opacity:0; transform: translateY(12px);} to {opacity:1; transform:none;} }
.wstep h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.wstep .sub { color: var(--text-2); margin-bottom: 26px; }

.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; margin-bottom: 8px; color: var(--care-blue); }
.field .hint { font-weight: 400; color: var(--text-2); font-size: 13px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--cream-2); border: 1.5px solid var(--line);
  font-size: 15.5px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--harbor-teal); box-shadow: 0 0 0 4px rgba(79,175,143,.12);
}
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--coral-deep); }
.field .err { color: var(--coral-deep); font-size: 13px; margin-top: 7px; display: none; align-items: center; gap: 5px; }
.field.invalid .err { display: flex; }
.field .err svg { width: 14px; height: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-2); font-family: var(--font-head); font-weight: 600; }
.input-prefix input { padding-left: 34px; }

.cat-picker { display: flex; flex-wrap: wrap; gap: 9px; }
.cat-opt { padding: 11px 16px; border-radius: var(--r-pill); background: var(--cream-2); border: 1.5px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: 14px; transition: all .2s; }
.cat-opt.sel { background: var(--sage-wash); border-color: var(--harbor-teal); color: var(--teal-deep); }

.uploader { border: 2px dashed var(--sand-line); border-radius: var(--r-lg); padding: 36px 24px; text-align: center; transition: border-color .2s, background .2s; cursor: pointer; }
.uploader:hover, .uploader.drag { border-color: var(--harbor-teal); background: var(--sage-wash); }
.uploader .ic { width: 54px; height: 54px; border-radius: 50%; background: var(--sage-wash); color: var(--harbor-teal); display: grid; place-items: center; margin: 0 auto 14px; }
.uploader .ic svg { width: 26px; height: 26px; }
.uploader p { font-family: var(--font-head); font-weight: 600; color: var(--care-blue); }
.uploader .sm { color: var(--text-2); font-size: 13px; font-weight: 400; margin-top: 4px; }
.upload-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px,1fr)); gap: 10px; margin-top: 16px; }
.upload-thumb { position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--soft-sand); }
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload-thumb button { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 50%; background: rgba(20,42,44,.7); color: #fff; display: grid; place-items: center; }
.upload-thumb button svg { width: 13px; height: 13px; }

.review-block { background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 22px; margin-bottom: 16px; }
.review-block h4 { font-family: var(--font-head); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--slate-gray); margin-bottom: 12px; display: flex; justify-content: space-between; }
.review-block h4 button { font-size: 12px; color: var(--harbor-teal); text-transform: none; letter-spacing: 0; }
.review-row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: 15px; }
.review-row .k { color: var(--text-2); }
.review-row .v { font-family: var(--font-head); font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }

.wizard-nav { display: flex; gap: 12px; margin-top: 30px; }
.wizard-nav .btn-ghost { margin-right: auto; }

/* live preview */
.preview-rail { position: sticky; top: calc(var(--header-h) + 14px); }
.preview-rail .plabel { font-family: var(--font-head); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-gray); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.preview-rail .plabel .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warm-coral); animation: livedot 1.6s infinite; }
@keyframes livedot { 0%,100%{ opacity: 1;} 50%{ opacity: .3;} }
.preview-toggle { display: none; }

/* =====================================================================
   GENERIC SUCCESS / CONFIRM PAGES
   ===================================================================== */
.confirm-wrap { max-width: 620px; margin-inline: auto; text-align: center; padding-top: calc(var(--header-h) + clamp(40px, 7vw, 80px)); padding-bottom: clamp(60px, 9vw, 110px); }
.confirm-card {
  background: var(--cream-2); border: 1px solid var(--line-soft);
  border-radius: var(--r-xl); padding: clamp(34px, 5vw, 56px);
  box-shadow: var(--sh-md);
}
.confirm-check {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 24px;
  display: grid; place-items: center;
  background: var(--sage-wash); color: var(--harbor-teal);
}
.confirm-check svg { width: 40px; height: 40px; }
.confirm-check.celebrate { background: var(--coral-wash); color: var(--amber-deep); }
/* thank-you — campaign cover, full-bleed to the card's top edge (only top corners rounded) */
.ty-cover { margin: calc(-1 * clamp(16px, 2.8vw, 22px)) calc(-1 * clamp(34px, 5vw, 56px)) clamp(20px, 3.6vw, 26px); border-radius: var(--r-xl) var(--r-xl) 0 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--soft-sand); }
.ty-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== Donation → thank-you light animation ===== */
/* button micro feedback */
.dn-glow { animation: dn-glow .55s var(--ease) both; }
@keyframes dn-glow {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220,20,60,0); }
  35% { transform: scale(.986); box-shadow: 0 0 0 7px rgba(220,20,60,.1); }
  100% { transform: scale(1); box-shadow: 0 0 0 16px rgba(220,20,60,0); }
}
/* rising point of light + soft sparkles (created in JS) */
.hope-rise-layer { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.hope-dot {
  position: fixed; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, var(--warm-sun) 40%, rgba(220,20,60,0) 72%);
  box-shadow: 0 0 16px 4px rgba(220,20,60,.3), 0 0 34px 10px rgba(245,181,186,.32);
  opacity: 0; will-change: transform, opacity;
  animation: hope-rise 1.15s cubic-bezier(.22,.7,.3,1) forwards;
}
@keyframes hope-rise {
  0% { opacity: 0; transform: translateY(0) scale(.4); }
  16% { opacity: 1; transform: translateY(-10px) scale(1.06); }
  60% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-200px) scale(.88); }
}
.hope-spark {
  position: fixed; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%;
  background: radial-gradient(circle, #fff, rgba(245,181,186,0) 70%);
  opacity: 0; will-change: transform, opacity;
  animation: hope-spark 1.05s ease-out var(--dl, 0s) forwards;
}
@keyframes hope-spark {
  0% { opacity: 0; transform: translate(0,0) scale(.5); }
  28% { opacity: .85; }
  100% { opacity: 0; transform: translate(var(--dx, 0), -130px) scale(.65); }
}
/* arrival on the thank-you page: land → pulse → ripple, then content reveals */
.confirm-card.hope-arrive .confirm-check { position: relative; animation: hope-land .7s cubic-bezier(.22,.7,.3,1) both; }
.confirm-card.hope-arrive .confirm-check::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(220,20,60,.28), 0 0 0 0 rgba(245,181,186,.4);
  animation: hope-ripple 1.2s ease-out .35s 1 both;
}
@keyframes hope-land {
  0% { opacity: 0; transform: translateY(-14px) scale(.4); }
  60% { opacity: 1; transform: translateY(0) scale(1.13); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes hope-ripple {
  0% { box-shadow: 0 0 0 0 rgba(220,20,60,.28), 0 0 0 0 rgba(245,181,186,.42); }
  100% { box-shadow: 0 0 0 26px rgba(220,20,60,0), 0 0 0 42px rgba(245,181,186,0); }
}
.confirm-card.hope-arrive .ty-badge { animation: hope-fade .6s var(--ease) .38s both; }
.confirm-card.hope-arrive h1 { animation: hope-fade .6s var(--ease) .48s both; }
.confirm-card.hope-arrive .ty-amount-pill { animation: hope-fade .6s var(--ease) .58s both; }
.confirm-card.hope-arrive > p { animation: hope-fade .6s var(--ease) .66s both; }
@keyframes hope-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .dn-glow, .hope-dot, .hope-spark,
  .confirm-card.hope-arrive .confirm-check, .confirm-card.hope-arrive .confirm-check::after,
  .confirm-card.hope-arrive .ty-badge, .confirm-card.hope-arrive h1,
  .confirm-card.hope-arrive .ty-amount-pill, .confirm-card.hope-arrive > p { animation: none !important; }
}
.confirm-card h1 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.confirm-card > p { color: var(--text-2); font-size: 16.5px; max-width: 44ch; margin: 0 auto 24px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: var(--r-pill);
  background: var(--sage-wash); color: var(--teal-deep);
  font-family: var(--font-head); font-weight: 600; font-size: 14px; margin-bottom: 28px;
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warm-coral); }
.mini-card {
  display: flex; gap: 14px; text-align: left; align-items: center;
  background: var(--soft-sand); border-radius: var(--r-lg); padding: 14px; margin: 0 auto 28px; max-width: 420px;
}
.mini-card img { width: 84px; height: 84px; border-radius: var(--r-md); object-fit: cover; flex: none; background: var(--sage-mist); }
.mini-card .mc { flex: 1; min-width: 0; }
.mini-card .mc .mt { font-family: var(--font-head); font-weight: 700; font-size: 16px; margin-bottom: 6px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.mini-card .careflow-track { height: 6px; }
.mini-card .mm { font-size: 12.5px; color: var(--text-2); margin-top: 7px; }
/* thank-you share buttons — circular icon buttons (were unstyled → giant SVGs) */
.share-btns { display: flex; justify-content: center; gap: 12px; }
.share-btns a { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--soft-sand); color: var(--care-blue); transition: background .2s, color .2s, transform .2s; }
.share-btns a:hover { background: var(--sage-soft); transform: translateY(-2px); }
.share-btns a svg { width: 20px; height: 20px; }
.confirm-acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* thank-you — minimal confirmation layout: cover → check → badge → title → amount → text → action */
body[data-page="thankyou"] .confirm-card { padding-top: clamp(16px, 2.8vw, 22px); }
.ty-badge { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 11.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted-green-gray); background: var(--sage-wash); padding: 7px 16px; border-radius: var(--r-pill); margin-bottom: 15px; }
body[data-page="thankyou"] .confirm-card h1 { font-size: clamp(23px, 3.2vw, 30px); margin-bottom: 14px; }
.ty-amount-pill { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 16.5px; color: var(--deep-meadow); background: #fff; padding: 11px 26px; border-radius: var(--r-pill); box-shadow: var(--sh-sm); margin: 0 0 16px; }
body[data-page="thankyou"] .confirm-card > p { font-size: 15.5px; margin: 0 auto 22px; }
body[data-page="thankyou"] .confirm-acts .btn { min-width: 240px; }
.ty-links { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 20px; font-family: var(--font-head); font-weight: 600; font-size: 12.5px; }
.ty-links a { color: var(--muted-green-gray); opacity: .85; transition: color .2s, opacity .2s; white-space: nowrap; }
.ty-links a:hover { color: var(--deep-meadow); opacity: 1; }
.ty-links .ty-dot { color: var(--line); }
/* phones: trim the card's side padding so the layout uses the full width like the reference (keeps the links on one line) */
@media (max-width: 600px) {
  body[data-page="thankyou"] .confirm-card { padding-left: 22px; padding-right: 22px; }
  .ty-cover { margin-left: -22px; margin-right: -22px; }
}

/* =====================================================================
   HOW IT WORKS PAGE / ABOUT / GENERIC CONTENT
   ===================================================================== */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 70px); align-items: center; margin-bottom: clamp(48px, 7vw, 90px); }
.feature-row:nth-child(even) .feature-media { order: 2; }
.feature-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); aspect-ratio: 4/3; background: var(--soft-sand); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-text .step-pill { display:inline-flex; align-items:center; gap:8px; font-family: var(--font-head); font-weight:700; font-size:13px; color: var(--harbor-teal); margin-bottom: 14px; }
.feature-text .step-pill .n { width:28px; height:28px; border-radius:50%; background: var(--sage-wash); display:grid; place-items:center; }
.feature-text h3 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 14px; }
.feature-text p { color: var(--text-2); font-size: 16.5px; }
.feature-text ul.ticks { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.feature-text ul.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; }
.feature-text ul.ticks li svg { width: 21px; height: 21px; color: var(--harbor-teal); flex: none; margin-top: 1px; }

.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-band .stat { text-align: center; }
.stat-band .stat .n { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 4vw, 46px); color: var(--warm-coral); line-height: 1; }
.bg-blue .stat-band .stat .n { color: var(--crimson-light); }
.stat-band .stat .l { color: var(--text-2); font-size: 14px; margin-top: 8px; }
.bg-blue .stat-band .stat .l { color: var(--sage-mist); }

.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2.4vw,26px); }
.value-card { background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 28px; }
.value-card .vic { width: 50px; height: 50px; border-radius: 14px; background: var(--coral-wash); color: var(--coral-deep); display: grid; place-items: center; margin-bottom: 16px; }
.value-card .vic svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { color: var(--text-2); font-size: 14.5px; }
/* the interactive demo sits right under the page intro — tighten the top gap so they read as one unit */
.section:has(#hdMount) { padding-top: clamp(12px, 2vw, 28px); }
/* how-to-donate: 4 steps read best as a balanced 2×2 (desktop) */
@media (min-width: 961px) {
  body[data-page="howdonate"] .value-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }
}

.faq { max-width: 760px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--ink); }
.faq-q svg { width: 22px; height: 22px; color: var(--harbor-teal); flex: none; transition: transform .3s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding-bottom: 22px; color: var(--text-2); font-size: 15.5px; line-height: 1.7; max-width: 64ch; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
.contact-card { background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-xl); padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--sh-sm); }
/* subject dropdown — styled native select + custom chevron (fixes the misaligned native arrow) */
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; width: 100%; padding-right: 44px; cursor: pointer; }
.select-wrap > svg { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted-green-gray); pointer-events: none; }
/* "what to expect" panel (replaces the three channel cards) */
.contact-aside { background: var(--sage-wash); border: 1px solid var(--line-soft); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 34px); }
.contact-aside h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--deep-meadow); margin-bottom: 18px; }
.contact-facts { display: flex; flex-direction: column; gap: 18px; }
.contact-facts li { display: flex; gap: 13px; align-items: flex-start; }
.cf-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--fresh-green); display: grid; place-items: center; box-shadow: var(--sh-xs); }
.cf-ic svg { width: 20px; height: 20px; }
.contact-facts li > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--muted-green-gray); line-height: 1.45; }
.contact-facts b { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--ink); overflow-wrap: break-word; }
.contact-facts b.cf-email { font-size: 12px; letter-spacing: -.01em; white-space: nowrap; }  /* keep the long email on one line, no mid-word break */
.contact-report { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 13.5px; color: var(--muted-green-gray); line-height: 1.55; }
.contact-report b { color: var(--deep-meadow); font-weight: 700; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%);
  z-index: 300; display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: var(--r-pill);
  background: var(--care-blue); color: #fff; box-shadow: var(--sh-lg);
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  transition: transform .45s var(--ease); max-width: 90vw;
}
.toast.show { transform: translate(-50%, 0); }
.toast.err { background: var(--coral-deep); }
.toast svg { width: 20px; height: 20px; flex: none; }

/* =====================================================================
   LEGAL (terms / privacy)
   ===================================================================== */
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 16px); }
.legal-toc h4 { font-family: var(--font-head); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-gray); margin-bottom: 14px; }
.legal-toc ul { display: flex; flex-direction: column; gap: 3px; }
.legal-toc a { display: block; padding: 9px 14px; border-radius: var(--r-md); font-size: 14px; color: var(--text-2); transition: background .2s, color .2s; }
.legal-toc a:hover, .legal-toc a.active { background: var(--soft-sand); color: var(--care-blue); }
.legal-body { max-width: 70ch; }
.legal-updated { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: var(--r-pill); background: var(--sage-wash); color: var(--teal-deep); font-family: var(--font-head); font-weight: 600; font-size: 13px; margin-bottom: 28px; }
.legal-section { background: transparent; border: none; border-bottom: 1px solid var(--line-soft); border-radius: 0; padding: 0 0 clamp(22px, 3.5vw, 32px); margin-bottom: clamp(22px, 3.5vw, 32px); scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-section h2 { font-size: 22px; margin-bottom: 14px; }
.legal-section h3 { font-size: 17px; margin: 20px 0 8px; color: var(--care-blue); }
.legal-section p, .legal-section li { color: var(--text); font-size: 15.5px; line-height: 1.7; margin-bottom: 12px; }
.legal-section ul { padding-left: 22px; list-style: disc; }
.legal-section ul li { margin-bottom: 8px; }
.legal-section strong { color: var(--care-blue); font-weight: 700; }
.legal-lead { margin-bottom: 22px; }
.legal-lead p { color: var(--text-2); font-size: 16px; line-height: 1.75; }
.legal-signoff { margin-top: 14px; color: var(--teal-deep); font-family: var(--font-head); font-weight: 600; }
.toc-card-mobile { display: none; }

/* =====================================================================
   404
   ===================================================================== */
.nf-wrap { text-align: center; padding-top: calc(var(--header-h) + clamp(50px, 9vw, 100px)); padding-bottom: clamp(60px, 9vw, 110px); }
.nf-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(90px, 18vw, 170px); line-height: 1; letter-spacing: -.04em; background: linear-gradient(135deg, var(--care-blue), var(--harbor-teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-wrap h1 { font-size: clamp(26px, 4vw, 38px); margin: 8px 0 14px; }
.nf-wrap p { color: var(--text-2); max-width: 44ch; margin: 0 auto 28px; font-size: 16.5px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .cd-grid { grid-template-columns: 1fr 340px; }
  .wizard-grid { grid-template-columns: 1fr 340px; }
}

@media (max-width: 960px) {
  :root { --header-h: 82px; }
  .nav { display: none; }
  .header-cta { display: none; }
  .menu-btn { display: grid; }
  .hero-grid { grid-template-columns: 1fr; gap: 14px; }
  .hero-visual { min-height: 300px; order: -1; }
  .how-grid { grid-template-columns: 1fr; gap: 36px; }
  .flow-mock { order: -1; }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .urgent-grid { grid-template-columns: 1fr 1fr; }
  .urgent-grid .peek { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .clarity-items { grid-template-columns: 1fr; gap: 18px; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .value-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 26px; }
  .feature-row:nth-child(even) .feature-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
  .toc-card-mobile { display: block; background: var(--cream-2); border:1px solid var(--line-soft); border-radius: var(--r-lg); padding: 20px; margin-bottom: 26px; }
  .toc-card-mobile h4 { font-family: var(--font-head); font-size: 12.5px; letter-spacing:.08em; text-transform:uppercase; color: var(--slate-gray); margin-bottom: 12px; }
  .toc-card-mobile ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .toc-card-mobile a { font-size: 13.5px; color: var(--harbor-teal); }

  /* campaign detail: stack, panel becomes static then sticky bottom bar */
  .cd-grid { grid-template-columns: 1fr; }
  .donate-panel { position: static; }
  .donate-panel.is-rail { display: none; }
  .sticky-donate { display: flex; }
  /* editorial campaign: single column, donation card rises first, not sticky */
  .cd-inner.cd-layout { grid-template-columns: 1fr; gap: 0; }
  .cd-aside { order: -1; position: static; margin-top: clamp(-56px, -9vw, -32px); margin-bottom: clamp(30px, 5vw, 44px); }

  /* wizard: stack, preview collapsible */
  .wizard-grid { grid-template-columns: 1fr; }
  .preview-rail { position: static; order: -1; }
  .preview-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 14px 18px; border-radius: var(--r-pill); background: var(--soft-sand);
    font-family: var(--font-head); font-weight: 600; margin-bottom: 16px;
  }
  .preview-toggle svg { width: 18px; height: 18px; transition: transform .3s; }
  .preview-rail:not(.collapsed) .preview-toggle svg { transform: rotate(180deg); }
  .preview-rail .ccard { transition: max-height .4s var(--ease), opacity .3s; overflow: hidden; }
  .preview-rail.collapsed .ccard, .preview-rail.collapsed .plabel { display: none; }
  /* stacked layout already shows the live preview on top — drop the redundant text review summary */
  #reviewSlot { display: none; }

  .ccard.featured { flex-direction: column; }
  .ccard.featured .ccard-img { width: 100%; aspect-ratio: 16/10; }

  /* filter sheet becomes bottom sheet */
  .filter-sheet {
    top: auto; bottom: 0; right: 0; left: 0;
    width: 100%; height: auto; max-height: 86dvh;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    transform: translateY(100%);
  }
  .filter-sheet.open { transform: none; }

  /* browse: sidebar collapses; filters become a slide-up drawer */
  .browse-layout { grid-template-columns: 1fr; }
  .browse-sidebar {
    position: fixed; z-index: 240; left: 0; right: 0; bottom: 0; top: auto;
    width: 100%; max-height: 86dvh; border-radius: var(--r-xl) var(--r-xl) 0 0;
    transform: translateY(100%); transition: transform .4s var(--ease);
    box-shadow: 0 -20px 60px -20px rgba(20,42,44,.4);
  }
  .browse-sidebar.open { transform: none; }
  .browse-sidebar #sheetClose { display: grid; }
  .browse-main .filter-btn { display: flex; }
}

@media (max-width: 680px) {
  :root { --gutter: 18px; }
  .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .urgent-grid { grid-template-columns: 1fr; }
  .urgent-grid .peek { display: none; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .browse-toolbar { position: static; flex-wrap: wrap; border-radius: var(--r-lg); }
  .search-inline { flex-basis: 100%; }
  .header-inner { padding: 11px 10px 11px 16px; }
  .brand-logo { height: 52px; }
  .header-actions .icon-btn { width: 48px; height: 48px; }
  .header-actions .icon-btn svg { width: 23px; height: 23px; }
  .footer-brand .brand-namelogo { height: 76px; }
  .wizard-nav { flex-wrap: wrap; }
  .organizer-card { flex-direction: column; text-align: center; }
  .mini-card { flex-direction: column; text-align: center; }
  .mini-card img { width: 100%; height: 150px; }
}

/* utility */
.hide { display: none !important; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.divider-soft { height: 1px; background: var(--line); border: none; margin: 0; }

/* =====================================================================
   NEW HOME  —  reference-based, mobile-first editorial layout
   ===================================================================== */
.nh-section { padding-block: clamp(44px, 8vw, 88px); }
@media (max-width: 860px) { .nh-mini { padding-top: clamp(14px, 3.5vw, 24px); } }  /* pull the "Fundraisers to explore" block up a bit on mobile */
.nh-head { max-width: 620px; margin-bottom: clamp(26px, 4vw, 42px); }
.nh-head h2 { font-size: clamp(28px, 5vw, 40px); margin-bottom: 10px; }
.soh-section .nh-head h2 { color: var(--fresh-green); }  /* "A story of hope" in fresh green */
.nh-mini .nh-head h2 { color: var(--fresh-green); }  /* "Fundraisers to explore" in fresh green */
.nh-head p { color: var(--text-2); font-size: clamp(15.5px, 2vw, 17px); }

/* ---- Hero ---- */
.nh-hero { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + clamp(18px, 4vw, 40px)); padding-bottom: clamp(36px, 6vw, 64px); }
/* gentle falling leaves — brand-coloured hero decoration */
.nh-leaves { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.nh-particles { display: none; }  /* mobile-only rising light particles (enabled in the ≤860 block) */
.nh-leaf { position: absolute; top: 0; width: 22px; opacity: 0; will-change: transform, opacity; animation: nh-leaf-fall linear infinite; }
.nh-leaf svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 3px rgba(35,78,82,.12)); }
@keyframes nh-leaf-fall {
  0%   { transform: translate3d(0, -12vh, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: var(--leaf-op, .5); }
  50%  { transform: translate3d(20px, 42vh, 0) rotate(190deg); }
  90%  { opacity: var(--leaf-op, .5); }
  100% { transform: translate3d(-14px, 96vh, 0) rotate(400deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .nh-leaves { display: none; } }
.nh-hero::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(820px 520px at 92% -8%, rgba(248,180,180,.22), transparent 60%),
    radial-gradient(720px 480px at 78% 8%, rgba(245,181,186,.50), transparent 62%),
    radial-gradient(560px 460px at -4% 12%, rgba(245,181,186,.30), transparent 60%),
    radial-gradient(480px 360px at 4% 0%, rgba(220,20,60,.07), transparent 60%),
    var(--cream-base);
}
.nh-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(12px, 3vw, 52px); align-items: center; }
.nh-hero-copy h1 { font-weight: 600; font-size: clamp(28px, 7.6vw, 60px); line-height: 1.04; letter-spacing: -.015em; margin-bottom: 16px; text-shadow: 0 1px 1px rgba(250,248,241,.55), 0 2px 26px rgba(250,248,241,.6); }
.nh-hero-copy h1 .l1 { color: var(--ink); }
.nh-hero-copy h1 .l2 { color: var(--deep-meadow); }
.nh-hero-copy h1 .l3 { color: var(--amber-deep); }
.nh-hero-copy .lead { font-size: clamp(15px, 2.4vw, 17.5px); line-height: 1.66; color: #3e4f47; font-weight: 500; max-width: 42ch; margin-bottom: clamp(18px, 3vw, 26px); text-shadow: 0 1px 12px rgba(250,248,241,.55); }
.nh-hero-cta { display: flex; flex-direction: column; gap: 12px; margin-top: clamp(6px, 2vw, 14px); }
.nh-cta-main { --btn-bg: var(--soft-red); width: 100%; max-width: 280px; padding: 16px 28px; font-family: var(--font-head); font-weight: 700; font-size: 16.5px; letter-spacing: .005em; box-shadow: 0 10px 24px -10px rgba(227,93,106,.5), 0 2px 6px -2px rgba(35,78,82,.2); }
.nh-cta-main:hover { --btn-bg: #D94F5D; }  /* soft red hero CTA (softer than the crimson primary) */

.nh-hero-visual { position: relative; }
.nh-hero-img { position: relative; z-index: 2; border-radius: 50%; overflow: hidden; aspect-ratio: 1; box-shadow: var(--sh-md); max-width: 420px; margin-inline: auto; }
.nh-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
/* layered circular photos behind the main one */
.nh-orb { position: absolute; border-radius: 50%; overflow: hidden; aspect-ratio: 1; box-shadow: var(--sh-md); }
.nh-orb img { width: 100%; height: 100%; object-fit: cover; }
.nh-orb-2 { width: 66%; top: -8%; right: -14%; z-index: 1; filter: blur(1.5px); opacity: .95; }
.nh-orb-3 { width: 74%; top: -22%; right: 12%; z-index: 0; filter: blur(3px); opacity: .82; }
.nh-verified {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.94); color: var(--deep-meadow); white-space: nowrap;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(11px, 3vw, 13px); box-shadow: var(--sh-sm);
}
.nh-verified svg { width: 15px; height: 15px; color: var(--fresh-green); flex: none; }
.nh-stat-wrap { position: relative; z-index: 3; }
.nh-stat-card {
  position: relative; z-index: 3; margin: clamp(14px, 4vw, 26px) auto 0; max-width: 380px;
  background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-xl);
  padding: clamp(18px, 4vw, 24px); box-shadow: var(--sh-md);
}
.nh-stat-big { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 8vw, 40px); color: var(--ink); line-height: 1; letter-spacing: -.01em; }
.nh-stat-sub { color: var(--muted-green-gray); font-size: 14px; margin-top: 6px; }
.nh-ava-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.nh-ava { display: flex; flex: none; }
.nh-ava span { width: 33px; height: 33px; border-radius: 50%; margin-left: -9px; border: 2.5px solid var(--cream-2); background-size: cover; background-position: center; }
.nh-ava span:first-child { margin-left: 0; }
.nh-ava .more { background: var(--sage-light); color: var(--deep-meadow); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 10.5px; }
.nh-ava-tx { font-size: 13px; color: var(--muted-green-gray); line-height: 1.4; }
.nh-ava-tx b { color: var(--ink); font-family: var(--font-head); font-weight: 600; }

/* ---- Impact: Hope is growing ---- */
.nh-impact { background: var(--cream-base); }
.nh-impact .nh-head { text-align: center; margin-inline: auto; }
.nh-impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 3vw, 32px); }
.nh-imp { text-align: center; }
.nh-imp .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--sage-wash); color: var(--fresh-green); display: grid; place-items: center; margin: 0 auto 14px; }
.nh-imp .ic svg { width: 24px; height: 24px; }
.nh-imp .n { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 5vw, 38px); color: var(--ink); line-height: 1; }
.nh-imp .l { color: var(--text-2); font-size: clamp(12.5px, 1.6vw, 14px); margin-top: 7px; }

/* ---- How it works ---- */
.nh-how { background: var(--soft-sand); }
.nh-how .nh-head { text-align: center; margin-inline: auto; }
.nh-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 4vw, 32px); max-width: 980px; margin-inline: auto; }
.nh-step { text-align: center; position: relative; }
.nh-step .sic { width: 60px; height: 60px; border-radius: 18px; background: var(--sage-wash); color: var(--deep-meadow); display: grid; place-items: center; margin: 0 auto 16px; transition: transform .3s var(--ease), background .3s; }
.nh-step .sic svg { width: 28px; height: 28px; }
@media (hover:hover){ .nh-step:hover .sic { transform: translateY(-4px); background: var(--sage-soft); } }
.nh-step h3 { font-family: var(--font-head); font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.nh-step p { color: var(--text-2); font-size: 13.5px; line-height: 1.5; max-width: 24ch; margin-inline: auto; }

/* ---- A story of hope ---- */
.nh-story-carousel { position: relative; max-width: 920px; margin-inline: auto; }
.nh-story-card {
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--cream-2); border: 1px solid var(--line-soft);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md);
  transition: opacity .22s var(--ease);
}
.nh-story-card.is-fading { opacity: 0; }
.nh-story-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--soft-sand); }
.nh-story-media img { width: 100%; height: 100%; object-fit: cover; }
.nh-story-media .heart { position: absolute; top: 14px; left: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--coral-deep); display: grid; place-items: center; box-shadow: var(--sh-sm); }
.nh-story-media .heart svg { width: 19px; height: 19px; }
.nh-story-body { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; }
.nh-story-body h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 3vw, 28px); line-height: 1.15; margin-bottom: 10px; }
.nh-story-body p { color: var(--text-2); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.nh-story-nums { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.nh-story-nums .r { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); }
.nh-story-nums .r span { color: var(--text-2); font-weight: 500; font-size: 13.5px; }
.nh-story-nums .g { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); }
.nh-story-nums .g span { color: var(--text-2); font-weight: 500; font-size: 13.5px; }
.nh-story-body .careflow { margin-bottom: 20px; }
.nh-story-pct { text-align: right; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--fresh-green); margin-top: -10px; margin-bottom: 16px; }
/* carousel controls — prev / dots / next */
.nh-story-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.nh-arrow {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream-2); border: 1px solid var(--line); color: var(--deep-meadow);
  display: grid; place-items: center; box-shadow: var(--sh-sm);
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.nh-arrow svg { width: 20px; height: 20px; }
.nh-arrow:hover { background: var(--sage-wash); color: var(--teal-deep); border-color: var(--sage-soft); }
.nh-arrow:active { transform: scale(.92); }
.nh-dots { display: flex; align-items: center; justify-content: center; gap: 8px; }
.nh-dots span, .nh-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--sand-line); padding: 0; transition: width .25s var(--ease), background .25s; }
.nh-dots button { cursor: pointer; }
.nh-dots span.on, .nh-dots button.on { width: 22px; border-radius: 999px; background: var(--coral-pink); }
@media (min-width: 861px) {
  .nh-arrow.prev, .nh-arrow.next { position: absolute; top: 46%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; }
  .nh-arrow.prev { left: -22px; } .nh-arrow.next { right: -22px; }
  .nh-arrow.prev:active, .nh-arrow.next:active { transform: translateY(-50%) scale(.92); }
}

/* ---- Stronger together ---- */
.nh-community {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 30px); flex-wrap: wrap;
  background: linear-gradient(135deg, var(--sage-wash) 0%, var(--soft-sand) 100%);
  border: 1px solid var(--line-soft); border-radius: var(--r-xl);
  padding: clamp(26px, 3.4vw, 40px); max-width: 920px; margin-inline: auto;
  box-shadow: var(--sh-sm);
}
.nh-community .cic { width: 60px; height: 60px; border-radius: 18px; background: var(--cream-2); color: var(--fresh-green); display: grid; place-items: center; flex: none; box-shadow: 0 10px 22px -12px rgba(35,78,82,.35); }
.nh-community .cic svg { width: 30px; height: 30px; }
.nh-community .ctx { flex: 1; min-width: 220px; }
.nh-community .ctx h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.6vw, 24px); line-height: 1.15; margin-bottom: 6px; color: var(--deep-meadow); }
.nh-community .ctx p { color: var(--muted-green-gray); font-size: 15px; line-height: 1.5; max-width: 46ch; }
.nh-community .btn { white-space: nowrap; flex: none; }
@media (max-width: 700px) {
  .nh-community { flex-direction: column; text-align: center; justify-content: center; gap: 16px; }
  .nh-community .ctx { flex: none; min-width: 0; }
  .nh-community .ctx p { margin-inline: auto; }
  .nh-community .btn { width: 100%; max-width: 320px; }
}

/* ---- Final CTA (soft light-green band) ---- */
.nh-final { background: var(--sage-wash) url(../img/be-reason-bg.png) center/cover no-repeat; color: var(--deep-meadow); text-align: center; position: relative; overflow: hidden; padding-top: clamp(34px, 7vw, 60px); padding-bottom: clamp(40px, 8vw, 72px); }
/* looping grass-in-the-wind video as the living backdrop (photo bg = poster/fallback) */
.nh-final-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
/* soft cream halo behind the copy for readability; backdrop stays visible at the edges */
.nh-final::before { content:""; position:absolute; inset:0; z-index:1; background: radial-gradient(135% 92% at 50% 47%, rgba(250,248,241,.7) 0%, rgba(250,248,241,.34) 46%, rgba(250,248,241,0) 78%); }
/* top fade in the section's base color so it melts into the section above (no hard edge) */
.nh-final::after { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background: linear-gradient(to bottom, var(--cream-base) 0%, rgba(250,248,241,.74) 11%, rgba(250,248,241,0) 32%); }
.nh-final .wrap { position: relative; z-index: 2; }
.nh-final h2 { color: var(--fresh-green); font-size: clamp(28px, 5vw, 44px); line-height: 1.12; max-width: 18ch; margin: 0 auto 26px; text-shadow: 0 1px 16px rgba(255,255,255,.6); }
.nh-final h2 .hl { color: var(--amber-deep); }
.nh-final .nh-mark { width: 46px; height: 46px; margin: 0 auto 18px; }
.nh-final .nh-mark img { width: 100%; height: 100%; object-fit: contain; }
/* home final CTA button: translucent coral-pink glass over the grass video */
.nh-final .btn-primary { --btn-bg: rgba(248,180,180,.42); --btn-fg: var(--amber-deep); border: 1px solid rgba(255,255,255,.6); -webkit-backdrop-filter: blur(10px) saturate(1.25); backdrop-filter: blur(10px) saturate(1.25); box-shadow: 0 10px 28px -14px rgba(160,13,42,.35); }
.nh-final .btn-primary:hover { --btn-bg: rgba(248,180,180,.62); }

/* desktop background variant */
@media (min-width: 861px) {
  .nh-final { background-image: url(../img/be-reason-bg-desktop.png); }
  .nh-final::before { background: radial-gradient(110% 100% at 50% 50%, rgba(250,248,241,.66) 0%, rgba(250,248,241,.3) 50%, rgba(250,248,241,0) 80%); }
}

/* ---- Desktop ---- */
@media (min-width: 861px) {
  /* === hero (desktop): green-tone gradient + drifting glows === */
  .nh-hero { background: var(--cream-base); }
  .nh-hero::before, .nh-hero::after {
    content: ""; position: absolute; inset: auto; top: 50%; left: 50%;
    width: min(60vw, 820px); height: min(60vw, 820px); border-radius: 50%;
    z-index: 0; pointer-events: none; filter: blur(82px); will-change: transform;
  }
  .nh-hero::before { background: radial-gradient(circle, rgba(248,180,180,.42), rgba(248,180,180,0) 66%); animation: nh-heroglowA 14s ease-in-out infinite; }
  .nh-hero::after { background: radial-gradient(circle, rgba(245,181,186,.52), rgba(245,181,186,0) 66%); animation: nh-heroglowB 18s ease-in-out infinite; }
  @media (prefers-reduced-motion: reduce) {
    .nh-hero::before { animation: none; transform: translate(-70%, -64%); }
    .nh-hero::after { animation: none; transform: translate(-6%, -40%); }
  }
  .nh-hero .nh-hero-grid { position: relative; z-index: 2; }
  .nh-hero .nh-stat-wrap { z-index: 2; }
  @keyframes nh-heroglowA {
    0%   { transform: translate(-96%, -78%) scale(1); }
    25%  { transform: translate(-18%, -94%) scale(1.14); }
    50%  { transform: translate(22%, -52%) scale(1); }
    75%  { transform: translate(-62%, -34%) scale(1.1); }
    100% { transform: translate(-96%, -78%) scale(1); }
  }
  @keyframes nh-heroglowB {
    0%   { transform: translate(4%, -24%) scale(1.06); }
    25%  { transform: translate(-92%, -56%) scale(1); }
    50%  { transform: translate(-8%, -92%) scale(1.18); }
    75%  { transform: translate(34%, -44%) scale(1); }
    100% { transform: translate(4%, -24%) scale(1.06); }
  }

  .nh-hero-grid { grid-template-columns: 1.05fr .95fr; column-gap: clamp(40px, 6vw, 80px); }
  .nh-hero-cta { flex-direction: row; }
  .nh-hero-cta .btn { width: auto; }
  .nh-hero-visual { min-height: 540px; display: flex; align-items: center; }
  /* organic circular crop, large, to the right */
  .nh-hero-img { aspect-ratio: 1; border-radius: 50%; width: 100%; max-width: 520px; margin-left: auto; }
  .nh-hero-img img { object-position: center 30%; }
  .nh-verified { top: 9%; left: 50%; transform: translateX(-46%); }
  /* floating stat card — absolute over the image bottom-left, bridging toward the text */
  .nh-stat-wrap { position: absolute; left: 0; right: 0; bottom: clamp(28px, 5vw, 66px); pointer-events: none; }
  .nh-stat-wrap .nh-stat-card { margin: 0 0 0 auto; max-width: 300px; transform: translateX(12%); pointer-events: auto; box-shadow: 0 24px 60px -24px rgba(35,78,82,.35); }
  /* decorative dotted curve + heart between the columns */
  .nh-hero-deco { display: block; position: absolute; z-index: 1; left: 42%; top: 46%; width: clamp(220px, 24vw, 340px); height: 300px; transform: translateY(-50%); pointer-events: none; }
  .nh-hero-deco .nh-deco-path { width: 100%; height: 100%; opacity: .85; }
  .nh-hero-heart { position: absolute; left: 0; top: 70%; width: 48px; height: 48px; border-radius: 50%; background: var(--cream-2); color: var(--fresh-green); display: grid; place-items: center; box-shadow: var(--sh-sm); }
  .nh-hero-heart svg { width: 22px; height: 22px; }
  .nh-steps { grid-template-columns: repeat(4, 1fr); }
  /* dotted connectors between steps */
  .nh-step:not(:last-child)::after {
    content:""; position: absolute; top: 30px; left: calc(50% + 42px); right: calc(-50% + 42px);
    border-top: 2px dashed var(--sage-soft);
  }
  .nh-story-card { grid-template-columns: 1fr 1fr; }
  .nh-story-media { aspect-ratio: auto; height: 100%; }
  .nh-story-body { justify-content: center; }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .nh-stat-card { max-width: 250px; }
}

/* =====================================================================
   HOME v3 — bigger hero (mobile), mini campaigns, peek carousel
   ===================================================================== */
/* hero polish */
.nh-hero-img { box-shadow: var(--sh-lg); }
.nh-hero-deco { display: none; }
@media (max-width: 600px) {
  .nh-hero-copy .lead { max-width: none; }
}

/* ---- Mini campaign cards (horizontal scroll) ---- */
/* edges fade the cards themselves to transparent (mask) — clean over any background */
.mini-fade { position: relative; }
.mini-scroll { padding: 4px 2px 6px; }
.hscroll > .mini-camp { flex: 0 0 clamp(190px, 56vw, 220px); scroll-snap-align: start; transform: none; opacity: 1; }
.mini-camp { display: block; background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
@media (hover: hover) { .mini-camp:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--sage-soft); } .mini-camp:hover .mini-img img { transform: scale(1.06); } }
/* desktop: visible horizontal scrollbar so mouse users can navigate the row */
@media (min-width: 861px) {
  .mini-scroll { padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: var(--sage-mist) var(--sage-wash); }
  .mini-scroll::-webkit-scrollbar { display: block; height: 10px; }
  .mini-scroll::-webkit-scrollbar-track { background: var(--sage-wash); border-radius: 999px; }
  .mini-scroll::-webkit-scrollbar-thumb { background: var(--sage-mist); border-radius: 999px; border: 2px solid var(--sage-wash); }
  .mini-scroll::-webkit-scrollbar-thumb:hover { background: var(--fresh-green); }
}
.mini-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft-sand); }
.mini-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.mini-b { padding: 14px 16px 16px; }
.mini-t { font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 11px; min-height: 2.6em; }
.mini-r { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -.01em; }
.mini-r span { color: var(--text-2); font-weight: 500; font-size: 12.5px; letter-spacing: 0; }
.mini-more { display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(160deg, var(--sage-wash), #F9D9D9); border-style: dashed; border-color: var(--sage-soft); }
.mini-more-in { padding: 18px; font-family: var(--font-head); font-weight: 600; color: var(--deep-meadow); font-size: 14px; line-height: 1.3; }
.mini-more-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--cream-2); color: var(--fresh-green); display: grid; place-items: center; margin: 0 auto 10px; }
.mini-more-ic svg { width: 20px; height: 20px; }

/* =====================================================================
   LIVE SUPPORT — "happening now" activity timeline
   ===================================================================== */
.ln-section { background: linear-gradient(180deg, var(--cream-base) 0%, var(--sage-wash) 18%, #F8D2D2 50%, #FADDDD 76%, var(--cream-base) 100%); }
.ln-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 4vw, 32px); align-items: start; }
.ln-intro { max-width: 38rem; }
.ln-intro h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 6.4vw, 40px); line-height: 1.05; letter-spacing: -.02em; color: var(--warm-sun); margin: 8px 0 12px; }
.ln-intro p { color: var(--muted-green-gray); font-size: clamp(15px, 2.6vw, 16.5px); line-height: 1.6; max-width: 44ch; }
.ln-pulse { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--fresh-green); }
.ln-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fresh-green); animation: ln-pulse 2s ease-out infinite; }
@keyframes ln-pulse { 0% { box-shadow: 0 0 0 0 rgba(79,175,143,.5); } 70% { box-shadow: 0 0 0 8px rgba(79,175,143,0); } 100% { box-shadow: 0 0 0 0 rgba(79,175,143,0); } }
@media (prefers-reduced-motion: reduce) { .ln-dot { animation: none; } }

/* Happening now — clean single-line activity rows (avatar · who gave how much · campaign · time · thumb) */
.ln-feed { display: flex; flex-direction: column; gap: 12px; }
.ln-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 12px 14px; box-shadow: var(--sh-xs); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.ln-card.ln-enter { opacity: 0; transform: translateY(-10px); }
.ln-card.ln-leave { opacity: 0; transform: translateY(10px); }
.ln-av { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--sage-light); color: var(--deep-meadow); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.ln-av::before { content: attr(data-initials); }
.ln-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ln-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ln-act { font-size: 14.5px; line-height: 1.4; color: var(--ink); margin: 0; }
.ln-act b { font-weight: 700; }
.ln-amt { color: var(--fresh-green); }
.ln-camp-link { display: block; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--muted-green-gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln-camp-link:hover { color: var(--deep-meadow); }
.ln-time { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; font-family: var(--font-head); font-weight: 600; font-size: 11.5px; color: var(--text-2); }
.ln-time svg { width: 13px; height: 13px; color: var(--sage-mist); flex: none; }
.ln-thumb { flex: none; width: 54px; height: 54px; border-radius: var(--r-md); overflow: hidden; background: var(--soft-sand); }
.ln-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .ln-card { transition: none; } }

@media (min-width: 861px) {
  .ln-wrap { grid-template-columns: 0.82fr 1.18fr; gap: clamp(40px, 5vw, 72px); }
  .ln-intro { position: sticky; top: calc(var(--header-h) + 24px); }
  .ln-feed { max-width: 660px; }
}
@media (max-width: 860px) { .ln-feed .ln-card:nth-child(n+4) { display: none; } }  /* mobile: show only 3 rows (rotation still swaps the top one) */

/* ---- Featured bento grid: "Fundraisers to explore" ---- */
.nh-eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-deep); margin-bottom: 8px; }
.feat-grid { display: grid; grid-template-columns: 1fr; gap: clamp(14px, 2vw, 20px); }
.feat-card { display: flex; flex-direction: column; background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
@media (hover: hover) { .feat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--sage-soft); } .feat-card:hover .feat-img img { transform: scale(1.05); } }
.feat-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft-sand); }
.feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.feat-cat { position: absolute; top: 12px; left: 12px; font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--deep-meadow); background: rgba(255,255,255,.94); padding: 5px 12px; border-radius: var(--r-pill); box-shadow: var(--sh-sm); }
.feat-b { padding: 15px 17px 17px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.feat-t { font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feat-bar { margin-top: auto; }
.feat-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.feat-meta b { font-family: var(--font-head); font-weight: 800; font-size: 15.5px; color: var(--ink); letter-spacing: -.01em; }
.feat-meta b span { font-weight: 500; font-size: 12.5px; color: var(--text-2); letter-spacing: 0; }
.feat-fund { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--teal-deep); white-space: nowrap; }
.feat-cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; min-height: 178px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); background: linear-gradient(155deg, var(--fresh-green), var(--deep-meadow)); color: #fff; box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
@media (hover: hover) { .feat-cta:hover { transform: translateY(-4px); box-shadow: var(--sh-md); } }
.feat-cta-t { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.12; }
.feat-cta-ic { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; }
.feat-cta-ic svg { width: 22px; height: 22px; color: #fff; }
@media (min-width: 861px) {
  .feat-grid { grid-template-columns: 1.15fr 1fr 1fr; grid-auto-rows: 1fr; gap: clamp(16px, 1.6vw, 22px); }
  .feat-big { grid-column: 1; grid-row: 1 / span 2; }
  .feat-big .feat-img { aspect-ratio: auto; flex: 1; min-height: 0; }
  .feat-big .feat-t { font-size: 19px; }
  .feat-big .feat-b { padding: 18px 20px 20px; }
}

/* ---- Story of hope: center-focus peek carousel ---- */
.soh { position: relative; width: 100vw; margin-inline: calc(50% - 50vw); }
/* room top/bottom so the active card's shadow shows fully (not clipped by overflow) */
.soh-viewport { overflow: hidden; padding: 18px 0 42px; }
.soh-track { display: flex; gap: clamp(14px, 4vw, 26px); transition: transform .6s var(--ease); will-change: transform; }
.soh-slide {
  flex: 0 0 clamp(280px, 82vw, 600px);
  background: var(--cream-2); border: 1px solid var(--line-soft);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md);
  display: flex; flex-direction: column;
  transform: scale(.8); opacity: .4;
  transition: transform .6s var(--ease), opacity .6s var(--ease), box-shadow .6s var(--ease);
}
.soh-slide.is-active { transform: scale(1); opacity: 1; box-shadow: 0 16px 36px -18px rgba(23,33,38,.3); }
@media (prefers-reduced-motion: reduce) { .soh-track, .soh-slide { transition: none; } }
.soh-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft-sand); }
.soh-media img { width: 100%; height: 100%; object-fit: cover; }
.soh-media .heart { position: absolute; top: 14px; left: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--coral-deep); display: grid; place-items: center; box-shadow: var(--sh-sm); }
.soh-media .heart svg { width: 20px; height: 20px; }
.soh-body { padding: clamp(20px, 3.4vw, 30px); display: flex; flex-direction: column; }
.soh-body h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(21px, 3vw, 28px); line-height: 1.14; margin-bottom: 9px; }
.soh-body p { color: var(--text-2); font-size: 15px; line-height: 1.55; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.soh-nums { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.soh-nums .r { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--ink); }
.soh-nums .g { color: var(--text-2); font-size: 13.5px; }
.soh-body .careflow { margin-bottom: 9px; }
.soh-pct { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--fresh-green); margin-bottom: 18px; }
.soh-body .btn { margin-top: auto; }
.soh-body .btn svg { width: 18px; height: 18px; }
/* "explore more stories" final slide */
.soh-more { align-items: center; justify-content: center; text-align: center; background: linear-gradient(160deg, var(--sage-wash), #F9D6D6); border: 1px dashed var(--sage-soft); }
.soh-more-in { padding: clamp(48px, 10vw, 90px) 28px; display: flex; flex-direction: column; align-items: center; }
.soh-more-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--cream-2); color: var(--fresh-green); display: grid; place-items: center; margin-bottom: 18px; box-shadow: var(--sh-sm); }
.soh-more-ic svg { width: 28px; height: 28px; }
.soh-more-t { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 3vw, 28px); color: var(--deep-meadow); margin-bottom: 4px; }
.soh-more-sub { color: var(--muted-green-gray); font-size: 14px; }
/* prev/next arrows — desktop only (mobile uses swipe) */
.soh-arrow { display: none; }
@media (min-width: 861px) {
  .soh-arrow { display: grid; place-items: center; position: absolute; top: calc(50% - 14px); transform: translateY(-50%); z-index: 6;
    width: 54px; height: 54px; border-radius: 50%; background: rgba(250,248,241,.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    color: var(--deep-meadow); border: 1px solid var(--line-soft); box-shadow: 0 12px 28px -12px rgba(35,78,82,.4);
    cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease); }
  .soh-prev { left: clamp(16px, 4vw, 64px); }
  .soh-next { right: clamp(16px, 4vw, 64px); }
  .soh-arrow svg { width: 24px; height: 24px; }
  .soh-arrow:hover { background: var(--coral-deep); color: #fff; transform: translateY(-50%) scale(1.06); }
  .soh-arrow:active { transform: translateY(-50%) scale(.97); }
  .soh-arrow:focus-visible { outline: 3px solid var(--sage-light); outline-offset: 3px; }
}
.soh-dots { display: none; justify-content: center; gap: 8px; margin-top: 22px; }
.soh-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--sand-line); transition: width .25s var(--ease), background .25s; }
.soh-dots button.on { width: 24px; border-radius: 999px; background: var(--coral-pink); }
/* tighten the gap before the photo CTA so the two sections flow (don't read as divided) */
.soh-section { padding-bottom: clamp(6px, 1.5vw, 12px); }

/* ===== "A story of hope" — mobile carousel polish (desktop uses the accordion; untouched) ===== */
@media (max-width: 860px) {
  /* show pagination dots so the carousel reads as finished */
  .soh-dots { display: flex; margin-top: 18px; }
  /* keep titles to 2 lines so every card is the same, proportional height (no stretched empty space) */
  .soh-body h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.28em; }
  /* a touch less vertical padding for a more compact card */
  .soh-viewport { padding: 14px 0 30px; }
}

/* ===== "A story of hope" — desktop 3-card expanding accordion (replaces the arrow carousel) ===== */
@media (min-width: 861px) {
  .soh-acc-wrap { margin-top: clamp(4px, 1.2vw, 14px); }
  .soh-acc { display: flex; gap: 16px; height: clamp(380px, 36vw, 440px); }
  .soh-ac-card {
    position: relative; flex: 1 1 0; min-width: 0; display: block; overflow: hidden;
    border-radius: var(--r-xl); box-shadow: var(--sh-md); cursor: pointer; text-decoration: none;
    transition: flex-grow .55s var(--ease), box-shadow .4s var(--ease);
  }
  .soh-ac-card.is-active { flex-grow: 2.3; box-shadow: 0 26px 56px -22px rgba(23,33,38,.5); }
  .soh-ac-card:focus-visible { outline: 3px solid var(--sage-light); outline-offset: 3px; }
  .soh-ac-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s var(--ease); }
  .soh-ac-card:not(.is-active) .soh-ac-img { filter: brightness(.84) saturate(.96); }
  .soh-ac-card:not(.is-active):hover .soh-ac-img { filter: brightness(.95); transform: scale(1.05); }
  .soh-ac-card::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to top, rgba(23,33,38,.88) 0%, rgba(23,33,38,.6) 34%, rgba(23,33,38,.18) 62%, rgba(23,33,38,0) 84%); }
  .soh-ac-heart { position: absolute; top: 16px; left: 16px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.92); color: var(--coral-deep); display: grid; place-items: center; box-shadow: var(--sh-sm); }
  .soh-ac-heart svg { width: 20px; height: 20px; }
  .soh-ac-cat { position: absolute; top: 18px; right: 16px; z-index: 3; font-family: var(--font-head); font-weight: 700; font-size: 11.5px;
    color: var(--deep-meadow); background: rgba(255,255,255,.92); padding: 6px 12px; border-radius: var(--r-pill); box-shadow: var(--sh-xs);
    opacity: 0; transition: opacity .35s var(--ease); }
  .soh-ac-card.is-active .soh-ac-cat { opacity: 1; }
  .soh-ac-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; color: #fff; padding: clamp(18px, 1.8vw, 30px); }
  .soh-ac-body h3 { font-family: var(--font-display); font-weight: 500; color: #fff; line-height: 1.14;
    font-size: clamp(16px, 1.35vw, 20px); margin: 0; text-shadow: 0 2px 14px rgba(0,0,0,.5);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: font-size .45s var(--ease); }
  /* fields revealed only on the principal (active) card */
  .soh-ac-blurb, .soh-ac-nums, .soh-ac-card .careflow, .soh-ac-pct, .soh-ac-cta {
    opacity: 0; max-height: 0; overflow: hidden; pointer-events: none; margin-top: 0;
    transition: opacity .4s var(--ease), max-height .5s var(--ease), margin .4s var(--ease); }
  .soh-ac-card.is-active .soh-ac-body h3 { -webkit-line-clamp: 2; font-size: clamp(23px, 2vw, 31px); }
  .soh-ac-card.is-active .soh-ac-blurb { opacity: .92; max-height: 4.6em; margin-top: 10px; font-size: 15px; line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
  .soh-ac-card.is-active .soh-ac-nums { opacity: 1; max-height: 2.4em; margin-top: 14px; display: flex; align-items: baseline; gap: 8px; }
  .soh-ac-nums .r { font-family: var(--font-head); font-weight: 800; font-size: 21px; color: #fff; }
  .soh-ac-nums .g { color: rgba(255,255,255,.82); font-size: 13.5px; }
  .soh-ac-card.is-active .careflow { opacity: 1; max-height: 14px; margin-top: 10px; }
  .soh-ac-card.is-active .soh-ac-pct { opacity: 1; max-height: 2em; margin-top: 8px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--sage-light); }
  .soh-ac-card.is-active .soh-ac-cta { opacity: 1; max-height: 4em; margin-top: 18px; pointer-events: auto;
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: var(--r-pill);
    background: var(--warm-sun); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14.5px;
    box-shadow: 0 12px 26px -10px rgba(220,20,60,.42); }
  .soh-ac-cta svg { width: 18px; height: 18px; }
}
@media (min-width: 861px) and (prefers-reduced-motion: reduce) {
  .soh-ac-card, .soh-ac-img, .soh-ac-body h3, .soh-ac-blurb, .soh-ac-nums, .soh-ac-card .careflow, .soh-ac-pct, .soh-ac-cta { transition: none; }
}

/* re-assert hero decoration on desktop (after the base display:none above) */
@media (min-width: 861px) { .nh-hero-deco { display: block; } }

/* =====================================================================
   BROWSE CAMPAIGNS — reference-based (hero + search + chips + list)
   ===================================================================== */
.bc-hero { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + clamp(16px, 4vw, 36px)); padding-bottom: clamp(22px, 4vw, 40px); }
/* soft-blurred "field" gif, tinted coral pink behind a translucent blush veil */
.bc-hero::before { content: ""; position: absolute; inset: -30px; z-index: 0; pointer-events: none;
  background: url(../img/field.gif) center / cover no-repeat; filter: blur(6px) saturate(.85) hue-rotate(280deg); opacity: .75; }  /* field tinted soft coral pink, see-through */
.bc-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, transparent 56%, rgba(250,248,241,.7) 84%, rgba(250,248,241,1) 100%),
    linear-gradient(100deg, rgba(253,232,232,.82) 0%, rgba(253,232,232,.55) 40%, rgba(248,180,180,.22) 70%, rgba(248,180,180,.3) 100%); }  /* translucent blush veil */
.bc-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: clamp(12px, 3vw, 40px); align-items: center; }
.bc-hero-copy h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 11vw, 56px); line-height: 1.02; letter-spacing: -.02em; color: var(--coral-red); margin-bottom: 12px; }
.bc-hero-copy p { color: var(--muted-green-gray); font-size: clamp(13.5px, 2.6vw, 16px); line-height: 1.55; max-width: 34ch; }
.bc-hero-img { border-radius: 50%; overflow: hidden; aspect-ratio: 1; max-width: 240px; margin-left: auto; box-shadow: var(--sh-md); }
.bc-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.bc-main { padding-top: clamp(20px, 5vw, 30px); padding-bottom: clamp(8px, 2vw, 20px); }
.bc-search { display: flex; align-items: center; gap: 12px; background: var(--cream-2); border: 1.5px solid var(--line-soft); border-radius: var(--r-pill); padding: 15px 20px; box-shadow: var(--sh-xs); margin-bottom: clamp(16px, 3.4vw, 20px); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.bc-search:focus-within { border-color: var(--sage-mist); box-shadow: 0 0 0 3px var(--sage-wash), var(--sh-sm); }
.bc-search svg { width: 20px; height: 20px; color: var(--muted-green-gray); flex: none; transition: color .2s; }
.bc-search:focus-within svg { color: var(--fresh-green); }
.bc-search input { flex: 1; min-width: 0; border: none; background: none; outline: none; font-size: 15.5px; color: var(--ink); }
.bc-search input::placeholder { color: var(--muted-green-gray); }

/* mobile: chips on a full-width scroll row, sort tucked on its own aligned line */
.bc-filterbar { display: flex; flex-direction: column; align-items: stretch; gap: 11px; margin-bottom: clamp(18px, 4vw, 26px); }
.bc-chips { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding: 3px; margin: -3px; scroll-padding-inline: 3px; }
.bc-chips::-webkit-scrollbar { display: none; }
.bc-chips::after { content: ""; flex: 0 0 4px; }
.bc-chip { flex: none; padding: 10px 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--cream-2); font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--deep-meadow); white-space: nowrap; cursor: pointer; transition: background .2s var(--ease), color .2s, border-color .2s, box-shadow .2s; }
.bc-chip.on { background: var(--warm-sun); border-color: var(--warm-sun); color: #fff; box-shadow: 0 6px 16px -8px rgba(220,20,60,.35); }
.bc-chip:focus-visible { outline: 2px solid var(--fresh-green); outline-offset: 2px; }
@media (hover: hover) { .bc-chip:hover:not(.on) { border-color: var(--sage-mist); background: var(--sage-wash); } }

.bc-listhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: clamp(14px, 3vw, 20px); }
.bc-listhead h2 { font-size: clamp(22px, 4.4vw, 30px); margin-bottom: 5px; }
.bc-listhead p { color: var(--muted-green-gray); font-size: 14px; line-height: 1.5; }
.bc-sort { position: relative; flex: none; align-self: flex-end; }
.bc-sort::after { content: ""; }
.bc-sort select { appearance: none; -webkit-appearance: none; border: 1.5px solid var(--line); background: var(--cream-2); border-radius: var(--r-pill); padding: 11px 40px 11px 17px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--deep-meadow); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.bc-sort select:hover { border-color: var(--sage-mist); }
.bc-sort select:focus-visible { outline: none; border-color: var(--sage-mist); box-shadow: 0 0 0 3px var(--sage-wash); }
.bc-sort svg { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--deep-meadow); pointer-events: none; }

.bc-list { display: flex; flex-direction: column; gap: clamp(14px, 2.5vw, 18px); }
.bc-card { display: grid; grid-template-columns: clamp(116px, 36%, 188px) 1fr; background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
@media (hover: hover) { .bc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--sage-soft); } .bc-card:hover .bc-card-img img { transform: scale(1.05); } }
.bc-card-img { position: relative; overflow: hidden; background: var(--soft-sand); }
.bc-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.bc-heart { position: absolute; top: 12px; left: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--coral-deep); display: grid; place-items: center; box-shadow: var(--sh-xs); }
.bc-heart svg { width: 17px; height: 17px; }
/* ---- favorite hearts (cards): tap to fill, with a pop + ring + sparkle burst ---- */
[data-fav] { cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .15s var(--ease), background .2s; }
[data-fav]:hover { transform: scale(1.08); }
[data-fav]:focus-visible { outline: 2.5px solid var(--warm-sun); outline-offset: 2px; }
[data-fav] svg { overflow: visible; }
[data-fav] svg path { transition: fill .2s ease, stroke .2s ease; }
[data-fav][aria-pressed="true"] { color: var(--warm-sun); background: #fff; }
[data-fav][aria-pressed="true"] svg path { fill: currentColor; }
[data-fav].fav-pop svg { animation: fav-pop .5s cubic-bezier(.2,.9,.3,1.4); }
[data-fav].fav-unpop svg { animation: fav-unpop .3s ease; }
[data-fav].fav-pop::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--warm-sun); pointer-events: none; animation: fav-ring .55s ease-out forwards; }
[data-fav].fav-pop::before { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; pointer-events: none;
  box-shadow: 0 -22px 0 var(--warm-sun), 19px -11px 0 var(--coral-pink), 19px 11px 0 var(--warm-sun), 0 22px 0 var(--coral-pink), -19px 11px 0 var(--warm-sun), -19px -11px 0 var(--coral-pink);
  animation: fav-sparks .55s ease-out forwards; }
@keyframes fav-pop { 0% { transform: scale(1); } 25% { transform: scale(.7); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes fav-unpop { 0% { transform: scale(1); } 50% { transform: scale(.8); } 100% { transform: scale(1); } }
@keyframes fav-ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes fav-sparks { 0% { transform: scale(.3); opacity: 1; } 70% { opacity: 1; } 100% { transform: scale(1.15); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { [data-fav].fav-pop svg, [data-fav].fav-unpop svg, [data-fav].fav-pop::after, [data-fav].fav-pop::before { animation: none; } [data-fav].fav-pop::after, [data-fav].fav-pop::before { display: none; } }
.bc-card-body { padding: clamp(14px, 3vw, 20px) clamp(14px, 3.4vw, 22px); display: flex; flex-direction: column; min-width: 0; }
.bc-card-body h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 3.6vw, 22px); line-height: 1.16; color: var(--ink); margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.32em; }
.bc-card-body p { color: var(--muted-green-gray); font-size: clamp(12.5px, 2.6vw, 14px); line-height: 1.5; margin-bottom: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
.bc-card-nums { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; margin-bottom: 9px; white-space: nowrap; }
.bc-card-nums .r, .bc-card-nums .g { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.bc-card-nums .r { font-family: var(--font-head); font-weight: 800; font-size: clamp(13px, 3vw, 16px); color: var(--ink); letter-spacing: -.01em; }
.bc-card-nums .g { font-family: var(--font-head); font-weight: 700; font-size: clamp(12px, 2.7vw, 15px); color: var(--ink); flex: none; }
.bc-card-nums i { font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--muted-green-gray); }
.bc-card-bar { display: flex; align-items: center; gap: 12px; }
.bc-card-bar .careflow { flex: 1; margin-top: 0; }
.bc-card-pct { flex: none; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--fresh-green); }

.bc-pager { margin-top: clamp(22px, 4vw, 32px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bc-pager-count { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted-green-gray); }
.bc-dots { display: flex; gap: 8px; }
.bc-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--sand-line); cursor: pointer; transition: width .25s var(--ease), background .25s; }
.bc-dots button.on { width: 24px; border-radius: 999px; background: var(--coral-pink); }
.bc-pager-hint { display: flex; align-items: center; gap: 14px; color: var(--muted-green-gray); font-size: 14px; }
.bc-pg-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--cream-2); color: var(--deep-meadow); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.bc-pg-arrow:hover:not(:disabled) { background: var(--sage-wash); }
.bc-pg-arrow:disabled { opacity: .35; cursor: not-allowed; }
.bc-pg-arrow svg { width: 17px; height: 17px; }
.bc-skel { pointer-events: none; }
.bc-skel .bc-card-img { min-height: 150px; }

@media (min-width: 861px) {
  .bc-hero-grid { grid-template-columns: 1fr; }  /* copy only — the circular photo was removed */
  .bc-hero-img { max-width: 360px; }
  .bc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
  .bc-card-body h3 { font-size: 20px; }

  /* search + filters + heading — refined, well-aligned block */
  .bc-search { padding: 16px 22px; margin-bottom: 18px; }
  .bc-filterbar { flex-direction: row; align-items: center; gap: 16px; margin-bottom: clamp(20px, 2.4vw, 30px); }
  .bc-chips { flex: 1; min-width: 0; }
  .bc-sort { align-self: auto; }
  .bc-listhead { align-items: flex-end; margin-bottom: 20px; }
}

/* =====================================================================
   CAMPAIGN DETAIL v2 — reference-based, mobile-first, dynamic
   ===================================================================== */
.cd-hero { position: relative; z-index: 1; display: block; width: 100vw; height: auto; min-height: 0; margin-inline: calc(50% - 50vw); overflow: hidden; isolation: auto; background: var(--soft-sand); }
.cd-hero-stage { position: relative; width: 100%; height: clamp(440px, 116vw, 520px); }
.cd-hero-slide { position: absolute; inset: 0; opacity: 0; z-index: 0; transition: opacity .55s var(--ease); pointer-events: none; }
.cd-hero-slide.prev { opacity: 1; z-index: 1; transition: none; }  /* outgoing stays fully opaque underneath so the bg never shows through */
.cd-hero-slide.on { opacity: 1; z-index: 2; pointer-events: auto; }  /* incoming fades in on top */
.cd-hero-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* info card slide — white card on a plain dark background */
.cd-hero-cardslide { display: flex; align-items: center; justify-content: center; padding: calc(var(--header-h) + 14px) clamp(18px,5vw,28px) clamp(26px,6vw,40px); background: linear-gradient(165deg, #224a50 0%, #16292e 58%, #0f1f23 100%); }
.cd-hcard { width: 100%; max-width: 344px; background: #fff; border-radius: var(--r-xl); padding: clamp(18px,4.5vw,24px) clamp(18px,4.5vw,24px); box-shadow: 0 30px 64px -30px rgba(0,0,0,.6); text-align: center; }
.cd-hcard-pill { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--teal-deep); background: var(--sage-wash); padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 16px; }
.cd-hcard-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px,5vw,25px); line-height: 1.14; color: var(--ink); margin: 0 0 9px; }
.cd-hcard-desc { font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); margin: 0 0 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cd-hcard-stats { display: flex; justify-content: space-between; gap: 10px; padding: 13px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-bottom: 16px; }
.cd-hcard-stat { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cd-hcard-stat b { font-family: var(--font-head); font-weight: 800; font-size: clamp(17px,4.6vw,20px); color: var(--ink); }
.cd-hcard-stat span { font-family: var(--font-head); font-weight: 600; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-green-gray); }
.cd-hcard-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px 20px; border: none; border-radius: var(--r-pill); background: var(--warm-sun); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; cursor: pointer; transition: filter .2s, transform .2s; }
.cd-hcard-btn:hover { filter: brightness(.97); transform: translateY(-1px); }
.cd-hcard-btn svg { width: 17px; height: 17px; }
.cd-verified { position: absolute; top: calc(var(--header-h) + 10px); left: clamp(14px, 5vw, 32px); z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.94); color: var(--deep-meadow); font-family: var(--font-head); font-weight: 600; font-size: 13px; box-shadow: var(--sh-sm); transition: opacity .3s var(--ease); }
.cd-hero.on-card .cd-verified { opacity: 0; visibility: hidden; pointer-events: none; }
.cd-verified svg { width: 16px; height: 16px; color: var(--fresh-green); flex: none; }
.cd-verified-av { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; margin: -5px 2px -5px -7px; background: var(--sage-wash); box-shadow: 0 0 0 1.5px rgba(255,255,255,.9); }
.cd-hero-dots { position: absolute; top: calc(var(--header-h) + 14px); right: clamp(14px, 5vw, 32px); left: auto; bottom: auto; transform: none; z-index: 3; display: flex; gap: 7px; }
.cd-hero-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); border: none; cursor: pointer; transition: width .25s var(--ease), background .25s; box-shadow: 0 1px 3px rgba(23,33,38,.25); }
.cd-hero-dots button.on { width: 22px; border-radius: 999px; background: #fff; }
/* title over the image, bottom-left (hidden while a card slide is showing) */
.cd-hero-titlebar { position: absolute; left: 0; right: 0; bottom: clamp(18px, 5vw, 26px); z-index: 3; padding: clamp(56px,16vw,90px) clamp(18px,5vw,40px) clamp(14px,4vw,20px); background: linear-gradient(to top, rgba(15,31,35,.86) 0%, rgba(15,31,35,.45) 42%, transparent 100%); pointer-events: none; transition: opacity .3s var(--ease); }
.cd-hero-cat2 { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.82); margin-bottom: 8px; }
.cd-hero-h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(27px,7.2vw,46px); line-height: 1.08; letter-spacing: -.015em; color: #fff; margin: 0; max-width: 16ch; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.cd-hero.on-card .cd-hero-titlebar { opacity: 0; }

.cd-sheet { position: relative; z-index: 2; isolation: isolate; background: var(--cream-base); border-radius: var(--r-xl) var(--r-xl) 0 0; }
/* bird-in-flight video as the section background (sticky so it parallaxes & keeps the birds at natural scale); cream veil keeps the copy readable */
.cd-sheet-video-wrap { position: absolute; inset: 0; z-index: 0; pointer-events: none; clip-path: inset(0 round var(--r-xl) var(--r-xl) 0 0); }
.cd-sheet-video { position: sticky; top: 0; width: 100%; height: 100svh; object-fit: cover; pointer-events: none; }
.cd-sheet::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(250,248,241,.84) 0%, rgba(250,248,241,.76) 42%, rgba(250,248,241,.82) 80%, rgba(250,248,241,.96) 94%, rgba(250,248,241,1) 100%); }
.cd-inner { position: relative; z-index: 2; max-width: 1040px; margin-inline: auto; padding: clamp(26px, 6vw, 40px) var(--gutter) 0; }

/* hero media wrapper + side panel (mobile: panel is the cream sheet that overlaps the image) */
.cd-hero-media { position: relative; }
.cd-hero-panel {
  position: relative; z-index: 2; max-width: 760px; margin-inline: auto;
  background: var(--cream-base); border-radius: 22px 22px 0 0;
  margin-top: clamp(-26px, -5.5vw, -18px);
  padding: clamp(28px, 7.5vw, 36px) var(--gutter) clamp(6px, 2vw, 12px);
}
/* mobile: image→card transition.
   1) a dark bottom fade that descends all the way to the card (no raw image strip above it);
   2) a soft rounded cream fade so the image dissolves into the curved card top (no "point"/quina). */
@media (max-width: 860px) {
  .cd-hero-stage::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; z-index: 2; pointer-events: none;
    background: linear-gradient(to top, rgba(15,31,35,.95) 0%, rgba(15,31,35,.66) 30%, rgba(15,31,35,.3) 62%, transparent 100%);
  }
  .cd-hero-panel::before {
    content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 46px; z-index: -1; pointer-events: none;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(180deg, rgba(250,248,241,0) 0%, rgba(250,248,241,.42) 46%, rgba(250,248,241,.86) 76%, var(--cream-base) 100%);
  }
}
.cd-hero-head { display: none; }

/* title block */
.cd-titleblock { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: clamp(20px, 4vw, 28px); }
.cd-cat { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--teal-deep); background: var(--sage-wash); padding: 5px 12px; border-radius: var(--r-pill); margin-bottom: 12px; }
.cd-tb-text h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 6.2vw, 40px); line-height: 1.1; letter-spacing: -.015em; color: var(--deep-meadow); margin-bottom: 10px; }
.cd-tb-text p { color: var(--muted-green-gray); font-size: clamp(14.5px, 2.7vw, 16px); line-height: 1.55; max-width: 60ch; }
.cd-save { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--cream-2); color: var(--muted-green-gray); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cd-save:hover { border-color: var(--sage-mist); }
.cd-save.on { background: var(--coral-wash); border-color: var(--warm-sun); color: var(--coral-deep); }
.cd-save svg { width: 20px; height: 20px; }

/* columns */
.cd-cols { display: grid; grid-template-columns: 1fr; gap: clamp(26px, 5vw, 38px); align-items: start; }
.cd-main { min-width: 0; display: flex; flex-direction: column; gap: clamp(28px, 5vw, 40px); }
.cd-aside { order: -1; margin-top: 0; }

.cd-block h2, .cd-story h2, .cd-more h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 4.6vw, 26px); color: var(--deep-meadow); letter-spacing: -.01em; }
.cd-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cd-seeall { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--fresh-green); cursor: pointer; }
.cd-seeall:hover { color: var(--teal-deep); }

/* story — frosted glass card so the grass video reads softly blurred behind the copy */
.cd-story { background: rgba(250,248,241,.58); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.55); border-radius: var(--r-xl); padding: clamp(18px, 4.5vw, 28px); box-shadow: var(--sh-sm); }
.cd-story h2 { margin-bottom: 12px; }
.cd-story-body { color: var(--ink); font-size: clamp(15px, 2.7vw, 16.5px); line-height: 1.75; overflow: hidden; transition: max-height .6s cubic-bezier(.22,.61,.36,1); }
.cd-story-body p { margin-bottom: 1em; }
.cd-story-body p:last-child { margin-bottom: 0; }
.cd-story-body.collapsed { max-height: 230px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent); mask-image: linear-gradient(180deg, #000 62%, transparent); }
.cd-readmore { margin-top: 12px; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--fresh-green); }
.cd-readmore:hover { color: var(--teal-deep); }

/* organizer */
.cd-organizer { background: linear-gradient(155deg, rgba(35,78,82,.86) 0%, rgba(29,68,72,.86) 100%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-xl); padding: clamp(18px, 4vw, 24px); color: var(--cream-base); box-shadow: 0 20px 44px -26px rgba(35,78,82,.5); }
.cd-org-head { display: flex; align-items: center; gap: 14px; }
.cd-org-av { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; background: var(--sage-light); box-shadow: 0 0 0 2px rgba(255,255,255,.22); }
.cd-org-info { flex: 1; min-width: 0; }
.cd-org-lbl { font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(250,248,241,.62); }
.cd-org-name { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: #fff; display: flex; align-items: center; gap: 6px; }
.cd-org-vf { color: var(--sage-light); display: inline-flex; }
.cd-org-vf svg { width: 16px; height: 16px; }
.cd-org-rel { color: rgba(250,248,241,.8); font-size: 13.5px; margin-top: 2px; }
.cd-org-contact { flex: none; padding: 10px 20px; border-radius: var(--r-pill); background: var(--warm-sun); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px; transition: background .2s; }
.cd-org-contact:hover { background: var(--coral-deep); }
.cd-org-trust { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(250,248,241,.82); font-size: 13px; line-height: 1.45; }
.cd-org-trust svg { width: 17px; height: 17px; color: var(--sage-light); flex: none; }

/* organizer + beneficiary card — compact & premium: tight header, small chips, slim trust row */
.cd-trust { background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 26px); box-shadow: 0 16px 36px -30px rgba(35,78,82,.3), var(--sh-xs); }
.cd-trust-lbl { display: block; text-transform: uppercase; letter-spacing: .13em; font-family: var(--font-head); font-weight: 700; font-size: 10.5px; color: var(--muted-green-gray); margin-bottom: 16px; }
/* header — vertical profile: big avatar, name + relation below */
.cd-trust-org { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cd-trust-head { display: flex; flex-direction: column; align-items: center; gap: 11px; }
.cd-trust-av { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; background: var(--sage-mist); box-shadow: 0 0 0 3px var(--cream-base), 0 0 0 5px var(--line-soft); }
.cd-trust-id { min-width: 0; }
.cd-trust-name { display: flex; align-items: center; justify-content: center; gap: 7px; font-family: var(--font-head); font-weight: 800; font-size: clamp(18px, 2vw, 21px); line-height: 1.14; letter-spacing: -.01em; color: var(--ink); }
.cd-trust-vf { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--fresh-green); color: #fff; flex: none; box-shadow: 0 2px 5px -1px rgba(79,175,143,.5); }
.cd-trust-vf svg { width: 11px; height: 11px; }
.cd-trust-rel { font-family: var(--font-head); font-weight: 500; font-size: 12.5px; color: var(--muted-green-gray); margin-top: 4px; }
/* grouped metadata chips — smaller */
.cd-trust-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.cd-trust-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: var(--r-pill); background: var(--soft-sand); font-family: var(--font-head); font-weight: 600; font-size: 11.5px; color: var(--deep-meadow); }
.cd-trust-chip svg { width: 13px; height: 13px; color: var(--muted-green-gray); flex: none; }
/* trust / protection — slim row, not a big band */
.cd-trust-protect { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 11px; border-radius: var(--r-md); background: var(--sage-wash); border: 1px solid rgba(79,175,143,.18); }
.cd-trust-protect-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--fresh-green); flex: none; box-shadow: var(--sh-xs); }
.cd-trust-protect-ic svg { width: 15px; height: 15px; }
.cd-trust-protect-tx b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 12.5px; color: var(--deep-meadow); line-height: 1.2; }
.cd-trust-protect-tx span { display: none; font-size: 11.5px; color: var(--muted-green-gray); margin-top: 2px; line-height: 1.4; }   /* subtitle: hidden by default, shown inside the mobile pill */
/* right — donation protected badge + one short trust line */
.cd-trust-info { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.cd-trust-info .cd-trust-protect { margin-top: 0; margin-bottom: 10px; }
.cd-trust-line { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: 12.5px; line-height: 1.5; color: var(--muted-green-gray); }
/* foot — discreet report + fine print */
.cd-trust-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.cd-trust-report { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; font-size: 12.5px; color: var(--muted-green-gray); transition: color .2s; }
.cd-trust-report:hover { color: var(--amber-deep); }
.cd-trust-report svg { width: 15px; height: 15px; flex: none; }
.cd-trust-note { margin: 7px 0 0; color: var(--muted-green-gray); font-size: 11px; line-height: 1.55; opacity: .8; }
/* organizer card — single-column reference model on ALL viewports:
   horizontal head (avatar left · name/relation right) → wide trust pill → report inside */
.cd-trust { padding: clamp(20px, 3.4vw, 30px); }
.cd-trust-lbl { margin-bottom: 15px; font-size: 10px; }
.cd-trust-org { align-items: stretch; text-align: left; }
.cd-trust-head { flex-direction: row; align-items: center; gap: 15px; }
.cd-trust-av { width: 62px; height: 62px; box-shadow: 0 0 0 3px var(--cream-base), 0 0 0 4px var(--sage-wash); }
.cd-trust-name { justify-content: flex-start; font-size: clamp(18px, 1.8vw, 20px); gap: 7px; }
.cd-trust-vf { width: 17px; height: 17px; }
.cd-trust-rel { text-align: left; font-size: 13px; margin-top: 3px; }
.cd-trust-line { display: none; }
.cd-trust-info { margin-top: 16px; padding-top: 16px; }
.cd-trust-info .cd-trust-protect {
  display: inline-flex; align-items: center; gap: 12px; width: auto; max-width: 100%; margin: 0; padding: 12px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--sage-wash), #FEF3F3);
  border: 1px solid rgba(248,180,180,.26);
  box-shadow: 0 8px 20px -14px rgba(248,180,180,.5);
}
.cd-trust-protect-ic { width: 30px; height: 30px; box-shadow: 0 2px 6px -2px rgba(248,180,180,.5); }
.cd-trust-protect-ic svg { width: 15px; height: 15px; }
.cd-trust-protect-tx b { font-size: 13.5px; letter-spacing: -.01em; }
.cd-trust-protect-tx span { display: block; }
.cd-trust-foot { margin-top: 16px; padding-top: 14px; text-align: center; }
.cd-trust-report { font-size: 12.5px; }
.cd-trust-note { display: none; }

/* ===== Share lab — interactive channel picker with animated previews ===== */
.share-lab { background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-xl); padding: clamp(24px, 5.5vw, 40px) clamp(18px, 5vw, 34px); box-shadow: var(--sh-sm); }
.share-lab-head { text-align: center; margin-bottom: clamp(20px, 3vw, 26px); }
.share-lab-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(21px, 5vw, 28px); color: var(--deep-meadow); margin-bottom: 8px; }
.share-lab-head p { color: var(--text-2); font-size: 14.5px; line-height: 1.5; max-width: 42ch; margin: 0 auto; }
.share-lab-body { display: flex; flex-direction: column; gap: clamp(18px, 3vw, 24px); }
/* channel chips */
.share-lab-rail { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.share-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-pill); background: var(--soft-sand); border: 1.5px solid transparent; color: var(--muted-green-gray); font-family: var(--font-head); font-weight: 600; font-size: 13px; cursor: pointer; transition: transform .28s var(--ease), background .25s, color .25s, box-shadow .3s, border-color .25s; }
.share-chip i { font-style: normal; }
.share-chip-ic { display: grid; place-items: center; width: 20px; height: 20px; flex: none; }
.share-chip-ic svg { width: 18px; height: 18px; }
.share-chip:hover { background: var(--sage-wash); color: var(--deep-meadow); }
.share-chip.is-active { background: var(--warm-sun); color: #fff; border-color: var(--warm-sun); transform: scale(1.06); box-shadow: 0 10px 22px -12px rgba(220,20,60,.42), 0 0 0 4px rgba(220,20,60,.14); }
/* preview view = framed stage (auto-sized to the active scene) + per-channel CTA */
.share-lab-view { display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 2.4vw, 18px); }
.share-lab-stage { position: relative; width: 100%; max-width: 440px; height: clamp(306px, 84vw, 322px); border-radius: var(--r-lg); background: linear-gradient(160deg, var(--sage-wash), var(--soft-sand)); border: 1px solid var(--line-soft); overflow: hidden; }
.share-scene { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: clamp(13px, 3.4vw, 16px); opacity: 0; visibility: hidden; transform: translateX(16px) scale(.99); transition: opacity .42s var(--ease), transform .46s var(--ease), visibility .46s; }
.share-scene.on { opacity: 1; visibility: visible; transform: none; }
.share-scene img { display: block; }
/* extra realism shown only on desktop (fills the taller stage without bloating mobile) */
.sc-fb-blurb, .sc-fb-actions, .sc-x-actions { display: none; }
/* per-channel CTA — brand-tinted so the action clearly matches the selected channel */
.share-lab-cta { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; max-width: 340px; padding: 13px 22px; border: none; border-radius: var(--r-pill); cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: #fff; background: var(--warm-sun); box-shadow: var(--sh-sm); transition: background .3s var(--ease), transform .18s var(--ease), box-shadow .3s; }
.share-lab-cta:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.share-lab-cta:active { transform: translateY(0); }
.share-lab-cta-ic { display: grid; place-items: center; width: 20px; height: 20px; flex: none; }
.share-lab-cta-ic svg { width: 18px; height: 18px; }
.share-lab-cta.net-copy { background: var(--warm-sun); }
.share-lab-cta.net-fb   { background: #1877F2; }
.share-lab-cta.net-ig   { background: linear-gradient(95deg, #F9CE34, #EE2A7B 42%, #6228D7); }
.share-lab-cta.net-wa   { background: #25D366; }
.share-lab-cta.net-x    { background: #111; }

/* — copy link — link preview card + url bar + hint + success toast (toast pinned bottom, content reserves room) */
.sc-copy { padding-bottom: 42px; }
.sc-copywrap { display: flex; flex-direction: column; align-items: center; gap: 18px; width: min(344px, 100%); }
.sc-link-card { display: flex; align-items: center; gap: 13px; width: 100%; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 14px; box-shadow: var(--sh-xs); }
.sc-link-thumb { width: 72px; height: 72px; border-radius: 11px; overflow: hidden; flex: none; background: var(--soft-sand); }
.sc-link-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sc-link-meta { min-width: 0; text-align: left; }
.sc-link-meta small { font-size: 9.5px; letter-spacing: .05em; color: var(--muted-green-gray); }
.sc-link-meta b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--font-head); font-weight: 700; font-size: 12.5px; color: var(--ink); line-height: 1.22; margin-top: 2px; }
.sc-copybar { display: flex; align-items: center; gap: 10px; width: 100%; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-pill); padding: 9px 9px 9px 16px; box-shadow: var(--sh-xs); }
.sc-copy-glob { display: grid; place-items: center; color: var(--muted-green-gray); flex: none; }
.sc-copy-glob svg { width: 18px; height: 18px; }
.sc-copy-url { flex: 1; min-width: 0; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-copybtn { flex: none; border: none; cursor: pointer; background: var(--warm-sun); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 12px; padding: 8px 15px; border-radius: var(--r-pill); }
.sc-copy-hint { margin: -2px 0 0; font-family: var(--font-head); font-weight: 500; font-size: 11.5px; color: var(--muted-green-gray); }
.sc-copy-done { position: absolute; bottom: 12px; left: 0; right: 0; margin: 0 auto; width: max-content; max-width: 88%; display: inline-flex; align-items: center; gap: 7px; background: #fff; color: var(--deep-meadow); font-family: var(--font-head); font-weight: 700; font-size: 12.5px; padding: 8px 15px; border-radius: var(--r-pill); box-shadow: var(--sh-sm); opacity: 0; }
.sc-copy-check { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--fresh-green); color: #fff; flex: none; }
.sc-copy-check svg { width: 11px; height: 11px; }
.sc-copy.on .sc-copywrap { animation: sc-fade-up .5s var(--ease) both; }
.sc-copy.on .sc-copybtn { animation: sc-press 3.6s ease infinite; }
.sc-copy.on .sc-copy-done { animation: sc-pop 3.6s ease infinite; }

/* — facebook — */
.sc-fbcard { width: min(340px, 100%); background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: 14px; text-align: left; }
.sc-fb-head { display: flex; align-items: center; gap: 10px; }
.sc-fb-ava { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--sage-mist), var(--fresh-green)); flex: none; }
.sc-fb-who { flex: 1; min-width: 0; }
.sc-fb-who b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--ink); }
.sc-fb-who small { font-size: 10.5px; color: var(--text-2); }
.sc-fb-brand { color: #1877F2; flex: none; display: grid; place-items: center; }
.sc-fb-brand svg { width: 22px; height: 22px; }
.sc-fb-say { font-size: 12.5px; color: var(--ink); margin: 10px 0; }
.sc-fb-link { border: 1px solid var(--line-soft); border-radius: var(--r-md); overflow: hidden; }
.sc-fb-thumb { aspect-ratio: 16 / 5; overflow: hidden; background: var(--soft-sand); }
.sc-fb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sc-fb-info { padding: 8px 11px; background: var(--cream-base); }
.sc-fb-info small { font-size: 9.5px; letter-spacing: .04em; color: var(--muted-green-gray); }
.sc-fb-info b { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--font-head); font-weight: 700; font-size: 12.5px; color: var(--ink); line-height: 1.25; margin-top: 2px; }
.sc-fb.on .sc-fbcard { animation: sc-fade-up .5s var(--ease) both; }

/* — instagram story — */
.sc-igstory { position: relative; height: clamp(238px, 64vw, 264px); aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; box-shadow: var(--sh-md); background: #000; }
.sc-ig-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-ig-grad { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.45), transparent 30%, transparent 58%, rgba(0,0,0,.55)); }
.sc-ig-top { position: absolute; top: 11px; left: 11px; right: 11px; display: flex; align-items: center; gap: 7px; }
.sc-ig-ring { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(from 20deg, #F9CE34, #EE2A7B, #6228D7, #F9CE34); flex: none; }
.sc-ig-ava { width: 24px; height: 24px; border-radius: 50%; background: var(--sage-mist); border: 2px solid #000; }
.sc-ig-user { font-family: var(--font-head); font-weight: 600; font-size: 11px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.sc-ig-cap { position: absolute; left: 16px; right: 16px; bottom: 72px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.2; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.6); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-ig-sticker { position: absolute; left: 50%; bottom: 38px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 4px; max-width: 96%; background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 8px; letter-spacing: -.015em; padding: 6px 8px; border-radius: var(--r-pill); box-shadow: 0 6px 16px rgba(0,0,0,.3); white-space: nowrap; overflow: hidden; }
.sc-ig-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #EE2A7B, #6228D7); flex: none; }
.sc-ig-tap { position: absolute; left: 50%; bottom: 45px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; transform: translateX(-50%); opacity: 0; }
.sc-ig.on .sc-igstory { animation: sc-fade-up .5s var(--ease) both; }
.sc-ig.on .sc-ig-img { animation: sc-zoom 7s ease both; }
.sc-ig.on .sc-ig-sticker { animation: sc-sticker 3.6s ease infinite; }
.sc-ig.on .sc-ig-tap { animation: sc-ripple 3.6s ease infinite; }

/* — whatsapp — chat header + outgoing campaign bubble */
.sc-wachat { width: min(340px, 100%); border-radius: var(--r-lg); overflow: hidden; background: #EAE3D9; box-shadow: var(--sh-sm); }
.sc-wa-bar { display: flex; align-items: center; gap: 9px; background: var(--deep-meadow); padding: 9px 12px; }
.sc-wa-ava { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--sage-light), var(--fresh-green)); flex: none; }
.sc-wa-id { flex: 1; min-width: 0; }
.sc-wa-id b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 12.5px; color: #fff; }
.sc-wa-id small { font-size: 10px; color: rgba(255,255,255,.78); }
.sc-wa-wa { display: grid; place-items: center; color: #fff; opacity: .9; flex: none; }
.sc-wa-wa svg { width: 18px; height: 18px; }
.sc-wa-body { display: flex; justify-content: flex-end; padding: 22px 13px; }
.sc-wa-bubble { position: relative; max-width: 86%; background: #DCF8C6; border-radius: 12px 12px 4px 12px; padding: 7px 9px 6px; box-shadow: 0 1px 2px rgba(0,0,0,.12); text-align: left; }
.sc-wa-card { display: flex; gap: 8px; background: rgba(255,255,255,.55); border-radius: 8px; padding: 6px; margin-bottom: 5px; }
.sc-wa-thumb { width: 42px; height: 42px; border-radius: 6px; overflow: hidden; flex: none; background: var(--soft-sand); }
.sc-wa-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sc-wa-ctx { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.sc-wa-ctx b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--font-head); font-weight: 700; font-size: 11px; color: var(--ink); line-height: 1.2; }
.sc-wa-ctx small { font-size: 9.5px; color: #4a8a3f; margin-top: 2px; }
.sc-wa-msg { display: block; font-size: 12.5px; color: #111; }
.sc-wa-meta { display: flex; align-items: center; justify-content: flex-end; gap: 3px; font-size: 9.5px; color: #667781; margin-top: 2px; }
.sc-wa-tick { width: 16px; height: 10px; color: #9AA6AD; }
.sc-wa.on .sc-wa-bubble { animation: sc-bubble-in .5s var(--ease) both; }
.sc-wa.on .sc-wa-tick { animation: sc-tick 3.6s ease infinite; }

/* — x / twitter — */
.sc-xcard { width: min(340px, 100%); display: flex; gap: 10px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: 14px; text-align: left; }
.sc-x-ava { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--sage-mist), var(--fresh-green)); flex: none; }
.sc-x-body { flex: 1; min-width: 0; }
.sc-x-head { display: flex; align-items: baseline; gap: 5px; margin-bottom: 3px; }
.sc-x-head b { font-family: var(--font-head); font-weight: 800; font-size: 12.5px; color: var(--ink); }
.sc-x-head small { font-size: 11px; color: var(--text-2); }
.sc-x-text { font-size: 12.5px; color: var(--ink); line-height: 1.4; }
.sc-x-link { color: #1D9BF0; }
.sc-x-media { margin-top: 9px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 9; background: var(--soft-sand); border: 1px solid var(--line-soft); }
.sc-x-media img { width: 100%; height: 100%; object-fit: cover; }
.sc-x.on .sc-xcard { animation: sc-fade-up .5s var(--ease) both; }

/* share-lab keyframes */
@keyframes sc-fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sc-btn-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes sc-press { 0%, 18% { transform: scale(1); } 24% { transform: scale(.9); } 30%, 100% { transform: scale(1); } }
@keyframes sc-pop { 0%, 26% { opacity: 0; transform: translateY(6px) scale(.96); } 34%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-2px); } }
@keyframes sc-bubble-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes sc-tick { 0%, 30% { color: #9AA6AD; } 45%, 100% { color: #34B7F1; } }
@keyframes sc-zoom { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes sc-sticker { 0%, 14% { opacity: 0; transform: translateX(-50%) translateY(8px) scale(.9); } 27% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1.05); } 34%, 100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }
@keyframes sc-ripple { 0%, 20% { opacity: 0; transform: translateX(-50%) scale(.4); } 30% { opacity: .9; } 55% { opacity: 0; transform: translateX(-50%) scale(2.6); } 100% { opacity: 0; } }

@media (min-width: 861px) {
  .share-lab { padding: clamp(30px, 3vw, 44px) clamp(28px, 3vw, 40px); }
  .share-lab-body { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: clamp(22px, 2.6vw, 38px); align-items: center; }
  /* left rail — refined vertical tabs (icon tile + label) */
  .share-lab-rail { flex-direction: column; flex-wrap: nowrap; justify-content: center; align-items: stretch; gap: 8px; }
  .share-chip { justify-content: flex-start; gap: 11px; font-size: 14px; padding: 11px 14px; border-radius: 14px; }
  .share-chip-ic { width: 28px; height: 28px; border-radius: 9px; background: rgba(35,78,82,.06); }
  .share-chip:hover { background: var(--sage-wash); }
  .share-chip:hover .share-chip-ic { background: rgba(35,78,82,.1); }
  .share-chip.is-active { transform: none; box-shadow: 0 10px 22px -12px rgba(220,20,60,.39), 0 0 0 3px rgba(220,20,60,.12); }
  .share-chip.is-active .share-chip-ic { background: rgba(255,255,255,.18); color: #fff; }
  /* preview stage — fills the column, previews scaled up to fill it */
  .share-lab-view { width: 100%; gap: clamp(16px, 1.8vw, 20px); }
  .share-lab-stage { max-width: 100%; height: 344px; }
  .share-scene { padding: 24px 30px; }
  .share-lab-cta { max-width: 100%; }
  .sc-copywrap { width: min(440px, 100%); gap: 20px; }
  .sc-link-thumb { width: 92px; height: 92px; }
  .sc-copybar { padding: 12px 12px 12px 18px; }
  .sc-copy { padding-bottom: 50px; }
  .sc-fbcard { width: min(400px, 100%); }
  .sc-fb-say { display: none; }
  .sc-fb-thumb { aspect-ratio: 16 / 5; }
  .sc-wachat { width: min(400px, 100%); }
  .sc-wa-body { padding: 36px 15px; }
  .sc-xcard { width: min(420px, 100%); }
  .sc-x-media { aspect-ratio: 16 / 8; }
  .sc-x-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .sc-igstory { height: 282px; }
  /* facebook — blurb + engagement bar (desktop only) */
  .sc-fb-blurb { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11px; color: var(--text-2); line-height: 1.4; margin-top: 3px; }
  .sc-fb-actions { display: flex; justify-content: space-around; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
  .sc-fb-actions span { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-head); font-weight: 600; font-size: 11.5px; color: var(--muted-green-gray); }
  .sc-fb-actions svg { width: 15px; height: 15px; }
  /* x — engagement row (desktop only) */
  .sc-x-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; max-width: 268px; }
  .sc-x-actions span { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-head); font-weight: 500; font-size: 11.5px; color: var(--muted-green-gray); }
  .sc-x-actions svg { width: 15px; height: 15px; }
}
/* mobile — icon-only channel chips, side by side in a single row */
@media (max-width: 860px) {
  .share-lab-rail { flex-wrap: nowrap; gap: 10px; }
  .share-chip { gap: 0; padding: 0; width: 48px; height: 48px; justify-content: center; border-radius: 50%; }
  .share-chip i { display: none; }
  .share-chip-ic { width: 22px; height: 22px; }
  .share-chip-ic svg { width: 21px; height: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .share-chip, .share-scene { transition: opacity .2s; }
  .share-scene { transform: none; }
  .share-lab-stage { transition: none; }
  .share-lab-cta { transition: none; }
  .share-scene *, .share-scene.on * { animation: none !important; }
  .sc-ig-sticker { opacity: 1 !important; }
  .sc-copy-done { opacity: 0 !important; }
}

/* updates empty state */
.cd-empty { display: flex; align-items: center; gap: 10px; background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 18px 20px; color: var(--muted-green-gray); font-size: 14px; }
.cd-empty svg { width: 20px; height: 20px; color: var(--sage-mist); flex: none; }

/* top supporters */
.cd-supporters { background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-xl); padding: 4px 18px; }
.cd-sup-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); transition: opacity .26s var(--ease); }
.cd-sup-row:last-child { border-bottom: none; }
.cd-sup-av { position: relative; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--sage-light); color: var(--deep-meadow); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 13px; flex: none; }
.cd-sup-av::before { content: attr(data-initials); }
.cd-sup-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cd-sup-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.cd-sup-name { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-sup-time { font-family: var(--font-head); font-weight: 500; font-size: 12px; color: var(--text-2); }
.cd-sup-amt { flex: none; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--ink); }
.cd-sup-amt i { display: inline-flex; color: var(--fresh-green); }
.cd-sup-amt i svg { width: 15px; height: 15px; }
.cd-sup-seeall { display: block; width: calc(100% + 36px); margin: 0 -18px; padding: 14px 0 13px; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--fresh-green); cursor: pointer; border-top: 1px solid var(--line-soft); background: none; border-left: none; border-right: none; border-bottom: none; }
.cd-sup-seeall:hover { color: var(--teal-deep); }
.cd-sup-total { display: block; width: 100%; margin-top: 8px; padding: 11px 0; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--muted-green-gray); background: var(--sage-wash); border: none; border-radius: var(--r-pill); cursor: default; }

/* words of support — floating speech bubbles ("nuvenzinhas") */
.cd-words { display: flex; flex-direction: column; gap: 22px; padding: 8px 4px 10px; }
.cd-word { position: relative; max-width: 86%; background: #fff; border: 1px solid rgba(35,78,82,.08); border-radius: 20px; padding: 15px 18px;
  -webkit-backdrop-filter: blur(8px) saturate(1.1); backdrop-filter: blur(8px) saturate(1.1);
  box-shadow: 0 14px 30px -18px rgba(35,78,82,.5), 0 2px 6px -3px rgba(35,78,82,.12);
  animation: cd-float 6.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.25s); will-change: transform; transition: opacity .3s var(--ease); }
.cd-word::after { content: ""; position: absolute; bottom: -7px; width: 16px; height: 16px; background: inherit;
  border-right: 1px solid rgba(35,78,82,.08); border-bottom: 1px solid rgba(35,78,82,.08); transform: rotate(45deg); border-bottom-right-radius: 5px; }
.cd-word:nth-child(odd) { align-self: flex-start; }
.cd-word:nth-child(odd)::after { left: 26px; }
.cd-word:nth-child(even) { align-self: flex-end; }
.cd-word:nth-child(even)::after { right: 26px; }
/* soft brand-tone background per bubble (cycles every 5): sage → peach → mint → cream → teal */
.cd-word:nth-child(5n+1) { background: rgba(245,181,186,.22); }
.cd-word:nth-child(5n+2) { background: rgba(220,20,60,.13); }
.cd-word:nth-child(5n+3) { background: rgba(248,180,180,.14); }
.cd-word:nth-child(5n+4) { background: rgba(250,248,241,.95); }
.cd-word:nth-child(5n+5) { background: rgba(35,78,82,.08); }
.cd-word-msg { color: var(--ink); font-size: 14.5px; line-height: 1.55; font-style: italic; margin: 0 0 11px; }
.cd-word-by { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--muted-green-gray); margin: 0; }
.cd-word-by svg { width: 15px; height: 15px; color: var(--coral-deep); flex: none; }
.cd-word-av { position: relative; width: 26px; height: 26px; border-radius: 50%; overflow: hidden; background: var(--sage-light); color: var(--deep-meadow); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 10px; flex: none; }
.cd-word-av::before { content: attr(data-initials); }
.cd-word-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@keyframes cd-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .cd-word { animation: none; } }
/* mobile: cap the inline list at 5 bubbles (full list still available via "View all") */
@media (max-width: 860px) { .cd-words .cd-word:nth-child(n+6) { display: none; } }
/* "View all" modal: bubbles stacked full-width, no float */
.cd-words-modal { display: flex; flex-direction: column; gap: 18px; }
.cd-words-modal .cd-word { width: 100%; max-width: none; align-self: stretch; animation: none; }
.cd-words-modal .cd-word::after { left: 26px; right: auto; }

/* donation card */
/* mobile: donation info reads as part of the hero (flush on the sheet that overlaps the image), not a separate card */
.cd-fund { background: transparent; border: none; border-radius: 0; padding: 0; box-shadow: none; }
.cd-fund-recent { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 7px 14px; border-radius: var(--r-pill); background: var(--sage-wash); color: var(--muted-green-gray); font-size: 13px; }
.cd-fund-recent svg { width: 15px; height: 15px; color: var(--coral-deep); flex: none; }
.cd-fund-recent b { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.cd-recent-name { display: inline-block; transition: opacity .24s var(--ease), transform .24s var(--ease); }
.cd-fund-recent.swap .cd-recent-name { opacity: 0; transform: translateY(-4px); }
.cd-fund-recent + .cd-donate { margin-top: 12px; }
.cd-fund-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cd-fund-raised { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 9vw, 46px); line-height: 1; letter-spacing: -.01em; color: var(--ink); }
.cd-fund-pct { flex: none; font-family: var(--font-head); font-weight: 800; font-size: clamp(19px, 5vw, 22px); color: var(--fresh-green); }
.cd-fund-goal { color: var(--muted-green-gray); font-size: 14px; margin-top: 5px; }
.cd-fund-goal b { color: var(--ink); font-weight: 600; }
.cd-fund-bar { margin: 16px 0 12px; }
.cd-donate { width: 100%; background: var(--warm-sun); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 16px; padding: 16px; border-radius: var(--r-pill); }
.cd-donate:hover { background: var(--coral-deep); }
.cd-share { width: 100%; margin-top: 10px; background: #fff; color: var(--soft-red); border: 1.5px solid var(--soft-red); font-family: var(--font-head); font-weight: 700; font-size: 15px; padding: 13px; border-radius: var(--r-pill); box-shadow: none; }
.cd-share:hover { background: var(--blush-wash); color: var(--soft-red); box-shadow: none; }
.cd-fund-trust { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); color: var(--muted-green-gray); font-size: 12.5px; line-height: 1.4; }
.cd-fund-trust svg { width: 17px; height: 17px; color: var(--fresh-green); flex: none; }

/* recommended — "You may also like" showcase */
.cd-more { position: relative; overflow: hidden; isolation: isolate; background: var(--cream-base); padding: clamp(30px, 6vw, 56px) 0 clamp(16px, 4vw, 36px); }
/* tighten the gap between "You may also like" and the footer on the campaign page */
body[data-page="campaign"] .cd-more { padding-bottom: clamp(8px, 1.6vw, 16px); }
body[data-page="campaign"] .site-footer { padding-top: clamp(26px, 4vw, 44px); }
/* background grass video + light cream mask (brightens the footage so the section reads airy) */
.cd-more-video { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; filter: blur(2px) brightness(1.12) saturate(.9); }
.cd-more::before { display: none; content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(250,248,241,1) 0%, rgba(250,248,241,.97) 5%, rgba(250,248,241,.68) 22%, rgba(250,248,241,.56) 50%, rgba(250,248,241,.72) 100%); }
.cd-more > .wrap { position: relative; z-index: 2; }
.cd-more-head { margin-bottom: 18px; }
.cd-more-head h2 { margin-bottom: 6px; }
.cd-more-head p { color: var(--muted-green-gray); font-size: clamp(14px, 2.4vw, 15.5px); line-height: 1.5; }

/* base (mobile): horizontal scroll carousel of image cards (no scrollbar) */
.cd-show { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 2px 2px 6px; scrollbar-width: none; }
.cd-show::-webkit-scrollbar { display: none; }
.cd-show-card { position: relative; flex: 0 0 76%; max-width: 320px; aspect-ratio: 3 / 4; border-radius: var(--r-xl); overflow: hidden; scroll-snap-align: start; box-shadow: var(--sh-md); background: var(--cream-2); text-decoration: none; }
.cd-show-img { position: absolute; inset: 0; }
.cd-show-img img { width: 100%; height: 100%; object-fit: cover; }
.cd-show-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,31,35,.88) 4%, rgba(15,31,35,.26) 48%, transparent 76%); }
.cd-show-cat { position: absolute; top: 13px; left: 13px; z-index: 2; font-family: var(--font-head); font-weight: 700; font-size: 11px; color: var(--deep-meadow); background: rgba(255,255,255,.92); padding: 5px 11px; border-radius: var(--r-pill); box-shadow: var(--sh-xs); }
.cd-show-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px; display: flex; flex-direction: column; gap: 9px; }
.cd-show-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.18; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.cd-show-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cd-show-nums { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--font-head); font-size: 12.5px; color: rgba(255,255,255,.85); }
.cd-show-nums b { font-weight: 800; font-size: 18px; color: #fff; }
/* circular progress ring with the % centered */
.cd-show-ring { position: relative; flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--fresh-green) calc(var(--p, 0) * 1%), rgba(255,255,255,.32) 0); }
.cd-show-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--cream-base); }
.cd-show-ring-pct { position: relative; z-index: 1; font-family: var(--font-head); font-weight: 800; font-size: 13.5px; color: var(--deep-meadow); }
.cd-show-cta { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: #fff; }
.cd-show-cta svg { width: 15px; height: 15px; }
/* dot pagination (mobile only) */
.cd-show-dots { display: none; justify-content: center; gap: 7px; margin-top: 15px; }
.cd-show-dot { width: 7px; height: 7px; padding: 0; border: none; border-radius: 50%; background: var(--sand-line); cursor: pointer; transition: width .3s var(--ease), background .3s var(--ease); }
.cd-show-dot.on { width: 22px; border-radius: var(--r-pill); background: var(--coral-pink); }

/* desktop: interactive expanding showcase — one card highlighted at a time */
@media (min-width: 861px) {
  /* desktop only: drop the background video, keep the plain site (cream) background */
  .cd-more { background: var(--cream-base); }
  .cd-more-video, .cd-more::before { display: none; }
  .cd-more .wrap { max-width: 1240px; }
  .cd-show { overflow: visible; gap: 16px; height: clamp(360px, 33vw, 440px); padding: 2px; }
  .cd-show-card { flex: 1 1 0; max-width: none; min-width: 0; aspect-ratio: auto; cursor: pointer; box-shadow: var(--sh-sm); transition: flex-grow .55s var(--ease), box-shadow .45s var(--ease); }
  .cd-show-card .cd-show-img img { filter: brightness(.84) saturate(.95); transition: transform .6s var(--ease), filter .5s var(--ease); }
  .cd-show-scrim { transition: opacity .45s var(--ease); }
  .cd-show-cat { transition: opacity .4s var(--ease); }
  .cd-show-card:not(.is-active) .cd-show-cat { opacity: 0; }
  .cd-show-title { font-size: clamp(16.5px, 1.5vw, 20px); transition: font-size .4s var(--ease); }
  /* inactive: title + circular progress ring (still wide & legible) */
  .cd-show-nums, .cd-show-cta { max-height: 0; margin: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s var(--ease); }
  .cd-show-ring { transition: width .4s var(--ease), height .4s var(--ease); }
  .cd-show-card:not(.is-active) .cd-show-ring { width: 50px; height: 50px; }

  /* active — a touch larger, more vivid, lighter overlay */
  .cd-show-card.is-active { flex-grow: 1.55; box-shadow: 0 28px 64px -30px rgba(23,33,38,.42); }
  .cd-show-card.is-active .cd-show-img img { filter: brightness(1.05) saturate(1.12); transform: scale(1.035); }
  .cd-show-card.is-active .cd-show-scrim { opacity: .88; }
  .cd-show-card.is-active .cd-show-cat { opacity: 1; }
  .cd-show-card.is-active .cd-show-title { font-size: clamp(21px, 1.8vw, 26px); }
  .cd-show-card.is-active .cd-show-nums { max-height: 48px; opacity: 1; }
  .cd-show-card.is-active .cd-show-cta { max-height: 30px; opacity: 1; }
  .cd-show-card.is-active .cd-show-info { gap: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .cd-show-card, .cd-show-card .cd-show-img img, .cd-show-scrim, .cd-show-title, .cd-show-nums, .cd-show-cta, .cd-show-cat, .cd-show-ring { transition: none !important; }
}

/* ---- MOBILE: refined swipe carousel (big card + intentional peek + dots) ---- */
@media (max-width: 860px) {
  /* sheet now has an opaque cream + video bg, so it must not ride up over the fund/share card above (legacy negative margin) */
  .cd-sheet { margin-top: 0; }
  /* seamless How-it-works(video) -> A-story-of-hope seam: solid cream-base top overlaps the video section by 2px (covers any sub-pixel/video clip edge), then eases into the page bg */
  .soh-section { position: relative; z-index: 1; margin-top: -2px; background: linear-gradient(180deg, var(--cream-base) 0, var(--cream-base) 50px, rgba(250,248,241,0) 190px); }
  .cd-more { padding-top: clamp(28px, 6vw, 48px); padding-bottom: clamp(28px, 7vw, 48px); }
  .cd-more-head { margin-bottom: 16px; }
  .cd-more-head p { max-width: 38ch; }

  .cd-show { gap: 14px; padding: 4px 0 6px; scroll-snap-type: x mandatory; }
  .cd-show-card {
    flex: 0 0 86%; max-width: 360px; aspect-ratio: 3 / 4;
    scroll-snap-align: start; border-radius: var(--r-xl);
    box-shadow: 0 20px 40px -22px rgba(23,33,38,.42);
  }

  /* clearer, smoother darkening at the base so text always reads */
  .cd-show-scrim { background: linear-gradient(to top, rgba(12,24,27,.92) 2%, rgba(12,24,27,.5) 36%, rgba(12,24,27,.08) 62%, transparent 80%); }

  /* more breathing room + clear hierarchy */
  .cd-show-cat { top: 15px; left: 15px; font-size: 11.5px; padding: 6px 12px; }
  .cd-show-info { padding: 18px; gap: 13px; }
  .cd-show-title { font-size: 19px; line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cd-show-row { gap: 14px; align-items: flex-end; }
  .cd-show-nums b { font-size: 21px; }
  .cd-show-nums span { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 2px; }
  /* lighter % badge */
  .cd-show-ring { width: 50px; height: 50px; }
  .cd-show-ring::before { inset: 4.5px; background: rgba(255,255,255,.96); }
  .cd-show-ring-pct { font-size: 13px; }
  /* CTA as a clean pill button */
  .cd-show-cta { align-self: flex-start; margin-top: 3px; padding: 9px 17px; border-radius: var(--r-pill); background: var(--cream-base); color: var(--deep-meadow); font-size: 13px; box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); }
  .cd-show-cta svg { color: var(--deep-meadow); }

  .cd-show-dots { display: flex; }
}

@media (min-width: 861px) {
  /* === contained editorial 2-column hero (image card + info/donation panel) === */
  .cd-hero {
    width: auto; max-width: 1160px; margin-inline: auto; min-height: 0;
    padding: calc(var(--header-h) + clamp(16px, 2.4vw, 30px)) var(--gutter) 0;
    background: transparent; overflow: visible;
    display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(26px, 3vw, 46px);
    align-items: stretch;
  }
  .cd-hero-media {
    position: relative; border-radius: var(--r-xl); overflow: hidden;
    box-shadow: var(--sh-lg); min-height: clamp(380px, 40vw, 470px);
  }
  .cd-hero-stage { height: 100%; }
  .cd-hero-img { object-position: center 32%; }
  .cd-hero-titlebar { display: none; }
  .cd-verified { top: 14px; left: 14px; }
  .cd-hero-dots { top: auto; bottom: 14px; right: auto; left: 50%; transform: translateX(-50%); }

  .cd-hero-panel {
    position: static; max-width: none; margin: 0; padding: 0;
    background: transparent; box-shadow: none; border-radius: 0;
    display: flex; flex-direction: column; justify-content: center; gap: clamp(16px, 2vw, 22px);
  }
  .cd-hero-head { display: block; }
  .cd-hero-head .cd-cat { margin-bottom: 12px; }
  .cd-hero-h1d { font-family: var(--font-display); font-weight: 600; font-size: clamp(27px, 2.7vw, 39px); line-height: 1.1; letter-spacing: -.015em; color: var(--deep-meadow); margin-bottom: 12px; }
  .cd-hero-lead { color: var(--muted-green-gray); font-size: clamp(15px, 1.35vw, 16.5px); line-height: 1.6; max-width: 46ch; margin-bottom: 14px; }
  .cd-hero-org { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--text-2); }
  .cd-hero-org svg { width: 18px; height: 18px; color: var(--fresh-green); flex: none; }
  .cd-hero-org b { color: var(--ink); font-weight: 700; }

  .cd-fund { background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-xl); padding: clamp(20px, 2.2vw, 26px); box-shadow: var(--sh-md); }

  /* sheet: two-column editorial — story left, organizer right; supporters & words full-width below */
  .cd-sheet { margin-top: clamp(30px, 5vw, 50px); }
  .cd-inner { max-width: 1040px; }
  /* single centred column — story (and the sections below it) sit a touch wider, centred */
  .cd-cols { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; row-gap: clamp(30px, 4vw, 44px); }
  .cd-story { padding: clamp(26px, 2.4vw, 34px); }

  /* words: full-width tidy floating grid */
  .cd-words { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px 24px; padding: 12px 4px; }
  .cd-word { max-width: none; align-self: start; }
  .cd-word:nth-child(odd), .cd-word:nth-child(even) { align-self: start; }
  .cd-word:nth-child(even)::after { left: 26px; right: auto; }
}

/* =====================================================================
   Floating help / FAQ assistant (home, browse, campaign only)
   ===================================================================== */
.help-widget { position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 180; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
@supports (bottom: env(safe-area-inset-bottom)) { .help-widget { bottom: calc(clamp(16px, 3vw, 28px) + env(safe-area-inset-bottom)); } }

/* closed FAB */
.help-fab { display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px 13px 16px; border: none; border-radius: var(--r-pill); background: var(--warm-sun); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; letter-spacing: -.005em; cursor: pointer; box-shadow: 0 12px 30px -8px rgba(220,20,60,.35); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; animation: help-pop .4s var(--ease) both; }
.help-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(220,20,60,.41); background: var(--coral-deep); }
.help-fab:focus-visible { outline: 3px solid var(--sage-light); outline-offset: 3px; }
.help-fab-ic { display: inline-flex; }
.help-fab-ic svg { width: 22px; height: 22px; }
.help-fab-tx { white-space: nowrap; }
@keyframes help-pop { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }

/* open panel — solid matte cream, soft border + shadow (no gradient/glass) */
.help-panel { position: absolute; right: 0; bottom: calc(100% + 14px); width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 140px)); display: flex; flex-direction: column; background: var(--cream-base); border: 1px solid rgba(35,78,82,.14); border-radius: var(--r-xl); box-shadow: 0 20px 50px rgba(23,33,38,.16); overflow: hidden; transform-origin: bottom right; opacity: 0; visibility: hidden; transform: translateY(8px) scale(.985); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.help-widget.open .help-panel { opacity: 1; visibility: visible; transform: none; }

.help-head { flex: none; display: flex; align-items: flex-start; gap: 12px; padding: 17px 18px 15px; background: var(--deep-meadow); color: #fff; }
.help-head-tx { flex: 1; min-width: 0; }
.help-head-tx h2 { font-family: var(--font-head); font-weight: 800; font-size: 17px; line-height: 1.2; letter-spacing: -.01em; color: #fff; margin: 0 0 3px; }
.help-head-tx p { font-family: var(--font-body); font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,.82); margin: 0; }
.help-close { flex: none; width: 32px; height: 32px; border-radius: 50%; border: none; background: rgba(255,255,255,.15); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.help-close:hover { background: rgba(255,255,255,.27); }
.help-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.help-close svg { width: 18px; height: 18px; }

.help-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 7px; -webkit-overflow-scrolling: touch; }
.help-faq { list-style: none; margin: 0; padding: 0; }
.help-item { border-bottom: 1px solid rgba(35,78,82,.07); }
.help-item:last-child { border-bottom: none; }
.help-q { width: 100%; display: flex; align-items: center; gap: 12px; justify-content: space-between; text-align: left; background: none; border: none; padding: 12px 11px; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; line-height: 1.35; color: var(--ink); cursor: pointer; border-radius: var(--r-md); transition: background .15s, color .15s; }
.help-q:hover { background: rgba(35,78,82,.045); }
.help-q:focus-visible { outline: 2px solid var(--fresh-green); outline-offset: -2px; }
.help-chev { flex: none; display: inline-flex; color: var(--muted-green-gray); transition: transform .25s var(--ease), color .15s; }
.help-chev svg { width: 18px; height: 18px; }
.help-item.is-open .help-q { color: var(--deep-meadow); }
.help-item.is-open .help-chev { transform: rotate(180deg); color: var(--deep-meadow); }
.help-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s var(--ease); }
.help-item.is-open .help-a { grid-template-rows: 1fr; }
.help-a-in { overflow: hidden; }
.help-a p { margin: 0; padding: 0 11px 13px; font-family: var(--font-body); font-size: 13px; line-height: 1.62; color: var(--muted-green-gray); }

.help-foot { flex: none; border-top: 1px solid rgba(35,78,82,.08); padding: 14px 16px 15px; background: transparent; text-align: center; }
.help-foot b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--ink); margin-bottom: 3px; }
.help-foot span { display: block; font-family: var(--font-body); font-size: 12px; line-height: 1.5; color: var(--muted-green-gray); margin-bottom: 12px; }
.help-contact-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; padding: 11px 18px; border-radius: var(--r-pill); background: var(--warm-sun); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; transition: background .2s; }
.help-contact-btn:hover { background: var(--coral-deep); }
.help-contact-btn svg { width: 16px; height: 16px; }

/* mobile: compact icon-only FAB (less coverage), near-full-width panel */
@media (max-width: 560px) {
  .help-fab { padding: 0; width: 54px; height: 54px; justify-content: center; border-radius: 50%; }
  .help-fab-tx { display: none; }
  .help-panel { width: calc(100vw - 24px); max-height: min(72vh, 560px); }
}

@media (prefers-reduced-motion: reduce) {
  .help-fab, .help-panel, .help-chev, .help-a { animation: none !important; transition: none !important; }
}

/* =====================================================================
   Hero — MOBILE REFORMULATION v3 (≤860px): rich, layered, alive "good heart"
   Short refined headline → tiny lead → a LAYERED image composition (depth blob
   + breathing halo + ripples + drifting sparks + framed floating image +
   floating micro-cards: Verified stories badge & impact pill) → premium CTA
   with a discreet secondary link. Subtle motion, reduced-motion aware.
   Desktop (≥861px) is fully untouched.
   ===================================================================== */
.nh-hero-proof, .nh-h-sm, .nh-lead-sm, .nh-ripple, .nh-fc, .nh-spark, .nh-cta-sub, .nh-cta-arrow { display: none; }

@media (max-width: 860px) {
  .nh-hero { display: flex; flex-direction: column; min-height: 72vh; padding-top: calc(var(--header-h) + clamp(20px, 6vw, 40px)); padding-bottom: clamp(24px, 7vw, 40px); }
  .nh-leaves { display: none; }  /* mobile: no falling-leaves animation */

  /* one centred, airy column */
  .nh-hero-grid { flex: 1; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: clamp(14px, 4vw, 20px); max-width: 500px; margin-inline: 0; }
  .nh-hero-copy { display: contents; }

  /* short, elegant headline + tiny lead */
  .nh-h-lg, .nh-lead-lg { display: none; }
  .nh-hero-copy h1 { order: 1; margin: 0; }
  .nh-h-sm { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(33px, 9.4vw, 46px); line-height: 1.08; letter-spacing: -.015em; color: var(--ink); }
  .nh-h-sm .hl { color: var(--amber-deep); }
  .nh-hero-copy .lead { display: none; }  /* mobile: no subtitle */
  .nh-lead-sm { display: block; font-size: 14.3px; line-height: 1.6; font-weight: 500; color: #3e4f47; }

  /* === layered image composition === */
  .nh-hero-visual { display: none; }  /* mobile: drop the hero image/badges — cleaner, copy-first hero */
  .nh-orb { display: none; }
  .nh-verified { display: none; }
  /* soft offset organic blob → depth */
  .nh-hero-visual::after { content: ""; position: absolute; inset: -12% -16% -20% -10%; z-index: 0; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; background: radial-gradient(circle at 62% 40%, rgba(232,190,193,.32), transparent 70%); filter: blur(7px); }
  /* breathing halo of light */
  .nh-hero-visual::before { content: ""; position: absolute; inset: -12%; z-index: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(248,180,180,.22), rgba(232,190,193,.10) 50%, transparent 72%); animation: nh-halo 6s ease-in-out infinite; }
  /* ripples radiating outward */
  .nh-ripple { display: block; position: absolute; inset: 0; z-index: 2; border-radius: 50%; border: 1.5px solid rgba(248,180,180,.4); opacity: 0; transform: scale(.92); pointer-events: none; animation: nh-spread 5.6s ease-out infinite; }
  .nh-ripple.r2 { animation-delay: 1.9s; }
  .nh-ripple.r3 { animation-delay: 3.7s; }
  /* drifting hope sparks */
  .nh-spark { display: block; position: absolute; z-index: 2; width: 8px; height: 8px; border-radius: 50%; background: var(--warm-sun); opacity: 0; pointer-events: none; }
  .nh-spark.s1 { left: 4%; top: 58%; background: var(--fresh-green); animation: nh-drift 6.5s ease-in-out .5s infinite; }
  .nh-spark.s2 { right: 2%; top: 38%; width: 6px; height: 6px; animation: nh-drift 7.6s ease-in-out 2.4s infinite; }
  .nh-spark.s3 { right: 24%; bottom: -3%; width: 5px; height: 5px; background: var(--sage-light); animation: nh-drift 8.2s ease-in-out 4s infinite; }
  /* main image with a layered translucent frame; gently floats */
  .nh-hero-img { width: 100%; height: 100%; max-width: none; border-radius: 50%; position: relative; z-index: 3;
    box-shadow: 0 0 0 7px rgba(255,255,255,.62), 0 0 0 15px rgba(232,190,193,.22), 0 24px 48px -22px rgba(35,78,82,.36);
    animation: nh-floatimg 7s ease-in-out infinite; }
  .nh-hero-img img { object-position: center 28%; }

  /* floating micro-cards peeking on the image edges */
  .nh-fc { display: inline-flex; align-items: center; gap: 6px; z-index: 5; padding: 6px 12px; border-radius: var(--r-pill); background: var(--cream-2); border: 1px solid rgba(35,78,82,.07); box-shadow: 0 12px 26px -14px rgba(35,78,82,.3); font-family: var(--font-head); font-weight: 600; font-size: 11.5px; color: var(--ink); white-space: nowrap; }
  .nh-fc-verified { position: absolute; top: 5%; left: -3%; color: var(--deep-meadow); animation: nh-floatA 5.4s ease-in-out infinite; }
  .nh-fc-verified svg { width: 14px; height: 14px; color: var(--fresh-green); }
  .nh-hero-proof { display: inline-flex; align-items: center; gap: 8px; position: absolute; bottom: -3%; left: 50%; z-index: 5;
    padding: 6px 14px 6px 7px; border-radius: var(--r-pill); background: var(--cream-2); border: 1px solid rgba(35,78,82,.07);
    box-shadow: 0 14px 30px -14px rgba(35,78,82,.34); transform: translateX(-50%); animation: nh-floatB 5.6s ease-in-out infinite; }
  .nh-proof-ava { display: flex; flex: none; }
  .nh-proof-ava span { width: 22px; height: 22px; border-radius: 50%; margin-left: -7px; border: 2px solid var(--cream-2); background-size: cover; background-position: center; }
  .nh-proof-ava span:first-child { margin-left: 0; }
  .nh-proof-ava .more { background: var(--sage-light); color: var(--deep-meadow); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 7.5px; }
  .nh-proof-tx { font-family: var(--font-head); font-size: 11.5px; line-height: 1.2; color: var(--muted-green-gray); white-space: nowrap; }
  .nh-proof-tx b { color: var(--ink); font-weight: 700; }
  .nh-stat-wrap { display: none; }

  /* premium CTA + discreet secondary link */
  .nh-hero-cta { order: 4; flex-direction: column; align-items: center; align-self: center; gap: 12px; margin: auto 0 clamp(22px, 8vw, 54px); }  /* centered, lower part of the hero but lifted off the bottom */
  .nh-cta-main { width: auto; max-width: none; padding: 15px 32px; font-size: 15px; font-weight: 700; letter-spacing: .01em; display: inline-flex; align-items: center; gap: 8px; border-radius: var(--r-pill);
    box-shadow: 0 8px 18px -7px rgba(227,93,106,.39), 0 2px 5px -2px rgba(35,78,82,.14), inset 0 1px 0 rgba(255,255,255,.45);
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease); }
  .nh-cta-main:hover { transform: translateY(-1.5px); box-shadow: 0 12px 24px -8px rgba(227,93,106,.42), 0 3px 7px -2px rgba(35,78,82,.16), inset 0 1px 0 rgba(255,255,255,.45); }
  .nh-cta-main:active { transform: translateY(0) scale(.985); box-shadow: 0 5px 12px -5px rgba(227,93,106,.35), inset 0 1px 0 rgba(255,255,255,.4); }
  .nh-cta-arrow { display: inline-block; width: 17px; height: 17px; flex: none; transition: transform .2s var(--ease); }
  .nh-cta-main:hover .nh-cta-arrow { transform: translateX(2px); }
  .nh-cta-sub { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--deep-meadow); opacity: .8; border-bottom: 1px solid rgba(35,78,82,.28); padding-bottom: 1px; }
  .nh-cta-sub:hover { opacity: 1; }

  /* staggered entrance (headline → lead → button) — copy is display:contents, so animate the children; the image keeps its reveal entrance */
  .nh-hero-copy h1 { animation: nh-enter .7s var(--ease) both; }
  .nh-hero-copy .lead { animation: nh-enter .7s var(--ease) .12s both; }
  .nh-hero-cta { animation: nh-enter .7s var(--ease) .3s both; }
}

/* "hope spreading" motion */
@keyframes nh-spread { 0% { opacity: 0; transform: scale(.9); } 15% { opacity: .5; } 100% { opacity: 0; transform: scale(1.42); } }
@keyframes nh-halo { 0%,100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes nh-floatimg { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes nh-floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3.5px); } }
@keyframes nh-floatB { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-4px); } }
@keyframes nh-drift { 0% { opacity: 0; transform: translateY(8px) scale(.7); } 25% { opacity: .65; } 60% { opacity: .45; } 100% { opacity: 0; transform: translateY(-28px) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .nh-ripple { animation: none; opacity: .2; transform: scale(1.15); }
  .nh-hero-visual::before, .nh-hero-img, .nh-fc-verified, .nh-spark { animation: none !important; }
  .nh-hero-proof { animation: none !important; transform: translateX(-50%); }
  .nh-spark { opacity: 0; }
}

/* =====================================================================
   Home DESKTOP motion & polish (≥861px) — SAME layout, more life.
   Pure transform/opacity; reduced-motion aware; mobile untouched.
   ===================================================================== */
@media (min-width: 861px) {
  /* staggered hero entrance (headline → lead → button; image scales in) */
  .nh-hero-copy.reveal { opacity: 1; transform: none; transition: none; }
  .nh-hero-copy h1 { animation: nh-enter .8s var(--ease) both; }
  .nh-hero-copy .lead { animation: nh-enter .8s var(--ease) .12s both; }
  .nh-hero-cta { animation: nh-enter .8s var(--ease) .24s both; }
  .nh-hero-visual.reveal { transform: translateY(24px) scale(.94); }
  .nh-hero-deco { animation: nh-fadein 1.1s var(--ease) .55s both; }

  /* circles breathe & float, asynchronously */
  .nh-hero-img { animation: nh-d-float1 7s ease-in-out infinite; will-change: transform; }
  .nh-orb-2 { animation: nh-d-float2 6.4s ease-in-out infinite; }
  .nh-orb-3 { animation: nh-d-float3 8.6s ease-in-out -2s infinite; }

  /* soft glow behind the circle cluster */
  .nh-hero-visual::before { content: ""; position: absolute; inset: -22%; z-index: 0; border-radius: 50%;
    background: radial-gradient(circle at 50% 48%, rgba(248,180,180,.14), rgba(245,181,186,.10) 46%, transparent 70%);
    animation: nh-d-glow 9s ease-in-out infinite; pointer-events: none; }

  /* organic dotted line: gentle flow + soft fade-in (above) */
  .nh-deco-path path { animation: nh-flow 7s linear infinite; }

  /* impact card: gentle float, ambient glow in its shadow, delicate hover */
  .nh-stat-wrap .nh-stat-card { animation: nh-d-card 7.6s ease-in-out infinite; transition: box-shadow .35s var(--ease);
    box-shadow: 0 24px 60px -24px rgba(35,78,82,.35), 0 0 46px -6px rgba(245,181,186,.20); }
  .nh-stat-card:hover { box-shadow: 0 32px 68px -24px rgba(35,78,82,.42), 0 0 56px -4px rgba(245,181,186,.26); }

  /* primary button: refined hover + press */
  .nh-cta-main { transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease); }
  .nh-cta-main:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(227,93,106,.35), 0 4px 10px -3px rgba(35,78,82,.16); }
  .nh-cta-main:active { transform: translateY(0) scale(.985); }

}

@keyframes nh-enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes nh-fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes nh-d-float1 { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-9px) scale(1.015); } }
@keyframes nh-d-float2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@keyframes nh-d-float3 { 0%,100% { transform: translateY(0) scale(1); opacity: .8; } 50% { transform: translateY(-12px) scale(1.03); opacity: .9; } }
@keyframes nh-d-card { 0%,100% { transform: translateX(12%) translateY(0); } 50% { transform: translateX(12%) translateY(-5px); } }
@keyframes nh-d-glow { 0%,100% { opacity: .72; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes nh-d-bg { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .92; transform: scale(1.03); } }
@keyframes nh-flow { to { stroke-dashoffset: -28; } }

@media (prefers-reduced-motion: reduce) {
  .nh-hero-copy h1, .nh-hero-copy .lead, .nh-hero-cta, .nh-hero-deco,
  .nh-orb-2, .nh-orb-3, .nh-stat-wrap .nh-stat-card, .nh-hero-visual::before,
  .nh-hero::before, .nh-deco-path path { animation: none !important; }
  .nh-hero-visual.reveal { transform: none; }
}

/* =====================================================================
   Hero MOBILE background — "wall of campaigns" mosaic (Netflix-style, but
   campaigns + on-brand). Tilted darkened tiles behind the foreground.
   Mobile only (≤860px); desktop hero unchanged.
   ===================================================================== */
.nh-hero-mosaic { display: none; }
.nh-hero-video { display: none; }
.nh-hero-photo { display: none; }
@media (max-width: 860px) {
  .nh-hero { background: var(--cream-base); }
  .nh-hero::before { display: none; }                  /* video + veil is the backdrop */
  /* rising warm-light particles drifting from the lower-left up toward the centre-right */
  .nh-particles { display: block; position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
  .nh-particles i { position: absolute; bottom: -6%; width: calc(var(--s, 5px) + 11px); height: calc(var(--s, 5px) + 11px); border-radius: 50%; background: radial-gradient(circle, rgba(255,240,243,1) 0%, rgba(246,150,168,.55) 32%, rgba(220,20,60,0) 70%); filter: blur(1.6px); opacity: 0; will-change: transform, opacity; animation: nh-particle-rise var(--d, 8s) linear var(--delay, 0s) infinite; }
  @keyframes nh-particle-rise { 0% { transform: translate(0, 0) scale(.55); opacity: 0; } 12% { opacity: 1; } 78% { opacity: .72; } 100% { transform: translate(var(--dx, 90px), -92vh) scale(1.1); opacity: 0; } }
  .nh-hero-grid { position: relative; z-index: 2; }     /* foreground above the backdrop */

  /* mobile hero backdrop = the animated dawn/sun video, frozen on its last frame */
  .nh-hero-mosaic { display: block; position: absolute; inset: 0; z-index: 0; overflow: hidden; }
  .nh-hero-video { display: none; }  /* mobile uses the still photo below; the video is desktop-only */
  /* mobile hero photo — a box with the photo's own ratio that always covers the hero, so the sun light can be pinned to the sun */
  .nh-hero-photo { display: block; position: absolute; top: 0; left: 50%; transform: translateX(-50%); min-width: 100%; min-height: 100%; aspect-ratio: 1045 / 1400; }
  .nh-hero-photo picture, .nh-hero-photo img { display: block; width: 100%; height: 100%; }
  .nh-hero-photo img { object-fit: cover; }
  /* sun light: a warm glow that breathes + slowly turning rays, centred on the sun (66% / 36.8% of the photo) */
  .nh-sun-glow, .nh-sun-rays { position: absolute; left: 66%; top: 36.8%; border-radius: 50%; pointer-events: none; mix-blend-mode: screen; transform: translate(-50%, -50%); }
  .nh-sun-glow { width: 46%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255,250,235,.95) 0%, rgba(255,226,190,.6) 16%, rgba(255,196,170,.28) 38%, rgba(255,190,170,0) 68%); animation: nh-sun-breathe 5.5s ease-in-out infinite; }
  .nh-sun-rays { width: 120%; aspect-ratio: 1; opacity: .55;
    background: repeating-conic-gradient(from 0deg, rgba(255,244,220,.55) 0deg 3deg, rgba(255,244,220,0) 3deg 18deg);
    -webkit-mask: radial-gradient(circle, #000 0%, rgba(0,0,0,.6) 18%, transparent 52%); mask: radial-gradient(circle, #000 0%, rgba(0,0,0,.6) 18%, transparent 52%);
    animation: nh-sun-spin 60s linear infinite, nh-sun-flicker 7s ease-in-out infinite; }
  @keyframes nh-sun-breathe { 0%, 100% { transform: translate(-50%, -50%) scale(.9); opacity: .75; } 50% { transform: translate(-50%, -50%) scale(1.12); opacity: 1; } }
  @keyframes nh-sun-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
  @keyframes nh-sun-flicker { 0%, 100% { opacity: .42; } 50% { opacity: .7; } }
  .nh-hero-mosaic-grid { display: none; }
  .nh-hero-mosaic .mtile { aspect-ratio: 2 / 3; border-radius: 13px; overflow: hidden; background: var(--sage-wash); }
  .nh-hero-mosaic .mtile img { width: 100%; height: 100%; object-fit: cover; }
  /* light cream veil + a touch of sage warmth — mosaic stays a gentle backdrop,
     with the centre brightened so the main content separates cleanly */
  .nh-hero-mosaic::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    /* lighter veil so the video reads through: soft top for title legibility, clear middle, cream fade at the bottom */
    background:
      radial-gradient(120% 40% at 30% 4%, rgba(250,248,241,.5), rgba(250,248,241,.14) 55%, rgba(250,248,241,0) 80%),
      linear-gradient(180deg, rgba(250,248,241,.28) 0%, rgba(250,248,241,.04) 24%, rgba(250,248,241,0) 46%, rgba(250,248,241,.34) 80%, rgba(250,248,241,.98) 100%); }

  /* foreground keeps the light editorial palette (good contrast on the cream backdrop) */
  .nh-h-sm { color: var(--ink); }
  /* "One good heart." keeps its carmine colour; a soft beam of light just sweeps across it */
  .nh-h-sm .hl { color: #9E0F2B; text-shadow: none; background: linear-gradient(100deg, transparent 44%, rgba(255,236,240,.92) 50%, transparent 56%), linear-gradient(#9E0F2B, #9E0F2B); background-size: 220% 100%, 100% 100%; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: nh-hl-shine 5s ease-in-out infinite; }
  .nh-lead-sm { color: #3e4f47; }
  .nh-cta-sub { color: var(--deep-meadow); border-bottom-color: rgba(35,78,82,.28); }
}
@keyframes nh-hl-shine { 0% { background-position: 175% 0, 0 0; } 45%, 100% { background-position: -75% 0, 0 0; } }
@keyframes nh-mosaic-pan {
  from { transform: translate(-51%, -53%) rotate(-11deg) scale(1.06); }
  to   { transform: translate(-48%, -43%) rotate(-11deg) scale(1.18); }
}
@media (prefers-reduced-motion: reduce) { .nh-hero-mosaic-grid, .nh-sun-glow, .nh-sun-rays { animation: none !important; } }

/* ---- DESKTOP hero: full-bleed "heart" video (plays once, freezes on the last frame) ---- */
@media (min-width: 861px) {
  .nh-hero { min-height: min(100vh, 900px); display: flex; flex-direction: column; justify-content: center; }
  .nh-hero-mosaic { display: block; position: absolute; inset: 0; z-index: 0; overflow: hidden; }
  .nh-hero-mosaic-grid { display: none; }
  .nh-hero-video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
  .nh-hero-mosaic::after {                              /* cream veil on the left for the copy, clear on the right (people + heart), fade to cream at the bottom */
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      linear-gradient(180deg, transparent 72%, rgba(250,248,241,.6) 90%, rgba(250,248,241,1) 100%),
      linear-gradient(90deg, rgba(250,248,241,.82) 0%, rgba(250,248,241,.6) 30%, rgba(250,248,241,.12) 52%, rgba(250,248,241,0) 64%);
  }
  .nh-hero::before, .nh-hero::after { display: none; }  /* the video is the backdrop — no drifting glows */
  .nh-hero-visual, .nh-stat-wrap, .nh-hero-deco { display: none !important; }  /* circular photo, orbs and stat card give way to the video */
  .nh-hero-grid { position: relative; z-index: 2; grid-template-columns: minmax(0, 560px) 1fr; }
}

/* =====================================================================
   HOW IT WORKS — interactive donation-journey walkthrough
   ===================================================================== */
/* soft coral-pink base with slow drifting glows */
/* default / mobile: soft gradient background (no video) */
.nh-how { position: relative; overflow: hidden; background: linear-gradient(162deg, var(--soft-sand) 0%, #FBE6E6 46%, #F9DCDC 100%); }
.nh-how-video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; filter: blur(3px) brightness(1.12) saturate(.85) opacity(.86) hue-rotate(280deg); }  /* grass tinted to a soft coral pink */
.nh-how::before { display: none; }
.nh-how::after { display: block; content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(250,248,241,.9) 0%, rgba(250,248,241,.72) 28%, rgba(250,248,241,.6) 54%, rgba(250,248,241,.78) 82%, rgba(250,248,241,1) 100%); }
.nh-how > .wrap { position: relative; z-index: 2; }
.nh-how { --coral-ink: #F0A3AA; --coral-ink-deep: #E78F98; --coral-mid: #F3ADB4; --soft-red: #F6B6BB; }  /* How it works: light coral pink accents (text uses --coral-text, buttons stay crimson) */
@keyframes hiw-glowA {
  0%   { transform: translate(-98%, -86%) scale(1); }
  25%  { transform: translate(6%, -64%) scale(1.16); }
  50%  { transform: translate(-34%, 6%) scale(1); }
  75%  { transform: translate(-112%, -16%) scale(1.1); }
  100% { transform: translate(-98%, -86%) scale(1); }
}
@keyframes hiw-glowB {
  0%   { transform: translate(8%, -2%) scale(1.06); }
  25%  { transform: translate(-84%, 18%) scale(1); }
  50%  { transform: translate(18%, -52%) scale(1.2); }
  75%  { transform: translate(-22%, 30%) scale(1); }
  100% { transform: translate(8%, -2%) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .nh-how::after { transform: none; animation: none; }
}


/* ---- stage: intro in flow, demo overlaid; height animates between them ---- */
.hiw-stage { position: relative; transition: min-height .6s var(--ease); }
.hiw-intro, .hiw-demo {
  transition: opacity .55s var(--ease), transform .6s var(--ease), visibility .55s;
}
.hiw-intro { position: relative; z-index: 2; }
.hiw-demo {
  position: absolute; top: 0; left: 0; right: 0; z-index: 1;
  opacity: 0; transform: translateX(5%) scale(.985);
  visibility: hidden; pointer-events: none;
}
.hiw-stage.show-demo .hiw-intro {
  opacity: 0; transform: translateX(-7%) scale(.98);
  visibility: hidden; pointer-events: none;
}
.hiw-stage.show-demo .hiw-demo {
  opacity: 1; transform: none; visibility: visible; pointer-events: auto;
}

/* ---- INTRO (premium guided-demo card) ---- */
.hiw-intro { display: grid; grid-template-columns: 1fr; gap: clamp(26px, 4vw, 44px); align-items: center;
  background: rgba(250,248,241,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.6); border-radius: clamp(22px, 3vw, 34px);
  padding: clamp(26px, 4vw, 52px); box-shadow: 0 34px 80px -44px rgba(228,120,132,.42), 0 2px 10px -5px rgba(228,120,132,.12); }
.hiw-intro-copy { max-width: 520px; }
.hiw-intro-copy h2 { font-weight: 600; letter-spacing: -.018em; color: var(--coral-red); margin-bottom: 14px; text-shadow: none; }
.hiw-lead { font-size: clamp(16px, 2.2vw, 19px); color: #5E3F44; line-height: 1.55; margin-bottom: 22px; max-width: 34ch; }
.hiw-lead-m { display: none; }   /* short mobile-only description */
.hiw-start { gap: 10px; --btn-bg: rgba(248,180,180,.42); --btn-fg: var(--amber-deep); border: 1px solid rgba(255,255,255,.6); -webkit-backdrop-filter: blur(10px) saturate(1.25); backdrop-filter: blur(10px) saturate(1.25); }  /* translucent coral-pink glass, same as the home final CTA */
.hiw-start:hover { --btn-bg: rgba(248,180,180,.62); }
.hiw-start .nh-cta-arrow { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.hiw-start:hover .nh-cta-arrow { transform: translateX(4px); }
.hiw-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hiw-meta span { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .01em; color: var(--coral-text);
  padding: 6px 12px; border-radius: var(--r-pill); background: var(--sage-wash); border: 1px solid rgba(228,120,132,.08); }

/* right visual: Find → Donate → Share flow stepper + larger phone mockup */
.hiw-intro-visual { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.2vw, 30px); }
.hiw-iv-flow { position: relative; display: flex; flex-direction: column; gap: clamp(28px, 4.5vw, 48px); flex: none; }
.hiw-iv-flow::before { content: ""; position: absolute; left: 21px; top: 16px; bottom: 16px; border-left: 2px dashed rgba(228,120,132,.3); }
.hiw-iv-chip { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--coral-text); background: #fff; border: 1px solid var(--line-soft); box-shadow: var(--sh-sm); padding: 9px 16px 9px 14px; border-radius: var(--r-pill); white-space: nowrap; }
.hiw-iv-chip b { font-size: 15px; line-height: 1; }
.hiw-iv-phone { position: relative; width: clamp(208px, 18vw, 244px); aspect-ratio: 9 / 17; border-radius: 30px; background: linear-gradient(155deg, #fff, var(--cream-base)); box-shadow: var(--sh-lg), inset 0 0 0 1.5px var(--line-soft); padding: 24px 16px 18px; }
.hiw-iv-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 52px; height: 6px; border-radius: 999px; background: var(--line-soft); }
.hiw-iv-screen { display: flex; flex-direction: column; gap: 13px; }
.hiw-iv-search { height: 26px; border-radius: 9px; background: var(--sage-wash); }
.hiw-iv-row { height: 42px; border-radius: 11px; background: var(--cream-2); box-shadow: var(--sh-xs); }
.hiw-iv-row.r1 { background: linear-gradient(100deg, var(--sage-wash), var(--cream-2)); }
.hiw-iv-cta { height: 36px; margin-top: 8px; border-radius: 10px; background: var(--warm-sun); }
@keyframes hiw-breathe { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.12); opacity: 1; } }

/* ---- DEMO (centered: header → device → text → progress → controls) ---- */
.hiw-demo { display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 2.6vw, 22px); }

/* tutorial header bar */
.hiw-bar-top { width: 100%; max-width: 720px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.72); border: 1px solid var(--line-soft); box-shadow: var(--sh-xs); }
.hiw-back { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--coral-text); background: none; border: none; cursor: pointer; padding: 5px 8px; border-radius: var(--r-pill); transition: color .2s var(--ease), transform .2s var(--ease); }
.hiw-back svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.hiw-back:hover { color: var(--coral-text); }
.hiw-back:hover svg { transform: translateX(-3px); }
.hiw-stepno { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--coral-gray); padding-right: 6px; }
.hiw-stepno b { color: var(--coral-text); font-size: 14px; }
.hiw-stepno em { font-style: normal; }

/* step text + progress + controls below the device */
.hiw-belowstage { width: 100%; max-width: 540px; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.hiw-step-text { text-align: center; }
.hiw-step-text h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.15; margin-bottom: 7px; }
.hiw-step-text p { font-size: 14.5px; line-height: 1.55; color: var(--coral-gray); max-width: 44ch; margin-inline: auto; min-height: 3em; }

/* segmented progress (doubles as step nav) */
.hiw-progress { width: 100%; max-width: 340px; display: flex; gap: 6px; }
.hiw-seg { flex: 1; height: 6px; padding: 0; border: none; border-radius: var(--r-pill); background: var(--sand-line); overflow: hidden; cursor: pointer; transition: box-shadow .25s; }
.hiw-seg:hover { box-shadow: 0 0 0 2px rgba(227,93,106,.18); }
.hiw-seg.on { box-shadow: 0 0 0 3px rgba(227,93,106,.16); }
.hiw-seg-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--soft-red), var(--coral-mid)); }

/* controls — centered */
.hiw-controls { display: flex; align-items: center; justify-content: center; gap: 12px; }
.hiw-ctrl { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 46px; height: 46px; padding: 0; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); color: var(--coral-text); cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; box-shadow: var(--sh-xs); transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s; }
.hiw-ctrl svg { width: 19px; height: 19px; }
.hiw-ctrl:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); border-color: var(--sage-mist); background: var(--sage-wash); }
.hiw-ctrl:active { transform: translateY(0); }
.hiw-ctrl-play { width: auto; padding: 0 20px; border-radius: var(--r-pill); background: var(--warm-sun); color: #fff; border-color: var(--warm-sun); }
.hiw-ctrl-play:hover { background: var(--coral-deep); color: #fff; border-color: var(--coral-deep); }
.hiw-ctrl-play .ic-play { display: none; }
.hiw-ctrl-play.paused .ic-play { display: block; }
.hiw-ctrl-play.paused .ic-pause { display: none; }

/* ---- DEVICE FRAME (phone on mobile, browser on desktop) ---- */
.hiw-device {
  position: relative; width: min(300px, 78vw); aspect-ratio: 300 / 600;
  border-radius: 40px; padding: 13px;
  background: linear-gradient(160deg, #F4B3B9, var(--coral-ink) 55%, #E48A94);
  box-shadow: 0 38px 72px -30px rgba(23,33,38,.5), inset 0 0 0 2px rgba(255,255,255,.06);
}
.hiw-cam { position: absolute; top: 21px; left: 50%; transform: translateX(-50%); width: 52px; height: 6px; border-radius: 99px; background: rgba(0,0,0,.4); z-index: 6; }
.hiw-browserbar { display: none; }
.hiw-screens { position: relative; width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: var(--cream-base); }

.hiw-scr {
  position: absolute; inset: 0; padding: 24px 14px 14px; display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateX(18px); pointer-events: none;
  transition: opacity .45s var(--ease), transform .5s var(--ease);
}
.hiw-scr.on { opacity: 1; transform: none; pointer-events: auto; }
.hiw-scr.on > * { animation: hs-rise .5s var(--ease) both; }
.hiw-scr.on > *:nth-child(2) { animation-delay: .06s; }
.hiw-scr.on > *:nth-child(3) { animation-delay: .12s; }
.hiw-scr.on > *:nth-child(4) { animation-delay: .18s; }
.hiw-scr.on > *:nth-child(5) { animation-delay: .24s; }
@keyframes hs-rise { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }

/* shared donate button (campaign + amount) */
.sc-donate { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; border-radius: var(--r-pill); background: var(--warm-sun); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 14px; border: none; box-shadow: var(--sh-sm); }
.sc-donate svg { width: 15px; height: 15px; }

/* === precise tap indicator (touch ring on mobile, mouse pointer on desktop) === */
.hiw-tap { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; transform: translate(-50%, -50%); pointer-events: none; opacity: 0; z-index: 7; transition: opacity .25s var(--ease), left .45s var(--ease), top .45s var(--ease); }
.hiw-tap.show { opacity: 1; }
.hiw-tap::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: rgba(228,120,132,.26); border: 2px solid var(--coral-ink); box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.hiw-tap::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--soft-red); opacity: 0; transform: scale(.4); }
.hiw-tap.click::after { animation: tap-ripple .6s var(--ease); }
.hiw-tap.click::before { animation: tap-press .5s var(--ease); }
@keyframes tap-ripple { 0% { opacity: .85; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes tap-press { 0%,100% { transform: scale(1); } 45% { transform: scale(.66); } }

/* === SCREEN: browse === */
.sb-top { display: flex; align-items: center; justify-content: space-between; }
.sb-title { font-family: var(--font-head); font-weight: 800; font-size: 14.5px; color: var(--ink); }
.sb-ic { width: 28px; height: 28px; border-radius: 50%; background: var(--sage-wash); color: var(--coral-text); display: grid; place-items: center; }
.sb-ic svg { width: 15px; height: 15px; }
.sb-search { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 11px; border-radius: var(--r-pill); background: #fff; border: 1.5px solid var(--line); box-shadow: var(--sh-xs); }
.sb-search-ic { color: var(--coral-gray); display: grid; place-items: center; }
.sb-search-ic svg { width: 15px; height: 15px; }
.sb-typed { font-family: var(--font-body); font-size: 12.5px; color: var(--ink); white-space: nowrap; overflow: hidden; max-width: 0; }
.scr-browse.on .sb-typed { animation: hs-type 1s steps(12) .3s forwards; }
@keyframes hs-type { to { max-width: 120px; } }
.sb-caret { width: 1.5px; height: 15px; background: var(--soft-red); animation: hs-blink 1s steps(1) infinite; }
@keyframes hs-blink { 50% { opacity: 0; } }
.sb-chips { display: flex; gap: 5px; overflow: hidden; }
.sb-chip { flex: none; font-family: var(--font-head); font-weight: 600; font-size: 10.5px; padding: 5px 9px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); color: var(--coral-gray); }
.sb-chip.on { background: var(--warm-sun); color: #fff; border-color: var(--warm-sun); }
.sb-grid { display: flex; flex-direction: column; gap: 7px; margin-top: 1px; min-height: 0; }
.sb-card { display: flex; gap: 9px; align-items: center; padding: 6px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line-soft); box-shadow: var(--sh-xs); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.sb-card-img { position: relative; flex: none; width: 44px; height: 44px; border-radius: 9px; overflow: hidden; }
.sb-card-img img { width: 100%; height: 100%; object-fit: cover; }
.sb-card-cat { display: none; }
.sb-card-tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.sb-card-tx b { font-family: var(--font-head); font-weight: 700; font-size: 11.5px; color: var(--ink); line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.sb-card-bar { height: 4px; border-radius: 99px; background: var(--sand-line); overflow: hidden; }
.sb-card-bar span { display: block; height: 100%; border-radius: inherit; background: var(--soft-red); }
.sb-card-meta { font-style: normal; font-family: var(--font-head); font-weight: 600; font-size: 10px; color: var(--coral-gray); }
.sb-card.is-sel { border-color: var(--sage-soft); box-shadow: 0 9px 20px -10px rgba(228,120,132,.5); transform: scale(1.025); }

/* === SCREEN: campaign === */
.scr-camp { gap: 0; }
.sc-media { position: relative; height: 150px; border-radius: 14px; overflow: hidden; flex: none; }
.sc-media img { width: 100%; height: 100%; object-fit: cover; }
.sc-cat { position: absolute; top: 9px; left: 9px; font-family: var(--font-head); font-weight: 700; font-size: 10px; color: var(--coral-text); background: rgba(255,255,255,.92); padding: 4px 9px; border-radius: var(--r-pill); }
.sc-heart { position: absolute; top: 8px; right: 8px; width: 27px; height: 27px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--coral-deep); display: grid; place-items: center; }
.sc-heart svg { width: 14px; height: 14px; }
.sc-body { display: flex; flex-direction: column; gap: 7px; padding: 13px 3px 0; flex: 1; }
.sc-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.18; }
.sc-desc { font-size: 11.5px; line-height: 1.45; color: var(--coral-gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-stats { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.sc-stats b { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--coral-text); }
.sc-stats span { font-size: 11px; color: var(--coral-gray); }
.sc-pct { margin-left: auto; font-style: normal; font-family: var(--font-head); font-weight: 800; font-size: 13px; color: var(--coral-text); }
.sc-bar { height: 7px; border-radius: 99px; background: var(--sand-line); overflow: hidden; }
.sc-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--soft-red), var(--coral-mid)); transition: width 1s var(--ease) .2s; }
.scr-camp.on .sc-donate { animation: hs-pulse 2.2s ease-in-out 1s infinite; }
@keyframes hs-pulse { 0%,100% { box-shadow: var(--sh-sm); } 50% { box-shadow: 0 0 0 6px rgba(220,20,60,.22); } }
.sc-donate.is-press { animation: none !important; transform: scale(.95); background: var(--coral-deep); box-shadow: 0 0 0 5px rgba(220,20,60,.28); }

/* === SCREEN: amount === */
.scr-amount { gap: 12px; }
.sa-head { text-align: center; display: flex; flex-direction: column; gap: 3px; }
.sa-head b { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.sa-head small { font-size: 11px; color: var(--coral-gray); }
.sa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sa-amt { display: grid; place-items: center; height: 46px; border-radius: 13px; background: #fff; border: 1.5px solid var(--line); font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--ink); box-shadow: var(--sh-xs); transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s; }
.sa-amt.is-sel { background: var(--warm-sun); border-color: var(--warm-sun); color: #fff; transform: scale(1.04); box-shadow: 0 9px 20px -8px rgba(220,20,60,.35); }
.sa-summary { text-align: center; font-size: 12px; color: var(--coral-gray); }
.sa-summary b { font-family: var(--font-head); font-weight: 800; color: var(--coral-text); }
.sa-summary span { color: var(--ink); font-weight: 600; }

/* === SCREEN: confirm === */
.scr-confirm { justify-content: center; align-items: center; text-align: center; gap: 12px; }
.sf-check { width: 74px; height: 74px; }
.sf-check svg { width: 100%; height: 100%; }
.sf-c { stroke: var(--soft-red); stroke-width: 3; stroke-dasharray: 150; stroke-dashoffset: 150; }
.sf-k { stroke: var(--soft-red); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 44; stroke-dashoffset: 44; }
.scr-confirm.on .sf-c { animation: hs-draw .6s var(--ease) .2s forwards; }
.scr-confirm.on .sf-k { animation: hs-draw .4s var(--ease) .7s forwards; }
@keyframes hs-draw { to { stroke-dashoffset: 0; } }
.sf-t { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--coral-text); }
.sf-amt { font-size: 12.5px; color: var(--coral-gray); line-height: 1.4; max-width: 24ch; }
.sf-secure { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 11px; color: var(--coral-text); background: var(--sage-wash); padding: 6px 11px; border-radius: var(--r-pill); margin-top: 3px; }
.sf-secure svg { width: 14px; height: 14px; }
.sf-spark { position: absolute; width: 8px; height: 8px; border-radius: 2px; background: var(--warm-sun); opacity: 0; }
.sf-spark.s1 { left: 27%; top: 30%; background: var(--soft-red); }
.sf-spark.s2 { right: 25%; top: 27%; }
.sf-spark.s3 { left: 31%; top: 52%; background: var(--coral-deep); }
.sf-spark.s4 { right: 29%; top: 49%; background: var(--sage-soft); }
.scr-confirm.on .sf-spark { animation: hs-spark 1.1s var(--ease) .8s; }
.scr-confirm.on .sf-spark.s2 { animation-delay: .9s; }
.scr-confirm.on .sf-spark.s3 { animation-delay: 1s; }
.scr-confirm.on .sf-spark.s4 { animation-delay: .95s; }
@keyframes hs-spark { 0% { opacity: 0; transform: translateY(0) scale(.4); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-24px) scale(1); } }

/* === SCREEN: share === */
.scr-share { gap: 12px; }
.ss-head { text-align: center; display: flex; flex-direction: column; gap: 3px; }
.ss-head b { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--coral-text); line-height: 1.2; }
.ss-head small { font-size: 11px; color: var(--coral-gray); }
.ss-preview { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 13px; background: #fff; border: 1.5px solid var(--line-soft); box-shadow: var(--sh-xs); }
.ss-prev-img { flex: none; width: 52px; height: 52px; border-radius: 9px; overflow: hidden; }
.ss-prev-img img { width: 100%; height: 100%; object-fit: cover; }
.ss-prev-tx { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.ss-prev-tx b { font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--ink); line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ss-prev-bar { height: 4px; border-radius: 99px; background: var(--sand-line); overflow: hidden; }
.ss-prev-bar span { display: block; height: 100%; border-radius: inherit; background: var(--soft-red); }
.ss-prev-tx em { font-style: normal; font-family: var(--font-head); font-weight: 600; font-size: 10px; color: var(--coral-gray); }
.ss-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.ss-btn { display: flex; align-items: center; gap: 7px; padding: 9px 10px; border-radius: 11px; background: #fff; border: 1.5px solid var(--line-soft); box-shadow: var(--sh-xs); color: var(--coral-text); font-family: var(--font-head); font-weight: 700; font-size: 11px; opacity: 0; transform: translateY(7px); }
.ss-btn svg { width: 16px; height: 16px; flex: none; }
.ss-btn em { font-style: normal; }
.ss-btn.b-copy { grid-column: span 2; }
.scr-share.on .ss-btn { animation: hs-rise .4s var(--ease) forwards; }
.scr-share.on .b-copy { animation-delay: .12s; }
.scr-share.on .b-wa { animation-delay: .22s; }
.scr-share.on .b-fb { animation-delay: .32s; }
.scr-share.on .b-tw { animation-delay: .42s; }
.scr-share.on .b-ig { animation-delay: .52s; }
.ss-btn.is-press { border-color: var(--sage-soft); background: var(--sage-wash); }

/* === end / replay overlay === */
.hiw-end { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; text-align: center; padding: 24px; background: rgba(250,248,241,.9); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transform: scale(1.015); transition: opacity .4s var(--ease), visibility .4s, transform .4s var(--ease); }
.hiw-device.is-finished .hiw-end { opacity: 1; visibility: visible; transform: none; }
.hiw-end-ic { width: 54px; height: 54px; border-radius: 50%; background: var(--sage-wash); color: var(--coral-text); display: grid; place-items: center; }
.hiw-end-ic svg { width: 28px; height: 28px; }
.hiw-end-t { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--coral-text); }
.hiw-end-d { font-size: 12.5px; color: var(--coral-gray); line-height: 1.5; max-width: 26ch; }
.hiw-end-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 11px 20px; border-radius: var(--r-pill); background: var(--warm-sun); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; border: none; cursor: pointer; box-shadow: var(--sh-md); transition: background .2s, transform .2s var(--ease); }
.hiw-end-btn svg { width: 17px; height: 17px; }
.hiw-end-btn:hover { background: var(--coral-deep); transform: translateY(-2px); }

/* ---- DESKTOP: browser-window frame + landscape screen layouts ---- */
@media (min-width: 861px) {
  /* --- inline guided demo: copy on the left, the live animation plays on the right (one card) --- */
  .hiw-stage { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(24px, 2.8vw, 42px); align-items: center;
    background: rgba(250,248,241,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.6); border-radius: clamp(22px, 3vw, 34px);
    padding: clamp(32px, 3.6vw, 52px) clamp(34px, 4vw, 58px); box-shadow: 0 34px 80px -44px rgba(228,120,132,.42), 0 2px 10px -5px rgba(228,120,132,.12); }
  /* left column = copy only (the card styling now lives on the stage) */
  .hiw-intro { display: block; grid-column: 1; background: none; border: none; box-shadow: none; padding: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none; position: static; opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .hiw-stage.show-demo .hiw-intro { opacity: 1; visibility: visible; transform: none; }
  .hiw-intro-visual { display: none; }   /* static mockup replaced by the live demo */
  .hiw-start { display: none; }           /* no start button — the demo auto-plays inline */
  /* right column = the animated walkthrough, always in flow (no overlay swap on desktop) */
  .hiw-demo { position: static; grid-column: 2; opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .hiw-bar-top { display: none; }         /* "back to overview" is meaningless inline */
  .hiw-intro-copy { max-width: 440px; }
  .hiw-intro-copy h2 { font-size: clamp(34px, 3.4vw, 46px); font-weight: 600; line-height: 1.02; letter-spacing: -.02em; margin-bottom: 16px; }
  .hiw-lead { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.55; max-width: 30ch; margin-bottom: 26px; }
  .hiw-start { align-self: flex-start; padding: 15px 30px; font-size: 15.5px;
    box-shadow: 0 10px 28px -14px rgba(160,13,42,.35), inset 0 1px 0 rgba(255,255,255,.5); }

  /* meta → premium chips with accent dot */
  .hiw-meta { margin-top: 26px; gap: 10px; }
  .hiw-meta span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 12px; font-size: 12px;
    background: rgba(255,255,255,.92); border: 1px solid rgba(228,120,132,.12); box-shadow: var(--sh-xs);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
  .hiw-meta span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--soft-red);
    box-shadow: 0 0 0 3px rgba(227,93,106,.16); flex: none; }
  .hiw-meta span:nth-child(2)::before { background: var(--warm-sun); box-shadow: 0 0 0 3px rgba(220,20,60,.12); }
  .hiw-meta span:nth-child(3)::before { background: var(--amber-deep); box-shadow: 0 0 0 3px rgba(160,13,42,.16); }

  /* visual: larger mockup, flow chips spread around it, soft dashed connector */
  .hiw-intro-visual { gap: clamp(20px, 2.6vw, 38px); align-items: stretch; }
  .hiw-iv-flow { gap: 0; justify-content: space-between; align-self: stretch; padding: 12px 0; }
  .hiw-iv-flow::before { left: 21px; top: 22px; bottom: 22px; border-left: 2px dashed rgba(228,120,132,.2); }
  .hiw-iv-phone { width: clamp(252px, 21vw, 300px); }

  .hiw-bar-top { max-width: 720px; }
  .hiw-belowstage { max-width: 560px; }
  .hiw-progress { max-width: 380px; }

  /* browser window */
  .hiw-device {
    width: 100%; max-width: 640px; aspect-ratio: 3 / 2; border-radius: 16px; padding: 0;
    background: #fff; box-shadow: 0 42px 84px -34px rgba(23,33,38,.45), inset 0 0 0 1px var(--line);
    display: flex; flex-direction: column; overflow: hidden;
  }
  .hiw-cam { display: none; }
  .hiw-browserbar { display: flex; align-items: center; gap: 12px; flex: none; height: 42px; padding: 0 16px; background: linear-gradient(180deg, #fff, #f3f1e9); border-bottom: 1px solid var(--line); }
  .hiw-bdots { display: inline-flex; gap: 6px; flex: none; }
  .hiw-bdots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
  .hiw-bdots i:nth-child(1) { background: #ff6058; }
  .hiw-bdots i:nth-child(2) { background: #ffbd2e; }
  .hiw-bdots i:nth-child(3) { background: #28c840; }
  .hiw-url { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; max-width: 320px; margin: 0 auto; height: 26px; padding: 0 16px; border-radius: var(--r-pill); background: var(--cream-base); border: 1px solid var(--line-soft); font-family: var(--font-head); font-weight: 600; font-size: 12px; color: var(--coral-gray); }
  .hiw-url svg { width: 13px; height: 13px; color: var(--coral-text); flex: none; }
  .hiw-screens { border-radius: 0; flex: 1; }
  .hiw-scr { padding: 22px 26px; gap: 12px; }

  /* browse — 3-col grid of vertical cards */
  .scr-browse .sb-search { max-width: 360px; }
  .sb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: start; }
  .scr-browse .sb-grid > *:nth-child(n+4) { display: none; }  /* keep the browse grid to a single row so it never overflows (breaks out of) the mockup on desktop */
  .sb-card { flex-direction: column; align-items: stretch; gap: 6px; padding: 7px; }
  .sb-card-img { width: 100%; height: clamp(64px, 7.4vw, 80px); border-radius: 8px; }
  .sb-card-cat { display: block; position: absolute; top: 5px; left: 5px; font-family: var(--font-head); font-weight: 700; font-size: 9px; color: var(--coral-text); background: rgba(255,255,255,.92); padding: 3px 7px; border-radius: var(--r-pill); }
  .sb-card-tx { gap: 5px; }
  .sb-card-tx b { -webkit-line-clamp: 2; font-size: 11.5px; }

  /* campaign — image left, body right */
  .scr-camp { flex-direction: row; gap: 22px; align-items: stretch; }
  .sc-media { width: 46%; height: auto; }
  .sc-body { padding: 4px 0; justify-content: center; gap: 11px; }
  .sc-title { font-size: 23px; }
  .sc-desc { font-size: 13px; -webkit-line-clamp: 2; }
  .sc-stats b { font-size: 21px; }
  .sc-stats span { font-size: 12.5px; }
  .sc-pct { font-size: 15px; }
  .sc-donate { margin-top: 4px; align-self: flex-start; padding: 0 28px; height: 46px; }

  /* amount — 3-col, centered */
  .scr-amount { gap: 16px; max-width: 540px; margin-inline: auto; width: 100%; justify-content: center; }
  .sa-head b { font-size: 20px; }
  .sa-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .sa-amt { height: 58px; font-size: 18px; }
  .scr-amount .sc-donate { align-self: center; min-width: 260px; }

  /* confirm — larger */
  .sf-check { width: 88px; height: 88px; }
  .sf-t { font-size: 24px; }
  .sf-amt { font-size: 14px; }

  /* share — preview + row of 5 */
  .scr-share { max-width: 620px; margin-inline: auto; width: 100%; justify-content: center; gap: 16px; }
  .ss-head b { font-size: 19px; }
  .ss-preview { padding: 11px; }
  .ss-prev-img { width: 66px; height: 66px; }
  .ss-prev-tx b { font-size: 14px; }
  .ss-row { grid-template-columns: repeat(5, 1fr); gap: 9px; }
  .ss-btn { flex-direction: column; gap: 7px; text-align: center; padding: 13px 6px; font-size: 11px; }
  .ss-btn.b-copy { grid-column: auto; }
  .ss-btn svg { width: 18px; height: 18px; }

  /* desktop = mouse pointer indicator */
  .hiw-tap { width: 26px; height: 26px; }
  .hiw-tap::before { inset: 0; border-radius: 0; background: #fff; border: 1.5px solid rgba(0,0,0,.4); box-shadow: 0 2px 5px rgba(0,0,0,.28); clip-path: polygon(20% 8%, 20% 82%, 38% 66%, 50% 92%, 62% 86%, 50% 60%, 74% 60%); }
  .hiw-tap::after { inset: -8px; }
  .hiw-tap.click::before { animation: cur-click .45s var(--ease); }
  @keyframes cur-click { 0%,100% { transform: translate(0,0); } 45% { transform: translate(2px,2px); } }
}

/* ---- mobile spacing ---- */
@media (max-width: 860px) {
  .hiw-demo { gap: 18px; }

  /* === refined intro (clean, centered, premium) — video is the soft backdrop === */
  /* mobile reverted to the previous simple stacked copy: no card, no mockup */
  .hiw-intro { gap: 0; background: none; border: none; box-shadow: none; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hiw-intro-visual { display: none; }
  .hiw-intro-copy { max-width: 30rem; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hiw-intro-copy .nh-eyebrow { font-size: 11.5px; letter-spacing: .15em; color: var(--amber-deep); margin-bottom: 12px; }
  .hiw-intro-copy h2 { font-size: clamp(30px, 9vw, 40px); line-height: 1.04; color: var(--coral-red); margin-bottom: 14px; }
  .hiw-lead, .hiw-note { display: none; }
  .hiw-lead-m { display: block; font-size: 15.5px; line-height: 1.55; font-weight: 500; color: #5E3F44; max-width: 26ch; margin: 0 auto 26px; text-shadow: 0 1px 10px rgba(250,248,241,.5); }
  .hiw-start { align-self: center; width: auto; padding: 16px 30px; font-size: 16px; box-shadow: 0 10px 28px -14px rgba(160,13,42,.35), inset 0 1px 0 rgba(255,255,255,.45); }
  .hiw-meta { justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
  .hiw-meta i { display: none; }
  .hiw-meta span { padding: 7px 13px; border-radius: var(--r-pill); background: rgba(255,255,255,.9); border: 1px solid rgba(228,120,132,.12); box-shadow: var(--sh-xs); color: var(--coral-text); font-size: 12px; font-weight: 700; letter-spacing: .01em; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
}

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .hiw-intro, .hiw-demo, .hiw-scr { transition: opacity .2s linear; }
  .hiw-seg-fill { transition: width .2s linear !important; }
  .hiw-iv-glow, .hiw-iv-phone, .hiw-iv-chip,
  .hiw-scr.on > *, .scr-browse.on .sb-typed, .sb-caret,
  .scr-camp.on .sc-donate,
  .scr-confirm.on .sf-c, .scr-confirm.on .sf-k, .scr-confirm.on .sf-spark,
  .scr-share.on .ss-btn,
  .hiw-tap, .hiw-tap.click::before, .hiw-tap.click::after {
    animation: none !important;
  }
  /* show end-states statically */
  .sb-typed { max-width: 120px !important; }
  .sc-bar span { transition: none; }
  .sf-c, .sf-k { stroke-dashoffset: 0; }
  .ss-btn { opacity: 1 !important; transform: none !important; }
  .hiw-tap { display: none; }
}

/* ---- perf: skip rendering/compositing of heavy sections while they're off-screen ---- */
/* (cd-sheet is intentionally excluded — it hosts the sticky background video) */
.soh-section, .nh-final, .cd-more {
  content-visibility: auto;
  contain-intrinsic-size: auto 620px;
}

/* ============================================================
   ABOUT PAGE — institutional hero, timeline, 4-up value grid
   (layout only; reuses existing design tokens / identity)
   ============================================================ */
.ab-hero { position: relative; padding-top: calc(var(--header-h) + clamp(28px, 5vw, 56px)); padding-bottom: clamp(40px, 6vw, 74px); overflow: hidden; }
.ab-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(820px 380px at 88% -10%, rgba(245,181,186,.42), transparent 60%),
    radial-gradient(620px 320px at 4% 0%, rgba(220,20,60,.1), transparent 60%),
    linear-gradient(180deg, var(--soft-sand), var(--cream-base));
}
.ab-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.ab-hero-copy .breadcrumb { margin-bottom: 16px; }
.ab-hero-copy .eyebrow { margin-bottom: 16px; }
.ab-hero-copy h1 { font-size: clamp(31px, 4.6vw, 50px); line-height: 1.07; letter-spacing: -.015em; margin-bottom: 18px; max-width: 15ch; }
.ab-hero-sub { color: var(--text-2); font-size: clamp(15.5px, 1.5vw, 18px); line-height: 1.62; max-width: 52ch; }
.ab-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.ab-hero-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); aspect-ratio: 5 / 4; background: var(--soft-sand); }
.ab-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Timeline — vertical rail with icon nodes */
.ab-timeline { position: relative; max-width: 760px; margin: 0 auto; }
.ab-timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--fresh-green), var(--sage-mist)); opacity: .45; }
.ab-tl-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: clamp(24px, 3.4vw, 38px); }
.ab-tl-item:last-child { padding-bottom: 0; }
.ab-tl-ic { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: var(--cream-2); border: 1px solid var(--line-soft); box-shadow: var(--sh-xs); display: grid; place-items: center; color: var(--fresh-green); }
.ab-tl-ic svg { width: 26px; height: 26px; }
.ab-tl-body { padding-top: 7px; min-width: 0; }
.ab-tl-body h3 { font-size: clamp(18px, 2vw, 21px); margin-bottom: 6px; }
.ab-tl-body p { color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* 4-up value grid (Values + Partnerships) */
.value-grid.is-4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================================
   CAMPAIGN PAGE CLOSING — featured campaigns + why donate
   (replaces the old .cd-more showcase; reuses tokens/identity)
   ============================================================ */
.cd-featured { padding: clamp(40px, 6vw, 72px) 0; background: var(--cream-base); }
.cd-why { padding: clamp(40px, 6vw, 74px) 0; background: var(--soft-sand); }
.cd-final-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.fc-grid { display: flex; gap: clamp(14px, 3vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 4px; scrollbar-width: none; }
.fc-grid::-webkit-scrollbar { display: none; }
.fc-card { flex: 0 0 clamp(256px, 82%, 320px); scroll-snap-align: start; display: flex; flex-direction: column; background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-sm); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
@media (hover: hover) {
  .fc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--sage-soft); }
  .fc-card:hover .fc-card-media img { transform: scale(1.05); }
}
.fc-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft-sand); }
.fc-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.fc-card-cat { position: absolute; top: 12px; left: 12px; font-family: var(--font-head); font-weight: 700; font-size: 11px; color: var(--deep-meadow); background: rgba(255,255,255,.92); padding: 5px 11px; border-radius: var(--r-pill); box-shadow: var(--sh-xs); }
.fc-card-body { display: flex; flex-direction: column; flex: 1; padding: clamp(15px, 2vw, 20px); }
.fc-card-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.2; color: var(--ink); margin-bottom: 7px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fc-card-desc { color: var(--muted-green-gray); font-size: 13.5px; line-height: 1.5; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fc-card-bar { margin-top: auto; margin-bottom: 10px; }
.fc-card-bar .careflow { margin-top: 0; }
.fc-card-stats { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.fc-card-raised { font-family: var(--font-head); font-size: 13px; color: var(--muted-green-gray); }
.fc-card-raised b { font-weight: 800; font-size: 16px; color: var(--ink); letter-spacing: -.01em; }
.fc-card-pct { font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--fresh-green); }
.fc-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.fc-card-donors { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 12.5px; color: var(--muted-green-gray); }
.fc-card-donors svg { width: 14px; height: 14px; color: var(--coral-deep); flex: none; }
.fc-card-cta { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--deep-meadow); }
.fc-card-cta svg { width: 15px; height: 15px; }

/* campaign page: heavier headings/figures, donor avatar in "just donated", centered protect card */
body[data-page="campaign"] .cd-hero-h1,
body[data-page="campaign"] .cd-hero-h1d,
body[data-page="campaign"] .cd-fund-raised { font-weight: 800; }
body[data-page="campaign"] h2,
body[data-page="campaign"] .final-cta h2 { font-weight: 700; }
/* all campaign-card titles share the same sans (Plus Jakarta Sans) as the campaign-page featured cards */
.ccard .ccard-title, .bc-card-body h3, .fc-card-title, .soh-ac-body h3, .soh-body h3 { font-family: var(--font-head); font-weight: 700; }
.cd-recent-av { position: relative; width: 22px; height: 22px; border-radius: 50%; overflow: hidden; background: var(--sage-light); color: var(--deep-meadow); display: inline-grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 9px; flex: none; }
.cd-recent-av::before { content: attr(data-initials); }
.cd-recent-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body[data-page="campaign"] .cd-trust-protect { justify-content: center; }
body[data-page="campaign"] .cd-trust-protect-tx { text-align: center; }
body[data-page="campaign"] .cd-trust-protect-tx b { font-size: 15px; }

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

@media (max-width: 861px) {
  .ab-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .ab-hero-media { aspect-ratio: 16 / 10; }
  .ab-hero-copy h1 { max-width: 20ch; }
  .value-grid.is-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .value-grid.is-4 { grid-template-columns: 1fr; }
  .ab-timeline::before { left: 23px; }
  .ab-tl-item { grid-template-columns: 48px 1fr; gap: 15px; }
  .ab-tl-ic { width: 48px; height: 48px; }
  .ab-tl-ic svg { width: 23px; height: 23px; }
}
