@font-face{font-family:Manrope;src:url('../fonts/manrope-extrabold.ttf') format('truetype');font-weight:800;font-display:swap}
@font-face{font-family:Manrope;src:url('../fonts/manrope-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url('../fonts/manrope-bold.ttf') format('truetype');font-weight:600 700;font-display:swap}
:root{color-scheme:light;--bg:oklch(97.2% .008 85);--ink:oklch(25% .012 110);--muted:oklch(48% .012 110);--line:oklch(87% .012 85);--accent:oklch(53% .18 38);--soft:oklch(93% .013 85);--heading-muted:oklch(53% .015 110);--art:oklch(90% .03 140)}
:root[data-theme=dark]{color-scheme:dark;--bg:oklch(25% .008 110);--ink:oklch(94% .008 85);--muted:oklch(74% .013 100);--line:oklch(39% .01 110);--accent:oklch(73% .15 42);--soft:oklch(30% .009 110);--heading-muted:oklch(73% .018 110);--art:oklch(34% .034 140)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Manrope,system-ui,sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}a,button{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:6px;border-radius:3px}::selection{background:var(--accent);color:var(--bg)}.wrap{width:min(1120px,calc(100% - 96px));margin-inline:auto}.site-header{display:flex;align-items:center;justify-content:space-between;height:116px;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;font-size:24px;font-weight:700;letter-spacing:-1.2px;white-space:nowrap;isolation:isolate}.site-header nav{display:flex;align-items:center;gap:32px;font-size:14px}.site-header nav a{color:var(--muted);transition:color .2s}.site-header nav a:hover,.site-header nav a[aria-current]{color:var(--ink)}.site-header nav a[aria-current]{position:relative}.site-header nav a[aria-current]:after{content:'';position:absolute;width:4px;height:4px;border-radius:50%;background:var(--accent);bottom:-9px;left:calc(50% - 2px)}.theme-toggle{border:1px solid var(--line);background:transparent;color:var(--ink);width:38px;height:38px;border-radius:50%;display:grid;place-items:center;cursor:pointer}.theme-toggle:hover{background:var(--soft)}.theme-toggle svg{width:18px;height:18px}.hero{display:grid;grid-template-columns:1.4fr 1fr;gap:70px;align-items:center;padding:85px 0 72px}.eyebrow{font-size:12px;color:var(--muted);font-weight:600;margin:0 0 24px}.small-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);margin-right:8px}.hero h1{font-size:clamp(40px,4.65vw,62px);line-height:1.12;letter-spacing:-3px;font-weight:700;margin:0 0 26px}.accent{color:var(--accent)}.muted-heading{color:var(--heading-muted)}.hero-description{color:var(--muted);max-width:430px;font-size:16px;line-height:1.85;margin:0 0 30px}.button{display:inline-flex;gap:36px;justify-content:space-between;align-items:center;padding:15px 23px;background:var(--ink);color:var(--bg);border:1px solid var(--ink);border-radius:6px;font-size:13px;font-weight:700;transition:transform .2s,background .2s}.button:hover{transform:translateY(-2px);background:var(--accent);border-color:var(--accent);color:var(--bg)}.button span{font-size:20px;line-height:1}.social-links{display:flex;gap:23px;font-size:12px;color:var(--muted);margin-top:28px}.social-links a:hover,.text-link:hover,.back-link:hover{color:var(--accent)}.portrait{margin:0;position:relative;width:min(100%,340px);justify-self:end}.portrait-frame{position:relative;overflow:hidden;border-radius:5px;background:var(--art)}.portrait img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:54% 50%}.portrait-note{position:absolute;left:20px;bottom:20px;background:oklch(97.2% .008 85);color:oklch(25% .012 110);padding:8px 14px;border-radius:4px;font-size:11px;font-weight:600}.portrait figcaption{display:flex;justify-content:space-between;gap:12px;margin-top:14px;font-size:11px}.portrait figcaption span:last-child{color:var(--muted)}.interest-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:23px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px}.interest-strip>span{color:var(--muted)}.interest-strip>div{display:flex;gap:32px;font-weight:600}.interest-strip>div span:not(:first-child):before{content:'·';color:var(--accent);margin-right:30px}.writing-section{padding:68px 0 78px;scroll-margin-top:24px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:32px;gap:20px}.section-heading .eyebrow{margin-bottom:10px}.section-heading h2{margin:0;font-size:30px;line-height:1.3;letter-spacing:-1.2px}.text-link{font-size:12px;font-weight:600;white-space:nowrap}.text-link span{margin-left:15px}.post-row{display:grid;grid-template-columns:245px 1fr;gap:36px;padding:28px 0;border-top:1px solid var(--line)}.post-art{background:var(--art);border-radius:7px;min-height:175px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;overflow:hidden}.container-stack{display:grid;grid-template-columns:repeat(3,36px);gap:5px;transform:rotate(-9deg)}.container-stack span{height:31px;border:1px solid var(--muted);border-radius:3px;position:relative;background:var(--bg)}.container-stack span:after{content:'';position:absolute;inset:6px;background:repeating-linear-gradient(90deg,var(--muted) 0 1px,transparent 1px 7px);opacity:.55}.container-stack span:nth-child(3){background:var(--accent);border-color:var(--accent);transform:translateY(-9px)}.art-caption{font-size:10px;color:var(--muted)}.post-details{align-self:center}.post-meta{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:11px}.post-row h3{font-size:25px;line-height:1.4;letter-spacing:-.7px;margin:10px 0}.post-row h3 a{display:flex;justify-content:space-between;align-items:center;gap:15px}.post-row h3 a:hover{color:var(--accent)}.post-arrow{font-size:25px;color:var(--muted);transition:transform .2s}.post-row h3 a:hover .post-arrow{transform:translate(3px,-3px);color:var(--accent)}.post-details>p{font-size:14px;color:var(--muted);margin:0 0 16px}.tags{display:flex;gap:8px;flex-wrap:wrap}.tags a{font-size:10px;padding:3px 10px;border:1px solid var(--line);border-radius:4px;color:var(--muted)}.tags a:hover{color:var(--accent);border-color:var(--accent)}.contact{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:50px 0 65px;gap:30px}.contact h2{font-size:34px;letter-spacing:-1.3px;line-height:1.25;margin:0 0 16px}.contact p{font-size:13px;color:var(--muted);margin:0}.button-outline{background:transparent;color:var(--ink);border-color:var(--line)}.site-footer{border-top:1px solid var(--line);padding:27px 0 35px;display:flex;justify-content:space-between;gap:16px;font-size:10px;color:var(--muted)}.site-footer a:hover{color:var(--accent)}.skip-link{position:fixed;top:-100px;left:20px;z-index:10;padding:10px 20px;background:var(--ink);color:var(--bg)}.skip-link:focus{top:10px}.page-intro{padding:72px 0 45px}.page-intro h1{font-size:60px;letter-spacing:-3px;line-height:1.1;margin:0 0 20px}.page-intro>p:not(.eyebrow){color:var(--muted);max-width:60ch}.archive{padding-bottom:90px}.topic-list{padding-bottom:100px}.topic-list>a{display:flex;justify-content:space-between;padding:24px 0;border-top:1px solid var(--line);font-size:24px}.topic-list>a:hover{color:var(--accent)}.topic-list>a>span:last-child{font-size:13px;align-self:center;color:var(--muted)}.article{padding:55px 0 80px}.article-header{max-width:800px}.back-link{font-size:12px;color:var(--muted);display:inline-block;margin-bottom:42px}.article-header h1{font-size:clamp(36px,5vw,62px);line-height:1.12;letter-spacing:-2.5px;margin:18px 0}.article-description{font-size:20px;color:var(--muted)}.article-author{display:flex;align-items:center;gap:12px;font-size:12px;padding:20px 0 32px}.article-author img{border-radius:50%;object-fit:cover}.article-author .tags{margin-left:auto}.article-layout{display:grid;grid-template-columns:minmax(0,740px) 1fr;gap:65px;border-top:1px solid var(--line);padding-top:30px}.prose{font-size:17px;line-height:1.9;max-width:70ch}.prose p{margin:0 0 24px}.prose h2{font-size:29px;letter-spacing:-.8px;line-height:1.35;margin:45px 0 18px;scroll-margin-top:35px}.prose h3{font-size:23px}.prose a{color:var(--accent);text-decoration:underline;text-underline-offset:4px}.prose code{font-size:.85em;background:var(--soft);padding:3px 6px;border-radius:4px}.prose pre{overflow:auto;padding:22px;border-radius:6px}.prose pre code{background:transparent;padding:0}.prose img{max-width:100%;height:auto}.prose blockquote{margin-inline:0;padding:20px;background:var(--soft);border-radius:6px}.prose table{display:block;overflow-x:auto;border-collapse:collapse}.prose td,.prose th{padding:10px;border:1px solid var(--line)}.toc{font-size:11px;align-self:start;position:sticky;top:30px}.toc>p{font-weight:700;margin:4px 0 15px}.toc ul{list-style:none;margin:0;padding:0}.toc li{margin-bottom:12px;line-height:1.6;color:var(--muted)}.toc li a:hover{color:var(--accent)}.toc ul ul{padding-left:12px;margin-top:10px}.article-end{border-top:1px solid var(--line);margin-top:45px;padding-top:25px}.article-end p{font-size:23px;font-weight:700;margin:0 0 10px}
@media(min-width:1500px){.hero{padding-top:100px;padding-bottom:90px}}
@media(max-width:1000px){.wrap{width:calc(100% - 64px)}.hero{gap:35px}.hero h1{letter-spacing:-2px;font-size:46px}.interest-strip>div{gap:18px}.interest-strip>div span:not(:first-child):before{margin-right:18px}.article-layout{gap:35px;grid-template-columns:minmax(0,1fr) 190px}}
@media(max-width:760px){.wrap{width:calc(100% - 40px)}.site-header{height:86px}.site-header nav{gap:18px;font-size:12px}.brand{font-size:22px}.hero{grid-template-columns:1fr;padding:45px 0 40px;gap:35px}.hero h1{font-size:clamp(39px,8vw,58px);letter-spacing:-2px}.hero-description{max-width:50ch}.hero .eyebrow{margin-bottom:18px}.portrait{max-width:320px;width:100%;justify-self:center}.portrait-frame{border-radius:5px}.interest-strip{align-items:start;flex-direction:column;gap:12px;font-size:11px}.interest-strip>div{flex-wrap:wrap;gap:10px 18px}.interest-strip>div span:not(:first-child):before{display:none}.writing-section{padding:40px 0 45px}.section-heading{align-items:start}.section-heading h2{font-size:25px}.section-heading .text-link{padding-top:30px}.post-row{grid-template-columns:150px 1fr;gap:22px}.post-art{min-height:170px}.post-row h3{font-size:21px}.contact{padding:35px 0 45px}.contact h2{font-size:28px}.contact .button{gap:20px;white-space:nowrap}.site-footer{flex-wrap:wrap}.site-footer>span:nth-child(2){display:none}.page-intro h1{font-size:48px}.article-layout{display:flex;flex-direction:column-reverse;gap:25px}.toc{position:static;border-bottom:1px solid var(--line);padding-bottom:20px;width:100%}.toc ul{display:flex;flex-wrap:wrap;gap:8px 20px}.toc li{margin-bottom:0}.article-author{flex-wrap:wrap}.article-author .tags{margin-left:0;flex-basis:100%;margin-top:8px}.prose{font-size:16px}.article-header h1{letter-spacing:-1.5px}}
@media(max-width:440px){.site-header nav{gap:12px}.brand{font-size:21px}.theme-toggle{width:32px;height:32px}.hero h1{font-size:39px}.section-heading{flex-wrap:wrap;gap:10px}.section-heading .text-link{padding-top:0}.post-row{grid-template-columns:1fr;gap:20px}.post-art{min-height:160px}.contact{align-items:start;flex-direction:column;gap:22px}.post-row h3{font-size:24px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}


/* A quiet text wordmark, set in the same family as the blog. */
.brand{font-size:25px;font-weight:800;letter-spacing:-1.3px;line-height:1.2}.brand-name{display:inline-block}.brand-suffix{color:var(--accent);font-size:1em;letter-spacing:inherit}.brand:hover .brand-suffix{color:var(--ink)}@media(max-width:760px){.brand{font-size:23px}}@media(max-width:440px){.brand{font-size:21px}}

/* The photo and its caption form one column, aligned with the intro links. */
.hero{align-items:stretch}
.portrait{width:100%;max-width:340px;justify-self:end;align-self:stretch;display:flex;flex-direction:column;transform:none}
.portrait-frame{flex:1;min-height:0;background:transparent;border-radius:0;overflow:hidden;position:relative}
.portrait img{position:absolute;inset:0;display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:54% 50%;mask-image:none;-webkit-mask-image:none}
.portrait figcaption{flex:none;margin-top:28px;color:var(--ink);font-size:12px;line-height:1.65;gap:10px}
.portrait figcaption span:last-child{color:var(--muted)}
@media(max-width:760px){.portrait{max-width:340px;justify-self:center;align-self:auto}.portrait-frame{flex:none;aspect-ratio:3/4}.portrait figcaption{margin-top:16px;font-size:11px}}

/* Final hero alignment: lift only the photo, keeping both metadata rows aligned. */
@media(min-width:761px){.hero .social-links{margin-top:36px}.portrait-frame{overflow:visible}.portrait img{transform:translateY(-12px)}.portrait figcaption{margin-top:36px}}

.post-art:has(.post-thumbnail){background:transparent}.post-thumbnail{display:block;width:100%;height:auto;object-fit:contain}.prose img{display:block;margin:30px auto;border-radius:4px}.prose th{text-align:left}.post-row h3{overflow-wrap:anywhere}

/* Writing listings use typography instead of decorative thumbnails. */
.post-row{display:block;padding:30px 0}.post-details>p{max-width:72ch}.post-row h3{margin-top:12px}
