:root{--ink:#172638;--muted:#617083;--blue:#2454c6;--blue-dark:#183d97;--line:#dce3ec;--paper:#fff;--wash:#f5f7fb;--soft-blue:#edf3ff;--serif:Georgia,'Times New Roman',serif;--sans:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-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.7 var(--sans);-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:var(--blue);text-decoration:none}a:hover{color:var(--blue-dark)}button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #759df6;outline-offset:5px}img{max-width:100%;height:auto;display:block}p,h1,h2,h3,figure{margin:0}p+p{margin-top:16px}h2{font:500 clamp(32px,4vw,47px)/1.18 var(--serif);letter-spacing:-1.2px}h3{font-size:20px;line-height:1.4;letter-spacing:-.4px}strong{font-weight:650}.wrap{width:min(1120px,calc(100% - 64px));margin-inline:auto}.section{padding-block:96px}.eyebrow{font-size:11px;letter-spacing:2.2px;line-height:1.6;font-weight:700;color:var(--blue)}.small-line{display:inline-block;width:22px;height:1px;background:var(--blue);vertical-align:middle;margin-right:10px}.section-heading{max-width:770px;margin-bottom:40px}.section-heading h2{margin-top:14px}.section-heading>p:last-child:not(.eyebrow){margin-top:21px;color:var(--muted);font-size:17px;max-width:730px}.two-column{display:grid;grid-template-columns:1fr 1fr;gap:40px}.text-link{font-size:14px;font-weight:600;white-space:nowrap}.small-note{color:var(--muted);font-size:12px;line-height:1.65}.mini-label{font-size:10px;font-weight:700;letter-spacing:1.6px;color:var(--muted)}.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;left:16px;top:-80px;z-index:100;background:var(--blue);color:white;padding:12px}.skip-link:focus{top:12px}
/* Restrained navigation and a typographic title block. */
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.nav{height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;gap:10px;font-weight:750;font-size:17px;letter-spacing:-.4px;color:var(--ink);white-space:nowrap}.brand-mark{display:inline-grid;place-items:center;width:30px;height:30px;font-size:21px;line-height:1;border:1.5px solid var(--blue);border-radius:50%;color:var(--blue);font-weight:700}.brand-note{margin-left:8px;padding-left:17px;border-left:1px solid var(--line);font-size:9px;letter-spacing:1.8px;color:var(--muted);font-weight:500}.nav-links{display:flex;gap:28px}.nav-links a{font-size:13px;color:var(--muted)}.nav-links a:hover,.nav-links a[aria-current]{color:var(--blue)}.nav-code{font-size:13px;color:var(--ink);border:1px solid var(--line);padding:5px 14px;border-radius:4px}.nav-code span{margin-left:10px}.hero{text-align:center;padding-top:65px}.hero-name{font-size:15px;letter-spacing:1px;color:var(--blue);margin-top:25px;font-weight:700}.hero h1{font:500 clamp(52px,7.3vw,88px)/1.06 var(--serif);letter-spacing:-3.8px;margin-top:10px}.hero h1 em{font-style:normal;color:var(--blue)}.paper-subtitle{font-size:clamp(17px,2vw,22px);line-height:1.5;letter-spacing:-.3px;margin-top:24px}.authors{font-size:15px;margin-top:28px}.authors span{color:#bac2cd;margin:0 12px}.affiliation{font-size:12px;color:var(--muted);line-height:1.7;margin-top:10px}.hero-actions{display:flex;justify-content:center;align-items:center;gap:13px;margin-top:28px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 20px;border:1px solid transparent;border-radius:5px;font-size:13px;font-weight:600;transition:background .15s,transform .15s}.button:hover{transform:translateY(-2px)}.button svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.button.primary{background:var(--blue);color:#fff}.button.primary:hover{background:var(--blue-dark)}.button.secondary{border-color:var(--line);color:var(--ink);background:#fff}.hero-actions>.text-link{margin-left:12px;font-size:12px}
/* The paper's own figures remain the primary visual evidence. */
.motivation-section{padding:64px 0 72px;background:linear-gradient(#fff 0%,#f6f8fc 100%)}.section-intro{max-width:780px;margin:0 auto 34px}.section-intro.centered{text-align:center}.section-intro h2{font-size:36px;margin-top:12px}.section-intro>p:last-child{color:var(--muted);margin-top:20px;font-size:16px}.paper-figure{margin:0}.image-button{background:white;border:1px solid var(--line);border-radius:5px;display:block;width:100%;padding:20px;text-align:inherit;overflow:hidden;cursor:zoom-in;transition:border-color .2s,box-shadow .2s}.image-button:hover{border-color:#a5b9e5;box-shadow:0 4px 20px #1a396608}.image-button img{width:100%;height:auto}.paper-figure figcaption{font-size:12px;color:var(--muted);margin-top:14px;line-height:1.7}.figure-index{color:var(--ink);font-size:9px;font-weight:700;letter-spacing:1px;margin-right:12px}.zoom-hint{font-size:10px;white-space:nowrap;margin-left:6px;color:#8190a1}.teaser .image-button{padding:24px}.insight-copy{display:grid;grid-template-columns:1fr 1fr;gap:60px;margin-bottom:35px}.insight-copy .lead{font:400 27px/1.5 var(--serif);letter-spacing:-.3px}.insight-copy .lead strong{color:var(--blue);font-weight:500}.insight-copy>div{font-size:14px;color:var(--muted)}.method-section{background:var(--wash);border-block:1px solid #e8edf5}.stages{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-bottom:36px}.stages article{padding:22px 0 10px;border-top:1px solid #b8c9e6}.stage-number{font:italic 28px/1.2 var(--serif);color:var(--blue);display:flex;justify-content:space-between;align-items:center}.stage-number span{font:700 11px var(--sans);letter-spacing:1.5px}.stages h3{font-size:17px;margin:15px 0 10px}.stages p{font-size:13px;color:var(--muted)}.method-note{border-top:1px solid var(--line);margin-top:24px;padding-top:16px;display:flex;gap:20px;align-items:baseline;font-size:12px}.method-note strong{white-space:nowrap}.method-note span{color:var(--muted);flex:1}.method-note a{font-size:11px;white-space:nowrap}
/* Result comparisons use a single numeric scale, with data from Table 1. */
.model-gains{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:16px}.model-gains article{padding:26px 0 17px;border-top:1px solid var(--line)}.model-name{font-size:14px;font-weight:600;display:flex;gap:10px;align-items:center}.model-name img{object-fit:contain}.gain-numbers{display:flex;align-items:baseline;gap:15px;font:400 33px/1.2 var(--serif);letter-spacing:-1px;margin-top:22px}.gain-numbers>span:first-child{color:#8c99ad}.gain-numbers .gain-arrow{color:#acb7c8;font:22px var(--sans)}.gain-numbers strong{font-size:43px;font-weight:500;color:var(--blue)}.gain-numbers small{font-size:22px;margin-left:2px}.gain-track{height:7px;position:relative;background:#eff2f7;margin-top:17px;border-radius:2px;overflow:hidden}.gain-track i,.gain-track b{position:absolute;left:0;top:0;bottom:0;display:block}.gain-track i{background:var(--blue)}.gain-track b{background:#a8b9d6}.gain-caption{margin-top:10px;font-size:11px;color:var(--muted)}.gain-legend{display:flex;gap:8px;align-items:center;justify-content:center;margin:12px 0 40px}.gain-legend>span:last-child{margin-left:14px}.legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.legend-dot.baseline{background:#a8b9d6}.legend-dot.ours{background:var(--blue);margin-left:12px}.benchmark{border:1px solid var(--line);border-radius:7px;padding:30px}.benchmark-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.benchmark-heading h3{font-size:22px}.benchmark-heading p{font-size:12px;color:var(--muted);margin-top:4px}.benchmark-heading>a{font-size:11px}.result-controls{display:flex;justify-content:space-between;gap:16px;margin-bottom:27px}.segmented{display:inline-flex;gap:2px;background:#f0f3f8;border-radius:5px;padding:4px}.segmented button{border:0;background:transparent;border-radius:3px;color:var(--muted);font-size:11px;font-weight:600;padding:9px 12px;line-height:1.3}.segmented button[aria-pressed=true]{color:var(--blue);background:#fff;box-shadow:0 1px 5px #132b5312}.chart-header{display:flex;justify-content:space-between;gap:15px;font-size:11px;margin-bottom:15px}.chart-header>span:first-child{color:var(--muted)}.chart-header>span:last-child{color:var(--blue);font-weight:600}.benchmark-chart{display:grid;gap:12px}.chart-row{display:grid;grid-template-columns:125px 1fr 49px;gap:15px;align-items:center;font-size:12px}.chart-row .method-name{color:var(--muted)}.chart-row .bar-track{height:18px;background:repeating-linear-gradient(to right,#f1f4f8 0,#f1f4f8 1px,transparent 1px,transparent 20%);position:relative;border-right:1px solid #f1f4f8}.chart-row .bar{display:block;background:#cbd5e4;height:100%;min-width:2px;border-radius:0 2px 2px 0;transition:width .35s ease}.chart-row.ours .bar{background:var(--blue)}.chart-row.ours{font-weight:700;color:var(--blue)}.chart-row.ours .method-name{color:var(--blue)}.chart-row>span:last-child{text-align:right;font-variant-numeric:tabular-nums}.benchmark>.small-note{margin-top:22px}.model-details{margin-top:22px;border-top:1px solid var(--line)}summary{list-style:none;cursor:pointer;font-size:13px;font-weight:600;padding-block:17px;display:flex;justify-content:space-between;gap:15px;align-items:center}summary::-webkit-details-marker{display:none}summary>span{font-size:18px;color:var(--blue);font-weight:400}details[open]>summary>span{transform:rotate(45deg)}.table-scroll{overflow:auto;max-width:100%;border-top:1px solid var(--line)}table{border-collapse:collapse;width:100%;text-align:right;font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}caption{text-align:left;padding:12px 0;color:var(--muted);font-size:11px}th,td{padding:10px 11px;border-bottom:1px solid #e9edf3}th{font-weight:600}thead{color:var(--muted);font-size:10px}th:first-child{text-align:left;position:sticky;left:0;background:#fff}td.best,th.best{background:var(--soft-blue);color:var(--blue);font-weight:700}.average-row{border-top:1px solid #b7c7df}.settings-note{font-size:10px;color:var(--muted);padding-top:16px;border-top:1px solid var(--line);margin-top:8px}
.extension-section{background:#f8f9fb;border-block:1px solid #e8edf5}.evidence-grid{gap:64px}.evidence h3{font:500 26px/1.3 var(--serif);letter-spacing:-.5px;margin:12px 0 18px}.evidence>p:not(.mini-label):not(.small-note){font-size:14px;color:var(--muted)}.paired-stats{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-block:25px;margin:5px 0 12px;border-bottom:1px solid var(--line)}.paired-stats>div>span{display:block;font-size:11px;color:var(--muted);margin-bottom:7px}.paired-stats strong{font:500 29px/1.2 var(--serif);color:var(--blue);letter-spacing:-.6px}.paired-stats strong i{font:18px var(--sans);font-style:normal;color:#94a4b9}.paired-stats strong small{font-size:18px}.compact-table{font-size:13px;margin:22px 0}.compact-table th:first-child{background:transparent}.compact-table th,.compact-table td{padding:12px 10px}.figure-details{border-top:1px solid var(--line);margin-top:32px}.figure-details>.two-column{padding-top:10px}.figure-details .paper-figure{padding-bottom:10px}.ablation-grid{gap:70px}.ablation-grid p{color:var(--muted);font-size:14px}.ablation-row{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line);font-size:13px}.ablation-row:nth-of-type(1){margin-top:16px;color:var(--blue)}.ablation-row strong{font-variant-numeric:tabular-nums}.efficiency-panel{padding:28px 30px;background:var(--soft-blue);border-left:2px solid var(--blue)}.efficiency-panel .efficiency-number{font:500 43px/1.2 var(--serif);letter-spacing:-1.5px;color:var(--blue);margin:17px 0}.efficiency-number span{font:12px var(--sans);letter-spacing:0;color:var(--muted)}.efficiency-panel .text-link{display:block;font-size:11px;white-space:normal;margin-top:18px}
.risk-section{background:#f5f6f8;border-block:1px solid var(--line)}.risk-section .section-heading{max-width:830px}.risk-grid{gap:48px}.risk-grid h3{margin-bottom:12px;font-size:17px}.risk-grid article>p{color:var(--muted);font-size:13px;min-height:112px}.risk-grid .paper-figure{margin-top:22px}.risk-grid .image-button{padding:18px}.risk-grid .figure-details{margin-top:18px}.risk-grid .figure-details summary{font-size:12px}.risk-grid .figure-details .paper-figure{margin-top:0}.takeaway{display:flex;gap:24px;align-items:start;border-top:1px solid #cbd5e2;margin-top:45px;padding-top:28px;max-width:940px}.takeaway>span{color:var(--blue);font-size:27px;line-height:1.2}.takeaway p{font:400 24px/1.5 var(--serif);letter-spacing:-.3px}.resources .section-heading{margin-bottom:35px}.resource-links{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-bottom:36px}.resource-links>a{display:grid;grid-template-columns:25px 1fr 20px;gap:2px 15px;color:var(--ink);padding:20px 0;border-block:1px solid var(--line)}.resource-links>a>span{font-size:10px;color:var(--muted);grid-row:1/3;line-height:25px}.resource-links strong{font-size:15px}.resource-links small{font-size:11px;color:var(--muted);grid-column:2}.resource-links b{grid-row:1/3;grid-column:3;color:var(--blue);font-size:21px;align-self:center}.resource-links>a:hover strong{color:var(--blue)}.citation-box{border:1px solid var(--line);border-radius:5px;overflow:hidden}.citation-head{display:flex;justify-content:space-between;align-items:center;background:#f6f8fb;padding:12px 20px;border-bottom:1px solid var(--line);font-size:11px;font-weight:600;color:var(--muted)}.citation-head button{border:0;background:transparent;font-size:11px;color:var(--blue);font-weight:600;padding:4px}.citation-head button span{margin-left:7px}.citation-box pre{margin:0;padding:24px;font:12px/1.85 'SFMono-Regular',Consolas,monospace;overflow-x:auto;color:#42546b;background:#fcfdff}.site-footer{border-top:1px solid var(--line);background:var(--wash);padding:32px 0}.site-footer>.wrap{display:flex;align-items:center;justify-content:space-between;gap:25px}.site-footer p{font-size:12px;line-height:1.7}.site-footer p span{color:var(--muted);font-size:10px}.site-footer .text-link{font-size:11px}
/* Figure inspection works without navigating away from the research narrative. */
dialog{padding:0;border:1px solid #ccd5e2;border-radius:8px;width:min(1440px,94vw);max-height:92vh;color:var(--ink);box-shadow:0 30px 100px #0003}dialog::backdrop{background:#101c30b8;backdrop-filter:blur(3px)}.dialog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:14px 22px;background:#fff;position:sticky;top:0;border-bottom:1px solid var(--line)}.dialog-toolbar h2{font:600 14px/1.5 var(--sans);letter-spacing:0}.dialog-toolbar button{width:32px;height:32px;border:1px solid var(--line);border-radius:4px;background:white;color:var(--ink)}.dialog-image{overflow:auto;padding:25px;background:white;max-height:75vh}.dialog-image img{width:100%;min-width:800px;height:auto;max-width:none}dialog>p{font-size:11px;color:var(--muted);text-align:center;padding:10px 16px;background:#f6f8fb}body.modal-open{overflow:hidden}
@media(min-width:1500px){.wrap{width:min(1160px,calc(100% - 80px))}}
@media(max-width:900px){.brand-note{display:none}.nav-links{gap:18px}.hero h1{font-size:70px}.two-column,.insight-copy{gap:32px}.result-controls{flex-wrap:wrap}.gain-numbers{gap:10px;font-size:26px}.gain-numbers strong{font-size:36px}.model-gains{gap:24px}.method-note{flex-wrap:wrap;gap:10px 20px}.method-note a{margin-left:auto}.paired-stats{grid-template-columns:1fr}.paired-stats strong{font-size:30px}.risk-grid article>p{min-height:154px}.efficiency-panel{padding:24px}.site-footer>.wrap{flex-wrap:wrap}}
@media(max-width:640px){html{scroll-padding-top:80px}.wrap{width:calc(100% - 36px)}.nav{height:60px;gap:10px}.brand{font-size:15px}.brand-mark{width:26px;height:26px;font-size:18px}.nav-links{gap:15px}.nav-links a{font-size:11px}.nav-links a[href="#implications"]{display:none}.nav-code{padding:3px 8px;font-size:11px}.nav-code span{margin-left:3px}.hero{padding-top:40px}.hero .eyebrow{font-size:8px;letter-spacing:1.2px}.small-line{width:15px;margin-right:5px}.hero-name{font-size:13px;margin-top:25px}.hero h1{font-size:clamp(44px,11.3vw,68px);letter-spacing:-2px;line-height:1.1}.paper-subtitle{font-size:16px;max-width:350px;margin:20px auto 0}.desktop-break{display:none}.authors{font-size:12px;line-height:2;margin-top:22px}.authors span{margin:0 5px}.affiliation{font-size:10px;max-width:330px;margin:9px auto 0}.hero-actions{gap:9px;flex-wrap:wrap;margin-top:23px}.button{font-size:11px;padding:9px 13px;min-height:41px}.hero-actions>.text-link{width:100%;margin:6px 0 0;font-size:11px}.section{padding-block:56px}.section-heading{margin-bottom:27px}.section-heading h2{margin-top:10px}h2{font-size:32px;letter-spacing:-.9px}.section-heading>p:last-child:not(.eyebrow){font-size:14px;margin-top:17px}.eyebrow{font-size:9px;letter-spacing:1.7px}.motivation-section{padding:45px 0}.section-intro h2{font-size:28px}.section-intro>p:last-child{font-size:13px}.section-intro{margin-bottom:24px}.image-button,.teaser .image-button{padding:10px}.paper-figure figcaption{font-size:10px;margin-top:10px}.figure-index{display:block;margin-bottom:4px;font-size:8px}.zoom-hint{display:block;margin:6px 0 0}.insight-copy,.two-column{grid-template-columns:1fr;gap:28px}.insight-copy .lead{font-size:24px}.insight-copy>div{font-size:13px}.stages{grid-template-columns:1fr;gap:18px}.stages article{padding-top:17px}.stage-number{font-size:25px}.stages h3{margin-top:9px;font-size:17px}.stages p{font-size:13px}.method-note{font-size:11px;display:block}.method-note span{display:block;margin:5px 0}.method-note a{display:inline-block;margin-top:5px}.model-gains{gap:13px;margin-top:0}.model-gains article{padding-top:17px}.model-name{font-size:11px;gap:6px}.model-name img{width:17px;height:17px}.gain-numbers{display:flex;flex-wrap:wrap;gap:2px 7px;font-size:21px;margin-top:14px}.gain-numbers strong{font-size:29px;width:100%}.gain-numbers .gain-arrow{font-size:16px}.gain-numbers small{font-size:15px}.gain-track{height:5px;margin-top:12px}.gain-caption{font-size:9px;line-height:1.4}.gain-legend{font-size:9px;gap:5px;flex-wrap:wrap;margin-bottom:28px}.gain-legend>span:last-child{width:100%;text-align:center;margin:2px 0}.benchmark{padding:18px 14px}.benchmark-heading{align-items:start;gap:10px}.benchmark-heading h3{font-size:19px}.benchmark-heading p{font-size:11px}.benchmark-heading>a{font-size:10px;margin-top:4px}.result-controls{gap:9px;margin-bottom:19px}.segmented{width:100%}.segmented button{flex:1;font-size:10px;padding:8px;min-height:40px}.metric-switch{width:auto}.metric-switch button{padding:5px 16px;min-height:32px}.chart-header{flex-direction:column;gap:3px;font-size:10px}.chart-row{grid-template-columns:92px 1fr 36px;gap:9px;font-size:10px}.chart-row .bar-track{height:15px}.benchmark-chart{gap:11px}.settings-note{font-size:9px}.small-note{font-size:10px}.model-details summary{font-size:11px}.evidence h3{font-size:25px}.evidence>p:not(.mini-label):not(.small-note){font-size:13px}.paired-stats{grid-template-columns:1fr 1fr;padding-block:19px}.paired-stats strong{font-size:25px}.paired-stats strong small{font-size:16px}.paired-stats>div>span{font-size:10px}.compact-table{font-size:12px}.compact-table td,.compact-table th{padding:11px 8px}.ablation-grid p{font-size:13px}.ablation-row{font-size:12px}.efficiency-panel{padding:25px}.efficiency-panel .efficiency-number{font-size:40px}.risk-grid article>p{min-height:0;font-size:13px}.risk-grid h3{font-size:18px}.risk-grid .image-button{padding:12px}.takeaway{gap:13px;margin-top:30px;padding-top:22px}.takeaway p{font-size:21px}.resource-links{grid-template-columns:1fr;gap:18px}.citation-box pre{font-size:10px;padding:16px}.citation-head{padding:10px 15px}.site-footer{padding:24px 0}.site-footer>.wrap{gap:20px}.site-footer p{order:3;flex-basis:100%;font-size:11px}.site-footer p span{font-size:9px}.dialog-toolbar{padding:10px 13px}.dialog-toolbar h2{font-size:12px}.dialog-image{padding:15px}.dialog-image img{min-width:750px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
@media print{.site-header,.hero-actions,.result-controls,.figure-details,dialog,.site-footer{display:none}.section{padding:25px 0}.wrap{width:100%}.hero{padding-top:0}.hero h1{font-size:50px}.image-button{border:0;padding:0}.benchmark{break-inside:avoid}.chart-row .bar{print-color-adjust:exact}.risk-section,.method-section,.extension-section{background:white}}

/* Figure 1 leads the homepage, alongside the paper title. */
.hero { text-align:left; padding-top:42px; }
.hero-main { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:56px; align-items:center; margin-top:18px; }
.hero-name { margin-top:0; font-size:14px; }
.hero h1 { font-size:clamp(50px,5.1vw,66px); letter-spacing:-2.8px; margin-top:12px; }
.hero .paper-subtitle { font-size:22px; margin-top:23px; line-height:1.45; }
.hero .desktop-break { display:block; }
.hero .authors { font-size:12px; line-height:1.9; margin-top:24px; }
.hero .authors span { margin:0 5px; }
.hero .affiliation { font-size:10px; margin-top:11px; }
.hero-actions { justify-content:flex-start; flex-wrap:wrap; gap:10px; margin-top:24px; }
.hero-actions .button { font-size:12px; padding:10px 14px; }
.hero-actions>.text-link { margin-left:2px; font-size:11px; }
.hero-figure .image-button { border:0; padding:0; border-radius:0; }
.hero-figure .image-button:hover { box-shadow:none; }
.hero-figure figcaption { font-size:12px; line-height:1.65; margin-top:14px; }
.hero-figure .figure-index { display:block; margin:0 0 5px; font-size:8px; }
.hero-figure figcaption strong { color:#c83e4d; }
.hero-figure .zoom-hint { font-size:9px; }

@media(min-width:1500px) { .hero h1 { font-size:68px; } }
@media(max-width:900px) and (min-width:641px) {
  .hero-main { grid-template-columns:1fr 1fr; gap:24px; }
  .hero h1 { font-size:49px; letter-spacing:-2px; }
  .hero .paper-subtitle { font-size:19px; }
  .hero .authors { font-size:11px; }
  .hero-actions>.text-link { flex-basis:100%; }
}
@media(max-width:640px) {
  .hero { text-align:center; padding-top:32px; }
  .hero-main { grid-template-columns:1fr; gap:28px; margin-top:22px; }
  .hero h1 { font-size:clamp(44px,11.3vw,68px); letter-spacing:-2px; }
  .hero .paper-subtitle { font-size:19px; margin:20px auto 0; }
  .hero .desktop-break { display:none; }
  .hero .authors { font-size:12px; margin-top:20px; }
  .hero .affiliation { margin:9px auto 0; }
  .hero-actions { justify-content:center; margin-top:22px; }
  .hero-actions .button { font-size:11px; }
  .hero-figure { padding-top:7px; }
  .hero-figure figcaption { text-align:left; margin-top:10px; }

}

/* Keep author links and numbered affiliations directly below the title. */
.site-header .brand-note { font-size:10px; letter-spacing:.35px; }
.hero-main { margin-top:0; }
.hero-meta { text-align:left; margin-top:24px; padding-top:0; border-top:0; }
.hero .hero-meta .authors { display:flex; flex-wrap:wrap; justify-content:flex-start; gap:8px 16px; margin:0; font-size:13px; line-height:1.8; }
.hero .hero-meta .authors .author { display:inline-flex; align-items:baseline; white-space:nowrap; margin:0; }
.hero-meta .author a { color:var(--blue); text-decoration:underline; text-decoration-color:transparent; text-underline-offset:3px; transition:text-decoration-color .15s; }
.hero-meta .author a:hover { color:var(--blue-dark); text-decoration-color:currentColor; }
.hero-meta sup { font-size:.7em; line-height:0; vertical-align:super; color:var(--muted); }
.hero-meta .author sup { position:relative; top:-.45em; margin-left:3px; }
.hero .hero-meta .affiliation { font-size:11.5px; line-height:1.65; max-width:none; margin:10px 0 0; }
.hero-meta .affiliation p { text-wrap:balance; }
.hero-meta .affiliation p+p { margin-top:3px; }

@media(max-width:640px) {
  .hero-meta { text-align:center; margin-top:22px; padding-top:0; }
  .hero .hero-meta .authors { justify-content:center; font-size:13px; gap:8px 18px; }
  .hero .hero-meta .affiliation { font-size:10.5px; line-height:1.75; margin-top:12px; }
  .hero-meta .affiliation p+p { margin-top:6px; }
}

/* Balance the first-screen title and radar chart; keep the enlarged caption visible. */
.hero-copy { width:100%; max-width:540px; }
.hero-figure { width:100%; max-width:480px; justify-self:center; }
.hero-figure figcaption strong { color:var(--ink); }
dialog[open] { display:flex; flex-direction:column; }
.dialog-toolbar, .dialog-hint { flex-shrink:0; }
.dialog-image { flex:1 1 auto; min-height:0; }
dialog .dialog-caption { flex-shrink:0; padding:14px 22px; background:#fff; border-top:1px solid var(--line); text-align:left; font-size:13px; line-height:1.65; color:var(--ink); }
dialog .dialog-caption[hidden] { display:none; }
@media(max-width:640px) {
  .hero-copy { max-width:none; }
  .hero-figure figcaption { font-size:11px; }
  dialog .dialog-caption { padding:12px 15px; font-size:12px; }
}

/* Give all five section links a readable second navigation row on small screens. */
@media(max-width:640px) {
  html { scroll-padding-top:100px; }
  .nav { height:auto; min-height:60px; flex-wrap:wrap; row-gap:0; padding-block:10px; }
  .nav-links { order:3; flex-basis:100%; justify-content:space-between; gap:10px; padding-top:8px; }
  .nav-links a { font-size:11px; white-space:nowrap; }
  .nav-links a[href="#implications"] { display:block; }
}

/* Reserve the first viewport for the paper introduction, without scaling its content. */
@media screen and (min-width:641px) {
  .hero {
    min-height:calc(100vh - 73px);
    min-height:calc(100svh - 73px);
    display:flex;
    align-items:center;
    padding-block:clamp(56px, 8vh, 112px);
  }
  .hero-main { width:100%; }
}
@media screen and (max-width:640px) {
  .hero { padding-block:48px; }
}

/* Match the motivation paragraph to 90% of the figure width. */
.motivation-section .section-intro { max-width:none; }
.motivation-section .section-intro > p:last-child { width:90%; margin-inline:auto; }

/* Keep the primary affiliation on one line within the desktop title column. */
@media (min-width:901px) {
  .hero .hero-meta .affiliation { container-type:inline-size; }
  .hero-meta .affiliation p:first-child {
    font-size:min(11.5px, 2.05cqw);
    white-space:nowrap;
  }
}

/* Distinguish the overview and motivation with consistent full-width section bands. */
.motivation-section, .method-section, .extension-section, .risk-section {
  background:#f3f6fb;
  border-block:1px solid #e5ebf3;
}
.hero, #insight, #results, #ablations, #citation { background:var(--paper); }
.nav-links { gap:22px; }
.nav-links a { white-space:nowrap; }
@media (min-width:641px) and (max-width:1100px) {
  .site-header .brand-note { display:none; }
  .nav-links { gap:18px; }
}
@media (max-width:640px) {
  .nav-links { gap:8px; overflow-x:auto; }
  .nav-links a { flex-shrink:0; font-size:10px; }
}
@media print {
  .motivation-section, .method-section, .extension-section, .risk-section { background:white; }
}

.model-details h4 { margin:18px 0 12px; font-size:13px; font-weight:600; }

/* A full-width insight and separate reasoning and moderation evidence. */
.insight-copy { display:block; }
.risk-grid { align-items:start; }
.risk-grid article > p { min-height:0; }
.moderation-section { background:var(--paper); }
.moderation-results { max-width:940px; margin-inline:auto; }
.moderation-examples { margin-top:40px; }
#citation { background:#f3f6fb; border-block:1px solid #e5ebf3; }
.nav-links { gap:18px; }
@media (max-width:1200px) { .site-header .brand-note { display:none; } }
@media (max-width:640px) {
  .nav-links { gap:12px; justify-content:flex-start; }
  .moderation-examples { margin-top:28px; }
}
@media print { #citation { background:white; } }

/* Keep each evidence pair side by side, with the reasoning introduction in its left column. */
.reasoning-layout { align-items:center; }
.reasoning-summary .section-heading { margin-bottom:30px; }
.reasoning-summary .section-heading h2 { font-size:clamp(32px, 3.2vw, 42px); }
.moderation-grid { gap:32px; align-items:start; }
.moderation-grid .paper-figure { min-width:0; width:100%; max-width:none; margin:0; }
.moderation-grid .image-button { padding:14px; }
@media (max-width:640px) {
  .reasoning-layout, .moderation-grid { grid-template-columns:1fr; gap:32px; }
  .reasoning-summary .section-heading h2 { font-size:32px; }
}

/* Use a 40:60 split with aligned image frames and captions. */
@media (min-width:641px) {
  .moderation-grid {
    grid-template-columns:minmax(0, 2fr) minmax(0, 3fr);
    align-items:stretch;
    row-gap:14px;
  }
  .moderation-grid .paper-figure {
    display:grid;
    grid-template-rows:subgrid;
    grid-row:span 2;
  }
  .moderation-grid .image-button {
    display:flex;
    align-items:center;
    justify-content:center;
    height:100%;
  }
  .moderation-grid figcaption { margin-top:0; }
}
