:root {
  --bg: #0a0608;
  --bg-2: #14090c;
  --wine: #6b1c2a;
  --rose: #d46a76;
  --gold: #e4c37a;
  --gold-2: #c9a441;
  --cream: #f3ead8;
  --muted: #b7a59a;
  --violet: #c9b0d8;
  --teal: #7ec8c0;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html,
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html {
  scroll-behavior: auto;
}

body {
  cursor: none;
}

@media (hover: none), (pointer: coarse) {
  body {
    cursor: auto;
  }
  .cursor {
    display: none !important;
  }
}

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

::selection {
  background: var(--gold);
  color: var(--bg);
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #3a2428;
  border-radius: 99px;
}

/* overlays */
.grain,
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 70;
}

.grain {
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("../img/noise.png");
  background-size: 180px;
  animation: grain 0.5s steps(2) infinite;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -1%); }
  75% { transform: translate(-1%, -2%); }
  100% { transform: translate(0, 0); }
}

.vignette {
  z-index: 69;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 90;
  background: rgba(228, 195, 122, 0.12);
}

.progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-2), var(--gold), #fff6d4);
  box-shadow: 0 0 12px var(--gold);
}

.cursor {
  position: fixed;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.2s var(--ease), height 0.2s var(--ease);
}

.cursor.is-hot {
  width: 36px;
  height: 36px;
  background: rgba(228, 195, 122, 0.12);
}

.fab {
  position: fixed;
  right: max(1.2rem, env(safe-area-inset-right));
  bottom: max(1.2rem, env(safe-area-inset-bottom));
  z-index: 85;
  border: 1px solid rgba(228, 195, 122, 0.35);
  background: rgba(10, 6, 8, 0.55);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  cursor: none;
}

.fab[aria-pressed="true"] {
  background: var(--gold);
  color: var(--bg);
}

.loop-pill {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1.1rem, env(safe-area-inset-right));
  z-index: 85;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  mix-blend-mode: screen;
}

/* type */
.kicker,
.era-tag,
.whisper,
.caption,
.fab,
.loop-pill,
.scroll-hint span {
  font-family: var(--sans);
}

.kicker,
.era-tag {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.era-tag {
  display: inline-block;
  border: 1px solid rgba(228, 195, 122, 0.4);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.display--md {
  font-size: clamp(2.1rem, 5.4vw, 4.4rem);
}

.display em,
.lyric em,
.song em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(180deg, #f7e7b4 0%, var(--gold) 45%, #9a7428 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lyric {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  color: var(--cream);
  margin: 1.4rem 0 1rem;
}

.body {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
  max-width: 38rem;
}

.body.center {
  margin: 2.4rem auto 0;
  text-align: center;
}

.whisper {
  margin-top: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

.caption {
  margin-top: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.narrow {
  max-width: 40rem;
}

.center {
  text-align: center;
}

/* chapters */
.cycle {
  position: relative;
}

.ch {
  position: relative;
  min-height: 100svh;
  padding: clamp(4rem, 10vh, 8rem) clamp(1.3rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
}

.ch--plain {
  background:
    radial-gradient(1200px 500px at 10% 0%, rgba(107, 28, 42, 0.28), transparent 50%),
    var(--bg);
}

.ch--holes {
  background:
    radial-gradient(800px 400px at 90% 80%, rgba(107, 28, 42, 0.22), transparent 50%),
    var(--bg);
}

.ch__bg {
  position: absolute;
  inset: -12% 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.ch__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 6, 8, 0.28) 0%, rgba(10, 6, 8, 0.62) 42%, rgba(10, 6, 8, 0.88) 100%);
}

.ch__shade--hero {
  background:
    linear-gradient(180deg, rgba(10, 6, 8, 0.15) 0%, rgba(10, 6, 8, 0.55) 45%, rgba(10, 6, 8, 0.92) 100%);
}

.ch__shade--deep {
  background:
    linear-gradient(180deg, rgba(10, 6, 8, 0.2), rgba(40, 8, 14, 0.82) 60%, #0a0608);
}

.ch__shade--violet {
  background:
    linear-gradient(180deg, rgba(28, 16, 40, 0.25), rgba(10, 6, 8, 0.82) 70%, #0a0608);
}

.ch__shade--neon {
  background:
    linear-gradient(180deg, rgba(10, 6, 8, 0.15), rgba(10, 6, 8, 0.78) 62%, #0a0608);
}

.ch__inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  position: relative;
  flex: 0 0 auto;
}

.ch--sky {
  justify-content: flex-start;
  padding-top: clamp(5rem, 14vh, 9rem);
}

.hero {
  text-align: left;
  padding-top: 8vh;
}

.scroll-hint {
  margin-top: 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.scroll-hint b {
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--gold), transparent);
  animation: drip 2.2s var(--ease) infinite;
  transform-origin: top;
}

@keyframes drip {
  0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* vinyl */
.vinyl {
  position: absolute;
  right: -6vw;
  bottom: -8vh;
  width: min(42vw, 420px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.55;
}

.vinyl__disc {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #1a0c10 0 12%, transparent 13%),
    repeating-radial-gradient(circle at 50% 50%, #0e0a0c 0 2px, #241318 3px, #0e0a0c 4px);
  box-shadow: 0 0 80px rgba(107, 28, 42, 0.45);
}

.vinyl__disc::after {
  content: "";
  position: absolute;
  inset: 42%;
  border-radius: 50%;
  background: radial-gradient(circle, #f0d48a, #8a5a16);
}

/* ticker */
.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(228, 195, 122, 0.18);
  background: #11080b;
  padding: 0.85rem 0;
}

.ticker__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 48s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  white-space: nowrap;
}

.ticker__track span::after {
  content: "  ✦  ";
  color: var(--rose);
  font-style: normal;
}

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

/* lists */
.first-plays {
  list-style: none;
  margin-top: 2.4rem;
  display: grid;
  gap: 0.85rem;
}

.first-plays li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(243, 234, 216, 0.1);
  padding-bottom: 0.7rem;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.first-plays i {
  color: var(--muted);
  font-style: italic;
  font-size: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem 1.2rem;
  margin: 2.4rem 0 1rem;
}

.stat__n {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1;
  background: linear-gradient(180deg, #fff6d4, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.split__img img {
  width: 100%;
  height: min(72vh, 640px);
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.9) contrast(1.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.6rem;
  list-style: none;
}

.chips li {
  border: 1px solid rgba(228, 195, 122, 0.35);
  color: var(--gold);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.chips--light li {
  border-color: rgba(201, 176, 216, 0.45);
  color: var(--violet);
}

.ivan-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--gold);
  margin: 0.4rem 0 1.6rem;
}

.ivan-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  margin-bottom: 1.6rem;
}

.ivan-stats b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
}

.ivan-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.songs {
  display: grid;
  gap: 0;
}

.song {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(243, 234, 216, 0.1);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.song span {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.holes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hole {
  padding: 1.3rem 1.2rem 1.4rem;
  background: linear-gradient(180deg, rgba(107, 28, 42, 0.28), rgba(10, 6, 8, 0.2));
  border: 1px solid rgba(228, 195, 122, 0.12);
  min-height: 8.5rem;
}

.hole h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.55rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.hole p {
  color: var(--muted);
  font-size: 0.88rem;
}

.now-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.now {
  padding: 1.2rem 1.2rem 1.3rem;
  background: rgba(10, 6, 8, 0.45);
  border: 1px solid rgba(126, 200, 192, 0.22);
  backdrop-filter: blur(6px);
}

.now small {
  color: var(--teal);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.now h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0.35rem 0 0.35rem;
}

.now p {
  color: var(--muted);
  font-size: 0.9rem;
}

.stay {
  list-style: none;
  margin: 0 0 1.6rem;
}

.stay li {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  border-bottom: 1px solid rgba(243, 234, 216, 0.12);
  padding: 0.45rem 0;
}

.hours {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 160px;
  margin-top: 2.2rem;
}

.hours b {
  flex: 1;
  background: linear-gradient(180deg, var(--gold), var(--wine));
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  transform: scaleY(0.08);
  transition: transform 1.1s var(--ease);
  opacity: 0.85;
}

.hours.is-in b {
  transform: scaleY(var(--h, 1));
}

.hours b:nth-child(n+20),
.hours b:nth-child(-n+5) {
  box-shadow: 0 0 12px rgba(228, 195, 122, 0.35);
}

/* petals */
.petals {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.petals i {
  position: absolute;
  top: -10%;
  width: 10px;
  height: 14px;
  background: radial-gradient(circle at 30% 30%, #e38a94, #7a1d2c);
  border-radius: 80% 0 80% 0;
  opacity: 0.55;
  animation: fall linear infinite;
}

.petals i:nth-child(1) { left: 12%; animation-duration: 14s; animation-delay: -2s; }
.petals i:nth-child(2) { left: 28%; animation-duration: 18s; animation-delay: -8s; width: 8px; }
.petals i:nth-child(3) { left: 47%; animation-duration: 16s; animation-delay: -4s; }
.petals i:nth-child(4) { left: 63%; animation-duration: 22s; animation-delay: -11s; }
.petals i:nth-child(5) { left: 78%; animation-duration: 15s; animation-delay: -6s; width: 7px; }
.petals i:nth-child(6) { left: 90%; animation-duration: 20s; animation-delay: -1s; }

@keyframes fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  100% { transform: translateY(110vh) rotate(240deg); opacity: 0; }
}

/* reveals */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 1s var(--ease) forwards;
  animation-play-state: paused;
}

.reveal.is-in {
  animation-play-state: running;
}

.d1 { animation-delay: 0.12s; }
.d2 { animation-delay: 0.24s; }
.d3 { animation-delay: 0.36s; }
.d4 { animation-delay: 0.48s; }
.d5 { animation-delay: 0.6s; }
.d6 { animation-delay: 0.72s; }
.d7 { animation-delay: 0.84s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loop-flash {
  position: fixed;
  left: 50%;
  bottom: 2.2rem;
  transform: translateX(-50%) translateY(12px);
  z-index: 95;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.loop-flash.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 820px) {
  .split,
  .holes,
  .now-grid {
    grid-template-columns: 1fr;
  }

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

  .split__img img {
    height: 42vh;
  }

  .vinyl {
    width: 56vw;
    opacity: 0.32;
    right: -18vw;
  }

  .ch {
    padding-block: 5.5rem;
  }

  .ivan-stats {
    gap: 1.4rem 2rem;
  }

  .hero {
    padding-top: 12vh;
    padding-bottom: 5rem;
  }

  .vinyl,
  .scroll-hint {
    display: none;
  }

  .loop-pill {
    letter-spacing: 0.18em;
  }
}

html.compact .ch {
  min-height: auto;
  padding-block: 5.5rem;
}

html.compact .reveal {
  opacity: 1;
  transform: none;
  animation: none;
}

html.compact .hours b {
  transform: scaleY(var(--h, 1));
}

html.compact .vinyl {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .ticker__track,
  .grain,
  .petals i,
  .scroll-hint b,
  .vinyl__disc {
    animation: none !important;
  }
  .hours b {
    transform: scaleY(var(--h, 1));
  }
}
