:root {
  --paper: #f4efe6;
  --ink: #241c16;
  --muted: #6d6258;
  --line: #ddd4c6;
  --mark: #9c3b2e;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

a { color: inherit; }

.wrap {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto;
}

header {
  padding: 1.4rem 0 0.2rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  text-decoration: none;
}

.brand strong { font-size: 1.15rem; letter-spacing: 0.01em; }

.brand span { color: var(--muted); font-size: 0.95rem; }

nav {
  display: flex;
  gap: 1.25rem;
  padding: 0.8rem 0 1rem;
  font-size: 0.98rem;
}

nav a { text-decoration: none; border-bottom: 1px solid transparent; }

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

main { padding: 2.2rem 0 3.5rem; }

h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  font-weight: 600;
}

h2 { margin: 2rem 0 0.4rem; font-size: 1.45rem; }

.lead { font-size: 1.28rem; max-width: 38rem; }

.note {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.note time { display: block; color: var(--muted); font-size: 0.92rem; }

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