:root {
  --paper: #F4EFE4;
  --ink: #1A1613;
  --muted: #6E655B;
  --rule: #D8CEBB;
  --underline: #C6BAA4;
  --accent: #B5432E;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.55 Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 620px; margin: 0 auto; padding: 88px 20px 96px; }

h1 { font: italic 400 44px/1.05 "Instrument Serif", Georgia, serif; letter-spacing: -0.01em; }
h1 a { text-decoration: none; }

hr { border: 0; border-top: 1px solid var(--rule); margin: 22px 0; }

a { color: inherit; text-decoration: underline; text-decoration-color: var(--underline);
    text-underline-offset: 3px; text-decoration-thickness: 1.2px;
    transition: color .15s, text-decoration-color .15s; }
a:hover { color: var(--accent); text-decoration-color: var(--accent); }

.links { font-size: 16px; color: var(--muted); }
.links a { color: var(--ink); }
.links span { margin: 0 6px; }

.about::after { content: ""; display: block; clear: both; }
.photo { float: right; width: 226px; height: 325px; object-fit: cover; object-position: center;
         margin: 6px 0 8px 24px; }
.statement { font-weight: 600; margin-bottom: 12px; }
.about p + p { margin-top: 12px; }

h2 { scroll-margin-top: 40px; font: 600 12px/1 Inter, system-ui, sans-serif; letter-spacing: 0.14em;
     text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }


.foot { font-size: 14px; margin-top: -4px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--accent); }

.notes li { list-style: none; }
.notes li + li { margin-top: 22px; }
.notes .title { font-weight: 600; }
.notes .dek { color: var(--muted); }
.notes time { display: block; font-size: 14px; color: var(--muted); margin-top: 2px;
              font-variant-numeric: tabular-nums; }

/* note page */
.masthead { font: italic 400 22px/1 "Instrument Serif", Georgia, serif; }
.masthead a { text-decoration: none; }
.kicker { margin-top: 10px; font: 600 12px/1 Inter, system-ui, sans-serif;
          letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.kicker a { text-decoration: none; }
.note-title { font: 600 28px/1.25 Inter, system-ui, sans-serif; letter-spacing: -0.01em; }
.note-date { display: block; font-size: 14px; color: var(--muted); margin-top: 8px;
             font-variant-numeric: tabular-nums; }
.note-body { margin-top: 26px; font-size: 19px; line-height: 1.6; }
.note-body > * + * { margin-top: 18px; }
.note-body h3 { font: 600 19px/1.4 Inter, system-ui, sans-serif; margin-top: 32px; }
.note-body blockquote { border-left: 2px solid var(--rule); padding-left: 16px; color: var(--muted); }
.note-body ul { padding-left: 20px; }
.note-body li + li { margin-top: 6px; }
.note-body .pull { border-left: 2px solid var(--rule); padding-left: 18px;
                   margin-top: 26px; margin-bottom: 26px; }
.note-body .closer { font-style: italic; color: var(--muted); }
.pager { display: flex; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.pager a { flex: 1 1 0; font-weight: 600; text-decoration: none; }
.pager a:hover { color: var(--accent); }
.pager .newer { text-align: right; }
.pager .dir { display: block; font: 600 11px/1 Inter, system-ui, sans-serif; letter-spacing: 0.14em;
              text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
@media (max-width: 480px) {
  .pager { flex-direction: column; gap: 18px; }
  .pager .newer { text-align: left; }
}
.back { font-size: 16px; color: var(--muted); margin-bottom: 22px; }

@media (max-width: 480px) {
  main { padding-top: 56px; }
  h1 { font-size: 38px; }
  .photo { float: none; display: block; width: 226px; height: 300px; margin: 0 0 20px; }
}
