:root {
  --paper: #fff;
  --surface: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #626267;
  --secondary: #77777c;
  --line: #dedee3;
  --action: #0066cc;
  --teal: #087f85;
  --orange: #b7551e;
  --blue: #3266a5;
  --award-surface: #fff8e9;
  --award-ink: #76551e;
  --award-border: #ecdcb8;
  --content: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
[hidden] { display: none !important; }
::selection { background: #d3e8ff; color: var(--ink); }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
button, input { font: inherit; }
button { cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:where(a, button, summary, input, [tabindex="0"]):focus-visible { outline: 3px solid var(--action); outline-offset: 5px; border-radius: 4px; }
p, h1, h2, h3, figure, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(38px, 4.3vw, 58px); line-height: 1.08; letter-spacing: -.045em; font-weight: 650; }
h3 { font-size: 23px; line-height: 1.25; letter-spacing: -.025em; font-weight: 650; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
sup { font-size: .65em; line-height: 0; }
sub { font-size: .7em; }
.container { width: min(var(--content), calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 112px; }
.section-index { color: var(--muted); font-size: 16px; font-weight: 600; margin-bottom: 18px; letter-spacing: -.01em; }
.mini-label, .figure-label { font-size: 13px; font-weight: 600; }
.section-heading { display: grid; grid-template-columns: 1.3fr 1fr; gap: 70px; align-items: end; margin-bottom: 56px; }
.section-heading > p { max-width: 420px; padding-bottom: 2px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.text-secondary { color: var(--secondary); }
.teal { color: var(--teal); }
.orange { color: var(--orange); }
.blue { color: var(--blue); }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--action); font-size: 15px; }
.text-link:hover { text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: 10px; z-index: 100; transform: translateY(-180%); padding: 10px 18px; background: var(--ink); color: white; }
.skip-link:focus { transform: none; }

/* Quiet navigation, generous opening. */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .87); border-bottom: 1px solid #00000012; backdrop-filter: blur(20px) saturate(160%); }
.header-inner { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-size: 21px; line-height: 1.2; font-weight: 650; letter-spacing: -.7px; white-space: nowrap; }
nav { display: flex; align-items: center; gap: 28px; font-size: 12px; }
nav a { padding-block: 12px; color: var(--muted); }
nav a:hover, nav a[aria-current="location"] { color: var(--ink); }
nav .nav-paper { background: var(--action); color: white; padding: 5px 15px; border-radius: 30px; }
.nav-paper span { padding-left: 4px; }
.hero { padding-top: 42px; padding-bottom: 76px; text-align: center; }
h1 { margin: 22px auto 24px; font-size: clamp(32px, 4.35vw, 62px); font-weight: 700; line-height: 1.12; letter-spacing: -.045em; }
.title-main { display: block; white-space: nowrap; }
.title-subtitle { display: block; max-width: 840px; margin: 17px auto 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; font-weight: 500; letter-spacing: -.025em; }
.hero-summary { max-width: 740px; margin-inline: auto; color: var(--muted); font-size: 18px; line-height: 1.65; text-wrap: balance; }
.hero-summary strong { color: var(--ink); font-weight: 500; }
.authors { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-top: 26px; font-size: 16px; font-weight: 550; }
.authors a:hover { color: var(--action); }
.authors sup { padding-left: 3px; color: var(--muted); }
.affiliations { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 7px; color: var(--muted); font-size: 12px; }
.affiliations sup { padding-right: 3px; }
.correspondence { margin-top: 4px; color: var(--muted); font-size: 11px; }
.correspondence a:hover { text-decoration: underline; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 45px; padding: 11px 23px; border: 1px solid transparent; border-radius: 28px; font-size: 14px; line-height: 1.4; transition: background .2s, transform .2s; }
.button-primary { background: var(--action); color: white; }
.button-primary:hover { background: #0071e3; transform: translateY(-1px); }
.button-secondary { background: var(--surface); color: var(--ink); }
.button-secondary:hover { background: #e8e8ed; transform: translateY(-1px); }
.resource-icon { flex: 0 0 auto; width: 20px; height: 20px; object-fit: contain; }
.button-primary .resource-icon { filter: brightness(0) invert(1); }
.award-link { display: inline-flex; align-items: center; justify-content: center; gap: 15px; max-width: 100%; min-height: 64px; padding: 13px 22px; border: 1px solid var(--award-border); border-radius: 18px; background: var(--award-surface); }
.award-link svg { width: 26px; height: 26px; color: var(--award-ink); }
.award-copy { display: flex; align-items: center; gap: 16px; line-height: 1.35; }
.award-rank { color: var(--award-ink); font-size: 19px; font-weight: 650; letter-spacing: -.4px; white-space: nowrap; }
.award-name { font-size: 16px; font-weight: 500; }
.award-arrow { color: var(--award-ink); font-size: 17px; }
.award-link:hover .award-name { text-decoration: underline; }
.award-scope { margin-top: 9px; color: var(--muted); font-size: 12px; }
.award-scope a { display: inline-block; padding-block: 6px; color: var(--action); }
.award-scope a:hover { text-decoration: underline; }
.hero-figure { margin-top: 48px; text-align: left; }
.figure-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 5px 19px; color: var(--muted); }
.figure-topline a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--action); font-size: 12px; }
.figure-topline a:hover { text-decoration: underline; }
.hero-figure > img { width: 100%; }
.hero-figure figcaption { max-width: 700px; margin: 24px auto 0; text-align: center; font-size: 15px; color: var(--muted); }
.hero-figure figcaption strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 20px; letter-spacing: -.4px; font-weight: 600; }
.gain-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 58px; }
.gain-item { padding: 10px; }
.gain-direction { font-size: 13px; font-weight: 550; color: var(--muted); }
.gain-value { display: flex; align-items: baseline; justify-content: center; gap: 7px; margin: 8px 0 4px; color: var(--ink); font-size: 60px; line-height: 1.1; letter-spacing: -.055em; font-weight: 650; font-variant-numeric: tabular-nums; }
.gain-unit { font-size: 17px; font-weight: 400; letter-spacing: -.3px; }
.gain-item p { font-size: 13px; color: var(--muted); }
.gain-footnote { margin-top: 25px; color: var(--muted); font-size: 11px; }

/* Task and method use open layouts. */
.question-section { padding-block: 106px; background: var(--surface); }
.question-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; }
.section-lead { max-width: 570px; font-size: 22px; line-height: 1.55; letter-spacing: -.35px; }
.task-questions { list-style: none; padding: 0; margin-top: 30px; }
.task-questions li { display: flex; align-items: start; gap: 18px; padding: 17px 0; }
.question-number { color: var(--secondary); font-size: 13px; padding-top: 2px; }
.task-questions h3 { font-size: 18px; line-height: 1.4; }
.task-questions p { color: var(--muted); font-size: 15px; margin-top: 5px; }
.task-challenge { margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.task-challenge strong { color: var(--ink); font-weight: 550; }
.pipeline-figure > a { display: block; position: relative; padding-bottom: 58px; }
.pipeline-figure img { width: 100%; }
.enlarge-tag { display: flex; align-items: center; gap: 12px; position: absolute; bottom: 0; right: 0; font-size: 13px; color: var(--muted); }
.enlarge-tag > span { display: grid; place-items: center; width: 34px; height: 34px; color: var(--ink); background: var(--surface); border-radius: 50%; font-size: 23px; transition: background .2s; }
.pipeline-figure a:hover .enlarge-tag > span { background: #e2e2e7; }
.pipeline-figure figcaption { padding-top: 17px; text-align: center; color: var(--muted); font-size: 12px; }
.predictor-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; margin-top: 52px; }
.predictor-list article { border-top: 1px solid var(--line); padding-top: 22px; }
.predictor-index { display: inline-grid; place-items: center; margin-bottom: 13px; width: 29px; height: 29px; border: 1px solid currentColor; border-radius: 50%; font-size: 12px; font-weight: 600; }
.predictor-list h3 { font-size: 18px; line-height: 1.4; }
.predictor-list p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.physical-insight { display: flex; align-items: center; gap: 28px; margin-top: 64px; padding: 37px; background: var(--surface); border-radius: 28px; }
.insight-mark { flex: 0 0 65px; color: var(--ink); }
.insight-mark svg { width: 65px; height: 65px; stroke-width: 2; }
.insight-arrow { stroke: var(--orange); }
.physical-insight .mini-label { margin-bottom: 9px; color: var(--muted); font-size: 12px; }
.physical-insight h3 { font-size: 25px; }
.physical-insight p:last-child { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.insight-tag { flex: 0 0 auto; margin-left: 3px; padding-left: 23px; border-left: 1px solid var(--line); font-size: 12px; line-height: 1.6; font-weight: 550; }

/* Numerical values remain fixed; there are no animated score counters. */
.results-section { padding-block: 108px; background: var(--surface); }
.result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.result-chart { background: white; border-radius: 28px; padding: 37px; }
.chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.metric-chip { font-size: 11px; color: var(--muted); white-space: nowrap; }
.result-chart h3 { font-size: 30px; letter-spacing: -.035em; line-height: 1.17; }
.result-chart > p { color: var(--muted); font-size: 14px; margin-top: 15px; max-width: 370px; }
.bar-chart { list-style: none; padding: 0; margin-top: 32px; }
.bar-chart li + li { margin-top: 20px; }
.bar-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; margin-bottom: 7px; }
.bar-label strong { flex: 0 0 auto; font-size: 18px; font-weight: 600; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.bar-track { height: 7px; background: var(--surface); border-radius: 6px; overflow: hidden; }
.bar { display: block; height: 100%; width: var(--bar-length); border-radius: inherit; }
.neutral-bar { background: #aaaab0; }
.orange-bar { background: var(--orange); }
.blue-bar { background: var(--blue); }
.teal-bar { background: var(--teal); }
.forest-bar { background: #244f41; }
.chart-axis { display: flex; justify-content: space-between; margin-top: 11px; font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chart-takeaway { display: flex; align-items: center; gap: 18px; padding-top: 30px; margin-top: 32px; border-top: 1px solid var(--line); }
.chart-takeaway strong { font-size: 51px; font-weight: 650; line-height: 1.1; letter-spacing: -2.2px; white-space: nowrap; }
.chart-takeaway span { color: var(--muted); max-width: 155px; font-size: 13px; line-height: 1.5; }
.result-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; margin: 28px 8px 0; font-size: 12px; line-height: 1.8; color: var(--muted); }
.result-notes strong { font-weight: 550; color: var(--ink); }
.evidence-details { border-block: 1px solid var(--line); margin: 31px 8px 0; }
.evidence-details summary { position: relative; list-style: none; cursor: pointer; padding: 20px 38px 20px 0; font-size: 14px; font-weight: 550; }
.evidence-details summary::-webkit-details-marker { display: none; }
.evidence-details summary::after { content: "+"; position: absolute; top: 12px; right: 2px; font-size: 27px; color: var(--muted); font-weight: 300; }
.evidence-details[open] summary::after { content: "−"; }
.evidence-details > div { padding-bottom: 22px; max-width: 850px; color: var(--muted); font-size: 13px; }
.evidence-details p + p { margin-top: 12px; }
.evidence-details .text-link { margin-top: 16px; font-size: 13px; }
.challenge-banner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; align-items: center; gap: 25px 35px; margin-top: 58px; padding: 46px 42px 0; border-radius: 30px; background: #1d1d1f; color: #f5f5f7; }
.challenge-kicker { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #c6c6ce; }
.challenge-kicker svg { width: 16px; height: 16px; }
.challenge-title h3 { font-size: 28px; margin-top: 17px; line-height: 1.15; letter-spacing: -.8px; }
.challenge-title p { font-size: 12px; color: #b7b7c0; margin-top: 14px; }
.challenge-score { display: flex; align-items: start; flex-direction: column; border-left: 1px solid #48484e; padding-left: 30px; }
.challenge-score strong { font-size: 57px; line-height: 1.1; font-weight: 600; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.challenge-score > span { font-size: 12px; color: #c6c6ce; margin-top: 9px; }
.challenge-score .rank-label { font-size: 11px; color: #f5f5f7; margin-top: 14px; }
.challenge-footer { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 32px; border-top: 1px solid #48484e; margin-top: 11px; padding: 22px 0 26px; }
.challenge-footer p { max-width: 640px; font-size: 11px; color: #b7b7c0; }
.challenge-footer a { flex: 0 0 auto; color: #c5dcff; font-size: 12px; }
.challenge-footer a:hover { text-decoration: underline; }

/* Inspect real predictions, with full-image fallbacks. */
.qualitative-heading { max-width: 860px; margin-bottom: 29px; }
.qualitative-heading h2 { font-size: clamp(34px, 3.4vw, 46px); line-height: 1.15; letter-spacing: -.035em; }
.qualitative-heading > p:last-child { margin-top: 19px; font-size: 17px; color: var(--muted); line-height: 1.7; text-wrap: pretty; }
.gallery-tabs { display: inline-flex; align-items: center; gap: 4px; padding: 5px; margin-bottom: 32px; border-radius: 30px; background: #ededf0; }
.gallery-tabs button { min-height: 44px; color: var(--muted); font-size: 13px; border: 0; border-radius: 24px; padding: 11px 23px; background: transparent; transition: background .2s, color .2s; }
.gallery-tabs button[aria-selected="true"] { color: var(--ink); background: white; box-shadow: 0 2px 6px #0000000d; }
.gallery-tabs button:hover { color: var(--ink); }
.gallery-panel { margin-bottom: 20px; }
.gallery-intro { max-width: 935px; margin-bottom: 29px; }
.gallery-intro h3 { font-size: 23px; line-height: 1.3; letter-spacing: -.45px; }
.gallery-intro p { margin-top: 10px; max-width: 900px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.gallery-intro strong { color: var(--ink); font-weight: 550; }
.gallery-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.gallery-pair figure { min-width: 0; }
.gallery-image { height: 350px; padding: 25px; background: var(--surface); border-radius: 25px; overflow: hidden; }
.gallery-image a { display: flex; align-items: center; justify-content: center; height: 100%; cursor: zoom-in; }
.gallery-image img { width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.gallery-pair figcaption { padding: 25px 4px 0; }
.example-label { font-size: 12px; font-weight: 550; }
.gallery-pair h3 { margin-top: 8px; font-size: 24px; }
.gallery-pair figcaption p { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 445px; }
.gallery-note { margin-top: 32px; color: var(--muted); font-size: 12px; line-height: 1.8; max-width: 1000px; }
.gallery-scope { margin-top: 25px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.75; }
.figure-legend { display: grid; gap: 8px; list-style: none; margin: 15px 0 0; padding: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.figure-legend li { display: flex; align-items: start; gap: 11px; }
.figure-legend strong { color: var(--ink); font-weight: 550; }
.legend-mark { flex: 0 0 14px; position: relative; width: 14px; height: 14px; margin-top: 3px; }
.mark-green { background: #4a7d55; border-radius: 4px; }
.mark-black { background: #1d1d1f; border-radius: 50%; }
.mark-red { background: #bb4937; border-radius: 4px; }
.mark-line { height: 2px; margin-top: 10px; background: #1d1d1f; }
.mark-origin { border: 2px solid white; outline: 1px solid #737378; background: #737378; border-radius: 50%; }
.mark-error { height: 2px; margin-top: 10px; background: #737378; }
#axis-legend .mark-error { background: #bb4937; }
#gallery-limits .figure-legend { min-height: 76px; }
.compare-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 58px; align-items: start; }
.comparison { padding: 23px; background: var(--surface); border-radius: 28px; min-width: 0; }
.comparison-images figure + figure { margin-top: 24px; }
.comparison-images figcaption { padding: 12px 0; font-size: 14px; text-align: center; }
.is-interactive .comparison-images { position: relative; aspect-ratio: 579 / 562; overflow: hidden; border-radius: 12px; background: white; }
.is-interactive .comparison-images figure { position: absolute; inset: 0; margin: 0; }
.is-interactive .comparison-images img { width: 100%; height: 100%; }
.is-interactive .comparison-images figcaption { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; padding: 0; overflow: hidden; }
.compare-controls { margin-top: 23px; }
.compare-control-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.compare-control-heading > span:first-child { font-size: 14px; font-weight: 600; }
.compare-control-heading > span:last-child { color: var(--muted); font-size: 11px; }
.compare-endpoints { display: flex; gap: 5px; margin-top: 16px; padding: 4px; border-radius: 26px; background: #e8e8ed; }
.compare-endpoints button { flex: 1; border: 0; border-radius: 23px; padding: 10px 16px; background: transparent; color: var(--muted); font-size: 13px; min-height: 44px; transition: background .2s, color .2s; }
.compare-endpoints button[aria-pressed="true"] { background: white; color: var(--ink); box-shadow: 0 1px 5px #0000000d; }
.compare-endpoints button:hover { color: var(--ink); }
.compare-status { margin-top: 13px; font-size: 12px; text-align: center; color: var(--muted); }
.comparison-story { padding-top: 9px; }
.comparison-story h3 { font-size: 27px; line-height: 1.25; letter-spacing: -.65px; }
.comparison-story > p { font-size: 15px; line-height: 1.75; color: var(--muted); margin-top: 15px; max-width: 495px; }
.comparison-story > .legend-heading { margin-top: 23px; color: var(--ink); font-size: 13px; font-weight: 600; }
.comparison-story .figure-legend { margin-top: 10px; }
.comparison-values { display: flex; align-items: center; gap: 21px; margin-top: 26px; }
.comparison-values > div { display: flex; flex-direction: column; }
.comparison-values strong { font-size: 44px; font-weight: 600; letter-spacing: -1.7px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.comparison-values strong > span { font-size: 19px; padding-left: 4px; letter-spacing: -.5px; font-weight: 400; }
.comparison-values div > span { font-size: 12px; color: var(--muted); margin-top: 5px; }
.comparison-value-arrow { color: #8b8b92; font-size: 25px; margin-bottom: 18px; }
.comparison-story > p.comparison-scope { font-size: 12px; margin-top: 15px; }
.comparison-originals { display: flex; gap: 25px; margin-top: 19px; color: var(--action); font-size: 13px; }
.comparison-originals a { padding-block: 5px; }
.comparison-originals a:hover { text-decoration: underline; }

/* Local and author-supplied research resources. */
.citation-section { background: var(--surface); padding-block: 96px 80px; }
.resources-heading { text-align: center; }
.resources-heading > p:last-child { color: var(--muted); font-size: 18px; margin-top: 20px; }
.resource-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 53px; padding-bottom: 55px; border-bottom: 1px solid var(--line); }
.resource-links > a { display: flex; gap: 16px; align-items: center; padding-block: 13px; }
.resource-links .resource-icon { width: 28px; height: 28px; }
.resource-links > a > span:nth-child(2) { flex: 1; }
.resource-links strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.3px; }
.resource-links strong + span { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.resource-links > a > span:last-child { color: var(--action); font-size: 20px; }
.resource-links > a:hover strong { color: var(--action); }
.citation-grid { display: grid; grid-template-columns: .85fr 1.2fr; align-items: start; gap: 80px; margin-top: 50px; }
.citation-grid h3 { font-size: 29px; letter-spacing: -.8px; }
.citation-grid > div > p { margin-top: 15px; max-width: 345px; font-size: 15px; color: var(--muted); }
.citation-block { min-width: 0; border-radius: 18px; background: white; overflow: hidden; }
.citation-header { min-height: 56px; padding: 12px 21px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); }
.copy-button { min-height: 32px; border: 0; border-radius: 18px; padding: 6px 13px; background: var(--surface); color: var(--action); font-size: 11px; }
.copy-button:hover { background: #eaeaf0; }
pre { margin: 0; padding: 2px 21px 15px; color: #525257; font: 11px/1.85 ui-monospace, "SFMono-Regular", Consolas, monospace; overflow-x: auto; tab-size: 2; }
.citation-block > p.copy-status { min-height: 24px; padding: 0 21px 10px; margin: 0; color: var(--action); font-size: 11px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 30px; }
.footer-wordmark { font-size: 16px; font-weight: 600; letter-spacing: -.4px; }
.site-footer p { color: var(--muted); font-size: 11px; margin-top: 4px; }
.footer-links { display: flex; align-items: center; gap: 25px; font-size: 12px; }
.footer-links a:hover { text-decoration: underline; }

.image-dialog { width: min(1400px, calc(100vw - 64px)); max-height: 94dvh; border: 0; border-radius: 24px; padding: 22px 28px; color: var(--ink); background: white; }
.image-dialog::backdrop { background: #000000b0; backdrop-filter: blur(12px); }
.dialog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.dialog-close { border: 0; border-radius: 22px; background: var(--surface); min-height: 40px; padding: 5px 16px; font-size: 13px; color: var(--ink); }
.dialog-close span { font-size: 22px; padding-left: 8px; vertical-align: middle; }
.dialog-image-wrap { display: flex; justify-content: center; align-items: center; }
.dialog-image-wrap img { max-height: 65dvh; width: auto; max-width: 100%; object-fit: contain; }
.dialog-image-wrap img[src$=".svg"] { width: 100%; }
#dialog-caption { margin-top: 20px; max-width: 1050px; font-size: 13px; color: var(--muted); }
#dialog-original { display: inline-block; margin-top: 10px; padding-block: 5px; font-size: 12px; color: var(--action); }
#dialog-original:hover { text-decoration: underline; }

@media (max-width: 1000px) {
  .container { width: calc(100% - 56px); }
  .section-heading { gap: 35px; }
  .section-heading > p { font-size: 16px; }
  .question-grid { gap: 45px; }
  .predictor-list { gap: 25px; }
  .insight-tag { display: none; }
  .result-chart { padding: 28px; }
  .result-chart h3 { font-size: 26px; }
  .chart-takeaway strong { font-size: 43px; }
  .challenge-banner { padding: 35px 30px 0; gap: 25px; }
  .challenge-title h3 { font-size: 23px; }
  .challenge-score { padding-left: 21px; }
  .challenge-score strong { font-size: 44px; }
  .compare-layout { gap: 40px; }
  .comparison { padding: 18px; }
  .comparison-story h3 { font-size: 25px; }
  .comparison-values { gap: 14px; }
  .comparison-values strong { font-size: 39px; }
  .resource-links { gap: 20px; }
  .resource-links > a { gap: 10px; }
  .resource-links .resource-icon { width: 24px; height: 24px; }
  .resource-links strong { font-size: 15px; }
  .citation-grid { gap: 35px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 80px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 57px; gap: 15px; }
  .wordmark { font-size: 17px; }
  nav { gap: 17px; font-size: 11px; }
  nav .nav-paper { padding-inline: 12px; }
  .nav-paper span { display: none; }
  .hero { padding-top: 30px; padding-bottom: 52px; }
  h1 { font-size: clamp(32px, 7.7vw, 43px); margin-top: 18px; margin-bottom: 22px; }
  .title-main { white-space: normal; }
  .title-subtitle { font-size: 19px; max-width: 360px; margin-top: 16px; letter-spacing: -.35px; }
  .hero-summary { font-size: 15px; max-width: 430px; }
  .hero-summary br { display: none; }
  .authors { font-size: 15px; gap: 25px; margin-top: 24px; }
  .affiliations { display: block; font-size: 11px; line-height: 1.9; }
  .affiliations > span { display: block; }
  .correspondence { font-size: 10px; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 420px; gap: 8px; margin: 23px auto 0; }
  .hero-actions .button-primary { grid-column: 1 / -1; }
  .button { padding: 10px 15px; font-size: 12px; gap: 6px; }
  .award-link { gap: 13px; width: min(100%, 350px); padding: 12px 16px; }
  .award-copy { flex-direction: column; align-items: flex-start; gap: 2px; }
  .award-rank { font-size: 18px; }
  .award-name { font-size: 14px; }
  .award-scope { font-size: 11px; margin-top: 6px; }
  .hero-figure { margin-top: 46px; }
  .figure-topline { padding: 0 0 13px; gap: 10px; }
  .figure-label { font-size: 10px; }
  .figure-topline a { font-size: 10px; white-space: nowrap; }
  .hero-figure figcaption { font-size: 12px; margin-top: 20px; }
  .hero-figure figcaption strong { font-size: 17px; margin-bottom: 6px; }
  .gain-strip { margin-top: 32px; gap: 13px; }
  .gain-item { padding: 0; }
  .gain-direction { display: block; min-height: 32px; font-size: 10px; line-height: 1.55; }
  .gain-value { font-size: 35px; letter-spacing: -1.6px; gap: 3px; flex-direction: column; align-items: center; }
  .gain-unit { font-size: 12px; letter-spacing: 0; margin-top: 3px; }
  .gain-item p { font-size: 10px; line-height: 1.6; max-width: 135px; margin: 6px auto 0; }
  .gain-footnote { font-size: 10px; line-height: 1.7; margin-top: 22px; }
  .section, .results-section { padding-block: 72px; }
  .section-heading { grid-template-columns: 1fr; gap: 23px; margin-bottom: 35px; }
  .section-heading > p { max-width: 500px; font-size: 16px; }
  .section-index { font-size: 14px; margin-bottom: 15px; }
  h2 { font-size: clamp(35px, 6vw, 43px); line-height: 1.12; }
  .question-section { padding-block: 68px; }
  .question-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-lead { font-size: 20px; }
  .task-questions { margin-top: 22px; }
  .task-questions li { padding-block: 15px; }
  .task-challenge { margin-top: 18px; font-size: 13px; }
  .pipeline-figure > a { padding-bottom: 50px; }
  .pipeline-figure figcaption { text-align: left; font-size: 11px; line-height: 1.75; }
  .enlarge-tag { font-size: 11px; }
  .predictor-list { grid-template-columns: 1fr; gap: 24px; margin-top: 31px; }
  .predictor-list article { position: relative; padding-left: 43px; padding-top: 19px; }
  .predictor-index { position: absolute; left: 0; top: 20px; width: 27px; height: 27px; }
  .predictor-list p { margin-top: 7px; }
  .physical-insight { margin-top: 36px; padding: 26px; gap: 18px; border-radius: 23px; align-items: start; }
  .insight-mark { flex-basis: 40px; }
  .insight-mark svg { width: 40px; height: 55px; }
  .physical-insight .mini-label { font-size: 11px; line-height: 1.5; }
  .physical-insight h3 { font-size: 22px; }
  .physical-insight p:last-child { font-size: 13px; }
  .result-grid, .result-notes { grid-template-columns: 1fr; gap: 23px; }
  .result-chart { padding: 29px; border-radius: 24px; }
  .result-chart h3 { font-size: 28px; }
  .chart-heading { gap: 10px; }
  .mini-label { font-size: 12px; }
  .metric-chip { font-size: 10px; }
  .bar-label { font-size: 12px; gap: 10px; }
  .bar-label strong { font-size: 17px; }
  .chart-takeaway strong { font-size: 47px; }
  .result-notes { margin-inline: 2px; font-size: 11px; gap: 15px; }
  .evidence-details { margin-inline: 2px; }
  .evidence-details summary { font-size: 13px; }
  .challenge-banner { margin-top: 38px; padding: 30px 25px 0; grid-template-columns: 1fr 1fr; gap: 29px 20px; border-radius: 24px; }
  .challenge-title { grid-column: 1 / -1; }
  .challenge-title h3 { font-size: 27px; }
  .challenge-score { padding: 0; border-left: none; }
  .challenge-score + .challenge-score { padding-left: 20px; border-left: 1px solid #48484e; }
  .challenge-score strong { font-size: 44px; }
  .challenge-score > span { font-size: 10px; }
  .challenge-footer { display: block; padding-bottom: 24px; margin-top: 0; }
  .challenge-footer p { font-size: 10px; }
  .challenge-footer a { display: inline-block; padding-block: 6px; margin-top: 7px; font-size: 11px; }
  .gallery-tabs { display: flex; margin-bottom: 28px; gap: 2px; padding: 4px; }
  .gallery-tabs button { flex: 1; min-width: 0; padding: 9px 10px; font-size: 11px; line-height: 1.5; }
  .qualitative-heading { margin-bottom: 25px; }
  .qualitative-heading > p:last-child { font-size: 15px; margin-top: 16px; }
  .gallery-intro { margin-bottom: 24px; }
  .gallery-intro h3 { font-size: 21px; }
  .gallery-intro p { font-size: 14px; }
  .gallery-pair { gap: 25px; }
  .gallery-image { height: 240px; padding: 16px; border-radius: 20px; }
  .gallery-pair h3 { font-size: 20px; }
  .gallery-pair figcaption { padding-top: 20px; }
  .gallery-pair figcaption p { font-size: 13px; }
  .example-label { font-size: 11px; }
  .gallery-note { font-size: 11px; margin-top: 28px; }
  .compare-layout { grid-template-columns: 1fr; gap: 32px; }
  .comparison { padding: 20px; border-radius: 24px; }
  .comparison-story { padding-top: 0; }
  .comparison-story h3 { font-size: 25px; }
  .comparison-story > p { max-width: 100%; }
  .figure-legend { font-size: 12px; }
  .comparison-values { gap: 25px; margin-top: 23px; }
  .comparison-values strong { font-size: 44px; }
  .comparison-originals { margin-top: 18px; }
  .citation-section { padding-block: 68px 55px; }
  .resources-heading > p:last-child { font-size: 16px; }
  .resource-links { grid-template-columns: 1fr; gap: 8px; margin-top: 30px; padding-bottom: 30px; }
  .resource-links > a { gap: 20px; padding: 18px 5px; }
  .resource-links .resource-icon { width: 28px; height: 28px; }
  .resource-links strong { font-size: 18px; }
  .resource-links strong + span { font-size: 13px; }
  .citation-grid { grid-template-columns: 1fr; gap: 25px; margin-top: 36px; }
  .citation-grid > div > p { font-size: 14px; max-width: 100%; }
  .citation-header { padding-inline: 17px; }
  pre { font-size: 10px; padding-inline: 17px; }
  .site-footer { align-items: start; flex-direction: column; gap: 21px; padding-block: 26px; }
  .footer-links { font-size: 11px; gap: 24px; }
  .image-dialog { width: calc(100vw - 24px); max-height: 95dvh; padding: 17px; border-radius: 20px; }
  #dialog-caption { font-size: 12px; }
}

@media (max-width: 420px) {
  .container { width: calc(100% - 36px); }
  .wordmark { font-size: 16px; }
  nav { gap: 13px; }
  nav .nav-paper { padding-inline: 10px; }
  .gallery-pair { grid-template-columns: 1fr; gap: 33px; }
  #gallery-limits .figure-legend { min-height: 0; }
  .gallery-image { height: 300px; }
  .gain-value { font-size: 32px; }
  .physical-insight { padding: 24px; display: block; }
  .insight-mark { margin-bottom: 13px; }
  .insight-mark svg { height: 45px; }
  .result-chart { padding: 25px; }
  .chart-takeaway { gap: 15px; }
  .chart-takeaway strong { font-size: 43px; }
  .chart-takeaway span { font-size: 12px; }
  .comparison { padding: 15px; }
  .compare-control-heading > span:last-child { font-size: 10px; }
}

@media (max-width: 360px) {
  html { scroll-padding-top: 110px; }
  .header-inner { flex-wrap: wrap; justify-content: center; gap: 3px; padding-block: 10px; }
  nav { width: 100%; justify-content: center; gap: 25px; }
  nav a { padding-block: 6px; }
  .hero-actions .button { padding-inline: 14px; }
  .gain-strip { gap: 8px; }
  .gain-value { font-size: 29px; }
  .challenge-score strong { font-size: 38px; }
  .result-chart { padding: 23px; }
  .chart-takeaway { flex-wrap: wrap; gap: 8px; }
  .chart-takeaway span { max-width: 100%; }
  .gallery-tabs button { padding-inline: 5px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

@media (forced-colors: active) {
  .gallery-tabs button[aria-selected="true"], .button, nav .nav-paper { border: 1px solid ButtonText; }
  .compare-endpoints button[aria-pressed="true"] { border: 1px solid ButtonText; }
}

@media print {
  .site-header { position: static; }
  nav, .hero-actions, .gallery-tabs, .copy-button, .compare-controls { display: none !important; }
  .gallery-panel[hidden] { display: block !important; }
  .container { width: 100%; }
  .section, .results-section, .question-section, .citation-section { padding-block: 28px; }
  .is-interactive .comparison-images { aspect-ratio: auto; }
  .is-interactive .comparison-images figure { position: static; clip-path: none; }
  .is-interactive .comparison-images figcaption { position: static; clip-path: none; width: auto; height: auto; }
  .is-interactive .comparison-images figure[hidden] { display: block !important; }
  figure, .result-chart { break-inside: avoid; }
  body { font-size: 11px; }
}
