/* 100shows.fans — design system
   Vintage comedy poster palette: warm cream paper, deep charcoal text,
   burnt orange primary, forest green secondary, mustard ochre warm accent.
   Masculine, no pastels, no purple, no pink. Fonts: DM Serif Display
   headings, Inter body. This file is independent from 369mind_site so
   the two sites can evolve separately. */

:root {
  --bg: #F5F0E6;            /* warm cream paper */
  --bg-alt: #E8DECB;         /* darker cream for alt sections */
  --surface: #FFFFFF;        /* cards */
  --border: #C4B59A;         /* warm tan border */
  --text: #1C1A17;           /* deep warm charcoal */
  --text-muted: #5A5048;     /* warm muted brown */
  --accent: #B8451F;         /* burnt orange / rust (primary CTA) */
  --accent-light: #D96331;    /* lighter burnt orange */
  --accent-hover: #8A2F17;    /* darker rust (hover/pressed) */
  --secondary: #1F3A2E;       /* deep forest green (secondary) */
  --accent-warm: #C19A3E;     /* mustard / ochre (warm accent, sparingly) */
  --cta-text: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(28, 26, 23, 0.08);
  --shadow-md: 0 4px 20px rgba(28, 26, 23, 0.12);
  --shadow-lg: 0 8px 40px rgba(28, 26, 23, 0.16);
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1140px;
  --radius: 12px;
  --radius-lg: 20px;
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--accent-hover); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text);
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

/* ── Layout primitives ─────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}
.section-alt { background: var(--bg-alt); }
.section-tight { padding: 32px 0; }

.page-header {
  padding: 56px 0 24px;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { margin-bottom: 0.25em; }
.page-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 60ch;
}

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.nav {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav-brand .nav-brand-dot {
  color: var(--accent-warm);
}
.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover {
  background: var(--bg-alt);
  color: var(--accent);
  text-decoration: none;
}
.nav-links a.is-active {
  background: var(--bg-alt);
  color: var(--accent);
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 64px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  max-width: 14ch;
  margin-bottom: 0.4em;
}
.hero .hero-accent { color: var(--accent-warm); }
.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 50ch;
  margin-bottom: 1.75em;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--cta-text);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--cta-text);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-ghost:hover {
  background: var(--accent);
  color: var(--cta-text);
  text-decoration: none;
}

/* ── Cards / grids ────────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card h3 {
  margin-bottom: 0.5em;
  font-size: 1.2rem;
}
.card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.card-body { font-size: 0.95rem; color: var(--text-muted); }
.card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px dashed var(--border);
  font-size: 0.92rem;
}
.card-row:first-of-type { border-top: none; padding-top: 12px; }
.card-row dt { color: var(--text-muted); font-weight: 500; }
.card-row dd { margin: 0; color: var(--text); }

/* ── Status pills ─────────────────────────────────────────────────────────── */
.status-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.status-pill.planned {
  background: var(--bg-alt);
  color: var(--accent);
}
.status-pill.contacted {
  background: #DDE7DC;       /* pale forest green */
  color: var(--secondary);
}
.status-pill.booked {
  background: #EFD9C6;       /* pale burnt orange */
  color: var(--accent);
}
.status-pill.performed {
  background: var(--accent-warm);
  color: #FFFFFF;
}
.status-pill.plan {
  background: var(--bg-alt);
  color: var(--text-muted);
}

/* ── Schedule tables ──────────────────────────────────────────────────────── */
.schedule-section {
  margin: 32px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.schedule-section summary {
  cursor: pointer;
  padding: 20px 28px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  background: var(--bg-alt);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.schedule-section summary::-webkit-details-marker { display: none; }
.schedule-section summary::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.schedule-section[open] summary::after {
  transform: rotate(45deg);
}
.schedule-section[open] summary {
  border-bottom: 1px solid var(--border);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.schedule-table thead th {
  text-align: left;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}
.schedule-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.schedule-table tbody tr:last-child td { border-bottom: none; }
.schedule-table tbody tr:hover { background: var(--bg-alt); }
.schedule-table .col-num {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* Wrap tables on small screens without breaking the layout. */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── Venue list page ──────────────────────────────────────────────────────── */
.venue-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: start;
}
.venue-card .venue-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.venue-card .venue-head h3 { margin: 0; }
.venue-card .venue-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.venue-card .venue-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.venue-card .venue-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 4px 0 12px;
}
.venue-card .venue-notes {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 36px 0;
  margin-top: 64px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.footer a { color: var(--accent); font-weight: 500; }

/* ── Error page ───────────────────────────────────────────────────────────── */
.error-page {
  padding: 96px 0;
  text-align: center;
}
.error-page h1 { font-size: 4rem; color: var(--accent-warm); margin-bottom: 0; }
.error-page p { color: var(--text-muted); max-width: 50ch; margin: 16px auto 24px; }

/* ── Mobile tweaks ────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-inner { flex-direction: column; align-items: flex-start; padding: 14px 16px; }
  .nav-links { width: 100%; overflow-x: auto; }
  .hero { padding: 56px 0 40px; }
  .section { padding: 48px 0; }
  .container, .footer-inner { padding: 0 16px; }
  .schedule-section summary { padding: 16px 20px; }
  .schedule-table thead th, .schedule-table tbody td { padding: 10px 12px; }
}
/* ── Callout (for venue page) ───────────────────────── */
.callout {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 24px 28px;
  border-radius: 8px;
  margin-bottom: 40px;
}
.callout h3 { color: var(--accent); margin-bottom: 12px; }
.callout p { color: var(--text); margin-bottom: 0; }
.callout a { color: var(--accent); text-decoration: underline; }

/* ── Subtle notes (background text) ────────────────────── */
.venue-notes.subtle {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: transparent;
  padding: 0;
}

/* ── Reviews + audio library (added in the audio+reviews slice) ── */
.show-meta-grid {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.show-meta-grid dl { margin: 0; }

.audio-grid .audio-card { display: flex; flex-direction: column; }
.audio-grid .audio-card h3 { font-size: 1.05rem; }
.audio-grid .audio-card p { margin: 0 0 8px; }

.review-form .form-row { margin: 16px 0; display: block; }
.review-form label {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 6px;
}
.review-form input[type="text"],
.review-form input[type="number"],
.review-form select,
.review-form textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-top: 6px;
}
.review-form textarea { min-height: 110px; resize: vertical; }
.review-form .math-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.review-form .math-row label { display: inline-flex; align-items: center; gap: 8px; }
.review-form .math-row input[type="number"] { width: 80px; }

/* Honeypot: visually hidden but still receives input. Most bots fill any
   text input, so a hidden URL field is the canonical signal. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.reviews-list { display: flex; flex-direction: column; gap: 16px; }
.review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.review-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: baseline;
  font-size: 0.92rem;
  color: var(--text);
}
.review-head .rating { color: var(--accent-warm); font-size: 0.95rem; letter-spacing: 1px; }
.review-head .review-time { color: var(--text-muted); font-size: 0.85rem; }
.review-body { margin: 8px 0 0; color: var(--text); font-size: 0.98rem; }
.review-reply {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--bg-alt);
  border-left: 3px solid var(--secondary);
  border-radius: 6px;
  font-size: 0.92rem;
}
.review-reply p { margin: 6px 0 0; }

.review-show-link { font-size: 0.85rem; }
.show-jump-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 6px 16px;
}
.show-jump-list li a { color: var(--text); font-size: 0.9rem; }
.show-jump-list li a:hover { color: var(--accent); }

.flash-stack { margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.flash {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
}
.flash-success { background: #DDE7DC; color: var(--secondary); border-left: 3px solid var(--secondary); }
.flash-error   { background: #EFD9C6; color: var(--accent); border-left: 3px solid var(--accent); }

.admin-review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 16px;
}
.admin-review-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
.admin-review-meta { font-size: 0.85rem; color: var(--text-muted); }
.admin-review-meta code { background: var(--bg-alt); padding: 1px 4px; border-radius: 3px; }
.admin-actions { margin-top: 12px; }
.admin-actions summary {
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}
.admin-action-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.admin-action-form label { font-size: 0.85rem; color: var(--text-muted); }
.admin-action-form textarea {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
}
