:root {
  color-scheme: light;
  --ink: #1d1a16;
  --muted: #5e564c;
  --paper: #f4efe6;
  --card: #fffaf3;
  --line: #e2d5c3;
  --accent: #b8431f;
  --accent-ink: #fff8f4;
  --focus: #1d4e89;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, #f7e1cf, transparent 32rem),
    var(--paper);
}
a { color: var(--accent); }
a:hover { text-decoration: none; }
.top, main, footer { width: min(920px, calc(100% - 2rem)); margin: 0 auto; }
.top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 0;
}
.mark {
  color: var(--ink);
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 1.3rem;
  text-decoration: none;
}
nav { display: flex; gap: 1rem; }
h1, h2 { font-family: "Iowan Old Style", Palatino, Georgia, serif; font-weight: 600; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 0.95; margin: 0.2rem 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--accent); margin: 0; }
.lead, .meta, .status, footer { color: var(--muted); }
.filters, .card, .sheet {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.filters, .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: end; }
.filters { padding: 0.9rem 1rem; margin: 1rem 0; }
label { display: grid; gap: 0.3rem; font-size: 0.92rem; }
input, select, textarea, button {
  font: inherit;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
}
button, .button {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
  text-decoration: none;
  cursor: pointer;
}
.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.list { display: grid; gap: 0.9rem; }
.card, .sheet { padding: 1rem 1.1rem 1.1rem; }
.card h2 { margin: 0.2rem 0; font-size: 1.7rem; }
.when { margin: 0; color: var(--accent); font-size: 0.92rem; }
.pills { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.pills span { border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem 0.55rem; font-size: 0.82rem; }
footer { padding: 2.5rem 0 3rem; font-size: 0.92rem; }
@media (max-width: 640px) {
  .top { align-items: flex-start; flex-direction: column; }
}
