:root {
  --bg: #f8f6f1;
  --surface: #ffffff;
  --ink: #1e1d1a;
  --muted: #64615a;
  --rule: #e4dfd5;
  --accent: #7a4b2a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2.5rem;
}

.brand {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

nav a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.25rem;
}

nav a:hover, nav a.active {
  color: var(--accent);
}

h1 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 0.85rem;
}

h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin: 2.5rem 0 1rem;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 2rem;
}

.entry {
  padding: 1.15rem 0;
  border-top: 1px solid var(--rule);
}

.entry:last-of-type {
  border-bottom: 1px solid var(--rule);
}

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

.entry h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 0.35rem;
}

.entry p {
  margin: 0;
  color: #3a3833;
  font-size: 0.98rem;
}

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

.shelf li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.96rem;
}

.shelf .author {
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.84rem;
  white-space: nowrap;
}

blockquote {
  margin: 1.5rem 0;
  padding: 0.2rem 0 0.2rem 1.25rem;
  border-left: 2px solid var(--accent);
  color: #423f39;
  font-style: italic;
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
