:root {
  --black: #000000;
  --ink: #161616;
  --grey: #6F6F6F;
  --line: #E2E2E2;
  --page: #F5F5F5;
  --white: #FFFFFF;
  --red: #D12E3C;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 var(--font); color: var(--ink); background: var(--page); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; color: var(--ink); }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 20; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
main:focus { outline: none; }

/* Floating nav bar */
.site-head { position: absolute; top: 14px; left: 0; right: 0; z-index: 10; }
.head-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; min-height: 72px; background: var(--white); border-radius: 6px; padding: 0 14px; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.head-left, .head-right { display: flex; align-items: center; gap: 4px; }
.head-right { justify-content: flex-end; }
.head-row nav a, .head-right a { text-decoration: none; padding: 8px 12px; font-size: 14px; font-weight: 500; border-radius: 4px; }
.head-row nav a:hover { background: var(--page); }
.head-row nav a[aria-current="page"] { font-weight: 700; }
.head-right .biz { border: 1px solid var(--line); font-weight: 700; }
.head-right .biz:hover { border-color: var(--ink); }
.head-right .mob-only { display: none; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; justify-self: center; }
.wordmark img { height: 52px; width: auto; }
.site-foot .wordmark img { height: 56px; }
.wordmark .wm { font-weight: 800; font-size: 22px; letter-spacing: -.03em; color: var(--ink); }
.wordmark .wm span { color: var(--red); }
.site-foot .wordmark { justify-self: start; }
.site-foot .wordmark .wm { color: var(--white); }

/* Full-bleed hero. Drop a photo at /hero.jpg to use it. */
.hero {
  position: relative; display: grid; place-items: center; text-align: center; color: var(--white);
  min-height: 640px; padding: 120px 0 70px;
  background:
    linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.45)),
    url("/hero.jpg") center / cover no-repeat,
    radial-gradient(circle at 70% 35%, #E2574C 0, transparent 38%),
    radial-gradient(circle at 25% 70%, #F2A33A 0, transparent 42%),
    linear-gradient(135deg, #3A1B5C, #12121A);
}
.hero.small { min-height: 440px; }
.hero h1 { color: var(--white); font-size: clamp(42px, 7vw, 76px); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; margin: 0 auto; }
.hero.small h1 { max-width: 16ch; }
.hero .lede { margin: 18px auto 0; max-width: 44ch; font-size: 18px; font-weight: 500; }
.crumb { display: inline-block; margin-bottom: 14px; font-size: 14px; font-weight: 700; }
.hero .crumb { color: var(--white); }

/* Search on hero */
.search { margin: 30px auto 0; width: min(720px, 100%); }
.search-bar { display: grid; grid-template-columns: 1.6fr 1fr auto; background: var(--white); color: var(--ink); border-radius: 6px; overflow: hidden; text-align: left; }
.field { padding: 10px 16px; border-right: 1px solid var(--line); }
.field label { display: block; font-size: 12px; font-weight: 700; color: var(--grey); }
.field input, .field select { width: 100%; border: 0; padding: 2px 0 0; background: transparent; outline: none; font-size: 16px; }
.search-bar .go { border: 0; background: var(--black); color: var(--white); font-weight: 700; font-size: 14px; padding: 0 26px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.search-bar .go:hover { background: #2A2A2A; }
.search-bar .go svg { width: 15px; height: 15px; }
.when { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.chip { padding: 6px 14px; border-radius: 4px; border: 0; background: rgba(255,255,255,.18); color: var(--white); font-weight: 700; font-size: 13px; cursor: pointer; backdrop-filter: blur(6px); }
.chip:hover { background: rgba(255,255,255,.3); }
.chip[aria-pressed="true"] { background: var(--white); color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border: 0; border-radius: 4px; background: var(--black); color: var(--white); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #2A2A2A; }
.btn.light { background: var(--white); color: var(--ink); }
.btn.ghost { background: transparent; border: 1px solid var(--ink); color: var(--ink); }

/* Sections and rows */
.section { padding: 56px 0; }
.section.white { background: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.row-tools { display: flex; gap: 8px; align-items: center; }
.arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; cursor: pointer; display: grid; place-items: center; }
.arrow:hover { background: var(--ink); color: var(--white); }
.arrow svg { width: 14px; height: 14px; }
.count { color: var(--grey); font-size: 14px; }

/* Horizontal scroll rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, calc((100% - 72px) / 4)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* Category tiles */
.tiles { grid-auto-columns: minmax(150px, calc((100% - 120px) / 6)); }
.tile { text-decoration: none; color: var(--ink); }
.tile .art { position: relative; aspect-ratio: 1; border-radius: 4px; display: grid; place-items: center; overflow: hidden; }
.tile .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile:hover .art img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .tile .art img { transition: none; } }
.tile .art svg { width: 46%; height: 46%; color: var(--white); }
.tile span { display: block; margin-top: 10px; font-size: 15px; }
.tile:hover span { text-decoration: underline; }

/* Event cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 32px 24px; }
.card { position: relative; display: flex; flex-direction: column; gap: 6px; }
.card .poster-box { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: 4px; overflow: hidden; background: #1A1A1A; }
.card .poster { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.card .poster-box.fit-whole::before { content: ""; position: absolute; inset: -20px; background: var(--bg) center / cover no-repeat; filter: blur(18px) brightness(.65) saturate(1.2); }
.card .poster-box.fit-whole .poster { object-fit: contain; object-position: center; }
.card .poster.ph { display: grid; place-items: center; padding: 16px; text-align: center; color: var(--white); font-weight: 700; font-size: 18px; letter-spacing: -.01em; background: linear-gradient(135deg, #2E2E38, #111); }
.card .meta { margin-top: 6px; font-size: 13px; color: var(--grey); }
.card h3 { font-size: 16px; font-weight: 700; line-height: 1.3; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .where { font-size: 14px; color: var(--grey); }
.card .where a { position: relative; z-index: 1; color: var(--ink); text-decoration: none; }
.card .where a:hover { text-decoration: underline; }
.card .price { font-size: 14px; font-weight: 700; }

/* Empty */
.empty { padding: 36px; border-radius: 6px; background: var(--white); text-align: center; }
.empty h3 { font-size: 20px; margin-bottom: 6px; }
.empty p { color: var(--grey); max-width: 58ch; margin: 0 auto; }
.empty .btn { margin-top: 16px; }
.loading { color: var(--grey); padding: 20px 0; }

/* Inner pages */
.page-hero { background: var(--white); padding: 120px 0 44px; }
.page-hero h1 { font-size: clamp(36px, 5.5vw, 58px); font-weight: 700; letter-spacing: -.035em; }
.page-hero p { margin-top: 12px; color: var(--grey); max-width: 60ch; font-size: 18px; }
.page-hero .crumb { color: var(--grey); }
.facts { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 20px; }
.facts div { font-size: 14px; color: var(--grey); }
.facts strong { display: block; color: var(--ink); font-size: 20px; }
.page-hero .btn { margin-top: 22px; }

.dir-tools { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 20px; }
.dir-tools .field { background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
.venue-list { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 28px; }
.venue-list li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line); }
.venue-list a { font-weight: 700; text-decoration: none; }
.venue-list a:hover { text-decoration: underline; }
.venue-list span { display: block; color: var(--grey); font-size: 14px; }

.prose { max-width: 66ch; }
.prose h2 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin: 32px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { margin-bottom: 12px; color: #3A3A3A; }
.prose ul { padding-left: 20px; }

/* Subscribe band */
.signup { background: var(--white); padding: 56px 0; border-top: 1px solid var(--line); }
.signup-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: center; }
.signup h2 { font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.signup p { margin-top: 6px; color: var(--grey); }
.signup-form { display: grid; grid-template-columns: 1.3fr minmax(190px, 1.1fr) auto; gap: 10px; }
.signup-form input, .signup-form select { padding: 12px 14px; border-radius: 4px; border: 1px solid var(--line); background: var(--white); width: 100%; }
.signup-form button { padding: 12px 24px; border: 0; border-radius: 4px; background: var(--black); color: var(--white); font-weight: 700; cursor: pointer; }
.signup-form button:hover { background: #2A2A2A; }
.signup-form button:disabled { opacity: .6; }
.signup-form .form-msg { grid-column: 1 / -1; min-height: 1.5em; font-weight: 700; }

/* Footer */
.site-foot { background: var(--black); color: var(--white); padding: 56px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
.foot-brand .wordmark img { height: 48px; width: auto; }
.foot-brand p { margin-top: 14px; font-size: 13px; color: #8C8C8C; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col h2 { color: var(--white); font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.foot-col a { color: #D9D9D9; font-size: 13px; text-decoration: none; width: fit-content; }
.foot-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.legal { margin-top: 44px; font-size: 12px; color: #6E6E6E; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 860px) {
  .head-row { grid-template-columns: auto 1fr; }
  .head-left { display: none; }
  .wordmark { justify-self: start; }
  .head-right a:not(.biz), .head-right .desk-only { display: none; }
  .head-right .mob-only { display: inline-flex; }
  .hero { min-height: 560px; }
  .search-bar { grid-template-columns: 1fr; }
  .field { border-right: 0; border-bottom: 1px solid var(--line); }
  .search-bar .go { padding: 14px; justify-content: center; }
  .rail { grid-auto-columns: 78%; }
  .tiles { grid-auto-columns: 40%; }
  .signup-row, .signup-form, .dir-tools { grid-template-columns: 1fr; }
  .arrow { display: none; }
}

/* Where picker */
.field.where { position: relative; }
#where-list { position: absolute; z-index: 30; left: -1px; top: calc(100% + 6px); width: max(100%, 340px); max-height: 380px; overflow-y: auto; margin: 0; padding: 6px 0; list-style: none; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 12px 32px rgba(0,0,0,.18); text-align: left; }
#where-list .whead { padding: 10px 14px 4px; font-size: 12px; font-weight: 700; color: var(--grey); }
#where-list .wopt { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 14px; cursor: pointer; font-size: 15px; }
#where-list .wopt small { color: var(--grey); font-size: 12px; white-space: nowrap; }
#where-list .wopt.none span { color: var(--grey); }
#where-list .wopt:hover, #where-list .wopt[aria-selected="true"] { background: var(--page); }
.search-bar { overflow: visible; }
.search-bar .field:first-child { border-radius: 6px 0 0 6px; }
.search-bar .go { border-radius: 0 6px 6px 0; }
@media (max-width: 860px) { #where-list { width: 100%; left: 0; } .search-bar .go { border-radius: 0 0 6px 6px; } }

/* All events page */
.events-hero { padding-bottom: 0; }
.events-hero h1 { font-size: clamp(40px, 6vw, 64px); }
.ev-tools { display: grid; grid-template-columns: 1.4fr 1.2fr .9fr .8fr; gap: 10px; margin-top: 24px; max-width: 980px; }
.ev-tools .tool { border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.ev-tools .tool:focus-within { border-color: var(--ink); }
.ev-tools .field { border-right: 0; }
.ev-tools .field select { cursor: pointer; }
.ev-tools .custom-dates { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; max-width: 420px; }
.ev-tools .custom-dates .field + .field { border-left: 1px solid var(--line); }
.ev-tools .custom-dates[hidden] { display: none; }
.cat-tabs { display: flex; gap: 4px; margin-top: 28px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs button { flex: none; padding: 12px 10px; border: 0; border-bottom: 3px solid transparent; background: none; font-size: 15px; cursor: pointer; color: var(--ink); }
.cat-tabs button:hover { border-bottom-color: var(--line); }
.cat-tabs button[aria-pressed="true"] { font-weight: 700; border-bottom-color: var(--red); }
.ev-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.sort { font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.sort select { border: 0; background: transparent; font-weight: 700; font-size: 15px; cursor: pointer; padding: 4px; }
.more { display: flex; justify-content: center; margin-top: 36px; }
@media (max-width: 860px) {
  .ev-tools { grid-template-columns: 1fr 1fr; }
  .ev-tools .tool:nth-child(1), .ev-tools .tool:nth-child(2) { grid-column: 1 / -1; }
  .ev-bar { flex-direction: column; align-items: flex-start; }
}

/* Home rows: four popular shows per section */
.home-rows { background: var(--white); padding: 8px 0 24px; }
.home-row { padding: 36px 0; }
.home-row + .home-row .wrap { padding-top: 36px; background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 48px) 1px no-repeat; }
.home-row .section-head h2 { font-size: 28px; }
.cards.four { grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards.four { grid-template-columns: 1fr; } }

/* sign-up box: brief highlight when you jump to it */
.signup:focus { outline: none; }
.signup.flash { animation: signup-flash 1.6s ease-out; }
@keyframes signup-flash { 0%, 30% { background: #FFF4D6; } 100% { background: var(--white); } }
@media (prefers-reduced-motion: reduce) { .signup.flash { animation: none; } }
