/* Rocks77: black room, steel letters with a black outline, red tube light. Same look as the sign. */
:root {
  --bg: #0c0d0e;
  --bg-2: #16181a;
  --bg-3: #202326;
  --line: #31363b;
  --line-2: #474d53;
  --ink: #f1f2f3;
  --muted: #aab1b7;
  --steel: #cfd4d8;
  --steel-dk: #8d959c;
  --red: #c8202f;
  --red-dk: #9d1723;
  --red-hi: #ff5c64;
  --tube: #ff3442;
  --ok: #7fd58a;
  --focus: #ffd23f;
  --head: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Barlow', 'Segoe UI', sans-serif;
  --radius: 3px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-ui: 240ms;
  --t-in: 800ms;
  --gutter: 16px;
  --header-h: 64px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--red-hi); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: color var(--t-ui) var(--ease), text-decoration-color var(--t-ui) var(--ease); }
a:hover { color: var(--red-hi); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--red); color: #fff; }
h1, h2, h3 { font-family: var(--head); font-weight: 900; line-height: .95; text-transform: uppercase; letter-spacing: .02em; text-wrap: balance; margin: 0 0 .5em; }
h2 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
h3 { font-size: 1.6rem; font-weight: 700; line-height: 1.05; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 600; color: #fff; }
.wrap { width: min(1180px, 100% - var(--gutter) * 2); margin-inline: auto; }
.narrow { width: min(780px, 100% - var(--gutter) * 2); }
.small { font-size: .92rem; }
.muted { color: var(--muted); }
.sep { color: var(--steel-dk); margin: 0 .4em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: 12px; z-index: 60; background: var(--focus); color: #111; padding: 10px 16px; font-weight: 600; border-radius: var(--radius); transform: translateY(-160%); transition: transform var(--t-ui) var(--ease); }
.skip:focus { transform: none; }

/* Diamond plate, drawn in CSS so there's no image to load */
.plate {
  background-color: #24272b;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.065) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,255,255,.065) 25%, transparent 25%),
    linear-gradient(315deg, rgba(0,0,0,.28) 25%, transparent 25%),
    linear-gradient(45deg, rgba(0,0,0,.28) 25%, transparent 25%);
  background-size: 18px 36px;
}
.plate-soft { background: var(--bg-2); border: 1px solid var(--line); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; isolation: isolate; }
.top::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(12,13,14,.94); border-bottom: 3px solid var(--red); box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: opacity 300ms var(--ease); }
.js .top:not(.scrolled)::before { opacity: 0; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 4px 24px; flex-wrap: wrap; min-height: var(--header-h); padding: 8px 0; }
.mark { font: 900 1.9rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; color: var(--steel); text-shadow: 3px 3px 0 var(--red); display: inline-block; transform-origin: left center; transition: transform 300ms var(--ease), color var(--t-ui) var(--ease); }
.mark:hover { color: #fff; }
.top.scrolled .mark { transform: scale(.88); }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 22px; }
.nav a { position: relative; font: 700 1.15rem/1 var(--head); text-transform: uppercase; letter-spacing: .07em; text-decoration: none; padding: 12px 0; display: inline-block; color: var(--steel); }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.notice { margin: 0; background: var(--red); color: #fff; text-align: center; padding: 10px 16px; font-weight: 600; overflow-wrap: anywhere; position: relative; z-index: 2; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(88svh, 860px); display: flex; align-items: flex-end; padding: clamp(150px, 30vw, 200px) 0 clamp(48px, 8vw, 96px); background: radial-gradient(48% 58% at 76% 44%, #1d2023 0%, var(--bg) 100%); border-bottom: 1px solid #000; }
.hero-stage { position: absolute; inset: 0; z-index: -1; }
.hero-stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,13,14,.92) 0%, rgba(12,13,14,.55) 45%, rgba(12,13,14,0) 75%); pointer-events: none; }
@media (min-width: 900px) { .hero-stage::after { background: linear-gradient(90deg, rgba(12,13,14,.9) 0%, rgba(12,13,14,.55) 42%, rgba(12,13,14,0) 68%), linear-gradient(0deg, rgba(12,13,14,.7), rgba(12,13,14,0) 40%); } }
.ball-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1200ms var(--ease); }
.hero.has-3d .ball-canvas { opacity: 1; }
.hero.has-3d .ball-css { opacity: 0; }

/* The CSS mirror ball: what shows before the 3D one loads, and when WebGL isn't there */
.ball-css { position: absolute; right: 12%; top: 0; width: clamp(120px, 24vw, 300px); height: 62%; transition: opacity 900ms var(--ease); }
.ball-rod { position: absolute; left: 50%; top: 0; width: 3px; height: calc(100% - clamp(120px, 24vw, 300px)); margin-left: -1.5px; background: linear-gradient(90deg, #4a5056, #9aa1a7, #4a5056); }
.ball-sphere, .mini-ball {
  position: absolute; left: 0; bottom: 0; width: 100%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,.85) 0 3%, rgba(255,255,255,.22) 9%, transparent 30%),
    radial-gradient(circle at 70% 68%, rgba(255,52,66,.38) 0 6%, transparent 32%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.65) 0 2px, transparent 2px 9%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.65) 0 2px, transparent 2px 9%),
    radial-gradient(circle at 40% 36%, #e9ecee 0%, #a3abb2 30%, #4c5258 62%, #15171a 100%);
  box-shadow: inset -12px -16px 40px rgba(0,0,0,.65);
}
@media (max-width: 899px) { .ball-css { right: 6%; height: 42%; } }

.hero-inner { position: relative; }
.logo-type {
  position: relative; display: inline-block; white-space: nowrap; isolation: isolate;
  font-size: clamp(3.5rem, 17vw, 12rem); line-height: .85; letter-spacing: .04em; margin: 0 0 20px; color: #dfe3e6;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000, 0 3px 0 #000;
}
/* The red tube behind the steel letters: dark glass when off, lit red when on */
.logo-type::before, .logo-type::after {
  content: attr(data-text); content: attr(data-text) / ''; position: absolute; left: 0; top: 0; z-index: -1; pointer-events: none;
  transform: translate(.06em, .06em);
}
.logo-type::before { color: #3b0a0f; text-shadow: .02em .02em 0 #000; }
.logo-type::after { color: var(--tube); text-shadow: 0 0 .04em #ff8a91, 0 0 .14em rgba(255,40,52,.75), 0 0 .4em rgba(200,32,47,.45); }

.tagline { font-size: clamp(1.3rem, 3.2vw, 1.85rem); font-weight: 600; line-height: 1.3; max-width: 26ch; margin-bottom: 22px; text-wrap: balance; }
.hero-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-bottom: 4px; }
.hero-facts p { margin: 0; }
.status { display: inline-flex; align-items: center; gap: 10px; background: rgba(0,0,0,.6); border: 1px solid var(--line); padding: 7px 16px 7px 13px; border-radius: 999px; font-weight: 600; }
.dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--steel-dk); flex: none; }
.status.is-open .dot { background: var(--ok); }
.status.is-open .dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.addr { color: var(--steel); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Hero entrance: steel letters rise, the tube flickers on, then the rest follows. Only with JS. */
.js .logo-type { animation: rise var(--t-in) var(--ease) 120ms both; }
.js .logo-type::after { animation: tube-on 1700ms linear 600ms both, tube-hum 11s linear 4s infinite; }
.js .hero-in { animation: rise var(--t-in) var(--ease) both; }
.js .hero-in.d1 { animation-delay: 1100ms; }
.js .hero-in.d2 { animation-delay: 1220ms; }
.js .hero-in.d3 { animation-delay: 1340ms; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes tube-on {
  0%, 6% { opacity: 0; } 7% { opacity: .85; } 9% { opacity: .1; } 14% { opacity: .9; } 16% { opacity: 0; }
  27% { opacity: 0; } 28% { opacity: .6; } 31% { opacity: .2; } 36% { opacity: 1; } 38% { opacity: .35; }
  44% { opacity: 1; } 47% { opacity: .75; } 52%, 100% { opacity: 1; }
}
@keyframes tube-hum { 0%, 96% { opacity: 1; } 96.5% { opacity: .55; } 97% { opacity: 1; } 97.6% { opacity: .7; } 98.2%, 100% { opacity: 1; } }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: 12px 24px; border: 2px solid var(--red); border-radius: var(--radius);
  background: var(--red); color: #fff; font: 700 1.2rem/1 var(--head); text-transform: uppercase; letter-spacing: .07em; text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 #000; transition: transform var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease), background-color var(--t-ui) var(--ease), color var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease); }
.btn:hover { background: var(--red-dk); border-color: var(--red-dk); color: #fff; transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #000; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #000; transition-duration: 90ms; }
.btn-ghost { background: rgba(12,13,14,.5); border-color: var(--steel); color: var(--steel); }
.btn-ghost:hover { background: var(--steel); border-color: var(--steel); color: #111; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: 4px 4px 0 #000; }
.btn.is-busy { cursor: progress; }

/* ---------- sections ---------- */
.band { position: relative; padding: clamp(64px, 10vw, 120px) 0; }
.band-dark { background: #08090a; border-block: 1px solid #000; }
.band h2 { position: relative; padding-bottom: .22em; }
.band h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 1.4em; height: 5px; background: var(--red); transform-origin: left; transition: transform 900ms var(--ease) 200ms; }
.js [data-reveal] h2::after, .js h2[data-reveal]::after { transform: scaleX(0); }
.js [data-reveal].in h2::after, .js h2[data-reveal].in::after { transform: scaleX(1); }
.head-note { color: var(--muted); font-weight: 600; margin: 0; }
.two-col { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 72px; } }
.lede { font-size: clamp(1.2rem, 2.4vw, 1.45rem); line-height: 1.45; }

/* Scroll reveal: added only from JS, so the page reads fine without it */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--t-in) var(--ease), transform var(--t-in) var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Loading and empty states */
.loading { display: flex; align-items: center; gap: 14px; color: var(--muted); font-weight: 600; margin: 0; }
.loading-bar { position: relative; width: 48px; height: 4px; overflow: hidden; background: var(--line); border-radius: 2px; flex: none; }
.loading-bar::after { content: ''; position: absolute; inset: 0; background: var(--red); transform: translateX(-100%); animation: load 1.1s var(--ease-io) infinite; }
@keyframes load { to { transform: translateX(100%); } }

/* Tonight: one big poster line per event */
.band-tonight { background: linear-gradient(180deg, var(--bg) 0%, #111315 100%); }
.tonight-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .tonight-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 72px; align-items: start; } }
.tonight-head h2 { margin-bottom: .35em; }
.tonight-head .head-note { font: 700 1.5rem/1.1 var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--red-hi); }
.tonight-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.tonight-list > .lede, .tonight-list > .muted, .tonight-list > .loading { padding: 28px 0; margin: 0; }
.tonight-item { position: relative; padding: 26px 0 26px 26px; border-bottom: 1px solid var(--line); }
.tonight-item::before { content: ''; position: absolute; left: 0; top: 26px; bottom: 26px; width: 6px; background: var(--red); transform-origin: top; transition: transform 500ms var(--ease); }
.tonight-item:hover::before { transform: scaleY(1.12); }
.tonight-item h3 { font-size: clamp(2.3rem, 7vw, 4rem); font-weight: 900; margin-bottom: .12em; overflow-wrap: anywhere; }
.tonight-item p { margin: 0 0 .3em; max-width: 60ch; }
.meta { color: var(--steel); font-weight: 600; }
.tag { display: inline-block; font: 700 .85rem/1 var(--head); text-transform: uppercase; letter-spacing: .09em; color: #111; background: var(--steel); padding: 5px 8px 4px; border-radius: 2px; vertical-align: middle; margin-bottom: 8px; }
.tag-drag, .tag-party { background: #ffb3b6; }
.tag-leather { background: #111; color: #e8e8e8; outline: 2px solid #e8e8e8; outline-offset: -2px; }

/* Agenda */
.agenda { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: ev; }
.agenda > li { position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 20px; padding: 20px 12px 20px 0; border-bottom: 1px solid var(--line); transition: background-color var(--t-ui) var(--ease); }
.agenda > li:first-child { border-top: 1px solid var(--line); }
.agenda > li::after { content: ''; position: absolute; left: -16px; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transition: transform 300ms var(--ease); }
.agenda > li:hover { background: rgba(255,255,255,.025); }
.agenda > li:hover::after { transform: scaleY(1); }
.when { text-align: center; background: var(--bg-3); border: 1px solid var(--line-2); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 8px 4px 9px; align-self: start; transition: transform 300ms var(--ease); }
.agenda > li:hover .when { transform: translateY(-3px); }
.when .dow { display: block; font: 700 1rem/1 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--red-hi); }
.when .num { display: block; font: 900 2.4rem/1 var(--head); margin: 2px 0; }
.when .mon { display: block; font: 700 .85rem/1 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.agenda h3 { font-size: 1.75rem; margin: 2px 0 6px; overflow-wrap: anywhere; }
.agenda .tag { margin-bottom: 4px; }
.agenda p { margin: 0 0 .25em; }
.empty-state { border: 1px dashed var(--line-2); padding: 22px; border-radius: var(--radius); margin-top: 28px; }

/* The weekly lineup, cut from the same plate as the sign */
.lineup { position: relative; border: 3px solid #000; box-shadow: 8px 8px 0 var(--red); padding: 28px 26px 16px; align-self: start; }
@media (min-width: 900px) { .lineup { position: sticky; top: calc(var(--header-h) + 24px); } }
.lineup h3 { font-size: 1.9rem; font-weight: 900; color: #dfe3e6; text-shadow: 2px 2px 0 #000; }
.lineup dl { margin: 0 0 16px; background: rgba(8,9,10,.88); padding: 6px 16px 14px; }
.lineup dt { font: 700 1rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .09em; color: var(--red-hi); margin-top: 14px; }
.lineup dd { margin: 2px 0 0; font-weight: 600; font-size: 1.1rem; }
.lineup .small { color: var(--steel); }

/* Specials board */
.board { position: relative; border: 3px solid #000; box-shadow: 10px 10px 0 var(--red); padding: clamp(22px, 4vw, 40px); max-width: 880px; margin: 28px 0 30px; }
.rivet { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e9ecee, #6c737a 60%, #2a2d31); box-shadow: 0 1px 1px #000; }
.rivet.r1 { left: 10px; top: 10px; } .rivet.r2 { right: 10px; top: 10px; } .rivet.r3 { left: 10px; bottom: 10px; } .rivet.r4 { right: 10px; bottom: 10px; }
.board-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.board-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 18px; padding: 16px 18px; background: rgba(8,9,10,.9); border-left: 4px solid transparent; border-radius: 2px; transition: border-color var(--t-ui) var(--ease), transform 300ms var(--ease); }
.board-list li:hover { border-left-color: var(--red); transform: translateX(4px); }
.board-list .s-name { font: 900 1.7rem/1.05 var(--head); text-transform: uppercase; letter-spacing: .03em; overflow-wrap: anywhere; }
.board-list .s-price { font: 900 1.7rem/1.05 var(--head); color: var(--red-hi); text-align: right; font-variant-numeric: tabular-nums; }
.board-list .s-price.ask { font: 600 .95rem/1.4 var(--body); color: var(--muted); text-transform: none; align-self: center; }
.board-list .s-detail { grid-column: 1 / -1; color: var(--muted); margin: 2px 0 0; }
.board-list .s-days { grid-column: 1 / -1; font: 700 .9rem/1 var(--head); text-transform: uppercase; letter-spacing: .09em; color: var(--steel); margin-top: 4px; }
.board-empty { margin: 0; background: rgba(8,9,10,.9); padding: 22px; font: 700 1.6rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .03em; }
.board-note { max-width: 60ch; }

/* About: one big statement under a few slow light flecks */
.band-about { overflow: hidden; background: #08090a; border-block: 1px solid #000; text-align: center; }
.about-inner h2::after { left: 50%; margin-left: -.7em; transform-origin: center; }
.about-inner .lede { font-size: clamp(1.35rem, 3.2vw, 2rem); line-height: 1.35; font-weight: 600; text-wrap: balance; margin: 0 auto; max-width: 30ch; }
.about-flecks span { position: absolute; width: 9px; height: 9px; border-radius: 2px; background: #fff; opacity: .5; animation: fleck 7s var(--ease-io) infinite; }
.about-flecks span:nth-child(3n) { background: var(--tube); }
.about-flecks span:nth-child(1) { left: 8%; top: 22%; }
.about-flecks span:nth-child(2) { left: 18%; top: 70%; animation-delay: -1.5s; }
.about-flecks span:nth-child(3) { left: 31%; top: 38%; animation-delay: -3s; width: 6px; height: 6px; }
.about-flecks span:nth-child(4) { left: 64%; top: 18%; animation-delay: -4.2s; }
.about-flecks span:nth-child(5) { left: 77%; top: 62%; animation-delay: -2.2s; width: 6px; height: 6px; }
.about-flecks span:nth-child(6) { left: 88%; top: 30%; animation-delay: -5.4s; }
.about-flecks span:nth-child(7) { left: 52%; top: 84%; animation-delay: -.8s; width: 7px; height: 7px; }
.about-flecks span:nth-child(8) { left: 42%; top: 10%; animation-delay: -6s; }
@keyframes fleck { 0% { transform: translateX(-40px); opacity: 0; } 20%, 80% { opacity: .55; } 100% { transform: translateX(60px); opacity: 0; } }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0 0 22px; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 11px; height: 11px; background: var(--red); transform: rotate(45deg); }

/* ---------- forms ---------- */
.form { position: relative; padding: clamp(22px, 4vw, 34px); border-radius: var(--radius); border-top: 4px solid var(--red); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.field { margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; gap: 0 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row.three { grid-template-columns: 1.3fr 1fr .8fr; } }
label { display: block; font-weight: 600; margin-bottom: 7px; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: #0b0c0d; border: 1px solid #5b636a; border-radius: var(--radius); padding: 11px 13px; min-height: 50px;
  transition: border-color var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease), background-color var(--t-ui) var(--ease); }
input:hover, select:hover, textarea:hover { border-color: var(--steel-dk); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(255,210,63,.3); background: #000; }
input:disabled, select:disabled, textarea:disabled { opacity: .55; cursor: not-allowed; }
textarea { resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--steel) 50%), linear-gradient(135deg, var(--steel) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
input[type="date"], input[type="time"] { color-scheme: dark; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; margin-bottom: 14px; }
.check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--red); }
.check input:focus { box-shadow: none; }
.check input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.check label { font-weight: 400; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #3d1216; border: 1px solid var(--red-hi); border-left-width: 4px; color: #ffd9da; padding: 11px 14px; border-radius: var(--radius); animation: nudge 400ms var(--ease); }
@keyframes nudge { 0% { transform: translateX(0); } 25% { transform: translateX(-6px); } 60% { transform: translateX(4px); } 100% { transform: none; } }
.form-closed { background: var(--bg-3); padding: 14px; border-left: 4px solid var(--red); }
.consent { margin-top: 14px; }
.form .btn { margin-top: 6px; }

/* ---------- visit ---------- */
.big-addr { font: 900 clamp(2.4rem, 7vw, 3.6rem)/1 var(--head); text-transform: uppercase; letter-spacing: .01em; margin: 6px 0 22px; }
.hours-box { position: relative; background: var(--bg-2); border: 1px solid var(--line); padding: 28px 26px 20px; border-radius: var(--radius); }
.hours-box h3 { font-size: 1.9rem; font-weight: 900; }
.door-plate { position: absolute; right: 22px; top: -30px; margin: 0; }
.door-plate span { display: grid; place-items: center; width: 74px; height: 74px; font: 900 2.6rem/1 var(--head); color: #111; background: linear-gradient(145deg, #eef0f2, #9aa2a9 70%, #6c737a); border: 3px solid #000; border-radius: 4px; box-shadow: 5px 5px 0 var(--red); transform: rotate(-4deg); }
.hours { width: 100%; border-collapse: collapse; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours td { text-align: right; font-weight: 600; }
.hours tr.today th, .hours tr.today td { color: var(--red-hi); font-weight: 600; }
.hours tr.today th::after { content: ' (today)'; color: var(--muted); font-weight: 400; }
#socials a + .sep + a, #socials a { font-weight: 600; }

/* ---------- footer ---------- */
.foot { position: relative; overflow: hidden; border-top: 3px solid var(--red); padding: 0 0 36px; background: #060607; }
.foot-word { margin: 0 0 18px; font: 900 clamp(5rem, 26vw, 22rem)/.8 var(--head); text-transform: uppercase; letter-spacing: .02em; text-align: center; color: transparent; -webkit-text-stroke: 1px #2c3136; transform: translateY(14%); user-select: none; white-space: nowrap; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.foot-inner p { margin: 0 0 8px; }
.foot-mark { font: 900 1.4rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--steel); margin-right: 10px; text-shadow: 2px 2px 0 var(--red); }
.foot a { text-decoration-color: var(--line-2); }
.foot a:hover { text-decoration-color: var(--red-hi); }

/* ---------- inner pages: party status, legal, errors ---------- */
.page-head { position: relative; overflow: hidden; padding: clamp(48px, 9vw, 96px) 0 clamp(32px, 5vw, 48px); border-bottom: 1px solid #000; background: radial-gradient(50% 90% at 85% 60%, #1a1d20 0%, var(--bg) 100%); }
.page-head h1 { font-size: clamp(2.8rem, 10vw, 5.4rem); color: #dfe3e6; text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000, 6px 6px 0 var(--red); margin-bottom: .25em; }
.page-head .muted, .page-head .lede { margin: 0; }
.js .page-head .wrap > * { animation: rise var(--t-in) var(--ease) both; }
.js .page-head .wrap > :nth-child(2) { animation-delay: 120ms; }
.js .page-head .wrap > :nth-child(3) { animation-delay: 240ms; }
.page { padding: clamp(36px, 7vw, 72px) 0 clamp(56px, 9vw, 96px); min-height: 50vh; }
.page h2 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-top: 1.3em; }
.legal .wrap { counter-reset: sec; }
.legal h2 { display: flex; align-items: baseline; gap: 14px; font-size: 1.9rem; margin-top: 1.6em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.legal h2::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); font-size: 1rem; color: var(--red-hi); letter-spacing: .1em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--red-hi); }
.legal p, .legal li { max-width: 68ch; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-weight: 600; background: var(--bg-3); border: 1px solid var(--line-2); }
.pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill.s-new { color: #ffd9da; border-color: #7d1019; background: #2a0d10; }
.pill.s-booked { background: #1f4d2a; color: #d6f5db; border-color: #3f8a4c; }
.pill.s-declined, .pill.s-closed { background: #2b2e31; color: var(--muted); }
.pill.s-replied { background: #4a3a10; color: #ffe9a8; border-color: #8a6d1d; }
.status-card { display: grid; gap: 18px; background: var(--bg-2); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: clamp(20px, 4vw, 30px); margin-bottom: 36px; }
.status-card p { margin: 0; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.facts dt, .facts dd { padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); padding-right: 24px; font: 700 1rem/1.5 var(--head); text-transform: uppercase; letter-spacing: .08em; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.thread { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.thread li { position: relative; padding: 14px 18px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--steel-dk); white-space: pre-wrap; overflow-wrap: anywhere; max-width: 92%; animation: rise 500ms var(--ease) both; }
.thread li.guest { justify-self: end; }
.thread li.bar { border-left-color: var(--red); }
.thread .who { display: block; font-weight: 600; color: var(--steel); margin-bottom: 4px; white-space: normal; font-size: .92rem; }
.ok-box { background: #17331d; border: 1px solid #3f8a4c; border-left-width: 4px; padding: 11px 14px; border-radius: var(--radius); animation: rise 400ms var(--ease) both; }
.private-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; }
.private-note::before { content: ''; flex: none; width: 10px; height: 10px; margin-top: .45em; background: var(--red); transform: rotate(45deg); }

/* 404 and 500: the ball, hanging still */
.error-page { display: grid; gap: 40px; align-items: center; }
@media (min-width: 760px) { .error-page { grid-template-columns: minmax(0, 1fr) 240px; } }
.error-ball { position: relative; width: 180px; height: 260px; margin-inline: auto; }
.error-ball .ball-rod { height: 90px; }
.mini-ball { width: 180px; }
.error-ball .ball-flecks span { position: absolute; width: 7px; height: 7px; border-radius: 1px; background: #fff; opacity: 0; animation: twinkle 3.2s var(--ease-io) infinite; }
.error-ball .ball-flecks span:nth-child(1) { left: -30px; top: 120px; }
.error-ball .ball-flecks span:nth-child(2) { left: 210px; top: 150px; animation-delay: -1s; background: var(--tube); }
.error-ball .ball-flecks span:nth-child(3) { left: -10px; top: 230px; animation-delay: -2s; }
.error-ball .ball-flecks span:nth-child(4) { left: 200px; top: 70px; animation-delay: -.5s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.6); } 50% { opacity: .8; transform: scale(1); } }
.error-code { font: 900 1.2rem/1 var(--head); letter-spacing: .14em; color: var(--red-hi); margin-bottom: 14px; }

@media (max-width: 480px) {
  .nav { gap: 0 16px; }
  .nav a { font-size: 1.05rem; padding: 10px 0; }
  .mark { font-size: 1.6rem; }
  .agenda > li { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .when .num { font-size: 2rem; }
  .lineup, .board { box-shadow: 6px 6px 0 var(--red); }
  .actions .btn { flex: 1 1 auto; }
}

/* Reduced motion: no flicker, no movement, everything simply there */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-reveal] h2::after, .js h2[data-reveal]::after { transform: none; }
  .about-flecks, .error-ball .ball-flecks { display: none; }
}

[hidden] { display: none !important; }
.error-head { min-height: 64vh; display: flex; align-items: center; }
.error-head .actions { margin-top: 28px; }
