/* ════════════════════════════════════════════════
   Cormorant Garamond (display) + DM Sans (body)
   Design system: dark, restrained, cinematic
   ════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────── */
:root {
  /* Colours */
  --ink:        #080a10;
  --ink-2:      #0d1020;
  --ink-3:      #121526;
  --surface:    rgba(255,255,255,0.042);
  --surface-2:  rgba(255,255,255,0.07);
  --border:     rgba(255,255,255,0.075);
  --border-2:   rgba(255,255,255,0.13);

  --sky:        #38bdf8;
  --sky-dim:    rgba(56,189,248,0.10);
  --sky-glow:   rgba(56,189,248,0.22);
  --sky-deep:   rgba(56,189,248,0.05);
  --flame:      #f97316;
  --gold:       #fbbf24;

  --text:       #eef2f8;
  --text-2:     rgba(238,242,248,0.55);
  --text-3:     rgba(238,242,248,0.28);

  /* Fonts */
  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;

  /* Easing */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:    cubic-bezier(0.55, 0, 0.8, 0.2);
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);

  /* Misc */
  --r:       8px;
  --r-lg:    16px;
  --r-xl:    24px;
  --max:     1180px;
  --nav-h:   72px;
}

/* ─── RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--ink);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
body.is-loading { overflow: hidden; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
input, textarea, select { font-family: var(--ff-body); }
code { font-family: monospace; font-size: 0.85em; color: var(--sky); }

/* ─── GRAIN OVERLAY ──────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ─── PAGE PROGRESS ──────────────────────────── */
.page-progress {
  position: fixed; top: 0; left: 0; z-index: 1500;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--sky), #7dd3fc);
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ─── CUSTOM CURSOR ──────────────────────────── */
#cursor-dot {
  position: fixed; width: 7px; height: 7px;
  background: var(--sky); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .3s var(--ease-out), height .3s var(--ease-out), background .3s, opacity .3s;
  mix-blend-mode: screen;
  will-change: transform;
}
#cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(56,189,248,.4);
  border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: all .5s var(--ease-out), opacity .3s;
  will-change: transform;
}
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring,
body:has(.svc-card:hover) #cursor-ring { transform: translate(-50%,-50%) scale(2); border-color: rgba(56,189,248,.15); }
@media (hover: none) { #cursor-dot, #cursor-ring { display: none; } }

/* ─── MUSIC PLAYER ───────────────────────────── */
.music-player {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 900;
}
.mp-btn {
  width: 44px; height: 44px;
  background: var(--ink-3);
  border: 1px solid var(--border-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  transition: background .3s, color .3s, border-color .3s, transform .2s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.mp-btn:hover { background: var(--surface-2); color: var(--sky); border-color: var(--sky); transform: scale(1.08); }
.mp-icon { width: 16px; height: 16px; position: relative; z-index: 1; }
.mp-waves {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 2px;
  opacity: 0; transition: opacity .3s;
}
.mp-btn.playing .mp-icon--play { display: none !important; }
.mp-btn.playing .mp-icon--pause { display: block !important; }
.mp-btn.playing .mp-waves { opacity: 0.3; }
.mp-waves i {
  display: block; width: 2px;
  background: var(--sky);
  border-radius: 2px;
  animation: wave 1s ease-in-out infinite;
}
.mp-waves i:nth-child(1) { height: 6px; animation-delay: 0s; }
.mp-waves i:nth-child(2) { height: 12px; animation-delay: .1s; }
.mp-waves i:nth-child(3) { height: 18px; animation-delay: .2s; }
.mp-waves i:nth-child(4) { height: 12px; animation-delay: .3s; }
.mp-waves i:nth-child(5) { height: 6px; animation-delay: .4s; }
@keyframes wave {
  0%,100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

/* ─── LOADER ──────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.9s var(--ease-in), visibility 0.9s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-body);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 800; letter-spacing: 0.24em;
  color: var(--text); margin-bottom: 2.4rem;
  gap: 0;
}
.loader-logo span {
  display: inline-block;
  opacity: 0; transform: translateY(30px);
  animation: ll-rise 0.6s var(--ease-out) forwards;
}
.loader-logo span:nth-child(1) { animation-delay: 0.08s; }
.loader-logo span:nth-child(2) { animation-delay: 0.16s; }
.loader-logo span:nth-child(3) { animation-delay: 0.24s; }
.loader-logo span:nth-child(4) { animation-delay: 0.32s; }
.loader-logo span.accent { color: var(--sky); animation-delay: 0.40s; }
@keyframes ll-rise { to { opacity: 1; transform: none; } }
.loader-bar-wrap {
  width: 220px; height: 1px;
  background: var(--border-2); margin: 0 auto 1rem; overflow: hidden;
}
.loader-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--sky), #93c5fd);
  transition: width .2s var(--ease-out);
}
.loader-status {
  font-size: 0.68rem; letter-spacing: 0.22em;
  color: var(--text-3); text-transform: uppercase;
}

/* ─── NAVIGATION ─────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  transition: background .5s var(--ease), border-color .5s, height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,10,16,0.82);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-color: var(--border);
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: var(--ff-body); font-weight: 800;
  font-size: 0.85rem; letter-spacing: 0.16em;
  color: var(--text); flex-shrink: 0;
  transition: color .25s;
}
.nav-logo:hover { color: var(--sky); }
.logo-mark { width: 22px; height: 22px; color: var(--sky); flex-shrink: 0; }
.logo-text em { color: var(--sky); font-style: normal; }
.nav-center {
  display: flex; align-items: center; gap: 2rem;
}
.nav-item {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.03em;
  color: var(--text-2);
  transition: color .25s;
  position: relative;
}
.nav-item::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--sky);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav-item:hover { color: var(--text); }
.nav-item:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 1.2rem; flex-shrink: 0; }
.nav-social {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); transition: color .25s, transform .25s var(--ease-out);
}
.nav-social svg { width: 17px; height: 17px; }
.nav-social:hover { color: var(--sky); transform: scale(1.15); }
.nav-cta {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  color: var(--text);
  transition: background .25s, border-color .25s, color .25s;
}
.nav-cta:hover { background: var(--sky); border-color: var(--sky); color: var(--ink); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; cursor: pointer; z-index: 810;
}
.hb-bar {
  display: block; width: 22px; height: 1.5px;
  background: var(--text-2); border-radius: 2px;
  transition: transform .4s var(--ease-out), opacity .3s, background .25s;
}
.hamburger[aria-expanded="true"] .hb-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--text); }
.hamburger[aria-expanded="true"] .hb-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] .hb-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--text); }

/* ─── MOBILE MENU ────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 799;
  background: rgba(8,10,16,0.97);
  backdrop-filter: blur(32px);
  display: flex; align-items: center; justify-content: center;
  transform: translateX(100%);
  transition: transform .55s var(--ease-out);
  pointer-events: none;
}
.mobile-menu.open {
  transform: none;
  pointer-events: auto;
}
.mm-inner {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0; padding: 2rem; width: 100%;
  max-width: 400px; text-align: center;
}
.mm-nav {
  display: flex; flex-direction: column; gap: 0.25rem;
  width: 100%; margin-bottom: 3rem;
}
.mm-link {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 600; color: var(--text-2);
  padding: 0.4rem 1rem;
  transition: color .25s;
  display: block;
}
.mm-link:hover { color: var(--text); }
.mm-footer {
  display: flex; flex-direction: column; gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem; width: 100%;
}
.mm-social { font-size: 0.8rem; color: var(--text-3); transition: color .25s; }
.mm-social:hover { color: var(--sky); }

/* ─── HERO ───────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 4rem) 2rem 2rem;
  overflow: hidden; text-align: center;
}
#cosmos {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
  will-change: transform;
}
.orb-a { width: 700px; height: 700px; top: -200px; left: -200px; background: radial-gradient(circle, rgba(56,189,248,0.065), transparent 70%); animation: orb-move-a 20s ease-in-out infinite; transform: translate(var(--mx, 0px), var(--my, 0px)); }
.orb-b { width: 500px; height: 500px; bottom: -150px; right: -100px; background: radial-gradient(circle, rgba(56,189,248,0.05), transparent 70%); animation: orb-move-b 25s ease-in-out infinite; transform: translate(var(--mx, 0px), var(--my, 0px)); }
.orb-c { width: 350px; height: 350px; top: 55%; left: 58%; background: radial-gradient(circle, rgba(249,115,22,0.04), transparent 70%); animation: orb-move-c 16s ease-in-out infinite; transform: translate(var(--mx, 0px), var(--my, 0px)); }
@keyframes orb-move-a { 0%,100%{transform:translate(0,0)} 40%{transform:translate(60px,80px)} 70%{transform:translate(-40px,40px)} }
@keyframes orb-move-b { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-60px,-50px)} }
@keyframes orb-move-c { 0%,100%{transform:translate(-50%,-50%) scale(1)} 50%{transform:translate(-50%,-50%) scale(1.3)} }

.hero-content { position: relative; z-index: 2; max-width: 860px; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em;
  color: var(--sky);
  border: 1px solid rgba(56,189,248,0.25);
  padding: 0.42rem 1rem; border-radius: 100px;
  background: rgba(56,189,248,0.05);
  backdrop-filter: blur(8px);
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}
.pill-pulse {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--sky); box-shadow: 0 0 6px var(--sky);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }

.hero-h1 {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 9.5vw, 8rem);
  font-weight: 700; line-height: 1.0; letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.hero-h1 .line { display: block; overflow: hidden; }
.hero-h1 em { font-style: italic; font-weight: 600; color: var(--text-2); }
.italic-serif { font-style: italic; }

/* Shimmer sweep */
.shimmer-text {
  background: linear-gradient(110deg, var(--text) 35%, var(--sky) 50%, #93c5fd 58%, var(--text) 70%);
  background-size: 240% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-sweep 6s linear infinite;
}
@keyframes shimmer-sweep { from{background-position:200% center} to{background-position:-200% center} }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-2); line-height: 1.8;
  max-width: 540px; margin: 0 auto 3rem;
}
.d-br { display: block; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 5rem; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 0.9rem 2rem; border-radius: 100px;
  background: var(--sky); color: var(--ink);
  transition: transform .3s var(--ease-out), box-shadow .3s, background .25s;
  box-shadow: 0 0 0 0 rgba(56,189,248,.4);
  animation: glow-btn 4s ease-in-out infinite;
  position: relative; overflow: hidden;
}
.btn-primary svg { width: 16px; transition: transform .3s var(--ease-out); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(56,189,248,.35); animation: none; }
.btn-primary:hover svg { transform: translateX(4px); }
@keyframes glow-btn { 0%,100%{box-shadow:0 0 0 0 rgba(56,189,248,.4)} 50%{box-shadow:0 0 0 10px rgba(56,189,248,0)} }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em;
  padding: 0.9rem 1.8rem; border-radius: 100px;
  border: 1px solid var(--border-2);
  background: var(--surface); color: var(--text-2);
  backdrop-filter: blur(8px);
  transition: all .3s var(--ease-out);
}
.btn-outline:hover { border-color: rgba(255,255,255,.25); color: var(--text); transform: translateY(-2px); }

/* Hero stats glass bar */
.hero-stats {
  position: relative; z-index: 2;
  display: flex; width: 100%; max-width: 640px;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.hs-item {
  flex: 1; padding: 1.4rem 1rem;
  text-align: center;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.hs-item strong {
  font-family: var(--ff-body);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--sky); display: block;
}
.hs-item span { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.12em; color: var(--text-3); text-transform: uppercase; }
.hs-div { width: 1px; background: var(--border); align-self: stretch; }

/* Scroll hint */
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  z-index: 2; animation: bob 3.5s ease-in-out infinite;
}
.hs-line { width: 1px; height: 44px; background: var(--border-2); overflow: hidden; border-radius: 1px; }
.hs-dot {
  width: 100%; height: 50%;
  background: linear-gradient(to bottom, var(--sky), transparent);
  animation: scroll-slide 2.8s ease-in-out infinite;
}
@keyframes scroll-slide { 0%{transform:translateY(-100%)} 100%{transform:translateY(200%)} }
@keyframes bob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(7px)} }
.hero-scroll span { font-size: 0.58rem; letter-spacing: 0.22em; color: var(--text-3); text-transform: uppercase; }

/* ─── MARQUEE ─────────────────────────────────── */
.marquee-band {
  overflow: hidden; padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--ink-2); position: relative; z-index: 2;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-track {
  display: inline-flex; gap: 2rem; align-items: center;
  white-space: nowrap; animation: marquee-roll 30s linear infinite;
}
.marquee-track span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; color: var(--text-3); text-transform: uppercase; }
.marquee-track .sep { color: var(--sky); font-size: 0.55rem; opacity: 0.5; }
.marquee-band:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-roll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ─── LAYOUT HELPERS ─────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.section { padding: 9rem 0; }
.tc { text-align: center; }

/* Typography */
.eyebrow {
  display: block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; color: var(--sky);
  text-transform: uppercase; margin-bottom: 1.2rem;
}
h2 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 3.5rem;
}
h2 em { font-style: italic; color: var(--text-2); }
.body-text { font-size: 0.97rem; color: var(--text-2); line-height: 1.82; margin-bottom: 1.2rem; }
.section-sub { font-size: 1rem; color: var(--text-2); line-height: 1.75; max-width: 580px; margin: 0 auto 4rem; }

/* Reveal animation */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ─── ABOUT ───────────────────────────────────── */
.about { background: var(--ink-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-left h2 { margin-bottom: 1.5rem; }
.about-chips { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 2rem; }
.about-chips span {
  font-size: 0.67rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--sky); border: 1px solid rgba(56,189,248,.2);
  padding: 0.28rem 0.85rem; border-radius: 100px;
  background: rgba(56,189,248,.05); text-transform: uppercase;
}
.about-right { display: flex; align-items: center; justify-content: center; }

/* ─── ORBITAL RING SYSTEM ────────────────────── */
.orbital-system {
  position: relative; width: 380px; height: 380px;
  perspective: 900px;
}

/* 3D tilt container — animated via JS */
.os-core {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 86px; height: 86px;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}
.os-glow {
  position: absolute; inset: -28px;
  background: radial-gradient(circle, rgba(56,189,248,.28) 0%, transparent 65%);
  border-radius: 50%;
  animation: core-breathe 4s ease-in-out infinite;
}
.os-inner {
  position: relative; z-index: 1;
  width: 86px; height: 86px;
  background: radial-gradient(135deg, rgba(56,189,248,.15), rgba(56,189,248,.04));
  border: 1px solid rgba(56,189,248,.45);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(56,189,248,.18), inset 0 0 20px rgba(56,189,248,.07);
}
.os-inner span {
  font-family: var(--ff-body); font-size: 0.55rem;
  font-weight: 800; letter-spacing: 0.2em; color: var(--sky);
}
@keyframes core-breathe {
  0%,100%{transform:scale(1); opacity:.7}
  50%{transform:scale(1.35); opacity:1}
}

.os-ring {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid transparent;
  transform: translate(-50%,-50%);
  transform-style: preserve-3d;
}
.ring-1 {
  width: 100%; height: 100%;
  border-color: rgba(56,189,248,.18);
  box-shadow: 0 0 18px rgba(56,189,248,.08);
  animation: ring-spin-1 24s linear infinite;
}
.ring-2 {
  width: 70%; height: 70%;
  border-color: rgba(56,189,248,.24);
  box-shadow: 0 0 14px rgba(56,189,248,.1);
  animation: ring-spin-2 16s linear infinite;
}
.ring-3 {
  width: 42%; height: 42%;
  border-color: rgba(56,189,248,.32);
  box-shadow: 0 0 10px rgba(56,189,248,.14);
  animation: ring-spin-3 10s linear infinite;
}
/* The 3D tilt makes rings feel like orbital planes */
@keyframes ring-spin-1 { from{transform:translate(-50%,-50%) rotateX(65deg) rotateZ(0deg)} to{transform:translate(-50%,-50%) rotateX(65deg) rotateZ(360deg)} }
@keyframes ring-spin-2 { from{transform:translate(-50%,-50%) rotateX(55deg) rotateZ(0deg)} to{transform:translate(-50%,-50%) rotateX(55deg) rotateZ(-360deg)} }
@keyframes ring-spin-3 { from{transform:translate(-50%,-50%) rotateX(70deg) rotateZ(0deg)} to{transform:translate(-50%,-50%) rotateX(70deg) rotateZ(360deg)} }

.os-planet {
  position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
}
.p1 { width: 12px; height: 12px; background: var(--sky); box-shadow: 0 0 16px var(--sky), 0 0 6px #fff; }
.p2 { width: 9px; height: 9px; background: #7dd3fc; box-shadow: 0 0 12px #7dd3fc; }
.p3 { width: 7px; height: 7px; background: var(--flame); box-shadow: 0 0 10px var(--flame); }

/* Grid crosshair */
.os-cross { position: absolute; inset: 0; opacity: 0.12; pointer-events: none; }
.os-cross div:first-child { position: absolute; left: 5%; right: 5%; top: 50%; height: 1px; background: var(--border-2); }
.os-cross div:last-child  { position: absolute; top: 5%; bottom: 5%; left: 50%; width: 1px; background: var(--border-2); }

/* Radar sweep */
.os-radar {
  position: absolute; top: 50%; left: 50%;
  width: 190px; height: 190px;
  transform-origin: 0 0;
  background: conic-gradient(from 0deg, rgba(56,189,248,0) 300deg, rgba(56,189,248,.22) 360deg);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  animation: radar-sweep 6s linear infinite;
  pointer-events: none; opacity: 0.45;
}
@keyframes radar-sweep { from{transform:translate(-50%,-50%) rotate(0deg)} to{transform:translate(-50%,-50%) rotate(360deg)} }

/* ─── MISSION ─────────────────────────────────── */
.mission { background: var(--ink); }
.mv-cards {
  display: grid; grid-template-columns: 1fr 1.3fr 1fr;
  gap: 1px; background: var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}
.mv-card {
  background: var(--ink); padding: 3rem 2.2rem;
  position: relative;
  transition: background .4s var(--ease);
}
.mv-card:hover { background: var(--ink-2); }
.mvc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.8rem; }
.mvc-icon { width: 38px; height: 38px; color: var(--sky); opacity: 0.72; transition: opacity .3s; }
.mv-card:hover .mvc-icon { opacity: 1; }
.mvc-tag { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; color: var(--text-3); text-transform: uppercase; }
.mv-card h3 { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 700; line-height: 1.3; color: var(--text); margin-bottom: 1rem; }
.mv-card p { font-size: 0.88rem; color: var(--text-2); line-height: 1.8; }
.mv-card--featured { background: var(--ink-2); border-top: 2px solid var(--sky); }
.mv-card--featured:hover { background: var(--ink-3); }
.mv-card--featured h3 mark { background: none; color: var(--sky); font-style: italic; }
.mvc-glow {
  position: absolute; inset: -1px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(56,189,248,.06) 0%, transparent 60%);
}

/* ─── PROBLEM ─────────────────────────────────── */
.problem { background: var(--ink-2); }
.crisis-stats {
  display: flex; align-items: center; gap: 2rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2.5rem; margin-bottom: 5rem;
}
.cs-item { flex: 1; }
.cs-num {
  font-family: var(--ff-body); font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800; letter-spacing: -0.05em; color: var(--sky);
  line-height: 1; margin-bottom: 0.6rem;
  display: flex; align-items: baseline; gap: 0.05em;
}
.cs-num span { font-size: .55em; font-weight: 700; }
.cs-num.warn { color: var(--flame); }
.cs-num.warn2 { color: var(--gold); }
.cs-item strong { display: block; font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: .2rem; }
.cs-item p { font-size: .8rem; color: var(--text-3); }
.cs-arrow { font-size: 1.5rem; color: var(--text-3); opacity: .4; flex-shrink: 0; }

.solution-block { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.sol-text .eyebrow { margin-bottom: .8rem; }
.sol-text h3 { font-family: var(--ff-display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.2; color: var(--text); margin-bottom: 1.2rem; }
.sol-text h3 em { font-style: italic; color: var(--sky); }
.sol-text p { font-size: .93rem; color: var(--text-2); line-height: 1.82; margin-bottom: 1.8rem; }
.sol-list { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.sol-list li { display: flex; align-items: center; gap: .7rem; font-size: .9rem; color: var(--text-2); }
.sol-list li svg { width: 16px; flex-shrink: 0; color: var(--sky); }

.pipeline {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}
.pip-step {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.4rem 1.8rem;
  border-bottom: 1px solid var(--border);
  transition: background .3s; opacity: 0;
}
.pip-step:last-child { border-bottom: none; }
.pip-step.visible { animation: pip-reveal .5s var(--ease-out) forwards; }
@keyframes pip-reveal { to { opacity:1; transform:none; } }
.pip-step { transform: translateX(16px); }
.pip-ico { font-size: 1.2rem; flex-shrink: 0; }
.pip-step span:last-child { font-size: .88rem; font-weight: 600; color: var(--text-2); }
.pip-line { display: none; }
.pip-step.active { background: rgba(56,189,248,.06); border-top: 1px solid rgba(56,189,248,.2) !important; }
.pip-step.active span:last-child { color: var(--sky); }

/* ─── SERVICES ────────────────────────────────── */
.services { background: var(--ink); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-radius: var(--r-lg); overflow: hidden; }
.svc-card {
  background: var(--ink); padding: 3rem;
  position: relative; overflow: hidden;
  transition: background .4s var(--ease);
}
.svc-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(56,189,248,.06), transparent);
  opacity: 0; transition: opacity .4s;
}
.svc-card:hover { background: var(--ink-2); }
.svc-card:hover::before { opacity: 1; }
.svc-n {
  position: absolute; top: 1.8rem; right: 2rem;
  font-size: 4.5rem; font-weight: 800; letter-spacing: -.04em;
  color: rgba(255,255,255,.03); line-height: 1;
  transition: color .4s; pointer-events: none;
}
.svc-card:hover .svc-n { color: rgba(56,189,248,.07); }
.svc-icon { width: 44px; height: 44px; color: var(--sky); opacity: .65; margin-bottom: 1.8rem; transition: opacity .3s, transform .4s var(--ease-out); }
.svc-card:hover .svc-icon { opacity: 1; transform: scale(1.07); }
.svc-card h3 { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: .85rem; }
.svc-card p { font-size: .87rem; color: var(--text-2); line-height: 1.82; margin-bottom: 1.5rem; }
.svc-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.svc-tags span { font-size: .62rem; font-weight: 600; letter-spacing: .1em; color: var(--text-3); border: 1px solid var(--border); padding: .22rem .6rem; border-radius: 4px; text-transform: uppercase; }
.svc-card--hero { background: var(--ink-2); border-top: 2px solid var(--sky); }
.svc-badge { position: absolute; top: 1.8rem; right: 2rem; font-size: .6rem; font-weight: 700; letter-spacing: .14em; color: var(--sky); border: 1px solid rgba(56,189,248,.3); padding: .22rem .65rem; border-radius: 100px; background: rgba(56,189,248,.07); text-transform: uppercase; }
.svc-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(56,189,248,.08), transparent); pointer-events: none; }

/* ─── TEAM ────────────────────────────────────── */
.team { background: var(--ink-2); }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.team-card { display: flex; flex-direction: column; gap: 1.2rem; }
.tc-image-wrap {
  position: relative; aspect-ratio: 3/4;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink-3); border: 1px solid var(--border);
}
.tc-image { width: 100%; height: 100%; }
.tc-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.tc-image-wrap:hover img { transform: scale(1.05); }
.tc-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--ink-3) 0%, rgba(56,189,248,.04) 100%);
}
.tcp-avatar svg { width: 80px; height: 80px; color: var(--text-3); }
.tc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,10,16,.92) 0%, rgba(8,10,16,.4) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; opacity: 0;
  transition: opacity .4s var(--ease-out);
}
.tc-image-wrap:hover .tc-overlay { opacity: 1; }
.tc-bio { font-size: .82rem; color: var(--text-2); line-height: 1.6; margin-bottom: 1rem; }
.tc-socials { display: flex; gap: .6rem; }
.tc-socials a { width: 32px; height: 32px; background: var(--surface-2); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--sky); transition: background .25s; }
.tc-socials a:hover { background: var(--sky); color: var(--ink); }
.tc-socials a svg { width: 14px; }
.tc-info h3 { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: .25rem; }
.tc-info span { font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: var(--sky); text-transform: uppercase; }
.team-note { font-size: .78rem; color: var(--text-3); text-align: center; margin-top: 3rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ─── IMPACT ──────────────────────────────────── */
.impact { background: var(--ink); position: relative; overflow: hidden; }
.impact-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 700px; height: 700px; background: radial-gradient(circle, rgba(56,189,248,.04) 0%, transparent 65%); pointer-events: none; }
.impact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 4rem; }
.ig-tile {
  background: var(--ink); padding: 2.5rem 1.5rem; text-align: center;
  position: relative; overflow: hidden;
  transition: background .4s var(--ease);
}
.ig-tile::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, rgba(56,189,248,.07), transparent 60%); opacity: 0; transition: opacity .4s; }
.ig-tile:hover { background: var(--ink-2); }
.ig-tile:hover::before { opacity: 1; }
.igt-val { font-family: var(--ff-body); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; color: var(--sky); line-height: 1; margin-bottom: .6rem; }
.igt-plus { font-size: .6em; vertical-align: super; }
.igt-label { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: .3rem; }
.igt-sub { font-size: .75rem; color: var(--text-3); }
.ig-tile--accent { background: var(--ink-2); border-top: 2px solid var(--sky); }
.impact-quote {
  text-align: center; font-family: var(--ff-display);
  font-size: clamp(1rem, 2.2vw, 1.45rem); font-style: italic;
  font-weight: 600; color: var(--text-2); line-height: 1.6;
  max-width: 720px; margin: 0 auto;
  padding: 3rem 2.5rem;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface); position: relative; overflow: hidden;
}
.impact-quote::before { content: '\201C'; position: absolute; top: -.5rem; left: 1.5rem; font-size: 8rem; color: var(--sky); opacity: .07; line-height: 1; pointer-events: none; }

/* ─── SCHOOLS ─────────────────────────────────── */
.schools { background: var(--ink-2); }
.schools-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.school-card { display: flex; flex-direction: column; gap: 1rem; }
.sc-logo-wrap {
  aspect-ratio: 4/3;
  background: var(--ink-3); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  position: relative; display: flex; align-items: center; justify-content: center;
  transition: border-color .3s;
}
.sc-logo-wrap:hover { border-color: var(--border-2); }
.sc-logo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.5rem;
  color: var(--text-3);
  transition: color .3s;
}
.sc-logo-placeholder svg { width: 64px; height: 64px; }
.sc-logo-placeholder img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; }
.sc-future { border: 1px dashed var(--border-2); border-radius: var(--r); margin: 1rem; width: calc(100% - 2rem); height: calc(100% - 2rem); }
.sc-future svg { opacity: .35; }
.sc-overlay {
  position: absolute; inset: 0;
  background: rgba(56,189,248,.08);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.sc-overlay span { font-size: .8rem; font-weight: 600; color: var(--sky); }
.sc-logo-wrap:hover .sc-overlay { opacity: 1; }
.sc-info h4 { font-family: var(--ff-display); font-size: 1.2rem; font-weight: 700; color: var(--text); }
.sc-info p { font-size: .82rem; color: var(--text-2); }
.sc-status {
  display: inline-block; font-size: .62rem; font-weight: 700;
  letter-spacing: .12em; padding: .22rem .7rem; border-radius: 100px;
  text-transform: uppercase; margin-top: .4rem;
}
.sc-status.active { background: rgba(34,197,94,.12); color: #4ade80; border: 1px solid rgba(34,197,94,.25); }
.sc-status.join { background: var(--sky-dim); color: var(--sky); border: 1px solid rgba(56,189,248,.25); transition: background .25s; }
a.sc-status.join:hover { background: var(--sky); color: var(--ink); }

/* ─── ROADMAP ─────────────────────────────────── */
.roadmap { background: var(--ink); }
.timeline { position: relative; padding-left: 2.5rem; }
.tl-spine {
  position: absolute; left: 0; top: .6rem; bottom: 2rem;
  width: 1px; background: linear-gradient(to bottom, var(--sky), rgba(56,189,248,.08));
}
.tl-row {
  display: grid; grid-template-columns: 76px 20px 1fr;
  gap: 1.5rem; align-items: start; padding-bottom: 3.5rem;
}
.tl-year { font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--sky); padding-top: .12rem; text-align: right; }
.tl-node { display: flex; align-items: center; justify-content: center; padding-top: .15rem; }
.tln-dot { width: 12px; height: 12px; background: var(--sky); border: 2px solid var(--ink); border-radius: 50%; box-shadow: 0 0 0 3px rgba(56,189,248,.2); flex-shrink: 0; }
.tl-node--future .tln-dot { background: transparent; border-color: rgba(56,189,248,.4); box-shadow: 0 0 0 3px rgba(56,189,248,.07); }
.tl-card {
  padding: 1.5rem 2rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); transition: border-color .3s, background .3s;
}
.tl-card:hover { border-color: var(--border-2); background: var(--surface-2); }
.tl-card h4 { font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: .55rem; }
.tl-card p { font-size: .85rem; color: var(--text-2); line-height: 1.78; }
.tl-card--future { border-style: dashed; }

/* ─── CONTACT ─────────────────────────────────── */
.contact { background: var(--ink-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6rem; align-items: start; }
.contact-left h2 { margin-bottom: 1rem; }
.contact-details { display: flex; flex-direction: column; gap: .85rem; margin-top: 2.5rem; }
.cd-link {
  display: flex; align-items: center; gap: 1rem;
  padding: .9rem 1.1rem;
  border: 1px solid var(--border); border-radius: var(--r);
  color: inherit; transition: border-color .3s, background .3s;
}
.cd-link:hover { border-color: var(--border-2); background: var(--surface); }
.cd-icon { width: 36px; height: 36px; background: var(--surface-2); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cd-icon svg { width: 16px; height: 16px; color: var(--sky); }
.cd-link span { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .14em; color: var(--text-3); text-transform: uppercase; margin-bottom: .18rem; }
.cd-link strong { font-size: .88rem; font-weight: 600; color: var(--text); }

/* Form */
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2.5rem; }
.cf-note {
  display: flex; align-items: center; gap: .6rem;
  font-size: .75rem; color: var(--text-3); line-height: 1.5;
  background: rgba(56,189,248,.05); border: 1px solid rgba(56,189,248,.15);
  border-radius: var(--r); padding: .75rem 1rem; margin-bottom: 2rem;
}
.cf-note svg { width: 14px; flex-shrink: 0; color: var(--sky); }
.cf-note strong { color: var(--sky); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-group { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; }
.cf-group:last-of-type { margin-bottom: 0; }
.cf-group label { font-size: .67rem; font-weight: 600; letter-spacing: .14em; color: var(--text-3); text-transform: uppercase; }
.cf-group label span { color: var(--flame); }
.cf-group input,
.cf-group textarea {
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: var(--r); padding: .85rem 1rem;
  color: var(--text); font-size: .9rem;
  outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.cf-group input:focus,
.cf-group textarea:focus {
  border-color: rgba(56,189,248,.5); background: rgba(56,189,248,.04);
  box-shadow: 0 0 0 3px rgba(56,189,248,.08);
}
.cf-group input::placeholder,
.cf-group textarea::placeholder { color: var(--text-3); }
.cf-group textarea { resize: vertical; min-height: 130px; }
.cf-select-wrap { position: relative; }
.cf-select-wrap select {
  width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: var(--r); padding: .85rem 2.5rem .85rem 1rem;
  color: var(--text); font-size: .9rem; outline: none; -webkit-appearance: none;
  cursor: pointer; transition: border-color .25s, background .25s, box-shadow .25s;
}
.cf-select-wrap select:focus { border-color: rgba(56,189,248,.5); background: rgba(56,189,248,.04); box-shadow: 0 0 0 3px rgba(56,189,248,.08); }
.cf-select-wrap select option { background: #0d1020; }
.sel-arrow { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); width: 10px; pointer-events: none; color: var(--text-3); }
.cf-submit {
  width: 100%; margin-top: 1.5rem;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .05em;
  padding: 1rem; border-radius: 100px;
  background: var(--sky); color: var(--ink);
  transition: transform .3s var(--ease-out), box-shadow .3s, background .25s, opacity .25s;
  position: relative;
}
.cf-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(56,189,248,.3); }
.cf-submit-ico { width: 18px; transition: transform .3s var(--ease-out); }
.cf-submit:hover .cf-submit-ico { transform: translateX(4px); }
.cf-spinner {
  display: none; width: 18px; height: 18px;
  border: 2px solid rgba(8,10,16,.3);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cf-submit.loading .cf-submit-ico { display: none; }
.cf-submit.loading .cf-spinner { display: block; }
.cf-submit.loading { opacity: .8; pointer-events: none; }
.cf-submit.success { background: #22c55e; }
.cf-submit.error { background: #ef4444; }
.cf-feedback {
  margin-top: 1rem; font-size: .8rem; text-align: center;
  color: var(--text-2); min-height: 1.2em;
}
.cf-feedback.ok { color: #4ade80; }
.cf-feedback.err { color: #f87171; }

/* ─── FOOTER ──────────────────────────────────── */
.footer { background: var(--ink); border-top: 1px solid var(--border); padding: 5rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 2fr; gap: 4rem; margin-bottom: 4rem; }
.footer-logo { display: flex; align-items: center; gap: .65rem; font-family: var(--ff-body); font-weight: 800; font-size: 1rem; letter-spacing: .14em; color: var(--text); margin-bottom: 1rem; }
.footer-logo em { color: var(--sky); font-style: normal; }
.footer-brand p { font-size: .85rem; color: var(--text-3); line-height: 1.7; margin-bottom: .7rem; }
.footer-brand small { font-size: .7rem; color: var(--text-3); letter-spacing: .1em; }
.footer-socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.fsoc { width: 36px; height: 36px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-3); transition: all .25s; }
.fsoc svg { width: 15px; height: 15px; }
.fsoc:hover { background: var(--sky); border-color: var(--sky); color: var(--ink); transform: translateY(-2px); }
.footer-nav { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.fn-col { display: flex; flex-direction: column; gap: .7rem; }
.fn-col strong { font-size: .68rem; font-weight: 700; letter-spacing: .18em; color: var(--text-3); text-transform: uppercase; margin-bottom: .25rem; }
.fn-col a { font-size: .84rem; color: var(--text-2); transition: color .25s; }
.fn-col a:hover { color: var(--sky); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--border); font-size: .75rem; color: var(--text-3); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .nav-center { display: none; }
  .hamburger { display: flex; }
  .nav-right .nav-cta { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-right { display: none; }
  .mv-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav { padding: 0 1.5rem; }
  .section { padding: 6rem 0; }
  .container { padding: 0 1.25rem; }
  .hero { padding: calc(var(--nav-h) + 3rem) 1.5rem 2rem; }
  .hero-stats { flex-direction: column; max-width: 100%; }
  .hs-div { width: 100%; height: 1px; }
  .d-br { display: inline; }
  .svc-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .schools-grid { grid-template-columns: 1fr 1fr; }
  .crisis-stats { flex-direction: column; gap: 2rem; }
  .cs-arrow { transform: rotate(90deg); align-self: center; }
  .solution-block { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .tl-row { grid-template-columns: 60px 16px 1fr; gap: 1rem; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: .4rem; text-align: center; }
  body { cursor: auto; }
  #cursor-dot, #cursor-ring { display: none; }
  .nav-right .nav-social { display: none; }
}

@media (max-width: 520px) {
  .team-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .schools-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 2.8rem; }
}


/* ── Section wrapper ── */
.team {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

/* Subtle star backdrop just for this section */
.team-stars {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(56,189,248,.55) 0%, transparent 100%),
    radial-gradient(1px 1px at 34% 72%, rgba(255,255,255,.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 55% 28%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 72% 62%, rgba(56,189,248,.45) 0%, transparent 100%),
    radial-gradient(1px 1px at 88% 15%, rgba(255,255,255,.35) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 22% 88%, rgba(255,255,255,.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 66% 90%, rgba(56,189,248,.4) 0%, transparent 100%),
    radial-gradient(2px 2px at 45% 50%, rgba(56,189,248,.2) 0%, transparent 100%);
}

/* ── Founders row ── */
.founders-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative; z-index: 1;
  margin-bottom: 3rem;
}

/* ── Individual card ── */
.founder-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative;
  padding: 2.5rem 1.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .5s var(--ease-out);
  overflow: hidden;
  cursor: default;
}
.founder-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(56,189,248,.06), transparent);
  opacity: 0; transition: opacity .4s;
}
.founder-card:hover { border-color: rgba(56,189,248,.28); background: var(--surface-2); transform: translateY(-6px); }
.founder-card:hover::before { opacity: 1; }

/* Featured / center card */
.founder-card--center {
  background: var(--ink-2);
  border-color: rgba(56,189,248,.22);
  border-top: 2px solid var(--sky);
}
.founder-card--center:hover { border-color: rgba(56,189,248,.5); }

/* Background orbit rings (decorative) */
.fc-orbit-wrap {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 280px; height: 280px; pointer-events: none;
  opacity: 0; transition: opacity .5s;
}
.founder-card:hover .fc-orbit-wrap { opacity: 1; }
.fc-orbit {
  position: absolute; top: 50%; left: 50%; border-radius: 50%;
  border: 1px solid rgba(56,189,248,.09);
  transform: translate(-50%,-50%);
}
.fc-orbit-1 { width: 220px; height: 220px; animation: orbit-slow 18s linear infinite; }
.fc-orbit-2 { width: 160px; height: 160px; animation: orbit-slow 12s linear infinite reverse; }
@keyframes orbit-slow { from{transform:translate(-50%,-50%) rotate(0deg)} to{transform:translate(-50%,-50%) rotate(360deg)} }

/* ── Photo ring ── */
.fc-photo-ring {
  position: relative;
  width: 160px; height: 160px;
  margin-bottom: 1.6rem; flex-shrink: 0;
}

/* Glowing halo behind photo */
.fc-ring-glow {
  position: absolute; inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.22) 0%, transparent 70%);
  animation: ring-breathe 4s ease-in-out infinite;
  transition: opacity .4s;
}
.fc-ring-glow--accent {
  background: radial-gradient(circle, rgba(56,189,248,.32) 0%, rgba(125,211,252,.12) 50%, transparent 70%);
}
.founder-card:not(:hover) .fc-ring-glow { opacity: .5; }
@keyframes ring-breathe { 0%,100%{transform:scale(1)} 50%{transform:scale(1.12)} }

/* The actual circle photo */
.fc-photo {
  position: absolute; inset: 8px;
  border-radius: 50%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
  border: 2px solid rgba(56,189,248,.35);
  box-shadow:
    0 0 0 4px rgba(8,10,16,.9),
    0 0 24px rgba(56,189,248,.15),
    inset 0 0 20px rgba(0,0,0,.3);
  transition: transform .55s var(--ease-out), box-shadow .45s, border-color .35s;
}
.founder-card:hover .fc-photo {
  transform: scale(1.04);
  border-color: rgba(56,189,248,.7);
  box-shadow:
    0 0 0 4px rgba(8,10,16,.9),
    0 0 40px rgba(56,189,248,.3),
    inset 0 0 20px rgba(0,0,0,.25);
}

/* Full-size image inside .fc-photo */
.fc-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  border-radius: 50%;
}

/* Initials fallback */
.fc-initials {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-body); font-size: 2rem; font-weight: 800;
  letter-spacing: .05em; color: rgba(56,189,248,.5);
  user-select: none;
}

/* Outer spinning ring on hover */
.fc-hover-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--sky);
  border-right-color: rgba(56,189,248,.3);
  opacity: 0; transform: rotate(0deg);
  transition: opacity .35s;
  animation: ring-spin-fast 2s linear infinite;
}
.founder-card:hover .fc-hover-ring { opacity: 1; }
@keyframes ring-spin-fast { to { transform: rotate(360deg); } }

/* ── Text info ── */
.fc-info { position: relative; z-index: 1; }
.fc-name {
  font-family: var(--ff-display);
  font-size: 1.45rem; font-weight: 700;
  color: var(--text); margin-bottom: .3rem;
  letter-spacing: -.01em;
}
.fc-role {
  display: inline-block;
  font-size: .68rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 1rem;
}
.fc-role--accent { color: var(--sky); }
.fc-bio {
  font-size: .84rem; color: var(--text-2); line-height: 1.72;
  max-width: 240px; margin: 0 auto 1.2rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.founder-card:hover .fc-bio { opacity: 1; transform: none; }

/* Social links */
.fc-links {
  display: flex; gap: .6rem; justify-content: center;
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s .05s var(--ease-out), transform .4s .05s var(--ease-out);
}
.founder-card:hover .fc-links { opacity: 1; transform: none; }
.fc-social {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-3);
  transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease-out);
}
.fc-social svg { width: 14px; height: 14px; }
.fc-social:hover { background: var(--sky); border-color: var(--sky); color: var(--ink); transform: scale(1.12); }

/* Large background number */
.fc-number {
  position: absolute; bottom: 1.4rem; right: 1.8rem;
  font-size: 5rem; font-weight: 800; letter-spacing: -.06em;
  color: rgba(255,255,255,.025); line-height: 1;
  pointer-events: none; transition: color .4s;
}
.founder-card:hover .fc-number { color: rgba(56,189,248,.06); }

/* ── Photo guide note ── */
.team-photo-guide {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .77rem; color: var(--text-3); line-height: 1.6;
  background: rgba(56,189,248,.04); border: 1px solid rgba(56,189,248,.12);
  border-radius: var(--r); padding: .85rem 1.2rem;
  max-width: 680px; margin: 0 auto;
}
.team-photo-guide svg { width: 14px; flex-shrink: 0; color: var(--sky); margin-top: .1rem; }
.team-photo-guide code { font-size: .78em; color: var(--sky); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .founders-row { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto 3rem; gap: 2rem; }
  .founder-card--center { border-top: 2px solid var(--sky); }
  .fc-bio, .fc-links { opacity: 1; transform: none; }
}
@media (max-width: 520px) {
  .fc-photo-ring { width: 140px; height: 140px; }
  .fc-name { font-size: 1.25rem; }
}


/* ── Active nav item (scroll-spy) ── */
.nav-item.active {
  color: var(--text) !important;
}
.nav-item.active::after {
  transform: scaleX(1) !important;
}
.mm-link.active {
  color: var(--text) !important;
}

/* ── Back to Top Button ── */
.back-to-top {
  position: fixed;
  bottom: 5rem;            
  right: 1.5rem;
  z-index: 890;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink-3);
  border: 1px solid var(--border-2);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition:
    opacity .35s var(--ease-out),
    transform .35s var(--ease-out),
    background .25s,
    color .25s,
    border-color .25s;
  cursor: pointer;
}
.back-to-top svg {
  width: 16px;
  height: 16px;
}
.back-to-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--ink);
  transform: translateY(-3px);
}

/* ── Ripple Wave ── */
.btn-primary,
.btn-outline,
.cf-submit,
.nav-cta {
  position: relative;
  overflow: hidden;
}
.ripple-wave {
  position: absolute;
  border-radius: 50%;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.35);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple-expand 0.65s var(--ease-out) forwards;
  pointer-events: none;
}
@keyframes ripple-expand {
  to {
    transform: translate(-50%, -50%) scale(80);
    opacity: 0;
  }
}

/* ── Form has-value state — border highlight ── */
.cf-group.has-value input,
.cf-group.has-value textarea,
.cf-group.has-value select {
  border-color: rgba(56, 189, 248, 0.3);
}
.cf-group.has-value label {
  color: var(--sky);
}

/* ── Timeline spine — ensure scaleY works from top ── */
.tl-spine {
  transform-origin: top center;
}

/* ── Orbital system — allow 3D transforms ── */
#orbitalSystem {
  transform-style: preserve-3d;
  transition: transform 0.1s linear;
  will-change: transform;
}

/* ── School card hover gap fix ── */
.school-card {
  transition: transform .45s var(--ease-out);
}
.school-card:hover {
  transform: translateY(-6px);
}

/* ── Founder card on mobile — always show bio/links ── */
@media (hover: none) {
  .fc-bio,
  .fc-links {
    opacity: 1 !important;
    transform: none !important;
  }
  .fc-orbit-wrap {
    opacity: 0 !important;
  }
}

/* ── Smooth scroll offset fix for fixed nav ── */
section[id] {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

/* ── Mobile nav overlay — fix z-index stacking ── */
.mobile-menu {
  z-index: 799;
}
.hamburger {
  z-index: 810;
}

/* ── Prevent horizontal scroll on very small screens ── */
@media (max-width: 380px) {
  .hero-h1 {
    font-size: 2.4rem;
    letter-spacing: -0.02em;
  }
  .hero-pill {
    font-size: 0.62rem;
    padding: 0.38rem 0.85rem;
  }
  .founders-row {
    max-width: 300px;
  }
  .fc-photo-ring {
    width: 120px;
    height: 120px;
  }
}

/* ── Tablet-specific layout improvements (768–1080px) ── */
@media (min-width: 768px) and (max-width: 1080px) {
  .mv-cards {
    grid-template-columns: 1fr 1fr;
  }
  .mv-card:last-child {
    grid-column: 1 / -1;
  }
  .svc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .founders-row {
    grid-template-columns: 1fr 1fr;
    max-width: 640px;
    margin: 0 auto 3rem;
  }
  .founder-card--center {
    grid-column: 1 / -1;
    max-width: 360px;
    justify-self: center;
  }
  .schools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tl-row {
    grid-template-columns: 68px 16px 1fr;
  }
}

/* ── Print styles — hide decorative elements ── */
@media print {
  .grain,
  .page-progress,
  #cursor-dot,
  #cursor-ring,
  .music-player,
  .loader,
  #cosmos,
  .orb,
  .back-to-top,
  .hero-scroll {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
}

/* ── Respect reduced-motion preference ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── High contrast focus rings for accessibility ── */
:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

/* ── Image optimisation hints ── */
.fc-img,
.sc-logo-placeholder img {
  image-rendering: -webkit-optimize-contrast;
}

/* ── Smooth appearance for lazy-loaded images ── */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
img[loading="lazy"].loaded {
  opacity: 1;
}

/* ── Selection colour ── */
::selection {
  background: rgba(56, 189, 248, 0.25);
  color: var(--text);
}

/* ── Scrollbar styling (Webkit) ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--ink-2);
}
::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.25);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.45);
}


/* ── Active nav link ── */
.nav-active {
  color: var(--sky) !important;
}
.nav-item.nav-active::after {
  transform: scaleX(1) !important;
}

/* ── Orbital system — 3D preserve ── */
#orbitalSystem {
  transform-style: preserve-3d;
  transition: transform .05s linear;
}

/* ── Timeline node pulse (base, JS adds .tln-active) ── */
.tln-dot {
  transition: box-shadow .4s var(--ease-out);
}

/* ── Hero scroll cue — hide after first scroll ── */
.hero-scroll {
  opacity: 1;
  transition: opacity .6s var(--ease);
}
.hero-scroll.hidden { opacity: 0; pointer-events: none; }

/* ── Founder card spark anchor ── */
.founder-card { overflow: visible !important; }
.fc-photo-ring { z-index: 1; }

/* ── Contact form — row gap fix on small screens ── */
@media (max-width: 600px) {
  .cf-row { gap: .75rem; }
  .contact-form { padding: 1.5rem; }
}

/* ── SND School card — make placeholder feel richer ── */
.sc-logo-placeholder:not(.sc-future) {
  background: linear-gradient(135deg, var(--ink-3) 0%, rgba(56,189,248,.04) 100%);
}
.sc-logo-placeholder:not(.sc-future) svg {
  color: rgba(56,189,248,.45);
}

/* ── Mobile menu link base state (before JS stagger) ── */
.mm-link {
  will-change: opacity, transform;
}

/* ── Hamburger z-index — sits above mobile menu backdrop ── */
.hamburger { z-index: 810; position: relative; }

/* ── Prevent iOS bounce on mobile menu ── */
.mobile-menu.open {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mm-inner { overflow-y: auto; max-height: 100vh; }

/* ── Fix footer on very narrow screens ── */
@media (max-width: 380px) {
  .footer-bottom { font-size: .68rem; }
  .footer-logo span { font-size: .82rem; }
}

/* ── Ensure no horizontal overflow anywhere ── */
html, body { max-width: 100vw; overflow-x: hidden; }
.hero, .about, .mission, .problem, .services, .team,
.impact, .schools, .roadmap, .contact, .footer {
  max-width: 100vw; overflow-x: hidden;
}

/* ── Hero scroll hint: hide after scrolling ── */
@keyframes sc-fade-in { from{opacity:0;transform:translateX(-50%) translateY(12px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }
.hero-scroll { animation: sc-fade-in 1s 1.5s var(--ease-out) both; }

/* ── Glass card shimmer on hover (svc + mv cards) ── */
.svc-card::after, .mv-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.025) 50%, transparent 60%);
  transform: skewX(-20deg);
  transition: left .55s var(--ease-out);
  pointer-events: none;
}
.svc-card:hover::after, .mv-card:hover::after { left: 150%; }

/* ── Smooth show/hide for .cf-submit states ── */
.cf-submit { transition: transform .3s var(--ease-out), box-shadow .3s, background .3s, opacity .25s !important; }
.cf-submit.success { background: #16a34a; }
.cf-submit.error   { background: #dc2626; animation: shake .4s var(--ease-out); }
@keyframes shake {
  0%,100%{transform:translateX(0)}
  20%{transform:translateX(-6px)}
  40%{transform:translateX(6px)}
  60%{transform:translateX(-4px)}
  80%{transform:translateX(4px)}
}

/* ── Ensure .reveal transitions stay clean ── */
.reveal {
  will-change: opacity, transform;
}
.reveal.in-view {
  will-change: auto;
}
