:root{color-scheme:dark;--paper:#191a1c;--ink:#f6f3ef;--muted:#c7c4c0;--line:#414143;--accent:#ebbf92;--soft:#45392e;--panel:#222325;--serif:Georgia,'Times New Roman',serif;font-family:Inter,'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body,figure{margin:0}.wrap{width:min(1400px,90%);margin:auto}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:5px}button{color:inherit;font:inherit;cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible,.tablewrap:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
header,nav,.section-head,.pair-footer,footer,figcaption{display:flex;align-items:center;gap:20px}header,.section-head,.pair-footer,footer,figcaption{justify-content:space-between}header{min-height:64px;background:#141719;box-shadow:0 0 0 100vmax #141719;clip-path:inset(0 -100vmax)}.wordmark{font-size:21px;font-weight:650;letter-spacing:-.04em}nav{font-size:16px;gap:26px}
.hero{position:relative;isolation:isolate;display:grid;align-items:center;min-height:clamp(520px,72svh,820px);overflow:hidden}.backdrop{position:absolute;inset:0;width:100%;height:100%;z-index:-2}.backdrop{object-fit:cover;object-position:50% 10%}.hero-copy{padding:38px 0;color:white}h1,h2,h3,.stats dd{font-family:var(--serif);font-weight:400}h1{font-size:clamp(78px,7.7vw,128px);line-height:.96;letter-spacing:-.052em;margin:0}h1 em{display:block;font-weight:400}.subtitle{font-size:clamp(18px,1.7vw,25px);line-height:1.4;max-width:495px;margin:24px 0 30px;text-wrap:balance}.explore{display:inline-block;font-weight:550}.explore:before{content:'';display:block;width:42px;height:3px;background:var(--accent);margin-bottom:12px}.secondary,.cases a{color:var(--accent);font-weight:600}.pair-footer button{border-radius:5px;padding:11px 16px;background:var(--accent);color:#171717}video,.frames img{width:100%;display:block}video{color-scheme:dark}
.stats{color:#fff;background:#151719;display:grid;grid-template-columns:repeat(5,1fr);margin:0;border-bottom:1px solid var(--line);padding:clamp(30px,5vh,54px) max(5%,calc((100% - 1400px)/2))}.stats div{padding-left:24px;border-left:1px solid var(--line);display:flex;flex-direction:column-reverse;gap:3px}.stats div:first-child{border:0;padding-left:0}.stats dt{color:var(--muted)}.stats dd{font-size:44px;margin:0;letter-spacing:-.045em}.stats small{font-size:24px}
main>section:not(.hero){width:min(1200px,90%);margin:auto;padding:64px 0;border-bottom:1px solid var(--line);scroll-margin-top:15px}h2{font-size:clamp(35px,4vw,52px);line-height:1.08;letter-spacing:-.045em;margin:0}h3{font-size:29px;letter-spacing:-.025em;line-height:1.2;margin:16px 0 8px}.intro,.note,.pair figure p,.cases p{line-height:1.55;color:var(--muted)}.intro{max-width:900px}.filters{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.filters button{color:var(--ink);border:1px solid var(--line);background:transparent;border-radius:25px;padding:8px 13px}.filters button[aria-pressed=true]{background:#e7bf95;color:#1a1714;border-color:var(--ink)}.filters button:hover{border-color:var(--accent)}.tablewrap{border:1px solid var(--line);border-radius:7px;overflow:auto;background:var(--panel)}table{border-collapse:separate;border-spacing:0;width:100%;font-size:15px;font-variant-numeric:tabular-nums}th,td{text-align:right;padding:10px 8px;white-space:nowrap;border-bottom:1px solid #373738}thead th{background:#303031}thead button{border:none;background:none;font-weight:650;padding:2px}th:first-child{text-align:left;position:sticky;left:0;padding-left:14px}tbody th{background:var(--panel);font-weight:600}tbody tr:last-child>*{border-bottom:0}td.best{background:var(--soft);color:#ffcf99;font-weight:700}.note{font-size:14px;margin-bottom:0}
.pair,.cases{display:grid;gap:20px}.pair{grid-template-columns:1fr 1fr}.cases{grid-template-columns:repeat(3,1fr);margin-top:25px}.pair figure,.cases article{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--panel)}video{background:#0c0d0e;aspect-ratio:16/9;object-fit:contain}.pair figcaption,.pair figure p,.cases article>div{padding:14px 16px}.pair figure p{margin:0;padding-top:0}.pair b{color:var(--accent);font-variant-numeric:tabular-nums}.pair-footer{justify-content:flex-start;margin-top:16px;color:var(--muted);font-size:15px}.pair-footer button{border:0}.frames{display:grid;grid-template-columns:1fr 1fr;gap:2px}.frames span{display:block;padding:5px 10px;font-size:14px;color:var(--muted)}.cases h3{margin:0;font-size:26px}.cases p{margin:10px 0 15px}.cases a{font-weight:600}.cases article>div{padding-bottom:21px}footer{padding:28px 0 40px;color:var(--muted)}
@media(max-width:820px){.cases{grid-template-columns:1fr}.cases article{display:grid;grid-template-columns:1fr 1.25fr;align-items:center}.wrap{width:93%}}
@media(max-width:650px){header{align-items:flex-start;flex-direction:column;gap:12px;padding:16px 0}nav{width:100%;justify-content:space-between;gap:8px;font-size:14px}.stats{grid-template-columns:1fr 1fr;row-gap:18px}.stats div:nth-child(odd){border:0;padding-left:0}.stats dd{font-size:35px}.stats dt{font-size:15px}main>section:not(.hero){padding:34px 0}.section-head{flex-wrap:wrap;gap:10px}.pair,.cases article{grid-template-columns:1fr}.pair-footer{flex-wrap:wrap;gap:10px}.filters{gap:6px}.filters button{font-size:14px}.frames img{aspect-ratio:16/9;object-fit:contain}.cases article{display:block}.pair figcaption{font-size:16px}}

.paths{margin-top:18px}.paths summary{color:var(--accent);font-weight:600;cursor:pointer}.paths img{display:block;width:100%;height:auto;margin:14px 0}

@media(max-width:650px){header{align-items:flex-start;gap:9px;padding:12px 0}nav{justify-content:space-between;width:100%;gap:5px;font-size:14px}.hero{min-height:510px;align-items:end}.backdrop{object-position:58% center}.hero-copy{padding:30px 0}.subtitle{margin:16px 0 20px;max-width:350px}.stats{padding-inline:5%}main>section:not(.hero){width:90%}}

.hero video.backdrop{object-fit:cover;aspect-ratio:auto}
#film-toggle{position:absolute;right:4%;bottom:20px;background:#101115c9;color:white;border:1px solid #ffffff7d;border-radius:22px;padding:7px 12px;font-size:13px}
@media(max-width:420px){#film-toggle{bottom:16px;font-size:12px}}

.task-charts, .analysis-charts {
  display: grid;
  gap: clamp(28px, 4vw, 58px);
  margin-top: 32px;
}
.chart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.05fr);
  align-items: center;
  gap: 32px;
}
.chart-row h3, .chart-card h3 {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
  text-wrap: balance;
}
.chart-copy p {
  margin: 12px 0 0;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.chart-row img, .chart-card img {
  display: block;
  background: white;
  padding: clamp(6px, .8vw, 12px);
  border-radius: 5px;
}
.chart-row img, .chart-card img { display: block; width: 100%; height: auto; }
.analysis-charts { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.chart-card h3 { margin-bottom: 14px; }
.chart-wide { grid-column: 1 / -1; }
.profile-radars { scroll-margin-top: 90px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding: 16px 0 4px; position: relative; }
.profile-radars .radar-defs { position: absolute; }
.profile-radars figure { margin: 0; min-width: 0; }
.profile-radars figcaption { text-align: center; color: #fff; font-size: 14px; font-weight: 620; }
.profile-radars figure svg { display: block; width: 100%; max-width: 240px; margin: 8px auto 0; overflow: visible; }
.radar-axis-label { fill: #fff; font: 12px system-ui, sans-serif; text-anchor: middle; dominant-baseline: central; }
.radar-grid { fill: none; stroke: #ffffff24; stroke-width: 1; }
.radar-series { transform-origin: 100px 94px; }
.radar-series polygon { fill: currentColor; fill-opacity: .18; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.radar-series circle { fill: currentColor; }
.profile-radars figure:last-child polygon:not(.radar-grid polygon) { fill-opacity: .035; }
@media (max-width: 1050px) {
  .profile-radars { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
}
@media (max-width: 600px) {
  .profile-radars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .profile-radars .show-measures .radar-series { animation: radar-expand .8s cubic-bezier(.22,.68,.2,1) both; }
  .profile-radars figure:nth-of-type(3n+2) .radar-series { animation-delay: 80ms; }
  .profile-radars figure:nth-of-type(3n) .radar-series { animation-delay: 160ms; }
  @keyframes radar-expand { from { opacity: 0; transform: scale(.12); } to { opacity: 1; transform: scale(1); } }
}
.paths { margin-top: 24px; }
.paths figure { margin: 0; }
@media (min-width: 881px) {
  .task-charts > .chart-row:nth-child(even) {
    grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr);
  }
  .task-charts > .chart-row:nth-child(even) img { order: -1; }
}
@media (max-width: 880px) {
  .chart-row { grid-template-columns: 1fr; gap: 16px; }
  .chart-copy p { max-width: 68ch; }
}
@media (max-width: 740px) {
  .analysis-charts { grid-template-columns: minmax(0, 1fr); }
}
.case-comparison{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 12px}.case-comparison video,.case-comparison img{width:100%;aspect-ratio:16/10;background:#121213;display:block;object-fit:contain}.case-comparison figcaption{padding-top:6px;font-weight:600}
@media(max-width:740px){.case-comparison{grid-template-columns:repeat(2,minmax(0,1fr))}}

video.scene-wall{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:fill;z-index:-3}
.hero-player{inset:0 auto auto 0;transition-property:width,height,top,left,object-position;transition-duration:1.8s;transition-timing-function:cubic-bezier(.42,0,.22,1)}
.hero.wall-visible .hero-player{object-position:center;left:calc(90600% / 1810);top:calc(18200% / 726);width:calc(30000% / 1810);height:calc(18000% / 726)}
.intro-controls{position:absolute;right:4%;bottom:16px;display:flex;gap:8px}.intro-controls #film-toggle,.intro-controls #show-wall{position:static;border:1px solid #ffffff80;border-radius:20px;background:#101115d9;color:white;font-size:14px;padding:7px 13px}
@media(max-width:650px){.hero.wall-visible .hero-player{left:0;top:calc(30600% / 814);width:calc(16000% / 484);height:calc(10000% / 814)}.hero-copy{padding-bottom:70px}.intro-controls{left:5%;right:auto}}
@media(prefers-reduced-motion:reduce){.hero-player{transition:none}}

.hero-player{position:absolute;width:100%;height:100%;z-index:-2;overflow:hidden}
.hero-player video.backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.wall-visible .hero-player video.backdrop{object-position:center}
.wall-inputs{position:absolute;inset:0;z-index:-3;display:grid;grid-template:repeat(4,1fr)/repeat(6,1fr);gap:calc(200% / 726) calc(200% / 1810);pointer-events:none}
.wall-inputs>div,.case-player{position:relative}
.input-panel {
  --cap:14px;
  position:absolute;left:12px;bottom:9px;display:flex;gap:4px;padding:2px;
  pointer-events:none;
}
.input-cluster {display:grid;grid-template-columns:repeat(3,var(--cap));gap:1px}
.input-cluster kbd {
  display:grid;place-items:center;width:var(--cap);height:var(--cap);
  background:#18263599;border:1px solid #b7cad62b;border-radius:2px;
  color:#e0e7edd6;font:600 calc(var(--cap)*.73)/1 Consolas,monospace;
}
.input-cluster kbd:first-child{grid-column:2}
.input-cluster kbd:nth-child(2){grid-column:1}
.input-cluster kbd.on{color:#16191c;background:#ffcd82;border-color:#ffe2bc}
.wall-inputs .input-panel,.wall-visible .hero-player .input-panel{--cap:12px;inset-inline:7px;bottom:6px;justify-content:space-between;padding:1px}
.case-player .input-panel{--cap:12px;left:7px;bottom:6px;padding:0}
@media(max-width:650px){
  video.scene-wall { z-index: -4; }
  .wall-inputs { transform: translateZ(0); }
  .wall-inputs{grid-template:repeat(8,1fr)/repeat(3,1fr);gap:calc(200% / 814) calc(200% / 484)}
  .wall-inputs .input-panel,.wall-visible .hero-player .input-panel{--cap:10px;left:7px;bottom:7px}
  .case-player .input-panel{--cap:10px;left:6px;bottom:5px}
  .intro-controls{left:auto;right:3%;bottom:4px}
}

.hero .input-panel{opacity:0}
.hero.wall-visible .input-panel{opacity:1;transition:opacity .15s ease 1.8s}
@media(prefers-reduced-motion:reduce){.hero.wall-visible .input-panel{transition:none}}



.case-comparison figcaption{flex-wrap:wrap;gap:4px 10px}.case-score{color:var(--accent);font-variant-numeric:tabular-nums;white-space:nowrap}



.study-card{margin-top:24px;border:1px solid var(--line);border-radius:18px;background:#151618;overflow:hidden}
.study-heading{padding:18px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.study-heading h3{line-height:1.2;font-family:inherit;font-size:20px;font-weight:650;margin:0}
.study-heading span{font-size:14px;background:#292723;color:#efd3ad;border-radius:20px;padding:4px 11px}
.study-card .case-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.study-card figure{padding:18px 20px}.study-card figure+figure{box-shadow:inset 1px 0 var(--line)}
.model-label{display:block;margin-bottom:10px}.study-card video{border-radius:9px;aspect-ratio:16/9;object-fit:cover}
.study-card figcaption{display:flex;justify-content:flex-start;gap:7px;color:var(--muted)}.study-card figcaption b{color:var(--accent)}
.card-note{margin:0 20px;color:var(--muted);font-size:14px}.study-card .pair-footer{padding:0 20px 16px}
@media(max-width:600px){.study-card figure{padding:9px}.study-heading{padding:14px}.card-note{margin:8px 12px}.study-card .pair-footer{padding:0 12px 12px;gap:8px}}

header.wrap{position:sticky;top:0;z-index:10;width:100%;padding-inline:max(5%,calc((100% - 1400px)/2));box-shadow:none;clip-path:none;border-bottom:1px solid #333436}
header nav a{color:#c8c8c9;padding:8px 0;border-bottom:2px solid transparent;white-space:nowrap}
header nav a[aria-current=location]{color:white;border-color:var(--accent)}
main>section[id],main [id=framework],main [id=abstract],main [id=demo],main [id=leaderboard],main article[id]{scroll-margin-top:80px}


.resource-links {
  display: flex;
  gap: clamp(6px, 1vw, 10px);
}
.resource-links :is(button, a) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, .7vw, 9px);
  padding: 0 clamp(9px, 1.4vw, 20px);
  height: 40px;
  border: 1px solid rgb(248 242 233 / 35%);
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-family: inherit;
  font-size: clamp(13px, 1.25vw, 15px);
  font-weight: 600;
  line-height: 1;
  cursor: default;
  opacity: 1;
}
.resource-links a { cursor: pointer; text-decoration: none; }
.resource-links img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.resource-links .github-mark { filter: invert(1); }
.chart-row, .chart-card { padding: clamp(16px, 2.4vw, 36px); }
.chart-row, .chart-card, .study-card {
  position: relative;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(115deg, #2a2825, #202123 70%) padding-box,
    linear-gradient(135deg, #8e7858, #4c4640 34%, #38393b 75%, #615447) border-box;
  box-shadow: 0 10px 26px -18px #0009;
}
.chart-row:focus-within, .chart-card:focus-within, .study-card:focus-within {
  border-color: #dcc099;
}
.abstract {
  display: grid;
  grid-template-columns: 1fr 2.7fr;
  gap: 5%;
}
.abstract p {
  max-width: 84ch;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}
.abstract p + p { margin-top: 14px; }
.project-demo {
  display: block;
  width: min(100%, 960px);
  height: auto;
  margin: 24px auto 0;
  aspect-ratio: 16 / 9;
  background: #141517;
  border: 1px solid var(--line);
  border-radius: 12px;
}
@media (max-width: 760px) {
  .abstract { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media(max-width:800px){header.wrap{flex-direction:column;align-items:flex-start;gap:4px;padding-block:7px}header nav{width:100%;gap:12px;overflow-x:auto;justify-content:space-between;font-size:14px}header nav a{padding:4px 0}}


.validation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 1px;
  margin: 30px 0 42px;
  background: #464440;
  border: 1px solid #464440;
  border-radius: 16px;
  overflow: hidden;
}
.validation-grid article {
  min-width: 0;
  padding: clamp(18px, 1.5vw, 25px);
  background: #222325;
}
.validation-grid h3 { margin: 0; font-size: clamp(23px, 2vw, 30px); }
.validation-grid p, .analysis-charts p {
  color: var(--muted);
  line-height: 1.55;
  max-width: 80ch;
  margin: 10px 0 20px;
}
.measure-label, .judge-results caption {
  color: #c8b89e;
  font-size: 14px;
  text-align: left;
  margin-bottom: 10px;
}
.measure-bars { margin: 0; }
.validation-grid .composite-label { margin: 14px 0 3px; }
.validation-grid .composite-note { font-size: 14px; margin: 0 0 8px; }
@media (min-width: 1001px) {
  .validation-grid article { display: flex; flex-direction: column; }
  .validation-grid .judge-chart { margin-block: auto 0; }
}
.measure-bars > div { position: relative; padding: 6px 0 10px; }
.measure-bars dt { padding-right: 4em; }
.measure-bars dd { margin: 7px 0 0; }
.measure-bars b { position: absolute; top: 6px; right: 0; font-variant-numeric: tabular-nums; }
.validation-grid meter {
  appearance: none;
  display: block;
  width: 100%;
  height: 7px;
  border: 0;
  border-radius: 4px;
  background: #37383a;
}
.validation-grid meter::-webkit-meter-bar { background: #37383a; border: 0; height: 7px; border-radius: 4px; }
.validation-grid meter::-webkit-meter-optimum-value { background: var(--bar, #dfb98c); border-radius: 4px; }
.validation-grid meter::-moz-meter-bar { background: var(--bar, #dfb98c); border-radius: 4px; }
.measure-bars > div:nth-child(2) { --bar: #9cbfc4; }
.judge-results { table-layout: fixed; font-size: 14px; }
.judge-results :is(th,td) { background: transparent; position: static; padding: 6px 4px; white-space: normal; }
.judge-results th:first-child { width: 48%; padding-left: 0; overflow-wrap: anywhere; }
.judge-results { border-spacing: 4px; }
.judge-results td {
  text-align: center;
  border: 0;
  border-radius: 3px;
  color: #101a1c;
  background: hsl(181 23% calc(85% - (var(--error) - .574) * 66%));
  font-weight: 600;
}
.judge-results thead th:not(:first-child) { text-align: center; }
.validation-plot { display: block; width: 96%; height: auto; aspect-ratio: 1; object-fit: contain; margin: 8px auto 0; position: relative; left: -6px; }
.judge-legend { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px 10px; padding:0; margin:0 0 18px; list-style:none; font-size:13px; }
.judge-legend li { display:flex; align-items:baseline; gap:7px; }
.judge-legend li::before { content:""; flex:0 0 9px; height:9px; border-radius:2px; background:var(--judge); }
.judge-0 { --judge:#d9d9d4; }
.judge-1 { --judge:#e2b77f; }
.judge-2 { --judge:#9dc5cb; }
.judge-3 { --judge:#9bb69a; }
.judge-4 { --judge:#b6a3c5; }
.judge-5 { --judge:#d5907e; }
.judge-plots { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; }
.judge-plots svg { display:block; width:100%; font-variant-numeric:tabular-nums; }
.judge-plots rect { fill:var(--judge); transform-box:fill-box; transform-origin:center bottom; }
.judge-gridline { stroke:#555555; stroke-width:.7; }
.judge-metric,.judge-score { text-anchor:middle; fill:var(--ink); }
.judge-metric { font-size:13px; font-weight:600; }
.judge-score { font-size:10px; }
.judge-tick { text-anchor:end; fill:var(--muted); font-size:10px; }
.judge-chart figcaption { color:var(--muted); font-size:13px; line-height:1.45; margin-top:10px; }
@media (prefers-reduced-motion:no-preference) {
  .judge-chart.show-measures rect { animation:judge-rise .65s cubic-bezier(.2,.65,.3,1) var(--delay) backwards; }
  .judge-chart.show-measures .judge-score { animation:judge-label .3s ease-out calc(.35s + var(--delay)) backwards; }
  @keyframes judge-rise { from { transform:scaleY(0); } }
  @keyframes judge-label { from { opacity:0; } }
}
@media (max-width: 1000px) {
  .validation-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .show-measures meter { animation: reveal-measure .65s ease-out; }
  @keyframes reveal-measure { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
}

#board .model-organization { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--muted); }
#board .model-rank { color: var(--accent); font-variant-numeric: tabular-nums; }

.lab-player { position: relative; container-type: inline-size; }
.study-card .lab-player video { object-fit: contain; }

#benchmark-comparison { margin-top: clamp(32px, 5vw, 64px); }
.comparison-scroll { margin-top: 20px; }
.comparison-scroll table { min-width: 940px; font-size: 14px; }
.comparison-scroll :is(th, td) { text-align: center; padding: 10px 8px; }
.comparison-scroll tbody :is(th, td) { border-bottom: 0; }
.comparison-scroll th[scope="row"], .comparison-scroll th[rowspan]:first-child {
  text-align: left; position: sticky; left: 0; z-index: 1; padding-inline: 14px;
}
.comparison-scroll thead tr:nth-child(2) th { position: static; }
.comparison-scroll th[scope="colgroup"] { color: var(--muted); font-weight: 500; }
.comparison-scroll thead th { border: 0; }
.comparison-scroll thead tr:last-child th, .comparison-scroll thead th[rowspan] { border-bottom: 1px solid var(--line); }
.comparison-scroll th[scope="row"] small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.comparison-scroll .covered { color: #a7caca; font-weight: 650; }
.comparison-scroll .absent { color: #999897; }
.comparison-scroll .comparison-ours > * { background: #332d26; color: #f3d4ad; }
.comparison-scroll .comparison-ours th { box-shadow: inset 3px 0 var(--accent); }

.case-gallery { display: grid; gap: 20px; }
.case-gallery .study-card { margin: 0; min-width: 0; scroll-margin-top: 95px; }
.case-gallery .study-heading { border-bottom: 0; }
.metric-intro { margin: -4px clamp(14px, 2vw, 22px) 14px; max-width: 86ch; line-height: 1.5; color: var(--muted); }
.case-dimensions { margin-bottom: 12px; }
.case-metrics { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.case-metrics button { font: inherit; font-size: 14px; color: var(--muted); background: transparent; padding: 6px 10px; border: 0; border-bottom: 2px solid transparent; }
.case-metrics button[aria-pressed=true] { color: var(--ink); border-color: var(--accent); }
.action-summary { display: flex; gap: 4px; align-items: baseline; }
.action-summary b { flex: none; }
.action-summary span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.memory-context { margin: 16px 20px 0; color: var(--muted); }
.memory-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.memory-pair span { display: block; margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.study-card .memory-pair video { object-fit: contain; }
.memory-pair img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; border-radius: 9px; }
@media(max-width:800px) {
  .study-card .memory-comparison { grid-template-columns: minmax(0,1fr); }
}
.case-context {
  margin: 0 20px; padding: 12px 16px; border-left: 3px solid var(--accent);
  background: #302e2c; border-radius: 6px; line-height: 1.45; color: var(--muted);
}
.case-context p { margin: 0; }
.case-context p + p { margin-top: 6px; }
.case-context b { color: var(--ink); margin-right: 6px; }
.case-gallery .model-label { margin: 10px 0 0; }
.case-gallery figcaption { flex-wrap: wrap; }
.case-gallery figcaption b { display: inline-block; padding: 2px 6px; border-radius: 4px; background: #38322c; }
.case-gallery .study-card figure + figure { box-shadow: none; }
@media(max-width:650px) {
  .case-context { margin: 0 10px; padding: 10px; }
}

.judge-checklist { margin: 16px clamp(14px, 2vw, 22px) 6px; }
.judge-checklist h4 { margin: 0 0 5px; color: var(--accent); font-size: .86rem; }
.judge-checklist ul { margin: 0; padding-inline-start: 1.3em; list-style: disc; max-width: 82ch; line-height: 1.5; }
.judge-checklist li + li { margin-top: 4px; }

#board [data-group="0"] { --band: 102 158 182; }
#board [data-group="1"] { --band: 133 165 130; }
#board [data-group="2"] { --band: 163 140 191; }
#board [data-group="3"] { --band: 200 158 103; }
#board [data-group="4"] { --band: 189 133 147; }
#board [data-group] { text-align: center; background: rgb(var(--band) / .10); }
#board thead [data-group] { background: rgb(var(--band) / .18); }
#board th[scope="colgroup"] { font-size: .83em; }
#board th[data-group]:first-child { position: static; padding-left: 8px; }
#board td.best { background: rgb(var(--band) / .31); color: #fff3dd; }
#board .model-size { text-align: center; color: var(--muted); }
#board tbody th, #board thead th:first-child:not([data-group]) { z-index: 1; }
header .wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
header .wordmark img {
  flex: none;
  width: 54px;
  height: auto;
}
#board .board-model {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#board .model-icon {
  width: 26px;
  height: 26px;
  flex: none;
  object-fit: contain;
  border-radius: 50%;
  background: #f4f5f6;
}

.hero-copy .subtitle { margin-bottom: 14px; }
.affiliations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin: 0 0 24px;
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 1px 5px #151317;
}
.affiliations span { display: inline-flex; align-items: center; gap: 7px; }
.affiliations img { height: 1.22em; width: auto; filter: drop-shadow(0 1px 2px #16131c88); }

@media (max-width: 650px) {
  .affiliations { gap: 8px 14px; font-size: 15px; }
}

@media (max-width: 490px) {
  .affiliations { display: grid; grid-template-columns: max-content max-content; gap: 8px 20px; }
}

/* Let the balloon settle into its tile before moving the project details. */
.hero-copy > *, .hero-copy h1 em {
  position: relative;
  left: 0;
  width: fit-content;
  transform: translateX(0);
}
.hero.wall-visible .hero-copy > *, .hero.wall-visible .hero-copy h1 em {
  left: 50%;
  transform: translateX(-50%);
}
.hero.wall-visible .hero-copy .subtitle { text-align: center; }
.hero.wall-visible .hero-copy { text-shadow: 0 2px 12px #08090dcc; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, #090c11cf, #090c1180 32%, #090c111a 65%, transparent);
}
.hero.wall-visible::before { opacity: 0; }
/* Anchor the scrim to the moving title and extend it behind the project details. */
.hero-copy h1::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  left: 50%;
  top: calc(50% + 0.65em);
  width: clamp(640px, 95vw, 1440px);
  height: max(760px, 115svh);
  transform: translate(-50%, -50%);
  opacity: 0;
  background: radial-gradient(ellipse closest-side, #090c11d1, #090c11a8 35%, transparent 100%);
}
.hero.wall-visible .hero-copy h1::before { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero::before, .hero-copy h1::before {
    transition: opacity 1.1s cubic-bezier(.4, 0, .2, 1) 1.8s;
  }
  .hero-copy > *, .hero-copy h1 em {
    transition: left 1.1s cubic-bezier(.4, 0, .2, 1) 1.8s,
                transform 1.1s cubic-bezier(.4, 0, .2, 1) 1.8s;
  }
  .hero.wall-visible .hero-copy .subtitle { animation: center-subtitle 1.8s step-end; }
  @keyframes center-subtitle { from { text-align: left; } to { text-align: center; } }
}

.study-card .control-comparison { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.control-comparison figure { padding: 16px 10px; }
@media (max-width: 740px) {
  .study-card .control-comparison { grid-template-columns: minmax(0, 1fr); }
}

.case-metrics[data-group="5"] { display: none; }
.audio-heading { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.case-gallery .audio-heading .model-label { margin: 0; }
.listen-track { background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 5px 14px; }
.listen-track[aria-pressed="true"] { color: #171513; background: var(--accent); }
.audio-wave { --played: 0%; position: relative; height: 38px; margin: 9px 0 2px; overflow: hidden; }
.audio-wave svg { display: block; width: 100%; height: 100%; fill: none; stroke: #87858a; stroke-width: 1.8; stroke-linecap: round; }
.audio-wave .wave-played { stroke: var(--accent); clip-path: inset(0 calc(100% - var(--played)) 0 0); }
.audio-wave::after { content: ""; position: absolute; inset-block: 1px; left: clamp(0px, var(--played), calc(100% - 2px)); width: 2px; background: #ffe0ad; border-radius: 2px; }
.audio-score-wrap { overflow-x: auto; margin: 4px 20px 20px; }
.audio-scores { min-width: 420px; }
.audio-scores caption { text-align: left; font-weight: 600; padding: 8px 0; color: var(--muted); }
.audio-scores :is(th,td):not(:first-child) { text-align: center; }
@media (max-width: 740px) { .study-card .audio-comparison { grid-template-columns: minmax(0,1fr); } }

/* Each arc ends at the center of the matching visit column. */
.study-card .visit-scroll {
  display: block;
  overflow-x: auto;
  margin: 12px clamp(12px, 2vw, 22px) 20px;
}
.visit-timeline { min-width: 620px; }
.study-card .visit-row { padding: 16px 0; margin: 0; }
.visit-row + .visit-row { border-top: 1px solid var(--line); }
.visit-row figcaption { justify-content: space-between; align-items: baseline; }
.visit-row figcaption strong { color: var(--ink); font-size: 18px; }
.visit-row figcaption span { font-size: 14px; }
.visit-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.visit { display: flex; flex-direction: column; padding: 0 4px; min-width: 0; }
.visit span { order: 1; display: block; text-align: center; margin: 4px 0 8px; font-weight: 600; }
.visit small { color: var(--muted); font-weight: 400; white-space: nowrap; }
.visit img, .study-card .visit video {
  width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: contain;
  border-radius: 7px; background: #101112;
}
.visit-arcs { display: block; position: relative; z-index: 1; width: 100%; height: auto; overflow: visible; pointer-events: none; }
.arc-track {
  clip-path: inset(-6px 100% -6px -6px) fill-box;
  fill: none;
  stroke: #d5c3a9;
  stroke-opacity: .76;
  stroke-width: 1.15;
  stroke-dasharray: 3 4.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.visit-stop, .visit-bead { fill: #ffe2af; }
@media (prefers-reduced-motion: reduce) {
  .visit-bead { display: none; }
}

#metric-guide { scroll-margin-top: 72px; }
.metric-browser { display: grid; grid-template-columns: minmax(210px,.85fr) minmax(0,2fr); gap: clamp(25px,5vw,76px); margin-top: 28px; align-items: start; }
.metric-menu { display: grid; gap: 4px; }
.metric-menu button { display: flex; align-items: center; gap: 14px; background: transparent; border: 1px solid transparent; border-radius: 9px; padding: 7px 12px 7px 7px; text-align: left; font-weight: 550; }
.metric-menu img { width: 49px; height: 36px; object-fit: cover; border-radius: 5px; }
.metric-menu button:hover { background: #262626; }
.metric-menu button[aria-pressed=true] { color: #f4d1aa; background: #302c28; border-color: #5e4e3f; }
.metric-panel h3 { margin: 4px 0 24px; line-height: 1.16; font-size: clamp(25px,2.6vw,37px); text-wrap: balance; }
.metric-panel dl { margin: 0; }
.metric-entry { position: relative; padding: 16px 82px 16px 0; border-top: 1px solid var(--line); }
#metric-panel-5 .metric-entry { padding-right: 0; }
.audio-case-link { display: block; width: fit-content; margin-left: auto; color: var(--accent); font-size: .85rem; }
.metric-entry dt { font-weight: 600; }
.metric-entry dt span { display: inline-block; min-width: 3.4em; color: var(--accent); font-variant-numeric: tabular-nums; }
.metric-entry dd { margin: 6px 0 0; color: var(--muted); line-height: 1.5; }
.metric-entry a { position: absolute; top: 18px; right: 0; font-size: .85rem; color: var(--accent); }
.item-ratings { overflow-x: auto; }
.item-ratings table { width: 100%; min-width: 0; }
.item-ratings caption { text-align: left; color: var(--accent); font-weight: 600; padding: 5px 0; }
.item-ratings th, .item-ratings td { position: static; white-space: normal; }
.item-ratings tbody th { font-weight: 400; background: transparent; }
.item-ratings td { color: var(--accent); font-variant-numeric: tabular-nums; }
@media(max-width:700px) {
  .metric-browser { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .metric-menu { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric-menu button { font-size: 14px; gap: 8px; }
  .metric-menu img { width: 32px; height: 32px; }
  .metric-entry { padding-right: 0; }
  .metric-entry a { display: inline-block; position: static; margin-top: 8px; }
  .item-ratings th, .item-ratings td { padding: 8px 4px; font-size: 13px; }
}

#play-wall {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  right: 16px;
  padding: 9px 14px;
  border: 1px solid #ffffff70;
  border-radius: 20px;
  background: #18181be6;
  color: white;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

#mobile-wall, #portrait-video { display: none; }
@media(max-width:650px) {
  .hero { height: auto; min-height: 0; aspect-ratio: 964 / 1550; }
  #mobile-wall, #portrait-video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: -3; }
  #portrait-video { z-index: -4; }
  .portrait-playing #mobile-wall { visibility: hidden; }
  .hero #scene-wall, .hero .wall-inputs, .hero .hero-player video, .hero .hero-player .input-panel { display: none; }
  .hero .hero-player {
    background: center / cover url("assets/balloon-intro-poster.webp");
    transform-origin: top left;
    transition: transform 1.55s cubic-bezier(.42,0,.22,1), clip-path 1.55s cubic-bezier(.42,0,.22,1), opacity .3s ease 1.35s;
    clip-path: inset(0);
  }
  .hero.motion-allowed .hero-player { background-image: url("assets/balloon-intro-once.webp"); }
  .hero.wall-visible .hero-player {
    inset: 0; width: 100%; height: 100%; transform: translateY(27.15%) scale(.33195);
    clip-path: inset(31.35% 0); opacity: 0;
  }
  @media (prefers-reduced-motion: reduce) { .hero .hero-player { transition: none; } }
}
.demo-player { position: relative; width: min(100%,960px); margin: 24px auto 0; }
.demo-player video { margin: 0; }
.demo-download { width: min(100%,960px); margin: 10px auto 0; text-align: right; }

@media (min-width: 651px) {
  .image-only-hero #mobile-wall { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
  .image-only-hero .hero-player { background: center / cover url("assets/balloon-intro-once.webp"); }
  .image-only-hero.wall-visible .hero-player { opacity: 0; transition: opacity .6s; }
}

#citation pre {
  margin: 20px 0 0;
  padding: clamp(16px, 3vw, 28px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .9rem;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.pending-resource { display: inline-flex; cursor: not-allowed; }
.pending-resource > button { pointer-events: none; }
