:root {
  --bg: #100f0c;
  --bg-2: #181611;
  --ink: #e7dfd0;
  --muted: #9a917f;
  --faint: #5c564a;
  --line: #2c2922;
  --accent: #c84a32;
  --accent-2: #e8b86a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-2); }
img { max-width: 100%; display: block; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.9'/></svg>");
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 22px;
  border-bottom: 1px solid var(--line);
}
.mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .04em;
}
.mark span { color: var(--accent); }
nav { display: flex; gap: 22px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
nav a[aria-current="page"] { color: var(--ink); }

.mast {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  padding: 56px 0 40px;
  align-items: end;
}
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 18px;
}
h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(42px, 7vw, 92px);
  line-height: .92;
  letter-spacing: -.03em;
  margin: 0;
  text-wrap: pretty;
}
.lede {
  margin: 22px 0 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 17px;
}

.meta {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: grid;
  gap: 10px;
  font-size: 14px;
}
.meta b { font-weight: 600; color: var(--ink); }
.meta span { color: var(--muted); }

.program { padding: 10px 0 72px; }
.program h2,
.block h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 18px;
}
.row {
  display: grid;
  grid-template-columns: 88px 1fr auto auto;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.row time { font-family: var(--mono); color: var(--accent-2); font-size: 13px; }
.row .title { font-family: var(--serif); font-size: 20px; }
.row .dir { color: var(--muted); }
.row .len { color: var(--faint); font-family: var(--mono); font-size: 12px; }

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 8px 0 80px;
}
.block p { color: var(--muted); max-width: 52ch; }
.note {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--bg-2);
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font-size: 14px;
}

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: baseline; }
th { color: var(--faint); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
td.t { font-family: var(--serif); font-size: 18px; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.err { padding: 80px 0 120px; }
.err h1 { font-size: clamp(40px, 8vw, 80px); }

@media (max-width: 820px) {
  .mast, .cols { grid-template-columns: 1fr; gap: 28px; }
  .row { grid-template-columns: 64px 1fr auto; }
  .row .dir { display: none; }
  header { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
