/* prisma — css/style.css */

@font-face { font-family: "Helvena"; src: url("../fonts/Helvena-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Helvena"; src: url("../fonts/Helvena-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Helvena"; src: url("../fonts/Helvena-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Helvena"; src: url("../fonts/Helvena-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --night: #221e24;     /* replaced at runtime: the five colours mixed and darkened */
  --bg: var(--night);   /* follows the scroll */
  --ink: #fff;
  --ink-soft: rgba(255, 255, 255, .78);
  --rule: rgba(255, 255, 255, .28);
  --lift: 0 1px 2px rgba(0, 0, 0, .16), 0 0 22px rgba(0, 0, 0, .06);   /* keeps white readable on pale covers */
  --font: "Helvena", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 4.6vw, 72px);
  --bar-h: 60px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --t-13: .8125rem;
  --t-15: .9375rem;
  --t-17: 1.0625rem;
  --t-21: 1.3125rem;
  --t-28: 1.75rem;
  --t-36: 2.25rem;
  --t-coord: clamp(3rem, 8vw, 8.75rem);
  color-scheme: dark;
}

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

html {
  background-color: var(--night);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--t-17);
  line-height: 1.5;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
}

a { color: inherit; }
button { font: inherit; color: inherit; }
canvas { display: block; }
[hidden] { display: none !important; }

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

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

/* White text on the pale covers (lavender, blue) gets a soft lift. */
.is-pale body,
.is-pale .bar,
.is-pale,
.band.is-pale,
.shop__item.is-pale { text-shadow: var(--lift); }
.shop, .foot { text-shadow: none; }
.is-pale { --ink-soft: #fff; }

/* No-JS fallback: every zone keeps its own colour. With JS, the page colour lives on <html>. */
.zone { background-color: var(--field, transparent); }
.js .zone { background-color: transparent; }

/* The globe is drawn on one fixed layer: above the colour, under the text. */
.world {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}
.shop > *,
.foot > * { position: relative; z-index: 2; }

/* ------------------------------------------------------------------ bar */

.bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: var(--bar-h);
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity .3s ease;
}
.is-scrolled .bar::before { opacity: 1; }
.bar__home {
  font-weight: 500;
  font-size: var(--t-17);
  letter-spacing: -.01em;
  text-decoration: none;
}
.bar__nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.bar__dots { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.bar__dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.bar__dot::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85);
  transition: transform .35s var(--ease);
}
.bar__dot:hover::before,
.bar__dot.is-current::before { transform: scale(1.35); box-shadow: 0 0 0 2px #fff; }
.bar__link { font-size: var(--t-15); font-weight: 500; text-decoration: none; }
.bar__link:hover { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.bar__now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-size: var(--t-13);
  font-weight: 500;
  cursor: pointer;
}
.bar__now:hover { background: var(--ink); color: var(--deep, #222); text-shadow: none; }

/* ------------------------------------------------------------------ rolling digits */

.odo {
  display: inline-block;
  height: 1.06em;
  overflow: hidden;
  vertical-align: top;
  text-align: center;
  width: .58em;
}
.odo[data-d="0"] { width: var(--w0, .58em); }
.odo[data-d="1"] { width: var(--w1, .3em); }
.odo[data-d="2"] { width: var(--w2, .57em); }
.odo[data-d="3"] { width: var(--w3, .57em); }
.odo[data-d="4"] { width: var(--w4, .61em); }
.odo[data-d="5"] { width: var(--w5, .59em); }
.odo[data-d="6"] { width: var(--w6, .6em); }
.odo[data-d="7"] { width: var(--w7, .52em); }
.odo[data-d="8"] { width: var(--w8, .6em); }
.odo[data-d="9"] { width: var(--w9, .6em); }
.odo__strip {
  display: block;
  transform: translateY(calc(var(--from) * -1.06em));
  transition: transform 1.7s cubic-bezier(.3, .85, .2, 1) calc(var(--n) * 55ms + 80ms);
}
.odo__strip > span { display: block; height: 1.06em; line-height: 1.06em; }
.is-rolled .odo__strip { transform: translateY(calc(var(--to) * -1.06em)); }

/* ------------------------------------------------------------------ hero: the five covers */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
}
.bands {
  position: absolute;
  inset: 0;
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.band {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  transition: flex-grow .8s var(--ease);
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c);
  transform-origin: 50% 0;
  transition: transform 1.1s var(--ease) calc(var(--i) * 110ms);
}
.bands.is-folded .band::before { transform: scaleY(0); }
.band.is-hot { flex-grow: 1.75; }
.band__link {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: calc(var(--bar-h) + clamp(18px, 4vh, 40px)) clamp(12px, 1.4vw, 24px) 0;
  text-decoration: none;
  transition: opacity .6s ease calc(var(--i) * 110ms + 500ms);
}
.bands.is-folded .band__link { opacity: 0; }
.band__cat { font-size: var(--t-15); font-weight: 500; }
.band__live {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: .14em;
  animation: live 2.4s ease-in-out infinite;
}
@keyframes live { 50% { opacity: .25; } }
.band__artist { margin-top: 2px; font-size: var(--t-21); line-height: 1.25; }
.band__coords {
  margin-top: 6px;
  font-size: var(--t-15);
  font-weight: 700;
  line-height: 1.06;
  white-space: nowrap;
}

.hero__foot {
  position: relative;
  z-index: 2;
  grid-row: 2;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding: 0 var(--pad) clamp(28px, 5vh, 56px);
  pointer-events: none;
}
.hero__motto {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
  text-shadow: var(--lift);
}
.hero__tagline { display: block; font-weight: 300; }
.hero__place { margin: 0; font-size: var(--t-15); text-align: right; }

/* ------------------------------------------------------------------ chapter */

.chapter {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--bar-h) + clamp(24px, 6vh, 72px)) var(--pad) clamp(104px, 20vh, 220px);
}
.chapter > * { position: relative; z-index: 2; }
.chapter__cat {
  margin: 0 0 clamp(36px, 9vh, 110px);
  font-size: var(--t-17);
  font-weight: 500;
}
.release { max-width: min(58vw, 860px); }
.release__title {
  margin: 0;
  font-size: var(--t-coord);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.02em;
}
.release__map { text-decoration: none; transition: opacity .25s ease; }
.release__map:hover { opacity: .8; }
.release__line { display: block; height: 1.06em; white-space: nowrap; }
.release__artist {
  margin: .7em 0 0;
  font-size: var(--t-36);
  line-height: 1.15;
}
.tracks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--t-15);
}
.tracks__pos { font-weight: 500; margin-right: .5em; }
.tracks__note { margin-left: .45em; color: var(--ink-soft); }
.release__play { margin-top: 30px; min-height: 42px; }

/* ------------------------------------------------------------------ buttons & links */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  min-height: 42px;
  padding: 0 20px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 500 var(--t-15)/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--ink); color: var(--deep, #222); text-shadow: none; }
.btn--solid { background: var(--ink); color: var(--deep, #222); text-shadow: none; }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn__time { font-weight: 400; opacity: .75; }

.icon-play,
.icon-pause {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 12px;
  flex: none;
}
.icon-play { background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.icon-pause::before,
.icon-pause::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3.5px;
  background: currentColor;
}
.icon-pause::before { left: 0; }
.icon-pause::after { right: 0; }

.link {
  font-size: var(--t-15);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}
.link:hover { text-decoration-thickness: 2px; }

/* ------------------------------------------------------------------ where is it? */

.where { margin-top: clamp(64px, 12vh, 140px); }
.where__q {
  margin: 0;
  font-size: var(--t-28);
  font-weight: 500;
  line-height: 1.2;
}
.where__a {
  margin: .35em 0 0;
  max-width: 44ch;
  font-size: var(--t-21);
  line-height: 1.35;
}

.journey {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  margin: clamp(32px, 6vh, 56px) 0 0;
  padding: 0;
  list-style: none;
}
.step {
  --delay: calc(var(--k) * 120ms);
  position: relative;
  min-width: 0;
  padding: 34px 18px 0 0;
}
.step__node {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  transition: background-color .35s ease var(--delay);
}
.step::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 20px;
  right: 6px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s var(--ease) calc(var(--delay) + 60ms);
}
.step:last-child::after { content: none; }
.step.c-faint::after {
  background: repeating-linear-gradient(to right, var(--ink) 0 2px, transparent 2px 8px);
  opacity: .7;
}
.step.c-progress::after {
  background: repeating-linear-gradient(to right, var(--ink) 0 7px, transparent 7px 12px);
  background-size: 24px 100%;
  animation: march 1.4s linear infinite;
}
@keyframes march { to { background-position: 24px 0; } }
.journey.is-drawn .step::after { transform: scaleX(1); }
.journey.is-drawn .step.is-done .step__node { background: var(--ink); }
.journey.is-settled .step__node,
.journey.is-settled .step::after { transition: none; }
.step.is-future .step__node { border-color: rgba(255, 255, 255, .7); }
.step.is-next .step__node::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  opacity: 0;
}
.journey.is-drawn .step.is-next .step__node::after { animation: pulse 2.6s var(--ease) 1.2s infinite; }
@keyframes pulse {
  0% { transform: scale(.5); opacity: .9; }
  100% { transform: scale(1.5); opacity: 0; }
}
.step__name {
  display: block;
  font-size: var(--t-15);
  font-weight: 500;
  line-height: 1.3;
}
.step__note {
  display: block;
  margin-top: 5px;
  font-size: var(--t-13);
  line-height: 1.4;
  color: var(--ink-soft);
}
.step.is-future .step__name,
.step.is-future .step__note { color: var(--ink-soft); }
.step__shop {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-top: 16px;
}
.step__shop .btn { margin-bottom: 4px; }
.step__flag { font-size: var(--t-13); font-weight: 500; }

/* ------------------------------------------------------------------ shop */

.shop { padding: clamp(104px, 18vh, 200px) 0 0; }
.shop__head { padding: 0 var(--pad); max-width: 860px; }
.shop__title {
  margin: 0;
  font-size: var(--t-36);
  font-weight: 500;
  line-height: 1.1;
}
.shop__intro { margin: 14px 0 0; max-width: 52ch; color: var(--ink-soft); }
.shop__list { margin: clamp(36px, 6vh, 56px) 0 0; padding: 0; list-style: none; }
.shop__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 112px;
  padding: 22px var(--pad);
  background: var(--c);
  transition: padding .5s var(--ease);
}
.shop__item--set { background: var(--set); }
.shop__item.is-pale { text-shadow: var(--lift); }
.shop__meta { min-width: 0; text-decoration: none; }
.shop__name { display: block; font-size: var(--t-21); font-weight: 500; line-height: 1.25; }
.shop__artist { font-weight: 400; margin-left: .55em; }
.shop__sub {
  display: block;
  margin-top: 2px;
  font-size: var(--t-15);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shop__action {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 18px;
  font-size: var(--t-15);
}
.shop__price { font-size: var(--t-21); font-weight: 500; }
.shop__state { font-weight: 500; }
.shop__item .btn--solid { color: var(--deep, #222); background: #fff; border-color: #fff; }
.shop__item .btn--solid:hover { color: #fff; background: transparent; }
.shop__item--set .btn--solid { color: #222; }

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

.foot {
  padding: 56px var(--pad) 32px;
  font-size: var(--t-15);
}
.foot__main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 20px 40px;
}
.foot__about { margin: 0; max-width: 46ch; }
.foot__label {
  display: block;
  margin-top: 12px;
  font-weight: 500;
  letter-spacing: .04em;
}
.foot__label a,
.foot__credit a { text-decoration: none; }
.foot__label a:hover,
.foot__credit a:hover { text-decoration: underline; text-underline-offset: .22em; }
.foot__credit {
  margin: 40px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: var(--t-13);
  font-weight: 500;
  letter-spacing: .06em;
}
.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ------------------------------------------------------------------ toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  max-width: min(92vw, 560px);
  padding: 14px 14px 14px 20px;
  border-radius: 18px;
  background: #fff;
  color: #111;
  text-shadow: none;
  font-size: var(--t-15);
  line-height: 1.4;
  transform: translate(-50%, calc(100% + 40px));
  transition: transform .6s var(--ease);
}
.toast.is-shown { transform: translate(-50%, 0); }
.toast__close {
  flex: none;
  min-height: 34px;
  padding: 0 14px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  background: none;
  font-size: var(--t-13);
  font-weight: 500;
  cursor: pointer;
}

/* ------------------------------------------------------------------ fallback */

/* Only shows up if the page could not be built (for example a typo in releases.js). */
.fallback {
  max-width: 640px;
  padding: 120px var(--pad);
  opacity: 0;
  animation: fallback-in .4s ease 2.5s forwards;
}
.fallback li { margin: 6px 0; }
@keyframes fallback-in { to { opacity: 1; } }

/* ------------------------------------------------------------------ smaller screens */

@media (max-width: 1100px) {
  .step { padding-right: 12px; }
  .step__note { font-size: .78rem; }
}

@media (max-width: 899px) {
  .release { max-width: none; }
  .release__title { font-size: clamp(2.75rem, 12.5vw, 5.5rem); }
  .release__artist { font-size: var(--t-28); }
  .chapter__cat { margin-bottom: clamp(140px, 24vh, 220px); }
  .where { margin-top: clamp(56px, 9vh, 88px); }

  .journey { grid-template-columns: 1fr; }
  .step { padding: 0 0 26px 36px; }
  .step:last-child { padding-bottom: 0; }
  .step__node { top: 3px; }
  .step::after {
    top: 23px;
    left: 6px;
    right: auto;
    bottom: -1px;
    width: 2px;
    height: auto;
    transform: scaleY(0);
    transform-origin: center top;
  }
  .journey.is-drawn .step::after { transform: scaleY(1); }
  .step.c-faint::after { background: repeating-linear-gradient(to bottom, var(--ink) 0 2px, transparent 2px 8px); }
  .step.c-progress::after {
    background: repeating-linear-gradient(to bottom, var(--ink) 0 7px, transparent 7px 12px);
    background-size: 100% 24px;
    animation-name: march-down;
  }
  .step__note { font-size: var(--t-13); }
}
@keyframes march-down { to { background-position: 0 24px; } }

@media (max-width: 699px) {
  :root { --bar-h: 56px; }
  .bar__dots { gap: 0; }
  .bar__now:not([hidden]) ~ .bar__dots { display: none; }
  .hero { display: block; min-height: 0; }
  .bands { position: relative; inset: auto; flex-direction: column; }
  .band { flex: none; min-height: 15svh; }
  .band::before { transform-origin: 0 50%; }
  .bands.is-folded .band::before { transform: scaleX(0); }
  .band.is-hot { flex-grow: 0; }
  .band:first-child { min-height: calc(15svh + var(--bar-h)); }
  .band:first-child .band__link { padding-top: calc(var(--bar-h) + 12px); }
  .band__link { padding: 14px var(--pad) 12px; }
  .band__artist { font-size: var(--t-17); }
  .band__coords { font-size: var(--t-13); }
  .hero__foot { display: block; padding: 26px var(--pad) 34px; }
  .hero__motto { font-size: var(--t-21); }
  .hero__place { margin-top: 10px; text-align: left; }
  .shop__item { grid-template-columns: minmax(0, 1fr); gap: 12px; min-height: 0; }
  .shop__action { justify-content: start; flex-wrap: wrap; gap: 12px 16px; }
  .foot__main { display: block; }
  .foot__links { margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
}
