/* Page typography is shared with the original journal, projects and story stylesheets. */
.journal-page { --journal-ink:var(--ink); --journal-paper:var(--paper); --journal-accent:var(--accent); }
.journal-index :is(h1,h2,h3,p), .journal-post :is(h1,h2,h3,p) { margin:0; }
.journal-intro h1 { max-width:8ch; }
.cover-code { margin:0; font-family:var(--font-mono); white-space:pre-wrap; overflow-wrap:anywhere; }

.journal-page pre>code { padding:0; color:inherit; background:transparent; font:.87rem/1.65 var(--font-mono); }
.article-cover-image, .story-cover img { display:block; width:100%; height:auto; border-radius:6px; }
.story-cover img { height:100%; object-fit:cover; }
.post-columns:not(:has(.post-outline)), .story-body-layout:not(:has(.story-context)), .story-hero:not(:has(figure)) { grid-template-columns:minmax(0,1fr); }
.case-story h2:not(:first-child) { margin-top:30px; }
.case-story:not(.case-facts + .case-story) { margin-top:3rem; }
.story-page { --story-ink:var(--ink); --story-orange:var(--accent); }
.project-archive #more { width:max-content; text-decoration:none; }
.feed-controls .filter-submit { align-self:flex-end; padding:.85em 1em; border:1px solid var(--line); border-radius:7px; background:var(--ink); color:var(--paper); cursor:pointer; }
.feed-previous { display:inline-block; margin-block:1em; color:var(--muted); }
.case-section pre, .story-copy pre { overflow:auto; }
.case-section img,.story-copy img,.article-body img { max-width:100%; height:auto; }

.project-archive .post-body :is(h2,h3) { margin:6px 0; }
.project-archive .post-body p { margin:9px 0 0; }
.story-library.feed-stories { padding-block:30px; }
.story-library.feed-stories>h2 { font-size:clamp(32px,4vw,56px); line-height:1.05; letter-spacing:-.06em; margin:0 0 22px; }
.article-body blockquote>p:first-child { font-size:inherit; line-height:inherit; }
.article-body blockquote>p:last-child { margin-bottom:0!important; }
