:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #757575;
  --border: #e8e8e8;
  --accent: #cc4400;
  --accent-soft: #fff5f0;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
}

/* ─── Layout ─────────────────────────────────────────── */

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

/* ─── Header ─────────────────────────────────────────── */

.site-header {
  text-align: center;
  padding: 3rem 0 1.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.site-title {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.site-title:hover {
  color: var(--accent);
}

.site-tagline {
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  margin: 0.5rem 0 1.25rem;
  line-height: 1.5;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--text);
}

/* ─── Footer ─────────────────────────────────────────── */

.site-footer {
  text-align: center;
  padding: 2.5rem 0 0;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
}

/* ─── Home / List ────────────────────────────────────── */

.hero {
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.content-group {
  margin-bottom: 2rem;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.section-heading h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
}

.section-link {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
}

.section-link:hover {
  text-decoration: underline;
}

.post-list {
  display: block;
}

.post-row {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.post-date {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.post-row h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.post-row h2 a {
  color: var(--text);
  text-decoration: none;
}

.post-row h2 a:hover {
  color: var(--accent);
}

.post-desc {
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* ─── Article ────────────────────────────────────────── */

.issue-header {
  text-align: center;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
}

.issue-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.deck {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
  line-height: 1.55;
  font-style: italic;
}

/* ─── Prose ──────────────────────────────────────────── */

.prose h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.prose h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.prose a {
  color: var(--accent);
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.3rem;
}

.prose blockquote {
  margin: 1.5rem 0;
  padding: 0.9rem 1.25rem;
  border-left: 3px solid var(--border);
  color: var(--muted);
  font-style: italic;
}

.prose blockquote p {
  margin: 0;
}

/* ─── Tags ───────────────────────────────────────────── */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.tag-list li {
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: #f3f3f3;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ─── Meta (reading notes) ───────────────────────────── */

.meta-links {
  margin-top: 1rem;
  text-align: left;
  display: inline-block;
}

.meta-line {
  margin: 0.25rem 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
}

.external-link {
  color: var(--accent);
  text-decoration: none;
}

.external-link:hover {
  text-decoration: underline;
}

/* ─── Mobile ─────────────────────────────────────────── */

@media (max-width: 640px) {
  html {
    font-size: 17px;
  }

  .page {
    padding: 0 1rem 3rem;
  }

  .site-header {
    padding: 2rem 0 1.25rem;
    margin-bottom: 2rem;
  }

  .site-title {
    font-size: 1.6rem;
  }

  .issue-header h1 {
    font-size: 1.6rem;
  }

  .section-heading {
    display: flex;
  }
}
