.post-page{--muted:color-mix(in srgb,var(--ink) 72%,var(--bg));--rule:color-mix(in srgb,var(--ink) 18%,transparent);--wash:color-mix(in srgb,var(--ink) 6%,var(--bg));--measure:68ch;--side:14rem;color-scheme:light;background:var(--bg);color:var(--ink);font-family:var(--font-text)}.post-page[data-mode=dark]{color-scheme:dark}.post-page[data-layout=wide]{--measure:80ch}.post-page ::selection{background:var(--accent);color:var(--bg)}.post-hero{display:flex;flex-direction:column;padding:20px var(--gutter) clamp(56px,8vw,112px);background:var(--accent);color:var(--bg)}.post-crumbs{display:flex;align-items:center;gap:12px;min-height:44px;font-size:var(--step-small)}.post-crumbs a:last-child{padding:10px 0}.post-meta{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:clamp(40px,7vh,88px);font-size:var(--step-small)}.post-title{max-width:20ch;margin-top:20px;font-family:var(--font-display);font-weight:800;font-size:clamp(2.5rem,1.4rem + 4.6vw,6rem);line-height:.92;letter-spacing:-.01em;text-transform:uppercase;text-wrap:balance}.post-dek{max-width:56ch;margin-top:24px;font-size:var(--step-lead);line-height:1.4}.post-hero>*{animation:post-in .7s var(--ease) both}.post-hero>:nth-child(2){animation-delay:60ms}.post-hero>:nth-child(3){animation-delay:.12s}.post-hero>:nth-child(4){animation-delay:.18s}@keyframes post-in{0%{transform:translateY(18px)}}.post-page[data-layout=feature] .post-hero{min-height:92svh;justify-content:flex-start}.post-page[data-layout=feature] .post-title{max-width:14ch;margin-top:auto;font-size:clamp(3rem,1rem + 8vw,10rem)}.hero-poster{position:relative;min-height:100svh;overflow:hidden;isolation:isolate}.poster-cover{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply;opacity:.55;filter:grayscale(1) contrast(1.1)}.hero-poster .post-title{max-width:none;margin-top:auto;font-size:clamp(3.5rem,1rem + 10.5vw,13rem);line-height:.82}.poster-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;padding-top:32px;border-top:6px dotted;margin-top:32px}.poster-foot .post-dek,.poster-foot .post-meta{margin-top:0}.post{padding:clamp(40px,6vw,88px) 0 clamp(56px,7vw,112px)}.post-body,.post-cover,.post-end{display:grid;grid-template-columns:[full-start] minmax(var(--gutter),1fr) [wide-start] minmax(0,var(--side)) [content-start] min(var(--measure),100% - 2 * var(--gutter)) [content-end] minmax(0,var(--side)) [wide-end] minmax(var(--gutter),1fr) [full-end];grid-auto-flow:row dense}.post-body>*,.post-cover>*,.post-end>*{grid-column:content}.post-body>.columns,.post-body>.is-wide,.post-body>figure.is-wide,.post-cover>*{grid-column:wide}.post-body>.full-bleed,.post-body>.is-full{grid-column:full}.post-cover{margin-bottom:clamp(40px,5vw,72px)}.post-cover img{width:100%}.post-body{font-size:var(--step-body);line-height:1.65}.post-body>*+*{margin-top:1.25em}.post-body>:is(h2,h3,h4){margin-top:2.2em;scroll-margin-top:24px}.post-body>:is(h2,h3,h4)+*{margin-top:.75em}.post-body h2{font-family:var(--font-display);font-weight:800;font-size:clamp(1.75rem,1.3rem + 1.4vw,2.5rem);line-height:1;text-transform:uppercase;text-wrap:balance}.post-body h3{font-size:var(--step-lead);font-weight:600;line-height:1.25}.post-body h4{font-size:var(--step-body);font-weight:600}.post-body .anchor{margin-left:.3em;color:var(--muted);text-decoration:none;opacity:0;transition:opacity .16s var(--ease)}.post-body .anchor:focus-visible,.post-body :is(h2,h3,h4):hover .anchor{opacity:1}.post-body a{-webkit-text-decoration-color:var(--accent);text-decoration-color:var(--accent)}.post-body :is(ul,ol){padding-left:1.3em}.post-body li+li{margin-top:.4em}.post-body li::marker{color:var(--muted)}.post-body blockquote{padding-left:24px;border-left:6px solid var(--accent);font-style:italic}.post-body hr{height:0;margin-block:3em;border:0;border-top:6px dotted var(--rule)}.post-body strong{font-weight:600}.post-body mark{padding:0 .15em;background:color-mix(in srgb,var(--accent) 22%,transparent);color:inherit}.post-body table{display:block;overflow-x:auto;border-collapse:collapse;font-size:.9em}.post-body :is(th,td){padding:10px 16px 10px 0;border-bottom:2px solid var(--rule);text-align:left;vertical-align:top}.post-body th{font-weight:600}.post-body img{max-width:100%;height:auto}.post-body :not(pre)>code{padding:.1em .35em;background:var(--wash);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.86em;overflow-wrap:anywhere}.post-body .footnotes{margin-top:4em;padding-top:1.5em;border-top:6px dotted var(--rule);font-size:var(--step-small)}.post-body .footnotes h2{font-size:var(--step-body)}.post-body .katex-display,.post-body .math{overflow-x:auto;overflow-y:hidden;padding:.5em 0}.post-body pre{position:relative;grid-column:content;overflow-x:auto;padding:24px clamp(16px,2.4vw,28px);background:var(--shiki-light-bg,var(--wash));font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.82em;line-height:1.6;-moz-tab-size:2;tab-size:2;border-top:6px solid var(--accent)}.post-body pre,.post-body pre span{color:var(--shiki-light)}[data-mode=dark] .post-body pre{background:var(--shiki-dark-bg);color:var(--shiki-dark)}[data-mode=dark] .post-body pre span{color:var(--shiki-dark)}.post-body pre[data-title]{padding-top:52px}.post-body pre[data-title]:before{content:attr(data-title);position:absolute;top:0;left:0;padding:6px clamp(16px,2.4vw,28px);background:var(--accent);color:var(--bg);font-size:.85em}.post-body pre code{display:grid;min-width:max-content}.post-body .line.highlighted{margin-inline:calc(-1 * clamp(16px, 2.4vw, 28px));padding-inline:clamp(16px,2.4vw,28px);background:color-mix(in srgb,var(--accent) 16%,transparent)}.post-body .line.diff.add{background:rgb(46 160 67/.16)}.post-body .line.diff.remove{background:rgb(248 81 73/.16);opacity:.75}.post-body .line.diff.add:before{content:"+ "}.post-body .line.diff.remove:before{content:"- "}.copy{position:absolute;top:8px;right:8px;padding:6px 12px;border:0;background:var(--accent);color:var(--bg);font:inherit;font-size:.8rem;cursor:pointer;opacity:0;transition:opacity .16s var(--ease)}.copy:focus-visible,pre:hover .copy{opacity:1}@media (hover:none){.copy{opacity:1}}.callout{padding:20px 24px;background:var(--wash);border-left:6px solid var(--accent)}.callout>*+*{margin-top:.75em}.callout-title{font-weight:600}.callout-tip{border-left-color:#2e7d32}.callout-warning{border-left-color:#b3261e}.margin-note{padding-left:16px;border-left:2px solid var(--rule);color:var(--muted);font-size:var(--step-small)}@media (min-width:1240px){.post-body>.margin-note{grid-column:content-end/wide-end;align-self:start;margin:.35em 0 0 32px}}.full-bleed{padding-block:clamp(40px,6vw,88px);padding-inline:max(var(--gutter),calc((100% - var(--measure)) / 2));background:var(--accent);color:var(--bg)}.full-bleed>*+*{margin-top:1em}.columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));grid-gap:24px 40px;gap:24px 40px}.columns>*{margin:0}.gallery img,.post-figure img{width:100%}.post-body figcaption{margin-top:10px;color:var(--muted);font-size:var(--step-small)}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));grid-gap:8px;gap:8px}.gallery-grid img{aspect-ratio:4/3;object-fit:cover}.compare-stage{position:relative;overflow:hidden}.compare-stage img{width:100%}.compare-after{position:absolute;inset:0;-webkit-clip-path:inset(0 0 0 var(--pos));clip-path:inset(0 0 0 var(--pos))}.compare-after img{height:100%;object-fit:cover}.compare-stage:after{content:"";position:absolute;top:0;bottom:0;left:var(--pos);width:3px;background:var(--bg);pointer-events:none}.compare-range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize}.compare-stage:has(.compare-range:focus-visible){outline:2px solid var(--accent);outline-offset:3px}.embed{position:relative;display:grid;place-items:center;overflow:hidden;background:var(--ink);color:var(--bg)}.embed-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.7}.embed-play{position:relative;min-height:52px;padding:0 24px;border:0;background:var(--accent);color:var(--bg);font:inherit;font-weight:600;cursor:pointer}.embed-play:hover{filter:brightness(1.1)}.embed-link{position:absolute;bottom:12px;left:16px;font-size:var(--step-small)}.embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.quote-card{padding:24px;border:2px solid var(--rule)}.quote-card blockquote{padding:0;border:0;font-style:normal;font-size:var(--step-lead);line-height:1.4}.quote-card blockquote>*+*{margin-top:.75em}.demo{padding:clamp(16px,3vw,40px);background:var(--wash)}.post-end{margin-top:clamp(48px,6vw,80px);font-size:var(--step-small)}.post-end>*+*{margin-top:20px}.post-end>:first-child{padding-top:24px;border-top:6px dotted var(--ink)}.tag-list{display:flex;flex-wrap:wrap;gap:8px;list-style:none}.tag-list a{display:inline-flex;gap:8px;padding:6px 14px;border:2px solid;font-size:var(--step-small);font-weight:600;text-decoration:none}.tag-list a:hover{background:var(--ink);color:var(--bg)}.tag-list a span{font-weight:400;opacity:.7}.post-nav{width:min(1100px,100% - 2 * var(--gutter));margin:0 auto;padding-bottom:var(--section)}.post-pager{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px;list-style:none;margin-bottom:64px}.post-pager a{display:flex;flex-direction:column;gap:8px;height:100%;padding:20px;background:var(--wash);font-weight:600;text-decoration:none}.post-pager a:hover{background:var(--accent);color:var(--bg)}.post-pager span{font-size:var(--step-small);font-weight:400}.post-pager .is-next{grid-column:2;text-align:right}.post-nav-title{margin-bottom:16px;font-size:var(--step-small);font-weight:600}.post-page~.foot{padding-top:0}.blog-hero h1{font-size:clamp(4rem,2rem + 9vw,11rem)}.blog-dek{max-width:48ch;margin:24px auto 0;text-align:center;font-size:var(--step-lead);line-height:1.4}.blog-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px 28px;margin-top:32px}.blog-hero .btn-light:focus-visible{outline-color:var(--ink)}.blog-sheet{min-height:40vh}.blog-main{padding-bottom:var(--section)}.filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 32px;padding:0;border:0}.filter label{cursor:pointer}.filter input{position:absolute;opacity:0}.filter span{display:inline-block;padding:8px 18px;border:2px solid var(--ink);font-size:var(--step-small);font-weight:600}.filter input:checked+span{background:var(--ink);color:var(--bg)}.filter input:focus-visible+span{outline:2px solid var(--ink);outline-offset:3px}.blog-sheet:has(input[value=essay]:checked) .post-item:not([data-type=essay]),.blog-sheet:has(input[value=note]:checked) .post-item:not([data-type=note]){display:none}.tag-cloud{margin-top:64px}.tag-cloud h2{margin-bottom:16px;font-size:var(--step-small);font-weight:600}.blog-back{margin-top:40px;font-weight:600}.search{width:min(720px,100% - 2 * var(--gutter));max-height:min(80vh,720px);margin:10vh auto auto;padding:0;border:0;background:var(--bg);color:var(--ink)}.search::-webkit-backdrop{background:rgb(20 24 8/.6)}.search::backdrop{background:rgb(20 24 8/.6)}.search-inner{padding:20px}.search-row{display:flex;gap:12px}.search-row input{flex:1 1;min-width:0;min-height:52px;padding:0 16px;border:2px solid var(--ink);background:transparent;color:inherit;font:inherit}.search-row input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.search-close{padding:0 16px;border:0;background:none;color:inherit;font:inherit;font-weight:600;cursor:pointer}.search-hint{margin-top:16px;font-size:var(--step-small)}.search-results{margin-top:16px;list-style:none}.search-results a{display:grid;grid-gap:4px;gap:4px;padding:14px 0;border-bottom:2px solid color-mix(in srgb,var(--ink) 18%,transparent);text-decoration:none}.search-results strong{font-weight:600}.search-results span{font-size:var(--step-small)}.search-results mark{background:var(--stock-1);color:inherit}@media (max-width:899px){.post-pager{grid-template-columns:1fr}.post-pager .is-next{grid-column:auto;text-align:left}.hero-poster,.post-page[data-layout=feature] .post-hero{min-height:80svh}}@media print{.post-hero{background:none;color:#000}.copy,.embed-play,.foot,.post-nav,.skip{display:none}.post-page{background:#fff;color:#000}}