/* GALAXION — Ultra Premium Agency · €50k tier · bytly-adjacent craft */
:root {
  --bg: #03040a;
  --void: #05060f;
  --text: #eef2ff;
  --dim: #8b93b0;
  --mute: #4a5168;
  --star: #f0f4ff;
  --core: #ffc97a;
  --arm: #7eb6ff;
  --nebula: #ff6b9d;
  --oiii: #5affe0;
  --dust: #3d2a1f;
  --line: rgba(126, 182, 255, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, sans-serif;
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--arm); color: #03040a; }
a { color: inherit; text-decoration: none; }

#webgl {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none; display: block;
}
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, transparent 20%, rgba(3,4,10,0.55) 100%),
    linear-gradient(180deg, rgba(3,4,10,0.4) 0%, transparent 25%, transparent 70%, rgba(3,4,10,0.7) 100%);
}
.noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

header, main, footer, section { position: relative; z-index: 5; }

header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 5vw;
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  mix-blend-mode: difference;
}
.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
nav ul { display: flex; gap: 28px; list-style: none; }
nav a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s;
}
nav a:hover, nav a.active { color: #fff; }
@media (max-width: 800px) { nav ul { display: none; } }

/* Scroll chapters — tall sections drive camera */
.chapter {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12vh 6vw;
  max-width: 720px;
}
.chapter.right { margin-left: auto; text-align: right; }
.chapter.center { margin: 0 auto; text-align: center; max-width: 640px; }

.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--arm);
  margin-bottom: 20px;
  opacity: 0.9;
}
.chapter h1, .chapter h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 5.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.chapter h2 { font-size: clamp(26px, 4vw, 44px); }
.chapter p {
  color: var(--dim);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.85;
  max-width: 42ch;
}
.chapter.right p, .chapter.center p { margin-left: auto; margin-right: auto; }
.chapter.right p { margin-right: 0; }

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 6vw;
}
.hero .kicker { margin-bottom: 24px; }
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 8vw, 88px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, var(--arm) 45%, var(--nebula) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  color: var(--dim);
  font-size: 18px;
  font-weight: 300;
  max-width: 36ch;
  line-height: 1.8;
  margin-bottom: 40px;
}
.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mute);
}
.scroll-cue::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  margin: 12px auto 0;
  background: linear-gradient(to bottom, var(--arm), transparent);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(126, 182, 255, 0.35);
  color: var(--star);
  transition: all 0.35s var(--ease);
  background: rgba(126, 182, 255, 0.06);
}
.btn:hover {
  background: var(--arm);
  color: #03040a;
  border-color: var(--arm);
  box-shadow: 0 0 40px rgba(126, 182, 255, 0.35);
}

.spacer { height: 40vh; }

footer {
  padding: 80px 6vw 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--mute);
  font-size: 12px;
  letter-spacing: 0.06em;
}
footer .logo { margin-bottom: 8px; color: var(--text); }

.progress {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.progress span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: all 0.4s;
}
.progress span.on {
  background: var(--arm);
  box-shadow: 0 0 10px var(--arm);
  transform: scale(1.4);
}
@media (max-width: 700px) { .progress { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue::after { animation: none; }
}
