:root {
  --paper: #f4efe4;
  --paper-raised: #faf6ee;
  --ink: #1b1814;
  --ink-soft: #3f3a33;
  --muted: #6a645a;
  --rule: #1b1814;
  --rule-faint: rgba(27, 24, 20, 0.18);
  --quote: #ebe4d6;
  --code: #e6dfd1;
  --focus: #1b1814;
  --max: 42rem;
}

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

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-optical-sizing: auto;
  font-size: 1.125rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.12em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  padding: 0.85rem 0 0;
}

.nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
}

.nav-mark {
  color: var(--muted);
}

.masthead {
  margin: 1.1rem 0 1.6rem;
  padding: 0.7rem 0 0.85rem;
  border-top: 3px solid var(--rule);
  border-bottom: 3px solid var(--rule);
  box-shadow: 0 1px 0 var(--rule), inset 0 1px 0 var(--rule);
  text-align: center;
}

.masthead-name {
  margin: 0;
  font-size: clamp(2.4rem, 9vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.9;
}

.masthead-date {
  margin: 0.55rem 0 0;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.kicker {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.45rem;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.edition-section {
  margin: 0;
  padding: 1.15rem 0 1.05rem;
  border-top: 1px solid var(--rule-faint);
}

.edition-section h2 {
  margin: 0 0 0.55rem;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.prose > *:first-child {
  margin-top: 0;
}

.prose > *:last-child {
  margin-bottom: 0;
}

.prose p,
.prose ul {
  margin: 0 0 0.7rem;
}

.prose ul {
  padding-left: 1.15rem;
}

.prose li {
  margin: 0 0 0.45rem;
  padding-left: 0.15rem;
}

.prose li::marker {
  color: var(--ink);
}

.prose code {
  font-family: "IBM Plex Mono", ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  font-size: 0.84em;
  background: var(--code);
  padding: 0.08em 0.32em;
  border-radius: 3px;
}

.prose strong {
  font-weight: 700;
}

.empty-note {
  margin: 0;
  color: var(--muted);
  font-style: italic;
}

.meditation {
  margin: 0;
  padding: 1rem 1.05rem 1.05rem;
  background: var(--quote);
  border-left: 3px solid var(--ink);
}

.meditation p {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.62;
  font-style: italic;
}

.meditation p:last-of-type {
  margin-bottom: 0.7rem;
}

.meditation cite {
  display: block;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.page-title {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.lede {
  margin: 0 0 1.4rem;
  color: var(--ink-soft);
}

.archive-list {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.archive-list li {
  margin: 0;
  border-bottom: 1px solid var(--rule-faint);
}

.archive-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0.1rem;
  text-decoration: none;
}

.archive-list a:hover .archive-title {
  text-decoration: underline;
}

.archive-date {
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

.archive-title {
  font-weight: 600;
}

.latest-pill {
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.empty-archive {
  padding: 1.2rem 0 2rem;
  color: var(--muted);
  font-style: italic;
}

.site-footer {
  margin-top: 0.5rem;
  padding: 1.3rem 0 2.4rem;
  border-top: 3px solid var(--rule);
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.not-found {
  padding: 2.5rem 0 3rem;
}

.not-found h1 {
  margin: 0 0 0.6rem;
  font-size: 2.4rem;
}

@media (max-width: 640px) {
  body {
    font-size: 1.05rem;
  }

  .wrap {
    width: min(100% - 1.4rem, var(--max));
  }

  .archive-list a {
    flex-direction: column;
    gap: 0.2rem;
  }
}
