:root{--bg:#fbfaf8;--surface:#fff;--text:#18181b;--muted:#6b6b76;--border:#e8e5df;--accent:#b45309;--accent-soft:#fdf4e9;--radius:14px;--max:720px;--sans:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--serif:ui-serif,Georgia,Cambria,serif;--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
@media (prefers-color-scheme:dark){:root{--bg:#0f0f10;--surface:#17171a;--text:#eceae6;--muted:#9a9aa3;--border:#26262b;--accent:#f0a35e;--accent-soft:#241a10}}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased;display:flex;flex-direction:column;min-height:100vh}
.wrap{width:100%;max-width:var(--max);margin:0 auto;padding:0 24px}
.wrap.wide{max-width:880px}
.site-header{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--bg) 85%,transparent);backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--border)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;height:64px}
.brand{font-family:var(--serif);font-size:1.05rem;font-weight:600;letter-spacing:-.01em;color:var(--text);text-decoration:none;display:inline-flex;align-items:center;gap:10px}
.brand .dot{width:8px;height:8px;border-radius:50%;background:var(--accent);display:inline-block}
.brand .logo{width:28px;height:28px;border-radius:8px;object-fit:cover;display:block}
.nav{display:flex;align-items:center;gap:2px;flex-wrap:wrap}
.nav a{color:var(--muted);text-decoration:none;font-size:.925rem;padding:7px 11px;border-radius:9px;transition:color .15s,background .15s}
.nav a:hover{color:var(--text);background:var(--accent-soft)}
.nav a[aria-current=page]{color:var(--text);font-weight:600}
main{flex:1 0 auto;padding:52px 0 72px}
.hero{padding:6px 0 10px}
.eyebrow{font-size:.77rem;text-transform:uppercase;letter-spacing:.13em;color:var(--accent);font-weight:600;margin:0 0 14px}
h1{font-family:var(--serif);font-size:clamp(2rem,5.5vw,2.9rem);line-height:1.14;letter-spacing:-.025em;margin:0 0 16px;font-weight:600}
.lede{font-size:1.1rem;color:var(--muted);margin:0 0 26px;max-width:34em}
.links{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.links a{display:inline-flex;text-decoration:none;font-size:.9rem;color:var(--text);border:1px solid var(--border);background:var(--surface);padding:8px 14px;border-radius:999px;transition:border-color .15s}
.links a:hover{border-color:var(--accent)}
.section{margin-top:52px}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:6px}
.section-head h2{font-family:var(--serif);font-size:1.22rem;font-weight:600;margin:0}
.section-head a{font-size:.86rem;color:var(--muted);text-decoration:none}
.post-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--border)}
.post-list li{border-bottom:1px solid var(--border)}
.post-list a{display:flex;gap:16px;padding:18px 0;text-decoration:none;color:inherit;align-items:flex-start;transition:opacity .15s}
.post-list a:hover{opacity:.75}
.thumb{width:96px;height:66px;flex:0 0 96px;border-radius:9px;object-fit:cover;border:1px solid var(--border);background:var(--accent-soft)}
.meta{font-size:.76rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 5px}
.title{font-family:var(--serif);font-size:1.12rem;font-weight:600;margin:0 0 5px}
.excerpt{font-size:.93rem;color:var(--muted);margin:0}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin-top:20px}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px 20px}
.card h3{margin:0 0 6px;font-size:.94rem;font-weight:600}
.card p{margin:0;font-size:.89rem;color:var(--muted)}
.prose h2{font-family:var(--serif);font-size:1.3rem;margin:2em 0 .6em;font-weight:600}
.prose h3{font-size:1.04rem;margin:1.7em 0 .5em}
.prose p{margin:0 0 1.1em}
.prose ul,.prose ol{margin:0 0 1.1em;padding-left:1.3em}
.prose li{margin-bottom:.4em}
.prose a{color:var(--accent)}
.prose blockquote{margin:1.5em 0;padding-left:18px;border-left:3px solid var(--accent);color:var(--muted);font-style:italic}
.prose code{font-family:var(--mono);font-size:.86em;background:var(--accent-soft);padding:2px 5px;border-radius:5px}
.prose pre{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:15px;overflow-x:auto}
.prose pre code{background:none;padding:0}
.prose img{max-width:100%;height:auto;border-radius:10px;margin:1em 0}
.cover{width:100%;height:auto;border-radius:12px;margin:0 0 26px;border:1px solid var(--border)}
.post-header{margin-bottom:30px;padding-bottom:22px;border-bottom:1px solid var(--border)}
.back{display:inline-block;font-size:.86rem;color:var(--muted);text-decoration:none;margin-bottom:20px}
.back:hover{color:var(--accent)}
.site-footer{border-top:1px solid var(--border);padding:24px 0 40px;font-size:.84rem;color:var(--muted)}
.site-footer .wrap{display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center;justify-content:space-between}
.site-footer a{color:var(--muted);text-decoration:none}
.site-footer a:hover{color:var(--accent)}
.center-page{text-align:center;padding:40px 0}
@media(max-width:560px){body{font-size:16px}main{padding:32px 0 52px}.site-header .wrap{height:58px}.brand span.full{display:none}.thumb{width:70px;height:52px;flex:0 0 70px}}
