/* Photography belongs to the viewport; all reading surfaces stay image-free. */
.editorial-page{--page-art:url('/assets/soft-measures.webp');--page-art-position:center 60%;--reading-surface:#fffdf7;background:#182c29;isolation:isolate}
.page-news{--page-art:url('/assets/rank1-search-street.webp');--page-art-position:center 48%}
.page-blog{--page-art:url('/assets/soft-measures.webp');--page-art-position:center 66%}
.page-featured{--page-art:url('/assets/featured-library-v1.webp');--page-art-position:center 52%}
.page-learn{--page-art:url('/assets/jacob-studio-v1.webp');--page-art-position:center 60%}
.page-contact{--page-art:url('/assets/soft-measures.webp');--page-art-position:center 65%}
.editorial-page::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(#10231f1a,#10231f33),var(--page-art);background-size:cover;background-position:var(--page-art-position)}
.editorial-page .editorial-header{min-height:0;margin-top:36px;padding:32px 36px;border:1px solid #d6d9ca;border-radius:14px;background:var(--reading-surface);box-shadow:0 8px 32px #10231f18}
.editorial-page .editorial-header>h1{max-width:850px}
.editorial-page .editorial-header>p{max-width:740px}
.editorial-page .editorial-header .feed-status{padding:0;background:none}
.editorial-page .blog-section,.editorial-page .briefing-section,.editorial-page .briefing-end,.editorial-page .featured-books{padding:30px 36px;background:var(--reading-surface);border:1px solid #d6d9ca;border-radius:14px}
.editorial-page .blog-section{margin-top:30px}
.editorial-page .blog-list{background:none}
.editorial-page .blog-card:last-child{border-bottom:0;padding-bottom:0}
.editorial-page .briefing-angle{background:none;border:0;border-top:1px solid var(--line);padding:25px 0 0}
.editorial-page .topic-filters{padding:20px 24px;background:var(--reading-surface);border:1px solid #d6d9ca;border-radius:10px;margin-top:24px}
.editorial-page .news-layout{padding-top:24px;align-items:start}
.editorial-page .news-list{background:var(--reading-surface);border:1px solid #d6d9ca;border-radius:12px;padding:0 28px}
.editorial-page .reading-sidebar{padding:26px 24px;background:var(--reading-surface);border:1px solid #d6d9ca;border-radius:12px;align-self:start;margin-top:0}
.editorial-page .learning-empty section{background:var(--reading-surface);border:1px solid var(--line);border-radius:10px;padding:28px;min-height:150px}
.editorial-page .featured-books{margin-top:36px}
.featured-books-intro{font-size:17px;color:var(--body);margin-top:10px;max-width:650px}
.editorial-page>.footer{background:var(--reading-surface);border:1px solid #d6d9ca;border-radius:10px;padding:20px 26px;margin-bottom:24px}
.contact-page-card{max-width:820px;background:var(--reading-surface);border:1px solid var(--line);border-radius:14px;padding:36px;margin:30px 0 55px}
.contact-person{display:flex;align-items:center;gap:22px;padding-bottom:28px}.contact-person img{width:78px;height:94px;object-fit:cover;object-position:center 28%;border-radius:10px}.contact-person h2{font-size:25px;font-weight:500;line-height:1.3}.contact-person p{font-size:16px;color:var(--body);margin-top:6px}
.contact-page-links{display:grid;grid-template-columns:1fr 1fr;gap:20px}.contact-page-links>a{display:flex;flex-direction:column;gap:8px;padding:24px 20px;border:1px solid var(--line);border-radius:9px;background:var(--reading-surface);min-width:0}.contact-page-links>a:hover{border-color:var(--accent);background:#f3f5ed}.contact-channel{font-family:var(--mono);font-size:12px;color:var(--muted)}.contact-page-links strong{font-size:clamp(16px,2vw,21px);font-weight:500;overflow-wrap:anywhere;line-height:1.5}.contact-action{font-size:15px;color:var(--accent);margin-top:10px}.contact-resume{display:inline-block;font-size:15px;margin-top:28px;text-decoration:underline;text-underline-offset:5px}
/* The standalone study keeps its own light/dark theme and chart colors. */
.research-article{isolation:isolate}
.research-article::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(#10231f1a,#10231f33),url('/assets/research-glass-v1.webp') center/cover}
.research-article main>header,.research-article main>section{box-sizing:border-box;min-width:0;padding:30px;background:var(--panel);border:1px solid var(--line);border-radius:12px}
.research-article .article-site-nav,.research-article .article-site-footer{box-sizing:border-box;padding:20px 24px;background:var(--panel);border:1px solid var(--line);border-radius:10px}
.research-article .article-site-nav{margin-top:24px}.research-article .article-site-footer{margin-bottom:24px}
@media(max-width:700px){
 .editorial-page .editorial-header{margin-top:24px;padding:26px 24px}
 .editorial-page .editorial-header>p{max-width:100%}
 .editorial-page .blog-section,.editorial-page .briefing-section,.editorial-page .briefing-end,.editorial-page .featured-books{padding:24px 22px}
 .editorial-page .news-list{padding-inline:22px}
 .editorial-page .news-layout{padding-top:20px}
 .editorial-page .reading-sidebar{margin-top:24px}
 .research-article main>header,.research-article main>section{padding:24px 20px}
}
@media(max-width:650px){.contact-page-card{padding:24px 20px}.contact-page-links{grid-template-columns:1fr}.contact-person{gap:16px;align-items:flex-start}.contact-person h2{font-size:22px}.contact-person img{width:65px;height:82px}.contact-person p{font-size:14px}}
@media print{
 .editorial-page,.research-article{background:#fff}
 .editorial-page::before,.research-article::before{display:none}
 .editorial-page .editorial-header,.editorial-page .blog-section,.editorial-page .briefing-section,.editorial-page .briefing-end,.editorial-page .featured-books,.research-article main>header,.research-article main>section{background:none;box-shadow:none;border:0;padding:0;min-height:0}
}
