:root {
  --bg: #020306;
  --text: #f4f7fb;
  --muted: rgba(244,247,251,.68);
  --line: rgba(255,255,255,.12);
  --panel: rgba(255,255,255,.06);
  --cyan: #68e7ff;
  --green: #58ff9a;
  --blue: #41a7ff;
  --purple: #b66cff;
  --gold: #ffd37a;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: auto; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at 50% 10%, #152238 0, #020306 48%, #000 100%);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img, canvas { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
::selection { background: rgba(104,231,255,.28); }
#starfield {
  position: fixed;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
}
.nebula {
  position: fixed;
  width: 48vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .35;
  z-index: -3;
  pointer-events: none;
  mix-blend-mode: screen;
}
.nebula-a { left: -16vw; top: 12vh; background: #275dff; animation: driftNebula 18s ease-in-out infinite; }
.nebula-b { right: -12vw; top: 8vh; background: #8d32ff; animation: driftNebula 22s ease-in-out infinite reverse; }
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 22px;
  align-content: center;
  background: #020306;
  transition: opacity .8s ease, visibility .8s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2.3rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: .16em;
  text-shadow: 0 0 42px rgba(104,231,255,.55);
}
.loader-line {
  width: min(420px, 70vw);
  height: 2px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
}
.loader-line span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  background: linear-gradient(90deg, transparent, var(--cyan), white);
  animation: loadSweep 1.8s ease forwards;
}
.cursor-dot, .cursor-orbit {
  position: fixed;
  left: 0;
  top: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 90;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 8px; height: 8px; background: #fff; box-shadow: 0 0 24px var(--cyan); }
.cursor-orbit {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(104,231,255,.45);
  box-shadow: 0 0 34px rgba(104,231,255,.18);
  transition: width .2s ease, height .2s ease, border-color .2s ease;
}
.cursor-orbit.is-hover { width: 70px; height: 70px; border-color: rgba(255,255,255,.8); }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(20px, 5vw, 72px);
  background: linear-gradient(180deg, rgba(0,0,0,.62), transparent);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: .18em;
}
.brand img { width: 31px; height: 31px; }
.site-nav { display: flex; gap: clamp(18px, 3vw, 42px); color: rgba(255,255,255,.74); font-size: .84rem; }
.site-nav a { position: relative; padding: 10px 0; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  transform: scaleX(0);
  background: currentColor;
  transition: transform .3s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; }
.nav-toggle span { display: block; height: 1px; margin: 8px 4px; background: white; }
main { position: relative; z-index: 1; }
section { min-height: 100vh; padding: 120px clamp(22px, 7vw, 110px); }
.hero { min-height: 100vh; display: grid; place-items: center; position: relative; overflow: hidden; }
.hero-copy { text-align: center; z-index: 3; transform-style: preserve-3d; }
.eyebrow, .section-kicker {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .75rem;
  font-weight: 700;
}
.mega-title {
  margin: 12px 0 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(4rem, 16vw, 16rem);
  line-height: .8;
  letter-spacing: .04em;
  text-shadow: 0 0 42px rgba(104,231,255,.28), 0 24px 80px rgba(0,0,0,.72);
}
.hero-subtitle { margin: 28px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.55rem); }
.object-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.object-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.path-object {
  position: absolute;
  bottom: 8vh;
  width: clamp(118px, 17vw, 220px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  pointer-events: auto;
  transform-style: preserve-3d;
  animation: floatObject 5s ease-in-out infinite;
}
.path-object strong {
  position: absolute;
  bottom: -34px;
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .78rem;
}
.path-object:nth-child(1) { left: 12vw; }
.path-object:nth-child(2) { left: 50%; transform: translateX(-50%); animation-delay: -.9s; }
.path-object:nth-child(3) { right: 12vw; animation-delay: -1.8s; }
.object-glow, .object-shell { position: absolute; inset: 0; border-radius: 50%; transition: transform .35s ease, filter .35s ease; }
.object-glow { filter: blur(25px); opacity: .8; }
.earth-object .object-glow { background: rgba(64,255,154,.48); }
.water-object .object-glow { background: rgba(65,167,255,.55); }
.galaxy-object .object-glow { background: rgba(182,108,255,.55); }
.object-shell {
  background: radial-gradient(circle at 35% 25%, white, rgba(255,255,255,.12) 18%, rgba(0,0,0,.08) 28%), conic-gradient(from 40deg, var(--green), var(--blue), #10151b, var(--green));
  box-shadow: inset -22px -28px 50px rgba(0,0,0,.46), inset 8px 8px 20px rgba(255,255,255,.24), 0 40px 90px rgba(0,0,0,.6);
}
.water-object .object-shell { background: radial-gradient(circle at 40% 30%, white, #95eeff 10%, #116dff 40%, #081121 70%); clip-path: polygon(50% 0, 91% 23%, 92% 74%, 50% 100%, 8% 74%, 9% 23%); }
.galaxy-object .object-shell { background: radial-gradient(circle at 50% 50%, #ffe2a0, #b66cff 21%, #2b0b4d 50%, #05020b 72%), conic-gradient(var(--purple), var(--gold), var(--purple)); }
.path-object:hover .object-glow { transform: scale(1.28); filter: blur(32px) saturate(1.5); }
.path-object:hover .object-shell { transform: scale(1.08) rotate(8deg); }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; width: 1px; height: 62px; background: rgba(255,255,255,.14); }
.scroll-cue span { display: block; width: 1px; height: 18px; background: white; animation: cue 1.8s infinite; }
.world-section, .vision-split, .contact-section { display: grid; align-content: center; gap: 28px; }
.display { max-width: 980px; margin: 0; font-family: "Space Grotesk"; font-size: clamp(2.2rem, 6vw, 6.3rem); line-height: .96; }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.7; }
.paths-band { min-height: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding-inline: 0; background: var(--line); }
.path-panel {
  min-height: 58vh;
  padding: clamp(28px, 5vw, 68px);
  display: grid;
  align-content: end;
  gap: 18px;
  background: rgba(3,6,12,.92);
  transition: background .3s ease, transform .3s ease;
}
.path-panel:hover { background: rgba(11,24,36,.96); transform: translateY(-8px); }
.path-panel span { color: var(--cyan); }
.path-panel h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 3rem); font-family: "Space Grotesk"; }
.path-panel p, .vision-stack p { color: var(--muted); line-height: 1.7; }
.vision-split { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 8vw; }
.magnetic-link, .primary-cta {
  display: inline-flex;
  width: max-content;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 42px rgba(104,231,255,.12);
  transition: transform .3s ease, box-shadow .3s ease;
}
.magnetic-link:hover, .primary-cta:hover { transform: translateY(-4px); box-shadow: 0 0 58px rgba(104,231,255,.28); }
.contact-section { min-height: 74vh; text-align: center; justify-items: center; }
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  background: #020306;
  opacity: 0;
}
@media (max-width: 840px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-orbit { display: none; }
  .nav-toggle { display: block; z-index: 52; }
  .site-nav {
    position: fixed;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 24px;
    background: rgba(2,3,6,.94);
    transform: translateY(-100%);
    transition: transform .45s ease;
    font-size: 1.2rem;
  }
  .site-nav.is-open { transform: translateY(0); }
  .path-object { bottom: 12vh; width: 27vw; min-width: 92px; }
  .path-object:nth-child(1) { left: 6vw; }
  .path-object:nth-child(3) { right: 6vw; }
  .paths-band, .vision-split { grid-template-columns: 1fr; }
  .path-panel { min-height: 36vh; }
  section { padding: 96px 22px; }
}
