:root {
  --bg: #050505;
  --text: rgba(245, 245, 245, 0.96);
  --text-soft: rgba(232, 232, 232, 0.88);
  --line: rgba(255, 255, 255, 0.22);
  --line-strong: rgba(255, 255, 255, 0.42);
  --button-bg: rgba(255, 255, 255, 0.045);
  --button-bg-hover: rgba(255, 255, 255, 0.09);
}

* { box-sizing: border-box; }
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  overflow: hidden;
}
body {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
}
.site-shell {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: var(--bg);
  isolation: isolate;
}
.bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bg-image {
  opacity: 0;
  background: center center / cover no-repeat url("assets/poster.jpg");
  filter: grayscale(1) contrast(1.14) brightness(0.58);
  transform: scale(1.045);
  transition: opacity 320ms ease;
}
.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: grayscale(1) contrast(1.05) brightness(0.56);
  transform: scale(1.03);
  transition: opacity 420ms ease;
  background: #050505;
}
.site-shell.video-ready .bg-video { opacity: 1; }
.site-shell.use-fallback .bg-image { opacity: 1; }
.bg-darken {
  background:
    radial-gradient(circle at center, rgba(0,0,0,0.04), rgba(0,0,0,0.34) 54%, rgba(0,0,0,0.66) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.24));
}
.bg-vignette {
  background: radial-gradient(circle at center, rgba(0,0,0,0) 28%, rgba(0,0,0,0.34) 72%, rgba(0,0,0,0.76) 100%);
}
.bg-noise {
  opacity: 0.17;
  background-image:
    radial-gradient(rgba(255,255,255,0.22) 0.55px, transparent 0.75px),
    radial-gradient(rgba(255,255,255,0.12) 0.5px, transparent 0.72px);
  background-position: 0 0, 13px 11px;
  background-size: 10px 10px, 14px 14px;
  mix-blend-mode: screen;
  animation: noiseDrift 240ms steps(6) infinite;
}
.bg-scanlines {
  opacity: 0.12;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.16) 0px,
    rgba(255,255,255,0.16) 1px,
    transparent 2px,
    transparent 4px
  );
  mix-blend-mode: screen;
}
.glitch-flash {
  opacity: 0;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(255,255,255,0.03) 20%,
      rgba(255,255,255,0.22) 50%,
      rgba(255,255,255,0.03) 80%,
      transparent 100%),
    linear-gradient(180deg,
      transparent 0%,
      rgba(255,255,255,0.03) 40%,
      transparent 100%);
  mix-blend-mode: screen;
}

.hero {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  padding: 7vh 24px 10vh;
}
.hero-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.8vh, 16px);
  text-align: center;
  transform: translateY(-2.3vh);
}
.artist-name,
.date-line,
.bottom-title {
  position: relative;
  margin: 0;
  color: var(--text);
  letter-spacing: 0.02em;
  text-rendering: geometricPrecision;
  will-change: transform, opacity, text-shadow, clip-path;
}
.artist-name {
  font-weight: 800;
  font-size: clamp(72px, 11.5vw, 138px);
  line-height: 0.92;
}
.date-line {
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 1;
  color: var(--text-soft);
}
.bottom-title-wrap {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 4.5vh, 44px);
  transform: translateX(-50%);
  width: min(88vw, 900px);
  display: flex;
  justify-content: center;
}
.bottom-title {
  font-weight: 800;
  font-size: clamp(26px, 2.7vw, 42px);
  line-height: 1;
  text-align: center;
  color: rgba(235,235,235,0.94);
  text-shadow: 0 0 14px rgba(255,255,255,0.05);
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.glitch-text::before {
  color: rgba(255,255,255,0.92);
  transform: translate(0,0);
}
.glitch-text::after {
  color: rgba(255,255,255,0.55);
  transform: translate(0,0);
}

body.is-glitching .site-shell {
  animation: sceneJolt 110ms steps(2, end) 1;
}
body.is-glitching .glitch-flash {
  opacity: 0.10;
  animation: flashSweep 130ms linear 1;
}
body.is-glitching .artist-name,
body.is-glitching .date-line,
body.is-glitching .bottom-title {
  text-shadow:
    -2px 0 0 rgba(255,255,255,0.16),
    2px 0 0 rgba(255,255,255,0.10);
}
body.is-glitching .artist-name::before,
body.is-glitching .date-line::before,
body.is-glitching .bottom-title::before {
  opacity: 0.58;
  transform: translate(-1px, 0);
  clip-path: polygon(0 8%, 100% 0, 100% 44%, 0 52%);
}
body.is-glitching .artist-name::after,
body.is-glitching .date-line::after,
body.is-glitching .bottom-title::after {
  opacity: 0.34;
  transform: translate(2px, 0);
  clip-path: polygon(0 60%, 100% 52%, 100% 100%, 0 92%);
}

body.is-glitching .bottom-title {
  animation: bottomSnap 120ms steps(2, end) 1;
}
body.is-glitching .date-line {
  animation: dataSnap 110ms steps(2, end) 1;
}
body.is-glitching .bg-video,
body.is-glitching .bg-image {
  transform: scale(1.035) translate(0.5px, -0.5px);
  filter: grayscale(1) contrast(1.07) brightness(0.6);
}

body.is-glitching.glitch-strong .site-shell {
  animation: sceneJoltStrong 220ms steps(3, end) 1;
}
body.is-glitching.glitch-strong .glitch-flash {
  opacity: 0.24;
  animation: flashSweepStrong 240ms linear 1;
}
body.is-glitching.glitch-strong .artist-name,
body.is-glitching.glitch-strong .date-line,
body.is-glitching.glitch-strong .bottom-title {
  text-shadow:
    -5px 0 0 rgba(255,255,255,0.24),
    5px 0 0 rgba(255,255,255,0.16);
}
body.is-glitching.glitch-strong .artist-name::before,
body.is-glitching.glitch-strong .date-line::before,
body.is-glitching.glitch-strong .bottom-title::before {
  opacity: 0.95;
  transform: translate(-4px, 0);
  clip-path: polygon(0 3%, 100% 0, 100% 46%, 0 57%);
}
body.is-glitching.glitch-strong .artist-name::after,
body.is-glitching.glitch-strong .date-line::after,
body.is-glitching.glitch-strong .bottom-title::after {
  opacity: 0.72;
  transform: translate(6px, 0);
  clip-path: polygon(0 54%, 100% 46%, 100% 100%, 0 96%);
}
body.is-glitching.glitch-strong .bg-video,
body.is-glitching.glitch-strong .bg-image {
  transform: scale(1.05) translate(1.8px, -1.6px);
  filter: grayscale(1) contrast(1.12) brightness(0.62);
}

body.is-glitching.glitch-micro .site-shell {
  animation: sceneJoltMicro 95ms steps(2, end) 1;
}
body.is-glitching.glitch-micro .glitch-flash {
  opacity: 0.06;
  animation: flashSweepMicro 100ms linear 1;
}
body.is-glitching.glitch-micro .artist-name,
body.is-glitching.glitch-micro .date-line,
body.is-glitching.glitch-micro .bottom-title {
  text-shadow:
    -1px 0 0 rgba(255,255,255,0.10),
    1px 0 0 rgba(255,255,255,0.08);
}
body.is-glitching.glitch-micro .artist-name::before,
body.is-glitching.glitch-micro .date-line::before,
body.is-glitching.glitch-micro .bottom-title::before {
  opacity: 0.28;
  transform: translate(-1px, 0);
}
body.is-glitching.glitch-micro .artist-name::after,
body.is-glitching.glitch-micro .date-line::after,
body.is-glitching.glitch-micro .bottom-title::after {
  opacity: 0.18;
  transform: translate(1px, 0);
}
body.is-glitching.glitch-micro .bg-video,
body.is-glitching.glitch-micro .bg-image {
  transform: scale(1.032) translate(0.2px, -0.2px);
}

.cta-button {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--button-bg);
  color: var(--text);
  padding: 15px 42px;
  min-width: min(82vw, 260px);
  cursor: pointer;
  font-weight: 700;
  font-size: clamp(14px, 1.1vw, 18px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset, 0 10px 30px rgba(0,0,0,0.22);
}
.cta-button:hover,
.cta-button:focus-visible {
  background: var(--button-bg-hover);
  border-color: rgba(255,255,255,0.58);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 16px 34px rgba(0,0,0,0.28);
  outline: none;
}
.cta-button:active {
  transform: translateY(0);
}

.modal {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
}
.modal.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  width: min(92vw, 520px);
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10,10,10,0.86);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}
.modal-kicker {
  margin: 0 0 10px;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.modal-title {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 0.98;
}
.modal-text {
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
}
.modal-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.modal-link {
  border: 1px solid rgba(255,255,255,0.18);
  padding: 13px 18px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
}
.modal-link--primary { background: rgba(255,255,255,0.09); }
.modal-link--ghost { cursor: pointer; }

@keyframes noiseDrift {
  0% { transform: translate(0,0); }
  25% { transform: translate(-1.6%, 1.1%); }
  50% { transform: translate(1.1%, -1.2%); }
  75% { transform: translate(1.5%, 0.8%); }
  100% { transform: translate(0,0); }
}
@keyframes sceneJolt {
  0% { transform: translate(0,0); }
  25% { transform: translate(-2px, 1px); }
  50% { transform: translate(2px, -1px); }
  75% { transform: translate(-1px, 1px); }
  100% { transform: translate(0,0); }
}
@keyframes sceneJoltStrong {
  0% { transform: translate(0,0) skewX(0deg); }
  18% { transform: translate(-5px, 2px) skewX(-1deg); }
  42% { transform: translate(5px, -2px) skewX(1deg); }
  68% { transform: translate(-3px, 1px) skewX(-0.6deg); }
  100% { transform: translate(0,0) skewX(0deg); }
}
@keyframes sceneJoltMicro {
  0% { transform: translate(0,0); }
  50% { transform: translate(1px, -1px); }
  100% { transform: translate(0,0); }
}
@keyframes bottomSnap {
  0% { transform: translateX(0); }
  34% { transform: translateX(-2px); }
  66% { transform: translateX(3px); }
  100% { transform: translateX(0); }
}
@keyframes dataSnap {
  0% { transform: translateX(0); }
  50% { transform: translateX(2px); }
  100% { transform: translateX(0); }
}
@keyframes flashSweep {
  0% { transform: translateX(-6%) skewX(-6deg); opacity: 0; }
  25% { opacity: 0.14; }
  100% { transform: translateX(6%) skewX(6deg); opacity: 0; }
}
@keyframes flashSweepStrong {
  0% { transform: translateX(-10%) skewX(-10deg); opacity: 0; }
  18% { opacity: 0.28; }
  100% { transform: translateX(10%) skewX(10deg); opacity: 0; }
}
@keyframes flashSweepMicro {
  0% { transform: translateX(-3%) skewX(-3deg); opacity: 0; }
  40% { opacity: 0.08; }
  100% { transform: translateX(3%) skewX(3deg); opacity: 0; }
}

@media (max-width: 900px) {
  .hero-center {
    transform: translateY(-1.2vh);
    gap: 14px;
  }
  .artist-name { font-size: clamp(56px, 17vw, 100px); }
  .date-line { font-size: clamp(20px, 5vw, 28px); }
  .cta-button {
    min-width: min(86vw, 270px);
    padding: 15px 28px;
  }
  .bottom-title {
    font-size: clamp(24px, 6vw, 34px);
  }
}

@media (max-width: 560px) {
  .hero {
    flex-direction: column;
    padding-top: calc(8vh + env(safe-area-inset-top, 0px));
    padding-bottom: calc(12vh + env(safe-area-inset-bottom, 0px));
  }
  .hero-center {
    transform: translateY(-3.5vh);
    gap: 13px;
  }
  .artist-name { font-size: clamp(54px, 18vw, 78px); }
  .date-line {
    font-size: clamp(18px, 5.8vw, 24px);
    letter-spacing: 0.12em;
  }
  .cta-button {
    font-size: 13px;
    letter-spacing: 0.20em;
    min-width: min(84vw, 240px);
  }
  .bottom-title-wrap {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    width: auto;
    margin-top: 18px;
    justify-content: center;
  }
  .bottom-title {
    font-size: clamp(19px, 6vw, 24px);
    letter-spacing: 0.06em;
  }
}

@media (max-width: 400px) {
  .hero-center { transform: translateY(-2.6vh); }
  .bottom-title-wrap {
    margin-top: 16px;
  }
  .bottom-title {
    font-size: clamp(17px, 5.7vw, 22px);
    letter-spacing: 0.05em;
  }
}

