/* The existing journal fonts, black palette, amber accent and small radius. */
html:has(.faces-page) { color-scheme:dark; }
.faces-page { --faces-muted:#c1c1c1; padding-bottom:4rem; }
.faces-skip { position:fixed; top:1rem; left:1rem; z-index:10000; padding:1rem; color:#fff; background:#080808; transform:translateY(-200%); }
.faces-skip:focus { transform:none; }
.faces-page .article-reader-container { max-width:1640px; }
.faces-page .article-title { font-size:clamp(3rem,5.2vw,5.8rem); text-wrap:balance; }
.faces-page .article-cover { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(2rem,4vw,5rem); align-items:center; }
.faces-page .article-cover-media { min-width:0; margin:0; }
.faces-page .article-cover-media img { display:block; width:100%; height:auto; object-fit:contain; border-radius:3px; }
.faces-page .article-cover-media figcaption { margin-top:1rem; font-size:.875rem; line-height:1.75; color:var(--faces-muted); }
.faces-page .faces-meta { font-size:.875rem; line-height:1.7; color:var(--faces-muted); margin:1.3rem 0; }
.faces-nav { display:flex; flex-wrap:wrap; gap:.3rem 1.5rem; margin-top:1.5rem; font-size:.9375rem; }
.faces-nav a { padding-block:.6rem; }
.faces-prose { max-width:48rem; margin:4rem auto 0; }
.faces-page .faces-prose p { max-width:none; font-size:1.0625rem; line-height:1.9; margin:0 0 1.5rem; }
.faces-page .faces-prose .faces-lead { font-size:clamp(1.2rem,2vw,1.5rem); line-height:1.7; color:#eee; }
.faces-page .faces-prose h2 { font:400 clamp(2.6rem,4vw,4rem)/1.08 var(--font-title); margin:0 0 1.1rem; text-wrap:balance; }
.faces-page .faces-prose h3 { font-size:1rem; margin:2rem 0 .8rem; }
.faces-chapter { margin-top:4rem; padding-top:3rem; border-top:1px solid #ffffff26; }
.faces-page .faces-prose .faces-kicker { color:var(--color-accent); font-size:.875rem; margin-bottom:1rem; }
.faces-page .faces-prose .faces-deck { color:#eee; font-size:1.2rem; line-height:1.5; margin-bottom:1.5rem; }
.faces-credit { border-left:2px solid var(--color-accent); padding:1.1rem 1.4rem; margin:1.8rem 0; background:#ffffff04; }
.faces-credit dt { color:#eee; font-weight:600; font-size:.875rem; }
.faces-credit dd { color:var(--faces-muted); font-size:.9375rem; line-height:1.75; margin:.2rem 0 .9rem; }
.faces-credit dd:last-child { margin-bottom:0; }
.faces-sources summary { cursor:pointer; padding-block:1rem; font-size:.9375rem; color:var(--faces-muted); }
.faces-sources summary:hover { color:#fff; }
.faces-source-list { font-size:.875rem; line-height:1.8; padding-left:1.2rem; }
.faces-page .faces-source-list li { list-style:disc; margin-bottom:.8rem; }
.faces-source-list a { overflow-wrap:anywhere; }
.faces-page a,#faces-viewer a { text-underline-offset:.2em; touch-action:manipulation; }
.faces-page a:hover,#faces-viewer a:hover { color:var(--color-accent); }
.faces-page :is(a,summary):focus-visible,#faces-viewer :is(a,button):focus-visible { outline:2px solid var(--color-accent); outline-offset:4px; }
.faces-page :is(section,h2,h3,figure) { scroll-margin-top:8rem; }
.faces-board-section { border-top:1px solid #ffffff26; margin-top:5rem; padding-top:4rem; }
.faces-board-header { max-width:48rem; margin:0 auto 4rem; }
.faces-page .faces-board-header h2 { font:400 clamp(2.6rem,5vw,5rem)/1.08 var(--font-title); text-wrap:balance; margin:0 0 1.5rem; }
.faces-page .faces-board-header p { color:var(--faces-muted); font-size:1rem; line-height:1.85; }
.faces-board { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(3rem,5vw,6rem) clamp(1.5rem,3vw,3rem); }
.faces-board figure { margin:0; min-width:0; align-self:start; }
.faces-board figure.is-wide { grid-column:1/-1; }
.faces-board .faces-photo { display:block; }
.faces-board img { display:block; width:100%; height:auto; max-height:1050px; object-fit:contain; border-radius:3px; }
.faces-board .faces-photo:hover img { opacity:.93; }
.faces-board figcaption { position:static; color:var(--faces-muted); font-size:.875rem; line-height:1.8; margin-top:1rem; background:transparent; }
.faces-board figcaption strong { color:#eee; display:block; font-size:1rem; font-weight:500; }
.faces-board figcaption a { text-decoration:underline; }
.faces-board .faces-number { color:var(--color-accent); font-variant-numeric:tabular-nums; }
.faces-board .faces-plate-credit { max-width:58rem; }
.faces-endnote { color:var(--faces-muted); font-size:.875rem; line-height:1.8; margin-top:4rem; max-width:60rem; }
#faces-viewer { width:96vw; max-width:1600px; height:94dvh; max-height:94dvh; padding:1rem; color:#eee; background:#090909; border:1px solid #555; border-radius:3px; overscroll-behavior:contain; }
#faces-viewer::backdrop { background:#000e; }
.faces-viewer-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:.6rem; margin-bottom:1rem; }
.faces-viewer-toolbar button { font:inherit; font-size:.9375rem; min-height:44px; padding:.65rem .85rem; background:#171717; color:#fff; border:1px solid #555; border-radius:3px; cursor:pointer; touch-action:manipulation; }
.faces-viewer-toolbar button:hover { background:#333; }
#faces-counter { margin-right:auto; font-size:.9375rem; font-variant-numeric:tabular-nums; }
#faces-viewer-image { display:block; width:100%; height:calc(94dvh - 16rem); object-fit:contain; }
.faces-viewer-caption { padding-top:1rem; font-size:.9375rem; line-height:1.75; }
.faces-viewer-caption p { margin:0 0 .5rem; }
.faces-viewer-caption a { display:inline-block; padding-block:.4rem; margin-right:1.5rem; text-decoration:underline; }
@media(max-width:767px) {
 .faces-page .article-cover { grid-template-columns:minmax(0,1fr); gap:2.5rem; }
 .faces-board { grid-template-columns:minmax(0,1fr); gap:3.5rem; }
 .faces-page .faces-prose p { font-size:1rem; }
 .faces-credit { padding:1rem; }
 .faces-board-header { margin-bottom:2.5rem; }
 #faces-viewer-image { height:calc(94dvh - 22rem); min-height:140px; }
 .faces-viewer-toolbar { gap:.4rem; }
 .faces-viewer-toolbar button { padding:.6rem; }
}
@media(prefers-reduced-motion:reduce) {
 html:has(.faces-page) { scroll-behavior:auto; }
 .faces-page *,#faces-viewer * { animation:none!important; transition:none!important; }
}
