:root {
  --paper: #f7f3ea;
  --base: #fffdfa;
  --ink: #1e1f1a;
  --muted: #64665e;
  --line: #cbc5b7;
  --accent: #b1551a;
  --max: 720px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--ink);
  background: #ffffff;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  line-height: 1.72;
  letter-spacing: 0.01em;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.4rem 0 1rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.88rem;
  letter-spacing: 0.24em;
  font-weight: 700;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.05rem;
  font-size: 0.95rem;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
}

main {
  padding: 2.5rem 0 1.5rem;
}

.hero h1,
h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero h1 {
  margin: 0.25rem 0 0.8rem;
  font-size: clamp(1.95rem, 6vw, 2.8rem);
}

.kicker {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 5vw, 2.3rem);
}

h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.3rem, 4vw, 1.65rem);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

p,
li {
  font-size: 1.03rem;
}

.intro {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin: 2rem 0 1rem;
}

.post-card {
  padding: 1rem 0 1.15rem;
  border-top: 1px solid var(--line);
}

.post-card:last-of-type {
  border-bottom: 1px solid var(--line);
}

.post-card a {
  text-decoration: none;
  color: var(--ink);
}

.post-card a:hover,
.text-link:hover {
  color: var(--accent);
}

.meta {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.text-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.reading {
  max-width: 66ch;
}

.reading ul {
  margin: 0.65rem 0 1rem 1.1rem;
  padding: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.bg-shape {
  display: none;
}

.bg-shape-a {
  display: none;
}

.bg-shape-b {
  display: none;
}

.reveal {
  animation: rise 0.6s ease both;
}

.stagger-1 {
  animation-delay: 0.1s;
}

@keyframes rise {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  nav a {
    margin: 0 1rem 0 0;
  }

  p,
  li {
    font-size: 1rem;
  }
}
