/* The Lance Foundation — site styles.
   Brand colours come from the logo: navy hands, teal ring, rose heart, leaf tree. Warm cream ties them together. */

:root {
  --navy: #154760;
  --navy-deep: #0e3346;
  --teal: #0b7e85;
  --teal-soft: #e3f3f2;
  --rose: #da1c5c;
  --rose-deep: #b8154b;
  --rose-soft: #fde7ee;
  --leaf: #39b54a;
  --leaf-deep: #2a8a37;
  --leaf-soft: #e8f6e9;
  --navy-soft: #e6eef3;
  --cream: #fbf6ee;
  --cream-deep: #f4ead9;
  --paper: #ffffff;
  --ink: #102a38;
  --ink-2: #3c5462;
  --ink-3: #6a7f8a;
  --line: #e4e0d7;
  --shadow: 0 1px 2px rgba(16, 42, 56, 0.06), 0 10px 30px -12px rgba(16, 42, 56, 0.25);
  --shadow-lg: 0 30px 60px -25px rgba(16, 42, 56, 0.45);
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 84px;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: light;
}
@media (max-width: 760px) {
  :root { --header-h: 68px; --radius: 18px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.08; margin: 0 0 0.5em; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.15em; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (max-width: 480px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------------------------------------------------------------- type helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font: 700 0.8rem/1.2 var(--body); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--rose); }
.eyebrow--light { color: #bfe7e4; }
.eyebrow--light::before { background: var(--leaf); }
.lede { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.text-link {
  display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; color: var(--teal); text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 1px; transition: gap 0.2s, color 0.2s;
}
.text-link:hover { gap: 0.65em; color: var(--rose); }
.center-title { text-align: center; max-width: 22ch; margin-inline: auto; }
.chip {
  display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px;
  background: var(--teal-soft); color: var(--teal); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.01em;
}
.loc { display: flex; align-items: center; gap: 0.35em; color: var(--ink-3); font-weight: 600; font-size: 0.93rem; margin: 0 0 0.6rem; }
.loc .i { color: var(--rose); }
.loc--lg { font-size: 1.05rem; }
.facts { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { padding: 6px 12px; border-radius: 999px; background: var(--leaf-soft); color: var(--leaf-deep); font-weight: 700; font-size: 0.85rem; }
.facts--light li { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.92rem; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.06rem; }
.btn-give { background: var(--rose); color: #fff; box-shadow: 0 10px 22px -10px rgba(218, 28, 92, 0.7); }
.btn-give:hover { background: var(--rose-deep); color: #fff; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--teal); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--leaf); color: #fff; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--navy); background: #fff; color: var(--navy);
  display: inline-grid; place-items: center; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s;
}
.icon-btn:hover { background: var(--navy); color: #fff; }
.icon-btn .i { width: 20px; height: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------------------------------------------------------------- header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: #fff; z-index: 60; }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.97); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow 0.25s, border-color 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(16, 42, 56, 0.5); border-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-logo { height: calc(var(--header-h) - 12px); width: auto; transition: height 0.25s; }
.is-scrolled .brand-logo { height: calc(var(--header-h) - 18px); }
.brand-name { display: flex; flex-direction: column; font: 800 1.12rem/1.02 var(--display); color: var(--navy); letter-spacing: -0.01em; }
.brand-name span:last-child { color: var(--teal); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 9px 11px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav a:hover { background: var(--teal-soft); color: var(--teal); }
.nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--navy-soft); color: var(--navy); cursor: pointer; place-items: center; }
.nav-toggle .i { width: 24px; height: 24px; }
.mobile-nav { border-top: 1px solid var(--line); background: #fff; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-nav nav { padding-block: 12px 24px; display: grid; gap: 14px; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: grid; }
.mobile-nav a:not(.btn) { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); font: 700 1.2rem/1.2 var(--display); color: var(--navy); text-decoration: none; }
.mobile-nav a[aria-current="page"] { color: var(--rose); }
@media (max-width: 1220px) {
  .nav, .header-give { display: none; }
  .nav-toggle { display: inline-grid; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 1rem; }
}

/* ---------------------------------------------------------------- sections */
.section { padding-block: clamp(64px, 8vw, 112px); position: relative; }
.section--tight-top { padding-top: clamp(24px, 3vw, 40px); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #e8f1f5; }
.section--navy h2, .section--navy h3 { color: #fff; }
.wave { position: absolute; left: 0; width: 100%; height: 44px; display: block; pointer-events: none; }
.wave--top { top: -1px; fill: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head-text { max-width: 46ch; color: var(--ink-2); margin: 0; }
.section-head-text .text-link { margin-top: 10px; }

/* ---------------------------------------------------------------- hero (home) */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 80px); background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { min-width: 0; }
.hero-title { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.2rem); line-height: 0.98; margin-bottom: 0.4em; }
.hl { position: relative; white-space: nowrap; color: var(--rose); }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.02em; height: 0.26em; z-index: -1;
  background: var(--leaf); opacity: 0.28; border-radius: 0.2em; transform: rotate(-1.2deg);
}
.hero-title { position: relative; z-index: 0; }
.hero-text { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.28rem); color: var(--ink-2); max-width: 54ch; margin-bottom: 1.6rem; }
.hero-ticks { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-ticks li { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.hero-ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.hero-media { position: relative; min-width: 0; padding: 18px 10px 28px; }
.arch { position: relative; overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius); background: var(--navy-soft); box-shadow: var(--shadow-lg); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--hero { aspect-ratio: 5 / 4; border: 8px solid #fff; z-index: 1; border-radius: 50% 50% var(--radius) var(--radius) / 24% 24% var(--radius) var(--radius); }
.arch--hero img { object-position: 52% 45%; }
.arch--soft { border-radius: 200px 200px var(--radius) var(--radius); aspect-ratio: 4 / 4.6; }
.blob { position: absolute; border-radius: 50%; z-index: 0; }
.blob--teal { width: 62%; aspect-ratio: 1; right: -8%; top: -4%; background: var(--teal); opacity: 0.16; }
.blob--rose { width: 30%; aspect-ratio: 1; left: -6%; bottom: 4%; background: var(--rose); opacity: 0.18; }
.blob--leaf { width: 40%; aspect-ratio: 1; right: -6%; top: -6%; background: var(--leaf); opacity: 0.2; }
.sticker {
  position: absolute; z-index: 2; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; line-height: 1.1; animation: float 6s ease-in-out infinite;
}
.sticker b { font: 800 1.7rem/1 var(--display); color: var(--navy); }
.sticker span { font-size: 0.82rem; font-weight: 700; color: var(--ink-3); margin-top: 4px; }
.sticker--count { left: -2%; top: 18%; transform: rotate(-4deg); }
.sticker--events { right: -1%; bottom: 10%; background: var(--rose); animation-delay: -3s; transform: rotate(3deg); }
.sticker--events b, .sticker--events span { color: #fff; }
.squiggle { position: absolute; width: 110px; right: 8%; top: 0; color: var(--leaf); z-index: 2; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 480px) {
  .sticker { padding: 9px 12px; }
  .sticker b { font-size: 1.3rem; }
  .sticker--count { left: 0; top: 10%; }
  .sticker--events { right: 0; bottom: 6%; }
  .hero .actions .btn { flex: 1 1 100%; }
}

/* ---------------------------------------------------------------- photo marquee */
.marquee { background: var(--cream); padding-bottom: clamp(36px, 5vw, 64px); display: grid; gap: 14px; overflow: hidden; }
.marquee-row { overflow: hidden; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.marquee-row--right .marquee-track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { position: relative; display: block; width: clamp(200px, 22vw, 300px); aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; flex: none; background: var(--navy-soft); }
.marquee-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.marquee-item span {
  position: absolute; left: 10px; bottom: 10px; right: 10px; padding: 5px 10px; border-radius: 999px; width: max-content; max-width: calc(100% - 20px);
  background: rgba(255, 255, 255, 0.92); color: var(--navy); font-weight: 700; font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; translate: 0 6px; transition: opacity 0.25s, translate 0.25s;
}
.marquee-item:hover img { transform: scale(1.06); }
.marquee-item:hover span, .marquee-item:focus-visible span { opacity: 1; translate: 0 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-row { overflow-x: auto; }
  .marquee-track { animation: none; }
}

/* ---------------------------------------------------------------- statement + stats */
.statement { padding-bottom: clamp(48px, 6vw, 80px); }
.statement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.statement-grid h2 { margin: 0; }
.statement-grid .lede { margin-bottom: 1rem; }
@media (max-width: 800px) { .statement-grid { grid-template-columns: 1fr; } }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stats li { padding: clamp(18px, 2.5vw, 28px); border-radius: var(--radius); display: flex; flex-direction: column; gap: 6px; }
.stats li:nth-child(1) { background: var(--navy); }
.stats li:nth-child(2) { background: var(--teal); }
.stats li:nth-child(3) { background: var(--rose); }
.stats li:nth-child(4) { background: var(--leaf); }
.stat-num { font: 800 clamp(2.2rem, 1.6rem + 2.2vw, 3.6rem)/1 var(--display); color: #fff; letter-spacing: -0.03em; }
.stat-label { color: rgba(255, 255, 255, 0.9); font-weight: 700; }
.stats--light { margin-top: clamp(32px, 5vw, 56px); }
.stats--light li { background: rgba(255, 255, 255, 0.08) !important; border: 1px solid rgba(255, 255, 255, 0.14); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------- programme cards */
.prog-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.prog-card {
  grid-column: span 2; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 0; overflow: hidden;
  border-radius: var(--radius); text-decoration: none; color: #fff; min-height: 380px; transition: transform 0.25s, box-shadow 0.25s;
}
.prog-card:nth-child(4), .prog-card:nth-child(5) { grid-column: span 3; }
.prog-card:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: var(--shadow-lg); color: #fff; }
.prog-card--teal { background: var(--teal); }
.prog-card--navy { background: var(--navy); }
.prog-card--rose { background: var(--rose); }
.prog-card--leaf { background: var(--leaf-deep); }
.prog-num { font-size: 0.85rem; opacity: 0.8; }
.prog-card-title { font: 800 1.55rem/1.05 var(--display); letter-spacing: -0.02em; }
.prog-card-sub { color: rgba(255, 255, 255, 0.88); font-size: 0.98rem; max-width: 36ch; }
.prog-card-media { margin-top: auto; margin-inline: -24px; height: 170px; border-radius: 120px 120px 0 0; overflow: hidden; translate: 0 8px; transition: translate 0.3s; }
.prog-card:hover .prog-card-media { translate: 0 0; }
.prog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.prog-card-cta { position: absolute; top: 22px; right: 22px; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: 0.85rem; background: rgba(255, 255, 255, 0.16); padding: 6px 12px; border-radius: 999px; }
.prog-card:not(:has(.prog-card-media)) { padding-bottom: 26px; min-height: 240px; background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.4px, transparent 1.6px); background-size: 18px 18px; }
.prog-card:not(:has(.prog-card-media))::after { content: attr(data-word); position: absolute; right: -0.04em; bottom: -0.18em; font: 800 clamp(4rem, 8vw, 7rem)/1 var(--display); color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.3); letter-spacing: -0.04em; pointer-events: none; }
@media (max-width: 960px) {
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-card, .prog-card:nth-child(4), .prog-card:nth-child(5) { grid-column: span 1; }
  .prog-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .prog-grid { grid-template-columns: 1fr; }
  .prog-card { min-height: 0; }
  .prog-card-cta { position: static; width: max-content; }
}

/* ---------------------------------------------------------------- feature (Mama Serah) */
.feature { background: var(--navy); border-radius: calc(var(--radius) * 1.6); display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 56px); padding: clamp(20px, 3vw, 40px); color: #e6f0f4; align-items: center; overflow: hidden; position: relative; }
.feature::after { content: ""; position: absolute; width: 420px; aspect-ratio: 1; border-radius: 50%; right: -160px; bottom: -200px; background: var(--teal); opacity: 0.35; }
.feature h2 { color: #fff; }
.feature-copy { position: relative; z-index: 1; padding: clamp(4px, 2vw, 24px); }
.feature-text { font-size: 1.12rem; color: #cfe1e8; }
.feature-media { position: relative; min-height: 440px; align-self: stretch; }
.feature-photo { border-radius: var(--radius); overflow: hidden; }
.feature-photo img, .feature-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.feature-photo--a { position: absolute; inset: 0 18% 0 0; }
.feature-photo--b { position: absolute; right: 0; bottom: 8%; width: 38%; aspect-ratio: 3 / 4; border: 6px solid var(--navy); transform: rotate(3deg); }
.feature-play { position: absolute; left: 24px; bottom: 24px; z-index: 2; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature-media { min-height: 300px; }
}

/* play button */
.play { display: inline-flex; align-items: center; gap: 12px; border: 0; background: #fff; color: var(--navy); padding: 8px 20px 8px 8px; border-radius: 999px; font: 700 0.98rem/1 var(--body); cursor: pointer; text-decoration: none; box-shadow: var(--shadow); transition: transform 0.2s; }
.play:hover { transform: scale(1.04); color: var(--navy); }
.play-dot { width: 44px; height: 44px; border-radius: 50%; background: var(--rose); color: #fff; display: grid; place-items: center; position: relative; }
.play-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--rose); opacity: 0.5; animation: pulse 2s ease-out infinite; }
.play-dot svg { width: 20px; height: 20px; margin-left: 2px; }
.play--sm { padding: 5px 14px 5px 5px; font-size: 0.88rem; box-shadow: none; border: 2px solid var(--line); }
.play--sm .play-dot { width: 30px; height: 30px; }
.play--sm .play-dot svg { width: 14px; height: 14px; }
@keyframes pulse { from { transform: scale(0.9); opacity: 0.7; } to { transform: scale(1.35); opacity: 0; } }

/* ---------------------------------------------------------------- journey rail + event cards */
.rail-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 6px max(20px, calc((100vw - 1240px) / 2 + 20px)) 18px;
  scroll-padding-inline: max(20px, calc((100vw - 1240px) / 2 + 20px));
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-item { flex: 0 0 clamp(250px, 26vw, 320px); scroll-snap-align: start; }
.rail-controls { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.rail-controls .btn { margin-left: auto; }
.event-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: inherit; }
.event-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-soft); }
.event-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.event-card:hover .event-card-media img { transform: scale(1.05); }
.event-card-media .ph { height: 100%; }
.date-badge { position: absolute; left: 12px; top: 12px; background: #fff; border-radius: 14px; padding: 7px 11px; display: flex; flex-direction: column; align-items: center; line-height: 1; box-shadow: var(--shadow); }
.date-badge b { font: 800 1.05rem/1 var(--display); color: var(--rose); text-transform: uppercase; }
.date-badge span { font: 500 0.72rem/1 var(--mono); color: var(--ink-3); margin-top: 3px; }
.count-badge { position: absolute; right: 12px; bottom: 12px; display: inline-flex; gap: 5px; align-items: center; background: rgba(16, 42, 56, 0.75); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; }
.event-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.event-card-body h3 { font-size: 1.15rem; margin: 0 0 4px; }
.event-card-body .meta { margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); }
.event-card-body .loc { margin: 0; font-size: 0.88rem; }

/* placeholder tile for events still waiting for photos */
.ph {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 20px; min-height: 200px; height: 100%;
  color: #fff; overflow: hidden; isolation: isolate;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.4px, transparent 1.6px); background-size: 18px 18px;
}
.ph--teal { background-color: var(--teal); }
.ph--navy { background-color: var(--navy); }
.ph--rose { background-color: var(--rose); }
.ph--leaf { background-color: var(--leaf-deep); }
.ph-year { position: absolute; top: -0.12em; right: 0.05em; font: 800 clamp(4rem, 9vw, 8rem)/1 var(--display); color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.35); z-index: -1; letter-spacing: -0.04em; }
.ph-title { font: 800 1.3rem/1.1 var(--display); max-width: 18ch; }
.ph-note { display: inline-flex; gap: 6px; align-items: center; font-size: 0.82rem; font-weight: 700; opacity: 0.85; }
.ph--tall { min-height: 360px; border-radius: var(--radius); }

/* ---------------------------------------------------------------- TikTok reels */
.reels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reel-card {
  position: relative; aspect-ratio: 9 / 14; border-radius: 28px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  color: #fff; text-decoration: none; overflow: hidden; border: 6px solid var(--ink); transition: transform 0.25s;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.4px, transparent 1.6px); background-size: 18px 18px;
}
.reel-card:hover { transform: translateY(-6px) rotate(-1deg); color: #fff; }
.reel-card--teal { background-color: var(--teal); }
.reel-card--navy { background-color: var(--navy); }
.reel-card--rose { background-color: var(--rose); }
.reel-icon { position: absolute; top: 18px; left: 18px; width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; }
.reel-icon svg { width: 22px; height: 22px; fill: var(--ink); }
.reel-play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--rose); display: grid; place-items: center; }
.reel-play svg { width: 30px; height: 30px; margin-left: 4px; }
.reel-title { font: 800 1.3rem/1.1 var(--display); }
.reel-cta { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: 0.9rem; opacity: 0.9; }
.reels-grid--live { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
.reel-embed { min-width: 0; overflow: hidden; border-radius: 18px; }
.reel-embed blockquote { margin: 0 !important; }
@media (max-width: 900px) {
  .reel-play { inset: 18px 18px auto auto; margin: 0; width: 52px; height: 52px; }
  .reel-play svg { width: 22px; height: 22px; }
  .reels-grid, .reels-grid--live { grid-template-columns: 1fr 1fr; }
  .reel-card:first-child, .reel-embed--creator { grid-column: 1 / -1; aspect-ratio: auto; min-height: 220px; }
}
@media (max-width: 520px) {
  .reels-grid, .reels-grid--live { grid-template-columns: 1fr; }
  .reel-card { aspect-ratio: auto; min-height: 240px; }
}

/* ---------------------------------------------------------------- leaders teaser + team */
.leaders-teaser { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.leader-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.leader-chip { display: flex; flex-direction: column; padding: 14px 18px; border-radius: 18px; line-height: 1.2; flex: 1 1 200px; transition: transform 0.2s; }
.leader-chip:hover { transform: rotate(-1.5deg) scale(1.02); }
.leader-chip b { font: 800 1.08rem/1.15 var(--display); }
.leader-chip span { font-size: 0.86rem; font-weight: 600; margin-top: 3px; }
.leader-chip--teal { background: var(--teal-soft); color: var(--teal); }
.leader-chip--navy { background: var(--navy-soft); color: var(--navy); }
.leader-chip--rose { background: var(--rose-soft); color: var(--rose-deep); }
.leader-chip--leaf { background: var(--leaf-soft); color: var(--leaf-deep); }
@media (max-width: 860px) { .leaders-teaser { grid-template-columns: 1fr; } }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.person { position: relative; padding: 28px 26px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
.person::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.person--teal::before { background: var(--teal); }
.person--navy::before { background: var(--navy); }
.person--rose::before { background: var(--rose); }
.person--leaf::before { background: var(--leaf); }
.person-num { position: absolute; right: 20px; top: 18px; font-size: 2.6rem; line-height: 1; color: var(--cream-deep); }
.person .role { padding-right: 52px; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.6rem; }
.person h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.person-bio { color: var(--ink-2); margin: 0; }
.person--lead { grid-column: span 2; background: var(--navy); border-color: var(--navy); color: #d8e8ef; }
.person--lead h3 { color: #fff; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); }
.person--lead .role { color: #9fe0d9; }
.person--lead .person-bio { color: #d8e8ef; font-size: 1.1rem; max-width: 48ch; }
.person--lead .person-num { color: rgba(255, 255, 255, 0.15); }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team { grid-template-columns: 1fr; } .person--lead { grid-column: auto; } }

/* ---------------------------------------------------------------- blocks + give band */
.blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(28px, 4vw, 44px); }
.block { display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; border-radius: var(--radius); text-decoration: none; color: #fff; min-height: 250px; transition: transform 0.25s; }
.block:hover { transform: translateY(-6px) rotate(0.5deg); color: #fff; }
.block--rose { background: var(--rose); }
.block--teal { background: var(--teal); }
.block--navy { background: var(--navy); }
.block-title { font: 800 2.1rem/1 var(--display); }
.block-text { color: rgba(255, 255, 255, 0.9); }
.block-cta { margin-top: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 800; }
@media (max-width: 860px) { .blocks { grid-template-columns: 1fr; } .block { min-height: 0; } }

.give-band { background: var(--navy); color: #d8e8ef; padding-block: clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.give-band::before { content: ""; position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%; left: -200px; top: -260px; background: var(--rose); opacity: 0.18; }
.give-band h2 { color: #fff; }
.give-band .lede { color: #c5d9e2; }
.give-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; }
@media (max-width: 860px) { .give-grid { grid-template-columns: 1fr; } }
.pay-cards { display: grid; gap: 12px; }
.pay-card { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius-sm); padding: 16px 18px; }
.pay-kind { font-weight: 800; color: #9fe0d9; margin-bottom: 6px; font-size: 0.9rem; }
.pay-card dl { margin: 0; display: grid; gap: 6px; }
.pay-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.pay-row dt { color: #b5ccd6; font-size: 0.92rem; }
.pay-row dd { margin: 0; display: flex; align-items: center; gap: 10px; font: 500 1.05rem/1.2 var(--mono); color: #fff; }
.copy-btn { border: 1px solid currentColor; background: transparent; color: inherit; border-radius: 999px; padding: 4px 11px; font: 700 0.75rem/1 var(--body); cursor: pointer; }
.copy-btn.is-copied { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.pay-cards--light .pay-card { background: var(--cream); border-color: var(--line); }
.pay-cards--light .pay-kind { color: var(--teal); }
.pay-cards--light .pay-row dt { color: var(--ink-3); }
.pay-cards--light .pay-row dd { color: var(--navy); }
.pay-note { margin: 10px 0 0; font-size: 0.85rem; color: #b5ccd6; }
.pay-cards--light .pay-note { color: var(--ink-3); }

/* ---------------------------------------------------------------- page heroes */
.page-hero { padding-block: clamp(36px, 6vw, 80px); background: linear-gradient(180deg, #fff, var(--cream)); overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero--image .page-hero-grid { grid-template-columns: 1.1fr 0.9fr; }
.page-hero-copy { min-width: 0; }
.page-hero-media { position: relative; max-width: 460px; width: 100%; justify-self: end; }
.page-hero-media .arch { aspect-ratio: 4 / 4.4; border: 7px solid #fff; z-index: 1; }
@media (max-width: 860px) {
  .page-hero--image .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { justify-self: start; max-width: 420px; }
}

/* ---------------------------------------------------------------- events page */
.page-hero--events h1 { max-width: 16ch; }
.year-chips { list-style: none; margin: 1.6rem 0 0.8rem; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.year-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border-radius: 999px; background: #fff; border: 2px solid var(--navy); color: var(--navy); text-decoration: none; font-weight: 800; transition: background 0.2s, color 0.2s; }
.year-chips a span { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; background: var(--rose); color: #fff; font-size: 0.8rem; }
.year-chips a:hover { background: var(--navy); color: #fff; }
.ev-stats { color: var(--ink-3); font-size: 0.9rem; margin: 0; }

.ev-jump { display: none; position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 40; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.ev-jump-inner { display: flex; gap: 10px; padding-block: 10px; }
.ev-jump select { flex: 1; min-width: 0; height: 44px; border-radius: 999px; border: 2px solid var(--navy); padding: 0 14px; font: 600 0.95rem var(--body); color: var(--navy); background: #fff; }
.sort-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--navy); font: 700 0.85rem var(--body); cursor: pointer; white-space: nowrap; }
.sort-btn:hover { border-color: var(--navy); }
.ev-jump .sort-btn { height: 44px; }

.ev-section { padding-top: clamp(32px, 4vw, 56px); }
.ev-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.ev-menu { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 20px); }
.ev-menu-card { background: var(--cream); border-radius: var(--radius); padding: 18px 10px 18px 18px; max-height: calc(100dvh - var(--header-h) - 44px); display: flex; flex-direction: column; }
.ev-menu-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-right: 8px; margin-bottom: 10px; }
.ev-menu-head h2 { font-size: 1.2rem; margin: 0; }
.ev-menu-head .sort-btn { height: 34px; padding: 0 10px; font-size: 0.78rem; }
.evm { list-style: none; margin: 0; padding: 0 8px 0 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.evm-year { margin-bottom: 8px; }
.evm-year-link { display: inline-block; font: 800 1rem/1 var(--display); color: #fff; background: var(--navy); padding: 6px 12px; border-radius: 999px; text-decoration: none; margin: 4px 0 6px; }
.evm ol { list-style: none; margin: 0; padding: 0 0 0 12px; border-left: 2px dashed var(--cream-deep); }
.evm ol a { display: grid; grid-template-columns: 36px 1fr; gap: 6px; padding: 7px 8px; border-radius: 12px; text-decoration: none; color: var(--ink-2); font-size: 0.9rem; line-height: 1.3; font-weight: 600; transition: background 0.2s, color 0.2s; }
.evm ol a:hover { background: #fff; color: var(--navy); }
.evm ol a.is-active { background: #fff; color: var(--rose); box-shadow: var(--shadow); }
.evm-m { font-size: 0.72rem; color: var(--ink-3); text-transform: uppercase; padding-top: 2px; }

.ev-year { margin-bottom: clamp(36px, 5vw, 64px); }
.ev-year-label { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.ev-year-label span { font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 2px var(--navy); letter-spacing: -0.04em; }
.ev-year-label small { font: 700 0.95rem var(--body); color: var(--rose); letter-spacing: 0; }
.ev {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; border-radius: calc(var(--radius) * 1.2); overflow: hidden;
  background: #fff; border: 1px solid var(--line); margin-bottom: 22px; box-shadow: 0 1px 0 var(--line); transition: box-shadow 0.25s;
}
.ev:hover { box-shadow: var(--shadow); }
.ev:nth-of-type(even) .ev-media { order: 2; }
.ev-media { min-width: 0; background: var(--navy-soft); }
.ev-media .carousel { height: 100%; border-radius: 0; }
.ev-media .car-track { height: 100%; }
.ev-media .slide { aspect-ratio: auto; min-height: 340px; height: 100%; }
.ph--event { min-height: 340px; }
.ev-body { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; min-width: 0; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-bottom: 10px; }
.ev-date { font: 700 0.95rem var(--body); color: var(--rose); }
.ev h3 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.8rem); margin-bottom: 6px; }
.ev h3 a { color: inherit; text-decoration: none; }
.ev h3 a:hover { color: var(--teal); }
.ev-summary { color: var(--ink-2); }
.ev-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding-top: 6px; }
.ev-actions .text-link { font-size: 0.92rem; border-bottom-width: 0; }
.ev.is-target { box-shadow: 0 0 0 3px var(--rose), var(--shadow); }
@media (max-width: 1100px) {
  .ev { grid-template-columns: 1fr; }
  .ev:nth-of-type(even) .ev-media { order: 0; }
  .ev-media .slide { min-height: 0; aspect-ratio: 16 / 10; }
  .ph--event { min-height: 220px; aspect-ratio: 16 / 9; }
}
@media (max-width: 900px) {
  .ev-layout { grid-template-columns: 1fr; }
  .ev-menu { display: none; }
  .ev-jump { display: block; }
  [data-ev] { scroll-margin-top: calc(var(--header-h) + 84px); }
}

/* ---------------------------------------------------------------- carousel */
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-soft); }
.car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; overscroll-behavior-x: contain; }
.car-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; position: relative; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--navy-soft); }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption { position: absolute; left: 14px; bottom: 52px; right: 14px; color: #fff; font-weight: 700; font-size: 0.9rem; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.car-btn { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.94); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transition: opacity 0.2s, transform 0.2s; z-index: 2; }
.car-btn .i { width: 20px; height: 20px; }
.car-prev { left: 12px; }
.car-next { right: 12px; }
.carousel:hover .car-btn, .carousel:focus-within .car-btn { opacity: 1; }
.car-btn:hover { transform: scale(1.08); }
@media (hover: none) { .car-btn { opacity: 1; width: 38px; height: 38px; } }
.car-foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(10, 30, 40, 0.55)); pointer-events: none; z-index: 1; }
.car-dots { display: flex; gap: 5px; flex-wrap: wrap; pointer-events: auto; }
.car-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, 0.55); cursor: pointer; transition: width 0.3s, background 0.3s; }
.car-dots button[aria-current="true"] { width: 22px; background: #fff; }
.car-count { margin-left: auto; color: #fff; font-size: 0.8rem; background: rgba(0, 0, 0, 0.35); padding: 3px 9px; border-radius: 999px; white-space: nowrap; flex: none; }
.car-dots[hidden] { display: none; }
.car-zoom { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.9); color: var(--navy); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.car-zoom .i { width: 18px; height: 18px; }
.carousel.is-playing .car-dots button[aria-current="true"] { background: linear-gradient(90deg, #fff 50%, rgba(255, 255, 255, 0.55) 50%); background-size: 200% 100%; animation: dotfill var(--autoplay, 5s) linear forwards; }
@keyframes dotfill { from { background-position: 100% 0; } to { background-position: 0 0; } }
.slide.is-broken { display: none; }

/* ---------------------------------------------------------------- event detail */
.event-hero { padding-block: clamp(28px, 4vw, 56px) clamp(40px, 5vw, 64px); background: linear-gradient(180deg, #fff, var(--cream)); }
.event-hero-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.event-hero-copy { min-width: 0; }
.event-hero-copy h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.8rem); }
.event-hero-media { min-width: 0; }
.carousel--hero .slide { aspect-ratio: 4 / 3; }
.ph--hero { min-height: 360px; border-radius: var(--radius); }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; margin-bottom: 18px; color: var(--teal); }
@media (max-width: 900px) { .event-hero-grid { grid-template-columns: 1fr; } .event-hero-media { order: -1; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split > * { min-width: 0; }
.split--event { grid-template-columns: 300px minmax(0, 1fr); align-items: start; }
.event-facts { position: sticky; top: calc(var(--header-h) + 24px); background: var(--cream); border-radius: var(--radius); padding: 22px; display: grid; gap: 16px; justify-items: start; }
.event-facts dl { margin: 0; display: grid; gap: 12px; width: 100%; }
.event-facts dt { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.event-facts dd { margin: 2px 0 0; font-weight: 700; color: var(--navy); }
.event-facts .facts { margin: 0; }
@media (max-width: 860px) {
  .split, .split--event { grid-template-columns: 1fr; }
  .event-facts { position: static; }
}
.prose { max-width: 68ch; }
.prose--lg { font-size: 1.1rem; }
.prose h2 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--rose); }
.prose strong { color: var(--navy); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.thumb { border: 0; padding: 0; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--navy-soft); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.thumb:hover img { transform: scale(1.07); }
@media (max-width: 520px) { .thumbs { grid-template-columns: repeat(3, 1fr); gap: 6px; } }
.ev-navs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ev-nav { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: var(--radius); border: 2px solid var(--line); text-decoration: none; color: var(--navy); transition: border-color 0.2s, transform 0.2s; }
.ev-nav:hover { border-color: var(--navy); transform: translateY(-3px); color: var(--navy); }
.ev-nav--next { text-align: right; align-items: flex-end; }
.ev-nav-dir { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal); font-size: 0.9rem; }
.ev-nav-title { font: 800 1.15rem/1.2 var(--display); }
.ev-nav-date { color: var(--ink-3); font-size: 0.88rem; }
@media (max-width: 600px) { .ev-navs { grid-template-columns: 1fr; } .ev-nav--next { text-align: left; align-items: flex-start; } }

/* ---------------------------------------------------------------- gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 8px 0 16px; border-radius: 999px; border: 2px solid var(--navy); background: #fff; color: var(--navy); font: 800 0.95rem var(--body); cursor: pointer; }
.filter span { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 99px; background: var(--navy-soft); font-size: 0.75rem; }
.filter[aria-pressed="true"] { background: var(--navy); color: #fff; }
.filter[aria-pressed="true"] span { background: var(--rose); color: #fff; }
.gallery { columns: 4 240px; column-gap: 12px; }
.g-item { position: relative; display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; break-inside: avoid; background: var(--navy-soft); }
.g-item img { width: 100%; height: auto; transition: transform 0.5s; }
.g-item:hover img { transform: scale(1.04); }
.g-cap { position: absolute; left: 8px; bottom: 8px; right: 8px; width: max-content; max-width: calc(100% - 16px); padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--navy); font-weight: 700; font-size: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.g-item[hidden] { display: none; }
.more-note { color: var(--ink-3); margin-top: 24px; }
.g-more { display: grid; justify-items: center; gap: 8px; margin-top: 8px; }
.g-more .g-count { margin: 0; color: var(--ink-3); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.g-more [hidden] { display: none; }

/* ---------------------------------------------------------------- about */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mv article { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); }
.mv-text { font: 700 clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem)/1.3 var(--display); color: #fff; margin: 0; letter-spacing: -0.01em; }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.value { padding: 24px 22px; border-radius: var(--radius); min-height: 200px; }
.value h3 { margin-bottom: 0.4em; }
.value p { margin: 0; font-size: 0.97rem; }
.value--teal { background: var(--teal-soft); } .value--teal h3 { color: var(--teal); }
.value--navy { background: var(--navy-soft); }
.value--rose { background: var(--rose-soft); } .value--rose h3 { color: var(--rose-deep); }
.value--leaf { background: var(--leaf-soft); } .value--leaf h3 { color: var(--leaf-deep); }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } .value { min-height: 0; } }
.mini-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.mini-timeline > li { background: #fff; border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--line); }
.tl-year { font: 800 2rem/1 var(--display); color: var(--rose); display: block; margin-bottom: 8px; }
.mini-timeline ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mini-timeline a { color: var(--navy); font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.mini-timeline a:hover { color: var(--teal); text-decoration: underline; }
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.partners li { padding: 24px; border-radius: var(--radius); border: 2px solid var(--line); }
.partners p { margin: 0; color: var(--ink-2); }
.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.docs a { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; padding: 16px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); text-decoration: none; color: var(--navy); }
.doc-title { font-weight: 800; }
.doc-desc { color: var(--ink-3); }
.doc-open { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--teal); }
.reg { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; padding: 22px 26px; border-radius: var(--radius); background: var(--cream); }
.reg img { width: 96px; height: auto; }
.reg dl { margin: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; flex: 1; }
.reg dt { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.reg dd { margin: 2px 0 0; font-weight: 700; color: var(--navy); }

/* ---------------------------------------------------------------- programmes page */
.prog-row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.prog-row:nth-child(even) .prog-row-media { order: 2; }
.prog-row > * { min-width: 0; }
.prog-row-media { max-width: 440px; width: 100%; }
.related-label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 0.6rem 0 0.4rem; }
.related { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.related a { display: inline-flex; flex-direction: column; padding: 8px 14px; border-radius: 14px; background: var(--cream); color: var(--navy); text-decoration: none; font-weight: 700; font-size: 0.9rem; line-height: 1.25; }
.related a span { font-weight: 500; font-size: 0.78rem; color: var(--ink-3); }
.related a:hover { background: var(--navy); color: #fff; }
.related a:hover span { color: #cfe1e8; }
@media (max-width: 860px) { .prog-row { grid-template-columns: 1fr; } .prog-row:nth-child(even) .prog-row-media { order: 0; } }

/* ---------------------------------------------------------------- get involved, forms, donate, contact */
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.way { padding: 26px 22px; border-radius: var(--radius); color: #fff; min-height: 230px; display: flex; flex-direction: column; gap: 6px; }
.way h3 { color: #fff; font-size: 1.5rem; margin: 6px 0 4px; }
.way p { margin: 0; color: rgba(255, 255, 255, 0.92); }
.way--teal { background: var(--teal); } .way--navy { background: var(--navy); } .way--rose { background: var(--rose); } .way--leaf { background: var(--leaf-deep); }
@media (max-width: 960px) { .ways { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ways { grid-template-columns: 1fr; } .way { min-height: 0; } }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); display: grid; gap: 16px; box-shadow: var(--shadow); min-width: 0; }
.form h2 { font-size: 1.6rem; margin: 0; }
.form h3 { margin: 6px 0 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field[hidden] { display: none; }
.field label small { font-weight: 500; color: var(--ink-3); }
.field label, .field legend { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 2px solid var(--line); font: 500 1rem var(--body); color: var(--ink); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.checks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.checks legend { margin-bottom: 8px; }
.check { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--line); cursor: pointer; font-weight: 600; font-size: 0.92rem; }
.check:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); color: var(--teal); }
.check input { accent-color: var(--teal); }
.hint { color: var(--ink-3); font-size: 0.9rem; margin: 0; }
.form-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--leaf-soft); color: var(--leaf-deep); font-weight: 700; }
.form-note.is-error { background: var(--rose-soft); color: var(--rose-deep); }
.amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.amounts label { display: inline-flex; align-items: center; height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); font-weight: 800; color: var(--navy); cursor: pointer; }
.amounts input { position: absolute; opacity: 0; pointer-events: none; }
.amounts label:has(input:checked) { background: var(--rose); border-color: var(--rose); color: #fff; }
.amounts label:has(input:focus-visible) { outline: 3px solid var(--rose); outline-offset: 2px; }
.steps { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.split--donate { align-items: start; }
.donate-side { display: grid; gap: 14px; min-width: 0; }
.donate-side h2 { font-size: 1.6rem; margin: 0; }
.note-card { padding: 18px 20px; border-radius: var(--radius-sm); background: var(--cream); }
.note-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.note-card p { margin: 0; color: var(--ink-2); }
.contact-list { margin: 0 0 18px; display: grid; gap: 16px; }
.contact-list dt { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.contact-list dd { margin: 2px 0 0; font: 700 1.2rem/1.3 var(--display); color: var(--navy); overflow-wrap: anywhere; }
.contact-list a { color: inherit; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; }
.cta-row h2 { margin-bottom: 0.2em; }
.cta-row .lede { margin: 0; }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; margin-top: 40px; }
.wave--footer { position: relative; display: block; fill: var(--navy-deep); height: 50px; }
.footer-body { background: var(--navy-deep); color: #b9cfd9; padding-block: 24px 28px; margin-top: -1px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-logo { display: inline-block; background: #fff; border-radius: 28px; padding: 14px 18px; margin-bottom: 18px; }
.footer-logo img { width: 190px; }
.footer-motto { font: 700 1.05rem/1.3 var(--display); color: #fff; }
.footer-col h2 { font: 800 0.8rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: #9fe0d9; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #e3eef3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; }
.socials a:hover { background: var(--rose); text-decoration: none; }
.socials svg { width: 20px; height: 20px; fill: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; font-size: 0.88rem; padding-bottom: env(safe-area-inset-bottom, 0px); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* back to top */
.to-top {
  position: fixed; z-index: 45; width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg);
  transition: transform 0.25s, opacity 0.25s, background 0.2s; opacity: 0; transform: translateY(16px) scale(0.9);
}
.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { background: var(--rose); }
.to-top > .i { width: 22px; height: 22px; position: relative; }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.to-top-ring circle { fill: none; stroke: rgba(255, 255, 255, 0.18); stroke-width: 3; }
.to-top-ring .to-top-progress { stroke: var(--leaf); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); stroke-linecap: round; }

/* ---------------------------------------------------------------- dialogs */
dialog { border: 0; padding: 0; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; background: rgba(8, 22, 30, 0.96); color: #fff; }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop, .video-dialog::backdrop { background: rgba(8, 22, 30, 0.85); }
.lightbox-stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px 8px; touch-action: pan-y; }
.lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.lightbox-bar { display: flex; align-items: center; gap: 14px; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lightbox-bar p { margin: 0; font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox-count { color: #b9cfd9; font-size: 0.85rem; }
.lightbox-btns { display: flex; gap: 8px; }
.lightbox .icon-btn { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.lightbox .icon-btn:hover { background: #fff; color: var(--navy); }
.video-dialog { width: min(1000px, 94vw); background: #000; border-radius: 16px; overflow: visible; }
.video-frame { aspect-ratio: 16 / 9; }
.video-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 16px; }
.video-close { position: absolute; top: -56px; right: 0; background: #fff; }

/* reveal on scroll */
.reveal { opacity: 0; translate: 0 24px; transition: opacity 0.7s ease, translate 0.7s ease; }
.reveal.is-in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; translate: 0 0; } }

/* ---------------------------------------------------------------- M-Pesa STK form */
.donate-main { display: grid; gap: 18px; min-width: 0; }
.stk { background: #fff; border: 2px solid var(--leaf); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; box-shadow: var(--shadow); min-width: 0; }
.stk-head { display: flex; gap: 14px; align-items: flex-start; }
.stk-head h3 { margin: 0 0 4px; }
.stk-head p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.mpesa-mark { flex: none; display: inline-grid; place-items: center; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--leaf-deep); color: #fff; font: 800 1rem/1 var(--display); letter-spacing: 0.02em; }
.mpesa-mark b { color: #ff3b3b; }
.stk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.stk-chip { height: 42px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--navy); font: 800 0.92rem var(--body); cursor: pointer; }
.stk-chip[aria-pressed="true"] { background: var(--leaf-deep); border-color: var(--leaf-deep); color: #fff; }
.stk .opt { font-weight: 500; color: var(--ink-3); }
.stk-btn { width: 100%; }
.stk-note { margin: 0; padding: 12px 14px; border-radius: 12px; font-weight: 600; background: var(--teal-soft); color: var(--teal); }
.stk-note.ok { background: var(--leaf-soft); color: var(--leaf-deep); }
.stk-note.bad { background: var(--rose-soft); color: var(--rose-deep); }
.stk-note.info { background: var(--cream); color: var(--ink-2); }
.stk--off .stk-chips, .stk--off .form-row, .stk--off .field { opacity: 0.55; }
.stk-alt { margin: 0; }

/* ---------------------------------------------------------------- money counter + countdown */
.raise { display: grid; gap: 8px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--cream); margin-bottom: 18px; }
.raise-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.raise-amount { font: 800 clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem)/1 var(--display); color: var(--leaf-deep); letter-spacing: -0.02em; }
.raise-label { color: var(--ink-2); font-weight: 600; }
.raise-label b { color: var(--navy); }
.raise-bar { height: 14px; border-radius: 99px; background: rgba(16, 42, 56, 0.1); overflow: hidden; }
.raise-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--leaf), var(--teal)); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.raise-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.88rem; font-weight: 700; color: var(--ink-3); }
.raise-meta span:empty { display: none; }
.raise--light { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); }
.raise--light .raise-amount { color: #9ff0a8; }
.raise--light .raise-label, .raise--light .raise-meta { color: #cfe1e8; }
.raise--light .raise-label b { color: #fff; }
.raise--light .raise-bar { background: rgba(255, 255, 255, 0.16); }
.raise--compact { margin: 10px 0 0; padding: 12px 14px; }
.raise--compact .raise-amount { font-size: 1.4rem; }
.countdown { display: flex; gap: 10px; margin: 0 0 18px; }
.countdown div { min-width: 74px; padding: 10px 12px; border-radius: 16px; background: var(--navy); color: #fff; text-align: center; display: flex; flex-direction: column; }
.countdown b { font: 800 1.9rem/1 var(--display); }
.countdown span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.8; margin-top: 4px; }
.countdown[hidden] { display: none; }

/* ---------------------------------------------------------------- home: upcoming banner */
.up-banner-wrap { padding-top: 0; }
.up-banner { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(20px, 3.5vw, 44px); border-radius: calc(var(--radius) * 1.6); background: var(--navy); color: #d8e8ef; }
.up-banner::before { content: ""; position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%; right: -180px; top: -220px; background: var(--rose); opacity: 0.22; }
.up-banner::after { content: ""; position: absolute; width: 360px; aspect-ratio: 1; border-radius: 50%; left: 30%; bottom: -240px; background: var(--leaf); opacity: 0.16; }
.up-banner > * { position: relative; z-index: 1; min-width: 0; }
.up-banner-poster { display: block; border-radius: 18px; overflow: hidden; transform: rotate(-2.5deg); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.6); border: 6px solid #fff; transition: transform 0.3s; max-width: 420px; }
.up-banner-poster:hover { transform: rotate(0) scale(1.02); }
.up-banner h2 { color: #fff; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem); margin-bottom: 0.25em; }
.up-banner h2 span { display: block; font-size: 0.5em; color: #9fe0d9; margin-top: 4px; }
.up-banner-text { font-size: 1.1rem; color: #cfe1e8; max-width: 52ch; }
.up-banner .countdown div { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); }
@media (max-width: 820px) {
  .up-banner { grid-template-columns: 1fr; }
  .up-banner-poster { max-width: 340px; margin-inline: auto; }
}

/* ---------------------------------------------------------------- upcoming list + page */
.up-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.up-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform 0.25s, box-shadow 0.25s; }
.up-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: inherit; }
.up-card-poster { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-soft); }
.up-card-poster img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.up-flag { position: absolute; left: 12px; top: 12px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: 0.8rem; }
.up-flag--live { background: var(--rose); }
.up-card-body { padding: 16px 18px 20px; }
.up-card-body .meta { margin: 0 0 4px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); }
.up-card-body h3 { margin-bottom: 6px; }
.up-card-body p { color: var(--ink-2); margin-bottom: 0; }
.up-card--past { opacity: 0.8; }
.up-past-title { margin-top: clamp(40px, 6vw, 72px); }
.up-hero { padding-block: clamp(24px, 4vw, 56px); background: linear-gradient(180deg, #fff, var(--cream)); }
.up-hero-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.up-poster { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); display: block; width: 100%; }
.up-poster img { width: 100%; height: auto; }
.up-info { min-width: 0; }
.up-info h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem); margin-bottom: 0.3em; }
.up-sub { display: block; font-size: 0.45em; color: var(--rose); margin-top: 6px; letter-spacing: 0; }
.up-facts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.up-facts li { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.up-facts span { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.up-facts b { color: var(--navy); }
.split--up { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; }
.up-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); min-width: 0; }
.needs { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.needs li { margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-weight: 700; font-size: 0.95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { color: var(--rose); font-weight: 700; }
.contacts { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 4px; }
.contacts a { font: 800 1.3rem/1.3 var(--display); color: var(--navy); text-decoration: none; }
@media (max-width: 900px) {
  .up-hero-grid, .split--up { grid-template-columns: 1fr; }
  .up-poster { max-width: 520px; }
  .up-side { position: static; }
}
/* An event's partners: a band under the event hero, a line on the homepage banner, and on Partner with us */
.up-partners { padding: clamp(28px, 4vw, 44px) 0; background: var(--cream); border-block: 1px solid var(--line); }
.up-partners h2 { margin: 2px 0 18px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); text-wrap: balance; }
.up-partners--page { background: #fff; }
.pt-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.pt-strip li > a, .pt-strip li > span { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); color: var(--navy); text-decoration: none; }
.pt-strip li > a:hover { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.pt-strip b { font-size: 1rem; line-height: 1.25; }
.pt-mark { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; font-size: 0.95rem; letter-spacing: 0.04em; }
.pt-strip li:nth-child(4n+2) .pt-mark { background: var(--teal); }
.pt-strip li:nth-child(4n+3) .pt-mark { background: var(--rose); }
.pt-strip li:nth-child(4n+4) .pt-mark { background: #b7791f; }
.pt-logo { flex: none; width: 64px; height: 44px; display: grid; place-items: center; }
.pt-logo img { max-width: 64px; max-height: 44px; width: auto; height: auto; object-fit: contain; }
.pt-cta { margin: 16px 0 0; color: var(--ink-2); }
.up-banner-partners { margin: -4px 0 14px; color: #cfe1e8; font-weight: 600; font-size: 0.98rem; }
@media (max-width: 420px) { .up-facts { grid-template-columns: 1fr; } .countdown div { min-width: 0; flex: 1; } }

/* ---------------------------------------------------------------- admin shortcut on the public site */
.admin-bar { position: fixed; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 46; display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--ink); box-shadow: var(--shadow-lg); }
.admin-bar a { color: #fff; text-decoration: none; font-weight: 700; font-size: 0.85rem; padding: 8px 14px; border-radius: 999px; }
.admin-bar a:first-child { background: var(--rose); }
.admin-bar a:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.raise--empty .raise-label { display: none; }
.raise--empty .raise-amount { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); }
.up-info .back-link { display: flex; width: max-content; }
.mpesa-mark { white-space: nowrap; }

/* ---------------------------------------------------------- contributions wall, toast, confetti */
.stk-anon { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.stk-anon input { width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; accent-color: var(--teal); flex: none; }
.stk .opt a { color: inherit; }
.wall { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; min-width: 0; }
.wall-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; }
.wall-title { margin: 0; display: flex; align-items: center; gap: 10px; font-size: clamp(1.25rem, 2.4vw, 1.7rem); text-wrap: balance; }
h3.wall-title { font-size: 1.2rem; }
.wall-title .i { width: 26px; height: 26px; flex: none; color: var(--rose); fill: var(--rose-soft); }
.wall-count { color: var(--ink-3); font-weight: 700; font-size: 0.9rem; }
.wall-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 10px; }
.wall-item { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--cream); min-width: 0; animation: wall-in 0.5s ease both; }
.wall-item p { margin: 0; line-height: 1.35; overflow-wrap: anywhere; }
.wall-item b { color: var(--navy); }
.wall-avatar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--teal); color: #fff; font: 800 1.05rem var(--display); }
.wall-item:nth-child(4n + 2) .wall-avatar { background: var(--rose); }
.wall-item:nth-child(4n + 3) .wall-avatar { background: var(--navy); }
.wall-item:nth-child(4n + 4) .wall-avatar { background: var(--leaf); }
.wall-time { font-size: 0.82rem; color: var(--ink-3); font-weight: 600; }
.wall-empty { margin: 0; padding: 18px; border-radius: 16px; background: var(--cream); text-align: center; font-weight: 700; color: var(--navy); }
.wall-more { justify-self: start; }
@keyframes wall-in { from { opacity: 0; transform: translateY(6px); } }
.wall-ticker { margin: 12px 0 0; font-size: 0.92rem; color: #cfe1e8; }
.wall-ticker b { color: #fff; }
.wall-ticker a { color: #9ff0a8; }
.wall-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.wall-filter { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--navy); background: #fff; color: var(--navy); font: 700 0.92rem var(--body); cursor: pointer; }
.wall-filter[aria-pressed="true"] { background: var(--navy); color: #fff; }
.contrib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.contrib-card { display: grid; gap: 10px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; box-shadow: var(--shadow); min-width: 0; }
.contrib-card h3 { margin: 0; }
.contrib-card .eyebrow { margin: 0; }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; }
.toast-stack { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 91; display: grid; gap: 8px; width: min(calc(100vw - 32px), 440px); pointer-events: none; }
.toast { background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 16px; box-shadow: var(--shadow-lg); font-weight: 600; line-height: 1.4; animation: toast-in 0.35s ease both; transition: opacity 0.5s, transform 0.5s; }
.toast b { color: #9ff0a8; }
.toast--out { opacity: 0; transform: translateY(8px); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .wall-item, .toast { animation: none; } }

/* ---------------------------------------------------------- WhatsApp group */
.wa-card { display: flex; gap: 12px 16px; align-items: center; flex-wrap: wrap; padding: 18px 20px; border-radius: var(--radius-sm); background: #e7f6ec; border: 1px solid #bfe3cb; min-width: 0; }
.wa-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #1b8a4b; color: #fff; flex: none; }
.wa-ico .i { width: 26px; height: 26px; }
.wa-copy { flex: 1 1 180px; min-width: 0; }
.wa-copy h3 { margin: 0 0 2px; font-size: 1.1rem; }
.wa-copy p { margin: 0; color: var(--ink-2); font-size: 0.92rem; }
.btn-wa { background: #1b8a4b; color: #fff; }
.btn-wa:hover { background: #136b39; color: #fff; }
.wa-band { margin-top: 24px; }
/* The giving column holds the form, contacts and WhatsApp: only keep it pinned on tall screens. */
@media (max-height: 1100px) { .up-side { position: static; } }

/* ---------------------------------------------------------- FAQ (About page) */
.faq-wrap { max-width: 880px; }
.faq { display: grid; gap: 10px; }
.faq-item { background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 60px 18px 20px; font: 800 1.08rem/1.35 var(--display); color: var(--navy); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font: 800 1.25rem/1 var(--body); color: var(--rose); }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: var(--radius-sm); }
.faq-item .prose { padding: 0 20px 20px; max-width: none; }
.faq-item .prose p:last-child { margin-bottom: 0; }
/* FAQ page */
.faq-tools { display: grid; gap: 14px; margin-bottom: 28px; position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; background: var(--paper); padding: 12px 0; }
.faq-search { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 18px; background: #fff; }
.faq-search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.faq-search svg { width: 20px; height: 20px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; flex: none; }
.faq-search input { border: 0; outline: 0; background: transparent; font: 500 1rem/1.4 var(--body); color: var(--ink); padding: 14px 0; width: 100%; min-width: 0; }
.faq-topics { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.faq-topics::-webkit-scrollbar { display: none; }
.faq-topics a { flex: none; padding: 7px 14px; border-radius: 999px; background: var(--cream); color: var(--navy); font: 700 0.88rem/1.2 var(--body); text-decoration: none; white-space: nowrap; }
.faq-topics a:hover { background: var(--teal-soft); color: var(--teal); }
.faq-group { scroll-margin-top: calc(var(--header-h) + 130px); }
.faq-group + .faq-group { margin-top: 40px; }
.faq-group h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 0 0 14px; }
.faq-item { scroll-margin-top: calc(var(--header-h) + 130px); }
.faq-item.hit summary { background: var(--teal-soft); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.faq-none { color: var(--ink-3); text-align: center; padding: 24px 0; }
.faq-more { margin-top: 48px; padding: 28px; border-radius: var(--radius); background: var(--navy); color: #fff; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.faq-more h2 { color: #fff; margin: 0 0 6px; font-size: 1.4rem; }
.faq-more p { margin: 0; color: #cfe0e8; max-width: 46ch; }
.faq-more-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.faq-more .btn-primary { background: var(--rose); }
.faq-more .btn-primary:hover { background: var(--rose-deep); }
.faq-more .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.6); }

/* ---------------------------------------------------------- give box: M-Pesa, card, crypto */
.give { display: grid; gap: 12px; min-width: 0; }
.give-towards { margin: 0; }
.give-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--cream-deep); }
.give-tabs[hidden] { display: none; }
.give-tabs button { min-height: 42px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 800 0.95rem var(--body); cursor: pointer; }
.give-tabs button[hidden] { display: none; }
.give-tabs button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(16, 42, 56, 0.12), 0 4px 10px -4px rgba(16, 42, 56, 0.25); }
.give-tabs button:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; }
.pay-mark { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; }
.pay-mark .i { width: 24px; height: 24px; }
.pay-mark--card { background: var(--navy); }
.pay-mark--crypto { background: #b7791f; }
.stk.card-form { border-color: var(--navy); }
.stk.crypto { border-color: #d9a23a; }
/* "Send me a thank-you on WhatsApp" */
.wa-opt { padding: 10px 12px; border-radius: 12px; background: #e7f6ec; border: 1px solid #bfe3cb; color: #14532d; }
.wa-opt input { accent-color: #1b8a4b; }
.wa-opt .i { width: 17px; height: 17px; vertical-align: -3px; color: #1b8a4b; }
.wa-opt .opt { display: block; margin-top: 2px; font-size: 0.82rem; }
.wa-opt-box { display: grid; gap: 10px; }
.wa-opt [hidden], .wa-opt-box[hidden], .wa-opt-box [hidden] { display: none !important; }
.wa-out { display: grid; gap: 8px; }
.wa-upd { color: #14532d; font-weight: 600; padding-top: 8px; border-top: 1px dashed #bfe3cb; }
.wa-join[hidden] { display: none !important; }
.wa-out p { margin: 0; font-size: 0.9rem; font-weight: 600; }
.wa-out .stk-anon { color: #14532d; font-weight: 600; }
.wa-opt-box .field { margin: 0; }
.card-test { margin: 0; padding: 8px 12px; border-radius: 10px; background: #fff4d6; color: #7a5200; font-size: 0.88rem; font-weight: 700; }
.coin-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.coin-pick button { height: 42px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--navy); font: 800 0.92rem var(--body); cursor: pointer; }
.coin-pick button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.coin { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px; border-radius: 16px; background: var(--cream); }
.qr { width: 148px; aspect-ratio: 1; max-width: 100%; border-radius: 10px; overflow: hidden; background: #fff; }
.qr svg { display: block; width: 100%; height: 100%; }
.coin-info { display: grid; gap: 10px; min-width: 0; justify-items: start; }
.coin-label { margin: 0; font-weight: 800; color: var(--navy); }
.addr { display: block; width: 100%; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font: 500 0.92rem/1.45 var(--mono); color: var(--ink); word-break: break-all; user-select: all; }
.coin-warn { margin: 0; font-size: 0.86rem; color: #7a5200; font-weight: 600; }
.claim { border-top: 1px solid var(--line); padding-top: 12px; }
.claim summary { cursor: pointer; font-weight: 800; color: var(--teal); }
.claim form { display: grid; gap: 12px; margin-top: 12px; }
.claim .btn { justify-self: start; }
.crypto-none { margin: 0; color: var(--ink-2); }
@media (max-width: 520px) {
  .coin { grid-template-columns: 1fr; justify-items: center; }
  .qr { width: 200px; }
  .coin-info { justify-items: stretch; }
  .give-tabs button { font-size: 0.9rem; }
}
.wall-orig { color: var(--ink-3); font-weight: 600; }
.thanks-hero { text-align: center; }
.thanks-hero .wrap { display: grid; gap: 14px; justify-items: center; max-width: 720px; }
.thanks-hero h1 { margin: 0; text-wrap: balance; }
.thanks-hero .lede { margin: 0 auto; }
.thanks-hero .actions { justify-content: center; }

/* ---------------------------------------------------------------- website chat (static/chat.js) */
.has-lcw .to-top { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
.lcw { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 70; font-family: var(--body); }
.lcw-launch { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: 700 0.98rem/1 var(--body); cursor: pointer; box-shadow: var(--shadow-lg); position: relative; transition: background 0.2s, padding 0.25s; }
.lcw-launch:hover { background: var(--teal); }
.lcw-launch:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.lcw-launch-icon svg { width: 24px; height: 24px; fill: #fff; display: block; }
.lcw--small .lcw-launch { padding: 0 16px; }
.lcw--small .lcw-launch-text { display: none; }
.lcw--open .lcw-launch { display: none; }
.lcw-badge { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--rose); color: #fff; font: 800 0.75rem/22px var(--body); text-align: center; padding: 0 6px; border: 2px solid #fff; }
.lcw-panel { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: min(400px, calc(100vw - 36px)); height: min(640px, calc(100vh - 110px)); height: min(640px, calc(100dvh - 110px)); background: #fff; border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(16, 42, 56, 0.55), 0 0 0 1px rgba(16, 42, 56, 0.06); display: flex; flex-direction: column; overflow: hidden; }
.lcw-panel[hidden] { display: none; }
.lcw-head { display: flex; align-items: center; gap: 10px; padding: 14px 10px 14px 16px; background: var(--navy); color: #fff; flex: none; }
.lcw-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--rose); color: #fff; display: grid; place-items: center; font: 800 0.85rem/1 var(--display); flex: none; }
.lcw-who { flex: 1; min-width: 0; display: grid; gap: 2px; }
.lcw-who b { font: 800 1rem/1.2 var(--display); }
.lcw-sub { font-size: 0.8rem; color: #cfe0e8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcw-icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; }
.lcw-icon-btn:hover { background: rgba(255, 255, 255, 0.12); }
.lcw-icon-btn svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; fill: none; }
.lcw-icon-btn[data-chat-menu] svg { fill: currentColor; stroke: none; }
.lcw-menu-wrap { position: relative; }
.lcw-menu { position: absolute; right: 0; top: 44px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; display: grid; min-width: 210px; z-index: 2; }
.lcw-menu[hidden] { display: none; }
.lcw-menu button, .lcw-menu a { text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 8px; font: 600 0.92rem/1.2 var(--body); color: var(--ink); cursor: pointer; text-decoration: none; }
.lcw-menu button:hover, .lcw-menu a:hover { background: var(--cream); }
.lcw-list { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); overscroll-behavior: contain; }
.lcw-msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 88%; gap: 3px; }
.lcw-msg.me { align-self: flex-end; align-items: flex-end; }
.lcw-by { font: 700 0.72rem/1 var(--body); color: var(--ink-3); padding: 0 4px; }
.lcw-msg.staff .lcw-by { color: var(--leaf-deep); }
.lcw-bubble { padding: 10px 13px; border-radius: 16px 16px 16px 4px; background: #fff; color: var(--ink); font-size: 0.94rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(16, 42, 56, 0.06); overflow-wrap: anywhere; }
.lcw-msg.me .lcw-bubble { background: var(--navy); color: #fff; border-radius: 16px 16px 4px 16px; }
.lcw-msg.staff .lcw-bubble { background: var(--leaf-soft); }
.lcw-bubble p { margin: 0; }
.lcw-bubble p + p, .lcw-bubble p + ul, .lcw-bubble ul + p { margin-top: 8px; }
.lcw-bubble ul { margin: 0; padding-left: 18px; }
.lcw-bubble a { color: var(--teal); font-weight: 700; }
.lcw-msg.me .lcw-bubble a { color: #fff; }
.lcw-time { font-size: 0.68rem; color: var(--ink-3); padding: 0 4px; }
.lcw-sys { align-self: center; max-width: 92%; text-align: center; font-size: 0.8rem; color: var(--ink-2); background: rgba(255, 255, 255, 0.7); border-radius: 10px; padding: 6px 10px; }
.lcw-sys p { margin: 0; }
.lcw-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.lcw-chips button { border: 1.5px solid var(--teal); background: #fff; color: var(--teal); border-radius: 999px; padding: 7px 12px; font: 700 0.84rem/1.1 var(--body); cursor: pointer; text-align: left; }
.lcw-chips button:hover { background: var(--teal); color: #fff; }
.lcw-typing { display: flex; gap: 4px; padding: 14px 16px; }
.lcw-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: lcw-dot 1.2s infinite; }
.lcw-typing i:nth-child(2) { animation-delay: 0.15s; }
.lcw-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes lcw-dot { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .lcw-typing i { animation: none; } }
.lcw-handoff { background: #fff; border-radius: 14px; padding: 14px; display: grid; gap: 10px; border: 1.5px solid var(--teal-soft); }
.lcw-handoff p { margin: 0; font-size: 0.88rem; color: var(--ink-2); }
.lcw-handoff label { display: grid; gap: 4px; font: 700 0.8rem/1.2 var(--body); color: var(--ink-2); }
.lcw-handoff input { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font: 500 0.95rem/1.2 var(--body); color: var(--ink); min-width: 0; }
.lcw-handoff input:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.lcw-btn { border: 0; border-radius: 999px; background: var(--rose); color: #fff; font: 800 0.95rem/1 var(--body); padding: 12px 16px; cursor: pointer; }
.lcw-btn:hover { background: var(--rose-deep); }
.lcw-btn:disabled { opacity: 0.6; cursor: wait; }
.lcw-small { font-size: 0.75rem !important; color: var(--ink-3) !important; }
.lcw-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 10px 6px 14px; border-top: 1px solid var(--line); background: #fff; flex: none; }
.lcw-form textarea { flex: 1; min-width: 0; border: 0; resize: none; font: 500 0.98rem/1.4 var(--body); color: var(--ink); padding: 9px 0; max-height: 120px; background: transparent; }
.lcw-form textarea:focus { outline: 0; }
.lcw-send { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.lcw-send:hover { background: var(--teal); }
.lcw-send:disabled { opacity: 0.5; }
.lcw-send svg { width: 20px; height: 20px; fill: currentColor; }
.lcw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lcw-foot { margin: 0; padding: 0 14px 10px; font-size: 0.72rem; color: var(--ink-3); background: #fff; flex: none; }
.lcw-foot a { color: inherit; }
@media (max-width: 640px) {
  .lcw-launch { height: 52px; }
  .lcw-panel { inset: 0; width: 100%; height: 100%; border-radius: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .lcw-head { padding-left: calc(16px + env(safe-area-inset-left, 0px)); padding-right: calc(10px + env(safe-area-inset-right, 0px)); }
  .lcw-form textarea { font-size: 16px; }
}
@media print { .lcw { display: none; } }

/* Partner with us (/partner) */
.partner-goals { padding-left: 1.2em; margin: 0 0 1.2em; }
.partner-goals li { margin: .35em 0; }
.partner-budget { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: .95rem; }
.partner-budget td { padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.partner-budget td:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--navy); }
.partner-budget small { color: var(--ink-3); }
.partner-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; margin-bottom: 14px; }
.partner-packs > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.partner-packs b { display: block; color: var(--navy); }
.partner-packs small { display: block; color: var(--ink-3); margin: 2px 0 6px; }
.partner-packs p { margin: 0; font-size: .92rem; }
[data-pledge] .form-hint { color: var(--ink-3); font-size: .88rem; margin: 0; }
