.notes-section { padding-block: clamp(3rem, 7vw, 7rem); border-bottom: 1px solid var(--ink); }
.notes-heading, .notes-page h1 { display: block; width: auto; max-width: 19ch; font: 600 clamp(2.7rem, 6.3vw, 6.4rem)/1 var(--sans); letter-spacing: -.065em; text-wrap: balance; }
.notes-heading em, .notes-page h1 em { color: #91422c; font-weight: 400; }
.notes-heading { margin: 1.6rem 0 2rem; }
.notes-listing { display: grid; grid-template-columns: minmax(8rem, 1fr) 3fr auto; gap: 2rem; align-items: baseline; padding: 1.65rem 0; border-block: 1px solid var(--line); }
.notes-label { font: 700 .68rem/1.55 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.notes-listing strong { display: block; font-size: clamp(1.5rem, 2.8vw, 2.7rem); letter-spacing: -.045em; line-height: 1.12; }
.notes-listing small { display: block; color: #57594f; font-size: 1rem; line-height: 1.6; margin-top: .7rem; }
.notes-listing:hover strong { color: #91422c; }
.notes-listing b { font-size: 1.7rem; font-weight: 400; }
.notes-section .text-link { margin-top: 1.5rem; }
.notes-page header nav { display: flex; }
.notes-hero { padding-block: clamp(2.6rem, 7vw, 6.5rem) 2.5rem; }
.notes-hero h1 { margin: 1.3rem 0; }
.notes-deck { font: italic clamp(1.25rem, 2.4vw, 2rem)/1.4 Georgia, serif; max-width: 48ch; }
.notes-byline { margin-top: 1.75rem; color: #57594f; }
.notes-index { min-height: 65vh; margin-bottom: 5rem; }
.notes-body { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(0, 3fr); gap: clamp(2rem, 6vw, 7rem); border-top: 1px solid var(--ink); padding-block: 2.5rem 5rem; }
.notes-toc nav { display: grid; gap: .25rem; justify-content: start; margin: .8rem 0 0; }
.notes-toc nav a { padding: .4rem 0; }
.notes-prose { max-width: 69ch; font: 1.06rem/1.68 var(--sans); }
.notes-prose section + section { border-top: 1px solid var(--line); margin-top: 2.4rem; padding-top: 2.4rem; }
.notes-prose h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.12; letter-spacing: -.045em; margin-bottom: 1rem; }
.notes-prose p + p, .notes-prose li + li { margin-top: .8rem; }
.notes-prose a { color: #883e28; text-decoration: underline; text-underline-offset: .18em; }
.notes-prose ol, .notes-prose ul { padding-left: 1.45em; }
.notes-prose pre { background: var(--ink); color: var(--white); padding: 1.2rem; overflow-x: auto; font: .88rem/1.65 ui-monospace, monospace; }
.notes-prose code { font-size: .91em; overflow-wrap: anywhere; }
.notes-prose pre code { font: inherit; }
.notes-path { margin: 1.3rem 0; padding: 1.25rem; border-left: 3px solid #a44b30; background: #e8e2d5; }
.notes-path figcaption { margin-bottom: .5rem; }
@media (max-width: 700px) {
  .notes-body, .notes-listing { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .notes-toc { border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; margin-bottom: 1rem; }
  .notes-listing { position: relative; padding-right: 2rem; }
  .notes-listing b { position: absolute; right: 0; top: 1.3rem; }
  .site-header nav { flex-wrap: wrap; justify-content: flex-end; row-gap: 0; }
}
