/* ==========================================================
   Colligan Theater — shared styles
   ========================================================== */

:root {
  /* dark, cinematic palette (reference style) */
  --ink: #f4f1ec;
  --ink-soft: #c9c3ba;
  --muted: #8e877e;
  --paper: #0a0a0a;
  --paper-2: #121212;
  --card: #161616;
  --line: #2a2a2a;
  --oxblood: #7a2230;
  --oxblood-dark: #5a1823;
  --brass: #c08a3e;
  --brass-soft: #f1e2c6;
  --stage: #000000;
  --ok: #2f6b4f;

  --seat-open: #ffffff;
  --seat-open-line: #b9a68c;
  --wheelchair: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='4' r='2.2'/%3E%3Cpath d='M10 7.5h2.2v5H17l2.6 6.2-1.9.8-2-4.8H10.6A1.8 1.8 0 0 1 10 14z'/%3E%3Cpath d='M8.2 10.4v2.1a4.6 4.6 0 1 0 6.3 5.6h2.1a6.6 6.6 0 1 1-8.4-7.7z'/%3E%3C/svg%3E");
  --seat-taken: #b9aea2;
  --seat-selected: var(--oxblood);
  --seat-access: #2f5f8a;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .02);
  --max: 1920px;
  --gutter: clamp(20px, 4.5vw, 72px);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--oxblood); text-underline-offset: 3px; }
a:hover { color: var(--oxblood-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

/* full width of the page, with breathing room on the sides */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--stage); color: var(--paper); }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
  display: block;
}
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font: 600 .95rem/1 var(--font-body);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--oxblood); color: #fff; }
.btn--primary:hover { background: var(--oxblood-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--outline-light { color: var(--paper); border-color: rgba(246, 241, 232, .5); background: transparent; }
.btn--outline-light:hover { border-color: var(--paper); color: #fff; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 232, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--oxblood); color: var(--brass-soft);
  display: grid; place-items: center;
  font: 700 1.15rem/1 var(--font-display);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 600 1.15rem/1.1 var(--font-display); }
.brand-sub { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: .95rem;
  padding: 8px 14px; border-radius: 999px;
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.nav .btn { margin-left: 8px; padding: 10px 18px; }
.nav a.btn--primary, .nav a.btn--primary[aria-current="page"] { color: #fff; background: var(--oxblood); }
.nav a.btn--primary:hover { color: #fff; background: var(--oxblood-dark); }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 12px 0 0; border-bottom: 0; border-radius: 999px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(192, 138, 62, .22), transparent 60%),
    linear-gradient(180deg, #2a211d 0%, #1a1412 100%);
  color: var(--paper);
  overflow: hidden;
}
.hero::before, .hero::after {
  /* stage curtains */
  content: ""; position: absolute; top: 0; bottom: 0; width: 9%;
  background: repeating-linear-gradient(90deg, #5a1823 0 14px, #7a2230 14px 26px, #5a1823 26px 40px);
  opacity: .9;
}
.hero::before { left: 0; box-shadow: inset -20px 0 30px rgba(0,0,0,.35); }
.hero::after  { right: 0; box-shadow: inset 20px 0 30px rgba(0,0,0,.35); }
.hero .container { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 110px; text-align: center; }
.hero h1 { color: #fff; max-width: 16ch; margin: 0 auto .35em; }
.hero p { color: rgba(246, 241, 232, .82); max-width: 54ch; margin: 0 auto 32px; font-size: 1.15rem; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 40px; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; font-size: .9rem; color: rgba(246,241,232,.7); }
.hero-meta strong { color: var(--brass-soft); font-weight: 600; }
@media (max-width: 640px) {
  .hero::before, .hero::after { width: 5%; }
  .hero .container { padding-top: 72px; padding-bottom: 72px; }
}

.page-hero { background: var(--stage); color: var(--paper); padding: 64px 0 56px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .25em; }
.page-hero p { color: rgba(246,241,232,.8); max-width: 60ch; margin: 0; font-size: 1.1rem; }

/* ---------- Event cards ---------- */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.event-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.event-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(29,23,20,.06), 0 16px 36px rgba(29,23,20,.1); }
.poster {
  aspect-ratio: 4 / 3; position: relative; padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff; overflow: hidden;
}
.poster::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 70% 20%, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
.poster-tag {
  align-self: flex-start;
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(0,0,0,.28); padding: 5px 10px; border-radius: 999px;
}
.poster-title { font: 600 1.6rem/1.08 var(--font-display); position: relative; z-index: 1; text-wrap: balance; }
.event-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.event-date { font-weight: 600; color: var(--oxblood); font-size: .95rem; }
.event-presenter { color: var(--muted); font-size: .9rem; }
.event-body p { color: var(--ink-soft); font-size: .95rem; margin: 6px 0 0; }
.event-actions { margin-top: auto; padding-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.event-actions .btn { padding: 10px 16px; font-size: .88rem; }

/* poster themes */
.theme-peach   { background: linear-gradient(150deg, #e48a3a, #b4492a 60%, #6c2a24); }
.theme-rotten  { background: linear-gradient(150deg, #5d7a3a, #2f4a2b 60%, #1c2a1a); }
.theme-dance   { background: linear-gradient(150deg, #a8407a, #6a2550 60%, #331532); }
.theme-nye     { background: linear-gradient(150deg, #2f3c6e, #1b2142 60%, #0e1124); }
.theme-default { background: linear-gradient(150deg, var(--oxblood), var(--oxblood-dark)); }

/* ---------- Feature blocks ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.stat strong { display: block; font: 600 2rem/1 var(--font-display); color: var(--oxblood); margin-bottom: 6px; }
.stat span { font-size: .88rem; color: var(--muted); }
@media (max-width: 520px) { .stat-row { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list li::before {
  content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px;
  border-radius: 50%; background: var(--brass);
}

.cta-band { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta-card { border-radius: var(--radius); padding: 40px; }
.cta-card h3 { font-size: 1.8rem; }
.cta-card--wine { background: var(--oxblood); color: #fff; }
.cta-card--wine h3 { color: #fff; }
.cta-card--wine p { color: rgba(255,255,255,.85); }
.cta-card--brass { background: var(--brass-soft); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } .cta-card { padding: 28px; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem;
  padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--oxblood); box-shadow: 0 0 0 3px rgba(122,34,48,.12); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-success {
  display: none; padding: 14px 16px; border-radius: var(--radius-sm);
  background: #e6f0ea; color: var(--ok); font-weight: 500;
}
.form-success.is-visible { display: block; }

.newsletter { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.newsletter .field input { background: rgba(255,255,255,.06); border-color: rgba(246,241,232,.25); color: #fff; }
.newsletter .field label { color: rgba(246,241,232,.8); }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Info list ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.info-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; }
.info-item h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.info-item p { margin: 0; font-weight: 500; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--oxblood);
}
.timeline .year { font: 600 1.2rem/1.2 var(--font-display); color: var(--oxblood); display: block; margin-bottom: 4px; }

/* ---------- Donate ---------- */
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amount {
  padding: 16px 8px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff;
  font: 600 1.15rem/1 var(--font-display); cursor: pointer; color: var(--ink);
}
.amount:hover { border-color: var(--oxblood); }
.amount[aria-pressed="true"] { background: var(--oxblood); border-color: var(--oxblood); color: #fff; }
.toggle-group { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 4px; }
.toggle-group button {
  border: 0; background: transparent; font: 600 .9rem/1 var(--font-body);
  padding: 10px 18px; border-radius: 999px; cursor: pointer; color: var(--ink-soft);
}
.toggle-group button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }

/* ---------- Event detail ---------- */
.event-hero { color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.event-hero .container { position: relative; z-index: 1; }
.event-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 18ch; }
.event-hero .meta { display: flex; gap: 24px; flex-wrap: wrap; font-weight: 500; color: rgba(255,255,255,.88); }
.back-link { color: rgba(255,255,255,.8); text-decoration: none; font-size: .9rem; display: inline-block; margin-bottom: 20px; }
.back-link:hover { color: #fff; }

.booking { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
@media (max-width: 980px) { .booking { grid-template-columns: 1fr; } }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel-head h3 { margin: 0; font-size: 1.2rem; }
.panel-body { padding: 22px; }

.perf-list { display: flex; gap: 8px; flex-wrap: wrap; }
.perf {
  border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius-sm);
  padding: 10px 14px; cursor: pointer; text-align: left; font: inherit; color: var(--ink);
  min-width: 112px;
}
.perf strong { display: block; font-size: .95rem; }
.perf span { font-size: .82rem; color: var(--muted); }
.perf:hover { border-color: var(--oxblood); }
.perf[aria-pressed="true"] { border-color: var(--oxblood); background: #fbf2f3; box-shadow: inset 0 0 0 1px var(--oxblood); }

/* ---------- Seating chart ---------- */
.seatmap-wrap { overflow-x: auto; padding: 8px 0 4px; }
.seatmap { min-width: max-content; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 4px; margin: 0 auto; }
/* Minimal: outline circles, no numbers, one accent color for "yours". */
.stage {
  width: 64%; text-align: center;
  border-top: 2px solid var(--ink);
  padding-top: 8px; margin-bottom: 26px;
  font: 500 .62rem/1 var(--font-body); letter-spacing: .45em; text-transform: uppercase;
  color: var(--muted);
}
.seat-row { display: flex; align-items: center; gap: 12px; }
.row-label { width: 12px; text-align: center; font-size: .6rem; font-weight: 500; color: #b8ad9f; }
.row-blocks { display: flex; gap: 16px; }
.row-block { display: flex; gap: 5px; }
.seat {
  width: 18px; height: 18px; padding: 0;
  flex: none; aspect-ratio: 1; box-sizing: border-box;
  border-radius: 50%;
  border: 1.5px solid #a99c8c;
  background: transparent;
  cursor: pointer;
  font-size: 0; color: transparent;
  transition: background .12s, border-color .12s, transform .12s;
  position: relative;
}
.seat:hover:not(.is-taken) { background: rgba(29, 23, 20, .12); border-color: var(--ink); transform: scale(1.15); }
.seat:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.seat.is-companion { border-style: dashed; }
.seat.is-access::after {
  content: ""; position: absolute; inset: 2px;
  background: #8a7d6e;
  -webkit-mask: var(--wheelchair) center / contain no-repeat;
          mask: var(--wheelchair) center / contain no-repeat;
}
.seat.is-taken { background: #e6dfd5; border-color: transparent; cursor: default; }
.seat.is-taken.is-access::after { background: #cfc5b8; }
.seat.is-selected { background: var(--oxblood); border-color: var(--oxblood); border-style: solid; }
.seat.is-selected.is-access::after { background: #fff; }

.seat-row--spaced { margin-top: 8px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-top: 18px; font-size: .74rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #a99c8c; display: inline-block; box-sizing: border-box; }
.legend .lg-selected { background: var(--oxblood); border-color: var(--oxblood); }
.legend .lg-taken { background: #e6dfd5; border-color: transparent; }
.legend .lg-companion { border-style: dashed; }
.legend .lg-access { position: relative; border: 0; width: 12px; height: 12px; background: #8a7d6e; -webkit-mask: var(--wheelchair) center / contain no-repeat; mask: var(--wheelchair) center / contain no-repeat; }
.legend .lg-prices { color: var(--ink-soft); }

.seat-tip {
  position: fixed; z-index: 100; pointer-events: none;
  left: 0; top: 0;
  background: var(--ink); color: var(--paper);
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
  visibility: hidden; opacity: 0; transition: opacity .12s;
}
.seat-tip.is-visible { visibility: visible; opacity: 1; }
.seat-tip.has-view { width: 248px; }
.seat-tip img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #2a211d; }
.seat-tip-body { padding: 8px 12px 10px; display: grid; gap: 2px; white-space: nowrap; }
.seat-tip-body strong { font-size: .9rem; }
.seat-tip-body span { font-size: .8rem; color: rgba(246,241,232,.75); }
.seat-tip-body em { font-style: normal; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); margin-top: 2px; }

.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cart-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; background: var(--paper); border-radius: var(--radius-sm); font-size: .92rem; }
.cart-item button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 4px; }
.cart-item button:hover { color: var(--oxblood); }
.cart-empty { color: var(--muted); font-size: .92rem; padding: 8px 0; }
.cart-total { display: flex; justify-content: space-between; font-weight: 600; padding: 16px 0; margin-top: 12px; border-top: 1px solid var(--line); }
.cart-total strong { font: 600 1.4rem/1 var(--font-display); }
.sticky-panel { position: sticky; top: 90px; }
.external-note { background: var(--brass-soft); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .9rem; margin-top: 14px; }

/* ---------- Seat selection page: one screen, no page scroll ---------- */
body.seat-page { height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
body.seat-page .site-header { flex: none; }
.seat-app { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.seat-main { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; padding: 18px var(--gutter) 12px; gap: 14px; }
.seat-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 16px; }
.seat-top .seat-dates { grid-column: 1 / -1; grid-row: 2; }
.seat-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.seat-back {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none;
  color: var(--ink-soft); font-size: 1.05rem;
}
.seat-back:hover { background: var(--paper-2); color: var(--ink); }
.seat-title h1 { font-size: 1.2rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seat-title span { display: block; font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seat-avail { justify-self: end; font-size: .78rem; color: var(--muted); white-space: nowrap; }

/* dates: a dark pill tab group, the chosen date lit up inside it */
.seat-dates {
  display: flex; gap: 2px; justify-self: center; width: fit-content; max-width: 100%;
  padding: 5px; border-radius: 999px; background: #1d1714;
  overflow-x: auto; scrollbar-width: none;
}
.seat-dates::-webkit-scrollbar { display: none; }
.seat-dates .perf {
  min-width: 0; flex: none; display: flex; align-items: baseline; gap: 6px;
  padding: 9px 16px; border: 0; border-radius: 999px; background: transparent; box-shadow: none;
  color: rgba(246, 241, 232, .6); white-space: nowrap; text-align: center;
  font: 600 .68rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  transition: background .15s, color .15s;
}
.seat-dates .perf strong { display: inline; font: inherit; }
.seat-dates .perf span { display: inline; font: inherit; font-weight: 500; opacity: .7; color: inherit; }
.seat-dates .perf:hover { color: #fff; border: 0; }
.seat-dates .perf[aria-pressed="true"] { background: rgba(246, 241, 232, .16); color: #fff; box-shadow: none; }
.seat-dates .perf[aria-pressed="true"] span { color: inherit; opacity: .8; }

.seat-stage-area { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.seat-stage-area .seatmap-wrap { flex: 1; min-height: 0; position: relative; overflow: hidden; padding: 0; }
.seat-stage-area .seatmap { position: absolute; left: 50%; top: 50%; transform-origin: center; transform: translate(-50%, -50%); }

/* order bar along the bottom */
.seat-bar {
  flex: none; display: flex; align-items: center; gap: 20px;
  padding: 14px var(--gutter); padding-bottom: max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: var(--card);
}
.seat-bar-info { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; }
.seat-bar-when { flex: none; font-size: .8rem; color: var(--muted); }
.seat-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.seat-chips::-webkit-scrollbar { display: none; }
.seat-chip {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--line); border-radius: 999px; background: transparent;
  padding: 4px 6px 4px 10px; font: 500 .78rem/1 var(--font-body); color: var(--ink); cursor: pointer;
}
.seat-chip span { color: var(--muted); font-size: .9rem; line-height: 1; }
.seat-chip:hover { border-color: var(--ink); }
.seat-chip:hover span { color: var(--oxblood); }
.seat-chips-empty { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.seat-bar-total { flex: none; text-align: right; line-height: 1.1; }
.seat-bar-total span { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.seat-bar-total strong { font: 600 1.3rem/1.1 var(--font-display); }
.seat-bar .btn { flex: none; padding: 12px 24px; }

@media (max-width: 860px) {
  .seat-main { padding: 12px 14px 8px; gap: 10px; }
  .seat-dates .perf { padding: 9px 12px; }
  .seat-title h1 { font-size: 1.05rem; }
  .seat-stage-area .legend { font-size: .68rem; gap: 4px 12px; margin-top: 10px; }
  .seat-bar { gap: 12px; padding: 10px 14px; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .seat-bar-when { display: none; }
  .seat-bar .btn { padding: 11px 16px; }
}

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 20px; background: rgba(29,23,20,.55); }
.modal.is-open { display: grid; }
.modal-card { background: var(--card); border-radius: var(--radius); padding: 32px; max-width: 460px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal-card h3 { font-size: 1.6rem; }

/* ---------- Show landing page ---------- */
.show-hero {
  position: relative; overflow: hidden;
  min-height: min(86vh, 760px);
  display: flex; align-items: flex-end;
  background: #120d0b; color: #fff;
}
.show-backdrop {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  transform: scale(1.04);
  opacity: .55;
}
.show-backdrop.is-fallback { opacity: .4; filter: saturate(.7); }
.show-tint { position: absolute; inset: 0; mix-blend-mode: multiply; opacity: .55; }
.show-hero::after {
  /* Netflix-style fade: dark on the left for the text, fading into the page at the bottom */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18,13,11,.95) 0%, rgba(18,13,11,.7) 38%, rgba(18,13,11,.1) 75%),
    linear-gradient(0deg, var(--paper) 0%, rgba(18,13,11,0) 26%);
}
.show-hero .container { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 96px; }
.show-hero .back-link { margin-bottom: 28px; }
.show-hero h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 5.2rem); max-width: 14ch; margin-bottom: 18px; text-wrap: balance; }
.show-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 1.05rem; color: rgba(255,255,255,.9); margin-bottom: 26px; }
.show-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.5); }
.age-badge {
  border: 1.5px solid rgba(255,255,255,.7); border-radius: 4px;
  padding: 2px 8px; font-size: .85rem; font-weight: 600; letter-spacing: .02em;
}
.sales { max-width: 420px; margin-bottom: 30px; }
.sales-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .95rem; color: rgba(255,255,255,.85); margin-bottom: 8px; }
.sales-line strong { font: 600 1.5rem/1 var(--font-display); color: #fff; }
.sales-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.18); overflow: hidden; }
.sales-bar span { display: block; height: 100%; border-radius: inherit; background: var(--brass); width: 0; transition: width .8s ease; }
.show-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.show-actions .btn { padding: 15px 28px; font-size: 1rem; }
.btn--ticket { background: #fff; color: var(--ink); }
.btn--ticket:hover { background: var(--brass-soft); color: var(--ink); }
.btn--glass { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255,255,255,.24); color: #fff; }
@media (max-width: 640px) {
  .show-hero { min-height: 78vh; }
  .show-hero::after {
    background: linear-gradient(0deg, var(--paper) 0%, rgba(18,13,11,.85) 30%, rgba(18,13,11,.55) 70%, rgba(18,13,11,.35) 100%);
  }
  .show-hero .container { padding-top: 80px; padding-bottom: 64px; }
  .show-meta .dot { display: none; }
  .show-actions .btn { flex: 1; }
}

.show-info { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .show-info { grid-template-columns: 1fr; gap: 32px; } }
.show-info h2 { font-size: 1.9rem; }
.show-facts { display: grid; gap: 0; }
.show-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.show-facts dt { color: var(--muted); font-size: .92rem; }
.show-facts dd { margin: 0; font-weight: 600; text-align: right; }
.perf-table { width: 100%; border-collapse: collapse; }
.perf-table td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.perf-table td:last-child { text-align: right; }
.perf-table .when strong { display: block; }
.perf-table .when span { color: var(--muted); font-size: .9rem; }
.avail { display: inline-block; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #e6f0ea; color: var(--ok); }
.avail.is-low { background: #fbeee0; color: #9a5a12; }
.avail.is-out { background: var(--paper-2); color: var(--muted); }
.show-cta { text-align: center; }
.show-cta h2 { margin-bottom: 8px; }
.show-cta p { color: var(--muted); margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: #15100e; color: rgba(246,241,232,.72); padding: 64px 0 32px; font-size: .94rem; }
.site-footer a { color: rgba(246,241,232,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand .brand-name { color: #fff; font-size: 1.4rem; }
.footer-brand p { margin-top: 14px; max-width: 34ch; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(246,241,232,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; color: rgba(246,241,232,.5); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  border: 1.5px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 8px 16px; font: 600 .88rem/1 var(--font-body); cursor: pointer; color: var(--ink-soft);
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

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

/* ==========================================================
   Dark reference style: black canvas, white serif titles,
   white pill buttons, boxed tags. Overrides the light-era
   colors that were hard-coded above.
   ========================================================== */
:root { color-scheme: dark; }
a { color: var(--ink); }
a:hover { color: #fff; }
.eyebrow { color: rgba(244, 241, 236, .6); }

/* buttons: white pill like "WATCH" */
.btn--primary, .nav a.btn--primary, .nav a.btn--primary[aria-current="page"] { background: #fff; color: #0a0a0a; }
.btn--primary:hover, .nav a.btn--primary:hover { background: #dedad4; color: #0a0a0a; }
.btn--light { background: #fff; color: #0a0a0a; }
.btn--light:hover { background: #dedad4; color: #0a0a0a; }
.btn--ghost:hover { color: #0a0a0a; }
.btn-circle {
  width: 46px; height: 46px; padding: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25);
  display: inline-grid; place-items: center; text-decoration: none; font-size: 1.1rem;
}
.btn-circle:hover { background: rgba(255, 255, 255, .22); color: #fff; }

/* header */
.site-header { background: rgba(10, 10, 10, .82); border-bottom-color: rgba(255, 255, 255, .06); }
.brand-mark { background: #fff; color: #0a0a0a; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255, 255, 255, .08); }

/* surfaces (text that used the old cream color now needs to be light) */
.section--dark { background: #121212; color: var(--ink); }
.hero, .page-hero { color: var(--ink); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.cta-card--wine, .cta-card--brass { background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.cta-card--wine h3, .cta-card--brass h3 { color: #fff; }
.cta-card--wine p, .cta-card--brass p { color: var(--ink-soft); }
.event-date, .stat strong, .timeline .year { color: #fff; }
.timeline li::before { border-color: #fff; }
.hero-meta strong { color: #fff; }

/* event cards: real artwork when we have it, fading into the card */
.poster { text-decoration: none; color: #fff; }
.poster:hover { color: #fff; }
.poster.has-image { background-size: cover; background-position: center; }
.poster.has-image::after { background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,.75) 100%); }
.poster.has-image .poster-title { opacity: 0; }
.event-card { background: #121212; }

/* form controls */
.field input, .field select, .field textarea { background: #101010; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
.form-success { background: #10241a; color: #7fd1a5; }
.amount { background: #101010; }
.amount:hover { border-color: #fff; }
.amount[aria-pressed="true"] { background: #fff; border-color: #fff; color: #0a0a0a; }
.toggle-group button[aria-pressed="true"] { background: #fff; color: #0a0a0a; }
.perf { background: #101010; }
.perf:hover { border-color: #fff; }
.perf[aria-pressed="true"] { background: #fff; border-color: #fff; color: #0a0a0a; box-shadow: none; }
.perf[aria-pressed="true"] span { color: #444; }
.avail { background: #10241a; color: #7fd1a5; }
.avail.is-low { background: #2a1e0c; color: #e8b46a; }
.avail.is-out { background: #1c1c1c; color: var(--muted); }

/* ---------- Home hero: theater photo, centered text, fading down ---------- */
.hero {
  min-height: min(88vh, 820px); display: flex; align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(10,10,10,.25) 0%, rgba(10,10,10,.1) 35%, rgba(10,10,10,.75) 72%, #0a0a0a 100%),
    url("../img/shows/colligan-theater.jpg") center 40% / cover no-repeat,
    #0a0a0a;
}
.hero::before, .hero::after { display: none; }
.hero .container { padding-top: 160px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
.hero p { color: rgba(244, 241, 236, .82); }

/* ---------- Show hero: picture centered, all info on it, fading down ---------- */
.show-hero {
  position: relative; overflow: hidden; background: #0a0a0a; color: #fff;
  min-height: min(92vh, 880px); display: flex; flex-direction: column; justify-content: flex-end;
}
.show-blur {
  position: absolute; inset: -60px; background-size: cover; background-position: center;
  filter: blur(48px) saturate(1.15); opacity: .4; transform: scale(1.1);
}
.show-art { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 1180px); }
.show-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, #000 45%, transparent 98%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, #000 45%, transparent 98%);
          mask-composite: intersect;
}
.show-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,.4) 0%, rgba(10,10,10,.05) 20%, rgba(10,10,10,.45) 46%, rgba(10,10,10,.88) 70%, #0a0a0a 100%);
}
.show-content { position: relative; z-index: 1; text-align: center; padding-top: 140px; padding-bottom: 64px; }
.show-back { position: absolute; z-index: 2; top: 24px; left: var(--gutter); margin: 0; }
.show-content .eyebrow { margin-bottom: 14px; }
.show-content h1 {
  color: #fff; font-size: clamp(3rem, 8vw, 6rem); font-weight: 500; letter-spacing: -0.02em;
  max-width: 14ch; margin: 0 auto 18px; text-wrap: balance;
}
.show-desc { max-width: 58ch; margin: 0 auto 22px; color: rgba(244, 241, 236, .8); font-size: 1rem; }
.show-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }
.tag {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px;
  background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .22);
  font: 600 .7rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #fff;
  backdrop-filter: blur(6px);
}
.show-content .show-actions { justify-content: center; align-items: center; }
.show-content .sales { margin: 28px auto 0; }
.show-content .sales-line { color: rgba(244, 241, 236, .7); }
.sales-bar span { background: #fff; }
.sales-bar { height: 10px; }
@media (max-width: 640px) {
  .show-hero { min-height: 86vh; }
  .show-art { width: 100%; }
  .show-art img {
    -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 95%);
            mask-image: linear-gradient(180deg, #000 40%, transparent 95%);
  }
  .show-content { padding-top: 120px; padding-bottom: 48px; }
  .show-back { top: 16px; left: 16px; }
  .show-content .show-actions .btn { flex: none; }
}

/* ---------- Seating chart, dark ---------- */
.seat { border-color: #5c5852; }
.seat:hover:not(.is-taken) { background: rgba(255, 255, 255, .14); border-color: #fff; }
.seat.is-taken { background: #242220; border-color: transparent; cursor: default; }
.seat.is-taken:hover { transform: none; }
.seat.is-access::after { background: #9b938a; }
.seat.is-taken.is-access::after { background: #3c3935; }
.seat.is-selected { background: #fff; border-color: #fff; }
.seat.is-selected.is-access::after { background: #0a0a0a; }
.seat:focus-visible { outline-color: #fff; }
.row-label { color: #5c5852; }
.stage { border-top-color: rgba(255, 255, 255, .85); }
.legend i { border-color: #5c5852; }
.legend .lg-selected { background: #fff; border-color: #fff; }
.legend .lg-taken { background: #242220; }
.legend .lg-access { background: #9b938a; }
.seat-tip { background: #000; color: #fff; border: 1px solid #2a2a2a; box-shadow: 0 16px 40px rgba(0, 0, 0, .6); }
.seat-tip-body em { color: rgba(255, 255, 255, .55); }
.seat-bar { background: #0f0f0f; }

/* ---------- Show hero v2: full-bleed photo, fades down only;
   name on the left, tickets and details on the right ---------- */
.show-blur { display: none; }
.show-art { left: 0; right: 0; width: 100%; transform: none; }
.show-art img,
.show-art img {
  object-position: center 30%;
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 50%, transparent 100%);
  -webkit-mask-composite: source-over; mask-composite: add;
}
.show-hero::after {
  background: linear-gradient(180deg, rgba(10,10,10,.45) 0%, rgba(10,10,10,0) 22%, rgba(10,10,10,.25) 50%, rgba(10,10,10,.85) 78%, #0a0a0a 100%);
}
.show-content {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
  align-items: end; gap: 40px; text-align: left;
}
/* bottom space matches the side padding (beats the older .show-hero .container rule) */
.show-hero .show-content { padding-bottom: var(--gutter); }
/* "All events": a pill button in the top-left */
.show-back {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px);
  color: #fff; text-decoration: none; font: 600 .82rem/1 var(--font-body);
}
.show-back:hover { background: rgba(0, 0, 0, .65); border-color: rgba(255, 255, 255, .5); color: #fff; }
.show-main h1 { margin: 0 0 12px; max-width: 16ch; font-size: clamp(3rem, 7.5vw, 7rem); line-height: 1.02; }
.show-date { margin: 0 0 14px; font: 500 clamp(1.1rem, 1.8vw, 1.5rem)/1.3 var(--font-body); color: #fff; }
.show-main .show-desc { margin: 0; max-width: 62ch; }
.show-details { margin: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 0; font-size: .95rem; color: rgba(244, 241, 236, .8); }
.show-details span + span::before { content: "·"; margin: 0 10px; color: rgba(244, 241, 236, .4); }
.show-main .show-details { justify-content: flex-start; }
/* description: short preview that fades out, "View more" opens the rest */
.desc-clamp {
  position: relative; max-height: calc(1.6em * 4); overflow: hidden; margin-bottom: 0;
  transition: max-height .5s cubic-bezier(.4, 0, .2, 1);
}
.desc-clamp p { margin: 0 0 1em; }
.desc-clamp p:last-child { margin-bottom: 0; }
/* the fade is an overlay so it can ease out smoothly while the text opens */
.desc-clamp::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.2em;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0), var(--paper));
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.desc-clamp.is-clipped::after { opacity: 1; }
.desc-clamp.is-clipped.is-expanded::after { opacity: 0; }
/* event cards: first paragraph only, at most 4 lines */
.event-excerpt { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.desc-toggle {
  margin-top: 10px; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  font: 600 .82rem/1 var(--font-body);
}
.desc-toggle:hover { border-color: rgba(255, 255, 255, .5); }
.desc-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.desc-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* performers */
.performers { padding-top: 24px; }
.performers h2 { margin-bottom: 32px; }
/* "You might also like": YouTube-style thumbnails */
.recs { padding-top: 24px; }
.recs h2 { margin-bottom: 28px; }
.rec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 20px; }
.rec { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.rec:hover { color: #fff; }
.rec-thumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end; padding: 14px;
  transition: transform .2s, box-shadow .2s;
}
.rec:hover .rec-thumb { transform: scale(1.02); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.rec-thumb span { font: 600 1.35rem/1.1 var(--font-display); color: #fff; max-width: 85%; }
.rec-age {
  position: absolute; top: 10px; right: 10px; font-style: normal;
  padding: 5px 9px; border-radius: 999px; background: rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .2);
  font: 600 .64rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.rec-body h3 { font: 600 1.05rem/1.3 var(--font-body); margin: 0 0 4px; color: #fff; }
.rec-body span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.45; }

/* "Dates & times" rows: date | bar + tickets left | Buy tickets */
.perf-table, .perf-table tbody { display: block; }
.perf-table tr {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 12px 18px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
/* Buy tickets sits under the bar, aligned right */
.perf-table .when { grid-row: 1 / span 2; align-self: start; }
.perf-buy-cell { grid-column: 2; grid-row: 2; justify-self: end; }
.perf-table td { display: block; border: 0; padding: 0 !important; width: auto !important; text-align: left !important; }
.perf-table .when strong { white-space: nowrap; }
.perf-meter { justify-content: flex-start; gap: 12px; }
.perf-meter .sales-bar { flex: 1; max-width: none; min-width: 60px; }
.perf-left { min-width: 0; white-space: nowrap; font-size: .85rem; }
.perf-buy { padding: 10px 18px; font-size: .85rem; white-space: nowrap; }
.perf-buy.is-out { display: inline-block; color: var(--muted); font-size: .85rem; font-weight: 600; padding: 10px 4px; }
@media (max-width: 640px) {
  .perf-table tr { grid-template-columns: 1fr; gap: 10px; }
  .perf-table .when { grid-row: 1; }
  .perf-table td:nth-child(2) { grid-column: 1; grid-row: 2; }
  .perf-buy-cell { grid-column: 1; grid-row: 3; }
}

/* footer: match the black canvas */
.site-footer { background: #050505; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-grid h4 { color: rgba(244, 241, 236, .5); }

/* playbill list: role left, name right, flows into columns for big casts */
.playbill {
  list-style: none; margin: 0; padding: 0;
  columns: 3 300px; column-gap: 56px;
  border-top: 1px solid var(--line);
}
.playbill li {
  break-inside: avoid;
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.pl-role { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pl-name { font: 500 1.05rem/1.3 var(--font-display); color: #fff; text-align: right; }

/* per-performance bars in "Dates & times" */
.perf-table td:last-child { width: 55%; }
.perf-meter { display: flex; align-items: center; gap: 14px; justify-content: flex-end; }
.perf-meter .sales-bar { flex: 1; max-width: 320px; }
.perf-left { flex: none; min-width: 110px; text-align: right; font-size: .9rem; color: var(--ink-soft); }
.show-main .show-date { margin-bottom: 8px; }
.show-side { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 20px; }
.show-side .show-tags { justify-content: flex-end; margin: 0; }
.show-side .show-actions { justify-content: flex-end; }
.show-side .sales { margin: 0; width: 100%; max-width: 360px; }
.show-side .sales-line { justify-content: space-between; }
@media (max-width: 860px) {
  .show-content { grid-template-columns: 1fr; gap: 24px; }
  .show-side { align-items: flex-start; text-align: left; }
  .show-side .show-tags, .show-side .show-actions, .show-details { justify-content: flex-start; }
  .show-details { flex-direction: column; }
  .show-details span + span::before { content: none; }
  .show-side .sales { max-width: none; }
  /* phones: photo gets the top of the screen, text starts where it fades out */
  .show-hero { display: block; min-height: 0; }
  .show-hero::after { display: none; }
  .show-art { position: relative; top: auto; bottom: auto; height: 56vh; }
  .show-art img {
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  }
  .show-content { margin-top: -72px; padding-top: 0; }
}

/* dates: each one in its own box */
.seat-dates { background: transparent; padding: 0; gap: 8px; border-radius: 0; }
.seat-dates .perf {
  flex-direction: column; align-items: center; gap: 4px;
  padding: 9px 16px; border-radius: 12px;
  background: #141414; border: 1px solid #2c2c2c; color: rgba(244, 241, 236, .7);
}
.seat-dates .perf:hover { border: 1px solid rgba(255, 255, 255, .5); color: #fff; }
.seat-dates .perf[aria-pressed="true"] { background: #fff; border-color: #fff; color: #0a0a0a; }
.seat-dates .perf[aria-pressed="true"] span { color: #0a0a0a; opacity: .65; }
.seat-dates .perf span { display: block; }


/* break between runs of performances */
.perf-table tr.perf-gap { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.perf-gap td { flex: 1; display: flex !important; align-items: center; gap: 12px; }
.perf-gap td::before, .perf-gap td::after { content: ""; flex: 1; height: 0; border-top: 1px dashed rgba(255, 255, 255, .18); }
.perf-gap span { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* seat hover card: bigger view photo + green "Available" bar */
.seat-tip.has-view { width: 340px; }
.seat-tip-body { padding: 12px 14px 14px; gap: 3px; }
.seat-tip-body strong { font-size: 1rem; }
.seat-tip-body .tip-available {
  display: flex; align-items: center; gap: 8px; margin-top: 8px;
  padding: 7px 10px; border-radius: 8px;
  background: rgba(46, 160, 98, .16); border: 1px solid rgba(46, 160, 98, .45);
  color: #6fe0a2; font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.seat-tip-body .tip-available::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ccf7f; box-shadow: 0 0 8px #3ccf7f; }
@media (max-width: 640px) { .seat-tip.has-view { width: min(300px, calc(100vw - 24px)); } }

/* ---------- Show accent color (set per show as --accent) ----------
   Used in exactly two places: ticket bars on the show page, and
   available seats on the seating chart. */
.sales-bar span { background: var(--accent, #fff); }
.seat:not(.is-taken):not(.is-selected) { border-color: var(--accent, #5c5852); }
.seat:hover:not(.is-taken):not(.is-selected) {
  border-color: var(--accent, #fff);
  background: color-mix(in srgb, var(--accent, #fff) 30%, transparent);
}
.seat.is-access:not(.is-taken):not(.is-selected)::after { background: var(--accent, #9b938a); }
.legend .lg-available { border-color: var(--accent, #5c5852); }

/* order bar: ticket type on each seat chip */
.seat-chip em { font-style: normal; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }

/* ---------- Ticket type chooser (opens after clicking a seat) ---------- */
.seat-tip.is-choosing { pointer-events: auto; width: 340px; }
.seat-tip-body .tip-selected {
  display: block; margin-top: 8px; padding: 7px 10px; border-radius: 8px;
  background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .75);
  font-style: normal; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.ticket-choices { display: grid; gap: 8px; margin-top: 10px; }
.ticket-choice {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; padding: 12px 14px; border-radius: 10px; cursor: pointer;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); color: #fff;
  font: 600 .9rem/1.2 var(--font-body); text-align: left;
  transition: background .12s, border-color .12s;
}
.ticket-choice b { font: 600 1.05rem/1 var(--font-display); }
.ticket-choice:hover, .ticket-choice:focus-visible { background: #fff; border-color: #fff; color: #0a0a0a; outline: none; }
.ticket-cancel {
  margin-top: 8px; width: 100%; padding: 8px; border: 0; background: transparent; cursor: pointer;
  color: rgba(255, 255, 255, .55); font: 600 .78rem/1 var(--font-body);
}
.ticket-cancel:hover { color: #fff; }
@media (max-width: 640px) { .seat-tip.is-choosing { width: min(320px, calc(100vw - 24px)); } }

/* ---------- Seating chart v3: available = filled accent, taken = hollow ---------- */
.seat:not(.is-taken):not(.is-selected) {
  background: var(--accent, #9b938a); border-color: var(--accent, #9b938a);
  box-shadow: 0 0 6px color-mix(in srgb, var(--accent, #fff) 45%, transparent);
}
.seat:hover:not(.is-taken):not(.is-selected) {
  background: color-mix(in srgb, var(--accent, #fff) 80%, #fff);
  border-color: color-mix(in srgb, var(--accent, #fff) 80%, #fff);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent, #fff) 70%, transparent);
}
.seat.is-companion:not(.is-taken):not(.is-selected) { border-style: solid; }
.seat.is-access:not(.is-taken):not(.is-selected)::after { background: #0a0a0a; }
.seat.is-taken { background: transparent; border: 1.5px solid #3a3733; box-shadow: none; }
.seat.is-taken.is-companion { border-style: dashed; }
.seat.is-taken.is-access::after { background: #3a3733; }
.seat.is-selected { background: #fff; border-color: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .35); }

.legend .lg-available { background: var(--accent, #9b938a); border-color: var(--accent, #9b938a); box-shadow: 0 0 5px color-mix(in srgb, var(--accent, #fff) 45%, transparent); }
.legend .lg-taken { background: transparent; border: 1.5px solid #3a3733; }

/* ticket bars glow softly in the accent */
.sales-bar span { box-shadow: 0 0 10px color-mix(in srgb, var(--accent, #fff) 55%, transparent); }

/* seating page: the show's artwork as a very faint full-page background */
body.seat-page { position: relative; }
.seat-backdrop {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-size: cover; background-position: center 30%;
  opacity: .07; filter: saturate(1.2);
}
.seat-backdrop::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 30%, #0a0a0a 85%); }
body.seat-page { background: #0a0a0a; }
body.seat-page .seat-bar { background: rgba(15, 15, 15, .92); backdrop-filter: blur(8px); }

/* hover card: "Available" is a compact pill, not a full-width bar */
.seat-tip-body .tip-available { display: inline-flex; align-self: flex-start; width: fit-content; padding: 6px 12px; border-radius: 999px; }
.seat-tip-body { justify-items: start; }

/* ---------- Date picker: original centered row, bigger boxes ---------- */
.seat-top .seat-dates { gap: 10px; padding: 4px 0; }
.seat-dates .perf { flex: 0 0 auto; min-width: 150px; padding: 14px 22px; gap: 6px; border-radius: 14px; font-size: .8rem; }
.seat-dates .perf strong { font-size: .86rem; }
.seat-dates .perf span { font-size: .8rem; }
@media (max-width: 640px) {
  .seat-dates .perf { min-width: 128px; padding: 12px 16px; }
}
/* ticket bars: lighter on the left, deeper on the right */
.sales-bar span {
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--accent, #fff) 55%, #fff) 0%,
    var(--accent, #fff) 55%,
    color-mix(in srgb, var(--accent, #fff) 70%, #000) 100%);
}

/* ---------- Seat hold timer (top center) ---------- */
.seat-top { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.seat-top .seat-title { grid-column: 1; grid-row: 1; }
.seat-top .hold-timer { grid-column: 2; grid-row: 1; }
.seat-top .seat-avail { grid-column: 3; grid-row: 1; justify-self: end; }
.seat-top .seat-dates { grid-column: 1 / -1; grid-row: 2; justify-self: center; width: fit-content; max-width: 100%; justify-content: flex-start; }
.hold-timer {
  display: inline-flex; align-items: baseline; gap: 8px; justify-self: center;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  font-size: .78rem; color: var(--ink-soft); white-space: nowrap;
}
.hold-timer strong { font: 600 1.05rem/1 var(--font-body); color: #fff; font-variant-numeric: tabular-nums; min-width: 3.2ch; }
.hold-timer.is-low { border-color: rgba(255, 110, 90, .6); background: rgba(255, 90, 70, .12); }
.hold-timer.is-low strong { color: #ff8a73; }
@media (max-width: 860px) {
  .seat-top { grid-template-columns: minmax(0, 1fr) auto; }
  .seat-top .hold-timer { grid-column: 2; }
  .seat-top .seat-avail { display: none; }
  .hold-timer span { display: none; }
}

/* ---------- Checkout ---------- */
.checkout-page { min-height: 100vh; }
.co-top {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 16px var(--gutter); background: rgba(10, 10, 10, .85); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.co-top .seat-back { justify-self: start; }
.co-steps { justify-self: end; display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.co-steps li {
  counter-increment: step; display: inline-flex; align-items: center; gap: 6px;
  font-size: .76rem; font-weight: 600; color: var(--muted); padding: 6px 10px; border-radius: 999px;
}
.co-steps li::before {
  content: counter(step); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid #3a3733; font-size: .7rem;
}
.co-steps li.is-current { color: #fff; background: rgba(255, 255, 255, .08); }
.co-steps li.is-current::before { background: #fff; color: #0a0a0a; border-color: #fff; }
.co-steps li.is-done { color: var(--ink-soft); }
.co-steps li.is-done::before { content: "✓"; border-color: var(--ink-soft); }
@media (max-width: 700px) { .co-steps li { font-size: 0; padding: 4px; gap: 0; } .co-steps li::before { font-size: .7rem; } }

.co-main { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter) 96px; }
.co-step h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 28px; outline: none; }
.co-show { display: flex; gap: 18px; align-items: center; padding: 18px; border-radius: var(--radius); background: #121212; border: 1px solid var(--line); margin-bottom: 20px; }
.co-show-art { flex: none; width: 96px; aspect-ratio: 1; border-radius: 10px; background-size: cover; background-position: center; }
.co-show strong { display: block; font: 600 1.35rem/1.2 var(--font-display); color: #fff; margin-bottom: 4px; }
.co-show span { display: block; font-size: .9rem; color: var(--ink-soft); }
.co-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.co-lines li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.co-lines li strong { display: block; color: #fff; font-weight: 600; }
.co-lines li em { font-style: normal; font-size: .85rem; color: var(--muted); }
.co-lines li b { font: 600 1.1rem/1 var(--font-display); color: #fff; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 0; }
.co-total span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.co-total strong { font: 600 2rem/1 var(--font-display); color: #fff; }
.co-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.co-actions .btn { padding: 14px 28px; }

.co-options { display: grid; gap: 12px; }
.co-option {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); cursor: pointer;
  background: #121212; border: 1px solid var(--line); transition: border-color .15s, background .15s;
}
.co-option:hover { border-color: rgba(255, 255, 255, .35); }
.co-option:has(input:checked) { border-color: #fff; background: #181818; }
.co-option input { margin: 4px 0 0; width: 18px; height: 18px; accent-color: #fff; flex: none; }
.co-option strong { display: block; font: 600 1.15rem/1.2 var(--font-display); color: #fff; margin-bottom: 4px; }
.co-option-body span { font-size: .92rem; color: var(--ink-soft); }

.co-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 4px 0 0; display: grid; gap: 14px; }
.co-card legend { padding: 0 8px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.co-card-row { grid-template-columns: 1.3fr 1fr 1fr; }
@media (max-width: 560px) { .co-card-row { grid-template-columns: 1fr 1fr; } }
.field input[aria-invalid="true"] { border-color: #ff7a66; box-shadow: 0 0 0 3px rgba(255, 122, 102, .15); }
.co-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: rgba(255, 90, 70, .12); color: #ff9a87; font-weight: 500; }
.co-demo { margin: 0; }

/* ---------- Confirmation + tickets ---------- */
.co-main:has(.co-confirm:not([hidden])) { max-width: 980px; }
.co-confirm .eyebrow { margin-bottom: 10px; }
.co-confirm h1 { margin-bottom: 14px; }
.co-confirm-lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; margin-bottom: 32px; }
.co-confirm-lede strong { color: #fff; }
.tickets { display: grid; gap: 18px; }
.ticket {
  display: grid; grid-template-columns: minmax(0, 1fr) 210px;
  background: #f6f3ee; color: #111; border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}
.ticket-main { display: grid; grid-template-columns: 150px minmax(0, 1fr); }
.ticket-art { background-size: cover; background-position: center; min-height: 100%; }
.ticket-info { padding: 20px 24px; }
.ticket-venue { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6b6259; }
.ticket-info h2 { color: #111; font-size: 1.6rem; margin: 6px 0 4px; }
.ticket-when { margin: 0 0 14px; font-size: .92rem; color: #333; }
.ticket-info dl { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 4px 28px; margin: 0 0 12px; }
.ticket-info dt { font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a8078; }
.ticket-info dd { margin: 0; font: 600 1.05rem/1.3 var(--font-display); color: #111; }
.ticket-holder { margin: 0; font-size: .82rem; color: #555; }
.ticket-stub {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 20px;
  border-left: 2px dashed #cfc6bb; background: #efeae2;
  font-size: .72rem; color: #555; text-align: center;
}
.ticket-stub::before, .ticket-stub::after {
  content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: #0a0a0a;
}
.ticket-stub::before { top: -11px; }
.ticket-stub::after { bottom: -11px; }
.ticket-barcode { width: 100%; height: 56px; fill: #111; }
.ticket-stub span:first-of-type { font-weight: 700; color: #111; letter-spacing: .06em; }
@media (max-width: 720px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket-main { grid-template-columns: 96px minmax(0, 1fr); }
  .ticket-info dl { grid-template-columns: repeat(2, auto); }
  .ticket-stub { border-left: 0; border-top: 2px dashed #cfc6bb; }
  .ticket-stub::before, .ticket-stub::after { top: -12px; bottom: auto; left: -11px; }
  .ticket-stub::after { left: auto; right: -11px; }
}

/* print: just the tickets, on white */
@media print {
  body.checkout-page { background: #fff !important; color: #000; }
  .co-top, .co-confirm .eyebrow, .co-confirm h1, .co-confirm-lede, .co-confirm-actions, .modal { display: none !important; }
  .co-main { padding: 0; max-width: none; }
  .tickets { gap: 14px; }
  .ticket { box-shadow: none; border: 1px solid #bbb; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ticket-stub::before, .ticket-stub::after { background: #fff; }
}

/* anything marked hidden stays hidden, whatever its display style */
[hidden] { display: none !important; }

/* ---------- Tickets v2: tall card, date box, tear line, QR code ---------- */
.co-confirm .tickets { display: flex; flex-wrap: wrap; gap: 24px; justify-content: flex-start; }
.tix {
  width: 300px; border-radius: 22px; overflow: hidden; background: #fff; color: #1a1a1a;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
}
.tix-head {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px 20px 20px 24px; background-size: cover; background-position: center 30%; color: #fff;
}
.tix-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.55), rgba(10,10,10,.82)); }
.tix-head > * { position: relative; }
.tix-head h2 { margin: 0; color: #fff; font-size: 1.35rem; line-height: 1.15; }
.tix-date {
  flex: none; width: 54px; padding: 7px 0; border-radius: 12px; text-align: center;
  background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px);
}
.tix-date span { display: block; font-size: .78rem; line-height: 1.1; }
.tix-date strong { display: block; font: 600 1.15rem/1.1 var(--font-body); }
.tix-body { padding: 20px 24px 18px; font-size: .9rem; line-height: 1.45; }
.tix-body p { margin: 0 0 12px; }
.tix-body p:last-child { margin-bottom: 0; }
.tix-line { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: .95rem; }
.tix-muted { color: #666; }
.tix-seat { display: inline-block; padding: 4px 10px; border-radius: 8px; background: #f1efeb; font-weight: 600; }
.tix-tear { position: relative; height: 26px; }
.tix-tear::before { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; border-top: 2px dashed #cfcac2; }
.tix-tear::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 0 50%, #0a0a0a 13px, transparent 14px), radial-gradient(circle at 100% 50%, #0a0a0a 13px, transparent 14px);
}
.tix-code { padding: 14px 24px 22px; text-align: center; }
.tix-qr { width: 150px; height: 150px; margin: 0 auto 8px; }
.tix-qr svg { width: 100%; height: 100%; display: block; }
.tix-qr svg rect, .tix-qr svg path { shape-rendering: crispEdges; }
.tix-code span { font-size: .72rem; font-weight: 600; letter-spacing: .08em; color: #555; }
@media (max-width: 400px) { .tix { width: 100%; } }
@media print {
  .co-confirm .tickets { gap: 16px; }
  .tix { box-shadow: none; border: 1px solid #bbb; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .tix-tear::after { background: radial-gradient(circle at 0 50%, #fff 13px, transparent 14px), radial-gradient(circle at 100% 50%, #fff 13px, transparent 14px); }
}

/* ticket bars v3: standard accent on the right, a touch lighter on the left, soft glow */
.sales-bar span {
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent, #fff) 78%, #fff) 0%, var(--accent, #fff) 100%);
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent, #fff) 50%, transparent);
}

/* seat hover card: larger view photo */
.seat-tip.has-view, .seat-tip.is-choosing { width: min(460px, calc(100vw - 24px)); }

/* ticket chooser: body fills the card, contents centered */
.seat-tip.is-choosing .seat-tip-body { width: 100%; box-sizing: border-box; justify-items: stretch; text-align: center; padding: 16px 18px 14px; }
.seat-tip.is-choosing .ticket-choices { width: 100%; }
.seat-tip.is-choosing .ticket-choice { justify-content: space-between; }
.seat-tip.is-choosing .ticket-cancel { justify-self: center; width: auto; padding: 8px 20px; }

/* ---------- Booking flow continuity ----------
   Seating + checkout share the faint artwork background; only the content
   fades when moving between them or between checkout steps. */
body.checkout-page { background: #0a0a0a; position: relative; }
body.checkout-page .co-top { background: rgba(10, 10, 10, .55); }
.seat-app, .co-top, .co-main { transition: opacity .22s ease, transform .22s ease; }
body.is-entering .seat-app, body.is-entering .co-top, body.is-entering .co-main,
body.is-leaving .seat-app, body.is-leaving .co-top, body.is-leaving .co-main { opacity: 0; transform: scale(.99); }
body.is-entering .seat-app, body.is-entering .co-top, body.is-entering .co-main { transition: none; }
.co-main.is-fading { opacity: 0; transform: translateY(4px); }
/* spinner only appears if the next screen is slow to arrive */
body.is-loading::after {
  content: ""; position: fixed; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); border-top-color: #fff;
  animation: co-spin .8s linear infinite; z-index: 50;
}
@keyframes co-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .seat-app, .co-top, .co-main { transition: none; }
}

/* seat card: one fixed layout for hover preview and chooser (same size always) */
.seat-tip.has-view, .seat-tip.is-choosing { width: min(460px, calc(100vw - 24px)); }
.seat-tip .seat-tip-body { width: 100%; box-sizing: border-box; justify-items: stretch; text-align: center; padding: 16px 18px 14px; }
.seat-tip .ticket-choices { width: 100%; }
.seat-tip .ticket-choice { justify-content: space-between; }
.seat-tip .ticket-choice.is-info { cursor: default; background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .75); }
.seat-tip .tip-foot { height: 40px; margin-top: 8px; display: grid; place-items: center; }
.seat-tip .tip-foot .tip-available, .seat-tip .tip-foot .tip-selected { margin: 0; }
.seat-tip .tip-foot .ticket-cancel { margin: 0; width: auto; padding: 8px 20px; }

/* checkout: "Fill test details" demo button next to the heading */
.co-h-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.co-h-row h1 { margin: 0; }
.co-fill {
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px dashed rgba(255, 255, 255, .35); color: var(--ink-soft);
  font: 600 .8rem/1 var(--font-body);
}
.co-fill:hover { border-color: #fff; color: #fff; }

/* ---------- Seat card v4: one fixed size, photo left / info right ----------
   Short enough to always fit fully above or below a seat. */
.seat-tip.has-view, .seat-tip.is-choosing {
  width: min(560px, calc(100vw - 24px)); height: 236px;
  display: grid; grid-template-columns: 58% 42%;
}
.seat-tip.has-view img { width: 100%; height: 236px; aspect-ratio: auto; object-fit: cover; }
.seat-tip .seat-tip-body,
.seat-tip.is-choosing .seat-tip-body {
  width: auto; height: 236px; box-sizing: border-box; padding: 18px 16px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px;
  text-align: left; white-space: normal;
}
.seat-tip .seat-tip-body strong { font-size: 1.05rem; }
.seat-tip .seat-tip-body .tip-available, .seat-tip .seat-tip-body .tip-selected { margin-top: 12px; }
.seat-tip .seat-tip-body.is-choose { justify-content: center; }
.seat-tip .seat-tip-body.is-choose .ticket-choices { width: 100%; margin-top: 10px; gap: 6px; }
.seat-tip .seat-tip-body.is-choose .ticket-choice { padding: 9px 11px; font-size: .8rem; }
.seat-tip .seat-tip-body.is-choose .ticket-choice b { font-size: .95rem; }
.seat-tip .seat-tip-body.is-choose .ticket-cancel { align-self: center; width: auto; margin-top: 6px; padding: 6px 16px; }
@media (max-width: 520px) {
  .seat-tip.has-view, .seat-tip.is-choosing { height: 210px; grid-template-columns: 50% 50%; }
  .seat-tip.has-view img, .seat-tip .seat-tip-body, .seat-tip.is-choosing .seat-tip-body { height: 210px; }
  .seat-tip .seat-tip-body { padding: 12px; }
}

/* ---------- Confirmation: centered, one screen, glowing tickets ---------- */
body.checkout-page.is-confirm { height: 100vh; height: 100dvh; overflow: hidden; }
body.is-confirm .co-top { display: none; }
body.is-confirm .co-main {
  max-width: none; height: 100%; box-sizing: border-box;
  padding: clamp(20px, 4vh, 44px) var(--gutter);
  display: flex; flex-direction: column;
}
body.is-confirm .co-confirm:not([hidden]) {
  flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; text-align: center;
}
body.is-confirm .co-confirm .eyebrow { margin-bottom: 6px; }
body.is-confirm .co-confirm h1 { margin-bottom: 8px; font-size: clamp(1.8rem, 4.5vh, 3rem); }
body.is-confirm .co-confirm-lede { margin: 0 auto 18px; font-size: 1rem; }
.tix-stage { flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; overflow: visible; }
.co-confirm .tickets { display: grid; gap: 24px; justify-content: center; transform-origin: center; }
body.is-confirm .co-confirm-actions { justify-content: center; gap: 14px; margin-top: 18px; }
/* soft glow in the show's accent color */
.tix {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent, #fff) 35%, transparent),
    0 0 28px color-mix(in srgb, var(--accent, #fff) 40%, transparent),
    0 18px 50px rgba(0, 0, 0, .5);
}
@media print {
  body.checkout-page.is-confirm { height: auto; overflow: visible; }
  .co-confirm .tickets { transform: none !important; grid-template-columns: repeat(2, 300px) !important; }
  .tix { box-shadow: none; }
}

/* ---------- Seat card v5: original layout (photo on top, text below) ----------
   Fixed size for both hover and chooser, so it never jumps on click.
   Chooser puts GA / Senior-Student side by side to stay the same height. */
.seat-tip.has-view, .seat-tip.is-choosing {
  display: block; width: min(380px, calc(100vw - 24px)); height: auto;
}
.seat-tip.has-view img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.seat-tip .seat-tip-body,
.seat-tip.is-choosing .seat-tip-body {
  width: 100%; height: 150px; box-sizing: border-box; padding: 14px 16px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3px;
  text-align: left; white-space: normal;
}
.seat-tip .seat-tip-body .tip-available, .seat-tip .seat-tip-body .tip-selected { margin-top: 10px; }
.seat-tip .seat-tip-body.is-choose .ticket-choices {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 8px;
}
.seat-tip .seat-tip-body.is-choose .ticket-choice {
  flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 10px; font-size: .74rem;
}
.seat-tip .seat-tip-body.is-choose .ticket-choice b { font-size: 1rem; }
.seat-tip .seat-tip-body.is-choose .ticket-cancel { align-self: center; margin-top: 4px; padding: 4px 14px; font-size: .74rem; }
@media (max-width: 520px) {
  .seat-tip.has-view, .seat-tip.is-choosing { height: auto; grid-template-columns: none; }
  .seat-tip.has-view img { height: auto; }
  .seat-tip .seat-tip-body, .seat-tip.is-choosing .seat-tip-body { height: 150px; padding: 12px 14px; }
}

/* confirmation v2: tickets always full size; bigger orders simply scroll */
body.checkout-page.is-confirm { height: auto; min-height: 100vh; overflow: visible; }
body.is-confirm .co-main { height: auto; min-height: 100vh; justify-content: center; }
body.is-confirm .co-confirm:not([hidden]) { flex: none; }
.tix-stage { flex: none; display: block; }
.co-confirm .tickets { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; transform: none !important; max-width: calc(4 * 300px + 3 * 24px); margin: 0 auto; }

/* seat card: on short screens shrink a little so it always fits above or below */
.seat-tip.has-view, .seat-tip.is-choosing { width: min(380px, calc(100vw - 24px), calc((50vh - 185px) * 1.5)); min-width: 240px; }

/* ---------- Checkout step tracker: 1 Seats ✓ — 2 Review — 3 Delivery — 4 Payment ---------- */
.co-top { grid-template-columns: 1fr auto 1fr; }
.co-top .co-steps { grid-column: 2; justify-self: center; gap: 0; align-items: center; }
.co-top .hold-timer { grid-column: 3; justify-self: end; }
.co-steps li {
  position: relative; gap: 8px; padding: 6px 4px; border-radius: 999px; background: transparent !important;
  font-size: .82rem; color: var(--muted);
}
.co-steps li + li { margin-left: 44px; }
.co-steps li + li::after {
  /* connector line before each step */
  content: ""; position: absolute; right: calc(100% + 8px); top: 50%; width: 28px; height: 1px; background: #3a3733;
}
.co-steps li.is-done + li::after, .co-steps li.is-current::after { background: rgba(255, 255, 255, .5); }
.co-steps li::before { width: 26px; height: 26px; font-size: .78rem; font-weight: 700; }
.co-steps li.is-current { color: #fff; }
.co-steps li.is-done { color: var(--ink-soft); }
.co-steps li a { color: inherit; text-decoration: none; }
.co-steps li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .co-top { grid-template-columns: auto 1fr auto; }
  .co-steps li { font-size: 0; gap: 0; }
  .co-steps li + li { margin-left: 26px; }
  .co-steps li + li::after { width: 14px; right: calc(100% + 6px); }
  .co-steps li a { font-size: 0; }
}

/* ---------- Tickets v3: shorter, bigger artwork, hollow notches, stronger glow ---------- */
.tix {
  width: 300px; background: transparent; overflow: visible; border-radius: 0; color: #1a1a1a; text-align: left;
  box-shadow: none;
  filter:
    drop-shadow(0 0 1px color-mix(in srgb, var(--accent, #fff) 70%, transparent))
    drop-shadow(0 0 16px color-mix(in srgb, var(--accent, #fff) 55%, transparent))
    drop-shadow(0 14px 30px rgba(0, 0, 0, .45));
}
.tix-upper, .tix-lower { background: #fff; --notch: 12px; }
.tix-upper {
  position: relative; border-radius: 20px 20px 0 0; overflow: hidden;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 100%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 100%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 100%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 100%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.tix-upper::after { /* perforation */
  content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; border-top: 2px dashed #d6d1c9;
}
.tix-lower {
  border-radius: 0 0 20px 20px; padding: 16px 20px 14px; text-align: center;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 0, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 0, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 0, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 0, transparent 98%, #000) right / 51% 100% no-repeat;
}
.tix-head {
  height: 170px; align-items: flex-end; padding: 16px 18px;
  background-size: cover; background-position: center 30%;
}
.tix-head::before { background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.75) 100%); }
.tix-head h2 { font-size: 1.25rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.tix-date { width: 50px; padding: 6px 0; }
.tix-body { padding: 16px 20px 18px; font-size: .88rem; }
.tix-body .tix-line { margin-bottom: 10px; align-items: baseline; }
.tix-body .tix-line span { font-weight: 600; }
.tix-body .tix-line strong { font: 600 1.15rem/1 var(--font-display); }
.tix-body .tix-seat { margin: 0 0 8px; }
.tix-body .tix-when { margin: 0; color: #555; font-size: .82rem; }
.tix-lower .tix-qr { width: 112px; height: 112px; margin: 0 auto 6px; }
.tix-lower span { font-size: .68rem; font-weight: 600; letter-spacing: .08em; color: #777; }
.tix-tear, .tix-code { display: none; }
@media print { .tix { filter: none; } .tix-upper, .tix-lower { outline: 1px solid #ccc; } }
.field-optional { font-weight: 400; color: var(--muted); }

/* checkout: every step title centered */
.co-step h1 { text-align: center; }
.co-h-row { flex-direction: column; justify-content: center; align-items: center; gap: 12px; }

/* payment: order summary card */
.co-summary { margin: 0 0 24px; padding: 16px 18px; border-radius: var(--radius); background: rgba(18, 18, 18, .85); border: 1px solid var(--line); }
.co-sum-head { display: flex; gap: 14px; align-items: center; }
.co-sum-head .co-show-art { width: 64px; }
.co-sum-head strong { display: block; font: 600 1.15rem/1.2 var(--font-display); color: #fff; margin-bottom: 2px; }
.co-sum-head span { display: block; font-size: .84rem; color: var(--ink-soft); }
.co-sum-lines { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.co-sum-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--ink-soft); }
.co-sum-lines b { color: #fff; font-weight: 600; }
.co-sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; }
.co-sum-total span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.co-sum-total strong { font: 600 1.4rem/1 var(--font-display); color: #fff; }

/* payment: ticket info left, your details right, split evenly */
.co-main:has(.co-step[data-step="3"]:not([hidden])) { max-width: 1120px; }
.co-pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.co-pay-grid .co-summary { margin: 0; position: sticky; top: 96px; }
.co-pay-grid .co-form { margin: 0; }
.co-pay-grid .co-form .form-row { grid-template-columns: 1fr 1fr; }
.co-pay-grid .co-card-row { grid-template-columns: 1.3fr 1fr 1fr; }
@media (max-width: 900px) {
  .co-pay-grid { grid-template-columns: 1fr; gap: 24px; }
  .co-pay-grid .co-summary { position: static; }
}
.co-pay-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.co-pay-grid .co-form .field input { min-width: 0; width: 100%; box-sizing: border-box; }
@media (max-width: 900px) { .co-pay-grid { grid-template-columns: minmax(0, 1fr); } }
.co-pay-grid .co-form .form-row.co-card-row { grid-template-columns: 1.2fr 1fr 1fr; }

/* "← Back" pill (seating + checkout), same look as "All events" on the show page */
.pill-back {
  flex: none; justify-self: start; display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px);
  color: #fff; text-decoration: none; font: 600 .82rem/1 var(--font-body); white-space: nowrap;
}
.pill-back:hover { background: rgba(0, 0, 0, .65); border-color: rgba(255, 255, 255, .5); color: #fff; }

/* step tracker: completed steps in the show's accent color */
.co-steps li.is-done::before {
  background: var(--accent, #fff); border-color: var(--accent, #fff); color: #0a0a0a;
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent, #fff) 50%, transparent);
}
.co-steps li.is-done + li::after { background: var(--accent, #fff); }

/* "Fill test details": floats top-right of the Payment page, takes no layout space */
.co-step[data-step="3"] { position: relative; }
.co-step[data-step="3"] .co-fill { position: absolute; top: 6px; right: 0; }
.co-step[data-step="3"] .co-h-row { gap: 0; }
@media (max-width: 700px) { .co-step[data-step="3"] .co-fill { top: -30px; } }

/* "Time's up" dialog: everything centered */
#hold-expired .modal-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
#hold-expired .modal-card p { max-width: 36ch; }

/* ---------- Responsive hardening (QA) ---------- */
/* grid/flex children may shrink below their content's natural width */
.split > *, .form-row > *, .field, .cta-band > *, .info-grid > *, .show-info > *, .co-pay-grid > * { min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; box-sizing: border-box; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* phones: seats stay tappable (24px) and the chart can be swiped around */
.seat-stage-area .seatmap-wrap.is-pannable { overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-x pan-y; }
.seat-stage-area .seatmap-wrap.is-pannable .seatmap { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; padding: 8px 12px 12px; }
.seat-stage-area.is-pannable .legend::after { content: "Swipe to see all seats"; flex-basis: 100%; text-align: center; color: var(--muted); font-size: .68rem; }

/* checkout top bar on phones: Back + timer on row 1, steps centered on row 2 */
@media (max-width: 700px) {
  .co-top { grid-template-columns: auto 1fr auto; row-gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .co-top .pill-back { grid-column: 1; grid-row: 1; }
  .co-top .hold-timer { grid-column: 3; grid-row: 1; }
  .co-top .co-steps { grid-column: 1 / -1; grid-row: 2; }
  .co-top .hold-timer span { display: none; }
}
/* payment form on phones: one field per row (card row keeps expiry/CVC/ZIP together) */
@media (max-width: 560px) {
  .co-pay-grid .co-form .form-row { grid-template-columns: minmax(0, 1fr); }
  .co-pay-grid .co-form .form-row.co-card-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .co-card { padding: 14px; }
}

/* show page on phones: shorter artwork so title, details and Buy tickets fit the first screen */
@media (max-width: 860px) {
  .show-art { height: 40vh; min-height: 220px; }
  .show-content { margin-top: -56px; }
  .show-main h1 { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .show-content { gap: 16px; padding-bottom: 32px; }
  .show-side { gap: 14px; }
}
@media (max-width: 860px) {
  .show-main .show-details { flex-direction: row; }
  .show-main .show-details span + span::before { content: "·"; margin: 0 8px; color: rgba(244, 241, 236, .4); }
}
@media (max-width: 860px) and (max-height: 700px) {
  .show-art { height: 30vh; min-height: 170px; }
  .show-main h1 { font-size: clamp(2rem, 9vw, 2.8rem); margin-bottom: 6px; }
  .show-content { gap: 12px; }
}

/* seat-limit message */
.seat-toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 120; transform: translate(-50%, 8px);
  padding: 10px 18px; border-radius: 999px; max-width: calc(100vw - 32px); text-align: center;
  background: rgba(20, 20, 20, .95); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
  font: 600 .85rem/1.3 var(--font-body); box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.seat-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* tickets: no dashed perforation line (notches only) */
.tix-upper::after { content: none; display: none; }

/* ticket chooser: contents centered (restored after the v5 card change) */
.seat-tip .seat-tip-body.is-choose,
.seat-tip.is-choosing .seat-tip-body.is-choose { align-items: center; text-align: center; }
.seat-tip .seat-tip-body.is-choose .ticket-choice { align-items: center; text-align: center; }

/* date boxes: soft fade on whichever edge has more dates hidden past it */
.seat-dates.fade-right { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent); }
.seat-dates.fade-left { -webkit-mask-image: linear-gradient(90deg, transparent, #000 64px); mask-image: linear-gradient(90deg, transparent, #000 64px); }
.seat-dates.fade-left.fade-right { -webkit-mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent); }

/* "Leave this page?" warning */
.leave-dialog .modal-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.leave-dialog .modal-card p { max-width: 38ch; color: var(--ink-soft); }
.leave-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.leave-actions .btn { padding: 12px 24px; }

/* ticket bars: let the faint glow show (the track used to clip it) */
.sales-bar { overflow: visible; }
.sales-bar span { box-shadow: 0 0 6px color-mix(in srgb, var(--accent, #fff) 35%, transparent); }

/* "No shows …" gap row: no dashed divider, just the label */
.perf-gap td::before, .perf-gap td::after { content: none; }
.perf-gap td { justify-content: center; }

/* Seat effect "twinkle" (per show): open seats shimmer faintly, out of sync */
@keyframes seat-twinkle {
  0%, 100% { filter: brightness(1); }
  45%      { filter: brightness(1.13) saturate(1.05); }
  60%      { filter: brightness(1.04); }
}
.seats-twinkle .seat:not(.is-taken):not(.is-selected) {
  animation: seat-twinkle var(--tw-d, 6s) ease-in-out var(--tw-o, 0s) infinite;
}
.seats-twinkle .seat:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .seats-twinkle .seat { animation: none !important; }
}

/* twinkle v2: a bit more visible — brighter peak plus a soft halo, resting most of the cycle */
@keyframes seat-twinkle {
  0%, 30%, 100% { filter: brightness(1); }
  50%           { filter: brightness(1.4) drop-shadow(0 0 4px color-mix(in srgb, var(--accent, #fff) 70%, #fff)); }
  65%           { filter: brightness(1.08); }
}
.seats-twinkle .seat:hover { animation: none; }

/* twinkle v3: between v1 (invisible) and v2 (too strong) — gentle brighten, no halo */
@keyframes seat-twinkle {
  0%, 30%, 100% { filter: brightness(1); }
  50%           { filter: brightness(1.2); }
  65%           { filter: brightness(1.05); }
}

/* seat preview: bigger (fits above/below where it can, otherwise beside the seat) */
.seat-tip.has-view, .seat-tip.is-choosing { width: min(540px, calc(100vw - 24px), calc((100vh - 230px) * 1.5)); }
.seat-tip.has-view, .seat-tip.is-choosing { width: min(540px, calc(100vw - 24px), calc((100vh - 230px) * 1.5), max(calc((100vw - 80px) / 2), min(366px, calc(100vw - 24px)))); }

/* seat preview: seat + price on the left, Available / Selected pill on the right */
.seat-tip .seat-tip-body:not(.is-choose) {
  display: grid; grid-template-columns: 1fr auto; column-gap: 14px; align-items: center;
  justify-items: start; text-align: left;
}
.seat-tip .seat-tip-body:not(.is-choose) > strong,
.seat-tip .seat-tip-body:not(.is-choose) > span { grid-column: 1; }
.seat-tip .seat-tip-body:not(.is-choose) > em {
  grid-column: 2; grid-row: 1 / span 2; justify-self: end; align-self: center; margin: 0;
}
.seat-tip .seat-tip-body:not(.is-choose) { align-content: center; row-gap: 4px; }

/* seat card: fixed height (set in JS); photo fills whatever the info doesn't use,
   so the preview's info has even 16px padding and the card never changes size */
.seat-tip.has-view { display: flex; flex-direction: column; }
.seat-tip.has-view img { flex: 1 1 auto; min-height: 0; height: auto; aspect-ratio: auto; object-fit: cover; }
.seat-tip.has-view .seat-tip-body { flex: none; }
.seat-tip.has-view:not(.is-choosing) .seat-tip-body { height: auto; padding: 16px; }

/* seat card v6: the photo is always 3:2 and never changes; the info area below
   is as tall as its content (even 16px padding) and grows for the ticket choice */
.seat-tip.has-view, .seat-tip.is-choosing { height: auto !important; display: block; }
.seat-tip.has-view img { flex: none; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.seat-tip .seat-tip-body,
.seat-tip.is-choosing .seat-tip-body,
.seat-tip.has-view:not(.is-choosing) .seat-tip-body { height: auto; padding: 16px; }
.seat-tip .seat-tip-body.is-choose { gap: 4px; }
.seat-tip .seat-tip-body.is-choose .ticket-choices { margin-top: 10px; }

/* Cancel: a real pill button, same as ← Back */
.seat-tip .seat-tip-body.is-choose .ticket-cancel.pill-back {
  align-self: center; justify-self: center; width: auto; margin-top: 12px;
  padding: 9px 18px; font: 600 .82rem/1 var(--font-body); color: #fff;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; cursor: pointer;
}
.seat-tip .seat-tip-body.is-choose .ticket-cancel.pill-back:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }
/* phones: size the card so the (taller) chooser still fits above or below a seat */
@media (max-width: 640px) {
  .seat-tip.has-view, .seat-tip.is-choosing { width: min(366px, calc(100vw - 24px), calc((50vh - 230px) * 1.5)); min-width: 240px; }
}

/* Cancel: smooth fade to red on hover */
.seat-tip .seat-tip-body.is-choose .ticket-cancel.pill-back { transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.seat-tip .seat-tip-body.is-choose .ticket-cancel.pill-back:hover,
.seat-tip .seat-tip-body.is-choose .ticket-cancel.pill-back:focus-visible {
  background: #d63a3a; border-color: #d63a3a; color: #fff;
}

/* ticket perforation: dotted tear line running between the two notches */
.tix-lower { position: relative; }
.tix-lower::before {
  content: ""; position: absolute; top: -1px; left: calc(var(--notch) + 8px); right: calc(var(--notch) + 8px); height: 2px;
  background: radial-gradient(circle, #c9c3ba 1px, transparent 1.4px) 0 50% / 7px 2px repeat-x;
}
@media print { .tix-lower::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
.tix-lower::before { top: -2px; height: 4px; background: radial-gradient(circle, #b3ada4 1.6px, transparent 2px) 0 50% / 9px 4px repeat-x; }

/* ticket glow: a touch stronger */
.tix {
  filter:
    drop-shadow(0 0 1px color-mix(in srgb, var(--accent, #fff) 80%, transparent))
    drop-shadow(0 0 22px color-mix(in srgb, var(--accent, #fff) 70%, transparent))
    drop-shadow(0 14px 30px rgba(0, 0, 0, .45));
}
@media print { .tix { filter: none; } }
/* ticket glow: stronger again */
.tix {
  filter:
    drop-shadow(0 0 2px color-mix(in srgb, var(--accent, #fff) 90%, transparent))
    drop-shadow(0 0 30px color-mix(in srgb, var(--accent, #fff) 85%, transparent))
    drop-shadow(0 14px 30px rgba(0, 0, 0, .45));
}
@media print { .tix { filter: none; } }

/* confirmation: room for up to 4 tickets per row; fewer as the screen narrows */
body.is-confirm .co-main { max-width: min(1320px, 100%); }
body.is-confirm .co-confirm, body.is-confirm .tix-stage { width: 100%; }
.co-confirm .tickets { max-width: calc(4 * 300px + 3 * 24px); width: 100%; }
.co-main:has(.co-confirm:not([hidden])) { max-width: min(1320px, 100%); }

/* confirmation: clear the ticket glow (text never sits in it) + 4 per row on wide screens */
.co-confirm .co-confirm-lede { margin-bottom: 48px; }
.co-confirm .tickets { gap: 44px 36px; max-width: calc(4 * 300px + 3 * 36px); }
.co-confirm .co-confirm-actions { margin-top: 48px; }
.co-main:has(.co-confirm:not([hidden])) { max-width: min(1440px, 100%); }
body.is-confirm .co-confirm-lede { margin: 0 auto 48px; }
body.is-confirm .co-confirm .tickets { gap: 44px 36px; max-width: calc(4 * 300px + 3 * 36px); width: 100%; }
body.is-confirm .co-confirm-actions { margin-top: 48px; }
.co-main:has(.co-confirm:not([hidden])) { max-width: min(1500px, 100%); }
body.is-confirm .co-confirm .tickets { column-gap: 24px; max-width: calc(4 * 300px + 3 * 24px); }

/* confirmation: Exit + Print tickets pinned top right (stay put while scrolling tickets) */
body.is-confirm .co-confirm-actions {
  position: fixed; top: 20px; right: var(--gutter, 24px); z-index: 50;
  margin: 0; display: flex; gap: 10px; justify-content: flex-end;
}
body.is-confirm .co-confirm-actions .btn { padding: 10px 18px; font-size: .88rem; }
body.is-confirm .co-confirm-actions .btn--ghost { background: rgba(0, 0, 0, .45); backdrop-filter: blur(8px); border-color: rgba(255, 255, 255, .35); color: #fff; }
body.is-confirm .co-confirm-actions .btn--ghost:hover { background: rgba(0, 0, 0, .65); border-color: rgba(255, 255, 255, .6); color: #fff; }
/* leave room so the buttons never sit on the heading */
body.is-confirm .co-main { padding-top: 88px; }
@media (max-width: 640px) { body.is-confirm .co-confirm-actions { top: 12px; right: 12px; } body.is-confirm .co-main { padding-top: 72px; } }

/* printing tickets: zero page margins so the browser drops its URL / date / title
   lines; the margin is put back inside the page instead */
@media print {
  @page { margin: 0; }
  body.is-confirm .co-main { padding: 14mm 12mm !important; max-width: none; }
  body.is-confirm .co-confirm-actions { display: none !important; }
}

/* confirmation: Exit + Print back at the bottom, centered under the tickets */
body.is-confirm .co-confirm-actions {
  position: static; top: auto; right: auto; z-index: auto;
  justify-content: center; gap: 14px; margin-top: 48px;
}
body.is-confirm .co-confirm-actions .btn { padding: 14px 28px; font-size: inherit; }
body.is-confirm .co-main { padding-top: 48px; }
@media (max-width: 640px) { body.is-confirm .co-main { padding-top: 32px; } }

/* printing v2: every ticket carries its own top space, so a ticket starting a new
   page gets the same gap as the first one; tickets spread evenly across the width
   (side gaps = gap between = top gap, about 17mm on Letter/A4 with 2 per row) */
@media print {
  body.is-confirm .co-main { padding: 0 !important; margin: 0; max-width: none; }
  body.is-confirm .co-confirm .tickets {
    display: flex; flex-wrap: wrap; justify-content: space-evenly; gap: 0 !important;
    max-width: none; width: 100%; margin: 0;
  }
  body.is-confirm .co-confirm .tix { padding-top: 17mm; break-inside: avoid; page-break-inside: avoid; }
}

/* ticket seam: overlap the two halves by 1px so no hairline (or glow) shows
   through between the perforation dots */
.tix-lower { margin-top: -1px; }
.tix-upper { padding-bottom: 1px; }
.tix-lower::before { top: -1px; }

/* confirmation: the glow reaches ~60px past a ticket; keep text and buttons out of it */
body.is-confirm .co-confirm-lede { margin-bottom: 76px; }
body.is-confirm .co-confirm-actions { margin-top: 84px; }
body.is-confirm .co-confirm .tickets { row-gap: 72px; }
/* confirmation: same gap between tickets across and down */
body.is-confirm .co-confirm .tickets { gap: 24px; }

/* ticket glow on the very back layer: drawn by a pseudo-element behind ALL tickets
   (one stacking context on .tickets), so no glow ever paints over another ticket */
body.is-confirm .co-confirm .tickets { position: relative; isolation: isolate; }
.co-confirm .tix { position: relative; filter: none; }
.co-confirm .tix::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 20px; pointer-events: none;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent, #fff) 55%, transparent),
    0 0 30px 2px color-mix(in srgb, var(--accent, #fff) 85%, transparent),
    0 14px 30px rgba(0, 0, 0, .45);
}
@media print { .co-confirm .tix::before { display: none; } }

/* glow v2: a blurred accent shape behind the whole ticket (not just an outer shadow),
   so the notch cutouts show the glow behind them — they read as see-through holes */
.co-confirm .tix::before {
  inset: -2px; border-radius: 22px;
  background: color-mix(in srgb, var(--accent, #fff) 75%, transparent);
  filter: blur(16px);
  box-shadow: none;
}
.co-confirm .tix::after {
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: 20px; pointer-events: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .45);
}
@media print { .co-confirm .tix::after { display: none; } }
/* glow v3: softer, more gradual falloff */
.co-confirm .tix::before { inset: 4px; border-radius: 24px; filter: blur(26px); background: color-mix(in srgb, var(--accent, #fff) 85%, transparent); }
.co-confirm .tix::before { inset: 0; filter: blur(24px); background: var(--accent, #fff); opacity: .95; }
/* glow v4: softer — wider blur, a little less intense */
.co-confirm .tix::before { inset: 6px; filter: blur(36px); opacity: .8; }

/* payment test helpers: Fill test details + Test declined card, side by side */
.co-fill-group { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.co-fill--bad { color: #f08a8a; border-color: rgba(240, 138, 138, .4); }
.co-fill--bad:hover { color: #fff; background: rgba(214, 58, 58, .25); border-color: #d63a3a; }

/* per-date ticket bars: count above the bar on the left, like the hero's "tickets sold" */
.perf-meter { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; }
.perf-meter .sales-line { justify-content: flex-start; margin-bottom: 8px; color: rgba(244, 241, 236, .7); font-size: .9rem; }
.perf-meter .sales-line strong { font: 600 1.25rem/1 var(--font-display); color: #fff; margin-right: 2px; }
.perf-meter .sales-bar { flex: none; width: 100%; max-width: 320px; min-width: 0; }
.perf-left { min-width: 0; text-align: left; white-space: nowrap; font-size: inherit; color: inherit; }
/* ...but the whole meter (count + bar) sits on the right, lined up over Buy tickets */
.perf-meter { width: 100%; max-width: 320px; margin-left: auto; }

/* ---------- Seat card docked in one fixed spot (laptops / desktops) ----------
   The card sits left of the chart, below the dates, and never moves; the chart
   is re-fitted into the space to its right. Content changes fade, and the card's
   height glides when it grows into the ticket chooser. */
body.seat-dock #seatmap { padding-left: calc(var(--dock-w, 0px) + 40px); }
.seat-tip.is-docked {
  position: fixed; left: var(--dock-left) !important; top: var(--dock-top) !important;
  width: var(--dock-w) !important; min-width: 0 !important; max-width: none;
  transform: none; pointer-events: auto;
  transition: opacity .3s ease, visibility .3s ease;
}
.seat-tip.is-docked.is-morphing { transition: height .3s cubic-bezier(.2, .7, .2, 1), opacity .3s ease; overflow: hidden; }
@keyframes dock-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dock-rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.seat-tip.is-docked img { animation: dock-fade .28s ease; }
.seat-tip.is-docked .seat-tip-body > * { animation: dock-rise .26s ease both; }
.seat-tip.is-docked img.is-sample { filter: brightness(.55) saturate(.8); }
.seat-tip.is-docked .seat-tip-body.is-empty { display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.seat-tip.is-docked .seat-tip-body.is-empty span { color: var(--ink-soft); font-size: .88rem; line-height: 1.45; white-space: normal; }
@media (prefers-reduced-motion: reduce) {
  .seat-tip.is-docked img, .seat-tip.is-docked .seat-tip-body > * { animation: none; }
  .seat-tip.is-docked.is-morphing { transition: none; }
}
/* keep the chart dead-center: equal room on both sides, the card lives in the left one */
body.seat-dock #seatmap { padding-left: calc(var(--dock-w, 0px) + 40px); padding-right: calc(var(--dock-w, 0px) + 40px); }
body.seat-dock #seatmap { padding-left: calc(var(--dock-w, 0px) + 24px); padding-right: calc(var(--dock-w, 0px) + 24px); }
/* docked card is narrower: seat name on one line, Available pill underneath */
.seat-tip.is-docked .seat-tip-body:not(.is-choose):not(.is-empty) { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.seat-tip.is-docked .seat-tip-body:not(.is-choose):not(.is-empty) > strong { white-space: nowrap; }
.seat-tip.is-docked .seat-tip-body:not(.is-choose):not(.is-empty) > em { margin-top: 8px; align-self: flex-start; }
.seat-tip.is-docked .seat-tip-body.is-choose .ticket-choices { grid-template-columns: 1fr; }

/* ---------- Seat card v7: the original floating card, smoother ----------
   - glides from seat to seat instead of jumping
   - height glides when it grows into the ticket chooser
   - the new seat's photo and text fade in
   - sized so it fits between the date strip and the bottom bar (never covers them) */
.seat-tip.has-view, .seat-tip.is-choosing { width: min(540px, calc(100vw - 24px), max(240px, calc((100vh - 430px) * 1.5)), max(calc((100vw - 80px) / 2), min(366px, calc(100vw - 24px)))); }
@media (max-width: 640px) {
  .seat-tip.has-view, .seat-tip.is-choosing { width: min(366px, calc(100vw - 24px), calc((50vh - 230px) * 1.5)); min-width: 240px; }
}
.seat-tip.is-gliding {
  transition: left .22s cubic-bezier(.2, .7, .2, 1), top .22s cubic-bezier(.2, .7, .2, 1), opacity .2s ease, visibility .2s ease;
}
.seat-tip.is-morphing {
  overflow: hidden;
  transition: height .28s cubic-bezier(.2, .7, .2, 1), left .22s cubic-bezier(.2, .7, .2, 1), top .28s cubic-bezier(.2, .7, .2, 1), opacity .2s ease;
}
@keyframes tip-photo-in { from { opacity: .35; } to { opacity: 1; } }
@keyframes tip-text-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.seat-tip img { animation: tip-photo-in .22s ease; }
.seat-tip .seat-tip-body > * { animation: tip-text-in .22s ease both; }
@media (prefers-reduced-motion: reduce) {
  .seat-tip.is-gliding, .seat-tip.is-morphing { transition: none; }
  .seat-tip img, .seat-tip .seat-tip-body > * { animation: none; }
}
/* chooser info is ~230px tall: size the card so the whole chooser fits between the dates and the bar */
@media (min-width: 641px) {
  .seat-tip.has-view, .seat-tip.is-choosing { width: min(540px, calc(100vw - 24px), max(240px, calc((100vh - 470px) * 1.5)), max(calc((100vw - 80px) / 2), min(366px, calc(100vw - 24px)))); }
}

/* ticket chooser: a highlighted option turns white with ALL its text dark (label + price) */
.seat-tip .ticket-choice:hover, .seat-tip .ticket-choice:focus-visible,
.seat-tip .seat-tip-body.is-choose .ticket-choice:hover, .seat-tip .seat-tip-body.is-choose .ticket-choice:focus-visible {
  background: #fff; border-color: #fff; color: #0a0a0a; outline: none;
}
.seat-tip .ticket-choice:hover *, .seat-tip .ticket-choice:focus-visible * { color: #0a0a0a !important; }
.seat-tip .ticket-choice { transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.seat-tip .ticket-choice * { transition: color .15s ease; }

/* any number of ticket types: two per row; an odd one out spans the full width */
.seat-tip .seat-tip-body.is-choose .ticket-choices { display: grid; grid-template-columns: 1fr 1fr; }
.seat-tip .seat-tip-body.is-choose .ticket-choice:last-child:nth-child(odd) { grid-column: 1 / -1; }
.seat-tip .seat-tip-body.is-choose .ticket-choice span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* payment test buttons: pin the PAIR top-right (side by side), not each button */
.co-step[data-step="3"] .co-fill { position: static; }
.co-step[data-step="3"] .co-fill-group { position: absolute; top: 6px; right: 0; display: flex; gap: 8px; flex-wrap: nowrap; }
@media (max-width: 700px) { .co-step[data-step="3"] .co-fill-group { top: -30px; } }
@media (max-width: 520px) {
  .co-step[data-step="3"] .co-fill-group { position: static; justify-content: center; margin: 0 0 4px; flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .co-step[data-step="3"] .co-fill-group { position: static; justify-content: center; margin: 0 0 4px; flex-wrap: wrap; }
  .co-step[data-step="3"] .co-h-row { gap: 12px; }
}

/* "You might also like": bigger cards that fill the row (no empty fourth slot) */
.rec-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 36px 28px; }
.rec { gap: 14px; }
.rec-body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.rec-body span { font-size: .95rem; }
.rec-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

/* ---------- "You might also like" carousel ----------
   3 cards in full, the 4th peeking in and fading off the right edge; arrows
   (top right) scroll a page at a time. Fewer per view on smaller screens. */
.rec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.rec-head h2 { margin: 0; }
.rec-arrows { display: flex; gap: 10px; }
.rec-arrow {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); color: #fff;
  transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
}
.rec-arrow:hover:not(:disabled) { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); }
.rec-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.rec-arrow:disabled { opacity: .3; cursor: default; }
.recs.no-scroll .rec-arrows { display: none; }

.rec-track {
  --rec-gap: 24px; --rec-per: 3.35;               /* 3 full cards + a slice of the 4th */
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--rec-gap) * 3) / var(--rec-per));
  column-gap: var(--rec-gap);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 6px 0 14px; margin: -6px 0 -14px;      /* room for the hover lift */
  outline: none;
}
.rec-track::-webkit-scrollbar { display: none; }
.rec-track .rec { scroll-snap-align: start; min-width: 0; }
/* soft fades where there's more to scroll */
.rec-track.fade-right { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 140px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 140px), transparent); }
.rec-track.fade-left { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 80px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 80px), transparent); }
.rec-track.fade-left.fade-right {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 80px, #000 calc(100% - 140px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 80px, #000 calc(100% - 140px), transparent);
}
@media (max-width: 1024px) { .rec-track { --rec-per: 2.35; grid-auto-columns: calc((100% - var(--rec-gap) * 2) / var(--rec-per)); } }
@media (max-width: 640px)  { .rec-track { --rec-gap: 16px; --rec-per: 1.2; grid-auto-columns: calc((100% - var(--rec-gap)) / var(--rec-per)); } .rec-arrow { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .rec-track { scroll-behavior: auto; } }

/* color cards for shows without artwork yet */
.theme-midsummer { background: linear-gradient(150deg, #7fb77e, #3c6b4a 55%, #1d3427); }
.theme-jazz      { background: linear-gradient(150deg, #5fb3c9, #22566e 55%, #0f2533); }
.theme-comedy    { background: linear-gradient(150deg, #e8b44a, #a0522d 55%, #3a1c14); }
.theme-annie     { background: linear-gradient(150deg, #f07a5a, #b3322a 55%, #4d1416); }
/* left fade (shown only at the end) is as soft as the right one */
.rec-track.fade-left { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 140px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 140px), transparent); }

/* recommendations fade v2: a smoother (eased, multi-step) fade, and it glides
   between the right and left sides instead of snapping. The fade widths are
   animatable properties, so the mask morphs smoothly when it switches. */
@property --rec-fl { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --rec-fr { syntax: "<length>"; inherits: false; initial-value: 0px; }
.rec-track,
.rec-track.fade-left, .rec-track.fade-right, .rec-track.fade-left.fade-right {
  --rec-fl: 0px; --rec-fr: 0px;
  -webkit-mask-image: linear-gradient(to right,
    rgba(0,0,0,0) 0,
    rgba(0,0,0,.18) calc(var(--rec-fl) * .25),
    rgba(0,0,0,.5)  calc(var(--rec-fl) * .5),
    rgba(0,0,0,.82) calc(var(--rec-fl) * .75),
    #000 var(--rec-fl),
    #000 calc(100% - var(--rec-fr)),
    rgba(0,0,0,.82) calc(100% - var(--rec-fr) * .75),
    rgba(0,0,0,.5)  calc(100% - var(--rec-fr) * .5),
    rgba(0,0,0,.18) calc(100% - var(--rec-fr) * .25),
    rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to right,
    rgba(0,0,0,0) 0,
    rgba(0,0,0,.18) calc(var(--rec-fl) * .25),
    rgba(0,0,0,.5)  calc(var(--rec-fl) * .5),
    rgba(0,0,0,.82) calc(var(--rec-fl) * .75),
    #000 var(--rec-fl),
    #000 calc(100% - var(--rec-fr)),
    rgba(0,0,0,.82) calc(100% - var(--rec-fr) * .75),
    rgba(0,0,0,.5)  calc(100% - var(--rec-fr) * .5),
    rgba(0,0,0,.18) calc(100% - var(--rec-fr) * .25),
    rgba(0,0,0,0) 100%);
  transition: --rec-fl .5s cubic-bezier(.4, 0, .2, 1), --rec-fr .5s cubic-bezier(.4, 0, .2, 1);
}
.rec-track.fade-right { --rec-fr: 180px; }
.rec-track.fade-left  { --rec-fl: 180px; }
@media (max-width: 640px) {
  .rec-track.fade-right { --rec-fr: 90px; }
  .rec-track.fade-left  { --rec-fl: 90px; }
}
@media (prefers-reduced-motion: reduce) { .rec-track { transition: none; } }

/* event grids: never more than 4 per row (fewer as the screen narrows) */
.event-grid { grid-template-columns: repeat(auto-fill, minmax(max(260px, calc((100% - 3 * 24px) / 4)), 1fr)); }

/* ---------- Event cards v2 (Events page + home) ----------
   Matches the show page / tickets: clean artwork (nothing on top), the show's
   color glowing softly behind it, date in the show's color, big title.
   Hover lifts the art and brightens the glow, smoothly. */
.event-grid { gap: 48px 28px; }
.event-card.ev { background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; padding: 0; }
.ev-link { display: flex; flex-direction: column; gap: 18px; color: inherit; text-decoration: none; height: 100%; }
.ev-link:focus-visible { outline: 2px solid #fff; outline-offset: 6px; border-radius: 20px; }

.ev-art-wrap { position: relative; isolation: isolate; }
/* the glow: a blurred copy of the show's color behind the art */
.ev-art-wrap::before {
  content: ""; position: absolute; inset: 8% 6% 0; z-index: -1; border-radius: 22px;
  background: var(--accent); filter: blur(30px); opacity: .28;
  transition: opacity .45s cubic-bezier(.2, .7, .2, 1), transform .45s cubic-bezier(.2, .7, .2, 1);
}
.ev-art {
  aspect-ratio: 16 / 10; border-radius: 18px; background-size: cover; background-position: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 18px 40px rgba(0, 0, 0, .45);
  display: flex; align-items: flex-end; padding: 22px;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s cubic-bezier(.2, .7, .2, 1);
}
.ev-art-title { font: 600 clamp(1.4rem, 2vw, 1.9rem)/1.1 var(--font-display); color: #fff; max-width: 85%; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }

.ev-info { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; flex: 1; }
.ev-date {
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 70%, #fff);
}
.ev-title { margin: 2px 0 0; font: 600 clamp(1.3rem, 1.6vw, 1.6rem)/1.15 var(--font-display); color: #fff; }
.ev-presenter { font-size: .95rem; color: var(--muted); }
.ev-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; flex-wrap: wrap; }
.ev-meta .tag { margin: 0; }
.ev-price { font-size: .92rem; color: var(--ink-soft); }
.ev-cta {
  margin-left: auto; font-size: .9rem; font-weight: 600; color: #fff;
  opacity: .55; transform: translateX(-4px);
  transition: opacity .35s ease, transform .35s cubic-bezier(.2, .7, .2, 1);
}

.ev-link:hover .ev-art, .ev-link:focus-visible .ev-art {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 28px 50px rgba(0, 0, 0, .5);
}
.ev-link:hover .ev-art-wrap::before, .ev-link:focus-visible .ev-art-wrap::before { opacity: .6; transform: translateY(-4px); }
.ev-link:hover .ev-cta, .ev-link:focus-visible .ev-cta { opacity: 1; transform: none; }
.ev-link:hover .ev-title { color: #fff; }

@media (max-width: 640px) {
  .event-grid { gap: 40px; }
  .ev-cta { opacity: 1; transform: none; }   /* no hover on phones: always show it */
}
@media (prefers-reduced-motion: reduce) {
  .ev-art, .ev-art-wrap::before, .ev-cta { transition: none; }
  .ev-link:hover .ev-art { transform: none; }
}
.event-grid { grid-template-columns: repeat(auto-fill, minmax(max(260px, calc((100% - 3 * 28px) / 4)), 1fr)); column-gap: 28px; }
.ev-art-wrap::before { opacity: .38; }

/* ---------- Event cards v3: contained in a box ----------
   Each event is one box, same style as the show page's "Show details" panel.
   The artwork sits flush across the top at exactly 16:9 (design graphics at
   1920 x 1080), nothing on top of it; the info is padded inside the box.
   The show's color glows softly behind the whole box; hover lifts it. */
.ev-link {
  position: relative; isolation: isolate; gap: 0; height: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius, 18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .45s ease, box-shadow .45s ease;
}
.ev-link::before {   /* the glow, behind the box */
  content: ""; position: absolute; inset: 10% 6% 0; z-index: -1; border-radius: inherit;
  background: var(--accent); filter: blur(34px); opacity: .3;
  transition: opacity .45s cubic-bezier(.2, .7, .2, 1);
}
.ev-art-wrap { overflow: hidden; border-radius: calc(var(--radius, 18px) - 1px) calc(var(--radius, 18px) - 1px) 0 0; }
.ev-art-wrap::before { content: none; }
.ev-art {
  aspect-ratio: 16 / 9; border-radius: 0; box-shadow: none; padding: 22px;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.ev-info { padding: 20px 22px 22px; gap: 6px; }

.ev-link:hover, .ev-link:focus-visible {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: 0 28px 50px rgba(0, 0, 0, .5);
}
.ev-link:hover::before, .ev-link:focus-visible::before { opacity: .6; }
.ev-link:hover .ev-art, .ev-link:focus-visible .ev-art { transform: scale(1.03); box-shadow: none; }
.ev-link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .ev-link, .ev-link::before, .ev-art { transition: none; }
  .ev-link:hover, .ev-link:hover .ev-art { transform: none; }
}
/* glow lives on the card's outer wrapper, so it sits BEHIND the box (not tinting it) */
.ev-link { isolation: auto; }
.ev-link::before { content: none; }
.event-card.ev { position: relative; isolation: isolate; }
.event-card.ev::before {
  content: ""; position: absolute; inset: 10% 6% 0; z-index: -1; border-radius: var(--radius, 18px);
  background: var(--accent); filter: blur(34px); opacity: .3; pointer-events: none;
  transition: opacity .45s cubic-bezier(.2, .7, .2, 1), transform .45s cubic-bezier(.2, .7, .2, 1);
}
.event-card.ev:has(.ev-link:hover)::before, .event-card.ev:has(.ev-link:focus-visible)::before { opacity: .6; transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) { .event-card.ev::before { transition: none; } }
/* event grids: 3 per row max (fewer as the screen narrows) */
.event-grid { grid-template-columns: repeat(auto-fill, minmax(max(280px, calc((100% - 2 * 28px) / 3)), 1fr)); column-gap: 28px; }

/* event cards: two buttons at the bottom of each box */
.ev-title a { color: inherit; text-decoration: none; }
.ev-title a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ev-art-wrap { display: block; }
.ev-meta { margin-top: 10px; padding-top: 0; }
.ev-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 18px; }
.ev-actions .btn { width: 100%; justify-content: center; text-align: center; padding: 12px 14px; font-size: .92rem; white-space: nowrap; }
.ev-link { display: flex; flex-direction: column; }
.ev-info { flex: 1; }
/* the whole box still lifts and glows when you point anywhere on it */
.ev-link:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: 0 28px 50px rgba(0, 0, 0, .5); }
.ev-link:hover .ev-art { transform: scale(1.03); }
.event-card.ev:has(.ev-link:hover)::before, .event-card.ev:has(:focus-visible)::before { opacity: .6; transform: translateY(-6px); }
.ev-link:focus-visible { outline: none; }
.ev-cta { display: none; }

/* ---------- Events page: toolbar + A/B layout switch ---------- */
.ev-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.ev-toolbar .filter-bar { margin-bottom: 0; }
.ab-switch { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.ab-switch button {
  min-width: 40px; height: 32px; padding: 0 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--muted); font: 700 .85rem/1 var(--font-body); letter-spacing: .04em;
  transition: background-color .2s ease, color .2s ease;
}
.ab-switch button:hover { color: #fff; }
.ab-switch button[aria-pressed="true"] { background: #fff; color: #0a0a0a; }

/* ---------- Layout B: every performance, grouped by month ---------- */
.month-list { display: flex; flex-direction: column; gap: 56px; }
.month-head {
  display: flex; align-items: center; gap: 18px; margin: 0 0 18px;
  font: 600 clamp(1.5rem, 2.2vw, 2rem)/1.1 var(--font-display); color: #fff;
}
.month-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.month-rows { display: flex; flex-direction: column; gap: 14px; }

.perf-row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 76px 208px minmax(0, 1fr) auto; align-items: center; gap: 22px;
  padding: 14px 18px 14px 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius, 18px);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s ease, box-shadow .35s ease;
}
.perf-row::before {   /* show-colored glow behind the row on hover */
  content: ""; position: absolute; inset: 15% 4%; z-index: -1; border-radius: inherit;
  background: var(--accent); filter: blur(30px); opacity: 0; transition: opacity .35s ease;
}
.perf-row:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: 0 18px 36px rgba(0, 0, 0, .4); }
.perf-row:hover::before { opacity: .35; }

.pr-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  height: 76px; border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.pr-date span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 70%, #fff); }
.pr-date strong { font: 600 1.7rem/1 var(--font-display); color: #fff; }

.pr-art-link { display: block; border-radius: 12px; overflow: hidden; }
.pr-art {
  display: flex; align-items: flex-end; aspect-ratio: 16 / 9; padding: 10px 12px;
  background-size: cover; background-position: center; transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.pr-art b { font: 600 1rem/1.1 var(--font-display); color: #fff; }
.perf-row:hover .pr-art { transform: scale(1.04); }

.pr-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pr-info h3 { margin: 0; font: 600 1.3rem/1.2 var(--font-display); }
.pr-info h3 a { color: #fff; text-decoration: none; }
.pr-info h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pr-presenter { font-size: .9rem; color: var(--muted); }
.pr-when { font-size: .95rem; color: var(--ink-soft); margin-top: 4px; }
.pr-meta { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: .9rem; color: var(--ink-soft); }
.pr-meta .tag { margin: 0; }
.pr-actions { display: flex; gap: 10px; }
.pr-actions .btn { padding: 12px 20px; font-size: .92rem; white-space: nowrap; }

@media (max-width: 1024px) {
  .perf-row { grid-template-columns: 70px 160px minmax(0, 1fr); }
  .pr-actions { grid-column: 3; }
}
@media (max-width: 700px) {
  .perf-row { grid-template-columns: 64px minmax(0, 1fr); gap: 14px 16px; padding: 14px; }
  .pr-art-link { display: none; }
  .pr-date { height: 70px; }
  .pr-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .pr-actions .btn { width: 100%; justify-content: center; }
  .ev-toolbar { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .perf-row, .perf-row::before, .pr-art { transition: none; }
  .perf-row:hover { transform: none; }
}

/* event boxes: square artwork in both layouts (design graphics at 1080 x 1080) */
.ev-art { aspect-ratio: 1 / 1; }
/* layout B: month heading, then the same boxes (3 per row) */
.month-list { gap: 64px; }
.month .event-grid { margin-top: 4px; }

/* ---------- Layout B: compact boxes, up to 7 per row ---------- */
.month-list .event-grid {
  grid-template-columns: repeat(auto-fill, minmax(max(150px, calc((100% - 6 * 16px) / 7)), 1fr));
  gap: 28px 16px;
}
.month-list .ev-link { border-radius: 14px; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.month-list .ev-art-wrap { border-radius: 13px 13px 0 0; }
.month-list .ev-art { padding: 10px; }
.month-list .ev-art-title { font-size: .95rem; }
.month-list .ev-info { padding: 12px 12px 12px; gap: 3px; }
.month-list .ev-date { font-size: .66rem; letter-spacing: .1em; line-height: 1.35; }
.month-list .ev-time { display: block; font-size: .72rem; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink-soft); }
.month-list .ev-time::first-letter { color: transparent; }
.month-list .ev-title { font-size: 1rem; line-height: 1.2; margin-top: 4px; }
.month-list .ev-presenter { font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.month-list .ev-meta { gap: 6px; margin-top: 6px; font-size: .72rem; }
.month-list .ev-meta .tag { font-size: .6rem; padding: 3px 7px; }
.month-list .ev-price { font-size: .72rem; }
.month-list .ev-actions { grid-template-columns: 1fr; gap: 6px; padding-top: 12px; }
.month-list .ev-actions .btn { padding: 8px 10px; font-size: .78rem; }
.month-list .event-card.ev::before { filter: blur(22px); }
.month-list .ev-link:hover { transform: translateY(-4px); }
@media (max-width: 640px) {
  .month-list .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
}
.month-list .ev-time::first-letter { color: inherit; }
.month-list .ev-sep { display: none; }
.month-list .event-grid { grid-template-columns: repeat(auto-fill, minmax(max(128px, calc((100% - 6 * 14px) / 7)), 1fr)); column-gap: 14px; }
@media (max-width: 640px) { .month-list .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 360px) { .month-list .ev-actions .btn { white-space: normal; padding: 8px 6px; } }
.month-list .ev-title { overflow-wrap: anywhere; hyphens: auto; }
/* layout B: 5 per row (fewer as the screen narrows) */
.month-list .event-grid { grid-template-columns: repeat(auto-fill, minmax(max(150px, calc((100% - 4 * 18px) / 5)), 1fr)); column-gap: 18px; }
@media (max-width: 640px) { .month-list .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; } }
/* layout B: 4 per row (fewer as the screen narrows) */
.month-list .event-grid { grid-template-columns: repeat(auto-fill, minmax(max(150px, calc((100% - 3 * 20px) / 4)), 1fr)); column-gap: 20px; }
@media (max-width: 640px) { .month-list .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; } }
/* layout B boxes adapt to their own width: roomier text and side-by-side
   buttons when there's space, compact when narrow (tablets / phones) */
.month-list .event-card { container-type: inline-size; }
@container (min-width: 230px) {
  .month-list .ev-info { padding: 16px 16px 16px; gap: 4px; }
  .month-list .ev-date { font-size: .72rem; }
  .month-list .ev-time { font-size: .82rem; }
  .month-list .ev-title { font-size: 1.2rem; }
  .month-list .ev-presenter { font-size: .85rem; }
  .month-list .ev-meta .tag { font-size: .66rem; padding: 4px 9px; }
  .month-list .ev-price { font-size: .82rem; }
  .month-list .ev-actions { grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 14px; }
  .month-list .ev-actions .btn { padding: 10px 10px; font-size: .84rem; }
}
@container (min-width: 340px) {
  .month-list .ev-title { font-size: 1.35rem; }
  .month-list .ev-actions .btn { padding: 11px 12px; font-size: .9rem; }
}
