:root {
  --ink: #1b1a17;
  --paper: #f4efe4;
  --card: #fffdf7;
  --rule: #c9b79a;
  --red: #9c1d1d;
  --amber: #b86a12;
  --blue: #1f4b73;
  --muted: #5c564c;
  --ok: #2c5a3a;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.45;
}
a { color: inherit; }
.masthead, footer, main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.masthead {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0 16px; border-bottom: 2px solid var(--ink);
}
.brand { display: flex; gap: 14px; align-items: center; }
.brand h1 { margin: 0; font-size: 1.45rem; letter-spacing: 0.01em; }
.brand h1 a { text-decoration: none; }
.sigil {
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 2px solid var(--ink); font-weight: 700; background: #efe4cf;
}
.eyebrow, .kicker, .meta, .note, footer { color: var(--muted); font-size: 0.86rem; }
.masthead nav { display: flex; gap: 18px; }
.masthead nav a { text-decoration: none; border-bottom: 1px solid transparent; }
.masthead nav a:hover { border-bottom-color: var(--ink); }
.hero { display: flex; justify-content: space-between; gap: 24px; padding: 28px 0 10px; }
.lede { max-width: 62ch; }
.brief-card, .case-card, .break-item, .dossier, .pattern-box {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 16px 18px;
}
.breaking-rail { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 12px 0 22px; }
.break-item { border-left: 4px solid var(--red); }
.filters {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px; margin: 8px 0 22px; align-items: end;
}
.filters label { display: grid; gap: 4px; font-size: 0.85rem; }
.filters input, .filters select, .filters button {
  font: inherit; padding: 7px 8px; border: 1px solid var(--rule); background: #fff;
}
.filters button { background: var(--ink); color: var(--paper); cursor: pointer; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; padding-bottom: 48px; }
.case-card header { display: flex; justify-content: space-between; font-size: 0.78rem; letter-spacing: 0.04em; }
.pid { font-variant-numeric: tabular-nums; }
.status { text-transform: uppercase; }
.status-approved { border-top: 3px solid var(--ok); }
.status-needs_review { border-top: 3px solid var(--amber); }
.status-rejected { border-top: 3px solid var(--red); opacity: 0.78; }
.status-draft { border-top: 3px solid var(--blue); }
.metrics { display: flex; flex-wrap: wrap; gap: 10px 16px; padding: 0; list-style: none; font-size: 0.86rem; }
.metrics.wide { justify-content: space-between; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 10px 0; }
.pattern, .pattern-box { font-size: 0.92rem; color: var(--blue); }
.dossier { margin: 28px 0 60px; padding: 28px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.timeline { border-left: 2px solid var(--rule); padding-left: 16px; }
.timeline li { margin: 0 0 14px; }
.tag { display: inline-block; border: 1px solid var(--rule); padding: 1px 6px; font-size: 0.75rem; margin-right: 6px; }
.tag.mute { opacity: 0.65; }
.reject { color: var(--red); }
.brief { white-space: pre-wrap; font-family: inherit; }
.empty { padding: 40px 0; }
footer { border-top: 1px solid var(--rule); padding: 18px 0 28px; }
@media (max-width: 720px) {
  .hero, .split, .masthead { display: block; }
  .masthead nav { margin-top: 12px; }
}
