/* Cafe du Nord: site stylesheet for "The Lit Sign" (lab/brand-direction.md §2, §3, §5, §7.10, §8).
   Colour and type come ONLY from /brand/tokens.css (--cdn-*). No literal colours here; npm run check enforces it.
   Load order: /assets/css/fonts.css, /brand/tokens.css, this file.
   Red has five jobs: dates, status, the primary action, the lit device, the CAFE DU NORD PRESENTS label.
   One lit element per view; glow on dark grounds only; no motion except the 150ms button glow.
   Breakpoints (mobile first): 40em (640px), 48em (768px), 64em (1024px, 12-column grid), 90em (1440px). */

/* ============================================================ scale and grounds */
:root {
  --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;
  --space-8: 4rem;
  --space-9: 6rem;
  --gutter: 1rem;              /* 16 / 32 / 48px */
  --col-gap: 1rem;
  --max: 90rem;                /* 1440px */
  --measure: 68ch;
  --tap: 2.75rem;              /* 44px touch targets */
  --header-h: 4.625rem;        /* 74px phone, 96px desktop: 1X clear space above and below the -sm sign (§4.2) */
  --r-btn: 8px;
  --r-card: 12px;
  --r-frame: 16px;

  /* Semantic grounds. Dark by default; .ground-bone and .bone-section swap them. */
  --ground: var(--cdn-black);
  --ink: var(--cdn-bone);
  --ink-2: var(--cdn-ash);      /* secondary text: Ash on dark, Graphite on Bone */
  --line: var(--cdn-rule);
  --focus: var(--cdn-bone);

  /* Type scale (§3.3) */
  --fs-h1: clamp(3rem, 1.6rem + 7vw, 9rem);
  --fs-h2: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  --fs-h3: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-label: 0.8125rem;
  --fs-meta: 0.9375rem;
}
@media (min-width: 40em) { :root { --fs-body: 1.125rem; } }
@media (min-width: 48em) { :root { --gutter: 2rem; --col-gap: 1.5rem; } }
@media (min-width: 64em) { :root { --header-h: 6rem; } }
@media (min-width: 90em) { :root { --gutter: 3rem; --col-gap: 2rem; } }

.ground-bone .site-main,
.bone-section {
  --ground: var(--cdn-bone);
  --ink: var(--cdn-black);
  --ink-2: var(--cdn-graphite);
  --line: var(--cdn-rule-light);
  --focus: var(--cdn-black);
}

/* ============================================================ base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  background: var(--cdn-black);
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
  scroll-padding-bottom: var(--space-4);
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cdn-black);
  color: var(--cdn-bone);
  font-family: var(--cdn-font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.55;
  font-kerning: normal;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.site-main { flex: 1 0 auto; outline: none; background: var(--ground); color: var(--ink); }
img, svg, video { max-width: 100%; height: auto; display: block; }
picture { display: block; }
h1, h2, h3, h4 { margin: 0 0 var(--space-3); font-family: var(--cdn-font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0; font-kerning: normal; }
h1 { font-size: var(--fs-h1); line-height: 0.88; }
h2 { font-size: var(--fs-h2); line-height: 0.95; }
h3 { font-size: var(--fs-h3); line-height: 1; }
h4 { font-size: 1.5rem; font-weight: 600; line-height: 1.1; letter-spacing: 0.01em; }
p, ul, ol, dl, table, address, figure { margin: 0 0 var(--space-4); }
address { font-style: normal; }
abbr[title] { text-decoration: none; }
strong, b { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-6) 0; }
::selection { background: var(--cdn-bone); color: var(--cdn-black); }

/* Links (§2.6): Bone (or Black on Bone) text, 1px Neon Red underline; hover 3px. Never red link text. */
a { color: inherit; text-decoration-line: underline; text-decoration-color: var(--cdn-red); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 3px; }

/* Focus (§8.5): 2px Bone ring on dark, 2px Black on Bone, 3px offset. Never removed. */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.site-main:focus { outline: none; }

/* ============================================================ utilities */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--space-4); top: -10rem; z-index: 100;
  padding: var(--space-3) var(--space-4); border-radius: var(--r-btn);
  background: var(--cdn-bone); color: var(--cdn-black);
  font-family: var(--cdn-font-label); font-weight: 600; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--cdn-track-label); text-decoration: none;
  --focus: var(--cdn-bone);
}
.skip-link:focus { top: var(--space-4); }
.plain-list, .inline-list { list-style: none; margin: 0; padding: 0; }
.inline-list { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-5); }
.inline-list a, .plain-list a { display: inline-flex; align-items: center; min-height: var(--tap); }
.print-only { display: none; }
.nowrap { white-space: nowrap; }
.sep { color: var(--ink-2); white-space: pre-wrap; }   /* keeps the spaces around · inside flex rows */
.rounded img { border-radius: var(--r-frame); }

/* Labels: Barlow 600 caps, tracked (§3.2) */
.eyebrow, .presenter, .room-tag, .breadcrumbs, .toc__title, .page-tools, .arrow-link,
.site-nav__list a, .site-header__shows, .nav-toggle, .nav-close, .site-footer__heading, .facts-panel dt, .facts-list dt,
.specs dt, .contact-list dt, .tonight-card__labels, .show-row__dow, .tonight-strip, .chip,
.on-sale-label, .facts-panel__more, .link-row, .newsletter-form label {
  font-family: var(--cdn-font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--cdn-track-label);
  font-size: var(--fs-label);
  line-height: 1.3;
}
.eyebrow { color: var(--ink-2); margin: 0 0 var(--space-3); }   /* Ash on dark, Graphite on Bone: red keeps its five jobs */
.presenter { margin: 0 0 var(--space-1); color: var(--ink-2); font-size: 0.75rem; }
.presenter--house { color: var(--cdn-red); }
.lede { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.45; max-width: 60ch; color: var(--ink); }

/* Pointer arrows (§5.3): cap height, same colour as the text beside them. */
.arrow { display: inline-block; width: 0.8em; height: 0.8em; flex: none; vertical-align: baseline; }
.room-tag .arrow, .chip .arrow, .tonight-strip .arrow { margin-left: 0.45em; }
/* Room icons (owner, Oct 14 2026): the curled arrow downstairs, the lingonberry sprig upstairs, 1.5x the label, centred on the caps.
   Width and height are both set (--h × the art's --r): Safari sizes an inline SVG with width: auto to the full line, not the height.
   The curled arrow is only ever Black, Bone or Crimson, so beside Ash text it takes the main ink. */
.room-icon { --h: 1.5em; display: inline-block; flex: none; width: calc(var(--h) * var(--r)); height: var(--h); vertical-align: -0.4em; }
.room-icon--cdn { --r: 0.5232; }   /* 405.1 × 774.3 */
.room-icon--sah { --r: 0.3401; }   /* 50.2 × 147.6 */
.room-tag .room-icon, .chip .room-icon { margin-left: 0.45em; }
.room-tag .room-icon--cdn { color: var(--ink); }
.arrow-link {
  display: inline-flex; align-items: center; gap: 0.5em; min-height: var(--tap);
  color: var(--ink); text-decoration: none;
}
.arrow-link .arrow { width: 0.85em; height: 0.85em; }
.arrow-link:hover { text-decoration: underline; text-decoration-color: var(--cdn-red); text-decoration-thickness: 2px; text-underline-offset: 0.4em; }
.link-row { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }

/* ============================================================ the lit device (§5.1, §4.5): screen only, dark grounds, one per view */
.lit {
  margin: 0;
  font-family: var(--cdn-font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.9;
  color: var(--cdn-red);
  text-shadow: var(--cdn-glow-text);
}
/* Lit open sign at 320px: g1/g2/g3 = 1.3/4/11px (§4.5 table). */
.lit-sign {
  width: 15rem; height: auto;
  filter: drop-shadow(0 0 1px var(--cdn-red)) drop-shadow(0 0 3px color-mix(in srgb, var(--cdn-red) 80%, transparent)) drop-shadow(0 0 8px color-mix(in srgb, var(--cdn-red) 40%, transparent));
}
@media (min-width: 64em) {
  .lit-sign {
    width: 20rem;
    filter: drop-shadow(0 0 1.3px var(--cdn-red)) drop-shadow(0 0 4px color-mix(in srgb, var(--cdn-red) 80%, transparent)) drop-shadow(0 0 11px color-mix(in srgb, var(--cdn-red) 40%, transparent));
  }
}
/* Lit arrow alone: stroke is about 11% of the arrow's width. */
.lit-arrow {
  width: auto; height: 9rem;
  filter: drop-shadow(0 0 1.2px var(--cdn-red)) drop-shadow(0 0 3.5px color-mix(in srgb, var(--cdn-red) 80%, transparent)) drop-shadow(0 0 9px color-mix(in srgb, var(--cdn-red) 40%, transparent));
}
@media (min-width: 64em) {
  .lit-arrow {
    height: 17.5rem;
    filter: drop-shadow(0 0 2px var(--cdn-red)) drop-shadow(0 0 6px color-mix(in srgb, var(--cdn-red) 80%, transparent)) drop-shadow(0 0 16px color-mix(in srgb, var(--cdn-red) 40%, transparent));
  }
}

/* ============================================================ buttons (§8.5) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: var(--tap); padding: 0 1.375rem;
  border: 1.5px solid transparent; border-radius: var(--r-btn);
  background: none; color: var(--ink);
  font-family: var(--cdn-font-label); font-weight: 600; font-size: 0.875rem; line-height: 1;
  text-transform: uppercase; letter-spacing: var(--cdn-track-button);
  text-decoration: none; text-align: center; white-space: nowrap; cursor: pointer;
}
.btn .arrow { width: 0.85em; height: 0.85em; }
/* Primary: Neon Red fill, Sign Black text; hover and focus add the glow (150ms). */
.btn--primary {
  min-height: 3rem; padding: 0 1.75rem;
  background: var(--cdn-red); border-color: var(--cdn-red); color: var(--cdn-black);
  transition: box-shadow 150ms ease-out;
}
.btn--primary:hover, .btn--primary:focus-visible { box-shadow: var(--cdn-glow-button); }
.btn--primary:active { box-shadow: none; filter: brightness(0.92); }
/* Secondary: Bone fill, Black text; hover: Neon Red fill and glow, text stays Black. */
.btn--secondary { background: var(--cdn-bone); border-color: var(--cdn-bone); color: var(--cdn-black); transition: box-shadow 150ms ease-out; }
.btn--secondary:hover, .btn--secondary:focus-visible { background: var(--cdn-red); border-color: var(--cdn-red); color: var(--cdn-black); box-shadow: var(--cdn-glow-button); }
.btn--secondary:active { box-shadow: none; filter: brightness(0.92); }
/* Tertiary: 1.5px Bone outline; hover: Bone fill, Black text. */
.btn--tertiary { background: none; border-color: var(--cdn-bone); color: var(--cdn-bone); }
.btn--tertiary:hover { background: var(--cdn-bone); color: var(--cdn-black); }
.btn--large { min-height: 3rem; }
.btn--small { padding: 0 1rem; font-size: 0.8125rem; }
.btn--block { display: flex; width: 100%; }
@media (min-width: 64em) {
  .btn--primary { min-height: 3.25rem; }
  .btn--large { min-height: 3.5rem; }
}
/* On Bone: Black fill, Bone text; hover Neon Red fill, Black text. No glow on Bone. */
.ground-bone .site-main .btn--primary, .ground-bone .site-main .btn--secondary,
.bone-section .btn--primary, .bone-section .btn--secondary {
  background: var(--cdn-black); border-color: var(--cdn-black); color: var(--cdn-bone); box-shadow: none;
}
.ground-bone .site-main .btn--primary:hover, .ground-bone .site-main .btn--secondary:hover,
.bone-section .btn--primary:hover, .bone-section .btn--secondary:hover,
.ground-bone .site-main .btn--primary:focus-visible, .ground-bone .site-main .btn--secondary:focus-visible,
.bone-section .btn--primary:focus-visible, .bone-section .btn--secondary:focus-visible {
  background: var(--cdn-red); border-color: var(--cdn-red); color: var(--cdn-black); box-shadow: none;
}
.ground-bone .site-main .btn--tertiary, .bone-section .btn--tertiary { border-color: var(--cdn-black); color: var(--cdn-black); }
.ground-bone .site-main .btn--tertiary:hover, .bone-section .btn--tertiary:hover { background: var(--cdn-black); color: var(--cdn-bone); }

/* ============================================================ badges (§7.10), room tags, chips */
.badges { display: inline-flex; flex-wrap: wrap; gap: var(--space-2); }
/* Web badge: 26px tall, single 1.5px keyline (below 32px), radius 0.22H, BC 800 caps at 0.56H, own Sign Black plate. */
.badge {
  display: inline-flex; align-items: center; height: 1.625rem; padding: 0 0.75rem;
  border: 1.5px solid currentColor; border-radius: 6px; background: var(--cdn-black);
  font-family: var(--cdn-font-display); font-weight: 800; font-size: 0.9rem; line-height: 1;
  text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.badge--hot { color: var(--cdn-red); }
.badge--info { color: var(--cdn-bone); }
.badge .arrow { width: 0.75em; height: 0.75em; margin-left: 0.35em; }
.badge .room-icon { --h: 1.3em; margin-left: 0.35em; }
/* On Bone: hot = Black plate, Bone text, Bone inner keyline (a mini sign); info = Black keyline and text. */
.ground-bone .site-main .badge--hot, .bone-section .badge--hot {
  color: var(--cdn-bone); background: var(--cdn-black); border-color: var(--cdn-black);
  box-shadow: inset 0 0 0 1.5px var(--cdn-black), inset 0 0 0 2.5px var(--cdn-bone);
}
.ground-bone .site-main .badge--info, .bone-section .badge--info { color: var(--cdn-black); background: none; }

.room-tag { display: inline-flex; align-items: center; color: var(--ink-2); font-size: 0.75rem; white-space: nowrap; }
.room-tag--sah { color: var(--ink); }           /* the other room stands out (§8.3) */
.room-tag--short .arrow, .room-tag--short .room-icon { margin-left: 0; }

.chips ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 1rem;
  border: 1.5px solid var(--cdn-bone); border-radius: var(--r-btn);
  background: none; color: var(--cdn-bone); text-decoration: none; cursor: pointer;
  letter-spacing: 0.14em;
}
.chip:hover { background: var(--cdn-surface); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--cdn-bone); color: var(--cdn-black); }
@media (forced-colors: active) {
  .chip[aria-pressed="true"], .chip[aria-current="page"] { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
}
@media (max-width: 47.99em) {
  .chips ul {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    margin: -0.25rem calc(var(--gutter) * -1); padding: 0.25rem var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .chips ul::-webkit-scrollbar { display: none; }
  .chips li { flex: none; }
}

/* ============================================================ Tonight strip (§8.1) */
.tonight-strip { background: var(--cdn-red); color: var(--cdn-black); --focus: var(--cdn-black); letter-spacing: 0.1em; }
.tonight-strip :focus-visible { outline-offset: -4px; }
.tonight-strip__inner { display: flex; align-items: center; min-height: 2.5rem; }
.tonight-strip__link, .tonight-strip__multi { display: flex; align-items: center; min-width: 0; min-height: 2.5rem; margin: 0; color: var(--cdn-black); text-decoration: none; white-space: nowrap; }
.tonight-strip__multi { gap: 0 0.4em; overflow: hidden; }
.tonight-strip__multi .tonight-strip__link { flex: 0 1 auto; }
.tonight-strip .sep { color: var(--cdn-black); }
.tonight-strip__tag { margin-right: 0.1em; }
.tonight-strip__name { overflow: hidden; text-overflow: ellipsis; margin-left: 0.5em; }
.tonight-strip__multi .tonight-strip__name { margin-left: 0; }
.tonight-strip__doors { display: none; }
.tonight-strip__link:hover .tonight-strip__name { text-decoration: underline; text-decoration-color: var(--cdn-black); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.tonight-strip__go { margin-left: 0.6em; }
@media (min-width: 48em) {
  .tonight-strip { letter-spacing: 0.16em; }
  .tonight-strip__doors { display: inline; }
}

/* ============================================================ header (§8.1) */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--cdn-black); border-bottom: 1px solid var(--cdn-rule); }
.site-header__inner { display: flex; align-items: center; gap: var(--space-2); height: var(--header-h); }
.site-logo { display: block; flex: none; margin-right: auto; }
.site-logo__screen { width: 6rem; height: auto; }   /* 96px phone (-sm master) */
.site-logo__print { display: none; }
.site-header__shows, .site-nav__list a {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--space-3);
  color: var(--cdn-bone); text-decoration: none;
}
/* Menu bar labels run 2px over the 13px label size (owner, Oct 7 2026). */
.site-header__shows, .site-nav__list a, .nav-toggle, .nav-close { font-size: 0.9375rem; }
.site-header__shows:hover, .site-header__shows[aria-current="page"],
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] {
  text-decoration: underline; text-decoration-color: var(--cdn-red); text-decoration-thickness: 2px; text-underline-offset: 0.4em;
}
.nav-toggle, .nav-close {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); min-width: var(--tap); padding: 0 var(--space-4);
  border: 1.5px solid var(--cdn-bone); border-radius: var(--r-btn); background: none; color: var(--cdn-bone); text-decoration: none; cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { background: var(--cdn-bone); color: var(--cdn-black); }
.site-nav__list { list-style: none; margin: 0; padding: 0; }

/* Below 1024px: logo, SHOWS and MENU. The menu opens without JS via #site-nav:target. */
@media (max-width: 63.99em) {
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: var(--space-2) var(--gutter) var(--space-6);
    background: var(--cdn-black); border-bottom: 1px solid var(--cdn-rule);
  }
  .site-nav:target, .site-nav.is-open { display: block; }
  .site-nav__list a { display: flex; min-height: 3.25rem; padding: 0; border-bottom: 1px solid var(--cdn-rule); font-size: 1.0625rem; }
  .nav-close { margin-top: var(--space-5); width: 100%; }
  .js .nav-close { display: none; }
}
@media (min-width: 64em) {
  .site-logo__screen { width: 7.5rem; }   /* 120px desktop (-sm master, 59px tall): 1X = 16px, 18px above and below */
  .site-header__shows, .nav-toggle, .nav-close { display: none; }
  .site-nav { display: flex; align-items: center; gap: var(--space-3); }
  .site-nav__list { display: flex; }
  .site-nav__list a { padding: 0 0.625rem; }
}
@media (min-width: 80em) {
  .site-nav__list a { padding: 0 0.875rem; }
}

/* Instagram and the Spotify playlist (owner, Oct 9 2026). Phones: logo, SHOWS, the icons, MENU. Desktop: after the nav. */
.site-header__icons { display: flex; align-items: center; }
.icon-link {
  display: inline-flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap);
  border-radius: 50%; color: var(--cdn-bone); text-decoration: none;
}
.icon-link .icon { width: 1.375rem; height: 1.375rem; }
.icon-link:hover { background: var(--cdn-surface); }
.icon-link[aria-expanded="true"] { background: var(--cdn-bone); color: var(--cdn-black); }
/* The Spotify icon carries a red neon glow (owner, Oct 9 2026): a tube line and halo outside the disc only, so the
   cut-out arcs stay dark. Off while its panel is open. */
.icon-link[data-playlist-toggle] { position: relative; }
.icon-link[data-playlist-toggle]::before {
  content: ""; position: absolute; inset: 50% auto auto 50%; width: 1.375rem; height: 1.375rem; margin: -0.6875rem 0 0 -0.6875rem;
  border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 1px var(--cdn-red), 0 0 4px 1px var(--cdn-red), 0 0 10px 2px color-mix(in srgb, var(--cdn-red) 70%, transparent), 0 0 22px 4px color-mix(in srgb, var(--cdn-red) 35%, transparent);
}
.icon-link[data-playlist-toggle][aria-expanded="true"]::before { content: none; }
@media print { .icon-link[data-playlist-toggle]::before { content: none; } }
@media (max-width: 63.99em) {
  .site-header__inner { gap: var(--space-1); }
  .site-header__icons { order: 1; }
  .nav-toggle { order: 2; margin-left: var(--space-1); }
}
@media (min-width: 64em) {
  .site-header__icons { margin-left: var(--space-3); gap: var(--space-1); }
}
/* Phones under 390px: Instagram stays in the footer, so MENU / CLOSE keeps its width. Under 360px: tighter SHOWS and MENU. */
@media (max-width: 24.3em) {
  .site-header__icons .icon-link:not([data-playlist-toggle]) { display: none; }
}
@media (max-width: 22.4375em) {
  .site-header__inner { gap: 0; }
  .site-header__shows { padding: 0 var(--space-2); }
  .nav-toggle { flex: none; margin-left: 0; padding: 0 var(--space-2); letter-spacing: 0.08em; }
}
/* The playlist panel drops from the header. Closing it hides the player; the music keeps playing until you leave the page. */
.playlist {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 41;
  padding: var(--space-3) var(--gutter) var(--space-4);
  background: var(--cdn-black); border-bottom: 1px solid var(--cdn-rule);
}
.playlist__player { min-height: 22rem; border-radius: var(--r-card); background: var(--cdn-surface); }
.playlist__player iframe { display: block; width: 100%; height: 22rem; border: 0; border-radius: var(--r-card); }
@media (min-width: 48em) {
  .playlist {
    left: auto; right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    width: 24rem; padding: var(--space-3);
    border: 1px solid var(--cdn-rule); border-top: 0; border-radius: 0 0 var(--r-card) var(--r-card);
  }
}

/* ============================================================ footer (§8.2 module 8) */
.site-footer { margin-top: auto; padding-top: var(--space-8); background: var(--cdn-black); color: var(--cdn-bone); border-top: 1px solid var(--cdn-rule); font-size: var(--fs-meta); --ink: var(--cdn-bone); --ink-2: var(--cdn-ash); --focus: var(--cdn-bone); }
.site-footer__inner { display: grid; gap: var(--space-6) var(--space-5); grid-template-columns: 1fr 1fr; }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__logo { display: inline-block; }
.site-footer__logo img { width: 12.5rem; height: auto; }   /* 200px standard master */
.site-footer__heading { margin-bottom: var(--space-2); color: var(--cdn-ash); font-size: 0.75rem; }
.site-footer__address { margin-bottom: var(--space-2); line-height: 1.5; }
.site-footer__address a { display: inline-block; padding-block: var(--space-1); }   /* the whole address is the map link */
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--cdn-red); text-decoration-thickness: 2px; }
.site-footer .plain-list a { min-height: var(--tap); }
.site-footer .arrow-link { display: block; padding-block: 0.625rem; font-family: var(--cdn-font-body); font-weight: 400; font-size: inherit; line-height: 1.5; text-transform: none; letter-spacing: 0; }   /* the arrow flows after the last word */
.site-footer__what { display: block; margin-top: var(--space-2); color: var(--cdn-ash); font-size: 0.8125rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2) var(--space-5); margin-top: var(--space-7); padding-block: var(--space-4); border-top: 1px solid var(--cdn-rule); color: var(--cdn-ash); font-size: 0.875rem; }
.site-footer__legal p { margin: 0; }
.site-footer__legal .inline-list { gap: 0 var(--space-5); }
@media (max-width: 63.99em) {
  .site-footer__col--visit { grid-column: 1 / -1; }
}
@media (min-width: 64em) {
  .site-footer__inner { grid-template-columns: minmax(14rem, 1.5fr) repeat(2, minmax(max-content, 1fr)) repeat(2, minmax(0, 1fr)); }   /* Venue and Contact fit their one-line room names and email addresses */
  .site-footer__brand { grid-column: auto; }
}

/* ============================================================ page heads, breadcrumbs, prose */
.page-head { padding-block: var(--space-7) var(--space-6); }
.page-title { font-size: clamp(3rem, 1.8rem + 5vw, 7rem); line-height: 0.88; margin-bottom: var(--space-4); }
.page-head .lede { margin-bottom: var(--space-4); }
.page-head--sign, .page-head--404 { display: grid; gap: var(--space-6); align-items: center; }
.page-head__sign { justify-self: start; }
.page-head__arrow { justify-self: end; }
@media (min-width: 64em) {
  .page-head--sign { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .page-head__sign { justify-self: center; }
}
.page-head--404 { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.page-head--404 .page-title { font-size: clamp(2.75rem, 1.5rem + 5vw, 6.5rem); }
.page-head--404 .page-head__arrow { padding-top: var(--space-6); padding-right: var(--space-2); }
.link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--space-6); }
.page-tools { margin-top: var(--space-4); gap: 0 var(--space-5); color: var(--ink-2); }
.page-tools a { color: var(--ink); text-decoration: none; }
.page-tools a:hover { text-decoration: underline; text-decoration-color: var(--cdn-red); text-decoration-thickness: 2px; }
.list-note { margin: var(--space-5) 0 0; color: var(--ink-2); font-size: var(--fs-meta); }
.sign-off { margin-top: var(--space-6); font-family: var(--cdn-font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; }

.breadcrumbs { color: var(--ink-2); font-size: 0.75rem; }
.breadcrumbs ol { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--space-2); }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: "/"; content: "/" / ""; margin-right: var(--space-2); color: var(--ink-2); }
.breadcrumbs a { display: inline-flex; min-height: var(--tap); align-items: center; color: var(--ink-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--cdn-red); }
.breadcrumbs [aria-current] { display: inline-flex; min-height: var(--tap); align-items: center; color: var(--ink); }
@media (max-width: 47.99em) { .breadcrumbs li:last-child { display: none; } }

.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2) var(--space-5); margin-bottom: var(--space-5); }
.section-heading__title, .section-title { margin: 0; font-size: var(--fs-h2); line-height: 0.95; }
.section-title { margin-bottom: var(--space-5); }
.section-title--small { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); margin-bottom: var(--space-3); }
.section-title .arrow { width: 0.55em; height: 0.55em; margin-left: 0.25em; }
.section-title .room-icon { --h: 0.9em; margin-left: 0.2em; vertical-align: -0.08em; }

/* Content pages */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); padding-bottom: var(--space-9); }
@media (min-width: 64em) {
  .content-layout.has-toc { grid-template-columns: 14rem minmax(0, 1fr); column-gap: var(--space-8); align-items: start; }
  .content-layout.has-toc .toc { position: sticky; top: calc(var(--header-h) + var(--space-5)); }
}
.toc { border-left: 2px solid var(--line); padding-left: var(--space-4); }
.toc__title { margin-bottom: var(--space-1); color: var(--ink-2); font-size: 0.75rem; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { break-inside: avoid; }
.toc a { display: flex; align-items: center; min-height: 2.5rem; font-size: var(--fs-meta); font-weight: 500; line-height: 1.25; text-decoration: none; overflow-wrap: anywhere; }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--cdn-red); text-decoration-thickness: 2px; }
@media (max-width: 63.99em) {
  .toc ul { columns: 2 8rem; column-gap: var(--space-5); }
}

.prose { max-width: var(--measure); }
.prose > :first-child { margin-top: 0; }
.prose :where(h2) { margin: var(--space-8) 0 var(--space-4); padding-top: var(--space-5); border-top: 1px solid var(--line); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 0.95; }
.prose :where(h3) { margin: var(--space-6) 0 var(--space-2); font-family: var(--cdn-font-body); font-weight: 600; font-size: 1.25rem; line-height: 1.3; text-transform: none; }
.prose :where(h4) { margin: var(--space-5) 0 var(--space-2); }
.prose :where(p, li) { max-width: var(--measure); }
.prose :where(ul, ol) { padding-left: 1.25em; }
.prose :where(li + li) { margin-top: var(--space-2); }
.prose :where(li)::marker { color: var(--ink-2); }
.prose .figure { margin-block: var(--space-6); }
.prose :where(table) { width: 100%; border-collapse: collapse; font-size: var(--fs-meta); }
.prose :where(th, td) { text-align: left; vertical-align: top; padding: var(--space-3) var(--space-4) var(--space-3) 0; border-bottom: 1px solid var(--line); }
.prose :where(thead th) { font-family: var(--cdn-font-label); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: var(--cdn-track-label); color: var(--ink-2); }
.timeline th[scope="row"] { font-family: var(--cdn-font-data); font-weight: 800; font-size: 1.25rem; line-height: 1.2; letter-spacing: 0.01em; white-space: nowrap; width: 7.5rem; font-variant-numeric: tabular-nums; }
.columns { columns: 2 11rem; column-gap: var(--space-6); }
.columns li { break-inside: avoid; }
.columns li + li { margin-top: var(--space-1); }
.press-list { list-style: none; padding: 0; }
.press-list time { color: var(--ink-2); }
/* Venue photos: 2 / 3 / 4 across, 3:2 tiles; site.js opens each in a lightbox. */
.page-venue .prose { max-width: none; }
.page-venue .prose > :where(address, dl, h3) { max-width: var(--measure); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); }
.gallery .figure { margin: 0; min-width: 0; }
.gallery + p { margin-top: var(--space-5); }
.gallery .photo img { aspect-ratio: 3 / 2; object-fit: cover; }
.gallery figcaption { margin-top: var(--space-1); line-height: 1.3; overflow-wrap: anywhere; }
.gallery__open { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-frame); background: none; cursor: zoom-in; }
.gallery__open img { transition: opacity 150ms ease-out; }
.gallery__open:hover img { opacity: 0.85; }
@media (min-width: 48em) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5) var(--space-4); } }
@media (min-width: 80em) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.lightbox {
  width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; height: 100dvh; max-height: 100dvh;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--cdn-bone); --focus: var(--cdn-bone);
}
.lightbox::backdrop { background: var(--cdn-black); }
.lightbox__figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: var(--space-3); height: 100%; margin: 0; padding: calc(var(--tap) + var(--space-4)) var(--gutter) var(--space-4); }
.lightbox__img { place-self: center; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--r-frame); }
.lightbox__caption { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--space-4); font-size: var(--fs-small); text-align: center; }
.lightbox__count { color: var(--cdn-ash); font-variant-numeric: tabular-nums; }
.lightbox__btn {
  position: absolute; display: inline-flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap);
  border: 1.5px solid var(--cdn-bone); border-radius: 50%; background: var(--cdn-black); color: var(--cdn-bone); cursor: pointer;
}
.lightbox__btn:hover { background: var(--cdn-bone); color: var(--cdn-black); }
.lightbox__btn .arrow { width: 1rem; height: 1rem; margin: 0; }
.lightbox__close { top: var(--space-3); right: var(--gutter); }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: var(--gutter); }
.lightbox__next { right: var(--gutter); }
@media (max-width: 47.99em) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: var(--space-3); transform: none; }
  .lightbox__figure { padding-bottom: calc(var(--tap) + var(--space-5)); }
}

/* FAQ: shows with Preferred Viewing, as a plain list on Bone */
.pv-links { list-style: none; padding: 0; }
.pv-links li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--space-3); margin: 0; padding-block: var(--space-2); border-bottom: 1px solid var(--line); }
.pv-links time { min-width: 8.75rem; font-family: var(--cdn-font-data); font-weight: 600; font-size: 1.0625rem; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.pv-links__room { color: var(--ink-2); font-size: var(--fs-small); }

.specs { display: grid; gap: 0; }
.specs > div { display: grid; grid-template-columns: minmax(7rem, 1fr) 2fr; gap: var(--space-4); padding-block: var(--space-3); border-bottom: 1px solid var(--line); }
.specs dt { color: var(--ink-2); font-size: 0.75rem; padding-top: 0.3em; }
.specs dd { margin: 0; }
.contact-list > div { padding-block: var(--space-3); border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--ink-2); font-size: 0.75rem; }
.contact-list dd { margin: var(--space-1) 0 0; }

.figure { margin: 0 0 var(--space-5); }
.figure img { border-radius: var(--r-frame); }
.figure figcaption { margin-top: var(--space-2); font-size: var(--fs-small); color: var(--ink-2); }
.credit { font-family: var(--cdn-font-body); font-weight: 400; font-size: 0.75rem; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.photo img { width: 100%; height: auto; }

.social-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-5); }
.social-link { display: inline-flex; align-items: center; min-height: var(--tap); gap: var(--space-2); }
.social-link__handle { color: var(--ink-2); }

/* Bone reading pages (the token swap at the top) and the Bone tech-spec section (§8.1): header and footer stay dark. */
.bone-section {
  margin: var(--space-8) calc(var(--gutter) * -1) 0;
  padding: var(--space-6) var(--gutter) var(--space-7);
  /* Owner, Oct 9 2026: a greyer Bone inside dark pages (the tech specs), so the panel isn't so jarring.
     Graphite is darkened a touch to keep 4.5:1 on it. */
  background: color-mix(in srgb, var(--cdn-bone) 75%, var(--cdn-ash)); color: var(--cdn-black);
  --ink-2: color-mix(in srgb, var(--cdn-graphite) 85%, var(--cdn-black));
}
.bone-section > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
@media (min-width: 48em) {
  .bone-section { margin-inline: 0; padding: var(--space-6) var(--space-7) var(--space-7); border-radius: var(--r-card); }
}

/* Hover note: a dotted word that shows a short note on hover, focus or tap (visit page: the elevator). */
.hover-note { position: relative; cursor: help; text-decoration-line: underline; text-decoration-style: dotted; text-decoration-color: var(--ink-2); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.hover-note:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
.hover-note__text {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;   /* hidden until hover or focus, still read by screen readers */
}
.hover-note:not(.is-dismissed):hover .hover-note__text, .hover-note:not(.is-dismissed):focus .hover-note__text {
  left: 0; top: 100%; z-index: 20; width: max-content; max-width: min(22rem, 60vw); height: auto; overflow: visible; clip-path: none; white-space: normal;
  margin-top: var(--space-1); padding: var(--space-2) var(--space-3); border-radius: var(--r-btn);
  background: var(--cdn-surface); color: var(--cdn-bone); border: 1px solid var(--cdn-rule);
  font-family: var(--cdn-font-body); font-weight: 400; font-size: var(--fs-small); line-height: 1.4; text-transform: none; letter-spacing: 0;
}

/* Copy that still needs confirming (search the build for data-confirm before launch): a dashed outline, no fill. */
mark[data-confirm] { background: none; color: inherit; outline: 1px dashed var(--ink); outline-offset: 2px; position: relative; }
mark[data-confirm]:hover::after {
  content: attr(data-confirm);
  position: absolute; left: 0; top: 100%; z-index: 20; width: max-content; max-width: min(28rem, 80vw);
  margin-top: var(--space-1); padding: var(--space-2) var(--space-3); border-radius: var(--r-btn);
  background: var(--cdn-surface); color: var(--cdn-bone); border: 1px solid var(--cdn-rule);
  font-family: var(--cdn-font-body); font-weight: 400; font-size: var(--fs-small); line-height: 1.4; text-transform: none; letter-spacing: 0;
}

.notice { padding: var(--space-3) var(--space-4); border-radius: var(--r-card); background: var(--cdn-surface); color: var(--cdn-bone); }
.empty-state { padding: var(--space-5); border-radius: var(--r-card); background: var(--cdn-surface); color: var(--cdn-bone); }
.empty-state p { margin: 0 0 var(--space-2); }
.empty-state p:last-child { margin: 0; }
.ground-bone .site-main .empty-state, .bone-section .empty-state { background: none; border: 1px solid var(--line); color: var(--ink); }

/* ============================================================ show rows (§8.3) */
.show-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.show-row {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2);
  margin: 0; max-width: none; padding-block: 1.25rem; border-top: 1px solid var(--line);
}
.show-row > * { min-width: 0; }
.show-row__date { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--space-3); }
.show-row__date time { display: inline-flex; align-items: baseline; gap: 0 var(--space-2); }
.show-row__dow { color: var(--ink-2); font-size: 0.75rem; }
.show-row__md {
  order: -1;
  font-family: var(--cdn-font-data); font-weight: 800; font-size: 1.375rem; line-height: 1;
  text-transform: uppercase; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; color: var(--cdn-red);
  white-space: nowrap;
}
.show-row__media { display: block; }
.show-row__media img, .show-row__noimg { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 4px; background: var(--cdn-surface); }
.show-row__info > * { margin: 0; }
.show-row__presenter { margin-bottom: var(--space-1); }
/* Wrapped names and support lines break evenly; an act's name stays on one line where it fits (.act). */
.show-row__headliner { margin: 0; font-family: var(--cdn-font-display); font-size: 1.75rem; font-weight: 800; line-height: 1; letter-spacing: 0; text-transform: uppercase; overflow-wrap: anywhere; text-wrap: balance; }
.show-row__headliner a { text-decoration: none; }
.show-row__headliner a:hover { text-decoration: underline; text-decoration-color: var(--cdn-red); text-decoration-thickness: 3px; text-underline-offset: 0.12em; }
.show-row__support { margin-top: 0.3rem; font-family: var(--cdn-font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.15; text-wrap: balance; }
.show-row__support .act { display: inline-block; max-width: 100%; }
.show-row__meta { margin-top: 0.4rem; color: var(--ink-2); font-size: var(--fs-meta); font-weight: 500; line-height: 1.4; font-variant-numeric: tabular-nums; }
.show-row__room { display: none; }
.show-row__action { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-3); margin-top: var(--space-2); }
.show-row__action:empty { display: none; }
.show-row__action .badges { align-self: flex-start; }
.show-row__btn { min-height: 3rem; }
.show-row.is-cancelled .show-row__headliner, .show-row.is-postponed .show-row__headliner { text-decoration: line-through; text-decoration-thickness: 2px; }
.on-sale-label { margin: 0; color: var(--cdn-red); }
.ground-bone .site-main .on-sale-label, .bone-section .on-sale-label { color: var(--ink); }

/* Rows respond to the width of their list (container queries), so a list inside a content column stays readable. */
.show-list { container-type: inline-size; }
.show-row__media--crop { overflow: hidden; border-radius: 4px; }
.media-box--crop img, .show-row__media--crop img { transform: scale(1.17); transform-origin: 50% 0; }

/* Phones: the art sits beside the date, room and presenter, centred on them; the name, support and button run full width below. */
@container (max-width: 35.99rem) {
  .show-row { grid-template-columns: clamp(5.5rem, 32cqi, 9rem) minmax(0, 1fr); gap: 0 var(--space-4); }
  .show-row__media { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .show-row__date { grid-column: 2; grid-row: 1; align-self: end; flex-direction: column; align-items: flex-start; gap: var(--space-1); }
  .show-row__date .room-tag { display: block; white-space: normal; text-wrap: balance; }   /* on the narrowest phones it wraps, the arrow after the last word */
  .show-row__info { display: contents; }
  .show-row__presenter { grid-column: 2; grid-row: 2; align-self: start; margin: var(--space-1) 0 0; text-wrap: balance; }
  .show-row:not(:has(.show-row__presenter)) .show-row__date { grid-row: 1 / span 2; align-self: center; }
  .show-row__headliner, .show-row__support, .show-row__meta, .show-row__action { grid-column: 1 / -1; }
  .show-row__headliner { margin-top: var(--space-3); }
  .show-row__action { margin-top: var(--space-4); }
}

@container (min-width: 36rem) {
  .show-row { grid-template-columns: 6.5rem 10rem minmax(0, 1fr); column-gap: var(--space-5); align-items: start; }
  .show-row__date { flex-direction: column; align-items: flex-start; gap: var(--space-1); }
  .show-row__date time { flex-direction: column; gap: 0.3rem; }
  .show-row__md { order: 0; font-size: 1.75rem; }
  .show-row__date .room-tag { display: none; }
  .show-row__room { display: block; margin-top: var(--space-2); }
  .show-row__action { grid-column: 3; flex-direction: row; flex-wrap: wrap; align-items: center; margin-top: 0; }
  .show-row__btn { min-height: var(--tap); min-width: 8.75rem; }
}
@container (min-width: 56rem) {
  .show-row { grid-template-columns: 7.5rem 11.25rem minmax(0, 1fr) 12.5rem; column-gap: var(--space-5); }
  .show-row__headliner { font-size: var(--fs-h3); }
  .show-row__action { grid-column: 4; flex-direction: column; align-items: flex-end; justify-content: flex-start; text-align: right; }
  .show-row__action .badges { align-self: flex-end; justify-content: flex-end; }
}

/* Compact rows (homepage lists): less padding, smaller thumbnails; on phones the badge sits beside the button. */
.show-list--compact .show-row { padding-block: 0.875rem; }
.show-list--compact .show-row__action { flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.show-list--compact .show-row__action .badges { align-self: center; }
.show-list--compact .show-row__btn { flex: none; min-width: 12rem; min-height: var(--tap); margin-left: auto; }   /* phones: one width, right-aligned */
@container (min-width: 36rem) {
  .show-list--compact .show-row { grid-template-columns: 6.5rem 8rem minmax(0, 1fr); }
  .show-list--compact .show-row__room { margin-top: var(--space-1); }
  .show-list--compact .show-row__btn { min-width: 8.75rem; margin-left: 0; }
}
@container (min-width: 56rem) {
  .show-list--compact .show-row { grid-template-columns: 7.5rem 9rem minmax(0, 1fr) 12.5rem; }
  .show-list--compact .show-row__action { flex-direction: column; align-items: flex-end; }
  .show-list--compact .show-row__action .badges { align-self: flex-end; }
}

/* Month sections (listings): month h2/h3 headings, sticky under the header on /shows. */
.month { margin-bottom: var(--space-7); }
.month__heading { margin: 0; padding: var(--space-4) 0 var(--space-3); background: var(--ground); font-size: clamp(1.75rem, 1.3rem + 1.8vw, 3rem); line-height: 0.95; }
.page-shows .month__heading { position: sticky; top: var(--header-h); z-index: 5; font-size: var(--fs-h2); border-bottom: 1px solid var(--line); }
html:has(> body.page-shows) { scroll-padding-top: calc(var(--header-h) + var(--fs-h2) + 2.5rem); }
.room-filter { margin-top: var(--space-5); }

/* ============================================================ media */
.media-box { position: relative; aspect-ratio: 1200 / 807; overflow: hidden; background: var(--cdn-surface); }
.media-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The sign frame (§5.2): Bone double keyline 2/1/1px, radius 16px, photo inset 12px. One per view. */
@media (min-width: 48em) {
  .sign-frame { position: relative; padding: 10px; border: 2px solid var(--cdn-bone); border-radius: var(--r-frame); }
  .sign-frame::after { content: ""; position: absolute; inset: 1px; border: 1px solid var(--cdn-bone); border-radius: 13px; pointer-events: none; }
  .sign-frame .media-box, .sign-frame img { border-radius: 4px; }
}

/* ============================================================ home (§8.2) */
/* 1. Room photo: a show in the room, full width, no type on it. */
.home-photo { position: relative; isolation: isolate; background: var(--cdn-black); }
.home-photo__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 30%; }
.home-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--cdn-black), transparent 28%); pointer-events: none; }
.home-photo__credit { position: absolute; z-index: 1; right: var(--space-4); bottom: var(--space-2); margin: 0; }
@media (min-width: 48em) {
  }
@media (min-width: 64em) {
  .home-photo__img img { height: clamp(22rem, 48vh, 32rem); aspect-ratio: auto; object-position: 50% 42%; }
  .home-photo__img--disco img { object-position: 50% 64%; }   /* the wide band keeps the sign and the band, below the disco ball */
  .home-photo__credit { top: var(--space-3); bottom: auto; }   /* the show card overlaps the bottom of the photo here */
    }

/* Tonight (or next) show: one compact card under the photo, overlapping it on wide screens. */
.tonight-card { position: relative; z-index: 2; }
.tonight-card__inner {
  display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: var(--space-3) var(--space-4); align-items: start;
  padding: var(--space-5) 0; border-bottom: 1px solid var(--line);
}
.tonight-card__media { display: block; }
.tonight-card__media img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.tonight-card__text { min-width: 0; }
.tonight-card__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-4); margin-bottom: var(--space-2); }
.tonight-card__lit { font-size: 2rem; }
.tonight-card__label { margin: 0; font-family: var(--cdn-font-label); font-weight: 600; font-size: 0.8125rem; letter-spacing: var(--cdn-track-label); text-transform: uppercase; color: var(--cdn-ash); }
.tonight-card__presenter { margin: 0; }
.tonight-card__headliner { margin: 0; font-size: 2.25rem; line-height: 0.9; }
.tonight-card__headliner.hl--m { font-size: 2rem; }
.tonight-card__headliner.hl--s { font-size: 1.75rem; }
.tonight-card__headliner a { text-decoration: none; }
.tonight-card__headliner a:hover { text-decoration: underline; text-decoration-color: var(--cdn-red); text-decoration-thickness: 0.04em; text-underline-offset: 0.08em; }
.tonight-card__support { margin: var(--space-1) 0 0; font-family: var(--cdn-font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.1; }
.tonight-card__when { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-3); margin: var(--space-3) 0 var(--space-1); text-transform: uppercase; font-variant-numeric: tabular-nums; }
.tonight-card__date { font-family: var(--cdn-font-data); font-weight: 800; font-size: 1.375rem; line-height: 1; letter-spacing: 0.01em; color: var(--cdn-red); }
.tonight-card__data { font-family: var(--cdn-font-data); font-weight: 600; font-size: 1.125rem; line-height: 1.1; letter-spacing: 0.02em; }
.tonight-card__labels { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) 0; margin: 0; color: var(--cdn-ash); }
.tonight-card__labels .room-tag { font-size: inherit; }
.tonight-card__badges { margin-left: var(--space-3); }
.tonight-card__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.tonight-card__actions:empty { display: none; }
.tonight-card__actions .on-sale-label { margin: 0; }
.tonight-card__next { margin: 0; flex-basis: 100%; }
.tonight-card__next a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 0.4em; min-height: var(--tap); text-decoration: none; font-weight: 500; }
.tonight-card__next a:hover { text-decoration: underline; text-decoration-color: var(--cdn-red); text-decoration-thickness: 2px; }
.tonight-card__next-label { color: var(--ink-2); }
.tonight-card__next .arrow { width: 0.8em; height: 0.8em; }
.tonight-card__note { margin: 0 0 var(--space-3); color: var(--ink-2); }
/* Phones: the art sits beside TONIGHT and the presenter; the name, date and buttons run full width (owner, Oct 9 2026). */
@media (max-width: 47.99em) {
  .tonight-card__inner { grid-template-columns: 8.5rem minmax(0, 1fr); gap: 0 var(--space-4); align-items: center; padding-top: var(--space-4); }
  .tonight-card__text { display: contents; }
  .tonight-card__media { grid-column: 1; grid-row: 1; }
  .tonight-card__top { grid-column: 2; grid-row: 1; flex-direction: column; align-items: flex-start; gap: var(--space-1); margin: 0; }
  .tonight-card__inner:not(:has(.tonight-card__media)) .tonight-card__top { grid-column: 1 / -1; }
  .tonight-card__headliner, .tonight-card__support, .tonight-card__when, .tonight-card__labels, .tonight-card__actions { grid-column: 1 / -1; }
  .tonight-card__headliner { margin-top: var(--space-4); font-size: 2.5rem; }
  .tonight-card__headliner.hl--m { font-size: 2.25rem; }
  .tonight-card__headliner.hl--s { font-size: 2rem; }
  .tonight-card__actions { flex-direction: column; align-items: stretch; margin-top: var(--space-4); }
}
@media (min-width: 48em) {
  .tonight-card__inner { grid-template-columns: 15rem minmax(0, 1fr); }
  /* The art spans the full height of the text beside it (owner, Oct 9 2026), cropped to fit. */
  .tonight-card__media { align-self: stretch; }
  .tonight-card__media .media-box { height: 100%; min-height: 8rem; aspect-ratio: auto; border-radius: 4px; }
  .tonight-card__inner:not(:has(.tonight-card__media)) { grid-template-columns: minmax(0, 1fr); }
  .tonight-card__actions { grid-column: 2; }
  .tonight-card__inner:not(:has(.tonight-card__media)) .tonight-card__actions { grid-column: 1; }
  .tonight-card__headliner { font-size: 3rem; }
  .tonight-card__headliner.hl--m { font-size: 2.5rem; }
  .tonight-card__headliner.hl--s { font-size: 2.125rem; }
}
@media (min-width: 64em) {
  .tonight-card { margin-top: -2.5rem; }
  .tonight-card__inner {
    grid-template-columns: 16rem minmax(0, 1fr) auto; align-items: center; gap: var(--space-5);
    padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--cdn-black);
  }
  .tonight-card__inner:not(:has(.tonight-card__media)) { grid-template-columns: minmax(0, 1fr) auto; }
  .tonight-card__actions, .tonight-card__inner:not(:has(.tonight-card__media)) .tonight-card__actions { grid-column: auto; flex-direction: column; align-items: flex-end; text-align: right; max-width: 18rem; }
  .tonight-card__lit { font-size: 2.5rem; }
  .tonight-card__headliner { font-size: 3.5rem; }
  .tonight-card__headliner.hl--m { font-size: 3rem; }
  .tonight-card__headliner.hl--s { font-size: 2.5rem; }
}

/* 2–3. This week, Coming up */
.home-section { padding-block: var(--space-7); }
@media (min-width: 64em) { .home-section { padding-block: var(--space-8); } }
.home-week { padding-top: var(--space-5); }
.chips--filter { margin-bottom: var(--space-5); }
.home-coming .month { margin-bottom: var(--space-6); }
.home-coming__more { display: flex; flex-wrap: wrap; gap: 0 var(--space-6); margin: var(--space-5) 0 0; }
.filter-empty { padding: var(--space-5); border-radius: var(--r-card); background: var(--cdn-surface); }

/* 4. Newsletter band (Stairwell) */
.band--surface { background: var(--cdn-surface); --ground: var(--cdn-surface); }
.newsletter-band__inner { display: grid; gap: var(--space-5); padding-block: var(--space-7); align-items: center; }
.newsletter-band__title { margin: 0 0 var(--space-2); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 0.95; }
.newsletter-band__sub { margin: 0; max-width: 52ch; color: var(--cdn-ash); font-size: var(--fs-meta); }
.newsletter-band__action .btn { min-height: 3rem; padding-inline: 2rem; }
@media (min-width: 64em) {
  .newsletter-band__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--col-gap); padding-block: var(--space-8); }
  .newsletter-band__action, .newsletter-form--band { justify-self: end; }
}
.newsletter-form { display: flex; flex-wrap: wrap; gap: var(--space-2); max-width: 32rem; }
.newsletter-form label { flex-basis: 100%; }
.newsletter-form__error { flex-basis: 100%; margin: 0 0 var(--space-2); padding-left: var(--space-3); border-left: 3px solid var(--cdn-red); font-weight: 600; }
.newsletter-form input[type="email"] {
  flex: 1 1 14rem; min-height: 3rem; padding: 0 var(--space-4);
  font-family: var(--cdn-font-body); font-size: 1rem; color: var(--cdn-bone);
  background: var(--cdn-black); border: 1.5px solid var(--cdn-ash); border-radius: var(--r-btn);
}
.newsletter-form input::placeholder { color: var(--cdn-ash); opacity: 1; }
.newsletter-form .btn { min-height: 3rem; }

/* 5. Visit band */
.home-visit { display: grid; gap: var(--space-6); align-items: start; }
.home-visit__media img { aspect-ratio: 3 / 2; object-fit: cover; }
.facts-list { margin: 0 0 var(--space-5); }
.facts-list > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--space-4); padding-block: var(--space-3); border-top: 1px solid var(--line); }
.facts-list > div:last-child { border-bottom: 1px solid var(--line); }
.facts-list dt { color: var(--ink-2); font-size: 0.75rem; padding-top: 0.35em; }
.facts-list dd { margin: 0; line-height: 1.45; }
@media (max-width: 39.99em) {
  .facts-list > div { grid-template-columns: 1fr; gap: var(--space-1); }
  .facts-list dt { padding-top: 0; }
}
.home-visit__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); margin: 0; }
@media (min-width: 64em) {
  .home-visit { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .home-visit__media { grid-column: 1 / 7; }
  .home-visit__text { grid-column: 7 / 13; padding-left: var(--space-5); }
}

/* 6. Since 1907 + played-here roll */
.home-history { display: grid; gap: var(--space-6); border-top: 1px solid var(--line); }
.home-history__lede { max-width: 40ch; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.45; }
.home-history__media { margin: 0; }
.home-history__media img { aspect-ratio: 3 / 2; object-fit: cover; }
.played-here__title { margin-bottom: var(--space-3); }
.roll { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-family: var(--cdn-font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.3; color: var(--cdn-ash); }
.roll li::after { content: "·"; content: "·" / ""; padding-inline: 0.4em; color: var(--cdn-ash); }
.roll li:last-child::after { content: none; }
.prose .roll { padding: 0; }
.prose .roll li { margin: 0; }
.played-here__more { margin: var(--space-4) 0 0; }
.roll li:nth-child(-n + 12) { color: var(--cdn-bone); }   /* the list runs most-known first: the top 12 stand out */
@media (min-width: 64em) {
  .home-history { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: center; }
  .home-history__text { grid-column: 1 / 6; }
  .home-history__media { grid-column: 7 / 13; }
  .played-here { grid-column: 1 / 13; }
  .roll { font-size: 1.75rem; }
}

/* 7. Private events */
.home-private { border-top: 1px solid var(--line); }
.home-private__line { max-width: 56ch; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.45; }
.home-private__links { display: flex; flex-wrap: wrap; gap: 0 var(--space-6); margin: 0; }
@media (min-width: 64em) {
  .home-private { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: baseline; }
  .home-private .section-title { grid-column: 1 / 5; margin: 0; }
  .home-private__line { grid-column: 5 / 10; margin: 0; }
  .home-private__links { grid-column: 10 / 13; flex-direction: column; }
}

/* ============================================================ show page (§8.4) */
.show-page__grid { display: grid; gap: var(--space-6); padding-top: var(--space-4); padding-bottom: var(--space-8); }
.show-page__grid > * { min-width: 0; }
.show-page__lit { font-size: 3rem; margin-bottom: var(--space-4); }
.show-page__presenter { margin-bottom: var(--space-2); }
.show-page__headliner { margin: 0 0 var(--space-3); font-size: 3.25rem; line-height: 0.88; }
.show-page__headliner.hl--m { font-size: 2.75rem; }
.show-page__headliner.hl--s { font-size: 2.25rem; }
.show-page__support { margin: 0 0 var(--space-2); font-family: var(--cdn-font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; }
.show-page__tour { margin: 0 0 var(--space-3); color: var(--ink-2); font-weight: 500; font-size: 1.125rem; line-height: 1.35; }
.show-page__badges { margin: var(--space-3) 0 0; }
/* Listen: one line about the sound, then players that load on click. */
.listen { margin-top: var(--space-4); }
.listen__sound { margin: 0 0 var(--space-3); color: var(--ink-2); font-weight: 500; font-size: var(--fs-meta); }
.listen__buttons { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; }
.listen__btn { gap: 0.5em; }
.listen__btn[aria-current] { background: var(--cdn-bone); color: var(--cdn-black); }
.listen__icon { width: 0.75em; height: 0.75em; }
.listen__player { margin-top: var(--space-4); border-radius: var(--r-card); overflow: hidden; background: var(--cdn-surface); }
.listen__player iframe { display: block; width: 100%; height: 100%; border: 0; }
.listen__player--video { aspect-ratio: 16 / 9; }
.listen__player--spotify { height: 152px; }
.read-more { margin-top: var(--space-3); }
.read-more summary { display: inline-flex; align-items: center; min-height: var(--tap); cursor: pointer; font-family: var(--cdn-font-label); font-weight: 600; font-size: 0.8125rem; letter-spacing: var(--cdn-track-label); text-transform: uppercase; }
.read-more summary:hover { text-decoration: underline; text-decoration-color: var(--cdn-red); text-decoration-thickness: 2px; }
.read-more[open] summary { margin-bottom: var(--space-3); }
.show-page__h2, .artist__name { margin: 0 0 var(--space-4); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); line-height: 1; }
.show-page__body > section { padding-top: var(--space-6); margin-top: var(--space-6); border-top: 1px solid var(--line); }
.show-page__body > section:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.show-page__about .prose p, .artist .prose p { font-size: var(--fs-body); }
.artist__role { margin-left: 0.4em; font-family: var(--cdn-font-label); font-weight: 600; font-size: 0.75rem; letter-spacing: var(--cdn-track-label); color: var(--ink-2); vertical-align: middle; }
.artist__genre { color: var(--ink-2); }
.artist__links { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-top: var(--space-4); border-radius: var(--r-card); overflow: hidden; background: var(--cdn-surface); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.good-to-know p { color: var(--ink-2); font-size: var(--fs-meta); max-width: var(--measure); }
.good-to-know .link-row, .getting-there .link-row { color: var(--ink); }
.getting-there address { margin-bottom: var(--space-3); }
.sale-notes { padding: var(--space-4) var(--space-5); border-radius: var(--r-card); border: 1px solid var(--line); }
.sale-notes__title { margin: 0 0 var(--space-2); font-size: 1.5rem; color: var(--cdn-red); }
.sale-notes ul { list-style: none; margin: 0; padding: 0; font-family: var(--cdn-font-body); font-weight: 500; font-size: 1.0625rem; line-height: 1.5; font-variant-numeric: tabular-nums; }

/* Facts panel: Stairwell card, radius 12px. */
.facts-panel { padding: var(--space-5); border-radius: var(--r-card); background: var(--cdn-surface); --ground: var(--cdn-surface); }
.facts-panel__date { margin: 0 0 var(--space-4); font-family: var(--cdn-font-data); font-weight: 800; font-size: 2.5rem; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; font-variant-numeric: tabular-nums; color: var(--cdn-red); }
.facts-panel__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--space-4); margin: 0 0 var(--space-5); }
.facts-panel__list > div { padding-block: var(--space-3); border-top: 1px solid var(--cdn-rule); }
.facts-panel__list > div:nth-last-child(-n+1) { grid-column: 1 / -1; }
.facts-panel dt { color: var(--cdn-ash); font-size: 0.75rem; }
.facts-panel dd { margin: var(--space-1) 0 0; font-family: var(--cdn-font-data); font-weight: 600; font-size: 1.375rem; line-height: 1.15; letter-spacing: 0.02em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.facts-panel__sub { display: block; margin-top: var(--space-1); font-family: var(--cdn-font-body); font-weight: 400; font-size: var(--fs-small); line-height: 1.4; letter-spacing: 0; text-transform: none; color: var(--cdn-ash); }
.facts-panel__room dd .room-tag { font-size: 0.8125rem; color: var(--cdn-bone); }
.facts-panel__map { display: inline-flex; align-items: center; min-height: var(--tap); font-family: var(--cdn-font-body); font-weight: 500; font-size: var(--fs-meta); letter-spacing: 0; text-transform: none; }
.facts-panel__actions { display: grid; gap: var(--space-3); }
.facts-panel .on-sale-label { font-family: var(--cdn-font-data); font-weight: 800; font-size: 1.5rem; line-height: 1.05; letter-spacing: 0.01em; }
.facts-panel__status { margin: 0; font-family: var(--cdn-font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; }
.facts-panel__note { margin: 0; color: var(--cdn-ash); font-size: var(--fs-small); }
.facts-panel__note .arrow-link { min-height: var(--tap); font-size: 0.75rem; }
.facts-panel__more { margin-top: var(--space-4); gap: 0 var(--space-5); }
.facts-panel__more a { text-decoration: none; }
.facts-panel__more a:hover { text-decoration: underline; text-decoration-color: var(--cdn-red); text-decoration-thickness: 2px; }

@media (min-width: 64em) {
  .show-page__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--space-5); padding-top: var(--space-3); }
  .show-page__head { grid-column: 1 / 8; grid-row: 1; }
  .show-page__panel { grid-column: 9 / 13; grid-row: 1 / span 4; align-self: start; position: sticky; top: calc(var(--header-h) + var(--space-5)); }
  .sale-notes { grid-column: 1 / 8; }
  .show-page__media { grid-column: 1 / 8; }
  .show-page__body { grid-column: 1 / 8; }
  .show-page__lit { font-size: 3rem; margin-bottom: var(--space-3); }
  .show-page__headliner { font-size: clamp(3.5rem, 1rem + 4.4vw, 7rem); }
  .show-page__headliner.hl--m { font-size: clamp(3rem, 0.8rem + 3.6vw, 5.75rem); }
  .show-page__headliner.hl--s { font-size: clamp(2.5rem, 0.6rem + 2.8vw, 4.5rem); }
  .show-page__support { font-size: 1.75rem; }
  .show-page__tour { margin-bottom: 0; }
  .facts-panel { padding: var(--space-4) var(--space-5); }
  .facts-panel__date { margin-bottom: var(--space-3); font-size: 2rem; }
  .facts-panel__actions { margin-bottom: var(--space-4); }
  .facts-panel__list { margin-bottom: 0; }
  .facts-panel__list > div { padding-block: var(--space-2); }
  .facts-panel dd { font-size: 1.25rem; }
  .facts-panel__room dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--space-3); }
  .facts-panel__room .facts-panel__sub { flex-basis: 100%; }
  .facts-panel__map { min-height: 1.5rem; }
}
.more-shows { padding-block: var(--space-7) var(--space-8); border-top: 1px solid var(--line); }

/* Phone: sticky 64px Sign Black bar with the date and BUY TICKETS, after the facts panel scrolls away (JS). */
.buy-bar { display: none; }
@media (max-width: 63.99em) {
  .js .buy-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    background: var(--cdn-black); border-top: 1px solid var(--cdn-rule);
    visibility: hidden; transform: translateY(100%);
  }
  .js .buy-bar.is-visible { visibility: visible; transform: none; }
  .js .has-buy-bar .site-footer { padding-bottom: 4rem; }
  html.js:has(> body.has-buy-bar) { scroll-padding-bottom: calc(4rem + var(--space-4)); }
}
.buy-bar__inner { display: flex; align-items: center; gap: var(--space-3); height: 4rem; padding-inline: var(--gutter); }
.buy-bar__when { display: flex; flex-direction: column; min-width: 0; flex: 1; margin: 0; text-transform: uppercase; }
.buy-bar__date { font-family: var(--cdn-font-data); font-weight: 800; font-size: 1.125rem; line-height: 1.05; color: var(--cdn-red); }
.buy-bar__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--cdn-font-display); font-weight: 800; font-size: 1.125rem; line-height: 1.1; }
.buy-bar__btn { min-height: 3rem; padding-inline: 1.25rem; }

/* ============================================================ preferred viewing list (content include) */
.pv-list { list-style: none; margin: 0 0 var(--space-5); padding: 0; }
.pv-list__item { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); margin: 0; padding-block: var(--space-3); border-bottom: 1px solid var(--line); }
.pv-list__show { flex: 1 1 12rem; font-family: var(--cdn-font-display); font-weight: 800; font-size: 1.375rem; line-height: 1.05; text-transform: uppercase; text-decoration: none; }
.pv-list__show:hover { text-decoration: underline; text-decoration-color: var(--cdn-red); text-decoration-thickness: 3px; }
.date-inline { font-family: var(--cdn-font-data); font-weight: 800; font-size: 1.25rem; line-height: 1.1; letter-spacing: 0.01em; text-transform: uppercase; font-variant-numeric: tabular-nums; color: var(--cdn-red); min-width: 6.5rem; }

/* ============================================================ /shows: one page, List / Calendar views (owner, Oct 9 2026) */
.shows-head { padding-block: var(--space-6) var(--space-3); }
.shows-head__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-5); }
.shows-head__title { margin: 0; font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem); }
.shows-head .room-filter { margin-top: var(--space-4); }
.view-anchor { display: block; height: 0; }

/* List / Calendar switch: a two-part Bone outline, the current view filled (no red: it is not the primary action). */
.view-switch { display: inline-flex; flex: none; border: 1.5px solid var(--cdn-bone); border-radius: var(--r-btn); overflow: hidden; }
.view-switch__opt {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 0 1.125rem;
  font-family: var(--cdn-font-label); font-weight: 600; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--cdn-track-label);
  color: var(--cdn-bone); text-decoration: none;
}
.view-switch__opt + .view-switch__opt { border-left: 1.5px solid var(--cdn-bone); }
.view-switch__opt:hover { background: var(--cdn-surface); }
.view-switch__opt:focus-visible { outline-offset: -5px; }
.view-switch__opt[aria-current="true"] { background: var(--cdn-bone); color: var(--cdn-black); }

/* The list shows by default. The calendar shows via the switch (site.js §10), or via #calendar without JS (:target). */
.views { padding-bottom: var(--space-9); }
.view--calendar { display: none; }
html:not(.js) body:has(#calendar:target, .cal-month:target) .view--calendar, .js .views[data-view="calendar"] .view--calendar { display: block; }
html:not(.js) body:has(#calendar:target, .cal-month:target) .view--list, .js .views[data-view="calendar"] .view--list { display: none; }
html:not(.js) body:has(#calendar:target, .cal-month:target) .view-switch__opt[data-view-opt="list"] { background: none; color: var(--cdn-bone); }
html:not(.js) body:has(#calendar:target, .cal-month:target) .view-switch__opt[data-view-opt="calendar"] { background: var(--cdn-bone); color: var(--cdn-black); }
.views__foot { margin-top: var(--space-6); }
.views__foot .list-note { margin-top: 0; }

/* Calendar: month tabs, then prev / next */
.cal-nav { display: flex; align-items: center; gap: var(--space-2); padding-block: var(--space-2); border-block: 1px solid var(--line); }
.cal-nav__months {
  order: -1; flex: 1 1 auto; min-width: 0; display: flex; gap: 0 var(--space-1);
  list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none;
}
.cal-nav__months::-webkit-scrollbar { display: none; }
.cal-nav__months li { flex: none; }
.cal-nav__months a {
  display: inline-flex; align-items: center; min-height: var(--tap); padding-inline: var(--space-3); white-space: nowrap;
  font-family: var(--cdn-font-label); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; text-decoration: none; color: var(--ink-2);
}
.cal-nav__months li:first-child a { padding-left: 0; }
.cal-nav__months a:hover { color: var(--ink); }
.cal-nav__months a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--cdn-red); text-decoration-thickness: 2px; text-underline-offset: 0.4em; }
.cal-nav__step {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: var(--tap); height: var(--tap); padding: 0;
  border: 1.5px solid var(--cdn-bone); border-radius: var(--r-btn); background: none; color: var(--cdn-bone); cursor: pointer;
}
.cal-nav__step:hover { background: var(--cdn-surface); }
.cal-nav__step:disabled { opacity: 0.35; cursor: default; background: none; }
.cal-nav__step .arrow { width: 0.9rem; height: 0.9rem; }

.cal-month { padding-top: var(--space-5); }
.cal-month__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-1) var(--space-4); margin-bottom: var(--space-4); }
.cal-month__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.25em; margin: 0; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); line-height: 0.95; }
.cal-month__name { font-size: inherit; line-height: inherit; }
.cal-month__year { color: var(--ink); }
.cal-month__count { margin: 0; font-family: var(--cdn-font-label); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: var(--cdn-track-label); color: var(--ink-2); }
.cal-month__print { flex-basis: 100%; margin: 0; }

/* Phones and tablets: day numbers; a day with shows is a tile with the date in red and a dot, linking to the day below. */
.cal-mini { margin-bottom: var(--space-5); }
.cal-mini__week, .cal-mini__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; text-align: center; }
.cal-mini__week li { padding-bottom: var(--space-2); font-family: var(--cdn-font-label); font-weight: 600; font-size: 0.6875rem; letter-spacing: var(--cdn-track-label); color: var(--ink-2); }
.cal-mini__days { row-gap: var(--space-1); }
.cal-mini__days li { display: flex; justify-content: center; }
.cal-mini__day {
  position: relative; display: flex; align-items: center; justify-content: center; width: 100%; max-width: 3rem; aspect-ratio: 1;
  border-radius: var(--r-btn); font-family: var(--cdn-font-data); font-weight: 600; font-size: 1.125rem; line-height: 1;
  color: var(--ink-2); text-decoration: none; font-variant-numeric: tabular-nums;
}
a.cal-mini__day { background: var(--cdn-surface); color: var(--cdn-red); font-weight: 800; font-size: 1.1875rem; }   /* 19px bold: Crimson on Stairwell is large text only (WCAG 1.4.3) */
a.cal-mini__day::after { content: ""; position: absolute; left: 50%; bottom: 16%; width: 0.3rem; height: 0.3rem; margin-left: -0.15rem; border-radius: 50%; background: currentColor; }
a.cal-mini__day:hover { box-shadow: inset 0 0 0 1.5px var(--cdn-bone); }
.cal-mini__day.is-today { box-shadow: inset 0 0 0 1.5px var(--cdn-bone); }
.cal-mini__day.is-past { text-decoration: line-through; text-decoration-thickness: 1px; }
a.cal-mini__day.is-filtered { background: none; color: var(--ink-2); font-weight: 600; pointer-events: none; }
a.cal-mini__day.is-filtered::after { display: none; }

.cal-weekdays { display: none; list-style: none; margin: 0; padding: 0; }
.cal-grid { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }

/* Phones: the month tabs scroll; their end fades so a cut-off tab reads as "more". */
@media (max-width: 47.99em) {
  .cal-nav__months { mask-image: linear-gradient(to right, var(--cdn-black) calc(100% - 2rem), transparent); padding-right: 2rem; }
}
/* Tablets: the month of day numbers on the left, held in place, and the days with shows beside it. */
@media (min-width: 48em) and (max-width: 63.99em) {
  .cal-month { display: grid; grid-template-columns: 21rem minmax(0, 1fr); column-gap: var(--space-6); align-items: start; }
  .cal-month__head { grid-column: 1 / -1; }
  .cal-mini { position: sticky; top: calc(var(--header-h) + var(--space-4)); margin-bottom: 0; }
}

/* Phone and tablet: a list of days with shows. */
.cal-day { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--space-3); padding-block: var(--space-4); border-top: 1px solid var(--line); }
.cal-day.is-empty, .cal-day--blank { display: none; }
.cal-day__date { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.cal-day__date time { display: flex; align-items: baseline; gap: 0.3em; font-family: var(--cdn-font-data); font-weight: 800; font-size: 1.5rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; color: var(--cdn-red); font-variant-numeric: tabular-nums; }
.cal-day__mon { display: none; }
.cal-day__dow { font-size: 1rem; }
.cal-shows { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.cal-show__name { display: inline-flex; align-items: center; min-height: var(--tap); font-family: var(--cdn-font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; text-transform: uppercase; text-decoration: none; }
.cal-show__name:hover { text-decoration: underline; text-decoration-color: var(--cdn-red); text-decoration-thickness: 3px; }
.cal-show__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-3); color: var(--ink-2); font-size: var(--fs-meta); }
.cal-show__time { font-family: var(--cdn-font-data); font-weight: 600; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.cal-show.is-cancelled .cal-show__name, .cal-show.is-postponed .cal-show__name { text-decoration: line-through; }
.cal-day { scroll-margin-top: calc(var(--header-h) + var(--space-4)); }
@media (max-width: 63.99em) { .cal-day.is-filtered { display: none; } }

@media (min-width: 64em) {
  .cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .cal-weekdays li { padding: var(--space-2); font-family: var(--cdn-font-label); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: var(--cdn-track-label); color: var(--ink-2); }
  .cal-weekdays abbr { text-decoration: none; }
  .cal-grid { border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-bottom: 0; }
  .cal-day, .cal-day.is-empty, .cal-day--blank { display: block; min-height: 9rem; padding: var(--space-2) var(--space-3) var(--space-3); border-top: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .cal-day__date { flex-direction: row; align-items: center; justify-content: space-between; margin-bottom: var(--space-2); }
  .cal-day__date time { font-size: 1.375rem; color: var(--ink-2); }
  .cal-day.has-shows .cal-day__date time, .cal-day.is-today .cal-day__date time { color: var(--cdn-red); }
  .cal-day__dow { display: none; }
  .cal-day.is-today { box-shadow: inset 0 0 0 2px var(--cdn-bone); }
  .cal-day.is-past .cal-day__date time { color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 1px; }
  .cal-shows { gap: var(--space-3); }
  .cal-show__name { display: block; min-height: 1.5rem; padding-block: 0.125rem; font-size: 1.125rem; line-height: 1.02; overflow-wrap: anywhere; }
  .cal-show__meta { margin-top: var(--space-1); gap: var(--space-1) var(--space-2); font-size: 0.8125rem; }
  .cal-show .badge { height: 1.375rem; padding: 0 0.5rem; font-size: 0.8rem; }
  .cal-day.has-shows.is-filtered .cal-day__date time { color: var(--ink-2); }
  .cal-mini { display: none; }
}

/* ============================================================ cookie notice (first visit; site.js §9) */
/* Accept and Decline carry equal weight: no red, no glow. Sits above the phone buy bar until answered. */
.cookie-notice { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--cdn-surface); color: var(--cdn-bone); border-top: 1px solid var(--cdn-rule); --ink: var(--cdn-bone); --ink-2: var(--cdn-ash); --focus: var(--cdn-bone); }
.cookie-notice__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-5); padding-block: var(--space-4); }
.cookie-notice__text { margin: 0; max-width: 60ch; font-size: var(--fs-meta); }
.cookie-notice__actions { display: flex; gap: var(--space-3); }
.cookie-settings { min-height: var(--tap); padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.cookie-settings:hover { text-decoration: underline; text-decoration-color: var(--cdn-red); text-decoration-thickness: 2px; }

/* ============================================================ toast (JS share feedback) */
.toast { position: fixed; left: 50%; bottom: var(--space-5); transform: translateX(-50%); z-index: 50; padding: var(--space-3) var(--space-5); border-radius: var(--r-btn); background: var(--cdn-bone); color: var(--cdn-black); font-family: var(--cdn-font-label); font-weight: 600; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--cdn-track-label); }
.toast:empty { display: none; }

/* ============================================================ motion: the 150ms glow only, and none of it when reduced */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ============================================================ print
   Ink on paper: no glow, no nav, no footer. The header swaps to the black open sign.
   Calendar pages print as one monthly page (Letter portrait; use 11in 17in for tabloid). */
@media print {
  @page { size: letter portrait; margin: 0.4in; }
  html, body, .site-main, .ground-bone .site-main, .bone-section, .band--surface, .facts-panel, .cal-day.is-today { background: none !important; color: var(--cdn-black) !important; }
  body { display: block; font-size: 10pt; --ink: var(--cdn-black); --ink-2: var(--cdn-black); --line: var(--cdn-black); }
  .site-main { --ink: var(--cdn-black); --ink-2: var(--cdn-black); --line: var(--cdn-black); }
  a { text-decoration: none; }
  .lit, .tonight-card__date, .show-row__md, .facts-panel__date, .cal-day__date time, .presenter--house, .eyebrow, .on-sale-label, .date-inline, .cal-month__year { color: var(--cdn-black) !important; text-shadow: none !important; }
  .lit-sign, .lit-arrow { filter: none; }
  .tonight-strip, .site-nav, .nav-toggle, .site-header__shows, .site-header__icons, .playlist, .skip-link, .site-footer, .toast, .no-print, .chips, .page-tools, .view-switch, .cookie-notice,
  .breadcrumbs, .show-row__action .btn, .more-shows, .toc, .buy-bar, .cal-nav, .newsletter-band, .home-visit__links,
  .facts-panel__actions, .facts-panel__more, .show-row__media, mark[data-confirm]::after { display: none !important; }
  .print-only { display: block; }
  .site-header { position: static; border: 0; background: none; }
  .site-header__inner { height: auto; padding: 0 0 8pt; }
  .site-logo__screen { display: none; }
  .site-logo__print { display: block; width: 1.1in; height: auto; }
  .wrap { max-width: none; padding: 0; }
  .month__heading { position: static; background: none; }
  .show-row { break-inside: avoid; padding-block: 6pt; }
  .badge { background: none; color: var(--cdn-black); border-color: var(--cdn-black); box-shadow: none; }
  .room-tag { color: var(--cdn-black); }
  .sign-frame { border-color: var(--cdn-black); }
  .sign-frame::after { border-color: var(--cdn-black); }
  mark[data-confirm] { outline: 0; }

  .is-calendar-view .site-header__inner { justify-content: flex-start; }
  .is-calendar-view .cal-weekdays, .is-calendar-view .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
  .is-calendar-view .cal-weekdays li { padding: 2pt 4pt; font-family: var(--cdn-font-label); font-weight: 600; font-size: 7pt; text-transform: uppercase; letter-spacing: var(--cdn-track-label); color: var(--cdn-black); }
  .is-calendar-view .cal-grid { border-top: 1px solid var(--cdn-black); border-left: 1px solid var(--cdn-black); border-bottom: 0; }
  .is-calendar-view .cal-day, .is-calendar-view .cal-day.is-empty, .is-calendar-view .cal-day--blank {
    display: block; min-height: 1.2in; padding: 3pt; box-shadow: none;
    border-top: 0; border-right: 1px solid var(--cdn-black); border-bottom: 1px solid var(--cdn-black); break-inside: avoid;
  }
  .is-calendar-view .cal-day__dow, .is-calendar-view .cal-day__mon, .is-calendar-view .cal-day__date .badge { display: none; }
  .is-calendar-view .cal-day__date { margin-bottom: 2pt; }
  .is-calendar-view .cal-day__date time { font-size: 9pt; }
  .is-calendar-view .cal-show__name { display: block; min-height: 0; font-size: 8pt; line-height: 1.05; padding: 0; color: var(--cdn-black); }
  .is-calendar-view .cal-show__meta { font-size: 6.5pt; color: var(--cdn-black); gap: 1pt 3pt; }
  .is-calendar-view .cal-show__meta .room-tag { font-size: 6pt; letter-spacing: 0.1em; }
  .is-calendar-view .cal-show__meta .badge { height: auto; font-size: 6pt; padding: 0 2pt; }
  .is-calendar-view .cal-shows { gap: 3pt; }
  .is-calendar-view .shows-head, .is-calendar-view .cal-nav, .is-calendar-view .cal-mini, .is-calendar-view .views__foot { display: none !important; }
  .is-calendar-view .views { padding: 0; }
  .is-calendar-view .cal-month { padding: 0; break-inside: avoid; }
  .is-calendar-view .cal-month__head { margin: 0 0 6pt; }
  .is-calendar-view .cal-month__title { font-size: 30pt; }
  .is-calendar-view .cal-month__count, .is-calendar-view .cal-month__print { font-size: 7.5pt; color: var(--cdn-black); }
}
