@font-face { font-family: 'Big Shoulders'; src: url(/fonts/big-shoulders-display-latin-800-normal.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Big Shoulders'; src: url(/fonts/big-shoulders-display-latin-900-normal.woff2) format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Courier Prime'; src: url(/fonts/courier-prime-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Courier Prime'; src: url(/fonts/courier-prime-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --velvet: #1E0509; --curtain: #5E0E1B; --fold: #8C1C2E; --bulb: #FFE3A0; --glow: #FFB84D;
  --board: #F4EEDD; --ink: #140D0E; --rose: #F2A48F; --mint: #9FD8C0; --butter: #F3D27A; --muted: #D7B9B0;
  --display: 'Big Shoulders', 'Arial Narrow', sans-serif; --type: 'Courier Prime', 'Courier New', monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--board); font: 400 17px/1.5 var(--type);
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(255, 184, 77, .16), transparent 70%),
    repeating-linear-gradient(90deg, #1E0509 0 22px, #27070D 34px, #1E0509 52px);
  background-color: var(--velvet);
}
body::before, body::after {
  content: ''; position: fixed; top: 0; bottom: 0; width: max(0px, calc((100vw - 1060px) / 2)); z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--curtain) 0 14px, var(--fold) 26px, #3E0812 40px, var(--curtain) 52px);
  box-shadow: inset -30px 0 40px rgba(0, 0, 0, .5);
}
body::before { left: 0; }
body::after { right: 0; transform: scaleX(-1); }
main, header, footer { position: relative; z-index: 1; }
a { color: var(--bulb); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--bulb); outline-offset: 3px; }
.wrap { width: min(100% - 28px, 1000px); margin: 0 auto; }
h1, h2, h3, .disp { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; line-height: .95; margin: 0; }
h2 { font-size: clamp(30px, 6vw, 44px); color: var(--bulb); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* top bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--board); text-decoration: none; font: 900 26px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.brand svg { width: 34px; height: 34px; }
.bar nav a { font: 800 18px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-decoration: none; padding: 12px 4px; }
.bar nav a:hover { color: var(--bulb); }

/* marquee */
.marquee { position: relative; margin: 8px auto 0; padding: 22px; background: linear-gradient(#6A1020, #4A0B16); border: 3px solid #2A060C; box-shadow: 0 0 0 4px #8C5A1E, 0 0 60px rgba(255, 184, 77, .25), 0 24px 40px rgba(0, 0, 0, .6); }
.marquee::before, .marquee::after {
  content: ''; position: absolute; inset: 6px; pointer-events: none;
  --b: radial-gradient(circle, var(--bulb) 0 3.5px, rgba(255, 184, 77, .55) 4.5px, transparent 7px);
  background: var(--b) 0 0 / 20px 20px repeat-x, var(--b) 0 100% / 20px 20px repeat-x, var(--b) 0 0 / 20px 20px repeat-y, var(--b) 100% 0 / 20px 20px repeat-y;
}
.marquee::after { background-position: 10px 0, 10px 100%, 0 10px, 100% 10px; opacity: .25; animation: chase 1s steps(1) infinite; }
.marquee::before { animation: chase 1s steps(1) infinite reverse; }
@keyframes chase { 0% { opacity: 1; } 50% { opacity: .3; } }
.board { background: #120406; padding: 10px 12px; display: grid; gap: 8px; }
.strip {
  background: repeating-linear-gradient(var(--board) 0 calc(25% - 1px), #CFC6B0 calc(25% - 1px) 25%);
  color: var(--ink); text-align: center; font: 900 clamp(30px, 9vw, 74px)/1.12 var(--display); text-transform: uppercase; letter-spacing: .06em; padding: .04em .2em; overflow-wrap: anywhere;
}
.strip.sm { font-size: clamp(20px, 5vw, 32px); }
.strip span { display: inline-block; }
.marquee .tag { text-align: center; font: 700 13px/1.2 var(--type); letter-spacing: .18em; text-transform: uppercase; color: var(--bulb); margin: 0 0 10px; }

/* buttons */
.btn {
  appearance: none; border: 0; cursor: pointer; min-height: 52px; padding: 10px 22px; border-radius: 0;
  font: 900 24px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bulb); color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 6px var(--bulb), 0 0 28px rgba(255, 184, 77, .45);
  transition: transform .12s, box-shadow .2s;
}
.btn:hover { background: #fff2cc; color: var(--ink); }
.btn:active { transform: translateY(2px); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn.ghost { background: transparent; color: var(--board); box-shadow: inset 0 0 0 2px var(--muted); }
.btn.ghost:hover { color: var(--bulb); box-shadow: inset 0 0 0 2px var(--bulb); }
.btn.small { min-height: 44px; font-size: 19px; padding: 8px 16px; }

/* tickets */
.ticket {
  --c: var(--rose); position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 22px;
  font: 700 16px/1.15 var(--type); color: var(--board); background: transparent; border: 2px dashed rgba(215, 185, 176, .7); cursor: pointer; text-align: center;
  -webkit-mask: radial-gradient(circle 8px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 8px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  transition: background .15s, color .15s, transform .12s;
}
.ticket:hover { border-color: var(--bulb); }
input:checked + .ticket, .ticket[aria-pressed='true'] { background: var(--c); color: var(--ink); border: 2px solid var(--c); }
input:checked + .ticket::after { content: ''; position: absolute; right: 12px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--velvet); }
input:focus-visible + .ticket { outline: 3px solid var(--bulb); outline-offset: 3px; }
.tickets { display: flex; flex-wrap: wrap; gap: 8px; }
.tickets label:nth-child(3n+2) .ticket { --c: var(--mint); }
.tickets label:nth-child(3n) .ticket { --c: var(--butter); }
.tickets input { position: absolute; opacity: 0; pointer-events: none; }
.tickets label { position: relative; display: inline-flex; }
.tickets img { width: 22px; height: 22px; margin-right: 8px; border-radius: 4px; }

/* box office */
.office { margin: 34px auto 0; position: relative; background: #2B0B11; border: 2px solid var(--glow); box-shadow: 0 0 0 6px #2B0B11, 0 0 0 8px rgba(255, 184, 77, .5), 0 30px 50px rgba(0, 0, 0, .55); padding: 30px 18px 22px; }
.office > .plate { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: var(--glow); color: var(--ink); font: 900 20px/1 var(--display); letter-spacing: .25em; padding: 8px 14px 8px 18px; white-space: nowrap; }
fieldset { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
legend, .label { font: 800 20px/1.1 var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--bulb); margin: 0 0 10px; padding: 0; }
legend small, .label small { font: 400 14px var(--type); letter-spacing: 0; text-transform: none; color: var(--muted); margin-left: 6px; }
.field { display: block; margin: 0 0 22px; }
input[type=text], select {
  width: 100%; min-height: 50px; padding: 10px 14px; font: 700 18px var(--type); color: var(--ink); background: var(--board);
  border: 0; border-radius: 0; box-shadow: inset 0 3px 0 rgba(0, 0, 0, .25);
}
select { appearance: none; background: var(--board) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23140D0E' stroke-width='2.5'/%3E%3C/svg%3E") right 14px center no-repeat; padding-right: 38px; }
.row2 { display: grid; gap: 0 18px; }
.go { display: flex; flex-direction: column; gap: 10px; align-items: stretch; margin-top: 6px; }
.go .btn { min-height: 62px; font-size: 30px; }
.err { color: var(--ink); background: var(--rose); padding: 10px 14px; font-weight: 700; margin: 10px 0 0; }
.err:empty { display: none; }
.note { font-size: 14px; color: var(--muted); text-align: center; margin: 0; }
.more-services { margin-top: 10px; background: none; border: 0; color: var(--bulb); font: 700 15px var(--type); text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0; }

/* how */
.how { margin: 56px auto 0; }
.steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; border-top: 2px dashed rgba(215, 185, 176, .4); padding-top: 14px; }
.steps li::before { content: counter(s); font: 900 60px/0.85 var(--display); color: var(--glow); }
.steps h3 { color: var(--board); margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }
.prose { margin: 56px auto 0; max-width: 720px; }
.prose h2 { margin: 0 0 14px; }
.prose p, .prose li { color: #EADFD6; }
.faq details { border-top: 2px dashed rgba(215, 185, 176, .4); padding: 6px 0; }
.faq summary { cursor: pointer; font: 800 22px/1.2 var(--display); text-transform: uppercase; letter-spacing: .04em; padding: 10px 0; min-height: 44px; }
.faq details p { margin: 0 0 12px; }

/* footer */
footer { margin-top: 70px; padding: 26px 0 36px; border-top: 3px double rgba(255, 184, 77, .5); font-size: 14px; color: var(--muted); }
footer .links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 10px; }
footer .links a { display: inline-block; padding: 10px 0; }
footer .credit { display: flex; gap: 12px; align-items: center; }
footer .credit img { width: 72px; height: auto; }

/* room */
.banner { background: var(--butter); color: var(--ink); padding: 8px 14px; font-size: 14px; font-weight: 700; text-align: center; }
.stage { margin: 18px auto 0; display: grid; gap: 22px; }
.invite { border: 2px dashed var(--glow); padding: 16px; display: grid; gap: 12px; }
.invite h2 { font-size: 28px; }
.invite { padding: 12px 14px; gap: 10px; }
.invite .link { display: none; }
.invite .link { font: 700 15px var(--type); background: var(--board); color: var(--ink); padding: 12px; overflow-wrap: anywhere; user-select: all; }
.invite .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.invite .qr { background: #fff; padding: 12px; width: 220px; }
.invite .qr svg { display: block; width: 100%; height: auto; }
.seats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.seats li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; background: #2B0B11; border-bottom: 3px solid var(--fold); font: 700 15px var(--type); }
.seats li::before { content: ''; width: 18px; height: 16px; border-radius: 6px 6px 2px 2px; background: var(--fold); box-shadow: inset 0 -4px 0 #3E0812; }
.seats li.done::before { background: var(--mint); box-shadow: inset 0 -4px 0 #5C9E86; }
.seats li.you { border-bottom-color: var(--bulb); }
.seats b { font-family: var(--display); font-weight: 900; font-size: 18px; color: var(--bulb); letter-spacing: .04em; }

.card { display: grid; gap: 14px; justify-items: center; text-align: center; touch-action: pan-y; }
.frame { position: relative; width: min(58vw, 300px, 36vh); aspect-ratio: 2 / 3; padding: 10px; background: linear-gradient(135deg, #C48A2C, #FFE3A0 30%, #9A6414 55%, #F3C66E 80%, #7A4A0C); box-shadow: 0 0 0 2px #2A060C, 0 0 50px rgba(255, 184, 77, .35), 0 20px 30px rgba(0, 0, 0, .6); }
.frame img, .frame .sheet { width: 100%; height: 100%; object-fit: cover; display: block; background: #2B0B11; }
.sheet { display: flex !important; flex-direction: column; justify-content: space-between; padding: 18px 14px; color: var(--ink); text-align: left; }
.sheet .t { font: 900 clamp(30px, 8vw, 44px)/.92 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.sheet .y { font: 700 15px var(--type); letter-spacing: .2em; }
.sheet .k { font: 900 18px var(--display); letter-spacing: .3em; text-transform: uppercase; border-top: 3px solid currentColor; padding-top: 6px; }
.card.out-l { animation: outL .32s ease-in forwards; }
.card.out-r { animation: outR .32s ease-in forwards; }
.card.out-d { animation: outD .32s ease-in forwards; }
.card.in { animation: cardIn .3s ease-out; }
@keyframes outL { to { transform: translateX(-120%) rotate(-10deg); opacity: 0; } }
@keyframes outR { to { transform: translateX(120%) rotate(10deg); opacity: 0; } }
@keyframes outD { to { transform: translateY(40%); opacity: 0; } }
@keyframes cardIn { from { transform: translateY(16px) scale(.97); opacity: 0; } }
.info { max-width: 560px; }
.info h2 { color: var(--board); font-size: clamp(32px, 8vw, 48px); }
.facts { font: 700 15px var(--type); color: var(--bulb); margin: 8px 0 6px; letter-spacing: .02em; }
.over { margin: 0; color: #EADFD6; }
.over.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.readmore { background: none; border: 0; color: var(--bulb); font: 700 15px var(--type); text-decoration: underline; cursor: pointer; min-height: 44px; }
.on { font-size: 14px; color: var(--muted); margin-top: 2px; }
.votes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; width: min(100%, 520px); }
.vote { --c: var(--rose); min-height: 64px; padding: 6px 10px; border: 0; cursor: pointer; background: var(--c); color: var(--ink); font: 900 clamp(24px, 6vw, 30px)/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  -webkit-mask: radial-gradient(circle 9px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 9px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: transform .1s; }
.vote small { font: 700 11px var(--type); letter-spacing: .2em; }
.vote.maybe { --c: var(--butter); }
.vote.yes { --c: var(--mint); }
.vote:hover { filter: brightness(1.08); }
.vote:active { transform: translateY(2px); }
.under { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.under button { background: none; border: 0; color: var(--bulb); font: 700 15px var(--type); text-decoration: underline; cursor: pointer; min-height: 44px; }
.meter { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.meter .holes { display: flex; gap: 4px; }
.meter .holes i { width: 14px; height: 22px; background: rgba(215, 185, 176, .25); }
.meter .holes i.on { background: var(--bulb); box-shadow: 0 0 8px var(--glow); }
.meter p { margin: 0; font-weight: 700; font-size: 15px; }
.wait { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 20px 0; }
.wait h2 { font-size: clamp(36px, 9vw, 56px); }

.join { display: grid; gap: 16px; max-width: 520px; margin: 26px auto 0; }

/* reveal */
.curtains { position: fixed; inset: 0; z-index: 20; pointer-events: none; display: flex; }
.curtains i { flex: 1; background: repeating-linear-gradient(90deg, var(--curtain) 0 18px, var(--fold) 34px, #3E0812 52px, var(--curtain) 70px); box-shadow: inset 0 -40px 60px rgba(0, 0, 0, .5); transition: transform 1.2s cubic-bezier(.6, 0, .3, 1); }
.curtains.open i:first-child { transform: translateX(-102%); }
.curtains.open i:last-child { transform: translateX(102%); }
.reveal { display: grid; gap: 26px; }
.winner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.bill { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.bill li { display: grid; grid-template-columns: 44px 56px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-top: 2px dashed rgba(215, 185, 176, .35); }
.bill .n { font: 900 40px/1 var(--display); color: var(--glow); text-align: center; }
.bill .p { width: 56px; aspect-ratio: 2 / 3; object-fit: cover; background: var(--fold); display: flex; align-items: center; justify-content: center; padding: 3px; font: 900 13px/1 var(--display); text-transform: uppercase; overflow-wrap: anywhere; color: var(--ink); text-align: center; overflow: hidden; }
.bill h3 { font-size: 24px; color: var(--board); }
.bill .s { font-size: 14px; color: var(--muted); margin: 2px 0 0; }
.stamp { display: inline-block; font: 900 13px var(--display); letter-spacing: .2em; padding: 3px 8px; border: 2px solid var(--mint); color: var(--mint); transform: rotate(-4deg); margin-left: 6px; vertical-align: 3px; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--bulb); color: var(--ink); font-weight: 700; padding: 12px 18px; z-index: 30; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.toast:empty { display: none; }

@media (min-width: 760px) {
  body { font-size: 18px; }
  .office { padding: 38px 34px 28px; }
  .row2 { grid-template-columns: 1fr 1fr; }
  .go { flex-direction: row; align-items: center; justify-content: space-between; }
  .go .note { text-align: left; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .steps li { grid-template-columns: 1fr; }
  .marquee .tag { letter-spacing: .3em; font-size: 14px; }
  .invite .link { display: block; }
  .card { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; gap: 30px; }
  .frame { width: min(300px, 38vh); }
  .over.clamp { -webkit-line-clamp: 5; }
  .stage.voting .votes { justify-self: center; }
  .stage.voting { grid-template-columns: 1fr 260px; align-items: start; }
  .stage.voting .side { grid-column: 2; grid-row: 1; position: sticky; top: 16px; display: grid; gap: 18px; }
  .stage.voting .seats { flex-direction: column; }
  .reveal { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .reveal > .full { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .curtains { display: none; }
}
