:root {
  --bg: #fbf7ef;
  --ink: #2a2418;
  --muted: #6f6550;
  --rule: #e6dcc6;
  --accent: #b5651d;
  --chip: #f1e6cf;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1812;
    --ink: #ece4d3;
    --muted: #a99d84;
    --rule: #3a3326;
    --accent: #e0914a;
    --chip: #2b251b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 18px/1.65 var(--serif);
}
a { color: var(--accent); text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
main, header.site, footer.site { max-width: 40rem; margin: 0 auto; padding: 0 1.25rem; }

header.site {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule);
  font-family: var(--sans); font-size: 0.85rem;
}
header.site .brand { color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: 0.12em; }
header.site nav a { margin-left: 1.1rem; color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--accent); }

.masthead { text-align: center; padding: 2.5rem 0 1.5rem; }
.masthead .title {
  margin: 0; font-family: var(--sans); font-weight: 900;
  font-size: clamp(2.2rem, 8vw, 3.2rem); letter-spacing: 0.08em; line-height: 1.1;
}
.masthead .dateline { margin: 0.6rem 0 0; color: var(--muted); font-style: italic; }

.cold-open {
  font-size: 1.15rem; line-height: 1.6; margin: 0 0 2rem;
  padding-bottom: 1.75rem; border-bottom: 1px solid var(--rule);
}

h2.story {
  display: flex; gap: 0.75rem; align-items: baseline;
  font-family: var(--sans); font-size: 1.3rem; line-height: 1.3; margin: 2.25rem 0 0.6rem;
}
h2.story .num {
  flex: none; display: inline-grid; place-items: center;
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--accent); color: var(--bg); font-size: 0.95rem; font-weight: 800;
  transform: translateY(-0.1rem);
}
p { margin: 0 0 1rem; }

h3.section {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin: 2.75rem 0 0.75rem;
  padding-top: 1.5rem; border-top: 1px solid var(--rule);
}
h3.section + ul { list-style: none; padding: 0; margin: 0 0 1rem; }
h3.section + ul li {
  position: relative; padding-left: 1.4rem; margin-bottom: 0.75rem;
}
h3.section + ul li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.7em;
  width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--accent);
}
h3.one-to-watch + p {
  background: var(--chip); border-left: 3px solid var(--accent);
  padding: 0.9rem 1.1rem; border-radius: 0 6px 6px 0;
}

.house-footer {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule);
  color: var(--muted); font-style: italic; font-size: 0.95rem;
}
.back { font-family: var(--sans); font-size: 0.9rem; margin: 2rem 0; }

.archive-title { font-family: var(--sans); font-size: 1.6rem; margin: 2.5rem 0 1.25rem; }
ul.archive { list-style: none; padding: 0; margin: 0 0 3rem; }
ul.archive li { border-bottom: 1px solid var(--rule); }
ul.archive a { display: block; padding: 0.9rem 0; text-decoration: none; color: var(--ink); }
ul.archive a:hover .l { color: var(--accent); }
ul.archive .d { display: block; font-family: var(--sans); font-size: 0.8rem; color: var(--muted); }
ul.archive .l { display: block; font-size: 1.1rem; }

footer.site {
  margin-top: 3rem; padding-top: 1.25rem; padding-bottom: 2.5rem; border-top: 1px solid var(--rule);
  font-family: var(--sans); font-size: 0.8rem; color: var(--muted);
}
