/* Layout: noodgeval-monitor. Hartslaglijn door de hero, daarna strakke secties op een zwart raster, rood alleen voor urgentie. */
:root {
  --black: #0b0a0a;
  --ink: #151212;
  --line: #2c2424;
  --white: #f6f3f2;
  --mute: #a39a98;
  --red: #c8161c;          /* rood uit het logo (nieuwe kleur) */
  --red-deep: #8a0d11;
  --display: "Archivo", "Arial Black", Impact, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
html, body { max-width: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--black) 88%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.logo {
  font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: 22px; letter-spacing: .02em; text-decoration: none; display: flex; align-items: center; gap: 10px;
}
/* Draaiende 3D-S (bewegende WebP uit de logo-animatie). In rust begint de letter
   op 39% van het beeld, dus schuift hij op de lijn van de tekst. */
.logo picture { display: block; flex: none; }
.logo img { display: block; height: 66px; width: 66px; max-width: none; margin: -3px 0 -3px -26px; }
.logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: blink 1s steps(2) infinite; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a {
  font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none; color: var(--mute);
}
.nav ul a:hover { color: var(--white); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 110;
  text-transform: uppercase; letter-spacing: .04em; font-size: 15px;
  background: var(--red); color: var(--white); border: 0; padding: 14px 22px;
  text-decoration: none; cursor: pointer; transition: background .15s, transform .15s;
}
.btn:hover { background: #e0262c; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--white); }
.btn.ghost:hover { background: var(--white); color: var(--black); }
.nav .btn { padding: 10px 16px; font-size: 13px; }
@media (max-width: 860px) { .nav ul { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { position: relative; padding-block: clamp(40px, 8vw, 96px) clamp(32px, 6vw, 72px); }
.hero h1 {
  margin: 0; font-family: var(--display); font-weight: 900;
  font-variation-settings: "wdth" 125; line-height: .82; letter-spacing: -.02em;
  font-size: clamp(48px, 17.5vw, 280px); text-transform: uppercase;
}
.hero h1 span { color: var(--red); }
.ecg { display: block; width: 100%; height: clamp(70px, 10vw, 120px); margin-top: clamp(8px, 2vw, 20px); }
.ecg path { fill: none; stroke: var(--red); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.ecg .trace { stroke-dasharray: 520 2200; animation: trace 2.4s linear infinite; filter: drop-shadow(0 0 6px var(--red)); }
.ecg .base { stroke: var(--line); stroke-width: 2; }
.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  margin-top: clamp(24px, 4vw, 40px); border-top: 2px solid var(--white);
}
.facts div { padding: 14px 16px 0 0; }
.facts dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
.facts dd {
  margin: 4px 0 0; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 112;
  font-size: clamp(20px, 2.6vw, 30px); line-height: 1.1; text-transform: uppercase;
}
.facts dd.red { color: var(--red); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: clamp(28px, 4vw, 44px); }
.countdown { display: flex; gap: 14px; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.countdown div { display: grid; text-align: center; }
.countdown b { font-size: 26px; font-weight: 600; line-height: 1; }
.countdown small { font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }
@media (max-width: 700px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts div { padding-bottom: 12px; } }


/* ---------- Sections ---------- */
section.block { padding-block: clamp(56px, 9vw, 112px); border-bottom: 1px solid var(--line); }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.head h2 {
  margin: 0; font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: clamp(30px, 8.5vw, 84px); line-height: .9; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere;
}
.head p { margin: 0; max-width: 42ch; color: var(--mute); }
.tag { font-family: var(--mono); font-size: 12px; color: var(--red); letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: 10px; }

/* Line-up */
.lineup { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 2px; border: 2px solid var(--line); }
.lineup > .act { box-shadow: 0 0 0 1px var(--line); }
.lineup > .act.headliner { box-shadow: none; }
.act { background: var(--black); padding: 24px 22px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; position: relative; }
.act .role { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
.act .name { font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 118; font-size: clamp(30px, 4vw, 52px); line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.act.tba .name { color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.act.headliner { grid-column: 1 / -1; background: var(--red); min-height: 0; padding: clamp(24px, 4vw, 44px); }
.act.headliner .role { color: var(--white); }
.act.headliner .name { font-size: clamp(48px, 15vw, 200px); line-height: .85; letter-spacing: -.02em; }
.act.headliner.tba .name { -webkit-text-stroke-color: var(--white); }
.act .when { font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lineup { grid-template-columns: 1fr; } .act { min-height: 0; } }

/* Timetable */
.tt { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--white); }
.tt li {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.tt time { font-family: var(--mono); font-size: 16px; font-variant-numeric: tabular-nums; }
.tt .who { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 115; font-size: clamp(20px, 2.4vw, 28px); text-transform: uppercase; line-height: 1.1; }
.tt .who small { display: block; font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--mute); letter-spacing: .1em; margin-top: 2px; }
.tt li.now { background: linear-gradient(90deg, color-mix(in srgb, var(--red) 18%, transparent), transparent 60%); }
.tt li.door .who { color: var(--mute); }
@media (max-width: 700px) {
  .tt li { grid-template-columns: 1fr; gap: 6px; }
}

/* Tickets */
.shop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 40px; align-items: start; }
.prices { display: grid; gap: 24px; }
.shop-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--white); font-size: 17px; color: var(--white); }
.shop-notes li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.shop-notes li::before { content: "✚"; color: var(--red); margin-right: 10px; }
.shop-frame { border: 2px solid var(--red); background: var(--white); }
.shop-frame iframe { display: block; width: 100%; height: min(820px, calc(100vh - 100px)); min-height: 600px; border: 0; }
.shop-fallback { margin: 10px 0 0; font-family: var(--mono); font-size: 12px; color: var(--mute); }
.shop-fallback a { color: var(--white); }
@media (max-width: 860px) {
  .shop { grid-template-columns: 1fr; }
  .shop-col { order: -1; }
}

/* Info */
.info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; border: 2px solid var(--line); }
.info > div { box-shadow: 0 0 0 1px var(--line); }
.info div { background: var(--black); padding: 24px 20px; }
.info dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
.info dd { margin: 8px 0 0; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 112; font-size: 24px; line-height: 1.15; text-transform: uppercase; }
.info dd small { display: block; font-family: var(--body); font-weight: 400; font-variation-settings: "wdth" 100; font-size: 15px; text-transform: none; color: var(--mute); margin-top: 6px; line-height: 1.45; }
.age { color: var(--red); }
.faq { margin-top: 40px; display: grid; gap: 0; border-top: 2px solid var(--white); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--red); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; max-width: 65ch; color: var(--mute); }
.faq details p strong { color: var(--white); }
@media (max-width: 860px) { .info { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .info { grid-template-columns: 1fr; } }

/* Locatie + plattegrond */
.loc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.address { font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 118; font-size: clamp(28px, 3.6vw, 44px); line-height: 1; text-transform: uppercase; margin: 0 0 18px; }
.address span { display: block; color: var(--red); }
.loc p { color: var(--mute); max-width: 48ch; }
.loc .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.route { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.route li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; font-size: 15px; }
.route b { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--white); padding-top: 2px; }
.route span { color: var(--mute); }
.plan { border: 2px solid var(--line); padding: clamp(12px, 3vw, 32px); background: var(--ink); max-width: 900px; }
.plan svg { display: block; width: 100%; height: auto; }
.plan text { font-family: var(--mono); font-size: 13px; fill: var(--white); letter-spacing: .06em; }
.plan .muted { fill: var(--mute); font-size: 11px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 12px; color: var(--mute); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; display: inline-block; }
@media (max-width: 860px) { .loc { grid-template-columns: 1fr; } }

/* Footer */
footer { background: var(--ink); border-top: 4px solid var(--red); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 40px; padding-block: clamp(48px, 7vw, 80px) 40px; border-bottom: 1px solid var(--line); }
.big { font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(56px, 14vw, 180px); line-height: .8; color: var(--red); margin: 0; }
.foot-cta { display: grid; gap: 12px; justify-items: start; max-width: 34ch; }
.foot-cta p { margin: 0; color: var(--mute); }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 40px; border-bottom: 1px solid var(--line); }
.foot-grid h4 { margin: 0 0 14px; font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot-grid li { color: var(--mute); }
.foot-grid li b { color: var(--white); font-weight: 700; }
.foot-grid a { color: var(--white); text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .15s, color .15s; }
.foot-grid a:hover { color: var(--red); border-color: var(--red); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding-block: 24px 32px; }
.foot-bottom p { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--mute); letter-spacing: .06em; }
.foot-bottom a { font-family: var(--mono); font-size: 12px; color: var(--white); text-decoration: none; letter-spacing: .08em; text-transform: uppercase; }
.foot-bottom a:hover { color: var(--red); }
.foot-legal, .foot-legal nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .foot-grid { grid-template-columns: 1fr; } }

@keyframes trace { from { stroke-dashoffset: 2720; } to { stroke-dashoffset: 0; } }
@keyframes blink { 50% { opacity: .15; } }
/* ---------- Pijl-icoontjes (svg, zodat telefoons er geen emoji van maken) ---------- */
.ico { display: inline-block; width: .9em; height: .9em; margin-left: .35em; vertical-align: -.08em; flex: none; transition: transform .15s; }
.ico path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: square; stroke-linejoin: miter; }
.btn .ico { margin-left: 0; width: 1em; height: 1em; }
a:hover .ico { transform: translate(2px, -2px); }
a[href="#top"]:hover .ico { transform: translateY(-2px); }

/* ---------- Logo met gloed ----------
   Het beeld heeft veel transparante gloed rondom de letters. Met negatieve
   marges vallen de letters zelf op de lijn van de tekst; de gloed loopt erbuiten. */
h1 picture, .big picture { display: block; }
.logo-glow { display: block; width: var(--lw); max-width: none; height: auto; margin: calc(var(--lw) * -0.075) 0 calc(var(--lw) * -0.075) calc(var(--lw) * -0.0597); }
/* Letters vullen precies de tekstbreedte: 100 / 87,67 = 114,1% breed, 5,97% links = -6,8% */
.hero-logo { width: 114.1%; margin: -8.6% 0 -8.6% -6.8%; transform-origin: 50% 50%; }
.foot-logo { --lw: clamp(300px, 90vw, 720px); margin-top: calc(var(--lw) * -0.02); }
.hero h1 { position: relative; z-index: 0; }

/* ---------- Teaser: nog niet bekend ---------- */
.soon { color: transparent; -webkit-text-stroke: 1.2px var(--white); }
.soon-note { font-family: var(--mono); font-size: 13px; color: var(--mute); letter-spacing: .04em; margin: 0; }
.shop-closed { border: 2px dashed var(--red); padding: clamp(28px, 5vw, 48px); display: grid; gap: 16px; justify-items: start; }
.shop-closed h3 { margin: 0; font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(22px, 3.4vw, 42px); line-height: .95; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; }
.loc .address { color: var(--white); }
.shop-closed h3 span { color: var(--red); }
.shop-closed p { margin: 0; color: var(--mute); max-width: 44ch; }

/* ---------- Scroll-effecten ---------- */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 8px var(--red); }
.js [data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1), clip-path 1s cubic-bezier(.7,0,.2,1);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="wipe"].in { clip-path: inset(0 0 0 0); }
.js .head h2 { transition: letter-spacing 1.2s cubic-bezier(.2,.7,.2,1); letter-spacing: .08em; }
.js .head.in h2 { letter-spacing: 0; }
.hero h1 { will-change: transform; }
.act { transition: background .2s; }
.act:not(.headliner):hover { background: var(--ink); }
.act:not(.headliner):hover .name { color: var(--red); }
.tt li { transition: padding-left .25s; }
.tt li:not(.door):hover { padding-left: 12px; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .head h2 { opacity: 1; transform: none; clip-path: none; transition: none; letter-spacing: 0; }
  .hero h1 { transform: none !important; }
  .ecg .trace, .logo .dot { animation: none; }
  .ecg .trace { stroke-dasharray: none; }
  html { scroll-behavior: auto; }
}
