:root {
  --paper: #f5f0e6;
  --paper-deep: #ebe3d3;
  --ink: #20201c;
  --muted: #716d63;
  --rule: #cfc5b4;
  --accent: #426d70;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.4rem 0.7rem;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-150%);
  font-family: var(--sans);
  font-size: 0.8rem;
}
.skip-link:focus { transform: translateY(0); }

.site-header { padding: 1.45rem 1.5rem 0; }
.header-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 650;
  font-size: 0.9rem;
  letter-spacing: -0.025em;
}
.wordmark svg { width: 30px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.main-nav { display: flex; gap: 1.25rem; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.035em; }
.main-nav a { color: var(--ink); text-decoration: none; }
.main-nav a:hover { color: var(--accent); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.04em; cursor: pointer; }

.essay { width: min(calc(100% - 3rem), 68ch); margin: 0 auto; padding: 6.7rem 0 7rem; }
.hero { margin-bottom: 5.1rem; }
.kicker, .chapter-number, .meta {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.kicker { color: var(--accent); margin-bottom: 1.5rem; }
h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.55rem, 7vw, 5.15rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.meta { color: var(--muted); margin-top: 1.9rem; letter-spacing: 0.06em; }
.meta a { color: inherit; }
.opening { max-width: 61ch; margin: 2.4rem 0 0; font-size: clamp(1.22rem, 2.4vw, 1.48rem); line-height: 1.58; }
.opening::first-letter { float: left; margin: 0.04em 0.11em -0.07em 0; color: var(--accent); font-size: 4.6em; line-height: 0.76; }

section { margin-top: 4.6rem; }
.chapter-number { color: var(--accent); margin-bottom: 0.65rem; }
h2 { margin: 0 0 1.15rem; font-size: clamp(1.68rem, 3.5vw, 2.28rem); font-weight: 400; line-height: 1.16; letter-spacing: -0.03em; }
p { margin: 0 0 1.35rem; }
section p:last-child { margin-bottom: 0; }
.pull-quote { margin: 5rem -2.2rem; padding: 1.9rem 2.2rem 1.7rem; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.pull-quote p { max-width: 30ch; margin: 0; font-size: clamp(1.42rem, 3vw, 2rem); line-height: 1.3; letter-spacing: -0.025em; }
.pull-quote cite { display: block; margin-top: 1rem; color: var(--muted); font-family: var(--sans); font-size: 0.72rem; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; }
.closing { margin-top: 5.5rem; padding-top: 2.1rem; border-top: 1px solid var(--rule); }
.contact-line { font-family: var(--sans); font-size: 0.9rem; line-height: 1.7; }
.text-link { font-family: var(--sans); font-size: 0.9rem; font-weight: 650; text-decoration-thickness: 1px; }
.text-link span { padding-left: 0.15rem; }

.site-footer { border-top: 1px solid var(--rule); padding: 1.3rem 1.5rem 2rem; }
.footer-inner { width: min(100%, 1120px); margin: 0 auto; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.025em; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.8rem 1.1rem; }
.footer-links a { color: var(--muted); }
.privacy .hero { margin-bottom: 4.6rem; }
.privacy h1 { max-width: 18ch; }

@media (max-width: 680px) {
  body { font-size: 17px; }
  .site-header { padding: 1rem 1.15rem 0; }
  .header-inner { position: relative; flex-wrap: wrap; padding-bottom: 0.85rem; }
  .menu-toggle { display: block; }
  .main-nav { display: none; width: 100%; padding: 1rem 0 0.1rem; flex-direction: column; gap: 0.75rem; }
  .main-nav.is-open { display: flex; }
  .static-nav { display: flex; width: auto; padding: 0; flex-direction: row; gap: 0.85rem; }
  .essay { width: min(calc(100% - 2.3rem), 68ch); padding: 4.25rem 0 4.5rem; }
  .hero { margin-bottom: 3.6rem; }
  h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  section { margin-top: 3.65rem; }
  .pull-quote { margin: 3.8rem 0; padding: 1.55rem 0; }
  .site-footer { padding: 1.25rem 1.15rem 1.65rem; }
  .footer-inner { display: block; }
  .footer-links { justify-content: flex-start; margin-top: 0.65rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
