:root {
  --bg: #1a0a22;
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.82);
  --field: rgba(255, 255, 255, 0.1);
  --field-line: rgba(255, 255, 255, 0.1);
  --accent: #ff6fd8;
  --accent-2: #b48cff;
  --glow: rgba(255, 111, 216, 0.35);
  --btn-a: #ffe259;
  --btn-b: #ffa751;
  --err: #ffb3c7;
  --fade: 1.1s;
  /* side panel base gradient; each artist overrides these via data-theme */
  --panel-a: #2a0f3d;
  --panel-b: #3c1250;
  --panel-c: #1a0a22;
}
/* registered so the panel colours fade smoothly when the headliner changes */
@property --panel-a { syntax: "<color>"; inherits: true; initial-value: #2a0f3d; }
@property --panel-b { syntax: "<color>"; inherits: true; initial-value: #3c1250; }
@property --panel-c { syntax: "<color>"; inherits: true; initial-value: #1a0a22; }
@property --accent { syntax: "<color>"; inherits: true; initial-value: #ff6fd8; }
@property --accent-2 { syntax: "<color>"; inherits: true; initial-value: #b48cff; }

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
}

/* ---------- left: headliner carousel ---------- */
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}
.slides, .slide { position: absolute; inset: 0; margin: 0; }
.slide {
  opacity: 0;
  transition: opacity var(--fade) ease;
}
.slide.is-active { opacity: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  display: block;
  transform: scale(1.06);
  transition: transform 7s ease-out;
}
.slide.is-active img { transform: scale(1); }

.pips {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pip {
  appearance: none;
  border: 0;
  padding: 6px 2px;
  background: none;
  cursor: pointer;
}
.pip span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  position: relative;
  overflow: hidden;
  transition: width 0.35s ease, background 0.35s ease;
}
.pip:hover span { background: rgba(255, 255, 255, 0.75); }
.pip.is-active span { width: 34px; background: rgba(255, 255, 255, 0.3); }
.pip.is-active span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  animation: pip-fill var(--interval, 6s) linear forwards;
}
.paused .pip.is-active span::after { animation-play-state: paused; }
@keyframes pip-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pip:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 999px; }

/* ---------- right: info + signup ---------- */
.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 24px 24px;
  background:
    radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--accent-2) 35%, transparent), transparent 60%),
    radial-gradient(90% 60% at 0% 100%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 65%),
    linear-gradient(160deg, var(--panel-a) 0%, var(--panel-b) 45%, var(--panel-c) 100%);
  transition: --panel-a 1s ease, --panel-b 1s ease, --panel-c 1s ease, --accent 1s ease, --accent-2 1s ease;
}
.panel-inner {
  width: 100%;
  max-width: 620px;
  margin: auto;
  text-align: center;
}
h1 {
  margin: 0;
  font-family: "Archivo Black", "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 .logo {
  display: block;
  width: min(100%, 460px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.35));
}
h1 .sub {
  display: block;
  margin-top: 14px;
  font-size: clamp(18px, 1.7vw, 24px);
  letter-spacing: 0.02em;
}
.lineup {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  margin: 18px 0 0;
  font-family: "Archivo Black", "Inter", sans-serif;
  font-size: clamp(15px, 1.4vw, 19px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lineup i { font-style: normal; color: var(--accent); font-size: 0.8em; transition: color 0.8s ease; }
.lineup a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.6s ease, text-shadow 0.6s ease, border-color 0.2s;
}
.lineup a:hover { border-bottom-color: var(--accent); }
.lineup a.is-current { color: #fff; text-shadow: 0 0 18px var(--glow); }
.lineup a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.lede {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.signup, .thanks, .gate { margin-top: 34px; }
.signup h2, .thanks h2, .gate h2 {
  margin: 0 0 16px;
  font-family: "Archivo Black", "Inter", sans-serif;
  font-weight: 400;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.thanks p { margin: 0; color: var(--ink-soft); line-height: 1.6; }

.signup, .gate { text-align: left; }
.signup h2 { text-align: center; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field { margin-bottom: 8px; }
.field label {
  display: block;
  margin: 0 0 6px 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.field input, .field select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font: 500 15px/1 "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--field-line);
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input::placeholder { color: rgba(255, 255, 255, 0.45); }
.field input:focus, .field select:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 3px var(--glow);
}
.field.select { position: relative; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px; }
.field select option { color: #111; }
.field.select::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 21px;
  border: 5px solid transparent;
  border-top-color: #fff;
  pointer-events: none;
}
.field.invalid input, .field.invalid select { border-color: var(--err); box-shadow: 0 0 0 3px rgba(255, 120, 150, 0.25); }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 22px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--accent); cursor: pointer; }
.consent.invalid span { color: var(--err); }

.submit {
  display: block;
  margin: 0 auto;
  min-width: 180px;
  height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 6px;
  font-family: "Archivo Black", "Inter", sans-serif;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #2a0f3d;
  background: linear-gradient(180deg, var(--btn-a), var(--btn-b));
  box-shadow: 0 8px 24px rgba(255, 180, 60, 0.3);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}
.submit:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(255, 180, 60, 0.42); }
.submit:active { transform: translateY(1px); }
.submit:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.submit[disabled] { filter: saturate(0.4) brightness(0.85); cursor: wait; }
.status { min-height: 1.4em; margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--err); }

.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;
}
.gate .submit { margin-top: 18px; }
.gate h2, .denied h2 { text-align: center; }
.denied { margin-top: 34px; }
.denied h2 {
  margin: 0 0 12px;
  font-family: "Archivo Black", "Inter", sans-serif;
  font-weight: 400;
  font-size: 19px;
  text-transform: uppercase;
}
.denied p { margin: 0; color: var(--ink-soft); line-height: 1.6; }
.signup[hidden], .gate[hidden], .denied[hidden], .thanks[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.foot {
  margin-top: 40px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.foot p { margin: 0; }
.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.foot-links a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero.single .pips { display: none; }

/* ---------- small screens: stack ---------- */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .hero { position: relative; height: auto; aspect-ratio: 1 / 1; max-height: 78vh; }
  .panel { padding: 40px 16px 20px; }
  .pips { bottom: 16px; }
}
@media (max-width: 480px) {
  .row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  :root { --fade: 0s; }
  .slide img, .slide.is-active img { transform: none; transition: none; }
  .pip.is-active span::after { animation: none; transform: scaleX(1); }
}
.foot-links a[aria-current="page"] { color: #fff; font-weight: 600; }

/* privacy link under the signup form */
.privacy-link { margin: 6px 0 0; text-align: center; font-size: 12px; }
.privacy-link a { color: rgba(255, 255, 255, 0.6); text-decoration: underline; text-underline-offset: 3px; }
.privacy-link a:hover { color: #fff; }

/* privacy policy page */
body.doc { min-height: 100vh; }
.doc-page { min-height: 100vh; display: block; padding: 48px 16px 64px; }
.doc-inner { max-width: 720px; margin: 0 auto; line-height: 1.65; color: var(--ink-soft); font-size: 15px; }
.doc-inner h1 { text-align: left; font-size: clamp(28px, 4vw, 40px); color: #fff; margin: 12px 0 4px; }
.doc-inner h2 { font-family: "Archivo Black", "Inter", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: 18px; color: #fff; margin: 32px 0 8px; letter-spacing: 0.01em; }
.doc-inner h3 { font-size: 15px; color: #fff; margin: 18px 0 4px; }
.doc-inner ul { padding-left: 20px; margin: 8px 0; }
.doc-inner li { margin: 4px 0; }
.doc-inner a { color: var(--accent); }
.doc-updated { font-size: 13px; color: rgba(255, 255, 255, 0.5); margin: 0 0 20px; }
.doc-back { font-size: 14px; margin: 0; }
.doc-back:last-child { margin-top: 40px; }
