:root {
    --ink: #0b0a11;
    --paper: #f2efe7;
    --lime: #d8ff45;
    --pink: #ff52c6;
    --orange: #ff7048;
    --blue: #6873ff;
    --muted: #a9a5af;
    --line: rgba(242, 239, 231, 0.22);
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ink); color: var(--paper); font-family: "Space Grotesk", sans-serif; overflow-x: hidden; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }

.nova-universe { position: relative; height: 500vh; background: var(--ink); isolation: isolate; }
.noise { position: fixed; inset: -50%; z-index: 50; opacity: 0.075; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: noise 0.2s steps(2) infinite; }
.star-field { position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(242, 239, 231, 0.7) 0 1px, transparent 1px), radial-gradient(circle, rgba(216, 255, 69, 0.45) 0 1px, transparent 1px); background-size: 83px 91px, 137px 113px; opacity: 0.3; transform: rotate(10deg) scale(1.2); }
.gm-watermark { position: fixed; right: 22px; bottom: 18px; z-index: 60; margin: 0; color: rgba(242, 239, 231, 0.38); font-size: 0.57rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); pointer-events: none; }
.gm-copyright { position: fixed; left: 6vw; bottom: 18px; z-index: 60; margin: 0; color: rgba(242, 239, 231, 0.38); font-size: 0.55rem; letter-spacing: 0.08em; pointer-events: none; }

.camera { width: 100%; height: 100svh; position: sticky; top: 0; z-index: 2; overflow: hidden; perspective: 1400px; transform-style: preserve-3d; }
.camera-grid { position: absolute; inset: -30%; z-index: -1; opacity: 0.13; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 70px 70px; transform: perspective(500px) rotateX(62deg) translateY(38%) scale(2); transform-origin: center bottom; }
.camera-glow { width: 55vw; height: 55vw; position: absolute; z-index: -1; top: -15vw; left: 35%; border-radius: 50%; background: var(--blue); filter: blur(130px); opacity: 0.2; mix-blend-mode: screen; transition: background 1.2s ease, transform 1.2s ease; }

.nova-header { position: absolute; z-index: 10; top: 5vh; left: 6vw; right: 6vw; display: flex; align-items: center; justify-content: space-between; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.nova-logo { display: flex; align-items: center; gap: 1px; font-size: 1.15rem; letter-spacing: -0.08em; }
.logo-n { color: var(--pink); font-family: "DM Serif Display", serif; font-size: 1.9rem; font-style: italic; }
.nova-logo i { color: var(--lime); font-style: normal; }
.header-location { color: var(--muted); }
.header-exit { padding-bottom: 5px; border-bottom: 1px solid var(--paper); }
.header-exit span, .chapter-link span, .contact-link span { color: var(--pink); font-size: 1.2rem; }
.chapter-count { position: absolute; z-index: 10; right: 6vw; bottom: 5vh; color: var(--paper); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em; }
.chapter-count i { margin: 0 8px; color: var(--pink); font-style: normal; }
.scroll-prompt { position: absolute; z-index: 10; left: 6vw; bottom: 5vh; color: var(--muted); font-size: 0.62rem; letter-spacing: 0.13em; text-transform: uppercase; transition: opacity 400ms ease; }
.scroll-prompt span { display: inline-block; margin-left: 10px; color: var(--lime); font-size: 1rem; animation: bob 1.5s ease-in-out infinite; }
.progress-track { width: 1px; height: 30vh; position: absolute; z-index: 10; right: 3vw; top: 35vh; background: rgba(242, 239, 231, 0.2); }
.progress-track span { width: 3px; height: 0; position: absolute; top: 0; left: -1px; display: block; background: var(--lime); box-shadow: 0 0 12px var(--lime); }

.chapter { width: 100%; height: 100%; position: absolute; inset: 0; display: grid; align-items: center; grid-template-columns: 0.9fr 1.1fr; gap: 7vw; padding: 10vh 11vw; opacity: 0; visibility: hidden; transform: translate3d(0, 90px, -500px) rotateX(12deg) scale(0.78); transform-style: preserve-3d; pointer-events: none; }
.chapter.is-current { opacity: 1; visibility: visible; transform: translate3d(0, 0, 0) rotateX(0) scale(1); pointer-events: auto; }
.chapter-copy { position: relative; z-index: 3; max-width: 650px; }
.kicker, .chapter-label { margin: 0 0 26px; color: var(--lime); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.chapter-label { color: var(--pink); }
h1, h2 { margin: 0; font-weight: 700; letter-spacing: -0.12em; line-height: 0.79; }
h1 { font-size: clamp(5rem, 12vw, 11rem); }
h2 { font-size: clamp(4rem, 9vw, 9rem); }
h1 em, h2 em { color: var(--lime); font-family: "DM Serif Display", Georgia, serif; font-weight: 400; letter-spacing: -0.09em; }
.chapter-description { max-width: 390px; margin: 42px 0 0; color: var(--muted); font-size: 0.96rem; line-height: 1.7; }
.intro-signature { display: flex; align-items: center; gap: 12px; margin-top: 35px; color: var(--paper); font-size: 0.67rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.intro-signature span { width: 36px; height: 1px; background: var(--lime); }
.intro-signature b { color: var(--pink); font-size: 1.15rem; }

.intro-object, .manifesto-sphere, .poster-galaxy, .project-orbit { position: relative; transform-style: preserve-3d; }
.intro-object { width: min(42vw, 570px); aspect-ratio: 1; margin-left: auto; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(104, 115, 255, 0.34), transparent 58%); }
.intro-ring { position: absolute; inset: 10%; border: 1px solid var(--line); border-radius: 50%; transform-style: preserve-3d; }
.ring-a { transform: rotateX(66deg) rotateZ(20deg); border-color: rgba(216, 255, 69, 0.65); }
.ring-b { inset: 24%; transform: rotateY(66deg) rotateZ(-18deg); border-color: rgba(255, 82, 198, 0.7); }
.ring-c { inset: 39%; border-color: var(--orange); transform: rotateX(66deg) rotateZ(90deg); }
.intro-logo { position: absolute; inset: 42%; display: grid; place-items: center; color: var(--paper); font-size: clamp(3rem, 7vw, 7rem); font-weight: 700; letter-spacing: -0.17em; text-shadow: 0 0 35px var(--pink); }
sup { color: var(--lime); font-size: 0.35em; }

.chapter-manifesto { background: radial-gradient(circle at 85% 30%, rgba(255, 82, 198, 0.13), transparent 25%); }
.manifesto-words { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 38px; }
.manifesto-words span { padding: 9px 11px; border: 1px solid var(--line); border-radius: 100px; color: var(--paper); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; }
.manifesto-sphere { width: min(40vw, 520px); aspect-ratio: 1; margin-left: auto; border-radius: 50%; background: radial-gradient(circle at 38% 35%, var(--lime), var(--orange) 27%, var(--pink) 48%, var(--blue) 70%, transparent 71%); filter: saturate(1.25); box-shadow: -30px 25px 80px rgba(255, 82, 198, 0.2); }
.manifesto-sphere::before { content: ""; position: absolute; inset: -12%; border: 1px solid rgba(242, 239, 231, 0.25); border-radius: 50%; transform: rotateX(68deg) rotateZ(20deg); }
.sphere-line { position: absolute; inset: 10%; border: 1px solid rgba(11, 10, 17, 0.55); border-radius: 50%; }
.sphere-line-a { transform: rotateX(68deg) rotateZ(25deg); }
.sphere-line-b { transform: rotateY(66deg) rotateZ(-20deg); }
.sphere-core { position: absolute; inset: 43%; border-radius: 50%; background: var(--paper); box-shadow: 0 0 25px var(--paper); }

.chapter-posters { background: linear-gradient(110deg, transparent 45%, rgba(104, 115, 255, 0.16)); }
.chapter-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 35px; padding-bottom: 8px; border-bottom: 1px solid var(--paper); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.poster-galaxy { width: min(43vw, 550px); height: min(60vh, 600px); margin-left: auto; perspective: 1200px; }
.poster-card { position: absolute; inset: 0; padding: 7%; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink); font-weight: 700; line-height: 0.8; box-shadow: 20px 28px 0 rgba(0, 0, 0, 0.17); transform-style: preserve-3d; }
.poster-card small, .poster-card i { font-size: 0.6rem; font-style: normal; letter-spacing: 0.13em; line-height: 1.2; text-transform: uppercase; }
.poster-card strong { font-size: clamp(3rem, 6vw, 7rem); letter-spacing: -0.12em; }
.poster-card-back { background: var(--lime); transform: translateZ(-90px) rotate(11deg) translate(10%, -5%); }
.poster-card-main { background: var(--paper); transform: translateZ(0) rotate(-3deg); }
.poster-card-front { background: var(--pink); transform: translateZ(90px) rotate(8deg) translate(-5%, 5%); }
.poster-card-front small { color: var(--blue); }

.chapter-gallery { background: radial-gradient(circle at 75% 50%, rgba(104, 115, 255, 0.2), transparent 36%); }
.project-orbit { width: min(44vw, 570px); aspect-ratio: 1; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; }
.project-orbit::before, .project-orbit::after { content: ""; position: absolute; inset: 14%; border: 1px solid var(--line); border-radius: 50%; transform: rotateX(65deg) rotateZ(20deg); }
.project-orbit::after { inset: 30%; transform: rotateY(65deg) rotateZ(-20deg); }
.orbit-center { position: absolute; inset: 43%; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 3rem; font-weight: 700; letter-spacing: -0.15em; box-shadow: 0 0 40px rgba(216, 255, 69, 0.6); }
.orbit-project { position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 5px; padding: 11px; background: var(--paper); color: var(--ink); box-shadow: 8px 10px 0 rgba(255, 82, 198, 0.7); font-size: 0.63rem; font-weight: 700; letter-spacing: 0.08em; }
.orbit-project b { color: var(--pink); font-size: 0.58rem; }
.project-one { top: 8%; right: 17%; transform: rotate(8deg); }
.project-two { bottom: 14%; left: 6%; transform: rotate(-11deg); }
.project-three { right: 3%; bottom: 27%; transform: rotate(5deg); background: var(--orange); }

.chapter-contact { display: block; padding-top: 22vh; background: var(--orange); color: var(--ink); text-align: center; }
.contact-copy { max-width: none; }
.contact-copy .chapter-label { color: var(--ink); }
.contact-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 55px; padding-bottom: 9px; border-bottom: 1px solid var(--ink); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-link span { color: var(--paper); }
.contact-portal { width: min(70vw, 900px); aspect-ratio: 1; position: absolute; top: 50%; left: 50%; border: 1px solid rgba(11, 10, 17, 0.28); border-radius: 50%; transform: translate(-50%, -45%); }
.contact-portal span { position: absolute; inset: 14%; border: 1px solid rgba(11, 10, 17, 0.2); border-radius: 50%; }
.contact-portal span:nth-child(2) { inset: 28%; }
.contact-portal span:nth-child(3) { inset: 42%; border-color: var(--paper); }

.chapter-nav { position: fixed; z-index: 60; left: 50%; bottom: 4vh; display: flex; gap: 10px; transform: translateX(-50%); }
.chapter-dot { width: 8px; height: 8px; padding: 0; border: 1px solid var(--paper); border-radius: 50%; background: transparent; cursor: pointer; opacity: 0.45; transition: transform 250ms ease, opacity 250ms ease, background 250ms ease; }
.chapter-dot:hover, .chapter-dot.is-active { opacity: 1; transform: scale(1.6); }
.chapter-dot.is-active { border-color: var(--lime); background: var(--lime); box-shadow: 0 0 12px var(--lime); }

@keyframes noise { 0% { transform: translate(0); } 25% { transform: translate(2%, -3%); } 50% { transform: translate(-3%, 2%); } 75% { transform: translate(3%, 3%); } 100% { transform: translate(-2%, -2%); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (max-width: 700px) {
    .nova-universe { height: 500svh; }
    .nova-header { top: 24px; left: 22px; right: 22px; }
    .header-location { display: none; }
    .header-exit { font-size: 0.58rem; }
    .chapter { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 25px; padding: 100px 22px 80px; overflow: hidden; }
    .chapter-copy { max-width: 100%; }
    h1 { font-size: clamp(4.3rem, 19vw, 7rem); }
    h2 { font-size: clamp(3.5rem, 17vw, 6rem); }
    .chapter-description { margin-top: 28px; font-size: 0.88rem; }
    .intro-object, .manifesto-sphere, .poster-galaxy, .project-orbit { width: min(78vw, 370px); margin: 0 auto; }
    .intro-object, .manifesto-sphere, .project-orbit { flex: 0 0 auto; }
    .poster-galaxy { height: min(68vw, 340px); flex: 0 0 auto; }
    .poster-card strong { font-size: clamp(2.3rem, 12vw, 4.5rem); }
    .chapter-posters .chapter-copy { order: 1; }
    .chapter-posters .poster-galaxy { order: 2; }
    .chapter-count { right: 22px; bottom: 27px; }
    .scroll-prompt { left: 22px; bottom: 26px; font-size: 0.53rem; }
    .progress-track { display: none; }
    .gm-watermark { right: 8px; bottom: 10px; font-size: 0.46rem; }
    .gm-copyright { left: 22px; bottom: 10px; font-size: 0.48rem; }
    .chapter-nav { bottom: 25px; }
    .contact-portal { width: 115vw; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
