:root {
  --ink: #1a1614;
  --paper: #f4ede1;
  --paper-dim: #ebe2d2;
  --accent: #a8421c;
  --rule: #1a1614;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(26,22,20,0.025) 1px, transparent 1px),
    radial-gradient(circle at 75% 70%, rgba(26,22,20,0.02) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  mix-blend-mode: multiply;
  opacity: 0.6;
  z-index: 100;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}

.masthead {
  border-bottom: 3px double var(--rule);
  padding-bottom: 16px;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.brand {
  font-family: 'DM Serif Display', 'EB Garamond', serif;
  font-size: 28px;
  text-decoration: none;
  color: var(--ink);
}

.masthead-meta {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.masthead-meta a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.masthead-meta a:hover { border-bottom-color: var(--accent); }

h1.page-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(40px, 6vw, 56px);
  line-height: 1.05;
  margin-bottom: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.65;
}

.meta-line {
  font-style: italic;
  font-size: 15px;
  opacity: 0.75;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}

article p { margin-bottom: 14px; }

article h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  font-weight: 400;
  margin: 32px 0 12px;
}

article h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  font-weight: 400;
  margin: 24px 0 10px;
  font-style: italic;
}

article a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

article ul, article ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

article li { margin-bottom: 6px; }

article strong { font-weight: 600; }

.colophon {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  letter-spacing: 0.04em;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.colophon a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.colophon a:hover { border-bottom-color: var(--accent); }

.colophon-links span + a::before {
  content: "·";
  margin: 0 10px;
  opacity: 0.5;
}

::selection {
  background: var(--accent);
  color: var(--paper);
}
