/* ================================================================
   Women AI Labs — Site Stylesheet (PHP CMS version)
   Preserves all original visual design; adds responsive + nav.
   ================================================================ */

:root {
  --bg: #07030f;
  --bg-2: #0d0620;
  --bg-3: #14092b;
  --card: #160b2e;
  --card-2: #1d1140;
  --line: rgba(168, 85, 247, 0.16);
  --line-strong: rgba(236, 72, 153, 0.42);
  --text: #ffffff;
  --text-dim: #cdc7dc;
  --text-mute: #8e88a8;
  --pink: #ec4899;
  --pink-2: #f472b6;
  --magenta: #d946ef;
  --purple: #a855f7;
  --indigo: #7c3aed;
  --grad-pink: linear-gradient(90deg, #f472b6 0%, #ec4899 35%, #d946ef 70%, #a855f7 100%);
  --grad-btn: linear-gradient(135deg, #a855f7 0%, #d946ef 50%, #ec4899 100%);
  --nav-h: 80px;

  /* ── Redesign system tokens (premium dark) ── */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --blur: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  /* Layered glass surface used across cards/panels */
  --glass: linear-gradient(160deg, rgba(45,26,86,.55), rgba(18,9,40,.72));
  --glass-hi: linear-gradient(160deg, rgba(58,33,108,.62), rgba(22,11,48,.8));
  --glow-pink: 0 0 0 1px rgba(236,72,153,.18), 0 18px 50px -18px rgba(236,72,153,.5);
  --glow-purple: 0 0 0 1px rgba(168,85,247,.18), 0 22px 60px -20px rgba(168,85,247,.55);
  --shadow-sm: 0 4px 16px -8px rgba(0,0,0,.6);
  --shadow-md: 0 16px 40px -18px rgba(0,0,0,.7);
  --shadow-lg: 0 32px 80px -28px rgba(0,0,0,.85);
  /* Border-gradient sheen for premium card edges */
  --edge: linear-gradient(160deg, rgba(244,114,182,.5), rgba(168,85,247,.18) 40%, transparent 70%);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  overflow-x: clip;             /* clips without creating a scroll container — preserves position:sticky */
  overscroll-behavior: none;    /* block iOS/Android edge-swipe viewport shift */
  scrollbar-width: none;        /* Firefox — hide scrollbar */
  -ms-overflow-style: none;     /* IE 10+ */
}
html::-webkit-scrollbar { display: none; } /* Chrome / Safari / Edge */
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;             /* like hidden but never creates a scroll container — sticky works */
  overscroll-behavior-x: none;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ── Page wrapper ── */
.page {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 900px 600px at 85% 0%, rgba(168, 85, 247, 0.20), transparent 60%),
    radial-gradient(ellipse 700px 500px at 15% 30%, rgba(217, 70, 239, 0.12), transparent 70%),
    radial-gradient(ellipse 900px 700px at 50% 100%, rgba(124, 58, 237, 0.12), transparent 70%),
    var(--bg);
  isolation: isolate;
}
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  z-index: 0;
}

/* ── Animated aurora mesh — slow-drifting colour blobs behind everything ── */
.aurora {
  position: fixed;
  inset: -20vmax;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  filter: blur(70px) saturate(135%);
  opacity: .65;
}
.aurora span {
  position: absolute;
  display: block;
  width: 46vmax;
  height: 46vmax;
  border-radius: 50%;
  mix-blend-mode: screen;
  will-change: transform;
}
.aurora span:nth-child(1) { top: -8%;  left: 58%; background: radial-gradient(circle at 30% 30%, rgba(236,72,153,.55), transparent 62%); animation: auroraA 26s var(--ease) infinite; }
.aurora span:nth-child(2) { top: 28%; left: 4%;  background: radial-gradient(circle at 30% 30%, rgba(168,85,247,.5),  transparent 62%); animation: auroraB 32s var(--ease) infinite; }
.aurora span:nth-child(3) { top: 64%; left: 48%; background: radial-gradient(circle at 30% 30%, rgba(124,58,237,.45), transparent 62%); animation: auroraC 38s var(--ease) infinite; }
.aurora span:nth-child(4) { top: 6%;  left: 22%; background: radial-gradient(circle at 30% 30%, rgba(217,70,239,.4),  transparent 62%); animation: auroraD 30s var(--ease) infinite; }

/* Page content sits above aurora (header keeps its own sticky/z-index:100) */
.hero, .row-cards, .pillars, .sponsors, .section, .newsletter,
.footer, .footer-bottom, .page-hero, .post-hero, .post-body, main { position: relative; z-index: 1; }

/* ── Header / Nav ── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  height: var(--nav-h);
  max-width: 1536px;
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}

/* Glass effect lives on a pseudo-element, NOT the header itself.
   backdrop-filter on a real DOM element creates a new containing block
   for position:fixed children — the nav panel would be clipped to the
   header's 80px height. A pseudo-element cannot be a containing block,
   so the fixed nav stays viewport-relative regardless of scroll. */
.header::before {
  content: '';
  position: absolute; inset: 0;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background .3s, backdrop-filter .3s;
  z-index: -1;
  pointer-events: none;
}
.header.scrolled {
  border-color: var(--line);
}
.header.scrolled::before {
  background: rgba(8, 3, 18, 0.72);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 12px 40px -24px rgba(0,0,0,.9);
}
/* Scroll progress bar (element injected by JS) */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--grad-pink); z-index: 200;
  box-shadow: 0 0 12px rgba(236,72,153,.7);
  transition: width .1s linear;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit; flex-shrink: 0;
}
.logo-mark { width: 44px; height: 44px; flex-shrink: 0; }
.logo-img  { height: 40px; width: auto; max-width: 240px; object-fit: contain; display: block; }
.logo-text  { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text .l1 { font-weight: 800; font-size: 16px; letter-spacing: .02em; }
.logo-text .l1 .of {
  background: var(--grad-pink);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-text .l2 { font-weight: 600; font-size: 11px; letter-spacing: .22em; color: var(--text-dim); }

/* Desktop nav — just a flex row wrapper; gap lives on nav-body */
.nav { display: flex; align-items: center; }
.nav a {
  color: var(--text); text-decoration: none;
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; position: relative;
  padding: 8px 0; white-space: nowrap;
  transition: color .15s;
}
.nav a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--grad-pink); border-radius: 2px;
}
.nav a:hover { color: var(--pink-2); }
.nav .has-caret { display: inline-flex; align-items: center; gap: 5px; }

/* Cart button */
.cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04);
  color: var(--text-dim); transition: color .15s, border-color .15s, background .15s;
  text-decoration: none; flex-shrink: 0;
}
.cart-btn:hover { color: #fff; border-color: rgba(168,85,247,.4); background: rgba(168,85,247,.08); }
.cart-count {
  position: absolute; top: -5px; right: -5px;
  background: var(--purple); color: #fff;
  font-size: 9px; font-weight: 800; line-height: 1;
  min-width: 16px; height: 16px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px; border: 2px solid #0b0717;
}

/* Header CTAs */
.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
/* Mobile-only CTA block inside the nav panel — hidden on desktop */
.nav-cta { display: none; }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px; justify-content: center; align-items: center;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; padding: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  /* No X transform — panel has its own close button */
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 90;
  backdrop-filter: blur(6px);
}
.nav-overlay.show { display: block; }

/* ── Mobile-only nav panel header (always visible, doesn't scroll) ── */
.nav-head {
  display: none; /* hidden on desktop */
}
.nav-head-label {
  font-size: 10px; font-weight: 800; letter-spacing: .25em;
  text-transform: uppercase; color: var(--text-mute);
}
.nav-close-btn {
  display: none; /* hidden on desktop */
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid rgba(168,85,247,.18); background: rgba(168,85,247,.06);
  color: var(--text-dim); cursor: pointer;
  align-items: center; justify-content: center;
  transition: background .15s, color .15s, border-color .15s;
  flex-shrink: 0; padding: 0;
}
.nav-close-btn:hover { background: rgba(168,85,247,.14); color: #fff; border-color: rgba(168,85,247,.4); }

/* ── Desktop nav-body — proper flex container (no display:contents — Safari issue) ── */
.nav-body {
  display: flex; align-items: center; gap: 26px;
  flex: 1; justify-content: center;
}

/* ── Dropdown — split-button + JS hover-intent (.is-open) ── */

.nav-dropdown-wrap { position: relative; display: flex; align-items: center; }

/* Left: navigates to parent page */
.nav-dd-label {
  color: var(--text); text-decoration: none;
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; position: relative;
  padding: 8px 0; white-space: nowrap; transition: color .15s;
}
.nav-dd-label:hover, .nav-dropdown-wrap.is-open .nav-dd-label { color: var(--pink-2); }
.nav-dd-label.active { color: var(--pink-2); }
.nav-dd-label.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--grad-pink); border-radius: 2px;
}

/* Right: caret button (expands panel) */
.nav-dd-caret {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  padding: 8px 3px; color: inherit; margin-left: 3px; line-height: 0;
}
.nav-caret {
  flex-shrink: 0; opacity: .55;
  transition: transform .22s cubic-bezier(.4,0,.2,1), opacity .15s;
}
.nav-dropdown-wrap.is-open .nav-caret { transform: rotate(180deg); opacity: 1; }

/* Panel — .is-open set by JS hover-intent (desktop) or caret click (mobile) */
.nav-dropdown-panel {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 230px;
  visibility: hidden; opacity: 0; pointer-events: none;
  transition: visibility .18s, opacity .18s ease, transform .22s cubic-bezier(.22,1,.36,1);
  background: rgba(9, 5, 20, 0.96);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(168,85,247,.22);
  border-radius: 18px; padding: 8px 0 12px; z-index: 200;
  box-shadow: 0 28px 72px -18px rgba(0,0,0,.85), 0 0 0 1px rgba(168,85,247,.07) inset;
}
.nav-dropdown-wrap.is-open .nav-dropdown-panel {
  visibility: visible; opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Child items */
.nav-dropdown-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 20px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.52); text-decoration: none;
  position: relative; white-space: nowrap;
  transition: color .15s, background .15s, padding-left .18s;
}
.nav-dropdown-item::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 2px; height: 0; background: var(--grad-pink); border-radius: 2px;
  transition: height .18s cubic-bezier(.4,0,.2,1);
}
.nav-dropdown-item:hover { color: #fff; background: linear-gradient(90deg, rgba(168,85,247,.1), transparent 80%); padding-left: 26px; }
.nav-dropdown-item:hover::before { height: 50%; }
.nav-dropdown-item.active { color: var(--pink-2); padding-left: 26px; }
.nav-dropdown-item.active::before { height: 50%; }

/* ── Buttons ── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 13px 22px; border-radius: var(--radius-sm); border: none;
  cursor: pointer; text-decoration: none; color: #fff;
  transition: transform .25s var(--ease-spring), box-shadow .3s var(--ease), border-color .2s, background .2s;
  white-space: nowrap; overflow: hidden;
  isolation: isolate;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:hover svg { transform: translateX(3px); }
/* Shine sweep shared by all buttons */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }
.btn-primary {
  background: var(--grad-btn);
  box-shadow: 0 10px 30px -10px rgba(217,70,239,.6), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(217,70,239,.85), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-outline { border: 1.5px solid rgba(255,255,255,.6); background: rgba(255,255,255,.02); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost  { border: 1.5px solid rgba(255,255,255,.4); background: transparent; backdrop-filter: blur(6px); color: #fff; }
.btn-ghost:hover { border-color: var(--pink-2); background: rgba(236,72,153,.08); color: #fff; }
.btn-link   { background: transparent; padding: 6px 0; }
.btn-link::after { display: none; }
.hero-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); text-decoration: none; padding: 6px 0; background: transparent; border: none; cursor: pointer;
}
.hero-link:hover { color: var(--pink-2); }
.hero-link .ic {
  width: 22px; height: 22px; border: 1.5px solid currentColor;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
}

/* ── Hero (Homepage) ── */
.hero {
  position: relative; padding: 24px 36px 36px;
  max-width: 1536px; margin: 0 auto;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; border: 1px solid rgba(244,114,182,.3);
  padding: 9px 16px; border-radius: 999px; margin-bottom: 26px;
  background: rgba(236,72,153,.06);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 18px rgba(236,72,153,.12);
}
.hero-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--pink-2); box-shadow: 0 0 10px var(--pink-2);
  animation: pulseDot 2.4s ease-in-out infinite;
}
.hero-title {
  font-size: clamp(40px, 5vw, 68px); font-weight: 800;
  line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 24px;
}
.hero-title .grad {
  background: var(--grad-pink);
  -webkit-background-clip: text; background-clip: text; color: transparent; display: inline;
}
.hero-lede { font-size: 17px; color: var(--text-dim); line-height: 1.55; max-width: 520px; margin: 0 0 14px; }
.hero-lede.small { font-size: 15px; max-width: 480px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; }
.hero-art {
  position: relative; height: 540px;
  display: flex; align-items: center; justify-content: center;
}
.hero-art img, .hero-art svg { width: 100%; height: 100%; object-fit: contain; }

/* ── Stats bar ── */
.stats {
  margin-top: 18px; padding: 24px 30px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--glass); backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  display: grid; grid-template-columns: repeat(6,1fr); gap: 8px;
  position: relative; z-index: 2;
  box-shadow: var(--shadow-md);
}
.stat-ico {
  border-radius: 12px; background: rgba(236,72,153,.08);
  border: 1px solid rgba(236,72,153,.16);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.stat:hover .stat-ico { transform: translateY(-3px) scale(1.06); box-shadow: 0 8px 20px -8px rgba(236,72,153,.5); }
.stat { display: flex; align-items: center; gap: 14px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: -4px; top: 8px; bottom: 8px;
  width: 1px; background: var(--line);
}
.stat-ico { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; color: var(--pink-2); }
.stat-val { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; line-height: 1; }
.stat-lbl { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); margin-top: 4px; }

/* ── Banner carousel ── */
.banner-carousel { position: relative; max-width: 1536px; margin: 18px auto 0; padding: 0 36px; }
/* The text content drives slide height (so the button is never clipped); the image is
   absolutely positioned so a tall image can't stretch the slide. All slides match via flex-stretch. */
.bc-viewport { overflow: hidden; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.bc-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); will-change: transform; }
.bc-slide { flex: 0 0 100%; min-height: 360px; display: flex; align-items: center; position: relative; background: linear-gradient(120deg, rgba(31,18,64,.7), rgba(20,9,43,.92)); }
/* overlay layout */
.bc-overlay { background-size: cover; background-position: center; }
.bc-overlay .bc-tint { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,4,20,.9) 0%, rgba(8,4,20,.62) 45%, rgba(8,4,20,.25) 100%); }
.bc-overlay .bc-inner { position: relative; padding: 52px; max-width: 640px; }
/* split layout */
.bc-split .bc-inner { flex: 1 1 50%; padding: 52px; position: relative; z-index: 1; }
.bc-split .bc-art { flex: 1 1 50%; align-self: stretch; position: relative; overflow: hidden; }
.bc-split .bc-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-art-fallback { position: absolute; inset: 0; background: radial-gradient(ellipse 500px 300px at 60% 40%, rgba(236,72,153,.35), transparent 70%), linear-gradient(135deg, var(--bg-3), var(--bg)); }
/* slide content */
.bc-eyebrow { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--pink); margin-bottom: 12px; }
.bc-title { font-size: clamp(24px, 3.4vw, 40px); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em; color: #fff; margin: 0 0 12px; }
.bc-text { font-size: 15px; line-height: 1.6; color: var(--text-dim); max-width: 48ch; margin: 0 0 22px; }
.bc-cta { display: inline-flex; align-items: center; gap: 8px; }
/* arrows */
.bc-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(15,8,34,.7); border: 1px solid var(--line); color: #fff; cursor: pointer; backdrop-filter: blur(6px); transition: border-color .2s, background .2s; z-index: 3; }
.bc-arrow:hover { border-color: var(--pink); color: var(--pink); background: rgba(15,8,34,.92); }
.bc-prev { left: 50px; } .bc-next { right: 50px; }
/* dots */
.bc-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.bc-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.25); cursor: pointer; transition: width .25s, background .25s; }
.bc-dot.active { width: 24px; border-radius: 5px; background: var(--grad-btn, #ec4899); }
@media (max-width: 860px) {
  .banner-carousel { padding: 0 16px; }
  .bc-slide { min-height: 0; }
  .bc-split { flex-direction: column; align-items: stretch; }
  .bc-split .bc-inner, .bc-split .bc-art { flex: none; width: 100%; }
  .bc-split .bc-art { order: -1; aspect-ratio: 16 / 9; }
  .bc-overlay { min-height: 300px; }
  .bc-overlay .bc-inner, .bc-split .bc-inner { padding: 24px 20px; max-width: none; }
  .bc-prev { left: 10px; } .bc-next { right: 10px; }
  .bc-arrow { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .bc-track { transition: none; } }

/* ── Card row ── */
.row-cards {
  display: grid; grid-template-columns: 1fr 1.05fr 1.1fr 1.1fr;
  gap: 16px; padding: 28px 36px 18px;
  max-width: 1536px; margin: 0 auto;
}
/* Fill the width based on how many cards are visible (hidden ones leave no gap) */
.row-cards.cards-1 { grid-template-columns: minmax(0, 760px); justify-content: center; }
.row-cards.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row-cards.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.row-cards.cards-4 { grid-template-columns: 1fr 1.05fr 1.1fr 1.1fr; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  padding: 24px; position: relative; overflow: hidden; min-height: 280px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
/* Gradient edge sheen */
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .7; pointer-events: none; z-index: 1;
  transition: opacity .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--glow-purple), var(--shadow-lg); }
.card:hover::before { opacity: 1; }
/* Mouse-follow spotlight (coords set by JS via --mx/--my on .spotlight cards) */
.spotlight::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(236,72,153,.16), transparent 45%);
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
.spotlight:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 2; }
.card-eyebrow {
  color: var(--pink); font-size: 11px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.card-eyebrow a { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card-eyebrow a:hover { color: var(--pink-2); }

/* About card */
.card.about {
  background: linear-gradient(180deg, rgba(31,18,64,.55), rgba(20,9,43,.92)),
    linear-gradient(135deg, rgba(168,85,247,.3), rgba(236,72,153,.2));
}
.about-body { display: flex; flex-direction: column; height: 100%; }
.about h3 { font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: -.015em; margin: 4px 0 12px; }
.about p { color: var(--text-dim); font-size: 13.5px; line-height: 1.55; margin: 0 0 18px; }
.about-cta {
  margin-top: auto; display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,.35); border: 1px solid var(--line);
  color: #fff; padding: 10px 14px; border-radius: 999px;
  width: max-content; font-size: 11px; letter-spacing: .16em;
  font-weight: 700; text-transform: uppercase; text-decoration: none;
  transition: border-color .15s;
}
.about-cta:hover { border-color: var(--pink); }
/* Event card */
.event .event-body { display: flex; gap: 14px; flex: 1; }
.event-img { width: 120px; height: 160px; border-radius: 12px; flex-shrink: 0; overflow: hidden; border: 1px solid var(--line); }
.event-img img { width: 100%; height: 100%; object-fit: cover; }
.event-info h4 { font-size: 19px; font-weight: 800; line-height: 1.18; margin: 0 0 10px; letter-spacing: -.01em; }
.event-meta { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.event-meta .m { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-dim); }
.event-meta .m svg { color: var(--pink); }
.event p { color: var(--text-dim); font-size: 12px; line-height: 1.5; margin: 0 0 14px; }
.event-cta {
  background: var(--grad-btn); color: #fff; font-size: 10px;
  font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  border: none; border-radius: 8px; padding: 10px 16px;
  cursor: pointer; align-self: flex-start; text-decoration: none;
  font-family: inherit; display: inline-block; transition: opacity .15s;
}
.event-cta:hover { opacity: .85; }
.event-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.dots { display: flex; gap: 6px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.25); }
.dot.active { background: var(--pink); width: 16px; border-radius: 4px; }
.arrow-btn {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.arrow-btn:hover { border-color: var(--pink); color: var(--pink); }

/* Event carousel slides */
.event-slide { display: none; }
.event-slide.active { display: block; }

/* News card — compact for 4 items */
.news ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news li {
  display: grid; grid-template-columns: 64px 1fr 16px;
  gap: 10px; align-items: center; padding-bottom: 8px;
  border-bottom: 1px solid var(--line); cursor: pointer;
  text-decoration: none; color: inherit;
}
.news li:last-child { border-bottom: 0; padding-bottom: 0; }
.news-thumb {
  width: 64px; height: 50px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); background: #100726;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-date { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mute); font-weight: 700; }
.news-title { font-size: 12.5px; font-weight: 600; line-height: 1.35; color: #fff; margin-top: 3px; }
.news li:hover .news-title { color: var(--pink-2); }

/* Impact card */
.impact .impact-top { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; margin-bottom: 18px; }
.donut { width: 110px; height: 110px; position: relative; }
.donut .donut-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut .donut-label .v { font-size: 22px; font-weight: 800; }
.donut .donut-label .l { font-size: 8px; letter-spacing: .18em; color: var(--text-mute); font-weight: 700; text-transform: uppercase; }
.impact-money .amt {
  font-size: 30px; font-weight: 800;
  background: var(--grad-pink); -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -.02em; line-height: 1;
}
.impact-money .sub { font-size: 10px; letter-spacing: .16em; color: var(--text-mute); font-weight: 700; text-transform: uppercase; margin-top: 6px; }
.impact-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); margin-top: 12px; overflow: hidden; }
.impact-bar > span { display: block; height: 100%; background: var(--grad-pink); border-radius: 3px; }
.impact-stats { display: flex; flex-direction: column; gap: 8px; }
.impact-stat { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 12px; }
.impact-stat:first-child { border-top: 0; }
.impact-stat .icbox { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; color: var(--pink); }
.impact-stat .nm { color: var(--text-dim); }
.impact-stat .vl { font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

/* ── Pillars ── */
.pillars {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 16px; padding: 10px 36px 36px;
  max-width: 1536px; margin: 0 auto;
}
.pillar {
  position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  background: linear-gradient(180deg, rgba(31,18,64,.65), rgba(20,9,43,.85));
  display: grid; grid-template-columns: 60px 1fr; gap: 18px; align-items: start;
  overflow: hidden; min-height: 180px; cursor: pointer; text-decoration: none; color: inherit;
  transition: border-color .2s, transform .2s;
}
.pillar:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.pillar::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(168,85,247,.07) 1px,transparent 1px), linear-gradient(90deg,rgba(168,85,247,.07) 1px,transparent 1px);
  background-size: 28px 28px; pointer-events: none;
  mask-image: linear-gradient(135deg,transparent 60%,black); opacity: .6;
}
.pillar-icon {
  width: 60px; height: 60px; border-radius: 14px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--pink-2); background: rgba(0,0,0,.25);
}
.pillar h4 { margin: 0 0 8px; font-size: 14px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--pink); }
.pillar p  { margin: 0 0 14px; color: var(--text-dim); font-size: 13px; line-height: 1.5; }
.pillar-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.pillar-link:hover { color: var(--pink-2); }

/* ── Sponsors marquee ── */
.sponsors { padding: 24px 36px 40px; max-width: 1536px; margin: 0 auto; }
.sponsors-head { color: var(--pink); font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 18px; }
.sponsor-row {
  display: flex; align-items: center; gap: 40px; overflow: hidden;
  position: relative; padding: 14px 70px;
}
.sponsor-row::before, .sponsor-row::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none;
}
.sponsor-row::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.sponsor-row::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.sponsor-track { display: flex; gap: 56px; align-items: center; animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.sponsor {
  flex-shrink: 0; color: rgba(255,255,255,.78); font-size: 22px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  opacity: .85; transition: opacity .2s; text-decoration: none;
}
.sponsor:hover { opacity: 1; }
.sponsor-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg-2); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3;
  transition: border-color .15s, color .15s;
}
.sponsor-nav:hover { border-color: var(--pink); color: var(--pink); }
.sponsor-nav.left  { left: 24px; }
.sponsor-nav.right { right: 24px; }

/* ── Section primitives ── */
.section { max-width: 1536px; margin: 0 auto; padding: 60px 36px; position: relative; }
.section.tight { padding: 36px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 36px;
}
.section-eyebrow { color: var(--pink); font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; }
.section-eyebrow.center { text-align: center; }
.section-title { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; margin: 0 0 12px; max-width: 720px; }
.section-title .grad { background: var(--grad-pink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-lede { font-size: 16px; color: var(--text-dim); line-height: 1.55; max-width: 620px; margin: 0; }

/* ── Page hero (sub-pages) ── */
.page-hero { position: relative; padding: 32px 36px 48px; max-width: 1536px; margin: 0 auto; }
.page-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; min-height: 420px; }
.page-hero-title { font-size: clamp(36px, 5vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; margin: 14px 0 22px; }
.page-hero-title .grad { background: var(--grad-pink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero-lede { font-size: 17px; color: var(--text-dim); line-height: 1.55; max-width: 560px; margin: 0; }
.page-hero-art { position: relative; width: 100%; height: 420px; display: flex; align-items: center; justify-content: center; }
/* Natural fit: when a real image is set, let the box size to the image (no crop/zoom).
   !important overrides the inline object-fit:cover on the page templates. */
.page-hero-art:has(img) { height: auto; }
.page-hero-art img { width: 100%; height: auto !important; max-height: 520px; object-fit: contain !important; border-radius: 18px; display: block; }
/* Text-only pages (Privacy Policy, Terms, custom pages) — no art column, no min-height gap */
.page-hero--text-only { padding: 56px 36px 36px; }
.page-hero--text-only .page-hero-inner { display: block; min-height: unset; grid-template-columns: unset; gap: 0; }
.page-hero--text-only .page-hero-title { margin: 0 0 8px; }

/* ── Mission section ── */
.mission { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 36px; }
.mission-tile {
  border: 1px solid var(--line); border-radius: 18px; padding: 28px;
  background: linear-gradient(180deg, rgba(31,18,64,.55), rgba(20,9,43,.85));
  position: relative; overflow: hidden; min-height: 220px;
}
.mission-tile .num { font-size: 56px; font-weight: 800; background: var(--grad-pink); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; letter-spacing: -.04em; margin-bottom: 8px; }
.mission-tile h4 { margin: 0 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.mission-tile p  { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.55; }

/* ── How it works ── */
.flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; position: relative; }
.flow-step { border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: linear-gradient(180deg, rgba(31,18,64,.55), rgba(20,9,43,.85)); }
.flow-step .step-num { font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--pink); text-transform: uppercase; }
.flow-step .step-ico { margin: 14px 0 18px; width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--grad-btn); box-shadow: 0 4px 18px -4px rgba(236,72,153,.5); }
.step-ico-num { font-size: 20px; font-weight: 900; color: #fff; line-height: 1; letter-spacing: -.03em; }
.flow-step h4 { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.flow-step p  { margin: 0; color: var(--text-dim); font-size: 13px; line-height: 1.55; }

/* ── Stories ── */
.stories { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.stories.stories-1 { grid-template-columns: minmax(0, 480px); justify-content: center; }
.stories.stories-2 { grid-template-columns: repeat(2,1fr); }
.stories.stories-3 { grid-template-columns: repeat(3,1fr); }
.stories.stories-4 { grid-template-columns: repeat(4,1fr); }
.story {
  border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, rgba(31,18,64,.55), rgba(20,9,43,.85));
  overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: border-color .15s, transform .15s;
}
.story:hover { border-color: var(--line-strong); transform: translateY(-2px); }
/* compact thumbnail that fills the card width nicely */
.story-img { height: 150px; border-bottom: 1px solid var(--line); background: #100726; overflow: hidden; }
.story-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-img svg { width: 100%; height: 100%; display: block; }
.story-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.story-tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
.story h4 { margin: 0 0 8px; font-size: 16px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.story p  { margin: 0; color: var(--text-dim); font-size: 13px; line-height: 1.5; }
.story-foot {
  margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .14em; font-weight: 700;
}
.story-foot .av { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg,#a855f7,#ec4899); flex-shrink: 0; }

/* ── Press logos (marquee, like sponsors) ── */
.press { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 20px 0; flex-wrap: wrap; }
.press-row { position: relative; overflow: hidden; padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.press-track { display: flex; gap: 56px; align-items: center; width: max-content; animation: marquee 38s linear infinite; }
.press-track:hover { animation-play-state: paused; }
.press-logo { font-family: "Georgia",serif; font-size: 22px; color: rgba(255,255,255,.55); opacity: .8; letter-spacing: .02em; white-space: nowrap; flex-shrink: 0; }
.press-logo.condensed { font-family: "Plus Jakarta Sans"; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .press-track { animation: none; flex-wrap: wrap; justify-content: center; } }

/* ── Newsletter ── */
.newsletter { max-width: 1536px; margin: 24px auto 0; padding: 0 36px; }
.newsletter-inner {
  border: 1px solid var(--line-strong); border-radius: 24px; padding: 44px;
  background:
    radial-gradient(ellipse 600px 280px at 0% 100%, rgba(236,72,153,.18), transparent 60%),
    radial-gradient(ellipse 500px 280px at 100% 0%, rgba(168,85,247,.18), transparent 60%),
    linear-gradient(180deg, rgba(31,18,64,.85), rgba(20,9,43,.95));
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.newsletter-inner::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(168,85,247,.06) 1px,transparent 1px), linear-gradient(90deg,rgba(168,85,247,.06) 1px,transparent 1px);
  background-size: 32px 32px; pointer-events: none;
  mask-image: linear-gradient(135deg,transparent 40%,black);
}
.newsletter-form { display: flex; gap: 10px; position: relative; z-index: 2; }
.newsletter-form input {
  flex: 1; padding: 16px 18px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: rgba(0,0,0,.4);
  color: #fff; font-family: inherit; font-size: 15px; outline: none;
}
.newsletter-form input::placeholder { color: var(--text-mute); }
.newsletter-form input:focus { border-color: var(--pink); }

/* ── Footer ── */
.footer { margin-top: 60px; border-top: 1px solid var(--line); background: radial-gradient(ellipse 900px 300px at 50% 0%,rgba(168,85,247,.10),transparent 60%), var(--bg); }
.footer-inner { max-width: 1536px; margin: 0 auto; padding: 60px 36px 30px; display: flex; flex-wrap: wrap; gap: 40px; }
.footer-brand { flex: 0 0 260px; }
.footer-col   { flex: 1; min-width: 130px; }
.footer-col h5 { margin: 0 0 18px; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--pink); }
.footer-col a { display: block; color: var(--text-dim); text-decoration: none; font-size: 13.5px; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--pink-2); }
.footer-brand p { color: var(--text-dim); font-size: 13.5px; line-height: 1.55; margin: 18px 0 22px; max-width: 340px; }
.footer-addr { color: var(--text-mute) !important; font-size: 12px !important; margin-top: 12px; line-height: 1.6; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; color: #fff; padding: 0;
  transition: border-color .15s, color .15s;
}
.socials a:hover { border-color: var(--pink); color: var(--pink); }
.footer-bottom { max-width: 1536px; margin: 0 auto; padding: 22px 36px 28px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-mute); border-top: 1px solid var(--line); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--text-mute); text-decoration: none; }
.footer-legal a:hover { color: var(--pink); }

/* ── Stat ribbon (subpages) ── */
.stat-ribbon { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 28px; }
.stat-ribbon .rib { padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(26,14,53,.5); }
.stat-ribbon .rib .v { font-size: 38px; font-weight: 800; background: var(--grad-pink); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.02em; line-height: 1; }
.stat-ribbon .rib .l { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mute); font-weight: 700; margin-top: 8px; }

/* ── People grid ── */
.people-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.person { border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(31,18,64,.55),rgba(20,9,43,.85)); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.person:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.person-photo { aspect-ratio: 1; background: #100726; position: relative; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#1a0540,#2a1565); }
.person-body { padding: 18px; }
.person h5 { margin: 0 0 4px; font-size: 16px; font-weight: 800; letter-spacing: -.005em; }
.person .role { font-size: 12px; color: var(--text-mute); letter-spacing: .06em; }
.person .tag  { display: inline-block; margin-top: 10px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--pink); font-weight: 700; }

/* ── Event grid ── */
.event-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.event-tile { border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(31,18,64,.55),rgba(20,9,43,.85)); overflow: hidden; display: flex; flex-direction: column; }
.event-tile .ev-img { aspect-ratio: 16/9; border-bottom: 1px solid var(--line); background: #100726; overflow: hidden; }
.event-tile .ev-img img { width: 100%; height: 100%; object-fit: cover; }
.event-tile-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.date-chip { display: inline-flex; align-items: baseline; gap: 6px; background: rgba(0,0,0,.4); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pink-2); margin-bottom: 12px; width: max-content; }
.event-tile h4 { margin: 0 0 10px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.event-tile p  { margin: 0 0 18px; color: var(--text-dim); font-size: 13px; line-height: 1.55; }
.event-tile-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; color: var(--text-dim); letter-spacing: .06em; }

/* ── Article feature ── */
.article-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgba(31,18,64,.55),rgba(20,9,43,.85)); overflow: hidden; align-items: center; }
.article-feature .feat-img { aspect-ratio: 1.3; background: #100726; overflow: hidden; }
.article-feature .feat-img img { width: 100%; height: 100%; object-fit: fill; }
.article-feature .feat-body { padding: 40px; padding-left: 0; }
.article-feature h3 { font-size: clamp(22px,2.8vw,34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 12px 0 16px; }
.article-feature p  { color: var(--text-dim); font-size: 15px; line-height: 1.6; margin: 0 0 20px; }

/* ── Article list ── */
.article-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.article-tile { border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(31,18,64,.55),rgba(20,9,43,.85)); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; cursor: pointer; transition: border-color .15s, transform .15s; }
.article-tile:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.article-tile .at-img { aspect-ratio: 16/10; background: #100726; overflow: hidden; }
.article-tile .at-img img { width: 100%; height: 100%; object-fit: cover; }
.article-tile .at-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.article-tile h4 { margin: 8px 0; font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.article-tile p  { color: var(--text-dim); font-size: 13px; line-height: 1.5; margin: 0 0 12px; }
.article-tile .at-meta { margin-top: auto; padding-top: 12px; font-size: 11px; color: var(--text-mute); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; border-top: 1px solid var(--line); }

/* ── Filter chips ── */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { background: transparent; border: 1px solid var(--line); color: var(--text-dim); padding: 8px 16px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: all .15s; font-family: inherit; text-decoration: none; display: inline-block; }
.chip:hover { border-color: var(--pink); color: var(--pink); }
.chip.active { background: var(--grad-btn); border-color: transparent; color: #fff; }

/* ── Split two-col ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img { aspect-ratio: 4/3; border-radius: 22px; border: 1px solid var(--line); overflow: hidden; background: #100726; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split h3 { font-size: clamp(22px,2.5vw,32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 14px 0 16px; }
.split p   { font-size: 15px; color: var(--text-dim); line-height: 1.6; margin: 0 0 14px; }

/* ── Timeline ── */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-top: 20px; }
.timeline::before { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 1px; background: var(--grad-pink); opacity: .5; }
.t-step { position: relative; padding-top: 44px; }
.t-step::before { content: ""; position: absolute; top: 16px; left: 12px; width: 12px; height: 12px; border-radius: 50%; background: var(--grad-btn); box-shadow: 0 0 0 4px rgba(236,72,153,.2); }
.t-step .yr { font-size: 22px; font-weight: 800; letter-spacing: -.01em; background: var(--grad-pink); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.t-step h5  { margin: 0 0 6px; font-size: 15px; font-weight: 800; }
.t-step p   { margin: 0; font-size: 12px; color: var(--text-dim); line-height: 1.55; }

/* ── Get involved grid ── */
.involve-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.involve-card { border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgba(31,18,64,.55),rgba(20,9,43,.85)); padding: 30px; position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 280px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.involve-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.involve-card .ic-ic { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--pink-2); background: rgba(0,0,0,.3); margin-bottom: 18px; }
.involve-card h4 { margin: 0 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.involve-card p  { margin: 0 0 18px; color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.involve-card .pillar-link { margin-top: auto; }

/* ── Programs ── */
.programs { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.program { border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgba(31,18,64,.55),rgba(20,9,43,.85)); padding: 28px; display: flex; flex-direction: column; min-height: 380px; }
.program.featured { border-color: var(--line-strong); background: radial-gradient(ellipse 400px 200px at 50% 0%, rgba(236,72,153,.18),transparent 70%), linear-gradient(180deg, rgba(31,18,64,.85),rgba(20,9,43,.95)); }
.program .level { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; background: rgba(236,72,153,.15); color: var(--pink-2); width: max-content; margin-bottom: 14px; }
.program h4 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 12px; }
.program p  { color: var(--text-dim); font-size: 14px; line-height: 1.55; margin: 0 0 18px; }
.program-meta { display: flex; flex-direction: column; gap: 8px; margin: 0 0 22px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--text-dim); }
.program-meta .m { display: flex; justify-content: space-between; }
.program-meta .m strong { color: #fff; font-weight: 700; }

/* ── Labs map ── */
.labs-map { position: relative; border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(ellipse 700px 400px at 50% 50%,rgba(168,85,247,.12),transparent 70%), linear-gradient(180deg, rgba(31,18,64,.55),rgba(20,9,43,.85)); padding: 40px; min-height: 540px; overflow: hidden; }
.labs-map svg { width: 100%; height: 100%; }
.lab-pin { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--grad-btn); box-shadow: 0 0 0 4px rgba(236,72,153,.25), 0 0 20px rgba(236,72,153,.6); cursor: pointer; transform: translate(-50%,-50%); }
.lab-pin::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(236,72,153,.4); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.lab-pin .lbl { position: absolute; left: 18px; top: -6px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: #fff; background: rgba(15,8,34,.85); padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line); }

/* ── Leaflet interactive lab map ── */
.lab-marker { position:relative; overflow:visible !important; }
.lab-marker-dot { display:block; width:14px; height:14px; border-radius:50%; background: var(--grad-btn,#ec4899); box-shadow: 0 0 0 4px rgba(236,72,153,.25), 0 0 16px rgba(236,72,153,.7); }
.lab-marker-dot::after { content:""; position:absolute; inset:-9px; border-radius:50%; border:1px solid rgba(236,72,153,.45); animation: ping 2s ease-out infinite; }
.lab-tip.leaflet-tooltip { background: rgba(15,8,34,.92); color:#fff; border:1px solid rgba(168,85,247,.5); border-radius:6px; font-weight:800; font-size:11px; letter-spacing:.08em; text-transform:uppercase; box-shadow:0 4px 18px rgba(0,0,0,.4); }
.lab-tip.leaflet-tooltip-top::before { border-top-color: rgba(168,85,247,.5); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background:#160a33; color:#fff; border:1px solid rgba(168,85,247,.4); }
.leaflet-popup-content { font-size:14px; }
#labs-map .leaflet-control-attribution { background: rgba(10,5,24,.7); color: rgba(255,255,255,.5); }
#labs-map .leaflet-control-attribution a { color: rgba(236,72,153,.8); }

/* ── Prize tiers ── */
.tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.tier { border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgba(31,18,64,.55),rgba(20,9,43,.85)); padding: 32px 28px; text-align: center; position: relative; }
.tier.featured { border-color: var(--line-strong); background: radial-gradient(ellipse 400px 200px at 50% 0%,rgba(236,72,153,.18),transparent 70%), linear-gradient(180deg, rgba(31,18,64,.85),rgba(20,9,43,.95)); transform: scale(1.04); }
.tier .place  { font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--text-mute); }
.tier.featured .place { color: var(--pink); }
.tier .amount { font-size: clamp(36px,5vw,56px); font-weight: 800; background: var(--grad-pink); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em; line-height: 1; margin: 14px 0 8px; }
.tier h5 { margin: 0 0 14px; font-size: 16px; font-weight: 800; }
.tier ul  { list-style: none; padding: 0; margin: 14px 0 0; text-align: left; }
.tier ul li { font-size: 13px; color: var(--text-dim); padding: 6px 0; border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: center; }
.tier ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); flex-shrink: 0; }

/* ── FAQ ── */
.faq { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: rgba(26,14,53,.5); padding: 22px; cursor: pointer; }
.faq-item h5 { margin: 0 0 8px; font-size: 15px; font-weight: 800; letter-spacing: -.005em; }
.faq-item p  { margin: 0; font-size: 13px; color: var(--text-dim); line-height: 1.55; }

/* ── Single blog post ── */
.post-hero { padding: 48px 36px 32px; max-width: 1536px; margin: 0 auto; }
.post-hero .post-tag { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--pink); margin-bottom: 18px; display: block; }
.post-hero h1 { font-size: clamp(30px,4.5vw,58px); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; margin: 0 0 20px; max-width: 900px; }
.post-meta { display: flex; align-items: center; gap: 18px; font-size: 12px; color: var(--text-mute); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-bottom: 32px; }
.post-meta .sep { opacity: .4; }
.post-featured-img { width: 100%; aspect-ratio: 21/8; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.post-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { max-width: 80%; margin: 48px auto; padding: 0 36px; }
.post-body h2, .post-body h3, .post-body h4 { font-weight: 800; letter-spacing: -.01em; margin: 36px 0 14px; }
.post-body h2 { font-size: 28px; }
.post-body h3 { font-size: 22px; }
.post-body p  { color: var(--text-dim); line-height: 1.75; font-size: 16px; margin: 0 0 20px; }
.post-body a  { color: var(--pink-2); text-decoration: underline; }
.post-body blockquote { border-left: 3px solid var(--pink); margin: 28px 0; padding: 18px 28px; background: rgba(26,14,53,.5); border-radius: 0 12px 12px 0; font-style: italic; color: var(--text-dim); font-size: 17px; }
.post-body ul, .post-body ol { color: var(--text-dim); font-size: 16px; line-height: 1.7; margin: 0 0 20px; padding-left: 24px; }
.post-body img { width: 100%; border-radius: 14px; margin: 24px 0; border: 1px solid var(--line); }
.post-body code { background: rgba(168,85,247,.15); padding: 2px 7px; border-radius: 5px; font-size: 13px; }
.post-body pre  { background: rgba(10,5,24,.9); border: 1px solid var(--line); border-radius: 12px; padding: 20px; overflow-x: auto; margin: 20px 0; }

/* ── Donate block ── */
.donate-amounts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.donate-amounts .amount-btn { background: transparent; border: 1px solid var(--line); color: var(--text-dim); padding: 10px 22px; border-radius: 999px; font-size: 16px; font-weight: 800; cursor: pointer; font-family: inherit; transition: all .15s; }
.donate-amounts .amount-btn:hover, .donate-amounts .amount-btn.active { border-color: var(--pink); color: #fff; background: rgba(236,72,153,.15); }

/* ── Contact form ── */
.contact-form { display: grid; gap: 16px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* ── Dark dropdowns everywhere (fixes white native option lists site-wide) ── */
select { color-scheme: dark; }
select option, select optgroup { background: #1a0e35; color: #fff; }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.form-field input, .form-field textarea, .form-field select {
  background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 10px;
  color: #fff; font-family: inherit; font-size: 14px; padding: 12px 16px; outline: none;
  transition: border-color .15s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--pink); }
.form-field select option { background: #1a0e35; color: #fff; } /* prevents white-on-white in browser native dropdown */
.form-field textarea { resize: vertical; min-height: 120px; }

/* ── Breadcrumb ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-mute); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.breadcrumb a { color: var(--text-mute); text-decoration: none; transition: color .15s; }
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb .sep { opacity: .4; }

/* ── Pagination ── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; text-decoration: none; color: var(--text-dim); transition: all .15s; }
.pagination a:hover    { border-color: var(--pink); color: var(--pink); }
.pagination .current   { background: var(--grad-btn); border-color: transparent; color: #fff; }
.pagination .disabled  { opacity: .3; pointer-events: none; }
.pagination .ellipsis  { border: none; background: none; color: var(--text-dim); letter-spacing: .05em; cursor: default; }

/* ── Flash message ── */
.flash { padding: 14px 20px; border-radius: 10px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.flash.success { background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.4); color: #6ee7b7; }
.flash.error   { background: rgba(239,68,68,.15); border: 1px solid rgba(239,68,68,.4); color: #fca5a5; }
.flash.info    { background: rgba(168,85,247,.15); border: 1px solid rgba(168,85,247,.4); color: #d8b4fe; }

/* ── Utility ── */
.sr-only { position: absolute; clip: rect(0 0 0 0); width: 1px; height: 1px; overflow: hidden; }
.center { text-align: center; }
.grad { background: var(--grad-pink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mt-sm { margin-top: 18px; }
.mt-md { margin-top: 36px; }
.mt-lg { margin-top: 60px; }

/* ── Responsive ── */
@media (max-width: 1200px) {
  .nav { gap: 18px; }
  .nav a { font-size: 10.5px; }
  .row-cards, .row-cards.cards-1, .row-cards.cards-2, .row-cards.cards-3, .row-cards.cards-4 { grid-template-columns: 1fr 1fr; }
  .footer-brand { flex: 0 0 220px; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art  { height: 360px; }
  .page-hero-inner { grid-template-columns: 1fr; min-height: auto; }
  /* Event register: stack details over form, drop sticky */
  .reg-layout { grid-template-columns: 1fr !important; gap: 24px !important; }
  .reg-layout > div { position: static !important; }
  .pillars { grid-template-columns: repeat(2,1fr); }
  .flow    { grid-template-columns: repeat(2,1fr); }
  .mission { grid-template-columns: repeat(2,1fr); }
  .stories, .stories.stories-2, .stories.stories-3, .stories.stories-4 { grid-template-columns: repeat(2,1fr); }
  .article-feature { grid-template-columns: 1fr; }
  .article-feature .feat-body { padding: 30px; }
  .timeline { grid-template-columns: repeat(3,1fr); }
  .footer-brand { flex: 0 0 200px; }
}
@media (max-width: 900px) {
  /* ── Mobile nav panel ── */
  .hamburger { display: flex; }
  .header-cta { display: none; }

  /* Panel shell — slides in from the LEFT */
  .nav {
    position: fixed; top: 0; left: 0; width: min(300px, 88vw);
    height: 100vh;
    height: 100dvh;
    display: flex; flex-direction: column;
    background: var(--bg-2);
    border-right: 1px solid rgba(168,85,247,.2);
    padding: 0; gap: 0;
    transform: translateX(-110%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    z-index: 95; overflow: hidden;
    will-change: transform;
    box-shadow: 20px 0 60px -10px rgba(0,0,0,.6);
  }
  .nav.open { transform: translateX(0); }

  /* Panel header — fixed height, never scrolls */
  .nav-head {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%;
    padding: 18px 20px 16px; flex-shrink: 0;
    border-bottom: 1px solid rgba(168,85,247,.12);
    background: rgba(168,85,247,.04);
  }
  .nav-close-btn { display: inline-flex; }

  /* Scrollable links area */
  .nav-body {
    display: flex; flex-direction: column; gap: 2px;
    align-items: stretch; justify-content: flex-start;
    flex: 1; overflow-y: auto; overflow-x: hidden;
    padding: 14px 20px 40px;
    -webkit-overflow-scrolling: touch;
  }
  .nav-body::-webkit-scrollbar { width: 3px; }
  .nav-body::-webkit-scrollbar-thumb { background: rgba(168,85,247,.3); border-radius: 4px; }

  /* Nav links in mobile — match the pill style */
  .nav-body > a {
    font-size: 13.5px; font-weight: 700; letter-spacing: .08em;
    padding: 11px 14px; border-radius: 10px;
    border: 1px solid transparent;
    transition: background .15s, color .15s, border-color .15s;
    text-transform: uppercase;
  }
  .nav-body > a:hover { background: rgba(168,85,247,.08); border-color: rgba(168,85,247,.15); color: #fff; }
  .nav-body > a.active {
    background: rgba(168,85,247,.12); border-color: rgba(168,85,247,.25); color: var(--pink-2);
  }

  /* Mobile CTA buttons — shown inside the nav panel, pinned below the links */
  .nav-cta {
    display: flex; flex-direction: column; gap: 10px;
    flex-shrink: 0;
    padding: 16px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(168,85,247,.12);
    background: rgba(168,85,247,.03);
  }
  .nav-cta .btn { width: 100%; justify-content: center; }
  /* Cart inside mobile panel — full-width labelled row instead of icon-only */
  .nav-cta .cart-btn {
    width: 100%; height: auto; border-radius: 10px;
    padding: 11px 14px; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  }
  .nav-cta .cart-btn::after { content: 'Cart'; }
  .nav-cta .cart-btn .cart-count { position: static; margin-left: auto; }

  /* Mobile dropdown — split-button: label (left) + caret (right) on same row */
  .nav-dropdown-wrap {
    /* Row with wrap so the panel flows to the next line */
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    border-radius: 10px; border: 1px solid transparent;
    transition: border-color .15s, background .15s;
  }
  .nav-dropdown-wrap.is-open {
    background: rgba(168,85,247,.05); border-color: rgba(168,85,247,.18);
    margin-bottom: 2px;
  }
  /* Left: parent link — takes all remaining width */
  .nav-dd-label {
    flex: 1;
    display: flex; align-items: center;
    font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase;
    padding: 11px 10px 11px 14px;
    border-radius: 10px 0 0 10px;
    color: var(--text);
    transition: color .15s, background .15s;
    white-space: nowrap; text-decoration: none;
  }
  .nav-dd-label:hover { color: #fff; }
  .nav-dropdown-wrap.is-open .nav-dd-label { color: var(--pink-2); }
  .nav-dd-label.active { color: var(--pink-2); }
  /* Right: caret toggle — fixed width tap target */
  .nav-dd-caret {
    flex-shrink: 0;
    padding: 11px 14px;
    border-radius: 0 10px 10px 0;
    border-left: 1px solid rgba(168,85,247,.1);
    color: rgba(255,255,255,.4);
    transition: color .15s;
    line-height: 0;
  }
  .nav-dd-caret:hover,
  .nav-dropdown-wrap.is-open .nav-dd-caret { color: var(--pink-2); }
  /* Panel: full-width, wraps to next flex row below label+caret */
  .nav-dropdown-panel {
    flex-basis: 100%;        /* forces to new row */
    position: static;
    display: none;
    visibility: visible; opacity: 1; transform: none; transition: none;
    pointer-events: auto;
    background: rgba(168,85,247,.04);
    border-top: 1px solid rgba(168,85,247,.1);
    border: none; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    padding: 6px 12px 10px 20px;
  }
  .nav-dropdown-wrap.is-open .nav-dropdown-panel {
    display: block;
    transform: none;          /* cancel the desktop translateX(-50%) from the base .is-open rule */
    visibility: visible;
    opacity: 1;
  }
  /* Child items — clearly visible text on mobile */
  .nav-dropdown-item {
    font-size: 13px; font-weight: 600; padding: 9px 10px; border-radius: 8px;
    color: var(--text-dim);    /* --text-dim is #c9c3d8, clearly visible */
    letter-spacing: .04em; text-transform: none;
  }
  .nav-dropdown-item:hover { background: rgba(168,85,247,.1); color: #fff; padding-left: 14px; }
  .nav-dropdown-item.active { color: var(--pink-2); }
  .nav-dropdown-item::before { display: none; }
  .nav-dropdown-item svg { display: none; } /* hide dot icon on mobile */

  .row-cards, .row-cards.cards-1, .row-cards.cards-2, .row-cards.cards-3, .row-cards.cards-4 { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: repeat(2,1fr); }
  .event-grid  { grid-template-columns: repeat(2,1fr); }
  .programs    { grid-template-columns: 1fr; }
  .tiers       { grid-template-columns: 1fr; }
  .tier.featured { transform: none; }
  .faq { grid-template-columns: 1fr; }
  .involve-grid { grid-template-columns: repeat(2,1fr); }
  .newsletter-inner { grid-template-columns: 1fr; gap: 28px; }
  .newsletter-form { flex-direction: column; }
  .stats { grid-template-columns: repeat(3,1fr); }
  .footer-inner { gap: 28px; padding: 40px 24px; }
  .footer-brand { flex: 1 1 100%; }
  .footer-col   { flex: 1 1 calc(50% - 14px); min-width: 140px; }
}
@media (max-width: 640px) {
  .header { padding: 0 20px; }
  .hero   { padding: 16px 20px 28px; }
  .hero-title { font-size: 36px; }
  .section { padding: 40px 20px; }
  .pillars { grid-template-columns: 1fr; }
  .flow    { grid-template-columns: 1fr; }
  .mission { grid-template-columns: 1fr; }
  .stories, .stories.stories-2, .stories.stories-3, .stories.stories-4 { grid-template-columns: 1fr; }
  .article-list { grid-template-columns: 1fr; }
  .event-grid   { grid-template-columns: 1fr; }
  .people-grid  { grid-template-columns: repeat(2,1fr); }
  .involve-grid { grid-template-columns: 1fr; }
  .stat-ribbon  { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .timeline { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-brand, .footer-col { flex: 1 1 100%; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .footer-legal  { flex-wrap: wrap; justify-content: center; }
  .newsletter { padding: 0 20px; }
  .newsletter-inner { padding: 28px; }
  .post-body { padding: 0 20px; }
  .row-cards, .pillars { padding-left: 20px; padding-right: 20px; }
  .sponsors { padding: 20px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}

/* ── Site Toast (public notification) ── */
.site-toast {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  max-width: 360px;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  pointer-events: auto;
}
.site-toast--in  { opacity: 1; transform: translateY(0); }
.site-toast--ok  { background: linear-gradient(135deg,#059669,#10b981); }
.site-toast--warn{ background: linear-gradient(135deg,#d97706,#f59e0b); }
.site-toast--err { background: linear-gradient(135deg,#dc2626,#ef4444); }

/* ── Contact page form ── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; max-width: 960px; margin: 0 auto; }
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text-dim); }
.contact-form input,
.contact-form select,
.contact-form textarea { width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 11px 14px; font-size: 14px; color: var(--text-main); font-family: inherit; transition: border-color .2s; box-sizing: border-box; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--grad-from); box-shadow: 0 0 0 3px rgba(236,72,153,.15); }
.contact-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.contact-form select option { background: #1a0e35; color: #fff; } /* prevents white-on-white in browser native dropdown */
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-info .ci-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.contact-info .ci-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(168,85,247,.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #a855f7; }
.contact-info .ci-text h5 { margin: 0 0 3px; font-size: 13px; font-weight: 700; }
.contact-info .ci-text p  { margin: 0; font-size: 13px; color: var(--text-dim); }

@media (max-width: 700px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .site-toast   { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* ── University Partners Marquee ── */
.uni-marquee-wrap {
  overflow: hidden; position: relative; padding: 10px 0;
}
.uni-marquee-wrap::before,
.uni-marquee-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.uni-marquee-wrap::before { left:  0; background: linear-gradient(90deg,  var(--bg) 0%, transparent 100%); }
.uni-marquee-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--bg) 0%, transparent 100%); }
.uni-marquee-track { display: flex; width: max-content; animation: uni-scroll 38s linear infinite; }
.uni-marquee-track:hover { animation-play-state: paused; }
@keyframes uni-scroll { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }
.uni-marquee-inner { display: flex; align-items: center; gap: 48px; padding: 0 24px; }
.uni-partner {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap;
  color: rgba(255,255,255,.75); font-size: 15px; font-weight: 600; text-decoration: none;
  transition: color .2s, opacity .2s; opacity: .8;
}
.uni-partner:hover { color: #fff; opacity: 1; }
.uni-partner img { height: 36px; width: auto; object-fit: contain; border-radius: 6px; filter: brightness(.9) grayscale(.2); transition: filter .2s; }
.uni-partner:hover img { filter: brightness(1) grayscale(0); }
.uni-partner-text { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }

/* ── Donate page ── */
.donate-grid { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }
.donate-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.amount-btn {
  padding: 14px 10px; border-radius: 10px; border: 2px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04); color: var(--text-main); font-size: 18px; font-weight: 800;
  cursor: pointer; transition: all .2s; text-align: center;
}
.amount-btn:hover  { border-color: var(--pink); background: rgba(168,85,247,.1); }
.amount-btn.active { border-color: var(--pink); background: rgba(168,85,247,.18); color: #fff; }
.donate-custom-wrap { position: relative; margin-bottom: 22px; }
.donate-currency-prefix {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 800; color: var(--text-dim); pointer-events: none;
}
.donate-custom-input {
  width: 100%; padding: 16px 16px 16px 38px; font-size: 22px; font-weight: 800;
  background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.1); border-radius: 10px;
  color: #fff; font-family: inherit; box-sizing: border-box; transition: border-color .2s;
}
.donate-custom-input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(168,85,247,.15); }
.donate-method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.pay-method-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px;
  border-radius: 10px; border: 2px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04);
  cursor: pointer; font-size: 13px; font-weight: 700; color: var(--text-dim); transition: all .2s;
}
.pay-method-btn:hover  { border-color: var(--pink); color: #fff; }
.pay-method-btn.active { border-color: var(--pink); background: rgba(168,85,247,.15); color: #fff; }
.donate-impact-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 28px;
}
.impact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.impact-icon { font-size: 22px; flex-shrink: 0; }
.impact-amt  { font-size: 13px; font-weight: 800; color: var(--pink); margin-bottom: 2px; }
.impact-desc { font-size: 13px; color: var(--text-dim); line-height: 1.45; }
@media (max-width: 860px) {
  .donate-grid { grid-template-columns: 1fr; }
  .donate-amounts { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   REDESIGN LAYER — premium glass surfaces, refined motion, polish.
   Appended last so single-class rules win by source order while
   leaving every existing class name & layout selector intact.
   ================================================================ */

/* ── Shared glass surfaces (all card-like components site-wide) ── */
.pillar,
.mission-tile,
.flow-step,
.story,
.person,
.event-tile,
.article-tile,
.article-feature,
.involve-card,
.program,
.tier,
.split-img,
.stat-ribbon .rib {
  background: var(--glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow-md);
}

/* Gradient edge sheen for the interactive surfaces */
.pillar, .mission-tile, .flow-step, .story, .person,
.event-tile, .article-tile, .involve-card, .program, .tier {
  position: relative;
}
.mission-tile::after,
.flow-step::after,
.story::after,
.person::after,
.event-tile::after,
.article-tile::after,
.involve-card::after,
.program::after,
.tier::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s; pointer-events: none; z-index: 3;
}
.mission-tile:hover::after,
.flow-step:hover::after,
.story:hover::after,
.person:hover::after,
.event-tile:hover::after,
.article-tile:hover::after,
.involve-card:hover::after,
.program:hover::after,
.tier:hover::after { opacity: 1; }

/* Lift + glow on hover (unifies the whole grid system) */
.pillar:hover,
.mission-tile:hover,
.flow-step:hover,
.story:hover,
.person:hover,
.event-tile:hover,
.article-tile:hover,
.involve-card:hover,
.program:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--glow-purple), var(--shadow-lg);
}

/* Pillar icon / involve icon — animated tile */
.pillar-icon, .involve-card .ic-ic, .contact-info .ci-icon, .flow-step .step-ico {
  transition: transform .35s var(--ease-spring), box-shadow .35s, background .3s;
}
.pillar:hover .pillar-icon,
.involve-card:hover .ic-ic {
  transform: translateY(-2px) rotate(-4deg) scale(1.06);
  box-shadow: 0 10px 26px -8px rgba(236,72,153,.55);
  color: #fff;
}
.flow-step:hover .step-ico { transform: translateY(-3px) scale(1.07); box-shadow: 0 12px 30px -8px rgba(236,72,153,.65); }

/* Newsletter — richer animated frame */
.newsletter-inner { box-shadow: var(--glow-pink), var(--shadow-lg); }

/* Chips — pill micro-interaction */
.chip { transition: transform .2s var(--ease-spring), border-color .2s, color .2s, background .2s; }
.chip:hover { transform: translateY(-2px); }

/* Section eyebrow — animated accent line */
.section-eyebrow:not(.center) {
  display: inline-flex; align-items: center; gap: 10px;
}
.section-eyebrow:not(.center)::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px;
  background: var(--grad-pink); box-shadow: 0 0 10px rgba(236,72,153,.5);
}

/* Links / CTAs underline reveal */
.about-cta, .pillar-link, .event-cta { transition: all .25s var(--ease); }

/* Footer social hover lift */
.socials a { transition: transform .25s var(--ease-spring), border-color .15s, color .15s, box-shadow .25s; }
.socials a:hover { transform: translateY(-3px); box-shadow: 0 8px 20px -8px rgba(236,72,153,.6); }

/* Footer link slide */
.footer-col a { transition: color .15s, transform .2s var(--ease), padding-left .2s; position: relative; }
.footer-col a:hover { transform: translateX(3px); }

/* Form focus glow (site-wide) */
.form-field input:focus, .form-field textarea:focus, .form-field select:focus,
.newsletter-form input:focus {
  box-shadow: 0 0 0 3px rgba(236,72,153,.16);
}

/* Image zoom unify for person & post */
.person-photo img { transition: transform .5s var(--ease); }
.person:hover .person-photo img { transform: scale(1.05); }

/* ── Stats bar separators — centered between groups, no stray row-start lines ── */
.stat { justify-content: center; }
.stat + .stat::before { left: -4px; }              /* centered in the 8px grid gap */
@media (max-width: 900px) {                          /* 3 columns — stacked rows */
  /* Vertical, centered stat: icon→value→label all centered, so icons line up
     across every row AND the separators sit centered between the columns. */
  .stat { flex-direction: column; text-align: center; gap: 8px; }
  .stat:nth-child(3n+1)::before { display: none; }   /* drop leading line on each row start */
}
@media (max-width: 640px) {                          /* 2 columns */
  .stat:nth-child(3n+1)::before { display: block; }  /* reset the 3-col rule */
  .stat:nth-child(2n+1)::before { display: none; }   /* drop leading line on each row start */
}

/* Remove the leading bullet dot from nav dropdown child items (all viewports) */
.nav-dropdown-item svg { display: none; }
/* Center child nav items within the dropdown panel (desktop) */
.nav-dropdown-item { gap: 0; justify-content: center; text-align: center; }
.nav-dropdown-item::before { display: none; }
.nav-dropdown-item:hover,
.nav-dropdown-item.active { padding-left: 20px; padding-right: 20px; }
@media (max-width: 900px) {
  /* Mobile accordion keeps its left-aligned list style */
  .nav-dropdown-item { justify-content: flex-start; text-align: left; }
}

/* Smooth-scroll + selection */
html { scroll-behavior: smooth; }
::selection { background: rgba(236,72,153,.35); color: #fff; }

/* Custom scrollbar (where visible) */
* { scrollbar-color: rgba(168,85,247,.5) transparent; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora { display: none; }
}

/* ── Section visibility (admin-only toggle strip) ── */
.section-vis-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(168,85,247,.08); border: 1px solid rgba(168,85,247,.2);
  border-radius: 8px; padding: 6px 12px; margin-bottom: 6px; font-size: 12px;
}
.section-vis-bar .sv-label { color: var(--text-dim); font-weight: 600; }
.section-vis-badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.section-vis-badge.hidden { background: rgba(239,68,68,.15); color: #ef4444; }
.section-vis-badge.visible { background: rgba(16,185,129,.15); color: #10b981; }
