/* ==========================================================================
   Buyegi Trust Fund — new design system (preview v0.1)
   Brand: navy (logo wordmark) + sunflower orange (logo petals) + sage
   ========================================================================== */
:root {
  --ink: #141a3a;
  --navy: #2b3990;
  --navy-700: #1f2a6e;
  --orange: #f7941d;
  --orange-600: #e07b06;
  --sage: #5f8f5a;
  --sand: #faf6ef;
  --sand-2: #f2ebdf;
  --paper: #ffffff;
  --muted: #5d6280;
  --line: #e6e0d4;
  --bg: var(--sand);
  --surface: var(--paper);
  --text: var(--ink);
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20,26,58,.06), 0 12px 32px -12px rgba(20,26,58,.18);
  --shadow-lg: 0 30px 60px -20px rgba(20,26,58,.35);
  --max: 1220px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}
[data-theme="dark"] {
  --bg: #0e1230;
  --surface: #161b40;
  --sand-2: #12173a;
  --text: #eef0fb;
  --muted: #a8add0;
  --line: #262c5c;
  --ink: #eef0fb;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 var(--fs, 16px)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  transition: background .4s, color .4s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: calc(var(--hw, 500) + 100); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: calc(clamp(2.6rem, 6vw, 5.2rem) * var(--hs, 1)); font-weight: var(--hw, 500); }
h2 { font-size: calc(clamp(2rem, 4vw, 3.3rem) * var(--hs, 1)); font-weight: var(--hw, 500); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
em.hl { font-style: italic; color: var(--orange); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: calc(clamp(72px, 10vw, 128px) * var(--sp, 1)) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.sec-head h2 { max-width: 16ch; margin-top: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; border: 0;
  padding: 15px 26px; border-radius: 999px; font: 600 .95rem var(--font-body);
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #1b1300; box-shadow: 0 10px 24px -10px rgba(247,148,29,.8); }
.btn-primary:hover { background: #ffa53a; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.link-arrow { font-weight: 700; color: var(--navy); display: inline-flex; gap: 8px; align-items: center; }
[data-theme="dark"] .link-arrow { color: var(--orange); }

/* Top bar + nav */
.topbar { background: var(--navy-700); color: #cfd5ff; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 22px; align-items: center; }
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(20,26,58,.4); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; background: #fff; }
.brand b { white-space: nowrap; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; display: block; line-height: 1.1; }
.brand small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); font-weight: 700; }
.menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { white-space: nowrap; padding: 10px 12px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--muted); transition: .2s; }
.menu a:hover, .menu a.active { color: var(--text); background: var(--sand-2); }
.nav-actions .btn { white-space: nowrap; padding: 12px 20px; }
.nav-actions { flex-shrink: 0; display: flex; gap: 10px; align-items: center; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; color: var(--text); font: 700 .78rem var(--font-body);
}
.burger { display: none; }

/* Hero */
.hero { position: relative; padding: 56px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,148,29,.22), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { margin: 18px 0 24px; }
.hero .lead { margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-trust div b { font-family: var(--font-display); font-size: 2rem; font-weight: 600; display: block; line-height: 1; }
.hero-trust div span { font-size: .85rem; color: var(--muted); }
.hero-visual { position: relative; height: 600px; }
.hv { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.hv img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hv:hover img { transform: scale(1.06); }
.hv-1 { inset: 0 32% 18% 0; border-radius: 200px 200px var(--radius) var(--radius); }
.hv-2 { inset: 8% 0 46% 72%; left: auto; width: 34%; }
.hv-3 { inset: auto 0 0 40%; height: 44%; }
.hero-badge {
  position: absolute; left: -14px; bottom: 60px; background: var(--surface); border-radius: 18px; padding: 16px 18px;
  display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-lg); z-index: 3; animation: float 6s ease-in-out infinite;
}
.hero-badge .dot { width: 46px; height: 46px; border-radius: 14px; background: var(--orange); display: grid; place-items: center; font-size: 1.3rem; }
.hero-badge b { display: block; font-size: .95rem; }
.hero-badge span { font-size: .8rem; color: var(--muted); }
.petal { position: absolute; width: 90px; right: -10px; top: -30px; z-index: 4; animation: spin 40s linear infinite; opacity: .95; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Marquee */
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marq 40s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✺"; color: var(--orange); font-style: normal; }
@keyframes marq { to { transform: translateX(-50%); } }

/* Pillars */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pillar {
  position: relative; border-radius: 28px; overflow: hidden; min-height: 560px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; isolation: isolate;
}
.pillar img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.pillar:hover img.bg { transform: scale(1.05); }
.pillar::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, rgba(14,18,48,.92) 85%); }
.pillar .logo-chip { width: 72px; height: 72px; border-radius: 50%; background: #fff; padding: 6px; margin-bottom: 20px; }
.pillar .logo-chip img { border-radius: 50%; width: 100%; height: 100%; object-fit: cover; }
.pillar h3 { font-size: 2.2rem; font-weight: 500; }
.pillar p { color: #d9dcf2; max-width: 46ch; }
.pillar ul { list-style: none; padding: 0; margin: 8px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.pillar li { font-size: .8rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }

/* Services */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font: 600 .85rem var(--font-body); color: var(--muted); cursor: pointer; transition: .2s; }
.chip.on, .chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 10px; min-height: 250px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.svc::before { content: ""; position: absolute; inset: auto -40px -40px auto; width: 120px; height: 120px; border-radius: 50%; background: var(--orange); opacity: 0; transition: opacity .35s, transform .5s var(--ease); transform: scale(.4); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::before { opacity: .14; transform: scale(1.6); }
.svc .num { font-family: var(--font-display); font-size: .95rem; color: var(--orange-600); font-weight: 600; }
.svc h3 { font-size: 1.25rem; margin: 0; }
.svc p { font-size: .9rem; color: var(--muted); margin: 0; flex: 1; }
.svc .tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); }
.svc.hide { display: none; }
.svc-info { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; padding: 20px 26px; border-radius: var(--radius); background: var(--sand-2); color: var(--muted); font-size: .92rem; align-items: center; justify-content: space-between; }

/* Ecosystem */
.eco { background: var(--footer, var(--ink)); color: #eef0fb; border-radius: 36px; margin: 0 16px; }
[data-theme="dark"] .eco { background: #070a20; }
.eco .lead { color: #a8add0; }
.eco-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.ring { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; margin: 40px auto; }
.ring .circle { position: absolute; inset: 0; border: 1.5px dashed rgba(255,255,255,.2); border-radius: 50%; animation: spin 60s linear infinite; }
.ring .node { position: absolute; width: 132px; text-align: center; font-size: .82rem; color: #c7cbea; }
.ring .node img { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 10px; background: #fff; padding: 6px; object-fit: cover; box-shadow: 0 0 0 6px rgba(255,255,255,.06); }
.ring .n1 { top: -30px; left: 50%; transform: translateX(-50%); }
.ring .n2 { bottom: 0; left: -10px; }
.ring .n3 { bottom: 0; right: -10px; }
.ring .core { position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ffb456, var(--orange-600)); display: grid; place-items: center; text-align: center; color: #1b1300; box-shadow: 0 0 80px rgba(247,148,29,.45); }
.ring .core b { font-family: var(--font-display); font-size: 3rem; line-height: 1; display: block; }
.ring .core span { font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.eco-list { display: grid; gap: 14px; margin-top: 28px; }
.eco-item { display: flex; gap: 16px; padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.eco-item i { font-style: normal; flex: 0 0 38px; height: 38px; border-radius: 10px; background: rgba(247,148,29,.15); color: var(--orange); display: grid; place-items: center; font-weight: 700; }
.eco-item b { display: block; color: #fff; }
.eco-item span { font-size: .9rem; color: #a8add0; }

/* Events */
.events { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.ev { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.ev:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ev .img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.ev:first-child .img { aspect-ratio: 16/11; }
.ev .img img { width: 100%; height: 100%; object-fit: cover; }
.ev .badge { position: absolute; top: 14px; left: 14px; background: var(--surface); color: var(--text); padding: 6px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.ev .badge.live { background: var(--sage); color: #fff; }
.ev .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ev h3 { font-size: 1.3rem; margin: 0; }
.ev p { font-size: .9rem; color: var(--muted); margin: 0; flex: 1; }
.ev .meta { display: flex; gap: 14px; font-size: .8rem; color: var(--muted); flex-wrap: wrap; font-weight: 600; }
.events-side { display: grid; gap: 20px; }

/* Corporate packages */
.pk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pk { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.pk.pop { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-14px); box-shadow: var(--shadow-lg); }
.pk.pop p, .pk.pop li { color: #cfd5ff; }
.pk .ribbon { position: absolute; top: 18px; right: 18px; background: var(--orange); color: #1b1300; font-size: .7rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.pk h3 { margin: 0; }
.pk p { font-size: .9rem; color: var(--muted); margin: 0; }
.pk ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; flex: 1; }
.pk li { font-size: .88rem; color: var(--muted); padding-left: 26px; position: relative; }
.pk li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }

/* Academy band */
.uca { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 36px; overflow: hidden; background: var(--sand-2); }
.uca-img { position: relative; min-height: 560px; }
.uca-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.uca-body { padding: clamp(36px, 5vw, 72px); }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 30px 0; }
.feat div b { display: block; font-size: 1rem; margin-bottom: 4px; }
.feat div span { font-size: .88rem; color: var(--muted); }
.feat div::before { content: ""; display: block; width: 34px; height: 4px; border-radius: 4px; background: var(--orange); margin-bottom: 12px; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.q { background: var(--surface); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.q blockquote { margin: 0; font-family: var(--font-display); font-size: 1.22rem; line-height: 1.45; font-weight: 400; flex: 1; }
.q blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--orange); margin-bottom: 8px; }
.q .who { display: flex; gap: 12px; align-items: center; }
.q .av { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.q .who b { display: block; font-size: .95rem; }
.q .who span { font-size: .8rem; color: var(--muted); }

/* Get involved */
.involve { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.inv { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 400px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; isolation: isolate; }
.inv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.inv:hover img { transform: scale(1.06); }
.inv::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(14,18,48,.9)); }
.inv h3 { font-size: 1.8rem; font-weight: 500; margin-bottom: 6px; }
.inv p { color: #d9dcf2; font-size: .92rem; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--orange) 0%, #ffb35c 100%); border-radius: 36px; padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; color: #1b1300; position: relative; overflow: hidden; }
.cta h2 { color: #1b1300; }
.cta p { color: #4a3000; }
.cta .btn-dark { background: var(--ink); }
[data-theme="dark"] .cta .btn-dark { background: #0e1230; color: #fff; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* Footer */
footer { background: var(--footer, var(--ink)); color: #b8bde0; padding: 88px 0 32px; margin-top: 96px; }
[data-theme="dark"] footer { background: #070a20; }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
footer a:hover { color: var(--orange); }
.ft-brand p { max-width: 36ch; font-size: .92rem; }
.news { display: flex; gap: 8px; margin-top: 18px; background: rgba(255,255,255,.06); border-radius: 999px; padding: 6px; max-width: 380px; }
.news input { flex: 1; background: transparent; border: 0; color: #fff; padding: 0 14px; font: inherit; outline: none; min-width: 0; }
.news button { padding: 11px 18px; }
.ft-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 24px; font-size: .85rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }

/* Floating actions */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); font-size: 1.4rem; }
.fab .wa { background: #25d366; color: #fff; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }


/* ==========================================================================
   Multi-page components (v1.0)
   ========================================================================== */
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--orange); color: #1b1300; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.ic { flex-shrink: 0; vertical-align: -3px; }
.section-tight { padding: calc(clamp(40px, 6vw, 72px) * var(--sp, 1)) 0; }
.center-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.center-head .eyebrow::before { display: none; }
.eyebrow.center { display: flex; justify-content: center; }
.muted { color: var(--muted); }
.btn.full { width: 100%; justify-content: center; }
.btn-line { background: transparent; color: #1b1300; box-shadow: inset 0 0 0 1.5px #1b1300; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* announcement */
.announce { background: var(--orange); color: #1b1300; font-size: .86rem; font-weight: 600; }
.announce .wrap { display: flex; gap: 10px; align-items: center; justify-content: center; padding-block: 8px; flex-wrap: wrap; text-align: center; }
.announce a { text-decoration: underline; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #1b1300; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.topbar .ic { vertical-align: -2px; opacity: .8; }

/* dropdown menu */
.menu > li { position: relative; }
.menu .caret { font-size: .7em; opacity: .6; }
.menu .sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 60; }
.menu .sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.menu .has-sub:hover .sub, .menu .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.menu .sub a { display: block; border-radius: 10px; padding: 10px 12px; color: var(--text); }
.menu-cta { display: none; }

/* page hero */
.phero { position: relative; padding: 48px 0 56px; overflow: hidden; }
.phero::before { content: ""; position: absolute; right: -200px; top: -260px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(247,148,29,.18), transparent 65%); }
.phero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; position: relative; }
.phero h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin: 14px 0 18px; }
.phero-img { border-radius: 200px 200px 28px 28px; overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow-lg); }
.phero-img img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--orange-600); }

/* sticky in-page nav */
.subnav { position: sticky; top: 78px; z-index: 40; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.subnav a.on, .subnav a:hover { background: var(--ink); color: var(--bg); }
[id] { scroll-margin-top: 150px; }

/* pillars grid (home) */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard img { height: 170px; width: 100%; object-fit: cover; }
.pcard-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; position: relative; }
.pcard-body p { color: var(--muted); font-size: .9rem; flex: 1; margin: 0; }
.pcard h3 { font-size: 1.2rem; margin: 0; }
.pnum { font-family: var(--font-display); color: var(--orange-600); font-weight: 600; }
.pcard .pnum { position: absolute; right: 24px; top: 20px; font-size: 1.6rem; opacity: .35; }
.pic, .svc-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--orange) 16%, transparent); color: var(--orange-600); }
.pcard .pic { margin-top: -48px; background: var(--surface); box-shadow: var(--shadow); }
.pillar .btn { align-self: flex-start; }

/* services */
.svc-ic.big { width: 60px; height: 60px; border-radius: 18px; }
.svc { gap: 12px; }
.svc .svc-ic { transition: transform .35s var(--ease), background .3s, color .3s; }
.svc:hover .svc-ic { background: var(--orange); color: #1b1300; transform: rotate(-6deg); }
.svc-foot { display: flex; justify-content: space-between; align-items: center; }
.svc .go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sand-2); transition: .3s; }
.svc:hover .go { background: var(--ink); color: var(--bg); }
.svc-grid.three { grid-template-columns: repeat(3, 1fr); }
.svc-tools { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.svc-tools .chips { margin: 0; }
.chip em { font-style: normal; opacity: .6; margin-left: 4px; font-size: .8em; }
.search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; min-width: 260px; color: var(--muted); }
.search input { border: 0; background: transparent; padding: 11px 0; font: inherit; color: var(--text); outline: none; width: 100%; }
.empty-note { text-align: center; color: var(--muted); padding: 40px 0; }
.empty-note.small { text-align: left; padding: 8px 0; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.steps li > span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 16px; }
.steps li:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 36px; color: var(--orange); font-weight: 800; z-index: 2; }
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .9rem; margin: 0; }

/* layout helpers */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.two-col.align-c { align-items: center; }
.side-card { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.side-card img { width: 160px; height: 140px; object-fit: cover; border-radius: 14px; }
.side-img img { border-radius: 28px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.prose { font-size: 1.04rem; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose a { color: var(--orange-600); text-decoration: underline; }
.prose img { border-radius: 16px; margin: 1em 0; }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--orange); font-family: var(--font-display); font-size: 1.2rem; }
.ticks { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--orange-600); margin-top: 4px; }
.narrow { max-width: 820px; }

/* detail pages */
.detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.aside { position: sticky; top: 110px; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 28px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.aside-card h3 { margin: 4px 0 0; }
.aside-card dl { margin: 0; display: grid; gap: 12px; }
.aside-card dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.aside-card dt { color: var(--muted); display: flex; gap: 6px; align-items: center; }
.aside-card dd { margin: 0; font-weight: 600; text-align: right; }

/* FAQ */
.faq-title { margin-bottom: 18px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { transition: transform .3s; color: var(--orange-600); }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* academy features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; }
.fcard h3 { margin: 6px 0 0; font-size: 1.2rem; }
.fcard p { margin: 0; color: var(--muted); font-size: .92rem; }
.uca-body .prose { margin: 18px 0 26px; color: var(--muted); }

/* events / posts grids */
.ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.events { grid-template-columns: 1.4fr 1fr 1fr; }
.events .ev-big { grid-row: span 2; }
.events .ev-big .img { aspect-ratio: 4/3.3; }
.ev .img img { transition: transform 1s var(--ease); }
.ev:hover .img img { transform: scale(1.05); }
.ev.hide, .mo.hide { display: none; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post .img { aspect-ratio: 16/10; overflow: hidden; }
.post .img img { width: 100%; height: 100%; object-fit: cover; }
.post .body { padding: 22px 24px 26px; }
.post .meta { font-size: .78rem; font-weight: 700; color: var(--orange-600); text-transform: uppercase; letter-spacing: .06em; }
.post h3 { font-size: 1.25rem; margin: 8px 0; }
.post p { color: var(--muted); font-size: .9rem; margin: 0; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.pager a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); font-weight: 700; }
.pager a.on { background: var(--ink); color: var(--bg); }
.article { padding: 48px 0 24px; }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 14px 0; }
.article-img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 28px; margin: 32px 0; }

/* partners */
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 20px; }
.partners > * { min-width: 160px; height: 84px; padding: 14px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; color: var(--muted); }
.partners img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .8; transition: .3s; }
.partners > *:hover img { filter: none; opacity: 1; }
.q .av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* about: stats */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.stat { padding: 32px 28px; display: grid; gap: 6px; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat b { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; line-height: 1; }
.stat span:last-child { color: var(--muted); font-size: .9rem; }
.stat-ic { color: var(--orange-600); }

/* about: story + timeline */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.story-grid .prose p { color: var(--muted); }
.founder { margin-top: 28px; padding: 22px 24px; border-radius: 20px; background: var(--navy); color: #fff; display: flex; gap: 16px; align-items: flex-start; }
.founder p { margin: 0; font-family: var(--font-display); font-size: 1.15rem; font-style: italic; }
.founder-ic { color: var(--orange); }
.timeline { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 24px; position: sticky; top: 150px; }
.tl-years { display: grid; gap: 4px; position: relative; }
.tl-years::before { content: ""; position: absolute; left: 21px; top: 20px; bottom: 20px; width: 2px; background: var(--line); }
.tl-year { all: unset; cursor: pointer; display: grid; grid-template-columns: 44px auto 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; position: relative; transition: background .2s; }
.tl-year:hover { background: var(--sand-2); }
.tl-year:focus-visible { outline: 3px solid var(--orange); }
.tl-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); display: grid; place-items: center; color: var(--muted); margin-left: 0; z-index: 1; transition: .3s; }
.tl-year b { font-family: var(--font-display); font-size: 1.1rem; }
.tl-year small { color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-year.on { background: var(--sand-2); }
.tl-year.on .tl-dot { background: var(--orange); border-color: var(--orange); color: #1b1300; transform: scale(1.15); }
.tl-panels { margin-top: 18px; padding: 24px; border-radius: 20px; background: var(--ink); color: #eef0fb; position: relative; min-height: 220px; }
[data-theme="dark"] .tl-panels { background: #070a20; }
.tl-panel { display: none; animation: fadeUp .5s var(--ease); }
.tl-panel.on { display: block; }
.tl-panel p { color: #c7cbea; }
.tl-big { font-family: var(--font-display); font-size: 3rem; color: var(--orange); line-height: 1; display: block; margin-bottom: 8px; }
.tl-panel h3 { color: #fff; }
.tl-panel .link-arrow { color: var(--orange); }
.tl-nav { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.tl-nav .icon-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* about: vision mission */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm { position: relative; overflow: hidden; border-radius: 30px; padding: clamp(28px, 4vw, 48px); display: grid; gap: 12px; align-content: start; min-height: 300px; }
.vm p { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.35; margin: 0; position: relative; z-index: 1; }
.vm-vision { background: var(--navy); color: #fff; }
.vm-vision .eyebrow { color: var(--orange); }
.vm-mission { background: var(--orange); color: #1b1300; }
.vm-mission .eyebrow { color: #1b1300; }
.vm-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.vm-art { position: absolute; right: -50px; bottom: -50px; width: 240px; animation: spin 50s linear infinite; }

/* about: promise + barriers */
.promise { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.promise h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.hint { display: flex; gap: 8px; align-items: center; color: var(--orange-600); font-weight: 600; font-size: .9rem; }
.barriers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; perspective: 1000px; }
.barrier { all: unset; cursor: pointer; position: relative; height: 170px; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.barrier:focus-visible { outline: 3px solid var(--orange); border-radius: 20px; }
.barrier.flip, .barrier:hover { transform: rotateY(180deg); }
.b-front, .b-back { position: absolute; inset: 0; border-radius: 20px; padding: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; gap: 8px; }
.b-front { background: var(--surface); border: 1px solid var(--line); justify-content: space-between; }
.b-front b { font-size: 1.02rem; line-height: 1.25; }
.b-front small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.b-back { background: var(--navy); color: #fff; transform: rotateY(180deg); font-size: .9rem; justify-content: center; }
.b-back .link-arrow { color: var(--orange); font-size: .85rem; }
.b-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, #d9534f 14%, transparent); color: #c0392b; }
.b-ic.ok { background: rgba(247,148,29,.2); color: var(--orange); }

/* about: values */
.values-sec .center-head h2 { color: #fff; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.v-orbit { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.v-orbit .v-btn { width: calc(33.33% - 10px); box-sizing: border-box; }
.v-btn { all: unset; cursor: pointer; display: grid; justify-items: center; gap: 10px; padding: 22px 10px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: #c7cbea; text-align: center; transition: .3s; }
.v-btn span { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(247,148,29,.12); color: var(--orange); transition: .3s; }
.v-btn b { font-size: .95rem; }
.v-btn:hover, .v-btn.on { background: rgba(255,255,255,.1); color: #fff; transform: translateY(-4px); }
.v-btn.on span { background: var(--orange); color: #1b1300; }
.v-btn:focus-visible { outline: 3px solid var(--orange); }
.v-panels { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 28px; padding: 40px; min-height: 280px; }
.v-panel { display: none; animation: fadeUp .5s var(--ease); }
.v-panel.on { display: block; }
.v-big { color: var(--orange); display: block; margin-bottom: 14px; }
.v-panel h3 { color: #fff; font-size: 2.2rem; font-weight: 500; }
.v-mean { font-family: var(--font-display); font-size: 1.4rem; color: #eef0fb; }
.v-ex { color: #a8add0; }
.values-note { text-align: center; color: #a8add0; max-width: 760px; margin: 40px auto 0; font-style: italic; }

/* about: reflection */
.reflect { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rf { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.rf p { color: var(--muted); margin: 0; }
.rf-hl { background: var(--ink); color: #fff; border-color: var(--ink); }
.rf-hl p { color: #c7cbea; }
.rf-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.rf-ic.s { background: #e7f2e6; color: var(--sage); } .rf-ic.w { background: #f7ebe0; color: #b06a1a; } .rf-ic.o { background: var(--orange); color: #1b1300; }

/* about: governance */
.gov { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.org { display: grid; justify-items: center; }
.org-node { width: 100%; display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.org-node.top { background: var(--navy); color: #fff; border-color: var(--navy); }
.org-node.top p { color: #cfd5ff; }
.org-node b { display: block; font-size: 1.05rem; }
.org-node b em { font-style: normal; background: var(--orange); color: #1b1300; border-radius: 999px; padding: 1px 9px; font-size: .78rem; margin-left: 6px; }
.org-node p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.org-ic { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: rgba(247,148,29,.16); color: var(--orange-600); }
.org-node.top .org-ic { color: var(--orange); }
.org-line { width: 2px; height: 28px; background: repeating-linear-gradient(var(--orange) 0 6px, transparent 6px 10px); }

/* about: pillars tabs */
.continuum { display: flex; gap: 0; margin-bottom: 32px; overflow-x: auto; scrollbar-width: none; }
.continuum span { flex: 1; min-width: 140px; position: relative; padding: 14px 16px 14px 34px; font-size: .85rem; font-weight: 600; color: var(--muted); background: var(--sand-2); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%); }
.continuum span:first-child { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); border-radius: 12px 0 0 12px; }
.continuum span:nth-child(even) { background: color-mix(in srgb, var(--orange) 14%, var(--sand-2)); }
.continuum i { font-style: normal; color: var(--orange-600); margin-right: 6px; }
.ptabs { display: grid; grid-template-columns: 340px 1fr; gap: 28px; }
.ptab-list { display: grid; gap: 10px; align-content: start; }
.ptab { all: unset; cursor: pointer; display: grid; grid-template-columns: auto auto 1fr; gap: 12px; align-items: center; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); transition: .25s; }
.ptab .ic { color: var(--orange-600); }
.ptab b { font-size: .95rem; line-height: 1.3; }
.ptab:hover { border-color: var(--orange); }
.ptab.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ptab.on .pnum, .ptab.on .ic { color: var(--orange); }
.ptab:focus-visible { outline: 3px solid var(--orange); }
.ppanel { display: none; grid-template-columns: 1fr 1.1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; animation: fadeUp .5s var(--ease); }
.ppanel.on { display: grid; }
.ppanel-img { position: relative; min-height: 380px; }
.ppanel-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pnum-big { position: absolute; left: 20px; bottom: 6px; font-family: var(--font-display); font-size: 6rem; color: #fff; line-height: 1; text-shadow: 0 6px 30px rgba(0,0,0,.4); }
.ppanel-body { padding: 36px; }
.ppanel-body p { color: var(--muted); }

/* about: explore links */
.explore { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ex { display: grid; gap: 6px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: .3s; }
.ex .ic { color: var(--orange-600); margin-bottom: 8px; }
.ex span { color: var(--muted); font-size: .9rem; }
.ex:hover { background: var(--navy); color: #fff; transform: translateY(-4px); }
.ex:hover span { color: #cfd5ff; } .ex:hover .ic { color: var(--orange); }

/* team */
.team-group { margin-bottom: 56px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.person .ph { width: 120px; height: 120px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--orange)); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-size: 2.2rem; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { font-size: 1.15rem; margin-bottom: 4px; }
.person .role { color: var(--orange-600); font-weight: 700; font-size: .85rem; }
.person p { color: var(--muted); font-size: .88rem; margin: 10px 0 0; }
.person .links { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.person .links a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }

/* gallery */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 14px; }
.mosaic .mo:first-child { grid-row: span 2; }
.masonry { columns: 3 280px; column-gap: 14px; }
.masonry .mo { break-inside: avoid; margin-bottom: 14px; display: block; }
.mo { position: relative; border-radius: 18px; overflow: hidden; display: block; }
.mo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mo:hover img { transform: scale(1.05); }
.mo span { position: absolute; left: 12px; bottom: 12px; right: 12px; color: #fff; font-weight: 600; font-size: .88rem; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,10,30,.92); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 14px; }
.lightbox p { color: #fff; text-align: center; margin-top: 12px; }
.lightbox button { position: absolute; top: 18px; right: 18px; }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; right: auto; }
.lightbox .lb-prev { left: 18px; } .lightbox .lb-next { right: 18px; left: auto; }

/* involve / donate */
.involve { grid-template-columns: repeat(4, 1fr); }
.inv { min-height: 380px; }
.inv-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--orange); color: #1b1300; margin-bottom: 14px; }
.inv .link-arrow { color: var(--orange); }
.donate { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.give-ideas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.give-ideas div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 4px; }
.give-ideas b { font-family: var(--font-display); font-size: 1.2rem; color: var(--orange-600); }
.give-ideas span { font-size: .85rem; color: var(--muted); }
.pay-cards { display: grid; gap: 14px; }
.pay { display: flex; gap: 16px; align-items: center; background: var(--navy); color: #fff; border-radius: 22px; padding: 22px; }
.pay .eyebrow { color: var(--orange); }
.pay b { display: block; font-family: var(--font-display); font-size: 1.6rem; cursor: copy; }
.pay span { color: #cfd5ff; font-size: .88rem; }
.pay-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: var(--orange); }
.pay-form { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.copy.copied::after { content: " ✓ copied"; font-size: .8rem; color: var(--orange); font-family: var(--font-body); }
.mini-steps { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 18px; }
.mini-steps li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.mini-steps b { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #1b1300; display: grid; place-items: center; font-size: .85rem; }
.side-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; font-weight: 700; color: var(--navy); }
[data-theme="dark"] .side-link { color: var(--orange); }

/* forms */
.form-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; background: var(--sand-2); border-radius: 32px; padding: clamp(28px, 4vw, 56px); }
.pform { display: grid; gap: 16px; }
.pform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 6px; }
.fld.wide { grid-column: 1 / -1; }
.fld label { font-size: .85rem; font-weight: 700; }
.fld label i { color: var(--orange-600); font-style: normal; }
.fld input, .fld select, .fld textarea { font: inherit; color: var(--text); background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s; width: 100%; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(247,148,29,.15); }
.fld .bad { border-color: #d9534f; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--orange); }
.pform .btn { justify-self: start; }
.pform .btn[disabled] { opacity: .6; pointer-events: none; }
.form-msg { font-weight: 600; font-size: .92rem; }
.form-msg.ok { color: var(--sage); } .form-msg.err { color: #c0392b; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.news { flex-wrap: wrap; }
.news .form-msg { width: 100%; padding: 4px 14px; color: var(--orange); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 28px; }
.cc-logo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
.clist { list-style: none; padding: 0; margin: 12px 0 20px; display: grid; gap: 12px; }
.clist li { display: flex; gap: 12px; align-items: flex-start; }
.clist .ic { color: var(--orange-600); margin-top: 3px; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.map { width: 100%; height: 400px; border: 0; border-radius: 28px; }
.ft-contact li { display: flex; gap: 10px; align-items: flex-start; }
.ft-contact .ic { color: var(--orange); margin-top: 4px; }
.price { font-weight: 800; color: var(--orange-600); font-size: .9rem; }
.pk.pop .price { color: var(--orange); }
.pk .svc-ic { margin-bottom: 4px; }
.pk.pop .svc-ic { background: rgba(255,255,255,.12); color: var(--orange); }
.fab .wa svg { stroke: #fff; }

/* 404 */
.nf { padding: 40px 0; }
.nf-num { font-family: var(--font-display); font-size: 8rem; line-height: 1; color: var(--orange); display: block; }

/* Responsive (multi-page) */
@media (max-width: 1180px) {
  .topbar .tb-left span:nth-child(2) { display: none; }
  .menu a { padding: 10px 9px; font-size: .88rem; }
  .pillar-grid, .explore, .team-grid, .involve { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
}
@media (max-width: 1080px) {
  .svc-grid, .pk-grid, .svc-grid.three, .ev-grid, .posts, .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .pk.pop { transform: none; }
  .events { grid-template-columns: 1fr 1fr; }
  .events .ev-big { grid-row: auto; grid-column: 1 / -1; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ptabs { grid-template-columns: 1fr; }
  .ptab-list { grid-template-columns: repeat(2, 1fr); }
  .barriers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .menu, .nav-book { display: none; }
  .burger { display: grid; }
  .menu.open { display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0; background: var(--bg); padding: 12px 20px 24px; border-bottom: 1px solid var(--line); max-height: calc(100vh - 80px); overflow-y: auto; box-shadow: var(--shadow-lg); }
  .menu.open a { display: block; padding: 12px; font-size: 1rem; }
  .menu .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; display: none; min-width: 0; background: transparent; }
  .menu .has-sub.open .sub { display: block; }
  .menu-cta { display: block; margin-top: 8px; }
  .menu-cta .btn { justify-content: center; color: #fff; }
  .hero-grid, .eco-grid, .uca, .cta, .pillars, .phero-grid, .story-grid, .vm-grid, .promise, .values, .gov, .detail, .two-col, .donate, .form-wrap, .contact { grid-template-columns: 1fr; }
  .hero-visual { height: 460px; }
  .quotes, .reflect { grid-template-columns: 1fr; }
  .uca-img { min-height: 340px; }
  .phero-img { max-width: 520px; }
  .timeline, .aside { position: static; }
  .ppanel.on { grid-template-columns: 1fr; }
  .ppanel-img { min-height: 240px; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .subnav { top: 78px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .svc-grid, .svc-grid.three, .pk-grid, .events, .ev-grid, .posts, .feat, .ft-grid, .pillar-grid, .explore, .team-grid, .involve, .feat-grid, .steps, .give-ideas, .pform-grid, .ptab-list { grid-template-columns: 1fr; }
  .barriers { grid-template-columns: 1fr 1fr; gap: 10px; }
  .barrier { height: 190px; }
  .v-orbit { gap: 10px; } .v-orbit .v-btn { width: calc(50% - 6px); box-sizing: border-box; padding: 16px 8px; }
  .v-panels { padding: 26px; }
  .pillar { min-height: 480px; padding: 28px; }
  .hero-visual { height: 380px; }
  .hero-badge { left: 8px; bottom: 20px; }
  .eco { margin: 0 8px; border-radius: 26px; }
  .topbar .tb-right { display: none; }
  .brand b { white-space: normal; font-size: 1.02rem; }
  .brand img { width: 44px; height: 44px; }
  .hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .ring .node { width: 104px; font-size: .74rem; } .ring .node img { width: 72px; height: 72px; }
  .side-card { grid-template-columns: 1fr; } .side-card img { width: 100%; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .search { min-width: 0; width: 100%; }
  .tl-year { grid-template-columns: 36px auto 1fr; }
  .continuum span { min-width: 120px; }
}
.ft-grid > *, .hero-grid > *, .eco-grid > *, .phero-grid > *, .detail > *, .two-col > *, .story-grid > * { min-width: 0; }
footer .brand b { white-space: normal; color: #fff; }
footer .brand { margin-bottom: 18px; }
figure.q { margin: 0; }
/* What's New: one big card + compact list */
.events { grid-template-columns: 1.25fr 1fr; }
.events .ev-big { grid-row: span 3; }
.events .ev:not(.ev-big) { flex-direction: row; }
.events .ev:not(.ev-big) .img { width: 38%; aspect-ratio: auto; flex-shrink: 0; }
.events .ev:not(.ev-big) .body { padding: 18px 20px; }
.events .ev:not(.ev-big) h3 { font-size: 1.1rem; }
.events .ev:not(.ev-big) p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1080px) { .events { grid-template-columns: 1fr; } .events .ev-big { grid-row: auto; grid-column: auto; } }
@media (max-width: 600px) { .events .ev:not(.ev-big) { flex-direction: column; } .events .ev:not(.ev-big) .img { width: 100%; aspect-ratio: 16/9; } }
html { overflow-x: clip; }
.eco, .values-sec { overflow: hidden; }
@media (max-width: 600px) { .petal { right: 4px; width: 70px; } .hero-badge { left: 0; } }

/* ==========================================================================
   Appearance options (Admin → Appearance)
   ========================================================================== */
body .btn { border-radius: 999px; }
body.btn-rounded .btn, body.btn-rounded .chip, body.btn-rounded .menu a, body.btn-rounded .search, body.btn-rounded .news { border-radius: 12px; }
body.btn-square .btn, body.btn-square .chip, body.btn-square .menu a, body.btn-square .search, body.btn-square .news, body.btn-square .icon-btn { border-radius: 4px; }
.svc, .ev, .post, .pk, .q, .fcard, .person, .rf, .ex, .pcard, .contact-card, .aside-card, .steps li, .stat-band, .timeline, .faq details, .ptab, .ppanel, .org-node, .give-ideas div, .pay-form, .contact-form, .side-card { border-radius: var(--radius); }
.pillar, .inv, .uca, .cta, .vm, .eco, .form-wrap { border-radius: calc(var(--radius) * 1.5); }
body.card-shadow .svc, body.card-shadow .ev, body.card-shadow .post, body.card-shadow .pk:not(.pop), body.card-shadow .q, body.card-shadow .fcard, body.card-shadow .person,
body.card-shadow .rf:not(.rf-hl), body.card-shadow .ex, body.card-shadow .pcard, body.card-shadow .contact-card, body.card-shadow .steps li, body.card-shadow .faq details, body.card-shadow .ptab:not(.on) { border-color: transparent; box-shadow: var(--shadow); }
body.card-flat .svc, body.card-flat .ev, body.card-flat .post, body.card-flat .pk:not(.pop), body.card-flat .q, body.card-flat .fcard, body.card-flat .person,
body.card-flat .rf:not(.rf-hl), body.card-flat .ex, body.card-flat .pcard, body.card-flat .contact-card, body.card-flat .steps li, body.card-flat .faq details, body.card-flat .ptab:not(.on) { border-color: transparent; background: var(--sand-2); box-shadow: none; }
body.img-rounded .phero-img, body.img-rounded .hv-1 { border-radius: var(--radius); }
body.img-square .phero-img, body.img-square .hv-1, body.img-square .hv { border-radius: 4px; }
body.img-circle .phero-img { border-radius: 50%; aspect-ratio: 1; }
body.img-circle .hv-1 { border-radius: 50%; inset: 0 30% 30% 0; }
body.hdr-light .nav { background: var(--bg); }
body.hdr-dark .nav { background: var(--navy); }
body.hdr-dark .nav .brand b { color: #fff; }
body.hdr-dark .menu > li > a { color: #d7dbf6; }
body.hdr-dark .menu > li > a:hover, body.hdr-dark .menu > li > a.active { color: #fff; background: rgba(255,255,255,.12); }
body.hdr-dark .nav .icon-btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
body.hdr-dark .nav-book { background: var(--orange); color: #1b1300; }
body.no-sticky .nav { position: relative; }
body.no-sticky .subnav { top: 0; }
body.ftr-brand footer { background: var(--navy); }
body.ftr-light footer { background: var(--sand-2); color: var(--muted); }
body.ftr-light footer h4, body.ftr-light footer .brand b { color: var(--text); }
body.ftr-light .ft-bottom { border-color: var(--line); }
body.ftr-light .news { background: var(--surface); }
body.ftr-light .news input { color: var(--text); }
body.ftr-light .socials a { border-color: var(--line); }
body.hl-bold em.hl { font-style: normal; font-weight: 700; }
body.hl-color em.hl { font-style: normal; }
body.hl-underline em.hl { font-style: normal; color: inherit; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: .12em; text-underline-offset: .12em; }
body.eb-normal .eyebrow { text-transform: none; letter-spacing: .02em; font-size: .9rem; }
body.eb-hidden .eyebrow { display: none; }
body.ph-plain .phero-img { display: none; }
body.ph-plain .phero-grid { grid-template-columns: 1fr; text-align: left; }
body.ph-banner .phero { padding: 0; }
body.ph-banner .phero-grid { grid-template-columns: 1fr; position: relative; min-height: 380px; align-items: end; padding: 120px 0 56px; color: #fff; }
body.ph-banner .phero-grid > div:first-child { position: relative; z-index: 2; }
body.ph-banner .phero-img { position: absolute; inset: 0 -100vw; border-radius: 0; aspect-ratio: auto; max-width: none; box-shadow: none; z-index: 0; }
body.ph-banner .phero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,35,.25), rgba(10,12,35,.85)); }
body.ph-banner .phero .lead, body.ph-banner .crumbs { color: #e5e8fb; }
body.ph-banner .phero::before { display: none; }
body.svc-cols-3 .svc-grid:not(.three) { grid-template-columns: repeat(3, 1fr); }
body.ev-grid .events { grid-template-columns: repeat(2, 1fr); }
body.ev-grid .events .ev-big { grid-row: auto; }
body.ev-grid .events .ev:not(.ev-big) { flex-direction: column; }
body.ev-grid .events .ev:not(.ev-big) .img { width: 100%; aspect-ratio: 16/10; }
body.no-anim .rv { opacity: 1; transform: none; transition: none; }
body.no-anim .marquee-track, body.no-anim .petal, body.no-anim .circle, body.no-anim .vm-art, body.no-anim .hero-badge { animation: none; }
/* home hero layouts */
.hero.hero-centered .hero-grid { grid-template-columns: 1fr; text-align: center; max-width: 900px; margin: 0 auto; }
.hero.hero-centered .hero-visual { display: none; }
.hero.hero-centered .lead { margin-inline: auto; }
.hero.hero-centered .hero-ctas, .hero.hero-centered .hero-trust { justify-content: center; }
.hero.hero-centered .eyebrow::before { display: none; }
.hero.hero-image { min-height: 640px; display: flex; align-items: center; color: #fff; isolation: isolate; }
.hero.hero-image .hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero.hero-image .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero.hero-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,12,35,.88), rgba(10,12,35,.35)); }
.hero.hero-image::before { display: none; }
.hero.hero-image .hero-grid { grid-template-columns: minmax(0, 720px); }
.hero.hero-image .hero-visual { display: none; }
.hero.hero-image .lead, .hero.hero-image .hero-trust span { color: #dfe3fb; }
.hero.hero-image .hero-trust { border-color: rgba(255,255,255,.2); }
.hero.hero-image .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
@media (max-width: 1080px) { body.svc-cols-3 .svc-grid:not(.three) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { body.svc-cols-3 .svc-grid:not(.three), body.ev-grid .events { grid-template-columns: 1fr; } }

/* ==========================================================================
   Digital solutions page
   ========================================================================== */
.sol-pick { display: grid; gap: 12px; }
.sp { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 14px 18px 14px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: .3s; position: relative; overflow: hidden; }
.sp::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand); }
.sp:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.sp-logo { width: 76px; height: 56px; border-radius: 12px; background: #fff; display: grid; place-items: center; padding: 6px; border: 1px solid var(--line); }
.sp-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sp-t b { display: block; font-family: var(--font-display); font-size: 1.2rem; }
.sp-t small { color: var(--muted); }
.sp-cat { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); padding: 5px 10px; border-radius: 999px; }
[data-theme="dark"] .sp-cat { color: #fff; }
.sol { position: relative; }
.sol-alt { background: var(--sand-2); }
.sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sol-alt .sol-grid > .sol-shot { order: -1; }
.sol-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sol-brand img { height: 64px; width: auto; max-width: 220px; object-fit: contain; background: #fff; border-radius: 14px; padding: 6px 10px; border: 1px solid var(--line); }
.sol-cat { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
[data-theme="dark"] .sol-cat { color: var(--orange); }
.sol h2 em.hl { color: var(--brand); font-size: .62em; display: block; margin-top: 6px; }
[data-theme="dark"] .sol h2 em.hl { color: var(--orange); }
.sol-tag { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; margin: 0 0 10px; }
.sol-ticks .ic { color: var(--brand); }
[data-theme="dark"] .sol-ticks .ic { color: var(--orange); }
.sol-aud { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 16px; }
.sol-aud span { font-weight: 700; font-size: .88rem; margin-right: 4px; }
.sol-aud em { font-style: normal; font-size: .82rem; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.sol-price { display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--brand); margin-bottom: 20px; }
[data-theme="dark"] .sol-price { color: var(--orange); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 12px 26px -12px var(--brand); }
.btn-brand:hover { filter: brightness(1.1); }
.sol-url { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; font-weight: 600; color: var(--muted); font-size: .9rem; }
.sol-url:hover { color: var(--brand); }
.sol-shot { position: relative; display: grid; place-items: center; }
.sol-glow { position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 35%, transparent), transparent 70%); z-index: -1; filter: blur(20px); }
.frame { display: block; position: relative; box-shadow: var(--shadow-lg); background: #fff; overflow: hidden; transition: transform .5s var(--ease); }
.frame:hover { transform: translateY(-6px) rotate(-.5deg); }
.frame img { width: 100%; display: block; }
.frame-browser { border-radius: 16px; border: 1px solid var(--line); width: 100%; }
.fb-bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; background: #eef0f5; border-bottom: 1px solid #e1e4ec; }
.fb-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d7e0; }
.fb-bar i:nth-child(1) { background: #ff6159; } .fb-bar i:nth-child(2) { background: #ffbd2e; } .fb-bar i:nth-child(3) { background: #28c941; }
.fb-bar span { margin-left: 10px; flex: 1; background: #fff; border-radius: 6px; padding: 3px 10px; font-size: .74rem; color: #6b7080; }
.frame-phone { width: min(300px, 70%); border-radius: 38px; border: 10px solid #121526; }
.frame-phone::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px; border-radius: 12px; background: #121526; z-index: 2; }
.sol-fh { margin: 56px 0 20px; font-size: 1.5rem; }
.feat-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fs { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.fs:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.fs-img { position: relative; display: block; height: 230px; overflow: hidden; background: color-mix(in srgb, var(--brand) 10%, var(--sand-2)); }
.fs-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.fs-phone .fs-img img { object-fit: contain; padding: 14px 0 0; filter: drop-shadow(0 10px 20px rgba(0,0,0,.18)); }
.fs:hover .fs-img img { transform: scale(1.04); }
.fs-img .zoom { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); color: #141a3a; display: grid; place-items: center; opacity: 0; transition: .3s; }
.fs:hover .zoom { opacity: 1; }
.fs figcaption { padding: 18px 20px 22px; display: grid; gap: 6px; }
.fs figcaption b { font-family: var(--font-display); font-size: 1.15rem; }
.fs figcaption span:last-child { color: var(--muted); font-size: .9rem; }
.fs-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); }
[data-theme="dark"] .fs-ic { color: var(--orange); }
.fs.no-img { border-top: 4px solid var(--brand); }
.connect { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 10px 0 30px; }
.cn { display: grid; justify-items: center; gap: 6px; text-align: center; width: 240px; padding: 26px 18px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); transition: .3s; }
.cn:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.cn-logo { width: 120px; height: 72px; border-radius: 16px; background: #fff; display: grid; place-items: center; padding: 8px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 40%, transparent); margin-bottom: 8px; }
.cn-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cn b { color: #fff; font-family: var(--font-display); font-size: 1.4rem; }
.cn span { color: #a8add0; font-size: .85rem; }
.cn-link { color: var(--orange); font-size: 1.8rem; }
.muted-light { color: #a8add0; }
.center { text-align: center; }
.demo-links { display: grid; gap: 10px; margin-top: 22px; }
.demo-links a { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: 14px; padding: 8px 14px 8px 8px; font-weight: 600; font-size: .9rem; border: 1px solid var(--line); }
.demo-links img { width: 64px; height: 40px; object-fit: contain; background: #fff; border-radius: 8px; }
.demo-links a:hover { border-color: var(--orange); }
@media (max-width: 1080px) { .feat-shots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .sol-grid { grid-template-columns: 1fr; } .sol-alt .sol-grid > .sol-shot { order: 0; } .cn-link { transform: rotate(90deg); } .connect { flex-direction: column; } }
@media (max-width: 600px) { .feat-shots { grid-template-columns: 1fr; } .sp { grid-template-columns: 60px 1fr; } .sp-cat { display: none; } .sp-logo { width: 60px; height: 46px; } }
.fs-img { height: 260px; }
.fs-phone .fs-img img { width: 64%; height: auto; margin: 18px auto 0; padding: 0; object-fit: initial; border-radius: 18px 18px 0 0; border: 6px solid #121526; border-bottom: 0; filter: none; box-shadow: 0 14px 30px -10px rgba(0,0,0,.35); }
/* header: keep the brand intact, switch to the mobile menu earlier now that the menu has 8 items */
.brand { flex-shrink: 0; }
@media (max-width: 1320px) { .menu a { padding: 9px 9px; font-size: .87rem; } .nav-actions { gap: 6px; } .nav-book { padding: 12px 16px; } }
@media (max-width: 1180px) {
  .menu, .nav-book { display: none; }
  .burger { display: grid; }
  .menu.open { display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0; background: var(--bg); padding: 12px 20px 24px; border-bottom: 1px solid var(--line); max-height: calc(100vh - 80px); overflow-y: auto; box-shadow: var(--shadow-lg); }
  .menu.open a { display: block; padding: 12px; font-size: 1rem; }
  .menu .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; display: none; min-width: 0; background: transparent; }
  .menu .has-sub.open .sub { display: block; }
  .menu-cta { display: block; margin-top: 8px; }
  .menu-cta .btn { justify-content: center; color: #fff; }
}
body.hdr-dark .menu.open > li > a { color: var(--text); }

/* ═════════ v1.2 — How It Works flow, location pins, pains & costs ═════════ */
.eco-lead { margin-inline: auto; }
.flow { display: grid; grid-template-columns: 1fr 150px 1fr; gap: 18px; align-items: center; max-width: 1040px; margin: 8px auto 0; }
.flow-col { display: grid; gap: 14px; }
.flow-lbl { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.flow-card { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #eef0fb; transition: transform .3s var(--ease, ease), border-color .3s; }
.flow-card:hover { transform: translateY(-3px); border-color: var(--orange); }
.flow-card b { display: block; color: #fff; font-size: 1.02rem; }
.flow-card small { display: block; color: #a8add0; font-size: .84rem; line-height: 1.45; margin-top: 2px; }
.flow-logo { flex: 0 0 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; }
.flow-logo img { width: 100%; height: 100%; object-fit: cover; }
.flow-ic { background: rgba(247,148,29,.16); color: var(--orange); }
.flow-logos { flex: 0 0 auto; display: flex; }
.flow-logos img { width: 38px; height: 38px; border-radius: 50%; background: #fff; padding: 4px; object-fit: contain; box-shadow: 0 0 0 3px var(--footer, #141a3a); }
.flow-logos img + img { margin-left: -10px; }
.flow-core { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.flow-line { width: 2px; height: 46px; background: linear-gradient(var(--orange), transparent); }
.flow-line:last-child { background: linear-gradient(transparent, var(--orange)); }
.flow-fund { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 4px; text-align: center; color: #1b1300;
  background: radial-gradient(circle at 30% 30%, #ffb456, var(--orange-600)); box-shadow: 0 0 60px rgba(247,148,29,.45); position: relative; }
.flow-fund b { font-family: var(--font-display); font-size: 1.15rem; }
.flow-fund::before, .flow-fund::after { content: "→"; position: absolute; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 1.6rem; font-weight: 700; }
.flow-fund::before { left: -30px; } .flow-fund::after { right: -30px; }
.eco-four { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; }
  .flow-core { flex-direction: row; justify-content: center; }
  .flow-line { width: 46px; height: 2px; background: linear-gradient(90deg, var(--orange), transparent); }
  .flow-line:last-child { background: linear-gradient(90deg, transparent, var(--orange)); }
  .flow-fund { width: 108px; height: 108px; }
  .flow-fund::before, .flow-fund::after { content: "↓"; left: 50%; right: auto; transform: translateX(-50%); }
  .flow-fund::before { top: -26px; } .flow-fund::after { top: auto; bottom: -26px; }
  .eco-four { grid-template-columns: 1fr; }
}

/* location pins */
.loc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.loc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius, 26px); overflow: hidden; display: flex; flex-direction: column; margin-bottom: 22px; }
.loc-grid .loc { margin-bottom: 0; }
.loc-map { width: 100%; height: 300px; border: 0; display: block; background: var(--sand-2); }
.loc-body { display: flex; gap: 16px; padding: 22px 24px 24px; }
.loc-body h3 { margin: 0 0 4px; }
.loc-body p { margin: 0 0 6px; color: var(--muted); }
.loc-ic { flex: 0 0 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(247,148,29,.14); color: var(--orange-600); }
.loc-plus .copy { cursor: pointer; font-weight: 700; color: var(--text); border-bottom: 1px dashed var(--orange); }
.loc-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.loc-btns .btn, .cc-btns .btn { display: inline-flex; align-items: center; gap: 8px; }
.cc-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.clist small { color: var(--muted); }
@media (max-width: 860px) { .loc-grid { grid-template-columns: 1fr; } .loc-map { height: 240px; } }

/* digital solutions: pains & costs removed */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
.pain-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius, 22px); padding: 20px; display: grid; gap: 14px; align-content: start; }
.pain-head { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pain-head span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand, var(--navy)) 14%, transparent); color: var(--brand, var(--navy)); }
[data-theme="dark"] .pain-head span { color: var(--orange); }
.pain-head b { font-family: var(--font-display); font-size: 1.08rem; }
.pain p { margin: 0; display: flex; gap: 10px; font-size: .92rem; line-height: 1.5; }
.pain-x { color: var(--muted); }
.pain-x span { flex: 0 0 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 700; color: #c0392b; background: rgba(192,57,43,.12); margin-top: 1px; }
.pain-ok { margin-top: 6px !important; font-weight: 600; }
.pain-ok .ic { flex: 0 0 20px; color: #1e7f4f; margin-top: 1px; }
[data-theme="dark"] .pain-ok .ic { color: #5fd39b; }
.fs-who { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand, var(--orange-600)); }
[data-theme="dark"] .fs-who { color: var(--orange); }
.sol-note { font-size: .85rem; color: var(--muted); margin: 4px 0 10px; }
.sol-note a { color: var(--brand, var(--navy)); font-weight: 600; }
[data-theme="dark"] .sol-note a { color: var(--orange); }
.fund-note { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.fund-note a { color: var(--orange); font-weight: 600; }
@media (max-width: 980px) { .pains { grid-template-columns: 1fr; } }
[lang="sw"] .copy.copied::after { content: " ✓ imenakiliwa"; }

/* ═════════ v1.3 — dark mode readability ═════════ */
[data-theme="dark"] .link-arrow, [data-theme="dark"] .side-link, [data-theme="dark"] .sol-url { color: var(--orange); }
[data-theme="dark"] .rf-hl { background: var(--navy); border-color: var(--navy); }
[data-theme="dark"] .eyebrow { color: var(--orange); }
[data-theme="dark"] .muted, [data-theme="dark"] .lead { color: var(--muted); }
[data-theme="dark"] input, [data-theme="dark"] select, [data-theme="dark"] textarea { background: var(--surface); color: var(--text); border-color: var(--line); }
[data-theme="dark"] ::placeholder { color: var(--muted); opacity: .8; }
