:root {
  --bg: #090a0f;
  --ink: #f2f0e9;
  --muted: #94939d;
  --line: rgba(242, 240, 233, .14);
  --violet: #bba6ff;
  --cyan: #9ce4db;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.section-wrap { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }

#constellation { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .7; z-index: 0; }
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .055; 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
.site-header, main, .site-footer { position: relative; z-index: 2; }
.site-header { width: min(1280px, calc(100% - 64px)); margin: 0 auto; height: 84px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.mark { font: 500 12px var(--mono); letter-spacing: .08em; }
.mark span { color: var(--violet); padding: 0 5px; }
nav { display: flex; gap: 30px; font: 400 11px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
nav a:hover { color: var(--ink); }
.header-state { color: var(--muted); font: 400 10px var(--mono); letter-spacing: .05em; }
.header-state i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); margin-right: 7px; box-shadow: 0 0 12px var(--cyan); }

.hero { min-height: calc(100vh - 84px); padding: 12vh 0 9vh; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(90deg, var(--bg) 0%, rgba(9,10,15,.96) 33%, rgba(9,10,15,.55) 66%, rgba(9,10,15,.18) 100%), url("hero-portal.png") center right / cover no-repeat; }
.eyebrow, .section-label, .pulse-head, .site-footer { font: 400 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.eyebrow { color: var(--cyan); }
h1 { max-width: 900px; margin: 0; font-size: clamp(4rem, 10.5vw, 9.5rem); line-height: .92; letter-spacing: -.085em; font-weight: 700; }
em { color: var(--violet); font-style: normal; }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.hero-actions { display: flex; align-items: end; gap: 32px; }
.hero-intro { max-width: 355px; color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.scroll-cue { font: 400 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.scroll-cue span { display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; height: 37px; width: 37px; margin-right: 9px; color: var(--cyan); font-size: 16px; transition: transform .3s; }
.scroll-cue:hover span { transform: translateY(4px); }
.audio-note { display: flex; flex-direction: column; gap: 10px; color: var(--muted); font: 400 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.audio-note audio { width: 210px; height: 29px; opacity: .8; filter: invert(1) hue-rotate(185deg) saturate(.55); }

section { padding: 140px 0; }
.section-label { display: flex; gap: 25px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.section-label span:first-child { color: var(--violet); }
.letter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14%; padding-top: 55px; }
.letter-lead { font-size: clamp(2rem, 4vw, 4.1rem); line-height: 1.04; letter-spacing: -.06em; margin: 0; max-width: 480px; }
.letter-copy { color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 470px; }
.letter-copy p { margin: 0 0 25px; }
.accent { color: var(--ink); }
.signature { color: var(--violet); font: 400 12px/1.7 var(--mono); margin-top: 50px !important; }
.signature small { color: var(--muted); font-size: 10px; }

.manifesto-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding-top: 55px; }
.manifesto-list article { min-height: 390px; padding: 25px; border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .3s, background .3s; }
.manifesto-list article:hover { border-color: rgba(187,166,255,.6); background: rgba(187,166,255,.045); }
.manifesto-number { color: var(--cyan); font: 400 11px var(--mono); }
.manifesto h2 { font-size: clamp(1.8rem, 3vw, 3.2rem); line-height: 1; letter-spacing: -.06em; margin: auto 0 30px; }
.manifesto p { color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 270px; margin: 0; }

.pulse-card { margin-top: 55px; border: 1px solid var(--line); padding: clamp(25px, 5vw, 65px); background: linear-gradient(120deg, rgba(156,228,219,.05), rgba(187,166,255,.04)); }
.pulse-head { display: flex; gap: 10px; align-items: center; }
.live-dot { width: 7px; height: 7px; background: var(--cyan); display: inline-block; border-radius: 50%; box-shadow: 0 0 15px var(--cyan); }
.pulse-time { margin-left: auto; }
.pulse-quote { font-size: clamp(1.8rem, 4vw, 4.5rem); line-height: 1.05; letter-spacing: -.07em; max-width: 900px; margin: 85px 0 70px; }
button { border: 0; border-bottom: 1px solid var(--violet); color: var(--ink); background: transparent; padding: 0 0 9px; font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
button span { color: var(--violet); margin-left: 11px; font-size: 15px; }

.closing { min-height: 72vh; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.closing-question { font-size: clamp(3.5rem, 9vw, 9rem); line-height: .9; letter-spacing: -.09em; margin: 0; }
.closing-note { color: var(--muted); font: 400 11px var(--mono); max-width: 130px; line-height: 1.6; }
.site-footer { border-top: 1px solid var(--line); padding: 22px 0 35px; display: flex; justify-content: space-between; }

.reveal { animation: reveal 1s both; }
.reveal:nth-child(2) { animation-delay: .12s; }
.reveal:nth-child(3) { animation-delay: .24s; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 700px) {
  .section-wrap, .site-header { width: min(100% - 36px, 1180px); }
  .site-header { height: 70px; }
  nav { gap: 12px; }
  .header-state { display: none; }
  .hero { min-height: 88vh; padding: 9vh 0 8vh; }
  .hero-bottom, .closing { display: block; }
  .hero-actions { display: block; }
  .scroll-cue { display: block; margin-top: 35px; }
  .audio-note { margin-top: 35px; }
  section { padding: 95px 0; }
  .letter-grid, .manifesto-list { grid-template-columns: 1fr; gap: 45px; }
  .letter-copy { font-size: 14px; }
  .manifesto-list article { min-height: 330px; }
  .pulse-quote { margin: 60px 0 50px; }
  .closing { min-height: 65vh; }
  .closing-note { margin-top: 40px; }
  .site-footer { gap: 12px; flex-wrap: wrap; }
}
