:root {
  --ink: #1c1916;
  --muted: #5e584e;
  --rule: #d4cbbd;
  --paper: #f3efe6;
  --link: #7c2f28;
  --soft: #e7e0d4;
  --page: min(68rem, calc(100% - 4rem));
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  max-width: none;
  padding: 0 0 4.5rem;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 1.125rem;
  line-height: 1.6;
}
header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 2rem;
  width: auto;
  margin: 0 0 2.4rem;
  padding: 1.15rem max(1.5rem, calc((100% - 68rem) / 2)) 1.05rem;
  background: #1c1916;
  color: #f4efe6;
  border-bottom: 0;
}
.mark {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.tag {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #c4b8a6;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin: 0;
  flex: 1 1 16rem;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin-left: auto;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.84rem;
}
nav a {
  color: #f4efe6;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
}
nav a:hover { border-bottom-color: #c45c26; color: #fff; }
body > h1,
body > h2,
body > h3,
body > p,
body > ul,
body > ol,
body > blockquote,
body > table,
body > footer,
body > .nums {
  width: var(--page);
  margin-left: auto;
  margin-right: auto;
}
h1 {
  font-weight: 500;
  font-size: clamp(2.1rem, 3.2vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-top: 0;
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.35rem;
  font-weight: 650;
  margin: 2.2rem auto 0.45rem;
}
h2 .meta {
  display: block;
  margin-top: 0.25rem;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--muted);
}
h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin: 1.35rem auto 0.3rem;
}
p { margin: 0.75rem auto; }
a { color: var(--link); }
.lede { font-size: 1.2rem; }
.nums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 1.5rem;
  margin: 1.8rem auto 2rem;
}
.nums div {
  border-top: 2px solid var(--ink);
  padding-top: 0.55rem;
}
.nums strong {
  display: block;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.nums span {
  display: block;
  color: var(--muted);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.82rem;
  line-height: 1.4;
  margin-top: 0.3rem;
}
blockquote {
  margin: 1.1rem auto;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 2px solid var(--link);
  color: #2a2622;
}
table {
  width: var(--page);
  border-collapse: collapse;
  font-size: 1rem;
  margin: 0.8rem auto 1.2rem;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.8rem 0.55rem 0;
  border-bottom: 1px solid var(--rule);
}
th {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}
ul, ol { padding-left: 1.2rem; }
li { margin: 0.45rem 0; }
footer {
  margin-top: 2.8rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.8rem;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .nums { grid-template-columns: 1fr 1fr; }
  header { display: block; padding-top: 1rem; }
  nav { margin: 0.7rem 0 0; }
}
@media (max-width: 560px) {
  .nums { grid-template-columns: 1fr; }
  h1 { font-size: 1.7rem; }
  body { font-size: 1.05rem; }
}
