/* ============================================================================
 * WIT'S END COMEDY CLUB — PUBLIC SITE STYLES
 * ----------------------------------------------------------------------------
 * Used by: home, shows, show_detail, calendar, gallery, comedian, groups,
 *          passed_comics, static_page, ticket
 *
 * ORGANIZATION
 *   01. Design tokens (CSS variables)
 *   02. Reset + base
 *   03. Navigation + mobile menu
 *   04. Footer (and page-footer compact variant)
 *   05. Reusable utility classes
 *   06. Page header pattern
 *   07. Buttons
 *   08. Badges
 *   09. Forms (public-site dark theme)
 *   10. Social icon links (used on comedian, show_detail)
 *   11. Animations + keyframes
 *   12. HOME — hero carousel + featured cards + list + info strip + gallery strip + mailing + footer grid
 *   13. SHOWS — list/grid toggle, filter pills, pagination
 *   14. SHOW_DETAIL — sidebar checkout, Stripe, urgency, success, share card, also-like
 *   15. CALENDAR — month grid + upcoming list buckets
 *   16. GALLERY — masonry + lightbox
 *   17. COMEDIAN — hero with headshot, YouTube facade, share strip, show cards
 *   18. GROUPS — hero, perks, type cards, form, trust sidebar
 *   19. PASSED_COMICS — comic card grid
 *   20. STATIC_PAGE — .prose editor output
 *   21. TICKET — standalone digital ticket (with print styles)
 * ============================================================================ */


/* ── 01. DESIGN TOKENS ───────────────────────────────────────────────────── */
/* Design tokens live in tokens.css, which loads first. */


/* ── 02-11 moved to core.css (shared components), which loads first ────── */

/* ============================================================================
 * 12. HOME PAGE
 * ============================================================================ */

/* Hero — full-screen with photo carousel behind logo */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--surface);
}
.hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  will-change: transform;
}
.hero-carousel-slide.active { opacity: 1; z-index: 1; }
.hero-carousel-slide.prev   { opacity: 1; z-index: 0; }

.hero-overlay { display: none; }              /* a scrim needs a photograph under it (audit #2) */
.hero.has-photo .hero-overlay {
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    var(--scrim-mid) 0%,
    var(--scrim-soft) 50%,
    var(--scrim-strong) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 3; }

.hero-eyebrow {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeup .6s .2s forwards;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 36px;
  opacity: 0;
  animation: fadeup .7s .55s forwards;
}

/* Section pattern (home + show_detail) */
.section { padding: 80px 48px; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-eyebrow {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-big);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--text);
  line-height: 1;
}
.section-meta {
  font-size: .75rem;
  font-weight: 300;
  color: var(--muted);
  margin-top: 5px;
}
.section-meta strong { color: var(--text); font-weight: 500; }

/* Group labels within shows section */
.shows-group-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 20px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.shows-group-label.hot { color: var(--accent-ink); }

/* Featured horizontal scroll cards (home top section) */
.featured-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.featured-scroll::-webkit-scrollbar { display: none; }
.featured-card {
  flex: 0 0 310px;
  scroll-snap-align: start;
  text-decoration: none;
  color: var(--text);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: all .25s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.featured-card:hover {
  border-color: rgba(var(--red-rgb),0.45);
  transform: translateY(-3px);
  box-shadow: var(--elev-lift), 0 0 0 1px rgba(var(--red-rgb),0.1);
}
.featured-card-img-wrap { position: relative; overflow: hidden; border-radius: 10px 10px 0 0; }
.featured-card-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--surface-1));
  pointer-events: none;
}
.featured-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(10%);
  /* Resting overscan keeps the overflow clip off the image's antialiased edge,
     killing the 1px light seam under the photo on hover.
     Guarded by tests/test_featured_card_seam.py. */
  transform: scale(1.02);
  transition: transform .4s;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.featured-card:hover .featured-card-img { transform: scale(1.07); }
.featured-card-img-ph {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--surface-3) 0%, var(--surface) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-big);
  font-size: 4rem;
  color: rgba(var(--ink-rgb),.05);
}
.featured-card-date {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--plate);          /* the scrim only over a photo — .has-photo below */
  color: var(--plate-ink);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-input-hi);
  border-radius: 7px;
  padding: 6px 10px;
  text-align: center;
  line-height: 1.1;
  z-index: 1;
}
.featured-card-date-month {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--plate-accent);
}
.featured-card.has-photo .featured-card-date { background: var(--plate-scrim); color: var(--on-scrim); }
.featured-card.has-photo .featured-card-date-month { color: var(--accent-ink); }
.featured-card-date-day {
  font-family: var(--font-big);
  font-size: 1.45rem;
  color: var(--plate-ink);          /* --on-scrim only under .has-photo (light/dark audit #3) */
  line-height: 1;
}
.featured-card.has-photo .featured-card-date-day { color: var(--on-scrim); }
.featured-card-urgency {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--red);
  color:var(--on-accent);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 1;
}
.featured-card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  /* Cover the picture/body join so a compositor-leaked 1px hairline at the
     wrap's bottom clip line sits under opaque pixels. See home.css. */
  position: relative;
  z-index: 1;
  margin-top: -1px;
  background: var(--surface-1);
}
.featured-card-name {
  font-family: var(--font-big);
  font-size: 1.45rem;
  color: var(--text);
  line-height: 1.02;
  margin-bottom: 3px;
}
.featured-card-credits {
  font-size: .72rem;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 17px;
  line-height: 1.4;
}
.featured-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.featured-card-price { font-size: .88rem; font-weight: 700; color: var(--text); }
.featured-card-time  { font-size: .76rem; color: var(--muted); }   /* 10.9px at 3.55:1: the decision line (audit H4) */
.featured-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-ink);
  opacity: 0;
  transform: translateX(-4px);
  transition: all .2s;
}
.featured-card:hover .featured-card-cta { opacity: 1; transform: translateX(0); }

/* Scroll dots indicator */
.scroll-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(var(--tint-rgb),.15);
  transition: background .2s;
  cursor: pointer;
}
.scroll-dot.active { background: var(--red); width: 18px; border-radius: 3px; }

/* Compact list rows (home "More Shows") */
.shows-list-compact {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.show-list-row {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: all .15s;
  position: relative;
}
.show-list-row:last-child { border-bottom: none; }
.show-list-row:hover { background: rgba(var(--tint-rgb),.03); }
.show-list-row:hover .show-list-arrow { opacity: 1; transform: translateX(0); }
.show-list-date {
  width: 72px;
  flex-shrink: 0;
  text-align: center;
  padding: 14px 8px;
  /* no vertical rule: spacing sets the date apart (the gray read as a grid) */
}
.show-list-month {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.show-list-day {
  font-family: var(--font-big);
  font-size: 1.75rem;
  color: var(--text);
  line-height: 1;
}
.show-list-dow {
  font-size: .62rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 1px;
}
.show-list-thumb {
  width: 52px; height: 52px;
  border-radius: 4px;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
  margin: 0 14px;
  filter: grayscale(15%);
}
.show-list-thumb-ph {
  width: 52px; height: 52px;
  border-radius: 4px;
  background: var(--surface-3);
  flex-shrink: 0;
  margin: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-big);
  font-size: 1.1rem;
  color: rgba(var(--ink-rgb),.07);
}
.show-list-info {
  flex: 1;
  padding: 14px 0;
  min-width: 0;
}
.show-list-name {
  font-weight: 600;
  font-size: .92rem;
  /* two lines, then clamp — never cut an ordinary name at 12 characters */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--text);
}
/* ONE LINE, ALWAYS. The credit is free text a booker types, and it was the only
   thing in the row with no length limit: "Matt and Shane's Secret Podcast
   (producer)" wrapped to five lines and made that row 122px against its
   neighbours' 86px. Measured at 390px, where .show-list-info is 107px wide —
   so even "Comedy Central" was wrapping. Identical row height is the whole
   point of a compact list (DATA_VIEWS §6). */
.show-list-meta {
  font-size: .7rem;
  color: var(--muted);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
}
/* The time is short, fixed-width and the fact the row is scanned for — it never
   gives up space. The credit is the one that yields. */
.show-list-time { flex: 0 0 auto; }
.show-list-credit { overflow: hidden; text-overflow: ellipsis; }
.show-list-meta-dot { color: var(--text-faint); font-size: .5rem; flex: 0 0 auto; }
.show-list-right {
  padding: 14px 16px;
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.show-list-price {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.show-list-arrow {
  font-size: .8rem;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: all .2s;
  margin-left: 8px;
}

/* The stage light on every public page (token: --stage-light). `html body`
   so a page stylesheet's `body{background:…}` shorthand cannot reset it. */
html body { background-image: var(--stage-light); background-repeat: no-repeat; }

/* Info strip (home) */
/* ONE TONAL BAND, not a spreadsheet. A 1px gap over a line-coloured
   background drew a box round every fact; on the gray it read as a grid.
   The band steps up one surface from the page, hairlines only at its edges,
   and spacing separates the facts (25 Sep; the idea of his own site's band). */
.info-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.info-block {
  background: transparent;
  padding: 32px 28px;
  /* A grid item's min-width defaults to its content: one long unbreakable
     value (a club's email in display type) made this block wider than a phone
     and the whole page scrolled sideways (25 Sep 2026). */
  min-width: 0;
}
.info-block-label {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 8px;
}
.info-block-value {
  font-family: var(--font-big);
  font-size: 1.3rem;
  color: var(--text);              /* was --on-scrim: white on a light club's cream, 1.06:1 (audit H6) */
  line-height: 1.3;
  overflow-wrap: anywhere;         /* a long email or street breaks rather than widening the page */
}
/* The phone slot can hold an email address (a club with no number yet): a
   mailto link must look like the value it replaces, not a browser-blue link. */
.info-block-value a { color: inherit; text-decoration: underline; text-decoration-color: rgba(var(--ink-rgb),.35); text-underline-offset: 3px; }
.info-block-sub {
  font-size: .78rem;
  font-weight: 300;
  color: var(--muted);
  margin-top: 4px;
}

/* Gallery strip (home) */
.gallery-section { position: relative; }
.gallery-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px 12px;
}
.gallery-strip-label {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
}
.gallery-strip-link {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all .2s;
}
.gallery-strip-link:hover {
  color: var(--text);
  border-color: var(--border-emph);
}
.gallery-strip {
  display: flex;
  overflow: hidden;
  gap: 2px;
}
.gallery-thumb {
  flex: 0 0 calc(100% / 7.4);
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s, filter .35s;
  filter: grayscale(25%);
}
.gallery-thumb:hover img {
  transform: scale(1.06);
  filter: grayscale(0);
}
.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(var(--scrim-rgb),0);
  transition: background .25s;
}
.gallery-thumb:hover .gallery-thumb-overlay {
  background: rgba(var(--scrim-rgb),.15);
}

/* Mailing list (home) */
.mailing-section {
  background: var(--red);
  padding: 60px 48px;
  text-align: center;
}
.mailing-title {
  font-family: var(--font-big);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text);
  margin-bottom: 8px;
}
.mailing-sub {
  font-size: .95rem;
  font-weight: 400;
  color: var(--on-accent);           /* it sits on the accent band: the accent's own ink (was ink .75, 2.93:1) */
  margin-bottom: 28px;
}
.mailing-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.mailing-form input {
  flex: 1;
  min-width: 160px;
  padding: 13px 18px;
  background: var(--surface);        /* a field on the accent band: the ink's own surface in both modes (audit #4) */
  border: 1px solid rgba(var(--ink-rgb),.25);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  outline: none;
}
.mailing-form input::placeholder { color: var(--muted); }
.mailing-form input:focus { border-color: rgba(var(--ink-rgb),.6); }
.mailing-btn {
  padding: 13px 28px;
  background: var(--bg);
  color: var(--text);
  border: none;
  border-radius: 4px;
  font-family: var(--font-big);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .2s;
}
.mailing-btn:hover { background: var(--surface-4); }
.mailing-success {
  display: none;
  color: var(--text);
  font-size: .95rem;
  font-weight: 300;
  margin-top: 16px;
}


/* ============================================================================
 * 13. SHOWS PAGE (list/grid toggle)
 * ============================================================================ */

/* Toolbar — filter pills + count + view toggle */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap;
}
.filter-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
@media (max-width: 640px) { .toolbar .filter-btn { min-height: 44px; } }   /* the shows filters were 32px on a phone */
.filter-btn {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover {
  border-color: rgba(var(--ink-rgb),.2);
  color: var(--text);
}
.filter-btn.active {
  border-color: var(--red);
  color: var(--text);
  background: rgba(var(--red-rgb),0.12);
}
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.show-count {
  font-size: .72rem;
  color: var(--muted);
  white-space: nowrap;
}
.view-toggle {
  display: flex;
  gap: 4px;
  background: var(--surface-tint);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px;
}
.view-btn {
  width: 32px; height: 32px;       /* DV §0.3: 32–36px desktop controls (was 30×28); 44 on a phone (rule below, AFTER this one) */
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  transition: all .2s;
}
@media (max-width: 640px) { .view-btn { width: 44px; height: 44px; } }
.view-btn.active {
  background: var(--state-selected);
  color: var(--text);
}

/* Shows list view */
.shows-list { display: flex; flex-direction: column; }
.show-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background .15s;
  position: relative;
}
.show-row:hover { background: rgba(var(--tint-rgb),.03); }
.show-row:hover .show-row-cta {
  opacity: 1;
  transform: translateX(0);
}
.show-row-date {
  width: 90px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  /* no vertical rule: spacing sets the date apart (the gray read as a grid) */
  text-align: center;
}
.show-row-month {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.show-row-day {
  font-family: var(--font-big);
  font-size: 2.4rem;
  color: var(--text);
  line-height: 1;
  margin: 2px 0;
}
.show-row-dow {
  font-size: .62rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.show-row-img {
  width: 80px; height: 80px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: top;
  align-self: center;
  margin: 16px 16px 16px 16px;
  border-radius: 4px;
  filter: grayscale(15%);
}
.show-row-img-ph {
  width: 80px; height: 80px;
  flex-shrink: 0;
  background: var(--surface-3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 16px 16px 16px;
  font-family: var(--font-big);
  font-size: 1.6rem;
  color: rgba(var(--ink-rgb),.06);
}
.show-row-info {
  flex: 1;
  padding: 16px 12px 16px 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.show-row-top {
  display: block;                  /* the name alone: no pill competing for its width */
  margin-bottom: 3px;
  min-width: 0;
}
.show-row-name {
  font-family: var(--font-big);
  font-size: 1.6rem;                 /* the name is the row: largest type in it (was 1.45rem) */
  color: var(--text);
  line-height: 1.12;               /* 1.02 clipped the tops of Bebas capitals under the clamp */
  /* Wrap to two lines, then clamp — never cut an ordinary name at 17 characters. */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-width: 0;
}
.show-row-status { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0 4px; }
.show-row-badge-inline {
  flex-shrink: 0;
  display: flex;
  gap: 5px;
  align-items: center;
}
.show-row-credits {
  font-size: .8rem;
  font-weight: 400;                  /* 300 at 12px on a dark ground read as a hairline */
  color: var(--muted);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.show-row-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1px;
}
.show-row-time {
  font-size: .78rem;
  color: var(--muted);            /* 11.5px at 3.26:1 (audit L7) */
  display: flex;
  align-items: center;
  gap: 4px;
}
.show-row-time-icon { font-size: .65rem; }
.show-row-price { font-size: .82rem; font-weight: 600; color: var(--text); }
/* "incl. fees + tax" is the line the all-in price law leans on: it has to be
   read, not glimpsed. Was opacity .5 at 9.9px, 3.26:1 (shows audit, 25 Sep). */
.fee-note { display: block; font-weight: 400; font-size: .7rem; letter-spacing: .02em; margin-top: 1px; color: var(--muted); }
.show-row-price-free { color: var(--muted); }
.show-row-cta {
  width: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: all .2s;
  padding-right: 16px;
}

/* Sold out states (shared by list + grid) */
/* Sold out is quieter by COLOUR and a greyed photo, not opacity: .72 on the
   whole row put its time, credits and fee line at 3:1 (shows audit, 25 Sep). */
.is-sold-out .show-row-img,
.is-sold-out .show-card-img {
  filter: grayscale(60%);
}
.is-sold-out .show-row-name,
.is-sold-out .show-card-name {
  color: var(--text-soft);
}
.is-sold-out:hover .show-row-img,
.is-sold-out:hover .show-card-img {
  filter: grayscale(20%);
}

.show-row.is-open-mic .show-row-name {
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 500;
}
/* Quieter by COLOUR, not opacity: .7 on the cell pulled the month to 3.05:1. */
.show-row.is-open-mic .show-row-month { color: var(--muted); }
.show-row.is-open-mic .show-row-day { color: var(--text-soft); }

/* Shows grid view */
.shows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
}
.show-card {
  background: var(--bg);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: background .2s;
  position: relative;
  overflow: hidden;
}
.show-card:hover { background: var(--surface); }
.show-card-img-wrap { position: relative; overflow: hidden; }
.show-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: grayscale(15%);
  transition: transform .3s;
}
.show-card:hover .show-card-img { transform: scale(1.03); }
.show-card-img-ph {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.show-card-img-ph-text {
  font-family: var(--font-big);
  font-size: 3rem;
  color: rgba(var(--ink-rgb),.06);
}
.show-card-date-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--plate);
  color: var(--plate-ink);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-input);
  border-radius: 6px;
  padding: 5px 9px;
  text-align: center;
  line-height: 1;
}
.show-card-date-month {
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--plate-accent);
}
.show-card-date-day {
  font-family: var(--font-big);
  font-size: 1.3rem;
  color: var(--plate-ink);
}
.show-card.has-photo .show-card-date-badge { background: var(--plate-scrim); color: var(--on-scrim); }
.show-card.has-photo .show-card-date-month { color: var(--accent-ink); }
.show-card.has-photo .show-card-date-day { color: var(--on-scrim); }
.show-card-sold-overlay {
  position: absolute;
  inset: 0;
  background: var(--surface-tint);   /* a veil only over a photograph (.has-photo below); on a bare card it turned white to grey (audit #5) */
  display: flex;
  align-items: flex-end;
  padding: 10px;
}
.show-card.has-photo .show-card-sold-overlay { background: rgba(var(--scrim-rgb),.45); }
.show-card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.show-card-name {
  font-family: var(--font-big);
  font-size: 1.3rem;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 3px;
}
.show-card-credits {
  font-size: .72rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
  min-height: 18px;
}
.show-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.show-card-price { font-size: .85rem; font-weight: 600; color: var(--text); }
.show-card-time  { font-size: .78rem; color: var(--muted); }

/* Empty / loading states for shows */
.empty-state {
  padding: 80px;
  text-align: center;
  color: var(--muted);            /* 1.77:1 on every empty page (audit T2) */
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.grid-empty { grid-column: 1 / -1; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 36px 48px 56px;
}
.page-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.page-btn:hover {
  border-color: rgba(var(--ink-rgb),.2);
  color: var(--text);
  background: rgba(var(--tint-rgb),.04);
}
.page-btn:disabled {
  color: var(--disabled-ink);        /* was opacity .2: 1.48:1, unreadable rather than disabled */
  cursor: not-allowed;
  pointer-events: none;
}
.page-info {
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}
.page-info strong { color: var(--text); }

.shows-content { padding: 0 48px; }


/* ============================================================================
 * 14. SHOW DETAIL PAGE
 * ============================================================================ */

.show-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  min-height: 100vh;
  padding-top: 74px;
}
.show-main {
  padding: 60px 48px;
  border-right: 1px solid var(--border);
}
/* .show-sidebar styling lives in show_detail.css — only used on that page. */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 0;                 /* 16px tall on the phone; the target is now 44 (audit 1.4) */
  margin-top: -14px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 36px;
  transition: color .2s;
}
.back-link:hover { color: var(--text); }

.show-headshot {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 32px;
}
.show-headshot-ph {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3/4;
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  border-radius: 4px;
}
.show-headshot-ph-text {
  font-family: var(--font-big);
  font-size: 8rem;
  color: rgba(var(--ink-rgb),.06);
}
/* An open mic has no headliner to photograph: the microphone, quiet (queue A2). */
.show-headshot-ph .show-headshot-ph-icon { width: 96px; height: 96px; color: var(--muted); opacity: .45; }
.show-date-badge {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 12px;
}
.show-title {
  font-family: var(--font-big);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: .95;
  margin-bottom: 10px;
}
.show-credits {
  font-size: .88rem;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 24px;
  font-style: italic;
}
.show-bio {
  font-size: .95rem;
  font-weight: 300;
  color: rgba(var(--ink-rgb),.75);
  line-height: 1.85;
  margin-bottom: 32px;
}
.show-bio p { margin-bottom: 12px; }
.show-rules {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 32px;
}
.show-rules h4 {
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.show-rules li {
  font-size: .82rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 6px;
  list-style: none;
  padding-left: 14px;
  position: relative;
}
.show-rules li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(var(--red-rgb),0.4);
}

/* Sidebar */
.sidebar-show-name {
  font-family: var(--font-big);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 1px;
}
.sidebar-show-date {
  font-size: .72rem;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 10px;
}
.sb-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 10px 0;
}

/* Ticket tier cards.
 *
 * SIZED FOR A LIST THAT GROWS. Tiers are per-tenant and arbitrary in count, so
 * this tile is read four or five times on one screen, not twice. Measured at
 * 390x640 with four tiers: at the old metrics the first tile sat behind the nav
 * and the primary button fell below the fold. The per-tile "incl. fees + tax"
 * caption moved out to .tier-allin-note (said once), which is most of what the
 * tile lost. Nothing else was removed — see .ticket-tier.sold-out for the one
 * place a line is dropped, and why. */
.ticket-tier {
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: all .2s;
}
/* Said once for the whole list instead of inside every price. Sits with the
   list it captions, above the quantity row. */
.tier-allin-note {
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: -1px 0 8px;
  padding-left: 2px;
}
.ticket-tier:hover { border-color: rgba(var(--ink-rgb),.2); }
.ticket-tier.selected {
  border-color: var(--red);
  background: rgba(var(--red-rgb),0.08);
}
.ticket-tier.selected .tier-check {
  opacity: 1;
  transform: scale(1);
}
.ticket-tier.unavailable {
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
}
.tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.tier-left { flex: 1; min-width: 0; }
.tier-name { font-weight: 600; font-size: .88rem; color: var(--text); }
.tier-desc { font-size: .7rem; color: var(--muted); margin-top: 2px; }
.tier-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.tier-price {
  font-family: var(--font-big);
  font-size: 1.3rem;
  color: var(--text);
  line-height: 1.1;
}
.tier-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color:var(--on-accent);
  opacity: 0;
  transform: scale(0);
  transition: all .2s;
}
.tier-avail {
  font-size: .62rem;
  color: var(--muted);
  margin-top: 3px;
  text-align: right;
}
.tier-avail.tight { color: var(--amber); font-weight: 600; }
.tier-avail.critical { color: var(--danger); font-weight: 700; }

/* Urgency banner */
.urgency-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.4;
  transition: all .3s;
}
.urgency-bar.critical {
  background: rgba(var(--danger-rgb), 0.1);     /* the token's tint, not a literal red's (UI-17) */
  border: 1px solid rgba(var(--danger-rgb), 0.25);
  color: var(--danger);
}
.urgency-bar.warning {
  background: rgba(var(--amber-rgb), 0.08);
  border: 1px solid rgba(var(--amber-rgb), 0.2);
  color: var(--amber);
}
.urgency-bar.low {
  background: rgba(var(--red-rgb),0.07);
  border: 1px solid rgba(var(--red-rgb),0.18);
  color: #e07060;
}
.urgency-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.urgency-bar.critical .urgency-dot {
  background: var(--danger);
  animation: urgency-pulse 1.2s infinite;
}
.urgency-bar.warning .urgency-dot {
  background: var(--amber);
  animation: urgency-pulse 1.8s infinite;
}
.urgency-bar.low .urgency-dot { background: #e07060; }
.urgency-sell-bar {
  height: 3px;
  background: rgba(var(--tint-rgb),.08);
  border-radius: 2px;
  margin-top: 4px;
  overflow: hidden;
}
.urgency-sell-fill {
  height: 100%;
  border-radius: 2px;
  transition: width .8s ease;
  /* THE FILL IS THE CLUB'S RED, AND IT LIVES HERE RATHER THAN INLINE.
     show_detail.html wrote this colour into the element's style attribute as a
     literal rgba(200,50,26,.7) — Wit's End red. Brand hex is NOT part of
     serve-time substitution (tenant.template_subs carries names, hosts and
     copy, never colours), so the Laugh Barn, whose --red is the teal #1d7a8c,
     drew a Wit's End red sell-through bar on its own show page.
     Only the WIDTH is genuinely per-render, so only the width stays inline.
     Every theme that declares --red also declares --red-rgb, which is what
     makes the alpha form safe. */
  background: rgba(var(--red-rgb),.7);
}

/* Quantity controls */
.qty-row {
  display: flex;
  align-items: center;
  background: var(--surface);
  border-radius: 4px;
  padding: 8px 12px;
  margin: 7px 0;
}
.qty-label {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.qty-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border-mid);
  border-radius: 50%;
  background: var(--state-hover);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  line-height: 1;
}
.qty-btn:hover {
  border-color: var(--border-hover);
  background: var(--state-selected);
}
.qty-num {
  font-family: var(--font-big);
  font-size: 1.25rem;
  min-width: 20px;
  text-align: center;
  color: var(--text);
}

/* Order summary */
.order-summary {
  background: var(--surface);
  border-radius: 6px;
  padding: 10px 12px;
  margin: 6px 0;
  border: 1px solid rgba(var(--ink-rgb),.05);
}
.order-row {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 5px;
}
.order-row:last-child { margin-bottom: 0; }
.order-row.discount { color: var(--green); }
.order-row.fee {
  color: var(--muted);
  font-size: .7rem;
}
.order-row.total {
  color: var(--text);
  font-weight: 600;
  font-size: .92rem;
  border-top: 1px solid var(--border-input);
  padding-top: 8px;
  margin-top: 5px;
}
.order-row.total span:last-child {
  color: var(--text);              /* the one number the buyer must read was the accent at 3.53:1 (audit 2.4) */
  font-family: var(--font-big);
  font-size: 1.1rem;
  letter-spacing: .02em;
}

/* Promo code — a link until asked for.
 *
 * The field plus its reserved message line is ~54px that most buyers scroll
 * past. Collapsing it is deliberately NOT the thing UX_PRINCIPLES §1 forbids:
 * that rule is about fees, which stay itemised and always visible in the order
 * summary. The link stays because "where do I enter my code" is its own
 * abandonment.
 *
 * THE 44px TARGET IS AN INVISIBLE EXPANSION, NOT AN INFLATED CONTROL. A
 * min-height:44px link is 44px of layout, which gives back almost everything
 * collapsing the field saved. research/DIGEST.md §5: "touch target 48px, always
 * as an invisible expansion around a smaller visual control — never by inflating
 * the control." So the link renders at its natural ~18px and ::after reaches out
 * to a full-width 44px hit area.
 *
 * THE ROW, AND NOTHING PAST IT (review r7): the button is the row's width (the
 * words stay where they were; only text is underlined), so ::after spans the
 * row with left/right 0. It used to reach 100vw to the right, which made the
 * show page 519px wide on a 390px phone (clipped by `overflow-x: clip`, which
 * iOS before 16 does not honour). */
.promo-toggle {
  position: relative;
  display: inline-block;           /* inline-block: its margins never collapse */
  width: 100%;
  padding: 0;
  margin: 4px 0 6px;
  background: none;
  border: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .74rem;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color .18s;
}
.promo-toggle::after {
  content: "";
  position: absolute;
  left: 0; right: 0;               /* the row, not just the words */
  top: 50%;
  height: 44px;
  transform: translateY(-50%);
}
.promo-toggle:hover { color: var(--text); }
.promo-toggle:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.promo-block[hidden] { display: none; }

/* Promo code input */
.promo-wrap {
  display: flex;
  gap: 6px;
  margin: 5px 0;
}
.promo-input {
  flex: 1;
  padding: 8px 10px;
  background: var(--surface-tint);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  text-transform: uppercase;
  transition: border .2s;
  letter-spacing: .06em;
}
.promo-input:focus { border-color: rgba(var(--red-rgb),0.6); }
/* The empty order summary is the ONLY prompt telling a buyer they still have to
   pick a ticket type, and it was rgba(ink,.25) — 1.75:1, the faintest thing on
   the panel. Beta testers reported not seeing it. An instruction the purchase
   cannot proceed without is not decoration: it takes the accent, real weight,
   and an arrow pointing back at the cards it refers to. */
.order-row-hint {
  color: var(--accent-ink);
  font-weight: 600;
  letter-spacing: .01em;
}

.promo-input::placeholder {
  text-transform: none;
  letter-spacing: 0;
  color: var(--placeholder);
}
.promo-btn {
  padding: 8px 12px;
  background: rgba(var(--tint-rgb),.07);
  border: 1px solid var(--border-input);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
}
.promo-btn:hover { background: rgba(var(--tint-rgb),.14); }
.promo-msg {
  font-size: .7rem;
  margin-top: 3px;
  min-height: 13px;
  line-height: 1.4;
}
.promo-msg.ok  { color: var(--green); }
.promo-msg.err { color: var(--danger); }

/* Checkout form fields (sidebar) — slightly different from public .form-input */
.show-sidebar .form-group {
  position: relative;
  margin-top: 8px;
  margin-bottom: 0;
}
.show-sidebar .form-label {
  display: block;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.show-sidebar input[type=text],
.show-sidebar input[type=email] {
  width: 100%;
  padding: 9px 11px;
  background: var(--surface-tint);
  border: 1px solid var(--border-input);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: all .2s;
}
.show-sidebar input[type=text]:focus,
.show-sidebar input[type=email]:focus {
  border-color: var(--red);
  background: rgba(var(--red-rgb),0.04);
}
.show-sidebar input[type=text]:valid:not(:placeholder-shown),
.show-sidebar input[type=email]:valid:not(:placeholder-shown) {
  border-color: rgba(var(--green-rgb), 0.4);
}
.show-sidebar input::placeholder { color: var(--placeholder); }
.show-sidebar input:read-only { opacity: .6; cursor: default; }

/* Stripe payment element */
#payment-element {
  background: rgba(var(--tint-rgb),.02);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
  min-height: 44px;
}
#payment-element iframe { border-radius: 4px; }

/* Trust bar */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .72rem;
  color: var(--muted);            /* 2.59:1 (audit 4.4) */
  margin: 8px 0 4px;
  flex-wrap: wrap;
}
.trust-bar-lock { font-size: .7rem; }
.trust-cards {
  display: flex;
  gap: 4px;
  align-items: center;
}
.trust-card {
  background: rgba(var(--tint-rgb),.08);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: .6rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .03em;
}

/* Pay buttons */
.pay-btn {
  width: 100%;
  padding: 14px;
  background: var(--red);
  color:var(--on-accent);
  border: none;
  border-radius: 6px;
  font-family: var(--font-big);
  font-size: 1.3rem;
  letter-spacing: .08em;
  cursor: pointer;
  margin-top: 10px;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(var(--red-rgb),0.3);
}
.pay-btn:hover {
  background: var(--red-deep);
  box-shadow: 0 6px 20px rgba(var(--red-rgb),0.4);
  transform: translateY(-1px);
}
.pay-btn:active { transform: translateY(0); }
.pay-btn:disabled {
  background: var(--disabled-fill);  /* by class, not the accent at .4 opacity (audit #6) */
  color: var(--disabled-ink);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.pay-btn-lock { font-size: .82rem; }
.pay-error {
  font-size: .74rem;
  color: var(--danger);
  margin-top: 6px;
  text-align: center;
  min-height: 14px;
  line-height: 1.4;
}
.pay-loading {
  text-align: center;
  padding: 14px;
  color: var(--muted);
  font-size: .8rem;
}

/* Step indicator */
.steps {
  display: flex;
  gap: 0;
  margin-bottom: 14px;
}
.step {
  flex: 1;
  text-align: center;
  font-size: .66rem;               /* 9.3px at 1.77:1 for the inactive steps (audit 2.4) */
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 7px;
  border-bottom: 2px solid var(--border-hi);
  transition: all .3s ease;
  position: relative;
}
.step.active {
  color: var(--accent-ink);
  border-bottom-color: var(--red);
}
.step.done {
  color: var(--muted);
  border-bottom-color: rgba(var(--ink-rgb),.2);
}
.step.done::after {
  content: '✓';
  position: absolute;
  right: 8px; top: 0;
  font-size: .55rem;
  color: var(--muted);
}

/* Open mic notice */
.open-mic-notice {
  background: rgba(var(--tint-rgb),.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}
.open-mic-notice h3 {
  font-family: var(--font-big);
  font-size: 1.7rem;
  color: var(--text);
  margin-bottom: 6px;
}
.open-mic-notice p {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Success state */
.ticket-success {
  display: none;
  padding: 4px 0;
}
.success-hero {
  text-align: center;
  padding: 18px 0 14px;
  border-bottom: 1px solid rgba(var(--green-rgb), 0.15);
  margin-bottom: 16px;
}
.success-check {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(var(--green-rgb), 0.12);
  border: 2px solid rgba(var(--green-rgb), 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.4rem;
}
.success-title {
  font-family: var(--font-big);
  font-size: 2.2rem;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1;
}
.success-show-name {
  font-size: .82rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 2px;
}
.success-date {
  font-size: .72rem;
  color: var(--muted);
}
.success-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(var(--ink-rgb),.06);
}
.success-detail-label {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.success-detail-value {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}
.success-qr-wrap {
  text-align: center;
  padding: 16px 0 8px;
}

/* Add to Apple Wallet — shown in place of the QR on Apple devices.
   Apple's guidelines require the badge on a solid black pill with the lock-up
   unaltered, so this deliberately does NOT take the brand red. It's the one
   control on the site that isn't ours to restyle. */
.success-qr {
  width: 148px; height: 148px;
  background: var(--qr-plate);
  padding: 8px;
  border-radius: 8px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), 0.2);
}
.success-code {
  font-family: var(--font-big);
  font-size: 1.15rem;
  letter-spacing: .2em;
  color: var(--text);
  margin-bottom: 2px;
}
.success-code-sub {
  font-size: .58rem;
  color: var(--muted);
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.success-email-note {
  font-size: .7rem;
  color: var(--muted);
  text-align: center;
  padding: 10px 0 2px;
  line-height: 1.6;
}

/* Share section (success state). Pushed further from the ticket actions and
   given a real divider so it reads as a separate invitation, not another row
   in the same button pile. Its pill language is deliberately distinct from the
   ticket actions above so the two groups never blur together. */
.share-section {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border-input);
}
/* .share-actions lives in show_detail.css, which owns the success screen. */
.share-btns {
  display: flex;
  gap: 7px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4px;
}
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 16px;
  border-radius: 20px;
  font-size: .76rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--font-body);
  transition: all .18s;
  line-height: 1;
  white-space: nowrap;
}
.share-btn:active { transform: scale(.95); }
.share-dl {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: var(--text);
  border: none !important;
}
.share-dl:hover {
  opacity: .9;
  transform: translateY(-1px);
}
.share-copy {
  background: rgba(var(--tint-rgb),.08);
  color: rgba(var(--ink-rgb),.65);
  border-color: var(--border-input-hi) !important;
}
.share-copy:hover {
  background: rgba(var(--tint-rgb),.14);
  color: var(--text);
}
.share-copy.copied {
  background: rgba(var(--green-rgb), 0.12);
  color: var(--green);
  border-color: rgba(var(--green-rgb), 0.2) !important;
}
.share-x {
  background: var(--state-hover);
  color: var(--text-soft);
  border-color: var(--border-input) !important;
}
.share-x:hover {
  background: rgba(var(--tint-rgb),.12);
  color: var(--text);
}
.share-msg {
  font-size: .7rem;
  color: var(--green);
  margin-top: 6px;
  min-height: 14px;
  opacity: 0;
  transition: opacity .4s;
}

/* You might also like section */
.also-section {
  padding: 48px 48px 56px;
  border-top: 1px solid var(--border);
  background: rgba(var(--tint-rgb),.015);
}
.also-eyebrow {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 10px;
}
.also-title {
  font-family: var(--font-big);
  font-size:var(--type-display-size);
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1;
}
.also-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.also-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all .22s;
  cursor: pointer;
}
.also-card:hover {
  border-color: rgba(var(--ink-rgb),.2);
  background: rgba(var(--tint-rgb),.04);
  transform: translateY(-2px);
}
.also-card-img {
  width: 64px; height: 64px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--state-hover);
}
.also-card-img-ph {
  width: 64px; height: 64px;
  border-radius: 6px;
  background: rgba(var(--red-rgb),0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-big);
  font-size: 1.4rem;
  color: var(--accent-ink);
  flex-shrink: 0;
}
.also-card-info {
  flex: 1;
  min-width: 0;
}
.also-card-date {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 4px;
}
.also-card-name {
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.also-card-credits {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 300;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}
.also-card-price {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-soft);
}
.also-card-cta {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}


/* ============================================================================
 * 15. CALENDAR PAGE
 * ============================================================================ */

.cal-controls {
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}
.cal-controls-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cal-nav-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
  color: var(--text-soft);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .18s;
  flex-shrink: 0;
}
.cal-nav-btn:hover {
  border-color: var(--border-emph);
  color: var(--text);
  background: var(--surface-tint);
}
.cal-month-label {
  font-family: var(--font-big);
  font-size: 2.4rem;
  color: var(--text);
  line-height: 1;
  flex: 1;
}
.cal-today-btn {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .18s;
  flex-shrink: 0;
}
.cal-today-btn:hover {
  border-color: rgba(var(--ink-rgb),.25);
  color: var(--text);
  background: rgba(var(--tint-rgb),.04);
}

.cal-wrap { padding: 28px 48px 0; }
.cal-grid {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
}
.cal-header {
  display: table;
  width: 100%;
  table-layout: fixed;
  border-bottom: 1px solid var(--border);
  background: rgba(var(--tint-rgb),.02);
}
.cal-header-row { display: table-row; }
.cal-header-day {
  display: table-cell;
  padding: 12px 6px;
  text-align: center;
  font-size: .66rem;               /* was 8px at 1.96:1 (audit C4) */
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  width: 14.285%;
}
.cal-header-day.weekend { color: var(--text-soft); }

.cal-body {
  display: table;
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.cal-row { display: table-row; }
.cal-day {
  display: table-cell;
  width: 14.285%;
  height: 130px;
  vertical-align: top;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: background .15s;
}
.cal-row .cal-day:last-child { border-right: none; }
.cal-day.other-month { background: rgba(var(--tint-rgb),.01); }
.cal-day.other-month .cal-day-inner { opacity: .25; }
.cal-day.has-show { background: rgba(var(--red-rgb),0.03); }
.cal-day.has-show:hover {
  background: rgba(var(--red-rgb),0.07);
  cursor: pointer;
}
.cal-day-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  z-index: 0;
}
.cal-day-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    var(--scrim-mid) 0%,
    rgba(var(--scrim-rgb),.18) 50%,
    rgba(var(--scrim-rgb),.88) 100%);
  z-index: 1;
}
.cal-day-inner {
  position: relative;
  z-index: 2;
  padding: 8px 7px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cal-day-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-soft);           /* a step above past days (--muted), so bookable dates lead */
  flex-shrink: 0;
  border-radius: 50%;
  transition: all .15s;
}
.cal-day.today .cal-day-num {
  background: var(--red);
  color:var(--on-accent);
  box-shadow: 0 0 0 3px rgba(var(--red-rgb),0.22);
}
.cal-day.has-show:not(.other-month) .cal-day-num { color: var(--text); }   /* was --on-scrim: the date vanished on a light club, 1.12:1 (audit C9) */

.cal-events {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cal-event {
  display: block;
  border-radius: 3px;
  padding: 3px 6px;
  font-size: .58rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all .15s;
  line-height: 1.5;
  letter-spacing: .02em;
}
.cal-event.headliner {
  background: rgba(var(--red-rgb),0.78);
  border-left: 2px solid var(--red);
}
.cal-event.headliner:hover { background: rgba(var(--red-rgb),1); }
.cal-event.open-mic {
  background: rgba(var(--tint-rgb),.08);
  color: var(--text-soft);
  border-left: 2px solid rgba(var(--ink-rgb),.18);
}
.cal-event.open-mic:hover {
  background: rgba(var(--tint-rgb),.14);
  color: var(--text);
}
.cal-more {
  display: block;
  font-size: .62rem;
  color: var(--muted);
  padding: 6px 5px;                /* a control now, not a note: it scrolls to the day's rows (audit C6) */
  margin-top: 1px;
  text-decoration: none;
}
.cal-more:hover { color: var(--text); }
.show-row[id^="d-"] { scroll-margin-top: 84px; }

.cal-legend {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  flex-wrap: wrap;
  padding-bottom: 36px;
}
.cal-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .7rem;
  color: var(--muted);
}
.cal-legend-dot {
  width: 8px; height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Upcoming list section (calendar) */
.upcoming-section { padding: 0 48px 80px; }
.upcoming-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 36px;
}
.bucket-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bucket-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(var(--red-rgb),0.18);
}
.bucket-group { margin-bottom: 32px; }

.show-row.show-row-cal {
  /* In calendar: not a flex layout like shows page; use cal-specific row pattern */
}
/* Calendar uses its own .show-row layout — distinct from shows.html */
.upcoming-section .show-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(var(--ink-rgb),.05);
  transition: transform .15s;
  background: transparent;
}
.upcoming-section .show-row:hover {
  background: transparent;
  transform: translateX(3px);
}
.upcoming-section .show-row:last-child { border-bottom: none; }
.show-row-photo {
  width: 52px; height: 52px;
  border-radius: 4px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  background: rgba(var(--tint-rgb),.04);
}
.show-row-photo-ph {
  width: 52px; height: 52px;
  border-radius: 4px;
  flex-shrink: 0;
  background: rgba(var(--red-rgb),0.1);
  border: 1px solid rgba(var(--red-rgb),0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.upcoming-section .show-row-info {
  flex: 1;
  min-width: 0;
  padding: 0;
  display: block;
}
.upcoming-section .show-row-name {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
  line-height: normal;
}
.upcoming-section .show-row-meta {
  font-size: .72rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 0;
}
.meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(var(--tint-rgb),.22);
  flex-shrink: 0;
}
.upcoming-section .show-row-price {
  font-family: var(--font-big);
  font-size: 1.3rem;
  color: var(--text);
  flex-shrink: 0;
  text-align: right;
  min-width: 52px;
  font-weight: normal;
}
.upcoming-section .show-row-price span {
  font-family: var(--font-body);
  font-size: .58rem;
  color: var(--muted);
  display: block;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.show-row-cta.is-closed { background: var(--surface2); color: var(--muted); cursor: default; }
.show-row-cta {
  flex-shrink: 0;
  padding: 8px 18px;
  background: var(--red);
  color:var(--on-accent);
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .18s;
  white-space: nowrap;
  width: auto;
  opacity: 1;
  transform: none;
  display: inline-block;
}
.show-row-cta:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
}
.upcoming-section .open-mic-row .show-row-name {
  color: rgba(var(--ink-rgb),.65);
}
.upcoming-section .open-mic-row .show-row-cta {
  background: rgba(var(--tint-rgb),.08);
  color: rgba(var(--ink-rgb),.65);
}
.upcoming-section .open-mic-row .show-row-cta:hover {
  background: rgba(var(--tint-rgb),.14);
  color: var(--text);
}
.cal-empty {
  text-align: center;
  padding: 52px 24px;
  color: var(--muted);
}
.cal-empty-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  opacity: .35;
}
.cal-empty-text {
  font-size: .85rem;
  line-height: 1.75;
}


/* ============================================================================
 * 16. GALLERY PAGE
 * ============================================================================ */

/* Hover zoom and the overlay only where a real pointer HOVERS (audit G4): on a
   touch screen a tap left the tile zoomed and in colour until the next touch
   elsewhere, then it twitched back. Reduced motion stops every gallery and
   lightbox transition (audit G9; UX_PRINCIPLES §6). */
@media (prefers-reduced-motion: reduce) {
  .gallery-item img, .gallery-item-overlay, .gallery-caption-wrap,
  .lightbox, .lightbox-img, .lightbox-nav { transition: none !important; }
}

.gallery-grid {
  /* Rows, not CSS columns (fill-by-rows, 4 Nov 2026): gallery.html places each
     photo in the shortest of --gal-cols columns, so the club's order reads
     across. The count per breakpoint lives here, and only here. */
  --gal-cols: 4;
  padding: 2px 0 80px;
  display: flex; align-items: flex-start;
  column-gap: 3px;
}
.gallery-col { flex: 1 1 0; min-width: 0; }
.gallery-item:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: -2px; }
.gallery-item {
  margin-bottom: 3px;
  cursor: pointer;
  /* A real button (audit A1): undo the browser's button chrome. */
  width: 100%; padding: 0; border: 0; font: inherit; color: inherit; text-align: inherit;
  -webkit-appearance: none; appearance: none;
  /* A tile is tapped to open the lightbox; the browser's tap highlight
     flashed a box over the lightbox as it opened (audit G1, 4 Nov 2026). */
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  position: relative;
  display: block;
  background: var(--surface);
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform .4s cubic-bezier(.25, .46, .45, .94), filter .4s;
  filter: grayscale(15%);
}
@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover img {
    transform: scale(1.04);
    filter: grayscale(0);
  }
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(var(--scrim-rgb),.78) 0%,
    transparent 55%);
  opacity: 0;
  transition: opacity .28s;
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover .gallery-item-overlay { opacity: 1; }
}
.gallery-caption-wrap {
  transform: translateY(6px);
  transition: transform .28s;
}
@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover .gallery-caption-wrap { transform: translateY(0); }
}
.gallery-caption {
  display: block;                 /* spans now: a <button> holds phrasing content only */
  font-size: .72rem;
  color: var(--text);
  font-weight: 400;
  line-height: 1.4;
}
.gallery-photographer {
  display: block;
  font-size: .62rem;
  color: var(--muted);
  margin-top: 2px;
}
.empty-gallery {
  flex: 1;                        /* the whole row of the (flex) grid, not one column (audit Y1) */
  padding: 80px 20px;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Gallery lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  /* Opaque: at .96 the page's white type still ghosted through on a phone. */
  background: rgb(var(--shadow-rgb));
  align-items: center;
  justify-content: center;
  padding: 20px;
  flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox {
  /* The two bars have FIXED heights and the stage sits exactly between them,
     so a long caption or a short window can never put text over the photo
     (audit G10), and the img box is the same size for every photo (G2). */
  --lb-top: 64px; --lb-bottom: 92px; --lb-side: 72px;
}
.lightbox-img-wrap {
  position: fixed;
  top: var(--lb-top); bottom: var(--lb-bottom); left: var(--lb-side); right: var(--lb-side);
}
.lightbox-img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  user-select: none; -webkit-user-select: none;
}
.lightbox-live {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.lightbox-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--lb-top); box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 20px;
  background: linear-gradient(to bottom, rgba(var(--shadow-rgb),.7), transparent);
  z-index: 10;
}
.lightbox-counter {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .12em;
  /* All lightbox type is --on-scrim, never --text/--muted: the backdrop stays
     black in every theme, and on a light club those turn dark (staging, barn). */
  color: color-mix(in srgb, var(--on-scrim) 72%, transparent);
}
.lightbox-close {
  width: 44px; height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: color-mix(in srgb, var(--on-scrim) 72%, transparent);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 6px;
  transition: color .2s;
}
.lightbox-close:hover { color: var(--on-scrim); }
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 64px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: color-mix(in srgb, var(--on-scrim) 72%, transparent);
  cursor: pointer;
  background: rgba(var(--shadow-rgb),.3);
  border: none;
  transition: color .2s, background .2s;
  border-radius: 6px;
}
.lightbox-close:focus-visible, .lightbox-nav:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; color: var(--on-scrim); }
.lightbox-nav:hover {
  color: var(--on-scrim);
  background: rgba(var(--shadow-rgb),.6);
}
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
.lightbox-bottom {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--lb-bottom); box-sizing: border-box; overflow: hidden;
  padding: 12px 20px 14px;
  background: linear-gradient(to top, rgba(var(--shadow-rgb),.7), transparent);
  text-align: center;
}
.lightbox-caption-text {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: .8rem;
  color: color-mix(in srgb, var(--on-scrim) 78%, transparent);
  line-height: 1.5;
}
.lightbox-photo-credit {
  font-size: .68rem;
  color: color-mix(in srgb, var(--on-scrim) 60%, transparent);
  margin-top: 3px;
}
.lightbox-hint {
  font-size: .62rem;
  color: color-mix(in srgb, var(--on-scrim) 60%, transparent);
  margin-top: 6px;
  letter-spacing: .08em;
}


/* ============================================================================
 * 17. COMEDIAN PAGE
 * ============================================================================ */

/* Comedian hero — split grid with headshot */
.comedian-hero {
  padding-top: 74px;
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr 440px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.comedian-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%,
    rgba(var(--red-rgb),.14) 0%,
    transparent 60%);
  pointer-events: none;
}
.comedian-hero-left {
  padding: 64px 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.comedian-hero-eyebrow {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 10px;
}
.comedian-hero-name {
  font-family: var(--font-big);
  font-size: clamp(3.5rem, 7vw, 6rem);
  color: var(--text);
  line-height: .92;
  margin-bottom: 16px;
}
.comedian-hero-credits {
  font-size: .92rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 500px;
}
.comedian-hero-bio {
  font-size: .95rem;
  font-weight: 300;
  color: rgba(var(--ink-rgb),.7);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 20px;
}
.comedian-hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.comedian-hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.comedian-hero-meta-label {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.comedian-hero-meta-value {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
}
.comedian-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--red);
  color:var(--on-accent);
  border-radius: 4px;
  font-family: var(--font-big);
  font-size: 1.2rem;
  letter-spacing: .06em;
  text-decoration: none;
  transition: all .2s;
  align-self: flex-start;
  box-shadow: 0 4px 20px rgba(var(--red-rgb),0.3);
}
.comedian-hero-cta:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(var(--red-rgb),0.4);
}
.comedian-hero-cta-sub {
  font-size: .72rem;
  color: var(--muted);
  margin-top: 10px;
}
.comedian-hero-right {
  position: relative;
  overflow: hidden;
}
.comedian-hero-headshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.comedian-hero-headshot-ph {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: linear-gradient(135deg,
    rgba(var(--red-rgb),.15),
    rgba(var(--scrim-rgb),.8));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-big);
  font-size: 8rem;
  color: rgba(var(--red-rgb),0.3);
}

/* YouTube clip section (comedian) */
.clip-section {
  border-bottom: 1px solid var(--border);
  padding: 40px 48px;
}
.clip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 48px;
  align-items: center;
}
.clip-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 10px;
}
.clip-heading {
  font-family: var(--font-big);
  font-size: 2.4rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 10px;
}
.clip-sub {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
}
.yt-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
}
.yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.yt-facade:hover img { transform: scale(1.02); }
.yt-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yt-play-btn svg {
  width: 68px;
  height: 68px;
  filter: drop-shadow(0 2px 12px rgba(var(--shadow-rgb),.6));
  transition: transform .2s;
}
.yt-facade:hover .yt-play-btn svg { transform: scale(1.1); }
.yt-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  display: none;
}
.yt-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Comedian page shows section */
.shows-section { padding: 56px 48px; }

/* Show card variant for comedian + show_detail "also like" — slightly different from main shows-grid */
.shows-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 48px;
}
.show-card-comedian {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: all .22s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.show-card-comedian::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(var(--red-rgb),0);
  transition: background .2s;
  pointer-events: none;
}
.show-card-comedian:hover {
  border-color: rgba(var(--ink-rgb),.18);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--shadow-rgb),.4);
}
.show-card-comedian:hover::before { background: rgba(var(--red-rgb),0.04); }
.show-card-comedian.upcoming {
  border-color: rgba(var(--red-rgb),0.25);
  background: rgba(var(--red-rgb),0.04);
}
.show-card-comedian.sold-out { opacity: .65; }
.show-card-eyebrow {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.show-card-date {
  font-family: var(--font-big);
  font-size: 1.5rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 2px;
}
.show-card-time {
  font-size: .72rem;
  color: var(--muted);
}
.show-card-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}
.show-card-status {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 10px;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 2px;
  align-self: flex-start;
}
.status-upcoming {
  background: rgba(var(--red-rgb),0.12);
  color: var(--accent-ink);
  border: 1px solid rgba(var(--red-rgb),0.25);
}
.status-sold-out {
  background: var(--state-hover);
  color: var(--muted);
  border: 1px solid var(--border);
}
.status-past {
  background: rgba(var(--tint-rgb),.04);
  color: var(--muted);
  border: 1px solid rgba(var(--ink-rgb),.06);
}
.show-card-cta {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.show-card-comedian.sold-out .show-card-cta { color: var(--muted); }
.show-card-urgency {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  font-weight: 600;
  color: var(--amber);
  margin-top: 2px;
}
.show-card-comedian .urgency-dot {
  background: var(--amber);
  animation: pulse-dot 1.5s infinite;
}
.no-shows {
  padding: 32px;
  text-align: center;
  color: var(--text-faint);
  font-size: .82rem;
  letter-spacing: .1em;
}

/* Share strip (comedian page) */
.share-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 48px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.share-strip-text {
  flex: 1;
  min-width: 200px;
}
.share-strip-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.share-strip-value {
  font-size: .9rem;
  color: var(--text);
  font-weight: 400;
}
.share-strip-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.share-strip-btn {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: .74rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: all .18s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.share-strip-btn:active { transform: scale(.96); }
.share-copy-btn {
  background: rgba(var(--tint-rgb),.08);
  color: var(--text-soft);
  border: 1px solid var(--border-input-hi) !important;
}
.share-copy-btn:hover {
  background: rgba(var(--tint-rgb),.14);
  color: var(--text);
}
.share-copy-btn.copied {
  background: rgba(var(--green-rgb), 0.12);
  color: var(--green);
}
.share-ig-btn {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: var(--text);
}
.share-ig-btn:hover { opacity: .9; }


/* ============================================================================
 * 18. GROUPS PAGE
 * ============================================================================ */

.groups-hero {
  padding: 140px 48px 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.groups-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%,
    rgba(var(--red-rgb),.12) 0%,
    transparent 65%);
  pointer-events: none;
}
.groups-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.groups-hero-eyebrow {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 12px;
}
.groups-hero-title {
  font-family: var(--font-big);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: .92;
  color: var(--text);
  margin-bottom: 20px;
}
.groups-hero-title span { color: var(--accent-ink); }
.groups-hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}
.groups-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--red);
  color:var(--on-accent);
  border-radius: 4px;
  font-family: var(--font-big);
  font-size: 1.2rem;
  letter-spacing: .06em;
  text-decoration: none;
  transition: background .2s;
}
.groups-hero-cta:hover { background: var(--red-deep); }
.groups-hero-phone {
  margin-top: 16px;
  font-size: .82rem;
  color: var(--muted);
}
.groups-hero-phone a {
  color: var(--text-soft);
  text-decoration: none;
}
.groups-hero-phone a:hover { color: var(--text); }

/* Perks grid */
.perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}
.perk {
  background: var(--bg);
  padding: 28px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.perk-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.perk-title {
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
  margin-bottom: 4px;
}
.perk-desc {
  font-size: .8rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}

/* Event types */
.types-section {
  padding: 72px 48px;
  border-bottom: 1px solid var(--border);
}
.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.type-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: all .2s;
  background: transparent;
}
.type-card:hover,
.type-card.selected {
  border-color: var(--red);
  background: rgba(var(--red-rgb),0.06);
}
.type-card.selected .type-check { opacity: 1; }
.type-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.type-name {
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
  margin-bottom: 4px;
}
.type-desc {
  font-size: .74rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
}
.type-check {
  float: right;
  color: var(--accent-ink);
  font-size: .9rem;
  opacity: 0;
  transition: opacity .2s;
}

/* Inquiry form */
.form-section {
  padding: 72px 48px 80px;
}
.form-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}
.form-title {
  font-family: var(--font-big);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: 8px;
}
.form-sub {
  font-size: .88rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
}
.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--red);
  color:var(--on-accent);
  border: none;
  border-radius: 6px;
  font-family: var(--font-big);
  font-size: 1.3rem;
  letter-spacing: .06em;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(var(--red-rgb),0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.submit-btn:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--red-rgb),0.4);
}
.submit-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.form-note {
  font-size: .72rem;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}
.form-error {
  font-size: .75rem;
  color: var(--danger);
  margin-top: 6px;
  min-height: 16px;
}

/* Success (groups) */
.success-wrap {
  display: none;
  text-align: center;
  padding: 40px 0;
}
.success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
}
.success-wrap .success-title {
  font-family: var(--font-big);
  font-size: 2.4rem;
  color: var(--green);
  margin-bottom: 8px;
}
.success-sub {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto 24px;
}
.success-link {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
  font-size: .8rem;
  text-decoration: none;
  transition: all .2s;
}
.success-link:hover {
  border-color: rgba(var(--ink-rgb),.25);
  color: var(--text);
}

/* Trust sidebar */
.trust-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  position: sticky;
  top: 90px;
}
.trust-title {
  font-family: var(--font-big);
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 16px;
}
.trust-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(var(--ink-rgb),.05);
}
.trust-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.trust-item-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.trust-item-title {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.trust-item-desc {
  font-size: .74rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
}
.trust-contact {
  background: rgba(var(--red-rgb),0.08);
  border: 1px solid rgba(var(--red-rgb),0.2);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
  text-align: center;
}
.trust-contact-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 6px;
}
.trust-contact-phone {
  font-family: var(--font-big);
  font-size: 1.4rem;
  color: var(--text);
}
.trust-contact-sub {
  font-size: .7rem;
  color: var(--muted);
  margin-top: 3px;
}


/* ============================================================================
 * 19. PASSED COMICS PAGE
 * ============================================================================ */

/* Passed comics page header has photo ambiance */
.passed-comics-page .page-header {
  padding: 120px 64px 56px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.passed-comics-page .page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%,
    rgba(var(--red-rgb),.1) 0%,
    transparent 65%);
  pointer-events: none;
}
/* Bare variant must win here — this page-scoped rule sits LATER in the file at
   the same specificity as .page-header.is-bare, so it would otherwise restore
   the 120px header. The ambient red glow goes with the header it belonged to. */
.passed-comics-page .page-header.is-bare {
  padding: 78px 64px 0;
  border-bottom: none;
}
.passed-comics-page .page-header.is-bare::before { display: none; }
@media (max-width: 768px) {
  .passed-comics-page .page-header.is-bare { padding: 70px 20px 0; }
}
.header-eyebrow {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 10px;
}
.header-title {
  font-family: var(--font-big);
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--text);
  line-height: .95;
  margin-bottom: 16px;
}
.header-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
}
.header-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.header-count-num {
  font-family: var(--font-big);
  font-size: 1.6rem;
  color: var(--accent-ink);
  line-height: 1;
}

.comics-section { padding: 56px 64px 80px; }
.comics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.comic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: all .25s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.comic-card:hover {
  border-color: rgba(var(--ink-rgb),.18);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(var(--shadow-rgb),.5);
}
.comic-card:hover .comic-photo { transform: scale(1.04); }
.comic-photo-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface-3);
  position: relative;
}
.comic-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .4s ease;
  filter: grayscale(10%);
}
.comic-photo:hover { filter: grayscale(0%); }
.comic-photo-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(var(--red-rgb),.12), var(--bg));
  font-family: var(--font-big);
  font-size: 5rem;
  color: rgba(var(--red-rgb),0.25);
}
.comic-passed-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(var(--scrim-rgb),.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(var(--red-rgb),0.4);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.comic-body {
  padding: 18px 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comic-name {
  font-family: var(--font-big);
  font-size: 1.5rem;
  color: var(--text);
  line-height: 1.05;
}
.comic-bio {
  font-size: .82rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.comic-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.comic-ig {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .74rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.comic-ig:hover { color: var(--text); }
.comic-ig svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.empty-state-title {
  font-family: var(--font-big);
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.empty-state-sub { font-size: .9rem; }


/* ============================================================================
 * 20. STATIC PAGE — .prose editor output
 * ============================================================================ */

.prose {
  color: rgba(var(--ink-rgb),.8);
  font-size: .97rem;
  font-weight: 300;
  line-height: 1.9;
  max-width: 700px;
}
.prose h1 {
  font-family: var(--font-big);
  font-size: 2.8rem;
  color: var(--text);
  margin-bottom: 12px;
  margin-top: 32px;
  line-height: 1;
}
.prose h2 {
  font-family: var(--font-big);
  font-size:var(--type-display-size);
  color: var(--text);
  margin-bottom: 10px;
  margin-top: 28px;
  line-height: 1.1;
}
.prose h3 {
  font-family: var(--font-big);
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 8px;
  margin-top: 22px;
}
.prose p { margin-bottom: 16px; }
.prose strong { font-weight: 500; color: var(--text); }
.prose em { font-style: italic; }
.prose ul,
.prose ol {
  margin: 0 0 16px 24px;
}
.prose li {
  margin-bottom: 6px;
  line-height: 1.7;
}
.prose a {
  color: var(--accent-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--red-rgb),0.3);
  transition: border .2s;
}
.prose a:hover { border-color: var(--red); }
.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}
.prose blockquote {
  border-left: 3px solid var(--red);
  padding-left: 16px;
  margin: 20px 0;
  color: var(--muted);
}


/* ============================================================================
 * 21. TICKET PAGE — standalone digital ticket
 * ============================================================================ */

.ticket-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  flex-direction: column;
  gap: 16px;
}
.ticket {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 400px;
  width: 100%;
  overflow: hidden;
}
.ticket-header {
  background: var(--red);
  padding: 22px 24px;
  text-align: center;
}
.ticket-venue {
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb),.7);
  margin-bottom: 5px;
}
.ticket-show {
  font-family: var(--font-big);
  font-size: 1.7rem;
  color: var(--text);
  line-height: 1.1;
}
.ticket-body {
  padding: 24px;
  text-align: center;
}
.ticket-qr {
  margin: 0 auto 18px;
  width: 200px;
  height: 200px;
  background: var(--qr-plate);
  padding: 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ticket-code {
  font-family: var(--font-big);
  font-size: 1.8rem;
  letter-spacing: .2em;
  color: var(--text);
  margin-bottom: 3px;
}
.ticket-code-sub {
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .15em;
  margin-bottom: 20px;
}
.ticket-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.ticket-row:last-child { border-bottom: none; }
.ticket-row-label {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticket-row-value {
  font-size: .83rem;
  font-weight: 500;
  color: var(--text);
  text-align: right;
}
.ticket-footer {
  background: rgba(var(--red-rgb),0.08);
  border-top: 1px solid rgba(var(--red-rgb),0.15);
  padding: 14px 20px;
  text-align: center;
  font-size: .73rem;
  color: var(--muted);
  line-height: 1.6;
}
.ticket-footer strong { color: rgba(var(--ink-rgb),.75); }
.checked-banner {
  background: var(--green-deep);
  padding: 9px;
  text-align: center;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.not-found {
  text-align: center;
  padding: 60px 20px;
}
.not-found h2 {
  font-family: var(--font-big);
  font-size: 2.5rem;
  color: var(--accent-ink);
  margin-bottom: 10px;
}
.not-found p {
  color: var(--muted);
  font-size: .9rem;
}
.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 400px;
  width: 100%;
  padding: 13px;
  background: rgba(var(--tint-rgb),.07);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-download:hover {
  background: rgba(var(--tint-rgb),.12);
  border-color: rgba(var(--ink-rgb),.2);
}
.apple-note {
  max-width: 400px;
  width: 100%;
  text-align: center;
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Ticket print styles */
@media print {
  .ticket-page {
    background: #fff;
    padding: 0;
    display: block;
  }
  .ticket-page body {
    background: #fff;
    color: #000;
  }
  .ticket {
    border: 2px solid #333;
    border-radius: 0;
    max-width: 100%;
    color: #000;
    background: #fff;
  }
  .ticket-header {
    background: var(--red) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .ticket-body { padding: 20px; }
  .ticket-row-label { color: #666; }
  .ticket-row-value { color: #000; }
  .ticket-footer {
    background: #fdf0ed !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    color: #666;
  }
  .ticket-footer strong { color: #333; }
  .btn-download,
  .apple-note { display: none !important; }
}


/* ============================================================================
 * RESPONSIVE — MEDIA QUERIES
 *
 * Notes on breakpoints across the original templates:
 *   - 480px / 600px / 768px / 860px / 900px / 1000px
 *
 * We preserve each template's intent rather than collapsing to a smaller set,
 * since each page has slightly different layout collapse points.
 * ============================================================================ */

/* ── 1000px and below ──────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  /* (Admin marketing uses this — handled in admin.css) */
}

/* ── 900px and below ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-ham { display: flex; }
  /* show_detail layout collapses to single column */
  .show-layout {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }
  .show-main {
    padding: 28px 20px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .show-sidebar {
    position: static;
    height: auto;
    padding: 18px 16px;
  }
  .show-headshot,
  .show-headshot-ph {
    max-width: 100%;
    aspect-ratio: 16/9;
  }
  .also-section { padding: 32px 20px 48px; }
  .also-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .also-title {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }
  /* groups page */
  .groups-hero { padding: 100px 20px 60px; }
  .groups-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .perks { grid-template-columns: 1fr; }
  .types-section,
  .form-section { padding: 48px 20px; }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .form-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .trust-sidebar { position: static; }
  .form-row { grid-template-columns: 1fr; }
  /* gallery */
  .gallery-grid { --gal-cols: 3; padding-bottom: 60px; }
  .page-header { padding: 90px 20px 28px; }
  .gallery-strip-header { padding: 16px 20px 10px; }
}

/* ── 860px and below — comedian hero collapse ───────────────────────────── */
@media (max-width: 860px) {
  .comedian-hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
    min-height: auto;
  }
  .comedian-hero-right {
    height: 320px;
    order: -1;
  }
  .comedian-hero-left { padding: 28px 20px 40px; }
  .clip-section { padding: 32px 20px; }
  .clip-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .shows-section { padding: 40px 20px; }
  .share-strip { padding: 20px; }
}

/* ── 768px and below ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* navigation */
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-ham { display: flex; }
  /* sections */
  .section { padding: 60px 20px; }
  /* page header */
  .page-header { padding: 90px 20px 28px; }
  /* shows page mobile */
  .toolbar { padding: 12px 16px; }
  .shows-content { padding: 0 16px; }
  .pagination { padding: 28px 16px 48px; }
  .show-row-date { width: 70px; padding: 16px 8px; }
  .show-row-day { font-size: 1.9rem; }
  .show-row-img,
  .show-row-img-ph {
    width: 60px; height: 60px;
    margin: 12px;
  }
  .show-row-info { padding: 14px 12px 14px 0; }
  .show-row-name { font-size: 1.35rem; }
  .show-row-cta { display: none; }
  .shows-grid { grid-template-columns: repeat(2, 1fr); }
  .show-card-name { font-size: 1.1rem; }
  /* gallery columns */
  .gallery-strip { /* preserve flex */ }
  .gallery-thumb { flex: 0 0 calc(100% / 3.4); }
  .mailing-section { padding: 48px 20px; }
  .info-block-value { font-size: 1.1rem; }
  .featured-card { flex: 0 0 82vw; }
  .featured-card-name { font-size: 1.25rem; }
  .show-list-date { width: 62px; }
  .show-list-day { font-size: 1.5rem; }
  .show-list-thumb,
  .show-list-thumb-ph {
    width: 44px; height: 44px;
    margin: 0 10px;
  }
  .show-list-arrow { display: none; }
  /* 107px of info column at 390px is not enough for "7:00 PM · <credit>" on one
     line — ellipsising it there leaves about four characters of credit. So the
     two facts stack and each takes the full column: the credit gets ~15
     characters instead of ~4, and the row height stops depending on how much a
     booker typed. */
  .show-list-meta { display: block; }
  .show-list-meta-dot { display: none; }
  .show-list-credit { display: block; margin-top: 2px; }
  .section-meta { font-size: .7rem; }
  /* calendar mobile */
  .cal-controls { padding: 14px 16px; }
  .cal-month-label { font-size: 1.8rem; }
  .cal-wrap { padding: 16px 12px 0; }
  .cal-day { height: 78px; }
  .cal-day-inner { padding: 5px 4px; }
  .cal-day-num { width: 20px; height: 20px; font-size: .65rem; }
  .cal-event { font-size: .5rem; padding: 2px 4px; }
  .cal-header-day {
    font-size: .5rem;
    padding: 8px 2px;
    letter-spacing: .04em;
  }
  .upcoming-section { padding: 0 16px 60px; }
  .upcoming-section .show-row {
    gap: 11px;
    padding: 12px 0;
  }
  .show-row-photo,
  .show-row-photo-ph {
    width: 44px; height: 44px;
  }
  .upcoming-section .show-row-name { font-size: .84rem; }
  .upcoming-section .show-row-price {
    font-size: 1.1rem;
    min-width: 44px;
  }
  .show-row-cta { padding: 7px 12px; font-size: .66rem; }
  /* passed_comics mobile */
  .passed-comics-page .page-header { padding: 100px 20px 40px; }
  .passed-comics-page .header-title { font-size: 3.5rem; }
  .comics-section { padding: 36px 16px 60px; }
  .comics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  /* static page padding */
  .page-content { padding-left: 20px; padding-right: 20px; }
  /* footer */
}

/* ── 600px and below — gallery double-up ────────────────────────────────── */
@media (max-width: 600px) {
  .gallery-grid {
    --gal-cols: 2;
    column-gap: 2px;
  }
  .gallery-grid .gallery-item { margin-bottom: 2px; }
  /* Phone: the photo uses the full width; the arrows float over its edges
     at 44px (audit A5: they were 24x49). */
  .lightbox { --lb-side: 0px; --lb-top: 56px; }
  .lightbox-nav { width: 44px; height: 56px; background: rgba(var(--shadow-rgb),.45); }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
}

/* ── 480px and below ───────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .upcoming-section .show-row-price { display: none; }
  .types-grid { grid-template-columns: 1fr; }
  .comedian-hero-name { font-size: 3rem; }
  .shows-grid-cards { grid-template-columns: 1fr; }
}

/* ── 420px and below ───────────────────────────────────────────────────── */
@media (max-width: 420px) {
  .comics-grid { grid-template-columns: 1fr; }
}

/* ── 400px and below ───────────────────────────────────────────────────── */
@media (max-width: 400px) {
  .shows-grid { grid-template-columns: 1fr; }
}

/* ── 380px and below — gallery single column ────────────────────────────── */
@media (max-width: 380px) {
  .gallery-grid { --gal-cols: 1; }
}

/* Inline icon (from /static/icons.svg) — scales with the element's font-size,
   inherits its color via currentColor. Replaces UI emoji site-wide. */
.ic{width:1em;height:1em;display:inline-block;vertical-align:-.14em;flex:0 0 auto;fill:none;stroke:currentColor}
