/* ==========================================================================
   The Blacklist Ball — v4 · barebones · black and white · serif
   ========================================================================== */
:root {
  --black: #141414; --white: #FFFFFF;
  --muted: rgba(255,255,255,.62); --faint: rgba(255,255,255,.34); --line: rgba(255,255,255,.18);
  --font-display: "freight-big-pro", "Instrument Serif", "Times New Roman", Georgia, serif;
  --font-body: "freight-text-pro", "Newsreader", "Times New Roman", Georgia, serif;
  --gutter: clamp(24px, 5vw, 96px); --max: 1360px; --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(110px, 16vw, 230px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--font-body); font-size: 18px; line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--white); color: var(--black); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
.light { --muted: rgba(20,20,20,.62); --faint: rgba(20,20,20,.34); --line: rgba(20,20,20,.18); background: var(--white); color: var(--black); }
.eyebrow { font-family: var(--font-body); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.h2 { margin: 0 0 clamp(40px, 6vw, 88px); font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5.6vw, 92px); line-height: 1.02; letter-spacing: -.01em; max-width: 16ch; }
.h2 em, .serif-i { font-style: italic; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; font-family: var(--font-body); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; transition: background .3s, color .3s; }
.btn:hover { background: var(--white); color: var(--black); }
.light .btn:hover { background: var(--black); color: var(--white); }
.link { border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* faint dither on every section */
.grain::after, .intro::after, .details::after, .lineup::after, .menu-section::after, .access::after, .after::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("../images/dither-light.png") 0 0 / 128px 128px; image-rendering: pixelated; opacity: .07; z-index: 0; }
.details::after, .menu-section::after, html.inverted .after::after { background-image: url("../images/dither-dark.png"); opacity: .09; }
section { position: relative; }

/* reveal */
html.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.js .rv.in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: .1s; } .rv[data-d="2"] { transition-delay: .2s; } .rv[data-d="3"] { transition-delay: .3s; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter); background: rgba(20,20,20,.86); border-bottom: 1px solid var(--line); transform: translateY(-100%); transition: transform .6s var(--ease), background .6s, color .6s; }
.nav.is-visible { transform: none; }
.brand { font-family: var(--font-display); font-size: 20px; letter-spacing: .01em; }
.nav__links { display: flex; gap: 28px; justify-content: center; }
.nav__links a { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.nav__links a:hover { color: inherit; }
.nav__cta { justify-self: end; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.burger { display: none; justify-self: end; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 26px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); } .burger.is-open span:nth-child(2) { opacity: 0; } .burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 40; background: var(--black); color: var(--white); display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 90px var(--gutter) 40px; transform: translateY(-100%); visibility: hidden; transition: transform .6s var(--ease); }
.menu.is-open { transform: none; visibility: visible; }
.menu a { font-family: var(--font-display); font-size: clamp(34px, 9vw, 64px); line-height: 1.1; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* ---------- intro: the window (the viewport is the glass) ---------- */
.intro { position: relative; height: 100svh; min-height: 560px; background: var(--black); overflow: hidden; }
.intro::before { content: ""; position: absolute; left: 50%; top: 100%; width: min(160vh, 180vw); aspect-ratio: 1; transform: translate(-50%, -50%); background: url("../images/glow-red.png") center / 100% 100% no-repeat; image-rendering: pixelated; opacity: .55; pointer-events: none; z-index: 0; }
.booth__glass { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.glass__glow { position: absolute; left: 50%; top: 104%; width: min(150vh, 170vw); aspect-ratio: 1; transform: translate(-50%, -50%); background: url("../images/glow-glass.png") center / 100% 100% no-repeat; image-rendering: pixelated; opacity: .55; pointer-events: none; animation: throb 5s ease-in-out infinite alternate; }
@keyframes throb { from { opacity: .4; transform: translate(-50%,-50%) scale(.94); } to { opacity: .7; transform: translate(-50%,-50%) scale(1.06); } }
.booth.is-lit .glass__glow { animation: none; opacity: 1; transform: translate(-50%,-50%) scale(1.3); transition: opacity .25s, transform .8s var(--ease); }
.booth.is-flash .booth__glass { animation: flash .5s steps(2) 2; }
@keyframes flash { 50% { filter: invert(1); } }
.ly { position: absolute; will-change: transform; }
.glass__zoltar { left: 50%; bottom: -8%; height: 104%; width: auto; transform: translateX(-50%); }
.glass__hand { left: 50%; top: 52%; height: 34%; width: auto; transform: translateX(-4%) rotate(-8deg); transform-origin: 80% 0; }
.glass__sheen { position: absolute; inset: 0; z-index: 6; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.02) 28%, transparent 44%, transparent 62%, rgba(255,255,255,.05) 100%); }
.pane { position: absolute; inset: 18px; z-index: 3; border: 1px solid rgba(255,255,255,.28); pointer-events: none; }
.pane::before, .pane::after { content: ""; position: absolute; width: 22px; height: 22px; border: 1px solid rgba(255,255,255,.5); }
.pane::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; } .pane::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.booth__sign { position: absolute; left: 50%; top: 44px; transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: .3em; padding: 10px 26px; background: var(--white); color: var(--black); border: 2px solid var(--black); box-shadow: inset 0 0 0 2px var(--white); font-family: var(--font-display); font-size: clamp(18px, 2.6vw, 30px); line-height: 1; white-space: nowrap; letter-spacing: .02em; }
.booth__sign span:nth-child(2) { font-style: italic; }
.glass__date { position: absolute; top: 40px; z-index: 4; font-family: var(--font-body); letter-spacing: .3em; text-transform: uppercase; font-size: 12px; color: rgba(255,255,255,.75); }
.glass__date--l { left: 40px; } .glass__date--r { right: 40px; }
.glass__fortune { position: absolute; left: 10%; right: 10%; top: 26%; text-align: center; z-index: 6; font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 3.2vw, 44px); line-height: 1.2; color: var(--white); opacity: 0; transition: opacity .4s; text-shadow: 0 0 18px rgba(255,255,255,.5); }
.booth.is-told .glass__fortune { opacity: 1; }
/* fixtures at the bottom corners */
.booth__slot { position: absolute; left: 40px; bottom: 40px; width: 220px; height: 14px; z-index: 5; pointer-events: none; }
.slot__mouth { position: absolute; inset: 0; background: #000; border: 1px solid rgba(255,255,255,.45); }
.ticket { position: absolute; left: 4%; bottom: 12px; width: 92%; aspect-ratio: 2.55 / 1; display: grid; grid-template-columns: 27% 1fr; background: var(--white); color: var(--black); border: 1.5px solid var(--black); clip-path: inset(100% 0 0 0); transform-origin: 50% 100%; transition: clip-path 1.1s cubic-bezier(.3,.8,.3,1), transform 1.1s cubic-bezier(.3,.8,.3,1); pointer-events: auto; cursor: pointer;
  -webkit-mask: radial-gradient(circle at 27% 0, transparent 5px, #000 5.5px) top / 100% 51% no-repeat, radial-gradient(circle at 27% 100%, transparent 5px, #000 5.5px) bottom / 100% 51% no-repeat; mask: radial-gradient(circle at 27% 0, transparent 5px, #000 5.5px) top / 100% 51% no-repeat, radial-gradient(circle at 27% 100%, transparent 5px, #000 5.5px) bottom / 100% 51% no-repeat; }
.booth.is-printed .ticket { clip-path: inset(0 0 0 0); transform: translateY(-14%) rotate(-2deg); }
.ticket__stub { display: grid; place-items: center; border-right: 1.5px dashed var(--black); font-family: var(--font-body); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; line-height: 1.1; text-align: center; padding: 4%; }
.ticket__body { padding: 5% 6%; display: grid; align-content: center; gap: 3%; }
.ticket__k { font-family: var(--font-display); font-size: 12px; letter-spacing: .02em; line-height: 1.1; }
.ticket__v { font-family: var(--font-display); font-style: italic; font-size: 20px; line-height: 1; }
.ticket__s { font-family: var(--font-body); font-size: 9px; letter-spacing: .06em; line-height: 1.25; }
.booth__button { position: absolute; right: 40px; bottom: 34px; width: 64px; height: 64px; border-radius: 50%; z-index: 5; border: none; padding: 0; cursor: pointer; background: radial-gradient(circle at 35% 30%, #ffffff, #d6d6d6 55%, #7a7a7a); box-shadow: 0 0 0 2px var(--black), 0 0 0 4px var(--white), 0 6px 0 #3a3a3a; transition: transform .12s ease, box-shadow .12s ease; animation: pulse 2.2s ease-in-out infinite; }
.booth__button span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-body); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--black); }
.booth__button:hover { animation: none; filter: brightness(1.15); }
.booth__button:active, .booth.is-pressed .booth__button { transform: translateY(5px); box-shadow: 0 0 0 2px var(--black), 0 0 0 4px var(--white), 0 1px 0 #3a3a3a; animation: none; }
@keyframes pulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.2); } }
.intro__hint { position: absolute; left: 0; right: 0; bottom: 48px; z-index: 4; text-align: center; color: var(--muted); font-style: italic; font-size: 17px; transition: opacity .5s; pointer-events: none; }
.intro.is-done .intro__hint { opacity: 0; }
.intro__next { position: absolute; left: 50%; bottom: 48px; transform: translateX(-50%); z-index: 5; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; opacity: 0; transition: opacity .6s .4s; pointer-events: none; }
.intro.is-done .intro__next { opacity: 1; pointer-events: auto; }
.intro::after { display: none; }

/* ---------- details (white) ---------- */
.details { padding: var(--pad) 0; }
.cast { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); align-items: end; padding-top: 12px; }
.cast__fig { margin: 0; display: grid; gap: 20px; justify-items: start; }
.cast__fig img { height: clamp(220px, 28vw, 440px); width: auto; max-width: 100%; object-fit: contain; }
.cast__fig figcaption { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.facts { list-style: none; margin: clamp(64px, 9vw, 130px) 0 0; padding: clamp(28px, 3vw, 44px) 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.facts li { display: grid; gap: 10px; }
.facts__k { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.facts__v { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.05; }

/* ---------- lineup (black) ---------- */
.lineup { padding: var(--pad) 0; }
.lineup__head { margin-bottom: 0; }
.blurb { margin: 0 0 22px; padding: 0; max-width: 34ch; font-style: italic; font-size: clamp(19px, 1.7vw, 26px); line-height: 1.35; color: var(--muted); }
.blurb cite { display: block; margin-top: 8px; font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.blurb--2 { margin-left: 0; } .blurb--3 { margin-left: 0; }
.blurb--1, .blurb--2, .blurb--3 { transform: none; }
.lineup__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); margin-top: clamp(56px, 8vw, 120px); padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--line); }
.bill { padding: 0; border: 0; background: transparent; }
.bill--wide { grid-column: 1 / -1; padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--line); }
.bill__k { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.bill__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 60px); line-height: 1.05; }
.bill__list--events { font-size: clamp(24px, 2.6vw, 42px); gap: 14px; font-style: italic; }
.star { display: none; }
.lineup .blurbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }

/* ---------- menu (white) ---------- */
.menu-section { padding: var(--pad) 0; }
.card { max-width: none; margin: 0; border: 0; padding: 0; background: transparent; }
.card__head { text-align: left; margin-bottom: 0; }
.card__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--line); }
.card__k { margin: 0 0 18px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); border: 0; padding: 0; }
.card__p { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(24px, 2.4vw, 38px); line-height: 1.25; }
.card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 34px); line-height: 1.15; }
.card__list em { font-style: italic; }

/* ---------- access (black) ---------- */
.access { padding: var(--pad) 0; }
.access__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); align-items: start; }
.access__p { margin: 0; color: var(--muted); max-width: 40ch; font-size: 19px; }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.field input { height: 48px; padding: 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: inherit; outline: none; transition: border-color .3s; font-size: 20px; }
.field input:focus { border-bottom-color: currentColor; }
.form__submit { margin-top: 12px; width: max-content; }
.form-msg { display: none; padding: 18px 0; border-top: 1px solid var(--line); margin-top: 14px; font-style: italic; }
.form-msg.show { display: block; }

/* ---------- after party ---------- */
.after { padding: var(--pad) 0 clamp(56px, 8vw, 120px); min-height: 100svh; background: var(--black); color: var(--white); transition: background .9s ease, color .9s ease; }
html.inverted .after { --muted: rgba(20,20,20,.62); --faint: rgba(20,20,20,.34); --line: rgba(20,20,20,.18); background: var(--white); color: var(--black); }
html.inverted .footer { --muted: rgba(20,20,20,.62); --line: rgba(20,20,20,.18); background: var(--white); color: var(--black); }
html.inverted .nav { background: rgba(255,255,255,.9); color: var(--black); --muted: rgba(20,20,20,.62); --line: rgba(20,20,20,.18); }
.after__head { text-align: left; }
.after__p { color: var(--muted); font-style: italic; transition: opacity .5s; margin: -20px 0 40px; }
.flip { width: min(520px, 92vw); margin: 0; perspective: 1600px; }
.flip__inner { position: relative; width: 100%; aspect-ratio: 1; transform-style: preserve-3d; transition: transform 1.6s cubic-bezier(.65, 0, .25, 1); }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__front, .flip__back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; }
.flip__back { transform: rotateY(180deg); }
.flip__back img { width: 100%; height: 100%; object-fit: contain; }
.ticket--big { position: static; width: 100%; clip-path: none; transform: rotate(-4deg); }
.ticket--big .ticket__stub { font-size: clamp(14px, 2.2vw, 20px); } .ticket--big .ticket__k { font-size: clamp(14px, 2vw, 20px); } .ticket--big .ticket__v { font-size: clamp(26px, 4.4vw, 48px); } .ticket--big .ticket__s { font-size: clamp(10px, 1.4vw, 15px); }
.after__reveal { margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--line); opacity: 0; transform: translateY(16px); transition: opacity 1s .9s var(--ease), transform 1s .9s var(--ease); }
.after.is-revealed .after__reveal { opacity: 1; transform: none; }
.after.is-revealed .after__p { opacity: 0; }
.after__k { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.after__acts { list-style: none; margin: 0 0 24px; padding: 0; font-family: var(--font-display); font-size: clamp(40px, 6vw, 96px); line-height: 1.02; }
.after__meta { display: flex; gap: 28px; flex-wrap: wrap; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- footer ---------- */
.footer { background: var(--black); color: var(--white); border-top: 1px solid var(--line); transition: background .9s ease, color .9s ease; }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px var(--gutter) 30px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .cast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lineup__grid, .card__cols, .access__grid, .lineup .blurbs { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .glass__zoltar { height: 82%; bottom: 8%; }
  .glass__hand { height: 26%; top: 48%; }
  .booth__slot { left: 20px; bottom: 96px; width: 170px; }
  .booth__button { right: 20px; bottom: 90px; width: 56px; height: 56px; }
  .intro__hint, .intro__next { bottom: 30px; }
  .booth__sign { top: 30px; }
  .glass__date { top: 84px; font-size: 10px; } .glass__date--l { left: 0; right: 0; text-align: center; } .glass__date--r { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .h2 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glass__glow, .booth__button { animation: none; }
  html.js .rv { opacity: 1; transform: none; transition: none; }
}
