/* Shared navigation and reading utilities for Vega-owned pages. */
[id] { scroll-margin-top: 86px; }
/* Intrinsic dimension attributes reserve space; CSS must still scale plates proportionally. */
img[src*="thumbnails/"] { height: auto !important; object-fit: contain !important; }
.global-nav { position: sticky; top: 0; z-index: 150; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(20px,4vw,72px); background: rgba(251,251,250,.97); border-bottom: 1px solid rgba(5,5,5,.18); color: #050505; font: 750 13px/1.3 Arial,sans-serif; }
.global-nav__brand { display: inline-flex; align-items: center; gap: 10px; min-width: 92px; min-height: 44px; }
.global-nav__brand img { display: block; object-fit: contain; height: auto; }
.global-nav__brand img:first-child { width: 23px; }
.global-nav__brand img:last-child { width: 58px; }
.global-nav__links { display: flex; align-items: center; gap: 8px; }
.global-nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 13px; text-decoration: none; color: inherit; }
.global-nav__links a:hover,.global-nav__links a:focus-visible { background: #eaeae7; }
.global-nav__toggle { display: none; min-width: 44px; min-height: 44px; border: 1px solid #050505; background: transparent; cursor: pointer; font: inherit; }
.global-footer { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 42px clamp(20px,4vw,72px); border-top: 1px solid #b9b9b5; background: #fbfbfa; color: #050505; font: 14px/1.5 Arial,sans-serif; }
.global-footer strong,.global-footer span { display: block; }
.global-footer span { color: #465159; }
.global-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.global-footer a { color: inherit; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.global-nav a:focus-visible,.global-footer a:focus-visible,.editorial-page a:focus-visible,.catalogue-filters :focus-visible,.reading-end button:focus-visible { outline: 3px solid #167f99; outline-offset: 3px; }
body[data-current-polarity="dark"] .global-nav { background: rgba(5,5,5,.97); color: #fbfbfa; border-color: #777; }
body[data-current-polarity="dark"] .global-nav__brand img { filter: invert(1); }
body[data-current-polarity="dark"] .global-nav__links a:hover,body[data-current-polarity="dark"] .global-nav__links a:focus-visible { background: #292929; }
body[data-current-polarity="dark"] .global-nav__toggle { border-color: #fbfbfa; }
.work-index-route { width: min(100%,var(--max)); margin: 0 auto; padding-bottom: 30px; }
.work-actions .route-action { min-height: 44px; }
.current-work-card h3 a { text-decoration: none; }
.current-work-card h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.current-work-card__meta { color: #465159; font-size: 11px; line-height: 1.4; }
.current-work-card__meta em { color: #465159; }
.current-work-card__meta .current-work-card__status { color: #3b4850; font: 700 12px/1.4 Arial,sans-serif; letter-spacing: .03em; text-transform: none; }
.system-evidence { width: min(calc(100% - 40px),1100px); margin: 60px auto 90px; padding: 35px 0; border-top: 1px solid currentColor; line-height: 1.6; }
.system-evidence h2 { font: 400 clamp(30px,4vw,48px)/1.1 Georgia,serif; }
.system-evidence p { max-width: 760px; }
.system-evidence a { color: inherit; text-decoration: underline; }
.state-header h2,.work-state h3,.current-work-card h3 { overflow-wrap: anywhere; }
.subpage-main { padding-top: 0 !important; }
.founder-examples { margin-top: 28px; display: grid; gap: 12px; }
.founder-examples a { color: #075d74; text-decoration: underline; text-underline-offset: 4px; }
.reader-bar { position: relative !important; top: auto !important; z-index: auto !important; flex-wrap: wrap; gap: 4px 16px; padding-block: 8px; font-size: 12px; line-height: 1.35; }
.reader-bar a { display: inline-flex; align-items: center; min-height: 44px; }
.reader-bar a:first-child,.reader-rail a,.prose a,.series-early-link a { color: #075d74 !important; }
.reader-bar a:last-child,.reader-label { color: #a82e19 !important; }
.reader-label,.reader-meta,.reader-rail { font-size: 11px !important; line-height: 1.45 !important; }
.reader-meta,.reader-rail,.continuity-series__kind { color: #455259 !important; }
.reader-meta strong,.continuity-series__index { color: #a82e19 !important; }
.continuity-series__kind,.continuity-series__index { font-size: 11px !important; }
.reader-bar a:focus-visible,.prose a:focus-visible { outline-color: #075d74; }
.series-masthead { top: 64px; }
.publication-utility { width: min(calc(100% - 40px),1120px); margin: 24px auto 0; display: flex; flex-wrap: wrap; gap: 9px 22px; color: #47535a; font: 700 12px/1.5 Arial,sans-serif; }
.publication-utility span,.publication-utility time { display: inline-block; }
.series-early-link { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.series-early-link a { color: #087e98; text-decoration: underline; }
.article-contents { max-width: 760px; margin: 25px auto; padding: 0 20px; font: 14px/1.6 Arial,sans-serif; }
.article-contents summary { cursor: pointer; font-weight: 750; min-height: 44px; padding: 10px 0; }
.article-contents ol { columns: 2; padding-left: 20px; }
.article-contents li { break-inside: avoid; margin-bottom: 8px; }
.article-contents a { color: #08637b; text-decoration: underline; }
.reading-end { width: min(calc(100% - 40px),760px); margin: 50px auto 80px; padding-top: 32px; border-top: 1px solid #bbb; font: 15px/1.6 Arial,sans-serif; }
.reading-end h2 { font: 400 clamp(27px,3vw,39px)/1.2 Georgia,serif; margin: 26px 0 12px; }
.reading-end .citation { padding: 16px; background: #f2f2ef; overflow-wrap: anywhere; user-select: text; }
.reading-end button { min-height: 44px; padding: 9px 15px; border: 1px solid currentColor; background: transparent; cursor: pointer; font: inherit; }
.reading-end__artifacts { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 20px; }
.reading-end a { color: #08637b; text-decoration: underline; }
.editorial-page { width: min(calc(100% - 40px),1200px); margin: 0 auto; padding: clamp(46px,7vw,100px) 0 100px; color: #050505; }
.editorial-page h1 { max-width: 15ch; font: 400 clamp(56px,8vw,116px)/.96 Georgia,serif; letter-spacing: -.05em; margin: 16px 0 22px; overflow-wrap: anywhere; }
.editorial-page h2 { font: 400 clamp(32px,4vw,50px)/1.1 Georgia,serif; letter-spacing: -.03em; }
.editorial-page h3 { font: 400 26px/1.2 Georgia,serif; }
.editorial-page p,.editorial-page li { line-height: 1.65; }
.editorial-page__intro { border-bottom: 1px solid #aaa; padding-bottom: 40px; margin-bottom: 50px; }
.editorial-page__intro > p:not(.eyebrow) { max-width: 760px; font-size: clamp(17px,1.5vw,23px); }
.eyebrow { font: 750 12px/1.4 Arial,sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #555; }
.reading-paths { margin: 0 0 75px; }
.reading-paths > div { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 25px; }
.reading-paths article { border-top: 2px solid #050505; padding: 15px 0; }
.reading-paths li { padding: 5px 0; }
.reading-paths a,.editorial-page a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.catalogue-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; margin: 30px 0 18px; }
.catalogue-filters label { display: grid; gap: 6px; font: 700 13px/1.3 Arial,sans-serif; }
.catalogue-filters input,.catalogue-filters select { min-height: 44px; min-width: 170px; padding: 8px 11px; border: 1px solid #888; background: white; font: 15px Arial,sans-serif; }
.catalogue-filters button { min-height: 44px; padding: 8px 18px; border: 1px solid #050505; color: white; background: #050505; cursor: pointer; font: 700 14px Arial,sans-serif; }
.catalogue-filters a { min-height: 44px; display: inline-flex; align-items: center; }
.catalogue-count { color: #555; font: 700 13px Arial,sans-serif; }
.catalogue-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 35px; }
.catalogue-card { padding: 29px 0; border-top: 1px solid #aaa; min-width: 0; }
.catalogue-card[hidden] { display: none !important; }
.catalogue-card h2 { margin: 10px 0; font-size: clamp(27px,3vw,39px); }
.catalogue-card > p:not(.eyebrow) { max-width: 56ch; }
/* Full manuscript readers: source prose, tables, and native mathematics. */
.paper-edition,.paper-prose,.paper-heading { width: min(calc(100% - 40px),800px); margin: 38px auto; }
.paper-reader .skip-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.paper-reader .skip-link:focus { z-index: 200; width: auto; height: auto; padding: 12px; background: white; clip-path: none; }
.paper-edition { padding: 18px 0; border-block: 1px solid #aaa; font: 14px/1.6 Arial,sans-serif; }
.paper-edition p { margin: 0 0 12px; }
.paper-edition a { display: inline-flex; align-items: center; min-height: 44px; color: #075d74; text-decoration: underline; }
.paper-prose { max-width: 800px; padding: 0; overflow-wrap: anywhere; }
.paper-heading h1 { font: 400 clamp(38px,6vw,70px)/1.05 Georgia,serif; letter-spacing: -.035em; overflow-wrap: anywhere; }
.paper-heading .paper-subtitle { font: 400 clamp(22px,3vw,32px)/1.25 Georgia,serif; margin: 18px 0 35px; }
.paper-heading hr { display: none; }
.paper-prose h2 { margin-top: 2em; }
.paper-prose pre { max-width: 100%; overflow: auto; white-space: pre; font-size: 14px; }
.paper-table,.paper-equation { max-width: 100%; overflow-x: auto; margin-block: 24px; }
.paper-table table { display: table; width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.paper-table th,.paper-table td { min-width: 140px; padding: 12px; border: 1px solid #aaa; text-align: left; vertical-align: top; }
.paper-equation math { min-width: max-content; padding: 8px; }
.paper-table:focus-visible,.paper-equation:focus-visible,.paper-edition a:focus-visible { outline: 3px solid #075d74; outline-offset: 3px; }
@media print {
  .paper-edition { font-size: 10pt; }
  .paper-prose { width: 100%; font-size: 11pt; }
  .paper-prose pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 8pt; }
  .paper-table { overflow: visible; }
  .paper-table table { font-size: 8pt; }
  .paper-table th,.paper-table td { min-width: 0; padding: 5px; }
}
.catalogue-card__meta { display: flex; gap: 15px; flex-wrap: wrap; font: 700 12px Arial,sans-serif; color: #455259; }
.contact-address { font-size: clamp(25px,4vw,46px); overflow-wrap: anywhere; }
.sequence-list { max-width: 760px; }
.sequence-list li { padding-block: 9px; border-bottom: 1px solid #ccc; }
.prose table,.reader-prose table { display: block; overflow-x: auto; max-width: 100%; }
.prose pre,.reader-prose pre { overflow-x: auto; max-width: 100%; }
.prose,.reader-prose { overflow-wrap: break-word; }
@media(max-width:760px) {
  .global-nav { flex-wrap: wrap; padding-block: 6px; }
  .global-nav__links { width: 100%; flex-wrap: wrap; justify-content: space-between; }
  .global-nav__links a { min-width: 46%; }
  .js-enabled .global-nav__toggle { display: inline-block; }
  .js-enabled .global-nav__links { display: none; }
  .js-enabled .global-nav__links.is-open { display: flex; }
  .reading-paths > div,.catalogue-grid { grid-template-columns: 1fr; }
  .article-contents ol { columns: 1; }
}
@media print {
  .global-nav,.global-footer,.reader-bar,.article-contents,.reading-end button,.site-nav,.subpage-header,.series-masthead { display: none !important; }
  body,html,.state,.editorial-page { background: white !important; color: black !important; }
  .reader-layout,.reader-header,.prose,.reader-prose { width: 100% !important; max-width: none !important; display: block !important; }
  .reader-rail { display: none !important; }
  a { color: black !important; }
  figure,img,table,pre { break-inside: avoid; }
  .reading-end { margin-top: 25px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto !important; } *,*::before,*::after { animation: none !important; transition: none !important; } }
