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

:root {
  --ink: #1a1a1a;
  --ink-soft: #555;
  --bg: #fafaf8;
  --rule: #e0ddd8;
  --quote-bar: #c8c3bb;
  --max: 680px;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Georgia, serif;
  line-height: 1.75;
  padding: 3rem 1.25rem 5rem;
}

a {
  color: inherit;
  text-decoration-color: #aaa;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  text-decoration-color: var(--ink);
}

article,
.home {
  max-width: var(--max);
  margin: 0 auto;
}

.site {
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.site a {
  text-decoration: none;
}

.date {
  color: #888;
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 2rem;
}

.intro p {
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.intro p:last-child {
  margin-bottom: 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.8rem 0;
}

.idea {
  margin-bottom: 2.8rem;
}

.idea h2 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 0.9rem;
}

.idea p {
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.idea p:last-child {
  margin-bottom: 0;
}

blockquote {
  border-left: 3px solid var(--quote-bar);
  color: var(--ink-soft);
  font-size: 0.97rem;
  font-style: italic;
  line-height: 1.65;
  margin: 1.3rem 0;
  padding: 0.5rem 0 0.5rem 1.2rem;
}

blockquote cite {
  color: #777;
  display: block;
  font-size: 0.82rem;
  font-style: normal;
  letter-spacing: 0.02em;
  margin-top: 0.4rem;
}

.closing {
  padding-top: 0.5rem;
}

.closing p {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.8;
}

.sources {
  margin-top: 2.5rem;
}

.sources h3,
.section-title {
  color: var(--ink-soft);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.sources ul,
.archive {
  list-style: none;
}

.sources li {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.back {
  font-size: 0.85rem;
  margin-top: 3.5rem;
}

footer {
  border-top: 1px solid var(--rule);
  color: #888;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.site-footer nav a {
  color: var(--ink-soft);
}

.site-footer nav a + a::before {
  color: #aaa;
  content: "·";
  display: inline-block;
  margin: 0 0.55rem;
  text-decoration: none;
}

.home-header {
  border-bottom: 1px solid var(--rule);
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
}

.home-header h1 {
  margin-bottom: 0.5rem;
}

.subtitle {
  color: var(--ink-soft);
  font-size: 1rem;
}

.home-nav {
  font-size: 0.85rem;
  margin-top: 1rem;
}

.links {
  list-style: none;
  margin-top: 0.6rem;
}

.links li {
  border-top: 1px solid var(--rule);
  padding: 0.7rem 0;
}

.links li:last-child {
  border-bottom: 1px solid var(--rule);
}

.archive-item {
  border-top: 1px solid var(--rule);
  padding: 1.35rem 0 1.5rem;
}

.archive-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.archive-item time {
  color: #777;
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.archive-item h3 {
  font-size: 1.08rem;
  line-height: 1.4;
}

.archive-item a {
  text-decoration: none;
}

.archive-item a:hover,
.archive-item a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

@media (max-width: 520px) {
  html {
    font-size: 16px;
  }

  body {
    padding: 2rem 1rem 4rem;
  }
}

@media print {
  body {
    background: #fff;
    padding: 0;
  }

  .back {
    display: none;
  }
}
