/* BroadwayTour.net */
:root {
  --ink: #1b1a19;
  --ink-2: #4a4744;
  --muted: #7a7570;
  --paper: #fbf8f3;
  --card: #ffffff;
  --line: #e7e0d6;
  --red: #9e1b22;
  --red-dark: #7a1419;
  --gold: #c39a3a;
  --gold-soft: #f6ecd6;
  --radius: 10px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted, .meta { color: var(--muted); font-size: 0.88rem; }
.nowrap { white-space: nowrap; }

/* Header */
.top { background: var(--ink); color: #fff; border-bottom: 3px solid var(--gold); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { color: #fff; text-decoration: none; font: 600 1.35rem/1 var(--serif); letter-spacing: 0.01em; }
.brand b { color: var(--gold); font-weight: 600; }
.brand .mark { color: var(--gold); }
.main { display: flex; gap: 4px; flex-wrap: wrap; }
.main a { color: #eee; text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: 0.95rem; }
.main a:hover, .main a[aria-current] { background: rgba(255,255,255,0.1); color: #fff; }

main.wrap { padding-top: 28px; padding-bottom: 56px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0.2em 0 0.4em; }
h2 { font-size: 1.5rem; margin: 1.8em 0 0.6em; }
h3 { font-size: 1.12rem; margin: 0 0 0.3em; }
.kicker { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600; color: var(--red); margin: 0; }
.kicker a { text-decoration: none; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 46em; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 4px; }

/* Home */
.hero { padding: 24px 0 8px; max-width: 860px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
.search { display: flex; gap: 8px; margin: 20px 0 8px; max-width: 520px; }
.search input { flex: 1; padding: 13px 16px; font-size: 1rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.search button, .btn { background: var(--red); color: #fff; border: 0; border-radius: 8px; padding: 12px 20px; font: 600 1rem var(--sans); cursor: pointer; text-decoration: none; display: inline-block; }
.btn:hover, .search button:hover { background: var(--red-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--red); border: 1px solid var(--red); }
.more { margin-top: 14px; font-weight: 600; }
.more a { text-decoration: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 12px; }
.split > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 24px 20px; }

/* Cards and grids */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,0.08); color: var(--ink); }
.card img, .card .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--gold-soft); }
.card .ph { display: grid; place-items: center; font-size: 2rem; color: var(--gold); }
.card-body { padding: 12px 14px 14px; }
.card-body p { margin: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.pills a:hover { border-color: var(--red); color: var(--red); }
.pills.big a { padding: 9px 18px; font-size: 1.02rem; }
.list article { padding: 12px 0; border-bottom: 1px solid var(--line); }
.list article p { margin: 0; }
ul.cols { columns: 3 240px; padding-left: 1.1em; }
ul.cols li { margin-bottom: 4px; break-inside: avoid; }
ul.venues li { margin-bottom: 6px; }

/* Notes and status */
.note { background: var(--gold-soft); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 6px; margin: 18px 0; color: var(--ink-2); }
.status { display: inline-block; font-size: 0.82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-top: 6px; }
.status.past { background: #ece7df; color: var(--ink-2); }
.status.live { background: #e3f1e4; color: #23652b; }
.archive-label { font-size: 0.88rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 10px; }

/* Tables */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f4efe7; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); }
tr:last-child td { border-bottom: 0; }
table.cast { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }

/* Posts */
.post { max-width: 760px; }
.post.stop { max-width: 900px; }
.prose { font-size: 1.05rem; }
.prose p { margin: 0 0 1.1em; }
.lead-img { float: right; width: auto; height: auto; max-width: min(45%, 100%); border-radius: var(--radius); margin: 4px 0 14px 22px; }
.post .prose::after { content: ''; display: block; clear: both; }
@media (max-width: 520px) { .lead-img { max-width: 40%; margin-left: 14px; } }
.video { position: relative; aspect-ratio: 16 / 9; margin: 12px 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.stop-head, .show-head { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; margin-bottom: 20px; }
.stop-head img, .show-head img { border-radius: var(--radius); width: 100%; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px 24px; margin: 12px 0; }
.facts dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }

/* News archive rows */
article.row { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
article.row img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; }
article.row h2 { font-size: 1.25rem; margin: 0 0 4px; }
article.row h2 a { color: var(--ink); text-decoration: none; }
article.row h2 a:hover { color: var(--red); }
article.row p { margin: 4px 0; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; font-weight: 600; }

/* Gallery */
.gallery { align-items: start; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin: 20px 0; }
.gallery figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery img { display: block; width: 100%; }
.gallery figcaption { padding: 10px 14px; font-size: 0.85rem; color: var(--muted); }
.license { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
code { background: #f1ebe1; padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }

/* Footer */
.foot { background: var(--ink); color: #cfcac3; font-size: 0.9rem; padding: 28px 0; }
.foot a { color: #fff; }
.foot .muted { color: #9a948c; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .top-inner { padding: 10px 0; }
  .main a { padding: 6px 8px; font-size: 0.9rem; }
  .split { grid-template-columns: 1fr; }
  .stop-head, .show-head { grid-template-columns: 1fr; }
  .stop-head img, .show-head img { max-width: 260px; }
  article.row { grid-template-columns: 90px 1fr; gap: 12px; }
}

/* Current season */
.tix { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font-size: 0.82rem; font-weight: 600; padding: 4px 10px; border-radius: 6px; }
.tix:hover { background: var(--red-dark); color: #fff; }
tr.now td { background: #f3f9f3; }
tr.now td:first-child { box-shadow: inset 3px 0 0 #2f7a38; }
.note.live { background: #eaf5eb; border-left-color: #2f7a38; }
.buttons { margin: 14px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }

/* Season schedules */
.season { margin-top: 8px; }
.season-by { margin: -6px 0 14px; color: var(--ink-2); }
.st { font-size: 0.85rem; color: var(--ink-2); }
.tag { display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; background: #ece7df; color: var(--ink-2); padding: 2px 7px; border-radius: 4px; margin-left: 4px; vertical-align: 1px; }
.status.sale { background: var(--gold-soft); color: #7a5a12; }

.stop-head.noimg, .show-head.noimg { grid-template-columns: 1fr; }
details.extras { margin: 12px 0 4px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 16px; }
details.extras summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }
details.extras ul { margin: 10px 0 4px; padding-left: 1.1em; }
details.extras li { margin-bottom: 4px; }

/* Performance grid */
.perf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.perf { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
.perf-date { display: flex; flex-direction: column; align-items: center; min-width: 44px; line-height: 1.05; }
.perf-date .mon { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); }
.perf-date .day { font: 600 1.6rem/1 var(--serif); }
.perf-info { flex: 1; display: flex; flex-direction: column; }
.perf-info .dow { font-weight: 600; font-size: 0.95rem; }
.perf-info .time { color: var(--ink-2); font-size: 0.9rem; }
.route { margin-top: 28px; font-weight: 600; }

.perfs { margin-bottom: 26px; }

/* Performance calendar */
.cal { display: flex; flex-direction: column; gap: 8px; }
.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cal-day { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 10px 8px 12px; min-height: 104px; display: flex; flex-direction: column; gap: 6px; }
.cal-day.off { background: transparent; border-style: dashed; color: var(--muted); }
.cal-day.out { visibility: hidden; }
.cal-head { display: flex; flex-direction: column; text-align: center; line-height: 1.15; margin-bottom: 2px; }
.cal-dow { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.cal-date { font-weight: 700; font-size: 1rem; }
.cal-time { display: block; text-align: center; border: 1.5px solid var(--red); color: var(--red); border-radius: 6px; padding: 6px 4px; font-weight: 700; font-size: 0.95rem; text-decoration: none; }
.cal-time:hover { background: var(--red); color: #fff; }
.cal-none { text-align: center; font-size: 0.8rem; }
@media (max-width: 720px) {
  .cal-week { grid-template-columns: 1fr !important; gap: 6px; }
  .cal-day { min-height: 0; flex-direction: row; align-items: center; flex-wrap: wrap; padding: 10px 12px; }
  .cal-day.off, .cal-day.out { display: none; }
  .cal-head { flex-direction: row; gap: 8px; width: 100%; text-align: left; margin: 0 0 2px; }
  .cal-time { display: inline-block; padding: 6px 12px; }
}

/* Plain-language run summary at the top of show+city pages */
.summary { font-size: 1.05rem; line-height: 1.55; margin: 1rem 0 1.25rem; padding: .85rem 1rem; border-left: 3px solid var(--accent, #b4232a); background: rgba(0,0,0,.03); }
