/* Type: 16 body, 32 title, 64 display. Clear space never under 16. Targets never under 44. */
:root {
  color-scheme: light;
  /* 60-30-10: page neutrals / surfaces / one accent. See docs/STYLEGUIDE.md. */
  --paper: #f5f5f7;
  --ink: #1c1c1e;
  --rule: #d1d1d6;
  --quiet: #3a3a3c;
  --surface: #ffffff;
  --btn-fill: #2c2c2e;
  --red: #e70815; /* sampled from JJ's art star; white on it 4.77:1. Not small text on black. */
  --gold: #7a5b12;
  /* Bang Wong 2011 blue. 5.2:1 on paper; accent only, not body text. */
  --recurring: #0072B2;
  --one: #1c1c1e;
  --two: #e70815;
  --radius-ctrl: 8px;
  --radius-card: 12px;
  --radius-dialog: 14px;
  --radius: var(--radius-card);
  --sans: "Avenir Next", "Segoe UI", sans-serif;
  --cond: "Arial Narrow", "Avenir Next Condensed", "Helvetica Neue Condensed", sans-serif;
  --display: "Arial Black", Impact, "Arial Narrow", sans-serif;
  /* Fluid type and spacing. Font sizes in rem so browser zoom and user font-size work.
     Component spacing uses em. Line length is capped with --measure (~65ch). */
  --text: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  --text-s: clamp(0.875rem, 0.85rem + 0.25vw, 1rem);
  --title: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);
  --display-size: clamp(2rem, 1.2rem + 3.5vw, 4rem);
  --leading-display: 1.12;
  --leading-title: 1.2;
  --leading-body: 1.45;
  --leading-label: 1.3;
  --track-display: -0.03em;
  --track-title: -0.02em;
  --track-body: 0;
  --track-label: 0.02em;
  --measure: 65ch;
  --clear: 1rem;
  --target: 2.75rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --page-pad: clamp(1rem, 0.7rem + 1vw, 2.5rem);
  --grid-gap: clamp(1rem, 0.75rem + 0.8vw, 2rem);
  --bp-sm: 40em;
  --bp-md: 53.75em;
  --bp-lg: 80em;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #1c1c1e;
    --ink: #f2f2f7;
    --rule: #3a3a3c;
    --quiet: #aeaeb2;
    --surface: #2c2c2e;
    --btn-fill: #3a3a3c;
    --gold: #e6c36a;
    --one: #f2f2f7;
    --two: #e70815;
  }
}

* { box-sizing: border-box; }

html {
  margin: 0;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}
body {
  margin: 0;
  font-size: var(--text);
  line-height: var(--leading-body);
  letter-spacing: var(--track-body);
  overflow-x: clip;
}

body {
  min-height: 100vh;
}

button, input, textarea, select { font: inherit; color: inherit; }

button { cursor: pointer; }

a { color: inherit; }

img { max-width: 100%; display: block; }

.sheet {
  width: min(980px, calc(100vw - 32px));
  margin: 0 auto;
  padding: var(--clear) 0 64px;
  border-top: 4px solid var(--gold);
}

.mark {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 0 var(--clear);
  background: #000000;
}

.mast {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--clear);
  padding-top: var(--clear);
}

.mast h1 {
  width: 100%;
  max-width: 720px;
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: var(--title);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.mast nav {
  display: flex;
  gap: var(--clear);
  font-family: var(--cond);
  font-size: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mast a { text-underline-offset: 3px; }

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 8px 0 0;
}

.rule.double { border-top: 4px double var(--rule); }

.dateline {
  display: flex;
  justify-content: space-between;
  gap: var(--clear);
  margin: var(--clear) 0;
  font-family: var(--cond);
  font-size: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hall {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  margin-bottom: 22px;
}

.hall p { margin: 0 0 4px; }

.hall strong { font-family: var(--display); font-size: var(--title); font-weight: 900; }

.quiet { color: var(--quiet); }

.pair {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 4px solid var(--rule);
}

.pair article.listing,
.board .listing {
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--rule);
}

.listing-head {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.pair .listing-head {
  grid-template-columns: 1fr;
}

.listing-head .copy { min-width: 0; }
.board .listing-head .date { grid-area: date; }
.board .listing-head .flyer { grid-area: flyer; }
.board .listing-head .copy { grid-area: copy; }

.flyer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 160px;
  background: var(--paper);
  border: 1px solid var(--rule);
  overflow: hidden;
}

.flyer img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  background: var(--paper);
}

.board .listing-head {
  grid-template-columns: 74px 1fr;
  grid-template-areas: "date copy";
  align-items: start;
}

.board .listing-head:has(.flyer) {
  grid-template-columns: 74px minmax(112px, 160px) 1fr;
  grid-template-areas: "date flyer copy";
}

.board .flyer {
  height: 88px;
}

.when {
  font-family: var(--cond);
  font-size: var(--text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.daynum {
  font-family: var(--display);
  font-weight: 900;
  font-size: var(--title);
  line-height: 0.8;
  letter-spacing: -0.04em;
}

.poster {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.poster h2, .row h3, .block h2, .block h3, .lock h1, .slip h2, .call h2 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
}

.poster h2, .block h2, .lock h1 { font-size: var(--title); line-height: 0.92; }

.poster h2 a { text-decoration: none; }

.times { margin: 8px 0 0; }

.board { margin-top: 28px; }

.row {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}

.row .num {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 34px;
  line-height: 0.85;
}

.row h3 { font-size: var(--title); line-height: 1; }

.block { margin-top: 32px; }

.block h2 { font-size: var(--title); line-height: 0.95; }

.ledger-wrap { overflow-x: auto; }
.ledger { width: 100%; border-collapse: collapse; margin-top: 10px; }

.ledger th, .ledger td {
  text-align: left;
  vertical-align: top;
  padding: 8px 8px 8px 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
}

.ledger th {
  font-family: var(--cond);
  font-size: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stamp {
  display: inline-block;
  border: 3px solid currentColor;
  padding: 2px 7px 1px;
  font-family: var(--cond);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.call {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  align-items: start;
  border-top: 4px solid var(--rule);
  border-bottom: 4px solid var(--rule);
  padding: 14px 0;
  margin-bottom: 8px;
}

.call .stamp { font-size: 28px; padding: 8px 10px 6px; }

.call h2 {
  margin: 0;
  font-size: var(--title);
  line-height: 0.95;
}

.call p { margin: 6px 0 0; }

.call .times { display: flex; flex-wrap: wrap; gap: 6px 18px; }

.why { font-size: var(--text); }

.assign { font-weight: 600; margin-top: 8px; }

.trio { margin-top: 6px; }

.rowline {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}

.rowline > .num {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
}

.choice { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

.choice button { width: auto; }

.rowline input { width: 8ch; }

.one { color: var(--one); }
.two { color: #ffffff; background: var(--red); border-color: var(--red); }

.phase {
  display: inline-block;
  border: 3px solid currentColor;
  padding: 4px 8px 2px;
  font-family: var(--cond);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 28px;
  line-height: 1.1;
  text-transform: uppercase;
}

.phase.on { color: var(--ink); }
.phase.over { color: var(--quiet); }
.phase.full { color: #ffffff; background: var(--red); border-color: var(--red); }

.bill { margin: 6px 0 0; }

.toolbar { margin: 8px 0 20px; }

.toolrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
}

.toolname { font-weight: 600; min-width: 12ch; }

.toolrow button { width: auto; }

.pin {
  font-family: var(--cond);
  font-size: var(--title);
  letter-spacing: 0.28em;
  width: 7ch;
}

.confirm {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: var(--target);
  margin-top: 12px;
}

.confirm input {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--ink);
}

.pinshow {
  font-family: var(--cond);
  font-weight: 700;
  font-size: var(--title);
  letter-spacing: 0.18em;
}

.ruler { margin: 14px 0; }

.ruler-line {
  position: relative;
  height: 28px;
  border-bottom: 2px solid var(--rule);
}

.ruler-line i, .ruler-line b {
  position: absolute;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}

.ruler-line i { height: 8px; }
.ruler-line b { height: 16px; width: 2px; }
.ruler-line .you {
  position: absolute;
  bottom: -1px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid var(--ink);
  transform: translateX(-6px);
}

.ruler-labels, .split-row, .navline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.ruler-labels { justify-content: space-between; font-variant-numeric: tabular-nums; }

label { display: block; margin-top: 12px; }

input, textarea {
  width: 100%;
  margin-top: 4px;
  padding: 8px 0;
  min-height: var(--target);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  font-size: var(--text);
  outline: none;
}

/* Dropdowns use the control tokens so light/dark follow :root. */
select {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 0.5rem 2.25rem 0.5rem 0.75rem;
  min-height: var(--target);
  border: 1px solid var(--rule);
  border-radius: var(--radius-ctrl, 8px);
  background-color: var(--surface);
  color: var(--ink);
  font-size: var(--text);
  line-height: var(--leading-body, 1.45);
  outline: none;
}
select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

textarea { resize: none; overflow: hidden; }

button, .textbtn {
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 8px 10px;
  min-height: var(--target);
  font-size: var(--text);
}

button.solid, button[type="submit"] {
  background: var(--btn-fill, var(--ink));
  color: var(--surface, var(--paper));
  border-color: var(--btn-fill, var(--ink));
  border-radius: var(--radius-ctrl, 8px);
}

button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.lock, .slip-inner { width: min(640px, calc(100vw - 32px)); margin: 48px auto; }

.lock form, .slip form { margin-top: 12px; }

.error { color: var(--ink); font-weight: 700; }

body.pop-open { overflow: hidden; }

.slip {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--paper);
  border-top: 4px solid var(--rule);
  padding: 14px 0 18px;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.slip.open { transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .slip { transition: none; }
}

.slip .slip-inner { margin: 0 auto; }

.fine { font-size: var(--text); }

.pane { margin-top: 28px; }

.pane > .when { margin: 0 0 8px; }

.ledger tr.here td:first-child { box-shadow: inset 4px 0 0 var(--ink); }

.ledger tr.recurring td:first-child,
.call.recurring,
.ledger tr.recurring.here td:first-child {
  box-shadow: inset 4px 0 0 var(--recurring);
}

.slip { max-height: 78vh; overflow: auto; }

.desk-log { max-height: 24vh; overflow: auto; margin-top: 12px; }

.desk-log article { padding: 8px 0; border-bottom: 1px solid var(--rule); }

.askline { display: flex; gap: 10px; align-items: flex-end; margin-top: 12px; }

.askline input { flex: 1; margin-top: 0; }

.askline button { width: auto; }

@media (max-width: 639px) {
  .call { grid-template-columns: 1fr; }
  .dateline { flex-direction: column; }
  .board .listing-head {
    grid-template-columns: 48px 1fr;
    grid-template-areas: "date copy";
  }
  .board .listing-head:has(.flyer) {
    grid-template-columns: 1fr;
    grid-template-areas:
      "date"
      "flyer"
      "copy";
  }
  .board .flyer {
    height: 120px;
  }
}

@media (min-width: 800px) {
  :root { --clear: 24px; }
  .mast { flex-direction: row; align-items: flex-end; }
  .poster h2, .daynum { font-size: var(--display-size); }
  .pair { grid-template-columns: 1fr 1fr; }
  .pair article.listing + article.listing { border-left: 1px solid var(--rule); padding-left: 22px; }
  .poster { grid-template-columns: 1fr; }
  .pair .listing-head:has(.flyer) {
    grid-template-columns: 1fr;
  }
  .pair .flyer { height: 180px; }
  .board .listing-head:has(.flyer) {
    grid-template-columns: 88px 180px 1fr;
    grid-template-areas: "date flyer copy";
    align-items: center;
  }
  .board .listing-head {
    grid-template-columns: 88px 1fr;
    grid-template-areas: "date copy";
    align-items: center;
  }
  .board .flyer { height: 100px; }
}

.sound {
  --color-accent: var(--red);
  display: block;
}

.sound [data-line] {
  display: block;
}

h1 .sound,
h2 .sound,
h3 .sound {
  font: inherit;
  letter-spacing: inherit;
}

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

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}

.sheet.desk { padding-top: 0; padding-bottom: 28px; }
.sheet.desk .mast { padding-top: 8px; gap: 8px; }
.sheet.desk .mark,
.sheet.desk .mast h1 { max-width: 240px; }

.jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--paper);
  padding: 4px 0 6px;
  border-bottom: 1px solid var(--rule);
}

.jumps a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 44px;
  color: inherit;
  font-family: var(--cond);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jumps .host {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--quiet);
}

.mods {
  display: grid;
  grid-template-columns: 1fr;
}

.mod {
  border-top: 4px solid var(--rule);
  padding: 8px 0 12px;
  min-width: 0;
}

.sheet.desk .block { margin-top: 0; }
.sheet.desk .bill { margin: 0; }
.sheet.desk .toolrow { padding: 4px 0; }
.sheet.desk .fine { margin: 4px 0; }

@media (min-width: 800px) {
  .mods { grid-template-columns: 1fr 1fr; column-gap: 28px; align-items: start; }
}

/* Homepage smooth scroll (Lenis, page scroll) with a top progress line. Resting layout is unchanged. */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* Ticket checkout pops out of the listing, aligned to that card. */
.checkout-pop {
  display: grid;
  grid-template-rows: 0fr;
  width: 100%;
  margin-top: 0;
  transition: grid-template-rows 280ms ease;
}

.checkout-pop.open {
  grid-template-rows: 1fr;
  margin-top: 12px;
}

.checkout-pop-inner {
  overflow: hidden;
  min-height: 0;
}

.checkout-frame {
  display: block;
  width: 100%;
  height: 720px;
  border: 1px solid var(--rule);
  background: #fff;
}

.listing.is-checkout {
  border-bottom-color: var(--red);
}

@media (max-width: 639px) {
  .checkout-frame {
    height: min(720px, 78dvh);
  }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-pop { transition: none; }
}

/* ==========================================================================
   v11 — public site around JJ's Imagine art: true black, frosted white glass,
   art red (#e70815) as accent only. Fluid containers, natural-aspect flyers,
   no outline boxes around photos. Mobile-first from 320px.
   ========================================================================== */

.art { display: inline-flex; flex: none; line-height: 0; }
.art img { display: block; width: 100%; height: auto; max-width: none; }

body[data-page="home"] {
  --glass: #f3f3f3;
  --glass-edge: rgba(0, 0, 0, 0.12);
  --pad: clamp(14px, 4vw, 28px);
  --gap: clamp(12px, 3vw, 28px);
}
@media (prefers-color-scheme: dark) {
  body[data-page="home"] { --glass: #101010; --glass-edge: rgba(255, 255, 255, 0.14); }
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body[data-page="home"] { --glass: rgba(0, 0, 0, 0.035); }
  @media (prefers-color-scheme: dark) {
    body[data-page="home"] { --glass: rgba(255, 255, 255, 0.06); }
  }
  [data-page="home"] .listing {
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    backdrop-filter: blur(14px) saturate(1.1);
  }
}

[data-page="home"] .sheet {
  width: min(1240px, 100% - 2 * clamp(12px, 4vw, 40px));
  border-top: 0;
  container-type: inline-size;
}

/* Brand: JJ's U mark (48×48) beside the wordmark. On light paper the mark sits on a black tile. */
[data-page="home"] .brand {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.5vw, 16px);
  width: 100%;
  max-width: 720px;
}
[data-page="home"] .brand .brand-mark { width: clamp(40px, 9vw, 48px); height: clamp(40px, 9vw, 48px); background: #000000; }
[data-page="home"] .brand h1 { flex: 1 1 auto; min-width: 0; }
[data-page="home"] .mark { margin: 0; }
[data-page="home"] .rule.double { border-top: 1px solid var(--glass-edge); }

/* Venue line with the map pin. */
[data-page="home"] .dateline { flex-wrap: wrap; align-items: center; row-gap: 6px; }
[data-page="home"] .place { display: inline-flex; align-items: center; gap: 8px; }
[data-page="home"] .place .art { width: 28px; height: 28px; background: #000000; }

/* Shows: frosted cards with gaps, not ruled boxes. */
[data-page="home"] .pair {
  border-top: 0;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
}
[data-page="home"] .pair article.listing,
[data-page="home"] .board .listing {
  border: 0;
  background: var(--glass);
  padding: var(--pad);
  box-shadow: inset 0 2px 0 var(--ink);
}
[data-page="home"] .pair article.listing + article.listing { border-left: 0; padding-left: var(--pad); }
[data-page="home"] .listing.is-checkout { box-shadow: inset 0 2px 0 var(--red); }

/* Flyers: natural aspect, no outline, no fixed height. */
[data-page="home"] .flyer {
  display: block;
  height: auto;
  border: 0;
  background: none;
  overflow: visible;
}
[data-page="home"] .flyer img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: initial;
  background: none;
}
[data-page="home"] .pair .flyer img { max-height: min(70vh, 640px); width: auto; max-width: 100%; }

/* "Also coming up": ticket header, fluid rows. */
[data-page="home"] .board { margin-top: calc(var(--gap) * 1.4); display: grid; gap: var(--gap); }
[data-page="home"] .board-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: clamp(16px, 3.6vw, 20px);
  font-weight: 700;
}
[data-page="home"] .board-head .art { width: 32px; height: 32px; background: #000000; }
[data-page="home"] .board .listing-head:has(.flyer) {
  grid-template-columns: 1fr;
  grid-template-areas: "date" "flyer" "copy";
}
[data-page="home"] .board .flyer { width: min(100%, 320px); }

@container (min-width: 600px) {
  [data-page="home"] .board .listing-head { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "date copy"; align-items: center; }
  [data-page="home"] .board .listing-head:has(.flyer) {
    grid-template-columns: 72px clamp(120px, 22cqi, 200px) minmax(0, 1fr);
    grid-template-areas: "date flyer copy";
    align-items: center;
  }
  [data-page="home"] .board .flyer { width: 100%; }
}

/* Listen row: JJ's headphones mark. */
[data-page="home"] .listen { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
[data-page="home"] .listen .art { width: 24px; height: 24px; margin-right: 4px; background: #000000; }

[data-page="home"] .block {
  margin-top: calc(var(--gap) * 1.4);
  padding: var(--pad);
  background: var(--glass);
}

[data-page="home"] .phase.on { border-color: var(--ink); }

/* Screenshot review: crop the wordmark PNG's built-in black margin so JJ's U mark sits beside it. */
[data-page="home"] .brand { max-width: 760px; gap: clamp(12px, 3vw, 24px); }
[data-page="home"] .brand h1 { overflow: hidden; max-width: 560px; }
[data-page="home"] .brand .mark {
  width: 133.2%;
  max-width: none;
  margin: -8.85% 0 -9.04% -16.65%;
}
[data-page="home"] .brand .brand-mark { width: clamp(48px, 14vw, 112px); height: clamp(48px, 14vw, 112px); }
[data-page="home"] .mast { padding-top: clamp(16px, 4vw, 32px); padding-bottom: 8px; }
[data-page="home"] .pair .flyer img { max-height: min(60vh, 460px); }
[data-page="home"] .poster .copy > p { margin: 6px 0; }
@media (prefers-color-scheme: light) {
  /* On white paper the wordmark is a black slab: keep a little of its margin. */
  [data-page="home"] .brand .mark { width: 123.8%; margin: -4.69% 0 -4.86% -11.94%; }
}
@media (max-width: 639px) {
  [data-page="home"] .dateline { align-items: flex-start; }
}
[data-page="home"] .pair { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }

/* ==========================================================================
   v11 declutter (public): no card fills, no double rules, whitespace between
   shows, one brand, a minimal venue line, a clean "Also coming up" list.
   ========================================================================== */
[data-page="home"] .rule,
[data-page="home"] .rule.double { display: none; }
[data-page="home"] .mast { padding-top: clamp(20px, 5vw, 40px); padding-bottom: 0; }
[data-page="home"] .mast h1 { max-width: min(420px, 78vw); overflow: hidden; }
[data-page="home"] .mast h1 .mark { width: 133.2%; max-width: none; margin: -8.85% 0 -9.04% -16.65%; }
@media (prefers-color-scheme: light) {
  [data-page="home"] .mast h1 .mark { width: 123.8%; margin: -4.69% 0 -4.86% -11.94%; }
}

[data-page="home"] .venue {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: clamp(16px, 4vw, 24px) 0 clamp(32px, 7vw, 56px);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--quiet);
}
[data-page="home"] .venue .art { width: 24px; height: 24px; background: transparent; }
@media (prefers-color-scheme: light) {
  [data-page="home"] .venue .art { background: #000000; }
}

/* Shows: no fills, no edge lines. */
[data-page="home"] .pair article.listing,
[data-page="home"] .board .listing {
  background: none;
  box-shadow: none;
  padding: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
[data-page="home"] .pair { gap: clamp(48px, 9vw, 72px) clamp(24px, 5vw, 56px); }
[data-page="home"] .pair .listing-head { gap: 16px; }
[data-page="home"] .listing.is-checkout { box-shadow: none; }
[data-page="home"] .poster .copy > p { margin: 4px 0; }
[data-page="home"] .poster .copy .when { margin-top: 0; color: var(--quiet); }

/* Also coming up: date · title · tickets. */
[data-page="home"] .board { margin-top: clamp(56px, 10vw, 88px); gap: 0; }
[data-page="home"] .board-head {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--quiet);
}
[data-page="home"] .board-head .art { width: 24px; height: 24px; background: transparent; }
@media (prefers-color-scheme: light) {
  [data-page="home"] .board-head .art { background: #000000; }
}
[data-page="home"] .board .row { padding: 14px 0; border: 0; }
[data-page="home"] .board .listing-head,
[data-page="home"] .board .listing-head:has(.flyer) {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "date tix" "copy tix";
  align-items: center;
  gap: 2px 16px;
}
[data-page="home"] .board .date {
  grid-area: date;
  margin: 0;
  font-family: var(--cond);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--quiet);
}
[data-page="home"] .board .copy { grid-area: copy; }
[data-page="home"] .board .row h3 { font-size: clamp(20px, 4.6vw, 26px); line-height: 1.1; }
[data-page="home"] .board .copy > p { margin: 4px 0 0; }
[data-page="home"] .board .tix { grid-area: tix; margin: 0; }
[data-page="home"] .board .tix a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-underline-offset: 4px;
}
@container (min-width: 640px) {
  [data-page="home"] .board .listing-head,
  [data-page="home"] .board .listing-head:has(.flyer) {
    grid-template-columns: 130px minmax(0, 1fr) auto;
    grid-template-areas: "date copy tix";
  }
}

[data-page="home"] .block { background: none; padding: 0; margin-top: clamp(56px, 10vw, 88px); }
[data-page="home"] .venue { flex-wrap: nowrap; flex-direction: row !important; align-items: center !important; }
[data-page="home"] .pair article.listing + article.listing { padding-left: 0; }


/* v13 type scale, measure, and shared grid. Overrides leftover px body type. */
.sheet, .desk-stage, .listing .copy, .desk-tutorial-panel, .fc-day-card, .about-hall, .show-hero .copy {
  max-width: var(--measure);
}
.sheet { width: min(80rem, calc(100% - 2 * var(--page-pad))); }
h1, .mast h1 { font-size: var(--title); line-height: 1.15; }
h2, .poster h2, .block h2, .row h3, .lock h1 { font-size: var(--title); line-height: 1.15; }
h3, h4 { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.5rem); line-height: 1.2; }
.fine, .when, .times, .bill, .desk-glance, .page-status { font-size: var(--text-s); }
.daynum { font-size: var(--display-size); line-height: 1; }

/* Calendar / status chips: readable, not tiny all-caps. */
.fc-chip, .name-chip, .fc-title, .fc-who, .fc-summary, .fc-slot-when, .fc-head {
  font-size: max(0.875rem, var(--text-s));
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.3;
  padding: 0.4em 0.6em;
  min-height: var(--target);
}

/* Wide-screen grid: sidebar + content, not a phone column. */
.desk-app {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 53.75em) {
  .desk-app { grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr); }
  .desk-stage {
    width: auto;
    max-width: 80rem;
    margin: 0;
    padding-inline: var(--page-pad);
  }
  .desk-stage .desk-page { max-width: none; }
  .desk-stage .desk-page > *,
  .desk-stage .tonight-stack,
  .desk-stage .desk-block-panel { max-width: var(--measure); }
  .tonight-shifts, .desk-home-actions, .pair, .fc-picker {
    max-width: none;
  }
  .pair, .tonight-shifts {
    display: grid;
    gap: var(--grid-gap);
  }
  .pair { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 80em) {
  .pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .poster h2, .daynum { font-size: var(--display-size); }
}


/* Public audit: wrap titles, contrast, no-JS listings, venue line. */
.sheet h2, .sheet h3, .show-hero h2, .show-hero h3, .pair h2, .pair h3, .board .row h3, .upcoming .row h3 {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: var(--title, clamp(1.25rem, 1rem + 1.6vw, 2.25rem));
  line-height: 1.2;
  max-width: 100%;
}
.show-hero, .upcoming .row, .board .row, .pair article {
  opacity: 1;
  visibility: visible;
}
.nojs-fallback { margin: 1.5rem 0; }
.nojs-fallback .row { display: grid; gap: 0.35rem; padding: 0.75rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.venue-facts { margin: 0.25rem 0 1.25rem; max-width: var(--measure, 65ch); }
.site-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); max-width: var(--measure, 65ch); }
.site-footer p { margin: 0.2rem 0; }
.about-hall { margin-top: 2.5rem; max-width: var(--measure, 65ch); }
@media (prefers-color-scheme: dark) {
  :root {
    --red: #ff4d4d;
    --two: #ff4d4d;
  }
  .lock, body {
    --red: #ff4d4d;
  }
}
@media (prefers-reduced-motion: reduce) {
  .show-hero, .upcoming .row, .board .row, .pair article {
    transform: none !important;
  }
}

/* Tight WebP/AVIF wordmark — the old PNG bleed offsets no longer apply. */
[data-page="home"] .mast h1 { overflow: visible; max-width: min(22rem, 86vw); }
[data-page="home"] .mast h1 .mark,
[data-page="home"] .brand .mark {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
}


/* Public venue header (Ticketmaster/DICE/OpenDate convention: logo + compact facts at the top,
   then the event hero). Sticky, auto height — never a 72px crop bar. */
body[data-page="home"] { padding-top: 0; overflow-x: auto; }
html { overflow-x: auto; }
body.is-modal-open { overflow: hidden; }
body[data-page="home"] .site-header.cbp-af-header,
body[data-page="home"] header#site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: auto !important;
  min-height: 0;
  overflow: visible;
  z-index: 100;
  background: var(--paper, #fff);
  border-bottom: 2px solid var(--ink, #000);
  border-radius: 0;
  transition: none;
}
body[data-page="home"] .site-header .cbp-af-inner {
  width: min(72rem, calc(100% - 2rem));
  max-width: 100%;
  margin: 0 auto;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0 1rem;
  box-sizing: border-box;
}
@media (min-width: 48em) {
  body[data-page="home"] .site-header .cbp-af-inner {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0.85rem 0 1rem;
  }
}
body[data-page="home"] .site-header h1,
body[data-page="home"] .mast h1 {
  width: auto;
  max-width: min(18rem, 100%);
  margin: 0;
  overflow: visible;
  line-height: 0;
  flex: none;
}
body[data-page="home"] .site-header h1 .mark,
body[data-page="home"] .site-header .mark,
body[data-page="home"] .mast h1 .mark,
body[data-page="home"] .brand .mark {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 7rem;
  aspect-ratio: 720 / 359;
  object-fit: contain;
  object-position: left center;
  margin: 0 !important;
  background: #000;
}
body[data-page="home"] .site-header.cbp-af-header-shrink h1 .mark {
  max-height: 2.75rem;
}
body[data-page="home"] .header-info {
  min-width: 0;
  max-width: var(--measure, 65ch);
  display: grid;
  gap: 0.2rem;
}
body[data-page="home"] .header-info p {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(0.9375rem, 0.9rem + 0.3vw, 1.0625rem);
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}
body[data-page="home"] .header-line {
  margin: 0;
  color: var(--quiet);
  font-size: var(--text-s);
  font-weight: 500;
  line-height: 1.4;
}
body[data-page="home"] .sheet { padding-top: var(--space-5); }
body[data-page="home"] .show-hero { margin-top: 0; }
.dialog-close,
.desk-sheet-close,
.qr-close,
.tutorial-close {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-weight: 700;
}
@media (max-width: 20em) {
  body[data-page="home"] .site-header h1 { max-width: 100%; }
}


/* increment: radius + dialog + contrast — refine existing tokens, not a new system. */
button, input, select, textarea, .dialog-close {
  border-radius: var(--radius-ctrl, 8px);
}
.show-hero, .board, .about-hall, .listing li, .slip, .mod {
  border-radius: var(--radius-card, 12px);
}
body[data-page="home"] .site-header.cbp-af-header,
body[data-page="home"] header#site-header {
  background: var(--surface, var(--paper));
  border-bottom-color: var(--rule);
  border-radius: 0;
}
body[data-page="home"] .site-header h1 .mark,
body[data-page="home"] .site-header .mark,
body[data-page="home"] .mast h1 .mark,
body[data-page="home"] .brand .mark {
  background: #1c1c1e;
  border-radius: var(--radius-ctrl, 8px);
}
html[data-contrast="high"] {
  --paper: #ffffff;
  --ink: #000000;
  --rule: #000000;
  --surface: #ffffff;
  --btn-fill: #000000;
  --quiet: #1a1a1a;
}

/* Calm top: wordmark, one venue line, then the show as the hero.
   One column, spacing scale, no extra facts stacked above the fold. */
body[data-page="home"],
html {
  overflow-x: clip;
}
body[data-page="home"] .site-header.cbp-af-header,
body[data-page="home"] header#site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
body[data-page="home"] .site-header .cbp-af-inner,
body[data-page="home"] .sheet {
  width: min(36rem, calc(100% - 2 * var(--page-pad)));
  max-width: 100%;
  margin-inline: auto;
}
body[data-page="home"] .site-header .cbp-af-inner {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--space-3);
  padding: var(--space-5) 0 var(--space-4);
}
body[data-page="home"] .site-header h1 {
  max-width: min(14rem, 72vw);
}
body[data-page="home"] .site-header h1 .mark,
body[data-page="home"] .site-header .mark {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 4.5rem;
  aspect-ratio: 720 / 359;
  object-fit: contain;
  object-position: left center;
  background: var(--btn-fill, #1c1c1e);
  border-radius: var(--radius-ctrl);
}
body[data-page="home"] .site-header.cbp-af-header-shrink h1 .mark {
  max-height: 2.5rem;
}
body[data-page="home"] .header-info {
  display: block;
  max-width: 100%;
}
body[data-page="home"] .sheet {
  border-top: 0;
  padding-top: var(--space-6);
  padding-bottom: var(--space-7);
}
body[data-page="home"] .show-hero {
  display: grid;
  gap: var(--space-4);
}
body[data-page="home"] .show-hero .listing-head.poster {
  display: grid;
  gap: var(--space-5);
}
body[data-page="home"] .show-hero .flyer,
body[data-page="home"] .show-hero .flyer img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius-card);
}
body[data-page="home"] .show-hero .copy {
  display: grid;
  gap: var(--space-3);
  max-width: 100%;
}
body[data-page="home"] .show-hero .copy > * {
  margin: 0;
}
body[data-page="home"] .show-hero .when,
body[data-page="home"] .show-hero .daynum {
  color: var(--quiet);
}
body[data-page="home"] .show-hero h2 {
  font-size: var(--title);
  line-height: 1.15;
}
a.tix-primary,
.tix-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--target);
  min-width: var(--target);
  padding: 0.65rem 1.35rem;
  background: #e70815;
  color: #ffffff;
  border-radius: var(--radius-ctrl);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}
a.tix-primary:hover,
a.tix-primary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
body[data-page="home"] .about-hall {
  margin-top: var(--space-7);
  display: grid;
  gap: var(--space-2);
}
body[data-page="home"] .about-hall h2 { margin: 0 0 var(--space-2); }
body[data-page="home"] .about-hall p { margin: 0; }
body[data-page="home"] .about-hall a {
  min-height: var(--target);
  display: inline-flex;
  align-items: center;
  text-underline-offset: 0.15em;
}
body[data-page="home"] .site-footer {
  margin-top: var(--space-7);
}
body[data-page="home"] .board {
  margin-top: var(--space-7);
}
body[data-page="home"] .board .tix a {
  min-height: var(--target);
  min-width: var(--target);
}
@media (min-width: 48em) {
  body[data-page="home"] .site-header .cbp-af-inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-5);
    padding: var(--space-5) 0;
  }
}

h1, .mast h1, .poster h2, .daynum {
  line-height: var(--leading-display);
  letter-spacing: var(--track-display);
}
h2, h3, .show-hero h2, .board .row h3 {
  line-height: var(--leading-title);
  letter-spacing: var(--track-title);
}
.when, .board-head, .fine, .show-genre, .public-cal-month {
  font-size: var(--text-s);
  line-height: var(--leading-label);
  letter-spacing: var(--track-label);
  text-transform: none;
}

.show-genre,
.show-blurb {
  margin: 0;
  color: var(--quiet);
  font-weight: 500;
}
.show-blurb { max-width: var(--measure); }

body[data-page="home"] .public-cal {
  margin-top: var(--space-7);
  width: 100%;
  min-width: 0;
}
body[data-page="home"] .public-cal .fc-calendar-container {
  min-height: 0;
  border: 0;
}
body[data-page="home"] .public-cal .fc-row > div {
  min-height: 2.75rem;
  aspect-ratio: 1 / 1.1;
}
body[data-page="home"] .public-cal .fc-day {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
body[data-page="home"] .public-cal .fc-day.has-show .fc-date {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
body[data-page="home"] .pitch-ref,
.pitch-ref {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  padding: 0 0.2rem;
  border: 0;
  background: none;
  color: var(--quiet);
  font-size: var(--text-s);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.pitch-line {
  margin: 0 0 var(--space-4);
  font-size: var(--text);
  line-height: var(--leading-body);
}
.pitch-sheet label { display: block; margin: var(--space-3) 0 var(--space-1); }
.pitch-sheet input,
.pitch-sheet textarea {
  width: 100%;
  max-width: 100%;
}


/* Add to calendar: two plain links, 44px targets, token colors. */
.add-to-cal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  margin: 0.5rem 0 0;
}
.add-to-cal-label {
  font-size: var(--text-s, 0.875rem);
  line-height: var(--leading-label, 1.3);
  color: var(--quiet);
  margin-right: 0.15rem;
}
.add-to-cal a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target, 2.75rem);
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-ctrl, 8px);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-size: var(--text-s, 0.875rem);
}
.add-to-cal a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.checkout-thanks {
  margin: 0.75rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-card, 12px);
  background: var(--surface);
}
.checkout-thanks p { margin: 0 0 0.35rem; }
.checkout-eventbrite { width: 100%; min-height: 425px; }
