:root {
  color-scheme: light;
  --bg: #f7f7f3;
  --surface: #ffffff;
  --ink: #151714;
  --muted: #5d625c;
  --line: #d9ddd7;
  --accent: #158451;
  --accent-soft: #e5f4eb;
  --warm: #ed6048;
  --shell: 1080px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

.shell,
.wide-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
}

.wide-shell {
  width: min(calc(100% - 32px), 1320px);
}

.hero-band {
  border-top: 6px solid var(--ink);
  background: var(--bg);
}

.hero {
  min-height: 610px;
  padding: 76px 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

h1 {
  max-width: 1000px;
  margin: 0;
  line-height: 1.06;
}

.paper-name,
.paper-subtitle {
  display: block;
}

.paper-name {
  color: var(--accent);
  font-size: 76px;
  font-weight: 850;
}

.paper-subtitle {
  margin-top: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 600;
}

.authors {
  max-width: 900px;
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  font-size: 16px;
  font-weight: 650;
}

sup {
  color: var(--accent);
  font-size: 0.68em;
  font-weight: 800;
}

.affiliations {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px 20px;
  color: var(--muted);
  font-size: 14px;
}

.resource-nav {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.resource-link {
  min-width: 126px;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--surface);
  background: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease;
}

.resource-link:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.resource-link:focus-visible,
footer a:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 4px;
}

.resource-arrow {
  font-size: 20px;
  line-height: 1;
}

.release-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.visual-band {
  padding: 24px 0 56px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.teaser {
  margin: 0;
}

.teaser img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--surface);
}

.teaser figcaption {
  max-width: 900px;
  margin: 18px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.overview-band {
  padding: 78px 0 86px;
  background: var(--bg);
}

.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--accent);
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.16;
}

.overview-copy {
  margin: 3px 0 0;
  color: #363a35;
  font-size: 18px;
}

.facts {
  margin-top: 58px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact {
  min-width: 0;
  padding: 0 24px;
  border-left: 1px solid var(--line);
}

.fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.fact strong,
.fact span {
  display: block;
}

.fact strong {
  color: var(--accent);
  font-size: 21px;
}

.fact span {
  color: var(--muted);
  font-size: 13px;
}

footer {
  border-top: 1px solid #30342f;
  color: #dfe3dc;
  background: var(--ink);
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

/* ---------- content sections ---------- */

.section-title {
  margin: 0 0 20px;
  font-family: inherit;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.25;
}

.section-copy {
  max-width: 920px;
}

.abstract-band,
.method-band {
  padding: 72px 0 78px;
  background: var(--bg);
}

.motivation-band,
.demo-band {
  padding: 72px 0 78px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.demo-band {
  padding-bottom: 92px;
}

.method-band .overview-layout,
.motivation-band .overview-layout {
  gap: 64px;
}

.gap-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gap-card,
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 16px 18px;
}

.method-band .card {
  background: var(--bg);
}

.gap-card h3,
.card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 780;
}

.gap-card h3 {
  color: var(--accent);
}

.gap-card p,
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.card p {
  font-size: 14.5px;
}

.method-figure {
  margin: 40px 0 0;
}

.method-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.method-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
  font-size: 13.5px;
}

.card-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* ---------- demo showcase ---------- */

.demo-head {
  text-align: left;
}

.demo-head h2 {
  max-width: 720px;
}

.demo-intro {
  max-width: 880px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16.5px;
}

.demo-subhead {
  margin: 52px 0 8px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-note {
  max-width: 880px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14.5px;
}

.swap-case {
  margin: 20px 0;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.swap-media {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.swap-media img,
.swap-media video {
  display: block;
  max-height: 248px;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 10px;
  background: #0b0d0b;
}

.swap-case-long img,
.swap-case-long video {
  max-height: 224px;
}

.swap-ref img {
  background: var(--surface);
}

.voice-chip {
  display: block;
  width: 212px;
  max-width: 100%;
  height: 32px;
  margin-top: 2px;
}

.video-chip {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  line-height: 0;
}

.video-chip:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 3px;
}

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  background: rgba(10, 12, 10, 0.58);
  color: #ffffff;
  font-size: 21px;
  line-height: 1;
  transition: background 160ms ease, transform 160ms ease;
}

.video-chip:hover .play-badge {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.07);
}

.media-tag {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
  white-space: nowrap;
}

.swap-arrow {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 24px;
  font-weight: 700;
}

footer a {
  color: #ffffff;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .hero {
    min-height: 0;
    padding: 58px 0 48px;
  }

  .paper-name {
    font-size: 54px;
  }

  .paper-subtitle {
    margin-top: 14px;
    font-size: 31px;
  }

  .authors {
    margin-top: 30px;
    gap: 3px 13px;
    font-size: 14px;
  }

  .affiliations {
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
  }

  .visual-band {
    padding: 14px 0 40px;
  }

  .overview-band {
    padding: 58px 0 64px;
  }

  .overview-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  h2 {
    font-size: 32px;
  }

  .overview-copy {
    font-size: 16px;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 0;
  }

  .fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .abstract-band,
  .motivation-band,
  .method-band,
  .demo-band {
    padding: 54px 0 60px;
  }

  .section-title {
    margin-bottom: 16px;
    font-size: 24px;
  }

  .method-band .overview-layout,
  .motivation-band .overview-layout {
    gap: 28px;
  }

  .gap-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .swap-case {
    flex-direction: column;
    gap: 12px;
    padding: 18px 14px;
  }

  .swap-media img,
  .swap-media video,
  .swap-case-long img,
  .swap-case-long video {
    max-height: 300px;
  }

  .swap-arrow {
    transform: rotate(90deg);
    font-size: 20px;
  }

  .demo-subhead {
    margin-top: 40px;
  }

  .footer-inner {
    min-height: 108px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
  }
}

@media (max-width: 420px) {
  .paper-name {
    font-size: 46px;
  }

  .paper-subtitle {
    font-size: 27px;
  }

  .fact {
    padding: 0 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .resource-link {
    transition: none;
  }
}

/*
 * Content-preserving clean layout preview.
 * The source HTML and media assets remain byte-identical to the collaborator's
 * version; these rules only revise visual presentation.
 */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #666666;
  --line: #d9d9d5;
  --accent: #171717;
  --accent-soft: #ececea;
  --warm: #171717;
  --shell: 1160px;
  --surface-alt: #f4f6f8;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: var(--surface);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

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

.hero-band {
  border-top: 4px solid var(--ink);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero {
  min-height: 520px;
  padding: 66px 0 58px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--ink);
  box-shadow: none;
  vertical-align: 2px;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  width: 100%;
  max-width: 1010px;
  font-weight: 600;
}

.paper-name {
  color: var(--ink);
  font-size: 58px;
  font-weight: 600;
}

.paper-subtitle {
  margin-top: 14px;
  font-size: 40px;
  font-weight: 600;
}

.authors {
  max-width: 920px;
  margin-top: 34px;
  gap: 3px 17px;
  font-size: 15px;
}

sup {
  color: var(--ink);
}

.resource-nav {
  margin-top: 30px;
}

.resource-link {
  min-width: 112px;
  height: 42px;
  padding: 0 18px;
  border-color: #242424;
  border-radius: 999px;
  justify-content: center;
  gap: 9px;
  background: #242424;
  font-size: 14px;
}

.resource-link:hover {
  background: #000000;
  transform: none;
}

.resource-arrow {
  font-size: 17px;
}

.release-note {
  margin-top: 9px;
  font-size: 12px;
}

.visual-band {
  padding: 28px 0 68px;
  border-top: 0;
  border-bottom: 0;
  background: var(--surface);
}

.teaser img {
  border-radius: 6px;
}

.teaser figcaption,
.method-figure figcaption {
  max-width: 900px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.section-title {
  margin-bottom: 20px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 35px;
  font-weight: 600;
  line-height: 1.18;
}

.overview-copy,
.demo-intro {
  max-width: 920px;
  color: #303030;
  font-size: 16px;
  line-height: 1.72;
}

.abstract-band,
.motivation-band,
.method-band,
.demo-band {
  border: 0;
}

.abstract-band {
  padding: 74px 0 66px;
  background: var(--surface);
}

.motivation-band {
  padding: 0 0 82px;
  background: var(--surface);
}

.motivation-band > .shell {
  padding-top: 66px;
  border-top: 1px solid var(--line);
}

.method-band {
  padding: 82px 0 86px;
  background: var(--surface-alt);
}

.demo-band {
  padding: 82px 0 96px;
  background: var(--surface);
}

.gap-grid {
  margin-top: 34px;
  gap: 32px;
}

.gap-card,
.card,
.method-band .card {
  min-width: 0;
  padding: 17px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.gap-card h3,
.card h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.38;
}

.gap-card p,
.card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.method-figure {
  margin-top: 42px;
}

.method-figure img {
  width: auto;
  max-width: 100%;
  max-height: 72vh;
  margin: 0 auto;
  border-color: var(--line);
  border-radius: 6px;
  object-fit: contain;
}

.card-grid {
  margin-top: 30px;
  column-gap: 34px;
  row-gap: 28px;
}

.demo-head {
  text-align: left;
}

.demo-intro {
  margin-top: 17px;
}

.demo-subhead {
  margin: 56px 0 8px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0;
}

.demo-note {
  max-width: 920px;
  margin: 13px 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.swap-case {
  margin: 0;
  padding: 30px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  justify-content: space-between;
  gap: 24px;
}

.swap-media {
  flex: 1 1 0;
}

.swap-ref {
  flex: 0 1 27%;
}

.swap-media img,
.swap-media video {
  max-height: 260px;
  border-radius: 6px;
}

.swap-case-long img,
.swap-case-long video {
  max-height: 232px;
}

.video-chip {
  border-radius: 6px;
}

.voice-chip {
  width: 212px;
  height: 32px;
  border-radius: 6px;
}

.play-badge {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(10, 10, 10, 0.66);
  font-size: 18px;
}

.video-chip:hover .play-badge {
  background: var(--ink);
}

.media-tag {
  font-size: 12px;
}

.swap-arrow {
  font-size: 22px;
}

footer {
  border-top-color: var(--ink);
  background: var(--ink);
}

.footer-inner {
  min-height: 82px;
  font-size: 12px;
}

@media (max-width: 760px) {
  .shell,
  .wide-shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .hero {
    padding: 52px 0 46px;
  }

  .paper-name {
    font-size: 44px;
  }

  .paper-subtitle {
    margin-top: 12px;
    font-size: 29px;
  }

  .visual-band {
    padding: 18px 0 46px;
  }

  .section-title {
    font-size: 29px;
  }

  .abstract-band {
    padding: 54px 0 48px;
  }

  .motivation-band {
    padding-bottom: 60px;
  }

  .motivation-band > .shell {
    padding-top: 48px;
  }

  .method-band,
  .demo-band {
    padding: 58px 0 66px;
  }

  .overview-copy,
  .demo-intro {
    font-size: 15px;
  }

  .gap-grid,
  .card-grid {
    gap: 24px;
  }

  .method-figure img {
    width: 100%;
    max-height: none;
  }

  .swap-case {
    gap: 12px;
  }

  .swap-media,
  .swap-ref {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .paper-name {
    font-size: 38px;
    white-space: nowrap;
  }

  .paper-subtitle {
    font-size: 26px;
  }
}

/* Refinements requested after the first content-preserving preview. */
:root {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  font-size: 17px;
}

.authors {
  font-size: 16px;
}

.affiliations {
  font-size: 15px;
}

.resource-nav {
  gap: 10px;
}

.resource-link {
  font-family: inherit;
}

.resource-icon {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

.resource-paper:disabled {
  color: #ffffff;
  opacity: 1;
  cursor: default;
}

.teaser {
  width: 80%;
  margin: 0 auto;
}

.teaser-media {
  width: 100%;
  aspect-ratio: 1600 / 810;
  overflow: hidden;
  border-radius: 6px;
  background: #ffffff;
}

.teaser img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: initial;
}

.teaser figcaption,
.method-figure figcaption {
  width: 100%;
  max-width: none;
  color: #555555;
  font-size: 14.5px;
  line-height: 1.62;
  text-align: left;
}

.teaser figcaption {
  margin-top: 10px;
}

.section-title {
  width: min(100%, 920px);
  margin-right: auto;
  margin-left: auto;
  font-size: 37px;
  text-align: center;
}

.overview-copy,
.demo-intro {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  font-size: 17px;
}

.gap-card h3,
.card h3 {
  font-size: 16px;
}

.gap-card p,
.card p {
  font-size: 15px;
}

.method-figure {
  width: 100%;
}

.pipeline-carousel {
  width: 100%;
}

.pipeline-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
}

.pipeline-tab {
  min-width: 0;
  padding: 12px 18px 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
}

.pipeline-tab:hover,
.pipeline-tab.is-active {
  color: var(--ink);
}

.pipeline-tab.is-active {
  border-bottom-color: var(--ink);
}

.pipeline-tab:focus-visible,
.pipeline-arrow:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.pipeline-viewport {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  background: #ffffff;
  touch-action: pan-y;
  transition: height 220ms ease;
}

.pipeline-track {
  display: flex;
  transition: transform 260ms ease;
}

.pipeline-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.pipeline-slide a,
.pipeline-slide img,
.method-figure .pipeline-slide img {
  display: block;
  width: 100%;
  max-width: none;
  max-height: none;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.pipeline-slide a {
  cursor: zoom-in;
}

.pipeline-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(23, 23, 23, 0.22);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

.pipeline-arrow:hover {
  border-color: var(--ink);
  background: #ffffff;
}

.pipeline-prev {
  left: 12px;
}

.pipeline-next {
  right: 12px;
}

.pipeline-dots {
  height: 26px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
}

.pipeline-dots span {
  width: 20px;
  height: 2px;
  background: var(--line);
}

.pipeline-dots span.is-active {
  background: var(--ink);
}

.method-figure figcaption {
  margin-top: 14px;
}

.demo-intro {
  text-align: center;
}

.swap-legend,
.swap-case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr);
  column-gap: 20px;
}

.swap-legend {
  margin-top: 44px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
  align-items: end;
  color: #444444;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.swap-legend-symbol {
  color: var(--muted);
  font-size: 18px;
}

.demo-subhead {
  margin-top: 34px;
  font-size: 16px;
  text-transform: none;
}

.demo-note {
  font-size: 15px;
}

.swap-case {
  align-items: start;
}

.swap-media,
.swap-ref {
  width: 100%;
  min-width: 0;
  align-self: start;
}

.swap-media .video-chip,
.swap-ref > img {
  width: 100%;
}

.swap-media img,
.swap-media video,
.swap-case-long img,
.swap-case-long video {
  width: 100%;
  max-height: none;
  height: auto;
  object-fit: contain;
}

.media-tag {
  display: none;
}

.voice-chip {
  margin-top: 2px;
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .authors {
    font-size: 15px;
  }

  .affiliations {
    font-size: 13px;
  }

  .teaser {
    width: 100%;
  }

  .section-title {
    font-size: 31px;
  }

  .overview-copy,
  .demo-intro {
    font-size: 16px;
  }

  .gap-card p,
  .card p {
    font-size: 15px;
  }

  .pipeline-tab {
    flex: 1 1 0;
    padding: 10px 8px 9px;
    font-size: 12px;
  }

  .pipeline-arrow {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .swap-legend {
    grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr);
    column-gap: 4px;
    margin-top: 34px;
    font-size: 11px;
  }

  .swap-legend-symbol {
    font-size: 14px;
  }

  .swap-case {
    display: flex;
    align-items: center;
  }
}

/* Second-round spacing and demo alignment refinements. */
.visual-band {
  padding-bottom: 36px;
}

.abstract-band {
  padding-top: 50px;
}

.section-title,
.overview-copy,
.demo-intro {
  width: 100%;
  max-width: none;
}

.demo-intro {
  text-align: left;
}

.demo-band .demo-head {
  width: 100%;
}

.demo-subhead {
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: 0;
}

.demo-subhead + .swap-legend {
  margin-top: 0;
}

.swap-legend {
  padding-top: 10px;
}

.swap-arrow {
  align-self: center;
}

@media (max-width: 760px) {
  .visual-band {
    padding-bottom: 26px;
  }

  .abstract-band {
    padding-top: 42px;
  }
}

/* Third-round hierarchy, spacing, and compact-result refinements. */
.hero-band {
  border-bottom: 0;
}

.hero {
  min-height: 0;
  padding: 54px 0 32px;
}

.visual-band {
  padding-top: 18px;
  padding-bottom: 32px;
}

.section-title {
  font-size: 34px;
}

.abstract-band {
  padding: 46px 0 54px;
  background: var(--surface);
}

.motivation-band {
  padding: 54px 0 58px;
  background: var(--surface-alt);
}

.motivation-band > .shell {
  padding-top: 0;
  border-top: 0;
}

.method-band {
  padding: 58px 0 62px;
  background: var(--surface);
}

.demo-band {
  padding: 58px 0 72px;
  background: var(--surface-alt);
}

.swap-legend {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 68px;
  padding: 8px 0 2px;
  border-bottom: 0;
}

.swap-legend + .swap-case {
  padding-top: 10px;
}

.swap-case-compact .video-chip,
.swap-case-compact .swap-ref > img {
  width: auto;
  max-width: 88%;
}

.swap-case-compact .video-chip img,
.swap-case-compact .video-chip video,
.swap-case-compact .swap-ref > img {
  width: auto;
  max-width: 100%;
  max-height: 260px;
  height: auto;
}

.swap-case-compact .swap-ref > img {
  max-width: 88%;
}

@media (max-width: 760px) {
  .hero {
    padding: 48px 0 28px;
  }

  .visual-band {
    padding-top: 12px;
    padding-bottom: 24px;
  }

  .section-title {
    font-size: 29px;
  }

  .abstract-band,
  .motivation-band,
  .method-band,
  .demo-band {
    padding-top: 44px;
    padding-bottom: 50px;
  }

  .swap-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 8px;
  }

  .swap-case-compact .video-chip,
  .swap-case-compact .swap-ref > img {
    max-width: 100%;
  }

  .swap-case-compact .video-chip img,
  .swap-case-compact .video-chip video,
  .swap-case-compact .swap-ref > img {
    max-height: 300px;
  }

  .swap-case-compact .swap-ref > img {
    max-width: 100%;
  }
}

/* Fourth-round demo density refinements. */
.demo-subhead {
  font-size: 18px;
  text-align: center;
}

.swap-case {
  padding-top: 20px;
  padding-bottom: 20px;
}

.swap-case-small .video-chip,
.swap-case-small .swap-ref > img {
  max-width: 80%;
}

.swap-case-small .video-chip img,
.swap-case-small .video-chip video,
.swap-case-small .swap-ref > img {
  max-height: 230px;
}

.swap-arrow {
  align-self: center;
}

@media (max-width: 760px) {
  .demo-subhead {
    font-size: 17px;
  }

  .swap-case {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .swap-case-small .video-chip,
  .swap-case-small .swap-ref > img {
    max-width: 80%;
  }

  .swap-case-small .video-chip img,
  .swap-case-small .video-chip video,
  .swap-case-small .swap-ref > img {
    max-height: 230px;
  }
}

/* Resolution-paired demo carousels. */
.case-carousel {
  --case-media-width: 344px;
  --case-window-width: 1100px;
  --case-column-gap: 8px;
  width: min(100%, var(--case-window-width));
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.case-carousel-square {
  --case-media-width: 230px;
  --case-window-width: 1100px;
  --case-column-gap: 48px;
}

.case-carousel-short-landscape {
  --case-media-width: 303px;
  --case-window-width: 977px;
}

.case-carousel-long {
  --case-media-width: 344px;
  --case-window-width: 1100px;
}

.case-carousel + .case-carousel {
  margin-top: 8px;
}

.case-carousel-square + .case-carousel-short-landscape {
  margin-top: 8px;
}

.case-carousel-viewport {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

.case-carousel-track {
  display: flex;
  transition: transform 260ms ease;
}

.case-carousel .case-carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 10px 0 6px;
  border-bottom: 0;
  grid-template-columns: var(--case-media-width) 18px var(--case-media-width) 18px var(--case-media-width);
  column-gap: var(--case-column-gap);
  justify-content: center;
}

.case-carousel .swap-media {
  width: var(--case-media-width);
}

.case-carousel .video-chip,
.case-carousel .swap-ref > img,
.case-carousel .video-chip img,
.case-carousel .video-chip video {
  width: 100%;
  max-width: 100%;
  max-height: none;
  height: auto;
}

.case-carousel-controls {
  min-height: 38px;
  padding: 3px 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.case-carousel-square .case-carousel-controls,
.case-carousel-short-landscape .case-carousel-controls {
  padding-bottom: 12px;
}

.case-carousel-button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #bfc0bd;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #ffffff;
  font-family: inherit;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}

.case-carousel-button:hover {
  border-color: var(--ink);
  color: #ffffff;
  background: var(--ink);
}

.case-carousel-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.case-carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.case-carousel-dots span {
  width: 18px;
  height: 2px;
  background: var(--line);
}

.case-carousel-dots span.is-active {
  background: var(--ink);
}

.case-carousel .swap-arrow {
  align-self: center;
}

@media (max-width: 760px) {
  .case-carousel {
    width: 100%;
  }

  .case-carousel .case-carousel-slide {
    display: flex;
    padding: 10px 0 4px;
  }

  .case-carousel .swap-media {
    width: 100%;
  }

  .case-carousel-square .video-chip,
  .case-carousel-square .swap-ref > img {
    width: 230px;
    max-width: 100%;
  }

  .case-carousel-controls {
    min-height: 40px;
    padding-bottom: 4px;
  }

  .case-carousel-button {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-carousel-track {
    transition: none;
  }
}

/* Per-window legends, exact symbol centering, and reading progress. */
.case-carousel {
  --case-media-height: 203px;
}

.case-carousel-square {
  --case-media-height: 230px;
}

.case-carousel-short-landscape {
  --case-window-width: 1100px;
  --case-media-height: 179px;
}

.case-carousel-long {
  --case-media-width: 303px;
  --case-media-height: 179px;
  border-bottom: 0;
}

.case-carousel-legend {
  display: grid;
  grid-template-columns: var(--case-media-width) 18px var(--case-media-width) 18px var(--case-media-width);
  column-gap: var(--case-column-gap);
  justify-content: center;
  padding: 8px 0 2px;
  color: #444444;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.case-carousel-legend span:nth-child(1) {
  grid-column: 1;
}

.case-carousel-legend span:nth-child(2) {
  grid-column: 3;
}

.case-carousel-legend span:nth-child(3) {
  grid-column: 5;
}

.case-carousel .swap-arrow {
  width: 18px;
  height: var(--case-media-height);
  margin: 0;
  display: grid;
  place-items: center;
  align-self: start;
  line-height: 1;
}

.section-progress {
  position: fixed;
  top: 50%;
  right: 20px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transform: translateY(-50%);
}

.section-progress-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  transition: transform 180ms ease, background 180ms ease;
}

.section-progress-dot:hover,
.section-progress-dot.is-active {
  background: var(--ink);
  transform: scale(1.4);
}

.section-progress-dot.is-active {
  box-shadow: 0 0 0 4px rgba(23, 23, 23, 0.1);
}

.section-progress-label {
  position: absolute;
  top: 50%;
  right: 20px;
  padding: 4px 9px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(-50%) translateX(6px);
  color: #ffffff;
  background: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.section-progress-dot:hover .section-progress-label,
.section-progress-dot:focus-visible .section-progress-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.section-progress-dot:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .section-progress {
    display: none;
  }
}

@media (max-width: 760px) {
  .case-carousel-short-landscape,
  .case-carousel-long {
    --case-media-height: 212px;
  }

  .case-carousel-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 8px;
    font-size: 11px;
  }

  .case-carousel-legend span:nth-child(1),
  .case-carousel-legend span:nth-child(2),
  .case-carousel-legend span:nth-child(3) {
    grid-column: auto;
  }

  .case-carousel .swap-arrow {
    width: auto;
    height: auto;
    display: block;
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-progress-dot,
  .section-progress-label {
    transition: none;
  }
}
