@font-face {
  font-family: "Google Sans";
  src: url("assets/fonts/google-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --text: #263345;
  --heading: #243044;
  --secondary: #526178;
  --teal: #0f766e;
  --blue: #2b6cb0;
  --line: #dae3ec;
  --soft: #f5f8fc;
  --paper-shadow: 0 8px 27px rgba(30, 50, 75, .045);
  --edge: clamp(1.15rem, 4.8vw, 4.5rem);
  --font: "Google Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.15rem; }
body { margin: 0; font: 400 1.02rem/1.57 var(--font); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--heading); text-wrap: balance; }
h1, h2 { letter-spacing: -.032em; }
h3 { font-size: 1.19rem; line-height: 1.3; letter-spacing: -.014em; font-weight: 620; }
strong, b { font-weight: 650; }
button { font: inherit; }
button, summary { cursor: pointer; }
button, summary, a { touch-action: manipulation; }
button { color: inherit; }
a { color: var(--blue); text-decoration: none; text-underline-offset: .16em; }
a:hover { color: #1f4f82; text-decoration: underline; }
:focus-visible { outline: 3px solid #327ac1; outline-offset: 3px; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
::selection { background: #cde8f5; color: #17334e; }
.shell { max-width: 63rem; width: calc(100% - 2 * var(--edge)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { 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:focus { z-index: 5; position: fixed; top: .5rem; left: .7rem; padding: .5rem 1rem; background: white; }

.site-header { position: sticky; top: 0; z-index: 4; background: rgba(255,255,255,.96); border-bottom: 1px solid #e4eaf0; backdrop-filter: blur(12px); }
.nav-inner { display: flex; align-items: center; gap: clamp(.85rem, 2vw, 1.35rem); min-height: 3.45rem; }
.brand { color: var(--heading); font-weight: 700; font-size: 1.14rem; letter-spacing: -.035em; line-height: 1.2; padding-right: 1.35rem; border-right: 1px solid var(--line); }
.brand:hover, .nav-lab:hover { text-decoration: none; }
#primary-nav { display: flex; align-items: stretch; gap: clamp(.9rem,2.3vw,1.75rem); }
#primary-nav a { display: flex; align-items: center; min-height: 3.45rem; color: #445167; font-weight: 560; font-size: .93rem; }
#primary-nav a:hover, #primary-nav a[aria-current] { color: var(--teal); }
#primary-nav a[aria-current] { box-shadow: inset 0 -2px var(--teal); }
.nav-lab { margin-left: auto; color: var(--secondary); font-size: .88rem; white-space: nowrap; }
.nav-toggle { display: none; background: white; color: var(--text); border: 1px solid var(--line); border-radius: .45rem; padding: .4rem .7rem; font-size: .92rem; }

.hero { padding: clamp(3.2rem,5vw,4.7rem) var(--edge) clamp(2.9rem,4.4vw,4.15rem); text-align: center; background: linear-gradient(180deg,#fbfdff 0%,#f6fafd 100%); }
.hero-inner { margin-inline: auto; max-width: 72rem; }
.kicker { color: var(--teal); text-transform: uppercase; letter-spacing: .073em; font-size: .8rem; line-height: 1.35; font-weight: 650; }
h1 { margin: 0 0 1.08rem; font-size: clamp(2.2rem,3.35vw,3.12rem); line-height: 1.12; font-weight: 670; }
.authors { font-size: clamp(1.08rem,1.55vw,1.27rem); line-height: 1.5; }
.authors a { white-space: nowrap; }
.authors sup { font-size: .66em; }
.affiliation { max-width: 65rem; margin: .16rem auto 0; font-size: clamp(.97rem,1.33vw,1.12rem); line-height: 1.55; }
.university { display: inline-block; }
.author-note { margin-top: .36rem; color: var(--secondary); font-size: .85rem; line-height: 1.4; }
.actions { display: flex; justify-content: center; gap: .48rem; flex-wrap: wrap; margin-top: 1.38rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.48rem; padding: .4rem .99rem; background: white; border: 1px solid #dbe4eb; border-radius: 3rem; box-shadow: 0 4px 13px #21354d09; color: var(--text); font-size: .95rem; line-height: 1.3; font-weight: 530; transition: background .15s, border-color .15s; }
.button:hover { text-decoration: none; color: var(--blue); background: #f5f9fd; border-color: #b6cbdc; }
.button.primary { background: #343d4a; color: white; border-color: #343d4a; }
.button.primary:hover { background: #495669; }
.paper-icon { position: relative; width: .77rem; height: .98rem; border: 1.45px solid currentColor; border-radius: 2px; }
.paper-icon::before, .paper-icon::after { content: ""; position: absolute; left: .14rem; width: .33rem; border-bottom: 1px solid currentColor; top: .28rem; }
.paper-icon::after { top: .51rem; }
.code-icon { display: inline-block; width: .92rem; height: .65rem; position: relative; }
.code-icon::before, .code-icon::after { content: ""; width: .4rem; height: .4rem; position: absolute; top: .12rem; border: solid currentColor; border-width: 0 0 1.4px 1.4px; transform: rotate(45deg); }
.code-icon::before { left: 0; }
.code-icon::after { right: 0; transform: rotate(225deg); }
.chart-icon { height: .86rem; width: .96rem; display: inline-block; border-bottom: 1.4px solid currentColor; background: linear-gradient(currentColor,currentColor) left bottom/.2rem 35%,linear-gradient(currentColor,currentColor) center bottom/.2rem 65%,linear-gradient(currentColor,currentColor) right bottom/.2rem 92%; background-repeat: no-repeat; }

.band { padding-block: clamp(3.15rem,5vw,4.85rem); }
.soft { background: var(--soft); border-block: 1px solid #ebf0f5; }
.section-intro { max-width: 48rem; text-align: center; margin: 0 auto 1.8rem; }
.section-intro h2 { font-size: clamp(1.76rem,2.6vw,2.22rem); line-height: 1.16; font-weight: 650; margin-top: .45rem; }
.section-intro > p:not(.kicker) { margin: .78rem auto 0; color: var(--secondary); text-wrap: pretty; font-size: 1.025rem; }
.section-intro strong { color: var(--text); }
.intro-wide { max-width: 56rem; }
.intro-wide > p:not(.kicker) { text-wrap: balance; }
.abstract { padding-block: clamp(.95rem,1.7vw,1.5rem); }
.abstract-card { padding: clamp(.85rem,1.65vw,1.25rem) clamp(.9rem,2.3vw,1.6rem); }
.abstract-card p { margin-top: .52rem; color: var(--secondary); font-size: .97rem; line-height: 1.5; text-align: justify; }
.abstract b { font-weight: 550; }
.abstract strong { color: var(--text); white-space: nowrap; }
.surface, .results-frame { border: 1px solid #dfe7ee; background: white; border-radius: 1rem; box-shadow: var(--paper-shadow); }
.paradigms { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding-block: 1.43rem; }
.paradigm { padding-inline: clamp(.9rem,2.1vw,1.9rem); text-align: center; }
.paradigm + .paradigm { border-left: 1px solid #e1e8ef; }
.paradigm h3 { font-size: 1.12rem; font-weight: 630; }
.paradigm.ours h3, .paradigm .shared-model { color: #931b2d; }
.paradigm figcaption { margin: .23rem auto 0; max-width: 17rem; color: var(--secondary); font-size: .92rem; line-height: 1.44; text-wrap: pretty; }
.paradigm figcaption strong { white-space: nowrap; }
.sketch { height: 6.45rem; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #44596d; }
.node { display: inline-flex; justify-content: center; align-items: center; min-height: 1.62rem; padding: .18rem .65rem; color: #3e526b; font-size: .81rem; line-height: 1.2; font-weight: 540; border: 1px solid #cbd8e4; border-radius: .32rem; background: #f3f7fb; white-space: nowrap; }
.node.neutral { color: #555656; background: #f8f8f7; border-color: #b8b9b8; }
.node.system-one { color: #715786; background: #ede7f4; border-color: #cdbfdb; }
.node.system-two { color: #3b6c58; background: #e0ede7; border-color: #abc8b9; }
.node.auxiliary-model { color: #19565d; background: #ddf2f3; border-color: #a6ccce; }
.fork-nodes { --connector: #555656; margin-top: 1.25rem; position: relative; display: grid; grid-template-columns: 1fr 1rem 1fr; align-items: center; }
.branch-or { text-align: center; font-size: .71rem; color: var(--secondary); }
.fork-nodes::before { content: ""; position: absolute; left: calc(25% - .25rem); right: calc(25% - .25rem); top: -.72rem; border-top: 1.5px solid var(--connector); }
.fork-nodes::after { content: ""; position: absolute; left: 50%; top: -1.25rem; height: .56rem; border-left: 1.5px solid var(--connector); }
.fork-nodes .node { position: relative; }
.fork-nodes .node::before { content: ""; position: absolute; left: 50%; top: calc(-.72rem - 1px); height: .7rem; border-left: 1.5px solid var(--connector); }
.fork-nodes .node::after, .aux-exchange i::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); border: solid transparent; border-width: 5px 3.5px 0; border-top-color: var(--connector); }
.fork-nodes .node::after { top: -5px; }
.aux-exchange { --connector: #19565d; display: flex; align-items: stretch; gap: .55rem; height: 1.45rem; }
.aux-exchange i { width: 1.6px; position: relative; background: var(--connector); }
.aux-exchange i::after { bottom: 0; }
.aux-exchange .feedback { --connector: #3b6c58; transform: rotate(180deg); }
.frozen-box { display: grid; gap: .42rem; padding: .46rem .88rem .65rem; background: #e7eefc; border: 1px solid #b7c9e9; border-radius: .6rem; }
.frozen-label { color: #344e79; font-size: .76rem; line-height: 1.3; font-weight: 580; }
.loop-nodes, .opposing { display: flex; align-items: center; gap: .53rem; }
.node.pilot-node { background: #fce6d5; color: #861321; border-color: #b37072; font-weight: 620; }
.node.jet-node { background: #fff2ca; color: #a14a08; border-color: #c78737; font-weight: 620; }
.opposing { flex-direction: column; justify-content: center; gap: .35rem; width: 1.42rem; color: #931b2d; }
.opposing i { width: 100%; height: 1.6px; background: currentColor; position: relative; }
.opposing i::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); border: solid transparent; border-width: 3.5px 0 3.5px 5px; border-left-color: currentColor; }
.opposing i + i { color: #c55e0f; transform: rotate(180deg); }

.method-surface, .trace { padding: clamp(1rem,2.6vw,1.9rem); }
.roles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1.65rem,4vw,3.35rem); }
.roles article > p { margin-top: .52rem; color: var(--secondary); font-size: 1rem; line-height: 1.56; }
.roles strong { color: var(--text); }
.method-figure { margin-top: 1.45rem; padding-top: 1.1rem; border-top: 1px solid #e3e9ef; }
.method-figure img { width: 100%; height: auto; }
.method-figure figcaption { font-size: .87rem; line-height: 1.5; color: var(--secondary); margin: .7rem 0 .1rem; }
.disclosure { border-top: 1px solid var(--line); }
.disclosure summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.8rem; padding-block: .63rem; color: var(--blue); list-style: none; font-weight: 540; }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after { content: ""; flex: 0 0 .47rem; width: .47rem; height: .47rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-right: .24rem; }
.disclosure[open] summary::after { transform: rotate(225deg); }
.disclosure > div { padding: .1rem 0 .7rem; color: var(--secondary); }
.disclosure p + p { margin-top: .56rem; }
.threshold-note { margin: 1.1rem 0 -.55rem; }

#results { --jevlm-mark: #bf403b; --star-mark: #b47713; --native-mark: #3f647b; --baseline-mark: #708397; }
.frontier { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.75fr); gap: clamp(1.2rem,2.25vw,2rem); align-items: center; padding: clamp(1rem,2.4vw,1.65rem); margin-bottom: 1.2rem; }
.frontier h3, .results-heading h3 { font-size: clamp(1.18rem,2vw,1.38rem); }
.frontier p, .overview-copy { color: var(--secondary); font-size: .98rem; line-height: 1.52; }
.frontier p { margin-top: .65rem; text-wrap: balance; }
.keep-together, .method-ref { white-space: nowrap; }
.overview-copy strong { color: var(--text); }
.frontier a { display: block; min-width: 0; }
.frontier img { width: 100%; height: auto; background: #fcfaf2; border-radius: .65rem; }
.frontier-plot small { display: block; margin-top: .5rem; color: var(--secondary); font-size: .84rem; line-height: 1.45; text-wrap: balance; }
.results-frame { overflow: hidden; }
.results-heading { padding: 1.4rem 1.5rem .45rem; }
.overview-copy { padding: 0 1.5rem; max-width: 53rem; }
.method-ref small { font-size: .9em; }
.plot-legend { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .35rem 1.12rem; margin: 1.35rem 1.1rem 1.25rem; padding: 0; list-style: none; }
.plot-legend li { display: inline-flex; align-items: center; gap: .4rem; font-size: clamp(1rem,1.45vw,1.14rem); line-height: 1.45; font-weight: 540; color: var(--text); }
.plot-legend i { width: .83em; height: .83em; flex: none; background: var(--baseline-mark); }
.plot-legend .key-jevlm { border-radius: 50%; background: var(--jevlm-mark); }
.plot-legend .key-star { background: var(--star-mark); clip-path: polygon(50% 0%,62% 36%,100% 36%,69% 59%,81% 96%,50% 73%,19% 96%,31% 59%,0 36%,38% 36%); }
.plot-legend .key-native { background: var(--native-mark); clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); }
.key-deer { clip-path: polygon(50% 0,100% 100%,0 100%); }
.key-trim { clip-path: polygon(0 0,100% 0,50% 100%); }
.key-vts { clip-path: polygon(18% 0,50% 33%,82% 0,100% 18%,67% 50%,100% 82%,82% 100%,50% 67%,18% 100%,0 82%,33% 50%,0 18%); }
.model-results { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.75rem,1.7vw,1.25rem); padding: 0 1.15rem 1.25rem; }
.model-result { min-width: 0; }
.model-result h4 { margin: 0 0 .5rem; text-align: center; color: var(--heading); font-size: clamp(1.02rem,1.6vw,1.18rem); line-height: 1.35; font-weight: 630; }
.model-plot { display: block; width: 100%; height: auto; aspect-ratio: 400/327; }
.model-speed { margin: .38rem 0 .85rem; text-align: center; font-size: 1rem; line-height: 1.3; color: var(--jevlm-mark); font-weight: 560; }
.model-speed strong { font-size: 1.28em; font-weight: 660; }
table { border-collapse: collapse; font-variant-numeric: tabular-nums; color: var(--text); }
.result-table { table-layout: fixed; width: 100%; }
.result-table td, .result-table th { padding: .52rem .45rem; font-size: .93rem; line-height: 1.35; text-align: right; }
.result-table td, .result-table tbody th { white-space: nowrap; }
.result-table th:first-child { width: 39%; text-align: left; }
.result-table th:nth-child(2) { width: 22%; }
.case-table td, .case-table th { text-align: left; padding: .66rem .65rem; font-size: .93rem; }
.result-table thead th, .case-table thead th { border-bottom: 1px solid #dce4ec; background: #f5f8fb; color: var(--secondary); font-size: .85rem; font-weight: 550; }
tbody th { font-weight: 570; }
tbody tr + tr { border-top: 1px solid #e4ebf0; }
.row-ours { background: #f0f8f7; }
.result-table .row-ours { background: #fcf2ef; }
.result-table .row-star td:first-of-type, .result-table .row-ours td:last-child { font-weight: 650; }
.result-note { padding: .78rem 1.5rem; font-size: .85rem; color: var(--secondary); line-height: 1.45; border-top: 1px solid #e1e8ef; }
.compare-all { margin-top: 1rem; border-top: 0; }
.compare-all[open] { padding-bottom: .4rem; }
#benchmarks { scroll-margin-top: 2.8rem; }
#benchmarks a, .method-ref a { white-space: nowrap; text-decoration: underline; text-decoration-color: #acbfd3; }
#benchmarks a:hover, .method-ref a:hover { text-decoration-color: currentColor; }

.case-gallery { --case-padding: clamp(1rem,2.6vw,1.9rem); padding: var(--case-padding); position: relative; }
.case-pager { position: absolute; top: var(--case-padding); right: var(--case-padding); display: flex; align-items: center; gap: .48rem; }
.case-pager button { display: grid; place-items: center; width: 2.45rem; height: 2.45rem; border-radius: 50%; color: #345c70; border: 1px solid #cfdae4; background: white; }
.case-pager button:hover { background: #eff6fa; border-color: #a1b9c9; }
.case-pager i { width: .49rem; height: .49rem; border: solid currentColor; border-width: 1.7px 1.7px 0 0; }
.pager-prev i { transform: translateX(1px) rotate(-135deg); }
.pager-next i { transform: translateX(-1px) rotate(45deg); }
.case-position { font-size: .86rem; color: var(--secondary); font-variant-numeric: tabular-nums; white-space: nowrap; }
.case-head { margin-bottom: .47rem; }
.case-source { min-height: 2.45rem; display: flex; flex-wrap: wrap; align-items: center; column-gap: .35rem; margin-right: 10.5rem; font-size: .86rem; color: var(--teal); font-weight: 580; }
.case-backbone::before { content: "·"; margin-right: .35rem; }
.case-head h3 { margin-top: .16rem; font-size: clamp(1.2rem,2.2vw,1.45rem); }
.case-page + .case-page:not([hidden]) { margin-top: 1.35rem; }
.case-gallery:has(.case-pager:not([hidden])) .case-page { margin-top: 0; }
.question { color: var(--secondary); }
.question strong { color: var(--text); }
.case-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: clamp(1.1rem,2.3vw,2rem); align-items: center; margin: 1.18rem 0 1.35rem; }
.film { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; }
.film-pair { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 1.15rem; }
.film-video { row-gap: .72rem; }
.film img { width: 100%; height: auto; border-radius: .44rem; background: #ecf1f4; }
.film figcaption { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; column-gap: .3rem; margin-top: .28rem; font-size: .84rem; color: var(--text); }
.film figcaption span { font-size: .79rem; color: var(--secondary); }
.film figcaption span::before { content: "·"; margin-right: .3rem; }
.film-note { margin: .63rem 0 0; color: var(--secondary); font-size: .83rem; line-height: 1.4; }
.frame { position: relative; border-radius: .44rem; }
.held { display: none; position: absolute; inset: 0; border: 1px dashed #bdcbd6; border-radius: inherit; align-items: center; justify-content: center; color: #546777; font-size: .8rem; font-weight: 550; background: #f1f5f8; }
.film[data-step="1"] .held { display: flex; }
.film[data-step="2"] [data-added] .frame { outline: 2px solid #318a81; outline-offset: 2px; }
.source-mark { position: absolute; border: 2px solid #d40000; pointer-events: none; }
.mark-wide { left: 14.67%; top: 51.63%; width: 9.91%; height: 11.07%; }
.mark-crop { left: -5.88%; top: 6.69%; width: 12.04%; height: 15.97%; }
.film[data-step="1"] [data-added] .source-mark { visibility: hidden; }
.trace-controls { display: flex; flex-wrap: wrap; gap: .29rem; }
.trace-controls button { background: white; color: #43556c; font-weight: 530; font-size: .81rem; padding: .35rem .55rem; min-height: 2rem; line-height: 1.25; border: 1px solid #d9e3eb; border-radius: 3rem; }
.trace-controls button:hover { background: #f0f6fa; }
.trace-controls button[aria-selected="true"] { background: #e9f5f3; border-color: #99c8c2; color: #0c615c; font-weight: 620; }
.trace-reading { margin-top: .7rem; }
.case-rounds:has(.trace-controls:not([hidden])) .static-round { display: none; }
.static-round { font-weight: 620; }
.trace-reading p { min-height: 4.4rem; color: var(--secondary); font-size: .94rem; line-height: 1.48; }
.trace-reading strong { color: var(--text); }
.case-outcome { border-top: 1px solid #e1e8ef; padding-top: .85rem; }
.case-table { width: 100%; }
.case-table caption { text-align: left; margin-bottom: .44rem; font-size: .94rem; font-weight: 600; }
.case-table .verdict { display: inline-block; font-size: .79rem; margin-left: .36rem; color: var(--secondary); }
.case-table .row-ours .verdict { color: var(--teal); }
.case-table td:last-child, .case-table td:nth-last-child(2) { white-space: nowrap; }

.citation .shell { max-width: 46rem; }
.citation pre { margin: 0; padding: clamp(1rem, 2.4vw, 1.55rem); font: .92rem/1.65 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.citation pre code { font: inherit; }
.citation-actions { margin-top: 1rem; text-align: center; }
.citation-actions [role="status"]:not(:empty) { margin-top: .45rem; color: var(--secondary); font-size: .88rem; }

footer { background: #fff; }
.footer-inner { display: grid; justify-items: center; gap: .45rem; padding-block: clamp(2.25rem, 4vw, 3rem); text-align: center; }
.footer-code { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: .55rem; }
.footer-code:hover img { opacity: .75; }
.footer-title { color: var(--heading); font-size: 1.13rem; font-weight: 550; text-wrap: balance; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1rem; color: var(--secondary); font-size: .83rem; }

@media (max-width: 815px) {
  .hero { padding-top: 2.95rem; }
  .frontier { grid-template-columns: minmax(0,1fr); gap: .9rem; }
  .frontier-plot { width: 100%; max-width: 39rem; margin-inline: auto; }
  .paradigms { padding-block: 1.1rem; }
  .paradigm { padding-inline: .8rem; }
  .case-layout { grid-template-columns: 1fr; gap: .85rem; }
  .trace-reading p { min-height: auto; }
  .case-rounds { padding-bottom: .2rem; }
}
@media (max-width: 880px) {
  .model-results { grid-template-columns: minmax(0,1fr); gap: 1.25rem; }
  .model-result { width: min(100%,28rem); margin-inline: auto; }
  .model-result + .model-result { padding-top: 1.25rem; border-top: 1px solid var(--line); }
  .model-result h4 { font-size: 1.16rem; }
}
@media (max-width: 736px) {
  .nav-inner { min-height: 3.3rem; flex-wrap: wrap; justify-content: space-between; gap: 0; }
  .brand { padding-right: 0; border: 0; }
  .nav-toggle { display: block; }
  .nav-lab { display: none; }
  #primary-nav { display: none; width: 100%; gap: .3rem 1rem; padding-bottom: .5rem; flex-wrap: wrap; }
  #primary-nav.is-open { display: flex; }
  #primary-nav a { min-height: 2.15rem; font-size: .91rem; }
}
@media (max-width: 640px) {
  :root { --edge: 1.12rem; }
  html { scroll-padding-top: 4rem; }
  .hero { padding-block: 2.5rem 2.35rem; }
  h1 { font-size: clamp(1.95rem,6.35vw,2.4rem); margin: 0 0 .8rem; }
  .authors { font-size: 1.07rem; }
  .affiliation { line-height: 1.45; margin-top: .28rem; }
  .actions { margin-top: 1.08rem; gap: .4rem; }
  .button { padding-inline: .53rem; gap: .24rem; font-size: .9rem; }
  .band { padding-block: 2.7rem; }
  .abstract-card p { text-align: start; }
  .section-intro { margin-bottom: 1.2rem; }
  .section-intro h2 { font-size: clamp(1.62rem,5.8vw,2.08rem); }
  .section-intro > p:not(.kicker) { font-size: 1rem; }
  .paradigms { grid-template-columns: 1fr; padding: .25rem .82rem; }
  .paradigm { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.94fr); column-gap: .7rem; align-content: center; padding: .82rem 0; text-align: left; }
  .paradigm + .paradigm { border-left: 0; border-top: 1px solid #e2e9ef; }
  .paradigm h3 { align-self: end; font-size: 1rem; }
  .paradigm figcaption { margin: .2rem 0 0; font-size: .88rem; align-self: start; }
  .sketch { height: 4.9rem; grid-row: 1 / 3; grid-column: 2; align-self: center; }
  .frozen-box { padding: .35rem .45rem .5rem; }
  .node { padding: .17rem .38rem; font-size: .76rem; min-height: 1.45rem; }
  .loop-nodes { gap: .32rem; }
  .opposing { width: 1rem; }
  .roles { grid-template-columns: minmax(0,1fr); gap: 1.1rem; }
  .roles h3 { font-size: 1.11rem; }
  .roles article > p { margin-top: .3rem; }
  .results-heading { padding: 1rem .9rem .45rem; }
  .overview-copy { padding-inline: .9rem; }
  .plot-legend { gap: .25rem .78rem; margin: 1rem .9rem 1.2rem; }
  .model-results { padding-inline: .9rem; }
  .result-note { padding: .7rem .9rem; }
  .case-pager { gap: .34rem; }
  .case-pager button { width: 2.3rem; height: 2.3rem; }
  .case-source { margin-right: 10.1rem; line-height: 1.3; }
  .question { margin-top: .55rem; }
  .film { gap: .35rem; }
  .film figcaption { font-size: .78rem; }
  .film figcaption span { font-size: .74rem; }
  .held { font-size: .72rem; }
  .case-table td, .case-table th { font-size: .84rem; padding: .48rem .27rem; }
  .case-table thead th { font-size: .78rem; }
  .case-table .verdict { display: block; margin: .06rem 0 0; }
}
@media (max-width: 430px) {
  .case-source { display: block; margin-right: 0; }
  .case-dataset { display: flex; align-items: center; min-height: 2.3rem; margin-right: 10.1rem; }
  .case-backbone { display: block; color: var(--secondary); font-weight: 450; font-size: .82rem; }
  .case-backbone::before { content: none; }
  .case-head h3 { margin-top: .35rem; }
}
@media (max-width: 355px) {
  :root { --edge: .85rem; }
  .paradigm { grid-template-columns: minmax(0,.92fr) minmax(0,1fr); }
  .paradigm figcaption strong { white-space: normal; }
  .actions { gap: .32rem; }
  .button { padding-inline: .7rem; }
  .button i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
@media print {
  .site-header, .nav-toggle, .actions, .case-pager, .trace-controls, .citation-actions, .footer-code, .footer-meta a { display: none !important; }
  .shell { width: 100%; }
  .band, .hero { padding-block: 1.2rem; }
  .surface, .results-frame { box-shadow: none; }
  .case-page[hidden], .trace-reading [hidden], .trace-reading .static-round { display: block !important; }
  .case-page { break-inside: avoid; }
  .film .held { display: none !important; }
  .model-result, .trace, figure { break-inside: avoid; }
}
