/* WordPress media and core block adapters; approved paper.css remains byte-identical. */
.paper{max-width:1020px;margin-inline:auto;min-height:100vh}
.art img{display:block;width:100%;height:auto}.composition-02p>.art img{max-height:420px;object-fit:cover}
.portrait-only img,.author-link img{width:40px;height:48px;object-fit:contain}
.wp-block-image img{max-width:100%;height:auto}.wp-block-image{margin-inline:0}
.article-body h2,.article-body h3{font-family:'Human News Press',serif;line-height:1.15}
.wp-block-pullquote{padding:0}.wp-block-pullquote.is-style-printers-jewel{position:relative;margin:34px 0;padding:27px 20px;border-block:3px double var(--ink);font:italic 29px/1.3 'Source Serif 4';text-align:center}
.wp-block-pullquote.is-style-printers-jewel blockquote{margin:0}.wp-block-pullquote.is-style-printers-jewel p{font:inherit!important}
.wp-block-pullquote.is-style-printers-jewel:before,.wp-block-pullquote.is-style-printers-jewel:after{content:'';position:absolute;left:50%;transform:translateX(-50%);width:50px;height:28px;background:var(--paper) url(assets/jewel.svg) center/24px 24px no-repeat}
.wp-block-pullquote.is-style-printers-jewel:before{top:-15px}.wp-block-pullquote.is-style-printers-jewel:after{bottom:-15px}
.sources-notes{max-width:650px;margin:25px auto;font-size:15px}.sources-notes h2{font:900 25px 'Human News Press'}.sources-notes a{text-decoration:underline}.sources-notes p{font-size:15px}
.article-end img{width:25px;height:27px}.reading-hand{object-fit:contain}
.hn-initial{float:left;width:85px;height:104px;object-fit:contain;margin:4px 13px 2px 0;mix-blend-mode:multiply}
.hn-initial-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.story .mobile-opening:empty{display:none}.story .standfirst:empty{display:none}
.no-js .carousel-window{overflow:auto}.no-js .carousel-controls{display:none}
@media(max-width:700px){.wp-block-pullquote.is-style-printers-jewel{font-size:24px;padding:26px 15px}.hn-initial{width:70px;height:88px}.paper footer{flex-wrap:wrap;gap:10px}}
@media(prefers-reduced-motion:reduce){.reading-hand{transition:none!important}}

.briefly-archive{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;padding:20px 0 35px}.briefly-archive .micro{border-right:1px solid currentColor;padding:12px 20px}.briefly-archive .micro:last-child{border-right:0}.briefly-archive .source{display:block;margin-top:18px;text-align:right}.empty-section{padding:28px 0 80px}.empty-section a{text-decoration:underline}.story .art img{display:block;width:100%;height:auto}.portrait-only:focus-visible,.author-link:focus-visible{outline:2px solid currentColor;outline-offset:4px}@media(max-width:700px){.briefly-archive{grid-template-columns:1fr;gap:0}.briefly-archive .micro{border-right:0;border-bottom:1px solid currentColor;padding:22px 6px}.briefly-archive .micro:last-child{border-bottom:0}.topic-list .story h2{overflow-wrap:break-word}}

/* Briefly: text is selectable; only links and controls use a hand cursor. */
.carousel.f2 .carousel-window,.carousel.f2 .carousel-track,.carousel.f2 .micro{cursor:default}
.carousel.f2 .micro .squib{cursor:text}
.carousel.f2 a,.carousel.f2 button:not(:disabled){cursor:pointer}
.carousel.f2 button:disabled{cursor:default}


/* Canonical writer portraits retain the complete approved oval frame. */
.portrait-only .hn-writer-portrait,.author-link .hn-writer-portrait{display:block;width:40px;height:auto;max-width:100%;aspect-ratio:1014/1551;object-fit:contain;border-radius:0;flex:none}
.story.credit-deck .standfirst .hn-writer-credit{height:auto;min-height:55px}
.briefly .hn-writer-credit .hn-writer-portrait{max-height:48px;width:auto;margin:auto}
.hn-writer-introduction{display:grid;grid-template-columns:minmax(130px,220px) minmax(0,1fr);gap:28px;align-items:start;margin:26px 0 40px}
.hn-writer-picture{margin:0}.hn-writer-picture img{display:block;width:100%;height:auto;object-fit:contain;border-radius:0}
.article-page .hn-writer-bio{margin:0;font-size:20px}.hn-writer-bio p:first-child{font-size:22px}
.hn-writer-works{border:0;margin:30px 0;padding-top:18px}.hn-writer-works h2,.hn-writers-directory h1{font-family:'Human News Press',Georgia,serif}
.hn-writer-works h2{font-size:30px}.hn-writer-work-list{list-style:none;padding:0}.hn-writer-work-list li{margin:22px 0}.hn-writer-work-list h2,.hn-writer-work-list h3{font:700 24px/1.2 'Human News Press',Georgia,serif;margin:0 0 8px}.hn-writer-work-list p{font-size:18px;line-height:1.4;margin:0}
.hn-writer-pagination{display:flex;justify-content:space-between;gap:20px}.hn-writer-pagination a,.hn-writer-work-list a:hover,.hn-writer-card a:hover h2{text-decoration:underline;text-underline-offset:4px}
.hn-writers-directory{max-width:950px;margin:auto}.hn-writers-directory h1{font-size:clamp(38px,5vw,60px)}
.hn-writers-list{display:grid;grid-template-columns:minmax(0,1fr);gap:34px;margin:32px 0 44px}
.hn-writer-row{display:grid;grid-template-columns:190px minmax(0,1fr);gap:34px;align-items:center;text-align:left;padding-block:24px;border:0}
.hn-directory-portrait{margin:0}.hn-directory-portrait img{display:block;width:100%;height:auto;object-fit:contain;border-radius:0}
.hn-directory-copy{padding-top:7px;min-width:0}
.hn-directory-bio{font:20px/1.5 'Source Serif 4',Georgia,serif;overflow-wrap:break-word}.hn-directory-bio p{margin:0 0 16px}
.hn-writer-reading{display:block;width:fit-content;margin-left:auto;font-size:16px;font-style:italic;text-underline-offset:4px}.hn-writer-reading:hover{text-decoration:underline}
.hn-writer-row:not(.has-portrait){grid-template-columns:1fr}

.hn-writer-reading:focus-visible,.hn-writer-work-list a:focus-visible,.hn-writer-pagination a:focus-visible{outline:2px solid currentColor;outline-offset:5px}
@media(max-width:600px){.hn-writer-introduction{grid-template-columns:1fr;gap:22px}.hn-writer-picture{max-width:180px;margin:auto}.article-page .hn-writer-bio{font-size:18px}.hn-writer-bio p:first-child{font-size:20px}.hn-writer-row{grid-template-columns:82px minmax(0,1fr);gap:18px;padding-block:20px}.hn-writers-list{gap:12px}.hn-directory-copy{padding-top:2px}.hn-directory-bio{font-size:18px;line-height:1.45}.hn-writer-reading{font-size:15px}}

.hn-writer-introduction:not(.has-portrait){display:block}

/* Display-only clipping follows the verified outer edge of the two pilot portraits.
   It hides exterior matte only; source artwork, palette and frame stay unchanged. */
.hn-portrait-oval-v1{clip-path:ellipse(45.66074951% 41.32817537% at 49.48224852% 44.18439716%)}

/* Shared directional navigation uses the original front-page pointing fingers. */
.hn-pointer{display:inline-block;width:1.9em;height:1.287em;vertical-align:-.35em;margin-inline:.18em;overflow:visible;flex:none}
.hn-pointer-external{transform:none;width:1.6em;height:1.084em;vertical-align:-.25em}
.hn-writer-row a:focus-visible{outline:2px solid currentColor;outline-offset:5px}
.hn-directory-portrait a{display:block}.hn-directory-name a:hover{text-decoration:underline;text-underline-offset:4px}
.hn-writer-profile-heading{text-align:center;margin:24px 0 34px}
.hn-writer-profile-portrait{width:180px;max-width:42vw;margin:0 auto -20px}
.hn-writer-profile-portrait img{display:block;width:100%;height:auto;object-fit:contain}
.hn-writer-profile-heading h1{margin:0;text-align:center}
.hn-writer-reading .hn-pointer{width:1.8em;height:1.22em}
@media(max-width:600px){.hn-writer-profile-portrait{width:150px;margin-bottom:-16px}.hn-writer-profile-heading{margin:22px 0 28px}}

/* Writer name and works form one group; give footer navigation its own space. */
.hn-writer-page .hn-writer-profile-heading{margin-bottom:20px}
.hn-writer-page #hn_articles_page{margin-top:0;padding-top:0}
.hn-writer-page #hn_articles_page .hn-writer-work-list{margin-top:0}
.hn-writer-page #hn_articles_page .hn-writer-work-list>li:first-child{margin-top:0}
.page-template-page-writer .paper>footer{margin-top:64px;padding-top:16px;border-top:1px solid var(--ink)}
@media(max-width:600px){.hn-writer-page .hn-writer-profile-heading{margin-bottom:18px}.page-template-page-writer .paper>footer{margin-top:52px;padding-top:14px}}

/* Selected A treatment: title-case display serif leads the unchanged biography. */
.hn-directory-name{font:900 1.64em/1 'Human News Press',Georgia,serif}
/* Center the visible frame rather than the extra paper below the source canvas. */
.hn-directory-portrait .hn-portrait-oval-v1{transform:translateY(5.81560284%)}

/* Unapproved or missing portraits keep an intentionally empty oval frame. */
.hn-directory-portrait .hn-empty-portrait,.hn-writer-profile-portrait .hn-empty-portrait{display:block;width:100%;height:auto;color:var(--ink)}

/* Display-only masks measured against these three originals, including frame ink.
   The label beneath Jane's frame is outside the portrait; image bytes stay intact. */
.hn-portrait-oval-jane-boz{clip-path:ellipse(46.15815374% 41.26446259% at 50.00935520% 44.15451539%)}
.hn-portrait-oval-friedrich{clip-path:ellipse(45.78522306% 40.72240149% at 49.47317429% 43.52039788%)}
.hn-directory-portrait .hn-portrait-oval-jane-boz{transform:translateY(5.84548461%)}
.hn-directory-portrait .hn-portrait-oval-friedrich{transform:translateY(6.47960212%)}

/* Three user-selected originals, individually measured; only exterior matte is hidden. */
.hn-portrait-oval-darwin{clip-path:ellipse(46.34554859% 41.42819563% at 50.00059292% 44.16010438%)}
.hn-directory-portrait .hn-portrait-oval-darwin{transform:translateY(5.83989562%)}
.hn-portrait-oval-freud{clip-path:ellipse(44.94472123% 41.60731589% at 47.95545759% 43.85957953%)}
.hn-directory-portrait .hn-portrait-oval-freud{transform:translateY(6.14042047%)}
.hn-portrait-oval-marx{clip-path:ellipse(46.19433639% 41.30277179% at 49.90727270% 44.22110798%)}
.hn-directory-portrait .hn-portrait-oval-marx{transform:translateY(5.77889202%)}

/* Briefly portraits have room to read at a glance without changing the artwork. */
.briefly.carousel.f2 .micro>.portrait-only .hn-writer-portrait,
.briefly.carousel.f2 .micro>.portrait-only .portrait{height:80px;max-height:80px;width:auto;max-width:100%}
@media(min-width:701px){
 .briefly.carousel.f2 .micro>.portrait-only{width:64px;height:80px;margin-bottom:12px}
}
@media(max-width:700px){
 .briefly.carousel.f2 .carousel-track>.micro{margin-top:40px;padding-top:47px}
 .briefly.carousel.f2 .micro>.portrait-only{top:-32px;width:60px;height:72px}
 .briefly.carousel.f2 .micro>.portrait-only .hn-writer-portrait,
 .briefly.carousel.f2 .micro>.portrait-only .portrait{height:72px;max-height:72px}
}


/* Homepage B: warm engraving with the exact original frame pixels in neutral
   ink. Explicit sRGB colour maps keep both paper modes and carousel consistent.
   The decorative same-source overlay does not participate in layout. */
.hn-portrait-filters{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
body.home .hn-writer-portrait{filter:url(#hn-portrait-warm);mix-blend-mode:normal}
.hn-portrait-tone{position:relative;display:block;width:max-content;max-width:100%;margin-inline:auto;line-height:0}
.story .hn-portrait-tone{margin-inline:0}
body.home .hn-portrait-tone>.hn-portrait-frame{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;object-fit:contain;aspect-ratio:1014/1551;border-radius:0;pointer-events:none;filter:url(#hn-portrait-ink);mix-blend-mode:normal;-webkit-mask-image:var(--hn-frame-mask);mask-image:var(--hn-frame-mask)}
body.home .hn-portrait-frame.hn-portrait-oval-v1{--hn-frame-mask:radial-gradient(ellipse 41.55128205% 37.60863959% at 49.48224852% 44.18439716%,transparent 99.7%,#000 100%)}
body.home .hn-portrait-frame.hn-portrait-oval-jane-boz{--hn-frame-mask:radial-gradient(ellipse 42.00391990% 37.55066096% at 50.00935520% 44.15451539%,transparent 99.7%,#000 100%)}
body.home .hn-portrait-frame.hn-portrait-oval-friedrich{--hn-frame-mask:radial-gradient(ellipse 41.66455298% 37.05738536% at 49.47317429% 43.52039788%,transparent 99.7%,#000 100%)}
body.home .hn-portrait-frame.hn-portrait-oval-darwin{--hn-frame-mask:radial-gradient(ellipse 42.17444922% 37.69965802% at 50.00059292% 44.16010438%,transparent 99.7%,#000 100%)}
body.home .hn-portrait-frame.hn-portrait-oval-freud{--hn-frame-mask:radial-gradient(ellipse 40.45024911% 37.44658430% at 47.95545759% 43.85957953%,transparent 99.7%,#000 100%)}
body.home .hn-portrait-frame.hn-portrait-oval-marx{--hn-frame-mask:radial-gradient(ellipse 42.03684611% 37.58552233% at 49.90727270% 44.22110798%,transparent 99.7%,#000 100%)}


/* Homepage D: one roman opening, with its continuation directly below the text.
   Article bodies and other listing previews keep their existing presentation. */
.story.hn-front-teaser .standfirst{font-style:italic}
.story.hn-front-teaser .continue-reading{text-align:left}
.story.hn-front-teaser .standfirst~.continue-reading{margin-left:54px}

/* Background-only alpha masks, measured from each approved original. The
   shared wrapper preserves the source images, B tones and black frame pixels;
   transparent empty areas reveal the real paper in either colour mode. */
body.home .hn-portrait-tone[data-portrait-paper]{-webkit-mask-image:var(--hn-paper-mask);mask-image:var(--hn-paper-mask);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
body.home .hn-portrait-tone[data-portrait-paper="oscar"]{--hn-paper-mask:url(assets/portrait-masks/oscar.png)}
body.home .hn-portrait-tone[data-portrait-paper="mark"]{--hn-paper-mask:url(assets/portrait-masks/mark.png)}
body.home .hn-portrait-tone[data-portrait-paper="boz"]{--hn-paper-mask:url(assets/portrait-masks/boz.png)}
body.home .hn-portrait-tone[data-portrait-paper="darwin"]{--hn-paper-mask:url(assets/portrait-masks/darwin.png)}
body.home .hn-portrait-tone[data-portrait-paper="freud"]{--hn-paper-mask:url(assets/portrait-masks/freud.png)}


/* Briefly archive: selected headline-stream look 09. The homepage carousel is unchanged. */
.briefly-archive{display:block;max-width:1085px;margin-inline:auto;padding:14px 0 35px}
.briefly-archive .hn-briefly-note{display:block;position:relative;min-width:0;padding:0 0 27px;margin:0 0 28px;border:0;border-bottom:2px solid var(--ink);text-align:left;font-size:22px;line-height:1.32}
.briefly-archive .hn-briefly-note:last-child{border-right:0;border-bottom:2px solid var(--ink);margin-bottom:0}
.briefly-archive .hn-briefly-byline{margin:0 0 14px;padding:0}
.briefly-archive .hn-briefly-byline .author-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin:0;padding:0;font:600 16px/1.25 'Source Serif 4',Georgia,serif;text-decoration:none}
.briefly-archive .hn-briefly-byline .author-link img,.briefly-archive .hn-briefly-byline .author-link .hn-writer-portrait,.briefly-archive .hn-briefly-byline .author-link .portrait{display:block;flex:none;width:28px;height:auto;max-width:none;max-height:none;aspect-ratio:1014/1551;object-fit:contain}
.briefly-archive .hn-briefly-byline .author-link:hover span{text-decoration:underline;text-underline-offset:3px}
.briefly-archive .squib{width:100%;min-width:0;overflow-wrap:break-word}
.briefly-archive .squib p{margin:0 0 12px;font:400 22px/1.32 'Source Serif 4',Georgia,serif}
.briefly-archive .squib>p:first-child{font:900 clamp(30px,3.3vw,37px)/1.09 'Human News Press',Georgia,serif;letter-spacing:0;margin-bottom:14px;text-wrap:pretty}
.briefly-archive .squib>:last-child{margin-bottom:0}
.briefly-archive .hn-briefly-note>.source{display:block;position:static;width:fit-content;max-width:100%;margin:21px 0 0 auto;padding:0;text-align:right;font:400 14px/1.4 'Source Serif 4',Georgia,serif;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
@media(max-width:700px){
 .briefly-archive{padding-top:8px}
 .briefly-archive .hn-briefly-note{padding:0 0 24px;margin-bottom:25px;font-size:18px}
 .briefly-archive .hn-briefly-byline{margin-bottom:12px}
 .briefly-archive .hn-briefly-byline .author-link{font-size:14px;gap:9px}
 .briefly-archive .hn-briefly-byline .author-link img,.briefly-archive .hn-briefly-byline .author-link .hn-writer-portrait,.briefly-archive .hn-briefly-byline .author-link .portrait{width:26px}
 .briefly-archive .squib p{font-size:18px;line-height:1.32}
 .briefly-archive .squib>p:first-child{font-size:26px;line-height:1.09}
 .briefly-archive .hn-briefly-note>.source{font-size:12px;margin-top:18px}
}

/* Briefly A: text-aligned branching replies. Bound indentation on small screens.
   The connector is anchored to the first content line, never to the portrait. */
.briefly-archive .hn-briefly-exchange{margin:0 0 28px;padding:0 0 27px;border-bottom:2px solid var(--ink)}
.briefly-archive .hn-briefly-exchange:last-child{margin-bottom:0}
.briefly-archive .hn-briefly-exchange .hn-briefly-note{border:0;margin:0;padding:0}
.briefly-archive .hn-briefly-children{margin-left:46px}
.briefly-archive .hn-briefly-children.hn-briefly-depth-capped{margin-left:0}
.briefly-archive .hn-briefly-reply{margin-top:32px!important}
.briefly-archive .hn-briefly-reply .squib>:first-child{position:relative}
.briefly-archive .hn-briefly-reply .squib>:first-child::before{content:"";position:absolute;left:-34px;top:calc(.545em - 32px);width:24px;height:32px;border:solid var(--muted, #817b68);border-width:0 0 1px 1px;border-bottom-left-radius:9px;pointer-events:none}
.briefly-archive .hn-briefly-reply .squib>p:first-child{font-size:30px}
.briefly-archive .hn-briefly-end{display:flex;justify-content:space-between;gap:12px;margin:27px 0 -12px;padding-top:11px;border-top:2px solid var(--ink);font:italic 12px/1.4 'Source Serif 4',Georgia,serif;color:var(--muted, #817b68)}
.briefly-archive .hn-briefly-exchange:has(.hn-briefly-end){border-bottom:0}
@media(max-width:700px){
 .briefly-archive .hn-briefly-exchange{margin-bottom:25px;padding-bottom:24px}
 .briefly-archive .hn-briefly-children{margin-left:22px}
 .briefly-archive .hn-briefly-reply{margin-top:27px!important}
 .briefly-archive .hn-briefly-reply .squib>p:first-child{font-size:24px}
 .briefly-archive .hn-briefly-reply .squib>:first-child::before{left:-15px;width:10px;height:28px;top:calc(.545em - 28px);border-bottom-left-radius:7px}
}

/* The saved article layout orders the author between the end ornament and reading links. */
.composition-02p > .hn-article-author {
  order: 5;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  max-width: 650px;
  margin: 2px auto 25px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.hn-article-portrait { flex: 0 0 clamp(64px, 15vw, 90px); }
.hn-article-portrait > .hn-writer-portrait { display: block; width: 100%; height: auto; max-height: none; }
.hn-article-bio { min-width: 0; }
.hn-article-bio p { margin: 0 0 .6em; }
.story .hn-excerpt-link { color: inherit; font: inherit; text-decoration: none; }
.story .hn-excerpt-link:is(:hover, :focus-visible) { text-decoration: underline; }

/* Preserve the standfirst grid and its text metrics across a real paragraph break. */
.story .hn-teaser-paragraphs > p { margin: 0; font: inherit; }
.story .hn-teaser-paragraphs > p + p { margin-top: 10px; }
.front-grid .story[data-story="17"] .hn-teaser-paragraphs > p > .hn-excerpt-link { white-space: normal; }

/* Balance the visible gap from the last line to the jewel and from the jewel to the author rule. */
body.single-post article.article-page.composition-02p > .article-end { margin-bottom: 52px; }
@media (max-width: 700px) {
 body.single-post article.article-page.composition-02p > .article-end { margin-bottom: 50px; }
}

.story .mobile-opening{font-style:normal}
