/* =============================================================================
   South Metro Live — Bento Redesign
   Design tokens & components per landing-page/design/tokens.md
   Default theme: bone (Bone + Brick Red). Alternates: paper, cream.
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* -----------------------------------------------------------------------------
   Theme: Bone (default) — cool bone-white + brick red. Locked production palette.
----------------------------------------------------------------------------- */
:root,
:root[data-theme="bone"] {
  --bg: #F2F0EB;
  --surface: #FFFFFF;
  --surface-elevated: #F8F7F3;
  --border: #DAD6CD;
  --text-primary: #1A1814;
  --text-secondary: #4A463E;
  --text-muted: #6E6A5E;
  --accent: #B8392F;
  --accent-strong: #952820;
  --accent-soft: rgba(184, 57, 47, 0.10);
  --accent-glow: rgba(184, 57, 47, 0.18);
  --accent-fg: #FFFFFF;
  --success: #1F7A3A;
  --success-bg: rgba(31, 122, 58, 0.10);
  --error: #B8392F;
  --error-bg: rgba(184, 57, 47, 0.10);

  /* Event categories — used as left-border + label color in the This Week list */
  --cat-music:   #B8392F;
  --cat-trivia:  #4A6FA5;
  --cat-karaoke: #8B5CA8;
  --cat-openmic: #5B8C5A;
  --cat-event:   #6E6A5E;
}

/* -----------------------------------------------------------------------------
   Theme: Paper (alternate) — warm white + brick red. Newsprint editorial.
----------------------------------------------------------------------------- */
:root[data-theme="paper"] {
  --bg: #F8F6F0;
  --surface: #FFFFFF;
  --surface-elevated: #FCFAF4;
  --border: #DDD8C8;
  --text-primary: #1A1814;
  --text-secondary: #4A463E;
  --text-muted: #6E6A5E;
  --accent: #B8392F;
  --accent-strong: #952820;
  --accent-soft: rgba(184, 57, 47, 0.10);
  --accent-glow: rgba(184, 57, 47, 0.18);
  --accent-fg: #FFFFFF;
  --success: #1F7A3A;
  --success-bg: rgba(31, 122, 58, 0.10);
  --error: #B8392F;
  --error-bg: rgba(184, 57, 47, 0.10);

  --cat-music:   #B8392F;
  --cat-trivia:  #4A6FA5;
  --cat-karaoke: #8B5CA8;
  --cat-openmic: #5B8C5A;
  --cat-event:   #6E6A5E;
}

/* -----------------------------------------------------------------------------
   Theme: Cream + deep teal/forest. Literary, Penguin-Classics warmth.
----------------------------------------------------------------------------- */
:root[data-theme="cream"] {
  --bg: #F1ECDC;
  --surface: #FBF7E8;
  --surface-elevated: #F5F0DD;
  --border: #D9CFB6;
  --text-primary: #1A2622;
  --text-secondary: #424E48;
  --text-muted: #5A645E;
  --accent: #1B5E50;
  --accent-strong: #134438;
  --accent-soft: rgba(27, 94, 80, 0.10);
  --accent-glow: rgba(27, 94, 80, 0.18);
  --accent-fg: #FBF7E8;
  --success: #1B5E50;
  --success-bg: rgba(27, 94, 80, 0.10);
  --error: #B23B2C;
  --error-bg: rgba(178, 59, 44, 0.10);

  --cat-music:   #B23B2C;
  --cat-trivia:  #4A6FA5;
  --cat-karaoke: #8B5CA8;
  --cat-openmic: #5B8C5A;
  --cat-event:   #5A645E;
}

/* -----------------------------------------------------------------------------
   Shared tokens (typography, spacing, radius, motion)
----------------------------------------------------------------------------- */
:root {
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 32px;
  --text-4xl: clamp(40px, 6vw, 56px);
  --text-5xl: clamp(56px, 9vw, 96px);

  --tracking-tight: -0.02em;
  --tracking-wide: 0.08em;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 20, 20, 0.06);
  --shadow-md: 0 2px 8px rgba(20, 20, 20, 0.08), 0 1px 2px rgba(20, 20, 20, 0.04);
  --shadow-lg: 0 8px 24px rgba(20, 20, 20, 0.10), 0 2px 6px rgba(20, 20, 20, 0.06);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --duration-slow: 320ms;
}

/* -----------------------------------------------------------------------------
   Reset & base
----------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.5;
  background-color: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}

a:hover { color: var(--accent-strong); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

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

/* -----------------------------------------------------------------------------
   Layout: container + bento grid
----------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

@media (min-width: 1024px) {
  .container {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }
}

.bento-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .bento-grid { gap: var(--space-4); grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .bento-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 1024px) {
  .bento-grid { gap: var(--space-5); grid-template-columns: repeat(12, 1fr); }
}

/* Tile span helpers */
.tile-hero      { grid-column: 1 / -1; }
.tile-feature   { grid-column: 1 / -1; }
.tile-half      { grid-column: 1 / -1; }
.tile-third     { grid-column: 1 / -1; }
.tile-quarter   { grid-column: 1 / -1; }
.tile-full      { grid-column: 1 / -1; }

@media (min-width: 480px) {
  .tile-feature { grid-column: span 1; }
  .tile-half    { grid-column: span 2; }
  .tile-quarter { grid-column: span 1; }
}
@media (min-width: 768px) {
  .tile-hero    { grid-column: span 6; }
  .tile-feature { grid-column: span 3; }
  .tile-half    { grid-column: span 3; }
  .tile-third   { grid-column: span 2; }
  .tile-quarter { grid-column: span 3; }
  .tile-full    { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .tile-hero    { grid-column: span 8; }
  .tile-feature { grid-column: span 4; }
  .tile-half    { grid-column: span 6; }
  .tile-third   { grid-column: span 4; }
  .tile-quarter { grid-column: span 3; }
}

/* -----------------------------------------------------------------------------
   Bento tile (base)
----------------------------------------------------------------------------- */
.tile {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  transition: background-color var(--duration-base) var(--ease),
              transform var(--duration-base) var(--ease),
              border-color var(--duration-base) var(--ease),
              box-shadow var(--duration-base) var(--ease);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tile-interactive:hover,
.tile-interactive:focus-within {
  background-color: var(--surface-elevated);
  border-color: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tile-accent {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elevated) 100%);
  border-color: var(--accent-soft);
}

.tile-padded-lg { padding: var(--space-6); }

@media (min-width: 1024px) {
  .tile { padding: var(--space-6); }
  .tile-padded-lg { padding: var(--space-7); }
}

/* -----------------------------------------------------------------------------
   Typography utilities
----------------------------------------------------------------------------- */
.kicker {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--accent);
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
  color: var(--text-primary);
}

.display-xl { font-size: var(--text-5xl); }
.display-lg { font-size: var(--text-4xl); }
.display-md { font-size: var(--text-3xl); line-height: 1.15; }

.headline {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
}

.body-lg {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--text-secondary);
}

.body { font-size: var(--text-base); line-height: 1.55; color: var(--text-secondary); }

.muted { color: var(--text-muted); font-size: var(--text-sm); }

/* -----------------------------------------------------------------------------
   Navigation
----------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(242, 240, 235, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

:root[data-theme="paper"] .nav { background-color: rgba(248, 246, 240, 0.85); }
:root[data-theme="cream"] .nav { background-color: rgba(241, 236, 220, 0.85); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  letter-spacing: 0.08em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

@media (min-width: 768px) {
  .wordmark { font-size: var(--text-xl); }
}

/* Brand mark: solid brick-red dot with a 2.4s radio-tower pulse.
   Per the design system (design-system/project/README.md → Iconography). */
.wordmark .accent-dot {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.wordmark .accent-dot::before,
.wordmark .accent-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--accent);
  border-radius: 999px;
}

.wordmark .accent-dot::after {
  inset: -6px;
  opacity: 0;
  animation: mn-pulse 2.4s ease-out infinite;
}

@keyframes mn-pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

.nav-links {
  display: none;
  gap: var(--space-5);
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-links a[aria-current="page"] {
  color: var(--text-primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

/* Hamburger toggle: visible <768px, hidden ≥768px */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  border-radius: 8px;
  flex-shrink: 0;
}

.nav-toggle:hover { background: rgba(0, 0, 0, 0.05); }
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
  transition: transform 200ms ease, opacity 200ms ease, background-color 200ms ease;
}

.nav-toggle-icon { position: relative; }
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
}
.nav-toggle-icon::before { top: -7px; }
.nav-toggle-icon::after  { top:  7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-icon         { background-color: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after  { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-down panel.
   The <nav aria-label="Primary"> element is the panel wrapper; on mobile it
   absolute-positions below the sticky header and slides via max-height. */
@media (max-width: 767px) {
  .nav-inner > nav[aria-label="Primary"] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #f2f0eb;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    max-height: 0;
    transition: max-height 220ms ease;
  }

  :root[data-theme="paper"] .nav-inner > nav[aria-label="Primary"] { background-color: #f8f6f0; }
  :root[data-theme="cream"] .nav-inner > nav[aria-label="Primary"] { background-color: #f1ecdc; }

  .nav-toggle[aria-expanded="true"] ~ nav[aria-label="Primary"] {
    max-height: 80vh;
  }

  .nav-toggle[aria-expanded="true"] ~ nav[aria-label="Primary"] .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: var(--space-2) var(--space-5) var(--space-4);
  }

  .nav-toggle[aria-expanded="true"] ~ nav[aria-label="Primary"] .nav-links a {
    display: block;
    padding: var(--space-3) 0;
    font-size: var(--text-base);
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle[aria-expanded="true"] ~ nav[aria-label="Primary"] .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav-toggle[aria-expanded="true"] ~ nav[aria-label="Primary"] .nav-links a[aria-current="page"] {
    border-bottom-color: var(--accent);
    border-bottom-width: 2px;
  }
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
}

/* -----------------------------------------------------------------------------
   Theme switcher
----------------------------------------------------------------------------- */
.theme-switcher {
  position: fixed;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  gap: var(--space-1);
  padding: var(--space-1);
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .theme-switcher {
    bottom: auto;
    top: var(--space-4);
    left: auto;
    right: var(--space-4);
    transform: none;
  }
}

.theme-switcher button {
  appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: color var(--duration-fast) var(--ease),
              background-color var(--duration-fast) var(--ease);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .theme-switcher button {
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
  }
}

.theme-switcher button:hover { color: var(--text-primary); }

.theme-switcher button[aria-pressed="true"] {
  color: var(--accent-fg);
  background-color: var(--accent);
}

/* -----------------------------------------------------------------------------
   Hero
----------------------------------------------------------------------------- */
.hero {
  padding-top: var(--space-7);
  padding-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .hero { padding-top: var(--space-7); padding-bottom: var(--space-5); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.hero-headline .accent-text { color: var(--accent); }

.hero-sub {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--text-secondary);
}

/* -----------------------------------------------------------------------------
   Form
----------------------------------------------------------------------------- */
.signup {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.signup-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

@media (min-width: 480px) {
  .signup-row { flex-direction: row; }
  .signup-row > * { flex: 1; }
}

.input {
  width: 100%;
  padding: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  background-color: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration-fast) var(--ease),
              background-color var(--duration-fast) var(--ease);
  min-height: 48px;
}

.input::placeholder { color: var(--text-muted); }
.input:focus { border-color: var(--accent); outline: 2px solid var(--accent-soft); outline-offset: 0; background-color: var(--surface-elevated); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  min-height: 48px;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease),
              transform var(--duration-fast) var(--ease),
              box-shadow var(--duration-base) var(--ease);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--accent-fg);
}

.btn-primary:hover {
  background-color: var(--accent-strong);
  box-shadow: var(--shadow-md);
}

.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { background-color: var(--text-muted); cursor: not-allowed; transform: none; box-shadow: none; }

.btn-block { width: 100%; }

.btn-sm {
  padding: var(--space-2) var(--space-4);
  min-height: 36px;
  font-size: var(--text-sm);
}

/* Stacked CTA group: one column on mobile, two columns at tablet+ */
.cta-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cta-stack { grid-template-columns: 1fr 1fr; }
}

/* -----------------------------------------------------------------------------
   Messages
----------------------------------------------------------------------------- */
.message {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  line-height: 1.45;
  display: none;
}

.message.success {
  display: block;
  background-color: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success);
}

.message.error {
  display: block;
  background-color: var(--error-bg);
  color: var(--error);
  border: 1px solid var(--error);
}

/* -----------------------------------------------------------------------------
   Pill / Tag
----------------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background-color: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.pill-muted {
  background-color: var(--surface-elevated);
  color: var(--text-secondary);
}

/* -----------------------------------------------------------------------------
   Event card (specialized bento tile)
----------------------------------------------------------------------------- */
.event-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  transition: background-color var(--duration-base) var(--ease),
              transform var(--duration-base) var(--ease),
              border-color var(--duration-base) var(--ease),
              box-shadow var(--duration-base) var(--ease);
  text-decoration: none;
  color: var(--text-primary);
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  opacity: 0.7;
}

.event-card:hover,
.event-card:focus-visible {
  background-color: var(--surface-elevated);
  border-color: var(--accent-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.event-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.event-date .day {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}

.event-date .date-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  color: var(--accent);
}

.event-time {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  /* AA-safe: --accent-strong (#952820) on --accent-soft tint reaches ~5.5:1.
     --accent (#B8392F) on the same tint sat at ~4.0:1 (borderline AA). */
  color: var(--accent-strong);
  background-color: var(--accent-soft);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.event-artist {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  /* Reserve space for two lines so cards align across the bento row regardless
     of whether the artist name wraps. */
  min-height: 2.4em;
}

.event-venue {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  /* Reserve two lines for the venue line as well so stacks align. */
  min-height: 2.6em;
}

.event-venue .city { color: var(--text-muted); }

.event-link {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: auto;
}

.event-card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  /* Favor the top of the photo so faces remain in view when portraits get
     cropped to the 16:10 frame. */
  object-position: center 20%;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.45),
              0 2px 4px -2px rgba(0, 0, 0, 0.25);
  background-color: var(--surface-elevated);
}

.event-card-past {
  opacity: 0.7;
}

.event-card-past::before {
  background: var(--border);
  opacity: 0.5;
}

.event-card-past .event-date .date-num {
  color: var(--text-muted);
}

.event-card-past .event-time {
  color: var(--text-muted);
  background-color: var(--surface-elevated);
}

/* -----------------------------------------------------------------------------
   Event grid (3-up desktop, 2-up tablet, 1-up mobile)
----------------------------------------------------------------------------- */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

@media (max-width: 960px) {
  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .event-grid {
    grid-template-columns: 1fr;
  }
}

/* -----------------------------------------------------------------------------
   Artist hero photo
----------------------------------------------------------------------------- */
.artist-photo {
  margin: var(--space-4) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 320px;
  border: 1px solid var(--border);
  background-color: var(--surface);
}

.artist-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-credit {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-2);
  padding: 0 var(--space-3) var(--space-2);
}

.kicker-muted {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--space-2);
}

/* -----------------------------------------------------------------------------
   Artist directory cards
----------------------------------------------------------------------------- */
.dir-letter-heading {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent);
  margin: var(--space-6) 0 var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--accent-soft);
}

.dir-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (max-width: 600px) {
  .dir-grid {
    grid-template-columns: 1fr;
  }
}

.dir-card {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-3);
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color var(--duration-base) var(--ease),
              transform var(--duration-base) var(--ease),
              box-shadow var(--duration-base) var(--ease);
}

.dir-card:hover,
.dir-card:focus-visible {
  border-color: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.dir-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background-color: var(--surface-elevated);
}

.dir-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  color: var(--text-muted);
}

.dir-text {
  flex: 1;
  min-width: 0;
}

.dir-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  margin: 0 0 var(--space-1);
  color: var(--text-primary);
}

.dir-genre {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  font-style: italic;
  margin: 0 0 var(--space-1);
}

.dir-stats {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin: 0;
}

/* -----------------------------------------------------------------------------
   Venue directory
----------------------------------------------------------------------------- */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (max-width: 720px) {
  .venue-grid {
    grid-template-columns: 1fr;
  }
}

.venue-card {
  padding: var(--space-4);
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.venue-card-type {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent);
}

.venue-card-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.venue-card-name a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-base) var(--ease);
}

.venue-card-name a:hover,
.venue-card-name a:focus-visible {
  border-bottom-color: var(--accent);
}

.venue-card-address {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.venue-card-links {
  font-size: var(--text-sm);
}

.venue-card-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.venue-card-links a:hover,
.venue-card-links a:focus-visible {
  text-decoration: underline;
}

/* -----------------------------------------------------------------------------
   This Week — day sections + compact event rows
----------------------------------------------------------------------------- */
.tw-weeknav {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.tw-weeknav .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.tw-weeknav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.tw-weeknav strong {
  color: var(--text-primary);
}

.tw-day {
  padding-top: var(--space-6);
  padding-bottom: var(--space-2);
}

.tw-day-heading {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--accent-soft);
}

.tw-event-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tw-event {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-3) var(--space-4);
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
}

.tw-event-trivia  { border-left-color: var(--cat-trivia); }
.tw-event-event   { border-left-color: var(--cat-event); }
.tw-event-karaoke { border-left-color: var(--cat-karaoke); }
.tw-event-openmic { border-left-color: var(--cat-openmic); }

.tw-event-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  font-family: var(--font-display);
}

.tw-event-cat {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent);
}

.tw-event-trivia  .tw-event-cat { color: var(--cat-trivia); }
.tw-event-event   .tw-event-cat { color: var(--cat-event); }
.tw-event-karaoke .tw-event-cat { color: var(--cat-karaoke); }
.tw-event-openmic .tw-event-cat { color: var(--cat-openmic); }

.tw-event-time {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.tw-event-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.tw-event-title a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-base) var(--ease);
}

.tw-event-title a:hover,
.tw-event-title a:focus-visible {
  border-bottom-color: var(--accent);
}

.tw-event-venue {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.tw-event-venue a {
  color: var(--text-secondary);
  text-decoration: none;
}

.tw-event-venue a:hover,
.tw-event-venue a:focus-visible {
  color: var(--accent);
}

.event-genre {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-style: italic;
  margin-top: var(--space-1);
}

/* Artist photo on /this-week/ cards. Adds a 96px column to the left
   of the existing meta column. Use class `tw-event-with-photo` on the
   <article> and place an <img class="tw-event-photo"> as the first child. */
.tw-event-with-photo {
  grid-template-columns: 96px 140px 1fr;
}

.tw-event-photo {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
  /* Favor the top of the photo so faces stay in frame on tall portraits. */
  object-position: center 20%;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.40),
              0 1px 2px -1px rgba(0, 0, 0, 0.25);
  background-color: var(--surface-elevated);
  grid-column: 1;
  grid-row: 1 / span 2;
}

/* Default placeholder when a music card has no artist photo on file. Uses
   the SML wordmark/band image so cards line up visually across the list
   instead of leaving a blank tile. */
.tw-event-photo-empty {
  background-image: url("/sml-default-artist.png");
  background-size: cover;
  background-position: center;
  background-color: var(--surface-elevated);
}

.tw-event-with-photo .tw-event-meta { grid-column: 2; grid-row: 1; }
.tw-event-with-photo .tw-event-title { grid-column: 3; grid-row: 1; }
.tw-event-with-photo .tw-event-venue { grid-column: 3; grid-row: 2; }
.tw-event-with-photo .event-genre { grid-column: 3; grid-row: 3; }

/* Trivia + karaoke cards have no artist photo. Inject a 72px black-and-white
   icon into the same first column the photo would occupy. Pure-CSS so the
   weekly regeneration task doesn't need to know about it. */
.tw-event-trivia:not(.tw-event-with-photo),
.tw-event-karaoke:not(.tw-event-with-photo) {
  grid-template-columns: 96px 140px 1fr;
}
.tw-event-trivia:not(.tw-event-with-photo)::before,
.tw-event-karaoke:not(.tw-event-with-photo)::before {
  content: "";
  display: block;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  border: 1px solid var(--border);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 72px 72px;
  grid-column: 1;
  grid-row: 1 / span 2;
}
.tw-event-trivia:not(.tw-event-with-photo)::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M9.1 9a3 3 0 1 1 5.5 1.7c-.7 1-2.6 1.5-2.6 3.3'/><line x1='12' y1='17.5' x2='12.01' y2='17.5'/></svg>");
}
.tw-event-karaoke:not(.tw-event-with-photo)::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='9' y='2' width='6' height='13' rx='3'/><path d='M19 11a7 7 0 0 1-14 0'/><line x1='12' y1='19' x2='12' y2='22'/><line x1='8' y1='22' x2='16' y2='22'/></svg>");
}
.tw-event-trivia:not(.tw-event-with-photo) .tw-event-meta { grid-column: 2; grid-row: 1; }
.tw-event-trivia:not(.tw-event-with-photo) .tw-event-title { grid-column: 3; grid-row: 1; }
.tw-event-trivia:not(.tw-event-with-photo) .tw-event-venue { grid-column: 3; grid-row: 2; }
.tw-event-karaoke:not(.tw-event-with-photo) .tw-event-meta { grid-column: 2; grid-row: 1; }
.tw-event-karaoke:not(.tw-event-with-photo) .tw-event-title { grid-column: 3; grid-row: 1; }
.tw-event-karaoke:not(.tw-event-with-photo) .tw-event-venue { grid-column: 3; grid-row: 2; }

@media (max-width: 600px) {
  .tw-event {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
  .tw-event-meta {
    flex-direction: row;
    align-items: baseline;
    gap: var(--space-2);
  }
  .tw-event-with-photo {
    grid-template-columns: 64px 1fr;
  }
  .tw-event-with-photo .tw-event-photo {
    width: 64px;
    height: 64px;
    grid-row: 1 / span 3;
  }
  .tw-event-with-photo .tw-event-meta { grid-column: 2; grid-row: 1; }
  .tw-event-with-photo .tw-event-title { grid-column: 2; grid-row: 2; }
  .tw-event-with-photo .tw-event-venue { grid-column: 2; grid-row: 3; }
  .tw-event-with-photo .event-genre { grid-column: 2; grid-row: 4; }

  .tw-event-trivia:not(.tw-event-with-photo),
  .tw-event-karaoke:not(.tw-event-with-photo) {
    grid-template-columns: 64px 1fr;
  }
  .tw-event-trivia:not(.tw-event-with-photo)::before,
  .tw-event-karaoke:not(.tw-event-with-photo)::before {
    width: 64px;
    height: 64px;
    background-size: 48px 48px;
    grid-row: 1 / span 3;
  }
  .tw-event-trivia:not(.tw-event-with-photo) .tw-event-meta,
  .tw-event-karaoke:not(.tw-event-with-photo) .tw-event-meta { grid-column: 2; grid-row: 1; }
  .tw-event-trivia:not(.tw-event-with-photo) .tw-event-title,
  .tw-event-karaoke:not(.tw-event-with-photo) .tw-event-title { grid-column: 2; grid-row: 2; }
  .tw-event-trivia:not(.tw-event-with-photo) .tw-event-venue,
  .tw-event-karaoke:not(.tw-event-with-photo) .tw-event-venue { grid-column: 2; grid-row: 3; }
}

/* -----------------------------------------------------------------------------
   Value-prop tile
----------------------------------------------------------------------------- */
.vp {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.vp-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}

.vp-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.vp-body { color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.5; }

/* -----------------------------------------------------------------------------
   FAQ
----------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  transition: background-color var(--duration-base) var(--ease),
              border-color var(--duration-base) var(--ease);
}

.faq-item[open] { border-color: var(--accent-soft); }

.faq-summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 48px;
}

.faq-summary::-webkit-details-marker { display: none; }

.faq-summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  transition: transform var(--duration-base) var(--ease);
}

.faq-item[open] .faq-summary::after { content: '\2013'; }

.faq-body {
  padding: 0 var(--space-5) var(--space-4);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* -----------------------------------------------------------------------------
   Footer
----------------------------------------------------------------------------- */
.footer {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--space-6) 0;
  margin-top: var(--space-8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  row-gap: var(--space-4);
  column-gap: var(--space-4);
  text-align: center;
}

.footer-inner > p {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

.footer-inner > .footer-links {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
}

.footer p { color: var(--text-muted); font-size: var(--text-sm); }
.footer p strong { color: var(--text-primary); font-weight: 600; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  list-style: none;
}

.footer-links a { color: var(--text-secondary); font-size: var(--text-sm); }
.footer-links a:hover { color: var(--accent); }

.footer-socials {
  display: flex;
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-inner > .footer-socials,
  .footer-inner > p,
  .footer-inner > .footer-links {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
  }
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background-color: transparent;
  transition: color 120ms ease, border-color 120ms ease, background-color 120ms ease;
}

.footer-social:hover,
.footer-social:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  background-color: var(--surface-elevated);
}

.footer-social svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: currentColor;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icons .footer-social {
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.social-icons .footer-social:hover,
.social-icons .footer-social:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

/* -----------------------------------------------------------------------------
   Section heading
----------------------------------------------------------------------------- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.section-head .kicker { color: var(--accent); }

.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

.section-head .more-link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  margin-top: var(--space-2);
}

@media (min-width: 768px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .section-head > div { display: flex; flex-direction: column; gap: var(--space-2); }
  .section-head .more-link { margin-top: 0; }
}

/* -----------------------------------------------------------------------------
   Section spacing
----------------------------------------------------------------------------- */
.section { padding: var(--space-6) 0; }

@media (min-width: 768px) {
  .section { padding: var(--space-5) 0; }
}

/* -----------------------------------------------------------------------------
   Text-only block (no tile chrome) — used for editorial/about/value-prop copy
   Matches the container width of other sections.
----------------------------------------------------------------------------- */
.text-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.text-block .kicker { color: var(--accent); }

.text-block h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin: 0;
}

.text-block .body-lg { color: var(--text-secondary); margin: 0; }
.text-block .body-lg strong { color: var(--text-primary); font-weight: 600; }
.text-block .muted { margin: 0; }

.text-block a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-fast) var(--ease);
}
.text-block a:hover { border-bottom-color: var(--accent); }

.venue-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.venue-list li {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-secondary);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}
.venue-list li:last-child { border-bottom: none; }
.venue-list strong {
  color: var(--text-primary);
  font-weight: 600;
  margin-right: var(--space-2);
}

/* -----------------------------------------------------------------------------
   Archive tiles (clickable past-issue cards)
----------------------------------------------------------------------------- */
.archive-tile {
  text-decoration: none;
  color: var(--text-primary);
}
.archive-tile h3 {
  margin: var(--space-2) 0;
}
.archive-tile:hover h3,
.archive-tile:focus-visible h3 {
  color: var(--accent);
}

/* =============================================================================
   VENUE DETAIL PAGE
   New layout shipped 2026-05-08: header + 2-column (about + map) + photo-card
   shows grid + show-more button + newsletter CTA. Ported from Claude Design
   handoff (sml-venue-page-design / Venue Page.html).

   Naming notes:
   - `.venue-info-grid` is the per-venue 2-col layout. Don't conflate with
     `.venue-grid` higher up in this file, which is the directory grid on
     /venues/index.html.
   - The design used --fg-1/--fg-2/--fg-3 tokens; mapped here to our existing
     --text-primary/--text-secondary/--text-muted.
============================================================================= */

/* Page-level breadcrumb / kicker row above the venue title */
.venue-page-head {
  padding: var(--space-6) 0 var(--space-3);
}
.venue-page-head .crumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}
.venue-page-head .crumbs a { color: var(--text-muted); }
.venue-page-head .crumbs a:hover { color: var(--accent); }
.venue-page-head .crumbs .sep { color: var(--border); }
.venue-page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: var(--text-primary);
  margin: 0;
  text-wrap: balance;
}
.venue-page-head .meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-4);
  color: var(--text-secondary);
  font-size: 15px;
}
.venue-page-head .meta-row .pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 4px 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-full);
}

/* Two-column — venue info + map, side by side on desktop */
.venue-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: stretch;
}
@media (max-width: 900px) {
  .venue-info-grid { grid-template-columns: 1fr; }
}

.venue-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
@media (max-width: 768px) {
  .venue-tile { padding: var(--space-5); }
}

.venue-tile h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0;
}
.venue-tile .venue-blurb {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Address line */
.venue-address {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
}
.venue-address .label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex: 0 0 80px;
  padding-top: 2px;
}
.venue-address .value {
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.5;
}
.venue-address .value a {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
}

/* Venue link list (website + maps link) */
.venue-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.venue-links a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}
.venue-links a:hover { color: var(--accent-strong); }

/* Social icons row */
.venue-socials {
  display: flex;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}
.venue-socials .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  background: var(--surface);
  transition:
    color var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease),
    background var(--duration-fast) var(--ease),
    transform var(--duration-fast) var(--ease);
}
.venue-socials .social-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}
.venue-socials .social-icon:hover {
  color: var(--accent);
  border-color: var(--accent-soft);
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.venue-socials .social-icon:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Map tile — wraps the iframe */
.venue-map-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.venue-map-tile iframe {
  flex: 1;
  width: 100%;
  border: 0;
  display: block;
  min-height: 360px;
}
.venue-map-tile .map-foot {
  border-top: 1px solid var(--border);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: 13px;
  color: var(--text-muted);
  background: var(--surface-elevated);
}
.venue-map-tile .map-foot a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
}

/* ----- Upcoming shows ----- */
.shows-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 1024px) {
  .shows-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .shows-grid { grid-template-columns: 1fr; }
}

.show-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  color: var(--text-primary);
  text-decoration: none;
  transition:
    transform var(--duration-base) var(--ease),
    box-shadow var(--duration-base) var(--ease),
    border-color var(--duration-base) var(--ease);
}
.show-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
}
.show-card[data-hidden="true"] { display: none; }

/* Thumbnail (artist photo). Falls back to a typographic monogram tile. */
.show-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-elevated);
  overflow: hidden;
}
.show-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.show-thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, var(--surface-elevated) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--border);
}
.show-thumb.placeholder .monogram {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  opacity: 0.45;
  line-height: 1;
}
/* Karaoke + trivia placeholders use a black-and-white SVG icon at 72px
   instead of letters. The icon is inlined by _generate.py inside an
   element with class .placeholder-icon. */
.show-thumb.placeholder .placeholder-icon {
  display: block;
  color: #000;
  line-height: 0;
}
.show-thumb.placeholder .placeholder-icon svg {
  width: 72px;
  height: 72px;
  display: block;
}
.show-thumb .cat-tag {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-fg);
  background: var(--accent);
  border-radius: var(--radius-full);
}
.show-thumb .cat-tag.cat-music   { background: var(--cat-music); }
.show-thumb .cat-tag.cat-trivia  { background: var(--cat-trivia); }
.show-thumb .cat-tag.cat-karaoke { background: var(--cat-karaoke); }
.show-thumb .cat-tag.cat-openmic { background: var(--cat-openmic); }
.show-thumb .cat-tag.cat-event   { background: var(--cat-event); }

.show-body {
  padding: var(--space-4) var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}
.show-when {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}
.show-when .day { color: var(--accent); }
.show-when .sep { color: var(--border); }
.show-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0;
  text-wrap: balance;
}
.show-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-3);
  font-size: 13px;
  color: var(--text-muted);
}
.show-foot .arrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

/* "Show more" mid-page break */
.shows-more {
  display: flex;
  justify-content: center;
  margin-top: var(--space-5);
}
.shows-more button {
  background: transparent;
  border: 1px solid var(--border);
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease),
              color var(--duration-fast) var(--ease),
              background var(--duration-fast) var(--ease);
}
.shows-more button:hover {
  border-color: var(--accent-soft);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Bottom newsletter CTA — big bone tile with brick accent */
.venue-cta {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  text-align: center;
}
.venue-cta .kicker { display: inline-block; }
.venue-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: var(--space-3) 0 var(--space-3);
  text-wrap: balance;
}
.venue-cta p { max-width: 56ch; margin: 0 auto var(--space-5); color: var(--text-secondary); }
.venue-cta .signup { max-width: 480px; margin: 0 auto; }
@media (max-width: 768px) {
  .venue-cta { padding: var(--space-6) var(--space-5); }
}

/* "All venues" back-link strip below CTA */
.venue-foot-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-5);
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.venue-foot-nav a { color: var(--text-secondary); }
.venue-foot-nav a:hover { color: var(--accent); }
.venue-foot-nav .sep { color: var(--border); }

/* -----------------------------------------------------------------------------
   Reduced motion
----------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
