/* One visual system for every page. */
:root{--bg:#fff;--text:#595d61;--title:#24272b;--muted:#717579;--line:#e9ebed;--soft:#f6f7f7;--accent:#3f7b70;--focus:#3f7b70;--width:720px;color-scheme:light}
:root.dark{--bg:#181a1b;--text:#b7bcbe;--title:#eef0ef;--muted:#929a9d;--line:#313638;--soft:#232729;--accent:#9cc6b9;--focus:#b4d9c9;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth;scrollbar-gutter:stable}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.85 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}a{color:inherit;text-decoration:none}button{color:inherit}img{max-width:100%;height:auto;display:block}svg{width:20px;height:20px;flex-shrink:0}a,button{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:2px solid var(--focus);outline-offset:5px;border-radius:2px}button{cursor:pointer}::selection{background:#cde6dba0;color:var(--title)}[hidden]{display:none!important}.skip{position:fixed;left:20px;top:-100px;padding:10px 18px;background:var(--bg);z-index:100}.skip:focus{top:10px}
.site-header{max-width:1180px;margin:auto;padding:25px 36px;display:flex;align-items:center;gap:34px;min-height:94px}.brand{font:italic 30px/1 Georgia,serif;letter-spacing:-1.6px;color:var(--title)}.brand span{color:var(--accent)}.site-nav{display:flex;gap:27px;margin-left:auto;align-items:center;font-size:14px;line-height:1.4}.site-nav a{padding:8px 0;white-space:nowrap;transition:color .2s;position:relative;color:var(--muted)}.site-nav a:hover,.site-nav a[aria-current]{color:var(--title)}.site-nav a[aria-current]:after{content:"";height:2px;width:12px;position:absolute;bottom:0;left:calc(50% - 6px);background:var(--accent);border-radius:1px}.site-tools{display:flex;gap:15px;align-items:center;color:var(--muted)}.language{font:11px/1.4 ui-monospace,monospace;display:flex;align-items:center;gap:5px}.language a{padding:8px 0}.language a[aria-current]{color:var(--title)}.theme-toggle{background:none;border:none;padding:8px;display:grid;place-items:center;margin-right:-8px}.theme-toggle svg{width:18px;height:18px}.sun{display:none}.dark .moon{display:none}.dark .sun{display:block}.tool-link{display:grid;place-items:center}.tool-link:hover,.theme-toggle:hover{color:var(--title)}
.page{width:min(var(--width),calc(100% - 48px));margin:58px auto 0;min-height:50vh}.page-heading{margin:0 0 48px}.page-heading h1,.home-heading h1{font-size:34px;line-height:1.4;letter-spacing:-.8px;font-weight:550;color:var(--title);margin:0 0 14px}.page-heading .subtitle{font-size:15px;color:var(--muted);margin:0;max-width:630px;line-height:1.9}.page-heading .overline{font-size:12px;color:var(--muted);margin:0 0 14px}.home-heading{display:flex;align-items:center;gap:22px;margin-bottom:30px}.home-heading h1{margin:0;font-size:36px}.home-heading h1 span{display:inline-block}.home-heading .name-note{font-size:13px;letter-spacing:.3px;color:var(--muted);margin:4px 0 0}.avatar{width:68px;height:68px;object-fit:cover;border-radius:50%;margin-left:auto;filter:saturate(.75)}.prose p{margin:0 0 24px}.prose h2{font-size:23px;font-weight:500;color:var(--title);line-height:1.6;margin:40px 0 18px}.prose a,.text-link{color:var(--title);text-decoration:underline;text-decoration-color:#c8cecb;text-underline-offset:4px;text-decoration-thickness:1px;transition:color .2s,text-decoration-color .2s}.prose a:hover,.text-link:hover{color:var(--accent);text-decoration-color:var(--accent)}.prose strong{font-weight:550;color:var(--title)}.prose blockquote{margin:32px 0;padding:0 0 0 22px;border-left:2px solid var(--line);color:var(--muted)}.prose img{margin:30px auto}.prose ul,.prose ol{padding-left:24px}.prose hr{border:0;width:48px;border-top:1px solid var(--line);margin:44px auto}.small{font-size:13px;color:var(--muted)}
.section{margin-top:50px}.section-heading{display:flex;align-items:baseline;gap:24px;justify-content:space-between;margin:0 0 20px}.section-heading h2{font-size:14px;font-weight:450;color:var(--muted);margin:0;letter-spacing:.6px}.section-heading>a{font-size:12px;color:var(--muted)}.section-heading>a:hover{color:var(--accent)}.project-chips{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0 27px}.project-chip{display:inline-flex;align-items:center;gap:7px;background:var(--soft);padding:2px 9px;border-radius:4px;line-height:1.8;font-size:13px;color:var(--text);transition:background .2s,color .2s}.project-chip svg{width:15px;height:15px}.project-chip:hover{color:var(--accent);background:var(--line)}.project-icon{display:grid;place-items:center;width:43px;height:43px;color:var(--accent);background:var(--soft);border-radius:12px}.project-icon svg{width:25px;height:25px}.icon-date{color:#a16a69}.icon-music{color:#647f9b}.icon-color{color:#998456}.dark .icon-date{color:#d5a29e}.dark .icon-music{color:#9bbed9}.dark .icon-color{color:#d5c09c}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 22px;margin:0 -14px}.project-item{display:grid;grid-template-columns:43px 1fr;align-items:start;gap:16px;padding:20px 14px;border-radius:8px;transition:background .2s}.project-item:hover{background:var(--soft)}.project-item:hover .project-icon{background:var(--bg)}.project-item h2{font-size:18px;font-weight:500;margin:0 0 7px;color:var(--title);line-height:1.45;display:flex;justify-content:space-between;gap:10px}.project-item .arrow{opacity:0;font-size:16px;color:var(--muted);transform:translate(-3px,3px);transition:opacity .2s,transform .2s}.project-item:hover .arrow,.project-item:focus-visible .arrow{opacity:1;transform:none}.project-item p{font-size:13px;line-height:1.85;margin:0;color:var(--muted)}.project-item .category{font-size:10px;margin-top:10px;color:var(--muted);letter-spacing:.2px}.quiet-note{margin-top:46px;padding-top:25px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}.detail-icon{margin-bottom:24px}.detail-icon .project-icon{width:50px;height:50px}.detail-icon svg{width:29px;height:29px}.back-link{display:inline-flex;gap:8px;color:var(--muted);font-size:12px;margin-bottom:31px}.back-link:hover{color:var(--accent)}.feature-list{padding:0;margin:34px 0;list-style:none}.feature-list li{padding:20px 0;border-top:1px solid var(--line)}.feature-list h2{font-size:17px;font-weight:500;line-height:1.5;color:var(--title);margin:0 0 8px}.feature-list p{font-size:14px;line-height:1.9;margin:0}.actions{display:flex;gap:20px;flex-wrap:wrap;margin:30px 0 0;font-size:14px}.actions a{display:flex;gap:7px;align-items:center}.next-project{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:60px;padding-top:23px;border-top:1px solid var(--line);font-size:13px}.next-project span{color:var(--muted)}.next-project a{color:var(--title)}
.contact{margin-top:45px}.contact:before{content:"";display:block;width:42px;height:1px;background:var(--line);margin-bottom:26px}.socials{display:flex;flex-wrap:wrap;gap:9px 22px;font-size:14px;margin:8px 0 12px}.socials a{display:flex;gap:6px;align-items:center}.socials svg{width:16px;height:16px}.socials a:hover{color:var(--accent)}.contact p{font-size:13px;color:var(--muted);margin:10px 0}.photo-strip{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.photo-strip img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:2px;transition:filter .25s}.photo-strip a:hover img{filter:brightness(1.06)}.post-list{margin:0;padding:0;list-style:none}.post-link{display:grid;grid-template-columns:1fr auto;gap:22px;align-items:baseline;padding:10px 0}.post-link .post-title{color:var(--text);transition:color .2s}.post-link:hover .post-title{color:var(--accent)}.post-link time{font:12px/1.8 ui-monospace,SFMono-Regular,monospace;color:var(--muted);white-space:nowrap}.filters{display:flex;gap:20px;font-size:13px;margin:-12px 0 30px}.filters button{border:0;background:none;padding:8px 0;color:var(--muted);border-bottom:1px solid transparent}.filters button[aria-pressed=true]{color:var(--title);border-color:var(--title)}.post-year{position:relative;margin-bottom:35px}.post-year h2{font-size:14px;font-weight:400;color:var(--muted);margin:0 0 13px;font-family:ui-monospace,monospace}.post-meta{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--muted);margin-top:17px}.post-body{line-height:2}.post-body p{margin-bottom:26px}.post-body.poem{line-height:2.25}.post-body.poem p{margin:0 0 7px}.article-cover{margin:30px 0 40px}.article-cover img{max-height:460px;object-fit:contain;margin:auto}.article-end{margin-top:50px;color:var(--muted);font-size:13px;display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:22px}
.photos-page{--width:960px}.photos-page .page-heading{max-width:720px;margin-left:auto;margin-right:auto}.photo-grid{columns:3;column-gap:16px}.photo-grid figure{margin:0 0 16px;break-inside:avoid}.photo-open{display:block;width:100%;border:0;background:var(--soft);padding:0;cursor:zoom-in;overflow:hidden;border-radius:2px}.photo-open img{width:100%;height:auto;transition:filter .2s}.photo-open:hover img{filter:brightness(1.06)}.photo-grid figcaption{font-size:11px;color:var(--muted);line-height:1.7;padding:8px 2px 3px}.photo-pagination{display:flex;justify-content:space-between;gap:20px;margin-top:30px;font-size:13px;color:var(--muted)}.lightbox{border:0;padding:24px;background:#151719;color:#eee;width:min(1100px,calc(100% - 28px));max-height:calc(100% - 28px);border-radius:5px;overflow:auto}.lightbox::backdrop{background:#000c;backdrop-filter:blur(5px)}.lightbox-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;font-size:12px;color:#b4b8ba}.lightbox button{border:0;background:none;color:inherit;padding:8px;display:grid;place-items:center;min-width:38px;min-height:38px}.lightbox button:hover{color:white}.lightbox img{max-height:75vh;object-fit:contain;margin:auto;width:100%;height:auto}.lightbox-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:12px;font-size:12px}.lightbox-caption{margin:0;text-align:center}.lightbox-bottom a{text-decoration:underline;text-underline-offset:3px;white-space:nowrap}body.has-lightbox{overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.site-footer{max-width:var(--width);width:calc(100% - 48px);margin:76px auto 35px;color:var(--muted);font-size:11px;display:flex;gap:20px;justify-content:space-between;align-items:center}.site-footer nav{display:flex;gap:18px}.site-footer a:hover{color:var(--accent)}
@media(min-width:1100px){.post-year h2{position:absolute;left:-85px;top:9px;margin:0}.page{margin-top:65px}}
@media(max-width:760px){.site-header{padding:22px 24px;gap:22px}.site-nav{gap:18px;font-size:13px}.site-tools{gap:11px}.tool-link{display:none}.page{margin-top:44px}.page-heading{margin-bottom:34px}.photos-page{--width:720px}.photo-grid{columns:2;column-gap:12px}.photo-grid figure{margin-bottom:12px}}
@media(max-width:540px){body{font-size:15px}.site-header{display:grid;grid-template-columns:1fr auto;gap:20px;padding:23px 24px 0}.brand{font-size:28px;width:max-content}.site-tools{grid-column:2;grid-row:1;gap:20px}.site-nav{grid-column:1 / -1;grid-row:2;justify-content:space-between;margin:0;gap:12px;font-size:13px}.site-nav a{padding:6px 0 10px}.site-nav a[aria-current]:after{bottom:3px}.page{width:calc(100% - 44px);margin-top:44px;min-height:40vh}.page-heading h1,.home-heading h1{font-size:30px}.home-heading{gap:14px;margin-bottom:27px}.avatar{width:55px;height:55px}.home-heading .name-note{font-size:12px}.page-heading .subtitle{font-size:14px}.prose p{margin-bottom:23px}.project-grid{grid-template-columns:1fr;gap:4px;margin:0 -10px}.project-item{padding:18px 10px;gap:16px}.project-item h2{font-size:18px}.project-item p{font-size:13px}.project-item .arrow{opacity:.6;transform:none}.section{margin-top:38px}.section-heading{margin-bottom:15px}.project-chips{gap:8px}.project-chip{font-size:12px;padding:3px 8px}.photo-strip{gap:7px}.post-link{gap:13px;font-size:14px}.post-link time{font-size:10px}.post-year{margin-bottom:30px}.site-footer{width:calc(100% - 44px);margin-top:58px;gap:12px;font-size:10px}.site-footer nav{gap:14px}.feature-list p{font-size:14px}.photo-grid{column-gap:9px}.photo-grid figure{margin-bottom:9px}.lightbox{padding:12px}.lightbox img{max-height:65vh}.lightbox-bottom{gap:6px}.lightbox-bottom a{font-size:10px}.next-project{margin-top:44px}.page-heading .overline{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
