:root {
  --black: #050403;
  --ink: #0d0b09;
  --mud: #2a1d12;
  --dirt: #6b4a2b;
  --potato: #c9924f;
  --red: #ff1a12;
  --red-deep: #b30d07;
  --yellow: #ffd000;
  --bone: #f4ecdf;
  --muted: #a8998a;

  --f-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --f-drip: "Rubik Wet Paint", "Barlow Condensed", Impact, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --beat: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--bone);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.45;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--black); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Grain / grime overlay ---------- */
.grain {
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 100;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem var(--gutter);
  background: linear-gradient(var(--black) 60%, transparent);
}
.topbar__brand {
  font-family: var(--f-drip);
  font-size: 1.6rem; text-decoration: none;
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--red);
  letter-spacing: .02em;
}
.topbar__nav { display: flex; gap: clamp(.6rem, 2vw, 1.6rem); align-items: center; }
.topbar__nav a {
  font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  font-size: .95rem; text-decoration: none; color: var(--bone);
}
.topbar__nav a:hover { color: var(--yellow); }
.topbar__cta {
  background: var(--red); color: var(--black) !important;
  padding: .3rem .8rem; transform: skew(-8deg);
}
.topbar__cta:hover { background: var(--yellow); }
@media (max-width: 560px) {
  .topbar__nav a:not(.topbar__cta) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - 56px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 1rem var(--gutter) 3rem;
  isolation: isolate;
}
.hero::before {
  /* red rim light like the poster */
  content: ""; position: absolute; z-index: -1;
  width: min(70vw, 720px); aspect-ratio: 1;
  right: 5%; top: 30%;
  background: radial-gradient(circle, rgba(255, 26, 18, .28), transparent 65%);
  filter: blur(20px);
  transform: scale(calc(1 + var(--beat) * .25));
}
.hero__logo { margin: 0; width: min(92vw, 980px); }
.hero__logo img {
  width: 100%;
  filter: drop-shadow(0 0 30px rgba(255, 26, 18, .25));
  animation: wobble 4s ease-in-out infinite;
}
@keyframes wobble {
  0%, 100% { transform: rotate(-1deg) skew(-2deg); }
  50% { transform: rotate(1deg) skew(1deg); }
}

.hero__patat-wrap {
  position: relative;
  width: min(72vw, 560px);
  margin: clamp(.5rem, 3vw, 2rem) 0 .5rem;
}
.hero__patat {
  width: 100%;
  transform: rotate(-6deg) scale(calc(1 + var(--beat) * .08));
  transition: transform .06s linear;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .8));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

.sticker {
  position: absolute;
  font-family: var(--f-mono); font-weight: 700; text-transform: uppercase;
  font-size: clamp(.65rem, 1.8vw, .85rem);
  padding: .35rem .6rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: var(--black);
}
.sticker--a { top: 6%; left: -4%; color: var(--yellow); transform: rotate(-14deg); }
.sticker--b { bottom: 8%; right: -2%; color: var(--red); transform: rotate(10deg); }

.hero__slogan {
  margin: .2rem 0 0;
  font-family: var(--f-drip);
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  line-height: 1;
  color: var(--bone);
  text-shadow: 3px 3px 0 var(--red-deep);
}
.hero__slogan span { color: var(--yellow); display: inline-block; }
body.is-boenking .hero__slogan span { animation: thump .18s ease-out; }

.hero__when { margin-top: 1.2rem; }
.hero__date {
  margin: 0;
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.4rem, 8vw, 5rem); line-height: .95;
  color: var(--yellow);
}
.hero__where {
  margin: .4rem 0 0;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .35em;
  font-size: clamp(.85rem, 2.4vw, 1.25rem);
}

.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }

.countdown {
  display: flex; gap: clamp(.8rem, 3vw, 2rem); margin-top: 2.2rem;
  font-family: var(--f-mono);
}
.countdown div { display: flex; flex-direction: column; align-items: center; min-width: 3.2rem; }
.countdown span { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 700; color: var(--bone); line-height: 1; }
.countdown small { font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); margin-top: .3rem; }

/* ---------- Buttons ---------- */
.btn {
  --c: var(--yellow);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: 1.35rem; letter-spacing: .06em;
  padding: .75rem 1.8rem;
  border: 0; cursor: pointer; text-decoration: none;
  color: var(--black); background: var(--c);
  transform: skew(-8deg);
  box-shadow: 6px 6px 0 var(--bone);
  transition: transform .1s, box-shadow .1s, background .15s;
}
.btn:hover { transform: skew(-8deg) translate(-2px, -2px); box-shadow: 8px 8px 0 var(--bone); }
.btn:active { transform: skew(-8deg) translate(4px, 4px); box-shadow: 2px 2px 0 var(--bone); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px dashed var(--yellow); outline-offset: 4px; }
.btn--yellow { --c: var(--yellow); }
.btn--red { --c: var(--red); }
.btn--xl { font-size: clamp(1.3rem, 4vw, 2rem); padding: 1rem 2.4rem; margin-top: 2rem; }
.btn[aria-pressed="true"] { --c: var(--bone); box-shadow: 6px 6px 0 var(--red); }
.btn[aria-pressed="true"] .btn__label::before { content: "■ "; color: var(--red); }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  background: var(--yellow); color: var(--black);
  border-block: 4px solid var(--black);
  transform: rotate(-2deg) scale(1.04);
  margin: 1rem 0 3rem;
  box-shadow: 0 0 0 4px var(--red);
}
.ticker__track {
  display: flex; width: max-content; gap: 1.4rem;
  padding: .55rem 0;
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  animation: ticker 28s linear infinite;
}
.ticker__track i { font-style: normal; color: var(--red); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section {
  position: relative;
  max-width: 1200px; margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) var(--gutter);
}
.kicker {
  font-family: var(--f-mono); font-size: .85rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--red); margin: 0 0 1rem;
}
.title {
  margin: 0;
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.8rem, 9vw, 7rem);
  line-height: .88;
  letter-spacing: -.01em;
}
.title em {
  font-style: normal;
  font-family: var(--f-drip);
  font-weight: 400;
  color: var(--yellow);
  text-transform: none;
}
.lead { font-size: clamp(1.3rem, 2.8vw, 1.8rem); line-height: 1.25; font-weight: 700; }

/* Wa */
.wa { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .wa { grid-template-columns: 1.1fr 1fr; align-items: end; }
  .wa .kicker { grid-column: 1 / -1; margin-bottom: -1rem; }
}
.wa__body p { margin: 0 0 1rem; color: var(--bone); }
.wa__body p:not(.lead) { color: var(--muted); font-size: 1.2rem; }
.wa__sign {
  font-family: var(--f-drip); font-size: 2.2rem !important; color: var(--red) !important;
  transform: rotate(-3deg); display: inline-block;
}

/* Genres */
.genres__grid {
  list-style: none; padding: 0; margin: 3rem 0 0;
  display: grid; gap: 4px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 165px), 1fr));
  background: var(--mud);
  border: 4px solid var(--mud);
}
.genre {
  position: relative;
  background: var(--ink);
  padding: 1.6rem 1.4rem 1.4rem;
  min-height: clamp(150px, 22vw, 190px);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  transition: background .15s, color .15s;
}
.genre h3 {
  margin: 0; font-weight: 900; text-transform: uppercase;
  font-size: 2.1rem; line-height: .95;
}
.genre p { margin: .4rem 0 0; color: var(--muted); font-size: 1.05rem; }
.genre__bpm {
  position: absolute; top: 1rem; right: 1.2rem;
  font-family: var(--f-mono); font-size: .8rem; color: var(--red);
}
.genre__bpm::after { content: " BPM"; }
.genre:hover { background: var(--red); color: var(--black); animation: shake .25s linear infinite; }
.genre:hover p, .genre:hover .genre__bpm { color: var(--black); }
.genre:nth-child(3n+2):hover { background: var(--yellow); }

@keyframes shake {
  0% { transform: translate(0, 0) rotate(0); }
  25% { transform: translate(-2px, 1px) rotate(-.5deg); }
  50% { transform: translate(2px, -1px) rotate(.5deg); }
  75% { transform: translate(-1px, -2px) rotate(0); }
  100% { transform: translate(0, 0) rotate(0); }
}
@keyframes thump {
  0% { transform: scale(1.25) rotate(-3deg); }
  100% { transform: scale(1) rotate(0); }
}

/* Line-up */
.lineup__list {
  list-style: none; padding: 0; margin: 3rem 0 0;
  border-top: 2px solid var(--mud);
}
.lineup__list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .8rem 0;
  border-bottom: 2px solid var(--mud);
}
.redacted {
  font-weight: 900; font-size: clamp(2rem, 7vw, 4.5rem); line-height: 1;
  color: var(--bone); letter-spacing: -.08em;
  overflow: hidden; white-space: nowrap;
}
.lineup__list li:nth-child(1) .redacted { color: var(--yellow); }
.lineup__list li:hover .redacted { color: var(--red); animation: shake .2s linear infinite; }
.lineup__list small { font-family: var(--f-mono); color: var(--muted); text-transform: uppercase; font-size: .8rem; white-space: nowrap; }
.lineup__note { color: var(--muted); max-width: 55ch; margin-top: 1.5rem; }
.lineup__note a { color: var(--yellow); font-weight: 800; }

/* Info */
.info__grid {
  display: grid; gap: 1.2rem; margin-top: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.card {
  background: var(--ink);
  border: 3px solid var(--bone);
  padding: 1.6rem;
  box-shadow: 8px 8px 0 var(--yellow);
}
.card--red { box-shadow: 8px 8px 0 var(--red); }
.card h3 { margin: 0; font-family: var(--f-mono); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 400; }
.card__big { margin: .4rem 0 .2rem; font-weight: 900; text-transform: uppercase; font-size: 3.6rem; line-height: 1; color: var(--yellow); }
.card--red .card__big { color: var(--red); }
.card p { margin: 0; }
.link-btn {
  display: inline-block; margin-top: 1rem;
  font-family: var(--f-mono); font-size: .9rem; font-weight: 700; text-transform: uppercase;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--bone); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 4px;
}
.link-btn:hover { color: var(--yellow); }

.rules {
  margin-top: 4rem;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  background: var(--bone); color: var(--black);
  transform: rotate(-1deg);
  position: relative;
}
.rules::before, .rules::after {
  /* tape */
  content: ""; position: absolute; top: -14px; width: 110px; height: 28px;
  background: rgba(255, 208, 0, .85);
}
.rules::before { left: 8%; transform: rotate(-6deg); }
.rules::after { right: 8%; transform: rotate(5deg); }
.rules__title { margin: 0 0 1rem; font-weight: 900; text-transform: uppercase; font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1; }
.rules ol { margin: 0; padding-left: 1.4rem; display: grid; gap: .6rem; }
.rules li::marker { font-weight: 900; color: var(--red-deep); }
.rules strong { font-weight: 900; text-transform: uppercase; }

/* Tickets */
.tickets {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.tickets .lead { max-width: 40ch; }
.tickets__patat {
  position: absolute; z-index: -1; opacity: .18;
  width: min(120vw, 1100px); top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(18deg);
}
.tickets__tiers { display: grid; gap: .6rem; width: min(100%, 560px); margin-top: 2rem; }
.tier {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem;
  border: 2px dashed var(--muted);
  font-weight: 800; text-transform: uppercase; font-size: 1.4rem;
}
.tier b { font-family: var(--f-mono); font-size: .8rem; color: var(--yellow); font-weight: 700; }
.tier:first-child { border-color: var(--yellow); }

/* Poster */
.poster { text-align: center; }
.poster figure { margin: 0 auto; max-width: 520px; }
.poster img { width: 100%; border: 4px solid var(--bone); transform: rotate(2deg); box-shadow: -12px 12px 0 var(--red); }
.poster figcaption { margin-top: 2rem; color: var(--muted); font-family: var(--f-mono); font-size: .9rem; }
.poster figcaption a { color: var(--yellow); }

/* Footer */
.footer {
  text-align: center;
  padding: 4rem var(--gutter) 3rem;
  border-top: 4px solid var(--red);
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255, 26, 18, .25), transparent 60%),
    var(--black);
}
.footer__slogan { margin: 0; font-family: var(--f-drip); font-size: clamp(3rem, 12vw, 8rem); line-height: 1; color: var(--yellow); text-shadow: 4px 4px 0 var(--red); }
.footer__social { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin: 2rem 0; }
.footer__social a { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; text-decoration: none; }
.footer__social a:hover { color: var(--red); }
.footer__small { font-family: var(--f-mono); font-size: .75rem; color: var(--muted); margin: 0; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200;
  transform: translate(-50%, 150%);
  background: var(--yellow); color: var(--black);
  font-weight: 900; text-transform: uppercase; font-size: 1.1rem;
  padding: .7rem 1.2rem; max-width: calc(100vw - 32px);
  box-shadow: 5px 5px 0 var(--red);
  transition: transform .25s cubic-bezier(.2, 1.6, .4, 1);
}
.toast.is-on { transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; translate: 0 40px; transition: opacity .6s, translate .6s cubic-bezier(.2, .9, .3, 1); }
.reveal.is-in { opacity: 1; translate: none; }

/* ---------- Boenk modus: the whole page moves on the kick ---------- */
body.is-boenking main { transform: translateY(calc(var(--beat) * 3px)); }
body.is-boenking .grain { opacity: calc(.12 + var(--beat) * .15); }
body.is-boenking .hero__logo img { animation-duration: .7s; }
body.is-boenking .ticker__track { animation-duration: 8s; }
body.flash::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: var(--red); mix-blend-mode: multiply; opacity: .35;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  body.is-boenking main { transform: none; }
  body.flash::after { display: none; }
}
