@charset "UTF-8";

:root { --muted: light-dark(#434b55, #949da8); --line: light-dark(#0a151a1a, #d7e6ee1a); --panel: light-dark(#e4e7eb, #0d1117); --content-width: 1200px; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
button, input { border-radius: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 50; padding: 14px 20px; background: var(--paper); color: var(--space); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.accent { color: var(--red); }
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; height: 86px; padding: 0 4.2%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid light-dark(#0a151a0a, #d7e6ee0a); }
.site-brand, .footer-brand { display: inline-flex; flex-shrink: 0; align-items: center; }
.brand-logo { display: block; width: 56px; height: 56px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 36px; font-size: 12px; letter-spacing: 0.08em; color: light-dark(#2a3038, #b5bdc6); }
.site-nav a { padding-block: 14px; transition: color 180ms; }
.site-nav a:hover, .site-nav a[aria-current], .footer-links a:hover { color: var(--paper); }
.site-nav .nav-rss { font: 11px "Consolas", monospace; color: var(--muted); border-left: 1px solid var(--line); padding-left: 32px; }
.nav-rss span { margin-left: 5px; color: var(--red); }
.menu-toggle { display: none; }
.section-wrap { width: min(var(--content-width), 85%); margin-inline: auto; }
.journal-section { padding: 112px 0 102px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 55px; }
.eyebrow { margin: 0 0 23px; color: var(--muted); font: 10px/1.5 "Consolas", "SFMono-Regular", monospace; letter-spacing: 0.16em; }
.eyebrow > span { color: var(--red); margin-right: 15px; }
.section-wrap h2 { margin: 0; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.55; letter-spacing: -0.045em; font-weight: 600; }
.section-intro { color: var(--muted); font-size: 12px; line-height: 2; margin: 0 0 8px; }
.journal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 64px; }
.journal-main { min-width: 0; }
.post-search { display: flex; align-items: center; border: 1px solid var(--line); padding: 0 16px; gap: 12px; height: 54px; margin-bottom: 20px; background: light-dark(#04040402, #ffffff02); }
.post-search > svg { flex-shrink: 0; width: 19px; height: 19px; stroke: var(--muted); stroke-width: 1.4; }
.post-search input { width: 100%; min-width: 0; background: transparent; border: 0; color: var(--paper); padding: 12px 0; font-size: 13px; }
.post-search input::placeholder { color: light-dark(#545e6a, #7e8996); }
.post-search input::-webkit-search-cancel-button { display: none; }
.clear-search, .search-submit { border: 0; background: none; padding: 8px 2px; font-size: 11px; white-space: nowrap; color: var(--muted); }
.search-submit { color: var(--paper); }
.journal-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.filter-list { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 20px; }
.filter-button { background: none; border: 1px solid transparent; padding: 8px 12px; font-size: 12px; color: var(--muted); }
.filter-button[aria-pressed="true"] { background: light-dark(#f0644611, #f0644611); border-color: light-dark(#f0644633, #f0644633); color: light-dark(#c0401f, #fa967e); }
.filter-button:hover { color: var(--paper); }
.filter-count { font: 10px "Consolas", monospace; margin-left: 7px; opacity: 0.7; }
.results-count { margin: 0 0 16px; font-size: 11px; color: var(--muted); }
.journal-empty { border-block: 1px solid var(--line); min-height: 430px; padding: 50px 24px 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(ellipse at 50% 25%, light-dark(#26313e05, #afbdcd05), transparent 60%); }
.empty-orbit { position: relative; display: block; width: 92px; height: 92px; border: 1px solid light-dark(#23303d2a, #b0c0d12a); border-radius: 50%; margin-bottom: 34px; }
.empty-orbit::before { content: ""; position: absolute; width: 145px; height: 38px; border: 1px solid light-dark(#23303d47, #b0c0d147); border-radius: 50%; top: 26px; left: -28px; transform: rotate(-28deg); }
.empty-orbit::after { content: ""; position: absolute; right: -16px; top: 14px; width: 5px; height: 5px; background: var(--red); border-radius: 50%; box-shadow: 0 0 16px light-dark(#f0644644, #f0644644); }
.empty-kicker { font: 9px "Consolas", monospace !important; letter-spacing: 0.2em; color: light-dark(#5c6977, #717e8d) !important; margin: 0 0 16px !important; }
.journal-empty h3 { margin: 0; font-size: 21px; letter-spacing: 0.04em; font-weight: 500; }
.journal-empty > p { margin: 17px 0 24px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 24px; color: light-dark(#1f252b, #c5ccd4); font-size: 11px; line-height: 1.8; padding-block: 4px; }
.text-link span { color: var(--red); transition: transform 180ms; }
.text-link:hover span { transform: translate(2px, -2px); }
.text-link:hover { color: white; }
.journal-sidebar { border-top: 1px solid var(--line); padding-top: 25px; }
.sidebar-note > .eyebrow { font-size: 9px; margin-bottom: 26px; }
.small-orbit { display: flex; align-items: baseline; justify-content: center; width: 58px; height: 58px; border: 1px solid light-dark(#0a151a22, #d7e6ee22); border-radius: 50%; font: 900 40px/1.2 "Barlow Condensed", sans-serif; color: light-dark(#1c2229, #c8d0d9); margin-bottom: 23px; }
.small-orbit span { color: var(--red); }
.journal-sidebar h3 { font-size: 15px; font-weight: 500; margin: 0 0 14px; }
.journal-sidebar p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.95; margin: 0 0 19px; }
.subscribe-note { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.subscribe-note > svg { width: 22px; height: 22px; stroke: light-dark(#28303a, #b3beca); stroke-width: 1.3; margin-bottom: 16px; }
.post-card { position: relative; display: flex; gap: 23px; padding: 31px 0; border-top: 1px solid var(--line); }
.post-card:last-child { border-bottom: 1px solid var(--line); }
.post-number { font: 12px "Consolas", monospace; color: light-dark(#687585, #657282); padding-top: 3px; min-width: 23px; }
.post-card-body { min-width: 0; flex: 1; }
.post-card-meta, .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.post-category { color: light-dark(#b5432a, #e7907a); }
.post-title { font-size: 23px; letter-spacing: -0.025em; line-height: 1.55; font-weight: 500; margin: 14px 0 12px; overflow-wrap: anywhere; }
.post-title a:hover { color: light-dark(#c0401f, #f69b85); }
.post-summary { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.95; overflow-wrap: anywhere; }
.post-card-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 22px; align-items: center; }
.post-tags { margin: 0; padding: 0; list-style: none; display: flex; gap: 12px; flex-wrap: wrap; font-size: 10px; color: light-dark(#4d5864, #84909e); }
.post-link { flex-shrink: 0; font-size: 11px; color: light-dark(#1c2229, #c8d0d9); }
.post-link:hover { color: var(--red); }
.demo-label, .demo-notice { color: light-dark(#8c6528, #d4aa71); border: 1px solid light-dark(#8c652833, #d4aa7133); padding: 2px 8px; font-size: 11px; }
.outline-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 44px; padding: 10px 20px; border: 1px solid light-dark(#0a151a38, #d7e6ee38); background: transparent; font-size: 12px; }
.outline-button:hover { border-color: var(--red); }
.load-more { margin-top: 28px; width: 100%; }
.search-empty { border-block: 1px solid var(--line); text-align: center; padding: 65px 20px; }
.search-empty > span { font: 40px "Consolas", monospace; color: light-dark(#5d6c7e, #6c7b8d); }
.search-empty h3 { font-size: 19px; font-weight: 500; margin-top: 20px; }
.search-empty p { color: var(--muted); font-size: 12px; line-height: 1.9; margin-bottom: 24px; }
.archive-section { display: grid; grid-template-columns: 1fr 1.8fr; gap: 64px; padding: 70px 0 76px; border-top: 1px solid var(--line); }
.archive-section h2 { font-size: 30px; }
.archive-heading > p:last-child { font-size: 12px; color: var(--muted); margin: 20px 0 0; }
.archive-list { min-width: 0; }
.archive-empty { position: relative; padding: 20px 0 20px 28px; margin: 26px 0 0; border-left: 1px solid light-dark(#0a151a33, #d7e6ee33); font-size: 13px; line-height: 1.9; color: light-dark(#272e37, #b7c0cb); }
.archive-empty::before { content: ""; position: absolute; left: -3px; top: 27px; width: 5px; height: 5px; background: var(--red); }
.archive-empty span { display: block; color: var(--muted); font-size: 11px; margin-top: 14px; }
.archive-year { margin: 0; }
.archive-year + .archive-year { margin-top: 36px; }
.archive-year h3 { font: 24px "Consolas", monospace; margin: 0 0 20px; }
.archive-year ol { list-style: none; padding: 0; margin: 0; }
.archive-year li { border-bottom: 1px solid var(--line); }
.archive-year li a { display: flex; align-items: baseline; gap: 24px; padding: 18px 0; font-size: 13px; line-height: 1.8; }
.archive-year li a:hover { color: light-dark(#c0401f, #f69b85); }
.archive-year time { flex-shrink: 0; font: 11px "Consolas", monospace; color: var(--muted); }
.archive-title { overflow-wrap: anywhere; }
.archive-group + .archive-group { margin-top: 36px; }
.archive-items { list-style: none; padding: 0; margin: 0; }
.archive-item { border-bottom: 1px solid var(--line); }
.archive-item a { display: flex; align-items: baseline; gap: 24px; padding: 18px 0; font-size: 13px; line-height: 1.8; }
.archive-item a:hover { color: light-dark(#c0401f, #f69b85); }
.archive-item time { flex-shrink: 0; font: 11px "Consolas", monospace; color: var(--muted); }
.archive-category { color: var(--muted); font-size: 10px; margin-left: auto; white-space: nowrap; }
.about-section { display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 110px; padding: 85px 0 110px; border-top: 1px solid var(--line); }
.about-art { position: relative; display: grid; place-items: center; min-height: 370px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 50% 48%, light-dark(#263c540b, #99b2cf0b), transparent 65%); }
.about-coordinate, .about-art-caption { position: absolute; left: 22px; right: 22px; color: light-dark(#515d69, #7f8b98); font-size: 9px; letter-spacing: 0.13em; }
.about-coordinate { top: 24px; font-family: "Consolas", monospace; }
.about-art-caption { bottom: 24px; text-align: right; }
.about-letter { font: 900 230px/1 "Barlow Condensed", sans-serif; color: light-dark(#1e2c3a21, #b4c5d721); }
.about-orbit { position: absolute; top: calc(50% - 32px); left: 12%; width: 76%; height: 64px; border: 1px solid light-dark(#1a2b3b50, #b2c7dc50); border-radius: 50%; transform: rotate(-28deg); }
.about-orbit::after { content: ""; position: absolute; right: 10%; bottom: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.about-copy h2 { font-size: 32px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 2; max-width: 440px; }
.about-copy > .about-lead { color: light-dark(#1e2329, #c8ced6) !important; font-size: 19px !important; line-height: 1.8 !important; margin: 25px 0 19px; }
.about-copy > .text-link { margin-top: 15px; }
.site-footer { width: min(var(--content-width), 85%); margin: 0 auto; padding: 33px 0 38px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 30px; }
.site-footer .brand-logo { width: 48px; height: 48px; }
.site-footer > p { color: light-dark(#4d5864, #84909e); font-size: 10px; line-height: 1.8; margin: 0; }
.footer-divider { color: light-dark(#8595a6, #465464); margin: 0 10px; }
.footer-links { display: flex; gap: 26px; margin-left: auto; font-size: 10px; color: var(--muted); }
.footer-links a { padding: 10px 0; }

/* Reading uses the same quiet typography and orange wayfinding as the home page. */
.article-page .site-header, .not-found-page .site-header { position: relative; border-bottom: 0; }
.article-page .site-nav, .not-found-page .site-nav { margin-left: auto; margin-right: 32px; gap: 30px; color: light-dark(#45454e, #a0a0aa); font-size: 13px; letter-spacing: 0.05em; }
:is(.article-page, .not-found-page) .site-nav a:hover { color: var(--red); }
/* The brand coordinate matches the home page header at its base size. */
:is(.article-page, .not-found-page) .site-brand { gap: 11px; }
:is(.article-page, .not-found-page) .site-header .brand-logo { width: 46px; height: 46px; }
:is(.article-page, .not-found-page) .header-brand-coordinate { display: grid; gap: 5px; color: light-dark(#55555d, #8e8e97); font: 10px/1 "Consolas", "SFMono-Regular", monospace; letter-spacing: 0.08em; white-space: nowrap; }
:is(.article-page, .not-found-page) .header-brand-name { display: flex; align-items: center; gap: 8px; font-family: var(--ui-sans); font-size: 14px; letter-spacing: 0.12em; }
:is(.article-page, .not-found-page) .header-brand-name > span:first-child { color: light-dark(#161619, #dedee3); font-weight: 600; }
:is(.article-page, .not-found-page) .header-brand-slash { color: var(--red); font-size: 11px; letter-spacing: 0; opacity: 0.55; }
:is(.article-page, .not-found-page) .header-brand-kind { color: light-dark(#404048, #a6a6af); font-size: 10.5px; letter-spacing: 0.15em; }
:is(.article-page, .not-found-page) .header-brand-calibration { position: relative; display: block; height: 3px; background: linear-gradient(light-dark(#48484e3d, #9d9da33d), light-dark(#48484e3d, #9d9da33d)) left 1px / 100% 1px no-repeat; }
:is(.article-page, .not-found-page) .header-brand-calibration::before { content: ""; position: absolute; top: 1px; left: 0; width: 10px; height: 1px; background: var(--red); opacity: 0.8; }
.header-rss { display: inline-flex; align-items: center; gap: 9px; color: light-dark(#45454e, #a0a0aa); font-size: 13px; letter-spacing: 0.05em; transition: color 180ms; }
.header-rss svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.35; }
.header-rss svg circle { fill: var(--red); stroke: var(--red); }
.header-rss:hover { color: var(--red); }
/* The day/night toggle draws the site's black hole with its two jets,
   which light up while day mode is on. */
.header-theme { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-left: 14px; padding: 0; border: 0; background: transparent; color: light-dark(#45454e, #a0a0aa); cursor: pointer; transition: color 180ms; }
.header-theme svg { width: 18px; height: 18px; overflow: visible; stroke: currentColor; stroke-width: 1.35; }
.header-theme .theme-core { fill: currentColor; stroke: none; }
.header-theme .theme-jet { opacity: 0.4; transition: opacity 180ms ease; }
.header-theme:is([aria-pressed="true"], :hover, :focus-visible) .theme-jet { opacity: 1; }
.header-theme:hover { color: var(--red); }
.site-footer > a:last-child:not(:first-child) { font-size: 11px; color: var(--muted); margin-left: auto; }
.article-shell { width: min(1080px, 85%); margin: 0 auto; padding: 58px 0 80px; }
.article-back { color: var(--muted); font-size: 12px; display: inline-block; padding-block: 10px; margin-bottom: 40px; }
.article-back:hover { color: var(--red); }
.article-header { max-width: 810px; margin-bottom: 52px; }
.article-title { font-family: inherit; font-size: clamp(29px, 4vw, 48px); letter-spacing: -0.035em; line-height: 1.4; font-weight: 600; margin: 20px 0; overflow-wrap: anywhere; }
.article-deck { font-size: 16px; color: var(--muted); line-height: 1.9; }
.article-meta { font-size: 12px; }
/* Small square separators echo the orange mark without competing with it. */
.article-meta > * + *::before { content: ""; display: inline-block; width: 3px; height: 3px; margin-right: 14px; vertical-align: middle; background: currentColor; opacity: 0.45; }
.article-category { color: var(--red); transition: color 180ms; }
.article-category:hover { color: light-dark(#c0401f, #f69b85); }
.article-tags { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; padding: 0; list-style: none; color: light-dark(#4d5864, #84909e); font-size: 12px; }
.demo-notice { margin-top: 20px; line-height: 1.8; padding: 12px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 730px) 210px; gap: 70px; align-items: start; }
.article-body { min-width: 0; font-size: 16px; line-height: 2; color: light-dark(#1d232a, #c6ced7); overflow-wrap: anywhere; }
.article-body h2 { color: var(--paper); font-size: 25px; line-height: 1.6; font-weight: 600; letter-spacing: -0.02em; margin: 48px 0 20px; scroll-margin-top: 40px; }
.article-section:first-child h2 { margin-top: 0; }
.article-body > :first-child { margin-top: 0; }
.article-body h3 { font-size: 20px; color: var(--paper); margin: 32px 0 16px; }
.article-body :is(h3, h4, h5, h6) { scroll-margin-top: 40px; }
.article-body :is(h4, h5, h6) { color: var(--paper); font-size: 17px; margin: 28px 0 14px; }
.article-body p { margin: 0 0 24px; }
.article-body ul, .article-body ol { padding-left: 1.5em; margin-block: 20px 28px; }
.article-body li { padding-left: 5px; margin-bottom: 9px; }
.article-body li::marker { color: light-dark(#2c3947, #a5b4c6); }
.article-body a { color: light-dark(#c0401f, #f69b85); text-decoration: underline; text-underline-offset: 4px; }
.article-body img { display: block; max-width: 100%; height: auto; margin: 24px auto; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.article-body :not(pre) > code { background: light-dark(#04040408, #ffffff08); padding: .15em .4em; border-radius: 2px; }
.article-body li > :is(ul, ol) { margin-block: 10px; }
.markdown-table { max-width: 100%; overflow-x: auto; margin: 28px 0; }
.markdown-table:focus-visible { outline: 1px solid var(--red); outline-offset: 4px; }
.markdown-table table { border-collapse: collapse; width: 100%; font-size: 14px; }
.markdown-table :is(th, td) { border: 1px solid var(--line); padding: 10px 14px; text-align: left; min-width: 90px; }
.markdown-table th { color: var(--paper); background: light-dark(#04040405, #ffffff05); font-weight: 600; }
.article-body blockquote { border-left: 2px solid var(--red); padding: 12px 24px; margin: 30px 0; background: light-dark(#f0644606, #f0644606); color: light-dark(#212932, #bdc7d3); }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-callout { border: 1px solid light-dark(#f064462e, #f064462e); background: light-dark(#f0644606, #f0644606); padding: 20px 24px; margin: 28px 0; font-size: 14px; }
.article-callout p:last-child { margin-bottom: 0; }
.code-block { position: relative; }
.code-language { position: absolute; right: 12px; top: 5px; font: 9px "Consolas", monospace; color: light-dark(#455465, #8595a8); }
.article-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 45px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.article-end p { margin: 0; }
.article-end-mark { flex: none; width: 6px; height: 6px; background: var(--red); }
.article-body code { font: 0.86em/1.8 "Consolas", "SFMono-Regular", monospace; }
.article-body pre { overflow-x: auto; padding: 22px; margin: 28px 0; border: 1px solid var(--line); background: light-dark(#e2e6ea, #0d1219); tab-size: 2; line-height: 1.8; white-space: pre; }
.article-toc { position: sticky; top: 35px; border-left: 1px solid var(--line); padding-left: 22px; font-size: 12px; }
.article-toc h2, .article-toc h3, .toc-label { font-size: 11px; color: light-dark(#1b222a, #c6d0db); font-weight: 500; letter-spacing: 0.1em; margin: 0 0 20px; }
.article-toc ol, .article-toc ul { padding: 0; margin: 0; list-style: none; }
.article-toc li { margin: 0 0 14px; line-height: 1.7; }
.article-toc .toc-subheading { padding-left: 12px; font-size: 11px; }
.article-toc a { color: var(--muted); }
.article-toc a:hover, .article-toc a.is-active { color: light-dark(#c0401f, #f69b85); }
.article-tools { margin-left: auto; text-align: right; }
.copy-link { background: none; border: 1px solid var(--line); padding: 10px 14px; font-size: 11px; }
.copy-link:hover { border-color: var(--red); }
.copy-status { display: block; margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.copy-status:empty { display: none; }
.article-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border-top: 1px solid var(--line); padding-top: 32px; margin-top: 65px; }
.article-pagination a { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.7; }
.article-pagination a:hover { color: light-dark(#c0401f, #f69b85); }
.article-pagination a span:first-child { color: var(--muted); font-size: 11px; }
.article-next { text-align: right; grid-column: 2; }
.article-pagination .is-unavailable { display: flex; flex-direction: column; gap: 10px; color: light-dark(#5f6a79, #707c8b); font-size: 11px; line-height: 1.7; }
.article-pagination .is-unavailable strong { font-size: 13px; font-weight: 400; }
.article-pagination a strong { font-weight: 500; }
.reading-progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 30; pointer-events: none; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--red); }
.not-found { width: min(800px, 85%); min-height: 70svh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; margin: 0 auto; padding: 60px 0; }
.not-found .error-code { font: 900 clamp(100px, 18vw, 190px)/1 "Barlow Condensed", sans-serif; color: light-dark(#46546344, #8595a644); letter-spacing: 0; margin: 0; }
.error-code span { display: inline-block; width: 0.12em; height: 0.12em; margin-left: 0.06em; overflow: hidden; color: transparent; background: var(--red); }
.not-found h1 { font: 600 clamp(23px, 4vw, 36px)/1.6 var(--ui-sans); letter-spacing: -0.035em; margin: 18px 0 0; }
.not-found h2 { font-size: 26px; margin: 15px 0; }
.not-found p { color: var(--muted); font-size: 14px; line-height: 2; }
.not-found .text-link, .not-found .outline-button { margin-top: 20px; }

@media (max-width: 1000px) {
  .journal-layout { grid-template-columns: minmax(0, 1fr) 210px; gap: 36px; }
  .about-section { gap: 60px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 170px; gap: 40px; }
  .article-shell { width: 85%; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 28px; }
  .site-header { height: 64px; padding-inline: 7%; }
  .site-header .brand-logo { width: 48px; height: 48px; }
  .site-footer .brand-logo { width: 44px; height: 44px; }
  .site-nav { gap: 18px; font-size: 11px; letter-spacing: 0; }
  .site-nav .nav-rss { border: 0; padding-left: 0; font-size: 10px; }
  .nav-rss span { display: none; }
  .article-page .site-nav, .not-found-page .site-nav { margin-right: 18px; gap: 18px; font-size: 12px; letter-spacing: 0; }
  :is(.article-page, .not-found-page) .header-brand-coordinate { display: none; }
  :is(.article-page, .not-found-page) .site-header .brand-logo { width: 40px; height: 40px; }
  .header-rss { font-size: 12px; }
  .menu-toggle { display: flex; align-items: center; gap: 12px; padding: 12px 0 12px 18px; font-size: 11px; border: 0; background: none; }
  .menu-icon { display: block; width: 19px; height: 9px; border-block: 1px solid light-dark(#1b222a, #c6d0db); transition: transform 180ms; }
  .menu-toggle[aria-expanded="true"] .menu-icon { transform: rotate(-45deg); }
  .menu-enhanced .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; padding: 18px 7% 25px; background: light-dark(#e4e7eb, #0d1117); border-bottom: 1px solid var(--line); gap: 8px; }
  .menu-enhanced .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .menu-enhanced .site-nav a { padding: 13px 0; font-size: 13px; }
  .section-wrap { width: 86%; }
  .journal-section { padding: 72px 0 65px; }
  .section-heading { display: block; margin-bottom: 35px; }
  .section-intro { margin-top: 22px; font-size: 12px; }
  .eyebrow { margin-bottom: 18px; font-size: 9px; }
  .section-wrap h2 { font-size: 30px; }
  .journal-layout { grid-template-columns: 1fr; gap: 40px; }
  .journal-empty { min-height: 380px; padding-inline: 20px; }
  .journal-empty > p { max-width: 250px; }
  .journal-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; padding-top: 30px; }
  .sidebar-note > .eyebrow, .small-orbit { display: none; }
  .subscribe-note { margin: 0; padding: 0 0 0 24px; border-top: 0; border-left: 1px solid var(--line); }
  .subscribe-note > svg { display: none; }
  .journal-sidebar h3 { font-size: 13px; }
  .journal-sidebar p:not(.eyebrow) { font-size: 11px; }
  .text-link { gap: 15px; }
  .archive-section { grid-template-columns: 1fr; gap: 26px; padding-block: 55px; }
  .archive-empty { margin-top: 0; }
  .about-section { grid-template-columns: 1fr; gap: 40px; padding: 55px 0 65px; }
  .about-art { min-height: 270px; }
  .about-letter { font-size: 200px; }
  .about-orbit { left: 20%; width: 60%; }
  .about-copy h2 { font-size: 29px; }
  .site-footer { width: 86%; gap: 18px; flex-wrap: wrap; padding-block: 28px; }
  .site-footer > p { font-size: 9px; }
  .footer-divider { margin-inline: 5px; }
  .footer-links { width: 100%; justify-content: space-between; border-top: 1px solid light-dark(#0a151a0b, #d7e6ee0b); padding-top: 10px; }
  .post-card { gap: 13px; padding-block: 25px; }
  .post-number { font-size: 10px; min-width: 18px; }
  .post-title { font-size: 20px; }
  .post-card-meta { font-size: 10px; gap: 9px; }
  .post-summary { font-size: 12px; }
  .post-card-footer { gap: 12px; }
  .post-tags { font-size: 9px; gap: 8px; }
  .filter-list { gap: 4px; margin-bottom: 0; }
  .filter-button { padding: 8px 9px; }
  .journal-toolbar { margin-bottom: 16px; }
  .journal-toolbar:has(> [hidden]):not(:has(> :not([hidden]))) { margin-bottom: 0; }
  .results-count { margin: 0; }
  .archive-item a { gap: 14px; font-size: 12px; }
  .archive-year li a { gap: 14px; font-size: 12px; }
  .archive-category { display: none; }
  .article-shell { width: 86%; padding-top: 25px; }
  .article-back { margin-bottom: 25px; }
  .article-header { margin-bottom: 32px; }
  .article-title { font-size: 31px; }
  .article-deck { font-size: 14px; }
  .article-layout { display: flex; flex-direction: column; gap: 28px; }
  /* The contents fold into one swipeable row so the text starts on the first screen. */
  .article-toc { order: -1; position: static; display: flex; align-items: baseline; gap: 18px; width: 100%; border-left: 0; border-block: 1px solid var(--line); padding: 12px 0; }
  .article-toc .toc-label { flex: none; margin: 0; }
  .article-toc nav { min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); }
  .article-toc nav::-webkit-scrollbar { display: none; }
  .article-toc ol { display: flex; gap: 20px; padding-right: 24px; white-space: nowrap; }
  .article-toc li { margin: 0; }
  .article-toc .toc-subheading { padding-left: 0; }
  .article-body { width: 100%; font-size: 15px; }
  .article-body h2 { font-size: 23px; }
  .article-body pre { padding: 16px; }
  .article-pagination { gap: 24px; }
  .article-pagination a { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
