:root {
  --bg: #faf6ee;
  --paper: #fffaf0;
  --ink: #2a1a2e;
  --ink-soft: #5b4f44;
  --rule: #e6dcc6;
  --burgundy: #7a1a2b;
  --burgundy-deep: #5c1220;
  --gold: #b8862a;
  --cream: #f5e9c8;
  --moss: #4a5d3a;
  --shadow: 0 1px 0 rgba(26,20,16,.04), 0 12px 32px -16px rgba(92,18,32,.18);
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Masthead */
.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(8px);
}
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--burgundy); text-decoration: none;
  font-family: 'General Sans', sans-serif; font-weight: 600;
  letter-spacing: -0.01em; font-size: 17px;
}
.logo { width: 36px; height: 24px; }
.meta { color: var(--ink-soft); font-size: 13px; display:flex; align-items:center; gap:8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--moss); display: inline-block; box-shadow: 0 0 0 4px rgba(74,93,58,.15); }

/* Hero */
.hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('hero-stage.png');
  background-size: cover;
  background-position: right center;
  /* Fade the image into the cream background from left to right so the headline stays crisp */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 25%, rgba(0,0,0,.55) 50%, #000 75%);
          mask-image: linear-gradient(to right, transparent 0%, transparent 25%, rgba(0,0,0,.55) 50%, #000 75%);
  opacity: .92;
  pointer-events: none;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .hero::before { display: none; }
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px;
  color: var(--burgundy); font-weight: 600; margin: 0 0 18px;
}
.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02; letter-spacing: -0.02em;
  margin: 0 0 20px; max-width: 14ch;
}
.hero h1 .ital { font-style: italic; font-weight: 500; color: var(--burgundy); }
.lede { font-size: 18px; color: var(--ink-soft); max-width: 46ch; margin: 0 0 20px; }
.hero-sub {
  font-family: 'General Sans', system-ui, sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--ink-soft);
  max-width: 62ch;
  line-height: 1.5;
  margin: 0 0 28px;
  letter-spacing: 0;
}
.stats { display: flex; gap: 28px; flex-wrap: wrap; }
.stats .stat { display: flex; flex-direction: column; gap: 2px; }
.stats .num { font-family: 'Fraunces', serif; font-size: 32px; font-weight: 600; color: var(--ink); line-height: 1; }
.stats .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); }

/* Controls */
.controls {
  position: sticky; top: 61px; z-index: 9;
  background: rgba(250,246,238,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.controls .wrap {
  display: grid; gap: 16px; padding-top: 18px; padding-bottom: 18px;
  grid-template-columns: 2fr 1fr 1fr auto;
  align-items: end;
}
.control { display: flex; flex-direction: column; gap: 6px; }
.control label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-soft); font-weight: 600;
}
.control input, .control select {
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: 10px; padding: 10px 12px;
  transition: border-color .15s, box-shadow .15s;
}
.control input:focus, .control select:focus {
  outline: none; border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(122,26,43,.12);
}
.toggle .switch {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink); cursor: pointer;
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: 10px; padding: 10px 14px;
  user-select: none;
}
.toggle input { accent-color: var(--burgundy); width: 16px; height: 16px; }

/* Grid */
main { padding: 36px 0 64px; }
.grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  padding-top: 16px; /* clearance so the featured "Featured" badge (top:-10px) isn't clipped by the section above */
}
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(26,20,16,.04), 0 18px 40px -16px rgba(92,18,32,.28); }
.card-h { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.card-title h2 {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: 22px; line-height: 1.15; letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.theatre {
  margin: 0; font-size: 13px; color: var(--burgundy);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
}
.pill {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 4px 10px; border-radius: 999px;
  white-space: nowrap;
}
.pill.active { background: rgba(74,93,58,.13); color: var(--moss); }
.pill.rolling { background: rgba(74,93,58,.13); color: var(--moss); }
.pill.watch { background: rgba(184,134,42,.16); color: #8a611a; }
.pill.closed { background: rgba(26,20,16,.08); color: #6b5f54; }

.card.is-closed { opacity: .68; }
.card.is-closed .card-title h2 { text-decoration: line-through; text-decoration-color: rgba(26,20,16,.25); text-decoration-thickness: 1.5px; }
.card.is-closed:hover { opacity: 1; }

.submit-by {
  background: linear-gradient(180deg, rgba(184,134,42,.10), rgba(184,134,42,.05));
  border: 1px solid rgba(184,134,42,.30);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 10px 14px;
}
.submit-by .sb-label {
  display: block; font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: #8a611a; margin-bottom: 4px;
}
.submit-by p {
  margin: 0; font-size: 13.5px; line-height: 1.5;
  color: var(--ink);
}

.fields { margin: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.fields > div {
  display: grid; grid-template-columns: 130px 1fr; gap: 12px;
  padding-top: 10px; border-top: 1px solid var(--rule);
}
.fields > div:first-child { border-top: 0; padding-top: 0; }
.fields dt {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-soft); font-weight: 600; padding-top: 1px;
}
.fields dd { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.5; overflow-wrap: anywhere; word-break: break-word; min-width: 0; }
.fields > div { min-width: 0; }
.fields dd.dim { color: var(--ink-soft); font-style: italic; }

.notes summary {
  cursor: pointer; font-size: 13px; font-weight: 600;
  color: var(--burgundy); list-style: none;
  padding: 8px 0; border-top: 1px solid var(--rule);
}
.notes summary::after { content: ' ▾'; font-size: 10px; }
.notes[open] summary::after { content: ' ▴'; }
.notes p {
  margin: 4px 0 0; font-size: 13.5px; color: var(--ink-soft);
  line-height: 1.55; overflow-wrap: anywhere; word-break: break-word;
}

.card-f { display: flex; justify-content: flex-end; }
.src {
  font-size: 13px; font-weight: 600; color: var(--burgundy);
  text-decoration: none; padding: 6px 0;
}
.src:hover { color: var(--burgundy-deep); text-decoration: underline; }

.empty { text-align: center; padding: 56px 24px; margin: 32px auto; max-width: 520px; background: var(--cream); border: 1px solid var(--rule); border-radius: 14px; }
.empty h3 { font-family: 'Fraunces', Georgia, serif; font-size: 24px; margin: 0 0 8px; color: var(--burgundy); }
.empty p { margin: 0 0 18px; color: var(--ink-soft); }
.empty button { background: var(--burgundy); color: var(--cream); border: 0; padding: 10px 20px; border-radius: 999px; font: 500 14px 'General Sans','Satoshi',system-ui,sans-serif; cursor: pointer; letter-spacing: .02em; }
.empty button:hover { background: #5e1320; }

/* Ad slots */
.ad-slot {
  padding: 28px 0;
  border-top: 1px solid rgba(122,26,43,.18);
  border-bottom: 1px solid rgba(122,26,43,.18);
  background: rgba(122,26,43,.08);
}
.ad-footer { margin-top: 32px; }
.ad-slot .wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ad-tag {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--burgundy); font-weight: 700;
}
.ad-content {
  min-height: 90px; width: 100%; max-width: 1100px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper);
  border: 1.5px dashed rgba(122,26,43,.4);
  border-radius: 10px;
  padding: 18px 22px; text-align: center;
  color: var(--ink); font-size: 14px; font-style: normal; font-weight: 500;
  box-shadow: 0 1px 0 rgba(26,20,16,.03);
}
.ad-content:empty::before { content: attr(data-placeholder); }
.ad-content a { color: var(--burgundy); text-decoration: underline; font-style: normal; font-weight: 700; white-space: nowrap; }
.ad-content { text-wrap: balance; }
.ad-content a:hover { color: var(--burgundy-deep); }
/* When an ad is filled with an image, strip cream chrome so artwork sits edge-to-edge.
   :has() lets us key off the leaderboard banner image specifically. */
.ad-content:has(> a > img),
.ad-content:has(> img) {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26,20,16,.08);
}
.ad-content:has(> a > img) > a,
.ad-content:has(> img) > a { display: block; width: 100%; line-height: 0; }
.ad-content > a > img,
.ad-content > img { display: block; width: 100%; height: auto; border-radius: 8px; }

/* In-feed ad card */
.ad-card {
  position: relative;
  background: linear-gradient(180deg, rgba(122,26,43,.06), rgba(122,26,43,.02));
  border-style: dashed;
}
.ad-card .ad-tag {
  position: absolute; top: 14px; right: 16px;
}
.ad-card .ad-content {
  min-height: 200px; flex: 1; margin-top: 8px;
  border: 0; background: transparent; padding: 20px 8px;
}

/* Featured sponsor card */
.featured-card {
  position: relative;
  margin-top: 4px; /* extra safety so the floating badge above the card never gets clipped */
  background:
    linear-gradient(180deg, rgba(184,134,42,.06), var(--paper));
  border: 1px solid rgba(184,134,42,.45);
  box-shadow: 0 1px 0 rgba(26,20,16,.04), 0 18px 40px -18px rgba(184,134,42,.30);
}
.featured-card::before {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--radius); pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(184,134,42,.18);
}
.featured-badge {
  position: absolute; top: -10px; left: 18px;
  background: var(--gold); color: #fff;
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  padding: 4px 10px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(184,134,42,.35);
}
.featured-card .card-title h2 {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: 22px; line-height: 1.2; margin: 0 0 4px;
  color: var(--ink);
}
.featured-card .theatre { color: var(--gold); }
.featured-body {
  margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink);
}
.featured-cta {
  background: var(--burgundy); color: #fff !important;
  padding: 8px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  transition: background .15s;
}
.featured-cta:hover { background: var(--burgundy-deep); text-decoration: none !important; }

/* FAQ */
.faq {
  border-top: 1px solid var(--rule);
  padding: 56px 0 48px;
  margin-top: 32px;
  background: rgba(122,26,43,.025);
}
.faq h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--ink);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
}
.faq-item:last-of-type { border-bottom: 0; }
.faq-item summary {
  font-family: 'General Sans', system-ui, sans-serif;
  font-size: 17px; font-weight: 600;
  color: var(--ink);
  cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 12px;
  padding-right: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: '+';
  font-family: 'Fraunces', serif;
  font-size: 22px; font-weight: 500;
  color: var(--burgundy);
  width: 18px; display: inline-block;
  transition: transform .2s;
}
.faq-item[open] summary::before { content: '–'; }
.faq-item summary:hover { color: var(--burgundy); }
.faq-a {
  padding: 12px 0 4px 30px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 78ch;
}
.faq-a strong { color: var(--ink); font-weight: 600; }
.faq-a em { color: var(--burgundy); font-style: italic; font-weight: 500; }

@media (max-width: 720px) {
  .faq { padding: 40px 0 32px; }
  .faq-item summary { font-size: 15.5px; gap: 10px; }
  .faq-a { font-size: 15px; padding-left: 26px; }
  .hero-sub { font-size: 13.5px; }
}

/* Footer */
.foot {
  border-top: 1px solid var(--rule);
  padding: 32px 0 48px; margin-top: 24px;
  color: var(--ink-soft); font-size: 13.5px;
}
.foot .fine { font-size: 12px; margin-top: 6px; opacity: .8; }

/* Responsive */
@media (max-width: 720px) {
  .controls .wrap { grid-template-columns: 1fr 1fr; }
  .controls .control:first-child { grid-column: 1 / -1; }
  .controls .toggle { grid-column: 1 / -1; }
  .hero { padding: 40px 0 24px; }
  .fields > div { grid-template-columns: 1fr; gap: 2px; }
  .fields dt { padding-top: 0; }

  /* Mobile readability — bump card content to comfortable mobile sizes */
  .card { padding: 22px 18px; }
  .card-title h2 { font-size: 21px; line-height: 1.2; }
  .card-title p {
    font-size: 14px;
    color: var(--ink);
    font-weight: 600;
  }
  .card-title p .city { color: var(--burgundy); }

  .fields dt {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--burgundy);
    font-weight: 700;
    margin-top: 4px;
  }
  .fields dd { font-size: 16px; line-height: 1.5; }

  .notes-body { font-size: 15px; line-height: 1.55; }
  .card-desc   { font-size: 15px; line-height: 1.55; }

  /* Featured card body too */
  .featured-card .card-title h2 { font-size: 21px; }
  .featured-card .card-desc { font-size: 15px; line-height: 1.55; }

  /* Mobile: stack the email link on its own line so it doesn't break mid-paragraph */
  .ad-content { flex-direction: column; gap: 6px; padding: 16px; font-size: 13.5px; }
  .ad-content a { margin-top: 2px; }
}
