/* ChicagoNYEtickets.com
   Tokens first. No raw hex below this block. */
:root {
  --ink: #070605;
  --night: #17120d;
  --spark: #d6a21e;
  --white: #f7f2e8;
  --copper: #c58a4e;

  --ink-rgb: 7, 6, 5;
  --night-rgb: 23, 18, 13;
  --spark-rgb: 214, 162, 30;

  --text: rgba(247, 242, 232, 0.88);
  --text-dim: rgba(247, 242, 232, 0.72);
  --hair: rgba(214, 162, 30, 0.3);
  --glass: rgba(247, 242, 232, 0.05);

  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --mono: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  /* One tracking constant for display, one for logistics. */
  --track-display: -0.015em;
  --track-mono: 0.2em;

  /* Display scale. Every rung carries an svh ceiling next to its width term.
     If this scale is carried to another project, carry the ceilings with it. */
  --display-hero: min(clamp(3.4rem, 9.4vw, 9.5rem), 19svh);
  --display-1: min(clamp(2.6rem, 6vw, 6rem), 14svh);
  --display-num: min(clamp(3.4rem, 7.4vw, 7.4rem), 16svh);
  --display-count: min(clamp(2.5rem, 5.2vw, 5.2rem), 11svh);
  --display-2: min(clamp(1.9rem, 3.3vw, 3.2rem), 9svh);
  --display-3: clamp(1.55rem, 2.1vw, 2rem);

  --gutter: clamp(16px, 4vw, 56px);
  --band-y: clamp(56px, 8vw, 112px);
  --panel-inset: clamp(8px, 1.6vw, 22px);
  --radius: 10px;
  --pill: 999px;
  --nav-h: 64px;

  --silver: #c9ccd3;
  --notch: 6px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--sans); font-size: 1rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--spark); outline-offset: 2px; border-radius: 4px; }
.band--spark :focus-visible { outline-color: var(--ink); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 90; background: var(--white); color: var(--ink); padding: 12px 16px; border-radius: var(--pill); }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Grain. Fixed, never on a scrolling layer, never takes a tap. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.06; mix-blend-mode: overlay;
}

/* ------------------------------------------------------------ type */
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: var(--track-display); color: var(--white); text-wrap: balance; }
.h1 { font-size: var(--display-1); line-height: 0.86; }
.h2 { font-size: var(--display-2); line-height: 0.9; }
.h3 { font-size: var(--display-3); line-height: 0.96; }
.mono { font-family: var(--mono); font-weight: 500; font-size: 0.74rem; line-height: 1.35; letter-spacing: var(--track-mono); text-transform: uppercase; }
.lede { font-size: clamp(1rem, 1.25vw, 1.14rem); max-width: 56ch; color: var(--text); }
.wrap { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.head { display: grid; gap: 14px; margin-bottom: clamp(26px, 4vw, 48px); max-width: 820px; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--pill); border: 0; cursor: pointer;
  background: var(--spark); color: var(--ink); text-decoration: none; white-space: nowrap;
  font-family: var(--mono); font-weight: 600; font-size: 0.8rem; letter-spacing: var(--track-mono); text-transform: uppercase;
  transition: transform 260ms var(--ease-out), background-color 200ms;
}
.btn .arr { display: inline-block; transition: transform 260ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--ghost { background: rgba(var(--ink-rgb), 0.45); color: var(--white); box-shadow: inset 0 0 0 1px var(--hair); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.74rem; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover .arr { transform: translateX(4px); }
  .btn--ghost:hover { background: rgba(var(--ink-rgb), 0.7); }
}
.link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--mono); font-weight: 500; font-size: 0.74rem; letter-spacing: var(--track-mono); text-transform: uppercase; color: var(--white); text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 5px; background: none; border: 0; padding: 0; cursor: pointer; }
.link:active { opacity: 0.7; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: var(--spark); } }

/* ------------------------------------------------------------ nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 calc(var(--panel-inset) + clamp(8px, 1.6vw, 22px));
  transition: background-color 300ms, box-shadow 300ms;
}
.nav.is-stuck { background: rgba(var(--ink-rgb), 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 -1px 0 var(--hair); }
.nav__brand { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.nav__brand img { display: block; height: auto; }
.nav__links { display: flex; gap: clamp(14px, 2.2vw, 30px); }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); text-decoration: none; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: var(--spark); transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover::after { transform: scaleX(1); } }
@media (max-width: 860px) { .nav__links { display: none; } }
@media (max-width: 400px) { .nav__brand img { width: 130px; } .nav .btn--sm { padding: 0 14px; } }

/* ------------------------------------------------------------ hero: inset photo panel */
.hero { padding: var(--nav-h) var(--panel-inset) var(--panel-inset); }
.hero__panel {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius);
  height: calc(100svh - var(--nav-h) - var(--panel-inset)); min-height: 540px;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); grid-template-rows: auto 1fr;
  gap: 18px 40px; padding: clamp(18px, 3vw, 44px);
}
.hero__media { position: absolute; inset: -4% 0; z-index: -3; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1600ms ease; }
.hero__media img.is-on { opacity: 1; }
.hero__media img:first-child { object-position: 60% 40%; }
.hero__spark { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }
.hero__panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(var(--ink-rgb), 0.82) 0%, rgba(var(--ink-rgb), 0.38) 55%, rgba(var(--ink-rgb), 0.55) 100%),
    linear-gradient(180deg, rgba(var(--ink-rgb), 0.5) 0%, rgba(var(--ink-rgb), 0) 34%, rgba(var(--ink-rgb), 0.86) 100%);
}
.hero__by { grid-column: 1 / -1; grid-row: 1; display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; width: max-content; min-height: 44px; }
.hero__by img { width: clamp(52px, 5.4vw, 76px); height: auto; }
.hero__copy { grid-column: 1; grid-row: 2; align-self: end; display: grid; gap: clamp(10px, 1.8svh, 18px); justify-items: start; }
.hero__eyebrow { color: var(--white); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.hero__eyebrow i { font-style: normal; color: var(--spark); }
@media (max-width: 520px) {
  .hero__eyebrow span:first-child { flex-basis: 100%; }
  .hero__eyebrow i:first-of-type { display: none; }
  .hero__ctas .btn { padding-inline: 18px; }
}
.hero__title { font-size: var(--display-hero); line-height: 0.82; }
.hero__title span { display: block; }
.hero__line { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; color: var(--white); font-size: clamp(1.25rem, 2.2vw, 2rem); line-height: 1; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.hero__count { grid-column: 2; grid-row: 2; align-self: end; justify-self: end; display: grid; gap: 10px; justify-items: end; text-align: right; }
.hero__count > p { color: var(--white); }

.countdown { display: none; gap: clamp(10px, 1.6vw, 22px); }
.js .countdown { display: flex; }
.countdown__cell { display: grid; gap: 6px; justify-items: center; min-width: 2.1ch; }
.countdown__num { font-family: var(--display); font-weight: 800; font-size: var(--display-count); line-height: 0.84; letter-spacing: var(--track-display); color: var(--white); font-variant-numeric: tabular-nums; }
.countdown__num.tick { animation: tick 420ms var(--ease-out); }
@keyframes tick { from { transform: translateY(-0.16em); opacity: 0.3; } to { transform: none; opacity: 1; } }
.countdown__lbl { color: var(--text-dim); font-size: 0.66rem; }
.countdown__static { color: var(--white); }
.js .countdown__static { display: none; }

@media (max-height: 760px) and (min-width: 820px) {
  .hero__panel { padding-block: 16px 22px; gap: 10px 40px; }
  .hero__by img { width: 50px; }
  .hero__copy { gap: 9px; }
}
@media (max-width: 860px) {
  .hero__panel { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; height: auto; min-height: calc(100svh - var(--nav-h) - var(--panel-inset)); gap: 16px; }
  .hero__copy { grid-row: 2; }
  .hero__count { grid-column: 1; grid-row: 3; justify-self: start; justify-items: start; text-align: left; }
  .hero__title { font-size: min(clamp(3.4rem, 19vw, 7rem), 15svh); }
}

/* ------------------------------------------------------------ bands: every section is a room on a photograph */
.band { position: relative; isolation: isolate; padding-block: var(--band-y); }
.band__bg { position: absolute; inset: 0; z-index: -2; overflow: clip; }
.band__bg img { position: sticky; top: 0; width: 100%; height: 100svh; min-height: 100%; object-fit: cover; }
.band--short .band__bg img { position: absolute; inset: 0; height: 100%; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim); }
.band--ink { --scrim: linear-gradient(180deg, rgba(var(--ink-rgb), 0.93), rgba(var(--ink-rgb), 0.84) 50%, rgba(var(--ink-rgb), 0.93)); background: var(--ink); }
.band--night { --scrim: linear-gradient(180deg, rgba(var(--night-rgb), 0.93), rgba(var(--night-rgb), 0.84) 50%, rgba(var(--night-rgb), 0.94)); background: var(--night); }
.band--spark { --scrim: linear-gradient(180deg, rgba(var(--spark-rgb), 0.9), rgba(var(--spark-rgb), 0.84)); background: var(--spark); color: var(--ink); }
.band--spark .band__bg img { filter: grayscale(1) contrast(1.1) brightness(1.5); }
.band--spark .display { color: var(--ink); }

/* ------------------------------------------------------------ venue reel (the one moving strip) */
.reelband { background: var(--night); padding-block: clamp(14px, 2vw, 22px); }
.reel { overflow-x: auto; scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.reel__track { display: flex; width: max-content; }
.reel__group { display: flex; gap: 12px; padding-right: 12px; flex-shrink: 0; }
.reel__item { position: relative; display: block; text-decoration: none; color: var(--white); flex-shrink: 0; }
.reel__item img { height: clamp(170px, 21vw, 290px); width: auto; max-width: none; border-radius: var(--radius); }
.reel__item figcaption, .reel__cap { display: flex; justify-content: space-between; gap: 12px; padding: 9px 2px 0; font-size: 0.68rem; }
.reel__cap span:last-child { color: var(--text-dim); }
.js .reel.is-moving { overflow: hidden; }
.js .reel.is-moving .reel__track { animation: slide var(--dur, 90s) linear infinite; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (hover: hover) { .reel.is-moving:hover .reel__track { animation-play-state: paused; } }
.reel.is-moving:focus-within .reel__track { animation-play-state: paused; }

/* ------------------------------------------------------------ party list */
.controls { display: none; gap: 14px 24px; align-items: end; justify-content: space-between; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 34px); }
.js .controls { display: flex; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: var(--pill); border: 0; cursor: pointer; background: var(--glass); box-shadow: inset 0 0 0 1px var(--hair); color: var(--white); display: inline-flex; align-items: center; gap: 8px; transition: background-color 200ms, color 200ms, transform 200ms var(--ease-out); }
.chip small { font-size: 0.66rem; color: var(--text-dim); }
.chip[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: none; }
.chip[aria-pressed="true"] small { color: rgba(var(--ink-rgb), 0.7); }
.chip:active { transform: scale(0.96); }
.sort { display: grid; gap: 6px; }
.sort label { color: var(--text-dim); font-size: 0.66rem; }
.sort select { min-height: 44px; padding: 0 40px 0 16px; border-radius: var(--pill); border: 0; box-shadow: inset 0 0 0 1px var(--hair); background: var(--glass) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23f7f2e8' stroke-width='1.6'/></svg>") no-repeat right 16px center; -webkit-appearance: none; appearance: none; cursor: pointer; }
.sort select option { color: var(--ink); }
.count { color: var(--text-dim); margin-bottom: 16px; }

/* 16 parties: four across, then two, then one. No row is ever left with a hole. */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
@media (max-width: 1160px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid { grid-template-columns: minmax(0, 1fr); } }

/* A party card is a ticket: photo, facts, then a perforated stub with the price and the action. */
.party { display: grid; grid-template-rows: auto 1fr auto; background: rgba(var(--ink-rgb), 0.78); border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--hair); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.party__media { display: block; overflow: hidden; aspect-ratio: 3 / 2; }
.party__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-soft); }
@media (hover: hover) and (pointer: fine) { .party:hover .party__media img { transform: scale(1.05); } }
.party__body { display: grid; gap: 8px; align-content: start; padding: 18px 20px 20px; }
.party__hood { color: var(--spark); }
.party__name a { color: inherit; text-decoration: none; display: inline-block; padding-block: 8px; margin-block: -8px; min-height: 44px; }
.qa a, .detail__facts a { display: inline-block; padding-block: 12px; margin-block: -12px; }
.party__time { color: var(--white); }
.party__incl { font-size: 0.92rem; color: var(--text-dim); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.party__stub { position: relative; display: grid; gap: 12px; padding: 16px 18px 8px; border-top: 1px dashed var(--hair); }
.party__stub::before, .party__stub::after { content: ""; position: absolute; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 1px var(--hair); }
.party__stub::before { left: -9px; } .party__stub::after { right: -9px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.price b { font-family: var(--display); font-weight: 800; font-size: 2.1rem; line-height: 0.9; letter-spacing: var(--track-display); color: var(--white); font-variant-numeric: tabular-nums; }
.price .mono { font-size: 0.64rem; color: var(--text-dim); }
.party__stub .link { justify-self: center; }
.party__body { padding-inline: 18px; }

/* ------------------------------------------------------------ party details */
.details { padding-block: var(--band-y); }
.has-dialog .details { display: none; }
.detail { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(20px, 3vw, 44px); padding: clamp(18px, 3vw, 40px); align-items: start; }
.details .detail { background: rgba(var(--ink-rgb), 0.8); border-radius: var(--radius); margin-top: 20px; box-shadow: inset 0 0 0 1px var(--hair); }
.detail__lead { display: grid; gap: 16px; }
.detail__photo { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.detail__hood { color: var(--spark); }
.detail__facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.detail__facts dt { color: var(--text-dim); padding-top: 2px; }
.detail__facts dd { color: var(--white); }
.detail__facts a { text-underline-offset: 4px; text-decoration-color: var(--hair); }
.detail__side { display: grid; gap: clamp(22px, 3vw, 34px); }
.detail h4 { font-family: var(--mono); font-weight: 600; font-size: 0.74rem; letter-spacing: var(--track-mono); text-transform: uppercase; color: var(--white); margin: 0 0 12px; }
.detail__note { font-size: 0.88rem; color: var(--text-dim); margin-top: 10px; }
.tiers { display: grid; gap: 8px; }
.tier { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 12px 16px; border-radius: var(--radius); background: var(--glass); }
.tier__name { color: var(--white); font-weight: 600; }
.tier__price { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; grid-row: span 2; }
.tier__state { font-size: 0.64rem; color: var(--spark); }
.tier--next { background: none; box-shadow: inset 0 0 0 1px var(--hair); }
.tier--next .tier__name, .tier--next .tier__price { color: var(--text-dim); }
.tier--next .tier__state { color: var(--text-dim); }
.pkgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 22px; }
.pkgs li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 5px 0; font-size: 0.94rem; }
.pkgs b { font-family: var(--mono); font-weight: 600; font-size: 0.84rem; color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.graphics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 220px)); gap: 12px; }
.graphics a { display: block; border-radius: var(--radius); overflow: hidden; position: relative; }
.graphics img { width: 100%; height: auto; }
.graphics span { display: block; padding-top: 8px; font-size: 0.66rem; color: var(--text-dim); }
.detail__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
@media (max-width: 860px) { .detail { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .pkgs { grid-template-columns: minmax(0, 1fr); } }

/* The detail sheet. Sized to cover with inset 0 on phones, so nothing shows through. */
dialog { border: 0; padding: 0; color: var(--text); background: var(--ink); }
dialog::backdrop { background: rgba(var(--ink-rgb), 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet { width: min(1120px, 100vw - 32px); max-width: none; max-height: calc(100dvh - 32px); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--hair); overflow-y: auto; overscroll-behavior: contain; }
.sheet__bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px 10px clamp(18px, 3vw, 40px); background: rgba(var(--ink-rgb), 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 -1px 0 var(--hair); }
.sheet__bar p { color: var(--text-dim); }
.x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--glass); box-shadow: inset 0 0 0 1px var(--hair); color: var(--white); font-size: 1.3rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.x:active { transform: scale(0.94); }
@media (max-width: 700px) {
  .sheet { inset: 0; width: 100vw; height: 100dvh; max-height: none; margin: 0; border-radius: 0; }
}
.lightbox { background: none; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; margin: 0; overflow: auto; }
.lightbox__in { min-height: 100%; display: grid; place-items: center; padding: 64px 12px 20px; }
.lightbox img { width: auto; max-width: min(100%, 1080px); height: auto; border-radius: var(--radius); }
.lightbox .x { position: fixed; top: 12px; right: 12px; background: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  dialog[open] { animation: sheet-in 420ms var(--ease-out); }
  dialog[open]::backdrop { animation: fade 300ms ease; }
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(22px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------ tables: names as display type in a stack */
.trows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.trow { display: grid; grid-template-columns: 84px 1fr auto; gap: 4px 18px; align-items: center; padding: 14px 0; color: inherit; text-decoration: none; min-height: 44px; }
.trow img { grid-row: span 2; width: 84px; height: 60px; object-fit: cover; border-radius: 8px; transition: transform 500ms var(--ease-out); }
.trow__name { font-size: var(--display-2); line-height: 0.9; transition: color 200ms; }
.trow__meta { grid-column: 2; color: var(--text-dim); font-size: 0.66rem; }
.trow__price { grid-column: 3; grid-row: 1 / span 2; text-align: right; display: grid; gap: 2px; }
.trow__price b { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 0.9; color: var(--white); font-variant-numeric: tabular-nums; }
.trow__price .mono { font-size: 0.62rem; color: var(--text-dim); }
.trow:active { opacity: 0.75; }
@media (hover: hover) and (pointer: fine) {
  .trow:hover .trow__name { color: var(--spark); }
  .trow:hover img { transform: scale(1.08) rotate(-2deg); }
}
.tnote { margin-top: clamp(22px, 3vw, 36px); max-width: 68ch; color: var(--text); }
@media (max-width: 900px) { .trows { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .trow { grid-template-columns: 64px 1fr auto; gap: 4px 12px; } .trow img { width: 64px; height: 48px; } }

/* ------------------------------------------------------------ how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); counter-reset: step; }
.step { display: grid; gap: 10px; align-content: start; counter-increment: step; }
.step::before { content: counter(step); font-family: var(--display); font-weight: 900; font-size: var(--display-num); line-height: 0.8; color: var(--ink); }
.step h3 { font-size: var(--display-3); line-height: 0.96; }
.step p { color: var(--ink); max-width: 34ch; font-weight: 500; }
.band--spark .lede { color: var(--ink); font-weight: 500; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } .step { grid-template-columns: auto 1fr; column-gap: 18px; } .step::before { grid-row: span 2; min-width: 0.6em; } }

/* ------------------------------------------------------------ FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 16px; justify-items: start; }
.faq__list { display: grid; gap: 8px; }
.qa { background: rgba(var(--ink-rgb), 0.6); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--hair); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; min-height: 56px; color: var(--white); font-weight: 600; font-size: 1.04rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--mono); font-size: 1.2rem; color: var(--spark); transition: transform 300ms var(--ease-out); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 20px 18px; max-width: 62ch; }
.qa a { text-underline-offset: 4px; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } .faq__head { position: static; } }

/* ------------------------------------------------------------ footer */
.footer { padding-bottom: 28px; overflow: clip; }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 5vw, 72px); align-items: start; }
.footer__by { display: grid; gap: 10px; justify-items: start; color: var(--white); text-decoration: none; }
.footer__by img { width: clamp(120px, 12vw, 168px); height: auto; }
.footer__contact { display: grid; gap: 4px; align-content: start; }
.footer__contact a { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 2.7vw, 2.45rem); line-height: 0.96; text-transform: uppercase; letter-spacing: var(--track-display); color: var(--white); text-decoration: none; overflow-wrap: anywhere; min-height: 44px; display: inline-flex; align-items: center; }
.footer__contact .mono { color: var(--text-dim); margin-top: 10px; }
.footer__links { display: grid; gap: 0; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: var(--spark); } }
.footer__mark { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 0.78; letter-spacing: -0.02em; color: var(--white); opacity: 0.16; white-space: nowrap; text-align: center; margin: clamp(28px, 5vw, 64px) 0 clamp(16px, 2vw, 28px); font-size: min(clamp(4.4rem, 23vw, 24rem), 40svh); }
.footer__base { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; color: var(--text-dim); font-size: 0.66rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } .footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------ 404 */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--gutter); }
.lost__in { display: grid; gap: 18px; justify-items: center; }

/* ------------------------------------------------------------ motion */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(70ms * var(--i, 0)); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(10% 0 10% 0 round var(--radius)); transition: clip-path 1100ms var(--ease-soft); }
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js .hero [data-enter] { opacity: 0; transform: translateY(18px); filter: blur(8px); animation: enter 1000ms var(--ease-out) forwards; animation-delay: calc(140ms + 120ms * var(--i, 0)); }
@keyframes enter { to { opacity: 1; transform: none; filter: none; } }
.party.is-sorting { animation: resort 520ms var(--ease-out) both; animation-delay: calc(40ms * var(--i, 0)); }
@keyframes resort { from { opacity: 0; transform: translateY(16px) scale(0.985); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .hero__media img.is-on { animation: drift-in 9s ease-out both; }
  @keyframes drift-in { from { transform: scale(1.08); } to { transform: scale(1); } }
  @supports (animation-timeline: scroll()) {
    .hero__media { animation: sink linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
    @keyframes sink { to { transform: translateY(12svh); } }
    .footer__mark { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    @keyframes rise { from { transform: translateY(30%); opacity: 0; } to { transform: none; opacity: 0.16; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-reveal="mask"], .js .hero [data-enter] { opacity: 1; transform: none; filter: none; clip-path: none; animation: none; transition: none; }
  .js .reel.is-moving { overflow-x: auto; }
  .js .reel.is-moving .reel__track { animation: none; }
  .reel__group[aria-hidden="true"] { display: none; }
  .party.is-sorting, .countdown__num.tick { animation: none; }
  .hero__media img { transition: none; }
  .hero__spark { display: none; }
  .btn, .btn .arr, .party__media img, .trow img { transition: none; }
}

/* ============================================================ Studio 54 layer
   Mirrors the GATSBY NYE grammar: serif display with gold italics, letterspaced
   Montserrat labels, notched ticket buttons with a perforated arrow stub,
   deco grounds, chapter panels and a moving photo strip. */

.display { font-weight: 400; text-transform: none; line-height: 0.94; }
.display em, .footer__mark em { font-style: italic; color: var(--spark); }
.h1 { line-height: 0.92; }
.mono { font-weight: 600; font-size: 0.64rem; }
.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--display); font-size: 0.86rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--spark);
}
.label::before, .label::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.head--center .lede { margin-inline: auto; }
.head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px 40px; max-width: none; }

/* ---- ticket buttons (as on gatsbymke.com) */
.btn {
  border-radius: 0; min-height: 50px; padding: 0 24px; gap: 0;
  font-family: var(--sans); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.18em;
  background: var(--spark); color: var(--ink);
  -webkit-mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) top left / 51% 51% no-repeat,
                radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) top right / 51% 51% no-repeat,
                radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) bottom left / 51% 51% no-repeat,
                radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) bottom right / 51% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) top left / 51% 51% no-repeat,
                radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) top right / 51% 51% no-repeat,
                radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) bottom left / 51% 51% no-repeat,
                radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) bottom right / 51% 51% no-repeat;
}
.btn .arr {
  align-self: stretch; display: grid; place-items: center;
  margin: 0 -24px 0 18px; padding: 0 16px;
  border-left: 1px dashed currentColor; font-size: 1.05rem; letter-spacing: 0;
}
.btn--ghost { background: rgba(var(--ink-rgb), 0.35); color: var(--white); box-shadow: inset 0 0 0 1px rgba(247, 242, 232, 0.6); }
.btn--ink { background: var(--ink); color: var(--spark); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .arr { transform: none; }
  .btn--ghost:hover { color: var(--spark); box-shadow: inset 0 0 0 1px var(--spark); }
}
.party__stub .btn { width: 100%; justify-content: space-between; }
.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 600 0.72rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--spark); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat;
  transition: background-size 300ms var(--ease-out);
}
.text-link--ink { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .text-link:hover { background-size: 40% 1px; } }
.link { font-family: var(--sans); font-weight: 600; font-size: 0.64rem; }

/* ---- nav ticket */
.nav__links a::after { background: var(--spark); }
.nav-ticket {
  display: flex; align-items: stretch; height: 52px; flex-shrink: 0;
  background: var(--spark); color: var(--ink); text-decoration: none; --n: 7px;
  -webkit-mask: radial-gradient(circle var(--n) at 0 0, #0000 98%, #000) top left / 51% 51% no-repeat,
                radial-gradient(circle var(--n) at 100% 0, #0000 98%, #000) top right / 51% 51% no-repeat,
                radial-gradient(circle var(--n) at 0 100%, #0000 98%, #000) bottom left / 51% 51% no-repeat,
                radial-gradient(circle var(--n) at 100% 100%, #0000 98%, #000) bottom right / 51% 51% no-repeat;
          mask: radial-gradient(circle var(--n) at 0 0, #0000 98%, #000) top left / 51% 51% no-repeat,
                radial-gradient(circle var(--n) at 100% 0, #0000 98%, #000) top right / 51% 51% no-repeat,
                radial-gradient(circle var(--n) at 0 100%, #0000 98%, #000) bottom left / 51% 51% no-repeat,
                radial-gradient(circle var(--n) at 100% 100%, #0000 98%, #000) bottom right / 51% 51% no-repeat;
  transition: transform 160ms var(--ease-out);
}
.nav-ticket:active { transform: scale(0.98); }
.nav-ticket__main { display: grid; align-content: center; gap: 5px; padding: 0 14px 0 16px; }
.nav-ticket__title { font: 400 1.16rem/1 var(--display); letter-spacing: 0.04em; white-space: nowrap; }
.nav-ticket__data { display: flex; border-top: 1px solid rgba(0, 0, 0, 0.5); }
.nav-ticket__data span { font: 600 0.5rem/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; padding: 5px 8px 0 0; white-space: nowrap; }
.nav-ticket__data span + span { border-left: 1px solid rgba(0, 0, 0, 0.5); padding-left: 8px; }
.nav-ticket__arrow { display: grid; place-items: center; padding: 0 14px; border-left: 1px dashed rgba(0, 0, 0, 0.6); font-size: 1.05rem; }
@media (hover: hover) and (pointer: fine) { .nav-ticket:hover { transform: translateY(-2px); } }
@media (max-width: 400px) { .nav-ticket__arrow { display: none; } }

/* ---- hero */
.hero__title { line-height: 0.86; }
.hero__title span:first-child { text-transform: uppercase; letter-spacing: 0.01em; }
.hero__eyebrow i { color: var(--spark); }
.hero__line { font-family: var(--sans); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: clamp(0.98rem, 1.2vw, 1.1rem); line-height: 1.45; max-width: 46ch; color: var(--text); }
.hero__panel::after {
  background:
    radial-gradient(120% 80% at 75% 10%, rgba(214, 162, 30, 0.12), transparent 60%),
    linear-gradient(90deg, rgba(var(--ink-rgb), 0.86) 0%, rgba(var(--ink-rgb), 0.35) 58%, rgba(var(--ink-rgb), 0.5) 100%),
    linear-gradient(180deg, rgba(var(--ink-rgb), 0.55) 0%, rgba(var(--ink-rgb), 0) 34%, rgba(var(--ink-rgb), 0.9) 100%);
}
.hero__panel { box-shadow: inset 0 0 0 1px rgba(214, 162, 30, 0.35); }
.countdown__num { font-weight: 400; }
.hero__count > p.mono { color: var(--spark); }

/* ---- ticker (gold band of what the night holds) */
.ticker { background: var(--spark); color: var(--ink); overflow: hidden; border-block: 1px solid rgba(0, 0, 0, 0.4); }
.ticker__track { display: flex; width: max-content; }
.ticker__group { display: flex; align-items: center; gap: 22px; padding: 12px 22px 12px 0; margin: 0; white-space: nowrap; font: 400 clamp(1.15rem, 1.8vw, 1.55rem)/1 var(--display); }
.ticker__group i { font-style: normal; font-size: 0.7em; }
.ticker__group[aria-hidden="true"] { display: none; }
.js .ticker__group[aria-hidden="true"] { display: flex; }
@media (prefers-reduced-motion: no-preference) { .js .ticker__track { animation: slide 48s linear infinite; } }

/* ---- deco grounds */
.band--smoke { background: var(--night); --scrim: none; }
.band--gold { background: var(--spark); color: var(--ink); --scrim: none; }
.band--gold .display, .band--gold .label, .band--gold .lede { color: var(--ink); }
.band--gold .display em { color: var(--ink); }
.deco-rays::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 0%, rgba(214, 162, 30, 0.07) 0deg 3deg, transparent 3deg 9deg);
  -webkit-mask: radial-gradient(90% 100% at 50% 0%, #000 0%, transparent 75%); mask: radial-gradient(90% 100% at 50% 0%, #000 0%, transparent 75%);
}
.band--gold.deco-rays::before { background: repeating-conic-gradient(from 0deg at 50% 0%, rgba(0, 0, 0, 0.07) 0deg 3deg, transparent 3deg 9deg); }
.deco-tiles::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(201, 204, 211, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 204, 211, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask: radial-gradient(60% 60% at 50% 40%, #000, transparent); mask: radial-gradient(60% 60% at 50% 40%, #000, transparent);
}

/* ---- intro and stats */
.intro__in { display: grid; justify-items: center; text-align: center; gap: 18px; }
.intro__lede { max-width: 62ch; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; width: 100%; max-width: 1080px; margin: clamp(18px, 3vw, 36px) 0 6px; border-block: 1px solid var(--hair); }
.stats div { display: grid; gap: 10px; padding: clamp(18px, 2.4vw, 30px) 12px; justify-items: center; }
.stats div + div { border-left: 1px solid var(--hair); }
.stats dt { color: var(--text-dim); order: 2; }
.stats dd { margin: 0; font: 400 min(clamp(2.6rem, 5vw, 4.6rem), 11svh)/0.9 var(--display); color: var(--spark); font-variant-numeric: lining-nums; }
.intro__ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 26px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats div:nth-child(3) { border-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--hair); } }

/* ---- party cards: gold hood line, serif names */
.party { background: rgba(var(--ink-rgb), 0.82); }
.party__name { line-height: 1; }
.price b, .tier__price, .trow__price b { font-weight: 400; }
.chip[aria-pressed="true"] { background: var(--spark); color: var(--ink); }
.chip { font-size: 0.62rem; }

/* ---- the night: chapter panels */
.night .head { margin-bottom: clamp(36px, 6vw, 80px); }
.chapter {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 56px); align-items: center;
  padding: clamp(20px, 3.4vw, 48px); border-radius: clamp(16px, 2.4vw, 32px);
  background: radial-gradient(120% 120% at 0% 0%, rgba(214, 162, 30, 0.14), transparent 55%), linear-gradient(160deg, #1d1610, #0b0907 70%);
  box-shadow: inset 0 0 0 1px rgba(214, 162, 30, 0.18);
}
.chapter + .chapter { margin-top: clamp(20px, 3vw, 40px); }
.chapter--flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.chapter--flip .chapter__copy { order: 2; }
.chapter__copy { display: grid; gap: 16px; justify-items: start; }
.chapter__title { font-size: var(--display-1); text-transform: uppercase; line-height: 0.9; }
.chapter__photo img { width: 100%; border-radius: 12px; object-fit: cover; }
.chapter__photo > img:only-child { aspect-ratio: 16 / 10; }
.chapter__photo--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.chapter__photo--pair img { aspect-ratio: 3 / 4; }
.chapter__photo--pair img:nth-child(2) { margin-top: 14%; }
.credits { display: grid; grid-template-columns: auto 1fr; gap: 0 22px; width: 100%; max-width: 420px; }
.credits dt, .credits dd { margin: 0; padding: 9px 0; border-top: 1px solid var(--hair); }
.credits dt { color: var(--spark); }
.credits dd { color: var(--white); letter-spacing: 0.14em; line-height: 1.5; }
@media (max-width: 860px) {
  .chapter, .chapter--flip { grid-template-columns: minmax(0, 1fr); }
  .chapter--flip .chapter__copy { order: 0; }
}

/* ---- dressed for midnight: moving strip */
.dressed { padding-inline: 0; }
.dressed .head { margin-bottom: clamp(24px, 4vw, 44px); }
.strip { overflow-x: auto; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip__track { display: flex; width: max-content; }
.strip__group { display: flex; gap: 12px; padding-right: 12px; flex-shrink: 0; }
.strip__item { margin: 0; flex-shrink: 0; }
.strip__item img { height: clamp(260px, 32vw, 460px); width: auto; max-width: none; border-radius: 12px; }
.js .strip.is-moving { overflow: hidden; }
.js .strip.is-moving .strip__track { animation: slide var(--dur, 80s) linear infinite; }
@media (hover: hover) { .strip.is-moving:hover .strip__track { animation-play-state: paused; } }

/* ---- neighborhoods: a program, alternating roman and gold italic */
.hoods__list { display: grid; gap: clamp(14px, 2vw, 22px); justify-items: center; text-align: center; }
.hood { display: grid; gap: 6px; justify-items: center; }
.hood__name { font: 400 min(clamp(2rem, 4.4vw, 3.8rem), 9svh)/1 var(--display); color: var(--white); text-decoration: none; transition: color 200ms; }
.hood--alt .hood__name { font-style: italic; color: var(--spark); }
.hood__parties { font-size: 0.95rem; color: var(--text); }
.hood__parties a { color: inherit; text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 4px; display: inline-block; padding-block: 10px; margin-block: -10px; }
.hood__meta { color: var(--text-dim); }
@media (hover: hover) and (pointer: fine) { .hood__name:hover { color: var(--spark); } .hood--alt .hood__name:hover { color: var(--white); } }

/* ---- tables, steps, faq, footer in the serif */
.trow__name { line-height: 0.95; }
.step::before { font-family: var(--display); font-weight: 400; font-style: italic; }
.qa summary { font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.qa summary::after { font-family: var(--sans); }
.footer__contact a { font-weight: 400; text-transform: none; }
.footer__mark { font-weight: 400; opacity: 1; color: rgba(247, 242, 232, 0.14); }
.footer__mark em { color: rgba(214, 162, 30, 0.32); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes rise { from { transform: translateY(30%); opacity: 0; } to { transform: none; opacity: 1; } }
  }
}

/* ---- finale */
.finale__in { display: grid; justify-items: center; text-align: center; gap: 18px; }
.finale__ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 26px; margin-top: 6px; }

@media (prefers-reduced-motion: reduce) {
  .js .strip.is-moving { overflow-x: auto; }
  .js .strip.is-moving .strip__track, .js .ticker__track { animation: none; }
  .strip__group[aria-hidden="true"], .js .ticker__group[aria-hidden="true"] { display: none; }
}
