/* A quiet, type-led notebook. No font or image requests required. */
:root {
  color-scheme: light;
  --paper: #f8f7f4;
  --ink: #272823;
  --body: #51524c;
  --muted: #6f7067;
  --rule: #d9dad2;
  --soft: #ecece5;
  --accent: #58604c;
  --serif: 'Iowan Old Style', 'Baskerville', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #1e201d;
  --ink: #eae9e2;
  --body: #bfc0b6;
  --muted: #a3a699;
  --rule: #3d4038;
  --soft: #2b2e27;
  --accent: #c2cbb4;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
main:focus { outline: none; }
h1, h2, h3, p { margin: 0; }
.site-wrap { max-width: 1120px; margin: 0 auto; padding: 0 48px; }
.site-header { min-height: 121px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--rule); gap: 24px; }
.wordmark { font-weight: 550; font-size: 18px; letter-spacing: -.65px; white-space: nowrap; }
.wordmark-dot { color: var(--muted); }
.header-controls, .site-header nav { display: flex; align-items: center; }
.header-controls { gap: 32px; }
.site-header nav { gap: 29px; }
.site-header nav a { font-size: 13px; color: var(--muted); padding: 10px 0; position: relative; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); }
.site-header nav a[aria-current]::after { content: ''; position: absolute; bottom: 3px; height: 1px; background: currentColor; left: 0; right: 0; }
.theme-toggle { display: grid; place-items: center; width: 32px; height: 40px; border: 0; padding: 0; background: none; }
.theme-symbol { width: 14px; height: 14px; border: 1.2px solid var(--muted); border-radius: 50%; position: relative; overflow: hidden; display: block; }
.theme-symbol::before { content: ''; display: block; position: absolute; width: 50%; inset: 0 auto 0 0; background: var(--muted); }
.theme-toggle:hover .theme-symbol { border-color: var(--ink); }
.theme-toggle:hover .theme-symbol::before { background: var(--ink); }
.eyebrow { font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: 1.8px; line-height: 1.6; text-transform: uppercase; color: var(--muted); }
.home-intro { padding: 79px 0 79px; }
.intro-label { display: flex; gap: 13px; align-items: center; }
.small-rule { height: 1px; width: 24px; background: var(--muted); }
h1 { font-family: var(--serif); font-weight: 400; letter-spacing: -3px; line-height: 1.08; text-wrap: balance; }
.home-intro h1 { font-size: clamp(70px, 8.6vw, 114px); letter-spacing: -5.5px; margin: 24px 0 35px; }
.title-period { color: var(--muted); }
.intro-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.intro-copy { font-size: 20px; line-height: 1.5; letter-spacing: -.5px; }
.intro-aside { padding-left: 2px; padding-top: 2px; }
.intro-aside p { color: var(--body); font-size: 14px; line-height: 1.75; margin-bottom: 15px; }
.text-link { display: inline-flex; gap: 13px; align-items: center; font-size: 13px; line-height: 1.6; padding: 4px 0; text-underline-offset: 5px; }
.text-link span { font-size: 16px; transition: transform 160ms ease; }
.text-link:hover { text-decoration: underline; }
.text-link:hover span { transform: translate(2px,-2px); }
.muted-link { color: var(--muted); }
.writing-section { border-top: 1px solid var(--ink); }
.section-heading { display: flex; justify-content: space-between; align-items: center; padding: 21px 0 16px; gap: 20px; }
.section-heading .text-link { font-size: 12px; }
.post-row { display: grid; grid-template-columns: 132px minmax(0,1fr) 24px; gap: 25px; padding: 32px 0 34px; border-bottom: 1px solid var(--rule); }
.post-row-date { font-family: var(--mono); font-size: 10px; letter-spacing: .5px; color: var(--muted); padding-top: 5px; line-height: 1.7; }
.post-row :is(h2, h3) { font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1.27; letter-spacing: -.55px; max-width: 665px; text-wrap: pretty; }
.post-row-description { color: var(--body); font-size: 13px; line-height: 1.8; max-width: 605px; margin: 11px 0 13px; }
.post-row-meta { display: flex; align-items: center; gap: 11px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .6px; }
.meta-separator { width: 2px; height: 2px; border-radius: 50%; background: currentColor; }
.post-arrow { color: var(--muted); padding-top: 2px; font-size: 19px; transition: transform 160ms ease; }
.post-row:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.post-row:hover .post-arrow { color: var(--ink); transform: translate(3px,-3px); }
.post-row:focus-visible { outline-offset: 6px; }
.home-note { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 58px 0 71px; }
.home-note p { font-family: var(--serif); font-style: italic; font-size: 24px; letter-spacing: -.4px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; padding: 28px 0 33px; border-top: 1px solid var(--rule); color: var(--muted); gap: 20px; font-size: 10px; letter-spacing: .1px; }
.back-top { display: inline-flex; gap: 9px; align-items: center; padding: 5px 0; }
.back-top:hover { color: var(--ink); }
.skip-link { position: fixed; top: -70px; left: 20px; background: var(--ink); color: var(--paper); padding: 10px 20px; z-index: 10; }
.skip-link:focus { top: 12px; }
.page-intro { padding: 76px 0 62px; }
.page-intro h1 { font-size: clamp(62px,8vw,90px); margin: 22px 0; }
.page-description { color: var(--body); font-size: 15px; max-width: 520px; }
.archive { min-height: 455px; padding-bottom: 75px; }
.archive-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 17px 0; }
.category-filter { display: flex; flex-wrap: wrap; column-gap: 25px; row-gap: 4px; }
.category-btn { background: transparent; border: 0; border-bottom: 1px solid transparent; padding: 7px 0; color: var(--muted); font-size: 12px; }
.category-btn:hover { color: var(--ink); }
.category-btn[aria-pressed='true'] { border-bottom-color: var(--ink); color: var(--ink); }
.post-count { font-family: var(--mono); color: var(--muted); font-size: 10px; white-space: nowrap; }
.loading-state, .empty-state { padding: 45px 0; font-size: 14px; color: var(--muted); }
.empty-state p { margin: 0 0 12px; }
.empty-state button { border: 0; border-bottom: 1px solid var(--rule); background: transparent; padding: 4px 0; font-size: 13px; }
.empty-state a { text-decoration: underline; text-underline-offset: 4px; }
.about-intro { padding-bottom: 65px; }
.about-intro h1 { margin-bottom: 0; }
.about-intro h1 em { font-weight: 400; }
.about-section { display: grid; grid-template-columns: 240px 1fr; gap: 35px; padding: 45px 0 60px; border-top: 1px solid var(--rule); }
.about-section > h2 { padding-top: 9px; }
.about-copy { max-width: 605px; }
.about-copy .about-lead { font-family: var(--serif); font-size: 30px; color: var(--ink); line-height: 1.35; margin-bottom: 25px; }
.about-copy p { font-size: 15px; color: var(--body); line-height: 1.9; margin-bottom: 20px; }
.about-copy .text-link { margin-top: 5px; }
.journey-section { padding-bottom: 38px; }
.journey-entry { display: grid; grid-template-columns: 118px 1fr; gap: 20px; padding: 6px 0 28px; }
.journey-entry + .journey-entry { padding-top: 27px; border-top: 1px solid var(--rule); }
.journey-date { font-family: var(--mono); font-size: 10px; color: var(--muted); padding-top: 5px; }
.journey-entry h3 { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.journey-entry div p { font-size: 13px; color: var(--body); line-height: 1.8; }
.contact-note { border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 40px 0 68px; }
.contact-note p { font-family: var(--serif); font-size: 26px; letter-spacing: -.4px; }
.article-shell { max-width: 744px; margin: 0 auto; padding: 53px 0 60px; }
.article-back { color: var(--muted); font-size: 12px; margin-bottom: 46px; }
.article-back:hover span { transform: translateX(-3px); }
.article-header { padding-bottom: 32px; border-bottom: 1px solid var(--rule); margin-bottom: 43px; }
.article-header h1 { font-size: clamp(40px,5.5vw,62px); line-height: 1.09; letter-spacing: -2px; margin: 21px 0 30px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 24px; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.article-meta[hidden] { display: none; }
.prose { font-family: var(--serif); font-size: 20px; color: var(--body); line-height: 1.85; overflow-wrap: break-word; }
.prose > p:first-child { font-size: 23px; line-height: 1.7; color: var(--ink); }
.prose p { margin-bottom: 26px; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--ink); line-height: 1.3; font-weight: 400; }
.prose h2 { font-size: 32px; letter-spacing: -.7px; margin: 48px 0 20px; }
.prose h3 { font-size: 25px; letter-spacing: -.4px; margin: 32px 0 14px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 25px; margin: 22px 0 28px; }
.prose li { margin-bottom: 8px; padding-left: 5px; }
.prose li > ul, .prose li > ol { margin: 9px 0; }
.prose a { text-decoration: underline; text-underline-offset: 4px; }
.prose blockquote { border-left: 1px solid var(--ink); padding: 3px 0 3px 26px; margin: 32px 0; font-style: italic; font-size: 24px; color: var(--ink); }
.prose blockquote p { margin: 0; }
.prose code { font-family: var(--mono); font-size: .71em; padding: 3px 5px; background: var(--soft); color: var(--ink); border-radius: 3px; }
.prose pre { padding: 22px; background: var(--soft); overflow-x: auto; margin: 28px 0; line-height: 1.65; }
.prose pre code { padding: 0; border-radius: 0; display: block; font-size: 12px; }
.prose img { max-width: 100%; height: auto; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
.article-end { border-top: 1px solid var(--rule); margin-top: 60px; padding: 26px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; color: var(--muted); }
@media (min-width: 1450px) { .home-intro { padding-top: 98px; padding-bottom: 90px; } }
@media (max-width: 800px) {
  .site-wrap { padding: 0 30px; }
  .site-header { min-height: 98px; }
  .home-intro { padding-top: 64px; padding-bottom: 64px; }
  .home-intro h1 { font-size: 87px; }
  .intro-bottom { grid-template-columns: 1fr 1fr; gap: 26px; }
  .post-row { grid-template-columns: 99px minmax(0,1fr) 20px; gap: 20px; }
  .post-row :is(h2, h3) { font-size: 26px; }
  .about-section { grid-template-columns: 170px 1fr; gap: 25px; }
  .journey-entry { grid-template-columns: 1fr; gap: 5px; }
  .category-filter { column-gap: 19px; }
}
@media (max-width: 560px) {
  .site-wrap { padding: 0 23px; }
  .site-header { min-height: 85px; gap: 13px; flex-wrap: wrap; }
  .wordmark { font-size: 16px; letter-spacing: -.6px; }
  .header-controls { gap: 12px; }
  .site-header nav { gap: 15px; }
  .site-header nav a { font-size: 11px; }
  .theme-toggle { width: 23px; }
  .theme-symbol { width: 13px; height: 13px; }
  .home-intro { padding: 52px 0 48px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.5px; }
  .home-intro h1 { font-size: clamp(48px,12.4vw,70px); letter-spacing: -2.8px; margin: 24px 0 29px; }
  .intro-bottom { grid-template-columns: 1fr; gap: 25px; }
  .intro-copy { font-size: 20px; line-height: 1.5; }
  .intro-aside { padding: 0; max-width: 315px; }
  .intro-aside p { font-size: 13px; margin-bottom: 11px; }
  .desktop-break { display: none; }
  .section-heading { padding: 17px 0 12px; }
  .post-row { grid-template-columns: minmax(0,1fr) 20px; gap: 11px 14px; padding: 25px 0 27px; }
  .post-row-date { grid-column: 1; padding-top: 0; font-size: 9px; }
  .post-row-main { grid-column: 1; grid-row: 2; }
  .post-arrow { grid-column: 2; grid-row: 2; padding-top: 0; }
  .post-row :is(h2, h3) { font-size: 26px; letter-spacing: -.5px; }
  .post-row-description { font-size: 12px; line-height: 1.8; margin: 10px 0 12px; }
  .post-row-meta { font-size: 9px; }
  .home-note { align-items: flex-start; flex-direction: column; gap: 12px; padding: 37px 0 46px; }
  .home-note p { font-size: 23px; }
  .site-footer { flex-wrap: wrap; row-gap: 10px; padding: 22px 0 25px; font-size: 9px; }
  .footer-note { order: 3; width: 100%; }
  .page-intro { padding: 51px 0 41px; }
  .page-intro h1 { font-size: 66px; letter-spacing: -2.5px; margin: 19px 0 21px; }
  .page-description { font-size: 14px; }
  .archive-toolbar { flex-wrap: wrap; row-gap: 12px; padding: 12px 0 16px; }
  .category-filter { column-gap: 21px; row-gap: 0; }
  .category-btn { font-size: 11px; }
  .post-count { width: 100%; font-size: 9px; }
  .archive { padding-bottom: 50px; }
  .about-section { grid-template-columns: 1fr; gap: 23px; padding: 25px 0 36px; }
  .about-copy .about-lead { font-size: 29px; }
  .about-copy p { font-size: 14px; margin-bottom: 18px; }
  .journey-entry { grid-template-columns: 96px minmax(0,1fr); gap: 16px; }
  .journey-date { font-size: 9px; }
  .journey-entry h3 { font-size: 14px; }
  .journey-entry div p { font-size: 12px; }
  .contact-note { flex-direction: column; align-items: flex-start; gap: 13px; padding: 29px 0 40px; }
  .contact-note p { font-size: 24px; }
  .article-shell { padding: 32px 0 40px; }
  .article-back { margin-bottom: 33px; }
  .article-header { padding-bottom: 25px; margin-bottom: 31px; }
  .article-header h1 { font-size: 40px; letter-spacing: -1.35px; line-height: 1.12; margin: 18px 0 24px; }
  .article-meta { font-size: 9px; gap: 7px 15px; }
  .prose { font-size: 18px; line-height: 1.8; }
  .prose > p:first-child { font-size: 20px; }
  .prose h2 { font-size: 29px; }
  .prose h3 { font-size: 23px; }
  .prose blockquote { font-size: 21px; padding-left: 19px; }
  .prose pre { padding: 16px; }
  .article-end { flex-direction: column; align-items: flex-start; gap: 11px; margin-top: 38px; }
}
@media (max-width: 360px) {
  .site-wrap { padding: 0 19px; }
  .site-header { padding: 18px 0; row-gap: 11px; }
  .header-controls { width: 100%; justify-content: space-between; }
  .home-intro h1 { font-size: 49px; }
  .journey-entry { grid-template-columns: 1fr; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
