:root {
  color-scheme: light;
  --ink: #18242d;
  --muted: #53616a;
  --line: #dce4e8;
  --surface: #f8fafb;
  --white: #fff;
  --teal: #0b7b83;
  --teal-dark: #075e65;
  --rose: #b44b75;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.page-width { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 30; padding: 8px 14px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { width: min(1180px, calc(100% - 48px)); min-height: 66px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-size: 18px; font-weight: 800; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--rose); }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 34px); }
.site-nav a { color: var(--muted); font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--teal-dark); }
.hero { padding-top: clamp(50px, 6vw, 75px); padding-bottom: 58px; }
.hero-copy { max-width: 810px; margin-inline: auto; text-align: center; }
.eyebrow { margin: 0 0 14px; color: var(--teal-dark); font-size: 12px; font-weight: 760; letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 6px; font-size: clamp(58px, 8vw, 104px); line-height: 1; font-weight: 820; letter-spacing: 0; }
.paper-title { max-width: 760px; margin: 0 auto 18px; font-size: clamp(19px, 2.7vw, 28px); line-height: 1.25; font-weight: 650; }
.hero-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 25px 0 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 9px 16px; border: 1px solid var(--ink); border-radius: 5px; font-size: 13px; font-weight: 720; text-decoration: none; transition: background .15s, color .15s, transform .15s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.button-secondary { background: #fff; color: var(--ink); }
.button-secondary:hover { background: var(--surface); }
.section { padding: 82px 0; border-top: 1px solid var(--line); }
.section-introduction { background: #fff; }
.intro-body { max-width: 790px; }
.section-results { background: var(--surface); }
.results-block { padding: 24px 0 30px; border-top: 1px solid var(--line); }
.results-block + .results-block { margin-top: 12px; }
.results-block h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.3; }
.results-description, .table-note { max-width: 960px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.results-description { margin-bottom: 18px; }
.table-note { margin: 12px 0 0; }
.table-note a { color: var(--teal-dark); text-underline-offset: 2px; }
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.results-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.results-table caption { padding: 12px 15px; color: var(--muted); font-size: 12px; font-weight: 700; text-align: left; caption-side: top; }
.results-table th, .results-table td { padding: 11px 13px; border-top: 1px solid var(--line); white-space: nowrap; text-align: right; }
.results-table th:first-child { text-align: left; }
.results-table thead th { background: #eef4f5; color: var(--ink); font-weight: 750; }
.results-table tbody th { font-weight: 700; }
.results-table tbody tr.highlight-row { background: #f8e7eb; }
.manuscript-table { min-width: 1060px; }
.ablation-table { min-width: 1310px; }
.results-table .group-row th { background: #f6f8f9; color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
.results-table .group-row th:first-child { text-align: left; }
.ablation-table td:nth-child(2), .ablation-table td:nth-child(3), .ablation-table td:nth-child(4) { text-align: center; }
.overview-figure { margin: 38px auto 0; }
.overview-figure img { width: 100%; height: auto; border: 1px solid var(--line); }
.overview-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; text-align: right; }
.section-overview { background: var(--surface); }
.section-grid { display: grid; grid-template-columns: minmax(190px, 27%) minmax(0, 1fr); gap: 60px; }
h2 { margin-bottom: 0; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.12; font-weight: 760; }
.section-body { max-width: 770px; }
.section-body > p { margin-bottom: 23px; color: #394751; font-size: 17px; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--teal-dark); font-size: 13px; font-weight: 730; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.text-link:hover { color: var(--rose); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.full-figure { margin: 0; }
.full-figure > a { display: block; }
.full-figure img { width: 100%; height: auto; border: 1px solid var(--line); }
.full-figure figcaption { max-width: 1010px; margin: 15px auto 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.section-visualizations { background: var(--surface); }
.section-note { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.rotation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: min(100%, 780px); margin-inline: auto; }
.rotation-item { min-width: 0; margin: 0; background: #fff; border: 1px solid var(--line); }
.rotation-item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.rotation-item figcaption { padding: 10px 15px 14px; font-size: 13px; font-weight: 700; border-top: 1px solid var(--line); }
.subsection-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 68px 0 18px; }
.subsection-heading h3 { margin: 0; font-size: 21px; line-height: 1.25; }
.subsection-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.sheet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.sheet-item { min-width: 0; margin: 0; background: #fff; border: 1px solid var(--line); }
.sheet-item > a { display: block; overflow: hidden; }
.sheet-item img { width: 100%; aspect-ratio: 16/9; object-fit: contain; transition: transform .2s; }
.sheet-item > a:hover img { transform: scale(1.015); }
.sheet-item figcaption { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.sheet-item figcaption a { color: var(--teal-dark); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.sheet-item figcaption a:hover { text-decoration: underline; }
.materials-links { display: flex; flex-wrap: wrap; gap: 18px 26px; }
.site-footer { border-top: 1px solid var(--line); background: var(--ink); color: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 85px; font-size: 12px; }
.footer-inner span:first-child { font-size: 15px; font-weight: 800; }
.footer-inner span:last-child { color: #b7c3c9; }
@media (max-width: 700px) {
  html { scroll-padding-top: 138px; }
  .page-width, .header-inner { width: min(100% - 30px, 1180px); }
  .header-inner { min-height: 88px; padding-block: 9px; flex-direction: column; justify-content: center; gap: 5px; }
  .site-nav { width: 100%; justify-content: center; flex-wrap: wrap; gap: 5px clamp(10px, 3.1vw, 22px); }
  .site-nav a { font-size: 11px; }
  .hero { padding-top: 48px; padding-bottom: 46px; }
  .hero-links { margin-bottom: 27px; }
  .overview-figure { margin-top: 28px; }
  .overview-figure figcaption { text-align: left; }
  .section { padding: 58px 0; }
  .section-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-body > p { font-size: 15px; }
  .section-heading { align-items: start; flex-direction: column; gap: 13px; }
  .section-note { margin: 0; }
  .rotation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .rotation-item figcaption { padding: 7px 4px; font-size: 11px; text-align: center; }
  .subsection-heading { display: block; margin-top: 56px; }
  .subsection-heading p { margin-top: 8px; }
  .sheet-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .sheet-item img { transition: none; }
}
