/* ComedyPhilly — site styles.
   Element-based (the markup uses semantic tags, no classes), shared by every page
   via <link rel="stylesheet" href="/style.css">.
   Brand kit applied 2026-07-11: high-contrast comedy-poster palette + display type
   (#171717 near-black · #F5F0E6 cream · #E0361F punch red · #6B6B6B gray). */

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

:root {
  --bg: #f5f0e6;            /* brand cream */
  --surface: #ffffff;
  --ink: #171717;           /* brand near-black */
  --muted: #6b6b6b;         /* brand gray */
  --line: #e6dfd0;
  --accent: #e0361f;        /* brand punch red */
  --accent-ink: #b3271a;
  --radius: 12px;
  --wrap: 820px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Archivo Black", "Inter", sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}

/* ---------- header / nav ---------- */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
header nav {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
header nav strong {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
header nav strong::before { content: "🎤 "; }
header nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
}
header nav ul li a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
header nav ul li a:hover { border-bottom-color: var(--accent); }

/* ---------- main ---------- */
main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px 24px 24px;
}
main > h1 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
main > p { color: var(--muted); font-size: 1.08rem; max-width: 64ch; }

section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px 28px;
  margin-top: 30px;
}
section h2 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}
section > p { margin: 10px 0 16px; }

/* directory lists — each li a tappable row */
section ul { list-style: none; display: grid; gap: 10px; }
section ul li a {
  display: block;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition: border-color .15s ease, transform .05s ease;
}
section ul li a:hover { border-color: var(--accent); }
section ul li a:active { transform: translateY(1px); }

/* "View all →" style link (a bare <p><a>) */
section > p > a {
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
}
section > p > a:hover { text-decoration: underline; }

/* ---------- article / detail pages ---------- */
article { max-width: var(--wrap); }
article h2 { font-size: 1.25rem; margin: 22px 0 8px; }
article p { margin: 10px 0; }
article img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 8px 0 18px;
  display: block;
}
article ul { margin: 8px 0 8px 1.25rem; }
article a { color: var(--accent-ink); }

/* generic links inside content */
main a { color: var(--accent-ink); }

/* ---------- footer ---------- */
footer {
  max-width: var(--wrap);
  margin: 40px auto 0;
  padding: 22px 24px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- responsive ---------- */
@media (max-width: 560px) {
  header nav { padding: 12px 16px; }
  header nav ul { gap: 16px; }
  main { padding: 30px 16px 20px; }
  section { padding: 20px 18px 22px; }
  footer { padding: 20px 16px 40px; }
}
