/* Shared reading rhythm. Scientific media keep their native colors and scales. */
.catalog-hero { padding-top:clamp(118px,13vh,150px); padding-bottom:36px; }
.catalog-hero h1 { max-width:22ch; font-size:clamp(40px,4.8vw,64px); font-weight:500; line-height:1.16; letter-spacing:-.035em; text-wrap:balance; margin-block:20px 24px; }
.catalog-hero .catalog-lead { max-width:76ch; font-size:18px; line-height:1.8; color:#655d70; }
.catalog-hero .study-jumps { margin-top:30px; }
.subpage-panel > :is(h2,.study-heading,.research-theme-heading,.compute-platform-heading,.mptt-section-intro) { margin-bottom:28px; }
.subpage-panel :is(.study-heading,.research-theme-heading,.compute-platform-heading,.mptt-section-intro) h2 { line-height:1.25; text-wrap:pretty; }
.subpage-panel > p, .research-study-copy > p { max-width:78ch; }
.subpage-panel :is(.catalog-result,.characterization-result,.study-figure) figcaption { font-size:14px; line-height:1.75; color:#655d70; }
.case-gallery .case-choices > button { transition:background-color .18s,color .18s; }
.case-gallery .case-choices > button[aria-pressed="true"] { box-shadow:inset 3px 0 #6940ab; }
.case-gallery .case-choices > button[aria-pressed="true"] .case-choice-title { transform:none; font-weight:600; }
.case-gallery .case-choices :is(.case-choice-description,.case-choice-method) { color:#655d70; line-height:1.7; }
.case-rail > .timed-gallery-controls > span { color:#655d70; font-size:14px; }
:where(.chapter-card-link,.chapter-link,.chapter-secondary,.text-link,.study-jumps a,.case-choices button):focus-visible { outline:3px solid #6940ab; outline-offset:4px; border-radius:4px; }
.study-publication-notes .text-link { min-height:44px; display:inline-flex; align-items:center; }
.model-training-note { color:#655d70; margin-block:16px 22px; }
/* The three homepage chapters share an intro-to-evidence interval. */
.design-characterization { margin-top:40px; gap:24px; }
.design-characterization .design-method h3 { font-size:clamp(24px,2.2vw,30px); }
.design-characterization .design-method-quality { font-size:clamp(28px,2.9vw,38px); }
.design-characterization .design-evidence-note { font-size:14px; line-height:1.75; }
.design-characterization .chapter-card-link { margin-top:auto; font-size:14px; }
.design-evidence-stack > article > :last-child { margin-top:20px; }
.design-heat-states { padding-block:24px 16px; gap:20px; }
.design-heat-states strong, .design-structure-results strong { font-variant-numeric:tabular-nums; letter-spacing:-.025em; }
.design-structure-results { width:100%; table-layout:fixed; border-collapse:collapse; margin:12px 0; text-align:left; }
.design-structure-results th:first-child { width:40%; }
.design-structure-results th, .design-structure-results td { padding:18px 10px 18px 0; vertical-align:middle; }
.design-structure-results thead th { font-size:14px; color:#655d70; font-weight:400; line-height:1.6; padding-block:0 12px; }
.design-structure-results tbody :is(th,td) { border-top:1px solid #d8d0e3; }
.design-structure-results tbody th { font-size:14px; font-weight:500; line-height:1.55; }
.design-structure-results tbody th strong { display:block; font-size:14px; color:#252526; font-weight:500; }
.design-structure-results tbody th span { display:block; color:#655d70; font-size:14px; font-weight:400; margin-top:6px; }
.design-structure-results td strong { display:block; color:#6940ab; font-size:clamp(22px,2vw,28px); line-height:1.35; font-weight:500; }
.design-structure-results td small { display:block; font-size:14px; color:#655d70; line-height:1.5; margin-top:5px; }
.design-method .design-apparatus figcaption { font-size:14px; line-height:1.75; }
/* One numerical-kernel result belongs to one comparison, with its own scope. */
#computing .compute-metrics { grid-template-columns:minmax(0,1fr); }
@media(max-width:800px) {
 .catalog-hero { padding-top:120px; padding-bottom:28px; }
 .catalog-hero h1 { max-width:23ch; font-size:clamp(36px,6.6vw,52px); }
 .catalog-hero .catalog-lead { font-size:17px; }
 .design-characterization { margin-top:32px; }
 .subpage-panel > :is(h2,.study-heading,.research-theme-heading,.compute-platform-heading,.mptt-section-intro) { margin-bottom:24px; }
}
@media(max-width:520px) {
 .catalog-hero { padding-top:104px; padding-bottom:24px; }
 .catalog-hero h1 { font-size:clamp(34px,8.5vw,42px); letter-spacing:-.025em; margin-block:18px 20px; }
 .catalog-hero .catalog-lead { font-size:16px; line-height:1.85; }
 .design-characterization { margin-top:28px; }
 .design-heat-states { gap:14px; }
 .design-structure-results th:first-child { width:39%; }
 .design-structure-results th, .design-structure-results td { padding-right:6px; }
 .design-structure-results td strong { font-size:24px; }
 .design-structure-results :is(th,td) { overflow-wrap:normal; }
}
@media(max-width:380px) {
 .design-heat-states { gap:9px; }
 .design-structure-results td strong { font-size:20px; }
 .design-structure-results tbody th strong { font-size:14px; }
 .design-structure-results :is(thead th,tbody th span,td small) { font-size:14px; }
}
@media(prefers-reduced-motion:reduce) { .case-gallery .case-choices > button { transition:none; } }
