/* Blog-only rules. Tokens, fonts, header and footer come from /site.css. */
main.wrap { max-width: 1280px; }
.post, .listhead, main > h1 { max-width: 720px; margin-inline: auto; }
.post { padding-block: 56px 72px; font-size: 18px; line-height: 1.7; }
.post h1, main > h1 { font: 300 clamp(42px, 6vw, 68px)/1.04 var(--serif); letter-spacing: -.04em; max-width: 720px; }
.post h1 { margin-top: 14px; }
.post h2 { font: 300 32px/1.2 var(--serif); letter-spacing: -.02em; margin-top: 52px; scroll-margin-top: 24px; color: var(--ink); }
.post h3 { font-size: 18px; }
.post p, .post ol, .post ul, .post pre { margin-top: 20px; }
.post ol { list-style: decimal; padding-left: 1.4em; }
.post ul { list-style: disc; padding-left: 1.4em; }
.post li + li { margin-top: 8px; }
.post a { color: var(--blue); }
.meta, .jump, .art figcaption { color: var(--muted); }
.meta { margin: 0; font: 12px/1.5 var(--mono); }
.dek { color: var(--muted); font-size: 21px; line-height: 1.5; margin-top: 18px; }
.jump { font-size: 15px; }
.art { margin: 32px 0 0; }
.art img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.art figcaption { margin-top: 10px; font: 12px/1.5 var(--mono); }
.brief { margin-top: 32px; padding: 20px 24px; border-left: 2px solid var(--blue); background: #121a2b; }
.brief p { margin: 0; }
.brief .label { color: var(--blue); font: 12px/1.5 var(--mono); }
.brief .label + p { margin-top: 8px; }
code { font: .88em var(--mono); }
pre { overflow-x: auto; padding: 18px; border: 1px solid var(--rule); background: #121a2b; line-height: 1.55; }
pre code { font-size: 14px; }
.t-kw { color: #8ba9ff; }
.t-type { color: #7fd6b0; }
.t-fn { color: #c8d6ff; }
.t-str { color: #f2c48d; }
.t-num { color: #f0a08f; }
.t-com { color: var(--muted); }
.close { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--rule); }
.listhead { margin-top: 56px; font: 12px/1.5 var(--mono); max-width: none; }
main > h1 { max-width: none; margin: 14px 0 0; font-size: clamp(46px, 7vw, 92px); letter-spacing: -.05em; }
.posts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; list-style: none; padding: 0; margin: 48px 0 72px; }
.card { display: block; text-decoration: none; }
.card img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); transition: border-color .2s; }
.card:hover img { border-color: var(--blue); }
.card time { display: block; margin-top: 16px; color: var(--muted); font: 12px var(--mono); }
.card h2 { font: 300 30px/1.15 var(--serif); letter-spacing: -.02em; margin-top: 6px; }
.card:hover h2 { color: var(--blue); }
.card p { color: var(--muted); font-size: 15px; margin-top: 8px; }
@media (max-width: 760px) { .posts { grid-template-columns: 1fr; } .post { padding-top: 36px; } .post h2 { font-size: 28px; } }
