/* Pulse Events — styles
   Colours and type live in :root; change them there and the whole site follows. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #08090a;
  --bg-raise: #0f1012;
  --line: rgba(232, 236, 241, 0.12);
  --line-strong: rgba(232, 236, 241, 0.28);
  --text: #e8ecf1;
  --muted: #8a9099;
  --faint: #50555c;
  --ice: #cfe6ff;

  --gutter: clamp(16px, 2.4vw, 32px);
  --max: 1440px;
  --header-h: 64px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
::selection { background: var(--ice); color: var(--bg); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* type helpers */
.display {
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.01em;
}
.meta {
  font-stretch: 115%;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.num { font-variant-numeric: tabular-nums; }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 14px;
}
.skip:focus { top: 8px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-solid { background: rgba(8, 9, 10, 0.92); border-color: var(--line); }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo img { height: 30px; width: auto; filter: invert(1); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  font-stretch: 115%; font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
.nav a:hover { color: var(--text); }

.lang { display: flex; align-items: center; gap: 2px; font-stretch: 115%; font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.lang button { padding: 6px 6px; color: var(--faint); transition: color .2s; }
.lang button[aria-pressed="true"] { color: var(--text); }
.lang span { color: var(--faint); }

.header-cta {
  font-stretch: 115%; font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--line-strong); padding: 9px 14px; transition: background .2s, color .2s;
}
.header-cta:hover { background: var(--text); color: var(--bg); }

.menu-btn { display: none; margin-left: auto; font-stretch: 115%; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 10px 0; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--bg);
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-size: 56px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .lang { margin-top: auto; font-size: 14px; }
.mobile-menu-close { position: absolute; top: 0; right: var(--gutter); height: var(--header-h); font-stretch: 115%; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header-h) + 20px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 368px;
  gap: 20px;
  align-items: stretch;
}
.banner {
  position: relative; overflow: hidden; background: #000;
  aspect-ratio: 16 / 9;
  clip-path: inset(0 0 100% 0);
  animation: wipe 1.1s var(--ease) .1s forwards;
}
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
.banner picture { position: relative; display: block; width: 100%; height: 100%; }
.banner img { width: 100%; height: 100%; object-fit: contain; }
.banner-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(28px) brightness(.45); }
.banner img { transform: scale(1.04); animation: settle 1.8s var(--ease) .1s forwards; }
@keyframes settle { to { transform: scale(1); } }
.banner-sheen {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 40%), rgba(207, 230, 255, .35), transparent 60%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.banner:hover .banner-sheen { opacity: 1; }
.banner a { position: absolute; inset: 0; }

.ticket {
  border: 1px solid var(--line);
  background: var(--bg-raise);
  padding: 22px 22px 20px;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(12px);
  animation: rise .9s var(--ease) .45s forwards;
}
@keyframes rise { to { opacity: 1; transform: none; } }
.ticket-top { display: flex; justify-content: space-between; align-items: center; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ice);
  box-shadow: 0 0 0 0 rgba(207, 230, 255, .6); animation: ping 2.4s infinite;
}
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 7px rgba(207, 230, 255, 0); } }
.ticket h1 { font-size: 52px; margin: 18px 0 4px; }
.ticket .tagline { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.facts dt { color: var(--faint); font-stretch: 115%; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding-top: 3px; }
.facts dd { margin: 0; }

.countdown { display: flex; gap: 14px; margin: 18px 0 0; padding: 14px 0; border-block: 1px solid var(--line); }
.countdown div { display: flex; flex-direction: column; min-width: 44px; }
.countdown b { font-stretch: 62%; font-weight: 700; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { font-stretch: 115%; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-top: 4px; }

.price { display: flex; align-items: baseline; justify-content: space-between; margin-top: 16px; }
.price strong { font-stretch: 62%; font-weight: 800; font-size: 64px; line-height: .9; letter-spacing: -.01em; }

.tiers { list-style: none; margin: 12px 0 0; padding: 0; font-size: 13px; }
.tiers li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.tiers li:last-child { border-bottom: 0; }
.tiers .out { color: var(--faint); }
.tiers .out span:first-child { text-decoration: line-through; text-decoration-color: var(--faint); }
.tiers .cheapest span:first-child::after { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--ice); margin-left: 8px; vertical-align: middle; }

.buy {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--text); color: var(--bg);
  padding: 15px 18px;
  font-stretch: 115%; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  position: relative; overflow: hidden;
}
.ticket .buy { margin-top: 18px; }
.ticket .spacer { flex: 1; }
.buy svg { transition: transform .35s var(--ease); }
.buy:hover svg { transform: translateX(4px); }
.buy::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(207, 230, 255, .55) 50%, transparent 70%);
  transform: translateX(-100%);
}
.buy:hover::after { transform: translateX(100%); transition: transform .8s var(--ease); }
.buy.is-disabled { background: transparent; color: var(--muted); border: 1px solid var(--line); pointer-events: none; }
.fineprint { margin: 10px 0 0; font-size: 12px; color: var(--faint); }

/* ---------- Marquee ---------- */
.marquee { margin-top: 56px; border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track span {
  font-stretch: 62%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(36px, 5.2vw, 72px); line-height: 1; white-space: nowrap; padding-right: .5em; color: var(--text);
}
.marquee-track span i { font-style: normal; color: var(--faint); padding-left: .5em; }

/* ---------- Sections ---------- */
.section { padding: 128px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(56px, 9vw, 132px); margin: 0; }
.section-head p { max-width: 340px; margin: 0; color: var(--muted); font-size: 15px; }

/* featured cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; }
.card-img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-raise); position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s var(--ease); filter: grayscale(.15) brightness(.92); }
.card:hover .card-img img { transform: scale(1.035); filter: none; }
.card-body { display: grid; grid-template-columns: auto 1fr; gap: 0 18px; padding-top: 16px; }
.card-date { font-stretch: 62%; font-weight: 800; font-size: 56px; line-height: .85; }
.card-date small { display: block; font-stretch: 115%; font-weight: 500; font-size: 11px; letter-spacing: .08em; color: var(--muted); margin-top: 8px; }
.card h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.2; }
.card .sub { color: var(--muted); font-size: 14px; margin: 2px 0 10px; }
.card .row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 10px; font-size: 14px; }
.card .row .go { display: inline-flex; gap: 8px; align-items: center; font-stretch: 115%; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.card .row .go svg { transition: transform .35s var(--ease); }
.card:hover .row .go svg { transform: translateX(4px); }
.tag { display: inline-block; font-stretch: 115%; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-strong); padding: 3px 7px; color: var(--muted); white-space: nowrap; }
.card-img .tag { position: absolute; top: 12px; left: 12px; background: rgba(8, 9, 10, .8); color: var(--text); }

/* list rows (upcoming extras + past) */
.rows { border-top: 1px solid var(--line); }
.row-link {
  display: grid; grid-template-columns: 120px minmax(0, 1.4fr) minmax(0, 1fr) 110px 28px;
  align-items: center; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  position: relative; transition: color .3s;
}
.row-link .r-date { font-stretch: 62%; font-weight: 700; font-size: 30px; line-height: 1; }
.row-link .r-date small { display: block; font-stretch: 115%; font-weight: 500; font-size: 11px; letter-spacing: .08em; color: var(--muted); margin-top: 6px; }
.row-link .r-title { font-size: 20px; font-weight: 600; line-height: 1.2; }
.row-link .r-title span { display: block; font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.row-link .r-place { color: var(--muted); font-size: 14px; }
.row-link .r-end { text-align: right; font-size: 14px; }
.row-link svg { justify-self: end; color: var(--muted); transition: transform .35s var(--ease), color .3s; }
.row-link:hover svg { transform: translateX(4px); color: var(--text); }
.row-link .r-thumb { display: none; }
.rows-past .row-link { color: var(--muted); }
.rows-past .row-link .r-title { color: var(--text); }
.rows-past.is-hovering .row-link { opacity: .4; transition: opacity .3s; }
.rows-past.is-hovering .row-link:hover { opacity: 1; }
.subhead { margin: 56px 0 0; }
.subhead + .rows { margin-top: 16px; }

/* cursor-following preview for past events */
.peek {
  position: fixed; left: 0; top: 0; z-index: 40; width: 220px; aspect-ratio: 4 / 5;
  pointer-events: none; overflow: hidden; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.92);
  transition: opacity .3s var(--ease);
}
.peek.is-on { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- DJs ---------- */
.djs { border-top: 1px solid var(--line); }
.dj {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  border-bottom: 1px solid var(--line); padding: 10px 0; position: relative;
}
.dj-name { font-size: clamp(64px, 11vw, 168px); line-height: .9; transition: color .4s var(--ease); }
.djs:hover .dj-name { color: var(--faint); }
.djs .dj:hover .dj-name { color: var(--text); }
.dj-side { display: flex; align-items: center; gap: 20px; }
.dj-photo { width: 0; height: 120px; overflow: hidden; transition: width .6s var(--ease); }
.dj-photo img { width: 96px; height: 120px; object-fit: cover; }
.dj:hover .dj-photo { width: 96px; }
.dj-ig { color: var(--muted); display: inline-flex; gap: 6px; align-items: center; transition: color .2s; }
.dj-ig:hover { color: var(--text); }

/* ---------- Gallery: sideways poster strip ---------- */
.gallery { margin-top: 128px; }
.g-sticky { display: flex; flex-direction: column; gap: 32px; }
.g-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; width: 100%; }
.g-head h2 { font-size: clamp(56px, 9vw, 132px); margin: 0; }
.g-meta { display: flex; flex-direction: column; align-items: end; gap: 10px; padding-bottom: 10px; }
.g-progress { width: 160px; height: 1px; background: var(--line); overflow: hidden; }
.g-progress span { display: block; height: 100%; background: var(--text); transform-origin: left; transform: scaleX(.04); }

.g-track {
  --h: clamp(300px, 52vh, 540px);
  display: flex; gap: 20px; align-items: flex-start;
  padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  overscroll-behavior-x: contain; cursor: grab;
}
.g-track::-webkit-scrollbar { display: none; }
.g-track.is-dragging, .g-track.is-gliding { scroll-snap-type: none; }
.g-track.is-dragging { cursor: grabbing; user-select: none; }
.g-track.is-dragging .g-card { pointer-events: none; }
.g-nav { display: flex; align-items: center; gap: 8px; }
.g-nav .g-progress { margin-right: 10px; }
.g-arrow { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); transition: border-color .2s, opacity .2s; }
.g-arrow:hover:not(:disabled) { border-color: var(--line-strong); }
.g-arrow:disabled { opacity: .3; cursor: default; }

.g-card { flex: none; display: flex; flex-direction: column; text-align: left; scroll-snap-align: start; width: calc(var(--h) * var(--r)); max-width: 86vw; }
.g-img { display: block; height: var(--h); overflow: hidden; background: var(--bg-raise); position: relative; }
.g-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease), transform 1s var(--ease), filter .6s var(--ease); filter: grayscale(.2) brightness(.9); }
.g-img img.is-loaded { opacity: 1; }
.g-card:hover .g-img img, .g-card:focus-visible .g-img img { transform: scale(1.03); filter: none; }
.g-img::after {
  content: ""; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color .4s var(--ease);
}
.g-card:hover .g-img::after { border-color: var(--line-strong); }
.g-info { display: grid; gap: 2px; padding-top: 14px; min-width: 0; }
.g-title { font-size: 17px; font-weight: 700; line-height: 1.25; }
.g-sub { color: var(--muted); font-size: 14px; }
.g-tags { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-stretch: 115%; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.g-tags i { font-style: normal; color: var(--faint); }
.g-film { display: inline-flex; align-items: center; gap: 6px; color: var(--ice); }

/* ---------- Event viewer ---------- */
.viewer {
  position: fixed; inset: 0; z-index: 80; background: #050607;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.viewer.is-open { opacity: 1; visibility: visible; }
.v-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); }
.v-info { display: grid; gap: 2px; min-width: 0; }
.v-info h3 { margin: 0; font-size: 20px; font-weight: 700; }
.v-place { color: var(--muted); font-size: 14px; }
.v-actions { display: flex; gap: 8px; align-items: center; flex: none; }
.v-link, .v-close { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 10px 14px; font-stretch: 115%; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: border-color .2s, background .2s, color .2s; }
.v-link:hover, .v-close:hover { border-color: var(--line-strong); }
.v-close { background: var(--text); color: var(--bg); border-color: var(--text); }
.v-stage { position: relative; min-height: 0; }
.v-media { position: absolute; inset: 20px 88px; display: grid; place-items: center; }
.v-media img, .v-media video { width: 100%; height: 100%; object-fit: contain; display: block; animation: vin .45s var(--ease); }
@keyframes vin { from { opacity: 0; transform: scale(.985); } }
.v-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--text); transition: border-color .2s, background .2s; }
.v-arrow:hover { border-color: var(--line-strong); background: rgba(255,255,255,.04); }
.v-prev { left: var(--gutter); }
.v-next { right: var(--gutter); }
.v-thumbs { display: flex; gap: 8px; justify-content: center; padding: 14px var(--gutter) 22px; overflow-x: auto; scrollbar-width: none; }
.v-thumbs button { position: relative; flex: none; width: 88px; height: 58px; overflow: hidden; opacity: .45; transition: opacity .25s; outline-offset: 2px; }
.v-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 1px var(--text); }
.v-thumbs button:hover { opacity: .85; }
.v-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.v-thumbs .is-video span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.45); color: var(--ice); }

/* ---------- Instagram outro ---------- */
.outro { padding: 160px 0 120px; text-align: left; }
.outro a { display: inline-block; font-size: clamp(56px, 12vw, 200px); position: relative; }
.outro a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: 3px; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.outro a:hover::after { transform: scaleX(1); }
.outro p { color: var(--muted); margin: 0 0 18px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; }
.footer .logo img { height: 24px; }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a:hover { color: var(--text); }
.footer .copy { margin-left: auto; }

/* ---------- Mobile sticky buy bar ---------- */
.buybar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: none;
  transform: translateY(140%); transition: transform .45s var(--ease);
}
.buybar.is-on { transform: none; }
.buybar .buy { margin: 0; gap: 12px; }
@media (max-width: 400px) { .bb-title { display: none; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Privacy page ---------- */
.doc { padding: calc(var(--header-h) + 64px) 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(56px, 10vw, 120px); margin: 0 0 12px; }
.doc .updated { margin-bottom: 48px; }
.doc h2 { font-size: 20px; margin: 44px 0 10px; font-weight: 700; }
.doc p, .doc li { color: #c3c8cf; }
.doc ul { padding-left: 20px; }
.doc a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.doc a:hover { text-decoration-color: var(--text); }
.doc .callout { border: 1px solid var(--line); padding: 20px 22px; margin: 0 0 8px; }
.doc .callout p { margin: 0; color: var(--text); }

[data-lang-block] { display: none; }
html[lang="et"] [data-lang-block="et"], html[lang="en"] [data-lang-block="en"] { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 330px; }
  .ticket h1 { font-size: 44px; }
  .tiers li:nth-child(n+5) { display: none; }
}
@media (max-width: 960px) {
  .nav, .header .lang, .header-cta { display: none; }
  .menu-btn { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .banner { aspect-ratio: 9 / 16; max-height: 82svh; }
  .tiers li:nth-child(n+5) { display: flex; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-link { grid-template-columns: 64px minmax(0, 1fr) 24px; gap: 14px; }
  .row-link .r-place, .row-link .r-end { display: none; }
  .row-link .r-title span.r-mobile { display: block; }
  .rows-past .row-link { grid-template-columns: 56px 64px minmax(0, 1fr) 24px; }
  .rows-past .row-link .r-thumb { display: block; width: 56px; aspect-ratio: 4 / 5; object-fit: cover; }
  .peek { display: none; }
  .buybar { display: block; }
  .section { padding-top: 96px; }
  .section-head { flex-direction: column; align-items: start; }
  .dj-photo { display: none; }
  .gallery { margin-top: 96px; }
  .g-head { flex-direction: column; align-items: start; }
  .g-meta { align-items: start; }
  .g-track { --h: clamp(260px, 56vw, 420px); }
  .v-media { inset: 12px var(--gutter); }
  .v-arrow { display: none; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .g-track { --h: 300px; gap: 14px; }
  .v-bar { flex-wrap: wrap; }
  .v-info h3 { font-size: 17px; }
  .v-thumbs button { width: 64px; height: 44px; }
  .ticket { padding: 20px 16px; }
  .countdown { gap: 10px; }
  .footer .copy { margin-left: 0; }
}
@media (min-width: 961px) { .r-mobile { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* name of the ticket tier currently on sale */
.card-price small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.r-tier { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Past events: poster thumbnail in the row at every screen size (no cursor-following preview) */
.peek { display: none !important; }
.rows-past.is-hovering .row-link { opacity: 1; }
.rows-past .row-link { grid-template-columns: 72px 96px minmax(0, 1fr) 28px; gap: 20px; }
.rows-past .row-link .r-thumb { display: block; width: 72px; aspect-ratio: 4 / 5; object-fit: cover; }
.rows-past .row-link .r-place, .rows-past .row-link .r-end { display: none; }
.rows-past .row-link .r-title span.r-mobile { display: block !important; }
.rows-past .row-link .r-thumb { transition: transform .6s var(--ease); }
.rows-past .row-link:hover .r-thumb { transform: scale(1.04); }
@media (max-width: 960px) {
  .rows-past .row-link { grid-template-columns: 56px 64px minmax(0, 1fr) 24px; gap: 14px; }
  .rows-past .row-link .r-thumb { width: 56px; }
}

/* Phones: the poster fills the full width, trimmed to its artwork (the tall file has empty black above and below) */
@media (max-width: 960px) {
  .banner { aspect-ratio: 4 / 5; max-height: none; width: 100%; }
  .banner img { object-fit: cover; object-position: 50% 47%; }
  .banner-bg { display: none; }
  .hero { padding-top: calc(var(--header-h) + 8px); }
}

/* Phones: the DJ name in the middle of the screen is lit, the rest are dimmed */
.djs.is-touch .dj-name { color: var(--faint); }
.djs.is-touch .dj.is-active .dj-name { color: var(--text); }
