/* ==========================================================
   Saniya unified design system
   ========================================================== */
:root {
  --bg: #07100c;
  --bg-alt: #0a1710;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef5f0;
  --text-dim: #9db4a6;
  --green: #34d399;
  --gold: #fbbf24;
  --grad: linear-gradient(100deg, var(--green), var(--gold));
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* Background canvas + cursor glow */
#bg-canvas {
  position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%;
}
.cursor-glow {
  position: fixed; z-index: -1; width: 520px; height: 520px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.10), transparent 65%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  left: 50vw; top: 40vh;
}

.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}
.nav.is-scrolled {
  background: rgba(7, 16, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
  padding-top: 12px; padding-bottom: 12px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo-img {
  display: block; width: 34px; height: 34px; border-radius: 9px;
  transition: transform 0.4s var(--ease);
}
.nav__logo:hover .nav__logo-img { transform: rotate(-8deg) scale(1.08); }
.nav__logo-text {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); }
.nav__links a:not(.btn) {
  font-size: 0.95rem; color: var(--text-dim); font-weight: 500;
  transition: color 0.25s;
}
.nav__links a:not(.btn):hover { color: var(--text); }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.15rem;
  border: 1px solid var(--border); background: var(--surface);
  margin-left: 14px;
  transition: transform 0.3s var(--ease), background 0.25s, border-color 0.25s;
}
.theme-toggle:hover { transform: scale(1.1) rotate(15deg); background: var(--surface-hover); border-color: rgba(52, 211, 153, 0.4); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  will-change: transform;
}
.btn--primary {
  background: var(--grad); color: #06130c;
  box-shadow: 0 8px 30px rgba(52, 211, 153, 0.25);
}
.btn--primary:hover { box-shadow: 0 12px 40px rgba(52, 211, 153, 0.4); }
.btn--ghost { border: 1px solid var(--border); background: var(--surface); }
.btn--ghost:hover { background: var(--surface-hover); }
.btn--small { padding: 9px 20px; font-size: 0.88rem; background: var(--grad); color: #06130c; }

/* ============ HERO ============ */
.hero {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative;
  padding: 120px 24px 60px;
}
.hero__content { max-width: 900px; position: relative; z-index: 1; }

/* Africa contour with flowing light */
.africa {
  position: absolute; top: 50%; right: clamp(-80px, 2vw, 120px);
  transform: translateY(-50%);
  width: clamp(320px, 42vw, 600px); height: auto;
  pointer-events: none; overflow: visible;
}
.africa__outline {
  fill: rgba(52, 211, 153, 0.03);
  stroke: rgba(255, 255, 255, 0.10);
  stroke-width: 1.5;
}
.africa__madagascar { fill: rgba(52, 211, 153, 0.03); }
.africa__glow {
  fill: none; stroke: var(--green); stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.9));
}
.africa__glow--gold {
  stroke: var(--gold);
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.9));
}
@media (max-width: 900px) {
  .africa { opacity: 0.5; right: -120px; width: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .africa__glow { display: none; }
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 600; color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
  padding: 8px 18px; border-radius: 999px; margin-bottom: 28px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.hero__title {
  font-size: clamp(2.6rem, 7.5vw, 5.2rem);
  font-weight: 800; letter-spacing: -0.02em;
  display: flex; flex-direction: column; gap: 0.05em;
}
.hero__title-accent {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  min-height: 1.2em;
}
.hero__sub {
  margin: 28px auto 40px; max-width: 620px;
  font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-dim);
}
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 14px;
}
.hero__scroll span {
  position: absolute; top: 7px; left: 50%; width: 4px; height: 8px;
  margin-left: -2px; border-radius: 4px; background: var(--green);
  animation: scrollhint 1.8s infinite var(--ease);
}
@keyframes scrollhint {
  0% { transform: translateY(0); opacity: 1; }
  75% { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============ TICKER ============ */
.ticker {
  overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 16px 0; background: var(--surface);
}
.ticker__track {
  display: flex; gap: 34px; width: max-content;
  animation: ticker 28s linear infinite;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: var(--text-dim); white-space: nowrap;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding: clamp(80px, 12vw, 140px) 24px; position: relative; }
.section--alt { background: var(--bg-alt); }
.section__inner { max-width: 1120px; margin: 0 auto; }
.section__eyebrow {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--green); margin-bottom: 16px;
  text-align: center;
}
.section__title {
  font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800;
  letter-spacing: -0.015em; margin-bottom: 20px; max-width: 850px;
  text-align: center; margin-left: auto; margin-right: auto;
}
.section__lead {
  color: var(--text-dim); font-size: 1.12rem; max-width: 640px; margin-bottom: 48px;
  text-align: center; margin-left: auto; margin-right: auto;
}
.section__lead strong { color: var(--text); }

.imd-badge {
  display: flex; align-items: center; gap: 10px;
  width: max-content; max-width: 100%;
  font-size: 0.92rem; font-weight: 600; color: var(--gold);
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.07);
  padding: 10px 20px; border-radius: 999px;
  margin: -20px auto 20px;
}
.imd-badge__icon { font-size: 1.15rem; }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad); z-index: 200;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.6);
}

/* ============ CARDS ============ */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 30px;
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.card:hover { border-color: rgba(52, 211, 153, 0.4); background: var(--surface-hover); }
.card__icon { font-size: 2.2rem; margin-bottom: 18px; }
.card--center { text-align: center; }
.card--center .card__icon { font-size: 3rem; }
.card__icon--float { display: inline-block; animation: iconFloat 3.2s ease-in-out infinite; }
.mission__grid .card:nth-child(2) .card__icon--float { animation-delay: 0.6s; }
.mission__grid .card:nth-child(3) .card__icon--float { animation-delay: 1.2s; }
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.card__stat {
  font-family: var(--font-display); font-weight: 800;
  font-size: 3.4rem; line-height: 1.1; margin-bottom: 10px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: statPulse 3.2s ease-in-out infinite;
}
@keyframes statPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

/* Animated tech vignettes */
.vig { width: 100%; max-width: 210px; height: 116px; margin: 0 auto 14px; overflow: visible; }
.vig__fill {
  transform-box: fill-box; transform-origin: bottom;
  animation: vigFill 4s ease-in-out infinite;
}
@keyframes vigFill {
  0%, 100% { transform: scaleY(0.18); }
  55%, 75% { transform: scaleY(0.92); }
}
.vig__wave { opacity: 0; animation: vigWave 4s ease-out infinite; }
.vig__wave--2 { animation-delay: 0.25s; }
@keyframes vigWave {
  0%, 50% { opacity: 0; }
  62% { opacity: 1; }
  85%, 100% { opacity: 0; }
}
.vig__route { animation: vigDash 1.4s linear infinite; }
@keyframes vigDash { to { stroke-dashoffset: -16; } }
.vig__ai-thresh {
  fill: rgba(251, 191, 36, 0.7); font-size: 10px; font-weight: 600;
  font-family: var(--font-body);
}
.vig__ai-future { animation: vigDash 1.2s linear infinite; }
.vig__ai-dot {
  transform-box: fill-box; transform-origin: center;
  animation: aiDot 2s ease-in-out infinite;
}
@keyframes aiDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}
.vig__ai-label {
  fill: var(--gold); font-size: 12px; font-weight: 700;
  font-family: var(--font-body);
  animation: aiLabel 2s ease-in-out infinite;
}
@keyframes aiLabel {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
html[data-theme="day"] .vig [stroke="rgba(255,255,255,0.22)"] { stroke: rgba(10, 40, 25, 0.28); }
.vig__row { opacity: 0; animation: vigRow 4.5s ease-out infinite; }
.vig__row--2 { animation-delay: 0.9s; }
.vig__row--3 { animation-delay: 1.8s; }
@keyframes vigRow {
  0% { opacity: 0; transform: translateX(-8px); }
  12%, 82% { opacity: 1; transform: translateX(0); }
  95%, 100% { opacity: 0; }
}
.card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 0.98rem; }
.mission__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px; margin-top: 50px;
}

/* ============ REALITY PHOTO MARQUEE ============ */
.reality { margin-top: 80px; }
.reality__title {
  font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800;
  letter-spacing: -0.01em; margin-bottom: 14px; text-align: center;
}
.photo-marquee {
  overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.photo-marquee__track {
  display: flex; gap: 20px; width: max-content;
  padding: 4px 0;
  animation: photoSlide 40s linear infinite;
}
.photo-marquee:hover .photo-marquee__track { animation-play-state: paused; }
@keyframes photoSlide { to { transform: translateX(calc(-50% - 10px)); } }
.photo-card {
  position: relative; margin: 0; flex-shrink: 0;
  width: min(420px, 78vw); height: 250px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
}
.photo-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.85);
  transition: transform 0.6s var(--ease), filter 0.4s;
}
.photo-card:hover img { transform: scale(1.05); filter: saturate(1); }
.photo-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 18px 14px;
  background: linear-gradient(to top, rgba(7, 16, 12, 0.92), transparent);
  font-size: 0.9rem; font-weight: 600; color: var(--text);
}

/* ============ JOURNEY ============ */
.journey { position: relative; margin-top: 60px; }
.journey__line {
  position: absolute; top: 66px; left: 6%; right: 6%; height: 3px;
  background: var(--border); border-radius: 3px; z-index: 0;
}
.journey__line-fill {
  height: 100%; width: 0%; border-radius: 3px;
  background: var(--grad);
  transition: width 0.6s var(--ease);
}
.journey__steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  position: relative; z-index: 1; margin-bottom: 36px;
}
.journey__step {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 6px; border-radius: 16px;
  transition: transform 0.35s var(--ease);
}
.journey__step:hover { transform: translateY(-5px); }
.journey__num { font-size: 0.75rem; font-weight: 700; color: var(--text-dim); letter-spacing: 0.1em; }
.journey__emoji {
  font-size: 1.7rem; width: 64px; height: 64px;
  display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--border); border-radius: 50%;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.35s var(--ease);
}
.journey__step.is-active .journey__emoji {
  border-color: var(--green);
  box-shadow: 0 0 26px rgba(52, 211, 153, 0.4);
  transform: scale(1.12);
}
.journey__label { font-weight: 600; font-size: 0.95rem; }
.journey__step.is-active .journey__label { color: var(--green); }
.journey__detail { max-width: 720px; margin: 0 auto; text-align: center; min-height: 168px; }
.journey__detail h3 { font-size: 1.35rem; margin-bottom: 10px; }
.journey__detail.is-switching { animation: detailIn 0.45s var(--ease); }
@keyframes detailIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ ROUTE MAP ============ */
.map-block { margin-top: 90px; }
.map-block__title {
  font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800;
  letter-spacing: -0.01em; margin-bottom: 14px; text-align: center;
}
.map-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px;
}
.citymap { width: 100%; height: auto; display: block; }
.map-chips {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.map-chip {
  font-size: 0.82rem; font-weight: 500; color: var(--text-dim);
  background: rgba(7, 16, 12, 0.85); border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.map-chip strong { color: var(--green); font-weight: 700; }
.map-chip--ai {
  color: var(--gold); font-weight: 600;
  border-color: rgba(251, 191, 36, 0.35);
  transition: opacity 0.35s;
}
.map-chip--ai.is-swapping { opacity: 0; }

.citymap__buildings rect { fill: rgba(255, 255, 255, 0.045); stroke: var(--border); }
.citymap__windows rect { fill: rgba(52, 211, 153, 0.14); }
.citymap__trees circle { fill: rgba(52, 211, 153, 0.22); }
.citymap__road {
  fill: none; stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 30; stroke-linejoin: round;
}
.citymap__centerline {
  fill: none; stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 2; stroke-dasharray: 8 10; stroke-linejoin: round;
}
.citymap__trail {
  fill: none; stroke: rgba(52, 211, 153, 0.55);
  stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 0 99999;
  filter: drop-shadow(0 0 5px rgba(52, 211, 153, 0.6));
}
.citymap__depot rect { fill: rgba(251, 191, 36, 0.12); stroke: rgba(251, 191, 36, 0.5); }
.citymap__depot path { fill: none; stroke: rgba(251, 191, 36, 0.5); stroke-width: 2; stroke-linejoin: round; }
.citymap__depot text {
  fill: var(--gold); font-size: 9px; font-weight: 700;
  letter-spacing: 0.14em; font-family: var(--font-body);
}

.bin__shadow { fill: rgba(0, 0, 0, 0.35); }
.bin__body { fill: rgba(251, 191, 36, 0.85); transition: fill 0.4s; }
.bin__lid { fill: #d97706; transition: fill 0.4s, transform 0.4s var(--ease); transform-box: fill-box; transform-origin: center; }
.bin__trash { fill: #f87171; transition: opacity 0.3s, transform 0.3s; transform-box: fill-box; transform-origin: center; }
.bin__check {
  fill: none; stroke: var(--green); stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transform: scale(0); transform-box: fill-box; transform-origin: center;
  transition: opacity 0.3s, transform 0.45s cubic-bezier(0.34, 1.6, 0.64, 1);
}
.bin.is-collected .bin__body { fill: rgba(52, 211, 153, 0.28); }
.bin.is-collected .bin__lid { fill: rgba(52, 211, 153, 0.55); }
.bin.is-collected .bin__trash { opacity: 0; transform: translateY(-6px) scale(0.4); }
.bin.is-collected .bin__check { opacity: 1; transform: scale(1); }

.truck__box { fill: #10b981; }
.truck__logo { fill: #06130c; font-size: 11px; font-weight: 700; }
.truck__cab { fill: var(--gold); }
.truck__window { fill: #0a1710; }
.truck__wheel { fill: #10100e; stroke: #3d3d38; }
.truck__hub { fill: #8b8b83; }

.float-label {
  fill: var(--green); font-size: 14px; font-weight: 700;
  font-family: var(--font-body); text-anchor: middle;
  animation: floatUp 1s ease-out forwards; pointer-events: none;
}
@keyframes floatUp {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-26px); }
}

.tech-hero {
  margin: 22px 0 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
}
.tech-hero img { width: 100%; display: block; }
.tech-hero figcaption {
  padding: 14px 18px; font-size: 0.88rem; color: var(--text-dim);
  text-align: center;
}

/* ============ STATS ============ */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px; margin-top: 50px;
}
.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 28px;
  transition: border-color 0.3s;
}
.stat:hover { border-color: rgba(251, 191, 36, 0.45); }
.stat__value {
  font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
}
.stat__label { color: var(--text-dim); font-size: 0.95rem; }
.stat__src {
  margin-top: 14px; padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.76rem; color: var(--text-dim); opacity: 0.85;
}
.stat__src a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.stat__src a:hover { color: var(--gold); }

/* ============ PARTNERS ============ */
#partners .section__inner { text-align: center; }
#partners .section__title { margin-left: auto; margin-right: auto; }
.partners {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 18px; margin-top: 50px;
}
.partner { width: min(260px, 100%); }
.partner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px; padding: 34px 22px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.partner:hover {
  transform: translateY(-5px);
  border-color: rgba(52, 211, 153, 0.4);
  background: var(--surface-hover);
}
.partner__logo { margin-bottom: 16px; display: grid; place-items: center; }
.partner__logo svg { transition: transform 0.4s var(--ease); }
.partner:hover .partner__logo svg { transform: scale(1.08); }
.partner__url {
  margin-top: 8px; font-size: 0.82rem; font-weight: 600;
  color: var(--green); text-decoration: underline; text-underline-offset: 3px;
}
.partner:hover .partner__url { color: var(--gold); }
.partner__logo--dingtek { color: #2dd4bf; }
.partner__logo--aws { color: #ff9900; }
.partner__logo--imd { color: #2563eb; }
.partner__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.partner__role { color: var(--text-dim); font-size: 0.85rem; }

/* ============ TEAM ============ */
.team {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 22px; margin-top: 50px;
}
.team .member { width: calc((100% - 44px) / 3); min-width: 250px; }
.member {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 26px;
  transition: transform 0.45s var(--ease), border-color 0.3s, background 0.3s;
  cursor: pointer; position: relative; overflow: hidden;
}
.member::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(52, 211, 153, 0.10), transparent 60%);
  opacity: 0; transition: opacity 0.35s;
}
.member:hover::before, .member:focus::before { opacity: 1; }
.member:hover, .member:focus {
  transform: translateY(-6px);
  border-color: rgba(52, 211, 153, 0.45);
  outline: none;
}
.member__avatar {
  width: 68px; height: 68px; border-radius: 20px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  color: #06130c; background: var(--grad, linear-gradient(135deg, #34d399, #fbbf24));
  background: var(--grad);
  margin-bottom: 18px;
  transition: transform 0.4s var(--ease);
}
.member:hover .member__avatar { transform: scale(1.08) rotate(-4deg); }
.member__photo {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 16px; margin-bottom: 18px; display: block;
  border: 1px solid var(--border);
  transition: transform 0.45s var(--ease), border-color 0.3s;
}
.member:hover .member__photo, .member:focus .member__photo {
  transform: scale(1.03);
  border-color: rgba(52, 211, 153, 0.45);
}
.member__name { font-size: 1.18rem; margin-bottom: 4px; }
.member__linkedin, .advisor__linkedin {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease);
}
.member__linkedin:hover, .advisor__linkedin:hover {
  background: #0a66c2; border-color: #0a66c2; color: #fff;
  transform: scale(1.08);
}
.member__linkedin { position: absolute; top: 26px; right: 20px; z-index: 2; }
.advisor__linkedin { margin-left: auto; flex-shrink: 0; }
.member__role { color: var(--green); font-weight: 600; font-size: 0.88rem; margin-bottom: 4px; }
.member__more {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.55s var(--ease), opacity 0.4s 0.08s, margin-top 0.4s;
}
.member:hover .member__more, .member:focus .member__more, .member.is-open .member__more {
  max-height: 300px; opacity: 1; margin-top: 12px;
}
.member__more p { color: var(--text-dim); font-size: 0.92rem; }
.member__more strong { color: var(--text); }
.member__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.member__tags span {
  font-size: 0.75rem; font-weight: 600; padding: 5px 11px;
  border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03); color: var(--text-dim);
}

/* ============ ADVISORS ============ */
.team__subheading {
  font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800;
  letter-spacing: -0.01em; margin: 70px 0 14px; text-align: center;
}
.advisors {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.advisor {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px;
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.advisor:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.45);
  background: var(--surface-hover);
}
.advisor__avatar {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  color: var(--gold);
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.08);
}
.advisor__photo {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px;
  object-fit: cover;
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  transition: transform 0.4s var(--ease);
}
.advisor:hover .advisor__photo { transform: scale(1.08); }
.advisor__name { font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 2px; }
.advisor__role { color: var(--text-dim); font-size: 0.85rem; line-height: 1.4; }

/* ============ CTA + FOOTER ============ */
.cta__inner { text-align: center; }
.cta .section__lead { margin-left: auto; margin-right: auto; }
.footer {
  border-top: 1px solid var(--border);
  text-align: center; padding: 34px 24px;
  color: var(--text-dim); font-size: 0.9rem;
}
.footer strong { color: var(--green); }

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1020px) {
  .nav__links {
    position: fixed; inset: 0; top: 62px;
    background: rgba(7, 16, 12, 0.97);
    flex-direction: column; justify-content: center; gap: 34px;
    font-size: 1.3rem;
    transform: translateX(100%); transition: transform 0.4s var(--ease);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__burger { display: flex; z-index: 101; }
}
@media (max-width: 768px) {
  .journey__steps { grid-template-columns: repeat(5, 1fr); }
  .journey__emoji { width: 48px; height: 48px; font-size: 1.25rem; }
  .journey__label { font-size: 0.72rem; }
  .journey__num { display: none; }
  .journey__line { top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ DAY MODE ============ */
html[data-theme="day"] {
  --bg: #f3f7f4;
  --bg-alt: #e9f1ec;
  --surface: rgba(10, 40, 25, 0.04);
  --surface-hover: rgba(10, 40, 25, 0.08);
  --border: rgba(10, 40, 25, 0.13);
  --text: #13221a;
  --text-dim: #4d6357;
  --green: #059669;
  --gold: #d97706;
  --grad: linear-gradient(100deg, #059669, #d97706);
}
html[data-theme="day"] body { background: var(--bg); }
html[data-theme="day"] .nav.is-scrolled { background: rgba(243, 247, 244, 0.85); }
html[data-theme="day"] .cursor-glow { background: radial-gradient(circle, rgba(5, 150, 105, 0.08), transparent 65%); }
html[data-theme="day"] .hero__eyebrow {
  border-color: rgba(5, 150, 105, 0.4);
  background: rgba(5, 150, 105, 0.08);
}
html[data-theme="day"] .africa__outline {
  fill: rgba(5, 150, 105, 0.05);
  stroke: rgba(10, 40, 25, 0.16);
}
html[data-theme="day"] .map-chip { background: rgba(255, 255, 255, 0.88); }
html[data-theme="day"] .citymap__buildings rect { fill: rgba(10, 40, 25, 0.06); stroke: rgba(10, 40, 25, 0.12); }
html[data-theme="day"] .citymap__windows rect { fill: rgba(5, 150, 105, 0.22); }
html[data-theme="day"] .citymap__trees circle { fill: rgba(5, 150, 105, 0.3); }
html[data-theme="day"] .citymap__road { stroke: rgba(10, 40, 25, 0.08); }
html[data-theme="day"] .citymap__centerline { stroke: rgba(10, 40, 25, 0.2); }
html[data-theme="day"] .bin__shadow { fill: rgba(10, 40, 25, 0.18); }
html[data-theme="day"] .vig [stroke="rgba(255,255,255,0.25)"] { stroke: rgba(10, 40, 25, 0.32); }
html[data-theme="day"] .vig [fill="rgba(255,255,255,0.18)"] { fill: rgba(10, 40, 25, 0.18); }
html[data-theme="day"] .vig [stroke="rgba(255,255,255,0.22)"] { stroke: rgba(10, 40, 25, 0.28); }
html[data-theme="day"] .member__tags span { background: rgba(10, 40, 25, 0.04); }
html[data-theme="day"] .member__linkedin,
html[data-theme="day"] .advisor__linkedin { background: rgba(10, 40, 25, 0.05); }
html[data-theme="day"] .nav__links a.btn--small { color: #fff; }
html[data-theme="day"] .btn--primary { color: #fff; }
@media (max-width: 1020px) {
  html[data-theme="day"] .nav__links { background: rgba(243, 247, 244, 0.97); }
}
