html {
  overflow-y: scroll;
}

:root {
  --text: #4a4a46;
  --muted: #6b6b66;
  --line: #e3e3df;
  --bg: #f5f5f2;
  --link: #4a4a46;
  --accent: #8C5F57;
  --accent-soft: #8F6B6B;
  --max: 720px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, serif;
}

body.site-page {
  font-size: 17px;
  line-height: 1.65;
}

body.essay-page {
  font-size: 18px;
  line-height: 1.8;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 24px 80px;
}

nav {
  margin-bottom: 64px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

nav a {
  margin-right: 22px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: none;
}

nav a:hover {
  color: var(--accent);
}

header {
  margin-bottom: 64px;
}

.about-page header {
  margin-bottom: 42px;
}

.site-title {
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: normal;
  letter-spacing: 0.01em;
  color: #292929;
}

.about-page .site-title {
  font-size: 32px;
}

.books-page .site-title {
  font-size: 34px;
}

.intro {
  font-size: 18px;
  max-width: 580px;
  margin: 0;
  color: #7a7a75;
}

.intro2 {
  font-size: 17px;
  max-width: 580px;
  margin: 0;
  color: #494949;
  margin-top: 20px;
  margin-bottom: 40px;
}

.books-page .intro {
  max-width: 560px;
}

.illustration {
  margin: 38px 0 -32px;
}

.fox-image {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  margin-top: 48px;
}

.index-page section {
  margin-top: 36px;
}

.essays-page section {
  margin-top: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.essays-page section:last-of-type {
  border-bottom: none;
}

h1,
h3 {
  color: #292929;
}

h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: normal;
  color: var(--muted);
  margin: 0 0 28px;
}

.index-page h3 {
  font-size: 26px;
  line-height: 1.3;
  margin: 0 0 20px;
  font-weight: normal;
}

p {
  margin: 0 0 26px;
}

.site-page p {
  margin: 0 0 18px;
}

.about-text p {
  margin: 0 0 26px;
}

a {
  color: #444;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.25);
}

a:visited {
  color: #6b6b5e;
}

a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

a[href^="#"] {
  border-bottom: none;
}

.essays-title {
  font-size: 42px;
  line-height: 1.15;
  font-weight: normal;
  margin: 0 0 60px;
  color: #292929;
}

.essay-page-title {
  font-size: 42px;
  line-height: 1.15;
  font-weight: normal;
  margin: 0 0 60px;
  color: #292929;
}

.essays-page .essay-title,
.index-page .essay-title {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 6px;
  font-weight: normal;
  color: #292929;
}

.index-page .essay-title {
  font-size: 21px;
  margin-bottom: 4px;
}

.essay-list {
  display: grid;
  gap: 22px;
}

.index-page .essay-list {
  gap: 18px;
}

.essay {
  padding-bottom: 22px;
}

.essay:last-child {
  padding-bottom: 0;
}

.essay-note {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.index-page .essay-note {
  font-size: 15px;
}

.essay-link {
  padding-bottom: 36px;
}

.essay-preview {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.read-more {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 15px;
}

.quiet-link {
  margin-top: 30px;
  margin-bottom: 0px;
  font-size: 15px;
  color: var(--muted);
}

.section-divider {
  margin: 40px 0 0;
  border-top: 1px solid var(--line);
}

.category-title {
  font-size: 22px;
  font-weight: normal;
  color: var(--accent);
  margin: 60px 0 42px;
  text-transform: none;
  letter-spacing: normal;
}

.books-page .category-title {
  color: var(--text);
}

.category {
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 20px;
}

.category:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.book-list {
  display: grid;
  gap: 30px;
}

.book {
  padding-bottom: 30px;
}

.book:last-child {
  border-bottom: none;
}

.book-title {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 6px;
  font-weight: normal;
  letter-spacing: 0.01em;
  color: #292929;
}

.book-subtitle {
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 0px;
  color: #6E6E6E;
  font-weight: 400;
}

.book-note {
  font-size: 13px;
  color: #8A8A8A;
  margin: -4px 0 12px;
  letter-spacing: 0.02em;
}

.book-listing-url,
.book-listing-url:visited {
  display: inline-block;
  margin-top: 15px;
  font-size: 15px;
  color: var(--accent);
}

.book-listing-url:hover {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

.unpublished {
  color: #999999;
  font-size: 15px;
  margin-left: 10px;
  margin-right: 10px;
}

.note {
  color: var(--muted);
  font-size: 16px;
  margin-top: 8px;
}

.about-text {
  max-width: 620px;
}

.signature {
  color: var(--muted);
  margin-top: 36px;
}

.essay-nav {
  margin-top: 0px;
  padding-top: 24px;
  text-align: left;
  font-size: 16px;
  margin-bottom: 0px;
}

.return-nav {
    margin-top: 60px;
    text-align: left;
    margin-bottom: -10px;
}

.return-nav a {
    color: inherit;
    text-decoration: none;
}

.return-nav a:hover {
    text-decoration: underline;
}

.read-section {
  margin-top: 60px;
  margin-bottom: 10px;
  font-size: 16px;
}

#read-thanks {
  color: var(--accent-soft);
}

.feedback {
  margin-top: 70px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.footer {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

.essay-page .footer {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: #999999;
}

.footer p {
  margin: 0 0 12px;
}

.story-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 19px;
  line-height: 2.0;
}

.story-list li {
  margin: 0 0 9px;
  font-size: 19px;
}

.story-list a {
  border-bottom: none;
}