:root {
  color-scheme: light;
  --paper: #faf7ee;
  --surface: #fffcf5;
  --ink: #202e2b;
  --secondary: #59645b;
  --teal: #173c35;
  --rule: #c9d0be;
  --brand-burgundy: #301a20;
  --brand-brass: #d3b980;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; padding: 16px; background: #e8e9e2; color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.65; }
a { color: var(--teal); text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 6px; }
.page { max-width: 1320px; margin: 0 auto; padding: 0 60px; background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--teal); }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 10px 16px; background: var(--surface); transform: translateY(-180%); z-index: 2; }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--rule); }
nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
nav a { color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--teal); }
.site-header nav a[aria-current] { font-weight: 700; }
.site-header nav a:hover { background: var(--surface); }
.site-header nav a:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.nav-placeholder { color: var(--secondary); }
.soon { margin-left: 4px; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.welcome { padding: 48px 0 44px; max-width: 760px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: 42px; line-height: 1.2; letter-spacing: -.03em; margin: 0 0 18px; }
.welcome p { font-size: 18px; line-height: 1.8; margin: 0; }
.reading-columns { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 54px; padding: 0 0 64px; }
.recent-writing, .worth-reading { border-top: 2px solid var(--teal); padding-top: 23px; scroll-margin-top: 24px; }
.section-heading h2 { font-size: 28px; line-height: 1.3; letter-spacing: -.025em; margin: 0 0 8px; }
.section-heading p { font-size: 14px; color: var(--secondary); margin: 0; }
.preview-note { font-size: 12px; line-height: 1.7; color: var(--secondary); padding: 10px 12px; background: #efeee5; margin: 22px 0 4px; }
.entry-list { list-style: none; padding: 0; margin: 0; }
.entry-list li + li { border-top: 1px solid var(--rule); }
.writing-entry, .outside-entry { padding: 24px 0; }
.entry-meta { font-size: 11px; line-height: 1.7; color: var(--secondary); margin: 0 0 9px; }
.entry-meta span { margin: 0 8px; }
.writing-entry > .card-dates:last-child { font-size: 11px; line-height: 1.7; color: var(--secondary); margin: 20px 0 0; }
h3 { font-size: 25px; line-height: 1.3; letter-spacing: -.015em; margin: 0 0 10px; overflow-wrap: anywhere; }
.writing-entry > p:last-child, .outside-entry > p:last-child { font-size: 15px; line-height: 1.75; color: var(--secondary); margin: 0; }
.outside-entry h3 { font-size: 22px; }
.archive-placeholder { border-top: 1px solid var(--rule); padding-top: 19px; margin: 0; font-size: 13px; color: var(--secondary); }
.brand-seal { display: grid; place-items: center; flex: 0 0 60px; width: 60px; height: 60px; border: 1px solid #a28a625f; color: var(--brand-brass); font: 27px/1 Baskerville, 'Palatino Linotype', Georgia, serif; letter-spacing: -.04em; }
.wordmark-name { text-transform: uppercase; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 0 -60px; padding: 35px 50px; background: var(--brand-burgundy); color: #d8cdbb; font: 11px/1.8 var(--sans); }
.site-footer p { margin: 0; }
.site-footer .footer-identity { margin-right: auto; }
.footer-links { text-align: right; }
.site-footer a { color: #e7d9c3; }
.site-footer a:focus-visible { outline-color: var(--brand-brass); }
@media (max-width: 1000px) {
  body { padding: 12px; }
  .page { padding: 0 32px; }
  .reading-columns { gap: 32px; }
  .site-footer { margin-inline: -32px; }
}
@media (max-width: 800px) {
  body { padding: 8px; }
  .page { padding: 0 20px; }
  .site-header { flex-wrap: wrap; gap: 22px; padding: 18px 0; }
  nav { width: 100%; gap: 28px; }
  .welcome { padding: 34px 0; }
  h1 { font-size: 36px; }
  .reading-columns { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 42px; }
  .section-heading h2 { font-size: 26px; }
  .site-footer { display: grid; grid-template-columns: 45px minmax(0, 1fr); margin-inline: -20px; padding: 29px 25px; gap: 20px; font-size: 10px; }
  .brand-seal { width: 45px; height: 45px; font-size: 23px; }
  .footer-links { grid-column: 2; text-align: left; }
}

.site-header nav { flex-wrap: wrap; }
