/* =========================================================
   Shalom Insights — light theme
   ========================================================= */
:root {
  --cream: #FFF9F2;
  --paper: #FFFFFF;
  --ink: #14110F;
  --ink-2: #4A433D;
  --muted: #857A71;
  --orange: #FF8A00;
  --flame: #F2512B;
  --ember: #C2261A;
  --teal: #00809A;
  --teal-deep: #005F73;
  --teal-soft: #DDF1F4;
  --peach: #FFF1E4;
  --line: rgba(20, 17, 15, .1);
  --grad-flame: linear-gradient(135deg, #FF8A00 0%, #F2512B 55%, #C2261A 100%);
  --grad-brand: linear-gradient(120deg, #FF8A00, #F2512B 45%, #00809A);
  --radius: 28px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --nav-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

main, .footer { position: relative; z-index: 1; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad-flame); }
.eyebrow--light { color: rgba(255,255,255,.85); }
.eyebrow--light::before { background: #fff; }

.title {
  margin: 0;
  font-family: var(--serif);
  font-weight: var(--tw, 520);
  font-variation-settings: "opsz" 144, "SOFT" var(--ts, 40);
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: .98;
  letter-spacing: -.03em;
}
.title em, .hero__title em, .vision__text em {
  font-style: italic;
  font-weight: 400;
  background: var(--grad-flame);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .06em;
}
.title--light { color: #fff; }
.title--light em { background: none; color: #FFE3B8; -webkit-text-fill-color: #FFE3B8; }

/* word-split masks */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; will-change: transform; }

.section-head { margin-bottom: clamp(36px, 6vw, 72px); max-width: 920px; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-note { max-width: 340px; color: var(--ink-2); margin: 0; }

section { position: relative; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s;
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink::after { background: var(--grad-flame); }
.btn--flame { background: var(--grad-flame); color: #fff; box-shadow: 0 10px 30px -10px rgba(242,81,43,.7); }
.btn--flame::after { background: var(--ink); }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { color: #fff; }
.btn--white { background: #fff; color: var(--ember); }
.btn--white::after { background: var(--ink); }
.btn--white:hover { color: #fff; }
.btn__arrow { display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--cream);
  clip-path: inset(0 0 0 0);
  animation: loaderFailsafe .6s 4s forwards;
}
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }
.loader__inner { display: grid; justify-items: center; gap: 14px; }
.loader__mark { position: relative; width: clamp(112px, 26vw, 148px); aspect-ratio: 320 / 247; margin-bottom: 6px; }
.loader__mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.loader__ghost { opacity: .13; filter: grayscale(1); }
.loader__fill { clip-path: inset(100% 0 0 0); }
.loader__glow { position: absolute; left: 50%; top: 55%; width: 170%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,138,0,.28), rgba(242,81,43,.08) 55%, transparent); opacity: 0; transform: scale(.6); pointer-events: none; }
.loader__count { font-family: var(--serif); font-size: 44px; font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.loader__count span:last-child { font-size: 20px; color: var(--muted); margin-left: 2px; }
.loader__word { font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ---------- ambient aura ---------- */
.aura {
  position: fixed; inset: -10vmax; width: calc(100% + 20vmax); height: calc(100% + 20vmax);
  z-index: 0; pointer-events: none;
}
.aura__a, .aura__b { transform-box: fill-box; transform-origin: center; }
.shape-lib { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad-brand); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--flame); }
  .cursor__ring {
    width: 40px; height: 40px; margin: -20px 0 0 -20px;
    border: 1.5px solid rgba(20,17,15,.35);
    display: grid; place-items: center;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s, border-color .3s;
  }
  .cursor__label { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--ease); }
  .cursor.is-hover .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--ink); border-color: transparent; }
  .cursor.is-hover .cursor__label { opacity: 1; transform: scale(1); }
  .cursor.is-hover .cursor__dot { opacity: 0; }
  .cursor.is-link .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--orange); }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 12px; left: 50%; z-index: 50;
  width: min(calc(100% - 24px), 1240px);
  height: 72px; padding: 0 10px 0 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), transform .6s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 1px 0 rgba(20,17,15,.06), 0 12px 40px -18px rgba(20,17,15,.25);
}
.nav.is-hidden { transform: translate(-50%, -120%); }
.nav__brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__brand img { width: 52px; height: auto; }
.nav__name { font-family: var(--serif); font-size: 27px; line-height: 1; letter-spacing: -.025em; font-weight: 500; white-space: nowrap; }
.nav__name b { font-weight: 750; color: var(--orange); }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: color .3s, background-color .3s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); background: rgba(20,17,15,.06); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__cart {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; transition: background-color .3s;
}
.nav__cart:hover { background: rgba(20,17,15,.06); }
.nav__cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--teal); color: #fff;
  font-size: 10px; font-weight: 800; display: grid; place-items: center; line-height: 1;
  transform: scale(0); transition: transform .4s var(--ease);
}
.nav__cart-count.has { transform: scale(1); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); position: relative; z-index: 2; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 24px; }
.menu-open .burger span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--cream);
  clip-path: circle(0% at calc(100% - 46px) 44px);
  visibility: hidden;
  transition: clip-path .9s var(--ease), visibility 0s .9s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 46px) 44px); visibility: visible; transition: clip-path .9s var(--ease), visibility 0s; }
.menu__inner {
  height: 100%; display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 28px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.menu__links { margin: auto 0; } /* centred when there's room, never pushed under the header */
/* header turns solid while the menu is open so nothing shows through it */
.menu-open .nav { background: var(--cream); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 6px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(28px, min(9vw, 6.4vh), 56px); line-height: 1.15; letter-spacing: -.02em;
  opacity: 0; transform: translateY(30px);
  transition: opacity .5s, transform .7s var(--ease), color .3s;
}
.menu__links a span { font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--orange); letter-spacing: .1em; }
.menu__links a:hover { color: var(--flame); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: .15s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .19s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .23s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .27s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .31s; }
.menu-open .menu__links a:nth-child(6) { transition-delay: .35s; }
.menu-open .menu__links a:nth-child(7) { transition-delay: .39s; }
.menu-open .menu__links a:nth-child(8) { transition-delay: .43s; }
.menu__foot { margin: 24px 0 0; font-family: var(--serif); font-style: italic; color: var(--muted); }

/* ---------- hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.hero__frame {
  position: relative; flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 90px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(255,138,0,.14), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, rgba(0,128,154,.12), transparent 70%),
    var(--cream);
  will-change: clip-path, transform;
}
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__blob {
  position: absolute; width: min(64vw, 720px); aspect-ratio: 1;
  right: -8vw; top: 50%; margin-top: max(-32vw, -360px);
  opacity: .9; pointer-events: none;
}
.hero__blob path { transform-box: fill-box; transform-origin: center; }
.hero__blob-b { opacity: .9; }
.hero__content { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); }
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 0 rgba(242,81,43,.6); animation: pulse 2s infinite; }
.hero__eyebrow::before { display: none; }
/* brand wordmark above the tagline */
.hero__brand { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 clamp(14px, 2vw, 24px); }
.hero__brand-name {
  margin: 0; font-family: var(--serif); font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 60;
  font-size: clamp(46px, 6.4vw, 96px); line-height: 1; letter-spacing: -.035em; color: var(--teal-deep);
}
.hero__brand-name b {
  font-weight: 800;
  background: var(--grad-flame); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__brand-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 99px;
  background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(20,17,15,.08);
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal);
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(242,81,43,0); } 100% { box-shadow: 0 0 0 0 rgba(242,81,43,0); } }
.hero__title {
  --wght: 400; --soft: 100;
  margin: 0 0 28px;
  font-family: var(--serif);
  font-weight: var(--wght);
  font-variation-settings: "opsz" 144, "SOFT" var(--soft);
  font-size: clamp(50px, 11vw, 176px);
  line-height: .9; letter-spacing: -.045em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line__in { display: inline-block; will-change: transform; }
.hero__title em { font-weight: inherit; }
.hero__sub { max-width: 540px; margin: 0 0 36px; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll i { width: 1.5px; height: 44px; background: linear-gradient(var(--ink), transparent); transform-origin: top; animation: drip 2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- ticker ---------- */
.ticker {
  position: relative; z-index: 3;
  display: flex; align-items: center;
  height: 56px; background: var(--ink); color: #fff; overflow: hidden;
}
.ticker__badge {
  flex-shrink: 0; height: 100%; padding: 0 20px;
  display: flex; align-items: center; gap: 8px;
  background: var(--grad-flame);
  font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  position: relative; z-index: 2;
}
.ticker__badge i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.ticker__viewport { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ticker__track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track a { display: flex; align-items: center; white-space: nowrap; padding: 0 28px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); transition: color .3s; }
.ticker__track a::after { content: "✦"; margin-left: 56px; color: var(--orange); font-size: 10px; }
.ticker__track a:hover { color: var(--orange); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- story ---------- */
.story { padding: clamp(80px, 10vw, 140px) 0; }
.story__pin { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.story__head { margin-bottom: clamp(24px, 4vw, 56px); }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story__visual { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.story__svg { width: 100%; height: 100%; overflow: visible; }
.story__shape { transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 30px 40px rgba(242,81,43,.25)); }
.story__ring { transform-origin: 200px 200px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.story__logo { position: absolute; inset: 17%; width: 66%; height: 66%; object-fit: contain; display: none; }
.pin-story .story__logo { display: block; opacity: 0; }
.story__dots { display: none; }
.pin-story .story__dots { display: flex; }
.story__dots { position: absolute; left: 50%; bottom: -8px; translate: -50% 0; display: flex; gap: 8px; }
.story__dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(20,17,15,.15); transition: width .5s var(--ease), background-color .5s; }
.story__dots i.on { width: 28px; background: var(--flame); }
.story__steps { position: relative; display: grid; gap: 40px; }
.story__step { max-width: 460px; }
.story__num { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.story__step h3 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.025em; }
.story__step p { margin: 0; color: var(--ink-2); font-size: 17px; }

/* pinned mode (JS adds) */
.pin-story .story { padding: 0; }
.pin-story .story__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--nav-h) + 16px); padding-bottom: 32px; }
.pin-story .story__steps { display: block; min-height: 260px; }
.pin-story .story__step { position: absolute; top: 0; left: 0; right: 0; opacity: 0; visibility: hidden; }
.pin-story .story__step.is-active { position: relative; }

/* ---------- vision ---------- */
.vision { padding: clamp(100px, 14vw, 200px) 0; }
.vision__text {
  margin: 0 0 clamp(60px, 9vw, 120px);
  font-family: var(--serif); font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(32px, 5.4vw, 80px);
  line-height: 1.08; letter-spacing: -.03em;
}
.vision__text em { background: none; color: var(--flame); -webkit-text-fill-color: var(--flame); padding-right: 0; }
.mission { display: grid; grid-template-columns: 280px 1fr; gap: 40px; border-top: 1px solid var(--line); padding-top: 40px; }
.mission__label { display: flex; flex-direction: column; gap: 16px; }
.mission__icon { width: 64px; height: 64px; }
.mission__morph { transform-box: fill-box; transform-origin: center; }
.mission__text { margin: 0; font-size: clamp(19px, 2vw, 28px); line-height: 1.45; color: var(--ink-2); max-width: 860px; }

/* ---------- values ---------- */
.values { padding: clamp(80px, 10vw, 120px) 0; overflow: hidden; }
.values__head { margin-bottom: 40px; }
.values__bar { margin-top: 28px; height: 3px; max-width: 320px; background: rgba(20,17,15,.1); border-radius: 3px; overflow: hidden; }
.values__bar span { display: block; height: 100%; background: var(--grad-brand); transform-origin: 0 50%; transform: scaleX(0); }
.values__track {
  display: flex; gap: 20px;
  padding: 0 var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.values__track::-webkit-scrollbar { display: none; }
.pin-values .values { padding: 0; }
.pin-values .values__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h); }
.pin-values .values__track { overflow: visible; width: max-content; scroll-snap-type: none; }
.vcard {
  position: relative; flex: 0 0 auto;
  width: clamp(280px, 30vw, 400px); min-height: clamp(380px, 52vh, 480px);
  padding: 32px; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #fff;
  box-shadow: 0 1px 0 rgba(20,17,15,.05), 0 30px 60px -30px rgba(0,95,115,.35);
  overflow: hidden; scroll-snap-align: center;
}
.vcard::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, var(--c1), var(--c2));
  clip-path: circle(0% at 85% 12%);
  transition: clip-path .9s var(--ease);
}
.vcard:hover::before { clip-path: circle(150% at 85% 12%); }
.vcard > * { position: relative; z-index: 1; transition: color .5s; }
.vcard:hover h3, .vcard:hover p, .vcard:hover .vcard__num { color: #fff; }
.vcard__num { position: absolute; top: 28px; left: 32px; font-family: var(--serif); font-size: 18px; color: var(--muted); }
.vcard__blob { position: absolute !important; top: 24px; right: 24px; width: 46%; aspect-ratio: 1; overflow: visible; }
.vcard__blob path { fill: var(--c1); transform-box: fill-box; transform-origin: center; transition: fill .5s; }
.vcard:hover .vcard__blob path { fill: rgba(255,255,255,.9); }
.vcard h3 { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); font-weight: 500; letter-spacing: -.02em; line-height: 1; }
.vcard p { margin: 0; color: var(--ink-2); }

/* ---------- marquee ---------- */
.marquee { padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; }
.marquee__row { display: flex; white-space: nowrap; }
.marquee__inner { display: flex; align-items: center; gap: .4em; padding-right: .4em; flex-shrink: 0; will-change: transform; }
.marquee__row span, .marquee__row b {
  font-family: var(--serif); font-weight: 600; font-size: clamp(56px, 11vw, 170px); line-height: 1.05; letter-spacing: -.04em;
}
.marquee__row b { font-size: clamp(18px, 3vw, 48px); color: var(--orange); font-weight: 400; }
.marquee__row span.o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); font-style: italic; font-weight: 400; }
.marquee__row--rev span { color: var(--teal); }
.marquee__row--rev span.o { -webkit-text-stroke-color: var(--teal); color: transparent; }

/* ---------- work ---------- */
.work { padding: clamp(80px, 10vw, 140px) 0; }
.work__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.work__item {
  position: relative;
  display: grid; grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1fr) 48px; gap: 24px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line);
  overflow: hidden; isolation: isolate;
}
.work__item::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad-flame);
  clip-path: inset(50% 0 50% 0);
  transition: clip-path .7s var(--ease);
}
.work__item:hover::before { clip-path: inset(0 0 0 0); }
.work__item > * { transition: color .4s, transform .7s var(--ease); }
.work__item:hover > * { color: #fff; }
.work__item:hover h3 { transform: translateX(16px); }
.work__n { font-family: var(--serif); font-size: 18px; color: var(--muted); padding-left: 8px; }
.work__item h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.4vw, 48px); letter-spacing: -.025em; line-height: 1.05; }
.work__item p { margin: 0; color: var(--ink-2); }
.work__arrow { font-size: 26px; justify-self: end; padding-right: 8px; transition: transform .6s var(--ease), color .4s; }
.work__item:hover .work__arrow { transform: rotate(45deg); }

/* ---------- news ---------- */
.news { padding: clamp(80px, 10vw, 140px) 0; }
.search {
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px; border-radius: 999px;
  background: var(--cream); box-shadow: inset 0 0 0 1px var(--line);
  min-width: min(320px, 100%); color: var(--muted);
  transition: box-shadow .3s;
}
.search:focus-within { box-shadow: inset 0 0 0 2px var(--teal); }
.search input { border: 0; outline: 0; background: none; width: 100%; color: var(--ink); }
.chips { display: flex; gap: 8px; margin-bottom: 36px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; height: 40px; padding: 0 18px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line); background: #fff;
  transition: background-color .3s, color .3s, box-shadow .3s, transform .4s var(--ease);
}
.chip:hover { transform: translateY(-2px); }
.chip.is-on { background: var(--ink); color: #fff; box-shadow: none; }

.news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news__empty { text-align: center; color: var(--muted); padding: 40px 0; }
.post { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 rgba(20,17,15,.04), 0 24px 50px -32px rgba(20,17,15,.35); overflow: hidden; cursor: pointer; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.post:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(20,17,15,.04), 0 40px 70px -36px rgba(20,17,15,.45); }
.post.is-hidden { display: none; }
.post__art {
  position: relative; aspect-ratio: 16/11; overflow: hidden;
  background:
    radial-gradient(80% 80% at 20% 10%, var(--c), transparent 60%),
    linear-gradient(140deg, var(--a), var(--b));
}
.post__art svg { position: absolute; width: 70%; height: 130%; right: -10%; top: -5%; fill: rgba(255,255,255,.28); transition: transform 1s var(--ease); }
.post:hover .post__art svg { transform: rotate(-12deg) scale(1.12); }
.post__tag { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.post__body p { margin: 0; color: var(--ink-2); }
.post__meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); font-weight: 600; }
.post__meta span + span::before { content: "•"; margin-right: 14px; color: var(--orange); }
.post--feature { grid-column: span 2; grid-row: span 2; }
.post--feature .post__art { aspect-ratio: auto; flex: 1; min-height: 340px; }
.post--feature h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -.02em; }
.post--feature .post__body { padding: 28px 32px 32px; flex: none; }

/* ---------- media ---------- */
.media { padding: clamp(80px, 10vw, 140px) 0; }
.media__stage { padding: 0 var(--gutter); }
.media__frame {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  aspect-ratio: 16/8; min-height: 360px;
  border-radius: var(--radius); overflow: hidden;
  display: grid; place-items: center;
  will-change: clip-path;
}
.media__bg { position: absolute; inset: -10%; background:
  radial-gradient(50% 60% at 70% 30%, rgba(255,138,0,.9), transparent 70%),
  radial-gradient(60% 70% at 20% 80%, rgba(0,128,154,.95), transparent 70%),
  linear-gradient(135deg, #14110F, #3a1a10); }
.media__flame { position: absolute; width: 46%; height: 120%; fill: rgba(255,255,255,.08); left: 50%; top: 50%; translate: -50% -50%; }
.media__play {
  position: relative; z-index: 2; width: 96px; height: 96px; border-radius: 50%;
  background: #fff; color: var(--flame);
  display: grid; place-items: center; padding-left: 4px;
  box-shadow: 0 0 0 0 rgba(255,255,255,.5);
  animation: ring 2.4s infinite;
  transition: transform .5s var(--ease);
}
.media__play:hover { transform: scale(1.08); }
@keyframes ring { 70% { box-shadow: 0 0 0 26px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.media__caption { position: absolute; left: clamp(20px, 4vw, 48px); bottom: clamp(20px, 4vw, 44px); right: 20px; z-index: 2; color: #fff; }
.media__caption .eyebrow { margin-bottom: 8px; }
.media__caption h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.02em; max-width: 640px; }
.media__list { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ep { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: 20px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), background-color .3s; }
.ep:hover { transform: translateY(-4px); background: #fff; }
.ep__n { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.ep b { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -.01em; }
.ep small { color: var(--muted); font-size: 14px; }

/* ---------- team ---------- */
.team { padding: clamp(80px, 10vw, 140px) 0; }
.team__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.member { margin: 0; }
.member__photo { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--peach); will-change: clip-path; }
.member__photo img { width: 100%; height: 118%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; will-change: transform; }
.member:hover .member__photo img { filter: saturate(1.15); }
.member__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(242,81,43,.45), transparent 45%); opacity: 0; transition: opacity .6s; }
.member:hover .member__photo::after { opacity: 1; }
.member figcaption { padding: 16px 4px 0; display: flex; flex-direction: column; }
.member figcaption b { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -.01em; line-height: 1.15; }
.member figcaption span { font-size: 14px; color: var(--teal); font-weight: 700; }
.crew { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.crew li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease); }
.crew li:hover { transform: translateY(-3px); }
.crew i { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 14px; color: #fff; background: var(--grad-flame); }
.crew li:nth-child(even) i { background: linear-gradient(135deg, #00A3C2, #005F73); }
.crew b { display: block; font-size: 14px; line-height: 1.25; }
.crew span { font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* ---------- shop ---------- */
.shop { padding: clamp(80px, 10vw, 140px) 0; }
.shop__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product { position: relative; border-radius: var(--radius); background: #fff; padding: 12px; box-shadow: 0 24px 50px -36px rgba(20,17,15,.4); transition: transform .6s var(--ease); }
.product:hover { transform: translateY(-6px) rotate(-.6deg); }
.product__art { aspect-ratio: 1; border-radius: 20px; background: linear-gradient(150deg, var(--a), var(--b)); display: grid; place-items: center; overflow: hidden; }
.product__art svg { width: 72%; transition: transform .9s var(--ease); filter: drop-shadow(0 16px 20px rgba(0,0,0,.18)); }
.product:hover .product__art svg { transform: scale(1.08) rotate(4deg); }
.product__info { padding: 16px 8px 8px; padding-right: 60px; }
.product__info h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 21px; letter-spacing: -.01em; }
.product__info span { font-size: 14px; color: var(--muted); font-weight: 700; }
.product__add {
  position: absolute; right: 18px; bottom: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 22px; line-height: 1;
  transition: transform .5s var(--ease), background-color .3s;
}
.product__add:hover { transform: rotate(90deg); background: var(--flame); }

/* ---------- donate ---------- */
.donate { padding: clamp(60px, 8vw, 120px) 0; }
.donate__card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 5.5vw, 80px);
  border-radius: clamp(28px, 4vw, 48px);
  background: var(--grad-flame);
  color: #fff;
  box-shadow: 0 40px 80px -40px rgba(194,38,26,.6);
  will-change: clip-path;
}
.donate__blob { position: absolute; width: 70%; aspect-ratio: 1; left: -20%; bottom: -40%; pointer-events: none; }
.donate__morph { transform-box: fill-box; transform-origin: center; }
.donate__copy { position: relative; }
.donate__copy p { color: rgba(255,255,255,.9); font-size: 17px; max-width: 480px; margin: 22px 0 0; }
.pay { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; }
.pay li { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.give { position: relative; display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); border-radius: 28px; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.give__freq { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(0,0,0,.14); }
.give__freq button { position: relative; z-index: 1; height: 44px; border-radius: 999px; font-weight: 800; font-size: 14px; color: rgba(255,255,255,.85); transition: color .4s; }
.give__freq button.is-on { color: var(--ember); }
.give__pill { position: absolute; top: 4px; left: 4px; width: calc(50% - 4px); height: 44px; border-radius: 999px; background: #fff; transition: transform .5s var(--ease); }
.give__freq[data-pos="1"] .give__pill { transform: translateX(100%); }
.give__amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.give__amounts button { height: 54px; border-radius: 16px; font-weight: 800; font-size: 16px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.give__amounts button::before { content: "UGX "; font-size: 11px; opacity: .8; }
.give__amounts button:hover { transform: translateY(-2px); }
.give__amounts button.is-on { background: #fff; color: var(--ember); }
.give__custom { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px; border-radius: 16px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.give__custom span { font-size: 12px; font-weight: 800; opacity: .8; }
.give__custom input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #fff; font-weight: 700; }
.give__custom input::placeholder { color: rgba(255,255,255,.7); }
.give__note { margin: 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.85); }

/* ---------- contact ---------- */
.contact { padding: clamp(80px, 10vw, 140px) 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__lead { color: var(--ink-2); font-size: 18px; max-width: 460px; margin: 24px 0 32px; }
.contact__links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.wa { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px; border-radius: 999px; background: #1FAF5A; color: #fff; font-weight: 800; transition: transform .5s var(--ease), box-shadow .5s; box-shadow: 0 14px 30px -14px rgba(31,175,90,.8); }
.socials { display: flex; gap: 8px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s, transform .5s var(--ease); }
.socials a:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.form { display: grid; gap: 14px; padding: clamp(20px, 3vw, 36px); border-radius: var(--radius); background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.field { position: relative; display: block; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; outline: 0; resize: vertical;
  padding: 26px 18px 10px; border-radius: 16px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s;
  appearance: none; -webkit-appearance: none;
}
.field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 17px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field textarea:focus, .field select:focus { box-shadow: inset 0 0 0 2px var(--teal); }
.field > span { position: absolute; left: 18px; top: 18px; color: var(--muted); font-size: 15px; pointer-events: none; transition: transform .35s var(--ease), font-size .35s var(--ease), color .3s; transform-origin: left; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field .field__fixed { transform: translateY(-10px); font-size: 11.5px; font-weight: 700; color: var(--teal); letter-spacing: .04em; }
.field.is-error input, .field.is-error textarea { box-shadow: inset 0 0 0 2px var(--flame); }

/* ---------- footer ---------- */
.footer { padding: clamp(60px, 8vw, 100px) 0 28px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.footer__brand img { width: 150px; height: auto; }
.footer__brand p { color: var(--ink-2); max-width: 320px; margin: 18px 0 0; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.footer__cols a { display: block; padding: 4px 0; font-weight: 600; width: fit-content; background: linear-gradient(var(--flame), var(--flame)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.footer__cols a:hover { background-size: 100% 2px; color: var(--flame); }
.footer__word {
  display: flex; justify-content: center;
  margin: clamp(40px, 6vw, 80px) 0 8px;
  font-family: var(--serif); font-size: clamp(90px, 25vw, 400px); line-height: .8; letter-spacing: -.06em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  user-select: none;
}
.footer__word span { display: inline-block; font-weight: var(--fw, 600); padding-bottom: .08em; will-change: transform; }
.footer__word span:nth-child(1) { color: #FF8A00; }
.footer__word span:nth-child(2) { color: #F96D1A; }
.footer__word span:nth-child(3) { color: #F2512B; }
.footer__word span:nth-child(4) { color: #C2261A; }
.footer__word span:nth-child(5) { color: #00809A; }
.footer__word span:nth-child(6) { color: #005F73; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* subtle, tappable credit line */
.credit-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--muted); box-shadow: inset 0 0 0 1px transparent; transition: color .3s, box-shadow .3s, background-color .3s; }
.credit-tag i { font-style: normal; color: var(--flame); transition: transform .6s var(--ease); }
.credit-tag:hover, .credit-tag:focus-visible { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.credit-tag:hover i { transform: rotate(180deg) scale(1.15); }

/* credits dialog */
.credits { width: min(420px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px; background: transparent; color: var(--ink); overflow: visible; }
.credits::backdrop { background: rgba(20, 17, 15, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.credits[open] { animation: creditsIn .45s var(--ease); }
@keyframes creditsIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.credits__card { position: relative; display: grid; justify-items: center; gap: 10px; padding: 34px 26px 24px; text-align: center; border-radius: 28px; background: radial-gradient(90% 60% at 50% 0%, rgba(255,138,0,.16), transparent 70%), var(--cream); box-shadow: 0 30px 80px -30px rgba(20,17,15,.55), inset 0 0 0 1px rgba(20,17,15,.06); overflow-y: auto; max-height: calc(100dvh - 32px); }
.credits__x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--muted); transition: background-color .2s, color .2s; }
.credits__x:hover { background: #fff; color: var(--ink); }
.credits__mark { width: 64px; height: auto; }
.credits__kicker { margin: 4px 0 0; font-size: 11px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--teal); }
.credits h3 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.25; color: var(--ink-2); }
.credits h3 b { display: inline-block; margin-top: 2px; font-size: 28px; font-weight: 600; color: var(--ink); }
.credits__block { width: 100%; margin-top: 6px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.credits__block span { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.credits__block p { margin: 6px 0 0; font-weight: 700; line-height: 1.45; }
.credits__block em { font-style: normal; color: var(--flame); }
.credits__block a { text-decoration: underline; text-decoration-color: rgba(242,81,43,.45); text-underline-offset: 3px; }
.credits__block a:hover { color: var(--flame); }
.credits__contact { display: grid; gap: 8px; width: 100%; margin-top: 2px; }
.credits__contact a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 16px; border-radius: 14px; font-weight: 700; font-size: 14.5px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .25s, color .25s, transform .3s var(--ease); word-break: break-all; }
.credits__contact a i { font-style: normal; color: var(--flame); transition: color .25s; }
.credits__contact a:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.credits__contact a:hover i { color: var(--orange, #FF8A00); }
.credits__foot { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .credits[open] { animation: none; } }
.totop { font-weight: 700; color: var(--ink); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  max-width: calc(100% - 32px);
  padding: 14px 22px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.4);
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .6s var(--ease), opacity .4s;
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- partners ---------- */
.partners { padding: clamp(80px, 10vw, 140px) 0; }
.partners__wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.partner {
  position: relative; min-height: 150px; padding: 24px; border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: #fff; box-shadow: 0 1px 0 rgba(20,17,15,.04), 0 24px 50px -36px rgba(20,17,15,.35);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.partner img { max-width: 72%; max-height: 80px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .5s, opacity .5s; }
.partner:hover img { filter: none; opacity: 1; }
.partner:hover { transform: translateY(-4px); }
.partner__slot { background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1.5px rgba(20,17,15,.08); }
.partner__slot svg { width: 44px; height: 44px; fill: var(--orange); opacity: .35; }
.partner__slot span { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.partner--cta { align-items: flex-start; justify-content: flex-end; color: #fff; background: linear-gradient(140deg, var(--orange), var(--flame) 55%, var(--ember)); }
.partner--cta b { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -.02em; }
.partner--cta span { font-size: 14.5px; opacity: .92; }
.partner--cta i { font-style: normal; display: inline-block; transition: transform .4s var(--ease); }
.partner--cta:hover i { transform: translateX(5px); }

/* ---------- live content (Supabase) ---------- */
[hidden] { display: none !important; }
html.si-locked { overflow: hidden; }

.post__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .post__art img { transform: scale(1.06); }
.post--photo .post__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18), transparent 40%); pointer-events: none; }

.product__art { position: relative; }
.product__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product:hover .product__art img { transform: scale(1.06); }
.product__sold { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product.is-sold .product__art { filter: grayscale(.7); opacity: .75; }
.product__add:disabled { background: rgba(20,17,15,.2); cursor: not-allowed; transform: none; }
.product__low { display: block; font-style: normal; font-size: 12px; font-weight: 800; color: var(--flame); }
.partner__name { font-family: var(--serif); font-weight: 500; font-size: 20px; text-align: center; line-height: 1.15; }

/* donor details */
.give__who { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.give__field { display: flex; height: 54px; padding: 0 16px; border-radius: 16px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); transition: box-shadow .3s; }
.give__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #fff; font-weight: 700; }
.give__field input::placeholder { color: rgba(255,255,255,.75); font-weight: 600; }
.give__field:focus-within { box-shadow: inset 0 0 0 2px #fff; }
.give__field.is-error { box-shadow: inset 0 0 0 2px #FFE3B8; background: rgba(0,0,0,.12); }
.give button[type="submit"]:disabled { opacity: .7; }
.give__alt { margin-top: 6px; padding: 4px 2px; font-size: 12.5px; font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.5); }
.give__alt:hover { text-decoration-color: #fff; }

/* mobile-money payment status (covers the form while a payment is in progress) */
.give.is-paying > :not(.give__status) { visibility: hidden; }
.give__status { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 28px; text-align: center; border-radius: inherit; }
.give__st-title { margin: 6px 0 0; font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); font-weight: 500; line-height: 1.1; }
.give__st-text { margin: 0; max-width: 34ch; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.92); }
.give__st-text b { color: #fff; }
.give__st-text small { display: block; margin-top: 10px; font-size: 11.5px; letter-spacing: .04em; opacity: .75; }
.give__st-acts { display: grid; justify-items: center; gap: 4px; margin-top: 6px; }
.give__orb { position: relative; width: 74px; height: 74px; display: grid; place-items: center; }
.give__orb span { position: absolute; inset: 0; border-radius: 50%; background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.give__orb i { position: relative; width: 26px; height: 40px; border-radius: 7px; box-shadow: inset 0 0 0 3px #fff; }
.give__orb i::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 6px; height: 3px; translate: -50% 0; border-radius: 2px; background: #fff; }
.give__status[data-state="pending"] .give__orb span { animation: givePulse 1.6s ease-out infinite; }
.give__status[data-state="pending"] .give__orb i { animation: giveBuzz 1.6s ease-in-out infinite; }
.give__status[data-state="received"] .give__orb span { background: #fff; box-shadow: none; }
.give__status[data-state="received"] .give__orb i { width: 30px; height: 16px; border-radius: 0; box-shadow: inset 4px -4px 0 0 var(--ember); rotate: -45deg; translate: 0 -4px; }
.give__status[data-state="received"] .give__orb i::after,
.give__status[data-state="failed"] .give__orb i::after { display: none; }
.give__status[data-state="failed"] .give__orb i { width: 30px; height: 30px; border-radius: 0; box-shadow: none; background: linear-gradient(45deg, transparent 43%, #fff 43% 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, #fff 43% 57%, transparent 57%); }
@keyframes givePulse { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes giveBuzz { 0%, 60%, 100% { rotate: 0deg; } 66% { rotate: -9deg; } 72% { rotate: 9deg; } 78% { rotate: -6deg; } 84% { rotate: 6deg; } }
@media (prefers-reduced-motion: reduce) { .give__status .give__orb span, .give__status .give__orb i { animation: none !important; } }

/* gallery */
.gallery { margin-top: clamp(56px, 8vw, 100px); }
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.gallery__head h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.4vw, 60px); line-height: 1; letter-spacing: -.03em; }
.gallery__head em { font-style: italic; font-weight: 400; background: var(--grad-flame); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.gallery__head p { margin: 0; max-width: 340px; color: var(--ink-2); }
.gallery__grid { columns: 3 260px; column-gap: 16px; }
.gallery__item { position: relative; margin: 0 0 16px; break-inside: avoid; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--peach); }
.gallery__item img { width: 100%; height: auto; transition: transform 1.1s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; display: grid; gap: 2px; color: #fff; font-size: 13.5px; background: linear-gradient(transparent, rgba(0,0,0,.65)); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.gallery__item:hover figcaption, .gallery__item:focus-visible figcaption { opacity: 1; transform: none; }
.gallery__item figcaption b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
@media (hover: none) { .gallery__item figcaption { opacity: 1; transform: none; } }

/* cart drawer */
.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(20,17,15,.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .45s var(--ease); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  display: flex; flex-direction: column; gap: 18px; padding: 22px clamp(18px, 4vw, 30px) 30px;
  background: var(--cream); overflow-y: auto; overscroll-behavior: contain;
  box-shadow: -30px 0 60px -30px rgba(20,17,15,.4);
  transform: translateX(104%); transition: transform .5s var(--ease);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__head h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 32px; letter-spacing: -.02em; }
.drawer__x, .modal__x { width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1; background: rgba(20,17,15,.06); transition: background-color .3s, transform .5s var(--ease); }
.drawer__x:hover, .modal__x:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.cart__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cart__item { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cart__item b { display: block; font-family: var(--serif); font-weight: 500; font-size: 18px; }
.cart__item span { font-size: 13px; font-weight: 700; color: var(--muted); }
.qty { display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.qty button { width: 32px; height: 32px; border-radius: 50%; font-size: 18px; font-weight: 700; }
.qty button:hover { background: rgba(20,17,15,.07); }
.qty output { min-width: 22px; text-align: center; font-weight: 800; }
.cart__rm { grid-column: 1 / -1; justify-self: start; font-size: 12.5px; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cart__rm:hover { color: var(--flame); }
.cart__empty { margin: 8px 0 0; color: var(--ink-2); }
.cart__empty a { font-weight: 800; color: var(--flame); }
.cart__checkout { display: grid; gap: 12px; }
.cart__checkout h3 { margin: 8px 0 0; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px; border-radius: 18px; background: var(--ink); color: #fff; }
.cart__total span { font-size: 13px; font-weight: 700; opacity: .8; letter-spacing: .08em; text-transform: uppercase; }
.cart__total b { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.cart__note { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.cart__checkout button[type="submit"]:disabled { opacity: .6; cursor: progress; }
.cart__done { display: grid; gap: 14px; text-align: center; padding-top: 10px; }
.cart__done h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 30px; letter-spacing: -.02em; }
.cart__done p { margin: 0; color: var(--ink-2); }
.cart__tick { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 34px; color: #fff; background: var(--grad-flame); box-shadow: 0 16px 40px -14px rgba(242,81,43,.7); }

/* modal: articles, video, photos */
.modal { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: clamp(10px, 3vw, 32px); }
.modal__scrim { position: absolute; inset: 0; background: rgba(20,17,15,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.modal__panel {
  position: relative; width: min(820px, 100%); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
  overflow-y: auto; overscroll-behavior: contain; border-radius: 28px; background: #fff;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .4s, transform .6s var(--ease);
}
.modal.is-open .modal__scrim { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__x { position: sticky; top: 14px; float: right; margin: 14px 14px -58px 0; z-index: 3; background: rgba(255,255,255,.9); box-shadow: 0 6px 20px -8px rgba(0,0,0,.3); }
.article__img { width: 100%; max-height: 440px; object-fit: cover; }
.article__art { position: relative; height: clamp(180px, 30vw, 300px); overflow: hidden; background: radial-gradient(80% 80% at 20% 10%, var(--c), transparent 60%), linear-gradient(140deg, var(--a), var(--b)); }
.article__art svg { position: absolute; width: 55%; height: 140%; right: -6%; top: -15%; fill: rgba(255,255,255,.3); }
.article__inner { padding: clamp(24px, 5vw, 52px); }
.article__title { margin: 0 0 14px; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.05; letter-spacing: -.03em; }
.article__lead { margin: 22px 0 0; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink); font-weight: 500; }
.article__body { margin-top: 18px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.article__body p { margin: 0 0 1.1em; }
.article__share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.modal--video .modal__panel { width: min(1100px, 100%); background: #000; border-radius: 20px; overflow: hidden; }
.modal--video .modal__x { position: absolute; float: none; top: 10px; right: 10px; margin: 0; }
.video { aspect-ratio: 16 / 9; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal--photo .modal__panel { width: min(1100px, 100%); background: #111; color: #fff; border-radius: 20px; }
.modal--photo .modal__x { position: absolute; float: none; top: 10px; right: 10px; margin: 0; }
.photo { margin: 0; position: relative; }
.photo img { width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; background: #111; }
.photo figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 14px 20px 18px; font-size: 14px; color: rgba(255,255,255,.85); }
.photo figcaption b { color: #fff; }
.photo figcaption small { margin-left: auto; opacity: .7; }
.photo__nav { position: absolute; top: 45%; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); font-size: 20px; font-weight: 800; }
.photo__nav--prev { left: 12px; } .photo__nav--next { right: 12px; }

@media (max-width: 820px) {
  .give__who { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: end; }
  .modal__panel { border-radius: 24px 24px 0 0; max-height: 94dvh; }
  .modal--video, .modal--photo { align-items: center; padding: 8px; }
  .modal--video .modal__panel, .modal--photo .modal__panel { border-radius: 16px; }
  .gallery__grid { columns: 2 150px; column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; border-radius: 14px; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post--feature { grid-column: span 2; grid-row: auto; }
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root { --radius: 22px; --nav-h: 74px; }
  .nav { top: 8px; height: 62px; width: calc(100% - 16px); padding: 0 6px 0 10px; }
  .nav__brand img { width: 42px; }
  .nav__brand { gap: 8px; }
  .nav__name { font-size: 23px; }
  .nav .btn--sm { display: none; }

  .hero__frame { align-items: flex-end; padding-bottom: 96px; }
  .hero__blob { width: 100vw; right: -42vw; top: -4%; margin-top: 0; }  .hero__sub { font-size: 16px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__scroll { display: none; }
  .ticker { height: 48px; }
  .ticker__badge { padding: 0 14px; }

  .story__grid { grid-template-columns: 1fr; gap: 20px; }
  .story__visual { max-width: min(68vw, 340px); }
  .pin-story .story__visual { max-width: min(52vw, 32vh, 300px); }
  .pin-story .story__steps { min-height: 210px; }
  .story__step h3 { font-size: 28px; }
  .story__step p { font-size: 15.5px; }
  .pin-story .story__pin { padding-top: calc(var(--nav-h) + 8px); justify-content: flex-start; }
  /* phones: native scroll, sticky morphing mark */
  .flow-story .story__grid { align-items: start; gap: 28px; }
  .flow-story .story__visual { position: sticky; top: calc(var(--nav-h) + 6px); z-index: 2; max-width: min(48vw, 200px); }
  .flow-story .story__visual::before {
    content: ""; position: absolute; z-index: -1; left: 50%; width: 100vw; translate: -50% 0;
    top: calc(-1 * var(--nav-h) - 12px); bottom: -36px;
    background: linear-gradient(#fff 80%, rgba(255,255,255,0));
  }
  .flow-story .story__logo { display: block; opacity: 0; }
  .flow-story .story__steps { gap: 64px; padding-bottom: 14vh; }
  .flow-story .story__num { transition: color .5s; color: var(--muted); }
  .flow-story .story__step.is-active .story__num { color: var(--orange); }
  .story__head .title { font-size: clamp(32px, 9vw, 48px); }

  .mission { grid-template-columns: 1fr; gap: 20px; }

  .vcard { width: 80vw; min-height: 52vh; padding: 26px; }
  .pin-values .values__pin { padding-top: calc(var(--nav-h) + 12px); }

  .work__item { grid-template-columns: 44px 1fr 32px; gap: 6px 14px; padding: 24px 0; }
  .work__item p { grid-column: 2 / 3; grid-row: 2; font-size: 15px; }
  .work__arrow { grid-column: 3; grid-row: 1; font-size: 22px; }
  .work__n { padding-left: 0; font-size: 15px; }

  .news__grid { grid-template-columns: 1fr; gap: 18px; }
  .post--feature { grid-column: auto; }
  .post--feature .post__art { min-height: 220px; flex: none; aspect-ratio: 16/11; }
  .post--feature .post__body { padding: 22px 24px 26px; }
  .search { width: 100%; }

  .media__frame { aspect-ratio: 4/5; min-height: 0; }
  .media__flame { width: 90%; }
  .media__play { width: 80px; height: 80px; }
  .media__list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ep { padding: 16px; }
  .ep b { font-size: 18px; }

  .team__grid { gap: 14px; }
  .member figcaption b { font-size: 18px; }
  .member figcaption span { font-size: 12.5px; }
  .crew { grid-template-columns: 1fr; }

  .shop__grid { gap: 14px; }
  .product { padding: 8px; }
  .product__info { padding: 12px 6px 6px; padding-right: 0; }
  .product__info h3 { font-size: 17px; }
  .product__add { position: static; margin: 8px 6px 6px; width: 40px; height: 40px; }

  .partners__wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partner { min-height: 120px; padding: 18px; }
  .partner--cta b { font-size: 22px; }
  .partner--cta span { font-size: 13px; }
  .donate__card { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .hero__title { font-size: clamp(50px, 15.5vw, 70px); }
  .media__list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker__track { animation: none; }
}
