:root {
  --night: #09080b;
  --night-2: #110f14;
  --panel: #15121a;
  --panel-2: #1e1924;
  --line: #ffffff1c;
  --line-2: #ffffff30;
  --bone: #ece4d2;
  --muted: #a8a1ae;
  --blood: #a874c4;
  --blood-dark: #8a58a6;
  --hot: #c39be0;
  --ghost: #f3eee2;
  --violet: #c39be0;
  --gold: #ece4d2;
  --ink: #0b0a0d;
  --danger: #ff6b78;
  --amber: #ffb347;
  --ok: #8fe3a4;
  --glass: rgba(20, 17, 26, 0.62);
  --edge: linear-gradient(140deg, #c39be066, #ffffff12 38%, #ffffff08 62%, #ece4d24d);
  --bn: "Galada", "Hind Siliguri", "Noto Sans Bengali", serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --pixel: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --retro: "Silkscreen", "Pixelify Sans", monospace;
  --chunky: "Pixelify Sans", "Silkscreen", monospace;
  --sans: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(84px + env(safe-area-inset-top, 0px)); }
body {
  margin: 0; min-height: 100vh; background: var(--night); color: var(--bone);
  font: 500 17px/1.55 var(--sans); overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  -webkit-font-smoothing: antialiased;
}
body::before { /* violet night sky from above */
  content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, #3d2352 0%, #1c1226 40%, transparent 72%),
    radial-gradient(ellipse 40% 35% at 92% 30%, #4a2a63aa 0%, transparent 70%),
    radial-gradient(ellipse 45% 40% at 0% 70%, #2a183855 0%, transparent 70%),
    var(--night);
}
body::after { /* film grain, big screens only: on phones it costs more than it adds */
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.05; display: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (min-width: 761px) { body::after { display: block; } }
::selection { background: var(--blood); color: var(--ink); }
a { color: var(--violet); }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
em { font-style: italic; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; margin: 0 auto; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top, 0px); background: rgba(9, 8, 11, 0.55); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); transition: background .3s; }
.nav.scrolled { background: rgba(9, 8, 11, 0.85); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--bone); text-decoration: none; font: 700 18px/1.1 var(--retro); letter-spacing: .02em; text-transform: uppercase; text-shadow: 2px 2px 0 #c39be055; }
.brand img { width: 44px; height: 44px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand small { display: block; font: 400 10px var(--retro); letter-spacing: .18em; text-shadow: none; margin-top: 3px; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { position: relative; color: var(--bone); text-decoration: none; font: 400 13px var(--retro); letter-spacing: .06em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; transition: background .2s, color .2s; }
.nav-links a:not(.cta):hover { background: #ffffff0f; }
.nav-links a.cta { background: var(--bone); color: var(--night); font-weight: 700; padding: 10px 18px; box-shadow: 0 0 0 1px #fff3, 0 8px 30px -8px #c39be088; }
.nav-links a.cta:hover { background: #fff; }
.nav-links a, .brand span, .gbtn { white-space: nowrap; }
.snd { all: unset; box-sizing: border-box; display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; color: var(--muted); cursor: pointer; transition: color .2s, background .2s; }
.snd:hover { background: #ffffff0f; color: var(--bone); }
.snd:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.snd[aria-pressed=true] { color: var(--hot); }
.snd .on, .snd[aria-pressed=true] .off { display: none; }
.snd[aria-pressed=true] .on { display: inline; }
@media (max-width: 900px) { .nav-links .hide-md { display: none; } }
@media (max-width: 560px) { .nav-links .hide-sm { display: none; } .brand span { display: none; } }

.banner { margin: 16px 0 0; border: 1px dashed #ffb34788; background: #ffb3470d; color: var(--amber); padding: 12px 14px; border-radius: 12px; font: 500 13px/1.5 var(--pixel); }

/* hero */
/* The skyline, fog and moon bleed past the page edges on purpose; clip them so phones can't scroll sideways. */
main, footer { overflow-x: hidden; overflow-x: clip; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 24px; align-items: center; padding: 64px 0 120px; }
.eyebrow { font: 400 12px var(--retro); letter-spacing: .16em; text-transform: uppercase; color: var(--hot); }
.hero .title-bn { display: block; font-family: var(--bn); font-weight: 400; font-size: clamp(78px, 15vw, 176px); line-height: 1.02; margin-top: 12px;
  background: linear-gradient(180deg, #fff 10%, #ece4d2 45%, #c9a3de 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 40px #a874c455) drop-shadow(0 8px 0 #1a1020); }
.hero .title-bn.pix { background: none; filter: drop-shadow(0 0 40px #a874c455); }
.hero .title-bn.pix canvas { display: block; max-width: 100%; height: auto; image-rendering: crisp-edges; image-rendering: pixelated; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero .lede { max-width: 30em; font-size: 18px; margin-top: 16px; color: #cdc5d3; }
.facts { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; font-size: 16px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { flex: none; width: 18px; height: 18px; color: var(--hot); }
.facts a { text-underline-offset: 3px; text-decoration-color: #ece4d266; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.countdown { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.cd-label { flex: 0 0 100%; font: 400 11px var(--retro); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.countdown div { min-width: 66px; padding: 10px 8px 8px; text-align: center; border-radius: 12px; border: 1px solid var(--line); background: #ffffff06; }
.countdown b { display: block; font: 700 26px/1 var(--pixel); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.countdown span { display: block; margin-top: 5px; font: 500 10px var(--pixel); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.mascot { position: relative; justify-self: center; width: min(330px, 100%); }
.mascot::before { content: ""; position: absolute; inset: 6% 0 10%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, #c39be033 0%, #ece4d21a 40%, transparent 70%); filter: blur(10px); }
.bubble { position: absolute; left: -16px; top: -14px; max-width: 230px; background: var(--ghost); color: #141118; font-weight: 700; font-size: 14px; line-height: 1.35; padding: 12px 14px; border-radius: 16px 16px 16px 4px; box-shadow: 0 12px 40px #000a, 0 0 0 1px #fff; z-index: 2; }
.mascot > button { all: unset; display: block; width: 100%; cursor: pointer; border-radius: 50%; }
.mascot > button:focus-visible { outline: 2px solid var(--violet); outline-offset: 6px; }
.mascot .hint { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; font: 500 11px var(--pixel); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.snd-hint { all: unset; cursor: pointer; color: var(--hot); text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.snd-hint:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
/* the logo's moon and Dhaka skyline */
.moon { position: absolute; z-index: -1; right: 4%; top: 18px; width: clamp(150px, 22vw, 260px); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle at 34% 30%, #6e4a86 0 7%, transparent 8%),
    radial-gradient(circle at 62% 58%, #6e4a86cc 0 11%, transparent 12%),
    radial-gradient(circle at 28% 66%, #7d5795aa 0 6%, transparent 7%),
    radial-gradient(circle at 70% 26%, #7d5795 0 4%, transparent 5%),
    radial-gradient(ellipse 60% 50% at 40% 45%, #5b3a7255 0 60%, transparent 61%),
    radial-gradient(circle at 35% 30%, #c79be0, #a874c4 55%, #6e3f88);
  box-shadow: 0 0 80px 10px #a874c455, 0 0 200px 40px #a874c41f, inset -18px -14px 40px #1a1020aa;
  opacity: .9; }
.moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; mix-blend-mode: multiply; opacity: .6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.06' numOctaves='4'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .2 0 0 0 0 .4 0 0 0 1.4 -.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: cover; }
.skyline { position: absolute; left: -20vw; right: -20vw; bottom: 0; height: 130px; pointer-events: none; z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.skyline::before { content: ""; position: absolute; inset: 20% 10% 0; background: radial-gradient(ellipse 50% 80% at 50% 100%, #ece4d21f, transparent 70%); }
.skyline svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }
@media (max-width: 760px) { .moon { right: -30px; top: -10px; width: 150px; opacity: .55; } .skyline { height: 90px; } }
.fog { position: absolute; left: -20vw; right: -20vw; bottom: 0; height: 160px; pointer-events: none; overflow: hidden; }
.fog i { position: absolute; bottom: -40px; width: 60%; height: 140px; border-radius: 50%; background: #ece4d2; opacity: 0.06; filter: blur(30px); }
.fog i:nth-child(1) { left: 0; } .fog i:nth-child(2) { left: 30%; opacity: 0.08; } .fog i:nth-child(3) { left: 55%; bottom: -60px; }
/* phones: title, dates and the buy button come first; the ghost floats over the city below them */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 0; padding-top: 28px; padding-bottom: 100px; }
  .mascot { width: 150px; justify-self: end; margin: 18px 4px -36px 0; }
  .bubble { left: auto; right: calc(100% + 4px); top: 18px; width: max-content; max-width: min(200px, calc(100vw - 196px)); font-size: 13px; padding: 10px 12px; }
  .countdown div { min-width: 0; flex: 1; }
}

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #ffffff04; padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; width: max-content; }
.marquee span { display: inline-flex; align-items: center; gap: 24px; padding-right: 24px; white-space: nowrap; font: 500 24px var(--chunky); letter-spacing: .02em; text-transform: uppercase; color: var(--bone); }
.marquee span i { font-style: normal; color: var(--hot); }

/* buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border: 0; border-radius: 999px;
  background: linear-gradient(180deg, #d4b3ea, var(--blood) 55%, #9363b0); color: var(--ink); font: 800 17px var(--sans); letter-spacing: -0.01em; cursor: pointer; text-decoration: none;
  box-shadow: inset 0 1px 0 #ffffff55, inset 0 -2px 0 #0000002e, 0 10px 30px -10px #a874c4cc, 0 0 0 1px #c39be066;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, #ffffff55, transparent); transition: left .7s var(--ease); pointer-events: none; }
.btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: inset 0 1px 0 #ffffff55, inset 0 -2px 0 #0000002e, 0 18px 40px -12px #c39be0cc, 0 0 0 1px #c39be099; }
.btn:hover:not(:disabled)::after { left: 130%; }
.btn:active:not(:disabled) { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.ghosty { background: #ffffff08; color: var(--bone); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn.ghosty:hover:not(:disabled) { background: #ffffff12; box-shadow: inset 0 0 0 1px var(--bone); }
.btn.ghosty::after { display: none; }
.btn.block { width: 100%; }
.btn.small { min-height: 44px; font-size: 15px; padding: 0 18px; }
.site .btn { background: var(--hot); box-shadow: 0 10px 28px -14px var(--hot); }
.site .btn::after { display: none; }
.site .btn:hover:not(:disabled) { background: #d4b6e8; transform: translateY(-1px); box-shadow: 0 14px 32px -14px var(--hot); }
.site .btn.ghosty { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site .btn.ghosty:hover:not(:disabled) { background: #ffffff0d; box-shadow: inset 0 0 0 1px var(--bone); }

/* sections */
section.block { padding: 88px 0; }
.kicker { font: 400 12px var(--retro); letter-spacing: .16em; text-transform: uppercase; color: var(--hot); margin-bottom: 12px; }
.sec-title { font-weight: 800; font-size: clamp(34px, 5.6vw, 58px); letter-spacing: -0.04em; line-height: 1; }
.sec-title em { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; color: var(--hot); }
.site .sec-title { font: 700 clamp(32px, 5vw, 48px)/1.05 var(--chunky); letter-spacing: 0; font-variant-ligatures: none; } /* Pixelify's "fi" draws as an A */
.site .sec-title em { font: inherit; color: var(--hot); }
.sec-sub { color: var(--muted); margin-top: 10px; max-width: 34em; }

/* how it works: three steps on one line, split by dashed rules like a ticket */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.how li { list-style: none; padding: 26px 28px 6px 0; }
.how li + li { padding-left: 28px; border-left: 1px dashed var(--line-2); }
.how .n { display: block; font: 700 40px/1 var(--chunky); color: var(--hot); }
.how h3 { font-size: 21px; letter-spacing: -0.01em; margin-top: 14px; }
.how p { color: var(--muted); font-size: 15px; margin-top: 6px; }
ol.how { padding: 0; margin: 30px 0 0; }
.site section.block { padding: 76px 0; }
@media (max-width: 760px) {
  .how { grid-template-columns: 1fr; }
  .how li, .how li + li { display: grid; grid-template-columns: 52px minmax(0, 1fr); padding: 18px 0; border-left: 0; border-bottom: 1px dashed var(--line-2); }
  .how .n { grid-row: span 2; font-size: 30px; }
  .how h3 { margin-top: 0; font-size: 19px; }
  section.block, .site section.block { padding: 56px 0; }
}

/* checkout */
.card { position: relative; border-radius: 28px; padding: 32px; margin-top: 30px; border: 1px solid transparent;
  background: linear-gradient(var(--glass), var(--glass)) padding-box, var(--edge) border-box;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 40px 80px -40px #000, inset 0 1px 0 #ffffff10; }
@media (max-width: 560px) { .card { padding: 20px; border-radius: 22px; } }
.site .card, .site .event-card { background: var(--panel); border-color: var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 30px 60px -40px #000; }
.site .step-num { background: none; color: var(--hot); box-shadow: inset 0 0 0 1.5px var(--hot); }
.step-head { display: flex; align-items: center; gap: 14px; margin: 38px 0 16px; padding-top: 30px; border-top: 1px solid var(--line); }
.step-head:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.step-num { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; font: 700 14px var(--pixel); color: var(--bone);
  background: radial-gradient(circle at 30% 30%, #c39be0, #6e3f88); box-shadow: 0 0 0 4px #c39be01f, 0 0 18px #a874c466; }
.step-head h3 { font-size: 21px; letter-spacing: -0.02em; }

.tier { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #ffffff05; cursor: pointer; margin-bottom: 10px;
  transition: border-color .25s, background .25s, box-shadow .25s, transform .25s var(--ease); }
.tier:hover:not(.soldout) { border-color: var(--line-2); transform: translateY(-1px); }
.tier input { position: absolute; opacity: 0; pointer-events: none; }
.tier:has(input:checked) { border-color: var(--hot); background: #c39be012; box-shadow: 0 0 0 1px var(--hot); }
.tier:has(input:focus-visible) { outline: 2px solid var(--violet); outline-offset: 2px; }
.tier.soldout { opacity: 0.4; cursor: not-allowed; }
.tier .t-name { font-weight: 800; font-size: 18px; }
.tier .t-price { font: 700 24px var(--pixel); letter-spacing: -0.02em; }
.tier .t-meta { color: var(--muted); font-size: 14px; }
.tier .t-left { font: 500 12px var(--pixel); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); text-align: right; }

.qty { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 16px; border-radius: 18px; background: #00000033; border: 1px solid var(--line); }
.qty button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: #ffffff08; color: var(--bone); font-size: 22px; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s; }
.qty button:hover:not(:disabled) { border-color: var(--bone); background: #ffffff14; }
.qty button:disabled { opacity: 0.3; cursor: not-allowed; }
.qty output { font: 700 30px var(--pixel); min-width: 40px; text-align: center; font-variant-numeric: tabular-nums; }
.qty .lbl { font: 500 12px var(--pixel); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.total { margin-left: auto; text-align: right; }
.total .muted { font: 500 11px var(--pixel); letter-spacing: .2em; text-transform: uppercase; }
.total b { display: block; font: 700 30px/1.1 var(--pixel); letter-spacing: -0.03em; }

label.field { display: block; margin-bottom: 16px; }
label.field > span { display: block; font: 500 11px var(--pixel); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
label.field small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
label.field > .voucher { display: flex; gap: 8px; margin: 0; font: inherit; letter-spacing: normal; text-transform: none; color: inherit; }
.voucher input { flex: 1; min-width: 0; }
.voucher button { flex: none; font: 600 14px var(--sans); border: 1px solid var(--line-2); background: transparent; color: var(--bone); border-radius: 999px; padding: 0 18px; min-height: 44px; cursor: pointer; }
.voucher button:hover:not(:disabled) { background: #ffffff0d; }
.voucher button:disabled { opacity: .45; cursor: not-allowed; }
#voucherMsg.good, #sumDisc b { color: var(--ok); }
#voucherMsg.bad { color: var(--hot); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
input[type=text], input[type=tel], input[type=email], input[type=password], input[type=search], input[type=url], input[type=datetime-local], input[type=date], textarea {
  width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2);
  background: #00000040; color: var(--bone); font: 600 17px var(--sans); transition: border-color .2s, box-shadow .2s, background .2s;
}
input:hover { border-color: #ffffff4a; }
input:focus { outline: none; border-color: var(--hot); background: #0000005c; box-shadow: 0 0 0 4px #c39be022; }
input::placeholder { color: #7a7482; }
input[aria-invalid=true] { border-color: var(--danger); box-shadow: 0 0 0 4px #ff6b781a; }

.person { border: 1px dashed var(--line-2); border-radius: 18px; padding: 16px 16px 2px; margin-bottom: 12px; position: relative; background: #ffffff03; }
.person .who { display: flex; align-items: center; gap: 10px; font: 500 12px var(--pixel); letter-spacing: .14em; text-transform: uppercase; color: var(--bone); }
.person .who svg { width: 24px; height: 24px; }

.methods { display: flex; gap: 10px; margin-bottom: 14px; }
.methods button { flex: 1; min-height: 54px; border-radius: 14px; border: 1px solid var(--line-2); background: #ffffff05; color: var(--bone); font: 800 17px var(--sans); cursor: pointer; transition: all .2s; }
.methods button:hover { border-color: #ffffff55; }
.methods button[aria-pressed=true] { border-color: var(--bone); background: var(--bone); color: var(--night); }
.payto { position: relative; overflow: hidden; border-radius: 18px; padding: 20px; margin-bottom: 18px; border: 1px solid #ece4d255;
  background: linear-gradient(135deg, #221a2a, #15121a 60%); }
.payto::before { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, #ece4d230, transparent 70%); }
.payto > p:first-child { font-size: 15px; color: var(--muted); }
.payto .num { font: 700 30px var(--pixel); letter-spacing: .02em; color: var(--gold); margin-top: 6px; word-break: break-all; }
.payto ol { margin: 12px 0 0; padding-left: 20px; font-size: 15px; color: var(--muted); }
.payto button { font: 600 13px var(--sans); border: 1px solid #ece4d288; background: #ece4d212; color: var(--gold); border-radius: 999px; padding: 6px 14px; cursor: pointer; min-height: 36px; transition: background .2s; }
.payto button:hover { background: #ece4d226; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); margin: 6px 0 20px; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--blood); flex: none; }
.error { background: #2a0a0e; border: 1px solid var(--danger); color: #ffd6d4; padding: 12px 14px; border-radius: 14px; font-size: 15px; margin-bottom: 12px; }

/* checkout layout: event card beside the form */
.checkout { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 34px; }
.checkout .card { margin-top: 0; }
.checkout-main { display: flex; flex-direction: column; min-height: 100%; }
.checkout-main > .gate-card { flex: 1; align-content: center; }
.event-card { align-self: start; position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); border-radius: 28px; overflow: hidden; border: 1px solid transparent;
  background: linear-gradient(var(--glass), var(--glass)) padding-box, var(--edge) border-box; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -40px #000, 0 0 60px -30px #c3203f88; }
.ev-poster { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #1a1418; }
.ev-body { padding: 22px 24px 24px; }
.ev-live { display: inline-flex; align-items: center; gap: 10px; font: 400 11px var(--retro); letter-spacing: .14em; text-transform: uppercase; color: var(--ok); }
.ev-live .dot { width: 8px; height: 8px; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: live-blink 1.4s steps(2, end) infinite; }
@keyframes live-blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .ev-live .dot { animation: none; } }
.ev-facts { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.ev-facts li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: baseline; font-size: 15px; }
.ev-facts span { font: 400 10px var(--retro); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ev-facts b { font-weight: 700; }
.summary { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); }
.sum-row b { font: 500 13px var(--pixel); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.sum-total span { font: 400 11px var(--retro); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sum-total b { font: 700 30px/1.1 var(--pixel); letter-spacing: -0.03em; }
/* tablets and phones: a small poster beside the facts, so the order form isn't pushed a whole screen down */
@media (max-width: 900px) {
  .checkout { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 26px; }
  .event-card { position: static; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); align-items: center; border-radius: 22px; }
  .ev-body { padding: 18px 20px; }
  .summary { display: none; }
}
@media (max-width: 560px) {
  .event-card { grid-template-columns: 40% minmax(0, 1fr); border-radius: 18px; }
  .ev-body { padding: 12px 14px; }
  .ev-facts { margin-top: 10px; gap: 8px; }
  .ev-facts li { grid-template-columns: 1fr; gap: 1px; font-size: 14px; line-height: 1.3; }
  .ev-media .ev-slide figcaption { left: 7px; right: 7px; bottom: 20px; font-size: 12px; gap: 3px; }
  .ev-media .ev-slide figcaption span { font-size: 7.5px; padding: 2px 5px; letter-spacing: .1em; }
  .ev-facts .act { flex: none; min-height: 28px; padding: 0 9px; font-size: 12px; }
  .ev-facts #evCardLineup.has-acts { flex-wrap: nowrap; gap: 5px; overflow-x: auto; scrollbar-width: none; padding-right: 14px; /* one row that scrolls, fading out at the edge */
    -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .ev-facts #evCardLineup.has-acts::-webkit-scrollbar { display: none; }
  .ev-media .ev-count { top: 6px; right: 6px; padding: 3px 7px; font-size: 10px; }
  .ev-media .ev-dots { bottom: 8px; }
}

/* contact: one line when we already know who you are */
.contact-sum { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: #00000033; margin-bottom: 12px; }
.contact-line b { display: block; font-size: 17px; }
.contact-line span { font-size: 14px; color: var(--muted); word-break: break-word; }
.linkbtn { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #ffffff08; color: var(--bone); font: 600 14px var(--sans); cursor: pointer; }
.linkbtn:hover { border-color: var(--bone); }
.pay-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pay-grid .num { font-size: 26px; margin: 2px 0 8px; }
@media (max-width: 560px) { .pay-grid { grid-template-columns: 1fr; } }
.fine.center { text-align: center; }

/* Google sign-in (follows Google's button guidelines: white, G mark, "Continue with Google") */
.gbtn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid #747775; background: #fff; color: #1f1f1f;
  font: 600 16px var(--sans); cursor: pointer; transition: box-shadow .2s, background .2s; box-shadow: 0 8px 30px -12px #c39be088; }
.gbtn::before { content: ""; width: 20px; height: 20px; flex: none; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E"); }
.gbtn:hover:not(:disabled) { background: #f4f1f8; box-shadow: 0 10px 34px -10px #c39be0bb; }
.gbtn:disabled { opacity: .6; cursor: progress; }
.gbtn.small { min-height: 44px; padding: 0 16px; font-size: 14px; gap: 8px; }
.gate-card { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 40px 28px; }
.gate-card h3 { font-size: 24px; letter-spacing: -0.02em; }
.gate-card .muted { max-width: 26em; }
.gate-tiers { list-style: none; padding: 0; margin: 6px 0; width: 100%; max-width: 380px; display: grid; gap: 8px; }
.gate-tiers:empty { display: none; }
.gate-tiers li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; text-align: left; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: #00000026; }
.gate-tiers span { font-weight: 700; }
.gate-tiers b { grid-row: span 2; font: 700 20px var(--pixel); letter-spacing: -0.02em; }
.gate-tiers small { font: 500 11px var(--pixel); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gate-tiers li.out { opacity: .5; }
.gate-tiers li.out b { text-decoration: line-through; }
.fine { font-size: 13px; color: var(--muted); }

/* account menu */
.acct { position: relative; }
.acct .avatar { all: unset; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, var(--blood), #5b3a6e); color: var(--ink); font: 700 16px var(--sans); box-shadow: 0 0 0 1px var(--line-2); }
.acct .avatar img { width: 100%; height: 100%; object-fit: cover; }
.acct .avatar:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; padding: 8px; border-radius: 18px; border: 1px solid transparent; z-index: 30;
  background: linear-gradient(#141118f2, #141118f2) padding-box, var(--edge) border-box; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px -20px #000; }
.acct-menu .who { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.acct-menu .who b { display: block; font-size: 15px; }
.acct-menu .who span { font-size: 13px; color: var(--muted); word-break: break-all; }
.acct-menu a, .acct-menu button { all: unset; box-sizing: border-box; display: flex; width: 100%; min-height: 44px; align-items: center; padding: 0 12px; border-radius: 10px; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--bone); }
.acct-menu a:hover, .acct-menu button:hover, .acct-menu a:focus-visible, .acct-menu button:focus-visible { background: #ffffff10; }

/* user dashboard (My tickets when signed in) */
.udash { margin: 24px 0 26px; padding: 22px; }
.udash-top { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.udash-pic { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font: 800 20px var(--sans); color: var(--ink);
  background: linear-gradient(135deg, var(--blood), #5b3a6e); box-shadow: 0 0 0 3px #c39be033; }
.udash-pic img { width: 100%; height: 100%; object-fit: cover; }
.udash-name { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.udash-who { min-width: 0; } .udash-who .fine { word-break: break-all; }
.udash-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.udash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.udash-stats div { border-radius: 14px; padding: 12px; background: #00000033; border: 1px solid var(--line); }
.udash-stats b { display: block; font: 700 24px/1.1 var(--pixel); letter-spacing: -0.02em; }
.udash-stats span { font: 500 10px var(--pixel); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) {
  .udash-top { grid-template-columns: auto 1fr; } .udash-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .udash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* sheet dialog (first sign-in details) */
dialog.sheet { width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 28px; border-radius: 26px; color: var(--bone); border: 1px solid transparent;
  background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--edge) border-box; box-shadow: 0 40px 100px -20px #000; }
dialog.sheet::backdrop { background: #09080bcc; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog.sheet .sec-title { font-size: 34px; }
@media (max-width: 560px) { dialog.sheet { margin: auto auto 16px; padding: 22px; } }

/* FAQ */
.faq { margin-top: 30px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
details summary { cursor: pointer; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: color .2s; }
details summary:hover { color: #fff; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); font: 400 20px var(--sans); color: var(--hot); transition: transform .35s var(--ease), background .2s; }
details[open] summary::after { transform: rotate(45deg); background: #c39be01a; }
details p { color: var(--muted); margin-top: 10px; max-width: 40em; }

/* tickets: dark foil stub, QR kept on pure white for scanners */
.ticket { position: relative; color: var(--bone); border-radius: 22px; overflow: hidden; margin-bottom: 20px; border: 1px solid transparent;
  background: linear-gradient(160deg, #1d1724, #0f0d13 60%) padding-box, linear-gradient(140deg, #ece4d2aa, #ffffff14 35%, #c39be066 70%, #ece4d288) border-box;
  box-shadow: 0 30px 60px -30px #000, 0 0 0 1px #00000066;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
.ticket.tilting { transition: transform .08s linear; }
.ticket::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; mix-blend-mode: color-dodge; opacity: .35;
  background: linear-gradient(115deg, transparent 20%, #c39be055 35%, #ece4d266 45%, #ece4d255 55%, transparent 70%);
  background-size: 250% 250%; background-position: var(--px, 30%) 50%; }
.ticket .t-top { position: relative; padding: 20px 22px 16px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; }
.ticket .t-bn { font-family: var(--bn); font-size: 36px; line-height: 1.1; }
.ticket .t-bn:lang(en) { font: 700 30px/1.1 var(--chunky); text-transform: uppercase; letter-spacing: .02em; }
.ticket .t-sub { font: 500 11px/1.6 var(--pixel); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ticket .t-ghost { width: 52px; }
.ticket .perf { position: relative; height: 0; border-top: 2px dashed #ffffff22; margin: 0 22px; }
.ticket .perf::before, .ticket .perf::after { content: ""; position: absolute; top: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 1px #ffffff22; }
.ticket .perf::before { left: -36px; } .ticket .perf::after { right: -36px; }
.ticket .t-bottom { position: relative; padding: 18px 22px 22px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.ticket .qr { position: relative; z-index: 2; width: 148px; height: 148px; background: #fff; padding: 8px; border-radius: 12px; box-shadow: 0 0 0 4px #ffffff14; }
.ticket .qr img, .ticket .qr canvas { width: 132px !important; height: 132px !important; display: block; }
.ticket .pendbox { width: 148px; height: 148px; border: 1px dashed #ffffff40; border-radius: 12px; display: grid; place-items: center; text-align: center; font: 500 11px/1.5 var(--pixel); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px; }
.ticket .serial { font: 700 32px/1 var(--pixel); letter-spacing: -0.01em; background: linear-gradient(90deg, var(--bone), var(--hot)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ticket .holder { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; margin-top: 10px; }
.ticket .line { font: 500 11px var(--pixel); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
@media (max-width: 420px) { .ticket .t-bottom { grid-template-columns: 1fr; justify-items: start; } }
.status { display: inline-block; font: 600 11px var(--pixel); letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-top: 10px; }
.status.pending { background: #ffb3471a; color: var(--amber); box-shadow: inset 0 0 0 1px #ffb34755; }
.status.approved { background: #8fe3a41a; color: var(--ok); box-shadow: inset 0 0 0 1px #8fe3a455; }
.status.rejected { background: #ff6b781a; color: #ff9aa3; box-shadow: inset 0 0 0 1px #ff6b7855; }
.status.used { background: #c39be01a; color: var(--violet); box-shadow: inset 0 0 0 1px #c39be055; }
.order-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 30px 0 14px; }
.order-head h3 { font: 700 18px var(--pixel); letter-spacing: .04em; }

.done-code { font: 700 clamp(44px, 10vw, 72px)/1 var(--pixel); letter-spacing: .06em; margin: 10px 0 18px; padding: 22px 24px; border-radius: 22px; text-align: center; border: 1px solid transparent;
  background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--edge) border-box; color: var(--gold); text-shadow: 0 0 30px #ece4d255; }

/* sale status in the hero: on sale, few left, sold out, soon, happening now, over */
.sale-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 9px 16px 9px 12px; border-radius: 999px;
  font: 600 12px var(--pixel); letter-spacing: .14em; text-transform: uppercase; color: var(--ok); background: #8fe3a40f; box-shadow: inset 0 0 0 1px #8fe3a440; }
.sale-pill .dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.sale-pill.few { color: var(--amber); background: #ffb3470f; box-shadow: inset 0 0 0 1px #ffb34755; }
.sale-pill.soldout { color: #ff9aa3; background: #ff6b780f; box-shadow: inset 0 0 0 1px #ff6b7855; }
.sale-pill.soon, .sale-pill.over { color: var(--muted); background: #ffffff08; box-shadow: inset 0 0 0 1px var(--line-2); }
.sale-pill.live { color: var(--hot); background: #c39be014; box-shadow: inset 0 0 0 1px #c39be066; }
/* sales phases in the hero: finished ones stamped sold out, then the current one */
.phases { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin-top: 22px; }
.phase { position: relative; display: grid; align-content: start; gap: 3px; min-width: 0; padding: 11px 16px 12px; border-radius: 14px; border: 1px solid var(--line); background: #ffffff06; }
.phase .ph-name { font: 600 10px var(--pixel); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.phase b { font: 700 19px/1.15 var(--pixel); letter-spacing: -0.02em; }
.phase.done b { color: var(--muted); }
.ph-stamp { justify-self: start; margin-top: 4px; rotate: -4deg; padding: 2px 7px; border: 1.5px solid #ff6b78; border-radius: 6px;
  font: 700 10px var(--pixel); letter-spacing: .12em; text-transform: uppercase; color: #ff8a95; }
.phase.now { border-color: #8fe3a455; background: #8fe3a40a; }
.ph-price { font: 600 13px var(--pixel); color: var(--bone); margin-top: 2px; }
.phase.now .ph-tag { display: inline-flex; align-items: center; gap: 7px; font: 600 10px var(--pixel); letter-spacing: .16em; text-transform: uppercase; color: var(--ok); }
.phase.now .ph-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.phase.now b { background: linear-gradient(90deg, var(--bone), var(--hot)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph-arrow { color: var(--muted); font-size: 18px; }
.ph-arrow { align-self: center; }
@media (max-width: 560px) {
  .hero .actions .btn { flex: 1 1 auto; padding: 0 18px; }
  .phase .ph-name { letter-spacing: .08em; }
}
@media (max-width: 560px) { .phase { flex: 1 1 0; } .phase b { font-size: 16px; } .ph-arrow { display: none; } }
.ev-live.off { color: var(--muted); }
.ev-live.off .dot { background: var(--muted); box-shadow: none; animation: none; }

/* event photos: a swipeable slideshow on the event card */
.ev-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #1a1418; }
.ev-media .ev-poster { height: 100%; }
.ev-slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.ev-slides::-webkit-scrollbar { display: none; }
.ev-slides:focus-visible { outline: 2px solid var(--violet); outline-offset: -4px; }
.ev-slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: center; }
.ev-slide button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.ev-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the band's name on its photo: a tag above the dots */
.ev-slide figcaption { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none;
  font: 800 17px/1.2 var(--sans); letter-spacing: -0.01em; color: var(--bone); text-shadow: 0 2px 10px #000; }
.ev-slide figcaption span { font: 600 10px var(--pixel); letter-spacing: .16em; text-transform: uppercase; color: var(--night); background: var(--hot); padding: 3px 8px; border-radius: 999px; text-shadow: none; }
.ev-slide:has(figcaption)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(transparent, #09080bd9); pointer-events: none; }
/* the card's Lineup line: one chip per band; the one on screen is lit, tapping one shows it */
#evCardLineup.has-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.act { min-height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); background: #ffffff08; color: var(--bone); font: 700 13px var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.act:hover { border-color: var(--bone); }
.act[aria-current=true] { background: var(--hot); border-color: var(--hot); color: var(--night); }
.ev-count { position: absolute; top: 12px; right: 12px; padding: 5px 10px; border-radius: 999px; font: 600 11px var(--pixel); letter-spacing: .1em; pointer-events: none;
  background: #09080b99; border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ev-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.ev-dots button { pointer-events: auto; width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: #ece4d266; cursor: pointer; box-shadow: 0 1px 4px #0008;
  transition: width .35s var(--ease), background .35s; }
.ev-dots button[aria-current] { width: 22px; background: var(--bone); }
.ev-nav { position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--bone); font-size: 24px; line-height: 1; cursor: pointer;
  background: #09080b88; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s, background .2s; }
.ev-nav:hover { background: #09080bcc; }
.ev-nav.prev { left: 10px; } .ev-nav.next { right: 10px; }
.ev-media:hover .ev-nav, .ev-nav:focus-visible { opacity: 1; }
@media (hover: none) { .ev-nav { display: none; } } /* phones swipe */

/* photos full screen */
dialog.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--bone); overflow: hidden; }
dialog.lightbox::backdrop { background: #050407f2; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lightbox figure { margin: 0; height: 100%; display: grid; place-items: center; align-content: center; gap: 14px; padding: 64px 16px 88px; }
.lightbox img { max-width: min(100%, 1100px); max-height: calc(100dvh - 170px); object-fit: contain; border-radius: 14px; box-shadow: 0 30px 90px #000; touch-action: pan-y; user-select: none; -webkit-user-drag: none; }
.lightbox figcaption { max-width: 40em; text-align: center; font-size: 15px; color: var(--muted); }
.lb-count { position: absolute; top: 24px; left: 50%; translate: -50% 0; font: 600 12px var(--pixel); letter-spacing: .14em; color: var(--muted); }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--bone); font-size: 26px; line-height: 1; cursor: pointer;
  background: #ffffff10; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .2s; }
.lb-btn:hover { background: #ffffff24; }
.lb-close { top: 12px; right: 12px; font-size: 18px; }
.lb-prev, .lb-next { top: 50%; translate: 0 -50%; } .lb-prev { left: 16px; } .lb-next { right: 16px; }
@media (max-width: 560px) { .lb-prev, .lb-next { top: auto; bottom: 20px; translate: none; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } }

/* checkout when there's nothing to buy (sold out, not on sale yet, live, over) */
.state-card { padding: 34px 28px 30px; }
.state-card .state-ghost { width: 92px; }
.state-card h3 { font: 700 clamp(28px, 5vw, 38px)/1.05 var(--chunky); }
.state-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 4px; }

/* partners */
.partners, .team { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.partners { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 250px)); }
.partners li, .team li { display: grid; }
.partner, .member { position: relative; text-decoration: none; color: var(--bone); border: 1px solid transparent; overflow: hidden;
  background: linear-gradient(var(--glass), var(--glass)) padding-box, var(--edge) border-box; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
a.partner:hover, a.member:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px #a874c4aa; }
.partner { display: grid; align-content: start; gap: 14px; padding: 14px 14px 18px; border-radius: 22px; }
/* most logos are made for white paper, so they sit on a light plate */
.p-logo { display: grid; place-items: center; height: 104px; border-radius: 14px; background: radial-gradient(ellipse at 50% 30%, #fff, var(--ghost) 70%); box-shadow: inset 0 0 0 1px #00000014; overflow: hidden; }
.p-logo img { max-width: 78%; max-height: 70px; object-fit: contain; transition: transform .4s var(--ease); }
a.partner:hover .p-logo img { transform: scale(1.06); }
.p-word { font: 700 22px/1.1 var(--chunky); text-transform: uppercase; letter-spacing: .02em; text-align: center; padding: 0 12px; color: #141118; }
.p-meta { padding: 0 6px; }
.p-meta b { display: block; font-size: 16px; }
.p-meta span { display: block; margin-top: 3px; font: 500 11px var(--pixel); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* the crew */
.team { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 270px)); gap: 16px; }
.member { display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; padding: 32px 18px 26px; border-radius: 26px; }
.member::before { content: ""; position: absolute; left: 50%; top: -70px; width: 260px; height: 220px; translate: -50% 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #c39be038, transparent 68%); }
.m-pic { position: relative; width: 128px; height: 128px; padding: 4px; border-radius: 50%; margin-bottom: 12px;
  background: conic-gradient(from 210deg, var(--hot), var(--bone), var(--blood), #5b3a6e, var(--hot)); box-shadow: 0 0 44px -8px #a874c4aa; }
.m-pic img, .m-pic i { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--night);
  background: linear-gradient(135deg, var(--blood), #5b3a6e); font: normal 800 38px var(--sans); color: var(--ink); transition: transform .5s var(--ease); }
a.member:hover .m-pic img { transform: scale(1.05); }
.m-name { font-size: 21px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.m-role { font: 500 11px var(--pixel); letter-spacing: .18em; text-transform: uppercase; color: var(--hot); }
.m-link { margin-top: 12px; font: 600 13px var(--sans); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); transition: color .2s, border-color .2s; }
a.member:hover .m-link { color: var(--bone); border-color: var(--bone); }
@media (max-width: 560px) {
  .partners, .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .member { padding: 24px 10px 20px; border-radius: 20px; }
  .m-pic { width: 96px; height: 96px; } .m-pic i { font-size: 28px; }
  .m-name { font-size: 17px; } .m-role { letter-spacing: .1em; }
  .p-logo { height: 84px; } .p-word { font-size: 18px; }
}

/* "Get tickets" bar while the checkout is off screen: full width on phones, a floating bar on bigger screens */
.buybar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 20px; border: 1px solid transparent;
  background: linear-gradient(#141118ee, #141118ee) padding-box, var(--edge) border-box; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 50px -10px #000;
  transform: translateY(160%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
.buybar.show { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.buybar b { display: block; font: 700 18px/1.2 var(--pixel); }
.buybar div span { font: 500 11px var(--pixel); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.buybar div { min-width: 0; }
.buybar .bb-phase { display: block; font-size: 10px; letter-spacing: .08em; color: #ff8a95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .bb-phase:empty { display: none; }
body.has-buybar footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 761px) {
  .buybar { left: 50%; right: auto; width: min(540px, calc(100% - 40px)); translate: -50% 0; bottom: 22px; padding: 12px 12px 12px 22px; border-radius: 22px; }
  .buybar b { font-size: 20px; }
  .buybar .bb-phase { font-size: 11px; }
  .buybar .btn { min-height: 50px; padding: 0 24px; }
}

/* profile photo picker (Edit my details) */
.photo-row { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: #00000033; }
.photo-row .udash-pic { flex: none; }
.photo-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.file-btn { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.file-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-btn:focus-within { outline: 2px solid var(--violet); outline-offset: 3px; }

footer { border-top: 1px solid var(--line); padding: 46px 0 30px; color: var(--muted); font-size: 14px; background: linear-gradient(180deg, transparent, #c39be00a); }
.foot { display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr); gap: 20px 28px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { flex: none; }
.foot-brand > div { min-width: 0; }
.foot-brand b { display: block; font: 700 16px var(--retro); text-transform: uppercase; letter-spacing: .04em; color: var(--bone); }
.foot-brand span { font-size: 13px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 2px; }
.foot-links a { color: var(--bone); text-decoration: none; font: 400 12px var(--retro); letter-spacing: .08em; text-transform: uppercase; padding: 10px 12px; border-radius: 999px; transition: background .2s; }
.foot-links a:hover { background: #ffffff0f; }
.foot-help { justify-self: end; text-align: right; display: grid; gap: 4px; }
.foot-help a { word-break: break-all; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 28px; padding-top: 18px; border-top: 1px dashed var(--line);
  font: 500 11px var(--pixel); letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 760px) { .foot { grid-template-columns: minmax(0, 1fr); } .foot-help { justify-self: start; text-align: left; } .foot-links { margin-inline: -12px; } }

/* motion (only when allowed) */
@media (prefers-reduced-motion: no-preference) {
  .mascot svg { animation: float 4s ease-in-out infinite; }
  .mascot .eyes { animation: blink 5s infinite; transform-origin: 50% 42%; transform-box: fill-box; }
  .mascot .pupils { transition: transform .18s ease-out; }
  .mascot.boo svg { animation: boo 0.45s ease-out; }
  .fog i { animation: fog 18s ease-in-out infinite alternate; }
  .fog i:nth-child(2) { animation-duration: 24s; } .fog i:nth-child(3) { animation-duration: 30s; }
  .marquee .track { animation: marquee 38s linear infinite; }
  .sale-pill:is(.open, .few, .live) .dot, .phase.now .ph-tag .dot { animation: live-blink 1.4s steps(2, end) infinite; }
  .state-ghost svg { animation: float 4s ease-in-out infinite; }
  dialog.lightbox[open] figure { animation: tear .45s var(--ease) both; }
  .ticket.reveal { animation: tear 0.7s var(--ease) both; }
  .rv-on .rv { transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
  .rv-on .rv:not(.in) { opacity: 0; transform: translateY(16px); }
  @keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
  @keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
  @keyframes boo { 0% { transform: scale(1); } 40% { transform: scale(1.12) rotate(-6deg); } 100% { transform: scale(1); } }
  @keyframes fog { from { transform: translateX(-8%); } to { transform: translateX(8%); } }
  @keyframes tear { from { transform: translateY(20px) rotate(-1.5deg); opacity: 0; } to { opacity: 1; } }
  @keyframes marquee { to { transform: translateX(-50%); } }
}

/* small phones (iPhone SE, Galaxy A-series, older Androids) */
@media (max-width: 420px) {
  .nav-links a.cta { padding: 10px 14px; font-size: 12px; letter-spacing: .02em; }
  .snd { width: 40px; }
}
@media (max-width: 380px) {
  .nav-links a.cta { padding: 10px 12px; font-size: 12px; letter-spacing: .02em; white-space: nowrap; }
  .gbtn.small { padding: 0 12px; white-space: nowrap; }
  .brand img { width: 38px; height: 38px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .mascot { width: 136px; }
  .bubble { max-width: min(190px, calc(100vw - 176px)); }
  .hero .lede { font-size: 16px; }
  .facts { font-size: 15px; }
  .countdown { gap: 8px; }
  .countdown b { font-size: 24px; }
  .countdown span { letter-spacing: .12em; }
  .card { padding: 16px; }
  .step-head { gap: 10px; margin-top: 30px; padding-top: 24px; }
  .tier { padding: 14px 16px; }
  .tier .t-price { font-size: 20px; }
  .qty { gap: 8px; padding: 12px; }
  .qty .lbl { display: none; }
  .qty button { width: 42px; height: 42px; }
  .qty output { font-size: 26px; min-width: 30px; }
  .total b { font-size: 24px; }
  .person { padding: 12px 12px 0; }
  .payto { padding: 16px; }
  .pay-grid .num { font-size: 22px; }
  .contact-sum { padding: 12px; }
  .marquee span { font-size: 20px; gap: 18px; padding-right: 18px; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .mascot { width: 120px; margin-bottom: -20px; }
  .bubble { display: none; }
  .hero { padding-top: 16px; }
}

/* sharing: "I'm going" story card and add to calendar */
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ev-cal { margin-top: 16px; }
.sheet-acts { display: grid; gap: 10px; margin-top: 18px; }
.story-img { display: block; width: 100%; max-height: 52dvh; object-fit: contain; border-radius: 14px; background: #00000040; }

/* set times: "Now playing" while it's on */
.sets { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.sets li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.sets time { font: 700 18px var(--pixel); color: var(--hot); }
.sets b { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.sets small { grid-column: 2; color: var(--muted); font-size: 14px; }
.sets .tag { grid-row: 1; grid-column: 3; font: 600 11px var(--pixel); letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.sets li.now { background: linear-gradient(90deg, #c39be01c, transparent 70%); border-radius: 14px; border-bottom-color: transparent; padding-inline: 14px; }
.sets li.now .tag { background: var(--hot); color: var(--night); }
.sets li.next .tag { color: var(--hot); box-shadow: inset 0 0 0 1px #c39be066; }
.sets li.done { opacity: .5; }
@media (max-width: 560px) { .sets li { grid-template-columns: 72px minmax(0, 1fr); } .sets .tag { grid-column: 2; grid-row: auto; justify-self: start; } .sets time { font-size: 16px; } }

/* photos from the night */
.pgrid { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); gap: 8px; }
.pgrid button { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--panel-2); }
.pgrid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.pgrid button:hover img { transform: scale(1.05); }

/* event gallery: a card per night, then its photos in the grid above */
.albums { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.album { display: grid; height: 100%; border-radius: 22px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.album:hover { border-color: #c39be066; transform: translateY(-3px); }
.album:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.al-cover { display: block; aspect-ratio: 4 / 3; background: var(--panel-2); overflow: hidden; }
.al-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.album:hover .al-cover img { transform: scale(1.04); }
.al-text { display: grid; gap: 4px; padding: 16px 18px 18px; }
.al-text b { font-size: 18px; font-weight: 800; line-height: 1.25; }
.al-text small { font: 500 12px var(--pixel); letter-spacing: .08em; color: var(--muted); }
.gal-back { display: inline-flex; gap: 8px; align-items: center; min-height: 40px; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-weight: 600; }
.gal-back:hover { color: var(--bone); }

/* feedback stars: picked right to left so hovering lights up everything before it */
.stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; border: 0; padding: 0; margin: 0 0 18px; }
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.stars label { font-size: 42px; line-height: 1; color: #ffffff26; cursor: pointer; transition: color .15s, transform .15s var(--ease); }
.stars label:hover, .stars label:hover ~ label, .stars input:checked ~ label { color: var(--amber); }
.stars input:focus-visible + label { outline: 2px solid var(--violet); outline-offset: 2px; border-radius: 6px; }
.stars label:active { transform: scale(.9); }


/* costume contest */
.contest-pill { text-decoration: none; margin-left: 8px; }
.vote-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; padding: 14px 16px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.vote-who > span { font: 500 11px var(--pixel); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.vote-who button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--bone); font: 600 14px var(--sans); cursor: pointer; }
.vote-who button[aria-pressed=true] { background: var(--bone); color: var(--night); border-color: var(--bone); }
.vote-who button:disabled { opacity: .45; cursor: not-allowed; }
.board { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.entry { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .3s var(--ease); }
.entry.picked { border-color: var(--hot); box-shadow: 0 0 0 1px var(--hot); }
.entry.lead { border-color: #ffb34799; }
.e-pic { aspect-ratio: 4 / 5; background: var(--panel-2); display: grid; place-items: center; font: 700 64px var(--chunky); color: var(--hot); }
.e-pic img { width: 100%; height: 100%; object-fit: cover; }
.e-pic.none { aspect-ratio: 5 / 2; font-size: 48px; } /* no photo: just their number */
.e-rank { position: absolute; top: 10px; left: 10px; min-width: 40px; height: 40px; padding: 0 10px; display: grid; place-items: center; border-radius: 999px; background: #09080bcc; font: 700 15px var(--pixel); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.entry.lead .e-rank { background: var(--amber); color: var(--night); }
.e-body { padding: 14px 16px 16px; display: grid; gap: 8px; align-content: start; }
.e-name { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.e-name span { font: 700 14px var(--pixel); color: var(--hot); margin-right: 6px; }
.e-votes { display: flex; justify-content: space-between; font: 600 13px var(--pixel); color: var(--muted); }
.e-bar { height: 6px; border-radius: 999px; background: #ffffff10; overflow: hidden; }
.e-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blood), var(--hot)); transition: width .6s var(--ease); }
.e-body .btn { min-height: 46px; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .e-bar i, .pgrid img, .stars label { transition: none; } }

/* ── phones and the installed app: tighter spacing, no grey tap flash, nothing wraps awkwardly ── */
a, button, label, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
html { overscroll-behavior-x: none; }
@media (max-width: 560px) {
  section.block, .site section.block { padding: 40px 0; }
  .sec-title { font-size: 31px; }
  .sec-sub { font-size: 15px; margin-top: 8px; }
  .card { margin-top: 20px; }
  .nav .wrap { min-height: 58px; } .brand img { width: 38px; height: 38px; }
  .nav-links a { min-height: 40px; padding: 8px 12px; } .nav-links a.cta { padding: 8px 14px; }
  .sets { margin-top: 20px; }
  .sets li { grid-template-columns: 64px minmax(0, 1fr); gap: 2px 12px; padding: 14px 2px; }
  .sets time { font-size: 14px; white-space: nowrap; } .sets b { font-size: 17px; } .sets small { font-size: 13px; }
  .sets li.now { padding-inline: 10px; }
  .pgrid { margin-top: 20px; gap: 6px; } .pgrid button { border-radius: 10px; }
  .board { margin-top: 16px; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); } /* two contestants per row */
  .entry { border-radius: 16px; }
  .e-pic.none { aspect-ratio: 4 / 3; font-size: 40px; }
  .e-rank { top: 6px; left: 6px; min-width: 32px; height: 32px; font-size: 13px; padding: 0 8px; }
  .e-body { padding: 10px 10px 12px; gap: 6px; } .e-name { font-size: 15px; line-height: 1.25; } .e-name span { font-size: 12px; }
  .e-votes { font-size: 11px; } .e-body .btn { min-height: 40px; font-size: 13px; padding: 0 10px; }
  .vote-who { margin-top: 16px; padding: 12px; gap: 6px; } .vote-who button { min-height: 36px; font-size: 13px; padding: 0 12px; }
  .stars label { font-size: 38px; }
  .share-row { margin-top: 14px; }
  .faq { margin-top: 20px; } details { padding: 18px 0; } details summary { font-size: 17px; }
  .udash { margin: 18px 0 20px; padding: 16px; }
  footer { padding: 34px 0 24px; }
}

/* "Tell everyone you're going": a slim banner with their own story on a small phone */
#story.block { padding: 28px 0 8px; }
.story-promo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 22px 30px; border-radius: 24px; position: relative; overflow: hidden;
  background: radial-gradient(90% 140% at 90% 50%, #a874c42e, transparent 60%), linear-gradient(160deg, #1b1522, var(--panel) 60%); border: 1px solid #c39be033; }
.sp-text { position: relative; min-width: 0; }
.sp-text .kicker { margin-bottom: 6px; }
.story-promo .sec-title { font-size: clamp(26px, 3.4vw, 38px); }
.sp-sub { margin: 8px 0 16px; max-width: 34em; font-size: 15px; }
.sp-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-acts .btn { min-height: 48px; padding: 0 22px; font-size: 16px; }
.sp-who { margin-top: 10px; font-family: var(--pixel); letter-spacing: .04em; }
.sp-stage { position: relative; perspective: 900px; }
.sp-phone { width: 128px; aspect-ratio: 9 / 18.6; border-radius: 22px; padding: 5px; background: linear-gradient(145deg, #2a2330, #0c0a0f); position: relative;
  box-shadow: 0 0 0 1px #ffffff1a, 0 30px 50px -24px #000, 0 0 50px -10px #a874c466;
  transform: rotateY(-14deg) rotateX(4deg) rotateZ(3deg); animation: sp-float 6s ease-in-out infinite; }
@keyframes sp-float { 50% { transform: rotateY(-8deg) rotateX(2deg) rotateZ(1deg) translateY(-6px); } }
.sp-screen { position: relative; height: 100%; border-radius: 18px; overflow: hidden; background: #09080b; }
.sp-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.sp-shot.in { opacity: 1; }
.sp-bars { position: absolute; top: 6px; left: 6px; right: 6px; z-index: 2; display: flex; gap: 3px; }
.sp-bars i { flex: 1; height: 2px; border-radius: 2px; background: #ffffff55; overflow: hidden; }
.sp-bars i.on::after { content: ""; display: block; height: 100%; background: #fff; animation: sp-progress 5s linear infinite; }
@keyframes sp-progress { from { width: 0; } to { width: 100%; } }
.sp-sticker { position: absolute; z-index: 2; font: 800 6.5px var(--sans); padding: 3px 5px; border-radius: 5px; white-space: nowrap; box-shadow: 0 4px 10px #0008; }
.sp-link { left: 50%; bottom: 5%; translate: -50% 0; rotate: -3deg; max-width: 90%; overflow: hidden; text-overflow: ellipsis; background: #fff; color: #2a6ae8; text-transform: uppercase; }
@media (max-width: 560px) {
  #story.block { padding: 20px 0 4px; }
  .story-promo { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 16px; border-radius: 18px; }
  .story-promo .sec-title { font-size: 24px; }
  .sp-sub { display: none; } /* the title and button say it */
  .sp-acts { margin-top: 12px; } .sp-acts .btn { min-height: 42px; padding: 0 16px; font-size: 14px; }
  .sp-who { font-size: 11px; margin-top: 8px; }
  .sp-phone { width: 84px; border-radius: 15px; padding: 3px; } .sp-screen { border-radius: 12px; } .sp-sticker { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sp-phone, .sp-bars i.on::after { animation: none !important; } }

/* ── between nights (body.after): the DHK After Dark page, with the night that just ended as the recap ── */
body.after .pre-only, body:not(.after) .after-only { display: none !important; }

/* the night in numbers: real totals only (supabase/next-night.sql) */
#proof.block { padding: 40px 0 8px; }
.proof { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-block: 1px solid var(--line); }
.proof li { padding: 22px 24px 20px 0; display: grid; gap: 6px; align-content: start; }
.proof li + li { padding-left: 24px; border-left: 1px dashed var(--line-2); }
.proof b { font: 700 clamp(40px, 6vw, 64px)/1 var(--chunky); font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--bone), var(--hot)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof span { font: 500 11px var(--pixel); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) {
  #proof.block { padding: 28px 0 0; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof li, .proof li + li { padding: 16px 12px 14px 0; border-left: 0; }
  .proof li:nth-child(even) { padding-left: 14px; border-left: 1px dashed var(--line-2); }
  .proof li:nth-child(n+3) { border-top: 1px dashed var(--line-2); }
  .proof span { letter-spacing: .1em; }
}

/* what people said */
.quotes { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.quote { display: grid; align-content: start; gap: 12px; padding: 24px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.quote .q-stars { color: var(--amber); letter-spacing: 3px; font-size: 15px; }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 600; }
.quote .q-who { font: 500 11px var(--pixel); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) { .quotes { margin-top: 20px; gap: 10px; } .quote { padding: 18px; border-radius: 18px; } .quote blockquote { font-size: 16px; } }

/* the list for the next night, and working with us */
.next { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.next .card { margin-top: 0; }
.site .next-main { background: radial-gradient(80% 120% at 100% 0%, #a874c42e, transparent 60%), var(--panel); border-color: #c39be040; }
.next-sub { margin: 12px 0 22px; max-width: 32em; }
.list-row { display: flex; gap: 10px; align-items: flex-end; }
.list-row .field { flex: 1; min-width: 0; margin-bottom: 12px; }
.list-row .btn { flex: none; margin-bottom: 12px; }
.list-done { display: grid; gap: 8px; justify-items: start; padding: 18px 20px; border-radius: 18px; background: #8fe3a40a; border: 1px solid #8fe3a440; }
.list-ok { font: 700 22px var(--chunky); color: var(--ok); }
.list-done b { color: var(--bone); word-break: break-all; }
.next-follow { margin-top: 18px; }
.next-work { display: grid; align-content: start; gap: 10px; }
.next-work h3 { font-size: 24px; letter-spacing: -0.02em; }
.next-work .state-acts { justify-content: flex-start; margin-top: 8px; }
@media (max-width: 760px) { .next { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .list-row { flex-direction: column; align-items: stretch; gap: 0; } .next-work h3 { font-size: 20px; } }

/* Drum Club: the home card with its pad, the join form and the membership pass (js/site.js → Drum Club) */
.drum-card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: center;
  padding: 40px; border-radius: 32px; border: 1px solid var(--line); background: radial-gradient(120% 90% at 100% 0%, #a874c42e, transparent 60%), var(--panel);
  box-shadow: 0 40px 80px -50px #000; }
.drum-card::before { content: ""; position: absolute; left: -120px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 22px, #ffffff07 22px 23px); }
.dc-copy { position: relative; min-width: 0; }
.dc-new { display: inline-block; margin-right: 6px; padding: 3px 9px; border-radius: 999px; background: var(--hot); color: var(--ink); font: 400 11px var(--retro); letter-spacing: .08em; }
.dc-tag { margin-top: 14px; font-size: 19px; max-width: 30em; }
.dc-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 0; padding: 0; }
.dc-facts li span { display: block; font: 500 10px var(--pixel); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.dc-facts li b { font-weight: 700; }
.dc-plans { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 24px 0 0; padding: 0; }
.dc-plans li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; border: 1px dashed var(--line-2); background: #ffffff04; }
.dc-plans li > span { font: 700 22px var(--pixel); letter-spacing: -0.02em; }
.dc-plans li > span small { font: 500 13px var(--sans); color: var(--muted); letter-spacing: 0; }
.dc-plans li > small { color: var(--muted); font-size: 13px; }
.dc-plans li.full { opacity: .5; }
.dc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; }
.dc-count { display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--pixel); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dc-count i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dc-kit { position: relative; display: grid; gap: 14px; padding: 20px; border-radius: 26px; border: 1px solid var(--line); background: #00000059; }
.dc-eq { display: flex; align-items: flex-end; gap: 4px; height: 52px; padding: 0 4px; }
.dc-eq i { flex: 1; height: 8%; border-radius: 3px; background: linear-gradient(to top, var(--blood-dark), var(--hot)); opacity: .85; transition: height .5s var(--ease); }
.pads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pad { --c: var(--hot); position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border: 0; border-radius: 20px; cursor: pointer; color: var(--bone);
  background: radial-gradient(circle at 50% 35%, #2b2334, #17131c 70%); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -6px 0 #00000066, 0 8px 18px -10px #000;
  touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; transition: transform .08s, box-shadow .2s; }
.pad[data-pad=snare] { --c: var(--amber); } .pad[data-pad=hat] { --c: var(--ok); } .pad[data-pad=tom] { --c: var(--danger); }
.pad b { font: 400 13px var(--retro); letter-spacing: .1em; text-transform: uppercase; }
.pad kbd { position: absolute; top: 9px; right: 11px; font: 500 10px var(--pixel); color: var(--muted); }
.pad:hover { box-shadow: inset 0 0 0 1px var(--c), inset 0 -6px 0 #00000066, 0 8px 18px -10px #000; }
.pad:active, .pad.hit { transform: translateY(2px) scale(.97); }
.pad:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }
.dc-hint { text-align: center; }
@media (hover: none) { .dc-hint .kb, .pad kbd { display: none; } }
@media (max-width: 860px) { .drum-card { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 26px; } }
@media (max-width: 560px) { .drum-card { padding: 20px; border-radius: 24px; } .dc-tag { font-size: 17px; } }

.chips-field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.chips-field legend { padding: 0; margin-bottom: 8px; font: 500 11px var(--pixel); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #ffffff05;
  font: 600 15px var(--sans); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.chips span:hover { border-color: #ffffff55; }
.chips input:checked + span { background: var(--bone); border-color: var(--bone); color: var(--night); }
.chips input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
#dpGoals { min-height: 0; resize: vertical; }

.dpass { position: relative; overflow: hidden; margin-top: 30px; padding: 26px; border-radius: 28px; border: 1px solid #c39be04d;
  background: radial-gradient(90% 120% at 0% 0%, #a874c433, transparent 60%), linear-gradient(160deg, #221a2b, var(--panel) 60%); box-shadow: 0 40px 80px -40px #000; }
.dpass::after { content: ""; position: absolute; right: -90px; top: -90px; width: 240px; height: 240px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 16px, #ffffff08 16px 17px); }
.dp-top { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.dp-brand { font: 400 11px var(--retro); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dp-top .status { margin: 0; }
.dp-main { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; margin-top: 20px; }
.dp-dial { position: relative; width: 132px; height: 132px; }
.dp-ring { width: 100%; height: 100%; overflow: visible; }
.rr-lugs { fill: #ffffff2e; }
.rr-bg { fill: #00000040; stroke: #ffffff12; stroke-width: 8; }
.rr-fg { fill: none; stroke: var(--hot); stroke-width: 8; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 60px 60px; transition: stroke-dashoffset 1s var(--ease); filter: drop-shadow(0 0 6px #c39be088); }
.s-pending .rr-fg { stroke: var(--amber); filter: none; }
.s-paused .rr-fg { stroke: var(--muted); filter: none; }
.dp-big { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.dp-big b { font: 700 34px/1 var(--pixel); letter-spacing: -0.03em; }
.dp-big span { margin-top: 4px; font: 500 10px var(--pixel); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dp-name { font-weight: 800; font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; overflow-wrap: anywhere; }
.dp-plan { color: var(--muted); font-size: 14px; margin-top: 4px; }
.dp-msg { font-size: 15px; margin-top: 10px; }
.dp-stats { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.dp-stats div { padding: 12px; border-radius: 14px; background: #00000033; border: 1px solid var(--line); }
.dp-stats b { display: block; font: 700 22px/1.15 var(--pixel); letter-spacing: -0.02em; }
.dp-stats span { font: 500 10px var(--pixel); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dp-wait { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 14px; border-radius: 12px; border: 1px dashed #ffb34766; background: #ffb3470d; color: var(--amber); font-size: 14px; }
.dp-wait .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.dp-acts { position: relative; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.dp-hist { margin-top: 14px; padding: 4px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.dp-hist summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; font-weight: 700; }
.dp-hist ul { list-style: none; margin: 0 0 10px; padding: 0; }
.dp-hist li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.dp-hist li small { display: block; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.dp-hist li b { font-family: var(--pixel); }
.dp-hist .status { margin: 0; }
@media (max-width: 560px) {
  .dpass { padding: 20px; border-radius: 22px; }
  .dp-main { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .dp-stats b { font-size: 18px; }
  .dp-hist li { grid-template-columns: minmax(0, 1fr) auto; } .dp-hist li .status { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: no-preference) {
  .pad.hit { animation: pad-hit .35s ease-out; }
  .dc-count i, .dp-wait .dot { animation: live-blink 1.4s steps(2, end) infinite; }
  .rr-fg.spin { animation: rr-spin 1.6s linear infinite; }
  @keyframes pad-hit { from { background: radial-gradient(circle at 50% 40%, var(--c), #17131c 75%); box-shadow: inset 0 0 0 1px var(--c), 0 0 34px -4px var(--c); } }
  @keyframes rr-spin { from { transform: rotate(-90deg); } to { transform: rotate(270deg); } }
}
