:root {
  color-scheme: light;
  --bg: #f8fbff;
  --paper: #f4f8fc;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --ink: #152033;
  --muted: #3f4b5f;
  --line: #dbe5ef;
  --graphite: #27313f;
  --graphite-soft: rgba(39, 49, 63, 0.1);
  --accent: #176d7a;
  --accent-2: #3c6fbe;
  --warm: #b9784f;
  --accent-soft: #e9f6f7;
  --neutral-soft: #eef5fb;
  --warm-soft: #fff2ec;
  --shadow: 0 20px 56px rgba(21, 32, 51, 0.1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(68, 101, 139, 0.028) 1px, transparent 1px),
    linear-gradient(0deg, rgba(68, 101, 139, 0.022) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f5f9fd 38%, #ffffff 100%);
  background-size: 48px 48px, 48px 48px, auto;
  line-height: 1.64;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0%, rgba(23, 109, 122, 0.048) 38%, transparent 39%),
    linear-gradient(62deg, transparent 0%, rgba(60, 111, 190, 0.042) 56%, transparent 57%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}

a {
  color: inherit;
}

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

code,
pre,
.formula,
.eyebrow,
.venue,
.number {
  font-family: "JetBrains Mono", Consolas, monospace;
}

.container {
  width: min(1120px, calc(100vw - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 229, 239, 0.88);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(136%);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(23, 32, 51, 0.1));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 19px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  position: relative;
  border-radius: 999px;
  padding: 7px 10px;
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(45, 119, 132, 0.1);
}

.nav-links a.active {
  box-shadow: inset 0 0 0 1px rgba(45, 119, 132, 0.16);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 78px 0 52px;
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(74, 103, 138, 0.024) 0,
      rgba(74, 103, 138, 0.024) 1px,
      transparent 1px,
      transparent 36px
    ),
    linear-gradient(118deg, #ffffff 0%, #f4f9fd 52%, #fbfdff 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(23, 109, 122, 0.09) 1px, transparent 1px),
    linear-gradient(0deg, rgba(60, 111, 190, 0.06) 1px, transparent 1px);
  background-size: 62px 62px;
  transform: perspective(1100px) rotateX(66deg) translateY(92px) scale(1.36);
  transform-origin: center bottom;
  opacity: 0.36;
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%, transparent 86%);
}

.hero::after {
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.68) 44%, transparent 45%),
    linear-gradient(150deg, transparent 0%, rgba(60, 111, 190, 0.055) 64%, transparent 65%);
  opacity: 0.76;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.spatial-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  perspective: 1100px;
  overflow: hidden;
}

.spatial-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.56) 24%, #000 58%, rgba(0, 0, 0, 0.76) 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.56) 24%, #000 58%, rgba(0, 0, 0, 0.76) 100%);
}

.space-plane {
  position: absolute;
  left: 50%;
  width: max(1120px, 116vw);
  height: 440px;
  border: 1px solid rgba(23, 109, 122, 0.13);
  background:
    linear-gradient(90deg, rgba(23, 109, 122, 0.11) 1px, transparent 1px),
    linear-gradient(0deg, rgba(60, 111, 190, 0.08) 1px, transparent 1px);
  background-size: 62px 62px;
  transform-style: preserve-3d;
}

.plane-back {
  top: 42px;
  transform: translateX(-50%) rotateX(69deg) rotateZ(-7deg) translateZ(-80px);
  opacity: 0.08;
}

.plane-floor {
  top: 54%;
  width: max(2100px, 190vw);
  height: 980px;
  transform: translateX(-50%) rotateX(74deg) rotateZ(2deg) translateZ(-60px);
  transform-origin: center top;
  opacity: 0.54;
  border-color: rgba(23, 109, 122, 0.23);
  background:
    linear-gradient(90deg, rgba(23, 109, 122, 0.23) 1px, transparent 1px),
    linear-gradient(0deg, rgba(60, 111, 190, 0.18) 1px, transparent 1px),
    linear-gradient(180deg, rgba(232, 247, 251, 0.24), rgba(235, 247, 252, 0.48) 38%, rgba(255, 255, 255, 0.06) 100%);
  background-size: 72px 72px, 72px 72px, auto;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.38) inset, 0 -24px 70px rgba(23, 109, 122, 0.085) inset;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 5%, #000 20%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 5%, #000 20%, #000 84%, transparent 100%);
}

.space-ray {
  position: absolute;
  left: 50%;
  top: 43%;
  width: 760px;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(23, 109, 122, 0.18), transparent 76%);
  opacity: 0.045;
}

.ray-1 {
  transform: rotate(-33deg);
}

.ray-2 {
  transform: rotate(-22deg);
}

.ray-3 {
  transform: rotate(-11deg);
}

.ray-4 {
  transform: rotate(9deg);
}

.ray-5 {
  transform: rotate(22deg);
}

.ray-6 {
  transform: rotate(35deg);
}

.space-axis {
  position: absolute;
  left: 50%;
  top: 54%;
  height: 1px;
  width: 540px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(23, 109, 122, 0.2), transparent);
}

.axis-x {
  transform: rotate(-15deg);
}

.axis-y {
  transform: rotate(38deg);
  background: linear-gradient(90deg, rgba(60, 111, 190, 0.16), transparent);
}

.hero-logo {
  width: min(550px, 92%);
  margin: 0 auto 16px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(23, 32, 51, 0.08));
}

.venue {
  margin: 0;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1120px;
  margin: 16px auto 0;
  font-size: clamp(1.7rem, 4vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1 .title-line {
  display: block;
  white-space: nowrap;
}

.hero h1 .title-line + .title-line {
  margin-top: 0.26em;
}

.hero h1 sub {
  position: relative;
  bottom: -0.18em;
  font-size: 0.58em;
  line-height: 0;
}

.authors {
  max-width: 1040px;
  margin: 36px auto 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #263247;
}

.author-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
}

.author-chip {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(219, 229, 239, 0.7);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 22px rgba(23, 32, 51, 0.045);
  backdrop-filter: blur(10px);
  color: #263247;
  font-weight: 700;
  line-height: 1;
}

.author-chip sup {
  position: relative;
  top: -0.14em;
  margin-left: 3px;
  color: var(--accent);
  font-size: 0.9em;
  font-weight: 900;
  line-height: 1;
}

.author-chip strong {
  color: #121c2f;
  font-weight: 710;
}

.author-notes {
  margin-top: 2px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.author-notes sup {
  margin-right: 3px;
  color: var(--accent);
  font-size: 0.92em;
  font-weight: 900;
}

.affiliations {
  margin: 22px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 0;
  color: var(--muted);
}

.affiliations a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
}

.affiliations a:hover {
  color: var(--accent);
}

.affiliations a:focus-visible {
  outline: 3px solid rgba(60, 111, 190, 0.22);
  outline-offset: 4px;
}

.affiliations a + a {
  position: relative;
  margin-left: 24px;
  padding-left: 24px;
}

.affiliations a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.5px;
  height: 1.12em;
  background: rgba(63, 75, 95, 0.4);
  transform: translateY(-50%);
}

.resource-actions {
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.resource-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(213, 224, 235, 0.9);
  border-radius: 8px;
  padding: 0 15px;
  color: #243047;
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(23, 32, 51, 0.06);
  backdrop-filter: blur(12px);
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.resource-link:hover {
  transform: translateY(-1px);
  border-color: rgba(213, 224, 235, 0.95);
  background: rgba(255, 255, 255, 0.92);
  color: #102033;
}

.resource-link:focus-visible {
  outline: 3px solid rgba(60, 111, 190, 0.24);
  outline-offset: 3px;
}

.resource-link.primary {
  color: #ffffff;
  background: linear-gradient(135deg, #176d7a, #315ea8);
  border-color: rgba(23, 109, 122, 0.18);
  box-shadow: 0 8px 18px rgba(23, 109, 122, 0.18);
}

.resource-link.primary:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #155f6b, #285aa1);
  border-color: rgba(23, 109, 122, 0.28);
}

.resource-link.code-link {
  color: #ffffff;
  background: #30343b;
  border-color: rgba(48, 52, 59, 0.28);
  box-shadow: 0 8px 18px rgba(48, 52, 59, 0.16);
}

.resource-link.code-link:hover {
  color: #ffffff;
  background: #252a31;
  border-color: rgba(37, 42, 49, 0.34);
}

.resource-link.bibtex-link {
  color: #3a4250;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(184, 194, 207, 0.78);
  box-shadow: 0 8px 18px rgba(23, 32, 51, 0.045);
}

.resource-link.bibtex-link:hover {
  color: #222b38;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(164, 176, 192, 0.9);
}

.resource-link.models-link {
  color: #174b4f;
  background: linear-gradient(135deg, #e7f4ef, #d9edf0);
  border-color: rgba(38, 128, 132, 0.42);
  box-shadow: 0 8px 18px rgba(23, 109, 122, 0.08);
}

.resource-link.models-link:hover {
  color: #103b40;
  background: linear-gradient(135deg, #d9eee8, #cbe5e9);
  border-color: rgba(31, 112, 118, 0.58);
}

.resource-link.leaderboard-link {
  color: #f8fbfc;
  background: linear-gradient(135deg, #17313a, #233247);
  border-color: rgba(23, 49, 58, 0.55);
  box-shadow: 0 10px 22px rgba(23, 49, 58, 0.16);
}

.resource-link.leaderboard-link:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1d3d48, #2b3c55);
  border-color: rgba(23, 49, 58, 0.7);
}

.logo-strip {
  margin: 36px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.logo-strip.compact img {
  max-height: 58px;
}

.logo-strip.compact .sii-logo {
  max-height: 60px;
}

.logo-strip.compact .sig-logo {
  max-height: 72px;
  max-width: 234px;
}

.logo-strip img {
  max-height: 62px;
  max-width: 220px;
  object-fit: contain;
  mix-blend-mode: normal;
}

.section {
  padding: 80px 0;
}

.section[id] {
  scroll-margin-top: 76px;
}

.soft-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(23, 109, 122, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(247, 250, 251, 0.96), rgba(242, 247, 248, 0.98));
  background-size: 42px 42px, auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.soft-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, transparent 0%, rgba(255, 255, 255, 0.7) 48%, transparent 49%);
  opacity: 0.74;
}

.soft-section > .container {
  position: relative;
  z-index: 1;
}

.teaser {
  padding-top: 44px;
}

.teaser-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 28px;
}

.paper-figure,
.paper-preview {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.paper-figure {
  max-width: 900px;
  margin: 0 auto;
  background: transparent;
}

.paper-figure object {
  width: 100%;
  height: min(62vw, 660px);
  min-height: 440px;
  background: #ffffff;
}

.paper-figure img {
  width: 100%;
  height: auto;
  background: transparent;
}

.teaser-copy {
  position: relative;
  padding: 18px 0 18px 22px;
  border-left: 2px solid rgba(23, 109, 122, 0.18);
}

.teaser-copy::before {
  display: none;
}

.teaser-copy p:last-child {
  margin: 8px 0 0;
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.68;
}

.caption {
  max-width: 860px;
  margin: 12px auto 0;
  color: #2f3c52;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
}

.figure-fallback {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 56px minmax(120px, 1fr) 56px minmax(120px, 1fr);
  align-items: center;
  justify-items: center;
  padding: 30px;
  background: #ffffff;
}

.fallback-node {
  width: 100%;
  min-height: 110px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfd;
  font-weight: 800;
  text-align: center;
}

.fallback-node.accent {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.fallback-arrow {
  width: 42px;
  height: 2px;
  background: var(--accent);
  position: relative;
}

.fallback-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -5px;
  border-left: 10px solid var(--accent);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.section-title {
  max-width: 940px;
}

.section-title.centered {
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.number {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-title h2 {
  margin: 10px 0 0;
  font-size: 3.05rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.section-title p {
  max-width: 850px;
  margin: 15px 0 0;
  color: #334155;
  font-size: 1.18rem;
  line-height: 1.72;
}

.section-title.centered p {
  margin-left: auto;
  margin-right: auto;
}

.section-title .eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.2;
}

.section-title .eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.section-title.centered .eyebrow {
  justify-content: center;
}

.section-title.centered .eyebrow::after {
  content: "";
  width: 30px;
  height: 2px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.abstract-text {
  max-width: 980px;
  margin: 24px auto 0;
  color: #1f2b3f;
  font-size: 1.16rem;
  line-height: 1.72;
}

.reading-block {
  max-width: 960px;
  margin: 0 auto;
}

.lead-block .section-title {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.paper-takeaways {
  margin: 26px auto 0;
  max-width: 900px;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(219, 229, 239, 0.88);
  border-bottom: 1px solid rgba(219, 229, 239, 0.88);
  background: rgba(255, 255, 255, 0.54);
}

.paper-takeaways p {
  margin: 0;
  padding: 13px 6px;
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.58;
  border-bottom: 1px solid rgba(219, 229, 239, 0.84);
}

.paper-takeaways p:last-child {
  border-bottom: 0;
}

.paper-takeaways strong {
  color: var(--accent);
}

.project-story {
  max-width: 1080px;
  margin: 0 auto;
}

.story-layout {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: start;
}

.story-copy {
  border-top: 1px solid rgba(219, 229, 239, 0.9);
  border-bottom: 1px solid rgba(219, 229, 239, 0.9);
  padding: 8px 0;
}

.story-copy p {
  margin: 18px 0;
  color: #243247;
  font-size: 1.17rem;
  line-height: 1.82;
}

.story-copy strong {
  color: var(--accent);
}

.framework-block {
  margin-top: 56px;
}

.framework-block-title {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.framework-block-title h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

.framework-block-title p {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.overview-points {
  max-width: 1040px;
  margin: 34px auto 0;
  border-top: 1px solid rgba(210, 224, 234, 0.92);
  border-bottom: 1px solid rgba(210, 224, 234, 0.92);
  background:
    linear-gradient(90deg, rgba(23, 109, 122, 0.026) 1px, transparent 1px),
    rgba(255, 255, 255, 0.36);
  background-size: 28px 28px, auto;
}

.overview-points p {
  margin: 0;
  display: grid;
  grid-template-columns: 22px minmax(220px, 0.38fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  border-bottom: 1px solid rgba(210, 224, 234, 0.78);
  padding: 18px 4px;
  color: #334155;
  font-size: 1.06rem;
  line-height: 1.58;
}

.overview-points p:last-child {
  border-bottom: 0;
}

.overview-points .point-marker {
  justify-self: center;
  color: #d99a18;
  font-size: 1.18rem;
  line-height: 1;
}

.overview-points strong {
  color: #162033;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.35;
}

.overview-points p > span:last-child {
  max-width: 620px;
  color: #2f3c52;
}

.stat-board {
  display: grid;
  gap: 12px;
}

.story-layout .stat-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-board article,
.research-thread article,
.module-rail article,
.data-ladder article,
.result-cards article {
  border: 1px solid rgba(223, 229, 236, 0.84);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(23, 109, 122, 0.032) 1px, transparent 1px),
    rgba(255, 255, 255, 0.84);
  background-size: 28px 28px, auto;
  box-shadow: 0 14px 36px rgba(23, 32, 51, 0.06);
}

.stat-board article {
  padding: 18px;
}

.stat-board strong,
.result-cards strong {
  display: block;
  color: var(--accent);
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  line-height: 1;
}

.stat-board .stat-value-wide {
  font-size: clamp(1.6rem, 3.2vw, 2.36rem);
  white-space: nowrap;
}

.stat-board span,
.result-cards span,
.data-ladder span,
.module-rail span {
  display: block;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stat-board span {
  margin-top: 9px;
  line-height: 1.45;
}

.research-thread {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.research-thread article {
  position: relative;
  min-height: 230px;
  padding: 24px;
  overflow: hidden;
}

.research-thread article::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -46px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(23, 109, 122, 0.16);
  transform: rotate(18deg);
}

.research-thread span {
  color: var(--accent);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 800;
}

.research-thread h3 {
  margin: 22px 0 10px;
  font-size: 1.3rem;
  line-height: 1.18;
}

.research-thread p {
  margin: 0;
  color: #334155;
  font-size: 1.06rem;
  line-height: 1.68;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 34px;
}

.compact-figure {
  max-width: 620px;
  margin: 0;
}

.equation-band {
  margin-top: 24px;
  display: grid;
  gap: 8px;
}

.equation-band p {
  margin: 0;
  min-height: 46px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  column-gap: 18px;
  border-left: 3px solid rgba(23, 109, 122, 0.38);
  padding: 10px 14px;
  color: #1c2a40;
  background: rgba(255, 255, 255, 0.64);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.94rem;
}

.equation-label {
  color: var(--accent);
  font-weight: 800;
}

.equation-text {
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: nowrap;
  line-height: 1.45;
}

.equation-text::-webkit-scrollbar {
  display: none;
}

.equation-text sup,
.equation-text sub {
  position: relative;
  font-size: 0.72em;
  line-height: 0;
}

.equation-text sup {
  top: -0.48em;
}

.equation-text sub {
  bottom: -0.18em;
}

.method-board {
  margin-top: 34px;
}

.method-contributions {
  margin-top: 30px;
}

.method-board .wide-figure {
  max-width: 980px;
  margin-top: 0;
}

.module-rail {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.module-rail article {
  padding: 18px;
}

.module-rail h3 {
  margin: 12px 0 8px;
  font-size: 1.12rem;
  line-height: 1.24;
}

.module-rail p {
  margin: 0;
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.6;
}

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

.data-ladder article {
  padding: 20px;
}

.data-ladder strong {
  display: block;
  margin-top: 8px;
  color: #1f2b3f;
  font-size: 1.32rem;
  line-height: 1.2;
}

.data-ladder p {
  margin: 9px 0 0;
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.62;
}

.result-cards {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.result-cards article {
  padding: 18px;
}

.result-cards p {
  margin: 10px 0 0;
  color: #334155;
  font-size: 0.99rem;
  line-height: 1.55;
}

.performance-title {
  margin-bottom: 8px;
}

.performance-block {
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid rgba(219, 229, 239, 0.9);
}

.performance-block-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: 28px;
}

.performance-block-header h3 {
  margin: 8px 0 0;
  color: #162033;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.performance-block-header p,
.performance-copy {
  margin: 0;
  color: #334155;
  font-size: 1.08rem;
  line-height: 1.68;
}

.performance-block-header > .resource-link {
  justify-self: end;
  align-self: center;
}

.performance-copy {
  max-width: 980px;
  margin-top: 18px;
}

.performance-rank {
  color: var(--accent);
  font-weight: 900;
}

.block-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.block-index::after {
  content: "";
  width: 42px;
  height: 2px;
  background: currentColor;
}

.performance-metrics {
  margin-top: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-block-heading {
  margin: 34px 0 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(219, 229, 239, 0.86);
  padding-top: 22px;
}

.content-block-heading h3 {
  margin: 0;
  color: #162033;
  font-size: 1.35rem;
  line-height: 1.2;
}

.content-block-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
  text-align: right;
}

.metric-row {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-row article,
.contribution-grid article,
.formula-grid article,
.architecture-notes article,
.training-grid article,
.video-grid article,
.bibtex-card {
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(23, 109, 122, 0.2), rgba(60, 111, 190, 0.14), rgba(255, 255, 255, 0.3)) border-box;
  box-shadow: 0 16px 42px rgba(23, 32, 51, 0.07);
}

.metric-row article {
  padding: 20px 16px;
  text-align: center;
}

.metric-row strong {
  display: block;
  color: var(--accent);
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  line-height: 1;
}

.metric-row span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.contribution-grid,
.formula-grid,
.training-grid,
.video-grid,
.figure-grid {
  margin-top: 30px;
  display: grid;
  gap: 16px;
}

.contribution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.paper-contribs {
  max-width: 940px;
  margin: 30px auto 0;
  border: 1px solid rgba(223, 229, 236, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(23, 32, 51, 0.075);
}

.paper-contribs article {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(219, 229, 239, 0.84);
}

.paper-contribs article:last-child {
  border-bottom: 0;
}

.paper-contribs article > span {
  color: var(--accent);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.paper-contribs h3 {
  margin: 0 0 7px;
  font-size: 1.13rem;
}

.paper-contribs p {
  margin: 0;
  color: #334155;
  font-size: 1.03rem;
  line-height: 1.65;
}

.formula-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.technical-note {
  max-width: 900px;
  margin: 28px auto 0;
  border: 1px solid rgba(223, 229, 236, 0.82);
  border-radius: 8px;
  padding: 22px 24px;
  background:
    linear-gradient(90deg, rgba(23, 109, 122, 0.032) 1px, transparent 1px),
    rgba(255, 255, 255, 0.86);
  background-size: 28px 28px, auto;
  box-shadow: 0 16px 38px rgba(23, 32, 51, 0.065);
}

.technical-note.centered-note {
  text-align: left;
}

.technical-note p {
  margin: 0;
  color: #334155;
  font-size: 1.04rem;
  line-height: 1.7;
}

.equation-stack {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.equation-stack p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #1c2a40;
  background: rgba(255, 255, 255, 0.82);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.92rem;
}

.equation-stack span {
  min-width: 54px;
  color: var(--accent);
  font-weight: 800;
}

.training-grid,
.video-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.objective-list {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.objective-list article {
  position: relative;
  border: 1px solid rgba(223, 229, 236, 0.82);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(23, 32, 51, 0.065);
}

.objective-list article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), rgba(60, 111, 190, 0.48));
}

.step-label {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.objective-list h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.objective-list p {
  margin: 0;
  color: #2f3c52;
  font-size: 1.02rem;
  line-height: 1.6;
}

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

.figure-grid .figure-card + .figure-card {
  border-left: 1px solid rgba(219, 229, 239, 0.9);
  padding-left: 28px;
}

.contribution-grid article,
.formula-grid article,
.architecture-notes article,
.training-grid article,
.video-grid article {
  padding: 20px;
}

.figure-card {
  max-width: 860px;
  margin: 24px auto 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.figure-grid .figure-card {
  margin-top: 0;
}

.figure-card img {
  width: 100%;
  height: auto;
  background: transparent;
}

.figure-card figcaption {
  margin: 0;
  padding: 9px 4px 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.58;
  border-top: 0;
  background: transparent;
}

#analysis .figure-card figcaption {
  padding-top: 14px;
  color: var(--text-soft);
  font-size: clamp(1.04rem, 0.98rem + 0.22vw, 1.16rem);
  line-height: 1.62;
}

#analysis .figure-grid .figure-card figcaption {
  flex: 1;
  display: flex;
  align-items: center;
  text-align: left;
  text-wrap: pretty;
}

#analysis .figure-grid .figure-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
}

.wide-figure {
  width: 100%;
}

.overview-figure {
  max-width: 980px;
  margin-top: 32px;
}

.overview-figure img {
  mix-blend-mode: multiply;
  filter: contrast(1.03) saturate(1.03);
}

.qualitative-figure {
  max-width: 780px;
  margin-top: 34px;
}

.contribution-grid h3,
.formula-grid h3,
.architecture-notes h3,
.training-grid h3,
.video-grid h3,
.result-table-wrap h3 {
  margin: 10px 0 8px;
  font-size: 1.15rem;
  line-height: 1.24;
}

.contribution-grid p,
.formula-grid p,
.architecture-notes p,
.training-grid p,
.video-grid p {
  margin: 0;
  color: var(--muted);
}

.formula-grid article {
  background: #fbfcfd;
}

.formula-grid .emphasis {
  background:
    linear-gradient(135deg, rgba(233, 246, 247, 0.98), rgba(239, 246, 255, 0.9)) padding-box,
    linear-gradient(135deg, rgba(23, 109, 122, 0.34), rgba(60, 111, 190, 0.24)) border-box;
}

.formula {
  min-height: 76px;
  display: flex;
  align-items: center;
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #1c2a40;
  background:
    linear-gradient(90deg, rgba(23, 109, 122, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 252, 0.94));
  background-size: 22px 22px, auto;
  font-size: 0.92rem;
  overflow-x: auto;
}

.architecture-block {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.architecture-diagram {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(223, 229, 236, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(23, 109, 122, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(60, 111, 190, 0.025) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 250, 0.98));
  background-size: 34px 34px, 34px 34px, auto;
  padding: 20px;
  box-shadow: 0 24px 62px rgba(23, 32, 51, 0.1);
}

.diagram-space {
  position: absolute;
  inset: 18px;
  pointer-events: none;
  opacity: 0.62;
}

.diagram-space span {
  position: absolute;
  border: 1px solid rgba(23, 109, 122, 0.16);
  transform: skew(-18deg) rotate(-6deg);
}

.diagram-space span:nth-child(1) {
  left: 8%;
  top: 10%;
  width: 44%;
  height: 34%;
}

.diagram-space span:nth-child(2) {
  right: 7%;
  top: 28%;
  width: 38%;
  height: 38%;
  border-color: rgba(60, 111, 190, 0.12);
}

.diagram-space span:nth-child(3) {
  left: 22%;
  bottom: 10%;
  width: 56%;
  height: 30%;
  border-color: rgba(23, 109, 122, 0.1);
}

.token-row {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.token-row.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.token-row.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.token {
  min-height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(223, 229, 236, 0.9);
  border-radius: 8px;
  padding: 12px;
  color: #1f2b3f;
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 12px 24px rgba(23, 32, 51, 0.06);
  backdrop-filter: blur(8px);
}

.token.video {
  background: var(--neutral-soft);
}

.token.spatial {
  color: #ffffff;
  background: linear-gradient(135deg, #176d7a, #3c6fbe);
  border-color: var(--accent);
}

.token.action {
  background: var(--warm-soft);
}

.attention-band {
  position: relative;
  z-index: 1;
  margin: 14px 0;
  min-height: 52px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(135deg, rgba(16, 24, 32, 0.98), rgba(23, 109, 122, 0.92), rgba(60, 111, 190, 0.82));
  background-size: 28px 28px, auto;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 16px 34px rgba(23, 109, 122, 0.18);
}

.architecture-notes {
  display: grid;
  gap: 14px;
}

.table-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.data-bands,
.result-summary {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.data-bands {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.result-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.data-bands article,
.result-summary article {
  border: 1px solid rgba(223, 229, 236, 0.82);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(23, 109, 122, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.9);
  background-size: 28px 28px, auto;
  box-shadow: 0 14px 34px rgba(23, 32, 51, 0.065);
}

.data-bands span,
.result-summary span {
  display: block;
  color: var(--accent);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.data-bands strong,
.result-summary strong {
  display: block;
  margin-top: 8px;
  color: #1f2b3f;
  font-size: 1.35rem;
  line-height: 1.2;
}

.data-bands p,
.result-summary p {
  margin: 9px 0 0;
  color: var(--muted);
}

.result-table-wrap {
  position: relative;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border: 1px solid rgba(213, 224, 235, 0.95);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(23, 32, 51, 0.035);
}

.result-table-wrap::-webkit-scrollbar {
  display: none;
}

.result-table-wrap::before {
  display: none;
}

.result-table-wrap h3 {
  margin: 0;
  padding: 20px 22px 14px;
  border-bottom: 1px solid rgba(219, 229, 239, 0.86);
  color: #162033;
  background: #ffffff;
  font-size: 1.16rem;
}

.result-table-wrap h3::after {
  display: none;
}

.result-table {
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  table-layout: fixed;
}

.result-table th,
.result-table td {
  padding: 15px 22px;
  text-align: left;
  border: 0;
  vertical-align: middle;
}

.result-table thead th {
  padding-top: 13px;
  padding-bottom: 13px;
  color: #526075;
  background: #f7fafc;
  border-bottom: 1px solid rgba(219, 229, 239, 0.9);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.result-table tbody th,
.result-table tbody td {
  color: #172237;
  background: #ffffff;
  border-bottom: 1px solid rgba(224, 232, 240, 0.92);
  font-size: 1rem;
  line-height: 1.38;
  box-shadow: none;
}

.result-table tbody th:first-child,
.result-table tbody td:first-child {
  font-weight: 800;
}

.result-table tbody tr:not(.highlight-row):nth-child(even) th,
.result-table tbody tr:not(.highlight-row):nth-child(even) td {
  background: #fbfdff;
}

.result-table:not(.compact-table) th:first-child,
.result-table:not(.compact-table) td:first-child {
  width: 34%;
}

.result-table:not(.compact-table) th:nth-child(2),
.result-table:not(.compact-table) td:nth-child(2) {
  width: 24%;
}

.result-table:not(.compact-table) tbody td:nth-child(2) {
  color: #41506a;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.88rem;
  font-weight: 800;
}

.result-table:not(.compact-table) th:nth-child(n + 3),
.result-table:not(.compact-table) td:nth-child(n + 3) {
  text-align: right;
}

.result-table:not(.compact-table) tbody td:nth-child(n + 3),
.result-table.compact-table tbody td {
  font-variant-numeric: tabular-nums;
}

@media (hover: hover) {
  .result-table tbody tr:not(.highlight-row):hover th,
  .result-table tbody tr:not(.highlight-row):hover td {
    background: #f6fbfb;
  }
}

.result-table tr:last-child th,
.result-table tr:last-child td {
  border-bottom: 0;
}

.result-table .highlight-row td,
.result-table .highlight-row th {
  color: #102033;
  background: #eaf7f7;
  border-color: rgba(191, 219, 222, 0.95);
  font-weight: 900;
  box-shadow: none;
}

.result-table .highlight-row td:nth-child(2) {
  color: #176d7a;
}

.result-table .highlight-row td:first-child,
.result-table .highlight-row th:first-child {
  box-shadow: inset 3px 0 0 var(--accent);
}

.compact-table {
  min-width: 0;
  border-spacing: 0;
}

.result-table.compact-table tbody th {
  width: 54%;
  color: #2c3749;
  background: #f7fafc;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
}

.result-table.compact-table tbody td {
  width: 46%;
  color: #142035;
  font-size: 1.02rem;
  font-weight: 800;
  text-align: left;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border: 1px solid rgba(174, 184, 198, 0.72);
  border-radius: 8px;
  color: #41516b;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(235, 246, 250, 0.76)),
    linear-gradient(135deg, rgba(23, 109, 122, 0.12), rgba(60, 111, 190, 0.08)),
    repeating-linear-gradient(
      0deg,
      rgba(23, 32, 51, 0.07) 0,
      rgba(23, 32, 51, 0.07) 1px,
      transparent 1px,
      transparent 24px
    );
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.demo-grid,
.challenge-grid,
.robotwin-grid {
  width: min(1400px, calc(100vw - 48px));
  margin-left: 50%;
  transform: translateX(-50%);
  gap: 30px;
}

.demo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.challenge-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.challenge-grid .challenge-card {
  grid-column: span 6;
}

.challenge-grid .challenge-featured {
  grid-column: 1 / -1;
}

.challenge-grid .challenge-standard {
  grid-column: span 4;
}

.challenge-grid .challenge-wide {
  --video-ratio: 1708 / 480;
}

.challenge-grid .challenge-ultra {
  --video-ratio: 4 / 1;
}

.challenge-grid .challenge-standard {
  --video-ratio: 4 / 3;
}

.challenge-grid .challenge-center-left {
  grid-column: 3 / span 4;
}

.challenge-grid .challenge-center-right {
  grid-column: 7 / span 4;
}

.video-grid article {
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 254, 0.98)) padding-box,
    linear-gradient(135deg, rgba(23, 109, 122, 0.18), rgba(60, 111, 190, 0.12), rgba(255, 255, 255, 0.3)) border-box;
}

.section-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.video-player {
  width: 100%;
  aspect-ratio: var(--video-ratio, 16 / 9);
  display: block;
  border: 0;
  border-bottom: 1px solid rgba(219, 229, 239, 0.86);
  border-radius: 8px 8px 0 0;
  background: #101820;
  object-fit: contain;
}

.video-grid article h3 {
  margin: 18px 18px 8px;
  font-size: 1.22rem;
  line-height: 1.24;
}

.video-caption {
  margin: 18px 18px 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.video-grid article .video-caption h3 {
  margin: 0;
}

.video-speed {
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 800;
}

.video-tag {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(191, 219, 222, 0.92);
  border-radius: 999px;
  padding: 0 9px;
  color: #176d7a;
  background: rgba(234, 247, 247, 0.78);
  font-size: 0.76rem;
  font-weight: 900;
}

.video-grid article p {
  margin: 0 18px 20px;
  line-height: 1.55;
}

.full-width-table {
  margin-top: 16px;
}

.benchmark-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.benchmark-table .metric-col {
  width: 21%;
}

.benchmark-table .method-col {
  width: 9.875%;
}

.result-table.benchmark-table th,
.result-table.benchmark-table td {
  width: auto;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  white-space: nowrap;
}

.result-table.benchmark-table th:nth-child(2),
.result-table.benchmark-table td:nth-child(2),
.result-table.benchmark-table th:nth-child(n + 3),
.result-table.benchmark-table td:nth-child(n + 3) {
  width: auto;
  text-align: center;
}

.result-table.benchmark-table tbody td:nth-child(2) {
  color: #172237;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

.result-table.benchmark-table th:first-child,
.result-table.benchmark-table td:first-child {
  width: 21%;
  text-align: left;
}

.result-table.benchmark-table thead th {
  font-size: 0.86rem;
  font-weight: 500;
  text-transform: none;
}

.result-table.benchmark-table thead th:nth-last-child(-n + 2) {
  color: var(--accent);
  font-weight: 900;
}

.result-table.benchmark-table .highlight-row td,
.result-table.benchmark-table .highlight-row th,
.result-table.benchmark-table .highlight-row td:first-child {
  font-weight: 500;
}

.result-table.benchmark-table .highlight-row td:nth-last-child(-n + 2) {
  color: var(--accent);
  font-weight: 900;
}

.paper-resource {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.paper-resource p {
  margin: 0;
  color: var(--muted);
}

.paper-resource code {
  color: var(--accent);
  font-weight: 800;
}

.citation-placeholder {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid rgba(23, 109, 122, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 248, 0.92)),
    linear-gradient(135deg, rgba(23, 109, 122, 0.1), rgba(60, 111, 190, 0.08));
  box-shadow: 0 16px 42px rgba(23, 32, 51, 0.07);
}

.citation-placeholder p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.citation-placeholder .citation-status {
  margin: 0;
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0;
}

.bibtex-card {
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #101820, #122f35);
  background-size: 32px 32px, auto;
  border-color: transparent;
}

.bibtex-card pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  color: #eef7f5;
  font-size: 0.92rem;
}

.copy-button {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 0 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
  cursor: pointer;
}

.footer {
  padding: 26px 0;
  color: #2b384b;
  background:
    linear-gradient(90deg, rgba(23, 109, 122, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #f7fafc, #edf4f8);
  background-size: 42px 42px, auto;
  border-top: 1px solid rgba(213, 224, 235, 0.95);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand > span {
  color: #1e2a3a;
  font-weight: 800;
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-logo {
  max-width: 92px;
  max-height: 36px;
  object-fit: contain;
  opacity: 1;
}

.footer-logo.sii-logo {
  max-height: 38px;
}

.footer a {
  color: #2b384b;
  text-decoration: none;
  font-weight: 700;
}

.footer a:hover {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 380ms ease, transform 380ms ease;
}

html.has-initial-hash .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:target {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .teaser-stage,
  .story-layout,
  .section-split {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 2.55rem;
  }

  .section-title p {
    font-size: 1.12rem;
  }

  .performance-block-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
  }

  .performance-block-header > .resource-link {
    justify-self: start;
  }

  .teaser-copy {
    max-width: 760px;
    margin: 0 auto;
  }

  .compact-figure {
    max-width: 760px;
    margin: 0 auto;
  }

  .research-thread,
  .module-rail,
  .data-ladder,
  .result-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .paper-contribs article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .objective-list {
    grid-template-columns: 1fr;
  }

  .metric-row,
  .contribution-grid,
  .formula-grid,
  .training-grid,
  .video-grid,
  .figure-grid,
  .table-grid,
  .architecture-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .architecture-block {
    grid-template-columns: 1fr;
  }

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

  .challenge-grid .challenge-card,
  .challenge-grid .challenge-featured {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 10px;
  }

  .overview-points p {
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    row-gap: 5px;
    column-gap: 12px;
    padding: 16px 0;
  }

  .overview-points .point-marker {
    grid-row: 1 / span 2;
    margin-top: 0.28em;
  }

  .overview-points strong,
  .overview-points p > span:last-child {
    grid-column: 2;
  }

  .overview-points p > span:last-child {
    max-width: none;
  }
}

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

  .container {
    width: min(100vw - 24px, 1120px);
  }

  .hero {
    padding-top: 44px;
  }

  .hero-logo {
    width: min(440px, 96%);
  }

  .hero h1 {
    font-size: clamp(1.55rem, 8.4vw, 2.65rem);
  }

  .hero h1 .title-line {
    white-space: normal;
  }

  .hero h1 .title-line + .title-line {
    margin-top: 0.16em;
  }

  .authors {
    margin-top: 30px;
  }

  .affiliations {
    gap: 8px 14px;
  }

  .affiliations a + a {
    margin-left: 0;
    padding-left: 0;
  }

  .affiliations a + a::before {
    display: none;
  }

  .author-row {
    gap: 7px;
  }

  .author-chip {
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.9rem;
  }

  .author-notes {
    gap: 6px 12px;
    font-size: 0.72rem;
  }

  .section {
    padding: 54px 0;
  }

  .section-title h2 {
    font-size: 2.08rem;
    line-height: 1.14;
  }

  .section-title .eyebrow {
    font-size: 0.98rem;
  }

  .section-title .eyebrow::before,
  .section-title.centered .eyebrow::after {
    width: 22px;
  }

  .section-title p {
    font-size: 1.04rem;
    line-height: 1.68;
  }

  .equation-band p {
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 12px;
    padding: 9px 10px;
    font-size: 0.82rem;
  }

  .result-table-wrap h3 {
    padding: 20px 18px 12px;
    font-size: 1.16rem;
  }

  .result-table {
    min-width: 560px;
  }

  .compact-table {
    min-width: 0;
  }

  .result-table th,
  .result-table td {
    padding: 14px 18px;
    font-size: 0.98rem;
  }

  .compact-table th,
  .compact-table td {
    font-size: 0.94rem;
  }

  .content-block-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .content-block-heading p {
    text-align: left;
  }

  .story-layout .stat-board {
    grid-template-columns: 1fr;
  }

  .metric-row,
  .contribution-grid,
  .formula-grid,
  .training-grid,
  .video-grid,
  .figure-grid,
  .objective-list,
  .research-thread,
  .module-rail,
  .data-ladder,
  .result-cards,
  .table-grid,
  .token-row.three,
  .token-row.two {
    grid-template-columns: 1fr;
  }

  .figure-grid .figure-card + .figure-card {
    border-left: 0;
    padding-left: 0;
  }

  .teaser-copy {
    padding-left: 16px;
  }

  .research-thread article {
    min-height: auto;
    padding: 20px;
  }

  .story-copy p {
    font-size: 1.06rem;
    line-height: 1.72;
  }

  .paper-figure object {
    min-height: 360px;
  }

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

  .fallback-arrow {
    width: 2px;
    height: 34px;
  }

  .fallback-arrow::after {
    right: -5px;
    top: auto;
    bottom: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid var(--accent);
    border-bottom: 0;
  }

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

  .footer-brand {
    gap: 14px;
  }
}

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

  .reveal {
    animation: none;
    transition: none;
  }
}
