:root {
  color-scheme: dark;
  --bg: #14120e;
  --bg-2: #1c1914;
  --ink: #f4efe6;
  --muted: #b3a792;
  --line: #3a342b;
  --copper: #e07a3d;
  --copper-ink: #2a1408;
  --card: #221f1a;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.45 "Avenir Next", "Segoe UI", sans-serif;
}
a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; color: inherit; }
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.top, main, .foot { width: min(1120px, calc(100% - 1.5rem)); margin-inline: auto; }
.top { padding-top: 0.9rem; }
.bar { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.mark {
  font-family: Palatino, "Iowan Old Style", Georgia, serif;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.links { display: flex; gap: 0.85rem; color: var(--muted); font-size: 0.92rem; }
.links a { text-decoration: none; }
.links a:hover { color: var(--ink); }
.find { display: flex; gap: 0.5rem; margin: 0.8rem 0 1rem; }
.find input {
  flex: 1;
  min-width: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
}
.find button {
  background: var(--copper);
  color: var(--copper-ink);
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 650;
  cursor: pointer;
}
.find button:hover { filter: brightness(1.05); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.intro h1, .watch h1, .prose h1, .intro h2 {
  font-family: Palatino, "Iowan Old Style", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0.2rem 0;
}
.intro h1, .prose h1 { font-size: 1.8rem; }
.intro p, .facts, .prose p { color: var(--muted); margin: 0.3rem 0 0.8rem; }
.eyebrow { color: var(--copper); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; }
.eyebrow a { color: var(--copper); }
.empty { color: var(--muted); }

.grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 0.6rem;
}
.card { display: block; text-decoration: none; }
.thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #2a261f;
  border-radius: 8px;
  overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.dur {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border-radius: 4px;
  padding: 0.05rem 0.35rem;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.who, .when { display: block; }
.who {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.when { color: var(--muted); font-size: 0.8rem; }
.card:hover .who { color: var(--copper); }

.pager, .letters { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; margin: 1.2rem 0 1.5rem; }
.pager a, .letters a, .jump a, .people a {
  text-decoration: none;
}
.pager a, .letters a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}
.letters a { min-width: 2rem; text-align: center; padding-inline: 0.4rem; }
.letters a.on, .pager a:hover, .letters a:hover { background: var(--copper); color: var(--copper-ink); border-color: var(--copper); }
.people { list-style: none; padding: 0; margin: 0 0 1rem; }
.people li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.people span { color: var(--muted); font-variant-numeric: tabular-nums; }

.watch { margin-bottom: 1.2rem; }
.player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 0.35rem 0.8rem; }
.facts a { color: var(--copper); }
.prose { max-width: 38rem; padding-bottom: 2rem; }
.prose a { color: var(--copper); }

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}
.foot a { color: var(--muted); }

@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
@media (min-width: 980px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .intro h1, .prose h1 { font-size: 2.2rem; }
}
