:root {
  --paper: #faf9f6;
  --surface: #fff;
  --ink: #25292d;
  --muted: #646a70;
  --faint: #e4e2dc;
  --accent: #a9233e;
  --accent-pale: #f7edf0;
  --amber: #b47124;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: #ecd4da; color: #702036; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
svg { display: block; }
img { max-width: 100%; height: auto; }
sup { font-size: .67em; vertical-align: super; line-height: 0; }
.shell { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 12px 20px; background: var(--ink); color: white; z-index: 100; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(250 249 246 / 95%); backdrop-filter: blur(16px); border-bottom: 1px solid var(--faint); }
.header-inner { width: min(1320px, calc(100% - 80px)); height: 76px; margin: auto; display: flex; justify-content: space-between; align-items: center; }
.wordmark { display: inline-flex; align-items: center; font-size: 22px; font-weight: 700; letter-spacing: -.8px; text-decoration: none; }
.wordmark span { color: var(--accent); }
.wordmark svg { width: 28px; height: 28px; margin-right: 10px; stroke: var(--ink); stroke-width: 1.6; fill: none; }
.wordmark svg circle { fill: var(--accent); stroke: var(--paper); stroke-width: 1.5; }
.header-inner nav { display: flex; align-items: center; gap: 30px; }
.header-inner nav a { font-size: 13px; text-decoration: none; font-weight: 550; }
.header-inner .nav-code { border-left: 1px solid var(--faint); padding-left: 28px; }
.nav-code span { margin-left: 7px; }
.reading-progress { position: absolute; bottom: -1px; left: 0; height: 2px; background: var(--accent); width: 100%; transform: scaleX(0); transform-origin: left; }
.hero { padding-top: 66px; padding-bottom: 48px; }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); }
.signal-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.eyebrow-divider { color: #b8b2a9; margin-inline: 8px; }
.hero-eyebrow { flex-wrap: wrap; row-gap: 8px; }
.hero-topic { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.hero-venue { color: var(--accent); text-transform: none; letter-spacing: .2px; font-size: 12px; font-weight: 400; }
.hero-venue strong { font-weight: 650; }
h1 { font-family: var(--serif); font-weight: 400; letter-spacing: -2px; line-height: 1.13; margin: 28px 0 22px; }
h1 span { display: block; }
.title-intro { font-size: clamp(32px, 3.5vw, 44px); letter-spacing: -1.2px; }
.title-emphasis { color: var(--accent); font-size: clamp(48px, 6.3vw, 80px); letter-spacing: -2.6px; padding: 4px 0 7px; }
.title-outro { font-size: clamp(32px, 3.5vw, 44px); letter-spacing: -1.2px; }
.hero-deck { font-size: 19px; line-height: 1.5; margin: 24px 0 30px; color: #555b60; }
.authors { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 20px; margin: 0 0 12px; font-size: 15px; font-weight: 550; }
.authors a { text-decoration: none; }
.authors sup { margin-left: 2px; color: var(--muted); }
.affiliations { display: flex; flex-wrap: wrap; column-gap: 18px; row-gap: 2px; max-width: 1030px; margin: 0; font-size: 11.5px; color: var(--muted); }
.affiliations span { white-space: nowrap; }
.affiliations sup { font-size: 9px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 18px; border: 1px solid transparent; border-radius: 5px; text-decoration: none; font-size: 13px; font-weight: 600; transition: background .18s, transform .18s; }
.button:hover { transform: translateY(-2px); }
.button svg, .copy-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { background: var(--accent); color: #fff; }
.button:disabled { cursor: default; transform: none; }
.button-primary:disabled, .button-primary:disabled:hover { background: #e9e7e2; color: #757872; border-color: #dedbd5; }
.button-secondary:disabled { color: #757872; border-color: #dedbd5; }
.pending-link { font-size: 9px; font-weight: 400; letter-spacing: .1px; opacity: .85; }
.header-inner nav a[aria-current="location"] { color: var(--accent); }
.button-meta { color: #cecece; border-left: 1px solid #5a5b5c; padding-left: 10px; font-size: 10px; letter-spacing: .5px; }
.button-secondary { background: transparent; border-color: #d0cec8; }
.button-secondary:hover { background: #f0eeea; }
.text-link { margin-left: 12px; font-size: 13px; text-decoration: none; }
.text-link span { padding-left: 8px; }
.version-note { color: var(--muted); font-size: 11px; max-width: 900px; margin: 0; }
.version-note strong { font-weight: 550; }
.venue-note { color: var(--accent); font-size: 12px; letter-spacing: .15px; }
.findings-section { padding-top: 25px; padding-bottom: 52px; border-top: 1px solid var(--ink); }
.section-kicker { display: flex; justify-content: space-between; font-size: 10px; text-transform: uppercase; letter-spacing: 1.8px; color: var(--muted); font-weight: 600; margin-bottom: 24px; }
.section-kicker span:last-child { letter-spacing: 1px; color: #7b7d7c; }
.findings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-bottom: 32px; }
.finding { position: relative; }
.finding + .finding { border-left: 1px solid var(--faint); padding-left: 30px; }
.finding-number { font: 12px/1 var(--sans); color: var(--accent); display: block; margin-bottom: 13px; }
.finding h3 { margin: 0 0 9px; font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1.15; letter-spacing: -.5px; }
.finding p { margin: 0; font-size: 13px; line-height: 1.7; color: #5b6165; }
.research-figure { margin: 32px 0; }
.overview-figure { margin: 0; }
.figure-surface { border: 1px solid var(--faint); background: #fff; border-radius: 6px; overflow: hidden; }
.figure-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid #eeece8; }
.figure-label { margin: 0; font-size: 10px; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; color: var(--muted); }
.expand-figure { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; border: 0; background: transparent; padding: 4px 0 4px 8px; color: var(--muted); }
.expand-figure:hover { color: var(--accent); }
.expand-figure svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.figure-scroll { padding: 15px 12px 8px; overflow-x: auto; }
.figure-scroll img { display: block; width: 100%; }
figcaption { font-size: 12px; line-height: 1.75; color: var(--muted); margin-top: 13px; max-width: 1020px; }
.scope-note { display: grid; grid-template-columns: 122px 1fr; gap: 16px; border-top: 1px solid var(--faint); margin-top: 25px; padding-top: 18px; }
.scope-label { color: var(--accent); text-transform: uppercase; font-size: 10px; font-weight: 600; letter-spacing: 1px; padding-top: 3px; }
.scope-note p { margin: 0; color: var(--muted); font-size: 12px; max-width: 870px; }
.section-number { display: block; color: var(--accent); font: 10px/1.2 var(--sans); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 13px; }
.data-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--faint); border-radius: 6px; padding: 20px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table caption { text-align: left; font-size: 12px; color: var(--muted); padding-bottom: 20px; }
.data-table th, .data-table td { padding: 11px 12px; text-align: center; }
.data-table thead tr:first-child th { font-weight: 600; font-size: 12px; padding-bottom: 7px; }
.data-table thead tr:last-child th { color: var(--muted); font-size: 11px; font-weight: 500; border-bottom: 1px solid #d8d6d0; padding-top: 5px; }
.data-table thead th[rowspan] { border-bottom: 1px solid #d8d6d0; }
.data-table tbody tr + tr { border-top: 1px solid #edebe6; }
.data-table tbody th { font-weight: 550; }
.data-table td.improved, .data-table .method-name { color: var(--accent); font-weight: 700; }
.data-table tbody tr:nth-child(2) { background: #faf8f6; }
.citation-section { padding-top: 42px; padding-bottom: 56px; border-top: 1px solid var(--faint); }
.citation-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.citation-heading h2 { margin: 8px 0 0; font: 32px/1.2 var(--serif); letter-spacing: -.5px; }
.copy-button { border: 1px solid #d8d6d0; background: transparent; border-radius: 4px; display: inline-flex; align-items: center; gap: 14px; padding: 9px 14px; font-size: 12px; }
.copy-button:hover { border-color: var(--accent); color: var(--accent); }
pre { white-space: pre; overflow-x: auto; margin: 0; background: #f0eeea; border: 1px solid #e4e0d9; padding: 26px 30px; border-radius: 5px; font: 12px/1.8 ui-monospace, "SFMono-Regular", Consolas, monospace; color: #50545a; }
.copy-status { min-height: 20px; font-size: 12px; color: var(--accent); margin: 7px 0 0; }
.site-footer { border-top: 1px solid var(--faint); display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; padding-bottom: 28px; font-size: 11px; color: var(--muted); }
.site-footer a { text-decoration: none; }
.site-footer p { margin: 0; }
.site-footer .footer-name { font-size: 14px; color: var(--ink); font-weight: 600; }
.footer-name span { color: var(--accent); margin-left: 12px; }
.figure-dialog { width: min(1500px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; border: 1px solid #dedbd4; border-radius: 8px; box-shadow: 0 30px 100px #0003; background: #fff; }
.figure-dialog::backdrop { background: #202329b3; backdrop-filter: blur(5px); }
.dialog-toolbar { position: sticky; top: 0; background: #fff; display: flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--faint); padding: 12px 20px; }
.dialog-toolbar h2 { font: 14px/1.4 var(--sans); margin: 0 auto 0 0; font-weight: 600; }
.original-link { font-size: 12px; text-decoration: none; white-space: nowrap; }
.close-dialog { width: 34px; height: 34px; border: 1px solid var(--faint); background: #fff; border-radius: 50%; font-size: 23px; line-height: 1; }
.dialog-image-wrap { overflow: auto; padding: 20px; }
.dialog-image { display: block; width: 100%; }
body.dialog-open { overflow: hidden; }
.project-section { display: grid; grid-template-columns: 310px minmax(0,1fr); gap: 24px 68px; padding-top: 55px; padding-bottom: 52px; border-top: 1px solid var(--faint); }
.project-section-heading h2 { font-family: var(--serif); font-size: 34px; font-weight: 400; letter-spacing: -.8px; line-height: 1.2; margin: 0; }
.project-section-body { min-width: 0; }
.project-section-body p { font-size: 15px; line-height: 1.9; margin: 0 0 18px; }
.project-section-body p:last-child { margin-bottom: 0; }
.project-section-body code { color: #8e2339; background: #f0e9e8; font-size: .86em; padding: 2px 5px; border-radius: 3px; white-space: nowrap; }
.project-section-body strong { font-weight: 600; }
.full-width { grid-column: 1 / -1; }
.full-width .research-figure { margin: 5px 0 0; }
.table-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.table-heading h3 { font-weight: 550; font-size: 15px; margin: 0; }
.table-heading > span { font-size: 11px; color: var(--muted); }
.table-note { font-size: 12px; color: var(--muted); line-height: 1.75; margin: 12px 0 0; max-width: 950px; }
.result-table-block { margin-top: 9px; }
.model-scale { display: block; font-weight: 600; }
.model-family { display: block; font-size: 10px; font-weight: 400; color: var(--muted); }
.result-context { grid-column: 2; padding-top: 0; }
.results-table th:first-child { text-align: left; padding-left: 15px; }
.results-table td { font-size: 20px; font-weight: 450; }
.factor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin: 12px 0 15px; }
.factor { display: flex; align-items: flex-start; gap: 26px; padding: 25px 0; border-top: 1px solid #cbc5bd; }
.factor-symbol { font: italic 56px/1 var(--serif); color: var(--accent); min-width: 42px; }
.factor h3 { font-weight: 550; font-size: 16px; margin: 0 0 10px; }
.factor p { font-size: 13px; line-height: 1.8; margin: 0; color: var(--muted); }
.strength-table th, .strength-table td { padding-block: 15px; }
.strength-table td { font-size: 18px; }
.implication { margin-bottom: 52px; padding: 42px 48px; border-top: 1px solid #d6b8be; border-bottom: 1px solid #d6b8be; background: #f4edef; }
.implication .eyebrow { color: #8b4c59; }
.implication h2 { font: 400 40px/1.2 var(--serif); letter-spacing: -.7px; margin: 16px 0 18px; color: #7f2035; }
.implication > p:last-child { font-size: 15px; line-height: 1.85; max-width: 770px; margin: 0; color: #655256; }
@media (min-width: 1400px) {
  .hero { padding-top: 80px; }
}
@media (max-width: 1000px) {
  .shell { width: calc(100% - 56px); }
  .header-inner { width: calc(100% - 56px); }
  .finding h3 { font-size: 23px; }
  .findings-grid { gap: 20px; }
  .finding + .finding { padding-left: 20px; }
  .data-table-wrap { padding: 15px 10px; }
  .data-table th, .data-table td { padding-inline: 8px; }
  .project-section { grid-template-columns: 260px minmax(0,1fr); gap: 24px 30px; }
  .project-section-heading h2 { font-size: 30px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .shell, .header-inner { width: calc(100% - 40px); }
  .header-inner { height: 64px; }
  .wordmark { font-size: 19px; }
  .wordmark svg { width: 24px; height: 24px; margin-right: 7px; }
  .header-inner nav { gap: 18px; }
  .header-inner nav a { font-size: 12px; }
  .header-inner .nav-code { display: none; }
  .hero { padding-top: 43px; padding-bottom: 35px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.3px; gap: 7px; }
  .eyebrow-divider { margin-inline: 3px; }
  .hero-eyebrow .eyebrow-divider { display: none; }
  .hero-venue { flex-basis: 100%; font-size: 11px; }
  h1 { margin-top: 26px; }
  .title-intro { font-size: clamp(23px, 5vw, 34px); letter-spacing: -.5px; }
  .title-emphasis { font-size: clamp(46px, 9.7vw, 65px); line-height: 1.07; letter-spacing: -1.7px; padding: 9px 0 12px; }
  .title-outro { font-size: clamp(23px, 5vw, 34px); letter-spacing: -.5px; }
  .hero-deck { font-size: 17px; margin: 23px 0; max-width: 430px; }
  .authors { font-size: 13px; gap: 6px 15px; }
  .affiliations { font-size: 10px; gap: 2px 12px; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; margin-top: 24px; }
  .hero-actions .button { min-width: 0; padding: 8px; gap: 6px; flex-wrap: wrap; line-height: 1.3; min-height: 48px; }
  .hero-actions .pending-link { flex-basis: 100%; font-size: 8px; }
  .button { font-size: 12px; padding: 10px 13px; min-height: 45px; }
  .button-meta { display: none; }
  .text-link { grid-column: 1 / -1; width: 100%; margin: 3px 0 0; padding-block: 7px; }
  .version-note { font-size: 10px; line-height: 1.75; }
  .findings-section { padding-top: 22px; padding-bottom: 36px; }
  .section-kicker { font-size: 9px; margin-bottom: 20px; }
  .findings-grid { grid-template-columns: 1fr; gap: 0; margin-bottom: 23px; }
  .finding { display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; padding: 18px 0; }
  .finding:first-child { padding-top: 0; }
  .finding + .finding { border-left: none; border-top: 1px solid var(--faint); padding-left: 0; }
  .finding-number { grid-row: 1 / 3; margin-top: 5px; }
  .finding h3 { font-size: 24px; margin-bottom: 7px; }
  .finding p { font-size: 13px; }
  .figure-toolbar { padding: 10px 12px; }
  .figure-label { font-size: 9px; letter-spacing: .65px; }
  .figure-scroll { padding: 8px; }
  .overview-figure .figure-scroll img { width: 900px; max-width: none; }
  .overview-figure .figure-scroll::after { content: "Swipe to see all three panels →"; display: block; position: sticky; left: 0; width: max-content; padding: 7px 3px; color: var(--muted); font-size: 10px; }
  figcaption { font-size: 11px; line-height: 1.7; }
  .scope-note { grid-template-columns: 1fr; gap: 8px; margin-top: 20px; }
  .scope-note p { font-size: 12px; }
  .data-table-wrap { padding: 16px 10px; }
  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 10px 9px; }
  .data-table thead tr:first-child th { font-size: 11px; }
  .data-table thead tr:last-child th { font-size: 10px; }
  .data-table caption { font-size: 11px; padding-bottom: 12px; }
  .citation-section { padding-top: 28px; padding-bottom: 28px; }
  .citation-heading h2 { font-size: 28px; }
  .copy-button { gap: 8px; padding: 8px 10px; font-size: 11px; }
  pre { font-size: 11px; padding: 20px; }
  .site-footer { flex-wrap: wrap; gap: 12px; }
  .site-footer p { order: 3; width: 100%; }
  .figure-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 30px); }
  .dialog-toolbar { gap: 10px; padding: 10px; }
  .dialog-toolbar h2 { font-size: 12px; }
  .original-link { font-size: 10px; }
  .close-dialog { flex-shrink: 0; }
  .dialog-image-wrap { padding: 8px; }
  .dialog-image { min-width: 900px; max-width: none; }
  .project-section { display: block; padding: 34px 0; }
  .project-section-heading { margin-bottom: 22px; }
  .project-section-heading h2 { font-size: 30px; }
  .project-section-body p { font-size: 15px; line-height: 1.85; }
  .full-width { margin-top: 24px; }
  .full-width .figure-scroll img { min-width: 690px; }
  .table-heading { display: block; margin-bottom: 12px; }
  .table-heading h3 { font-size: 14px; margin-bottom: 4px; }
  .table-heading > span { font-size: 10px; }
  .data-table-wrap { padding: 12px 5px; }
  .data-table th, .data-table td { padding-inline: 7px; }
  .model-family { white-space: normal; max-width: 95px; font-size: 9px; line-height: 1.4; margin-top: 5px; }
  .results-table th:first-child { padding-left: 7px; }
  .results-table td { font-size: 18px; }
  .result-context { padding-top: 22px; }
  .factor-grid { display: block; margin-top: 27px; }
  .factor { padding: 22px 0; gap: 20px; }
  .factor-symbol { font-size: 48px; min-width: 34px; }
  .factor h3 { font-size: 15px; }
  .factor p { font-size: 13px; }
  .strength-table td { font-size: 15px; }
  .table-note { font-size: 11px; }
  .implication { margin-bottom: 32px; padding: 28px 23px; }
  .implication h2 { font-size: 31px; }
  .implication > p:last-child { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .expand-figure, .copy-button, .copy-status, .hero-actions, .site-footer { display: none; }
  body { background: white; color: black; }
  .shell { width: 100%; }
  .hero { padding-top: 0; }
  .research-figure, .finding { break-inside: avoid; }
  .figure-scroll { overflow: visible; }
  .figure-scroll img { min-width: 0 !important; width: 100% !important; }
  .figure-scroll::after { display: none !important; }
  .data-table-wrap, pre { overflow: visible; }
}
