:root {
  --a: #ff2d6f;
  --b: #5a1fff;
  --c: #ffb300;
  --accent: #c8ff1f;
  --ink: #f6f4ef;
  --muted: #a5a2ad;
  --line: rgba(255, 255, 255, 0.16);
  --bg: #050507;
  --display: 'Unbounded', 'Arial Black', sans-serif;
  --body: 'Space Grotesk', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

a { color: inherit; }
h1, h2, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; }
main { flex: 1; outline: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- background ---------- */

.aura {
  position: fixed;
  inset: -20%;
  z-index: -2;
  filter: blur(70px) saturate(130%);
  opacity: 0;
  transition: opacity 0.5s;
  background: var(--b);
}

.is-home .aura { opacity: 1; }

.aura i {
  position: absolute;
  left: -10%;
  right: -10%;
  border-radius: 50%;
  animation: drift 16s ease-in-out infinite alternate;
}

.aura i:nth-child(1) { top: 2%; height: 32%; background: #0a0420; }
.aura i:nth-child(2) { top: 26%; height: 26%; background: var(--a); animation-duration: 12s; animation-delay: -4s; }
.aura i:nth-child(3) { top: 52%; height: 20%; background: var(--c); animation-duration: 19s; animation-delay: -9s; }
.aura i:nth-child(4) { top: 72%; height: 34%; background: #0a0420; animation-duration: 14s; }

@keyframes drift {
  from { transform: translate3d(-7%, -6%, 0) scaleY(0.82); }
  to { transform: translate3d(7%, 8%, 0) scaleY(1.2); }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.2;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- top bar and menu ---------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gutter);
  pointer-events: none;
}

.topbar > * { pointer-events: auto; }

.wordmark {
  font: 800 clamp(14px, 2vw, 20px) var(--display);
  letter-spacing: 0.04em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 4px;
  background: none;
  border: 0;
  color: inherit;
  font: 600 12px var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-lines {
  width: 26px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transition: height 0.2s;
}

.menu-toggle[aria-expanded='true'] .menu-lines { height: 2px; border-bottom: 0; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 20;
  overflow-y: auto;
  padding: 84px var(--gutter) 32px;
  background: var(--bg);
  animation: fade 0.2s;
  counter-reset: item;
}

.menu ol { max-width: 1100px; }

.menu li { border-bottom: 1px solid var(--line); counter-increment: item; }

.menu ol a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
  font: 800 clamp(30px, 7.4vh, 68px)/1.2 var(--display);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.15s, transform 0.15s;
}

.menu ol a::before {
  content: '0' counter(item);
  font: 400 12px var(--body);
  color: var(--muted);
}

.menu ol a:hover { color: var(--accent); transform: translateX(10px); }

.menu .socials { margin-top: 24px; }

@keyframes fade { from { opacity: 0; } }

.socials { display: flex; flex-wrap: wrap; gap: 6px 20px; }

.socials a {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
}

.socials a:hover { color: var(--accent); }

/* ---------- home ---------- */

.home {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vh, 24px);
  padding: 76px var(--gutter) 24px;
  text-align: center;
}

.headline { display: block; text-decoration: none; }

.headline-main {
  display: block;
  font: 900 clamp(38px, 10.5vh, 120px)/1 var(--display);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  background: linear-gradient(95deg, var(--accent), var(--c) 55%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.headline-sub {
  display: block;
  margin-top: 6px;
  font: 600 clamp(15px, 3.4vh, 30px) var(--display);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
}

.stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(8px, 2.5vw, 36px);
  width: 100%;
  max-width: 1100px;
}

.stage-side {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 7vh, 72px);
}

.stage-side:first-child { align-items: flex-end; }
.stage-side:last-child { align-items: flex-start; }
.stage-side:first-child .orbit-link:nth-child(2) { margin-right: 28px; }
.stage-side:last-child .orbit-link:nth-child(2) { margin-left: 28px; }

.orbit-link {
  padding: 6px 2px;
  font: 800 clamp(18px, 3.2vh, 30px) var(--display);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.15s, transform 0.15s;
}

.orbit-link:hover { color: var(--accent); transform: scale(1.06); }

.orb {
  position: relative;
  width: min(62vh, 56vw, 560px);
  aspect-ratio: 1;
}

.orb canvas,
.ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ring { animation: spin 40s linear infinite; }

.ring text {
  fill: var(--ink);
  font: 600 14px var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes spin { to { transform: rotate(360deg); } }

.portrait {
  position: absolute;
  inset: 17.5%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: conic-gradient(from 210deg, var(--b), var(--a), var(--c), var(--accent), var(--b));
  box-shadow: 0 0 60px color-mix(in srgb, var(--a) 55%, transparent);
}

.portrait img { width: 100%; height: 100%; object-fit: cover; }

.portrait span {
  font: 900 clamp(60px, 16vh, 150px) var(--display);
  mix-blend-mode: overlay;
}

/* ---------- inner pages ---------- */

.page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 104px var(--gutter) 64px;
}

.page-title {
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font: 800 clamp(34px, 8vw, 80px)/1.05 var(--display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.tabs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 28px; }

.tabs a { text-decoration: none; color: #4a4852; transition: color 0.15s; }
.tabs a:hover { color: var(--muted); }
.tabs a[aria-current] { color: var(--ink); }

.empty { padding: 28px 0; color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--a);
  color: #fff;
  font: 600 12px var(--display);
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn:hover { background: var(--accent); color: #0a0a0a; }

.btn-off { background: #26252b; color: var(--muted); cursor: default; }
.btn-off:hover { background: #26252b; color: var(--muted); }

.show {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.show-date { display: flex; flex-direction: column; font: 600 12px/1.2 var(--display); color: var(--muted); }
.show-date b { font: 800 26px/1.15 var(--display); color: var(--ink); }

.show-place { min-width: 0; }
.show h2 { font: 800 clamp(18px, 3.6vw, 34px)/1.15 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.show p { margin-top: 4px; color: var(--muted); font-size: 14px; }

.past { margin-top: 32px; color: var(--muted); }
.past summary { padding: 8px 0; cursor: pointer; font-weight: 500; }

.track {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: padding 0.15s, color 0.15s;
}

.track:hover { padding-left: 10px; color: var(--accent); }

.track .cover { flex: none; width: 52px; height: 52px; border-radius: 4px; }

.track-title {
  flex: 1;
  min-width: 0;
  font: 800 clamp(16px, 3vw, 28px)/1.2 var(--display);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.track-meta { flex: none; max-width: 40%; color: var(--muted); font-size: 14px; }

.cover { object-fit: cover; }

.cover-blank {
  display: block;
  background: conic-gradient(from var(--spin), var(--b), var(--a), var(--c), var(--accent), var(--b));
}

.sheet {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0d0d11;
  color: inherit;
}

.sheet::backdrop { background: rgba(0, 0, 0, 0.82); }

.sheet-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 16px;
  cursor: pointer;
}

.sheet-head { display: flex; align-items: center; gap: 16px; padding-right: 32px; margin-bottom: 20px; }
.sheet-head .cover { flex: none; width: 104px; height: 104px; border-radius: 8px; }
.sheet h2 { font: 800 20px/1.2 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.sheet-head p { margin-top: 6px; color: var(--muted); font-size: 14px; }

.player { display: block; width: 100%; height: 300px; margin-bottom: 20px; border: 0; border-radius: 8px; }

.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 64px); padding-top: 24px; }
.about-solo { grid-template-columns: minmax(0, 720px); }
.about img { width: 100%; border-radius: 8px; }
.prose { font-size: clamp(18px, 2.2vw, 22px); }
.prose p { margin-bottom: 1em; }

.contacts li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contacts span { color: var(--muted); }

.contacts a {
  font: 800 clamp(15px, 3vw, 30px) var(--display);
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contacts a:hover { color: var(--accent); }

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

.footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px var(--gutter) 32px;
  border-top: 1px solid var(--line);
}

.footer[hidden] { display: none; }

.footer-end { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; justify-content: flex-end; }
.footer-end p { color: var(--muted); font-size: 14px; }

.signup label { display: block; margin-bottom: 10px; font-weight: 500; }

.signup-row { display: flex; gap: 8px; max-width: 460px; }

.signup input[type='email'] {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #101014;
  color: inherit;
  font: inherit;
}

.signup .trap { position: absolute; left: -9999px; width: 1px; height: 1px; }
.signup-status { min-height: 1.5em; margin-top: 6px; color: var(--accent); font-size: 14px; }

/* ---------- small screens ---------- */

@media (max-width: 720px) {
  .home { justify-content: flex-start; padding-top: 88px; }

  .headline-main { font-size: clamp(40px, 13vw, 72px); }

  .stage { grid-template-columns: 1fr 1fr; gap: 12px 8px; }

  .orb { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: min(100%, 52dvh); }

  .stage-side { gap: 8px; align-items: center !important; }
  .stage-side .orbit-link { margin: 0 !important; font-size: 18px; }

  .show { grid-template-columns: 52px 1fr; }
  .show .btn { grid-column: 2; justify-self: start; }

  .about { grid-template-columns: minmax(0, 1fr); }

  .track-meta { display: none; }

  .player { height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  .aura i, .ring { animation: none; }
  .menu { animation: none; }
}
