@font-face {
  font-family: Bricolage;
  src: url('./assets/bricolage.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: Geist;
  src: url('./assets/geist.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: Instrument;
  src: url('./assets/instrument-italic.woff2') format('woff2');
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #172e36;
  --blue: #244bd3;
  --paper: #f6faf6;
  --display: Bricolage, Arial, sans-serif;
  --sans: Geist, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Consolas, monospace;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}
::selection { color: #102e42; background: #c6f5df; }
.symbols { display: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(ellipse at 50% 19%, #fcfdf8, transparent 70%),
    linear-gradient(156deg, #f6faef 12%, #eef7ef 55%, #e8f2f8 100%);
}

.hero::before, .hero::after {
  content: '';
  position: absolute;
  z-index: -2;
  inset: -15% -10% -3%;
  pointer-events: none;
}

.hero::before {
  background:
    radial-gradient(ellipse 37% 41% at 25% 29%, #a6e4ca9c, #bcebdd38 61%, transparent 100%),
    radial-gradient(ellipse 33% 41% at 76% 21%, #aeb7eb6e, #c6d5f82b 63%, transparent 100%),
    radial-gradient(ellipse 30% 27% at 52% 7%, #e7f7bca8, transparent);
  animation: mint-drift 21s ease-in-out infinite alternate paused;
}

.hero::after {
  background:
    radial-gradient(ellipse 34% 20% at 68% 47%, #9fdaec54, transparent),
    radial-gradient(ellipse 30% 28% at 25% 63%, #f7f8cf96, transparent),
    radial-gradient(ellipse 31% 24% at 83% 68%, #a4c5e943, transparent);
  animation: light-drift 17s ease-in-out infinite alternate paused;
}

@keyframes mint-drift {
  from { transform: translate3d(-3%, -2%, 0) rotate(-4deg) scale(1.02); }
  to { transform: translate3d(8%, 6%, 0) rotate(5deg) scale(1.09); }
}

@keyframes light-drift {
  from { transform: translate3d(7%, -2%, 0) scale(1.12); opacity: .79; }
  to { transform: translate3d(-8%, 5%, 0) scale(.97); opacity: 1; }
}

.hero.is-animating::before, .hero.is-animating::after {
  animation-play-state: running;
}

.site-header {
  z-index: 1;
  width: min(100% - 104px, 1440px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}

.brand, .site-header nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.034em;
}

.brand-mark { display: block; flex: none; width: 32px; height: 32px; }
.site-header nav { gap: 26px; }
.site-header nav a { transition: color .2s; }
.site-header nav a:hover { color: var(--blue); }

.hero-copy {
  --hero-label-size: clamp(17px, 1.4vw, 22px);
  z-index: 1;
  width: min(100% - 36px, 1060px);
  padding-top: clamp(55px, 8.8svh, 108px);
  text-align: center;
}

h1 {
  display: grid;
  justify-items: center;
  margin: 0;
  font-family: var(--display);
  font-optical-sizing: auto;
  font-size: clamp(68px, 11.3vw, 179px);
  font-weight: 790;
  line-height: .97;
  letter-spacing: -.026em;
}

.wordmark-mask {
  display: inline-flex;
  overflow: clip;
  padding: .035em .035em .08em .01em;
  vertical-align: top;
}

.wordmark-part {
  display: inline-block;
  --ink-deep: #173b48;
  --ink-mid: #237f85;
  --ink-edge: #184f6d;
  animation: wordmark-reveal 1.19s cubic-bezier(.19, 1, .22, 1) var(--title-enter, 0s) both;
}

.project-dash {
  margin-inline: .025em;
  --ink-deep: #195561;
  --ink-mid: #16877f;
  --ink-edge: #23768a;
  --title-enter: .09s;
  --current-offset: -.8s;
}

.project-wam {
  --ink-deep: #1d3b82;
  --ink-mid: #3266b8;
  --ink-edge: #202f84;
  --title-enter: .15s;
  --current-offset: -1.55s;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .wordmark-part {
    color: transparent;
    background-image:
      radial-gradient(ellipse 19% 53% at 58% 34%, #7cb7ee91, #648edd4b 45%, transparent 78%),
      linear-gradient(105deg, var(--ink-deep) 14%, var(--ink-mid) 45%, var(--ink-edge) 76%, var(--ink-deep) 94%);
    background-size: 190% 146%, 147% 108%;
    background-position: 10% 56%, 41% 45%;
    -webkit-background-clip: text;
    background-clip: text;
    animation:
      wordmark-reveal 1.19s cubic-bezier(.19, 1, .22, 1) var(--title-enter, 0s) both,
      title-current 10s cubic-bezier(.43, .05, .54, .94) var(--current-offset, 0s) infinite alternate paused;
  }

  .hero.is-animating .wordmark-part { animation-play-state: running, running; }
}

@keyframes title-current {
  0% { background-position: -17% 70%, 26% 36%; }
  48% { background-position: 45% 33%, 52% 51%; }
  100% { background-position: 118% 55%, 72% 62%; }
}

@keyframes wordmark-reveal {
  from { transform: translate3d(0, 105%, 0) rotate(4deg); opacity: .1; }
  to { transform: translate3d(0, 0, 0) rotate(0); opacity: 1; }
}

@keyframes copy-reveal {
  from { transform: translate3d(0, 12px, 0); opacity: 0; }
  to { transform: translate3d(0, 0, 0); opacity: 1; }
}

.paper-title {
  display: block;
  color: #214b56;
  font: 510 clamp(25px, 2.55vw, 40px)/1.14 var(--display);
  letter-spacing: -.012em;
  text-wrap: balance;
  animation: copy-reveal .85s .30s cubic-bezier(.22, 1, .36, 1) both;
}
.paper-title > span { display: block; }
.title-accent {
  --accent: #076f6b;
  --glint: #20878e;
  color: var(--accent);
  font-weight: 670;
  white-space: nowrap;
}
.title-realtime { --accent: #244a91; --glint: #426fbe; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .title-accent {
    background: linear-gradient(105deg, var(--accent) 25%, var(--glint) 50%, var(--accent) 75%) 100% 50% / 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero.is-animating .title-accent { animation: title-glint 5s ease-in-out infinite; }
  .hero.is-animating .title-realtime { animation-delay: .55s; }
}
@keyframes title-glint {
  0%, 16% { background-position: 100% 50%; }
  76%, 100% { background-position: 0% 50%; }
}
@media (forced-colors: active) {
  .title-accent { background: none; color: CanvasText; }
}

.authors {
  list-style: none;
  padding: 0;
  margin: clamp(25px, 3.8svh, 35px) 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: clamp(14px, 2.2vw, 32px);
  row-gap: 9px;
  font-size: var(--hero-label-size);
  line-height: 1.3;
  font-weight: 530;
  letter-spacing: -.026em;
  animation: copy-reveal .8s .45s cubic-bezier(.22, 1, .36, 1) both;
}

.authors li { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.authors a { color: var(--ink); }
.authors img, .author-note img { width: 19px; height: auto; }
.authors a { text-underline-offset: 4px; }
.authors a:hover { text-decoration: underline; }

.author-note {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 15px 0 10px;
  color: #275758;
  font-family: var(--display);
  font-size: var(--hero-label-size);
  font-weight: 560;
  line-height: 1.22;
  letter-spacing: -.014em;
  animation: copy-reveal .8s .52s cubic-bezier(.22, 1, .36, 1) both;
}

.author-note img { width: 23px; }

.author-note > span, .equal-credit > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.authors .corresponding-mark, .author-note .corresponding-mark { width: auto; height: .94em; flex: none; }

.author-note .equal-credit { flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.author-email { font: 500 1em/1.4 var(--sans); letter-spacing: 0; white-space: nowrap; }
.author-email a { text-decoration: underline; text-decoration-color: #80a6a1; text-underline-offset: 3px; }
.author-email a:hover { color: #075c65; }

.paper-resources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.1vw, 16px);
  width: min(100%, 560px);
  margin: clamp(24px, 3svh, 36px) auto 0;
}
.paper-resources a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(8px, .7vw, 13px);
  min-height: 68px;
  padding: 12px clamp(12px, 1.1vw, 21px);
  border-radius: 15px;
  text-align: left;
  font: 650 var(--hero-label-size)/1.12 var(--display);
  transition: transform .2s ease, box-shadow .2s ease;
}
.paper-resources a:is(:hover, :focus-visible) {
  transform: translateY(-3px);
  box-shadow: 0 7px 18px -9px #1f51475c;
}
.resource-paper { color: #fff; background: #125d61; }
.resource-arxiv { color: #1b3e78; background: #d3e3f4; }
.resource-github { color: #234d48; background: #d6e9df; }
.resource-icon { width: 1.1em; height: 1.1em; }
.resource-arrow { width: 12px; height: 12px; align-self: start; }
.paper-resources small { display: block; margin-top: 4px; font: 470 12px/1.15 var(--sans); white-space: nowrap; }

@media (max-width: 620px) {
  .paper-resources { max-width: 410px; }
  .paper-resources a { grid-template-columns: 1fr; justify-items: center; gap: 7px; padding: 11px 5px; text-align: center; }
  .resource-arrow { display: none; }
  .hero { min-height: max(100svh, 730px); }
}

.transport {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
  pointer-events: none;
}

#transport-canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.transport-labels {
  position: absolute;
  bottom: clamp(73px, 10.4svh, 108px);
  left: 4.4%;
  right: 8%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  color: #335862;
  font-family: var(--mono);
  font-size: clamp(10px, .93vw, 13px);
  font-weight: 530;
  animation: copy-reveal .85s .67s cubic-bezier(.22, 1, .36, 1) both;
}

.transport-origin, .transport-modalities, .transport-source {
  display: inline-flex;
  align-items: baseline;
}

.transport-origin { gap: 13px; }
.transport-modalities { align-items: center; gap: 6px; white-space: nowrap; }
.transport-modalities i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.transport-source { gap: 7px; color: #24575d; }
.transport-source > span { color: #327a7a; }
.transport-target { color: #29527a; white-space: nowrap; }

.hero-footer {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100% - 104px, 1440px);
  padding: 0 0 clamp(14px, 2.7svh, 29px);
}

.explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 43px;
  color: #2c4c59;
  font-size: 13px;
  font-weight: 570;
  transition: color .2s;
}

.explore svg { width: 14px; height: 14px; transition: transform .2s; }
.explore:hover { color: var(--blue); }
.explore:hover svg { transform: translateY(3px); }

.method {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 78% 47%, #e5f4f5, transparent 58%),
    radial-gradient(ellipse at 18% 21%, #e9f4e9, transparent 57%),
    #f8faf3;
}

.method-inner {
  width: min(100% - 92px, 1360px);
  margin: 0 auto;
  padding: clamp(35px, 6.4svh, 72px) 0;
}

.method-intro {
  margin-bottom: clamp(20px, 4svh, 42px);
}

.method-kicker {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 550;
  color: #366358;
}

h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(46px, 6.75vw, 108px);
  font-weight: 720;
  line-height: .9;
  letter-spacing: -.039em;
}

h2 em {
  white-space: nowrap;
  font-family: Instrument, Georgia, serif;
  font-weight: 400;
  color: #2454c9;
  letter-spacing: -.04em;
}

.vita-link {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.conference-mark { width: clamp(29px, 3.2vw, 42px); height: auto; }
.vita-link-copy { display: grid; gap: 5px; }
.vita-link-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 13px; }
.vita-link-conference {
  color: #285d68;
  font: 650 clamp(15px, 1.24vw, 19px)/1.1 var(--display);
  letter-spacing: -.012em;
}
.vita-link-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #436167;
  font: 450 14px/1.3 var(--sans);
}
.vita-link-title {
  color: #1a3d90;
  font: 680 clamp(22px, 2.28vw, 33px)/1.1 var(--display);
  letter-spacing: -.033em;
}
.vita-link-action svg { width: 12px; height: 12px; }
.vita-link:is(:hover, :focus-visible) .vita-link-action {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: stretch;
  gap: clamp(27px, 4.2vw, 64px);
}

.comparison {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
}

.comparison-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 88px;
}

.comparison-caption h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 720;
  font-size: clamp(19px, 2.15vw, 31px);
  letter-spacing: -.044em;
  line-height: 1.12;
}

.comparison-vita {
  padding: clamp(14px, 1.65vw, 24px);
  border: 1px solid rgb(33 112 108 / 20%);
  border-radius: 20px;
  background: rgb(255 255 255 / 13%);
}
.comparison-conventional { padding-block: calc(clamp(14px, 1.65vw, 24px) + 1px); }
.comparison-vita .comparison-caption { display: block; }
.vita-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vita-panel-heading > img { flex: none; }
.vita-link-meta { letter-spacing: normal; }

.comparison-caption p {
  margin: 7px 0 0;
  color: #385358;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.32;
}

.comparison-visual { position: relative; }
.flow-project-link { display: block; }

.comparison-visual canvas {
  display: block;
  width: 100%;
  height: clamp(212px, 37svh, 390px);
}

.comparison-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px clamp(10px, 2vw, 26px);
  padding: 9px 0 13px;
  font-family: var(--mono);
  font-size: clamp(9px, 1vw, 12px);
  color: #314c51;
}

.comparison-legend > span { display: flex; align-items: center; gap: 7px; }
.legend-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; }
.legend-dot { width: 8px; height: 8px; }
.legend-gaussian { color: #3359d8; }
.legend-source { color: #009189; }
.legend-target { color: #d56a44; }

.alignment-controls {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
}

.playback {
  width: 37px;
  height: 37px;
  flex: none;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  touch-action: manipulation;
}

.playback:hover { background: #244bd311; }
.playback svg { display: none; width: 21px; height: 21px; }
.playback:not([data-mode]) .play-icon,
.playback[data-mode="play"] .play-icon,
.playback[data-mode="pause"] .pause-icon,
.playback[data-mode="replay"] .replay-icon { display: block; }
.alignment-timeline { flex: 1; min-width: 0; }
.alignment-timeline input {
  appearance: none;
  display: block;
  width: 100%;
  height: 18px;
  margin: 0;
  background: transparent;
  cursor: ew-resize;
  --progress: 0%;
  --track: linear-gradient(to right, #3558d9 var(--progress), #c8d6d1 var(--progress));
}

.alignment-timeline input::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: var(--track); }
.alignment-timeline input::-moz-range-track { height: 2px; border-radius: 2px; background: var(--track); }
.alignment-timeline input::-webkit-slider-thumb {
  appearance: none;
  height: 12px;
  width: 12px;
  margin-top: -5px;
  border: 0;
  background: #3458d6;
  border-radius: 50%;
}
.alignment-timeline input::-moz-range-thumb {
  height: 8px;
  width: 8px;
  border: 0;
  background: #3458d6;
  border-radius: 50%;
}

.timeline-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 1px;
  color: #476160;
  font-family: var(--mono);
  font-size: clamp(9px, .88vw, 11px);
}

.transport-playback {
  position: absolute;
  right: 0;
  bottom: clamp(14px, 2.7svh, 29px);
  width: 43px;
  height: 43px;
  color: #315e67;
}

.transport-playback svg { width: 17px; height: 17px; }

.conventional-controls {
  color: #41585b;
  font-family: var(--mono);
  font-size: clamp(10px, .87vw, 12px);
}

.conventional-controls label { cursor: pointer; }

@media (max-width: 900px) {
  .site-header, .method-inner, .hero-footer { width: calc(100% - 48px); }
}

@media (max-width: 620px) {
  .site-header, .hero-footer { width: calc(100% - 34px); }
  .site-header { height: 55px; }
  .site-header nav { gap: 17px; }
  .brand-mark { width: 28px; height: 28px; }
  .hero-copy { padding-top: clamp(53px, 8.2svh, 75px); }
  h1 { font-size: clamp(56px, 13.4vw, 80px); }
  .paper-title { font-size: clamp(20px, 4.7vw, 27px); }
  .authors { margin-top: 25px; column-gap: 9px; }
  .authors svg { width: 15px; height: 15px; }
  .author-note { margin-top: 13px; }
  .author-note img { width: 20px; }
  .transport-labels { left: 5%; right: 5%; bottom: 77px; align-items: end; }
  .transport-origin { flex-direction: column; align-items: flex-start; gap: 5px; }
  .transport-modalities { gap: 4px; }
  .transport-source { margin-left: clamp(10px, 7vw, 30px); }
  .method-inner { width: calc(100% - 34px); padding: 40px 0; }
  .method-intro { margin-bottom: 30px; }
  .method-kicker { margin-bottom: 8px; }
  h2 { font-size: clamp(41px, 10.6vw, 62px); }
  .comparison-conventional { padding-block: 0; }
  .comparison-grid { grid-template-columns: 1fr; gap: 33px; }
  .comparison-caption { min-height: 64px; }
  .comparison-caption p { margin-top: 4px; }
  .comparison-visual canvas { height: clamp(177px, 26svh, 240px); }
  .alignment-controls { gap: 11px; }
}

@media (max-height: 760px) and (min-width: 621px) {
  .site-header { height: 62px; }
  .hero-copy { padding-top: clamp(34px, 8svh, 60px); }
  h1 { font-size: clamp(60px, 10.3vw, 145px); }
  .authors { margin-top: 21px; }
  .method-inner { padding-block: 32px; }
}

@media (max-height: 660px) and (max-width: 620px) {
  .hero-copy { padding-top: 36px; }
  .authors { margin-top: 15px; }
}

@media (max-width: 360px) {
  .brand { font-size: 14px; }
  .site-header nav { gap: 12px; }
  h1 { font-size: clamp(47px, 14.9vw, 54px); }
  .authors { gap: 6px 9px; }
}

@media (min-width: 1360px) {
  .hero { --hero-width: min(90%, 2490px); }
  .site-header, .hero-copy, .hero-footer { width: var(--hero-width); }
  .site-header { height: clamp(72px, 6.6svh, 100px); font-size: clamp(14px, .76vw, 19px); }
  .brand { font-size: clamp(16px, .92vw, 23px); }
  .hero-copy {
    --hero-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    --hero-gutter: clamp(36px, 4vw, 110px);
    display: grid;
    grid-template-columns: var(--hero-columns);
    align-content: start;
    column-gap: var(--hero-gutter);
    row-gap: clamp(28px, 3.2svh, 52px);
    padding-top: clamp(60px, 13svh, 190px);
    text-align: left;
  }
  .hero-copy h1 {
    grid-column: 1 / -1;
    grid-template-columns: var(--hero-columns);
    gap: var(--hero-gutter);
    align-items: center;
    justify-items: start;
    font-size: clamp(108px, 9.9vw, 272px);
  }
  .paper-title { font-size: clamp(32px, 2.6vw, 76px); line-height: 1.04; text-wrap: balance; }
  .paper-title > span { display: inline; }
  .authors, .author-note { justify-content: start; margin: 0; }
  .authors { column-gap: clamp(10px, calc(3vw - 30px), 36px); }
  .author-note { margin-top: 16px; gap: 9px 24px; }
  .paper-resources { width: min(100%, 730px); margin: 0; align-self: start; }
  .paper-resources a { min-height: clamp(64px, 3.65vw, 94px); }
  .paper-resources small { font-size: clamp(12px, .67vw, 16px); }
}
@media (min-width: 1680px) {
  .method-inner, .results .results-inner { width: min(88%, 1950px); }
}

@media (prefers-reduced-motion: no-preference) {
  .entrance-pending .hero :is(.wordmark-part, .paper-title, .authors, .author-note, .transport-labels) {
    animation-play-state: paused;
  }
}

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

.transport-with-video { mix-blend-mode: multiply; }
.transport-with-video #transport-canvas { visibility: hidden; }

.transport-video {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 57%;
  object-fit: fill;
  mask-image: linear-gradient(transparent 0%, #000 16%, #000 83%, transparent 100%);
  animation: water-arrive 1.45s .08s cubic-bezier(.25, 1, .5, 1) both;
}

@keyframes water-arrive {
  from { transform: translate3d(-2%, 2%, 0) scaleX(1.05); opacity: 0; }
  to { transform: translate3d(0, 0, 0) scaleX(1); opacity: 1; }
}

.results {
  --ours: #08776f;
  --base: #6a7790;
  min-height: 100svh;
  display: grid;
  align-content: center;
  background: radial-gradient(ellipse at 15% 60%, #dff2e7, transparent 52%),
              radial-gradient(ellipse at 94% 7%, #e9eef8, transparent 48%), #f8faf5;
}
.results-inner { width: min(100% - 92px, 1240px); margin: auto; padding: clamp(44px, 7svh, 82px) 0; }
.results-head { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: clamp(34px, 6svh, 65px); }
.results-head h2 { font-size: clamp(50px, 6vw, 88px); }
.results h2 em { color: var(--ours); }
.results .ours { --series: var(--ours); }
.results .baseline { --series: var(--base); }
.model-key { display: grid; gap: 6px; font-size: 14px; }
.model-key span { display: grid; grid-template-columns: 19px 1fr auto; align-items: center; gap: 8px; font-weight: 650; }
.model-key i { width: 17px; border-top: 3px solid var(--series); }
.model-key .baseline i { border-top-style: dashed; }
.model-key small, .timing-summary small, .chart-note, .axis-title, .learning-plot figcaption { color: #4e6268; }
.model-key small { font-size: 12px; font-weight: 450; }
.results-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(42px, 7vw, 110px); }
.results h3 { font: 680 clamp(19px, 1.65vw, 25px)/1.2 var(--display); letter-spacing: -.035em; margin: 0 0 10px; }
.result-number { margin: 0; color: var(--ours); font: 640 clamp(55px, 5.7vw, 84px)/1 var(--display); letter-spacing: -.065em; }
.result-number span { font: italic 400 .52em/1 Instrument, Georgia, serif; letter-spacing: -.04em; }
.result-detail, .timing-summary p:not(.result-number) { margin: 7px 0 0; font-size: clamp(14px, 1.18vw, 17px); line-height: 1.45; }
.learning-plot { margin: clamp(16px, 3svh, 32px) 0 0; }
.learning-plot figcaption, .axis-title, .chart-note { font-size: 12px; }
.learning-plot svg { display: block; width: 100%; overflow: visible; }
.learning-plot svg text { font: 12px var(--sans); fill: #526369; }
.gridline { stroke: #c7d8d3; stroke-width: .7; }
.grid-90 { stroke: #91b7ae; stroke-dasharray: 3 3; }
.curve-reveal polyline { stroke: var(--series); stroke-linejoin: round; stroke-linecap: round; stroke-width: 2.8; fill: none; }
.curve-reveal.baseline polyline { stroke-width: 2.25; stroke-dasharray: 5 4; }
.curve-reveal circle { fill: var(--series); stroke: #f8faf5; stroke-width: 1.2; }
.axis-title { display: block; text-align: center; }
.chart-note { margin: 14px 0 0; }
.results-side { display: grid; gap: clamp(26px, 4svh, 43px); }
.timing-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.timing-header h3 { margin: 0; }
.timing-modes { display: inline-flex; gap: 2px; padding: 2px; border-radius: 18px; background: #e1ebe7; }
.timing-modes button { padding: 5px 10px; background: transparent; border: 0; border-radius: inherit; cursor: pointer; color: #3b585a; font-size: 12px; }
.timing-modes [aria-pressed="true"] { background: #185f5b; color: white; }
.speed-ratio { font-weight: inherit; font-variant-numeric: tabular-nums; }
.timing-track i { transition: width .65s cubic-bezier(.2,.72,.22,1); }
.timing-summary { display: flex; align-items: center; gap: 17px; margin: 1px 0 12px; }
.timing-summary .result-number { font-size: clamp(49px, 4.6vw, 67px); }
.timing-summary .times-sign { font-family: var(--display); font-size: .65em; font-style: normal; }
.timing-summary p:not(.result-number) { margin: 0; line-height: 1.35; }
.timing-summary small { font-size: 12px; }
.timing-row + .timing-row { margin-top: 9px; }
.timing-row > div:first-child { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 13px; }
.timing-row strong, .success-result td { font-variant-numeric: tabular-nums; }
.timing-track { height: 7px; border-radius: 5px; background: #dce7e3; }
.timing-track i, .success-result td i { display: block; background: var(--series); border-radius: inherit; height: 100%; transform-origin: left; }
.success-result table { table-layout: fixed; width: 100%; border-spacing: 0; text-align: left; font-size: 14px; }
.success-result thead th:first-child { width: 32%; }
.success-result thead th:last-child { width: 17%; }
.success-result th { font-weight: 550; }
.success-result thead th { font: 500 12px var(--sans); color: #526369; }
.success-result :is(th, td) { padding: 7px 6px; }
.success-result tr > :first-child { padding-left: 0; }
.success-result tr > :last-child { padding-right: 0; text-align: right; }
.success-result td i { height: 3px; margin-top: 3px; border-radius: 3px; }
.success-result .gain { font-weight: 650; color: var(--ours); }
.results-replay { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 9px 0 0; margin-top: 12px; background: transparent; border: 0; color: #345d62; cursor: pointer; font-size: 13px; }
.results-replay:hover { color: var(--blue); }
.results-replay svg { width: 17px; height: 17px; }

@media (prefers-reduced-motion: no-preference) {
  .result-enter { animation: results-rise .7s both; }
  .result-enter .curve-reveal { animation: trace-curve 1.85s .12s cubic-bezier(.2,.6,.25,1) both; }
  .result-enter :is(.timing-track i, td i) { animation: grow-result .95s .12s cubic-bezier(.2,.72,.22,1) both; }
  .result-enter .baseline .timing-track i, .result-enter tr:nth-child(2) i { animation-delay: .22s; }
  .result-enter tr:nth-child(3) i { animation-delay: .32s; }
}
@keyframes results-rise { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: none; } }
@keyframes trace-curve { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes grow-result { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 900px) {
  .results-inner { width: calc(100% - 48px); }
  .results-grid { gap: 32px; }
}
@media (max-width: 740px) {
  .results-inner { width: min(100% - 36px, 540px); }
  .results-head { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 30px; }
  .model-key { display: flex; flex-wrap: wrap; gap: 8px 18px; }
  .model-key span { display: flex; gap: 5px; }
  .results-grid { grid-template-columns: 1fr; gap: 35px; }
  .learning-plot { margin-top: 12px; }
  .learning-plot svg text { font-size: 15px; }
  .results-side { gap: 32px; }
  .success-result :is(th, td) { padding-inline: 4px; }
  .success-result tr > :first-child { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .results-replay { display: none; }
}

.citation {
  max-width: 1040px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 80px) clamp(18px, 4vw, 48px);
}
.citation-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.citation-heading h2 { margin: 0; font: 680 clamp(28px, 4vw, 46px)/1.1 var(--display); letter-spacing: -.045em; }
.citation-heading button {
  border: 0;
  border-radius: 2em;
  padding: 10px 16px;
  background: #dcefe9;
  color: #125c56;
  font-weight: 600;
  cursor: pointer;
}
.citation-heading button:hover { background: #cde8df; }
.citation pre {
  margin: 20px 0 0;
  padding: clamp(16px, 3vw, 28px);
  border-radius: 12px;
  background: #eaf2ef;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 400 clamp(12px, 1.15vw, 15px)/1.65 var(--mono);
}
.citation code { font: inherit; }
