:root {
  --ink: #172123;
  --muted: #5e6868;
  --line: #d7ddda;
  --paper: #fbfcf9;
  --soft: #eef3ef;
  --mint: #dcece6;
  --teal: #1b716a;
  --rust: #b45d3b;
  --dark: #172326;
  --dark-line: #3b4c4d;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.58; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.section-wrap { width: min(1160px, calc(100% - 56px)); margin: 0 auto; }
.topbar { width: min(1160px, calc(100% - 56px)); height: 76px; display: flex; align-items: center; justify-content: space-between; margin: 0 auto; border-bottom: 1px solid var(--line); }
.wordmark { font: 600 1.05rem var(--serif); }
nav { display: flex; gap: 21px; color: var(--muted); font-size: .82rem; }
nav a:hover, .text-link:hover { color: var(--teal); }
.hero { padding: 56px 0 72px; }
.hero-copy { max-width: none; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.18; text-wrap: balance; }
h1 { max-width: none; font-size: clamp(2.4rem, 7.8vw, 5.8rem); line-height: 1.08; letter-spacing: -.015em; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.25rem; line-height: 1.3; }
.project-title { max-width: none; margin: 18px 0 0; font: 500 clamp(1.15rem, 2.1vw, 1.75rem)/1.35 var(--serif); text-wrap: wrap; }
.dek { max-width: 920px; margin: 28px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.authors { max-width: 1100px; margin: 28px 0 0; color: #58626f; font-size: .91rem; line-height: 1.9; }
.authors > span { white-space: nowrap; }
.authors sup { margin-left: 3px; color: var(--muted); font-size: .65em; line-height: 0; }
.authors a { color: var(--ink); text-decoration: underline; text-decoration-color: #6cac66; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hero-links, .button-row, .paper-links { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.institution-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 24px 34px; margin: 28px 0 30px; padding: 0 0 0 8px; list-style: none; }
.institution-logo { position: relative; display: flex; align-items: center; min-height: 66px; }
.institution-logo > sup { position: absolute; top: 0; left: -10px; color: var(--muted); font-size: .64rem; line-height: 1; }
.institution-logo img { display: block; width: 64px; height: 64px; object-fit: contain; mix-blend-mode: multiply; }
.institution-logo-gamma img { width: 174px; height: auto; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.hero-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 19px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; font: 550 .86rem/1 var(--sans); }
.hero-button > span { display: block; line-height: 20px; white-space: nowrap; }
.button-icon { display: block; flex: 0 0 20px; width: 20px; height: 20px; }
.hero-button .button-icon { color: var(--teal); }
.hero-button:hover { border-color: #85b9ad; background: #f2f8f5; }
.hero-button-primary { border-color: #9cb7ae; color: var(--teal); background: var(--soft); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px 18px; border: 1px solid transparent; font-size: .86rem; font-weight: 650; line-height: 20px; }
.button-dark { color: #fff; background: var(--dark); }
.button-dark:hover { background: var(--teal); }
.button-light { color: var(--dark); background: #f8fcfa; }
.button-light:hover { background: var(--mint); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-size: .88rem; font-weight: 650; line-height: 20px; }
.light-link { color: #9ed4c9; }
.hero-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 40px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-stats div { min-width: 0; padding: 18px 18px 18px 0; border-right: 1px solid var(--line); }
.hero-stats div:not(:first-child) { padding-left: 18px; }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { display: block; font: 600 2.15rem var(--serif); }
.hero-stats span, .metric-grid span, .metric-grid small { display: block; color: var(--muted); font-size: .75rem; }
.hero-stats small { display: block; font: inherit; }
.parameter-note { max-width: 840px; margin: 12px 0 34px; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.paper-figure { margin: 0; }
.figure-source { display: block; }
.paper-figure img { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--line); }
figcaption { margin-top: 12px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.hero-figure img { max-height: 435px; object-fit: contain; }
.findings-section { padding-bottom: 72px; }
.findings-intro { max-width: 920px; margin: 18px 0 0; color: var(--muted); font-size: 1rem; }
.findings-list { display: grid; gap: 18px; margin-top: 28px; }
.finding { min-width: 0; padding: 21px 24px; border: 1px solid var(--line); border-left: 3px solid var(--teal); background: var(--soft); }
.finding h3 { color: var(--ink); font-size: 1.13rem; font-weight: 600; line-height: 1.4; text-wrap: pretty; }
.finding-body { padding-top: 10px; }
.finding-body p { max-width: 1020px; margin: 0; color: var(--ink); font-size: .94rem; line-height: 1.65; }
.finding-body strong { font-weight: 650; }
.finding-body a { display: inline-block; margin-top: 10px; color: var(--teal); font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; }
.finding-body a:hover { text-decoration-thickness: 2px; }
.band { padding: 80px 0; }
.band-light { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-paper { background: #f5f6f2; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { max-width: 760px; }
.section-heading > p { margin: 20px 0 0; color: var(--muted); font-size: 1rem; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr); align-items: end; gap: 75px; max-width: none; }
.split-heading > p { margin: 0 !important; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; margin-top: 44px; }
.method-grid article { padding-top: 17px; border-top: 1px solid #9eaaa6; }
.method-grid p { margin: 13px 0 0; color: var(--muted); font-size: .94rem; }
.contract-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid #aebbb7; border-bottom: 1px solid #aebbb7; }
.contract-row div { padding: 17px 20px 19px 0; border-right: 1px solid #aebbb7; }
.contract-row div:not(:first-child) { padding-left: 20px; }
.contract-row div:last-child { border-right: 0; }
.contract-row span { display: block; color: var(--rust); font-size: .7rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.contract-row strong { display: block; margin-top: 6px; font: 1.25rem var(--serif); }
.contract-row small { display: block; margin-top: 4px; color: var(--muted); font-size: .75rem; }
.evidence-section, .real-world-section { padding: 80px 0; }
.wide-figure { margin-top: 40px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 38px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-grid div { padding: 20px 20px 20px 0; border-right: 1px solid var(--line); }
.metric-grid div:not(:first-child) { padding-left: 20px; }
.metric-grid div:last-child { border-right: 0; }
.metric-grid strong { display: block; color: var(--rust); font: 600 2.2rem var(--serif); }
.metric-grid small { margin-top: 3px; }
.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; margin-top: 54px; }
.axis-section { padding: 80px 0; }
.axis-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 28px 24px; margin-top: 32px; }
.axis-card { min-width: 0; padding-top: 13px; border-top: 1px solid #aebbb7; }
.axis-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; }
.axis-title h3 { font-size: 1.08rem; }
.axis-title strong { flex: 0 0 auto; color: var(--teal); font: 600 1rem var(--serif); }
.axis-card p { max-width: 520px; margin: 11px 0 0; color: var(--muted); font-size: .81rem; line-height: 1.55; overflow-wrap: anywhere; }
.axis-card .case-type { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 8px; font-size: .7rem; line-height: 1.35; }
.case-in-domain { border-top-color: var(--teal); }
.case-in-domain .case-type { color: var(--teal); }
.case-instruction { margin-top: 12px; color: var(--muted); font-size: .77rem; }
.case-instruction summary { width: fit-content; cursor: pointer; }
.case-instruction p { font-size: .78rem; }
.axis-video { display: block; width: 100%; aspect-ratio: 1; margin-top: 12px; border: 1px solid var(--line); background: #111; object-fit: contain; }
.latent-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.latent-section .section-heading { max-width: 920px; }
.latent-figure { margin: 32px 0 0; }
.latent-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.latent-table { width: 100%; min-width: 820px; table-layout: fixed; border-collapse: collapse; }
.latent-camera-column { width: 112px; }
.latent-table th { color: var(--muted); font-size: .8rem; font-weight: 500; text-align: center; }
.latent-table th:first-child[rowspan], .latent-table tbody th { position: sticky; left: 0; z-index: 1; background: var(--soft); text-align: left; }
.latent-table tbody th { color: var(--ink); padding-right: 12px; font-weight: 600; }
.latent-groups th { padding: 0 5px 9px; }
.latent-groups th[colspan] { color: var(--teal); border-bottom: 1px solid #9cb7ae; }
.latent-groups th[rowspan] { padding-left: 0; }
.latent-steps th { padding: 9px 5px 12px; font-size: .75rem; }
.latent-table td { padding: 0 3px 10px; vertical-align: top; }
.latent-table td.latent-context img { border-color: #aebbb7; }
.latent-table img { display: block; width: 100%; height: auto; aspect-ratio: 1; image-rendering: pixelated; border: 1px solid #9cb7ae; }
.latent-table td.latent-pending { padding-top: 3px; }
.latent-pending div { min-height: 142px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 24px; border: 1px dashed #aebbb7; color: var(--muted); font-size: .86rem; }
.latent-pending small { font-size: .77rem; }
.latent-scroll-hint { display: none; margin: 10px 0 0; color: var(--muted); font-size: .76rem; }
.latent-figure figcaption { max-width: 1000px; }
.evidence-card { border-top: 2px solid var(--ink); padding-top: 17px; }
.evidence-card p { min-height: 97px; margin: 15px 0 24px; color: var(--muted); font-size: .93rem; }
.compact-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.results-overview { margin-top: 38px; }
.table-scroll { overflow-x: auto; }
.summary-table th:last-child, .summary-table td:last-child { color: var(--teal); background: var(--mint); }
.summary-table caption { padding-bottom: 12px; text-align: left; color: var(--muted); font-size: .82rem; }
.summary-table tbody th, .summary-table tbody td { padding-top: 16px; padding-bottom: 16px; }
.protocol-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 25px; }
.protocol-grid strong, .protocol-grid span, .protocol-grid a { display: block; }
.protocol-grid strong { font-size: .88rem; }
.protocol-grid span { margin: 4px 0 7px; color: var(--muted); font-size: .8rem; }
.protocol-grid a { color: var(--teal); font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; }
.compact-table th, .compact-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: right; }
.compact-table th:first-child, .compact-table td:first-child { text-align: left; }
.compact-table thead th { color: var(--muted); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }
.compact-table tbody th { font-weight: 600; }
.compact-table td { font-variant-numeric: tabular-nums; }
.accent-row { color: var(--teal); background: var(--mint); }
.source-note { display: block; margin-top: 11px; color: var(--muted); font-size: .72rem; }
.pareto-figure { margin-top: 48px; }
.real-world-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: 48px; margin-top: 40px; align-items: start; }
.real-world-grid figure:first-child img { max-height: 455px; object-fit: contain; }
.result-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result-strip span { padding: 18px 17px 18px 0; border-right: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.result-strip span:not(:first-child) { padding-left: 17px; }
.result-strip span:last-child { border-right: 0; }
.result-strip strong { display: block; color: var(--ink); font: 1.35rem var(--serif); }
.band-ink { color: #f3f7f4; background: var(--dark); }
.band-ink p { max-width: 620px; color: #b9c7c4; }
.reproduce-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr); gap: 90px; align-items: center; }
.reproduce-layout .button-row { margin-top: 31px; }
pre { margin: 0; padding: 25px; overflow-x: auto; color: #d8ece7; background: #202f31; border: 1px solid var(--dark-line); font: .8rem/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--dark-line); color: #aebdb9; font-size: .84rem; }
.code-notes strong { display: block; margin-bottom: 4px; color: #f3f7f4; font: 1.15rem var(--serif); }
.code-notes p { margin: 10px 0 13px; }
.code-notes .text-link { font-size: .8rem; }
.paper-section { max-width: 1000px; padding: 70px 0 58px; }
.paper-section > p { margin: 18px 0 27px; color: var(--muted); }
.paper-meta { display: flex; gap: 25px; flex-wrap: wrap; margin-bottom: 31px; color: var(--muted); font-size: .8rem; }
.paper-meta span { padding-right: 25px; border-right: 1px solid var(--line); }
.paper-meta span:last-child { border-right: 0; }
.citation-block { max-width: 900px; margin-top: 24px; }
.citation-block summary { display: inline-block; color: var(--teal); cursor: pointer; font-size: .88rem; font-weight: 650; }
.citation-block pre { margin-top: 15px; color: var(--ink); background: var(--soft); border: 1px solid var(--line); font-size: .73rem; line-height: 1.6; white-space: pre-wrap; }
.paper-section .citation-block { width: 100%; color: var(--ink); background: var(--soft); border: 1px solid var(--line); font: .78rem/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }
.paper-section .citation-block code { font: inherit; }
a:focus-visible, summary:focus-visible, .table-scroll:focus-visible, .latent-scroll:focus-visible { outline: 2px solid var(--teal); outline-offset: 5px; }
.footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; padding: 20px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.footer a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) {
  .section-wrap, .topbar { width: min(100% - 34px, 1160px); }
  .topbar { min-height: 64px; height: auto; padding: 16px 0; align-items: flex-start; gap: 16px; }
  nav { justify-content: flex-end; flex-wrap: wrap; gap: 9px 13px; font-size: .72rem; }
  .wordmark { flex-shrink: 0; }
  .hero { padding: 42px 0 56px; }
  .institution-logos { gap: 22px 26px; }
  .institution-logo { min-height: 58px; }
  .institution-logo img { width: 56px; height: 56px; }
  .institution-logo-gamma img { width: 150px; height: auto; }
  h2 { font-size: 2.1rem; }
  .findings-section { padding-bottom: 56px; }
  .hero-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hero-stats div { grid-column: span 2; }
  .hero-stats div:nth-child(-n+2) { grid-column: span 3; }
  .hero-stats div:nth-child(2) { border-right: 0; }
  .hero-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-stats div:nth-child(3) { padding-left: 0; }
  .band, .evidence-section, .real-world-section, .paper-section { padding: 58px 0; }
  .split-heading, .reproduce-layout { grid-template-columns: 1fr; gap: 32px; }
  .latent-scroll-hint { display: block; }
  .method-grid, .evidence-grid { grid-template-columns: 1fr; gap: 40px; }
  .method-grid { margin-top: 50px; }
  .axis-section { padding: 58px 0; }
  .axis-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; margin-top: 30px; }
  .contract-row { grid-template-columns: 1fr; }
  .contract-row div, .contract-row div:not(:first-child) { padding: 15px 0; border-right: 0; border-bottom: 1px solid #aebbb7; }
  .contract-row div:last-child { border-bottom: 0; }
  .contract-row strong { display: inline; margin-left: 8px; }
  .contract-row small { display: inline; margin-left: 8px; }
  .metric-grid, .result-strip, .code-notes { grid-template-columns: 1fr 1fr; }
  .metric-grid div:nth-child(2), .result-strip span:nth-child(2) { border-right: 0; }
  .metric-grid div:nth-child(3), .result-strip span:nth-child(3), .result-strip span:nth-child(4) { border-top: 1px solid var(--line); }
  .metric-grid div:nth-child(3), .result-strip span:nth-child(3) { padding-left: 0; }
  .result-strip span:nth-child(4) { border-right: 0; }
  .real-world-grid { grid-template-columns: 1fr; }
  .real-world-grid figure:first-child img { max-height: none; }
  .reproduce-layout { gap: 43px; }
  .code-notes { gap: 20px; margin-top: 55px; }
  .paper-meta { gap: 12px; }
  .paper-meta span { padding-right: 12px; }
}
@media (max-width: 520px) {
  .topbar { flex-direction: column; gap: 10px; }
  nav { justify-content: flex-start; gap: 9px 14px; }
  h1 { font-size: clamp(2.4rem, 11.5vw, 2.9rem); }
  h2 { font-size: 1.85rem; }
  .dek { font-size: 1.02rem; }
  .authors { font-size: .76rem; }
  .institution-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; max-width: 400px; margin: 24px 0; }
  .institution-logo > sup { left: -8px; font-size: .58rem; }
  .institution-logo-gamma { grid-column: span 2; }
  .institution-logo-gamma img { width: min(100%, 150px); height: auto; }
  .hero-actions { gap: 10px; }
  .hero-button { height: 44px; padding: 0 13px; }
  .axis-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats strong { font-size: 1.75rem; }
  .hero-stats div:nth-child(n+3) { padding-right: 8px; }
  .hero-stats div:nth-child(n+4) { padding-left: 12px; }
  .hero-stats div:nth-child(n+3) strong { font-size: clamp(1.25rem, 5.5vw, 1.75rem); }
  .finding { padding: 17px 16px; }
  .finding h3 { font-size: 1.05rem; }
  .metric-grid, .result-strip, .code-notes, .protocol-grid { grid-template-columns: 1fr; }
  .metric-grid div, .metric-grid div:not(:first-child), .result-strip span, .result-strip span:not(:first-child) { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .metric-grid div:last-child, .result-strip span:last-child { border-bottom: 0; }
  .metric-grid div:nth-child(2), .metric-grid div:nth-child(3), .result-strip span:nth-child(2), .result-strip span:nth-child(3), .result-strip span:nth-child(4) { border-top: 0; }
  .code-notes > div { padding-bottom: 13px; border-bottom: 1px solid var(--dark-line); }
  .code-notes > div:last-child { border-bottom: 0; }
  .footer { display: block; }
  .footer span { display: block; margin-top: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
