/* =========================================================
   WfWI Nigeria · 25 Years · "The Golden Thread"
   ========================================================= */
:root {
  --teal-900: #00343a;
  --teal-800: #00474f;
  --teal: #00626f;
  --teal-50: #e6f0f1;
  --orange: #d9692b;
  --rust: #a3461a;
  --gold: #c9a227;
  --gold-light: #e8cf7a;
  --ivory: #f6f0e4;
  --paper: #fbf7ef;
  --ink: #1c2426;
  --muted: #4f5d61;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: 28px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.28 0 0 0 0 0.15 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --adire: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' fill='none' stroke='%23c9a227' stroke-width='1'%3E%3Ccircle cx='48' cy='48' r='18'/%3E%3Ccircle cx='48' cy='48' r='10'/%3E%3Ccircle cx='48' cy='48' r='3' fill='%23c9a227'/%3E%3Cpath d='M0 0l24 24M96 0L72 24M0 96l24-24M96 96L72 72M48 0v14M48 82v14M0 48h14M82 48h14'/%3E%3Ccircle cx='0' cy='0' r='8'/%3E%3Ccircle cx='96' cy='0' r='8'/%3E%3Ccircle cx='0' cy='96' r='8'/%3E%3Ccircle cx='96' cy='96' r='8'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 400 1rem/1.65 var(--sans); color: var(--ink);
  background: var(--paper); overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 1rem; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: .5rem 1rem; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }

/* ---------- Phase visibility & order ---------- */
[data-show] { display: none !important; }
[data-phase="before"] [data-show~="before"],
[data-phase="event"]  [data-show~="event"],
[data-phase="after"]  [data-show~="after"] { display: revert !important; }
main { display: flex; flex-direction: column; position: relative; }
main > section { order: var(--o); }
[data-phase="event"] #programme { order: 12; }
[data-phase="after"] #watch { order: 16; }
[data-phase="after"] #gallery { order: 17; }

/* ---------- Type ---------- */
.kicker {
  font: 700 .72rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--rust); margin-bottom: .9rem; display: flex; align-items: center; gap: .6rem;
}
.kicker--gold { color: var(--gold); }
.kicker--ink { color: var(--teal-900); }
.chap { font-family: var(--serif); font-style: italic; letter-spacing: 0; font-size: .95rem; text-transform: none; }
.chap::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-left: .6rem; }
.display {
  font: 500 clamp(2.4rem, 11vw, 4.6rem)/1.02 var(--serif); letter-spacing: -.02em;
  color: var(--teal-800); margin-bottom: 1.4rem;
}
.display em, .hero__title em { color: var(--orange); }
.sec--teal .display, .sec--dark .display { color: var(--ivory); }
.sec--teal .display em, .sec--dark .display em { color: var(--gold-light); }
.sec--orange .display { color: var(--teal-900); }
.sec--orange .display em { color: var(--ivory); }
.lead { font-size: 1.12rem; max-width: 38em; }
.sub { font: 500 1.4rem/1.2 var(--serif); color: var(--teal-800); margin: 2.4rem 0 1rem; }
.dropcap::first-letter {
  float: left; font: 500 4.2rem/.8 var(--serif); color: var(--orange); padding: .35rem .6rem 0 0;
}
.soon {
  border: 1.5px dashed rgba(0, 98, 111, .35); border-radius: 14px; padding: 1rem 1.2rem;
  color: var(--muted); font: italic 500 1rem/1.4 var(--serif); text-align: center; margin: 1.2rem 0;
}
.soon--dark { border-color: rgba(232, 207, 122, .45); color: rgba(246, 240, 228, .8); }

/* ---------- Sections ---------- */
.sec { position: relative; padding: 5.5rem 0; overflow: hidden; }
.sec--paper { background: var(--paper) var(--grain); }
.sec--ivory { background: var(--ivory) var(--grain); }
.sec--teal { background: var(--teal-800); color: var(--ivory); }
.sec--dark { background: var(--teal-900); color: var(--ivory); }
.sec--orange { background: var(--orange) var(--grain); color: var(--teal-900); }
.sec + .sec::before {           /* stitched seam between sections */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 0;
  border-top: 2px dashed rgba(201, 162, 39, .55); z-index: 3;
}

/* ---------- Golden thread ---------- */
.thread { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; overflow: visible; }
.thread path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
.thread circle { fill: var(--gold); opacity: 0; transition: opacity .6s; }
.thread.done circle { opacity: 1; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: calc(.7rem + env(safe-area-inset-top)) var(--gutter) .7rem; color: var(--ivory);
  transition: background .4s, color .4s, box-shadow .4s;
}
.topbar.solid { background: rgba(251, 247, 239, .94); color: var(--teal-800); box-shadow: 0 1px 0 rgba(0,0,0,.06); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand__logo { height: 24px; width: auto; }
.brand__logo--dark, .topbar.solid .brand__logo--light { display: none; }
.topbar.solid .brand__logo--dark { display: block; }
.brand__25 { font: 700 1.6rem/1 var(--serif); color: var(--gold); }
.brand__name { font: 700 .72rem/1.05 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.brand__name small { font-weight: 500; letter-spacing: .2em; opacity: .8; }
.topbar__cta {
  font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid currentColor; border-radius: 99px; padding: .6rem .9rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  background: radial-gradient(120% 80% at 80% 10%, var(--teal) 0%, var(--teal-800) 45%, var(--teal-900) 100%);
  color: var(--ivory); overflow: hidden; padding: 6rem 0 5rem;
}
[data-phase="event"] .hero, [data-phase="after"] .hero { min-height: 0; padding-top: 12rem; padding-bottom: 3.5rem; }
[data-phase="event"] .hero__25, [data-phase="after"] .hero__25 { width: min(52vw, 320px); left: auto; right: 4%; transform: none; top: 3.6rem; }
.hero__pattern { position: absolute; inset: 0; background: var(--adire); opacity: .12; z-index: 0; }
.hero__img {
  position: absolute; right: -8%; top: 12%; width: 62%; max-width: 420px; height: 58%; object-fit: cover;
  border-radius: 999px 999px 0 0; z-index: 1; filter: saturate(.9) contrast(1.05);
}
.hero__25 { position: absolute; top: 9%; left: 50%; transform: translateX(-50%); width: min(120vw, 760px); z-index: 1; overflow: visible; }
.hero__25 text {
  font: 700 260px/1 var(--serif); fill: transparent; stroke: var(--gold); stroke-width: 1.2;
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  animation: draw25 2.6s var(--ease) .2s forwards, fill25 1.2s ease 2.2s forwards;
}
@keyframes draw25 { to { stroke-dashoffset: 0; } }
@keyframes fill25 { to { fill: rgba(201, 162, 39, .16); } }
.hero__body { position: relative; z-index: 2; }
.hero__title { font: 500 clamp(2.9rem, 13.5vw, 6.2rem)/.98 var(--serif); letter-spacing: -.025em; margin-bottom: 1.4rem; }
.hero__title em { color: var(--gold-light); }
.hero__theme { font: italic 500 1.15rem/1.45 var(--serif); max-width: 24em; color: rgba(246,240,228,.92); }
.hero__meta { display: flex; flex-direction: column; gap: .2rem; font-size: .9rem; letter-spacing: .04em; border-left: 2px solid var(--orange); padding-left: .9rem; margin-top: 1.6rem; }
.hero__meta span:first-child { font-weight: 700; }
.hero__scroll { position: absolute; bottom: 1.4rem; left: 50%; width: 1px; height: 44px; background: rgba(232,207,122,.35); z-index: 2; overflow: hidden; }
.hero__scroll span { position: absolute; top: -50%; left: 0; width: 1px; height: 50%; background: var(--gold-light); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { to { top: 100%; } }
[data-phase="event"] .hero__scroll, [data-phase="after"] .hero__scroll { display: none; }

/* ---------- Welcome ---------- */
.director { margin-top: 3.4rem !important; position: relative; background: #fff; border-radius: 22px; padding: 2.2rem 1.5rem 1.6rem; box-shadow: 0 20px 50px -30px rgba(0,52,58,.35); margin: 0 0 3.5rem; }
.director__photo { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold); margin: -5.2rem 0 1.2rem; }
.director__photo--empty { display: grid; place-items: center; background: var(--teal-800); color: var(--gold); font: 700 1.6rem var(--serif); }
.director__quote { margin: 0 0 1.2rem; font: italic 500 1.3rem/1.5 var(--serif); color: var(--teal-800); }
.director__quote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--gold); }
.director__name { font: 700 1rem/1.3 var(--sans); margin: 0; }
.director__name small { display: block; font-weight: 500; font-size: .82rem; color: var(--muted); }
.vm { display: grid; gap: 2.2rem; margin-bottom: 3rem; }
.vm__item { border-top: 1px solid rgba(201,162,39,.6); padding-top: 1.2rem; }
.vm__text { font: 500 clamp(1.55rem, 6.5vw, 2.2rem)/1.25 var(--serif); color: var(--teal-800); }
.about p { font-size: 1.05rem; max-width: 40em; }

/* ---------- Programme ---------- */
.invite {
  position: relative; background: #fff; border-radius: 6px; padding: 2.4rem 1.6rem; text-align: center;
  outline: 1.5px dashed var(--gold); outline-offset: -12px; box-shadow: 0 24px 50px -32px rgba(0,52,58,.4);
}
.invite__label { font: 700 .72rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--rust); }
.invite__date { font: 500 1.9rem/1.15 var(--serif); color: var(--teal-800); }
.invite__time { font: italic 500 1.3rem var(--serif); color: var(--orange); }
.invite__venue { font-weight: 500; }
.invite__occasion { font: italic 500 1rem/1.45 var(--serif); color: var(--teal); border-top: 1px solid rgba(201,162,39,.5); padding-top: 1rem; margin: 1.2rem auto 0; max-width: 22em; }
.prog__note { font: italic 500 .95rem var(--serif); color: var(--muted); margin-top: -.4rem; }
.invite__note { font-size: .85rem; color: var(--muted); margin: 1.2rem 0 0; }
.prog { list-style: none; margin: 0; padding: 0 0 0 1.6rem; position: relative; }
.prog::before { content: ""; position: absolute; left: .45rem; top: .5rem; bottom: .5rem; width: 2px; background: linear-gradient(var(--gold), rgba(201,162,39,.2)); }
.prog__item { position: relative; display: grid; padding: 0 0 1.6rem .6rem; }
.prog__item::before { content: ""; position: absolute; left: -1.45rem; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--gold); }
.prog__time { font: 700 .8rem var(--sans); letter-spacing: .14em; color: var(--rust); }
.prog__title { font: 500 1.3rem/1.3 var(--serif); color: var(--teal-800); }
.prog__detail { color: var(--muted); font-size: .95rem; }
.prog__item.past { opacity: .45; }
.prog__item.live { background: #fff; border-radius: 14px; padding: 1rem 1rem 1rem 1.2rem; margin: 0 0 1.4rem -.4rem; box-shadow: 0 12px 30px -18px rgba(0,52,58,.5); }
.prog__item.live::before { background: var(--orange); border-color: var(--orange); left: -1.05rem; top: 1.45rem; animation: pulse 1.6s infinite; }
.prog__item.live .prog__time::after { content: " · NOW"; color: var(--orange); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217,105,43,.6); } 100% { box-shadow: 0 0 0 14px rgba(217,105,43,0); } }
.guest { background: #fff; border-radius: 16px; padding: 1rem 1.1rem; margin-bottom: .8rem; }
.guest summary { display: flex; align-items: center; gap: .9rem; cursor: pointer; list-style: none; }
.guest summary::-webkit-details-marker { display: none; }
.guest summary::after { content: "+"; margin-left: auto; font: 500 1.6rem var(--serif); color: var(--gold); transition: transform .3s; }
.guest[open] summary::after { transform: rotate(45deg); }
.guest img, .guest__mono { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; }
.guest__mono { display: grid; place-items: center; background: var(--teal-800); color: var(--gold); font: 500 1.4rem var(--serif); }
.guest strong { display: block; font: 500 1.15rem/1.2 var(--serif); color: var(--teal-800); }
.guest small { color: var(--muted); font-size: .8rem; line-height: 1.3; display: block; }
.guest p { margin: 1rem 0 0; font-size: .95rem; }

/* ---------- Journey ---------- */
.chapter { margin-top: 2.6rem; }
.chapter__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.chapter__num { font: italic 500 3.2rem/1 var(--serif); color: transparent; -webkit-text-stroke: 1.2px var(--gold); min-width: 2.6rem; }
.chapter__head strong { display: block; font: 500 1.6rem/1.1 var(--serif); color: var(--teal-800); }
.chapter__head small { font: 700 .72rem var(--sans); letter-spacing: .18em; color: var(--rust); }
.rail {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1.4rem var(--gutter) 1rem;
  scrollbar-width: none; position: relative; scroll-padding-inline: var(--gutter);
  background: linear-gradient(var(--gold), var(--gold)) 0 1.85rem / 100% 2px no-repeat;
}
.rail::-webkit-scrollbar { display: none; }
.mile {
  flex: 0 0 min(76vw, 300px); scroll-snap-align: start; background: #fff; border-radius: 18px; padding: 1.6rem 1.3rem 1.2rem;
  position: relative; box-shadow: 0 16px 34px -26px rgba(0,52,58,.45); font-size: .95rem;
}
.mile__knot { position: absolute; top: -.62rem; left: 1.3rem; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold); }
.mile__year { font: 500 2.4rem/1 var(--serif); color: var(--orange); margin-bottom: .6rem; }
.mile p:last-child { margin: 0; }
.swipe-hint { font: italic 500 .95rem var(--serif); color: var(--muted); margin-top: 1rem; }

/* ---------- Impact ---------- */
.impact .hero__pattern { opacity: .06; }
.stats { list-style: none; padding: 0; margin: 2.4rem 0 1rem; display: grid; gap: 2.4rem; }
.stat { display: grid; max-width: 19rem; }
.stat:nth-child(even) { justify-self: end; text-align: right; }
.stat__num { font: 500 clamp(3.4rem, 17vw, 5.6rem)/1 var(--serif); color: var(--orange); letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.stat:nth-child(3n+2) .stat__num { color: var(--gold-light); }
.stat__label { border-top: 1px solid rgba(232,207,122,.5); padding-top: .6rem; margin-top: .5rem; font-size: .95rem; color: rgba(246,240,228,.9); }
.footnote { font: italic 500 1rem var(--serif); color: rgba(246,240,228,.75); margin-top: 2rem; }

/* ---------- Stories ---------- */
.stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.story {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: .6rem;
}
.story:nth-child(even) { margin-top: 2.2rem; }
.story__img { aspect-ratio: 3/4; width: 100%; object-fit: cover; border-radius: 999px 999px 14px 14px; transition: transform .6s var(--ease); }
.story:hover .story__img, .story:focus-visible .story__img { transform: scale(1.03); }
.story__quote { font: italic 500 .95rem/1.4 var(--serif); color: var(--teal-800); }
.story__name { font: 700 .9rem var(--sans); }
.story__name small { display: block; font-weight: 700; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rust); }
.story--empty { width: 100%; aspect-ratio: 3/4; border-radius: 999px 999px 14px 14px; border: 1.5px dashed var(--gold); background: var(--adire) center / 64px; opacity: .55; }
.sheet {
  border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 640px; max-height: 88svh;
  border-radius: 24px 24px 0 0; background: var(--paper); color: var(--ink);
}
.sheet[open] { animation: rise .5s var(--ease); }
.sheet::backdrop { background: rgba(0,52,58,.6); backdrop-filter: blur(3px); }
@keyframes rise { from { transform: translateY(100%); } }
.sheet__body { padding: 1.6rem var(--gutter) 2.4rem; }
.sheet__body img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; margin-bottom: 1.4rem; }
.sheet__body h3 { font: 500 2rem/1.1 var(--serif); color: var(--teal-800); margin-bottom: 1rem; }
.sheet__close { position: sticky; top: .8rem; float: right; margin: .8rem .8rem 0 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--teal-800); color: #fff; font-size: 1.5rem; cursor: pointer; z-index: 2; }

/* ---------- Watch ---------- */
.films { display: grid; gap: 2rem; }
.film__frame {
  all: unset; box-sizing: border-box; display: grid; place-items: center; position: relative; width: 100%; aspect-ratio: 16/9;
  background: var(--teal-800) center / cover; border-radius: 6px; margin-bottom: 1rem; cursor: pointer; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(232,207,122,.3);
}
.film__frame::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,20,24,.65)); }
.film__frame--empty { background: var(--teal-800) var(--adire); cursor: default; }
.film__frame--empty::before { display: none; }
.film__frame .soon { margin: 0; background: rgba(0,52,58,.8); }
.film iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 6px; margin-bottom: 1rem; }
.play { position: relative; width: 74px; height: 74px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(232,207,122,.35); transition: transform .4s var(--ease); }
.play::after { content: ""; position: absolute; left: 30px; top: 23px; border: 14px solid transparent; border-left: 22px solid #fff; border-right: 0; }
.film__frame:hover .play { transform: scale(1.08); }
.film__dur { position: absolute; right: .7rem; bottom: .6rem; font-size: .75rem; font-weight: 700; }
.film__title { font: 500 1.5rem/1.2 var(--serif); }

/* ---------- Gallery ---------- */
.gallery { columns: 2; column-gap: .8rem; }
.gallery img { margin-bottom: .8rem; border-radius: 10px; break-inside: avoid; }

/* ---------- 16 Days ---------- */
.sec--orange .lead { color: var(--ink); }
.theme16 {
  margin: 0 0 1.8rem; padding: 1.4rem 1.3rem; border-left: 4px solid var(--teal-900); background: rgba(255,255,255,.18);
  font: italic 500 1.35rem/1.4 var(--serif); color: var(--teal-900); border-radius: 0 14px 14px 0;
}
.theme16__label { display: block; font: 700 .7rem var(--sans); letter-spacing: .2em; text-transform: uppercase; font-style: normal; margin-bottom: .5rem; color: var(--ink); }
.polaroids { display: flex; gap: 1rem; overflow-x: auto; padding: 1rem .4rem 1.6rem; scrollbar-width: none; }
.polaroid { flex: 0 0 62%; background: #fff; padding: .6rem .6rem 1rem; margin: 0; box-shadow: 0 14px 30px -16px rgba(0,0,0,.4); }
.polaroid:nth-child(odd) { transform: rotate(-3deg); }
.polaroid:nth-child(even) { transform: rotate(2.5deg); }
.polaroid img { aspect-ratio: 1; object-fit: cover; }
.polaroid figcaption { font: italic 500 .95rem var(--serif); margin-top: .6rem; color: var(--ink); }
.mini-stats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; font-size: .8rem; }
.mini-stats strong { display: block; font: 500 2rem/1 var(--serif); color: var(--ivory); }
.pledge {
  position: relative; background: var(--paper); border-radius: 4px; padding: 2.4rem 1.6rem 2rem; margin-top: 2.4rem;
  outline: 1.5px solid var(--gold); outline-offset: -10px; box-shadow: 0 24px 40px -24px rgba(0,0,0,.45); text-align: center;
}
.pledge .kicker { justify-content: center; }
.pledge__text { font: italic 500 1.3rem/1.5 var(--serif); color: var(--teal-800); margin: 0; }
.pledge__seal {
  position: absolute; top: -26px; right: 22px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, var(--gold-light), var(--gold) 60%, #9c7b16); color: var(--teal-900); font: 700 1.2rem var(--serif);
  box-shadow: 0 6px 14px rgba(0,0,0,.25); transform: rotate(-10deg);
}

/* ---------- Partners ---------- */
.logos { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .8rem; }
.logos li, .marquee li { background: #fff; border-radius: 12px; padding: .8rem 1.2rem; font: 500 1rem var(--serif); color: var(--teal-800); display: grid; place-items: center; min-height: 64px; }
.logos img, .marquee img { max-height: 40px; width: auto; filter: grayscale(1); opacity: .8; }
.marquee { overflow: hidden; margin-top: 1.6rem; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - .5rem)); } }

/* ---------- Partner with us ---------- */
.partner .hero__pattern { opacity: .07; }
.ways { list-style: none; padding: 0; margin: 2.6rem 0; }
.ways li { display: grid; grid-template-columns: 3.2rem 1fr; column-gap: .6rem; padding: 1.2rem 0; border-top: 1px solid rgba(232,207,122,.3); }
.ways__n { grid-row: span 2; font: italic 500 2rem/1 var(--serif); color: var(--gold); }
.ways strong { font: 500 1.35rem/1.25 var(--serif); }
.ways span:last-child { color: rgba(246,240,228,.82); font-size: .95rem; }
.ai { border: 1px solid rgba(232,207,122,.35); border-radius: 18px; padding: 1.6rem 1.3rem; margin-bottom: 2.6rem; background: rgba(0,0,0,.12); }
.ai ul { padding-left: 1.1rem; margin: 0; }
.ai li { margin-bottom: .5rem; }
.ai li::marker { color: var(--gold); content: "✦  "; }
.contact { display: flex; gap: 1rem; align-items: center; margin-bottom: 2rem; }
.contact img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--gold); }
.contact strong { display: block; font: 500 1.2rem var(--serif); }
.contact small { display: block; color: rgba(246,240,228,.75); }
.contact a { color: var(--gold-light); }
.form h3 { font: 500 1.6rem var(--serif); margin-bottom: 1.2rem; }
.form label { display: block; font: 700 .72rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.3rem; }
.form input, .form textarea {
  display: block; width: 100%; margin-top: .4rem; padding: .7rem 0; background: transparent; border: 0; border-bottom: 1.5px solid rgba(246,240,228,.45);
  color: var(--ivory); font: 400 1.05rem var(--sans); border-radius: 0; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--orange); }
.form__note { font-size: .8rem; color: rgba(246,240,228,.7); margin-top: 1rem; }
.form__note a { color: var(--gold-light); }
.form__status { font-weight: 700; color: var(--gold-light); }
.hp { position: absolute; left: -9999px; }
.knot-target { display: block; height: 150px; }

/* ---------- Support us ---------- */
.give {
  background: #fff; border-radius: 22px; padding: 2rem 1.5rem; text-align: center; max-width: 420px;
  box-shadow: 0 24px 50px -32px rgba(0,52,58,.45); outline: 1.5px dashed var(--gold); outline-offset: -10px;
}
.give__qr { margin: 0 auto 1.4rem; width: min(220px, 70%); }
.give__qr img { width: 100%; height: auto; image-rendering: pixelated; }
.give__qr figcaption { font: 700 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--rust); margin-top: .6rem; }
.give__btn { width: 100%; }
.give__link { font-size: .9rem; color: var(--muted); margin: 1rem 0 0; }
.give__link a { color: var(--teal); font-weight: 700; }
@media (min-width: 760px) { .give { margin-left: 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: 0 1.6rem;
  border-radius: 99px; border: 0; font: 700 .85rem var(--sans); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s;
}
.btn:active { transform: scale(.97); }
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(217,105,43,.8); }
.btn--teal { background: var(--teal-800); color: #fff; margin-top: .6rem; }
.btn--ghost { border: 1px solid var(--gold-light); color: var(--gold-light); background: transparent; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-900); color: var(--ivory); text-align: center; padding: 4rem var(--gutter) 7rem; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; border-top: 2px dashed rgba(201,162,39,.55); }
.footer .kicker { justify-content: center; margin-top: 2rem; }
.footer__logo { height: 40px; width: auto; margin: 0 auto 1.2rem; }
.footer__mark { font: 500 2.6rem/1 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--gold); margin: 0; }
.footer__mark span { -webkit-text-stroke: 0; color: var(--orange); }
.footer__line { font: italic 500 1.15rem var(--serif); margin-top: .6rem; }
.icons { display: flex; gap: .8rem; justify-content: center; }
.icons a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(232,207,122,.6); color: var(--gold-light); transition: background .3s, color .3s; }
.icons a:hover { background: var(--gold); color: var(--teal-900); }
.icons svg { width: 20px; height: 20px; fill: currentColor; }
.follow { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.2rem; font-size: .9rem; }
.follow a { text-decoration-color: rgba(232,207,122,.5); text-underline-offset: 3px; }
.footer__legal { font-size: .75rem; opacity: .6; margin-top: 2rem; }

/* ---------- Floating menu pill ---------- */
.pill {
  position: fixed; z-index: 60; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; align-items: center; gap: .55rem; padding: .45rem 1.2rem .45rem .45rem; border: 0; border-radius: 99px;
  background: var(--teal-900); color: var(--ivory); font: 700 .8rem var(--sans); letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.5), 0 0 0 1px rgba(232,207,122,.35); cursor: pointer;
}
.ring { width: 36px; height: 36px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: rgba(232,207,122,.25); stroke-width: 2.5; }
.ring .ring__bar { stroke: var(--gold); stroke-dasharray: 113.1; stroke-dashoffset: 113.1; stroke-linecap: round; }
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--teal-900) var(--grain); color: var(--ivory);
  display: flex; align-items: center; padding: 5rem var(--gutter) 6rem; overflow-y: auto;
  clip-path: circle(0 at 50% calc(100% - 2.6rem)); transition: clip-path .7s var(--ease);
}
.menu[hidden] { display: flex; visibility: hidden; }
.menu.open { clip-path: circle(150% at 50% calc(100% - 2.6rem)); visibility: visible; }
.menu ol { list-style: none; padding: 0; margin: 0 auto; width: 100%; max-width: 540px; }
.menu a { display: flex; align-items: baseline; gap: 1rem; text-decoration: none; font: 500 clamp(1.7rem, 8vw, 2.6rem)/1.35 var(--serif); }
.menu a span { font: italic 500 .9rem var(--serif); color: var(--gold); min-width: 1.6rem; }
.menu a:hover { color: var(--gold-light); }
.menu li { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s var(--ease); }
.menu.open li { opacity: 1; transform: none; }
.menu.open li:nth-child(n) { transition-delay: calc(var(--i, 0) * 45ms + .15s); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); }
.js .reveal-img.in { clip-path: inset(0); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(105%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.js .split.in .w > span { transform: none; }
.js .mile { opacity: 0; transform: translateX(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .rail.in .mile { opacity: 1; transform: none; }

/* ---------- Larger screens ---------- */
@media (min-width: 760px) {
  :root { --gutter: 48px; }
  .sec { padding: 8rem 0; }
  .vm { grid-template-columns: 1.2fr 1fr; gap: 3rem; }
  .about { columns: 2; column-gap: 3rem; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(even) { justify-self: start; text-align: left; }
  .stories { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
  .story:nth-child(even) { margin-top: 0; }
  .story:nth-child(3n+2) { margin-top: 3rem; }
  .films { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 3; }
  .director { max-width: 720px; }
  .invite, .pledge { max-width: 560px; margin-left: auto; margin-right: auto; }
  .ways { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .form { max-width: 560px; }
  .hero__img { right: 6%; width: 34%; }
  .rail { padding-left: max(var(--gutter), calc((100vw - 1080px) / 2 + var(--gutter))); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .mile, .js .split .w > span { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: none; }
  .hero__25 text { stroke-dashoffset: 0; fill: rgba(201,162,39,.16); }
}
