/* ═══════════════════════════════════════════════════════════════
   NAPTOWN WAIL · daily-edition broadsheet
   warm paper, ink, one electric blue, mint frame. print discipline.
   after dark the paper is the Naptown Moans; see [data-theme="dark"].
   ═══════════════════════════════════════════════════════════════ */

:root {
  color-scheme: light;
  --bg: #faf9f4;
  --ink: #0d0c0a;
  --muted: #8b8880;
  --faint: #b5b2a8;
  --rule: #e6e4da;
  --accent: #2b4cff;
  --accent-ink: #fff;
  --frame: #9ee5c1;
  --frame-surface: #9ee5c1;
  --live: #22c55e;
  --paper-dark: #14130f;
  --prose-ink: #3c3a34;
  --prose-ink-soft: #4a4842;
  --field-bg: #fff;
  --ticker-bg: #f3f1e9;
  --polaroid-bg: #fdfdf9;
  --error: #c02b2b;
  --font-display: "Newsreader", "Times New Roman", serif;
  --font-ui: "Archivo", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

/* The night edition. --frame stays mint as *ink* (prompts, shadows, glyph)
   while --frame-surface goes deep, so the mint reads bright on dark panels
   instead of glaring around the page. --paper-dark lifts above --bg so the
   door list and terminal keep reading as their own panels.

   Every colour a surface or its text uses must be a token, or the two
   invert independently and the text disappears into its own background.
   The only safe hardcoded colours are the ones on blocks that are dark in
   *both* editions (door list, tape, terminal). */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #14130f;
  --ink: #f2f0e6;
  --muted: #93908a;
  --faint: #5d5a52;
  --rule: #2c2a24;
  --accent: #7b90ff;
  /* the night accent is lighter, so what sits on it goes dark, not white */
  --accent-ink: #14130f;
  --frame: #6fdcae;
  --frame-surface: #0e1a15;
  --live: #34d399;
  --paper-dark: #201e18;
  --prose-ink: #cfcbbe;
  --prose-ink-soft: #bbb7ab;
  --field-bg: #0c0b09;
  --ticker-bg: #1a1813;
  --polaroid-bg: #1e1c17;
  --error: #ff7a7a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Feature-flagged surfaces. theme-boot.js adds .flag-<name> to <html> when
   the flag is on; until then anything tagged with it stays out of the page.
   This only ever *hides*, so the element keeps its own display value when
   the flag flips back on. */
html:not(.flag-tipjar) [data-flag="tipjar"],
html:not(.flag-addesk) [data-flag="addesk"] { display: none; }

html { scroll-behavior: smooth; }

body {
  background: var(--frame-surface);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.5;
}

.frame {
  min-height: 100vh;
  margin: 6px;
  background: var(--bg);
  border: 1px solid var(--rule);
}

a { color: inherit; }

::selection { background: var(--accent); color: var(--bg); }

/* ── shared bits ─────────────────────────────────────────────── */

.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.second-voice { color: var(--faint); }

.dot { color: var(--faint); }

.live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--live);
  animation: pulse 2.4s ease-in-out infinite;
}
.live-dot-inverse { animation: none; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  transition: background 120ms ease-out, color 120ms ease-out;
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); }
.btn-text {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-bottom: 1px solid var(--faint);
  padding-bottom: 2px;
  align-self: center;
}
.btn-text:hover { color: var(--accent); border-color: var(--accent); }

/* ── masthead ────────────────────────────────────────────────── */

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.masthead-left, .masthead-right {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}

/* edition switch: day paper / night paper */
.edition-toggle {
  appearance: none;
  background: none;
  border: 1px solid var(--rule);
  color: var(--muted);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.edition-toggle:hover { border-color: var(--ink); color: var(--ink); }
.edition-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.edition-toggle .et-glyph { font-size: 12px; }
/* the label names the edition you'd switch *to*, so it flips with the theme */
.edition-toggle .et-day,
.edition-toggle .et-night { align-items: center; gap: 6px; }
.edition-toggle .et-night { display: inline-flex; }
.edition-toggle .et-day { display: none; }
[data-theme="dark"] .edition-toggle .et-night { display: none; }
[data-theme="dark"] .edition-toggle .et-day { display: inline-flex; }

/* ── nav ─────────────────────────────────────────────────────── */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--rule);
}

.nav-brand { display: flex; align-items: center; gap: 12px; }

.nav-glyph {
  width: 40px; height: 40px;
  background: var(--ink);
  color: var(--frame-surface);
  display: grid;
  place-items: center;
  font-size: 19px;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.nav-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links { display: flex; gap: 26px; }
.nav-links a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--accent); }
.nav-links .second-voice {
  font-family: var(--font-mono);
  font-size: 10px;
  vertical-align: super;
}

.nav-actions { display: flex; gap: 10px; }
.nav-actions .btn { padding: 9px 14px; }

/* ── account panel ───────────────────────────────────────────── */

.account-panel {
  position: absolute;
  top: 108px;
  right: 30px;
  z-index: 30;
  width: min(340px, calc(100vw - 48px));
  background: var(--bg);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 var(--frame);
}

.account-panel-inner { padding: 20px 22px 22px; }

.field { display: block; margin-top: 14px; }
.field span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 5px;
}
.field input {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 9px 10px;
  background: var(--field-bg);
  border: 1px solid var(--faint);
  border-radius: 0;
  color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--accent); }

.account-actions { display: flex; gap: 8px; margin-top: 16px; }
.account-actions .btn { padding: 9px 14px; cursor: pointer; }

.account-error {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--error);
  min-height: 16px;
  margin-top: 10px;
}

.account-blurb {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
}

.account-who {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  margin-top: 10px;
}
.account-following {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 4px;
}

#account-btn { cursor: pointer; }

/* ── follow stars ────────────────────────────────────────────── */

.follow-star {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.55em;
  color: var(--faint);
  vertical-align: super;
  padding: 0 2px;
  transition: color 120ms ease-out, transform 120ms ease-out;
}
.follow-star:hover { color: var(--accent); transform: scale(1.25); }
.follow-star.is-on { color: var(--accent); }

.band { text-transform: uppercase; }
.band.is-followed { color: var(--accent); }

.show.is-yours { box-shadow: inset 3px 0 0 var(--accent); padding-left: 14px; }

.m-yours { color: var(--accent); }

.filter-yours { border-color: var(--accent); color: var(--accent); }
.filter-yours.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ── ticker ──────────────────────────────────────────────────── */

.ticker {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--rule);
  background: var(--ticker-bg);
  overflow: hidden;
}

.ticker-chip {
  flex: none;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 10px 16px;
  z-index: 2;
}

.ticker-track { overflow: hidden; flex: 1; display: flex; align-items: center; }

.ticker-inner {
  display: inline-flex;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  animation: marquee 60s linear infinite;
}
.ticker-track:hover .ticker-inner { animation-play-state: paused; }

.ticker-inner .t-item { padding: 10px 0; }
.ticker-inner .t-date { color: var(--accent); }
.ticker-inner .t-venue { color: var(--muted); }
.ticker-inner .t-sep { color: var(--faint); padding: 0 18px; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-inner { animation: none; }
  .live-dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── hero ────────────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--rule);
}

.hero-main {
  padding: clamp(32px, 6vw, 72px) clamp(20px, 4vw, 56px) clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--rule);
}

.hero-pills { display: flex; gap: 10px; margin-bottom: clamp(20px, 3vw, 36px); flex-wrap: wrap; }

.pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  padding: 6px 12px;
}
.pill-accent { background: var(--accent); color: var(--accent-ink); }
.pill-outline { border: 1px solid var(--faint); color: var(--muted); }

.headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 7.2vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: clamp(18px, 2.5vw, 30px);
  text-wrap: balance;
}

.standfirst {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.45;
  max-width: 34em;
  color: var(--prose-ink);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.accent-word { color: var(--accent); text-decoration: none; font-weight: 500; }
.accent-word:hover { text-decoration: underline; }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-byline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* the door-list artifact */
.hero-aside {
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aside-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.doorlist {
  background: var(--paper-dark);
  color: #e8e6dd;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.75;
}

.doorlist-bar { display: flex; height: 4px; }
.doorlist-bar span:first-child { flex: 3; background: var(--accent); }
.doorlist-bar span:last-child { flex: 1; background: var(--live); }

.doorlist-body { padding: 22px 24px 26px; }
.doorlist-body .dl-comment { color: #6f6c62; }
.doorlist-body .dl-band { color: #e8e6dd; }
.doorlist-body .dl-band .dl-prompt { color: var(--frame); }
.doorlist-body .dl-note { color: #b3a15e; }
.doorlist-body .dl-blank { line-height: 1; height: 12px; }

.aside-foot {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.aside-foot a { color: var(--accent); text-decoration: none; }
.aside-foot a:hover { text-decoration: underline; }

.aside-kicker-week { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }

.weekahead { display: flex; flex-direction: column; }

.weekahead .wk-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}
.weekahead .wk-row:last-child { border-bottom: none; }
.weekahead .wk-row:hover .wk-bill { color: var(--accent); }

.weekahead .wk-date {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 2px;
}

.weekahead .wk-bill { font-family: var(--font-display); font-size: 15.5px; font-weight: 500; }
.weekahead .wk-venue {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ── box score ───────────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--rule);
}

.stat {
  padding: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 40px);
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.stat-num-sm { font-size: clamp(26px, 3vw, 40px); padding-top: clamp(8px, 1.2vw, 18px); }

/* ── sections ────────────────────────────────────────────────── */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 4px;
}

.section-date {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 0.02em;
  margin-top: 8px;
}

.section-attrib {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-align: right;
  line-height: 1.7;
}
.section-attrib span { color: var(--muted); }

.calendar, .morgue, .venues {
  padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 56px);
}
.calendar { padding-bottom: clamp(24px, 3vw, 40px); }
.morgue, .venues { border-top: 1px solid var(--rule); }

/* filters */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 18px 0 6px;
}

.filter {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  background: none;
  border: 1px solid var(--faint);
  color: var(--muted);
  padding: 8px 14px;
  cursor: pointer;
  transition: all 120ms ease-out;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ── show listing ────────────────────────────────────────────── */

.day {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(22px, 2.5vw, 32px) 0;
  border-bottom: 1px solid var(--rule);
}

.day-date { position: sticky; top: 12px; align-self: start; }

.day-dow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.day-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.day-tonight {
  display: inline-block;
  margin-top: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 4px 8px;
}

.day.is-tonight .day-num { color: var(--accent); }

.show { padding: 4px 0 18px; }
.show:last-child { padding-bottom: 0; }
.show + .show { border-top: 1px dotted var(--rule); padding-top: 18px; }

.show-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.show-title .band-sep { color: var(--faint); font-weight: 400; padding: 0 2px; }
.show-title .band-note {
  font-style: italic;
  font-weight: 400;
  font-size: 0.62em;
  color: var(--muted);
  letter-spacing: 0;
}
.show-title .show-event { font-style: italic; }

.show-meta {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.show-meta .m-venue { color: var(--ink); }
.show-meta .m-presenter { color: var(--accent); }
.show-meta a { color: var(--accent); text-decoration: none; }
.show-meta a:hover { text-decoration: underline; }

.show-notes {
  margin-top: 6px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  max-width: 46em;
}

.listing-empty {
  padding: 48px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--muted);
}

/* morgue variant */
.morgue .day { opacity: 0.55; transition: opacity 200ms ease-out; }
.morgue .day:hover { opacity: 1; }
.morgue .show-title { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: var(--faint); }

/* ── venues ──────────────────────────────────────────────────── */

.venue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 8px;
}

.venue {
  padding: 28px clamp(18px, 2.5vw, 32px) 28px 0;
  border-right: 1px solid var(--rule);
}
.venue + .venue { padding-left: clamp(18px, 2.5vw, 32px); }
.venue:last-child { border-right: none; padding-right: 0; }

.venue-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.venue-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 6px 0 12px;
}

.venue p { font-size: 14px; color: var(--prose-ink-soft); max-width: 30em; }

/* ── show rows: actions column (tickets / more info) ─────────── */

.show {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 24px;
  align-items: start;
}
.show-main { min-width: 0; }

.show-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  padding-top: 6px;
}

.btn-tickets { padding: 8px 13px; font-size: 10.5px; white-space: nowrap; }

.show-more {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.show-more:hover { color: var(--accent); }

.morgue .show-actions .btn-tickets { display: none; }

a.band { text-decoration: none; }
a.band:hover { color: var(--accent); }

.show-meta a.m-venue { color: var(--ink); }
.show-meta a.m-venue:hover { color: var(--accent); }

.ticker-inner a.t-item { color: inherit; text-decoration: none; }
.ticker-inner a.t-item:hover { color: var(--accent); }

.dl-comment a { color: inherit; text-decoration: none; border-bottom: 1px dotted #6f6c62; }
.dl-comment a:hover { color: var(--frame); border-color: var(--frame); }

.dl-band a { color: inherit; text-decoration: none; border-bottom: 1px dotted #6f6c62; }
.dl-band a:hover { color: var(--frame); border-color: var(--frame); }

a.nav-brand { text-decoration: none; }

/* venue cards are links now */
a.venue { display: block; text-decoration: none; }
a.venue:hover .venue-name { color: var(--accent); }
.venue-more {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 12px;
}
a.venue:hover .venue-more { color: var(--accent); }

/* ── subpages: venue / show / band ───────────────────────────── */

.subpage {
  padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 56px) clamp(40px, 6vw, 72px);
  min-height: 55vh;
}

.crumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(22px, 3vw, 40px);
}
.crumb a { color: var(--accent); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.page-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
  text-wrap: balance;
}
.page-title .show-event { font-style: italic; }
.page-title .band { text-transform: uppercase; }
.page-title .band-sep { color: var(--faint); font-weight: 400; }
.page-title .band-note {
  font-style: italic;
  font-weight: 400;
  font-size: 0.45em;
  color: var(--muted);
  letter-spacing: 0;
}
.page-title-band { text-transform: uppercase; font-size: clamp(32px, 5vw, 64px); }

.page-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.page-meta .m-venue { color: var(--ink); text-decoration: none; }
.page-meta .m-venue:hover { color: var(--accent); }
.page-meta .m-presenter { color: var(--accent); }
.page-meta a.m-presenter { text-decoration: none; }
.page-meta a.m-presenter:hover { text-decoration: underline; }

.standfirst-sm { font-size: clamp(15px, 1.5vw, 18px); margin: 16px 0 24px; }

.venue-hero, .show-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--rule);
}

.show-hero-aside { display: flex; flex-direction: column; gap: 12px; }

.map-embed {
  display: block;
  width: 100%;
  border: 1px solid var(--rule);
  filter: grayscale(1) contrast(1.02);
}
.map-foot {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-align: right;
  margin-top: 6px;
}
.map-foot a { color: var(--muted); text-decoration: none; }
.map-foot a:hover { color: var(--accent); }

.sub-section { padding-top: clamp(32px, 4vw, 48px); }
.sub-section .section-head { margin-top: 0; }
/* front-page .morgue section rules don't apply inside subpages */
.subpage .morgue { padding: clamp(32px, 4vw, 48px) 0 0; border-top: none; }

.ticket-cta { font-size: 13px; padding: 15px 28px; }

/* on-the-bill list (show page) */
.bill-list { display: flex; flex-direction: column; margin-top: 8px; }
.bill-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dotted var(--rule);
  text-decoration: none;
}
.bill-row:hover .bill-band { color: var(--accent); }
.bill-band {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 27px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.bill-note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

/* shared-bills chips (band page) */
.mates { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mate {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--faint);
  color: var(--muted);
  padding: 8px 14px;
  transition: all 120ms ease-out;
}
.mate:hover { border-color: var(--ink); color: var(--ink); }

/* ── the about page: the editor's card ───────────────────────── */

.editor {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.editor-photo {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 var(--frame);
}

.editor-name {
  font-family: var(--font-display);
  font-size: clamp(23px, 2.4vw, 29px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 12px;
}

/* ── the tip jar & the ad desk ───────────────────────────────── */

.prose p {
  font-family: var(--font-display);
  font-size: clamp(15.5px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--prose-ink);
  max-width: 38em;
}
.prose p + p, .prose .section-head + p, .prose .plate + p { margin-top: 14px; }
.prose .section-head { margin-bottom: 16px; }

.plate {
  list-style: none;
  max-width: 38em;
  counter-reset: plate;
}
.plate li {
  font-family: var(--font-display);
  font-size: clamp(15.5px, 1.5vw, 17.5px);
  line-height: 1.5;
  color: var(--prose-ink);
  padding: 11px 0 11px 32px;
  border-bottom: 1px dotted var(--rule);
  position: relative;
}
.plate li::before {
  content: "★";
  position: absolute;
  left: 2px;
  top: 13px;
  color: var(--accent);
  font-size: 13px;
}
.plate-num li::before {
  counter-increment: plate;
  content: counter(plate) ".)";
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  top: 16px;
}

.ad-callout {
  margin-top: clamp(36px, 5vw, 56px);
  max-width: 640px;
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 var(--frame);
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.desk-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.desk-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.desk-mail {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-decoration: none;
}
.desk-mail:hover { text-decoration: underline; }
.desk-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

/* the ad-desk collage: tape, polaroids, dots, one scribble */
.ad-collage {
  position: relative;
  margin: clamp(20px, 3vw, 36px) 0 clamp(28px, 4vw, 48px);
  background: var(--frame-surface);
  border: 1px solid var(--rule);
  padding: clamp(28px, 5vw, 64px) clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3.5vw, 44px);
  overflow: hidden;
}

.tape {
  align-self: center;
  justify-self: center;
  z-index: 1;
  background: var(--paper-dark);
  color: #e8e6dd;
  font-family: var(--font-mono);
  font-size: clamp(12.5px, 1.4vw, 16px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.85;
  padding: 22px 26px;
  max-width: 32ch;
}
.tape small {
  display: block;
  margin-top: 10px;
  font-size: 0.68em;
  letter-spacing: 0.1em;
  text-transform: none;
  color: #b3a15e;
}
.tape-1 { transform: rotate(-2.4deg); }
.tape-2 { transform: rotate(1.8deg); }

.polaroid {
  justify-self: center;
  z-index: 1;
  width: min(100%, 300px);
  background: var(--polaroid-bg);
  border: 1px solid var(--rule);
  padding: 10px 10px 12px;
  box-shadow: 8px 10px 0 rgba(13, 12, 10, 0.16);
}
.polaroid-star { transform: rotate(-3deg); }
.polaroid-door { transform: rotate(2.2deg); }

.polaroid-img {
  aspect-ratio: 4 / 3;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-size: clamp(48px, 6vw, 76px);
}
.polaroid-terminal {
  background: var(--paper-dark);
  color: #e8e6dd;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 2.1;
  padding: 20px 16px;
}
.polaroid-terminal .pt-prompt { color: var(--frame); }
.polaroid-cap {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
  margin-top: 9px;
}

.collage-dots {
  position: absolute;
  left: 4%;
  bottom: 6%;
  width: 150px;
  height: 90px;
  background-image: radial-gradient(var(--ink) 2.6px, transparent 2.8px);
  background-size: 22px 22px;
  transform: rotate(-4deg);
  pointer-events: none;
}
.collage-scribble {
  position: absolute;
  top: 5%;
  right: 3%;
  width: clamp(90px, 14vw, 180px);
  color: var(--ink);
  transform: rotate(9deg);
  pointer-events: none;
}

@media (max-width: 760px) {
  .ad-collage { grid-template-columns: 1fr; }
  .collage-scribble { display: none; }
  .ad-callout .btn { width: 100%; text-align: center; }
}

/* ── footer ──────────────────────────────────────────────────── */

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 24px;
  border-top: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer a { color: var(--accent); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ── responsive ──────────────────────────────────────────────── */

@media (max-width: 980px) {
  .nav { flex-wrap: wrap; row-gap: 12px; }
  .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 6px 20px;
    padding-top: 12px;
    border-top: 1px dotted var(--rule);
  }
  .hero, .venue-hero, .show-hero { grid-template-columns: 1fr; }
  .hero-main { border-right: none; border-bottom: 1px solid var(--rule); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .venue-grid { grid-template-columns: 1fr; }
  .venue { border-right: none; border-bottom: 1px solid var(--rule); padding-left: 0 !important; }
  .venue:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .masthead { flex-direction: column; align-items: flex-start; gap: 2px; }
  .nav { flex-wrap: wrap; }
  .day { grid-template-columns: 1fr; gap: 10px; }
  .day-date { position: static; display: flex; align-items: baseline; gap: 10px; }
  .show { grid-template-columns: 1fr; }
  .show-actions { flex-direction: row; align-items: center; justify-content: flex-start; padding-top: 12px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-attrib { text-align: left; }
  .editor { grid-template-columns: 1fr; }
  .editor-photo { max-width: 220px; }
}
