/* =====================================================================
   THE KINGS — v2 "screen-print poster"
   Three inks on aged paper: cream, Kings red, ink black.
   Fixed left rail nav (comp 3). All paths relative.
   ===================================================================== */
:root {
  --paper: #EFE2C6;
  --paper-2: #E6D5B2;
  --bone: #F7EFDD;
  --red: #D42A2A;
  --red-dk: #9E1F1F;
  --ink: #151311;
  --rail: 232px;
  --f-brush: "Bangers", "Impact", sans-serif;
  --f-num: "Bebas Neue", "Impact", sans-serif;
  --f-script: "Yellowtail", cursive;
  --f-type: "Special Elite", "Courier New", monospace;
  --f-body: "DM Sans", system-ui, sans-serif;
  --shadow: 5px 5px 0 var(--ink);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font: 400 17px/1.55 var(--f-body);
  background: var(--paper) url(../img/kit/paper.jpg) repeat; background-size: 520px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px dashed var(--red); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: var(--bone); padding: 8px 14px; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* ---------- LEFT RAIL ---------- */
.rail {
  position: fixed; inset: 0 auto 0 0; width: var(--rail); z-index: 50;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 18px 14px 16px;
  background: var(--paper) url(../img/kit/paper.jpg); background-size: 520px;
  border-right: 4px solid var(--ink);
  box-shadow: 6px 0 0 var(--red), 10px 0 0 var(--ink);
}
.rail::after { /* checker spine on the outer edge */
  content: ""; position: absolute; top: 0; bottom: 0; right: -22px; width: 12px;
  background: conic-gradient(var(--ink) 25%, var(--bone) 0 50%, var(--ink) 0 75%, var(--bone) 0) 0 0 / 12px 12px;
  border-right: 2px solid var(--ink); pointer-events: none;
}
.rail__brand { width: 168px; flex: none; transition: transform .25s; }
.rail__brand img { width: 100%; height: auto; }
.rail__brand:hover { transform: rotate(-4deg) scale(1.04); }
.rail__links { display: flex; flex-direction: column; align-items: center; margin-top: 4px; flex: 1; justify-content: center; }
.rail__links a {
  font: 400 clamp(26px, 3.6vh, 34px)/1 var(--f-brush); letter-spacing: .03em; text-decoration: none;
  transform: rotate(-5deg); padding: 4px 6px; position: relative; color: var(--ink);
  text-shadow: 2px 2px 0 var(--bone); transition: color .15s, transform .15s;
}
.rail__links a + a::before { /* sparkle star between links */
  content: ""; display: block; width: 18px; height: 20px; margin: 0 auto clamp(6px, 1.4vh, 14px);
  background: url(../img/kit/star-red.webp) center / contain no-repeat; transform: rotate(5deg);
}
.rail__links a:hover { color: var(--red); transform: rotate(-5deg) scale(1.07); }
.rail__links a.is-active { color: var(--red); text-shadow: 2px 2px 0 var(--ink); }
.rail__links a.is-active::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -2px; height: 5px; background: var(--red);
  border-radius: 3px; transform: skewX(-20deg);
}
.rail__links a.rail__cta { color: var(--red); }
.rail__jb {
  display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 10px;
  padding: 8px 10px; border: 3px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--bone);
  cursor: pointer; text-align: left; box-shadow: 3px 3px 0 var(--red);
}
.rail__jb:hover { background: var(--red); box-shadow: 3px 3px 0 var(--ink); }
.rail__disc {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle, var(--red) 0 6px, var(--bone) 6.5px 8px, var(--red) 8.5px 11px, #222 11.5px), repeating-radial-gradient(circle, #111 0 1px, #2a2a2a 1.5px 2.5px);
}
.is-spinning .rail__disc { animation: spin 1.6s linear infinite; }
.rail__jbtext { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.rail__jbtext small { font: 400 15px var(--f-brush); letter-spacing: .06em; color: var(--red); }
.rail__jb:hover .rail__jbtext small { color: var(--bone); }
.rail__jbtext b { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.burger { display: none; }
.scrim { position: fixed; inset: 0; background: rgb(21 19 17 / .45); z-index: 45; }

main, .foot { margin-left: calc(var(--rail) + 22px); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; cursor: pointer; text-decoration: none;
  font: 400 clamp(20px, 2.2vw, 28px)/1 var(--f-brush); letter-spacing: .05em; border: 0;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-2px, -2px); }
.btn:active { transform: translate(2px, 2px); }
.btn--marquee { /* black sign framed by red bulbs */
  color: var(--bone); padding: .5em 1.15em; border: 11px solid transparent; border-radius: 999px;
  background:
    linear-gradient(var(--ink), var(--ink)) padding-box,
    radial-gradient(circle, var(--bone) 0 2.6px, #ffd89a 3px, var(--red) 3.6px) 0 0 / 13px 13px border-box;
  box-shadow: 0 0 0 3px var(--ink), 6px 6px 0 3px var(--ink);
  animation: chase 1.2s steps(2) infinite;
}
.btn--marquee:hover { box-shadow: 0 0 0 3px var(--ink), 8px 8px 0 3px var(--ink); }
.btn--pill {
  color: var(--ink); background: var(--bone); padding: .55em 1.1em; border-radius: 999px;
  border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--red), 4px 4px 0 3px var(--ink);
}
.btn--ink { color: var(--bone); background: var(--ink); padding: .45em 1em; border-radius: 999px; font-size: 20px; }
.btn--ink:disabled { opacity: .4; cursor: default; transform: none; }
@keyframes chase { to { background-position: 0 0, 6.5px 0; } }

/* ---------- HERO ---------- */
.topstrip {
  height: 46px; display: flex; align-items: center; justify-content: center;
  background: url(../img/kit/checker.jpg) center / auto 100% repeat-x; border-bottom: 3px solid var(--ink);
}
.topstrip span {
  font: 400 clamp(18px, 2.2vw, 26px)/1 var(--f-brush); letter-spacing: .08em; color: var(--bone);
  background: var(--red); padding: 6px 22px 5px; border: 3px solid var(--ink); border-radius: 6px; transform: rotate(-1.5deg);
  box-shadow: 3px 3px 0 var(--ink);
}
.hero__stage { position: relative; aspect-ratio: 3 / 2; max-height: 92vh; min-height: 540px; overflow: hidden; border-bottom: 3px solid var(--ink); }
.hero__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__center {
  position: relative; z-index: 2; height: 100%; width: min(58%, 760px); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px;
  padding: 7% 0;
}
.hero__logo { margin: 0; width: 100%; animation: drop .9s cubic-bezier(.2, 1.6, .4, 1) both; }
.hero__logo img { width: 100%; height: auto; filter: drop-shadow(0 4px 0 rgb(21 19 17 / .12)); }
.hero__tag {
  margin: -10px 0 14px; font: 400 clamp(40px, 5.2vw, 76px)/1 var(--f-script); color: var(--ink);
  transform: rotate(-6deg); text-shadow: 3px 3px 0 var(--bone), 5px 5px 0 var(--red);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px 22px; justify-content: center; align-items: center; }
.nextshow {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  text-decoration: none; background: var(--bone); border: 3px solid var(--ink); border-radius: 10px; padding: 8px 16px;
  box-shadow: 4px 4px 0 var(--ink); transform: rotate(1deg);
}
.nextshow__k { font: 400 18px/1 var(--f-brush); background: var(--red); color: var(--bone); padding: 4px 8px 3px; border-radius: 4px; letter-spacing: .06em; }
.nextshow__v { font: 400 24px/1 var(--f-brush); letter-spacing: .03em; }
.nextshow .tag-sample { position: static; display: inline-block; margin-left: 8px; font-size: 13px; padding: 3px 6px 2px; border-radius: 4px; vertical-align: middle; }
.nextshow__c {font: 400 21px/1 var(--f-num); letter-spacing: .06em; color: var(--red-dk); }
@keyframes drop { from { opacity: 0; transform: translateY(-40px) rotate(-6deg) scale(.9); } }

.marquee { background: var(--red); border-block: 3px solid var(--ink); overflow: hidden; padding: 9px 0; }
.marquee__track { display: flex; width: max-content; animation: scroll 38s linear infinite; }
.marquee__track span { font: 400 26px/1 var(--f-brush); letter-spacing: .06em; color: var(--bone); padding: 0 22px; white-space: nowrap; text-shadow: 2px 2px 0 var(--ink); }
.marquee__track span::after { content: "✦"; color: var(--ink); margin-left: 44px; text-shadow: none; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
.section { position: relative; padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 56px); }
.section__head { text-align: center; max-width: 820px; margin: 0 auto clamp(26px, 4vw, 48px); }
.title { margin: 0 auto; width: min(560px, 100%); }
.title img { width: 100%; height: auto; }
.section__sub { margin: 10px auto 0; max-width: 52ch; font-family: var(--f-type); font-size: 16px; color: #3b342c; }
.only-touch { display: none; }
html:not(.is-fine) .only-fine { display: none; }
html:not(.is-fine) .only-touch { display: block; }
.checker { height: 34px; background: url(../img/kit/checker.jpg) center / auto 100% repeat-x; }

/* floating stickers */
.stk { position: absolute; pointer-events: none; z-index: 0; width: 70px; height: auto; opacity: .95; }
.stk--a { top: 40px; left: 4%; transform: rotate(-12deg); }
.stk--b { top: 70px; right: 3%; width: 130px; transform: rotate(-8deg); }
.stk--c { top: 36px; left: 5%; width: 96px; transform: rotate(-14deg); }
.stk--d { top: 50px; right: 6%; width: 80px; }
.stk--e { top: 60px; left: 6%; width: 64px; transform: rotate(10deg); }
.section > :not(.stk) { position: relative; z-index: 1; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, 1.3, .4, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- SHOW TICKETS ---------- */
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: 34px 30px; max-width: 1320px; margin: 0 auto; }
.ticket { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ticket__paper {
  container-type: inline-size; position: relative; width: 100%; aspect-ratio: 3 / 2;
  background: url(../img/kit/ticket.jpg) center / 100% 100% no-repeat;
  filter: drop-shadow(5px 6px 0 rgb(21 19 17 / .28)); transition: transform .2s;
}
.ticket:nth-child(odd) .ticket__paper { transform: rotate(-1.2deg); }
.ticket:nth-child(even) .ticket__paper { transform: rotate(1deg); }
.ticket:hover .ticket__paper { transform: rotate(0) scale(1.02); }
.ticket__body {
  position: absolute; left: 27.5%; right: 9.5%; top: 15%; bottom: 25.5%;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 1cqw;
}
.ticket__date { display: flex; align-items: baseline; gap: 2cqw; font-family: var(--f-num); color: var(--red); line-height: .9; }
.ticket__dow, .ticket__mon { font-size: 7cqw; color: var(--ink); letter-spacing: .04em; }
.ticket__day { font-size: 14cqw; text-shadow: .5cqw .5cqw 0 var(--ink); }
.ticket__tba { font: 400 9cqw/1 var(--f-num); color: var(--red); letter-spacing: .05em; text-shadow: .4cqw .4cqw 0 var(--ink); }
.ticket__venue { margin: 0; font: 400 7.2cqw/1 var(--f-brush); letter-spacing: .03em; transform: rotate(-2deg); }
.ticket__meta { font: 400 4.6cqw/1.1 var(--f-num); letter-spacing: .08em; color: #3b342c; }
.ticket__note { font: 400 6cqw/1 var(--f-script); color: var(--red-dk); }
.tag-sample {
  position: absolute; right: 3%; top: 2%; font: 400 4cqw/1 var(--f-brush); letter-spacing: .08em;
  background: var(--ink); color: var(--bone); padding: .6cqw 1.6cqw; border-radius: 1cqw; transform: rotate(6deg);
}
.ticket__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ticket__actions > * {
  font: 400 18px/1 var(--f-brush); letter-spacing: .06em; text-decoration: none; cursor: pointer;
  padding: 8px 14px 7px; border-radius: 999px; border: 3px solid var(--ink); background: var(--bone);
  box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, background .12s;
}
.ticket__actions > *:hover { background: var(--red); color: var(--bone); transform: translate(-1px, -1px); }
.ticket--past .ticket__paper { filter: sepia(.35) saturate(.6) drop-shadow(4px 5px 0 rgb(21 19 17 / .2)); }
.ticket__played {
  position: absolute; left: 50%; top: 42%; translate: -40% -50%; rotate: -14deg;
  font: 400 11cqw/1 var(--f-brush); letter-spacing: .06em; color: var(--red); border: .9cqw solid var(--red);
  padding: 1cqw 3cqw; border-radius: 2cqw; opacity: .85; mix-blend-mode: multiply;
}
.past { max-width: 1320px; margin: 44px auto 0; }
.past summary {
  cursor: pointer; width: max-content; margin: 0 auto 26px; list-style: none;
  font: 400 22px/1 var(--f-brush); letter-spacing: .06em; padding: 8px 18px; border: 3px solid var(--ink); border-radius: 999px; background: var(--paper-2);
}
.past summary::-webkit-details-marker { display: none; }
.past summary::before { content: "▸ "; color: var(--red); }
.past[open] summary::before { content: "▾ "; }
.tickets--past { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

/* ---------- JUKEBOX ---------- */
.jukebox {
  display: grid; grid-template-columns: minmax(220px, 380px) minmax(0, 620px); gap: clamp(24px, 4vw, 56px);
  justify-content: center; align-items: center; max-width: 1100px; margin: 0 auto;
}
.jb__art { position: relative; }
.jb__art > img:first-child { width: 100%; height: auto; filter: drop-shadow(6px 8px 0 rgb(21 19 17 / .25)); transform-origin: 50% 100%; }
.is-spinning .jb__art > img:first-child { animation: bop .48s ease-in-out infinite alternate; }
.jb__float { position: absolute; width: 56px; opacity: 0; pointer-events: none; }
.jb__float--1 { left: 4%; top: 20%; }
.jb__float--2 { right: 0; top: 10%; width: 70px; }
.jb__float--3 { right: 10%; top: 38%; width: 46px; }
.is-spinning .jb__float { animation: floaty 2.6s ease-in infinite; }
.is-spinning .jb__float--2 { animation-delay: .9s; }
.is-spinning .jb__float--3 { animation-delay: 1.7s; }
@keyframes bop { to { transform: rotate(1.2deg) scaleY(.985); } }
@keyframes floaty { 0% { opacity: 0; transform: translateY(20px) rotate(-10deg); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-90px) rotate(14deg); } }

.jb__panel {
  background: var(--red); color: var(--bone); border: 4px solid var(--ink); border-radius: 18px; padding: clamp(16px, 2.6vw, 28px);
  box-shadow: 8px 8px 0 var(--ink); position: relative; overflow: hidden;
  background-image: radial-gradient(rgb(21 19 17 / .22) 1.2px, transparent 1.6px); background-size: 7px 7px;
}
.jb__now { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.jb__now small { font: 400 18px/1 var(--f-brush); letter-spacing: .08em; color: var(--ink); }
.jb__now p { margin: 2px 0 0; font: 400 clamp(24px, 2.6vw, 32px)/1.05 var(--f-brush); letter-spacing: .03em; text-shadow: 2px 2px 0 var(--ink); }
.jb__record {
  flex: none; width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center;
  background: repeating-radial-gradient(circle, #111 0 1.5px, #2b2724 2px 3px); border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.is-playing .jb__record { animation: spin 2s linear infinite; }
.jb__label { width: 34px; height: 34px; border-radius: 50%; background: var(--bone); color: var(--red); display: grid; place-items: center; font: 400 12px/1 var(--f-brush); border: 2px solid var(--red); }
#viz { width: 100%; height: 70px; display: block; background: var(--ink); border-radius: 10px; border: 3px solid var(--ink); margin-bottom: 16px; }
.jb__cards { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.jb__cards button {
  width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer;
  background: var(--bone); color: var(--ink); border: 3px solid var(--ink); border-radius: 8px; padding: 8px 10px;
  box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, background .12s;
}
.jb__cards button:hover { transform: translate(-1px, -1px); background: #fff7e6; }
.jb__cards button[aria-pressed="true"] { background: var(--ink); color: var(--bone); }
.jb__code { flex: none; font: 400 22px/1 var(--f-num); color: var(--bone); background: var(--red); border: 2px solid var(--ink); border-radius: 6px; padding: 5px 6px 3px; letter-spacing: .04em; }
.jb__song { display: flex; flex-direction: column; min-width: 0; }
.jb__song b { font: 400 19px/1.05 var(--f-brush); letter-spacing: .03em; }
.jb__song small { font-size: 12px; opacity: .75; }
.jb__controls { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.jb__controls label { display: flex; align-items: center; gap: 8px; font: 400 18px/1 var(--f-brush); letter-spacing: .06em; color: var(--ink); }
.jb__controls input { accent-color: var(--ink); width: 110px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- BAND CARDS ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 320px)); justify-content: center; gap: clamp(22px, 3vw, 40px); perspective: 1400px; }
.card { all: unset; cursor: pointer; display: block; aspect-ratio: 2 / 3; position: relative; container-type: inline-size; }
.card:focus-visible { outline: 3px dashed var(--red); outline-offset: 6px; border-radius: 16px; }
.card:nth-child(1) { rotate: -2deg; } .card:nth-child(3) { rotate: 2deg; }
.card__inner { position: absolute; inset: 0; transition: transform .7s cubic-bezier(.3, 1.4, .5, 1); transform-style: preserve-3d; display: block; }
.card[aria-pressed="true"] .card__inner { transform: rotateY(180deg); }
.card:hover .card__inner { translate: 0 -6px; }
.card__face { position: absolute; inset: 0; backface-visibility: hidden; display: block; border-radius: 6%/4%; filter: drop-shadow(6px 8px 0 rgb(21 19 17 / .3)); }
.card__front { background: url(../img/kit/card-frame.webp) center / 100% 100% no-repeat; isolation: isolate; }
.card__photo {
  position: absolute; left: 6%; right: 5.5%; top: 16%; bottom: 18.6%; border-radius: 7%/5%; z-index: -1;
  background-position: var(--pos, center); background-size: var(--size, cover); background-repeat: no-repeat;
  filter: sepia(.25) contrast(1.08) saturate(.9);
}
.card__banner {
  position: absolute; left: 15%; right: 15%; top: 84%; height: 9%; display: grid; place-items: center;
  font: 400 9cqw/1 var(--f-brush); letter-spacing: .04em; color: var(--bone); text-shadow: .5cqw .5cqw 0 var(--ink);
}
.card__no {
  position: absolute; top: 3.2%; left: 7%; font: 400 6.5cqw/1 var(--f-num); letter-spacing: .06em;
  background: var(--red); color: var(--bone); padding: .8cqw 2cqw .4cqw; border: .6cqw solid var(--ink); border-radius: 1.5cqw;
}
.card__back {
  transform: rotateY(180deg); background: var(--bone) url(../img/kit/paper.jpg) center / 300px; border: 1.4cqw solid var(--ink);
  outline: 2.2cqw solid var(--red); outline-offset: -4.2cqw;
  display: flex; flex-direction: column; justify-content: center; gap: 4cqw; padding: 12cqw 11cqw; text-align: center;
}
.card__back::before { content: ""; position: absolute; top: 5cqw; left: 50%; width: 22cqw; height: 15cqw; translate: -50% 0; background: url(../img/kit/crown.webp) center / contain no-repeat; }
.card__name { font: 400 11cqw/1 var(--f-brush); color: var(--red); text-shadow: .6cqw .6cqw 0 var(--ink); transform: rotate(-3deg); }
.card__realname { font: 400 5cqw/1 var(--f-type); color: #5a5046; }
.card__stats { display: flex; flex-direction: column; gap: 3.4cqw; font: 400 5.1cqw/1.3 var(--f-type); text-align: left; }
.card__stats b { display: block; font: 400 5.8cqw/1 var(--f-brush); letter-spacing: .06em; color: var(--red); }

/* ---------- SNAPSHOTS (scrapbook) ---------- */
.scrapbook {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); gap: clamp(18px, 3vw, 36px);
  max-width: 1200px; margin: 0 auto; padding: clamp(18px, 3vw, 36px);
  background: var(--paper-2); border: 3px solid var(--ink); border-radius: 6px; box-shadow: var(--shadow);
  background-image: radial-gradient(rgb(158 31 31 / .12) 1px, transparent 1.5px); background-size: 9px 9px;
}
.polaroid {
  margin: 0; background: var(--bone); padding: 10px 10px 0; border: 2px solid var(--ink); cursor: grab; position: relative;
  box-shadow: 4px 5px 0 rgb(21 19 17 / .35); touch-action: none; user-select: none; transition: box-shadow .2s;
}
.polaroid::before { /* masking tape */
  content: ""; position: absolute; top: -12px; left: 50%; width: 46%; height: 26px; translate: -50% 0; rotate: var(--pin, -3deg);
  background: rgb(247 239 221 / .72); border: 1px solid rgb(21 19 17 / .12); box-shadow: 0 1px 2px rgb(0 0 0 / .12);
}
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: sepia(.18) contrast(1.05); pointer-events: none; }
.polaroid figcaption { font: 400 20px/1.1 var(--f-script); text-align: center; padding: 8px 4px 12px; color: var(--ink); }
.polaroid.is-drag { cursor: grabbing; box-shadow: 12px 16px 0 rgb(21 19 17 / .3); }

/* ---------- SHOW BILLS ---------- */
.billwall { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 3vw, 34px); max-width: 1200px; margin: 0 auto; }
.bill {
  all: unset; display: block; box-sizing: border-box; cursor: zoom-in; width: clamp(140px, 18vw, 220px); background: var(--bone); padding: 8px; border: 3px solid var(--ink);
  box-shadow: 5px 6px 0 rgb(21 19 17 / .3); rotate: var(--r); transition: rotate .2s, scale .2s; position: relative;
}
.bill::before, .bill::after { /* staples */
  content: ""; position: absolute; top: 6px; width: 16px; height: 4px; background: #8a8680; border: 1px solid #555; border-radius: 1px;
}
.bill::before { left: 14px; } .bill::after { right: 14px; }
.bill:hover, .bill:focus-visible { rotate: 0deg; scale: 1.05; }
.bill img { width: 100%; height: auto; }

/* ---------- BOOKING ORDER PAD ---------- */
.order {
  max-width: 640px; margin: 0 auto; position: relative; background: #F1E4C6; border: 3px solid var(--ink); border-radius: 10px;
  box-shadow: 8px 10px 0 rgb(21 19 17 / .35); rotate: -.6deg; overflow: hidden;
}
.order__top { position: relative; }
.order__top img { width: 100%; height: auto; }
.order__no { position: absolute; right: 4%; bottom: 8%; font: 400 20px/1 var(--f-num); letter-spacing: .08em; background: var(--bone); border: 2px solid var(--ink); padding: 4px 8px 2px; rotate: 3deg; }
.order__no b { color: var(--red); font-weight: 400; }
.order__body {
  padding: 4px clamp(18px, 5vw, 40px) 20px;
  background: repeating-linear-gradient(to bottom, transparent 0 41px, rgb(212 42 42 / .38) 41px 43px);
}
.order__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.order__grid label { display: flex; flex-direction: column; font: 400 19px/1 var(--f-brush); letter-spacing: .06em; color: var(--red); padding-top: 12px; }
.order__wide { grid-column: 1 / -1; }
.order input, .order select, .order textarea {
  font: 400 18px/1.3 var(--f-type); color: var(--ink); background: transparent; border: 0; border-bottom: 2px solid var(--ink);
  padding: 6px 2px 4px; margin-top: 4px; border-radius: 0; width: 100%;
}
.order textarea { resize: vertical; border: 2px solid var(--ink); background: rgb(247 239 221 / .5); border-radius: 4px; padding: 8px; }
.order select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0h12L6 8z' fill='%23D42A2A'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 22px; }
.order input:focus, .order select:focus, .order textarea:focus { outline: none; border-color: var(--red); background-color: rgb(247 239 221 / .7); }
.order .is-bad { border-color: var(--red); background-color: rgb(212 42 42 / .1); }
.order__foot { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 26px; }
.order__msg { margin: 0; min-height: 1.4em; font-family: var(--f-type); font-size: 15px; text-align: center; }
.order__msg.bad { color: var(--red); }
.order__msg.ok { color: #2d5a1e; }
.order__checker { width: 100%; height: auto; }
.stamp {
  position: absolute; right: 8%; top: 44%; font: 400 46px/1 var(--f-brush); letter-spacing: .06em; color: var(--red);
  border: 5px solid var(--red); border-radius: 10px; padding: 6px 16px; rotate: -16deg; opacity: 0; scale: 2.2;
  mix-blend-mode: multiply; pointer-events: none; transition: opacity .2s, scale .35s cubic-bezier(.2, 1.6, .4, 1);
}
.stamp.is-on { opacity: .85; scale: 1; }

/* ---------- FOOTER ---------- */
.foot { border-top: 3px solid var(--ink); }
.foot .checker { height: 30px; }
.foot__inner { background: var(--ink); color: var(--bone); text-align: center; padding: 34px 16px 40px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.foot__logo { width: min(320px, 70%); height: auto; }
.foot__tag { margin: 0; font: 400 24px/1.1 var(--f-script); color: var(--bone); }
.foot__social { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; }
.foot__social a { font: 400 20px/1 var(--f-brush); letter-spacing: .06em; text-decoration: none; color: var(--bone); border-bottom: 3px solid var(--red); padding-bottom: 2px; }
.foot__social a:hover { color: var(--red); }
.foot__fine { margin: 6px 0 0; font: 400 13px var(--f-type); opacity: .7; }

/* ---------- SPEEDO / TOAST / LIGHTBOX ---------- */
.speedo {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 74px; height: 74px; border-radius: 50%;
  background: var(--bone); color: var(--ink); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--red), 3px 3px 0 3px var(--ink);
  display: grid; place-items: center; align-content: center; gap: 0; cursor: pointer; padding: 6px;
  opacity: 0; translate: 0 20px; pointer-events: none; transition: opacity .25s, translate .25s;
}
.speedo.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
.speedo svg { width: 46px; }
.speedo span { font: 400 14px/1 var(--f-brush); letter-spacing: .08em; }
#needle { transition: transform .15s; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; translate: -50% 140%; max-width: min(92vw, 460px);
  background: var(--ink); color: var(--bone); border: 3px solid var(--red); border-radius: 10px; padding: 12px 18px;
  font: 400 15px var(--f-type); box-shadow: 4px 4px 0 var(--red); transition: translate .3s;
}
.toast.is-on { translate: -50% 0; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgb(21 19 17 / .88); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 54px 60px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border: 8px solid var(--bone); box-shadow: 6px 6px 0 var(--red); }
.lightbox figcaption { font: 400 26px/1.1 var(--f-script); color: var(--bone); text-align: center; }
.lightbox button { position: fixed; z-index: 2; background: var(--bone); color: var(--ink); border: 3px solid var(--ink); border-radius: 50%; width: 48px; height: 48px; font: 400 30px/1 var(--f-body); cursor: pointer; box-shadow: 3px 3px 0 var(--red); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 12px; top: 50%; translate: 0 -50%; }

/* ---------- RESPONSIVE ---------- */
@media (max-height: 760px) and (min-width: 901px) {
  .rail__brand { width: 128px; }
  .rail__links a + a::before { margin-bottom: 4px; height: 14px; }
}
@media (max-width: 1180px) {
  .jukebox { grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); }
  .jb__cards { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --rail: 0px; }
  main, .foot { margin-left: 0; }
  html { scroll-padding-top: 76px; }
  body { padding-top: 64px; }
  .rail {
    inset: 0 0 auto 0; width: auto; height: 64px; flex-direction: row; justify-content: space-between; padding: 6px 12px;
    border-right: 0; border-bottom: 4px solid var(--ink); box-shadow: 0 4px 0 var(--red), 0 8px 0 var(--ink);
  }
  .rail::after { display: none; }
  .rail__brand { width: 56px; }
  .rail__jb { width: auto; max-width: 52vw; margin: 0 0 0 auto; padding: 5px 12px 5px 6px; }
  .rail__disc { width: 30px; height: 30px; }
  .burger {
    display: grid; gap: 5px; place-content: center; width: 48px; height: 48px; margin-left: 10px; flex: none;
    background: var(--red); border: 3px solid var(--ink); border-radius: 10px; cursor: pointer; box-shadow: 2px 2px 0 var(--ink);
  }
  .burger span { display: block; width: 22px; height: 3px; background: var(--bone); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .rail__links {
    position: fixed; top: 72px; left: 0; bottom: 0; width: min(280px, 82vw); margin: 0; justify-content: flex-start; padding: 26px 16px;
    background: var(--paper) url(../img/kit/paper.jpg); background-size: 520px; border-right: 4px solid var(--ink);
    box-shadow: 6px 0 0 var(--red), 10px 0 0 var(--ink); overflow-y: auto;
    transform: translateX(calc(-100% - 14px)); transition: transform .3s cubic-bezier(.3, 1.2, .5, 1), visibility .3s; visibility: hidden;
  }
  .rail__links.is-open { transform: none; visibility: visible; }
  .rail__links a { font-size: 34px; }
  .drawer-open { overflow: hidden; }
  .hero__stage { aspect-ratio: auto; min-height: 0; max-height: none; }
  .hero__center { width: min(100%, 560px); padding: 64px 18px 72px; }
  .topstrip { height: 40px; }
  .jukebox { grid-template-columns: 1fr; }
  .jb__art { width: min(240px, 62%); margin: 0 auto; }
  .jb__cards { grid-template-columns: 1fr 1fr; }
  .stk { width: 48px; }
  .stk--b { width: 80px; } .stk--c { width: 60px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__art { opacity: .55; }
  .hero__center { padding: 52px 16px 60px; }
  .jb__cards { grid-template-columns: 1fr; }
  .order__grid { grid-template-columns: 1fr; }
  .order { rotate: 0deg; }
  .rail__jbtext b { max-width: 34vw; }
  .marquee__track span { font-size: 22px; }
  .stamp { font-size: 34px; }
  .scrapbook { grid-template-columns: 1fr 1fr; }
  .polaroid figcaption { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}
