:root {
  --bg: #0a0710;
  --bg-raised: #110b1c;
  --surface: #150f1f;
  --surface-hover: #1b1428;
  --line: rgba(234, 223, 251, 0.1);
  --line-strong: rgba(234, 223, 251, 0.18);
  --text: #f3ecfb;
  --text-muted: rgba(234, 223, 251, 0.64);
  --text-soft: rgba(234, 223, 251, 0.42);
  --accent: #8a5cff;
  --accent-soft: #b98cff;
  --accent-ink: #0a0710;
  --success: #7ddba3;
  --error: #ff7a8a;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --max-width: 1140px;
  --display: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.accent {
  color: var(--accent);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 7, 16, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-word {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-word em {
  font-style: normal;
  color: var(--accent-soft);
}

.site-nav {
  display: inline-flex;
  gap: 28px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease,
    color 160ms ease, transform 160ms ease;
}

.button-lg {
  min-height: 52px;
  padding: 12px 28px;
  font-size: 1rem;
}

.button-solid {
  background: var(--accent);
  color: var(--accent-ink);
}

.button-solid:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.button-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}

.button-ghost:hover {
  border-color: var(--text-muted);
  background: var(--surface);
}

/* ---------- hero ---------- */

.hero {
  padding: 104px 0 0;
  overflow: hidden;
}

.hero-shell {
  position: relative;
}

.hero-orbit {
  position: absolute;
  top: -24px;
  right: -56px;
  width: min(440px, 36vw);
  height: auto;
  pointer-events: none;
}

@media (max-width: 1020px) {
  .hero-orbit {
    display: none;
  }
}

.hero-title {
  font-size: clamp(2.9rem, 7.4vw, 5.4rem);
  line-height: 1.04;
  max-width: 14ch;
}

.hero-sub {
  max-width: 54ch;
  margin: 28px 0 0;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 36px 0 88px;
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 36s linear infinite;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
}

.marquee-track i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- sections ---------- */

.section {
  padding: 104px 0;
}

.section-alt {
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 44px;
}

.section-head h2,
.mark-copy h2,
.waitlist-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}

.section-head p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

/* ---------- event cards ---------- */

.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.event-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease,
    background 200ms ease;
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--surface-hover);
}

.event-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.event-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  padding: 18px;
}

.event-date {
  margin: 0;
  color: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-body h3 {
  font-size: 1.08rem;
  line-height: 1.3;
}

.event-venue {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.event-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.chip {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.chip-accent {
  border-color: transparent;
  background: rgba(138, 92, 255, 0.16);
  color: var(--accent-soft);
}

/* ---------- steps ---------- */

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.step-num {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--display);
  font-weight: 700;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step p,
.venue-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
}

/* ---------- mark story ---------- */

.mark-story {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 64px;
  align-items: center;
}

.mark-figure svg {
  width: 100%;
  height: auto;
}

.mark-copy p {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 56ch;
}

/* ---------- venues ---------- */

.venue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.venue-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.venue-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

/* ---------- waitlist ---------- */

.waitlist-band {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: 48px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.waitlist-copy p {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 46ch;
}

.waitlist-form {
  display: grid;
  gap: 14px;
}

.field-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.field-input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field-input::placeholder {
  color: var(--text-soft);
}

.field-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(138, 92, 255, 0.22);
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkbox-row input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.submit-button {
  width: 100%;
}

.submit-button.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.form-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  font-size: 0.92rem;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--error);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 56px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand p {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.footer-links {
  display: inline-flex;
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-meta {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

/* ---------- motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee-track {
    animation: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-grid,
  .venue-grid {
    grid-template-columns: 1fr;
  }

  .waitlist-band {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mark-story {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .mark-figure {
    max-width: 260px;
  }
}

@media (max-width: 640px) {
  .shell,
  .header-inner {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-actions {
    margin-bottom: 64px;
  }

  .section {
    padding: 72px 0;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .waitlist-band {
    padding: 28px;
  }
}
