:root {
  color-scheme: light;
  --paper: #ffffff;
  --paper-soft: #f8f7fc;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-solid: #ffffff;
  --ink: #15131a;
  --muted: #6e687a;
  --hero-copy: #4e4859;
  --purple: #5a43d6;
  --purple-dark: #33229d;
  --purple-soft: #eeeaff;
  --lavender: #d8d0ff;
  --blue: #53b5db;
  --line: #ddd9e7;
  --line-strong: #c8c2d6;
  --shadow: 0 24px 70px rgba(49, 35, 116, 0.1);
  --header-bg: rgba(255, 255, 255, 0.74);
  --section-wash: rgba(244, 241, 255, 0.78);
  --section-wash-soft: rgba(251, 250, 255, 0.72);
  --grid-color: rgba(90, 67, 214, 0.045);
  --bg-base: #f8f7ff;
  --bg-purple: rgba(117, 88, 230, 0.25);
  --bg-blue: rgba(83, 181, 219, 0.2);
  --bg-warm: rgba(255, 216, 190, 0.2);
  --vignette: rgba(72, 52, 142, 0.08);
  --max-width: 1240px;
  --radius: 24px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0d0b13;
  --paper-soft: #191622;
  --panel: rgba(20, 17, 28, 0.88);
  --panel-solid: #15121d;
  --ink: #f4f1fa;
  --muted: #aaa3b8;
  --hero-copy: #c4bdcf;
  --purple: #9b87ff;
  --purple-dark: #c9bfff;
  --purple-soft: #251f41;
  --lavender: #514779;
  --blue: #66c9ed;
  --line: #373140;
  --line-strong: #4a4256;
  --shadow: 0 26px 78px rgba(0, 0, 0, 0.34);
  --header-bg: rgba(13, 11, 19, 0.76);
  --section-wash: rgba(23, 18, 39, 0.74);
  --section-wash-soft: rgba(14, 12, 21, 0.68);
  --grid-color: rgba(155, 135, 255, 0.06);
  --bg-base: #09080e;
  --bg-purple: rgba(98, 68, 208, 0.25);
  --bg-blue: rgba(31, 125, 167, 0.19);
  --bg-warm: rgba(116, 53, 96, 0.15);
  --vignette: rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    color-scheme: dark;
    --paper: #0d0b13;
    --paper-soft: #191622;
    --panel: rgba(20, 17, 28, 0.88);
    --panel-solid: #15121d;
    --ink: #f4f1fa;
    --muted: #aaa3b8;
    --hero-copy: #c4bdcf;
    --purple: #9b87ff;
    --purple-dark: #c9bfff;
    --purple-soft: #251f41;
    --lavender: #514779;
    --blue: #66c9ed;
    --line: #373140;
    --line-strong: #4a4256;
    --shadow: 0 26px 78px rgba(0, 0, 0, 0.34);
    --header-bg: rgba(13, 11, 19, 0.76);
    --section-wash: rgba(23, 18, 39, 0.74);
    --section-wash-soft: rgba(14, 12, 21, 0.68);
    --grid-color: rgba(155, 135, 255, 0.06);
    --bg-base: #09080e;
    --bg-purple: rgba(98, 68, 208, 0.25);
    --bg-blue: rgba(31, 125, 167, 0.19);
    --bg-warm: rgba(116, 53, 96, 0.15);
    --vignette: rgba(0, 0, 0, 0.5);
  }
}

* {
  box-sizing: border-box;
}

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

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.background-scene {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background: var(--bg-base);
  pointer-events: none;
}

.bg-layer {
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(circle at 18% 22%, var(--bg-purple), transparent 32%),
    radial-gradient(circle at 78% 16%, var(--bg-blue), transparent 28%),
    radial-gradient(circle at 68% 82%, var(--bg-purple), transparent 31%),
    radial-gradient(circle at 24% 78%, var(--bg-warm), transparent 26%);
  filter: blur(28px) saturate(118%);
  animation: background-drift 19s ease-in-out infinite alternate;
}

.bg-layer::after {
  content: "";
  position: absolute;
  inset: 8%;
  background:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at center, black 10%, transparent 72%);
}

.bg-ripple {
  position: absolute;
  width: 72vw;
  height: 32vw;
  min-height: 280px;
  border: 1px solid color-mix(in srgb, var(--purple) 16%, transparent);
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.55;
  animation: ripple-drift 13s ease-in-out infinite alternate;
}

.bg-ripple::before,
.bg-ripple::after {
  content: "";
  position: absolute;
  border: inherit;
  border-radius: inherit;
}

.bg-ripple::before {
  inset: 11%;
}

.bg-ripple::after {
  inset: 23%;
}

.bg-ripple-one {
  top: 8%;
  left: -25%;
  transform: rotate(-14deg);
}

.bg-ripple-two {
  right: -28%;
  bottom: 4%;
  transform: rotate(18deg);
  animation-delay: -6s;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 35%, var(--vignette));
}

@keyframes background-drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 2%, 0) scale(1.07);
  }
}

@keyframes ripple-drift {
  from {
    translate: 0 -2%;
    scale: 0.96;
  }
  to {
    translate: 3% 5%;
    scale: 1.05;
  }
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 32px rgba(35, 29, 66, 0.06);
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--purple-dark);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  border: 2px solid var(--purple);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.brand-mark::before {
  width: 14px;
  height: 14px;
  border: 2px solid var(--purple);
}

.brand-mark::after {
  width: 5px;
  height: 5px;
  background: var(--purple);
}

.brand-mark span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--purple);
  transform: translate(-50%, -50%) rotate(-46deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--purple);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--purple-dark);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.theme-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--purple);
  color: var(--purple-dark);
}

.theme-icon {
  position: relative;
  width: 16px;
  height: 16px;
  overflow: hidden;
  border: 2px solid var(--purple);
  border-radius: 50%;
}

.theme-icon::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 9px;
  height: 18px;
  background: var(--purple);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 132px) 0 clamp(56px, 7vw, 96px);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 4%;
  bottom: 10%;
  width: 130px;
  height: 4px;
  background: linear-gradient(90deg, var(--purple) 75%, var(--blue) 75%);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.55;
}

.hero-glow-one {
  top: 6%;
  left: -10%;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, var(--purple-soft), transparent 68%);
}

.hero-glow-two {
  right: -8%;
  bottom: -20%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--bg-blue), transparent 67%);
}

.hero-shell {
  position: relative;
}

.institution-logos {
  width: min(340px, 46vw);
  margin-bottom: clamp(54px, 8vw, 100px);
  padding: 10px 14px;
  border: 1px solid rgba(90, 67, 214, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.kicker,
.section-index {
  margin: 0 0 16px;
  color: var(--purple-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1120px;
  margin: 0;
  font-size: clamp(45px, 7.1vw, 98px);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 span {
  color: var(--purple);
}

.hero h1 em {
  margin-top: 0.09em;
  color: var(--purple-dark);
  font-size: 0.7em;
  font-style: normal;
  letter-spacing: -0.04em;
}

.hero-summary {
  max-width: 820px;
  margin: 36px 0 0;
  color: var(--hero-copy);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.55;
}

.authors {
  max-width: 1040px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 42px;
  font-size: 15px;
  font-weight: 700;
}

.authors sup {
  color: var(--purple);
}

.affiliations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 14px 0 0;
  color: var(--purple-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}

.affiliations small {
  color: var(--muted);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--purple);
  background: var(--purple);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(90, 67, 214, 0.24);
}

.button-secondary {
  background: var(--panel);
  color: var(--purple-dark);
  backdrop-filter: blur(12px);
}

.main-film {
  padding-bottom: clamp(90px, 11vw, 150px);
}

.film-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0a10;
  box-shadow: var(--shadow);
}

.film-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.film-caption {
  margin: 15px 3px 0;
  color: var(--muted);
  font-size: 13px;
}

.paper-section {
  padding: clamp(72px, 9vw, 124px) 0;
}

.paper-section + .paper-section {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 840px;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(35px, 5vw, 63px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.section-heading > p:not(.section-index),
.split-heading > p,
.rl-copy p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: end;
  gap: 60px;
}

.split-heading > p {
  margin: 0;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.capability-card {
  position: relative;
  min-height: 292px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
}

.capability-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -52px;
  width: 150px;
  height: 150px;
  border: 1px solid var(--lavender);
  border-radius: 50%;
}

.capability-card-featured {
  border: 2px solid var(--purple);
  background: linear-gradient(145deg, #f7f5ff 0%, #ffffff 70%);
  box-shadow: 0 18px 48px rgba(63, 42, 163, 0.13);
  transform: translateY(-9px);
}

.capability-number {
  display: block;
  color: var(--purple);
  font-size: 13px;
  font-weight: 850;
}

.capability-card h3 {
  max-width: 250px;
  margin: 78px 0 10px;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.capability-card p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.ours-chip {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--purple);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.capability-card .ours-chip {
  position: absolute;
  top: 26px;
  right: 26px;
}

.figure-panel {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 56px rgba(41, 30, 96, 0.07);
}

.figure-panel + .figure-panel {
  margin-top: 28px;
}

.figure-panel img {
  width: 100%;
  height: auto;
  background: #ffffff;
}

.figure-panel figcaption {
  padding: 15px 20px 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.figure-panel-wide {
  padding: 16px 16px 0;
}

.figure-panel-wide img {
  border-radius: 12px;
}

.figure-panel-wide figcaption {
  margin-top: 12px;
  padding-inline: 4px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.results-grid .figure-panel {
  display: grid;
  grid-template-rows: 108px minmax(0, 1fr) auto;
  height: 100%;
}

.results-grid .figure-panel img {
  width: 100%;
  height: clamp(270px, 25vw, 390px);
  object-fit: contain;
}

.results-grid .figure-panel figcaption {
  min-height: 68px;
  display: flex;
  align-items: center;
}

.results-grid .figure-panel + .figure-panel {
  margin-top: 0;
}

.figure-label {
  min-height: 108px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 0 24px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, var(--paper-soft), var(--panel-solid));
}

.figure-label span {
  color: var(--purple-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.figure-label strong {
  grid-row: span 2;
  align-self: center;
  color: var(--purple);
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.figure-label small {
  color: var(--muted);
  font-size: 12px;
}

.rl-section {
  padding: clamp(80px, 10vw, 136px) 0;
  background: var(--section-wash);
  backdrop-filter: blur(18px);
}

.rl-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.66fr);
  align-items: end;
  gap: 60px;
}

.rl-copy p {
  margin: 0 0 16px;
}

.text-button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--purple-dark);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

.text-button:hover,
.text-button:focus-visible {
  color: var(--purple);
}

.chart-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel-solid);
  box-shadow: 0 30px 80px rgba(61, 42, 150, 0.15);
}

.chart-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


.site-footer {
  padding: 52px 0;
  border-top: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.footer-shell {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.footer-shell p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-brand {
  color: var(--purple-dark);
  font-size: 19px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .split-heading,
  .rl-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .split-heading > p {
    max-width: 720px;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }
}

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

  .nav-shell {
    min-height: 64px;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-links {
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .nav-links a:nth-child(2) {
    display: none;
  }

  .theme-toggle {
    width: 38px;
    justify-content: center;
    padding: 0;
  }

  .theme-toggle span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .hero {
    padding-top: 64px;
  }

  .institution-logos {
    margin-bottom: 54px;
  }

  .hero h1 {
    font-size: clamp(41px, 12.8vw, 68px);
  }

  .hero-summary {
    margin-top: 28px;
  }

  .authors {
    gap: 6px 14px;
  }

  .chart-frame {
    overflow-x: auto;
  }

  .chart-frame iframe {
    min-width: 780px;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
