:root {
  --paper: #fbf5ed;
  --ink: #211913;
  --muted: #74675e;
  --line: #dfd0c1;
  --accent: #ad4f24;
  --accent-soft: #ead0bd;
  --measure: 44rem;
}

* { box-sizing: border-box; }
html { color-scheme: light; background: var(--paper); }
body { margin: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.68; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
img, video, iframe { max-width: 100%; }
img { height: auto; }
.wrap { width: min(calc(100% - 2.5rem), 68rem); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: baseline; padding-block: 2rem; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 1.05rem; font-weight: 600; text-decoration: none; letter-spacing: -.015em; }
nav { display: flex; gap: 1.2rem; font-size: .9rem; }
nav a { text-decoration: none; color: var(--muted); }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 17rem); gap: clamp(3rem, 8vw, 7rem); align-items: center; padding-block: clamp(5rem, 11vw, 8.5rem); }
.intro h1 { max-width: 19ch; margin: .65rem 0 1.5rem; font-size: clamp(2.35rem, 5vw, 4.15rem); line-height: 1.03; letter-spacing: -.035em; font-weight: 500; }
.eyebrow { margin: 0; color: var(--accent); font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; }
.lede { max-width: 37rem; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }
.portrait { position: relative; margin: 0; }
.portrait::before { position: absolute; inset: -0.7rem 0.7rem 0.7rem -0.7rem; z-index: -1; border-radius: 50%; background: var(--accent-soft); content: ""; }
.portrait img { display: block; width: 100%; aspect-ratio: 1; border: 2px solid var(--accent); border-radius: 50%; object-fit: cover; }
.writing { padding-bottom: 8rem; }
.writing > h2 { margin: 0; padding-bottom: .8rem; border-bottom: 1px solid var(--line); font: 700 .75rem/1.2 ui-sans-serif, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: baseline; padding: 1.35rem 0; text-decoration: none; font-size: 1.35rem; line-height: 1.25; }
.post-list time { color: var(--muted); font: .78rem/1.2 ui-sans-serif, system-ui, sans-serif; white-space: nowrap; }
.post { max-width: var(--measure); padding-block: clamp(4rem, 10vw, 8rem); }
.post-header { margin-bottom: 3.5rem; }
.post-header h1 { margin: .55rem 0 0; font-size: clamp(2.6rem, 7vw, 4.8rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; }
.prose h2, .prose h3 { margin: 2.5em 0 .6em; line-height: 1.15; letter-spacing: -.02em; }
.prose h1 { font-size: 1.8rem; }
.prose blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 3px solid var(--accent); color: var(--muted); }
.prose pre { overflow-x: auto; padding: 1rem; border: 1px solid var(--line); background: #eeebe4; font-size: .85rem; }
.prose hr { margin-block: 3.5rem; border: 0; border-top: 1px solid var(--line); }
.prose .head_anchor { display: none; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 2rem 3rem; border-top: 1px solid var(--line); color: var(--muted); font: .78rem/1.5 ui-sans-serif, system-ui, sans-serif; }
.site-footer p { margin: 0; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .site-header { align-items: center; }
  nav { gap: .8rem; }
  .intro { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 4.5rem 5.5rem; }
  .intro-copy { order: 2; }
  .portrait { order: 1; width: min(52vw, 12rem); }
  .post-list a { grid-template-columns: 1fr; gap: .45rem; }
  .site-footer { flex-direction: column; }
}
