:root {
  /* Typography trace: Space Mono" (Google Fonts, IBM Plex Mono" at 0.7rem, Interactive elements, IntersectionObserver setup with threshold 0.2, `clamp(1.8rem */
  --void: #0A0B10;
  --chamber: #12131A;
  --silver: #C8D0DC;
  --pearl: #8B929E;
  --violet: #7B5EA7;
  --blush: #D4847A;
  --cyan: #4ECDC4;
  --white: #E8ECF2;
  --iron: #3A3D4A;
  --scroll-progress: 0;
  --cursor-x: 50vw;
  --cursor-y: 50vh;
  --glow-alpha: 0.08;
}

* { box-sizing: border-box; }

html {
  background: var(--void);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--silver);
  background:
    radial-gradient(circle at 12% 8%, rgba(123, 94, 167, 0.18), transparent 32vw),
    radial-gradient(circle at 78% 36%, rgba(78, 205, 196, 0.08), transparent 28vw),
    linear-gradient(180deg, var(--void), var(--chamber) 42%, var(--void));
  font-family: "Outfit", sans-serif;
  font-weight: 300;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.13;
  background: repeating-linear-gradient(180deg, rgba(200, 208, 220, 0.08) 0 1px, transparent 1px 6px);
  mix-blend-mode: screen;
}

.cursor-field {
  position: fixed;
  left: 0;
  top: 0;
  width: 300px;
  height: 300px;
  z-index: 4;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.95;
  transform: translate3d(calc(var(--cursor-x) - 150px), calc(var(--cursor-y) - 150px), 0);
  background: radial-gradient(circle, rgba(123, 94, 167, var(--glow-alpha)), transparent 70%);
  mix-blend-mode: screen;
}

.chamber {
  position: relative;
  min-height: 80vh;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 8vh, 6rem) clamp(1.25rem, 6vw, 7rem);
  background: linear-gradient(180deg, transparent, rgba(18, 19, 26, 0.78) 26%, rgba(10, 11, 16, 0.92) 82%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #0A0B10 15%, #12131A 50%, #0A0B10 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #0A0B10 15%, #12131A 50%, #0A0B10 85%, transparent);
}

.hero {
  min-height: 100vh;
  width: 100vw;
  display: grid;
  place-items: center;
  padding: 0;
  background: radial-gradient(circle at 50% 48%, rgba(58, 61, 74, 0.55), transparent 28vw), var(--void);
  -webkit-mask-image: none;
  mask-image: none;
}

.orbital-field {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: translate3d(0, calc(var(--scroll-progress) * -90px), 0);
}

.chrome-sphere {
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,0.85), transparent 8%),
    radial-gradient(ellipse at 35% 35%, #E8ECF2 0%, #C8D0DC 25%, #8B929E 50%, #3A3D4A 75%, #0A0B10 100%);
  box-shadow: inset -24px -32px 60px rgba(10, 11, 16, 0.62), inset 12px 10px 28px rgba(232, 236, 242, 0.36), 0 0 80px rgba(78, 205, 196, 0.14), 0 0 140px rgba(123, 94, 167, 0.12);
  animation: sphere-breathe 30s ease-in-out infinite;
}

.hero-sphere {
  width: clamp(200px, 40vw, 500px);
  aspect-ratio: 1;
  transform: scale(calc(1 + (var(--scroll-progress) * 0.08)));
  filter: blur(calc(var(--scroll-progress) * 4px));
}

.moon {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 35% 35%, #E8ECF2 0%, #C8D0DC 25%, #8B929E 50%, #3A3D4A 75%, #0A0B10 100%);
  box-shadow: 0 0 28px rgba(200, 208, 220, 0.16);
  transform-origin: -150px -120px;
}

.moon-one { width: 28px; height: 28px; animation: orbit-one 8s linear infinite; }
.moon-two { width: 42px; height: 42px; animation: orbit-two 13s linear infinite; }
.moon-three { width: 60px; height: 60px; animation: orbit-three 21s linear infinite; }
.moon-four { width: 20px; height: 20px; animation: orbit-four 34s linear infinite; }

.hero-title {
  position: relative;
  z-index: 3;
  margin: 0;
  color: var(--silver);
  font-family: "Space Mono", monospace;
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(78, 205, 196, 0.24), 0 0 80px rgba(123, 94, 167, 0.18);
}

.hero-title span {
  display: inline-block;
  animation: title-converge 2s cubic-bezier(0.16, 1, 0.3, 1) both, letter-drift 5.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 90ms), calc(2s + var(--i) * -320ms);
  transform: translate(calc(var(--sx) + (var(--scroll-progress) * (var(--i) - 3) * 6px)), calc(var(--sy) + (var(--scroll-progress) * 24px)));
}

.tagline {
  position: absolute;
  z-index: 3;
  top: calc(50% + clamp(3.7rem, 9vw, 7.4rem));
  margin: 0;
  color: var(--pearl);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  letter-spacing: 0.18em;
  font-weight: 300;
  animation: whisper-in 2.4s 1.2s ease both;
}

.descent-cue {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  width: 1px;
  height: 24px;
  background: rgba(200, 208, 220, 0.4);
  animation: cue-pulse 1.8s ease-in-out infinite;
}

.descent-cue::after {
  content: "";
  position: absolute;
  left: -4px;
  bottom: 0;
  width: 9px;
  height: 9px;
  border-right: 1px solid rgba(200, 208, 220, 0.4);
  border-bottom: 1px solid rgba(200, 208, 220, 0.4);
  transform: rotate(45deg);
}

.content-cluster { position: relative; z-index: 3; max-width: 62vw; }
.signal { min-height: 80vh; }
.signal-copy { width: min(650px, 64vw); margin: 10vh auto 0 4vw; }
.bloom-copy { width: min(640px, 62vw); margin-left: auto; margin-right: 7vw; padding-top: 18vh; }

.eyebrow {
  margin: 0 0 1rem;
  color: rgba(139, 146, 158, 0.7);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.65rem, 0.9vw, 0.8rem);
  letter-spacing: 0.06em;
}

h2 {
  margin: 0 0 1.4rem;
  color: var(--silver);
  font-family: "Space Mono", monospace;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

p {
  color: var(--pearl);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.glitch-title {
  position: relative;
  display: inline-block;
  animation: glitch-clip 5.2s steps(1, end) infinite;
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
}

.glitch-title::before { color: var(--violet); animation: glitch-shift-a 6s steps(1, end) infinite; }
.glitch-title::after { color: var(--cyan); animation: glitch-shift-b 7s steps(1, end) infinite; }

.sphere-cluster {
  position: absolute;
  right: 11vw;
  top: 24vh;
  width: 300px;
  height: 300px;
  z-index: 2;
}

.sphere-cluster .small { width: 70px; height: 70px; position: absolute; left: 20px; top: 80px; }
.sphere-cluster .tiny { width: 34px; height: 34px; position: absolute; right: 30px; top: 20px; }
.sphere-cluster .medium { width: 118px; height: 118px; position: absolute; right: 52px; bottom: 24px; }

.glitch-weather::before,
.glitch-weather::after,
.blush-weather::before,
.blush-weather::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 92px;
  z-index: 2;
  animation: glitch-flicker 3.9s steps(1, end) infinite;
}

.glitch-weather::before { background: var(--violet); left: 68%; top: 27%; }
.glitch-weather::after { background: var(--cyan); left: 13%; top: 66%; animation-delay: 1.8s; }
.blush-weather::before { background: var(--blush); right: 14%; top: 28%; }
.blush-weather::after { background: var(--blush); left: 9%; bottom: 26%; animation-delay: 1.1s; }

.code-whisper,
.whisper-field span {
  position: absolute;
  color: rgba(200, 208, 220, 0.25);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.65rem, 0.9vw, 0.8rem);
  letter-spacing: 0.06em;
  transform: translateY(calc(var(--scroll-progress) * -30px));
}

.whisper-a { right: 12vw; bottom: 16vh; animation: code-rotate 150s linear infinite; }
.whisper-b { left: 11vw; top: 22vh; color: rgba(212, 132, 122, 0.42); animation: code-rotate 180s linear infinite reverse; }
.whisper-c { left: 50%; top: 20vh; opacity: 0.18; animation: code-rotate 140s linear infinite; }

.drift { min-height: 90vh; --glow-alpha: 0.15; }
.whisper-field { position: absolute; inset: 0; opacity: 0.8; }
.whisper-field span:nth-child(1) { left: 6vw; top: 18vh; }
.whisper-field span:nth-child(2) { left: 36vw; top: 24vh; }
.whisper-field span:nth-child(3) { right: 9vw; top: 38vh; }
.whisper-field span:nth-child(4) { left: 12vw; bottom: 26vh; }
.whisper-field span:nth-child(5) { right: 30vw; bottom: 18vh; }
.whisper-field span:nth-child(6) { right: 8vw; bottom: 9vh; }

.sticky-statement {
  position: sticky;
  top: 40vh;
  z-index: 3;
  width: min(720px, 64vw);
  margin-left: auto;
  margin-right: 4vw;
}

.sticky-statement h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.bloom { min-height: 85vh; }
.blush { color: var(--blush); }
.bloom-title { color: var(--blush); text-shadow: 0 0 32px rgba(212, 132, 122, 0.18); }

.bloom-sphere {
  position: absolute;
  left: 11vw;
  top: 20vh;
  width: clamp(120px, 24vw, 300px);
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 34% 26%, rgba(232,236,242,0.88), transparent 10%),
    radial-gradient(ellipse at 38% 34%, #E8ECF2 0%, #D4847A 22%, #C8D0DC 42%, #8B929E 60%, #3A3D4A 78%, #0A0B10 100%);
}

.fade { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.fade-copy { transform: translateY(calc(var(--scroll-progress) * 60px)); }
.fade-copy p { margin: 1.2rem 0; opacity: calc(0.75 - var(--scroll-progress) * 0.25); }
.final-name {
  position: absolute;
  bottom: 12vh;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(200, 208, 220, 0.3);
  font-family: "Space Mono", monospace;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.scan-band {
  position: relative;
  z-index: 2;
  width: 100vw;
  height: 50px;
  overflow: hidden;
}

.scan-band i {
  display: block;
  height: 1px;
  width: 100%;
  margin: 5px 0;
  opacity: calc(0.04 + var(--n, 1) * 0.018);
  background: var(--silver);
  transform: translateX(calc(var(--scroll-progress) * 15px));
}
.scan-band.reverse i { transform: translateX(calc(var(--scroll-progress) * -15px)); }
.scan-band i:nth-child(2n) { --n: 2; }
.scan-band i:nth-child(3n) { --n: 5; }

.chrome-nav {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  z-index: 50;
  display: flex;
  gap: clamp(0.8rem, 3vw, 2rem);
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(200, 210, 220, 0.15);
  border-radius: 999px;
  background: rgba(18, 19, 26, 0.42);
  backdrop-filter: blur(20px) saturate(150%);
  transform: translate(-50%, 130%);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.chrome-nav.visible { opacity: 1; transform: translate(-50%, 0); }
.chrome-nav:hover { border-color: rgba(232, 236, 242, 0.5); }
.chrome-nav a {
  display: inline-block;
  color: var(--silver);
  text-decoration: none;
  font-family: "Space Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  transition: color 0.3s ease, transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), text-shadow 0.3s ease;
}
.chrome-nav a:hover { color: var(--white); text-shadow: 0 0 16px rgba(78, 205, 196, 0.55); }

.reveal { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

@keyframes sphere-breathe { 0%,100% { background-position: 0 0; } 50% { background-position: 28px -18px; } }
@keyframes orbit-one { to { transform: rotate(360deg) translateX(220px) rotate(-360deg); } }
@keyframes orbit-two { to { transform: rotate(-360deg) translateX(310px) rotate(360deg); } }
@keyframes orbit-three { to { transform: rotate(360deg) translateX(390px) rotate(-360deg); } }
@keyframes orbit-four { to { transform: rotate(-360deg) translateX(165px) rotate(360deg); } }
@keyframes title-converge { from { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(0.92); filter: blur(8px); } to { opacity: 1; transform: translate(0, 0) scale(1); filter: blur(0); } }
@keyframes letter-drift { 0%,100% { margin-inline: 0; } 50% { margin-inline: 3px; } }
@keyframes whisper-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cue-pulse { 0%,100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 0.65; transform: translateY(10px); } }
@keyframes glitch-clip { 0%, 92%, 100% { clip-path: inset(0); transform: translateX(0); } 93% { clip-path: inset(18% 0 42% 0); transform: translateX(3px); } 94% { clip-path: inset(62% 0 12% 0); transform: translateX(-2px); } }
@keyframes glitch-shift-a { 0%, 90%, 100% { opacity: 0; transform: translate(0); } 91%, 93% { opacity: 0.6; transform: translate(3px, -1px); } }
@keyframes glitch-shift-b { 0%, 84%, 100% { opacity: 0; transform: translate(0); } 85%, 87% { opacity: 0.55; transform: translate(-2px, 1px); } }
@keyframes glitch-flicker { 0%, 78%, 100% { opacity: 0; transform: translate(0); width: 34px; } 79% { opacity: 0.65; transform: translate(8px, -2px); width: 118px; } 80% { opacity: 0; } 83% { opacity: 0.5; transform: translate(-3px, 2px); width: 76px; } 84% { opacity: 0; } }
@keyframes code-rotate { to { rotate: 360deg; } }

@media (max-width: 760px) {
  .hero-title { font-size: clamp(3.2rem, 17vw, 5rem); letter-spacing: 0.03em; }
  .tagline { width: 78vw; text-align: center; letter-spacing: 0.08em; }
  .content-cluster, .signal-copy, .bloom-copy, .sticky-statement { width: auto; max-width: none; margin: 0; padding-top: 14vh; }
  .sphere-cluster { opacity: 0.45; right: -7rem; }
  .bloom-sphere { opacity: 0.36; left: -4rem; }
  .chrome-nav { gap: 0.65rem; width: calc(100vw - 2rem); justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .chrome-nav { opacity: 1; transform: translate(-50%, 0); }
  .cursor-field { display: none; }
}
