:root {
  --bg: #0a0b0e;
  --panel: #12151a;
  --accent: #479eff;
  --accent2: #f9db38;
  --cyan: #66d1ff;
  --text: #f2f4f7;
  --muted: #8b93a0;
  --line: rgba(242, 244, 247, 0.12);
  --spine: 4.5rem;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.55;
  min-height: 100vh;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--cyan); }

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent2);
  margin: 0 0 0.75rem;
}

.lede {
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.05rem;
}

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

/* —— Left spine (desktop) —— */
.spine {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--spine);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0.5rem;
  background: linear-gradient(180deg, #0d1015 0%, #08090c 100%);
  border-right: 1px solid var(--line);
}

.spine__mark {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--bg);
  background: var(--accent);
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 0.45rem;
  box-shadow: 0 0 18px rgba(71, 158, 255, 0.45);
}

.spine__nav {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.spine__nav a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.spine__nav a:hover,
.spine__nav a.is-active { color: var(--accent); }

.spine__meter {
  width: 0.35rem;
  height: 3.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  box-shadow: 0 0 12px rgba(71, 158, 255, 0.5);
}

.dock {
  display: none;
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 40;
  background: rgba(10, 11, 14, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  justify-content: space-around;
  backdrop-filter: blur(12px);
}

.dock a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

main {
  margin-left: var(--spine);
}

/* —— Hero full-bleed overlay —— */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    url("assets/hero.jpg") center / cover no-repeat;
  transform: scale(1.02);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 11, 14, 0.35) 0%, rgba(10, 11, 14, 0.55) 40%, rgba(10, 11, 14, 0.96) 100%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(71, 158, 255, 0.22), transparent 60%);
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 6vw, 4.5rem);
  max-width: 44rem;
}

.hero__kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero__brand {
  margin: 0;
  font-size: clamp(3.4rem, 11vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  background: linear-gradient(120deg, #fff 20%, var(--accent) 70%, var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 28px rgba(71, 158, 255, 0.25));
}

.hero__tag {
  margin: 1.25rem 0 1.75rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
  max-width: 32rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 0.7rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--accent);
  color: #061018;
  box-shadow: 0 0 24px rgba(71, 158, 255, 0.35);
}

.btn--primary:hover { color: #061018; }

.btn--ghost {
  border-color: rgba(71, 158, 255, 0.45);
  color: var(--accent);
  background: transparent;
}

/* —— Bands —— */
.band {
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.band__intro h2,
.instruments__copy h2,
.legal-panel h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
}

.band__intro--right {
  text-align: right;
  margin-left: auto;
}

.band__intro--right .lede { margin-left: auto; }

/* Vertical timeline = Stage Tower */
.tower-timeline {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}

.tower-timeline::before {
  content: "";
  position: absolute;
  left: 1.35rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent2), var(--accent), transparent);
  opacity: 0.55;
}

.tower-timeline li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding: 1.35rem 0 1.35rem 0.25rem;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.tower-timeline li.is-in {
  opacity: 1;
  transform: none;
}

.tower-timeline__lvl {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.55rem;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 16px rgba(71, 158, 255, 0.4);
}

.tower-timeline h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.tower-timeline p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

/* Instruments */
.instruments {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.instruments__art {
  margin: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 40px rgba(71, 158, 255, 0.12);
}

.stripe-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.stripe-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

.stripe-list strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.vignettes {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.vignettes img {
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

/* Film strip */
.film {
  margin-top: 2rem;
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.film figure {
  margin: 0;
  flex: 0 0 min(62vw, 260px);
  scroll-snap-align: start;
}

.film img {
  border-radius: 1.2rem;
  border: 1px solid rgba(71, 158, 255, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.film figcaption {
  margin-top: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Legal */
.band--legal {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
  background: #07080a;
}

.legal-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.legal-panel p { color: var(--muted); }
.legal-panel__updated {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-top: 1.5rem;
}

.support-mail {
  font-size: 1.15rem;
  font-weight: 600;
  word-break: break-all;
}

.site-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem) 5.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.site-foot__brand {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.5%, -1%, 0); }
}

@media (max-width: 900px) {
  .spine { display: none; }
  main { margin-left: 0; }
  .dock { display: flex; }
  .instruments { grid-template-columns: 1fr; }
  .band--legal { grid-template-columns: 1fr; }
  .band__intro--right { text-align: left; }
  .band__intro--right .lede { margin-left: 0; }
  .hero { min-height: 85vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media { animation: none; }
  .tower-timeline li { opacity: 1; transform: none; }
}
