:root{--paper:#f7f5ef;--ink:#202420;--muted:#65685f;--accent:#b74732;--line:#d9d9ce;--panel:#eeeee5;--soft-accent:#efe0d6;--code:#efeee7;--serif:Georgia,'Noto Serif CJK SC','Songti SC','STSong','SimSun',serif;--sans:-apple-system,BlinkMacSystemFont,'Segoe UI','Noto Sans CJK SC','PingFang SC','Microsoft YaHei',sans-serif;--mono:'SFMono-Regular',Consolas,'Liberation Mono',monospace;--wrap:1200px;--header-height:88px;color-scheme:light}
:root[data-theme=dark]{--paper:#191c19;--ink:#e6e5dc;--muted:#acafa1;--accent:#ee9277;--line:#3b4036;--panel:#232820;--soft-accent:#322a24;--code:#242921;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:112px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.7;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select{font:inherit;color:inherit}button,select{cursor:pointer}button{background:none}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}a,button{transition:color .2s,background .2s,transform .2s}a:hover{color:var(--accent)}:focus-visible{outline:2px solid var(--accent);outline-offset:5px}::selection{background:var(--accent);color:var(--paper)}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-weight:500}em{font-family:var(--serif);font-weight:400;color:var(--accent)}svg{display:block}button svg{width:21px;height:21px}.wrap{width:min(var(--wrap),calc(100% - 112px));margin-inline:auto}.mono{font-family:var(--mono);font-size:11px;font-weight:400;letter-spacing:.08em}.eyebrow{font-size:11px;letter-spacing:.13em;color:var(--muted);text-transform:uppercase}.text-link{font-size:13px;display:inline-flex;align-items:center;gap:10px}.primary-link{font-size:13px;display:inline-flex;align-items:center;justify-content:space-between;gap:36px;padding:10px 0;border-bottom:1px solid var(--ink);font-weight:500}.primary-link:hover{border-color:var(--accent);gap:43px}.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-80px;left:20px;padding:12px 20px;background:var(--ink);color:var(--paper);z-index:100}.skip-link:focus{top:12px}.section-space{padding-top:76px;padding-bottom:76px}.site-header{height:var(--header-height);position:sticky;top:0;z-index:30;background:var(--paper);border-bottom:1px solid var(--line)}.header-inner{height:100%;width:min(var(--wrap),calc(100% - 112px));margin:auto;display:flex;align-items:center;gap:32px}.wordmark{font-family:var(--serif);font-size:35px;letter-spacing:-2px;line-height:1;font-weight:600}.brand-dot{color:var(--accent)}.header-note{font-size:9px;color:var(--muted);letter-spacing:.12em;border-left:1px solid var(--line);padding-left:22px;margin-top:5px}.site-nav{display:flex;align-items:center;gap:32px;margin-left:auto;font-size:12px}.site-nav a{padding:10px 0;position:relative}.site-nav a[aria-current=page]{color:var(--accent)}.site-nav a[aria-current=page]:after{content:'';height:3px;width:3px;border-radius:50%;background:var(--accent);position:absolute;bottom:2px;left:50%}.header-actions{display:flex;align-items:center;gap:17px;margin-left:16px}.header-actions button{border:0;padding:6px;line-height:1}.language-button{font-family:var(--mono);font-size:11px;letter-spacing:.05em}.theme-button{border-left:1px solid var(--line)!important;padding-left:18px!important}.header-actions button:hover{color:var(--accent)}.menu-button{display:none}.hero{padding-top:29px;border-bottom:1px solid var(--line)}.hero-topline,.hero-foot{display:flex;justify-content:space-between;color:var(--muted);font-size:10px}.hero-topline{letter-spacing:.12em}.hero-grid{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:40px;padding:57px 0 49px}.hero-copy .eyebrow{letter-spacing:.05em;font-size:13px;margin-bottom:24px;color:var(--ink)}.hero h1{font-family:var(--serif);font-size:clamp(36px,4.3vw,62px);line-height:1.5;letter-spacing:-.055em}.hero h1 em{font-style:normal}.hero-description{font-size:14px;color:var(--muted);margin-top:23px;max-width:340px;line-height:1.9}.hero .primary-link{margin-top:29px}.hero-figure{padding:2px 5px 0;position:relative}.math-art{color:var(--accent);width:100%;height:auto}.math-art text{fill:currentColor;font-family:var(--mono);font-size:9px;letter-spacing:.06em;stroke:none}.art-axis{stroke:var(--muted);stroke-width:.65;opacity:.45}.hero-orbit{max-width:460px;margin:auto;transition:transform 1.2s cubic-bezier(.2,.6,.3,1)}.hero-figure:hover .hero-orbit{transform:rotate(3deg)}.hero-figure figcaption{display:flex;align-items:center;justify-content:space-between;margin:12px 22px 0;color:var(--muted)}.hero-figure figcaption .mono{font-size:10px;letter-spacing:0}.figure-stamp{color:var(--accent);border:1px solid var(--accent);padding:3px 6px;line-height:1.25;font-family:var(--serif);font-size:12px;transform:rotate(5deg)}.hero-foot{padding:16px 0;gap:20px;border-top:1px solid var(--line);font-size:9px;letter-spacing:.04em}.section-label{display:flex;align-items:center;gap:20px;color:var(--accent);margin-bottom:21px}.section-label .mono{font-size:10px}.section-caption{font-size:11px;color:var(--muted)}.section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:25px;margin-bottom:28px}.section-heading h2{font-size:29px;font-family:var(--serif);letter-spacing:-.035em}.section-heading>p{font-size:12px;color:var(--muted)}.featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.featured-card{display:block;min-width:0}.feature-art{aspect-ratio:1.7;background:var(--panel);position:relative;overflow:hidden;border:1px solid transparent}.feature-art-1{background:var(--soft-accent)}.feature-art-2{background:#e6e9df}[data-theme=dark] .feature-art-2{background:#272d25}.feature-art .math-art{width:78%;position:absolute;left:11%;top:0;transform:translateY(-2%);transition:transform .5s}.feature-art .feature-0{width:64%;left:18%;top:-10%}.feature-art .feature-2{width:76%;top:-1%;left:12%;color:#5c7153}[data-theme=dark] .feature-art .feature-2{color:#a6b798}.feature-index{position:absolute;top:15px;left:17px;color:var(--muted);font-size:9px;z-index:1}.feature-arrow{position:absolute;right:15px;bottom:12px;font-size:17px}.featured-card:hover .math-art{transform:translateY(-2%) scale(1.05)}.featured-card:hover .feature-art{border-color:var(--accent)}.featured-caption{padding-top:17px}.post-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:10px;letter-spacing:.025em}.featured-caption .post-meta{justify-content:space-between;font-size:9px}.featured-caption h3{font-family:var(--serif);font-size:23px;margin:7px 0 5px}.featured-caption p{font-size:12px;color:var(--muted)}.latest{border-top:1px solid var(--line)}.count{color:var(--accent);font-size:10px;align-self:flex-start}.post-list{border-top:1px solid var(--line)}.post-row{display:grid;grid-template-columns:44px minmax(0,1fr) 80px;column-gap:20px;padding:25px 0 26px;border-bottom:1px solid var(--line);position:relative}.post-number{padding-top:5px;color:var(--muted);font-size:10px}.post-copy{min-width:0}.post-copy h3{font-family:var(--serif);font-size:21px;line-height:1.6;letter-spacing:-.02em;margin-top:5px}.post-copy h3 a{display:inline-block;overflow-wrap:anywhere}.row-arrow{font-size:18px;margin-left:8px;display:inline-block;opacity:0;transform:translate(-3px,3px);transition:transform .2s,opacity .2s}.post-row:hover .row-arrow,.post-row:focus-within .row-arrow{opacity:1;transform:translate(0,0)}.post-copy>p{font-size:12px;color:var(--muted);margin-top:7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;max-width:800px;line-height:1.9}.post-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.post-tags a{font-size:10px;color:var(--muted);border:1px solid var(--line);padding:1px 7px;line-height:1.7}.post-tags:empty{display:none}.post-tags a:hover{border-color:var(--accent);color:var(--accent)}.reading-time{padding-top:5px;color:var(--muted);font-size:10px;text-align:right;white-space:nowrap}.more-writing{display:flex;justify-content:center;margin-top:35px}.home-about{border-top:1px solid var(--line);display:grid;grid-template-columns:1.1fr 1fr;gap:90px;padding-bottom:96px}.home-about h2{font-family:var(--serif);font-size:33px;line-height:1.65;letter-spacing:-.02em;margin-top:18px}.home-about h2 em{font-style:normal}.home-about-copy{padding-top:35px;font-size:13px;color:var(--muted)}.home-about-copy>p+p{margin-top:18px}.home-about-copy .text-link{margin-top:25px;color:var(--ink)}.site-footer{border-top:1px solid var(--line);padding-top:33px;padding-bottom:23px}.footer-top{display:flex;gap:34px;align-items:center}.footer-top .wordmark{font-size:30px}.footer-top p{font-size:12px;color:var(--muted)}.back-top{margin-left:auto;font-size:11px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:9px;margin-top:32px;letter-spacing:.05em}.page-heading{padding:66px 0 51px}.page-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:21px}.page-heading h1{font-family:var(--serif);font-size:clamp(32px,4vw,55px);line-height:1.4;letter-spacing:-.045em}.large-mark{font-family:var(--serif);color:var(--accent);font-size:70px;line-height:1}.page-intro{font-size:14px;color:var(--muted);margin-top:19px}.archive-page{padding-bottom:90px}.archive-controls{border-top:1px solid var(--line);padding-top:24px}.search-field{display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--ink);padding:9px 0 17px}.search-field>span:first-child{font-size:27px;line-height:1;color:var(--accent)}.search-field input{border:0;background:transparent;width:100%;font-size:16px;padding:4px 0;outline-offset:8px;min-width:0}.search-field input::placeholder{color:var(--muted)}kbd{font-family:var(--mono);border:1px solid var(--line);padding:0 7px;color:var(--muted);font-size:11px}.filter-row{display:flex;align-items:center;gap:25px;padding:21px 0;flex-wrap:wrap}.filter-row label{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted)}select{background:var(--paper);border:1px solid var(--line);padding:7px 28px 7px 10px;font-size:11px;max-width:210px}.reset-button{margin-left:auto;border:0;font-size:11px;color:var(--muted);padding:9px 0}.reset-button:hover{color:var(--accent)}.results-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin:10px 0 19px;gap:20px}.results-meta .mono{font-size:9px}.pagination{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:36px;flex-wrap:wrap}.pagination[hidden]{display:none}.pagination button{border:1px solid var(--line);font-size:12px;min-width:36px;height:36px;padding:0 10px}.pagination button[aria-current=page]{background:var(--ink);color:var(--paper);border-color:var(--ink)}.pagination button:disabled{opacity:.35;cursor:default}.pagination button:hover:not(:disabled){border-color:var(--accent)}.empty-state{padding:70px 20px;text-align:center;border-bottom:1px solid var(--line)}.empty-state .empty-mark{font-family:var(--serif);color:var(--accent);font-size:55px}.empty-state h3{font-family:var(--serif);font-size:24px;margin:12px 0}.empty-state p{color:var(--muted);font-size:13px}.search-error,.noscript-note{font-size:12px;color:var(--muted);margin-top:20px}.projects-page{padding-bottom:60px}.project{display:grid;grid-template-columns:1fr 1fr;gap:70px;padding:52px 0 70px;border-top:1px solid var(--line);align-items:center}.project-art{background:var(--panel);padding:24px;display:block;overflow:hidden;min-width:0}.project:nth-child(2) .project-art{background:var(--soft-accent)}.project-art>.mono{color:var(--muted);font-size:10px}.project-art .math-art{width:100%;transition:transform .5s}.project-art:hover .math-art{transform:scale(1.04)}.project-art-label{display:block;margin-top:10px;text-align:right}.project-description h2{font-family:var(--serif);font-size:32px;line-height:1.5;margin:17px 0 8px}.project-en-title{color:var(--muted);font-size:11px;margin-bottom:24px}.project-description>p:not(.project-en-title){font-size:14px;color:var(--muted);line-height:1.9}.tech-list{list-style:none;padding:16px 0;margin:12px 0;font-size:10px;display:flex;gap:8px 18px;flex-wrap:wrap;border-bottom:1px solid var(--line)}.project-description .primary-link{margin-top:10px}.about-page{padding-bottom:25px}.about-grid{border-top:1px solid var(--line);padding:50px 0 70px;display:grid;grid-template-columns:1fr 1.1fr;gap:85px;align-items:center}.about-art{padding:28px;background:var(--panel);text-align:center}.about-art>.mono{font-size:9px;color:var(--muted)}.about-text h2{font-family:var(--serif);font-size:30px;margin:13px 0 20px}.about-text p{font-size:14px;color:var(--muted);line-height:1.95;margin:15px 0}.about-text .education{color:var(--ink);font-size:13px}.interest-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.interest-tags span{font-family:var(--mono);font-size:10px;border-bottom:1px solid var(--line);padding:4px 0;margin-right:8px}.contact-block{border-top:1px solid var(--line)}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-top:25px}.contact-grid h2{font-family:var(--serif);font-size:38px;margin-bottom:12px}.contact-grid p{font-size:13px;color:var(--muted)}.contact-links{display:grid;grid-template-columns:repeat(3,1fr);gap:25px 20px;padding-top:5px}.contact-links a{font-size:12px;display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:10px}.contact-links .email-link{grid-column:1/-1;font-family:var(--mono);font-size:clamp(12px,1.5vw,17px);letter-spacing:-.03em;overflow-wrap:anywhere}.article-shell{max-width:1096px;padding-top:37px}.article-back{font-size:11px;color:var(--muted)}.article-header{max-width:840px;padding-top:46px;padding-bottom:38px}.article-header h1{font-family:var(--serif);font-size:clamp(30px,3.6vw,49px);line-height:1.5;overflow-wrap:anywhere;letter-spacing:-.025em;margin:19px 0 22px}.article-header .post-meta{font-size:11px}.article-header .post-tags{margin-top:18px}.article-layout{display:grid;grid-template-columns:minmax(170px,1fr) minmax(0,720px);gap:65px;border-top:1px solid var(--line);padding-top:40px;align-items:start}.article-body{min-width:0;font-size:18px;line-height:1.9;overflow-wrap:anywhere}.article-body>:first-child{margin-top:0}.article-body p{margin:1.15em 0}.article-body h1,.article-body h2,.article-body h3,.article-body h4{font-family:var(--serif);line-height:1.6;margin:1.8em 0 .7em;font-weight:600;scroll-margin-top:110px}.article-body h1{font-size:31px}.article-body h2{font-size:28px;padding-bottom:9px;border-bottom:1px solid var(--line)}.article-body h3{font-size:23px}.article-body h4{font-size:20px}.article-body a{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}.article-body a:hover{opacity:.8}.article-body ul,.article-body ol{padding-left:1.5em;margin:1em 0}.article-body li{padding-left:.2em;margin:.25em 0}.article-body blockquote{margin:1.5em 0;border-left:2px solid var(--accent);padding:1px 22px;background:var(--panel);color:var(--muted)}.article-body img{display:block;max-width:100%;height:auto;margin:25px auto;background:#fff}.article-body iframe{max-width:100%}.article-body pre{margin:1.6em 0;position:relative;padding:44px 23px 23px;background:var(--code);border:1px solid var(--line);overflow-x:auto;font-size:13px;line-height:1.85;tab-size:4;max-width:100%;border-radius:0}.article-body code{font-family:var(--mono);font-size:.82em;background:var(--code);padding:3px 5px;border:1px solid var(--line);border-radius:2px}.article-body pre code{padding:0;border:none;font-size:inherit;background:none;display:block;width:max-content;min-width:100%;white-space:pre;overflow-wrap:normal;color:var(--ink)}.copy-code{position:absolute;right:8px;top:5px;display:grid;place-items:center;width:36px;height:34px;border:0;border-radius:4px;padding:7px;color:var(--muted);background:transparent;z-index:1}
.copy-code svg{width:18px;height:18px;pointer-events:none}
.copy-code:hover{background:var(--panel);color:var(--ink)}
.copy-code[data-state=success]{color:var(--ink)}.copy-code[data-state=error]{color:var(--accent)}
.code-language{position:absolute;left:23px;top:12px;font-family:var(--mono);font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}.article-body .hljs-keyword,.article-body .hljs-selector-tag{color:#a33d30}.article-body .hljs-type,.article-body .hljs-title{color:#47633b}.article-body .hljs-string,.article-body .hljs-meta{color:#876334}.article-body .hljs-comment{color:#73786d}.article-body .hljs-number,.article-body .hljs-literal{color:#715c91}[data-theme=dark] .article-body .hljs-keyword,[data-theme=dark] .article-body .hljs-selector-tag{color:#ee9277}[data-theme=dark] .article-body .hljs-type,[data-theme=dark] .article-body .hljs-title{color:#b6cfa4}[data-theme=dark] .article-body .hljs-string,[data-theme=dark] .article-body .hljs-meta{color:#dcc08a}[data-theme=dark] .article-body .hljs-comment{color:#9aa490}[data-theme=dark] .article-body .hljs-number,[data-theme=dark] .article-body .hljs-literal{color:#c7acdf}.article-body .katex{font-size:1.04em}.article-body .katex-display{overflow-x:auto;overflow-y:hidden;padding:8px 0;margin:1.4em 0;max-width:100%}.table-scroll{overflow-x:auto;margin:1.5em 0}.article-body table{border-collapse:collapse;min-width:100%;font-size:14px}.article-body th,.article-body td{border:1px solid var(--line);padding:8px 12px;text-align:left}.article-body th{background:var(--panel)}.article-body hr{border:0;border-top:1px solid var(--line);margin:2em 0}.article-body details{border:1px solid var(--line);padding:13px 18px;margin:1.5em 0;background:var(--panel)}.article-body details summary{cursor:pointer;font-size:15px}.toc{position:sticky;top:112px;max-height:calc(100vh - 144px);overflow:auto;padding:3px 16px 3px 0;overflow-wrap:anywhere;font-family:var(--sans);scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.toc summary{list-style:none;font-size:13px;font-weight:600;line-height:1.5;color:var(--ink);letter-spacing:.02em;font-family:inherit;cursor:default}
.toc summary::-webkit-details-marker{display:none}.toc-chevron{display:none}.toc-chevron svg{width:16px;height:16px}
.toc ol{padding:0;list-style:none;margin:18px 0 0;border-left:1px solid var(--line)}
.toc li{font-size:14px;line-height:1.7;margin:3px 0;letter-spacing:0}
.toc a{position:relative;color:var(--muted);display:block;padding:5px 0 5px 16px;transition:color .2s}
.toc a:hover{color:var(--ink)}.toc a.active{color:var(--accent);font-weight:500}
.toc a.active:before{content:'';position:absolute;left:-1px;top:9px;bottom:9px;width:2px;background:var(--accent);border-radius:2px}
.toc .toc-level-3 a{padding-left:28px;font-size:13px}.toc .toc-level-4 a{padding-left:40px;font-size:13px}
.reading-progress{position:fixed;left:0;right:0;top:var(--header-height);height:2px;z-index:31;pointer-events:none}.reading-progress span{display:block;height:100%;width:100%;background:var(--accent);transform:scaleX(0);transform-origin:left}.article-end{max-width:720px;text-align:center;padding:55px 0 70px}.end-mark{font-size:23px;color:var(--accent)}.article-end>p{font-size:11px;color:var(--muted);margin:10px 0 35px}.article-neighbors{display:grid;grid-template-columns:1fr 1fr;text-align:left;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:27px}.article-neighbors>a,.article-neighbors>span{padding:25px 18px 25px 0;min-width:0}.article-neighbors>:last-child{text-align:right;padding-left:18px;padding-right:0;border-left:1px solid var(--line)}.article-neighbors strong{font-family:var(--serif);font-size:17px;display:block;font-weight:400;margin-top:9px;overflow-wrap:anywhere}.not-found{text-align:center;padding-top:75px;padding-bottom:100px}.error-equation{font-family:var(--serif);color:var(--accent);font-size:120px;line-height:1.4}.not-found h1{font-family:var(--serif);font-size:40px}.not-found>p{color:var(--muted);font-size:14px;margin:20px auto 30px;max-width:500px}.not-found>div:last-child{display:flex;gap:30px;justify-content:center}.fade-in{animation:enter .65s both}@keyframes enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.hero-grid{padding-block:70px}.hero h1{font-size:64px}}
@media(max-width:1050px){.wrap,.header-inner{width:calc(100% - 72px)}.header-note{display:none}.hero-grid{gap:25px}.hero h1{font-size:45px}.hero-figure figcaption .mono{font-size:8px}.article-layout{gap:35px;grid-template-columns:170px minmax(0,1fr)}.home-about{gap:50px}.featured-grid{gap:20px}.filter-row{gap:18px}.filter-row select{max-width:170px}.project{gap:40px}.about-grid{gap:45px}.contact-grid{gap:30px}.footer-bottom{font-size:8px}}
@media(max-width:800px){:root{--header-height:76px}.wrap,.header-inner{width:calc(100% - 48px)}.header-inner{gap:15px}.site-nav{gap:23px}.header-actions{gap:10px;margin-left:10px}.hero-grid{grid-template-columns:1.15fr 1fr;gap:16px;padding:46px 0}.hero h1{font-size:36px}.hero-description{font-size:12px}.hero-copy .eyebrow{font-size:11px;margin-bottom:20px}.hero-figure figcaption{margin-inline:5px}.hero-figure figcaption .mono{font-size:7px}.figure-stamp{font-size:10px}.section-space{padding-block:55px}.section-heading h2{font-size:25px}.section-heading>p{font-size:10px}.featured-grid{gap:17px}.featured-caption h3{font-size:21px}.featured-caption p{font-size:10px}.feature-art{aspect-ratio:1.3}.feature-art .math-art{top:10%}.feature-art .feature-0{top:5%}.feature-index{top:11px;left:11px;font-size:8px}.post-row{grid-template-columns:25px minmax(0,1fr) 65px;gap:15px}.post-copy h3{font-size:20px}.post-copy>p{font-size:11px}.reading-time{font-size:9px}.home-about{gap:30px}.home-about h2{font-size:28px}.home-about-copy{padding-top:20px;font-size:12px}.footer-bottom>span:nth-child(2){display:none}.page-heading{padding-top:50px}.page-heading h1{font-size:41px}.large-mark{font-size:60px}.page-intro{font-size:13px}.filter-row{gap:13px}.filter-row label{gap:6px;font-size:10px}.filter-row select{font-size:10px;padding-right:12px;max-width:150px}.reset-button{font-size:10px}.article-layout{grid-template-columns:minmax(0,1fr);gap:28px}.toc{position:static;grid-row:1;max-height:none;padding:15px 17px;border:1px solid var(--line);background:var(--surface);border-radius:4px}.toc summary{cursor:pointer;display:flex;justify-content:space-between}.toc .toc-chevron{display:block;align-self:center;transition:transform .2s}.toc details[open] .toc-chevron{transform:rotate(180deg)}.toc ol{max-height:300px;overflow:auto;margin-top:15px}.article-body{max-width:720px;width:100%}.article-header{padding-top:35px}.article-header h1{font-size:38px}.article-end{max-width:none}.project-description h2{font-size:26px}.project{gap:28px;padding-top:35px;padding-bottom:45px}.project-description>p:not(.project-en-title){font-size:12px}.tech-list{font-size:9px}.project-art{padding:16px}.project-art>.mono{font-size:8px}.about-grid{gap:30px}.about-art{padding:14px}.about-text h2{font-size:25px}.about-text p{font-size:12px}.about-text .education{font-size:12px}.contact-grid{grid-template-columns:1fr}.contact-links .email-link{font-size:18px}.project-en-title{font-size:9px}}
@media(max-width:600px){:root{--header-height:70px}.wrap,.header-inner{width:calc(100% - 40px)}.wordmark{font-size:31px}.header-actions{margin-left:auto;gap:13px}.theme-button{padding-left:16px!important}.menu-button{display:flex!important;flex-direction:column;gap:5px;margin-left:2px}.menu-button span{display:block;width:19px;height:1px;background:var(--ink);transition:transform .2s}.menu-button[aria-expanded=true] span:first-child{transform:translateY(3px) rotate(45deg)}.menu-button[aria-expanded=true] span:last-child{transform:translateY(-3px) rotate(-45deg)}.site-nav{display:none;position:absolute;top:69px;left:0;right:0;background:var(--paper);border-bottom:1px solid var(--line);padding:20px;box-shadow:0 15px 20px rgb(0 0 0 / .04);margin:0}.site-nav.is-open{display:flex;justify-content:space-around;gap:12px}.hero{padding-top:20px}.hero-topline{font-size:8px;letter-spacing:.035em}.hero-topline>span:last-child{font-size:8px}.hero-grid{display:flex;flex-direction:column;gap:25px;align-items:stretch;padding:42px 0 24px}.hero-copy .eyebrow{font-size:12px;margin-bottom:19px}.hero h1{font-size:44px;line-height:1.5;letter-spacing:-.06em}.hero-description{font-size:13px;margin-top:20px;max-width:300px}.hero .primary-link{margin-top:19px;font-size:12px}.hero-figure{max-width:360px;align-self:center;width:95%}.hero-orbit{width:90%}.hero-figure figcaption{margin:0 20px}.hero-figure figcaption .mono{font-size:9px}.figure-stamp{font-size:11px}.hero-foot{padding-block:14px;gap:12px;font-size:8px;align-items:center}.hero-foot>span{max-width:160px}.hero-foot>a{white-space:nowrap;font-size:7px}.section-space{padding-block:43px}.section-label{gap:15px;margin-bottom:16px}.section-label .mono{font-size:9px}.section-caption{font-size:10px}.section-heading{gap:15px;margin-bottom:22px;align-items:baseline}.section-heading h2{font-size:26px}.selected .section-heading>p{display:none}.featured-grid{grid-template-columns:1fr;gap:27px}.featured-card{display:grid;grid-template-columns:135px minmax(0,1fr);gap:19px;align-items:center}.feature-art{aspect-ratio:1}.feature-art .math-art{width:100%;left:0;top:10%}.feature-art .feature-0{width:90%;left:5%;top:8%}.feature-index{font-size:7px;top:9px;left:9px}.feature-arrow{font-size:13px;right:9px;bottom:6px}.featured-caption{padding:0}.featured-caption h3{font-size:25px;margin-top:8px;margin-bottom:8px}.featured-caption .post-meta{font-size:8px}.featured-caption p{font-size:10px;line-height:1.8}.latest .section-heading h2{font-size:26px}.section-heading .text-link{font-size:11px;gap:7px}.post-row{grid-template-columns:20px minmax(0,1fr);gap:12px;padding:22px 0}.post-number{font-size:9px}.post-copy h3{font-size:20px;margin-top:6px}.post-meta{font-size:9px;gap:10px}.post-copy>p{font-size:11px;margin-top:8px;line-height:1.9}.row-arrow{display:none}.reading-time{position:absolute;right:0;top:20px;font-size:8px;padding:0}.post-copy .post-meta{padding-right:58px}.post-tags{margin-top:8px}.post-tags a{font-size:9px}.more-writing{margin-top:24px}.home-about{grid-template-columns:1fr;gap:23px}.home-about h2{font-size:31px;margin-top:13px}.home-about-copy{padding:0;font-size:12px}.home-about-copy>p+p{margin-top:14px}.home-about-copy .text-link{margin-top:20px}.site-footer{padding-top:26px;padding-bottom:22px}.footer-top{gap:18px;flex-wrap:wrap}.footer-top .wordmark{font-size:28px}.footer-top p{font-size:10px}.back-top{font-size:10px;gap:5px}.footer-bottom{margin-top:26px;font-size:8px;gap:10px}.page-heading{padding:39px 0 32px}.page-heading>.eyebrow{font-size:9px}.page-title-row{margin-top:19px}.page-heading h1{font-size:33px}.page-title-row .large-mark{font-size:46px}.page-intro{font-size:12px;line-height:1.9;margin-top:16px}.archive-controls{padding-top:14px}.search-field{gap:12px;padding-bottom:12px}.search-field input{font-size:13px}.search-field kbd{display:none}.filter-row{display:grid;grid-template-columns:1fr 1fr;gap:14px 15px;padding:19px 0}.filter-row label{display:flex;gap:7px;justify-content:space-between;font-size:10px}.filter-row select{flex:1;min-width:0;max-width:none;width:100%;font-size:10px;padding:7px 4px}.reset-button{justify-self:end;margin-left:0}.results-meta{font-size:10px;align-items:center;margin:13px 0}.results-meta .mono{font-size:7px;letter-spacing:0}.archive-page{padding-bottom:55px}.pagination{gap:5px;margin-top:28px}.pagination button{min-width:32px;height:34px;padding-inline:8px;font-size:11px}.project{grid-template-columns:1fr;gap:25px;padding:27px 0 42px}.project-art{padding:19px}.project-art .math-art{max-height:250px}.project-art>.mono{font-size:9px}.project-description h2{font-size:30px}.project-description>p:not(.project-en-title){font-size:13px}.project-en-title{font-size:10px;margin-bottom:18px}.project-description .eyebrow{font-size:9px}.tech-list{font-size:9px}.projects-page{padding-bottom:15px}.about-grid{grid-template-columns:1fr;gap:32px;padding:27px 0 40px}.about-art{padding:12px 22px 20px}.about-art .math-art{max-height:270px}.about-text h2{font-size:28px}.about-text p{font-size:14px}.about-text .education{font-size:13px}.contact-block{padding-top:35px}.contact-grid{gap:29px}.contact-grid h2{font-size:33px}.contact-links{gap:20px 14px}.contact-links .email-link{font-size:14px}.article-shell{padding-top:26px}.article-header{padding-top:29px;padding-bottom:28px}.article-header h1{font-size:30px;line-height:1.55;margin:16px 0 18px}.article-header .eyebrow{font-size:9px}.article-header .post-meta{font-size:10px}.article-layout{padding-top:24px;gap:26px}.article-body{font-size:18px;line-height:1.9}.article-body h1{font-size:27px}.article-body h2{font-size:25px}.article-body h3{font-size:22px}.article-body pre{padding-left:16px;padding-right:16px;font-size:12px}.article-body blockquote{margin-inline:0;padding-inline:15px}.article-body details{padding:12px}.article-neighbors strong{font-size:15px}.article-neighbors .eyebrow{font-size:8px}.article-end{padding:40px 0 50px}.not-found{padding-top:45px;padding-bottom:65px}.not-found h1{font-size:29px}.not-found>p{font-size:13px}.not-found .primary-link{gap:15px}.not-found>div:last-child{gap:24px}.error-equation{font-size:95px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.hero-figure:hover .hero-orbit{transform:none}.featured-card:hover .math-art{transform:none}}
.article-body .restored-diagram{border:1px solid var(--line);background:#f7f5ef;width:100%;margin-bottom:8px}.diagram-caption{display:block;color:var(--muted);font-size:11px;text-align:center;margin:6px 0 24px;letter-spacing:.03em}

/* Art direction: a printed mathematical journal, with a chalkboard plate. */
:root {
  --paper: #f7f5ef;
  --ink: #263b33;
  --muted: #59685e;
  --accent: #ae442e;
  --line: #d0d6c9;
  --panel: #eceee4;
  --soft-accent: #f1e3d7;
  --forest: #233e34;
  --board-ink: #e4e8cc;
  --surface: #fcfaf5;
  --header-height: 80px;
}
:root[data-theme=dark] {
  --paper: #171f1b;
  --ink: #e8e8db;
  --muted: #a8b5a8;
  --accent: #ed9e7f;
  --line: #35463a;
  --panel: #243329;
  --soft-accent: #3a3028;
  --code: #202e25;
  --forest: #1c3329;
  --board-ink: #dce3c4;
  --surface: #1c2821;
}
body { background-image: radial-gradient(#68716908 .6px, transparent .6px); background-size: 6px 6px; }
.site-header { background: var(--paper); }
.wordmark { font-size: 38px; letter-spacing: -2.4px; }
.header-note { font-size: 9px; letter-spacing: .16em; }
.site-nav { gap: 34px; font-size: 13px; }
.site-nav a[aria-current=page]:after { width: 15px; height: 2px; border-radius: 0; left: calc(50% - 7.5px); bottom: 0; }
.header-actions { gap: 15px; }
.hero { padding-top: 27px; }
.hero-topline { font-size: 10px; align-items: center; }
.hero-topline>span:first-child:before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--accent); margin-right: 10px; border-radius: 50%; vertical-align: 1px; }
.hero-grid { grid-template-columns: 1.04fr 1fr; gap: 64px; padding: 48px 0 44px; }
.hero-copy .eyebrow { font-size: 13px; letter-spacing: .08em; margin-bottom: 24px; text-transform: none; }
.hero h1 { font-size: clamp(43px,4.4vw,64px); line-height: 1.48; letter-spacing: -.06em; }
.hero h1 em { position: relative; }
.hero-description { font-size: 16px; line-height: 2; max-width: 365px; margin-top: 25px; }
.hero-links { display: flex; align-items: center; gap: 27px; margin-top: 30px; }
.hero .primary-link { margin-top: 0; border: 1px solid var(--forest); padding: 12px 19px; min-height: 48px; gap: 35px; background: var(--forest); color: #f4f1e4; font-size: 12px; }
.hero .primary-link:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.hero-about-link { display: inline-flex; gap: 15px; align-items: center; font-size: 12px; }
.hero-figure { padding: 0; min-width: 0; }
.orbit-board { position: relative; background-color: var(--forest); color: var(--board-ink); padding: 22px 23px 17px; border: 1px solid #52614b; box-shadow: 8px 8px 0 var(--panel), 0 18px 44px #18332712; background-image: linear-gradient(#dfe6c407 1px,transparent 1px),linear-gradient(90deg,#dfe6c407 1px,transparent 1px); background-size: 26px 26px; }
.orbit-board:before,.orbit-board:after { content: '+'; position: absolute; font-family: var(--mono); font-size: 12px; color: #c4ceb05c; pointer-events: none; }
.orbit-board:before { left: 8px; top: 3px; }.orbit-board:after { bottom: 2px; right: 7px; }
.board-heading,.board-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #c3ceb1; font-size: 9px; letter-spacing: .06em; }
.board-heading { padding-bottom: 14px; border-bottom: 1px solid #c3ceb12e; }
.board-bottom { padding-top: 11px; border-top: 1px solid #c3ceb12e; font-size: 8px; }
.board-bottom>span:last-child { font-size: 15px; line-height: 1; color: #f4a087; }
.hero-orbit { color: var(--board-ink); max-width: 460px; margin: 10px auto 6px; }
.hero-orbit .art-axis { stroke: #e4e8cc; opacity: .24; }
.hero-orbit .signal-orbit,.hero-orbit .signal-point { color: #f2a083; }
.hero-orbit text { font-size: 8px; opacity: .8; }
.hero-figure:hover .hero-orbit { transform: rotate(2deg); }
.hero-figure figcaption { margin: 19px 0 0 3px; }
.hero-figure figcaption .mono { font-size: 9px; letter-spacing: .025em; }
.figure-stamp { font-size: 11px; padding: 2px 4px; transform: rotate(-5deg); }
.hero-foot { padding-block: 18px; font-size: 11px; align-items: center; }
.journal-count { color: var(--accent); font-size: 15px; letter-spacing: -.05em; margin-right: 7px; }
.section-space { padding-block: 66px; }
.section-label { gap: 16px; margin-bottom: 15px; }
.section-label .mono { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; letter-spacing: .1em; }
.section-label .mono:before { content: ''; width: 14px; height: 1px; background: currentColor; }
.section-heading { margin-bottom: 28px; }
.section-heading h2 { font-size: 32px; }
.featured-grid { gap: 24px; }
.featured-card { border: 1px solid var(--line); background: var(--surface); transition: transform .25s,border-color .25s,box-shadow .25s; }
.featured-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 12px 25px #1c352808; }
.feature-art { aspect-ratio: 1.65; border: 0; border-bottom: 1px solid var(--line); }
.feature-art-0 { background: #e8ece1; color: #476447; }
.feature-art-1 { background: #f0e1d4; color: #ae442e; }
.feature-art-2 { background: #e6e9e3; color: #49605e; }
[data-theme=dark] .feature-art-0 { background: #2a3a2b; color: #c2d6a8; }
[data-theme=dark] .feature-art-1 { background: #3d3027; color: #edac88; }
[data-theme=dark] .feature-art-2 { background: #293936; color: #b2c9c3; }
.feature-art .math-art,.feature-art .feature-0,.feature-art .feature-2 { width: 82%; left: 9%; top: -6%; color: inherit; }
[data-theme=dark] .feature-art .feature-2 { color: inherit; }
.feature-art .feature-1 { width: 85%; left: 7.5%; top: 0; }
.feature-index { font-size: 10px; top: 15px; left: 17px; letter-spacing: .1em; }
.feature-arrow { display: grid; place-items: center; height: 25px; width: 25px; border: 1px solid currentColor; border-radius: 50%; font-size: 14px; right: 15px; bottom: 14px; opacity: .65; }
.featured-caption { padding: 20px 23px 22px; }
.featured-caption .post-meta { font-size: 11px; }
.featured-caption h3 { font-size: 29px; margin: 7px 0 6px; color: var(--ink); }
.featured-caption p { font-size: 14px; }
.latest .post-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 44px; }
.latest .post-row { grid-template-columns: 24px minmax(0,1fr); gap: 16px; padding-block: 24px; }
.latest .reading-time { position: absolute; right: 0; top: 27px; font-size: 11px; padding: 0; }
.latest .post-copy .post-meta { padding-right: 57px; }
.latest .post-copy h3 { font-size: 21px; margin-top: 9px; }
.latest .post-copy>p { font-size: 14px; margin-top: 8px; }
.post-row { transition: background .2s; }
.post-number { color: var(--accent); opacity: .8; }
.post-tags a { border-radius: 2px; background: var(--panel); border-color: transparent; }
.post-tags a:hover { background: var(--soft-accent); }
.more-writing { margin-top: 31px; }
.home-about { position: relative; background: var(--forest); border: 0; padding: 43px 48px 47px; margin: 6px 0 65px; grid-template-columns: 1fr 1fr; gap: 80px; color: #f0f0dc; overflow: hidden; }
.home-about:after { content: '∴'; position: absolute; right: 18px; top: -74px; font-family: var(--serif); font-size: 280px; line-height: 1.4; color: #dce8c107; pointer-events: none; }
.home-about .eyebrow { color: #d3dcc8; font-size: 10px; }
.home-about h2 { font-size: 34px; margin-top: 15px; line-height: 1.65; }
.home-about h2 em { color: #f1ab8c; }
.home-about-copy { color: #d3dcc8; font-size: 14px; padding-top: 17px; position: relative; z-index: 1; }
.home-about-copy .text-link { color: #f0f0dc; border-bottom: 1px solid #c5cfb65c; padding-bottom: 7px; }
.site-footer { padding-top: 31px; padding-bottom: 27px; }
.footer-bottom { margin-top: 26px; }
.page-heading { padding: 62px 0 43px; }
.page-title-row { margin-top: 20px; }
.page-heading h1 { font-size: clamp(34px,4vw,57px); }
.large-mark { font-size: 52px; border: 1px solid var(--line); display: grid; place-items: center; width: 88px; height: 88px; background: var(--panel); flex: 0 0 auto; }
.archive-controls { background: var(--surface); padding: 23px 26px 0; border: 1px solid var(--line); }
.search-field { border-color: var(--line); }
.search-field:focus-within { border-color: var(--accent); }
.filter-row { padding-block: 21px; gap: 23px; }
select { background: var(--paper); border-radius: 2px; }
.results-meta { margin-top: 26px; }
.archive-page .post-copy h3 { font-size: 23px; }
.archive-page .post-row { padding-block: 27px; }
.archive-page .post-row:hover { background: var(--panel); }
.archive-page .post-number { padding-left: 7px; }
.project-art,.about-art { border: 1px solid var(--line); background-image: linear-gradient(#68716908 1px,transparent 1px),linear-gradient(90deg,#68716908 1px,transparent 1px); background-size: 24px 24px; }
.project-art .signal-orbit,.about-art .signal-orbit { opacity: .6; }
.project-art:hover { border-color: var(--accent); }
.project-description .eyebrow,.about-text>.eyebrow { color: var(--accent); }
.article-header { position: relative; padding-top: 39px; }
.article-header>.eyebrow { color: var(--accent); }
.article-header h1 { letter-spacing: -.04em; }
.article-body pre { border-radius: 3px; }
.article-body h2 { border-bottom-style: solid; }


.article-neighbors a:hover { color: var(--accent); }
html[lang=en] .hero h1 { font-size: clamp(38px,4.2vw,59px); letter-spacing: -.05em; line-height: 1.35; }
html[lang=en] .hero-description { max-width: 350px; }

@media (min-width:1500px) { .hero-grid { padding-block: 68px; }.hero h1 { font-size: 64px; } }
@media (max-width:1050px) {
  .hero-grid { gap: 35px; padding-block: 48px; }
  .hero h1 { font-size: 46px; }
  .hero-description { font-size: 13px; }
  .orbit-board { padding: 18px 18px 13px; }
  .board-heading { font-size: 6px; gap: 7px; }
  .board-bottom { font-size: 6px; }
  .hero-links { gap: 19px; }
  .featured-caption { padding: 17px 18px 19px; }
  .latest .post-list { column-gap: 28px; }
  .latest .post-copy h3 { font-size: 20px; }
  .latest .post-row { gap: 10px; }
  .latest .reading-time { font-size: 8px; }
  .home-about { gap: 40px; padding-inline: 35px; }
  .home-about h2 { font-size: 30px; }
  .filter-row { gap: 18px; }
}
@media (min-width:601px) and (max-width:800px) {
  .hero-grid { gap: 28px; grid-template-columns: 1.05fr 1fr; }
  .hero h1 { font-size: 36px; }
  .hero-copy .eyebrow { font-size: 11px; margin-bottom: 18px; }
  .hero-description { font-size: 12px; margin-top: 18px; }
  .hero-links { gap: 16px; margin-top: 24px; flex-wrap: wrap; }
  .hero .primary-link { font-size: 11px; padding: 10px 12px; gap: 24px; min-height: 41px; }
  .hero-about-link { font-size: 11px; }
  .hero-orbit { margin-block: 16px; }
  .board-heading { font-size: 5.8px; letter-spacing: .03em; }
  .board-bottom { font-size: 5px; letter-spacing: .03em; }
  .hero-figure figcaption .mono { font-size: 7px; }
  .featured-grid { gap: 15px; }
  .feature-art { aspect-ratio: 1.25; }
  .feature-art .math-art,.feature-art .feature-0,.feature-art .feature-2 { width: 100%; left: 0; top: 10%; }
  .featured-caption { padding: 15px; }
  .featured-caption h3 { font-size: 24px; }
  .featured-caption p { font-size: 11px; }
  .featured-caption .post-meta { font-size: 8px; }
  .feature-index { font-size: 7px; left: 11px; top: 11px; }
  .latest .post-list { grid-template-columns: 1fr; }
  .latest .post-copy h3 { font-size: 22px; }
  .home-about { padding: 32px; gap: 26px; }
  .home-about h2 { font-size: 26px; }
  .home-about-copy { font-size: 12px; }
  .archive-controls { padding: 19px 20px 0; }
  .filter-row { gap: 15px; }
  .large-mark { width: 72px; height: 72px; font-size: 44px; }
  html[lang=en] .hero h1 { font-size: 34px; }
}
@media (max-width:800px) {
  :root { --header-height: 76px; }
  .section-space { padding-block: 51px; }
  .site-nav { gap: 24px; font-size: 12px; }
  .section-heading h2 { font-size: 29px; }
}
@media (max-width:600px) {
  :root { --header-height: 70px; }
  .wordmark { font-size: 34px; }
  .site-nav { top: 69px; }
  .hero { padding-top: 20px; }
  .hero-topline { font-size: 8px; }
  .hero-topline>span:first-child:before { width: 4px; height: 4px; margin-right: 7px; }
  .hero-topline>span:last-child { font-size: 7px; }
  .hero-grid { gap: 34px; padding: 35px 0 25px; }
  .hero h1 { font-size: clamp(37px,11.2vw,50px); line-height: 1.5; letter-spacing: -.06em; }
  .hero-copy .eyebrow { font-size: 12px; margin-bottom: 19px; }
  .hero-description { font-size: 13px; margin-top: 18px; max-width: 310px; }
  .hero-links { margin-top: 24px; gap: 25px; }
  .hero .primary-link { padding: 11px 15px; min-height: 45px; font-size: 12px; gap: 29px; }
  .hero-about-link { font-size: 11px; }
  .hero-figure { width: calc(100% - 7px); max-width: 430px; align-self: flex-start; }
  .orbit-board { padding: 16px 16px 12px; box-shadow: 7px 7px 0 var(--panel); }
  .board-heading { font-size: 6px; }
  .board-bottom { font-size: 5.5px; }
  .hero-orbit { width: 100%; margin: 6px 0; }
  .hero-figure figcaption { margin: 16px 0 0; }
  .hero-figure figcaption .mono { font-size: 8px; }
  .figure-stamp { font-size: 10px; }
  .hero-foot { gap: 10px; padding-block: 14px; font-size: 7px; }
  .hero-foot>span { max-width: none; }
  .hero-foot>a { font-size: 7px; }
  .journal-count { font-size: 13px; margin-right: 3px; }
  .section-space { padding-block: 40px; }
  .section-heading h2,.latest .section-heading h2 { font-size: 27px; }
  .section-label .mono { font-size: 8px; }
  .section-caption { font-size: 9px; }
  .section-heading { margin-bottom: 23px; }
  .featured-grid { gap: 14px; }
  .featured-card { grid-template-columns: 113px minmax(0,1fr); gap: 0; align-items: stretch; }
  .featured-card:hover { transform: translateY(-2px); }
  .feature-art { aspect-ratio: auto; min-height: 142px; border-bottom: 0; border-right: 1px solid var(--line); }
  .feature-art .math-art,.feature-art .feature-0,.feature-art .feature-1,.feature-art .feature-2 { width: 100%; max-width: none; left: 0; top: 30px; }
  .feature-index { font-size: 6px; left: 10px; top: 10px; }
  .feature-arrow { width: 18px; height: 18px; font-size: 11px; right: 8px; bottom: 9px; }
  .featured-caption { padding: 20px 16px; align-self: center; }
  .featured-caption .post-meta { font-size: 7px; gap: 5px; }
  .featured-caption h3 { font-size: 24px; margin: 7px 0; }
  .featured-caption p { font-size: 10px; line-height: 1.85; }
  .latest .post-list { grid-template-columns: 1fr; }
  .latest .post-row { grid-template-columns: 20px minmax(0,1fr); padding-block: 23px; gap: 11px; }
  .latest .reading-time { top: 25px; font-size: 8px; }
  .latest .post-copy h3 { font-size: 20px; margin-top: 8px; }
  .latest .post-copy>p { font-size: 11px; }
  .home-about { margin: 0 0 39px; padding: 29px 25px 32px; grid-template-columns: 1fr; gap: 21px; }
  .home-about h2 { font-size: 29px; margin-top: 12px; }
  .home-about-copy { padding-top: 0; font-size: 12px; }
  .home-about:after { right: -25px; top: 80px; }
  .footer-top { gap: 16px; }
  .footer-top .wordmark { font-size: 30px; }
  .footer-top p { font-size: 10px; }
  .site-footer { padding-top: 24px; padding-bottom: 23px; }
  .page-heading { padding: 37px 0 31px; }
  .page-heading h1 { font-size: 32px; }
  .large-mark { width: 53px; height: 58px; font-size: 34px; }
  .archive-controls { padding: 15px 15px 0; }
  .filter-row { gap: 14px; padding-block: 18px; }
  .results-meta { margin: 22px 0 14px; }
  .archive-page .post-row { padding-block: 22px; }
  .archive-page .post-copy h3 { font-size: 20px; }
  .archive-page .post-number { padding-left: 0; }
  .article-header { padding-top: 28px; }
  .article-header h1 { letter-spacing: -.025em; }
  html[lang=en] .hero h1 { font-size: clamp(35px,10.2vw,47px); line-height: 1.4; }
  html[lang=en] .hero-description { font-size: 13px; }
}
@media (prefers-reduced-motion:reduce) {
  .featured-card:hover,.hero .primary-link:hover { transform: none; }
}

/* Equal outer tracks keep the reading column centered independently of the TOC. */
.article-shell { max-width: 1200px; }
.article-back { display: flex; width: min(100%,720px); margin-inline: auto; }
.article-header,.article-end { width: 100%; max-width: 720px; margin-inline: auto; }
.article-layout,.article-layout.no-toc {
  grid-template-columns: minmax(0,1fr) minmax(0,720px) minmax(0,1fr);
  gap: 35px;
}
.article-body { grid-column: 2; grid-row: 1; }
.toc { grid-column: 1; grid-row: 1; }
@media (max-width:1199px) {
  .article-layout,.article-layout.no-toc {
    grid-template-columns: minmax(0,720px);
    justify-content: center;
    gap: 28px;
  }
  .article-body { grid-column: 1; grid-row: auto; }
  .toc {
    position: static;
    max-height: none;
    padding: 15px 17px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 4px;
  }
  .toc summary { cursor: pointer; display: flex; justify-content: space-between; }
  .toc .toc-chevron { display: block; align-self: center; transition: transform .2s; }
  .toc details[open] .toc-chevron { transform: rotate(180deg); }
  .toc ol { max-height: 300px; overflow: auto; margin-top: 15px; }
}

/* Journal finish: readable annotations, quiet depth, consistent controls. */
.site-header { box-shadow: 0 2px 18px #17332604; }
.header-actions button { min-width: 40px; min-height: 40px; }
.header-actions { gap: 8px; }
.hero-copy { position: relative; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 12px; }
.hero-copy .eyebrow::before { content: ''; width: 25px; height: 1px; background: var(--accent); }
.hero h1 { text-wrap: balance; }
.hero-description { max-width: 390px; }
.hero-about-link { min-height: 44px; }
.hero-figure figcaption .mono { font-size: 10px; }
.orbit-board { border-color: #6d7d654f; }
.orbit-board .sphere-wash { opacity: .06; }
.hero-orbit .signal-orbit { stroke-width: 1.8; }
.featured-card { display: flex; flex-direction: column; }
.feature-art { flex-shrink: 0; }
.featured-caption { flex: 1; padding: 23px 25px 25px; }
.featured-caption h3 { line-height: 1.5; margin: 10px 0 8px; }
.featured-card:focus-visible { outline-offset: 5px; border-color: var(--accent); }
.featured-card:hover .feature-arrow { opacity: 1; background: var(--surface); }
.post-meta { font-size: 11px; }
.post-tags a { font-size: 11px; padding: 3px 9px; }
.post-number { font-size: 11px; }
.latest .post-row { padding-block: 28px; }
.latest .reading-time { top: 31px; }
.latest .post-copy h3 { line-height: 1.65; }
.latest .post-copy .post-meta { padding-right: 68px; }
.archive-controls { border-radius: 6px; box-shadow: 0 8px 24px #17332604; }
.filter-row label, .filter-row select, .reset-button { font-size: 12px; }
.filter-row select { min-height: 40px; }
.results-meta { font-size: 12px; }
.results-meta .mono { font-size: 10px; }
.pagination button { min-width: 40px; height: 40px; border-radius: 3px; }
.page-intro { font-size: 16px; max-width: 650px; }
.project-art, .about-art { box-shadow: 6px 6px 0 var(--panel); }
.project-art .math-art { color: var(--ink); }
.project:nth-child(2) .project-art .math-art { color: var(--accent); }
.large-mark { border-radius: 50%; background: transparent; }
.article-back { min-height: 30px; }
.article-body pre { border-radius: 6px; box-shadow: 0 4px 18px #17332604; }
.article-body pre::before { content: ''; position: absolute; top: 39px; left: 0; right: 0; height: 1px; background: var(--line); opacity: .65; }
.article-header .post-tags a { padding: 4px 10px; }
.footer-bottom { font-size: 10px; }
[data-theme=dark] .orbit-board { background-color: #213c30; box-shadow: 8px 8px 0 #101a14; }
[data-theme=dark] .hero .primary-link { background: #dce4cb; border-color: #dce4cb; color: #213b2e; }
[data-theme=dark] .hero .primary-link:hover { background: var(--accent); border-color: var(--accent); color: #171f1b; }
[data-theme=dark] .featured-card:hover { box-shadow: 0 12px 28px #0002; }
[data-theme=dark] .post-tags a { color: #bccab9; }
@media (min-width:601px) and (max-width:1050px) {
  .hero-description { font-size: 14px; }
  .featured-caption { padding: 18px; }
  .featured-caption h3 { font-size: 25px; }
  .featured-caption p { font-size: 12px; }
  .featured-caption .post-meta { font-size: 10px; }
  .board-heading { font-size: 7px; }
  .board-bottom { font-size: 6px; }
}
@media (max-width:600px) {
  .header-actions { gap: 3px; }
  .header-actions button { min-width: 38px; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(36px,10.4vw,49px); }
  .hero-description { font-size: 14px; line-height: 1.95; }
  .hero-copy .eyebrow { font-size: 13px; }
  .hero .primary-link { font-size: 13px; }
  .hero-about-link { font-size: 13px; }
  .hero-topline { font-size: 9px; }
  .hero-topline>span:last-child { font-size: 8px; }
  .board-heading { font-size: 7px; }
  .board-bottom { font-size: 6.5px; }
  .hero-figure figcaption .mono { font-size: 9px; }
  .hero-foot { font-size: 9px; gap: 8px; }
  .hero-foot>a { font-size: 9px; }
  .section-label .mono { font-size: 9px; }
  .section-caption { font-size: 10px; }
  .section-heading>p { font-size: 12px; }
  .featured-card { display: grid; grid-template-columns: 105px minmax(0,1fr); }
  .featured-caption { padding: 18px 15px; }
  .featured-caption h3 { font-size: 23px; line-height: 1.5; margin: 8px 0 6px; }
  .featured-caption p { font-size: 12px; line-height: 1.8; }
  .featured-caption .post-meta { font-size: 10px; }
  .feature-index { font-size: 8px; }
  .feature-art { min-height: 156px; height: 100%; }
  .feature-art .math-art,.feature-art .feature-0,.feature-art .feature-1,.feature-art .feature-2 { top: calc(50% - 40px); }
  .feature-arrow { width: 22px; height: 22px; font-size: 13px; }
  .latest .post-copy>p { font-size: 13px; }
  .latest .reading-time { font-size: 10px; top: 31px; }
  .latest .post-copy h3 { font-size: 21px; }
  .post-copy>p { font-size: 13px; }
  .post-meta { font-size: 10px; gap: 8px; }
  .home-about-copy { font-size: 14px; }
  .home-about .eyebrow { font-size: 9px; }
  .home-about h2 { font-size: 28px; }
  .filter-row { column-gap: 12px; }
  .filter-row label { font-size: 11px; }
  .filter-row select { font-size: 11px; }
  .reset-button { font-size: 11px; }
  .search-field input { font-size: 16px; }
  .results-meta { font-size: 11px; }
  .results-meta .mono { font-size: 8px; }
  .page-intro { font-size: 14px; }
  .footer-top p { font-size: 11px; }
  .footer-bottom { font-size: 9px; }
}
