:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --ink: #24211e;
  --muted: #77736d;
  --rule: #dfddd7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #76664f; outline-offset: 4px; }
.home-page, .listing-page, .essay-page { width: min(100% - 48px, 620px); margin: 0 auto; }
.home-page { padding-top: 112px; }
.wordmark, .eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .14em;
}
.intro { padding-bottom: 54px; border-bottom: 1px solid var(--rule); }
.intro h1, .listing-page h1, .essay-header h1 {
  margin: 17px 0 22px;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.1;
}
.intro h1 { font-size: clamp(36px, 6vw, 48px); }
.intro > p { max-width: 590px; margin: 0; color: #5e5a55; font-size: 18px; line-height: 1.65; }
.writing { padding: 51px 0 64px; }
.eyebrow { margin: 0 0 27px; }
.essay-list { display: grid; gap: 34px; }
.essay-card { display: block; }
.essay-card h3 { margin: 0 0 8px; font: 400 28px/1.2 var(--serif); letter-spacing: -.035em; }
.essay-card p { margin: 0 0 9px; color: #5e5a55; font-size: 16px; line-height: 1.6; }
.essay-card:hover h3, .tag-list a:hover, .site-footer a:hover, .article-tags a:hover { text-decoration: underline; text-underline-offset: 4px; }
.meta { color: var(--muted); font-size: 13px; letter-spacing: .015em; }
.newsletter { padding: 36px 0 56px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.newsletter > p { margin: -10px 0 22px; color: #5e5a55; }
.newsletter form { display: grid; gap: 10px; }
.newsletter input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 0; background: transparent; color: var(--ink); font: inherit; }
.newsletter button { height: 46px; border: 0; border-radius: 0; background: var(--ink); color: var(--paper); font: 14px var(--sans); cursor: pointer; }
.newsletter button:hover { background: #403b35; }
.newsletter button:disabled { opacity: .65; cursor: wait; }
.newsletter .consent { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: 13px; line-height: 1.45; }
.newsletter .consent input { flex: 0 0 auto; width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--ink); }
.newsletter .form-note { margin: 1px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.form-status { min-height: 0; margin: 0; color: var(--muted); font-size: 13px; }
.form-status:not(:empty) { margin-top: 5px; }
.confirm-button { min-height: 44px; padding: 0 18px; border: 0; background: var(--ink); color: var(--paper); font: 14px var(--sans); cursor: pointer; }
.confirm-button:disabled { opacity: .6; cursor: default; }
.site-footer { padding: 30px 0 55px; color: var(--muted); font-size: 13px; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer p { max-width: 520px; margin: 16px 0 0; line-height: 1.6; }
.listing-page, .essay-page { padding-top: 56px; }
.back-link, .more-link { display: inline-block; color: var(--muted); font-size: 12px; letter-spacing: .12em; }
.listing-page h1 { margin: 45px 0 36px; font-size: 42px; }
.tag-list { display: grid; gap: 15px; margin: 0 0 70px; padding: 0; list-style: none; }
.tag-list a { font: 25px var(--serif); }
.compact-list { margin: 0 0 60px; }
.essay-page { width: min(100% - 48px, 590px); }
.essay-header { margin: 62px 0 38px; }
.essay-header h1 { margin: 0 0 17px; font-size: clamp(38px, 7vw, 52px); }
.essay-header .meta { margin: 0; }
.essay-body { font: 19px/1.85 var(--serif); }
.essay-body p { margin: 0 0 1.45em; }
.article-tags { margin: 40px 0 42px; }
.article-tags a { color: var(--muted); font-size: 13px; }
.more-link { margin-bottom: 30px; }
.essay-page .site-footer, .listing-page .site-footer { margin-top: 35px; border-top: 1px solid var(--rule); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 600px) {
  .home-page, .listing-page, .essay-page { width: calc(100% - 46px); }
  .home-page { padding-top: 119px; }
  .intro { padding-bottom: 52px; }
  .intro h1 { margin-top: 21px; font-size: 36px; }
  .intro > p { font-size: 16px; line-height: 1.65; }
  .writing { padding: 51px 0 91px; }
  .essay-list { gap: 35px; }
  .essay-card h3 { font-size: 24px; }
  .essay-card p { font-size: 16px; }
  .newsletter { padding: 36px 0 55px; }
  .listing-page, .essay-page { padding-top: 42px; }
  .essay-header { margin-top: 56px; }
  .essay-body { font-size: 18px; line-height: 1.8; }
}
