/* Shared editorial layer; long-form article typography stays in style.css. */
:root {
  --ink: #101313;
  --ink-2: #171b1b;
  --card: #171b1b;
  --paper: #edf0ed;
  --paper-dim: #a9b2af;
  --line: #323a37;
  --teal-glow: #8cd6bd;
  --gold: #d4b573;
  --gold-bright: #e0c58e;
  --purple-glow: #a6bfe2;
}
body { background: var(--ink); overflow-x: clip; }
body::before, body::after { display: none; }
body *, body *::before, body *::after { letter-spacing: 0 !important; }
[hidden] { display: none !important; }
a { color: var(--teal-glow); }
a, button, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--teal-glow); outline-offset: 5px; }
img { max-width: 100%; }
main { min-height: 60vh; }
main:focus { outline: none; }
[id] { scroll-margin-top: 95px; }
.wrap { max-width: 1216px; padding-inline: 40px; }
.wrap-wide { max-width: 1320px; }
.content-page main > section { display: flow-root; }
.content-page main > section > .wrap { max-width: 1440px; }
.content-page .library-page { padding-top: 44px; }
.library-page > .wrap > .editorial-heading { flex-direction: column; align-items: center; text-align: center; }
.library-page .page-intro { margin-inline: auto; text-align: center; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 8px 16px; background: var(--ink); z-index: 200; }
.skip-link:focus { top: 12px; }
.nav { background: #101313f5; border-color: var(--line); backdrop-filter: none; }
.nav .inner { max-width: 1216px; min-height: 72px; padding: 12px 40px; gap: 24px; }
.nav .brand { color: var(--paper); font-size: 16px; text-shadow: none; gap: 10px; }
.nav .brand .logo { width: 32px; height: 32px; object-fit: contain; filter: none; }
.nav .links { gap: 22px; align-items: center; }
.nav .links a { font-family: var(--sans); font-size: 13px; white-space: nowrap; padding-block: 6px; }
.nav .links a:hover { text-shadow: none; }
.nav .links a[aria-current] { color: var(--paper); box-shadow: 0 2px var(--teal-glow); }
.research-masthead { background: #101b1d url('hero-inkwash.jpg') center 43% / cover no-repeat; position: relative; isolation: isolate; }
.research-masthead::before { content: ''; position: absolute; inset: 0; background: #07101299; z-index: -1; }
.research-masthead { overflow: hidden; }
.research-masthead .wrap { position: relative; padding-block: 48px 36px; min-height: var(--hero-height, 350px); }
.masthead-art { position: absolute; right: max(0px, calc((100% - 1440px) / 2)); top: 0; height: 100%; width: auto; max-width: none; pointer-events: none; }
.masthead-art { mask-image: linear-gradient(to right, transparent 18%, black 54%, black calc(100% - var(--hero-feather, 10%) * .65), transparent), linear-gradient(to bottom, transparent, black var(--hero-feather, 10%), black calc(100% - var(--hero-feather, 10%) * 1.6), transparent); mask-composite: intersect; -webkit-mask-image: linear-gradient(to right, transparent 18%, black 54%, black calc(100% - var(--hero-feather, 10%) * .65), transparent), linear-gradient(to bottom, transparent, black var(--hero-feather, 10%), black calc(100% - var(--hero-feather, 10%) * 1.6), transparent); -webkit-mask-composite: source-in; }
.research-masthead .masthead-description { max-width: 560px; }
.research-masthead .masthead-bottom { justify-content: flex-start; flex-wrap: wrap; gap: 28px; }
@media (max-width: 900px) {
  .research-masthead { background-image: none; }
  .masthead-art { position: relative; display: block; inset: auto; width: 100%; height: auto; aspect-ratio: 7 / 3; object-fit: cover; object-position: right center; }
  .research-masthead .wrap { min-height: 0; padding-top: 24px; }
}
@media (max-width: 480px) {
  .masthead-art { height: 200px; }
}
.eyebrow { font: 11px/1.6 var(--mono); color: var(--teal-glow); margin: 0 0 10px; }
.research-masthead h1 { font: 700 42px/1.35 var(--serif); color: #f1f3ee; margin-bottom: 14px; }
.masthead-purpose { font-size: 23px; color: #edf0ed; line-height: 1.6; }
.masthead-description { color: #bbc6c4; font-size: 14px; margin-top: 7px; max-width: 650px; }
.masthead-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.author-line { color: var(--gold-bright); font-size: 15px; text-decoration: none; }
.author-line span { color: #b7c2bf; font-size: 12px; margin-left: 12px; }
.text-link { color: var(--teal-glow); font-size: 13px; text-decoration: none; }
.text-link:hover, .story-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.archive-strip { border-block: 1px solid var(--line); background: #191d1b; }
.archive-strip .wrap { display: flex; align-items: center; gap: 24px; min-height: 56px; font-size: 12px; flex-wrap: wrap; padding-block: 12px; }
.archive-strip .wrap > span { color: var(--paper-dim); }
.archive-strip a { color: #c4cbc6; text-decoration: none; }
.archive-strip a:hover { color: var(--teal-glow); }
.archive-strip b { font: 16px var(--mono); color: var(--gold-bright); margin-right: 4px; }
.strip-rss { margin-left: auto; }
section.editorial-section { padding-block: 42px; margin: 0; border-bottom: 1px solid var(--line); }
.section-muted { background: #171a19; }
.editorial-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 28px; }
.editorial-heading h2, .author-band h2 { font: 600 24px/1.5 var(--sans); }
.editorial-heading h1, .section-head h1, .section-head h2 { font: 600 34px/1.4 var(--sans); }
.editorial-heading .eyebrow { margin-bottom: 6px; }
.quiet, .section-note { color: var(--paper-dim); font-size: 12px; }
.section-note { margin: -10px 0 22px; }
.focus-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; }
.content-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--paper-dim); font-size: 11px; line-height: 1.6; }
.label-original { color: var(--teal-glow); }
.label-external { color: var(--gold-bright); }
.focus-story h3 { font: 600 25px/1.5 var(--sans); margin: 12px 0; }
.focus-story h3 a, .article-index h3 a, .source-entry h3 a { color: var(--paper); text-decoration: none; }
.focus-story h3 a:hover, .article-index h3 a:hover, .source-entry h3 a:hover { color: var(--teal-glow); }
.focus-story > p { font-size: 14px; line-height: 1.9; color: var(--paper-dim); margin-bottom: 20px; }
.research-figure { display: block; max-width: 560px; }
.research-figure img { display: block; width: 100%; height: auto; aspect-ratio: 20 / 13; object-fit: contain; border-radius: 4px; }
.story-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; align-items: center; }
.story-links a { font-size: 13px; text-decoration: none; }
.research-routes { border-left: 1px solid var(--line); padding-left: 32px; }
.research-routes > h3 { font-size: 18px; font-weight: 500; margin-bottom: 14px; }
.route-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) 16px; gap: 12px; padding-block: 22px; border-bottom: 1px solid var(--line); color: var(--paper); text-decoration: none; }
.route-index { color: var(--gold); font: 12px/1.8 var(--mono); }
.route-label { color: var(--teal-glow); font-size: 11px; }
.route-row h4 { font-size: 16px; line-height: 1.7; font-weight: 500; margin-block: 5px; }
.route-row p { font-size: 12px; line-height: 1.8; color: var(--paper-dim); }
.route-row:hover h4 { color: var(--teal-glow); }
.route-all { display: inline-block; margin-top: 20px; }
.article-index-row { display: grid; grid-template-columns: 66px minmax(0, 1fr) 30px; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.article-index-row time { font: 17px/1.6 var(--mono); color: #c8d0ca; }
.article-index-row time span { display: block; font-size: 11px; color: var(--paper-dim); }
.article-index-row h3 { font-size: 18px; font-weight: 500; line-height: 1.7; margin: 7px 0; }
.article-index-row p { font-size: 13px; color: var(--paper-dim); }
.row-arrow { color: var(--teal-glow); font-size: 22px; text-decoration: none; align-self: center; text-align: center; }
.source-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.source-entry { min-width: 0; padding: 22px 0; border-top: 1px solid var(--line); }
.source-entry h3 { font-size: 17px; line-height: 1.65; font-weight: 500; margin: 10px 0 12px; overflow-wrap: anywhere; }
.source-entry h3 span { color: var(--gold); }
.source-entry p { font-size: 13px; color: var(--paper-dim); line-height: 1.9; margin-bottom: 14px; }
.source-credit, .source-date { color: #aeb9b2; font-size: 11px; overflow-wrap: anywhere; }
.source-topic-links { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; }
.source-topic-links a { font-size: 11px; color: var(--teal-glow); text-decoration: none; }
.home-page .news-list.preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-page .news-item { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 18px 0; backdrop-filter: none; }
.home-page .news-item:hover { transform: none; }
.home-page .news-title { display: block; overflow: visible; font-size: 14px; }
.feed-status { font-size: 13px; color: var(--paper-dim); padding-block: 20px; }
.author-band { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 36px; align-items: center; }
.author-band > img { width: 112px; height: 112px; object-fit: contain; }
.author-band p:not(.eyebrow) { font-size: 14px; color: var(--paper-dim); max-width: 760px; margin-top: 12px; }
.page-intro { color: var(--paper-dim); max-width: 760px; font-size: 15px; margin-bottom: 28px; }
.library-filters { display: grid; grid-template-columns: minmax(180px, 1.5fr) minmax(130px, .8fr) minmax(170px, 1fr) auto; gap: 16px; align-items: end; border-block: 1px solid var(--line); padding-block: 20px; }
.library-filters label { font-size: 12px; color: var(--paper-dim); min-width: 0; }
.library-filters input, .library-filters select { display: block; width: 100%; min-width: 0; margin-top: 8px; height: 44px; padding: 0 12px; border: 1px solid #46524b; border-radius: 4px; background: #1c211f; color: var(--paper); font: 13px var(--sans); color-scheme: dark; }
.reset-filter { border: 0; background: none; color: var(--teal-glow); padding: 10px 0; min-height: 44px; font: 13px var(--sans); cursor: pointer; }
.library-summary { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--paper-dim); font-size: 12px; padding: 20px 0; }
.source-library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.editorial-policy { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 24px; max-width: 800px; }
.editorial-policy h2 { font-size: 18px; font-weight: 500; margin-bottom: 12px; }
.editorial-policy p { font-size: 13px; color: var(--paper-dim); margin-bottom: 16px; }
.section-head { text-align: center; margin: 44px 0 28px; }
.section-head .num { color: var(--teal-glow); font-size: 11px; }
.section-head .desc { margin: 12px auto 0; max-width: 850px; }
.tile { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 22px 4px; box-shadow: none; }
.tile::before { display: none; }
.tile:hover { transform: none; background: #1a201c; box-shadow: none; }
.tile .row1 h3 { font: 500 19px/1.65 var(--sans); min-width: 0; }
.tile .row1 { flex-wrap: wrap; }
.tile .row1 .arrow { margin-left: auto; }
.badge { border-radius: 3px; font-size: 11px; text-decoration: none; }
.tile-meta { flex-wrap: wrap; }
#topic-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr)); }
.article-tile .row3 { flex-wrap: wrap; }
.topics-side { background: transparent; border-radius: 0; box-shadow: none; }
.side-note { display: none; }
.side-search input { min-width: 0; }
.topic-hero { margin-top: 0; padding: 40px 0 20px; }
.article { padding-top: 0; }
.topic-hero h1 { font: 600 34px/1.5 var(--sans); text-shadow: none; }
.topic-hero .sub { font-size: 15px; }
.topic-hero .meta { flex-wrap: wrap; }
.topic-jump { display: flex; gap: 12px 26px; flex-wrap: wrap; padding: 16px 0; border-block: 1px solid var(--line); margin-top: 24px; }
.topic-jump a { font-size: 13px; text-decoration: none; }
.topic-start { padding: 24px 0; border-bottom: 1px solid var(--line); }
.topic-start h2 { font-size: 19px; margin-bottom: 12px; }
.topic-start .reading-path { margin-block: 16px 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.topic-start .reading-path li { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.topic-findings { padding-block: 24px; }
.topic-findings h2 { font-size: 19px; margin-bottom: 18px; }
.finding-col { background: transparent; border-radius: 0; border-inline: 0; border-bottom: 0; padding-inline: 0; }
.findings { gap: 36px; }
.df-stack .df-block { border-radius: 0; background: transparent; box-shadow: none; padding-inline: 0; }
.df-summary { background: transparent; border-radius: 0; border: 0; padding-left: 0; }
.df-card { border-radius: 4px; box-shadow: none; background: #1b201e; }
.df-zi { text-shadow: none !important; border-radius: 4px; }
.resource-card { background: #1b201e; border-radius: 4px; }
.resource-list, .intel-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.block > h2 { font-size: 23px; }
.about { background: transparent; box-shadow: none; border: 0; padding: 0; }
.about h2 { font-size: 23px; margin-top: 28px; }
.about h2 span { font-size: 16px; color: var(--paper-dim); }
.about .team-logo { width: 100px; }
.contact-card { border-radius: 4px; }
.article-reading-layout { display: grid; grid-template-columns: minmax(0, 860px) minmax(180px, 1fr); gap: 32px; align-items: start; }
.article-reading-main { min-width: 0; }
.article-reading-main .article-body { margin-inline: 0; }
.article-reading-main .article-abstract { margin-inline: 0; }
.article-jump-sidebar { position: sticky; top: 100px; padding-top: 8px; min-width: 0; }
.article-jump-sidebar[hidden] { display: none; }
.article-jump-menu { border-left: 1px solid var(--line); padding-left: 18px; }
.article-jump-menu summary { color: var(--gold); font-size: 14px; font-weight: 600; cursor: pointer; padding-bottom: 14px; }
.article-jump-links { list-style: none; margin: 0; padding: 0; max-height: calc(100vh - 190px); overflow-y: auto; }
.article-jump-links li { margin: 0; }
.article-jump-links a { display: block; padding: 7px 0; font-size: 12px; line-height: 1.6; color: var(--paper-dim); overflow-wrap: anywhere; text-decoration: none; }
.article-jump-links .level-3 { padding-left: 12px; }
.article-jump-links .level-4 { padding-left: 24px; }
.article-jump-links a:hover, .article-jump-links a[aria-current] { color: var(--teal-glow); }
.has-jump-navigation .article-reading-main > .article-toc { display: none; }
@media (max-width: 1099px) {
  .article-reading-layout { display: flex; flex-direction: column; gap: 20px; }
  .article-reading-main { width: 100%; }
  .article-jump-sidebar { order: -1; position: sticky; top: var(--article-nav-offset, 90px); width: 100%; z-index: 4; background: var(--ink); padding: 10px 0 0; border-bottom: 1px solid var(--line); }
  .has-jump-navigation .article-body :is(h2,h3,h4) { scroll-margin-top: calc(var(--article-nav-offset, 90px) + 64px); }
  .article-jump-menu { border: 0; padding-left: 0; }
  .article-jump-links { max-height: 45vh; padding-bottom: 12px; }
}
.article-body pre, .article-body .highlight { max-width: 100%; }
.article-body table { display: block; overflow-x: auto; max-width: 100%; }
footer.site { margin-top: 0; background: #101313; }
footer.site .inner { flex-wrap: wrap; gap: 24px; }
footer.site .social { flex-wrap: wrap; max-width: 550px; }
@media (max-width: 1050px) {
  .nav .inner { flex-wrap: wrap; gap: 8px; }
  .nav .links { width: 100%; justify-content: space-between; gap: 12px; }
  .focus-layout { gap: 28px; }
  .research-routes { padding-left: 24px; }
  .library-filters { grid-template-columns: 1fr 1fr; }
  .reset-filter { justify-self: start; }
}
@media (max-width: 720px) {
  [id] { scroll-margin-top: 145px; }
  .wrap, .nav .inner { padding-inline: 20px; }
  .nav .brand { font-size: 15px; }
  .nav .links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 12px; }
  .nav .links a { font-size: 12px; text-align: center; padding: 6px 0; }
  .research-masthead .wrap { padding-block: 24px; }
  .research-masthead h1 { font-size: 28px; margin-bottom: 10px; }
  .masthead-purpose { font-size: 17px; }
  .masthead-description { font-size: 12px; }
  .masthead-bottom { margin-top: 18px; flex-wrap: wrap; gap: 14px; }
  .author-line { font-size: 13px; }
  .author-line span { font-size: 11px; margin-left: 6px; }
  .archive-strip .wrap { gap: 8px 14px; font-size: 11px; }
  .archive-strip .wrap > span, .strip-rss { display: none; }
  .archive-strip b { font-size: 14px; }
  section.editorial-section { padding-block: 28px; }
  .editorial-heading { align-items: flex-start; margin-bottom: 22px; flex-wrap: wrap; gap: 10px; }
  .editorial-heading h2, .author-band h2 { font-size: 21px; }
  .editorial-heading h1, .section-head h1, .section-head h2 { font-size: 28px; }
  .editorial-heading .quiet { display: none; }
  .focus-layout, .source-preview, .source-library { grid-template-columns: 1fr; gap: 24px; }
  .focus-story h3 { font-size: 22px; }
  .research-routes { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .article-index-row { grid-template-columns: 45px minmax(0, 1fr); gap: 14px; }
  .article-index-row time { font-size: 13px; }
  .article-index-row h3 { font-size: 16px; }
  .article-index-row .row-arrow { display: none; }
  .home-page .news-list.preview { grid-template-columns: 1fr; }
  .source-preview { gap: 0; }
  .author-band { grid-template-columns: 1fr; gap: 18px; }
  .author-band > img { width: 72px; height: 72px; }
  .library-filters { gap: 14px 10px; }
  .library-filters .search-field { grid-column: 1 / -1; }
  .library-filters select { font-size: 12px; }
  .topic-hero h1 { font-size: 27px; }
  .topic-hero .meta { font-size: 11px; }
  .topics-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .topics-side { position: static; max-height: none; overflow: visible; border: 0; border-bottom: 1px solid var(--line); padding: 0 0 18px; }
  .side-nav { flex-direction: row; flex-wrap: wrap; gap: 4px 8px; }
  .side-nav-title { flex-basis: 100%; margin-top: 10px; }
  .side-link { width: auto; gap: 8px; padding: 6px 8px; }
  .topics-toolbar { flex-wrap: wrap; gap: 8px; }
  .resource-list, .intel-list, .findings, .df-cols, .df-list { grid-template-columns: minmax(0, 1fr); }
  .df-summary { position: static; }
  .df-card .df-tip { max-width: 100%; width: 100%; left: 0; right: auto; transform: none; }
  .tile .row1 h3 { font-size: 17px; flex-basis: 100%; }
  .tile .row1 .arrow { display: none; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { min-width: 0; }
  .about .team-logo { float: none; display: block; margin: 0 0 20px; }
  footer.site .social { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
