/* Inky the Ink Pup — silent-film picture house */
:root {
  --black: #0c0b0a;
  --char: #161412;
  --char-2: #1f1c19;
  --silver: #d9d3c5;
  --silver-dim: #9d968a;
  --sepia: #c8b089;
  --paper: #ebe0c8;
  --paper-ink: #2a2118;
  --gold: #b99659;
  --nav-h: 62px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--silver);
  font: 400 17px/1.65 "Libre Caslon Text", Georgia, serif; overflow-x: hidden;
}
a { color: inherit; }
[hidden] { display: none !important; }
.jump { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--paper); color: var(--black); padding: 8px 14px; text-decoration: none; }
.jump:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* page-wide film grain (cheap: one SVG noise tile jittered in steps) */
.grain { position: fixed; inset: -60px; z-index: 150; pointer-events: none; opacity: .07;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .5s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-22px, 14px); } 50% { transform: translate(18px, -26px); } 75% { transform: translate(-10px, -12px); } }

/* ---------- nav ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 0 clamp(16px, 3vw, 34px); background: linear-gradient(var(--black) 60%, rgba(12, 11, 10, 0)); }
.marquee-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); font: 400 26px/1 "Limelight", serif; letter-spacing: .04em; }
.marquee-logo svg { width: 34px; height: 34px; }
.reel-links { display: flex; gap: 2px; }
.reel-links a { text-decoration: none; padding: 6px 12px; font: 400 13px/1 "Courier Prime", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-dim); transition: color .2s; }
.reel-links a:hover { color: var(--paper); }
.topbar-end { display: flex; align-items: center; gap: 8px; }
.sound, .x-link { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid rgba(217, 211, 197, .45); background: transparent; color: var(--silver);
  font: 700 12px/1 "Courier Prime", monospace; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.sound:hover, .x-link:hover { border-color: var(--paper); color: var(--paper); }
.x-link { background: var(--paper); color: var(--black); border-color: var(--paper); }
.x-link:hover { background: #fff; color: var(--black); }
.x-link svg { width: 15px; height: 15px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--silver-dim); }
.sound[aria-pressed="true"] .dot { background: #e2b45f; box-shadow: 0 0 10px #e2b45f; animation: rec 1s steps(2) infinite; }
@keyframes rec { 50% { opacity: .35; } }

/* ---------- hero / theatre ---------- */
.hero { padding: calc(var(--nav-h) + 18px) 16px 70px; text-align: center;
  background: radial-gradient(80% 60% at 50% 45%, #2a2520 0%, var(--black) 70%); }
.marquee { overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 10px; max-width: 760px; }
.marquee p { margin: 0; font: 700 12px/1 "Courier Prime", monospace; letter-spacing: .3em; text-transform: uppercase; color: var(--sepia); white-space: nowrap; }
.bulbs { flex: 1; height: 8px; min-width: 30px;
  background: radial-gradient(circle, #f3d99c 2.4px, transparent 3.4px) 0 50% / 14px 8px repeat-x;
  filter: drop-shadow(0 0 4px rgba(243, 217, 156, .8)); animation: chase 1.2s steps(2) infinite; }
@keyframes chase { 50% { background-position: 7px 50%; opacity: .75; } }
.h1 { margin: 0 0 18px; font: 400 clamp(38px, 5.6vw, 76px)/1 "Limelight", serif; color: var(--paper); letter-spacing: .02em; text-shadow: 0 0 30px rgba(235, 224, 200, .15); }
.h1 .fine { display: block; font: italic 400 clamp(18px, 2vw, 24px)/1.2 "IM Fell English", serif; color: var(--sepia); letter-spacing: .02em; margin-bottom: 6px; }

.theatre { position: relative; display: grid; grid-template-columns: 1fr minmax(0, min(960px, calc((100vh - 320px) * 1.3333))) 1fr; align-items: stretch; max-width: 1280px; margin: 0 auto; }
.curtain { position: relative; min-height: 100%;
  background: repeating-linear-gradient(90deg, #2a1d16 0 10px, #45301f 18px, #2a1d16 30px, #1b130e 38px);
  box-shadow: inset 0 -40px 60px rgba(0, 0, 0, .7); }
.curtain::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 25%, transparent 75%, rgba(0, 0, 0, .7)); }
.curtain.left { border-radius: 0 0 0 40px; mask-image: linear-gradient(90deg, transparent, #000 40%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); }
.curtain.right { border-radius: 0 0 40px 0; mask-image: linear-gradient(270deg, transparent, #000 40%); -webkit-mask-image: linear-gradient(270deg, transparent, #000 40%); }
.screen { position: relative; aspect-ratio: 4 / 3; background: #000; box-shadow: 0 0 0 10px #050404, 0 0 0 11px #2b2620, 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 120px rgba(235, 224, 200, .08); }
.screen canvas { display: block; width: 100%; height: 100%; }
.play-over { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 14px 24px; background: var(--paper); color: var(--black); border: 0; font: 700 14px/1 "Courier Prime", monospace; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }

.booth { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 26px auto 0; max-width: 960px; padding: 12px 14px; border: 1px solid rgba(217, 211, 197, .18); background: rgba(22, 20, 18, .8); }
.scenes { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.bk { height: 36px; padding: 0 14px; border: 1px solid rgba(217, 211, 197, .35); background: transparent; color: var(--silver); font: 700 12px/1 "Courier Prime", monospace; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.bk:hover { background: rgba(217, 211, 197, .1); }
.bk[aria-current="true"] { background: var(--silver); color: var(--black); }
.crank { display: flex; align-items: center; gap: 10px; font: 700 12px/1 "Courier Prime", monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--silver-dim); }
.crank output { min-width: 52px; color: var(--paper); text-align: left; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 150px; height: 26px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--silver-dim); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--silver-dim); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: var(--paper); border: 4px solid var(--black); box-shadow: 0 0 0 1px var(--paper); }
input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 4px solid var(--black); box-shadow: 0 0 0 1px var(--paper); }
.hint { margin: 14px auto 0; max-width: 620px; font: italic 15px/1.5 "IM Fell English", serif; color: var(--silver-dim); }

/* ---------- title cards (intertitles) ---------- */
.title-card { padding: clamp(40px, 7vw, 80px) 16px; background: var(--black); display: grid; place-items: center; }
.tc-in { position: relative; width: min(720px, 100%); padding: 48px 30px; text-align: center; border: 1px solid var(--sepia); outline: 1px solid rgba(200, 176, 137, .45); outline-offset: 7px;
  background: radial-gradient(70% 90% at 50% 50%, #1a1714, #070606); }
.tc-in::before, .tc-in::after { content: ""; position: absolute; width: 46px; height: 46px; border: 1px solid var(--sepia); }
.tc-in::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; box-shadow: 6px 6px 0 -5px var(--sepia); }
.tc-in::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; box-shadow: -6px -6px 0 -5px var(--sepia); }
.tc-reel { margin: 0 0 10px; font: 400 15px/1 "Limelight", serif; letter-spacing: .4em; text-transform: uppercase; color: var(--sepia); }
.tc-reel::before, .tc-reel::after { content: "◆"; font-size: 9px; vertical-align: middle; margin: 0 14px; opacity: .8; }
.tc-text { margin: 0; font: italic 400 clamp(28px, 4.4vw, 50px)/1.15 "IM Fell English", serif; color: var(--paper); }
.title-card.in .tc-in { animation: flickin 1.1s steps(1) both; }
@keyframes flickin { 0% { opacity: 0; } 10% { opacity: .8; } 18% { opacity: .2; } 26% { opacity: 1; } 34% { opacity: .6; } 42%, 100% { opacity: 1; } }

/* ---------- sections ---------- */
.act { padding: clamp(56px, 8vw, 100px) 0; background: var(--char); }
.inner { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.inner.slim { width: min(780px, calc(100% - 32px)); }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.slate-h { margin: 0 0 22px; font: 400 clamp(34px, 4.6vw, 56px)/1.05 "Limelight", serif; color: var(--paper); letter-spacing: .01em; }
.center { text-align: center; }
.lede { font-size: clamp(19px, 1.7vw, 22px); color: var(--paper); line-height: 1.5; }
.prose p { margin: 0 0 16px; }
.fine { font-size: 14.5px; color: var(--silver-dim); }

.can-label { position: relative; background: var(--paper); color: var(--paper-ink); padding: 28px 26px 22px; transform: rotate(1.5deg);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); border: 1px solid #c9b993;
  background-image: repeating-linear-gradient(transparent 0 30px, rgba(42, 33, 24, .09) 30px 31px); }
.can-label::before { content: ""; position: absolute; inset: 6px; border: 1.5px solid rgba(42, 33, 24, .55); pointer-events: none; }
.cl-top { margin: 0 0 14px; font: 400 18px/1 "Limelight", serif; letter-spacing: .25em; text-transform: uppercase; text-align: center; }
.can-label dl { margin: 0; display: grid; gap: 8px; }
.can-label dl div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: 15.5px; }
.can-label dt { font: 700 12px/1.9 "Courier Prime", monospace; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.can-label dd { margin: 0; font-family: "Courier Prime", monospace; }
.cl-note { margin: 16px 0 0; font: italic 13px/1.4 "IM Fell English", serif; opacity: .75; }

/* filmstrip steps */
.filmstrip { list-style: none; margin: 10px 0 0; padding: 30px 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background-color: #050404;
  background-image: repeating-linear-gradient(90deg, transparent 0 12px, rgba(217, 211, 197, .8) 12px 24px, transparent 24px 36px), repeating-linear-gradient(90deg, transparent 0 12px, rgba(217, 211, 197, .8) 12px 24px, transparent 24px 36px);
  background-size: 100% 9px, 100% 9px; background-position: 0 10px, 0 calc(100% - 10px); background-repeat: no-repeat; }
.filmstrip li { position: relative; padding: 26px 22px 22px; background: linear-gradient(160deg, #2a2621, #171512); border: 1px solid #3a342d; filter: sepia(.25); }
.filmstrip li:nth-child(2) { background: linear-gradient(160deg, #302b25, #1a1714); }
.fr { position: absolute; top: 10px; right: 14px; font: 700 12px/1 "Courier Prime", monospace; color: var(--silver-dim); letter-spacing: .1em; }
.fr::before { content: "FRAME "; }
.filmstrip h3 { margin: 4px 0 8px; font: italic 400 26px/1.15 "IM Fell English", serif; color: var(--paper); }
.filmstrip p { margin: 0; font-size: 15.5px; color: var(--silver); }

/* ticket */
.ticket { display: grid; grid-template-columns: 1fr 150px; max-width: 860px; margin: 0 auto; color: var(--paper-ink); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
.t-main, .t-stub { background: var(--paper); position: relative; }
.t-main { padding: 34px clamp(20px, 4vw, 46px); border-radius: 6px 0 0 6px;
  -webkit-mask: radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) ; mask: radial-gradient(circle 14px at 100% 50%, transparent 98%, #000); }
.t-main::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid rgba(42, 33, 24, .5); pointer-events: none; }
.t-stub { border-left: 2px dashed rgba(42, 33, 24, .5); border-radius: 0 6px 6px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 20px 10px;
  font: 700 12px/1 "Courier Prime", monospace; letter-spacing: .15em; text-transform: uppercase;
  -webkit-mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000); mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000); }
.t-stub p { margin: 0; }
.t-num { font-size: 22px; letter-spacing: .05em; writing-mode: vertical-rl; transform: rotate(180deg); margin: 8px 0 !important; }
.t-admit { margin: 0; text-align: center; font: 700 13px/1 "Courier Prime", monospace; letter-spacing: .5em; text-transform: uppercase; }
.t-title { margin: 6px 0 20px; text-align: center; font: 400 clamp(56px, 9vw, 96px)/1 "Limelight", serif; color: var(--paper-ink); }
.t-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.t-facts dt { font: 700 11.5px/1 "Courier Prime", monospace; letter-spacing: .16em; text-transform: uppercase; opacity: .65; margin-bottom: 4px; }
.t-facts dd { margin: 0; font: 400 19px/1.3 "Libre Caslon Text", serif; }

/* program / playbill */
.playbill { list-style: none; margin: 0; padding: 0; }
.playbill li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(217, 211, 197, .14); }
.b-name { font: italic 400 26px/1.2 "IM Fell English", serif; color: var(--paper); }
.b-lead { border-bottom: 2px dotted rgba(217, 211, 197, .35); transform: translateY(-6px); }
.b-tag { font: 700 12px/1 "Courier Prime", monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--silver-dim); padding: 6px 9px; border: 1px solid rgba(217, 211, 197, .3); }
.b-tag.showing { background: var(--paper); color: var(--black); border-color: var(--paper); }
.b-tag.upcoming { color: #e2b45f; border-color: #e2b45f; }
.playbill p { grid-column: 1 / -1; margin: 2px 0 0; font-size: 15.5px; color: var(--silver-dim); }

/* faq */
.balcony details { border-bottom: 1px solid rgba(217, 211, 197, .16); }
.balcony summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: italic 400 23px/1.3 "IM Fell English", serif; color: var(--paper); }
.balcony summary::-webkit-details-marker { display: none; }
.balcony summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 26px/1 "Limelight", serif; color: var(--sepia); transition: transform .3s; }
.balcony details[open] summary::after { transform: rotate(45deg); }
.balcony details p { margin: 0 0 20px; color: var(--silver); }

/* CA booth */
.ca { background: var(--black); }
.booth-card { max-width: 780px; margin: 0 auto; padding: 46px clamp(18px, 4vw, 48px) 36px; text-align: center; border: 1px solid rgba(200, 176, 137, .5); background: radial-gradient(80% 100% at 50% 0%, #221e1a, #0f0e0c); position: relative; }
.booth-card::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(200, 176, 137, .2); pointer-events: none; }
.bc-top { margin: 0 0 8px; font: 700 12px/1 "Courier Prime", monospace; letter-spacing: .35em; text-transform: uppercase; color: var(--sepia); }
.booth-row { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.booth-row code { max-width: 100%; word-break: break-all; font: 700 15px/1.4 "Courier Prime", monospace; padding: 12px 16px; background: #050404; border: 1px solid rgba(217, 211, 197, .25); color: var(--paper); }
.booth-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.lever { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border: 1px solid var(--silver); background: transparent; color: var(--silver);
  font: 700 13px/1 "Courier Prime", monospace; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.lever:hover:not(:disabled) { background: var(--silver); color: var(--black); }
.lever:disabled { opacity: .4; cursor: not-allowed; }
.lever--lit { background: var(--paper); color: var(--black); border-color: var(--paper); }

/* footer */
.credits { background: var(--black); padding: 0 0 40px; }
.finis { display: grid; place-items: center; padding: 70px 16px 50px; }
.finis p { margin: 0; font: 400 clamp(52px, 10vw, 120px)/1 "Limelight", serif; color: var(--paper); letter-spacing: .06em; border-top: 1px solid var(--sepia); border-bottom: 1px solid var(--sepia); padding: 14px 30px; }
.credits-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(217, 211, 197, .14); margin-bottom: 14px; }
.credits-name { font: 400 22px/1 "Limelight", serif; color: var(--paper); }
.fine-print { font-size: 13.5px; color: var(--silver-dim); max-width: 860px; }
.micro { font: 400 12px/1.4 "Courier Prime", monospace; color: var(--silver-dim); opacity: .7; }

/* ---------- responsive ---------- */
@media (max-width: 960px) { .reel-links { display: none; } }
@media (max-width: 860px) {
  .theatre { display: block; }
  .split { grid-template-columns: 1fr; }
  .filmstrip { grid-template-columns: 1fr; padding: 26px 16px; }
  .curtain { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .sound-label, .x-link span { display: none; }
  .sound { width: 38px; padding: 0; justify-content: center; }
  .x-link { width: 38px; padding: 0; justify-content: center; }
  .credits .x-link { width: auto; padding: 0 14px; }
  .credits .x-link span { display: inline; }
  .marquee-logo { font-size: 22px; }
  .marquee p { font-size: 9.5px; letter-spacing: .1em; white-space: normal; }
  .marquee .bulbs { display: none; }
  .hero { padding-left: 12px; padding-right: 12px; }
  .screen { box-shadow: 0 0 0 5px #050404, 0 0 0 6px #2b2620, 0 30px 60px -30px rgba(0, 0, 0, .9); }
  .booth { padding: 10px; }
  .crank { width: 100%; justify-content: center; }
  .ticket { grid-template-columns: 1fr; }
  .t-main { border-radius: 6px 6px 0 0; -webkit-mask: radial-gradient(circle 14px at 50% 100%, transparent 98%, #000); mask: radial-gradient(circle 14px at 50% 100%, transparent 98%, #000); }
  .t-stub { flex-direction: row; gap: 12px; border-left: 0; border-top: 2px dashed rgba(42, 33, 24, .5); border-radius: 0 0 6px 6px; -webkit-mask: radial-gradient(circle 14px at 50% 0, transparent 98%, #000); mask: radial-gradient(circle 14px at 50% 0, transparent 98%, #000); }
  .t-num { writing-mode: horizontal-tb; transform: none; margin: 0 !important; }
  .t-facts { grid-template-columns: 1fr; }
  .playbill li { grid-template-columns: 1fr auto; }
  .b-lead { display: none; }
  .can-label dl div { grid-template-columns: 84px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .grain { display: none; }
}
.usd { font-family: "Libre Caslon Text", Georgia, serif; font-weight: 700; font-size: .82em; vertical-align: .08em; margin-right: .08em; }

.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 3D picture palace (hero) ---------- */
.hero { position: relative; overflow: hidden; }
.hall { position: absolute; inset: 0; z-index: 0; display: block; opacity: 0; transition: opacity 1.4s ease .2s; }
.cinema-3d-ready .hall { opacity: 1; }
.cinema-3d .hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-start; padding-bottom: 22px; background: #070605; }
.cinema-3d .hero > :not(.hall):not(.theatre) { position: relative; z-index: 2; }
.cinema-3d .theatre { position: absolute; left: -10000px; top: 0; width: 960px; display: block; }
.cinema-3d .hero .hint { display: none; }
.cinema-3d .h1 { font-size: clamp(30px, 4.2vw, 58px); margin-bottom: 0; text-shadow: 0 2px 30px rgba(0, 0, 0, .9), 0 0 40px rgba(235, 224, 200, .12); }
.cinema-3d .hero .booth { margin-top: auto; }
.cinema-3d .booth { background: rgba(10, 9, 8, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); margin-top: 0; }
.cinema-3d .hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; z-index: 1; pointer-events: none; background: linear-gradient(transparent, rgba(7, 6, 5, .85)); }

/* ---------- live wire strip ---------- */
.wire-strip { overflow: hidden; background: #0a0908; border-top: 1px solid rgba(200, 176, 137, .3); border-bottom: 1px solid rgba(200, 176, 137, .3); padding: 10px 0; }
.wire-track { display: inline-flex; gap: 36px; white-space: nowrap; animation: wire-run 60s linear infinite; padding-left: 36px; font: 700 12.5px/1 "Courier Prime", monospace; letter-spacing: .12em; }
.wire-item { color: var(--silver-dim); }
.wire-item--ticket { color: #e2c48a; }
.wire-item--walkout { color: #a88370; }
.wire-tag { color: var(--paper); }
@keyframes wire-run { to { transform: translateX(-50%); } }
.wire-strip:hover .wire-track { animation-play-state: paused; }

/* ---------- box office ---------- */
.boxoffice { background: radial-gradient(70% 60% at 50% 0%, #241f1a, var(--char) 70%); }
.bo-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; margin-bottom: 28px; }
.bo-intro { max-width: 640px; margin: 0; color: var(--silver); }
.bo-status { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 9px 14px; border: 1px solid rgba(200, 176, 137, .45); font: 700 12px/1.3 "Courier Prime", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--sepia); max-width: 420px; }
.bo-lamp { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--silver-dim); }
.bo-status[data-lamp="live"] { color: #f0dba8; border-color: #e2b45f; }
.bo-status[data-lamp="live"] .bo-lamp { background: #e2b45f; box-shadow: 0 0 12px #e2b45f; animation: rec 1.2s steps(2) infinite; }
.bo-status[data-lamp="preview"] .bo-lamp, .bo-status[data-lamp="offline"] .bo-lamp { background: #8a5a44; }
.bo-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; }
.bo-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bo-tile { position: relative; padding: 18px 18px 16px; background: linear-gradient(160deg, #1f1b17, #12100e); border: 1px solid rgba(200, 176, 137, .28); display: grid; gap: 6px; overflow: hidden; }
.bo-tile::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(200, 176, 137, .12); pointer-events: none; }
.bo-k { font: 700 11px/1.3 "Courier Prime", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-dim); }
.bo-v { font: 400 clamp(26px, 2.8vw, 38px)/1.05 "Limelight", serif; color: var(--paper); font-variant-numeric: tabular-nums; }
.bo-v.bump { animation: bump .5s ease; }
@keyframes bump { 30% { color: #f3d99c; text-shadow: 0 0 18px rgba(243, 217, 156, .6); } }
.bo-tile small { font: 400 12.5px/1.3 "Courier Prime", monospace; color: var(--silver-dim); }
.bo-tile[data-dir="up"] .bo-v { color: #e8cf96; }
.bo-tile[data-dir="down"] .bo-v { color: #c49a86; }
.bo-side { padding: 18px; border: 1px solid rgba(200, 176, 137, .28); background: #0f0d0b; }
.bo-tempo { text-align: center; margin-bottom: 14px; }
.bo-tempo svg { width: min(220px, 100%); height: auto; display: block; margin: 0 auto; }
.bo-needle { transform-origin: 100px 100px; transform-box: view-box; transition: transform 1.2s cubic-bezier(.3, 1.6, .4, 1); }
.bo-tempo-k { margin: 0; font: 700 11px/1 "Courier Prime", monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--silver-dim); }
.bo-tempo-v { margin: 4px 0 0; font: italic 400 24px/1.1 "IM Fell English", serif; color: var(--paper); }
.bo-logh { margin: 10px 0 8px; font: 400 18px/1 "Limelight", serif; color: var(--sepia); letter-spacing: .06em; }
.bo-frames { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 330px; overflow: auto; }
.frame-row { display: grid; grid-template-columns: 74px 1fr auto auto; gap: 10px; align-items: center; padding: 7px 8px; font: 400 13px/1.2 "Courier Prime", monospace; border-bottom: 1px dashed rgba(217, 211, 197, .1); animation: frame-in .6s ease; }
@keyframes frame-in { from { background: rgba(243, 217, 156, .14); } }
.frame-kind { text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.frame-row--ticket .frame-kind { color: #e2c48a; }
.frame-row--walkout .frame-kind { color: #a88370; }
.frame-sol { color: var(--paper); }
.frame-fan { color: var(--silver-dim); text-decoration: none; }
.frame-fan:hover { color: var(--paper); text-decoration: underline; }
.frame-row time { color: var(--silver-dim); font-size: 11.5px; }
.frame-empty { padding: 14px; font: italic 400 16px/1.4 "IM Fell English", serif; color: var(--silver-dim); }
.bo-fine { margin: 18px 0 0; font-size: 13px; color: var(--silver-dim); }

/* ---------- fan wall ---------- */
.fans { background: #12100e; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .015) 0 2px, transparent 2px 60px); }
.fans-intro { margin: -8px auto 30px; max-width: 620px; }
.fan-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.stub { display: grid; grid-template-columns: 1fr 64px; background: var(--paper); color: var(--paper-ink); transform: rotate(calc((var(--i) - 5) * .35deg)); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .9);
  -webkit-mask: radial-gradient(circle 8px at calc(100% - 64px) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 8px at calc(100% - 64px) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 8px at calc(100% - 64px) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 8px at calc(100% - 64px) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
.stub--front { background: #f1dfa9; }
.stub-face { padding: 14px 14px 12px; display: grid; gap: 4px; border-right: 2px dashed rgba(42, 33, 24, .45); }
.stub-top { margin: 0; display: flex; justify-content: space-between; font: 700 10.5px/1 "Courier Prime", monospace; letter-spacing: .14em; text-transform: uppercase; color: #6b5a44; }
.stub-fan { margin: 4px 0 0; font: 700 15px/1.1 "Courier Prime", monospace; letter-spacing: .04em; }
.stub-share { margin: 0; font: 400 30px/1 "Limelight", serif; color: #3a2a1a; }
.stub-share small { font: italic 400 13px/1 "IM Fell English", serif; margin-left: 6px; color: #6b5a44; }
.stub-row { margin: 2px 0 0; display: flex; justify-content: space-between; gap: 8px; font: 400 11.5px/1.2 "Courier Prime", monospace; color: #6b5a44; }
.stub-tear { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font: 700 10px/1 "Courier Prime", monospace; letter-spacing: .14em; text-transform: uppercase; color: #6b5a44; }
.stub-tear b { font: 400 24px/1 "Limelight", serif; color: #3a2a1a; letter-spacing: 0; }
.stub-tear em { font-style: normal; font-size: 9px; padding: 2px 4px; background: #3a2a1a; color: var(--paper); margin-top: 4px; }
.stub-empty { color: var(--silver-dim); }
.fans-note { margin: 24px auto 0; max-width: 760px; text-align: center; font-size: 13.5px; color: var(--silver-dim); }

/* ---------- premiere desk ---------- */
.premiere { background: radial-gradient(60% 50% at 80% 20%, #2a2119, var(--char) 70%); }
.pm-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.pm-terms { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.pm-terms li { padding-left: 28px; position: relative; }
.pm-terms li::before { content: "◆"; position: absolute; left: 4px; top: 1px; color: var(--gold); font-size: 12px; }
.pm-terms b { color: var(--paper); font-weight: 700; }
.pm-booth { margin-bottom: 26px; }
.usher { position: relative; display: inline-block; }
.usher-btn { height: 46px; padding: 0 20px; border: 1px solid var(--gold); background: transparent; color: var(--paper); font: 700 13px/1 "Courier Prime", monospace; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, translate .25s cubic-bezier(.2, .8, .3, 1.4); }
.usher-btn:hover { background: rgba(185, 150, 89, .14); }
.usher-btn.is-seated { background: var(--gold); color: var(--black); }
.usher-menu { position: absolute; left: 0; top: calc(100% + 8px); z-index: 40; min-width: 260px; padding: 8px; display: grid; gap: 2px; background: #15120f; border: 1px solid var(--gold); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .9); animation: usher-in .25s ease; }
@keyframes usher-in { from { opacity: 0; transform: translateY(-6px); } }
.usher-opt { display: flex; align-items: center; gap: 8px; padding: 10px; border: 0; background: transparent; color: var(--silver); font: 400 15px/1.2 "Libre Caslon Text", serif; text-align: left; text-decoration: none; cursor: pointer; }
.usher-opt:hover { background: rgba(217, 211, 197, .08); color: var(--paper); }
.usher-addr { padding: 6px 10px; font: 700 12px/1.4 "Courier Prime", monospace; word-break: break-all; color: var(--paper); }
.usher-note { padding: 2px 10px 6px; font-size: 12.5px; color: var(--silver-dim); }
.np { border: 1px solid rgba(200, 176, 137, .35); background: #0f0d0b; padding: 18px; }
.np-h { margin: 0 0 12px; font: 400 24px/1 "Limelight", serif; color: var(--paper); display: flex; align-items: baseline; gap: 12px; }
.np-h span { font: 700 11px/1 "Courier Prime", monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--silver-dim); }
.np-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 380px; overflow: auto; }
.np-list a { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px; text-decoration: none; border: 1px solid transparent; transition: border-color .2s, background .2s, transform .2s; }
.np-list a:hover { border-color: rgba(200, 176, 137, .4); background: rgba(217, 211, 197, .04); transform: translateX(3px); }
.np-list img, .np-reel { width: 52px; height: 52px; object-fit: cover; border: 1px solid rgba(200, 176, 137, .5); filter: sepia(.35) contrast(1.05); }
.np-reel { display: block; border-radius: 50%; background: radial-gradient(circle, #0f0d0b 18%, transparent 19%), conic-gradient(from 0deg, var(--sepia) 0 12%, #2a2520 0 20%, var(--sepia) 0 32%, #2a2520 0 40%, var(--sepia) 0 52%, #2a2520 0 60%, var(--sepia) 0 72%, #2a2520 0 80%, var(--sepia) 0 92%, #2a2520 0); }
.np-title { font-size: 15px; color: var(--silver); min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.np-title b { color: var(--paper); font-family: "Courier Prime", monospace; letter-spacing: .06em; }
.np-title small { display: block; font: 400 12px/1.3 "Courier Prime", monospace; color: var(--silver-dim); }
.np-cap { font: 400 18px/1 "Limelight", serif; color: var(--sepia); }
.np-empty { padding: 16px; text-align: center; font: italic 400 18px/1.4 "IM Fell English", serif; color: var(--silver-dim); }
.desk { position: relative; display: grid; gap: 14px; padding: 26px clamp(18px, 3vw, 30px) 26px; border: 1px solid var(--gold); background: linear-gradient(170deg, #1d1915, #100e0c); box-shadow: 0 50px 80px -50px rgba(0, 0, 0, .95), inset 0 0 0 6px #100e0c, inset 0 0 0 7px rgba(185, 150, 89, .35); }
.desk label { display: grid; gap: 6px; font: 700 12px/1.2 "Courier Prime", monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--sepia); }
.desk label small { font-weight: 400; letter-spacing: .02em; text-transform: none; color: var(--silver-dim); }
.desk input, .desk textarea { width: 100%; padding: 12px 13px; border: 1px solid rgba(217, 211, 197, .25); background: #0a0908; color: var(--paper); font: 400 16px/1.35 "Libre Caslon Text", serif; transition: border-color .2s, box-shadow .2s; }
.desk input:focus, .desk textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185, 150, 89, .25); }
.desk [aria-invalid="true"] { border-color: #c47a62; box-shadow: 0 0 0 3px rgba(196, 122, 98, .25); }
.desk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.desk-marquee { display: grid; grid-template-columns: 22px 1fr 22px; gap: 10px; align-items: stretch; padding: 12px; background: #0a0908; border: 1px solid rgba(185, 150, 89, .5); }
.desk-bulbs { background: radial-gradient(circle, #f3d99c 3px, transparent 4px) 50% 0 / 22px 18px repeat-y; filter: drop-shadow(0 0 4px rgba(243, 217, 156, .8)); animation: chase-v 1.1s steps(2) infinite; }
@keyframes chase-v { 50% { background-position: 50% 9px; opacity: .7; } }
.desk-sign { display: flex; align-items: center; gap: 14px; padding: 10px; background: radial-gradient(100% 120% at 50% 0%, #2a241e, #15120f); min-width: 0; }
.desk-poster { width: 84px; height: 84px; flex: none; border: 2px solid var(--gold); background: #0a0908 center / cover no-repeat; display: grid; place-items: center; filter: sepia(.3); }
.desk-poster::after { content: "?"; font: 400 34px/1 "Limelight", serif; color: var(--sepia); }
.desk-poster.has-poster::after { content: none; }
.desk-poster.has-poster { animation: poster-in .7s steps(5); }
@keyframes poster-in { 0% { opacity: 0; } 40% { opacity: .7; } 60% { opacity: .3; } 100% { opacity: 1; } }
.desk-sign-txt { display: grid; gap: 4px; min-width: 0; }
.desk-sign-txt em { font: italic 400 15px/1 "IM Fell English", serif; color: var(--sepia); }
.desk-sign-txt b { font: 400 clamp(20px, 2.3vw, 30px)/1 "Limelight", serif; color: #f6e7c1; text-shadow: 0 0 16px rgba(243, 217, 156, .45); letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desk-sign-txt i { font: 400 13px/1.2 "Courier Prime", monospace; color: var(--silver-dim); font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desk-file { cursor: pointer; }
.desk-file-btn { display: inline-flex; width: max-content; align-items: center; height: 40px; padding: 0 16px; border: 1px dashed var(--sepia); font: 700 12px/1 "Courier Prime", monospace; letter-spacing: .12em; color: var(--paper); transition: background .2s; }
.desk-file:hover .desk-file-btn { background: rgba(200, 176, 137, .1); }
.desk-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.desk-chips input { flex: 1 1 110px; width: auto; }
.desk-chips button { height: 46px; padding: 0 14px; border: 1px solid rgba(217, 211, 197, .3); background: transparent; color: var(--silver); font: 700 13px/1 "Courier Prime", monospace; cursor: pointer; transition: background .2s, color .2s; }
.desk-chips button:hover { background: var(--silver); color: var(--black); }
.ledger { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.ledger li { display: grid; grid-template-columns: 40% 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px dotted rgba(217, 211, 197, .18); }
.ledger li span { font: 700 11.5px/1.5 "Courier Prime", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--silver-dim); }
.ledger li b { font-weight: 400; color: var(--silver); }
.ledger-total b { color: var(--paper) !important; font-size: 16px; font-weight: 700 !important; }
.ledger-fine { margin: 8px 0 0; font-size: 12.5px; color: var(--silver-dim); }
.desk-closed { margin: 0; padding: 10px 13px; background: rgba(226, 180, 95, .12); border-left: 3px solid #e2b45f; font-size: 14px; }
.desk-trouble { margin: 0; padding: 10px 13px; background: rgba(196, 122, 98, .14); border-left: 3px solid #c47a62; color: #f0cbbd; font-size: 14px; }
.desk-roll { width: 100%; height: 56px; font-size: 14px; letter-spacing: .16em; }
.desk-roll.is-rolling { background-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, .12) 0 14px, transparent 14px 28px); background-size: 56px 100%; animation: sprocket .6s linear infinite; }
@keyframes sprocket { to { background-position: 56px 0; } }
.desk-reel { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; counter-reset: fr; }
.desk-reel li { counter-increment: fr; position: relative; padding: 18px 4px 6px; text-align: center; font: 700 9.5px/1.2 "Courier Prime", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--silver-dim); background: #0a0908; border-top: 3px dotted rgba(217, 211, 197, .25); border-bottom: 3px dotted rgba(217, 211, 197, .25); }
.desk-reel li::before { content: counter(fr); position: absolute; top: 4px; left: 0; right: 0; font: 400 11px/1 "Limelight", serif; }
.desk-reel li[data-state="rolling"] { color: var(--black); background: #e2c48a; animation: rec 1s steps(2) infinite; }
.desk-reel li[data-state="done"] { color: var(--paper); background: #2b3a2a; }
.desk-reel li[data-state="snap"] { color: #f0cbbd; background: #4a2620; }
.desk-notice { padding: 14px; border: 1px solid rgba(200, 176, 137, .4); background: #0a0908; font-size: 14px; }
.notice-h { margin: 0 0 6px; font: 400 20px/1.2 "Limelight", serif; color: var(--paper); }
.notice-good { color: #e8cf96; } .notice-bad { color: #e0a38f; }
.notice-links { display: flex; gap: 16px; flex-wrap: wrap; margin: 6px 0; }
.notice-links a { color: var(--sepia); font-weight: 700; }
.notice-mint { margin: 0; font: 400 12px/1.4 "Courier Prime", monospace; word-break: break-all; color: var(--silver-dim); }

/* ---------- toasts ---------- */
.slates { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 160; display: grid; gap: 8px; justify-items: center; pointer-events: none; width: min(92vw, 520px); }
.slate { padding: 12px 20px; background: var(--paper); color: var(--black); font: 700 13px/1.3 "Courier Prime", monospace; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .8); outline: 1px solid var(--paper); outline-offset: 3px; animation: slate-in .5s steps(4); text-align: center; }
.slate--gone { opacity: 0; transition: opacity .45s; }
@keyframes slate-in { 0% { opacity: 0; } 50% { opacity: .6; } 75% { opacity: .2; } 100% { opacity: 1; } }

/* ---------- motion polish ---------- */
.warm { opacity: 0; filter: brightness(.3); transform: translateY(22px); transition: opacity .9s ease var(--lag, 0ms), filter 1.1s ease var(--lag, 0ms), transform 1s cubic-bezier(.2, .7, .2, 1) var(--lag, 0ms); }
.warm--on { opacity: 1; filter: none; transform: none; }
.lobby { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .4s cubic-bezier(.2, .8, .3, 1), opacity .9s ease var(--lag, 0ms), filter 1.1s ease var(--lag, 0ms); background-image: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255, 244, 214, .08), transparent 45%); }
.stub.lobby { transform: perspective(900px) rotate(calc((var(--i) - 5) * .35deg)) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
.lobby.warm:not(.warm--on) { transform: translateY(22px); }
.lever, .x-link, .sound, .bk { transition: background .2s, color .2s, border-color .2s, translate .25s cubic-bezier(.2, .8, .3, 1.4); }
.followspot { position: fixed; left: -160px; top: -160px; width: 320px; height: 320px; border-radius: 50%; pointer-events: none; z-index: 140; opacity: 0; transition: opacity .4s; background: radial-gradient(circle, rgba(255, 240, 205, .07), rgba(255, 240, 205, .03) 40%, transparent 70%); mix-blend-mode: screen; }
.followspot--on { opacity: 1; }

@media (max-width: 980px) { .bo-grid { grid-template-columns: 1fr; } .pm-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .bo-tiles { grid-template-columns: repeat(2, 1fr); }
  .desk-two { grid-template-columns: 1fr; }
  .desk-reel { grid-template-columns: repeat(3, 1fr); }
  .frame-row { grid-template-columns: 64px 1fr auto; } .frame-row time { display: none; }
  .ledger li { grid-template-columns: 1fr; gap: 2px; }
  .bo-status { max-width: none; }
  .desk-marquee { grid-template-columns: 1fr; padding: 8px; }
  .desk-bulbs { display: none; }
  .desk-poster { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) { .warm { opacity: 1; filter: none; transform: none; } .wire-track { animation: none; } .lobby { transform: none; } }
