:root {
  --paper: #ffffff;
  --ink: #000000;
  --muted: #666666;
  --line: #dddddd;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: #000000; color: #ffffff; }
a { color: inherit; text-decoration: none; }
a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; border-radius: 3px; }
p, h1, h2, h3 { margin: 0; }
.site-shell { max-width: 1032px; margin: auto; padding: 0 44px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 112px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 16px; font-weight: 600; letter-spacing: -.4px; }
.site-tagline { color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 13px; }
nav a { color: var(--muted); white-space: nowrap; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
nav .nav-github { color: var(--ink); }
.nav-github span { margin-left: 3px; }
.skip-link { position: absolute; top: -70px; left: 16px; z-index: 2; padding: 10px 18px; background: var(--ink); color: white; }
.skip-link:focus { top: 10px; }
.collection-page { padding: 55px 0 76px; }
.page-heading { margin-bottom: 35px; }
h1 { font: 400 44px/1.15 var(--serif); letter-spacing: -1.4px; }
.post-list, .project-list { border-top: 1px solid var(--line); }
.post-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; letter-spacing: .6px; text-transform: uppercase; }
.post-meta span { color: #888888; }
.post-row h2 { display: flex; align-items: center; gap: 10px; margin-top: 7px; font-size: 19px; line-height: 1.4; font-weight: 500; letter-spacing: -.3px; }
.post-link::after { content: ""; position: absolute; inset: 0; }
.post-row:focus-within .row-arrow { border-color: var(--ink); }
.recording-source { margin-top: 5px; color: var(--muted); font-size: 12px; }
.publisher-link { position: relative; z-index: 1; display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; }
.publisher-link img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.publisher-link:hover { opacity: .7; }
.post-description { max-width: 690px; margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.row-arrow { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; transition: background .15s, color .15s; }
.post-row:hover h2 { color: var(--ink); }
.post-row:hover .row-arrow { background: var(--ink); color: white; border-color: var(--ink); }
.project-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; gap: 22px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); }
.project-info h2 { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 500; letter-spacing: -.4px; overflow-wrap: anywhere; }
.project-avatar { display: block; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.project-info h2 > span { min-width: 0; }
.project-info > p { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 620px; }
.project-stars { white-space: nowrap; color: var(--ink); font-size: 13px; font-variant-numeric: tabular-nums; }
.project-stars span { font-size: 19px; vertical-align: -1px; }
.project-arrow { color: var(--ink); font-size: 18px; }
.project-row:hover h2 { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.article-wrap { max-width: 744px; margin: 0 auto; padding: 43px 0 80px; }
.back-link { color: var(--ink); font-size: 13px; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.article-header { margin: 37px 0 33px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-title { display: flex; align-items: flex-start; gap: 14px; margin-top: 15px; }
.article-title .publisher-link { width: 30px; height: 30px; margin-top: .65em; }
.article-header h1 { min-width: 0; margin-top: 0; font-size: clamp(36px, 4.7vw, 49px); line-height: 1.15; }
.article-byline { margin-top: 19px; font-size: 12px; color: var(--muted); }
.article-body { font-size: 16px; line-height: 1.85; overflow-wrap: break-word; }
.article-body > p { margin: 0 0 21px; }
.article-body h2 { font: 400 29px/1.3 var(--serif); letter-spacing: -.5px; margin: 39px 0 18px; }
.article-body h3 { font-size: 20px; line-height: 1.4; font-weight: 500; margin: 30px 0 15px; }
.article-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.article-body figure { margin: 30px 0; }
.article-body img { max-width: 100%; height: auto; }
.article-body figure img { display: block; margin: 0 auto; }
.article-body figcaption { color: var(--muted); text-align: center; font-size: 12px; line-height: 1.65; margin: 10px 0 20px; }
.article-body video { display: block; width: 100%; height: auto; max-height: 512px; margin: 25px auto; background: #000000; }
.article-body blockquote { border-left: 2px solid #cccccc; background: #f5f5f5; margin: 28px 0; padding: 19px 23px; font-size: 15px; }
.article-body ul, .article-body ol { padding-left: 26px; margin: 18px 0 24px; }
.article-body li { margin-bottom: 7px; }
.article-body pre { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; background: #f5f5f5; padding: 18px 20px; font: 12px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre; tab-size: 2; }
.article-body code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .85em; }
.article-body pre code { font-size: inherit; }
.article-end { display: inline-block; margin-top: 34px; }
@media (max-width: 700px) {
  .site-shell { padding: 0 24px; }
  .site-header { flex-direction: column; align-items: flex-start; gap: 18px; min-height: 0; padding: 24px 0; }
  nav { gap: 18px; font-size: 12px; }
  .collection-page { padding-top: 39px; }
  h1 { font-size: 39px; }
  .post-row { gap: 18px; padding: 25px 0; }
  .post-row h2 { font-size: 18px; }
  .post-description { font-size: 13px; }
  .project-row { grid-template-columns: minmax(0, 1fr) auto 15px; gap: 13px; padding: 25px 0; }
  .project-info h2 { font-size: 20px; }
  .project-info > p { font-size: 13px; }
  .article-wrap { padding-top: 32px; }
  .article-body { font-size: 15px; line-height: 1.85; }
  .article-body h2 { font-size: 26px; }
  .article-body blockquote { margin-inline: 0; padding: 16px; }
  .article-body pre { padding: 14px; font-size: 11px; }
}
@media (max-width: 420px) {
  .site-shell { padding: 0 20px; }
  .wordmark { font-size: 14px; }
  nav { gap: 14px; font-size: 11px; }
  .site-header { gap: 14px; }
  .article-header h1 { font-size: 36px; }
}
@media (max-width: 350px) {
  .nav-github { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
