@font-face { font-family: Chivo; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/chivo-regular.ttf") format("truetype"); }
@font-face { font-family: Chivo; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/chivo-bold.ttf") format("truetype"); }
@font-face { font-family: Chivo; font-style: normal; font-weight: 900; font-display: swap; src: url("assets/fonts/chivo-black.ttf") format("truetype"); }
:root {
  color-scheme: light;
  --paper: #fff;
  --white: #ffffff;
  --ink: #28332d;
  --muted: #68736c;
  --green: #356b58;
  --green-dark: #244e3e;
  --purple: #8b77a2;
  --line: #dfe3dc;
  --surface: #f0f3ec;
  --surface-deep: #edf3e9;
  --resource-fill: #363636;
  --resource-hover: #2f2f2f;
  --baseline: #c4b8d2;
  --baseline-ink: #786688;
  --scrim: rgb(19 32 25 / 70%);
  --gutter: 28px;
  --width: 1560px;
  --step-small: 14px;
  --step-body: 18px;
  --step-lead: 28px;
  --step-head: clamp(40px, 5.2vw, 76px);
  --step-display: clamp(68px, 11.1vw, 180px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  font-family: Chivo, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: var(--step-body); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
::selection { background: var(--green-dark); color: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3, h4 { margin: 0; }
ul { margin: 0; padding: 0; }
sub, sup { font-size: .68em; line-height: 0; }
sub { vertical-align: -.25em; }
sup { vertical-align: super; }
strong, b { font-weight: 700; }
[hidden] { display: none !important; }
.wrap { width: min(var(--width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
p { max-width: 65ch; }
.skip-link { position: fixed; top: -90px; left: var(--gutter); z-index: 30; background: var(--green-dark); color: var(--paper); padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--paper); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: var(--step-lead); font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); margin-left: auto; font-size: var(--step-small); color: var(--muted); }
.nav-links a { padding: 16px 0; }
.nav-links a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 7px; }
.nav-code { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; padding: 10px 18px; margin-left: 18px; background: var(--surface); color: #405346; font-size: var(--step-small); font-weight: 700; }
.hero { padding-top: 24px; }
.hero-title { display: grid; grid-template-columns: 7fr 5fr; align-items: center; gap: 56px; padding-block: 18px 24px; }
.hero h1 { font-size: var(--step-display); line-height: .92; letter-spacing: -.055em; font-weight: 900; white-space: nowrap; }
.headline-reveal { display: block; }
.paper-name { color: var(--green); }
.paper-name > span { color: var(--purple); }
.paper-subtitle { font-size: var(--step-lead); line-height: 1.22; letter-spacing: -.03em; max-width: 33ch; }
.hero-lead { margin-top: 20px; max-width: 39ch; color: var(--muted); }
.demo-section { background: var(--paper); padding-block: 28px; }
.demo-stage { min-width: 0; }
#demo-video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #f5f3ee; }
.demo-stage figcaption { margin-top: 14px; font-size: var(--step-small); color: var(--muted); text-align: center; }
.author-row { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; }
.author-row li { white-space: nowrap; }
.section { min-height: 90svh; }
.chapter-inner { padding-block: 100px; }
h2 { font-size: var(--step-head); line-height: .98; font-weight: 900; letter-spacing: -.045em; text-wrap: balance; }
h3, h4 { font-size: var(--step-lead); line-height: 1.15; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
.section-heading { display: grid; grid-template-columns: 5fr 6fr; gap: 8%; margin-bottom: 56px; }
.section-heading h2 { max-width: 13ch; }
.section-intro { align-self: end; }
.section-intro p { color: #3e4c42; }
.section-intro strong { color: var(--ink); }
.section-intro p + p { margin-top: 16px; }
#overview { background: var(--white); }
#analysis { background: var(--paper); }
#method { background: var(--paper); }
#results { background: var(--paper); color: var(--ink); }
#ablations { background: var(--white); }
#real-world { background: var(--paper); }
#authors { background: var(--paper); }
.paper-figure { min-width: 0; }
.figure-link { display: block; cursor: zoom-in; background: var(--white); }
.figure-link img { width: 100%; }
.paper-figure figcaption { font-size: var(--step-small); margin-top: 18px; max-width: 75ch; color: var(--muted); }
.paper-figure figcaption strong { font-weight: 700; }
.policy-equation { display: grid; grid-template-columns: 5fr 6fr; align-items: center; gap: 8%; margin-block: 40px; }
.policy-equation .equation { padding-block: 16px; }
.equation { max-width: 100%; overflow-x: auto; padding-block: 8px; }
.equation math { font-family: math; font-size: clamp(18px, 1.65vw, 24px); }
.equation-note p, .math-caption { font-size: var(--step-small); line-height: 1.55; max-width: 75ch; }
.equation-note p { color: var(--muted); }
.math-caption { color: #566653; }
.math-intro { color: #425340; }
.route-label { color: var(--green); }
.inline-math { white-space: nowrap; font-style: italic; }
.diagnostic-lead { display: grid; grid-template-columns: 3fr 8fr; gap: 6%; align-items: start; }
.diagnostic-notes { font-size: var(--step-body); color: #465647; }
.diagnostic-notes strong { display: block; margin-bottom: 16px; }
.math-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.diagnostic-math { margin-top: 56px; }
.math-grid h3 { margin-bottom: 18px; }
.math-grid .math-caption { margin-top: 18px; }
.diagnostic-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 5%; margin-top: 80px; }
.diagnostic-grid > div { min-width: 0; }
.diagnostic-grid h3 { max-width: 24ch; }
.figure-reading { margin-block: 18px 24px; max-width: 60ch; color: #566452; }
.method-figure { margin-bottom: 56px; }
.method-core { display: grid; grid-template-columns: 5fr 6fr; column-gap: 8%; row-gap: 24px; }
.method-core h3 { grid-column: 1; }
.method-core .math-grid { grid-column: 2; gap: 20px; }
.method-core > p { grid-column: 2; }
.results-details, .method-detail { margin-top: 28px; }
.method-detail:not([open]) > .detail-content, .results-details:not([open]) > :not(summary) { display: none; }
.results-details summary, .method-detail summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 24px; list-style: none; background: var(--surface); color: var(--green-dark); font-size: var(--step-body); cursor: pointer; }
.results-details summary::-webkit-details-marker, .method-detail summary::-webkit-details-marker { display: none; }
.results-details summary > span, .method-detail summary > span { font-size: var(--step-lead); line-height: 1; transition: transform 200ms var(--ease); }
.results-details[open] summary > span, .method-detail[open] summary > span { transform: rotate(45deg); }
.detail-content { max-width: 1060px; padding: 32px 24px 16px; }
.detail-content h3 { margin-block: 32px 20px; max-width: 30ch; }
.detail-content h3:first-child { margin-top: 0; }
.detail-content p { margin-block: 20px; }
.math-derivation .equation-note { margin-block: 32px; }
.coupling-main { margin-block: 24px; }
.chunk-note { margin-top: 24px; }
.benchmark-panel { background: var(--white); color: var(--ink); padding: 36px 28px; }
.benchmark-panel + .benchmark-panel { margin-top: 40px; }
.benchmark-heading { display: flex; align-items: start; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.benchmark-heading > div p { font-size: var(--step-small); margin-top: 10px; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: var(--step-small); color: #556152; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend span::before { content: ""; width: 14px; height: 14px; background: var(--baseline); }
.legend .ours-key::before { background: #215d43; }
.benchmark-charts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.backbone-chart { min-width: 0; }
.backbone-summary { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-top: 16px; font-size: var(--step-body); font-variant-numeric: tabular-nums; color: var(--muted); }
.backbone-summary strong { font-size: var(--step-lead); letter-spacing: -.035em; color: var(--green-dark); }
.backbone-summary b { font-size: var(--step-small); color: var(--green-dark); }
.score-arrow { color: #8c978a; }
.mean-label { font-size: var(--step-small); margin-block: 6px 24px; color: var(--muted); }
.benchmark-chart, .ablation-chart { display: block; width: 100%; height: auto; overflow: visible; font-family: inherit; }
.chart-gridline { stroke: #e3e7de; stroke-width: 1; }
.axis-title, .tick-label { fill: #65725f; font-size: 12px; }
.suite-highlight { fill: #f4f6ee; }
.bar-baseline { fill: var(--baseline); stroke: #a99ab8; }
.bar-ours { fill: #215d43; }
.axis-break { fill: none; stroke: #65725f; stroke-width: 1.5; }
.bar-value { font-size: 12px; fill: var(--baseline-ink); font-variant-numeric: tabular-nums; }
.ours-value { fill: var(--green-dark); font-weight: 700; }
.gain-bg { fill: #eaf1e6; }
.neutral-bg { fill: #f0f2ed; }
.gain-label { font-size: 12px; fill: var(--green-dark); font-weight: 700; }
.neutral-label { fill: #6e7d65; }
.gain-bg.largest-gain { fill: #215d43; }
.gain-label.largest-gain { fill: #fff; }
.suite-label { font-size: 12px; fill: #3f4f40; }
.benchmark-finding { font-size: var(--step-body); margin-top: 32px; color: #405941; }
.table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.table-hint { display: none; }
.results-table { width: 100%; min-width: 750px; border-collapse: collapse; font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.results-table caption { text-align: left; padding-block: 24px 16px; font-size: var(--step-small); color: var(--muted); }
.results-table th, .results-table td { padding: 16px 14px; white-space: nowrap; text-align: right; border: 0; }
.results-table thead th { background: var(--surface); font-weight: 700; color: var(--muted); }
.results-table th:first-child, .results-table .method-cell { text-align: left; }
.results-table .backbone-cell { background: var(--paper); }
.results-table .ours-row { background: var(--surface-deep); }
.results-table .mean-cell { font-weight: 700; background: rgb(53 107 88 / 4%); }
.results-table .variance-cell { color: var(--muted); }
.protocol { font-size: var(--step-small); margin-block: 24px 0; max-width: 75ch; color: var(--muted); }
.variant-description { display: block; margin-top: 4px; font-weight: 400; color: var(--muted); }
.ablation-table th:first-child { width: 40%; white-space: normal; }
.ablation-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ablation-chart-panel { min-width: 0; }
.ablation-chart-panel h3 { margin-bottom: 24px; }
.ablation-value { font-size: 16px; fill: var(--baseline-ink); }
.ablation-value.ours-value { fill: var(--green-dark); }
.variant-label { font-size: 14px; fill: #55634f; }
.variant-label.ours-value { fill: var(--green-dark); }
.ablation-legend { margin-top: 24px; }
.ablation-findings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-block: 48px; color: #45543f; }
.ablation-findings p { max-width: 44ch; }
.ablation-findings strong { display: block; margin-bottom: 16px; color: #26392b; }
.finding-gain { white-space: nowrap; font-weight: 700; color: var(--green-dark); }
.task-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 104px 48px; }
.task-card { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; min-width: 0; align-items: start; }
.task-image { display: block; cursor: zoom-in; }
.task-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.task-body { display: flex; flex-direction: column; min-width: 0; }
.task-gain { margin-bottom: 10px; font-size: var(--step-lead); font-weight: 700; letter-spacing: -.035em; color: var(--green); }
.task-card h3 { margin-bottom: 14px; }
.task-description { font-size: var(--step-body); margin-bottom: 16px; color: #57645a; }
.task-score { display: grid; grid-template-columns: 76px 1fr 38px; gap: 8px; align-items: center; margin-top: 8px; font-size: var(--step-small); color: var(--baseline-ink); }
.task-score b { text-align: right; font-variant-numeric: tabular-nums; }
.task-track { height: 8px; background: #edf0e8; }
.task-track i { display: block; height: 100%; background: var(--baseline); }
.task-score.ours i { background: var(--green); }
.task-score.ours { color: var(--green-dark); }
.watch-trial { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 12px; margin-top: 18px; font-size: var(--step-small); font-weight: 700; color: var(--green-dark); }
.chart-note { margin-top: 32px; font-size: var(--step-small); color: var(--muted); }
.author-notes { display: grid; gap: 12px; font-size: var(--step-small); color: var(--muted); }
.affiliations { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; list-style: none; color: #535f56; }
.affiliations li { font-size: var(--step-body); }
.institution-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-block: 40px; }
.institution-logo { display: flex; align-items: center; justify-content: center; height: 60px; width: 66px; }
.institution-logo img { width: auto; height: auto; max-width: 100%; max-height: 60px; object-fit: contain; }
.institution-nus, .institution-ntu { width: 150px; }
.author-emails { font-size: var(--step-body); color: var(--green-dark); }
.author-emails p { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 12px; }
.author-emails a { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #98b5a8; }
.site-footer { background: var(--paper); color: var(--muted); }
.footer-inner { padding-block: 80px 40px; }
.footer-mark { display: block; font-size: clamp(68px, 18.3vw, 280px); line-height: .95; font-weight: 900; letter-spacing: -.055em; color: var(--ink); }
.footer-close { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-top: 40px; }
.footer-close p { font-size: var(--step-body); }
.back-to-top { font-size: var(--step-small); font-weight: 700; padding-block: 12px; color: var(--green); }
.figure-dialog, .video-dialog { width: min(1460px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow: auto; }
.figure-dialog::backdrop, .video-dialog::backdrop { background: var(--scrim); }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; }
.dialog-toolbar h2 { font-size: var(--step-lead); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0; padding: 0; border: 0; background: var(--white); color: var(--ink); font-size: var(--step-lead); cursor: pointer; }
.icon-button:hover, .icon-button[aria-pressed="true"] { background: #edf1e9; }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.dialog-canvas { display: flex; align-items: center; justify-content: center; height: min(70dvh, 880px); overflow: auto; background: var(--white); overscroll-behavior: contain; }
.dialog-canvas img { max-width: 100%; max-height: 100%; width: auto; height: auto; flex-shrink: 0; cursor: zoom-in; }
.dialog-canvas.is-zoomed { display: block; }
.dialog-canvas.is-zoomed img { width: var(--zoom-width); max-width: none; max-height: none; margin-inline: auto; cursor: zoom-out; }
.dialog-hint { padding: 16px 24px; font-size: var(--step-small); color: var(--muted); }
.video-dialog { width: min(1120px, calc(100% - 48px)); }
.video-dialog video { display: block; width: 100%; max-height: 70dvh; aspect-ratio: 16 / 9; object-fit: contain; background: #f5f3ee; }
.video-dialog-caption { padding: 20px 24px; }
.video-dialog-caption p + p { margin-top: 12px; font-size: var(--step-small); color: var(--muted); }
a, button { transition: transform 180ms var(--ease), opacity 180ms var(--ease); }
a:active, button:active { transform: translateY(2px); }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover, .watch-trial:hover, .back-to-top:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
  .nav-code:hover { transform: translateY(-2px); }
  .nav-links a:hover, .nav-links a[aria-current="location"], .author-emails a:hover { color: var(--green-dark); }
  .watch-trial:hover { color: var(--purple); }
}
@media (max-width: 1100px) {
  .hero-title { gap: 28px; }
  .benchmark-charts { gap: 18px; }
  .benchmark-panel { padding-inline: 20px; }
  .task-card { grid-template-columns: 1fr; }
  .task-description { min-height: 84px; }
  .nav-links { gap: 20px; }
  .nav-code { margin-left: 0; }
}
@media (max-width: 850px) {
  :root { --gutter: 24px; --step-head: 56px; --step-display: 16vw; }
  .nav { flex-wrap: wrap; padding-block: 20px; gap: 16px; }
  .nav-links { order: 3; justify-content: space-between; width: 100%; gap: 12px; }
  .nav-links a { padding-block: 8px; }
  .nav-code { margin-left: auto; }
  .hero { padding-top: 12px; }
  .hero-title { grid-template-columns: 1fr; padding-bottom: 36px; gap: 28px; }
  .hero-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; align-items: start; }
  .hero-lead { margin-top: 0; }
  .chapter-inner { padding-block: 72px; }
  .section-heading { grid-template-columns: 1fr; gap: 28px; margin-bottom: 40px; }
  .section-heading h2 { max-width: 18ch; }
  .section-intro { max-width: 65ch; }
  .policy-equation, .diagnostic-lead, .method-core { grid-template-columns: 1fr; gap: 28px; }
  .method-core > *, .method-core .math-grid, .method-core > p { grid-column: 1; }
  .policy-equation { margin-block: 32px; }
  .diagnostic-grid { gap: 32px; margin-top: 56px; }
  .diagnostic-grid h3 { max-width: 20ch; }
  .math-grid { gap: 28px; }
  .benchmark-charts { grid-template-columns: 1fr; gap: 44px; }
  .backbone-chart { display: grid; grid-template-columns: 1fr 1.7fr; column-gap: 24px; align-items: start; }
  .backbone-chart h4, .backbone-summary, .mean-label { grid-column: 1; }
  .backbone-chart .benchmark-chart { grid-column: 2; grid-row: 1 / span 3; }
  .backbone-summary { display: grid; gap: 4px; margin-top: 16px; }
  .backbone-summary .score-arrow { display: none; }
  .mean-label { margin-top: 8px; }
  .ablation-findings { grid-template-columns: 1fr; gap: 28px; margin-block: 40px; }
  .ablation-findings p { max-width: 65ch; }
  .ablation-findings strong { margin-bottom: 10px; }
  .task-gallery { gap: 96px 32px; }
  .affiliations { gap: 20px 28px; }
  .table-hint { display: block; font-size: var(--step-small); margin-top: 20px; }
}
@media (max-width: 560px) {
  :root { --gutter: 18px; --step-body: 16px; --step-lead: 24px; --step-head: 44px; --step-display: 16.8vw; }
  .nav { padding-block: 16px; }
  .brand { font-size: var(--step-lead); }
  .brand img { width: 26px; height: 26px; }
  .nav-code { padding-inline: 14px; gap: 12px; }
  .hero { padding-top: 8px; }
  .hero-title { gap: 22px; padding-top: 12px; }
  .hero h1 { font-size: 19.5vw; }
  .hero-copy { display: block; }
  .paper-subtitle { font-size: var(--step-lead); max-width: 30ch; }
  .paper-subtitle br { display: none; }
  .hero-lead { margin-top: 16px; max-width: 37ch; }
  .demo-section { padding-block: 18px 24px; }
  .demo-stage figcaption { font-size: var(--step-small); margin-top: 12px; }
  .author-row { gap: 10px 20px; }
  .chapter-inner { padding-block: 56px; }
  .section-heading h2 { max-width: 16ch; }
  .section-heading { gap: 24px; margin-bottom: 32px; }
  .section-intro p + p { margin-top: 14px; }
  .math-grid, .diagnostic-grid, .ablation-charts { grid-template-columns: 1fr; gap: 36px; }
  .diagnostic-lead { gap: 28px; }
  .diagnostic-math { margin-top: 40px; }
  .diagnostic-grid { margin-top: 48px; }
  .paper-figure figcaption { margin-top: 14px; }
  .method-figure { margin-bottom: 40px; }
  .method-core .math-grid { gap: 16px; }
  .results-details summary, .method-detail summary { padding: 18px 16px; font-size: var(--step-body); }
  .detail-content { padding: 24px 0 12px; }
  .benchmark-panel { padding: 28px 16px; margin-inline: calc(var(--gutter) * -1); }
  .benchmark-heading { display: block; margin-bottom: 28px; }
  .benchmark-heading .legend { margin-top: 20px; gap: 8px 16px; }
  .benchmark-charts { gap: 40px; }
  .backbone-chart { display: block; }
  .backbone-summary { display: flex; align-items: baseline; margin-top: 10px; gap: 10px; }
  .backbone-summary .score-arrow { display: inline; }
  .mean-label { margin-block: 6px 24px; }
  .benchmark-finding { margin-top: 24px; }
  .ablation-chart-panel h3 { margin-bottom: 20px; }
  .task-gallery { grid-template-columns: 1fr; gap: 80px; }
  .task-card { grid-template-columns: 1fr; gap: 24px; }
  .task-gain { font-size: var(--step-head); line-height: 1; margin-bottom: 12px; }
  .task-description { min-height: 0; max-width: 40ch; }
  .task-score { grid-template-columns: 80px 1fr 40px; }
  .task-card h3 { font-size: var(--step-lead); }
  .watch-trial { margin-top: 14px; }
  .affiliations { grid-template-columns: 1fr; gap: 20px; }
  .institution-logos { gap: 24px; margin-block: 32px; }
  .institution-logo { width: 56px; height: 52px; }
  .institution-logo img { max-height: 52px; }
  .institution-nus, .institution-ntu { width: 124px; }
  .author-emails { font-size: var(--step-body); }
  .author-emails p { display: grid; gap: 10px; margin-top: 10px; }
  .footer-inner { padding-block: 40px 32px; }
  .footer-mark { font-size: 19vw; }
  .footer-close { align-items: start; margin-top: 28px; gap: 20px; }
  .figure-dialog, .video-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .dialog-toolbar { padding: 16px; gap: 16px; }
  .dialog-toolbar h2 { font-size: var(--step-body); }
  .dialog-canvas { height: 65dvh; }
  .dialog-hint, .video-dialog-caption { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Research attribution is part of the paper header, before all demonstrations. */
.hero-attribution { max-width: 1240px; padding-block: 0 32px; text-align: center; }
.hero-attribution .author-row { justify-content: center; gap: 8px 28px; font-size: var(--step-body); line-height: 1.65; }
.hero-attribution .author-row + .author-row { margin-top: 4px; }
.hero-attribution .affiliations { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 24px; margin-top: 18px; }
.hero-attribution .affiliations li { font-size: var(--step-small); }
.hero-attribution .author-notes { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin: 10px auto 0; }
.hero-attribution .institution-logos { justify-content: center; gap: 32px; margin-block: 20px; }
.hero-attribution .author-emails { font-size: 16px; }
.hero-attribution .author-emails p { justify-content: center; max-width: none; margin-top: 8px; }
.resource-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.resource { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 7px 20px; border: 1px solid transparent; border-radius: 999px; background: var(--resource-fill); color: var(--white); font-size: 16px; font-weight: 400; line-height: 1.5; opacity: 1; }
.resource:disabled { cursor: default; }
.resource svg { width: 16px; height: 16px; fill: currentColor; }
.availability { font-weight: 400; font-size: 12px; }
.resource[href]:hover { background: var(--resource-hover); }
.resource:focus-visible { outline-color: var(--resource-fill); }
@media (max-width: 850px) {
  .hero-attribution .author-row { gap: 8px 24px; }
  .hero-attribution .affiliations { gap: 8px 20px; }
  .hero-attribution .institution-logos { gap: 20px; }
}
@media (max-width: 560px) {
  .hero-attribution { padding-bottom: 28px; text-align: left; }
  .hero-attribution .author-row { justify-content: flex-start; gap: 10px 20px; }
  .hero-attribution .affiliations { display: grid; gap: 10px; text-align: left; }
  .hero-attribution .author-notes { justify-content: flex-start; }
  .hero-attribution .institution-logos { justify-content: flex-start; gap: 20px; margin-block: 24px; }
  .hero-attribution .author-emails p { justify-content: flex-start; }
}
