@charset "UTF-8";

:root {
  --ink: #1f2933;
  --ink-soft: #364152;
  --paper: #ffffff;
  --paper-bright: #f7f8fa;
  --muted: #667085;
  --line: rgba(31, 41, 51, 0.14);
  --line-dark: rgba(31, 41, 51, 0.14);
  --aqua: #527aa3;
  --aqua-deep: #315f8c;
  --orange: #c77b51;
  --blue: #5278ad;
  --radius: 12px;
  --shell: 1180px;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', 'SFMono-Regular', Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--ink); background: var(--aqua); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--aqua);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  backdrop-filter: blur(12px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 3px 14px rgba(31, 41, 51, 0.06);
}

.nav-shell {
  width: min(calc(100% - 48px), var(--shell));
  height: 68px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark {
  position: relative;
  width: 24px;
  height: 18px;
  display: inline-block;
}

.brand-mark i {
  position: absolute;
  width: 15px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transform: rotate(-16deg);
}

.brand-mark i:first-child { left: 0; top: 1px; }
.brand-mark i:last-child { right: 0; bottom: 0; transform: rotate(16deg); }

.site-nav { display: flex; align-items: center; gap: 32px; }

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--aqua-deep);
  content: '';
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }
.site-nav a.is-active::after { transform: scaleX(1); }

.nav-code {
  justify-self: end;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  transition: border-color 180ms ease, background 180ms ease;
}

.nav-code:hover { border-color: #9aa8b6; background: var(--paper-bright); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 126px 0 70px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.hero-grid, .hero-glow { display: none; }

.hero-content { position: relative; z-index: 1; }
.hero-copy { max-width: 940px; text-align: center; margin-inline: auto; }

.eyebrow, .section-index {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow { color: var(--muted); }
.eyebrow span { display: inline-block; width: 5px; height: 5px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--aqua-deep); }

.hero h1 {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.055em;
}

.hero h1 em, .section-heading h2 em, .citation-copy h2 em {
  color: var(--aqua-deep);
  font-family: inherit;
  font-style: normal;
  font-weight: 500;
}

.hero-deck {
  max-width: 690px;
  margin: 28px auto 24px;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
}

.authors {
  max-width: 970px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 17px;
  row-gap: 5px;
  color: var(--ink-soft);
  font-size: 12px;
}

.authors sup, .author-notes sup { color: var(--aqua-deep); }
.affiliations { margin: 14px 0 0; color: var(--muted); font-size: 11px; }
.author-notes { margin: 6px 0 0; color: #98a2b3; font-size: 9px; }

.hero-actions { margin: 28px 0 46px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }

.button {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease;
}

.button-primary { border-color: var(--aqua-deep); background: var(--aqua-deep); color: #fff; }
.button-primary:hover { background: #274f77; }
.button-muted { color: var(--muted); cursor: default; }
.text-link { padding: 11px 7px; color: var(--muted); font-size: 12px; font-weight: 600; }
.text-link:hover { color: var(--aqua-deep); }

.hero-visual {
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(31, 41, 51, 0.08);
}

.visual-toolbar, .visual-caption {
  min-height: 40px;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.visual-toolbar { border-bottom: 1px solid var(--line); }
.visual-toolbar p { margin: 0; }
.visual-toolbar p span { padding: 0 5px; color: var(--aqua-deep); }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #cbd2d9; }
.window-dots i:first-child { background: var(--orange); }
.live-indicator { justify-self: end; color: var(--muted); }
.live-indicator i, .play-state i { display: inline-block; width: 5px; height: 5px; margin: 0 5px 1px 0; border-radius: 50%; background: var(--aqua-deep); }

.hero-video-wrap { position: relative; background: #000; }
.hero-video { width: 100%; height: auto; }

.agent-tag {
  position: absolute;
  left: 11px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(4,10,9,.7);
  backdrop-filter: blur(8px);
  color: #fff;
  font: 500 8px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.agent-tag i { display: inline-block; width: 5px; height: 5px; margin: 0 4px 1px 0; border-radius: 50%; }
.agent-a { top: 11px; }
.agent-a i { background: var(--blue); }
.agent-b { top: calc(50% + 11px); }
.agent-b i { background: var(--orange); }

.view-order {
  position: absolute;
  right: 9px;
  width: 43%;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.58);
  font: 400 7px var(--font-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
  text-shadow: 0 1px 5px #000;
}

.view-order.top { top: 13px; }
.view-order.bottom { top: calc(50% + 13px); }
.visual-caption { min-height: 46px; grid-template-columns: 1fr auto; border-top: 1px solid var(--line); text-transform: none; letter-spacing: 0; }
.visual-caption p { max-width: 650px; margin: 0; line-height: 1.5; }
.play-state { color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.hero-stats {
  max-width: 980px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-stats div { padding: 20px; display: flex; align-items: baseline; gap: 10px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border: 0; }
.hero-stats strong { font: 500 clamp(23px, 3vw, 32px)/1 var(--font-mono); letter-spacing: -.06em; }
.hero-stats span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }

.section { padding: 100px 0; }
.section-heading { max-width: 820px; margin-bottom: 52px; }
.section-heading.compact { max-width: 680px; }
.section-index { color: var(--aqua-deep); }
.section-heading h2, .citation-copy h2 { margin: 0; font-size: clamp(40px, 5vw, 64px); font-weight: 600; line-height: 1.06; letter-spacing: -.05em; }
.section-heading h2 em, .citation-copy h2 em { color: var(--aqua-deep); }
.section-heading > p:last-child, .citation-copy > p:last-child { max-width: 690px; margin: 22px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }

.about-section { background: var(--paper); }
.challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.challenge-card { position: relative; min-height: 310px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.card-number { color: #89918e; font: 400 10px var(--font-mono); }
.challenge-card h3 { margin: 108px 0 14px; font-size: 20px; letter-spacing: -.025em; }
.challenge-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.challenge-icon { position: absolute; top: 66px; left: 24px; width: 58px; height: 58px; }
.icon-split i { position: absolute; width: 45px; height: 27px; border: 1.5px solid var(--ink); border-radius: 50%; }
.icon-split i:first-child { top: 6px; left: 0; }
.icon-split i:last-child { right: 0; bottom: 5px; border-color: var(--orange); }
.icon-path { border: 1px solid var(--line); border-radius: 50%; }
.icon-path::before, .icon-path::after { position: absolute; width: 8px; height: 8px; border-radius: 50%; content: ''; }
.icon-path::before { top: 9px; left: 14px; background: var(--blue); }
.icon-path::after { right: 12px; bottom: 10px; background: var(--orange); }
.icon-path i { position: absolute; top: 20px; left: 18px; width: 34px; height: 25px; border-right: 1.5px dashed var(--ink); border-bottom: 1.5px dashed var(--ink); border-radius: 0 0 18px; transform: rotate(11deg); }
.icon-world { border: 1.5px solid var(--ink); border-radius: 50%; }
.icon-world::before, .icon-world::after { position: absolute; content: ''; border: 1px solid var(--line); border-radius: 50%; }
.icon-world::before { inset: 9px 21px; }
.icon-world::after { top: 29px; left: 3px; width: 60px; height: 8px; }
.icon-world i { position: absolute; width: 7px; height: 7px; border-radius: 50%; z-index: 1; }
.icon-world i:first-child { top: 14px; left: 17px; background: var(--blue); }
.icon-world i:last-child { right: 14px; bottom: 16px; background: var(--orange); }

.abstract-block { margin-top: 90px; padding: 40px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 3fr; gap: 24px; }
.abstract-label { margin: 0; font: 500 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.abstract-block > p:last-child { margin: 0; font-size: clamp(22px, 3vw, 36px); line-height: 1.42; letter-spacing: -.035em; }

.method-section { background: var(--paper-bright); }
.framework-figure { margin: 0 0 80px; }
.framework-image-wrap { overflow: hidden; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.framework-image-wrap img { width: 100%; }
.framework-figure figcaption { margin-top: 12px; color: var(--muted); font: 400 10px/1.5 var(--font-mono); }
.method-flow { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-step { position: relative; min-height: 330px; padding: 24px; border-right: 1px solid var(--line); }
.method-step:last-child { border-right: 0; }
.method-step > span { color: var(--aqua-deep); font: 500 10px var(--font-mono); }
.method-step h3 { margin: 116px 0 13px; font-size: 20px; letter-spacing: -.04em; }
.method-step p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.method-step::after { position: absolute; top: 70px; right: -5px; z-index: 1; width: 9px; height: 9px; border-top: 1px solid var(--muted); border-right: 1px solid var(--muted); content: ''; transform: rotate(45deg); }
.method-step:last-child::after { display: none; }
.architecture-note { margin-top: 28px; padding: 22px 0; display: grid; grid-template-columns: .6fr 1fr 2fr; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.architecture-label { color: var(--muted); font: 400 10px var(--font-mono); text-transform: uppercase; }
.architecture-note strong { font-size: 19px; }
.architecture-note p { margin: 0; color: var(--muted); font-size: 12px; }

.results-section { background: var(--paper-bright); color: var(--ink); }
.results-section .section-index, .benchmark-section .section-index { color: var(--aqua-deep); }
.results-section .section-heading > p:last-child { color: var(--muted); }
.legend { margin: -22px 0 24px; padding-bottom: 16px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font: 400 10px var(--font-mono); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 7px; height: 7px; border-radius: 50%; }
.legend-a { background: var(--blue); }
.legend-b { background: var(--orange); }
.legend-note { margin-left: auto; color: var(--muted); }
.demo-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.demo-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.demo-header { min-height: 68px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
.demo-header > div { display: flex; align-items: center; gap: 12px; }
.demo-header h3 { margin: 0; font-size: 16px; letter-spacing: -.025em; }
.demo-header p { margin: 0; color: var(--muted); font: 400 8px var(--font-mono); text-align: right; text-transform: uppercase; letter-spacing: .04em; }
.demo-index { color: var(--aqua-deep); font: 400 9px var(--font-mono); }
.demo-media { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.video-panel { min-width: 0; display: flex; align-items: center; background: #111; }
.video-panel video { width: 100%; }
.bev-panel { min-height: 122px; margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); display: flex; flex-direction: row; align-items: center; gap: 16px; background: #fff; }
.bev-panel img { width: 94px; height: 94px; flex: 0 0 auto; object-fit: contain; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.bev-panel figcaption, .strip-bev figcaption { margin: 0; color: var(--muted); font: 400 9px var(--font-mono); text-align: left; text-transform: uppercase; }
.trajectory-note { min-height: 122px; padding: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; background: #fff; }
.trajectory-note span { color: var(--aqua-deep); font: 400 8px var(--font-mono); text-transform: uppercase; }
.trajectory-note strong { margin: 7px 0 4px; font-size: 15px; line-height: 1.35; letter-spacing: -.02em; }
.trajectory-note p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.strip-video-panel { padding: 0; background: #111; }
.strip-video-panel video { width: 100%; }
.strip-footer { min-height: 122px; padding: 12px 16px; display: grid; grid-template-columns: 1fr 94px; flex: 1; align-items: center; gap: 16px; border-top: 1px solid var(--line); }
.strip-footer > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.strip-bev { margin: 0; }
.strip-bev img { width: 94px; height: 94px; margin-inline: auto; border: 1px solid var(--line); border-radius: 7px; object-fit: contain; background: #fff; }

.benchmark-section { border-top: 1px solid var(--line); background: #fff; color: var(--ink); }
.benchmark-section .section-heading > p:last-child { color: var(--muted); }
.benchmark-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.benchmark-card { position: relative; min-height: 270px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-bright); }
.benchmark-mark { position: absolute; right: 16px; top: 14px; color: #d7dde4; font: 500 42px/1 var(--font-mono); }
.benchmark-kicker { margin: 0; color: var(--aqua-deep); font: 400 9px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.benchmark-card h3 { max-width: 280px; margin: 62px 0 34px; font-size: 20px; line-height: 1.4; letter-spacing: -.025em; }
.metric-pills { position: relative; display: flex; gap: 7px; }
.metric-pills span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font: 400 9px var(--font-mono); }
.result-summary { margin-top: 68px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.result-copy h3 { max-width: 520px; margin: 0; font-size: clamp(28px, 3.5vw, 44px); line-height: 1.18; letter-spacing: -.04em; }
.result-copy > p:last-child { max-width: 540px; margin: 20px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.metric-table { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.metric-table > div { min-height: 112px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-table span { color: var(--muted); font: 400 9px var(--font-mono); text-transform: uppercase; }
.metric-table strong { color: var(--aqua-deep); font: 500 27px var(--font-mono); letter-spacing: -.06em; }
.dataset-line { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dataset-line div { padding: 22px 18px; border-right: 1px solid var(--line); }
.dataset-line div:last-child { border: 0; }
.dataset-line strong { display: block; margin-bottom: 8px; color: var(--ink); font: 500 22px var(--font-mono); }
.dataset-line span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .05em; }

.citation-section { background: var(--paper); }
.citation-shell { display: grid; grid-template-columns: .8fr 1.4fr; align-items: end; gap: 80px; }
.citation-copy > p:last-child { max-width: 380px; }
.code-block { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-bright); color: var(--ink-soft); }
.code-block pre { margin: 0; padding: 58px 24px 24px; overflow-x: auto; }
.code-block code { font: 400 10px/1.8 var(--font-mono); }
.copy-button { position: absolute; top: 14px; right: 14px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--muted); cursor: pointer; font: 500 9px var(--font-mono); transition: color 180ms ease, border-color 180ms ease; }
.copy-button:hover { color: var(--aqua-deep); border-color: var(--aqua-deep); }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 30px; }
.footer-inner > p, .copyright { color: var(--muted); font-size: 10px; }
.footer-links { display: flex; gap: 18px; font-size: 10px; font-weight: 600; }
.footer-links a:hover { color: var(--aqua-deep); }

.reveal { opacity: 0; transform: translateY(8px); transition: opacity 420ms ease, transform 420ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .challenge-grid, .benchmark-grid { grid-template-columns: 1fr; }
  .challenge-card { min-height: 300px; }
  .challenge-card h3 { margin-top: 100px; }
  .method-flow { grid-template-columns: repeat(2, 1fr); }
  .method-step:nth-child(2) { border-right: 0; }
  .method-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .method-step:nth-child(2)::after { display: none; }
  .demo-media { grid-template-columns: minmax(0, 1.8fr) minmax(220px, .8fr); }
  .result-summary, .citation-shell { grid-template-columns: 1fr; gap: 54px; }
  .dataset-line { grid-template-columns: repeat(2, 1fr); }
  .dataset-line div:nth-child(2) { border-right: 0; }
  .dataset-line div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .footer-inner { grid-template-columns: auto 1fr auto; }
  .footer-inner > p { display: none; }
}

@media (max-width: 700px) {
  .shell, .nav-shell { width: min(calc(100% - 28px), var(--shell)); }
  .hero { padding-top: 124px; }
  .hero h1 { max-width: 100%; font-size: clamp(50px, 14.5vw, 66px); }
  .hero-deck { max-width: 100%; font-size: 16px; }
  .authors { font-size: 10px; column-gap: 11px; }
  .affiliations { font-size: 9px; }
  .author-notes { display: none; }
  .hero-actions { margin-bottom: 40px; }
  .button { min-height: 40px; padding-inline: 15px; }
  .visual-toolbar { grid-template-columns: auto 1fr; }
  .visual-toolbar p { justify-self: end; }
  .live-indicator { display: none; }
  .agent-tag { padding: 3px 5px; font-size: 6px; }
  .view-order { display: none; }
  .visual-caption { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats div:nth-child(2) { border-right: 0; }
  .hero-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 76px 0; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h2, .citation-copy h2 { font-size: clamp(38px, 11vw, 50px); }
  .abstract-block { margin-top: 60px; grid-template-columns: 1fr; }
  .abstract-block > p:last-child { font-size: 21px; }
  .framework-image-wrap { padding: 8px; border-radius: 14px; overflow-x: auto; }
  .framework-image-wrap img { min-width: 800px; }
  .method-flow { grid-template-columns: 1fr; }
  .method-step { min-height: 250px; border-right: 0; border-bottom: 1px solid var(--line); }
  .method-step:nth-child(3) { border-bottom: 1px solid var(--line); }
  .method-step h3 { margin-top: 72px; }
  .method-step::after { display: none; }
  .architecture-note { grid-template-columns: 1fr; gap: 9px; }
  .legend { align-items: flex-start; flex-wrap: wrap; }
  .legend-note { width: 100%; margin-left: 0; line-height: 1.6; }
  .demo-list { grid-template-columns: 1fr; }
  .demo-header { min-height: 68px; padding: 12px 14px; }
  .demo-header h3 { font-size: 15px; }
  .demo-header p { max-width: 150px; }
  .bev-panel, .trajectory-note { border-top: 1px solid var(--line); }
  .bev-panel img { width: 82px; height: 82px; margin: 0; }
  .trajectory-note { min-height: 112px; }
  .strip-video-panel { padding: 0; overflow: hidden; }
  .strip-video-panel video { min-width: 0; }
  .strip-footer { grid-template-columns: 1fr 82px; }
  .strip-bev img { width: 82px; height: 82px; }
  .benchmark-card { min-height: 290px; }
  .benchmark-card h3 { margin-top: 55px; }
  .result-summary { margin-top: 60px; gap: 38px; }
  .metric-table { grid-template-columns: repeat(2, 1fr); }
  .dataset-line { grid-template-columns: 1fr 1fr; }
  .dataset-line div { padding: 20px 14px; }
  .citation-shell { gap: 38px; }
  .code-block pre { padding-inline: 18px; }
  .code-block code { font-size: 9px; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .copyright { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Academic project-page presentation */
body {
  background: #fff;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
}

.shell { width: min(calc(100% - 48px), 1100px); }
.content-shell { width: min(calc(100% - 48px), 860px); margin-inline: auto; }

.hero {
  padding: 64px 0 54px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.hero-copy { max-width: 1040px; }
.hero h1 {
  max-width: 1040px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.authors {
  max-width: 980px;
  margin-top: 26px;
  column-gap: 15px;
  row-gap: 7px;
  color: #344054;
  font-size: 14px;
  line-height: 1.5;
}

.authors sup, .author-notes sup { color: #315f8c; }
.affiliations { margin-top: 13px; color: #475467; font-size: 13px; }
.author-notes { margin-top: 7px; color: #667085; font-size: 10px; }
.hero-actions { margin: 24px 0 34px; }
.button {
  min-height: 36px;
  padding: 0 15px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}
.button-primary { border-color: #315f8c; background: #315f8c; }
.button-muted { background: #fff; }

.hero-visual {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid #d0d5dd;
  border-radius: 4px;
  box-shadow: none;
}
.teaser-media {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr);
  align-items: stretch;
  background: #000;
}
.teaser-media video { width: 100%; height: 100%; object-fit: contain; }
.hero-bev-video { border-left: 1px solid #d0d5dd; background: #fff; }
.hero-visual figcaption {
  padding: 10px 14px;
  border-top: 1px solid #e5e7eb;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.section { padding: 64px 0; }
.section-heading { max-width: 860px; margin-bottom: 34px; }
.section-heading h2, .citation-copy h2, .content-shell h2 {
  margin: 0;
  color: #222;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.section-heading > p:last-child, .citation-copy > p:last-child {
  max-width: 800px;
  margin-top: 12px;
  color: #475467;
  font-size: 15px;
  line-height: 1.65;
}

.about-section { background: #fff; }
.content-shell > p {
  margin: 18px 0 0;
  color: #344054;
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
}

.method-section { border-top: 1px solid #e5e7eb; background: #fafafa; }
.framework-figure { margin-bottom: 38px; }
.framework-image-wrap { padding: 10px; border-color: #d0d5dd; border-radius: 4px; }
.framework-figure figcaption { margin-top: 8px; font: 12px/1.5 Arial, Helvetica, sans-serif; }
.method-flow { border-color: #d0d5dd; }
.method-step { min-height: 190px; padding: 20px; border-color: #d0d5dd; }
.method-step > span { color: #667085; font: 11px Arial, Helvetica, sans-serif; }
.method-step h3 { margin: 38px 0 9px; font-size: 17px; letter-spacing: 0; }
.method-step p { color: #475467; font-size: 12px; line-height: 1.6; }
.method-step::after { display: none; }
.architecture-note { margin-top: 18px; padding: 16px 0; }

.results-section { border-top: 1px solid #e5e7eb; background: #fff; }
.legend { margin: 0 0 20px; color: #475467; font: 11px Arial, Helvetica, sans-serif; }
.demo-list { gap: 20px; }
.demo-card { border-color: #d0d5dd; border-radius: 4px; }
.demo-header { min-height: 58px; padding: 10px 13px; border-color: #e5e7eb; }
.demo-header h3 { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.demo-header p { color: #667085; font: 9px Arial, Helvetica, sans-serif; }
.demo-index { color: #667085; font: 10px Arial, Helvetica, sans-serif; }
.demo-media { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr); align-items: stretch; }
.bev-panel { min-height: 0; padding: 6px; border-top: 0; border-left: 1px solid #e5e7eb; justify-content: center; background: #fff; }
.bev-panel img { width: 100%; height: auto; max-width: none; aspect-ratio: 1; border: 0; border-radius: 0; }
.bev-panel figcaption { display: none; }
.trajectory-note { min-height: 106px; border-color: #e5e7eb; }
.trajectory-note strong { font-size: 14px; font-weight: 600; }

.benchmark-section { border-top: 1px solid #e5e7eb; background: #fafafa; }
.benchmark-grid { gap: 16px; }
.benchmark-card { min-height: 190px; padding: 20px; border-color: #d0d5dd; border-radius: 4px; background: #fff; }
.benchmark-mark { display: none; }
.benchmark-kicker { color: #315f8c; font: 11px Arial, Helvetica, sans-serif; letter-spacing: 0; text-transform: none; }
.benchmark-card h3 { margin: 24px 0 26px; font-size: 17px; font-weight: 600; letter-spacing: 0; }
.metric-pills span { border: 0; border-radius: 0; background: #f2f4f7; color: #475467; font: 10px Arial, Helvetica, sans-serif; }
.result-summary { margin-top: 50px; gap: 54px; }
.result-copy h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 27px; letter-spacing: 0; }
.metric-table > div { min-height: 92px; }
.metric-table strong { font-size: 23px; }
.dataset-line { margin-top: 48px; }

.citation-section { border-top: 1px solid #e5e7eb; background: #fff; }
.citation-shell { align-items: start; gap: 60px; }
.code-block { border-radius: 4px; }
.copy-button { border-radius: 3px; }

.reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
.site-footer { padding: 24px 0; }

@media (max-width: 700px) {
  .shell, .content-shell { width: min(calc(100% - 28px), 1100px); }
  .hero { padding: 42px 0; }
  .hero h1 { font-size: 31px; line-height: 1.2; }
  .authors { font-size: 12px; }
  .section { padding: 48px 0; }
  .section-heading h2, .citation-copy h2, .content-shell h2 { font-size: 27px; }
  .content-shell > p { font-size: 15px; text-align: left; }
  .demo-list { grid-template-columns: 1fr; }
  .benchmark-card { min-height: 170px; }
}
