:root {
  --bg: #05040a;
  --cream: #f4f1ea;
  --muted: #a7a3b5;
  --faint: #6f6b7c;
  --line: rgba(244, 241, 234, 0.14);
  --acid: #d6ff4a;
  --ink: #100e14;
  --serif: Syne, "Arial Black", sans-serif;
  --sans: Sora, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.55;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: -15%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(120, 90, 255, 0.28), transparent 46%),
    radial-gradient(ellipse at 85% 20%, rgba(80, 210, 255, 0.12), transparent 42%),
    radial-gradient(ellipse at 70% 100%, rgba(214, 255, 74, 0.08), transparent 40%);
}
::selection { background: var(--acid); color: var(--ink); }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, .btn { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  height: 2px;
  width: 0;
  background: var(--acid);
  pointer-events: none;
}

#sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero .kicker,
.hero .wordmark,
.hero .hero-bottom,
.hero .hero-meta,
.seal { z-index: 1; }

.glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 320px;
  height: 320px;
  margin: -160px 0 0 -160px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(160, 140, 255, 0.22), rgba(214, 255, 74, 0.05) 42%, transparent 68%);
  mix-blend-mode: screen;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.site-header,
main,
.site-footer { position: relative; z-index: 2; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 28px;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 4, 10, 0.78);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.logo {
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -0.06em;
  text-decoration: none;
  font-size: 1.25rem;
}
.site-header nav {
  display: flex;
  gap: 22px;
}
.site-header nav a {
  text-decoration: none;
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-header nav a:hover,
.site-header nav a:focus-visible { color: var(--acid); }
.live {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acid);
}
.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.eq i {
  display: block;
  width: 2px;
  height: 100%;
  background: var(--acid);
  transform-origin: bottom;
  animation: eq 0.9s ease-in-out infinite alternate;
}
.eq i:nth-child(2) { animation-delay: 0.15s; }
.eq i:nth-child(3) { animation-delay: 0.28s; }
.eq i:nth-child(4) { animation-delay: 0.08s; }
@keyframes eq {
  from { transform: scaleY(0.3); }
  to { transform: scaleY(1); }
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px max(24px, calc((100vw - 1120px) / 2)) 32px;
}
.seal {
  position: absolute;
  top: 104px;
  right: max(24px, calc((100vw - 1120px) / 2));
  width: min(148px, 26vw);
  color: var(--cream);
  animation: spin 42s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.kicker {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acid);
}
.wordmark {
  margin: 0;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(5.4rem, 20vw, 15.5rem);
  line-height: 0.78;
  letter-spacing: -0.075em;
  background: linear-gradient(110deg, #f7f4ff 0%, #f7f4ff 28%, #d6ff4a 46%, #8af6ff 62%, #e2b0ff 78%, #f7f4ff 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s ease-in-out infinite;
}
@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-bottom {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: end;
  margin-top: 22px;
}
.lede {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.deck {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  font-weight: 300;
  font-size: 1.05rem;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  margin-top: 22px;
  padding: 14px 20px;
  background: var(--acid);
  color: var(--ink);
  text-decoration: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.btn:hover,
.btn:focus-visible { background: var(--cream); }
.btn.ghost {
  background: transparent;
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(244, 241, 234, 0.55);
}
.btn.ghost:hover,
.btn.ghost:focus-visible {
  background: var(--cream);
  color: var(--ink);
}
.join-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.join-row .btn { margin-top: 0; }
.text-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.text-btn:hover,
.text-btn:focus-visible { color: var(--acid); }
.btn:focus-visible,
.site-header nav a:focus-visible,
.logo:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

.marquee-wrap {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--acid);
  color: var(--ink);
  border-top: 1px solid #05040a;
  border-bottom: 1px solid #05040a;
}
.marquee {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.marquee p {
  margin: 0;
  padding: 12px 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.block { padding: 108px 0; }
.block-tight { padding-top: 40px; }
section { scroll-margin-top: 84px; }

h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  letter-spacing: -0.05em;
  line-height: 0.94;
}
.section-lead {
  max-width: 62ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-weight: 300;
  font-size: 1.12rem;
}

.tenets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.tenets article {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.tenets h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}
.tenets p,
.modes p,
.steps p {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
}

.modes {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.modes li {
  display: grid;
  grid-template-columns: 4.5rem max-content minmax(0, 1fr);
  column-gap: 1.75rem;
  align-items: center;
  margin: 0 -18px;
  padding: 26px 18px;
  border-top: 1px solid var(--line);
  transition: background 0.2s ease, color 0.2s ease;
}
.modes h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  white-space: nowrap;
}
.modes p {
  min-width: 0;
}
.num {
  font-family: var(--serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--acid);
}
.modes li:hover,
.modes li:focus-within {
  background: var(--acid);
  color: var(--ink);
}
.modes li:hover p,
.modes li:hover .num,
.modes li:focus-within p,
.modes li:focus-within .num { color: #2c2a12; }

.poster {
  position: relative;
  z-index: 2;
  background: #efeae2;
  color: var(--ink);
  padding: 120px 0;
}
.poster .kicker { color: #5c564c; }
.poster h2 {
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  max-width: 12ch;
}

.night-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps strong {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.pull-section { padding-bottom: 120px; }
.pull {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.copy-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--acid);
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 28px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  gap: 18px;
}
.footer-row a { color: inherit; text-decoration: none; }
.footer-row a:hover,
.footer-row a:focus-visible { color: var(--acid); }

.lost {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px max(24px, calc((100vw - 1120px) / 2)) 72px;
}
.lost h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(4rem, 12vw, 9rem);
  letter-spacing: -0.06em;
  line-height: 0.88;
}
.lost .deck { margin-top: 18px; }

@media (max-width: 860px) {
  .site-header { padding: 16px 18px; }
  .site-header nav { gap: 14px; }
  .live { display: none; }
  .hero { padding: 108px 18px 24px; }
  .seal { top: 88px; right: 18px; width: 92px; }
  .hero-bottom,
  .tenets,
  .night-grid,
  .pull,
  .modes li,
  .steps li { grid-template-columns: 1fr; }
  .modes li { gap: 6px 0; margin: 0; padding-left: 0; padding-right: 0; }
  .modes h3 { white-space: normal; }
  .modes li:hover,
  .modes li:focus-within { padding-left: 12px; padding-right: 12px; }
  .wrap { width: min(1120px, calc(100% - 36px)); }
  .block { padding: 76px 0; }
  .poster { padding: 80px 0; }
  .footer-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  .wordmark {
    background: none;
    color: var(--cream);
    -webkit-text-fill-color: var(--cream);
  }
}

@media (pointer: coarse) {
  .glow { display: none; }
}
