:root {
  --red: #f42902;
  --red-dark: #c81f00;
  --ink: #0a0a0a;
  --ink-2: #3d3d3d;
  --muted: #666;
  --paper: #ffffff;
  --paper-2: #fff4ef;
  --line: #0a0a0a;
  --accent: #d9ff3e;
  --accent-2: #00e0b8;
  --radius: 14px;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --font-display: "Schibsted Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; margin: 0; letter-spacing: -0.02em; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip:focus { left: 12px; top: 12px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  padding: 12px 20px; border: 2px solid var(--ink); border-radius: 999px;
  cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s;
  white-space: nowrap;
}
.btn.solid { background: var(--accent); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn.outline { background: transparent; color: inherit; box-shadow: var(--shadow-sm); }
.btn.ghost { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: var(--red); color: #fff;
  border-bottom: 2px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 900; font-size: 20px; letter-spacing: -0.02em; }
.brand img { border-radius: 50%; }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav a { opacity: .92; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.tickets-top { margin-left: 8px; padding: 8px 16px; font-size: 14px; }
@media (max-width: 640px) { .nav { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--red); color: #fff;
  border-bottom: 2px solid var(--ink);
  padding: clamp(48px, 9vw, 110px) clamp(16px, 4vw, 48px) clamp(56px, 9vw, 120px);
}
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; letter-spacing: .14em; font-size: 12px;
  padding: 6px 12px; border: 2px solid currentColor; border-radius: 999px; margin: 0 0 20px;
}
.eyebrow.ink { color: var(--ink); }
.hero-title {
  font-size: clamp(46px, 9vw, 116px); font-weight: 900;
  text-shadow: 4px 4px 0 rgba(0,0,0,.18);
}
.hero-meta { font-weight: 600; font-size: clamp(15px, 2vw, 20px); margin: 18px 0 0; }
.hero-blurb { max-width: 620px; margin: 16px 0 0; font-size: clamp(15px, 1.8vw, 18px); color: rgba(255,255,255,.92); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero .btn.outline { color: #fff; border-color: #fff; box-shadow: 3px 3px 0 rgba(0,0,0,.35); }
.hero .btn.outline:hover { box-shadow: 5px 5px 0 rgba(0,0,0,.45); }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 34px 0 0; }
.stats li {
  font-family: var(--font-display); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em;
  background: rgba(0,0,0,.16); border: 2px solid rgba(255,255,255,.55); border-radius: 999px; padding: 7px 14px;
}
.hero-cat {
  position: absolute; right: max(-40px, 2vw); bottom: -30px; width: clamp(180px, 26vw, 340px);
  z-index: 1; opacity: .96; pointer-events: none;
}
.hero-cat img { width: 100%; filter: drop-shadow(4px 6px 0 rgba(0,0,0,.25)); }
.float { position: absolute; z-index: 1; opacity: .95; pointer-events: none; }
.f1 { width: clamp(58px, 9vw, 120px); top: 12%; right: 24%; animation: spin 18s linear infinite; }
.f2 { width: clamp(44px, 6vw, 84px); top: 20%; left: 6%; animation: spin 22s linear infinite reverse; }
.f3 { width: clamp(40px, 5vw, 70px); bottom: 16%; left: 40%; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .hero-cat { opacity: .25; right: -30px; } .f3 { display: none; } }

/* ---------- sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(44px, 7vw, 84px) clamp(16px, 4vw, 32px); scroll-margin-top: 70px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 900; }
.section-sub { max-width: 460px; color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 640px) { .section-sub { max-width: none; } }

/* controls */
.controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 16px; }
.days, .stages { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-family: var(--font-display); font-weight: 800; font-size: 14px;
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background .12s, color .12s, transform .1s;
}
.pill:hover { transform: translateY(-1px); }
.pill[aria-pressed="true"] { background: var(--ink); color: #fff; }
.stage-pill { position: relative; padding-left: 30px; }
.stage-pill::before {
  content: ""; position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: var(--dot, var(--ink)); border: 2px solid var(--ink);
}
.stage-pill[aria-pressed="true"] { background: var(--ink); color: #fff; }
.search { margin-left: auto; }
.search input {
  font-family: var(--font-body); font-size: 15px; padding: 10px 16px;
  border: 2px solid var(--ink); border-radius: 999px; min-width: 220px; background: var(--paper);
}
.search input:focus { outline: 3px solid var(--accent-2); outline-offset: 1px; }
@media (max-width: 760px) { .search { margin-left: 0; width: 100%; } .search input { width: 100%; } }

.count { color: var(--muted); font-size: 14px; margin: 4px 0 18px; font-weight: 500; }
.empty { color: var(--muted); padding: 40px 0; text-align: center; }

/* lineup list */
.lineup { display: flex; flex-direction: column; gap: 10px; }
.day-group { margin-top: 10px; }
.day-head {
  display: flex; align-items: baseline; gap: 12px; margin: 26px 0 12px;
  font-family: var(--font-display); font-weight: 900; font-size: 24px;
}
.day-head .date { color: var(--muted); font-size: 14px; font-weight: 600; font-family: var(--font-body); }

.act {
  display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 14px;
  border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper);
  padding: 12px 16px; cursor: pointer; text-align: left; width: 100%;
  transition: transform .12s, box-shadow .12s, background .12s;
}
.act:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); background: var(--paper-2); }
.act-time { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--ink); }
.act-time small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.act-main { min-width: 0; }
.act-name { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.act-genre { color: var(--muted); font-size: 13px; margin-top: 2px; }
.act-stage { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); flex: none; }
.listen-mini { font-size: 12px; font-weight: 700; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 10px; background: var(--accent); }
@media (max-width: 640px) {
  .act { grid-template-columns: 78px 1fr; }
  .act-stage { grid-column: 2; }
}

/* music */
.music { background: var(--paper-2); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); max-width: none; }
.music > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.music-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.mcard {
  border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.mcard-media { aspect-ratio: 1 / 1; background: var(--accent); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mcard-media img { width: 100%; height: 100%; object-fit: cover; }
.mcard-media .initials { font-family: var(--font-display); font-weight: 900; font-size: 44px; color: var(--ink); }
.mcard-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mcard-name { font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.mcard-meta { font-size: 12px; color: var(--muted); }
.mcard .btn { width: 100%; padding: 9px 12px; font-size: 13px; }
.embed { width: 100%; border: 0; border-radius: 10px; margin-top: 8px; }
.more-wrap { display: flex; justify-content: center; margin-top: 24px; }
#moreMusic[hidden] { display: none; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.about-copy { color: var(--ink-2); font-size: 16px; max-width: 60ch; }
.facts { margin: 0; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); align-self: start; background: var(--paper); }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 16px; border-bottom: 1.5px solid rgba(10,10,10,.14); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 13px; margin: 0; }
.facts dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 14px; text-align: right; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; gap: 24px; } }

/* footer */
.footer { background: var(--ink); color: #fff; padding: 40px clamp(16px, 4vw, 48px); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 18px; }
.footer-brand img { border-radius: 50%; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 16px 0; font-weight: 600; font-size: 14px; }
.footer-links a { opacity: .85; }
.footer-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.disclaimer { color: rgba(255,255,255,.6); font-size: 12.5px; max-width: 70ch; margin: 0; }
.copyright { color: rgba(255,255,255,.4); font-size: 12px; margin: 14px 0 0; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,10,10,.55); backdrop-filter: blur(2px); }
.modal-card {
  position: relative; z-index: 1; background: var(--paper); border: 2px solid var(--ink);
  border-radius: 18px; width: min(560px, 100%); max-height: 88vh; overflow: auto;
  box-shadow: 8px 8px 0 var(--ink); display: grid; grid-template-columns: 150px 1fr;
}
.modal-x {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink);
  background: var(--paper); font-size: 22px; line-height: 1; cursor: pointer;
}
.modal-media { background: var(--accent); border-right: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-media .initials { font-family: var(--font-display); font-weight: 900; font-size: 52px; }
.modal-body { padding: 22px; }
.modal-time { font-weight: 700; font-size: 13px; color: var(--muted); margin: 0 0 6px; text-transform: uppercase; letter-spacing: .05em; }
.modal-body h3 { font-size: 28px; font-weight: 900; }
.modal-genres { color: var(--muted); font-size: 13px; margin: 6px 0 12px; }
.modal-bio { font-size: 14.5px; color: var(--ink-2); margin: 0 0 16px; }
.listen { display: flex; flex-direction: column; gap: 10px; }
.listen .btn { align-self: flex-start; }
@media (max-width: 560px) {
  .modal-card { grid-template-columns: 1fr; }
  .modal-media { height: 200px; border-right: 0; border-bottom: 2px solid var(--ink); }
}
