:root {
  --ink: #1c1915;
  --muted: #5c564c;
  --rule: #d8d0c4;
  --paper: #f7f3eb;
  --link: #1c1915;
}

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

html {
  font-size: 112.5%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Iowan Old Style, Palatino Linotype, Palatino, Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: none;
}

.wrap {
  width: min(38rem, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 1.6rem 0 3.5rem;
}

header.site {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}

header.site .wordmark {
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

nav.site {
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 0.86rem;
}

nav.site ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.site a[aria-current="page"] {
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

main {
  padding-top: 1.8rem;
}

.lede {
  font-size: 1.22rem;
  line-height: 1.4;
  margin: 0 0 1.1rem;
}

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

h1 {
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.9rem;
}

h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2rem 0 0.6rem;
}

p,
li {
  margin: 0 0 0.95rem;
}

.notes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notes li {
  margin: 0;
  padding: 0.85rem 0;
  border-top: 1px solid var(--rule);
}

.notes a {
  text-decoration: none;
}

.notes a:hover .note-title {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.note-title {
  display: block;
  font-size: 1.1rem;
}

.note-meta {
  display: block;
  margin-top: 0.2rem;
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
}

article .meta {
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  margin: -0.35rem 0 1.3rem;
}

.elsewhere {
  list-style: none;
  margin: 0;
  padding: 0;
}

.elsewhere li {
  margin: 0 0 0.45rem;
}

footer.site {
  margin-top: 2.6rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
}

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

  h1 {
    font-size: 1.55rem;
  }

  .lede {
    font-size: 1.1rem;
  }
}
