:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --ink: #273d34;
  --quiet: #596259;
  --line: #d1d3c5;
  --accent: #95583c;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.65; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; }
.page-shell { width: min(1120px, calc(100% - 5rem)); margin: 0 auto; }
.skip-link { position: absolute; top: -5rem; left: 1rem; padding: 0.6rem 1rem; background: var(--paper); z-index: 2; }
.skip-link:focus { top: 1rem; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 112px; border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--serif); font-size: 1.9rem; letter-spacing: -0.07em; text-decoration: none; white-space: nowrap; }
.wordmark-dot { color: var(--accent); }
.site-header nav { display: flex; gap: 2rem; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.82rem; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.eyebrow { font-size: 0.67rem; font-weight: 600; line-height: 1.6; letter-spacing: 0.15em; text-transform: uppercase; }
.introduction { display: grid; grid-template-columns: 1fr 200px; align-items: center; gap: 3rem; padding: 5rem 0 4.5rem; }
.introduction h1 { margin: 1.15rem 0 1.5rem; font-size: clamp(2.8rem, 5.8vw, 4.7rem); letter-spacing: -0.045em; }
.intro-copy { max-width: 33rem; font-size: 1.03rem; color: var(--quiet); }
.margin-note { border-left: 1px solid var(--line); padding-left: 1.7rem; color: var(--quiet); }
.note-number { display: block; margin-bottom: 1.2rem; font-family: var(--serif); font-size: 2rem; color: var(--accent); }
.margin-note p { font-family: var(--serif); font-size: 1.15rem; font-style: italic; line-height: 1.5; }
.notes-section { padding-bottom: 4.75rem; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.section-heading h2 { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.section-heading p { font-size: 0.72rem; color: var(--quiet); }
.notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.75rem; }
.image-link { display: block; overflow: hidden; }
.image-link img { width: 100%; }
.card-category { margin: 1.5rem 0 0.7rem; color: var(--quiet); }
.note-card h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.035em; }
.note-card h3 a { text-decoration: none; }
.note-card h3 a:hover { text-decoration: underline; }
.note-card > p:not(.eyebrow) { max-width: 28rem; margin-top: 1rem; color: var(--quiet); font-size: 0.9rem; }
.read-link { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 44px; margin-top: 0.8rem; font-size: 0.78rem; }
.read-link span { color: var(--accent); font-size: 1.1rem; }
.about-section { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; padding: 3.25rem 0 4rem; border-top: 1px solid var(--line); }
.about-section > .eyebrow { padding-top: 0.35rem; color: var(--quiet); }
.about-section h2 { font-size: clamp(2rem, 3.7vw, 2.8rem); letter-spacing: -0.035em; }
.about-section div > p { max-width: 35rem; margin-top: 1.3rem; color: var(--quiet); font-size: 0.9rem; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding: 1.8rem 0; border-top: 1px solid var(--line); color: var(--quiet); font-size: 0.7rem; }
.site-footer p:first-child { font-family: var(--serif); font-size: 1rem; color: var(--ink); }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; gap: 0.5rem; }
.essay { max-width: 800px; margin: 0 auto; }
.essay-header { padding: 2rem 0 2.5rem; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; gap: 0.6rem; margin-bottom: 2rem; color: var(--quiet); font-size: 0.75rem; }
.essay-header h1 { margin: 1.15rem 0 1.4rem; font-size: clamp(2.5rem, 5.3vw, 4.1rem); letter-spacing: -0.04em; }
.essay-deck { max-width: 37rem; color: var(--quiet); font-family: var(--serif); font-size: 1.25rem; line-height: 1.5; }
.essay-figure img { width: 100%; }
.essay-figure figcaption { margin-top: 0.65rem; color: var(--quiet); font-size: 0.7rem; }
.essay-body { max-width: 610px; margin: 2.75rem auto 4rem; font-family: var(--serif); font-size: 1.16rem; line-height: 1.8; }
.essay-body > p + p { margin-top: 1.3rem; }
.essay-body h2 { margin: 2.25rem 0 1.2rem; font-size: 1.9rem; letter-spacing: -0.025em; }
.essay-body blockquote { margin: 2.2rem 0; padding: 0.4rem 0 0.4rem 1.4rem; border-left: 2px solid var(--accent); font-size: 1.4rem; font-style: italic; line-height: 1.55; }
.next-note { margin-bottom: 4rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.next-note h2 { max-width: 35rem; margin: 0.8rem 0; font-size: 1.9rem; letter-spacing: -0.025em; }
.next-note h2 a { text-decoration: none; }
.next-note h2 a:hover { text-decoration: underline; }
.next-note > p:last-child { color: var(--quiet); font-size: 0.85rem; }

@media (max-width: 720px) {
  .page-shell { width: calc(100% - 2.5rem); }
  .site-header { min-height: 88px; gap: 1rem; }
  .wordmark { font-size: 1.65rem; }
  .site-header nav { gap: 1.2rem; }
  .site-header nav a { font-size: 0.75rem; }
  .introduction { grid-template-columns: 1fr; gap: 0; padding: 3rem 0; }
  .introduction h1 { font-size: clamp(2.7rem, 8vw, 3.8rem); }
  .margin-note { display: none; }
  .intro-copy { font-size: 0.95rem; }
  .notes-grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .note-card h3 { font-size: 2.15rem; }
  .notes-section { padding-bottom: 3rem; }
  .about-section { grid-template-columns: 1fr; gap: 1rem; padding: 2.5rem 0 3rem; }
  .site-footer { flex-wrap: wrap; padding: 1.3rem 0; }
  .site-footer p:nth-child(2) { flex-basis: 100%; order: 3; }
  .essay-header { padding-bottom: 2rem; }
  .back-link { margin-bottom: 1.5rem; }
  .essay-header h1 { font-size: clamp(2.35rem, 7.5vw, 3.6rem); }
  .essay-deck { font-size: 1.13rem; }
  .essay-body { margin: 2rem auto 3rem; font-size: 1.08rem; }
  .essay-body blockquote { font-size: 1.25rem; }
  .next-note { margin-bottom: 2rem; }
}

@media print {
  body { background: #fff; color: #000; }
  .page-shell { width: 100%; }
  .site-header nav, .skip-link, .back-link, .next-note, .site-footer { display: none; }
  .site-header { min-height: 64px; }
  .essay-header { padding-top: 1.5rem; }
  .essay-body { max-width: 100%; font-size: 11pt; }
  .essay-figure { max-width: 65%; margin: 0 auto; }
  a { text-decoration: none; }
}
