:root {
  --maroon: #500000;
  --maroon-hover: #6b0f0f;
  --bg: #ffffff;
  --bg-alt: #f6f3ef;
  --surface: #ffffff;
  --text: #2a2a2a;
  --muted: #5f5f5f;
  --border: #e4ded6;
  --accent: var(--maroon);
  --accent-soft: #f5ecec;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

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

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

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

/* Header & nav */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--maroon);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--maroon);
  color: #fff;
  border-radius: 4px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 24px 0 21px;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: var(--maroon); }
.site-nav a[aria-current="page"] {
  color: var(--maroon);
  font-weight: 700;
  border-bottom-color: var(--maroon);
}

/* Cover banner */
.cover {
  background: var(--maroon);
}
.cover img {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  aspect-ratio: 2048 / 768;
  object-fit: cover;
}

/* Page banner for inner pages */
.page-banner {
  background: var(--maroon);
  color: #fff;
  padding: 64px 0;
}
.page-banner h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 8px;
}
.page-banner p { margin: 0; font-size: 1.1rem; opacity: 0.9; max-width: 60ch; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--text);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split > * { min-width: 0; }
.split img {
  width: 100%;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.prose { max-width: 70ch; }
.prose p { margin: 0 0 1.1em; }

.button {
  display: inline-block;
  background: var(--maroon);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 3px;
  margin-top: 8px;
}
.button:hover { background: var(--maroon-hover); }
.button[aria-disabled="true"] {
  background: transparent;
  color: var(--maroon);
  border: 2px solid var(--maroon);
  cursor: default;
}

/* At a glance */
.glance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 12px;
}
.glance-item {
  display: flex;
  gap: 16px;
  padding: 8px 24px 8px 0;
}
.glance-item svg {
  flex: none;
  width: 36px;
  height: 36px;
  color: var(--maroon);
}
.glance-item h3 { margin: 0 0 2px; font-size: 1.05rem; }
.glance-item p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Co-hosts */
.cohosts { padding: 40px 0; border-top: 1px solid var(--border); }
.cohosts h2 { font-size: 1.2rem; margin-bottom: 20px; }
.logo-strip { width: 100%; height: auto; }

/* History */
.tribute {
  border-left: 3px solid var(--maroon);
  background: var(--accent-soft);
  padding: 24px 28px;
  border-radius: 0 4px 4px 0;
  margin: 40px 0 0;
}
.tribute h2 { font-size: 1.5rem; margin-bottom: 12px; }
.tribute p:last-child { margin-bottom: 0; }

/* Programs table */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}
th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
thead th {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  background: var(--maroon);
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--bg-alt); }
tbody tr:hover { background: var(--accent-soft); }
td.year { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.num { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
td.na { color: var(--muted); font-style: italic; }
.pdf-link { font-weight: 700; white-space: nowrap; }
.note { color: var(--muted); font-size: 0.92rem; margin-top: 16px; }

/* Footer */
.site-footer {
  background: var(--maroon);
  color: rgba(255, 255, 255, 0.85);
  padding: 28px 0;
  font-size: 0.9rem;
}
.site-footer a { color: #fff; }

@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .glance { grid-template-columns: 1fr 1fr; row-gap: 24px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand { font-size: 1rem; }
  .site-header .wrap { padding-top: 12px; }
  .site-nav { gap: 4px 20px; }
  .site-nav a { padding: 10px 0 9px; }
  .cover img { aspect-ratio: 4 / 3; object-position: left center; }
  .section { padding: 44px 0; }
  .page-banner { padding: 44px 0; }
  .glance { grid-template-columns: 1fr; }
  th, td { padding: 10px 12px; }
}
