:root{--bg:#fdfdfc;--text:#1a1a1a;--muted:#6b6b6b;--rule:#ebebeb;--underline:#c9c9c9;--accent:#2f6f8f;--glow:#d08a2e;--serif:"Newsreader", Georgia, serif;--mono:"JetBrains Mono", ui-monospace, monospace}@media (prefers-color-scheme:dark){:root{--bg:#131313;--text:#e8e8e6;--muted:#9a9a98;--rule:#2a2a2a;--underline:#555;--accent:#7fb8d4;--glow:#e0a85a}}*{box-sizing:border-box;margin:0;padding:0}html{background:var(--bg);color:var(--text);font-family:var(--serif);-webkit-font-smoothing:antialiased;font-size:18px;line-height:1.65}@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}body{flex-direction:column;min-height:100vh;display:flex}a{color:inherit;-webkit-text-decoration:underline var(--underline);text-decoration:underline var(--underline);text-underline-offset:3px;transition:color .15s,text-decoration-color .15s}a:hover{color:var(--accent);-webkit-text-decoration-color:var(--accent);text-decoration-color:var(--accent)}.container{flex-direction:column;flex:1;width:100%;max-width:760px;margin:0 auto;padding:48px 16px 32px;display:flex}.nav{font-family:var(--mono);justify-content:space-between;align-items:baseline;margin-bottom:48px;font-size:14px;display:flex}.nav .name{font-family:var(--serif);letter-spacing:-.01em;font-size:2.2rem;line-height:1.2;text-decoration:none}.nav ul{flex-wrap:wrap;gap:4px 20px;list-style:none;display:flex}.nav ul a{color:var(--muted);text-decoration-color:#0000}.nav ul a:hover{color:var(--accent);-webkit-text-decoration-color:var(--accent);text-decoration-color:var(--accent)}.nav ul a.active{color:var(--text);-webkit-text-decoration-color:var(--text);text-decoration-color:var(--text)}@media (width<=560px){.nav{flex-direction:column;gap:6px}.nav ul{gap:4px 16px}}h2{margin:56px 0 12px;scroll-margin-top:24px;font-size:1.3rem;font-weight:400}p+p{margin-top:1em}main>h2:first-child{margin-top:0}.socials{flex-wrap:wrap;gap:4px 20px;margin-bottom:8px;font-size:14px;list-style:none;display:flex}.entries{border-top:1px solid var(--rule);list-style:none}.entries>li{border-bottom:1px solid var(--rule);flex-direction:column;gap:2px;padding:14px 0;display:flex}.entries .title{font-size:1.05rem}.entries .title a{text-decoration:none}.entries .title a:hover{text-decoration:underline}.entries .desc{color:var(--muted);font-size:15px}.tag{font-family:var(--mono);color:var(--muted);border:1px solid var(--rule);vertical-align:middle;white-space:nowrap;border-radius:3px;margin-left:8px;padding:1px 6px;font-size:11px}.news{list-style:none}.news li{grid-template-columns:104px 1fr;gap:16px;padding:5px 0;font-size:16px;display:grid}.news time{font-family:var(--mono);color:var(--muted);padding-top:3px;font-size:13px}@media (width<=560px){.news li{grid-template-columns:1fr;gap:0}}.row{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.row time{font-family:var(--mono);color:var(--muted);white-space:nowrap;font-size:13px}@media (width<=560px){.row{flex-direction:column;gap:0}}.empty{color:var(--muted);font-size:15px}.entries a.title{text-decoration:none}.entries a.title:hover{text-decoration:underline}.project .back{font-family:var(--mono);color:var(--muted);margin-bottom:20px;font-size:13px;text-decoration:none;display:inline-block}.project .back:hover{color:var(--accent)}.project h1{letter-spacing:-.01em;font-size:2rem;font-weight:400;line-height:1.2}.project .meta{font-family:var(--mono);color:var(--muted);margin:8px 0 32px;font-size:13px;line-height:1.6}.project h2{margin-top:44px}.project h3{margin:24px 0 6px;font-size:1.05rem;font-weight:500}.project ol{margin:0 0 1em 1.3em}.project code{font-family:var(--mono);font-size:.82em}.project li+li{margin-top:.4em}.project figure{margin:32px 0}.project img{border-radius:4px;width:100%;height:auto;display:block}.project figcaption{font-family:var(--mono);color:var(--muted);margin-top:8px;font-size:12px}.project .video{aspect-ratio:16/9;background:var(--rule);border-radius:4px;overflow:hidden}.project .video iframe{border:0;width:100%;height:100%;display:block}.project-links{font-family:var(--mono);gap:20px;margin-top:32px;font-size:14px;list-style:none;display:flex}footer{font-family:var(--mono);color:var(--muted);margin-top:auto;padding-top:72px;font-size:13px}.skyline{height:168px;margin-bottom:40px;position:relative;overflow:hidden}.skyline canvas{image-rendering:crisp-edges;image-rendering:pixelated;display:block}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.essay{max-width:65ch;margin:0 auto}.essay h1{letter-spacing:-.025em;margin:10px 0 24px;font-size:clamp(2rem,6vw,2.8rem);font-weight:400;line-height:1.08}.essay .byline,.essay figcaption{color:var(--muted)}.essay .byline{font:12px/1.6 var(--mono)}.essay figure{margin:28px 0}.essay figure img,.essay video{border-radius:3px;width:100%;display:block}.essay video{background:#171717}.essay figcaption{margin-top:8px;font-size:.85rem;line-height:1.45}.svg-figure svg{width:100%;height:auto;display:block;overflow:visible}.dg,.ch{font-family:var(--mono)}.dg-box rect{fill:var(--bg);stroke:var(--muted);stroke-width:1px}.dg-box.accent rect{stroke:var(--accent);stroke-width:1.5px}.dg-box.dashed rect{stroke-dasharray:4 3}.dg-label{fill:var(--text);font-size:12px}.dg-sub{fill:var(--muted);font-size:10px}.dg-edge{fill:none;stroke:var(--muted);stroke-width:1.2px}.dg-edge.dashed{stroke-dasharray:4 3}.dg-edge-label{fill:var(--muted);font-size:10px}.dg-head{fill:var(--muted)}.dg-group{fill:none;stroke:var(--muted);stroke-opacity:.35}.grid-on{fill:var(--accent);stroke:var(--accent);stroke-opacity:.5}.grid-off{fill:none;stroke:var(--muted);stroke-opacity:.5;stroke-dasharray:3 2}.grid-label{fill:var(--text);paint-order:stroke;stroke:var(--bg);stroke-width:3px;stroke-linejoin:round;font-size:9px}.ch-axis{stroke:var(--muted);stroke-width:1px}.ch-grid{stroke:var(--rule);stroke-width:1px}.ch-text{fill:var(--muted);font-size:10px}.ch-text.strong{fill:var(--text)}.ch-line{fill:none;stroke:var(--accent);stroke-width:2px}.ch-dot{fill:var(--accent)}.ch-dot.open{fill:var(--bg);stroke:var(--accent);stroke-width:1.5px}.ch-box{fill:var(--accent);fill-opacity:.15;stroke:var(--accent);stroke-opacity:.5}.ch-shade{fill:var(--rule)}.ch-line.state{stroke:var(--accent)}.ch-line.screen{stroke:var(--glow)}.ch-end.state{fill:var(--accent)}.ch-end.screen{fill:var(--glow)}.ch-series{font-size:11px}.ch-series.state{fill:var(--accent)}.ch-series.screen{fill:var(--glow)}.essay .svg-figure{margin:28px 0}
