/* ============================================================================
   NYOKA MASHINANI INITIATIVE — Design System
   "Sasa, Maa" — a design language rooted in the Maa people of Baringo.
   ----------------------------------------------------------------------------
   Colour symbolism follows Maasai/Maa beadwork tradition:
     RED    — bravery, strength, unity (the Shúkà itself)
     WHITE  — peace, purity, health
     BLUE   — energy, the sky, rain
     GREEN  — the land, health, cattle pasture
     AMBER  — hospitality, the sun
     BLACK  — the people, their endurance
   ========================================================================== */

/* ---------- Self-hosted fonts (no external requests) ---------- */
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Bead palette */
  --red:        #A4322A;
  --red-deep:   #7A211C;
  --red-bright: #C0392F;
  --ochre:      #C96F2E;
  --amber:      #E3A23C;
  --blue:       #2A6289;
  --green:      #3E7A4E;
  --white-bead: #FBF6EA;

  /* Earth neutrals */
  --ink:        #221812;
  --ink-soft:   #4A3A2E;
  --earth:      #6B4A34;
  --sand:       #F6EFE2;
  --sand-2:     #EFE4CF;
  --cream:      #FDFAF3;
  --line:       #E3D5BC;

  /* Semantic */
  --bg: var(--cream);
  --bg-alt: var(--sand);
  --text: var(--ink);
  --text-muted: #6E5B49;
  --primary: var(--red);
  --primary-hover: var(--red-deep);
  --accent: var(--amber);

  /* Type */
  --font-display: 'Sora', 'Trebuchet MS', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Rhythm */
  --radius: 14px;
  --radius-sm: 9px;
  --container: 1180px;
  --section-pad: clamp(4rem, 8vw, 6.5rem);
  --shadow-1: 0 1px 2px rgba(34,24,18,.06), 0 4px 14px rgba(34,24,18,.06);
  --shadow-2: 0 6px 18px rgba(34,24,18,.10), 0 16px 44px rgba(34,24,18,.12);

  /* Header */
  --header-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h, 74px) + 14px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-deep); }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }

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

/* The hidden attribute always wins, even against display rules */
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .8rem 1.4rem;
  border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* ---------- Layout helpers ---------- */
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: var(--sand); }
.section--dark h2, .section--dark h3 { color: var(--cream); }

.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red);
  margin-bottom: .9rem;
}
.section-head .kicker::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--red) 0 40%, var(--amber) 40% 70%, var(--green) 70% 100%);
}
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: -.01em; }
.section-head .lead { margin-top: .9rem; color: var(--text-muted); font-size: 1.06rem; }
.section--dark .section-head .lead { color: #CBB9A4; }
.section-head--center .kicker::before { display: none; }

/* ---------- Beadwork dividers (Maa craft in pure SVG) ---------- */
.bead-divider { display: block; width: 100%; height: 14px; }
.bead-divider--dark { background: var(--ink); }

/* Shúkà band — the red/black plaid of the Maa Shúkà */
.shuka-band {
  height: 12px;
  background:
    repeating-linear-gradient(90deg,
      var(--red) 0 26px, var(--ink) 26px 34px,
      var(--red) 34px 60px, var(--white-bead) 60px 66px,
      var(--ink) 66px 74px);
}
.shuka-band--thin { height: 7px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  min-height: 44px;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--red); color: var(--white-bead); box-shadow: var(--shadow-1); }
.btn--primary:hover { background: var(--primary-hover); color: var(--white-bead); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { transform: translateY(-2px); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: #EDB258; transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn .btn-arrow { transition: transform .18s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Chip (gallery filters / tags) */
.chip {
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  padding: .5rem 1.05rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--cream); color: var(--ink-soft); cursor: pointer;
  transition: all .16s ease; min-height: 40px;
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white-bead); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,250,243,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-1); }
.header-inner { display: flex; align-items: center; gap: 1.2rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 46px; height: 46px; }
.brand .brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; line-height: 1.1;
  letter-spacing: -.01em; display: block;
}
.brand .brand-tag { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--earth); }
.main-nav ul { display: flex; gap: .35rem; }
.main-nav a {
  display: block; padding: .55rem .8rem; border-radius: 8px;
  font-weight: 500; font-size: .92rem; color: var(--ink-soft); text-decoration: none;
}
.main-nav a:hover { background: var(--sand-2); color: var(--ink); }
.main-nav a.is-current { color: var(--red); font-weight: 600; position: relative; }
.main-nav a.is-current::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .28rem; height: 2px;
  background: var(--red); border-radius: 2px;
}
.header-cta { white-space: nowrap; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 10px; border: 1.5px solid var(--line);
  border-radius: 10px; background: var(--cream); cursor: pointer;
}
.nav-toggle span { display: block; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .22s ease, opacity .22s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* the drawer CTA is mobile-only — base rule MUST precede the media query */
.main-nav .drawer-cta { display: none; }

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    background: var(--cream); border-bottom: 3px solid var(--red);
    box-shadow: var(--shadow-2); padding: 1rem 1.5rem 1.6rem;
    transform: translateY(-130%); transition: transform .28s ease; visibility: hidden;
  }
  .main-nav.is-open { transform: translateY(0); visibility: visible; }
  .main-nav ul { flex-direction: column; gap: .1rem; }
  .main-nav a { padding: .85rem .6rem; font-size: 1.05rem; border-bottom: 1px solid var(--sand-2); }
  .main-nav a.is-current::after { display: none; }
  .main-nav a.is-current { background: var(--sand-2); border-radius: 8px; border-bottom-color: transparent; }
  .header-cta { display: none; }
  .main-nav .drawer-cta { display: inline-flex; margin-top: 1.1rem; width: 100%; justify-content: center; }
}

/* ---------- Hero — the Shúkà stage ---------- */
.hero {
  position: relative; min-height: max(92svh, 620px);
  display: flex; align-items: flex-end;
  background: var(--ink); color: var(--cream); overflow: hidden; isolation: isolate;
}
.hero-stage { position: absolute; inset: 0; z-index: -1; display: flex; }
.hero-panel {
  position: relative; flex: 1 1 50%; overflow: hidden;
  /* Split reveal: each half wipes open from the outer edge */
  clip-path: inset(0 0 0 0);
}
.hero-panel--left { animation: hero-wipe-left 1.1s cubic-bezier(.77,0,.18,1) .15s both; }
.hero-panel--right { animation: hero-wipe-right 1.1s cubic-bezier(.77,0,.18,1) .3s both; }
@keyframes hero-wipe-left  { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hero-wipe-right { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }

/* Slides: each panel carries TWO photographs — the cloth alive now and the
   one the wind will bring. hero-shuka.js drives every swap, mask and swap
   of the .is-live state; CSS only makes the state changes smooth. */
.hero-slide { position: absolute; inset: 0; }
.hero-fig { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hero-fig.is-live { opacity: 1; }
.hero-fig picture, .hero-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23,15,10,.88) 0%, rgba(23,15,10,.38) 45%, rgba(23,15,10,.18) 100%);
}
/* Gentle Ken-Burns drift so the resting still feels alive (kept subtle and
   short-lived so the wind threads stay aligned with the cloth) */
.hero-fig.is-live img { animation: hero-drift 11s ease-out both; }
@keyframes hero-drift { from { transform: scale(1.035); } to { transform: scale(1); } }

/* The wind layer — cloth pixels tear loose here and streak away in the gust
   (canvas is a replaced element: inset alone won't stretch it) */
.hero-atoms { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }

/* The beadwork weave — red & black squares materialise as the cloth
   departs, hold a beat, then fade away in a rolling wave to reveal the
   next photograph. Squares stagger by column (--c), jittered (--j). */
.hero-mosaic { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.hero-mosaic i {
  position: absolute; display: block; opacity: 0; transform: scale(.9);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--c, 0) * var(--dstep, 0ms) + var(--j, 0ms));
}
.hero-mosaic.is-on i { opacity: .88; transform: scale(1); }

/* Beaded seam where the two halves meet */
.hero-seam {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 10px; transform: translateX(-50%);
  z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(180deg,
    var(--red) 0 22px, var(--amber) 22px 40px,
    var(--white-bead) 40px 52px, var(--green) 52px 74px,
    var(--blue) 74px 96px, var(--ink) 96px 110px);
  opacity: 0; animation: seam-in .8s ease .9s both;
  box-shadow: 0 0 22px rgba(0,0,0,.35);
}
@keyframes seam-in { from { opacity: 0; transform: translateX(-50%) scaleY(0); } to { opacity: 1; transform: translateX(-50%) scaleY(1); } }

@media (max-width: 760px) {
  .hero-stage { flex-direction: column; }
  .hero-seam { display: none; }
}

.hero-content { position: relative; z-index: 3; padding-block: clamp(2.5rem, 6vw, 5rem); width: 100%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--amber);
  padding: .5rem 1rem; border: 1.5px solid rgba(227,162,60,.5); border-radius: 999px;
  background: rgba(34,24,18,.35); backdrop-filter: blur(4px);
  animation: rise-in .8s ease .7s both;
}
.hero-title {
  font-size: clamp(2.3rem, 6.4vw, 4.6rem); font-weight: 800; letter-spacing: -.02em;
  max-width: 15ch; margin-top: 1.1rem; text-wrap: balance;
  text-shadow: 0 2px 26px rgba(15, 8, 4, .5);
}
.hero-title .word { display: inline-block; animation: rise-in .6s cubic-bezier(.2,.7,.2,1) both; }
.hero-title .accent { color: var(--amber); }
.hero-sub { max-width: 56ch; margin-top: 1.1rem; font-size: clamp(1rem, 1.6vw, 1.16rem); color: #EADCC8; animation: rise-in .6s ease 1.05s both; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.9rem; animation: rise-in .6s ease 1.18s both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero-meta { display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; margin-top: 2.6rem; animation: rise-in .65s ease 1.32s both; }
.hero-meta .meta-item { display: flex; align-items: center; gap: .65rem; font-size: .9rem; color: #E4D5BF; }
.hero-meta .meta-item svg { width: 20px; height: 20px; color: var(--amber); flex: none; }

.hero-scroll {
  position: absolute; right: clamp(1.2rem, 4vw, 3rem); bottom: 1.6rem; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: #CBBA9F;
  animation: rise-in 1s ease 2s both;
}
.hero-scroll .mouse { width: 26px; height: 42px; border: 2px solid #CBBA9F; border-radius: 15px; position: relative; }
.hero-scroll .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 3px; background: var(--amber); animation: wheel 1.8s ease infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }
@media (max-width: 760px) { .hero-scroll { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero-panel--left, .hero-panel--right, .hero-seam,
  .hero-eyebrow, .hero-title .word, .hero-sub, .hero-ctas, .hero-meta, .hero-scroll { animation: none !important; }
  .hero-slide, .hero-fig { transition: none; }
  .hero-atoms, .hero-mosaic { display: none; }
}

/* ---------- v2 polish — professional micro-interactions ---------- */
/* Primary button: a bead-stitch seam along the top edge + light sweep */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: repeating-linear-gradient(90deg,
    var(--white-bead) 0 7px, transparent 7px 13px);
  opacity: .85; border-radius: 999px 999px 0 0;
}
.btn--primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -68%; width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg); transition: left .5s ease; pointer-events: none;
}
.btn--primary:hover::after { left: 125%; }

/* Stat cells respond to the cursor — quiet confidence */
.stat-cell { transition: background-color .2s ease; }
.stat-cell:hover { background: #2A1D13; }
.stat-cell:hover .stat-num { text-shadow: 0 0 24px rgba(227,162,60,.45); }

/* Hero eyebrow arrives a touch sooner */
.hero-eyebrow { animation-delay: .55s; }

/* Scroll indicator fades out once the visitor commits to scrolling */
.hero-scroll { transition: opacity .4s ease; }
.hero.is-left .hero-scroll { opacity: 0; }
/* ---------- Impact stats strip ---------- */
.stats-strip { background: var(--ink); color: var(--cream); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(227,162,60,.25); border-block: 1px solid rgba(227,162,60,.25); }
.stat-cell { background: var(--ink); padding: clamp(1.6rem, 3.5vw, 2.6rem) 1.2rem; text-align: center; }
.stat-cell .stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.9rem); color: var(--amber); letter-spacing: -.02em; }
.stat-cell .stat-label { margin-top: .3rem; font-size: .85rem; color: #CBBA9F; font-weight: 500; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.2rem); align-items: center; }
@media (max-width: 880px) { .story-grid { grid-template-columns: 1fr; } }
.story-figure { position: relative; }
.story-figure .frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2);
  border: 6px solid var(--cream); outline: 1px solid var(--line);
  transform: rotate(-1.2deg);
}
.story-figure img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.story-figure .bead-edge {
  position: absolute; inset: auto -14px -14px auto; width: 118px; height: 118px; z-index: -1;
  border-radius: 50%;
  background: repeating-conic-gradient(var(--red) 0 30deg, var(--amber) 30deg 60deg, var(--green) 60deg 90deg, var(--blue) 90deg 120deg, var(--white-bead) 120deg 150deg, var(--ink) 150deg 180deg);
}
.story-figure .fig-caption {
  position: absolute; left: 1.1rem; bottom: 1.1rem; right: 1.1rem;
  background: rgba(34,24,18,.72); color: var(--cream); backdrop-filter: blur(6px);
  padding: .55rem .9rem; border-radius: 9px; font-size: .8rem; line-height: 1.45;
}
.mv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.8rem; }
[data-slot="story-narrative"] p + p { margin-top: 1rem; }
@media (max-width: 520px) { .mv-cards { grid-template-columns: 1fr; } }
.mv-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem 1.3rem; border-top: 4px solid var(--amber); }
.mv-card.vision { border-top-color: var(--green); }
.mv-card h3 { font-size: .95rem; display: flex; align-items: center; gap: .5rem; }
.mv-card h3 svg { width: 19px; height: 19px; color: var(--earth); }
.mv-card p { margin-top: .45rem; font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- Pillars (bead-coded cards) ---------- */
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 1020px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.6rem; position: relative; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.pillar-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--bead, var(--red)); }
.pillar-card::after {
  content: ""; position: absolute; right: -34px; top: -34px; width: 110px; height: 110px; border-radius: 50%;
  background: var(--bead, var(--red)); opacity: .08; transition: transform .3s ease;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.pillar-card:hover::after { transform: scale(1.5); }
.pillar-icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--bead, var(--red)) 14%, var(--cream));
  color: var(--bead, var(--red)); margin-bottom: 1.05rem;
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar-card h3 { font-size: 1.08rem; letter-spacing: -.01em; }
.pillar-card p { margin-top: .6rem; font-size: .92rem; color: var(--text-muted); }
.pillar-num {
  position: absolute; right: 1.1rem; bottom: .7rem;
  font-family: var(--font-display); font-weight: 800; font-size: 2.2rem;
  color: var(--bead, var(--red)); opacity: .13; letter-spacing: -.04em;
}

/* ---------- Programs ---------- */
.program-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.35fr); gap: 1.4rem; align-items: stretch; }
@media (max-width: 880px) { .program-row { grid-template-columns: 1fr; } }
.program-list { display: flex; flex-direction: column; gap: .8rem; }
.program-tab {
  text-align: left; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.05rem 1.25rem; cursor: pointer; display: flex; align-items: center; gap: 1rem;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.program-tab:hover { transform: translateX(4px); }
.program-tab .p-ico {
  flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--bead, var(--red)) 13%, var(--cream)); color: var(--bead, var(--red));
}
.program-tab .p-ico svg { width: 22px; height: 22px; }
.program-tab h3 { font-size: 1rem; }
.program-tab p { font-size: .82rem; color: var(--text-muted); margin-top: .15rem; }
.program-tab[aria-selected="true"] { border-color: var(--bead, var(--red)); background: color-mix(in srgb, var(--bead, var(--red)) 7%, var(--cream)); }
.program-panel {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem); position: relative; overflow: hidden; min-height: 320px;
}
.program-panel::before { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 6px; background: var(--bead, var(--red)); }
.program-panel .pp-body h3 { font-size: 1.35rem; }
.program-panel .pp-body > p { margin-top: .8rem; color: var(--text-muted); }
.pp-points { margin-top: 1.3rem; display: grid; gap: .75rem; }
.pp-points li { display: flex; gap: .7rem; font-size: .94rem; align-items: flex-start; }
.pp-points li svg { flex: none; width: 20px; height: 20px; color: var(--bead, var(--red)); margin-top: .15rem; }

/* ---------- Activities timeline ---------- */
.timeline { position: relative; display: grid; gap: 1.4rem; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px;
  background: repeating-linear-gradient(180deg, var(--red) 0 14px, transparent 14px 22px); }
@media (min-width: 820px) { .timeline { grid-template-columns: repeat(2, 1fr); } .timeline::before { display: none; } }
.activity-card {
  position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.35rem 1.45rem 1.25rem 3.4rem;
}
@media (min-width: 820px) { .activity-card { padding-left: 1.45rem; } }
.activity-card::before {
  content: ""; position: absolute; left: 9px; top: 1.55rem; width: 19px; height: 19px; border-radius: 50%;
  background: var(--bead, var(--red)); border: 4px solid var(--cream); box-shadow: 0 0 0 2px var(--bead, var(--red));
}
@media (min-width: 820px) { .activity-card::before { display: none; } }
.activity-card .a-date { font-family: var(--font-display); font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bead, var(--red)); }
.activity-card h3 { margin-top: .3rem; font-size: 1.05rem; }
.activity-card .a-loc { display: inline-flex; align-items: center; gap: .35rem; margin-top: .55rem; font-size: .82rem; color: var(--text-muted); }
.activity-card .a-loc svg { width: 15px; height: 15px; }
.activity-card p { margin-top: .55rem; font-size: .9rem; color: var(--text-muted); }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.8rem; }
.gallery-masonry { columns: 3; column-gap: 1.1rem; }
@media (max-width: 940px) { .gallery-masonry { columns: 2; } }
@media (max-width: 560px) { .gallery-masonry { columns: 1; } }
.gallery-item {
  break-inside: avoid; margin-bottom: 1.1rem; position: relative; border-radius: var(--radius-sm);
  overflow: hidden; border: 0; padding: 0; background: none; cursor: zoom-in; display: block; width: 100%;
}
.gallery-item img { width: 100%; height: auto; transition: transform .45s ease; }
.gallery-item .g-cap {
  position: absolute; inset: auto 0 0 0; padding: 2.2rem .95rem .8rem;
  background: linear-gradient(to top, rgba(23,15,10,.82), transparent);
  color: var(--cream); text-align: left; opacity: 0; transform: translateY(8px); transition: all .28s ease;
}
.gallery-item .g-cap strong { display: block; font-family: var(--font-display); font-size: .92rem; }
.gallery-item .g-cap span { font-size: .76rem; color: #E3D3BC; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.05); }
.gallery-item:hover .g-cap, .gallery-item:focus-visible .g-cap { opacity: 1; transform: none; }
.gallery-item.is-hidden { display: none; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1020px, 94vw); }
.lightbox::backdrop { background: rgba(15,9,6,.9); backdrop-filter: blur(4px); }
.lightbox .lb-body { position: relative; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 10px; }
.lightbox .lb-cap { margin-top: .8rem; color: var(--sand); text-align: center; font-size: .92rem; }
.lightbox .lb-cap strong { font-family: var(--font-display); }
.lightbox .lb-close {
  position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--amber); color: var(--ink); border: 0; cursor: pointer; font-size: 1.2rem; display: grid; place-items: center;
}
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(253,250,243,.16); color: var(--cream); font-size: 1.3rem; display: grid; place-items: center; transition: background .18s ease; }
.lightbox .lb-nav:hover { background: rgba(253,250,243,.34); }
.lightbox .lb-prev { left: 10px; } .lightbox .lb-next { right: 10px; }

/* ---------- Videos ---------- */
.videos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.video-card:only-child { grid-column: 1 / -1; }
@media (max-width: 780px) { .videos-grid { grid-template-columns: 1fr; } }
.video-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-frame { position: relative; aspect-ratio: 16/9; background: var(--ink); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.video-card .v-body { padding: 1.1rem 1.3rem 1.25rem; }
.video-card .v-body h3 { font-size: 1.02rem; }
.video-card .v-body p { margin-top: .35rem; font-size: .86rem; color: var(--text-muted); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 1020px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.team-card .t-photo { position: relative; aspect-ratio: 1; background: var(--sand-2); }
.team-card .t-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .t-photo .t-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--cream);
  background: repeating-linear-gradient(45deg, var(--bead, var(--red)) 0 14px, color-mix(in srgb, var(--bead, var(--red)) 78%, black) 14px 28px); }
.team-card .t-founder {
  position: absolute; top: .8rem; left: .8rem; font-family: var(--font-display); font-weight: 700; font-size: .66rem;
  letter-spacing: .14em; text-transform: uppercase; background: var(--amber); color: var(--ink);
  padding: .32rem .7rem; border-radius: 999px;
}
.team-card .t-body { padding: 1.1rem 1.25rem 1.3rem; }
.team-card .t-body h3 { font-size: 1.04rem; }
.team-card .t-role { color: var(--red); font-size: .82rem; font-weight: 600; margin-top: .2rem; }
.team-card .t-bio { margin-top: .6rem; font-size: .86rem; color: var(--text-muted); line-height: 1.6; }
.team-card .t-social { display: flex; gap: .45rem; margin-top: .9rem; }
.team-card .t-social a { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--sand-2); color: var(--ink-soft); transition: all .16s ease; }
.team-card .t-social a:hover { background: var(--red); color: var(--cream); }
.team-card .t-social svg { width: 17px; height: 17px; }
/* ---------- Resources ---------- */
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 960px) { .resources-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .resources-grid { grid-template-columns: 1fr; } }
.resource-card {
  display: flex; gap: 1.05rem; align-items: flex-start; background: var(--cream);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.3rem;
  text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--bead, var(--red)); color: inherit; }
.resource-card .r-ico {
  flex: none; width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--bead, var(--red)) 13%, var(--cream)); color: var(--bead, var(--red));
}
.resource-card .r-ico svg { width: 24px; height: 24px; }
.resource-card h3 { font-size: .98rem; }
.resource-card .r-type { display: inline-block; margin-top: .25rem; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bead, var(--red)); }
.resource-card p { margin-top: .45rem; font-size: .85rem; color: var(--text-muted); }
.resource-card .r-arrow { margin-left: auto; align-self: center; flex: none; color: var(--text-muted); transition: transform .18s ease, color .18s ease; }
.resource-card:hover .r-arrow { transform: translateX(4px); color: var(--red); }

/* ---------- Get involved ---------- */
.involve-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 1000px) { .involve-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .involve-grid { grid-template-columns: 1fr; } }
.involve-card {
  background: rgba(253,250,243,.045); border: 1px solid rgba(251,246,234,.16); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; color: var(--sand); display: flex; flex-direction: column; gap: .6rem;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.involve-card:hover { transform: translateY(-6px); background: rgba(253,250,243,.08); border-color: var(--bead, var(--amber)); }
.involve-card .i-ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--bead, var(--amber)); color: var(--ink); }
.involve-card .i-ico svg { width: 25px; height: 25px; }
.involve-card h3 { font-size: 1.1rem; color: var(--cream); }
.involve-card p { font-size: .9rem; color: #D5C4AB; flex: 1; }
.involve-card .i-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--amber); font-weight: 600; font-size: .9rem; text-decoration: none; }
.involve-card .i-link:hover { color: #F2BE6A; gap: .7rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 1rem; align-content: start; }
.contact-line { display: flex; gap: 1rem; align-items: flex-start; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; }
.contact-line .c-ico { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--bead, var(--red)) 13%, var(--cream)); color: var(--bead, var(--red)); }
.contact-line .c-ico svg { width: 21px; height: 21px; }
.contact-line h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.contact-line p { margin-top: .15rem; font-weight: 500; word-break: break-word; }
.contact-note { font-size: .85rem; color: var(--text-muted); background: var(--sand-2); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }

.contact-form-wrap { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3.5vw, 2.4rem); box-shadow: var(--shadow-1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: grid; gap: .4rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-display); font-weight: 600; font-size: .84rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: .78rem 1rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--bg); transition: border-color .16s ease, box-shadow .16s ease; min-height: 46px;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent); }
.form-field .err { display: none; color: var(--red); font-size: .78rem; font-weight: 500; }
.form-field.has-error input, .form-field.has-error textarea { border-color: var(--red); }
.form-field.has-error .err { display: block; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .4rem; }
.form-foot small { color: var(--text-muted); flex: 1; min-width: 220px; }
.form-status { display: none; margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 10px; font-size: .9rem; }
.form-status.is-ok { display: block; background: #E8F2E9; color: #2C5E38; border: 1px solid #BCDCC2; }
.form-status.is-err { display: block; background: #F9E9E7; color: #7A211C; border: 1px solid #E7C0BB; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9B79E; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.4rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.4rem; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { width: 58px; height: 58px; margin-bottom: 1rem; }
.footer-brand .f-name { font-family: var(--font-display); font-weight: 800; color: var(--cream); font-size: 1.1rem; }
.footer-brand p { margin-top: .8rem; font-size: .9rem; line-height: 1.7; max-width: 34ch; }
.footer-col h3 { color: var(--amber); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a { color: #C9B79E; text-decoration: none; font-size: .92rem; }
.footer-col a:hover { color: var(--cream); text-decoration: underline; }
.newsletter p { font-size: .9rem; margin-bottom: .9rem; }
.newsletter-form { display: flex; gap: .5rem; }
.newsletter-form input { flex: 1; min-width: 0; padding: .72rem 1rem; border-radius: 10px; border: 1.5px solid rgba(251,246,234,.22); background: rgba(251,246,234,.07); color: var(--cream); min-height: 46px; }
.newsletter-form input::placeholder { color: #96836B; }
.newsletter-form button { flex: none; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(251,246,234,.08); color: var(--sand); transition: all .16s ease; }
.footer-social a:hover { background: var(--red); color: var(--cream); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom {
  border-top: 1px solid rgba(251,246,234,.12); padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .8rem 2rem; align-items: center; justify-content: space-between;
  font-size: .82rem;
}
.footer-bottom .f-legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom a { color: #C9B79E; }
.footer-bottom a:hover { color: var(--cream); }
.footer-bottom .f-note { color: #96836B; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.6rem; transform: translate(-50%, 140%); z-index: 300;
  background: var(--ink); color: var(--cream); padding: .85rem 1.4rem; border-radius: 999px;
  font-size: .88rem; box-shadow: var(--shadow-2); display: flex; align-items: center; gap: .6rem;
  transition: transform .35s cubic-bezier(.2,.7,.2,1.2); max-width: min(92vw, 480px);
  /* an empty toast shrinks small — 140% of a small box still peeks on-screen,
     so visibility (not transform alone) is what truly hides it */
  visibility: hidden;
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; }
.toast svg { width: 18px; height: 18px; color: var(--amber); flex: none; }

/* ---------- Reveal on scroll — tuned fast so scrolling never waits ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .05s; } .reveal[data-delay="2"] { transition-delay: .1s; }
.reveal[data-delay="3"] { transition-delay: .15s; } .reveal[data-delay="4"] { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--sand); border-bottom: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.legal-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.legal-hero .crumb { font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; display: flex; gap: .45rem; align-items: center; }
.legal-hero .crumb a { color: var(--text-muted); }
.legal-hero .updated { margin-top: .8rem; font-size: .85rem; color: var(--text-muted); }
.legal-body { max-width: 800px; margin-inline: auto; padding-block: var(--section-pad); }
.legal-body h2 { font-size: 1.35rem; margin-top: 2.4rem; padding-left: .85rem; border-left: 4px solid var(--red); }
.legal-body h3 { font-size: 1.08rem; margin-top: 1.8rem; }
.legal-body p, .legal-body li { color: var(--ink-soft); margin-top: .8rem; }
.legal-body ul { padding-left: 1.3rem; list-style: disc; }
.legal-body li { margin-top: .45rem; }

/* ---------- 404 ---------- */
.nf-wrap { min-height: 72svh; display: grid; place-items: center; text-align: center; padding: 4rem 1.5rem; }
.nf-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 14vw, 8rem); letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(120deg, var(--red) 30%, var(--ochre) 60%, var(--amber) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-wrap h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: .6rem; }
.nf-wrap p { color: var(--text-muted); max-width: 46ch; margin: 1rem auto 1.8rem; }

/* ---------- Print & misc ---------- */
@media print {
  .site-header, .site-footer, .hero-scroll, .toast, .hero-atoms, .hero-mosaic { display: none !important; }
  body { background: #fff; }
}

/* ============================================================================
   v3 — "VISUAL GLUE" LAYER
   Psychology-driven upgrades on top of the design system:
   • progress you can feel   (scroll bar, back-to-top ring, counters)
   • actions that answer     (ripple, magnetic CTAs, gradient glow buttons)
   • social proof            (voices carousel, impact tiers, marquee)
   • care made visible       (snakebite first-aid card, always-on captions)
   ========================================================================== */

/* ---------- Scroll progress — a beadwork thread across the top ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 400;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--red) 0%, var(--ochre) 38%, var(--amber) 66%, var(--green) 100%);
  pointer-events: none; will-change: transform;
}

/* ---------- Header — deeper glass ---------- */
.site-header {
  background: rgba(253,250,243,.88);
  backdrop-filter: blur(14px) saturate(1.35);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled { background: rgba(253,250,243,.95); }

/* ---------- Buttons — gradient glow, ripple, magnetic ---------- */
.btn { position: relative; overflow: hidden; }
.btn--primary {
  background: linear-gradient(135deg, #C0392F 0%, #A4322A 55%, #8A2620 100%);
  box-shadow: 0 6px 16px -6px rgba(164,50,42,.55);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #CB4439 0%, #A4322A 55%, #7A211C 100%);
  box-shadow: 0 12px 28px -8px rgba(164,50,42,.62);
}
.btn--ghost:hover { background: rgba(253,250,243,.14); }
.btn--amber { background: linear-gradient(135deg, #EDB258, #E3A23C 60%, #D18F2B); }
.btn--amber:hover { background: linear-gradient(135deg, #F2BE6A, #E3A23C 60%, #C97F2E); }
.ripple {
  position: absolute; border-radius: 50%; transform: scale(0);
  background: rgba(255,255,255,.38); pointer-events: none;
  animation: ripple .55s ease-out forwards;
}
@keyframes ripple { to { transform: scale(2.4); opacity: 0; } }

/* ---------- Chips — counted, lifted, gradient-active ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1.05rem; min-height: 42px;
  font-weight: 700; font-size: .82rem;
  background: var(--cream); border: 1.5px solid var(--line); color: var(--ink-soft);
}
.chip:hover {
  border-color: var(--red); color: var(--red);
  transform: translateY(-2px); box-shadow: var(--shadow-1);
}
.chip .chip-count {
  font-size: .68rem; font-weight: 700; padding: .12rem .5rem;
  border-radius: 999px; background: var(--sand-2); color: var(--text-muted);
}
.chip.is-active {
  background: linear-gradient(135deg, #C0392F, #A4322A 60%, #7A211C);
  border-color: transparent; color: #fff;
  box-shadow: 0 6px 16px -6px rgba(164,50,42,.5);
}
.chip.is-active .chip-count { background: rgba(255,255,255,.22); color: #fff; }

/* ---------- Bead marquee — the promise strip in motion ---------- */
.bead-marquee {
  background: var(--ink); color: #D9C6A8; overflow: hidden;
  padding: .85rem 0; border-block: 1px solid rgba(227,162,60,.28);
}
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; will-change: transform; }
.bead-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem; }
.marquee-group span {
  display: flex; align-items: center; gap: 2.6rem; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; font-size: .76rem;
}
.marquee-group span::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 0 3px rgba(227,162,60,.2);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Impact stats — gradient numerals, bead kicker ---------- */
.stat-cell { position: relative; overflow: hidden; }
.stat-cell::before {
  content: ""; display: block; width: 26px; height: 4px; margin: 0 auto .95rem;
  border-radius: 2px; opacity: .9;
  background: linear-gradient(90deg, var(--red) 0 40%, var(--amber) 40% 70%, var(--green) 70% 100%);
}
.stat-cell .stat-num {
  background: linear-gradient(120deg, #F4CB7E 0%, var(--amber) 45%, #C97F2E 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--amber);
}
.stat-cell:hover .stat-num { text-shadow: none; filter: drop-shadow(0 0 16px rgba(227,162,60,.45)); }

/* ---------- Program panel — slide-up choreography on every switch ---------- */
.program-panel .pp-body.is-in { animation: pp-in .34s cubic-bezier(.2,.7,.2,1) both; }
@keyframes pp-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Gallery — pop-in on filter, captions always visible on touch ---- */
.gallery-item.pop { animation: g-pop .42s cubic-bezier(.2,.7,.2,1) both; }
@keyframes g-pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@media (hover: none) {
  .gallery-item .g-cap { opacity: 1; transform: none; }
}

/* ---------- Lightbox v2 — counter, dark pills, photo swap choreography ----- */
.lightbox .lb-close {
  top: .7rem; right: .7rem;
  background: rgba(15,9,6,.72); color: var(--cream);
  border: 1px solid rgba(251,246,234,.22); backdrop-filter: blur(4px);
}
.lightbox .lb-close:hover { background: rgba(15,9,6,.9); }
.lightbox .lb-count {
  position: absolute; top: .85rem; left: .9rem; z-index: 1;
  background: rgba(15,9,6,.72); color: var(--cream);
  border: 1px solid rgba(251,246,234,.22); backdrop-filter: blur(4px);
  padding: .32rem .8rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
}
.lightbox img.lb-in { animation: lb-in .38s cubic-bezier(.2,.7,.2,1); }
@keyframes lb-in { from { opacity: 0; transform: scale(.965); } }

/* ---------- Voices — the social-proof carousel ---------- */
.section--voices { background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%); }
.voices-stage { max-width: 800px; margin-inline: auto; }
.voice-track { position: relative; }
.voice-quote {
  position: absolute; top: 0; left: 0; right: 0;
  display: grid; gap: 1.1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.99);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1), visibility 0s linear .5s;
  pointer-events: none;
}
.voice-quote.is-active {
  opacity: 1; visibility: visible; transform: none;
  transition-delay: 0s; pointer-events: auto;
}
.voice-quote .v-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--bead, var(--red)) 14%, var(--cream));
  color: var(--bead, var(--red));
}
.voice-quote .v-mark svg { width: 22px; height: 22px; }
.voice-quote blockquote {
  font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.62;
  color: var(--ink-soft); font-weight: 500;
}
.voice-quote figcaption { display: flex; align-items: center; gap: .85rem; }
.voice-quote .v-avatar {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--cream);
  background: linear-gradient(135deg, var(--bead, var(--red)), color-mix(in srgb, var(--bead, var(--red)) 55%, #1a0f08));
}
.voice-quote .v-who strong { display: block; font-family: var(--font-display); font-size: .95rem; }
.voice-quote .v-who em { font-style: normal; font-size: .8rem; color: var(--text-muted); }
.voice-dots { display: flex; justify-content: center; gap: .55rem; margin-top: 1.4rem; }
.voice-dot {
  width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0;
  background: var(--line); cursor: pointer; transition: all .25s ease;
}
.voice-dot:hover { background: var(--earth); }
.voice-dot.is-active { width: 28px; background: linear-gradient(90deg, var(--red), var(--amber)); }

/* ---------- First-aid card — care, made impossible to miss ---------- */
.aid-card {
  border-radius: var(--radius); padding: 1.25rem 1.3rem;
  border: 2px solid transparent;
  background: linear-gradient(var(--cream), var(--cream)) padding-box,
              linear-gradient(135deg, var(--red), var(--amber)) border-box;
  box-shadow: var(--shadow-1);
}
.aid-title {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 800; font-size: .98rem;
  color: var(--red-deep);
}
.aid-title svg { width: 20px; height: 20px; color: var(--red); flex: none; }
.aid-steps {
  list-style: none; counter-reset: aid;
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .9rem;
}
.aid-steps li {
  counter-increment: aid; position: relative;
  background: #FBF1EC; border: 1px solid #F0D9CE; border-radius: 10px;
  padding: .6rem .7rem .6rem 2.35rem;
}
.aid-steps li::before {
  content: counter(aid); position: absolute; left: .6rem; top: .62rem;
  width: 22px; height: 22px; border-radius: 50%; text-align: center;
  background: var(--red); color: #fff;
  font: 700 .72rem/22px var(--font-display);
}
.aid-steps strong { display: block; font-family: var(--font-display); font-size: .84rem; }
.aid-steps span { display: block; font-size: .76rem; color: var(--text-muted); margin-top: .12rem; line-height: 1.45; }
.aid-never {
  margin-top: .85rem; font-size: .84rem; font-weight: 700; color: var(--red-deep);
  display: flex; align-items: center; gap: .5rem;
}
.aid-never::before {
  content: "✕"; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red); color: #fff; text-align: center;
  font: 700 10px/18px var(--font-body);
}
@media (max-width: 560px) { .aid-steps { grid-template-columns: 1fr; } }

/* ---------- Get involved — glow, feature card, impact tiers ---------- */
.section--dark {
  background-color: var(--ink);
  background-image:
    radial-gradient(720px 400px at 50% -80px, rgba(227,162,60,.15), transparent 70%),
    radial-gradient(900px 520px at 100% 120%, rgba(164,50,42,.12), transparent 60%);
}
.involve-card--feature {
  background: linear-gradient(160deg, rgba(164,50,42,.24), rgba(253,250,243,.05) 58%);
  border-color: rgba(227,162,60,.4);
}
.involve-card--feature:hover { border-color: var(--amber); }
.impact-tiers { display: grid; gap: .45rem; margin: .35rem 0 1.05rem; }
.impact-tiers li {
  display: flex; align-items: baseline; justify-content: space-between; gap: .7rem;
  border-bottom: 1px dashed rgba(251,246,234,.22); padding-bottom: .45rem;
  font-size: .84rem; color: #D5C4AB;
}
.impact-tiers b { font-family: var(--font-display); font-weight: 700; color: var(--amber); white-space: nowrap; }

/* ---------- Floating action cluster — always one tap away ---------- */
.fab-cluster {
  position: fixed; right: clamp(.9rem, 2vw, 1.4rem); bottom: clamp(.9rem, 2vw, 1.4rem);
  z-index: 250; display: grid; justify-items: end; gap: .65rem;
  opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1);
}
.fab-cluster.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab { border: 0; cursor: pointer; box-shadow: 0 10px 26px -8px rgba(20,12,7,.5); }
.fab--top {
  position: relative; width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: var(--cream); display: grid; place-items: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.fab--top:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -8px rgba(20,12,7,.6); }
.fab--top > svg:last-child { width: 20px; height: 20px; position: relative; }
.fab--top .ring {
  position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px);
  transform: rotate(-90deg);
}
.fab--donate {
  position: relative; display: inline-flex; align-items: center; gap: .5rem;
  height: 46px; padding: 0 1.15rem; border-radius: 999px;
  background: linear-gradient(135deg, #C0392F, #A4322A 55%, #7A211C);
  color: #fff; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: .88rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.fab--donate:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(164,50,42,.6); }
.fab--donate svg { width: 17px; height: 17px; animation: heart 2.8s ease-in-out infinite; }
@keyframes heart {
  0%, 100% { transform: scale(1); }
  12% { transform: scale(1.16); } 24% { transform: scale(1); }
  36% { transform: scale(1.1); } 48% { transform: scale(1); }
}
.fab--donate .fab-close {
  position: absolute; top: -8px; right: -8px; width: 21px; height: 21px;
  border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--ink); color: var(--sand);
  font-size: 13px; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 2px 6px rgba(20,12,7,.4);
}
.fab--donate.is-dismissed { display: none; }

/* ---------- Focus rings — amber where the page turns dark ---------- */
.section--dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible,
.bead-marquee :focus-visible { outline-color: var(--amber); }

/* ---------- Section heads — a little more theatre ---------- */
.section-head h2 { font-size: clamp(1.85rem, 3.8vw, 2.7rem); letter-spacing: -.015em; }
.section-head .lead { font-size: 1.08rem; }

/* ---------- Reveal — a touch more depth ---------- */
.reveal {
  transform: translateY(18px) scale(.996);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { transform: none; }

/* ---------- Reduced motion — everything settles, nothing breaks ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .bead-marquee { overflow-x: auto; }
  .ripple, .gallery-item.pop, .lightbox img.lb-in,
  .program-panel .pp-body.is-in, .fab--donate svg { animation: none; }
  .voice-quote { transition: opacity .01s; transform: none; }
}

/* ---------- Print — static, complete, ink-friendly ---------- */
@media print {
  .scroll-progress, .fab-cluster, .bead-marquee, .voice-dots { display: none !important; }
  .voice-quote { position: static !important; opacity: 1 !important; visibility: visible !important; }
}
