/* Revoxx — "I was there when it started."
   Liquid chrome on a black wall, with the things you keep from the nights:
   tapes, ticket stubs, prints, a flyer. One file, no framework. */

:root {
  --wall: #060606;
  --wall-2: #0d0d0d;
  --ink: #ecebe6;
  --ink-2: #a9a8a2;
  --ink-3: #6f6e69;
  --line: rgba(236, 235, 230, 0.12);
  --line-2: rgba(236, 235, 230, 0.28);
  --paper: #ebe8df;
  --paper-2: #d9d5c8;
  --paper-ink: #121212;
  --tape: rgba(214, 205, 178, 0.74);
  --wrap: 1400px;
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 68px;
  --display: "Anybody", "Arial Black", system-ui, sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Sedgwick Ave", "Marker Felt", "Segoe Print", cursive;
  --ie-g: #169b62;
  --ie-w: #f2f1ec;
  --ie-o: #ff883e;
  --ie: linear-gradient(90deg, var(--ie-g) 0 33.34%, var(--ie-w) 33.34% 66.66%, var(--ie-o) 66.66% 100%);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --paper-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--wall); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; background: var(--wall); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; overflow-x: clip;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background-image: var(--grain); opacity: 0.09; mix-blend-mode: overlay;
}
img, video, svg, iframe, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ie-g); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #000; padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- type ---------- */

.display {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 150%;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.86;
  font-size: clamp(38px, 5.8vw, 96px);
}
.hand { font-family: var(--hand); font-weight: 400; letter-spacing: 0.01em; line-height: 1.1; }
.kicker { font-size: 14px; color: var(--ink-3); margin: 0 0 14px; }
.num { font-variant-numeric: tabular-nums; }

/* titles stretch open as they arrive */
[data-stretch] { transition: font-stretch 1.4s var(--ease), letter-spacing 1.4s var(--ease); }
.js [data-stretch]:not(.is-in) { font-stretch: 55%; letter-spacing: 0.02em; }

/* ---------- objects: tape, prints, paper, stickers ---------- */

.tape {
  position: absolute; z-index: 2; width: 104px; height: 30px;
  background: var(--tape);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  clip-path: polygon(2% 0, 98% 6%, 100% 28%, 97% 52%, 100% 78%, 98% 100%, 3% 95%, 0 72%, 3% 46%, 0 22%);
}
.tape--tl { top: -12px; left: -22px; transform: rotate(-34deg); }
.tape--tr { top: -12px; right: -22px; transform: rotate(32deg); }
.tape--bl { bottom: -10px; left: -20px; transform: rotate(28deg); }
.tape--br { bottom: -10px; right: -22px; transform: rotate(-30deg); }
.tape--top { top: -15px; left: 50%; transform: translateX(-50%) rotate(-3deg); }

.print {
  position: relative; margin: 0;
  background: #f1efe8; padding: 10px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.6), 0 3px 8px rgba(0, 0, 0, 0.45);
  transform: rotate(var(--r, 0deg));
  transition: transform 0.6s var(--ease);
}
.print img { width: 100%; }
.print:hover { transform: rotate(calc(var(--r, 0deg) * 0.3)) translateY(-4px); }
.print figcaption { font-family: var(--hand); font-weight: 400; color: #222; font-size: 18px; line-height: 1; padding: 8px 4px 0; }

.sticker {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px 13px;
  background-color: var(--paper); background-image: var(--paper-grain); background-blend-mode: multiply;
  color: var(--paper-ink);
  font-family: var(--hand); font-weight: 400; font-size: 23px; line-height: 1;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), 0 2px 0 rgba(0, 0, 0, 0.25);
  transform: rotate(var(--r, -2deg));
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.sticker:hover { transform: rotate(0deg) scale(1.04); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5); }
.sticker svg { width: 20px; height: 20px; flex: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: color 0.2s; }
.link-arrow:hover { color: var(--ink); }
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* ---------- header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); color: #fff;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s, -webkit-backdrop-filter 0.35s, backdrop-filter 0.35s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -36px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent); transition: opacity 0.35s;
}
.site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.72); border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; padding-inline: var(--gutter); }
.brand { flex: none; display: block; }
.brand img { width: 64px; height: auto; filter: grayscale(1) brightness(1.3); }
/* the next release, as an Apple style Live Activity */
.island {
  display: inline-flex; align-items: center; gap: 12px; flex: none;
  padding: 5px 8px 5px 5px; border-radius: 999px;
  background: rgba(14, 14, 14, 0.74);
  -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--sans);
  color: #fff;
  transition: transform 0.35s var(--ease), background-color 0.3s;
}
.island:hover { transform: scale(1.03); background: rgba(26, 26, 26, 0.82); }
.island__art { position: relative; width: 40px; height: 40px; flex: none; }
.island__art img { position: absolute; left: 5px; top: 5px; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; animation: spinvinyl 9s linear infinite; }
@keyframes spinvinyl { to { transform: rotate(360deg); } }
.island__ring { position: absolute; inset: 0; width: 40px; height: 40px; transform: rotate(-90deg); }
.island__ring circle { fill: none; stroke-width: 2.6; stroke: rgba(255, 255, 255, 0.14); }
.island__ring .island__prog { stroke: #22c27e; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0)); transition: stroke-dashoffset 1s var(--ease); }
.island__text { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.island__t { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.island__s { font-size: 11px; color: rgba(255, 255, 255, 0.55); }
.island__cd { display: flex; gap: 4px; font-family: ui-rounded, "SF Pro Rounded", -apple-system, var(--sans); }
.island__cd > span { display: flex; align-items: baseline; justify-content: center; gap: 1px; min-width: 42px; padding: 6px 7px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.island__cd b { display: inline-block; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.island__cd i { font-style: normal; font-size: 10px; font-weight: 600; color: rgba(255, 255, 255, 0.5); }
.is-released .island { padding-right: 16px; }
@media (max-width: 600px) {
  .island { position: absolute; left: 50%; transform: translateX(-50%); gap: 8px; padding-right: 6px; }
  .island:hover { transform: translateX(-50%) scale(1.03); }
  .island__text, .island__sec { display: none; }
  .island__cd > span { min-width: 36px; padding: 5px 6px; }
}
.nav { margin-left: auto; display: flex; gap: 26px; }
.nav a { font-size: 14px; font-weight: 600; opacity: 0.72; transition: opacity 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.menu-btn { display: none; margin-left: auto; font-size: 14px; font-weight: 700; padding: 10px 0 10px 12px; }
.cart-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn #cart-count { position: absolute; top: 0; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #fff; color: #000; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.cart-btn #cart-count.hidden { display: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--wall);
  padding: calc(var(--header-h) + 20px) var(--gutter) 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--display); font-weight: 800; font-stretch: 140%; text-transform: uppercase;
  font-size: clamp(30px, 9vw, 52px); letter-spacing: -0.03em; line-height: 1.05;
}
.mobile-menu .hand { color: var(--ink-3); font-size: 21px; margin: 0 0 16px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}

/* ---------- hero: Budapest, with the logo in 3D on top ---------- */

.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: #000; isolation: isolate; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(38% 42% at 50% 48%, rgba(22, 155, 98, 0.22), transparent 72%),
    radial-gradient(130% 100% at 50% 45%, transparent 0%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0.6) 100%),
    linear-gradient(to bottom, transparent 0%, transparent 72%, #060606 100%);
}
.hero__logo {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: min(900px, 78vw, 98svh);
  transform: translate(-50%, -52%);
  opacity: 0; transition: opacity 1.4s var(--ease) 0.2s;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.hero.is-ready .hero__logo { opacity: 1; }
.hero__logo-in { position: relative; will-change: transform; }
.hero__logo-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.6)); }
/* the light and the glint: brighter copies of the logo, seen through a moving window,
   so they only ever land on the chrome and follow its real detail */
.hero__light { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.hero__light img { display: block; width: 100%; height: auto; will-change: transform; }
.hero__glow {
  opacity: 0.8; mix-blend-mode: screen;
  -webkit-mask: radial-gradient(closest-side, #000, rgba(0, 0, 0, 0.45) 50%, transparent) center / 64% 80% no-repeat;
  mask: radial-gradient(closest-side, #000, rgba(0, 0, 0, 0.45) 50%, transparent) center / 64% 80% no-repeat;
}
.hero__glow img { filter: brightness(1.25) saturate(0); }
.hero__glint {
  opacity: 0;
  -webkit-mask: linear-gradient(105deg, transparent 43%, rgba(0, 0, 0, 0.22) 47%, rgba(0, 0, 0, 0.9) 49.6%, rgba(0, 0, 0, 0.9) 50.4%, rgba(0, 0, 0, 0.22) 53%, transparent 57%);
  mask: linear-gradient(105deg, transparent 43%, rgba(0, 0, 0, 0.22) 47%, rgba(0, 0, 0, 0.9) 49.6%, rgba(0, 0, 0, 0.9) 50.4%, rgba(0, 0, 0, 0.22) 53%, transparent 57%);
}
.hero__glint img { filter: brightness(0) invert(1); }
.hero__sticker { position: absolute; right: var(--gutter); bottom: clamp(24px, 6vh, 64px); z-index: 4; }
.hero__sticker .sticker { --r: 5deg; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 20px 15px; font-size: 26px; }
.hero__sticker .sticker__line { font-weight: inherit; white-space: nowrap; line-height: 1.05; }
.hero__sticker .sticker small { font-family: var(--sans); font-size: 12px; color: #555; letter-spacing: 0.01em; }
.hero__sticker .sticker > span { display: flex; align-items: center; gap: 8px; font-size: 18px; }

@media (max-aspect-ratio: 4/5), (max-width: 600px) {
  .hero__logo { width: 92vw; top: 46%; }
  .hero__cap { font-size: 17px; bottom: 22px; }
  .hero__sticker { right: 14px; bottom: 18px; }
  .hero__sticker .sticker { font-size: 21px; padding: 12px 14px 11px; }
  .hero__sticker .sticker > span { font-size: 16px; }
}

/* ---------- sections ---------- */

.section { position: relative; padding-block: clamp(96px, 13vw, 190px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 28px; margin-bottom: clamp(44px, 6vw, 84px); }
.section-head .hand { font-size: clamp(20px, 1.8vw, 26px); color: var(--ink-2); margin: 0 0 0.25em; transform: rotate(-2deg); }

/* ---------- next up: countdown + tickets ---------- */

.next__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.next__cover { --r: -3.5deg; max-width: 460px; }
.next__note { position: absolute; right: -18px; bottom: -42px; z-index: 3; font-size: 25px; color: var(--ink); transform: rotate(-8deg); margin: 0; }
.next__title { margin-bottom: clamp(28px, 4vw, 44px); }
.countdown { display: flex; gap: clamp(14px, 2.4vw, 34px); margin-bottom: clamp(32px, 4vw, 48px); }
.countdown div { display: flex; flex-direction: column; gap: 8px; }
.countdown b {
  font-family: var(--display); font-weight: 800; font-stretch: 100%;
  font-size: clamp(44px, 6vw, 96px); line-height: 0.85; font-variant-numeric: tabular-nums; letter-spacing: -0.03em;
}
.countdown small { font-size: 13px; color: var(--ink-3); }
.next__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; }
.is-released [data-pre], :root:not(.is-released) [data-post] { display: none !important; }

.road { margin-top: clamp(100px, 12vw, 170px); }
.road .section-head { margin-bottom: 40px; }
.tickets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.ticket {
  --r: 0deg; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 96px;
  min-height: 210px; border-radius: 6px;
  background-color: var(--paper); background-image: var(--paper-grain); background-blend-mode: multiply;
  color: var(--paper-ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  transform: rotate(var(--r));
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.ticket:nth-child(1) { --r: -1.6deg; }
.ticket:nth-child(2) { --r: 1.2deg; }
.ticket:nth-child(3) { --r: -0.6deg; }
.ticket:hover { transform: rotate(0deg) translateY(-8px); box-shadow: 0 28px 54px rgba(0, 0, 0, 0.6); }
.ticket::before, .ticket::after { content: ""; position: absolute; right: 86px; width: 20px; height: 20px; border-radius: 50%; background: var(--wall); }
.ticket::before { top: -10px; }
.ticket::after { bottom: -10px; }
.ticket__main { padding: 18px 20px 18px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-width: 0; }
.ticket__top { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #444; }
.ticket__date { font-family: var(--display); font-weight: 800; font-stretch: 100%; font-size: 40px; line-height: 0.85; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ticket__city { font-family: var(--display); font-weight: 800; font-stretch: 140%; text-transform: uppercase; font-size: clamp(22px, 2.1vw, 30px); line-height: 0.95; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.ticket__host { font-size: 13px; color: #444; margin: 6px 0 0; }
.ticket__stub { border-left: 2px dashed rgba(0, 0, 0, 0.3); padding: 16px 10px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.ticket__day { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--hand); font-weight: 400; font-size: 24px; }
.ticket__bars { width: 46px; height: 64px; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px, #111 8px 11px, transparent 11px 13px); }
.ticket__info { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

@media (max-width: 960px) {
  .next__grid { grid-template-columns: 1fr; }
  .next__cover { max-width: 340px; }
  .tickets { grid-template-columns: 1fr; max-width: 520px; }
}

/* ---------- music: the deck and the tape rack ---------- */

.player { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }

.deck {
  position: sticky; top: calc(var(--header-h) + 16px);
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px;
}
.deck__now { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 16px; }
.deck__art { width: 120px; height: 120px; object-fit: cover; border-radius: 6px; background: #111; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55); }
.deck__text .kicker { margin-bottom: 6px; font-size: 13px; }
.deck__title { font-family: var(--display); font-weight: 800; font-stretch: 115%; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.92; font-size: clamp(22px, 2vw, 30px); margin: 0 0 6px; overflow-wrap: anywhere; }
.deck__meta { color: var(--ink-2); font-size: 14px; margin: 0; }
.deck__controls { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.deck__btn {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--ink);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.deck__btn svg { width: 18px; height: 18px; fill: currentColor; }
.deck__btn[data-act="shuffle"] svg { fill: none; }
.deck__btn:hover { background: var(--ink); color: #000; border-color: var(--ink); }
.deck__btn:active { transform: scale(0.94); }
.deck__btn--play { width: 56px; height: 56px; background: var(--ink); color: #000; border-color: var(--ink); }
.deck__btn--play svg { width: 22px; height: 22px; }
.deck__btn--play .i-pause, .deck__btn--play.is-playing .i-play { display: none; }
.deck__btn--play.is-playing .i-pause { display: block; }
.deck__btn[hidden] { display: none; }
.deck__pos { margin-left: auto; font-size: 13px; color: var(--ink-3); }
.deck__src { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.deck__src button {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.deck__src button svg { width: 14px; height: 14px; }
.deck__src button:hover { color: var(--ink); border-color: var(--line-2); }
.deck__src button[aria-pressed="true"] { background: var(--ink); color: #000; border-color: var(--ink); }
.deck__src button[hidden] { display: none; }
.deck__frame { position: relative; height: 352px; border-radius: 12px; overflow: hidden; background: var(--wall-2); }
.deck__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.deck__spotify, .deck__spotify > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.deck__spotify[hidden] { display: none; }

.rack__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.rack__filters button {
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--ink-2); border: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.rack__filters button:hover { color: var(--ink); border-color: var(--line-2); }
.rack__filters button[aria-pressed="true"] { background: var(--ink); color: #000; border-color: var(--ink); }

.rack__tapes {
  --row: 300px;
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 6px;
  padding: 0 4px;
  /* a shelf under every row of tapes */
  background: repeating-linear-gradient(to bottom, transparent 0 calc(var(--row) - 3px), #262626 calc(var(--row) - 3px) var(--row));
}
.spine {
  --h: 250px; position: relative; flex: 0 0 auto; width: 44px; height: var(--h);
  margin-top: calc(var(--row) - var(--h) - 3px); margin-bottom: 3px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(90deg, #0c0c0c 0, #1c1c1c 18%, #141414 55%, #0a0a0a 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.spine[hidden] { display: none; }
/* hover: the cover shows above the tape */
.spine::before {
  content: ""; position: absolute; left: 50%; bottom: calc(100% + 12px); z-index: 6;
  width: 132px; height: 132px; border-radius: 6px;
  background: var(--art) center / cover no-repeat #111;
  box-shadow: 0 16px 30px rgba(0,0,0,.6);
  transform: translateX(-50%) translateY(6px) scale(0.92); opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.25s var(--ease);
}
.spine:hover::before, .spine:focus-visible::before { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
.spine:hover { transform: translateY(-14px); z-index: 5; }
.spine[aria-pressed="true"] { transform: translateY(-26px); box-shadow: inset 0 0 0 2px var(--ink), 0 14px 26px rgba(0,0,0,.7); z-index: 4; }
.spine.is-playing .spine__x { animation: spin 1.6s linear infinite; opacity: 0.9; }
@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }
.spine__label {
  position: absolute; left: 5px; right: 5px; top: 26px; bottom: 32px; border-radius: 2px;
  background-color: var(--paper); background-image: var(--paper-grain); background-blend-mode: multiply;
  color: var(--paper-ink);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  transform: rotate(var(--tilt, 0deg));
}
/* green, white, orange along the rack, kept pale */
.spine[data-tint="g"] .spine__label { background-color: #d3e6d6; }
.spine[data-tint="w"] .spine__label { background-color: #f4f3ef; }
.spine[data-tint="o"] .spine__label { background-color: #f5dcc5; }
.spine__t { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--hand); font-weight: 400; font-size: 14.5px; line-height: 1; text-align: center; max-height: 100%; padding: 6px 0; }
.spine__t small { display: block; font-size: 11.5px; opacity: 0.7; }
.spine__y { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 10px; font-weight: 700; color: var(--ink-3); letter-spacing: 0.04em; }
.spine__x { position: absolute; left: 50%; top: 6px; transform: translateX(-50%); width: 24px; opacity: 0.5; }

.music__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: end; margin-top: clamp(60px, 7vw, 96px); }
.platforms { display: flex; flex-wrap: wrap; gap: 8px 30px; }
.platforms a {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-stretch: 120%; text-transform: uppercase; letter-spacing: -0.02em;
  font-size: clamp(17px, 1.6vw, 23px); color: var(--ink-2); transition: color 0.2s;
}
.platforms a svg { width: 20px; height: 20px; }
.platforms a:hover { color: var(--ink); }
.stats { display: flex; gap: 30px; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 100%; font-size: clamp(30px, 3vw, 44px); line-height: 0.9; letter-spacing: -0.03em; }
.stat span { font-size: 13px; color: var(--ink-3); }

@media (max-width: 960px) {
  .player { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .rack-col { order: -1; }
  .deck { position: relative; top: auto; }
  .rack { margin-inline: calc(var(--gutter) * -1); }
  .rack__filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .rack__filters::-webkit-scrollbar { display: none; }
  .rack__filters button { flex: none; }
  .rack__tapes {
    --row: 268px; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
    padding: 150px var(--gutter) 0; margin-top: -140px; scrollbar-width: none;
    background: linear-gradient(to bottom, transparent calc(100% - 3px), #262626 calc(100% - 3px));
  }
  .rack__tapes::-webkit-scrollbar { display: none; }
  .spine { --h: 226px; width: 46px; scroll-snap-align: start; margin-top: 0; }
  .music__foot { grid-template-columns: 1fr; }
  .stats { gap: 22px; flex-wrap: wrap; }
}

/* ---------- live set ---------- */

.liveset__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line);
}
.liveset__frame img, .liveset__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.liveset__frame img { filter: brightness(0.72); transition: filter 0.4s, transform 1.2s var(--ease); }
.liveset__frame:hover img { filter: brightness(0.86); transform: scale(1.02); }
.liveset__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px 16px 18px; border-radius: 999px;
  background: var(--ink); color: #000; font-weight: 700; font-size: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s var(--ease);
}
.liveset__play svg { width: 26px; height: 26px; fill: currentColor; }
.liveset__play:hover { transform: translate(-50%, -50%) scale(1.05); }
#live { isolation: isolate; }
#live::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(44% 40% at 50% 55%, rgba(22, 155, 98, 0.13), transparent 72%); }

/* ---------- story ---------- */

.story-head { margin-bottom: clamp(60px, 9vw, 140px); }
.ch {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 660px) minmax(0, 1fr);
  column-gap: clamp(28px, 4vw, 64px); align-items: start;
  padding-block: clamp(36px, 5vw, 72px);
}
.ch__body { grid-column: 2; grid-row: 1; }
.ch__n { font-size: 32px; color: var(--ink-3); margin: 0 0 6px; transform: rotate(-4deg); display: inline-block; }
.ch__t { font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.92; font-size: clamp(26px, 2.6vw, 38px); margin: 0 0 22px; }
.ch p { color: var(--ink-2); font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.72; }
.ch p strong { color: var(--ink); font-weight: 600; }
.ch__print { max-width: 320px; margin-top: 18px; }
.ch__print--left { grid-column: 1; grid-row: 1; justify-self: end; }
.ch__print--right { grid-column: 3; grid-row: 1; justify-self: start; }
.ch__print--sticker { background: none; box-shadow: none; padding: 0; filter: drop-shadow(0 18px 30px rgba(0,0,0,.7)); }

.quote {
  margin: clamp(40px, 7vw, 110px) 0; max-width: 1240px;
  font-family: var(--display); font-weight: 800; font-stretch: 140%; text-transform: uppercase;
  font-size: clamp(30px, 4.6vw, 76px); line-height: 0.96; letter-spacing: -0.035em;
}
.quote .w { color: rgba(236, 235, 230, 0.16); transition: color 0.35s; }
.quote .w.is-lit { color: var(--ink); }
.no-js .quote .w { color: var(--ink); }
.story-end { padding-top: clamp(30px, 5vw, 60px); }
.story-end .quote { margin-bottom: 10px; }
.underline-draw { display: block; width: min(760px, 90%); height: 30px; margin: 0 0 26px; overflow: visible; }
.underline-draw path { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1.6s var(--ease) 0.2s; }
.underline-draw.is-in path { stroke-dashoffset: 0; }
.sign { font-size: clamp(28px, 3.3vw, 46px); transform: rotate(-3deg); display: inline-block; margin: 0; }

@media (max-width: 1100px) {
  .ch { grid-template-columns: minmax(0, 1fr); }
  .ch__body { grid-column: 1; grid-row: 2; }
  .ch__print--left, .ch__print--right { grid-column: 1; grid-row: 1; }
  .ch__print { max-width: min(72%, 340px); margin: 6px 0 34px 10px; }
  .ch__print--right { justify-self: end; margin-right: 10px; }
}

/* ---------- merch: contact sheet ---------- */

.sheet {
  position: relative; background: #0f0f0f; padding: 34px 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  transform: rotate(-0.8deg);
}
.sheet::before, .sheet::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px;
  background: repeating-linear-gradient(90deg, transparent 0 9px, #cfcbbf 9px 21px, transparent 21px 30px);
  opacity: 0.8;
}
.sheet::before { top: 11px; }
.sheet::after { bottom: 11px; }
.sheet__strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.frame { position: relative; margin: 0; }
.frame img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.frame figcaption { position: absolute; left: 4px; bottom: -21px; font-size: 10px; font-weight: 700; color: #8a8478; letter-spacing: 0.08em; }
.frame__ring { position: absolute; left: -14px; top: -16px; width: calc(100% + 28px); height: calc(100% + 32px); pointer-events: none; overflow: visible; }
.frame__ring path { fill: none; stroke: var(--paper); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 2200; stroke-dashoffset: 2200; transition: stroke-dashoffset 1.6s var(--ease) 0.3s; }
.sheet.is-in .frame__ring path { stroke-dashoffset: 0; }
.frame__note { position: absolute; top: -66px; right: -18px; z-index: 3; font-size: 24px; color: var(--paper); transform: rotate(6deg); white-space: nowrap; margin: 0; }
.merch__info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 56px; align-items: end; margin-top: clamp(64px, 8vw, 110px); }
.merch__name { font-family: var(--display); font-weight: 800; font-stretch: 130%; text-transform: uppercase; letter-spacing: -0.03em; font-size: clamp(28px, 3.4vw, 50px); line-height: 0.92; margin: 0 0 14px; }
.merch__spec { color: var(--ink-2); font-size: 15px; margin: 0; }
.merch__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.merch__price { font-family: var(--display); font-weight: 800; font-stretch: 100%; font-size: clamp(36px, 4vw, 56px); letter-spacing: -0.03em; line-height: 1; }
@media (max-width: 900px) {
  .sheet { margin-inline: calc(var(--gutter) * -1); transform: none; overflow-x: auto; scrollbar-width: none; padding-inline: var(--gutter); padding-top: 90px; }
  .sheet::-webkit-scrollbar { display: none; }
  .sheet__strip { grid-template-columns: repeat(5, 44vw); width: max-content; }
  .frame__note { top: -66px; right: auto; left: 0; }
  .merch__info { grid-template-columns: 1fr; }
}

/* ---------- booking: the flyer ---------- */

.flyer {
  position: relative; max-width: 1040px; margin-inline: auto;
  padding: clamp(30px, 5vw, 64px) clamp(20px, 5vw, 72px);
  background-color: var(--paper); background-image: var(--paper-grain); background-blend-mode: multiply;
  color: var(--paper-ink);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.65);
  transform: rotate(-1.1deg);
  text-align: center;
}
.flyer__top { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: clamp(20px, 3vw, 36px); }
.flyer__title { font-family: var(--display); font-weight: 900; font-stretch: 150%; text-transform: uppercase; letter-spacing: -0.04em; font-size: clamp(40px, 8vw, 128px); line-height: 0.82; margin: 0 0 22px; }
.flyer__mail { display: inline-block; font-family: var(--display); font-weight: 700; font-stretch: 110%; font-size: clamp(17px, 2.6vw, 36px); letter-spacing: -0.02em; border-bottom: 3px solid currentColor; line-height: 1.15; overflow-wrap: anywhere; }
.flyer__via { font-family: var(--hand); font-weight: 400; font-size: 22px; margin: 14px 0 0; }
.flyer__rule { border: 0; border-top: 2px solid var(--paper-ink); margin: clamp(26px, 4vw, 44px) 0; }
.flyer__k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 14px; color: #555; }
.lineup { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1.04; margin: 0; }
.lineup span { display: inline-block; margin: 0 0.16em; }
.lineup .l1 { font-stretch: 140%; font-size: clamp(24px, 4.2vw, 60px); }
.lineup .l2 { font-stretch: 120%; font-size: clamp(19px, 2.8vw, 38px); }
.lineup .l3 { font-stretch: 100%; font-size: clamp(16px, 2vw, 26px); }
.lineup--cities span { font-stretch: 100%; font-size: clamp(16px, 2vw, 26px); }
.flyer__labels { font-size: 15px; margin: 0; }
.flyer__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(26px, 4vw, 44px); padding-top: 18px; border-top: 2px dashed rgba(0, 0, 0, 0.35); font-size: 14px; text-align: left; }
.flyer__foot a { text-decoration: underline; text-underline-offset: 3px; }
.flyer .socials a { color: var(--paper-ink); border-color: rgba(0, 0, 0, 0.25); text-decoration: none; }
.flyer .socials a:hover { background: var(--paper-ink); color: var(--paper); }
@media (max-width: 600px) { .flyer { transform: rotate(-0.6deg); } .flyer__top span:last-child { display: none; } }

.socials { display: flex; flex-wrap: wrap; gap: 6px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink-2); transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.socials a svg { width: 18px; height: 18px; }
.socials a:hover { color: #000; background: var(--ink); border-color: var(--ink); }

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

.site-footer { padding: clamp(80px, 10vw, 140px) 0 36px; }
.site-footer__logo { width: min(640px, 86vw); margin: 0 auto clamp(48px, 6vw, 80px); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__links a:hover { color: var(--ink); }

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

.page-hero { padding: calc(var(--header-h) + clamp(56px, 9vw, 130px)) 0 clamp(40px, 6vw, 72px); }
.page-hero .display { font-size: clamp(56px, 11vw, 180px); }
.page-hero p { margin: 22px 0 0; max-width: 560px; color: var(--ink-2); }

/* Legacy store pages keep their Tailwind layout; this aligns their type with the site */
.legacy body { font-family: var(--sans) !important; }
.legacy .font-heading { font-family: var(--display) !important; font-stretch: 125%; font-weight: 800 !important; text-transform: uppercase; letter-spacing: -0.03em !important; }
.legacy h1.font-heading { font-stretch: 140%; line-height: 0.92; }
.legacy .text-accent { color: var(--ink) !important; }

/* ---------- reveal ---------- */

[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .js [data-stretch]:not(.is-in) { font-stretch: 150%; letter-spacing: -0.035em; }
  .quote .w { color: var(--ink); }
  .underline-draw path, .frame__ring path { stroke-dashoffset: 0; }
}



/* ---------- Irish green, as light in the room ---------- */
#next, #listen, #story, #booking, .site-footer { isolation: isolate; }
#next::before, #listen::before, #story::before, #booking::before, .site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
#next::before { background: radial-gradient(34% 40% at 22% 32%, rgba(22, 155, 98, 0.14), transparent 70%); }
#listen::before { background: radial-gradient(50% 28% at 50% 62%, rgba(22, 155, 98, 0.12), transparent 72%); }
#story::before { background: radial-gradient(30% 22% at 84% 12%, rgba(22, 155, 98, 0.11), transparent 70%), radial-gradient(28% 20% at 12% 58%, rgba(22, 155, 98, 0.08), transparent 70%); }
#booking::before { background: radial-gradient(46% 46% at 50% 50%, rgba(22, 155, 98, 0.16), transparent 72%); }
.site-footer { position: relative; }
.site-footer::before { background: radial-gradient(40% 50% at 50% 30%, rgba(22, 155, 98, 0.12), transparent 70%), radial-gradient(24% 40% at 90% 100%, rgba(255, 136, 62, 0.06), transparent 70%); }

/* ---------- tickets wear the colours of where the show is ---------- */
.ticket__main { padding-top: 22px; background: var(--band) top left / 100% 6px no-repeat; }
.ticket--sco { --band: linear-gradient(90deg, #0065bd 0 43%, #ffffff 43% 57%, #0065bd 57% 100%); }
.ticket--wal { --band: linear-gradient(90deg, #ffffff 0 40%, #d30731 40% 60%, #00b140 60% 100%); }
.ticket--eng { --band: linear-gradient(90deg, #ffffff 0 43%, #ce1124 43% 57%, #ffffff 57% 100%); }
.ticket--ie { --band: linear-gradient(90deg, #169b62 0 33.3%, #ffffff 33.3% 66.6%, #ff883e 66.6% 100%); }

/* handwriting: each word sits at its own angle, like it was actually written */
.hw {
  display: inline-block;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 -2.2 2.15'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 -2.2 2.15'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.flyer__soon { font-size: 14px; margin: 10px 0 0; color: #555; }
