.wrap { width: min(1160px,calc(100% - 64px)); margin-inline: auto; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 22px; }
.eyebrow span { color: var(--muted); margin-left: 12px; }
h1, h2, h3 { line-height: 1.22; color: #f6f8fc; letter-spacing: -.025em; }
.collection-hero { padding: 80px 0 45px; text-align: center; }
.collection-hero h1 { font-size: clamp(38px,4.7vw,60px); max-width: 940px; margin: 0 auto 26px; font-weight: 700; }
.collection-hero .hero-description { font-size: 19px; line-height: 1.8; color: #bdcadc; max-width: 820px; margin: 0 auto 22px; }
.collection-hero .hero-note { color: var(--muted); font-size: 14px; line-height: 1.8; max-width: 780px; margin: 0 auto; }
.hero-rule { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-rule span { background: #27354a; color: #c5d9f4; padding: 6px 14px; border-radius: 20px; font-size: 11px; }
.essay-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding-bottom: 80px; }
.essay-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid #344054; border-radius: 12px; padding: 32px; color: inherit; transition: background .18s, border-color .18s, transform .18s; }
.essay-card:hover { color: inherit; background: #253044; border-color: #6e97cf; transform: translateY(-3px); }
.card-top { display: flex; align-items: center; gap: 14px; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: #aec3df; }
.card-top > span:last-child { margin-left: auto; color: var(--blue); font-size: 20px; }
.card-number { font-size: 22px; color: var(--blue); font-weight: 600; }
.essay-card h2 { font-size: 29px; line-height: 1.3; margin: 22px 0 17px; font-weight: 600; }
.essay-card p { font-size: 16px; line-height: 1.8; color: #b6c4d8; margin: 0 0 26px; }
.card-bottom { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--blue); margin-top: auto; padding-top: 8px; }
.card-bottom > span:first-child { color: var(--muted); }
.article-hero { padding: 46px 0 44px; text-align: center; }
.back-link { display: inline-block; font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.article-hero h1 { font-size: clamp(36px,4.6vw,58px); max-width: 960px; margin: 0 auto 24px; font-weight: 700; }
.dek { font-size: 19px; max-width: 860px; color: #b9c8dd; line-height: 1.8; margin: 0 auto 25px; }
.byline { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 12px; }
.byline > span:first-child { color: #e0eafa; }
.article-layout { width: min(1044px,calc(100% - 64px)); display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 64px; padding: 16px 0 78px; }
.toc { position: sticky; top: 102px; align-self: start; max-height: calc(100dvh - 130px); overflow-y: auto; padding: 22px 16px; background: #1d2635; border-radius: 12px; }
.toc p { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #d3e0f3; margin: 0 10px 12px; }
.toc a { display: block; font-size: 12px; line-height: 1.6; color: #aebdd1; padding: 9px 10px; border-radius: 6px; }
.toc a:hover { background: #2a3950; color: #e1eeff; }
.toc-mobile { display: none; }
.prose { min-width: 0; font-size: 17px; line-height: 1.9; color: #c8d3e2; }
.prose p { margin: 0 0 23px; }
.prose strong { color: #f2f6fc; font-weight: 600; }
.prose a { font-weight: 550; }
.prose a:hover { text-decoration: underline; text-underline-offset: 5px; }
.prose h2 { font-size: 29px; margin: 0 0 23px; line-height: 1.35; font-weight: 650; }
.prose h3 { font-size: 23px; margin: 28px 0 16px; }
.article-section { padding-top: 47px; scroll-margin-top: 95px; }
.article-section + .article-section { margin-top: 5px; }
.thesis { padding: 27px 30px; background: #25354b; border-radius: 12px; }
.thesis p { color: #e2edfc; font-size: 19px; line-height: 1.8; margin: 0; }
.editorial-note { font-size: 12px; line-height: 1.85; color: var(--muted); margin: 38px 0 28px; padding: 22px 25px; background: #1e2939; border-radius: 10px; }
.prose ul, .prose ol { padding-left: 24px; margin: 16px 0 26px; }
.prose li { padding-left: 4px; margin: 10px 0; }
.prose blockquote { margin: 28px 0; padding: 24px 28px; background: #222f43; border-radius: 12px; color: #d3e2f7; }
.prose blockquote p:last-child { margin-bottom: 0; }
.formula { padding: 23px 18px; background: #202c40; border-radius: 10px; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 15px; color: #bfdcff; text-align: center; overflow-wrap: anywhere; margin: 25px 0; }
.prose code { font-size: .9em; background: #293a52; color: #d5e6ff; padding: 2px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.table-scroll { overflow: auto; border: 1px solid #3b4960; border-radius: 10px; margin: 26px 0; }
.table-scroll:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.75; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 16px 18px; min-width: 140px; border-bottom: 1px solid #354258; }
.prose th { background: #26344a; color: #e1eafa; font-weight: 600; }
.prose tr:last-child td, .prose tr:last-child th { border-bottom: 0; }
.prose caption { text-align: left; padding: 15px 18px; color: #c3d8f5; font-size: 13px; font-weight: 600; background: #202d41; }
.prose tbody th[scope=row] { font-size: 13px; }
.prose figure { margin: 28px 0; }
.flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 25px 0; }
.flow > div { background: #24344a; border-radius: 10px; padding: 19px; font-size: 13px; line-height: 1.75; }
.flow strong { display: block; font-size: 15px; margin-bottom: 9px; line-height: 1.5; }
.prose figcaption { font-size: 12px; line-height: 1.7; color: var(--muted); margin-top: 12px; }
.citation { font-size: 11px; line-height: 0; margin-left: 4px; }
.citation a { font-weight: 500; }
.references { padding: 28px; margin-top: 38px; border-radius: 12px; background: #1e2939; scroll-margin-top: 100px; }
.references h2 { font-size: 24px; }
.references ol { margin-bottom: 0; }
.references li { font-size: 13px; line-height: 1.8; margin-bottom: 19px; scroll-margin-top: 100px; overflow-wrap: anywhere; }
.references li:last-child { margin-bottom: 0; }
.source-meta { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; }
.related { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 38px; }
.related-link { display: block; background: #243248; border-radius: 10px; padding: 21px; font-size: 15px; line-height: 1.6; }
.related-link:hover { background: #2d405b; }
.related-link > span:first-child { display: block; color: #aebed5; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 12px; }
@media(max-width:1000px) { .article-layout { grid-template-columns: 190px minmax(0,1fr); gap: 35px; } .flow { grid-template-columns: 1fr; } .essay-card { padding: 27px; } .essay-card h2 { font-size: 27px; } }
@media(max-width:740px) {
  .wrap, .article-layout { width: calc(100% - 40px); }
  .collection-hero { padding: 48px 0 32px; }
  .collection-hero h1 { font-size: 37px; }
  .collection-hero .hero-description { font-size: 17px; }
  .collection-hero .hero-note { font-size: 13px; }
  .essay-grid { grid-template-columns: 1fr; gap: 18px; padding-bottom: 50px; }
  .essay-card { padding: 25px; }
  .essay-card h2 { font-size: 27px; margin-top: 19px; }
  .article-hero { padding: 30px 0 26px; }
  .back-link { margin-bottom: 26px; }
  .eyebrow { font-size: 10px; line-height: 1.8; }
  .article-hero h1 { font-size: 35px; line-height: 1.25; }
  .dek { font-size: 17px; line-height: 1.8; }
  .byline { gap: 8px 16px; font-size: 11px; }
  .article-layout { display: block; padding-top: 8px; padding-bottom: 50px; }
  .toc { display: none; }
  .toc-mobile { display: block; background: #243248; border-radius: 10px; padding: 17px 20px; font-size: 13px; margin-bottom: 24px; }
  .toc-mobile summary { color: #d3e5fe; font-weight: 550; }
  .toc-mobile a { display: block; color: #b8c9e0; padding: 9px 0; line-height: 1.6; }
  .toc-mobile a:first-of-type { margin-top: 12px; }
  .prose { font-size: 16px; line-height: 1.9; }
  .prose h2 { font-size: 26px; }
  .thesis { padding: 23px; }
  .thesis p { font-size: 18px; }
  .article-section { padding-top: 36px; }
  .prose blockquote { padding: 22px; }
  .flow { grid-template-columns: 1fr; }
  .references { padding: 23px 20px; }
  .related { grid-template-columns: 1fr; gap: 14px; }
}
@media(prefers-reduced-motion:reduce) { .essay-card { transition: none; } .essay-card:hover { transform: none; } }
@media print {
  .toc, .toc-mobile, .related, .back-link { display: none; }
  .wrap { width: 100%; max-width: none; }
  .article-layout { display: block; padding-top: 20px; }
  .article-hero { padding-top: 0; }
  h1,h2,h3,.prose,.prose strong,.dek,.byline,.eyebrow,.source-meta { color: #111; }
  .thesis,.editorial-note,.formula,.flow > div,.prose blockquote,.references { background: #fff; color: #111; border: 1px solid #aaa; }
  .thesis p,.flow strong { color: #111; }
  .prose th { background: #eee; color: #111; }
  .prose a { color: #174a8b; }
  .references a:after { content: ' (' attr(href) ')'; font-size: 9pt; }
  .article-hero h1 { font-size: 30pt; }
  .prose { font-size: 11pt; }
}
