/* NEON KAMPF — VOL. 1
   Layout: one night in a dive bar. Black-and-white xeroxed photos fill the screen,
   poems surface over them as you scroll. Neon is the only colour on the whole site. */
/* Fonts are stored in fonts/ so the site works offline (all SIL Open Font / Apache licensed, from Google Fonts). */
@font-face { font-family: "Tilt Neon"; src: url("fonts/tilt-neon.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Neonderthaw"; src: url("fonts/neonderthaw.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Sacramento"; src: url("fonts/sacramento.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Monoton"; src: url("fonts/monoton.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Bungee Hairline"; src: url("fonts/bungeehairline.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Yellowtail"; src: url("fonts/yellowtail.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Rock Salt"; src: url("fonts/rocksalt.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Rubik Glitch"; src: url("fonts/rubikglitch.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodonimoda.woff") format("woff"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodonimoda-italic.woff") format("woff"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Anton"; src: url("fonts/anton.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Special Elite"; src: url("fonts/specialelite.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Permanent Marker"; src: url("fonts/permanentmarker.woff") format("woff"); font-display: swap; }

:root {
  --ink: #0c0a0b;          /* the room after dark */
  --soot: #1c181a;         /* dead neon tube, shadows */
  --paper: #ebe6dc;        /* text, setlist paper */
  --smoke: #8d8689;        /* secondary text */
  --neon: #ff2e63;         /* the only colour */
  --neon-core: #ffe4ea;    /* white-hot centre of a lit tube */
  --sign-red: #ff2a1a;     /* title sign tubes: dirty red and green */
  --sign-red-core: #ff7a62;
  --sign-green: #2bff5e;
  --sign-green-core: #8dffa4;
  --dead-tube: #c9c4bc;    /* unlit tube in daylight */
  --tape: rgba(206, 200, 186, .82);
  --houselights: #f2f0ea;  /* strobe flash */

  --f-sign: "Tilt Neon", "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-head: "Anton", "Impact", "Arial Narrow", sans-serif;

  --glow: 0 0 .04em var(--neon-core), 0 0 .12em var(--neon), 0 0 .35em var(--neon), 0 0 .8em rgba(255, 46, 99, .55);
  /* tighter, uneven glow than the clean pink: a sign that's been hanging in a smoky bar for twenty years */
  --glow-red: 0 0 .02em var(--sign-red-core), 0 0 .06em var(--sign-red), 0 0 .16em var(--sign-red), 0 0 .45em rgba(255, 42, 26, .6), 0 0 1.1em rgba(255, 42, 26, .22);
  --glow-green: 0 0 .02em var(--sign-green-core), 0 0 .06em var(--sign-green), 0 0 .16em var(--sign-green), 0 0 .45em rgba(43, 255, 94, .5), 0 0 1.1em rgba(43, 255, 94, .18);
  --core: var(--neon-core);  /* the tube currently flickering; overridden per sign word */
  --halo: var(--glow);
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-poem);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a, button { color: inherit; font: inherit; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }


/* ---------- type: fashion world vs underworld ----------
   Every text role is set in one voice or the other. Pick the balance with typeStyle in content.js:
   rou = all underworld, balans = the two collide, glans = magazine gloss with a dirty edge. */
:root, .type--rou {
  --f-title: "Anton", "Impact", sans-serif; --title-weight: 400; --title-style: normal; --title-case: uppercase; --title-track: .01em; --title-scale: 1;
  --f-num: "Anton", "Impact", sans-serif; --num-style: normal; --num-weight: 400;
  --f-ui: "Anton", "Impact", sans-serif; --ui-weight: 400; --ui-track: .08em;
  --f-burst: "Anton", "Impact", sans-serif; --burst-style: normal; --burst-case: uppercase;
  --f-poem: "Special Elite", "Courier New", monospace; --poem-weight: 400; --poem-scale: 1;
  --f-neonline: inherit; --neonline-style: normal; --neonline-size: 1em;
  --f-hand: "Permanent Marker", "Comic Sans MS", cursive;
}
.type--balans {
  --f-title: "Bodoni Moda", "Didot", "Bodoni 72", serif; --title-weight: 500; --title-style: normal; --title-case: uppercase; --title-track: .02em; --title-scale: .82;
  --f-num: "Bodoni Moda", "Didot", serif; --num-style: italic; --num-weight: 400;
  --f-ui: "Jost", "Futura", "Century Gothic", sans-serif; --ui-weight: 400; --ui-track: .28em;
  --f-burst: "Anton", "Impact", sans-serif; --burst-style: normal; --burst-case: uppercase;
  --f-poem: "Special Elite", "Courier New", monospace; --poem-weight: 400; --poem-scale: 1;
  --f-neonline: "Bodoni Moda", "Didot", serif; --neonline-style: italic; --neonline-size: 1.22em;
  --f-hand: "Permanent Marker", "Comic Sans MS", cursive;
}
.type--glans {
  --f-title: "Bodoni Moda", "Didot", "Bodoni 72", serif; --title-weight: 400; --title-style: italic; --title-case: none; --title-track: -.01em; --title-scale: 1.05;
  --f-num: "Bodoni Moda", "Didot", serif; --num-style: italic; --num-weight: 400;
  --f-ui: "Jost", "Futura", "Century Gothic", sans-serif; --ui-weight: 300; --ui-track: .34em;
  --f-burst: "Bodoni Moda", "Didot", serif; --burst-style: italic; --burst-case: none;
  --f-poem: "Bodoni Moda", "Didot", serif; --poem-weight: 400; --poem-scale: 1.04;
  --f-neonline: "Bodoni Moda", "Didot", serif; --neonline-style: italic; --neonline-size: 1.12em;
  --f-hand: "Bodoni Moda", "Didot", serif;
}
.type--glans .setlist-list button, .type--glans .setlist-head, .type--glans .setlist-encore { font-style: italic; }
/* hairline serifs need a softer, filled number instead of an outline */
.type--balans .room-num, .type--glans .room-num {
  -webkit-text-stroke: 0; color: rgba(235, 230, 220, .5);
  /* Bodoni's display cut has hairlines so thin that a 4 nearly disappears (14 read as 11):
     use the small optical size, which has sturdier hairlines, and a heavier weight */
  font-weight: 600; font-variation-settings: "opsz" 11;
}

/* ---------- shared photo treatment ---------- */
.xerox { filter: grayscale(1) contrast(1.35) brightness(.82); }
.halftone {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at center, rgba(0,0,0,.55) 28%, transparent 34%) 0 0 / 3px 3px;
  mix-blend-mode: multiply; opacity: .55;
}
.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .13;
  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='.9' numOctaves='2' 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 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); }
}

/* ---------- top bar ---------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gutter) 12px;
  font-family: var(--f-ui); font-weight: var(--ui-weight); text-transform: uppercase; letter-spacing: var(--ui-track); font-size: 14px;
  background: linear-gradient(var(--ink), rgba(12, 10, 11, 0));
  transition: opacity .4s;
}
.bar-brand { text-decoration: none; }
.bar > * { white-space: nowrap; }
@media (max-width: 520px) { .bar { letter-spacing: min(var(--ui-track), .12em); font-size: 12px; gap: 12px; } }
.bar-brand span { color: var(--smoke); }
.bar-count { margin-left: auto; color: var(--smoke); font-variant-numeric: tabular-nums; }
.bar-index {
  background: none; border: 1.5px solid var(--neon); color: var(--neon-core);
  padding: 6px 12px; text-transform: uppercase; letter-spacing: .1em; cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 46, 99, .45), inset 0 0 8px rgba(255, 46, 99, .35);
  text-shadow: 0 0 6px var(--neon);
}
.bar-index:hover { background: rgba(255, 46, 99, .15); }
body.at-cover .bar, body.at-closing .bar { opacity: 0; pointer-events: none; }

/* ---------- neon sign ----------
   Two tubes, two colours, two fonts. Each style (set in content.js) picks the pairing. */
.sign {
  margin: 0; font-family: var(--f-sign); font-weight: 400;
  --sign-size: clamp(64px, 17vw, 230px);
  font-size: calc(var(--sign-size) * var(--sign-scale, 1)); line-height: .9; letter-spacing: .02em;
  text-align: center; text-transform: uppercase;
}
.sign .word { display: block; white-space: nowrap; position: relative; }
.sign .tube-red { --core: var(--sign-red-core); --halo: var(--glow-red); }
.sign .tube-green { --core: var(--sign-green-core); --halo: var(--glow-green); }

/* grit: rough tube edges, letters that don't all burn equally, dirty glass, a constant hum */
.sign { position: relative; isolation: isolate; }
.sign .ch { filter: url(#neon-grit) brightness(var(--dim, 1)); }
.sign::after {
  content: ""; position: absolute; inset: -12% -6%; z-index: 2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23d)'/%3E%3C/svg%3E");
  background-size: 300px 300px; opacity: .45; mix-blend-mode: multiply;
}
.sign.lit .word { animation: hum .11s steps(2) infinite; }
.sign.lit .word-2 { animation-duration: .13s; }
@keyframes hum { 0% { opacity: 1; } 50% { opacity: .93; } }
.sign .ch { display: inline-block; color: var(--soot); text-shadow: none; }
.sign.lit .ch { animation: ignite 1.4s var(--d, 0s) both; }
.sign.lit .ch.buzz { animation: ignite 1.4s var(--d, 0s) both, buzz 7s 4s infinite; }
.sign.lit .ch.dud { animation: ignite 1.4s var(--d, 0s) both, dud 2.6s 2.2s infinite; }
@keyframes ignite {
  0%, 8%, 14%, 30% { color: var(--soot); text-shadow: none; }
  10%, 18%, 34%, 100% { color: var(--core); text-shadow: var(--halo); }
}
@keyframes buzz {
  0%, 91%, 93%, 96%, 100% { color: var(--core); text-shadow: var(--halo); }
  92%, 95% { color: var(--soot); text-shadow: none; }
}
@keyframes dud {
  0%, 30%, 34%, 61%, 63%, 100% { color: var(--soot); text-shadow: none; }
  31%, 33%, 62% { color: var(--core); text-shadow: var(--halo); }
}

/* Every sign style pairs the fashion world (Bodoni, Jost) with the underworld (tube, glitch, marker, tag). */
/* Bodoni and Jost have hairlines; thicken them a little so they read as glass tubes */
.sign--voorblad .word-1 .ch, .sign--tydskrif .word-1 .ch, .sign--kortsluiting .word-1 .ch,
.sign--etiket .word-1 .ch, .sign--omgekeer .word-2 .ch { -webkit-text-stroke: .014em currentColor; }
.sign--loopplank .word-1 .ch { -webkit-text-stroke: .045em currentColor; }

/* Voorblad: a Bodoni italic cover line over the gritty tube "KAMPF" */
.sign--voorblad .word-1 {
  z-index: 1; font-family: "Bodoni Moda", "Didot", serif; font-style: italic; font-weight: 500; text-transform: none;
  font-size: .98em; line-height: .82; letter-spacing: -.01em; margin-bottom: -.02em; transform: translateX(-17%);
}
.sign--voorblad .word-2 { font-family: var(--f-sign); }

/* Tydskrif: a Bodoni masthead with a spray tag across its foot */
.sign--tydskrif .word-1 { font-family: "Bodoni Moda", "Didot", serif; font-weight: 500; letter-spacing: .07em; font-size: .9em; line-height: .95; }
.sign--tydskrif .word-2 {
  z-index: 1; font-family: "Rock Salt", "Permanent Marker", cursive; text-transform: none;
  font-size: .5em; line-height: 1.1; margin-top: -.42em; transform: rotate(-9deg) translateX(22%);
}

/* Loopplank: a light, wide-spaced runway caption above striped 80s club capitals */
.sign--loopplank .word-1 {
  font-family: "Jost", "Futura", sans-serif; font-weight: 300;
  font-size: .4em; letter-spacing: .95em; padding-left: .95em; margin-bottom: .14em;
}
.sign--loopplank .word-2 { font-family: "Monoton", var(--f-sign); font-size: .92em; letter-spacing: .02em; }
@media (max-width: 600px) { .sign--loopplank { --sign-scale: 1.2; } }

/* Kortsluiting: couture capitals above glitch letters, one tube that won't stay on */
.sign--kortsluiting .word-1 { font-family: "Bodoni Moda", "Didot", serif; font-weight: 600; font-size: .86em; letter-spacing: .03em; margin-bottom: .06em; }
.sign--kortsluiting .word-2 { font-family: "Rubik Glitch", var(--f-sign); font-size: .86em; letter-spacing: .04em; }

/* Etiket: a small designer label over a big marker scrawl */
.sign--etiket .word-1 { font-family: "Bodoni Moda", "Didot", serif; font-style: italic; font-weight: 500; text-transform: none; font-size: .46em; letter-spacing: .04em; margin-bottom: .04em; }
.sign--etiket .word-2 { font-family: "Permanent Marker", cursive; font-size: 1.02em; letter-spacing: .02em; line-height: .95; transform: rotate(-3deg); }

/* Omgekeer: the tag on top, the couture name underneath */
.sign--omgekeer .word-1 {
  z-index: 1; font-family: "Rock Salt", "Permanent Marker", cursive; text-transform: none;
  font-size: .5em; line-height: 1.2; margin-bottom: .02em; transform: rotate(-6deg) translateX(-22%);
}
.sign--omgekeer .word-2 { font-family: "Bodoni Moda", "Didot", serif; font-weight: 500; letter-spacing: .08em; font-size: .9em; }

/* ---------- cover ---------- */
.cover {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; place-items: center; padding: 96px var(--gutter);
}
.cover-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 3.5s ease 1.6s, transform 9s ease-out 1.6s;
}
.cover.up .cover-photo { opacity: .34; transform: scale(1); }
.cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 20%, var(--ink) 82%);
}
.cover-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 28px; }
.cover-vol {
  margin: 0; font-family: var(--f-ui); font-weight: var(--ui-weight); font-size: clamp(16px, 2.4vw, 24px);
  letter-spacing: .5em; padding-left: .5em; color: var(--paper);
}
.cover-enter {
  font-family: var(--f-ui); font-weight: var(--ui-weight); text-transform: uppercase; letter-spacing: .3em; font-size: 14px;
  text-decoration: none; color: var(--smoke); padding: 10px 6px;
}
.cover-enter:hover { color: var(--neon-core); text-shadow: 0 0 8px var(--neon); }
.cover-enter span { display: inline-block; animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }

/* ---------- poem rooms ---------- */
.room { position: relative; }
.stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; align-items: end;
}
.stage-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1.04 + var(--p, 0) * .08));
  opacity: calc(.92 - var(--p, 0) * .3);
}
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, var(--ink) 4%, rgba(12,10,11,.82) 34%, rgba(12,10,11,.1) 70%),
    linear-gradient(to right, rgba(12,10,11,.75), transparent 60%);
}
.stage .halftone { z-index: 1; }
/* long poems: start near the top and travel upward as the lines come in */
.stage.long { align-items: start; }
.stage.long::before {
  background:
    linear-gradient(to bottom, var(--ink) 0, rgba(12,10,11,.55) 18%, rgba(12,10,11,.55) 70%, var(--ink) 100%),
    linear-gradient(to right, rgba(12,10,11,.8), transparent 65%);
}
.stage.long .poem {
  padding-top: calc(env(safe-area-inset-top, 0px) + 120px);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 72px);
  will-change: transform;
}
.stage.long .room-num { opacity: .45; }
.stage.long::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 3; pointer-events: none;
  height: calc(env(safe-area-inset-top, 0px) + 140px);
  background: linear-gradient(var(--ink) 40%, rgba(12, 10, 11, 0));
}
.room-num {
  position: absolute; z-index: 2; top: calc(env(safe-area-inset-top, 0px) + 56px); right: var(--gutter);
  font-family: var(--f-num); font-style: var(--num-style); font-weight: var(--num-weight); font-size: clamp(90px, 18vw, 240px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px rgba(235, 230, 220, .55);
  font-variant-numeric: tabular-nums;
}
.poem {
  position: relative; z-index: 2; min-width: 0;
  padding: 0 var(--gutter) calc(env(safe-area-inset-bottom, 0px) + clamp(40px, 9vh, 96px));
  max-width: 44rem;
}
.poem-title {
  margin: 0 0 22px; font-family: var(--f-title); font-weight: var(--title-weight); font-style: var(--title-style); text-transform: var(--title-case);
  font-size: calc(clamp(34px, 6.5vw, 76px) * var(--title-scale)); line-height: .95; letter-spacing: var(--title-track); text-wrap: balance;
}
.poem-lines { font-family: var(--f-poem); font-weight: var(--poem-weight); font-size: calc(clamp(17px, 2.1vw, 23px) * var(--poem-scale)); line-height: 1.5; }
.line { margin: 0; opacity: .14; transform: translateX(-6px); transition: opacity .5s, transform .5s, color .3s; }
.line.on { opacity: 1; transform: none; }
.gap { height: .9em; }
.line.neon { font-family: var(--f-neonline); font-style: var(--neonline-style); font-size: var(--neonline-size); }
.line.neon.on { color: var(--neon-core); text-shadow: var(--glow); animation: ignite 1.1s both; }

/* ---------- strobe bursts ---------- */
.burst { position: relative; }
.burst .stage { align-items: center; justify-items: center; }
.burst-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.burst-photo.show { visibility: visible; }
.burst .stage::before { background: rgba(12, 10, 11, .25); }
.burst-label {
  position: relative; z-index: 3; margin: 0;
  font-family: var(--f-burst); font-style: var(--burst-style); text-transform: var(--burst-case); font-size: clamp(56px, 14vw, 190px);
  color: transparent; -webkit-text-stroke: 2px var(--neon); letter-spacing: .04em;
  filter: drop-shadow(0 0 10px var(--neon)) drop-shadow(0 0 30px rgba(255, 46, 99, .5));
  transform: rotate(-4deg);
}
.flash { position: absolute; inset: 0; z-index: 4; background: var(--houselights); opacity: 0; pointer-events: none; }
.flash.go { animation: flash .14s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }

/* ---------- setlist (index) ---------- */
.setlist {
  position: fixed; inset: 0; z-index: 70; overflow-y: auto;
  display: grid; place-items: center;
  padding: calc(env(safe-area-inset-top, 0px) + 72px) 16px calc(env(safe-area-inset-bottom, 0px) + 40px);
  background: rgba(12, 10, 11, .9);
}
.setlist-bg {
  position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .15s; pointer-events: none;
}
.setlist-bg.show { opacity: .42; }
.setlist-paper {
  position: relative; width: min(100%, 460px);
  background: var(--paper); color: var(--ink);
  padding: 42px clamp(22px, 6vw, 40px) 34px;
  transform: rotate(-1.3deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
  font-family: var(--f-hand);
}
.setlist-paper::before, .setlist-paper::after {
  content: ""; position: absolute; top: -14px; width: 110px; height: 32px; background: var(--tape);
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.setlist-paper::before { left: -22px; transform: rotate(-32deg); }
.setlist-paper::after { right: -22px; transform: rotate(28deg); }
.setlist-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: clamp(26px, 7vw, 34px); line-height: 1; border-bottom: 3px solid var(--ink);
  padding-bottom: 10px; margin-bottom: 12px; transform: rotate(.6deg);
}
.setlist-vol { font-size: .55em; }
.setlist-list { list-style: none; margin: 0; padding: 0; counter-reset: song; }
.setlist-list li { counter-increment: song; }
.setlist-list li:nth-child(3n) { transform: rotate(-.7deg); }
.setlist-list li:nth-child(4n+1) { transform: rotate(.5deg); }
.setlist-list button {
  display: flex; gap: 14px; width: 100%; text-align: left; background: none; border: 0;
  padding: 3px 0; cursor: pointer; font-family: var(--f-hand); font-size: clamp(17px, 4.6vw, 21px); line-height: 1.25;
  color: var(--ink);
}
.setlist-list button::before {
  content: counter(song); min-width: 1.6em; text-align: right; color: var(--smoke);
  font-variant-numeric: tabular-nums;
}
.setlist-list button:hover, .setlist-list button:focus-visible { color: var(--neon); }
.setlist-list li.current button { text-decoration: underline wavy var(--neon) 2px; text-underline-offset: 5px; }
.setlist-list li.sep {
  counter-increment: none; font-size: 14px; color: var(--smoke); padding: 4px 0 4px 2.7em; letter-spacing: .05em;
}
.setlist-encore {
  display: block; margin-top: 14px; padding-top: 10px; border-top: 2px dashed var(--ink);
  font-size: 20px; text-decoration: none; color: var(--ink); transform: rotate(-1deg);
}
.setlist-encore:hover { color: var(--neon); }
.setlist-close {
  position: fixed; z-index: 2; top: calc(env(safe-area-inset-top, 0px) + 14px); right: var(--gutter);
  background: none; border: 1.5px solid var(--paper); color: var(--paper);
  font-family: var(--f-ui); font-weight: var(--ui-weight); letter-spacing: var(--ui-track); text-transform: uppercase; padding: 6px 12px; cursor: pointer;
}

/* ---------- closing time: the lights go out ---------- */
.lastcall { position: relative; }
.lastcall-stage { align-items: end; justify-items: center; }
.lastcall-stage::before { background: linear-gradient(to top, rgba(12,10,11,.85), rgba(12,10,11,.15) 55%); }
.lastcall-dark {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at 50% 60%, rgba(0,0,0,.92), #000 75%);
  opacity: calc(1 - var(--lights, 1));
}
.lastcall-stage.flick .lastcall-dark { animation: flick .32s steps(1); }
@keyframes flick { 0% { opacity: .2; } 30% { opacity: 1; } 55% { opacity: .35; } 100% { opacity: calc(1 - var(--lights, 1)); } }
/* the last light left burning over the bar */
.lastcall-spot {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse 34% 40% at 50% 46%, rgba(0,0,0,.05), rgba(0,0,0,.6) 45%, #000 100%);
}
.lastcall-stage.last .lastcall-dark { opacity: 0; }
.lastcall-stage.last .lastcall-spot { opacity: 1; }
.lastcall-stage.last.stutter .lastcall-spot { animation: stutter 2.2s steps(1) infinite; }
@keyframes stutter {
  0%, 8%, 37%, 41%, 69%, 75%, 79%, 100% { opacity: 1; }
  6% { opacity: .2; } 39% { opacity: .55; } 71% { opacity: 0; } 73% { opacity: .1; } 77% { opacity: .35; }
}
.lastcall-stage.out .lastcall-dark { opacity: 1; animation: popout .7s steps(1); }
@keyframes popout { 0% { opacity: 0; } 12% { opacity: 1; } 22% { opacity: .3; } 30%, 100% { opacity: 1; } }
.lastcall-sign {
  --sign-size: clamp(42px, 10vw, 128px);
  position: absolute; z-index: 3; top: calc(env(safe-area-inset-top, 0px) + 12vh); left: 0; right: 0;
}
.sign.lit .ch.off, .sign .ch.off { animation: die .7s both; }
@keyframes die {
  0% { color: var(--core); text-shadow: var(--halo); }
  15%, 40% { color: var(--soot); text-shadow: none; }
  25% { color: var(--core); text-shadow: var(--halo); }
  50% { color: var(--core); text-shadow: none; opacity: .6; }
  100% { color: var(--soot); text-shadow: none; opacity: 1; }
}
.lastcall-line {
  position: relative; z-index: 7; margin: 0 var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 14vh);
  font-family: var(--f-poem); font-size: clamp(20px, 3vw, 32px); text-align: center; color: var(--paper);
  min-height: 1.5em; transition: opacity .4s;
}
.lastcall-line.hide { opacity: 0; }

/* the little OOP / TOE sign in the window */
.window-sign {
  position: absolute; z-index: 6; margin: 0;
  top: calc(env(safe-area-inset-top, 0px) + 64px); right: var(--gutter);
  display: grid; font-family: var(--f-sign); text-transform: uppercase; letter-spacing: .12em;
  font-size: clamp(22px, 3.6vw, 40px); padding: .15em .45em .1em .55em;
  border: 2px solid var(--soot); border-radius: .5em;
}
.window-sign span { grid-area: 1 / 1; color: var(--soot); text-shadow: none; }
.window-sign .ws-oop { color: var(--sign-green-core); text-shadow: var(--glow-green); }
.window-sign.is-closed .ws-oop { color: transparent; text-shadow: none; }
.window-sign.is-closed { border-color: var(--sign-red); box-shadow: 0 0 12px rgba(255,42,26,.55), inset 0 0 10px rgba(255,42,26,.4); }
.window-sign.is-closed .ws-toe { --core: var(--sign-red-core); --halo: var(--glow-red); color: var(--sign-red-core); text-shadow: var(--glow-red); animation: ignite 1.2s both; }
.window-sign:not(.is-closed) { border-color: var(--sign-green); box-shadow: 0 0 10px rgba(43,255,94,.4); }
.window-sign:not(.is-closed) .ws-toe { color: transparent; }

/* credits: a xeroxed flyer taped to the dark door, lit only by the TOE sign */
.closing {
  position: relative; min-height: 100svh; color: var(--ink); overflow: hidden;
  background: radial-gradient(circle at 92% 6%, rgba(255, 42, 26, .14), transparent 38%), var(--ink);
  display: grid; place-items: center;
  padding: calc(env(safe-area-inset-top, 0px) + 120px) 16px calc(env(safe-area-inset-bottom, 0px) + 64px);
}
.flyer {
  position: relative; width: min(100%, 440px); background: var(--paper);
  padding: 34px clamp(20px, 6vw, 36px) 30px; transform: rotate(-1.6deg);
  box-shadow: 0 24px 50px rgba(0,0,0,.65);
  display: grid; justify-items: center; gap: 20px; text-align: center;
}
.flyer::before, .flyer::after {
  content: ""; position: absolute; top: -12px; width: 96px; height: 28px; background: var(--tape);
}
.flyer::before { left: -18px; transform: rotate(-30deg); }
.flyer::after { right: -18px; transform: rotate(26deg); }
.flyer-kicker { margin: 0; font-family: var(--f-ui); font-weight: var(--ui-weight); letter-spacing: .35em; text-transform: uppercase; font-size: 13px; }
.sign--print { --sign-size: clamp(40px, 13vw, 72px); }
.sign--print .ch { color: var(--ink); text-shadow: none; }
.sign--print::after { display: none; }  /* dirty-glass texture is for lit tubes, not paper */
.flyer-photo { width: 100%; filter: grayscale(1) contrast(1.9) brightness(1.1); mix-blend-mode: multiply; }
.credits {
  display: grid; grid-template-columns: auto auto; gap: 6px 18px; margin: 0; text-align: left; font-size: 16px;
}
.credits dt { font-family: var(--f-ui); font-weight: calc(var(--ui-weight) + 100); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; padding-top: 3px; }
.credits dd { margin: 0; }
.credit-by {
  margin: 0; max-width: 22ch; font-family: var(--f-title); font-style: italic; font-weight: 500;
  font-size: 22px; line-height: 1.25; text-wrap: balance;
}
.closing-note { margin: 0; max-width: 34ch; font-size: 15px; line-height: 1.5; }
.closing-back { font-family: var(--f-ui); font-weight: var(--ui-weight); text-transform: uppercase; letter-spacing: .2em; font-size: 14px; color: var(--ink); }
.closing-back:hover { color: var(--neon); }

@media (min-width: 900px) {
  .poem { padding-left: calc(var(--gutter) * 1.6); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .cover-enter span { animation: none; }
  .sign.lit .ch, .sign.lit .ch.buzz { animation: none; color: var(--core); text-shadow: var(--halo); }
  .sign.lit .word { animation: none; }
  .cover-photo { transition: none; }
  .line { opacity: 1; transform: none; transition: none; }
  .line.neon { color: var(--neon-core); text-shadow: var(--glow); animation: none; }
  .flash.go, .lastcall-stage.flick .lastcall-dark, .lastcall-stage.last.stutter .lastcall-spot, .lastcall-stage.out .lastcall-dark, .window-sign.is-closed .ws-toe { animation: none; }
  .sign.lit .ch.off, .sign .ch.off { animation: none; color: var(--soot); text-shadow: none; }
}
