pre code{background-color:#17141408}:root{--hub-accent:#245d70;--hub-muted:#58636b;--hub-border:#dce3e6;--hub-surface:#f4f7f8;--hub-background:#fff;--hub-text:#172b35;--page-gutter:clamp(16px, 4vw, 80px);--page-content-width:1200px;--article-body-width:800px;--article-toc-width:18rem;--article-column-gap:clamp(24px, 4vw, 64px)}html[data-theme=dark]{--hub-accent:#8dd3df;--hub-muted:#b1bfc9;--hub-border:#44515d;--hub-surface:#29343d;--hub-background:#22272e;--hub-text:#edf3f6}html{scroll-behavior:smooth}body{margin:0 0 170px}:focus-visible{outline:3px solid var(--hub-accent);outline-offset:4px}.skip-link{position:fixed;top:-100px;left:1rem;z-index:20;padding:.8rem;background:var(--hub-background)}.skip-link:focus{top:.5rem}.header{height:64px;border-bottom:1px solid var(--hub-border)}.site-nav{width:100%;max-width:calc(var(--page-content-width) + var(--page-gutter) * 2);height:64px;margin:auto;padding:0 var(--page-gutter);display:flex;align-items:center;gap:32px;box-sizing:border-box}.site-brand{font-size:1.4rem;font-weight:700;letter-spacing:-.05em;white-space:nowrap}.brand-dot{color:var(--hub-accent)}.site-menu{display:flex;align-items:center;gap:23px;margin-left:auto;font-size:.86rem}.site-controls{display:flex;align-items:center;gap:12px}.language-link{font-size:.8rem;font-weight:700}.theme-button,.menu-button{color:inherit;font:inherit;border:1px solid var(--hub-border);border-radius:6px;background:0 0;cursor:pointer;min-height:40px;padding:5px 10px}.theme-button{font-size:1.2rem}.menu-button{font-size:.8rem}#hamburger-menu-toggle{display:none}main#content{width:100%;max-width:calc(var(--page-content-width) + var(--page-gutter) * 2);margin:100px auto 0;padding:0 var(--page-gutter);box-sizing:border-box}main#content>.container{width:100%;max-width:90ch}.home-hub{width:100%;margin:0}.hub-hero{padding:52px 0 54px;border-bottom:1px solid var(--hub-border)}.eyebrow{font-size:.7rem;font-weight:700;letter-spacing:.14em;color:var(--hub-accent)}.hub-hero h1{font-size:clamp(1.65rem,3vw,3.5rem);line-height:1.5;letter-spacing:-.035em;white-space:normal;text-wrap:balance;margin:22px 0}.hero-description,.section-lead{color:var(--hub-muted);font-size:1.02rem;line-height:1.9;max-width:760px}.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin:28px 0;font-size:.9rem}.primary-link{background:var(--hub-accent);color:var(--hub-background);border:1px solid var(--hub-accent);border-radius:6px;padding:13px 20px;text-decoration:none;font-weight:700}.primary-link:hover{color:var(--hub-background);filter:brightness(1.12)}.hub-section{padding:40px 0;border-bottom:1px solid var(--hub-border)}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:22px}.section-heading h2{margin:0;font-size:1.35rem}.section-heading>a{font-size:.8rem;color:var(--hub-accent)}.discovery-grid,.series-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:18px}.discovery-card{padding:25px;border:1px solid var(--hub-border);border-radius:8px;text-decoration:none;background:var(--hub-surface);transition:border-color .15s}.discovery-card:hover{border-color:var(--hub-accent);color:inherit}.discovery-card h2,.discovery-card h3{font-size:1.12rem;line-height:1.6;margin:10px 0}.discovery-card p{font-size:.85rem;color:var(--hub-muted);line-height:1.9}.card-action{color:var(--hub-accent);font-size:.8rem;font-weight:700}.card-meta{color:var(--hub-muted);font-size:.75rem}.subject-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:0 28px}.subject-link{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 0;border-bottom:1px solid var(--hub-border);text-decoration:none;font-size:.9rem}.article-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,26rem),1fr));gap:0 32px}.article-card{padding:22px 0;display:flex;align-items:center;gap:22px;border-bottom:1px solid var(--hub-border)}.article-card:last-child{border-bottom:1px solid var(--hub-border)}.article-card>div{flex:1;min-width:0}.article-card h3{margin:7px 0;font-size:1.06rem;line-height:1.6}.article-card h3 a{text-decoration:none}.article-card p{color:var(--hub-muted);font-size:.82rem;line-height:1.8;margin:8px 0}.article-card img{width:144px;height:90px;object-fit:cover;border-radius:5px}.article-card .card-subject{font-size:.7rem;color:var(--hub-accent)}.card-subject a{margin-right:10px;text-decoration:none}.archive-section .section-heading{margin-bottom:12px}.archive-section .section-lead{margin:0 0 24px}.archive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.archive-card{display:flex;flex-direction:column;min-width:0;padding:clamp(24px,3vw,36px);border:1px solid var(--hub-border);border-top:3px solid var(--hub-accent);border-radius:8px;background:var(--hub-surface);color:var(--hub-text);text-decoration:none;transition:border-color .15s}.archive-card:hover,.archive-card:focus-visible{border-color:var(--hub-accent);color:var(--hub-text)}.archive-card-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.archive-card h3{margin:0;font-size:clamp(1.25rem,2vw,1.65rem);line-height:1.5;overflow-wrap:anywhere}.archive-arrow{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid var(--hub-border);border-radius:50%;color:var(--hub-accent);font-size:1.3rem}.archive-card p{margin:18px 0 26px;color:var(--hub-muted);font-size:.9rem;line-height:1.9}.archive-action{margin-top:auto;color:var(--hub-accent);font-size:.9rem;font-weight:700}.archive-card:hover .archive-action{text-decoration:underline;text-underline-offset:4px}.journal-list{list-style:none;padding:0}.journal-list li{display:flex;gap:24px;margin:16px 0;line-height:1.6;font-size:.9rem}.journal-list time{color:var(--hub-muted);font-size:.75rem;white-space:nowrap}.home-about-note{padding-top:28px;font-size:.85rem;line-height:1.9}main#content>.discovery-page,main#content>.search-page{width:100%;max-width:none;padding:22px 0;box-sizing:border-box}.discovery-page h1,.search-page h1{font-size:clamp(1.7rem,3vw,2.4rem);line-height:1.5}.back-link{color:var(--hub-accent);font-size:.85rem}.prerequisites,.learning-context{border-left:3px solid var(--hub-accent);background:var(--hub-surface);padding:16px 20px;line-height:1.8;font-size:.85rem;margin:24px 0}.learning-context p{margin:8px 0 0;color:var(--hub-muted)}.series-chapters{padding-left:2rem;margin:28px 0}.series-chapters li{padding:16px 10px;border-bottom:1px solid var(--hub-border)}.series-chapters li::marker{color:var(--hub-accent);font-weight:700}.series-chapters a{font-weight:700;line-height:1.7}.series-chapters p{font-size:.85rem;line-height:1.8;color:var(--hub-muted)}.article-topics{display:flex;gap:8px 15px;flex-wrap:wrap;font-size:.8rem}.article-topics a{color:var(--hub-accent)}.article-description{color:var(--hub-muted);line-height:1.8;font-size:1rem}.post-header-section h1{line-height:1.5}main#content>.post.container{width:100%;max-width:calc(var(--article-body-width) + var(--article-toc-width) + var(--article-column-gap));margin-inline:auto;display:grid;grid-template-columns:minmax(0,1fr)var(--article-toc-width);column-gap:var(--article-column-gap)}main#content>.post.container:not(:has(>.reading-toc)){max-width:var(--article-body-width);grid-template-columns:minmax(0,1fr)}.post.container>*{grid-column:1;min-width:0}.post.container>.reading-toc{grid-column:2;grid-row:1/span 3;position:sticky}.reading-toc{position:static;top:90px;align-self:start;width:auto;font-size:.8rem;border-left:1px solid var(--hub-border);padding-left:18px}.reading-toc summary{cursor:pointer;font-weight:700;padding:8px 0}#toc{display:block;position:static;max-height:calc(100vh - 180px);overflow-y:auto}#toc ul ul{padding-left:12px}#toc a{line-height:1.6;display:inline-block}.post-content h2,.post-content h3,.post-content h4,.post-content h5,.post-content h6{scroll-margin-top:85px}.post-content .katex-display{overflow-x:auto;overflow-y:hidden;padding:4px 0}.post-content p:has(.katex){overflow-x:auto}.post-content{line-height:1.9;overflow-wrap:anywhere}.post-content pre{max-width:100%;box-sizing:border-box;overflow-x:auto}.notebook-cell{display:grid;grid-template-columns:minmax(5rem,max-content)minmax(0,1fr);column-gap:1rem;align-items:start;margin:1.5rem 0}.notebook-cell-label{padding-top:1rem;color:var(--hub-text);font:700 .9rem/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;text-align:right;white-space:nowrap;user-select:none}.notebook-cell-body{min-width:0;overflow-x:auto}.notebook-cell-body>:first-child,.notebook-cell-body>.highlight>pre{margin-top:0}.notebook-cell-body>:last-child,.notebook-cell-body>.highlight>pre{margin-bottom:0}.notebook-cell-body pre{border-radius:6px}.notebook-cell-body figure{margin-inline:0}.notebook-cell--out .notebook-cell-label{padding-top:.25rem}.notebook-cell--out:has(.notebook-cell-body>pre:first-child) .notebook-cell-label{padding-top:1rem}.series-navigation{padding:20px;margin:40px 0 24px;border:1px solid var(--hub-border);border-radius:6px;background:var(--hub-surface)}.series-navigation>p{font-size:.85rem;font-weight:700}.chapter-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.chapter-links a{font-size:.9rem;line-height:1.6}.chapter-links small{display:block;color:var(--hub-muted);margin-bottom:8px}.back-to-top{display:inline-block;font-size:.8rem;margin:20px 0}.search-page{--pagefind-ui-primary:var(--hub-accent);--pagefind-ui-text:var(--hub-text);--pagefind-ui-background:var(--hub-background);--pagefind-ui-border:var(--hub-border);--pagefind-ui-tag:var(--hub-surface)}.search-page #search{margin-top:30px}.pagefind-ui__search-input{color:var(--hub-text)}.pagefind-ui__result-excerpt{line-height:1.8}@media(max-width:1150px){.site-nav{gap:16px}.site-controls{margin-left:auto}#hamburger-menu-toggle{display:inline-block}.site-menu{display:none;position:absolute;top:64px;left:0;right:0;padding:20px 24px;background:var(--hub-background);border-bottom:1px solid var(--hub-border)}.site-menu.is-open{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}main#content>.post.container{display:block;max-width:var(--article-body-width)}.reading-toc,.post.container>.reading-toc{position:static;width:auto;padding:10px 18px;border:1px solid var(--hub-border);border-radius:6px;margin:24px 0}#toc{max-height:55vh}}@media(max-width:820px){main#content{margin-top:85px}.hub-hero{padding:25px 0 35px}.eyebrow{font-size:.6rem;letter-spacing:.08em}.section-heading{flex-wrap:wrap;gap:12px}.archive-grid{grid-template-columns:1fr;gap:18px}main#content>.discovery-page,main#content>.search-page{padding:10px 0}.article-card img{width:88px;height:58px}.article-card{gap:14px}.post .post-content{margin-top:28px}.chapter-links{grid-template-columns:1fr}}@media(max-width:420px){.site-nav{padding:0 16px}.site-controls{gap:8px}.journal-list li{flex-direction:column;gap:5px}.notebook-cell{grid-template-columns:minmax(4.5rem,max-content)minmax(0,1fr);column-gap:.5rem}.notebook-cell-label{font-size:.8rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}