:root {
  color-scheme: light;
  --paper: #f7f7f3;
  --white: #ffffff;
  --ink: #11120f;
  --muted: #64665f;
  --line: #d9dbd3;
  --orange: #f04b2f;
  --yellow: #f1d94e;
  --green: #187a68;
  --blue: #2468c9;
  --dark: #151814;
  --mist-green: #edf2ee;
  --mist-blue: #eef2f6;
  --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; }
button, a { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(var(--shell), calc(100% - 64px)); margin: 0 auto; }
.section { padding: 112px 0; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  color: var(--white);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.site-header.scrolled, .site-header.menu-active {
  border-color: var(--line);
  background: rgba(247, 247, 243, 0.96);
  color: var(--ink);
  backdrop-filter: blur(14px);
}
.institute-link { display: inline-flex; align-items: center; }
.nav-institute img {
  width: 118px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 180ms ease;
}
.site-header.scrolled .nav-institute img, .site-header.menu-active .nav-institute img { filter: none; }
.nav {
  position: relative;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 36px;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.brand-mark {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 15px;
  line-height: 1;
}
.nav-links { display: flex; justify-content: center; gap: 28px; }
.nav-links a, .nav-paper { font-size: 13px; font-weight: 650; text-decoration: none; }
.nav-links a { position: relative; padding: 26px 0; color: inherit; }
.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.nav-paper {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid currentColor;
  padding: 0 13px;
}
.language-toggle {
  min-width: 52px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 2px;
  padding: 0 10px;
  background: transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.language-toggle:hover, .language-toggle:focus-visible { background: var(--white); color: var(--ink); }
.site-header.scrolled .language-toggle:hover, .site-header.menu-active .language-toggle:hover { background: var(--ink); color: var(--white); }
.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}
.menu-toggle span {
  width: 20px;
  height: 1px;
  display: block;
  margin: 5px auto;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}
.menu-active .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-active .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-active .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: #272b25;
  color: var(--white);
  isolation: isolate;
}
.hero-media, .hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media { object-fit: cover; object-position: center 48%; }
.hero-shade { z-index: -1; background: rgba(8, 11, 8, 0.58); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  gap: 56px;
  align-items: end;
  padding-top: 144px;
  padding-bottom: 72px;
}
.hero-copy { max-width: 850px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.eyebrow.light { color: var(--yellow); }
.eyebrow::before {
  width: 24px;
  height: 2px;
  display: inline-block;
  margin-right: 10px;
  background: currentColor;
  content: "";
  vertical-align: 3px;
}
.hero h1 {
  margin: 0;
  font-size: 132px;
  font-weight: 850;
  line-height: 0.82;
}
.hero-subtitle { margin: 24px 0 0; font-size: 42px; font-weight: 650; }
.hero-intro {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.85;
}
.hero-release-actions {
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}
.hero-release-item { min-width: 0; }
.hero-release-item .button { width: 100%; min-height: 46px; padding: 0 12px; font-size: 12px; }
.hero-release-item small { display: block; margin-top: 8px; color: rgba(255, 255, 255, 0.64); font-size: 10px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: var(--white); }
.button-primary:hover { background: #d93f26; }
.button-ghost { border-color: rgba(255, 255, 255, 0.58); color: var(--white); }
.button-ghost:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.button:disabled { opacity: 0.64; cursor: not-allowed; pointer-events: none; }
.hero-facts { border-top: 1px solid rgba(255, 255, 255, 0.5); }
.hero-facts div {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}
.hero-facts strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.hero-facts span { color: rgba(255, 255, 255, 0.72); font-size: 12px; line-height: 1.5; }
.hero-caption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  writing-mode: vertical-rl;
}

.section-heading { max-width: 800px; margin-bottom: 54px; }
.section-heading h2, .open-title-grid h2, .data-heading h2, .closed-heading h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
}
.section-heading > p:last-child, .split-heading > p, .open-title-grid > p, .data-heading > p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}
.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
  gap: 72px;
  align-items: end;
}
.split-heading > p { margin: 0 0 4px; }

.framework-core {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  gap: 56px;
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.framework-label, .route-label, .route-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 750;
}
.framework-label { color: var(--green); }
.framework-core h3 { margin: 18px 0 12px; font-size: 34px; line-height: 1.12; }
.framework-core-copy p { max-width: 660px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.framework-core-specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.framework-core-specs div { min-width: 0; padding: 10px 18px; border-left: 1px solid var(--line); }
.framework-core-specs dt, .framework-core-specs dd { margin: 0; }
.framework-core-specs dt { color: var(--muted); font-size: 10px; }
.framework-core-specs dd { margin-top: 10px; font-size: 13px; font-weight: 750; line-height: 1.45; }
.route-connector { position: relative; height: 56px; }
.route-connector::before, .route-connector::after { position: absolute; background: var(--line); content: ""; }
.route-connector::before { top: 0; left: 50%; width: 1px; height: 100%; }
.route-connector::after { bottom: 0; left: 25%; width: 50%; height: 1px; }
.route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.route {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 4px;
  padding: 30px;
  background: var(--white);
}
.route::before { position: absolute; top: -57px; left: 50%; width: 1px; height: 53px; background: var(--line); content: ""; }
.route-continuous { border-top-color: var(--orange); }
.route-topline { display: flex; justify-content: space-between; gap: 20px; }
.route-index { color: var(--muted); font-size: 12px; }
.route-label { color: var(--blue); text-align: right; }
.route-continuous .route-label { color: var(--orange); }
.route h3 { margin: 54px 0 16px; font-size: 38px; line-height: 1.05; }
.route p { max-width: 620px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.route-detail {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.route-detail span { color: var(--muted); font-size: 11px; }
.route-detail strong { font-size: 13px; text-align: right; }
.framework-link { margin-top: 28px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(5px); }

.dark-section { background: var(--dark); color: var(--white); }
.method-section { background: var(--paper); color: var(--ink); }
.method-section .open-title-grid > p { color: var(--muted); }
.method-section .principles { border-top-color: var(--line); }
.method-section .principle { border-right-color: var(--line); }
.method-section .principle p { color: var(--muted); }
.method-section .principle-number { color: var(--orange); }
.open-title-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.6fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 64px;
}
.open-title-grid > p, .dark-section .split-heading > p { color: #aeb3aa; }
.event-timeline { border-top: 1px solid #4c5149; border-bottom: 1px solid #4c5149; padding: 34px 0 28px; }
.event-lab-frame { margin: 0; border: 1px solid var(--line); background: var(--paper); }
.event-lab-frame iframe { width: 100%; height: 710px; display: block; border: 0; background: var(--paper); }
.timeline-axis {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #8f958b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
}
.timeline-events { display: grid; grid-template-columns: 2fr 3fr 3fr; min-height: 126px; }
.event {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 4px 16px;
  align-content: center;
  padding: 20px;
  color: var(--ink);
}
.event strong { grid-row: 1 / 3; font-size: 28px; }
.event span { font-size: 17px; font-weight: 750; }
.event small { font-size: 11px; }
.event.reach { background: #a8cbee; }
.event.grasp { background: #f3a36c; }
.event.transport { background: #a9cfa3; }
.timeline-note { margin-top: 14px; color: #aeb3aa; font-size: 12px; text-align: right; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; border-top: 1px solid #42473f; }
.principle { min-height: 290px; padding: 28px 28px 10px 0; border-right: 1px solid #42473f; }
.principle + .principle { padding-left: 28px; }
.principle:last-child { border-right: 0; }
.principle-number {
  color: var(--yellow);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}
.principle h3 { margin: 68px 0 14px; font-size: 23px; }
.principle p { margin: 0; color: #aeb3aa; font-size: 14px; line-height: 1.8; }

.architecture { background: var(--white); }
.architecture-roadmap { display: block; margin-top: 10px; color: var(--green); font-weight: 750; }
.architecture-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.9fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin: 46px 0 58px;
}
.flow-node {
  min-width: 0;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 4px;
  padding: 18px;
  background: var(--paper);
}
.flow-node strong { margin: 20px 0 8px; font-size: 15px; line-height: 1.35; }
.flow-node small, .node-label { color: var(--muted); font-size: 10px; line-height: 1.5; }
.node-label { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 800; }
.backbone-node { border-top-color: var(--orange); }
.event-node { border-top-color: var(--green); }
.model-total-node { border-top-color: var(--blue); background: #eef3fa; }
.flow-operator { color: #878b83; font-size: 26px; font-weight: 500; }
.paper-figure, .chart-figure, .data-figure, .dataset-samples, .demo-item { margin: 0; }
.paper-figure { border: 1px solid var(--line); background: var(--paper); }
.figure-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 750;
}
.figure-bar a { color: var(--blue); text-decoration: none; }
.paper-figure img { width: 100%; display: block; background: var(--white); }
.paper-figure figcaption, .chart-figure figcaption, .data-figure figcaption, .dataset-samples figcaption {
  padding: 15px 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.framework-intro {
  border-top: 1px solid var(--line);
  background: var(--mist-green);
}
.tint-section {
  border-top: 1px solid var(--line);
  background: var(--white);
}
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.comparison-card { border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 4px; padding: 26px; background: var(--white); }
.comparison-card.largest-gain { border-top-color: var(--orange); }
.comparison-card header, .comparison-card footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.comparison-card header span { font-size: 17px; font-weight: 800; }
.comparison-card header small { color: var(--muted); font-size: 11px; }
.heat-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.heat-pair > div { min-width: 0; }
.heat-pair span { display: block; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; font-weight: 750; }
.heat-pair strong { display: block; margin-top: 10px; font-size: 31px; font-variant-numeric: tabular-nums; }
.heat-pair .with-heat span, .heat-pair .with-heat strong { color: var(--orange); }
.heat-pair .pair-arrow { color: #989b93; font-family: inherit; font-size: 22px; }
.comparison-card footer span { color: var(--muted); font-size: 11px; }
.comparison-card footer strong { color: var(--green); font-size: 19px; font-variant-numeric: tabular-nums; }
.comparison-card.largest-gain footer strong { color: var(--orange); }
.chart-figure { margin-top: 42px; border: 1px solid var(--line); background: var(--white); }
.chart-figure img { width: 100%; display: block; }
.benchmark-strip {
  display: grid;
  grid-template-columns: repeat(3, 0.55fr) 1.35fr;
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.benchmark-strip div, .benchmark-strip > p {
  min-height: 150px;
  margin: 0;
  padding: 24px;
  border-right: 1px solid var(--line);
}
.benchmark-strip div:first-child { padding-left: 0; }
.benchmark-strip span, .benchmark-strip small { display: block; color: var(--muted); font-size: 11px; }
.benchmark-strip strong { display: block; margin: 26px 0 8px; font-size: 28px; }
.benchmark-strip > p {
  display: flex;
  align-items: center;
  border-right: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.discrete-results {
  border-top: 1px solid #d8dee4;
  background: var(--mist-blue);
}
.discrete-results .benchmark-strip { margin-top: 0; }
.discrete-comparison-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; }
.discrete-heat-card { min-width: 0; }
.discrete-heat-card .heat-pair { gap: 12px; }
.discrete-heat-card .heat-pair strong { font-size: 27px; }
.task-highlight {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.experiment-evidence {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 54px;
  align-items: center;
  margin-top: 76px;
  border-top: 1px solid var(--line);
  padding-top: 58px;
}
.heat-experiment-figure { margin: 0; }
.heat-experiment-figure { border: 1px solid var(--line); background: var(--paper); }
.heat-experiment-figure img { width: 100%; display: block; background: var(--white); }
.heat-experiment-figure figcaption {
  padding: 15px 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.experiment-notes h3 { margin: 0; font-size: 38px; line-height: 1.12; }
.experiment-notes > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.ablation-metrics { margin: 32px 0 0; border-top: 1px solid var(--line); }
.ablation-metrics > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.ablation-metrics dt, .ablation-metrics dd { margin: 0; }
.ablation-metrics dt { color: var(--muted); font-size: 12px; }
.ablation-metrics dd { display: flex; align-items: baseline; gap: 12px; }
.ablation-metrics dd strong { color: var(--orange); font-size: 18px; font-variant-numeric: tabular-nums; }
.ablation-metrics dd span { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.data {
  border-top: 1px solid var(--line);
  background: var(--white);
}
.data-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.6fr);
  gap: 72px;
  align-items: end;
}
.data-heading > p { margin: 0 0 5px; }
.data-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.data-metrics div { min-width: 0; min-height: 162px; padding: 28px; border-right: 1px solid var(--line); }
.data-metrics div:first-child { padding-left: 0; }
.data-metrics div:last-child { border-right: 0; }
.data-metrics strong, .data-metrics span { display: block; }
.data-metrics strong { font-size: 42px; font-variant-numeric: tabular-nums; }
.data-metrics span { margin-top: 24px; color: var(--muted); font-size: 12px; }
.dataset-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.4fr) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
  margin-top: 70px;
}
.dataset-copy { position: sticky; top: 108px; }
.dataset-copy h3 { margin: 0 0 22px; font-size: 28px; }
.dataset-copy > p { margin: 26px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.dataset-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.dataset-tags span {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 10px;
  background: var(--white);
  font-size: 10px;
  font-weight: 750;
}
.data-specs { margin: 32px 0 0; border-top: 1px solid var(--line); }
.data-specs div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.data-specs dt, .data-specs dd { margin: 0; font-size: 12px; }
.data-specs dt { color: var(--muted); }
.data-specs dd { font-weight: 750; }
.data-figure { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.data-figure img { width: 100%; height: 100%; display: block; object-fit: cover; }
.dataset-samples {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.34fr);
  gap: 24px;
  align-items: center;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.dataset-samples img { width: 100%; display: block; }
.dataset-samples figcaption { padding: 0; }
.dataset-samples figcaption strong { display: block; margin-bottom: 8px; color: var(--ink); }

.filter-bar {
  width: fit-content;
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  border: 1px solid #4a4f47;
  border-radius: 4px;
  padding: 4px;
}
.filter-button {
  min-height: 38px;
  border: 0;
  border-radius: 2px;
  padding: 0 15px;
  background: transparent;
  color: #aeb3aa;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.filter-button.active { background: var(--yellow); color: var(--ink); }
.demo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 18px; }
.demo-item { min-width: 0; transition: opacity 180ms ease, transform 180ms ease; }
.demo-item.filtered-out { display: none; }
.demo-real { grid-column: span 2; }
.demo-media { position: relative; overflow: hidden; aspect-ratio: 1; background: #292d28; }
.demo-real .demo-media { aspect-ratio: 16 / 10; }
.demo-portrait .demo-media img { object-position: center 46%; }
.demo-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease;
}
.demo-item:hover .demo-media img { transform: scale(1.025); }
.demo-item figcaption { display: flex; justify-content: space-between; gap: 14px; padding-top: 12px; }
.demo-item figcaption span { color: #8e9489; font-size: 10px; }
.demo-item figcaption strong { max-width: 70%; font-size: 12px; text-align: right; }

.closed { background: var(--white); }
.closed-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 72px;
  align-items: end;
}
.closed-heading .tag { margin-bottom: 22px; }
.closed-heading h2 { max-width: 820px; }
.closed-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-left: 46px;
  border-left: 1px solid var(--line);
}
.closed-total strong {
  color: var(--orange);
  font-size: 102px;
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
}
.closed-total strong small { font-size: 0.34em; }
.closed-total > span { margin-top: 18px; font-size: 14px; font-weight: 750; }
.closed-total > small { margin-top: 8px; color: var(--muted); font-size: 11px; }
.score-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 70px; margin-top: 72px; }
.score-bars { border-top: 1px solid var(--line); }
.score-row {
  display: grid;
  grid-template-columns: 220px minmax(140px, 1fr) 80px;
  gap: 28px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.score-name strong, .score-name span { display: block; }
.score-name strong { margin-bottom: 7px; font-size: 16px; }
.score-name span { color: var(--muted); font-size: 11px; }
.bar-track { height: 8px; overflow: hidden; background: #e5e7df; }
.bar-track span {
  width: 0;
  height: 100%;
  display: block;
  background: var(--orange);
  transition: width 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.score-bars.visible .bar-track span { width: var(--score); }
.score-value { font-size: 15px; font-variant-numeric: tabular-nums; text-align: right; }
.score-summary { border-left: 1px solid var(--line); padding-left: 34px; }
.score-summary > p { margin: 0 0 24px; color: var(--muted); font-size: 12px; }
.score-summary > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.score-summary > div strong { font-size: 28px; }
.score-summary > div span { color: var(--muted); font-size: 11px; }
.score-summary > small { display: block; margin-top: 26px; color: var(--muted); font-size: 10px; line-height: 1.7; }

.acknowledgments { padding: 96px 0; }
.acknowledgment-note { max-width: 720px; margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.acknowledgment-note:last-child { margin-bottom: 0; }

.footer { border-top: 1px solid #343a32; padding: 48px 0; background: var(--dark); color: var(--white); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 56px; }
.footer-brand { width: fit-content; }
.footer-grid p { margin: 18px 0 0; color: #8e9489; font-size: 12px; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; color: #8e9489; font-size: 11px; text-align: right; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 260px; }
  .demo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 70px; }
  .shell { width: min(var(--shell), calc(100% - 36px)); }
  .section { padding: 84px 0; }
  .nav { min-height: 64px; grid-template-columns: auto 1fr auto; gap: 10px; }
  .nav-institute { justify-self: start; }
  .nav-institute img { width: 90px; }
  .nav-actions { grid-column: 3; }
  .nav-paper { display: none; }
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 30px 18px;
    background: var(--paper);
    color: var(--ink);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }
  .menu-active .nav-links { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 20px 4px; border-bottom: 1px solid var(--line); font-size: 20px; }
  .nav-links a::after { display: none; }
  .hero { min-height: 86svh; }
  .hero-grid { display: block; padding-top: 124px; padding-bottom: 54px; }
  .hero h1 { font-size: 86px; }
  .hero-subtitle { font-size: 30px; }
  .section-heading h2, .open-title-grid h2, .data-heading h2, .closed-heading h2 { font-size: 48px; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 46px; }
  .hero-facts div { display: block; padding: 16px 12px; border-right: 1px solid rgba(255, 255, 255, 0.24); border-bottom: 0; }
  .hero-facts div:first-child { padding-left: 0; }
  .hero-facts div:last-child { border-right: 0; }
  .hero-facts strong, .hero-facts span { display: block; }
  .hero-facts span { margin-top: 8px; }
  .split-heading, .open-title-grid, .data-heading, .closed-heading { grid-template-columns: 1fr; gap: 28px; }
  .split-heading > p, .open-title-grid > p, .data-heading > p { max-width: 620px; }
  .framework-core { grid-template-columns: 1fr; gap: 30px; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle {
    min-height: 0;
    padding: 28px 0 34px;
    border-right: 0;
    border-bottom: 1px solid #42473f;
  }
  .principle h3 { margin-top: 30px; }
  .architecture-flow { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; }
  .benchmark-strip { grid-template-columns: repeat(3, 1fr); }
  .benchmark-strip > p { grid-column: 1 / -1; min-height: 100px; border-top: 1px solid var(--line); }
  .discrete-comparison-grid { grid-template-columns: 1fr; }
  .experiment-evidence { grid-template-columns: 1fr; gap: 42px; }
  .data-metrics { grid-template-columns: repeat(2, 1fr); }
  .data-metrics div:nth-child(2) { border-right: 0; }
  .data-metrics div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .data-metrics div:nth-child(3) { padding-left: 0; }
  .dataset-layout { grid-template-columns: 1fr; }
  .dataset-copy { position: static; }
  .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .closed-total { align-items: flex-start; padding: 26px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .score-layout { grid-template-columns: 1fr; gap: 44px; }
  .score-summary { border-top: 1px solid var(--line); border-left: 0; padding: 26px 0 0; }
}

@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .hero-media { object-position: 62% center; }
  .hero h1 { font-size: 56px; }
  .hero-subtitle { margin-top: 18px; font-size: 23px; }
  .hero-intro { font-size: 14px; line-height: 1.75; }
  .hero-release-actions { gap: 7px; }
  .hero-release-item .button { min-height: 42px; padding: 0 7px; font-size: 11px; }
  .hero-release-item small { font-size: 9px; }
  .hero-facts strong { font-size: 18px; }
  .hero-facts span { font-size: 9px; }
  .hero-caption { display: none; }
  .section-heading, .open-title-grid { margin-bottom: 38px; }
  .section-heading h2, .open-title-grid h2, .data-heading h2, .closed-heading h2 { font-size: 34px; }
  .framework-core { padding: 28px 0; }
  .event-lab-frame iframe { height: 1180px; }
  .framework-core h3 { font-size: 27px; }
  .framework-core-specs { grid-template-columns: 1fr; }
  .framework-core-specs div { padding: 12px 0; border-top: 1px solid var(--line); border-left: 0; }
  .route-connector { display: none; }
  .route-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
  .route { min-height: 290px; padding: 24px; }
  .route::before { display: none; }
  .route h3 { margin-top: 42px; font-size: 30px; }
  .timeline-events { min-height: 0; }
  .event { display: flex; flex-direction: column; gap: 8px; padding: 14px 10px; }
  .event strong { font-size: 20px; }
  .event span { min-height: 38px; font-size: 12px; }
  .architecture-flow { grid-template-columns: 1fr; }
  .flow-node { min-height: 112px; }
  .flow-operator { line-height: 1; text-align: center; }
  .flow-node strong { margin-top: 12px; }
  .paper-figure img { width: 100%; }
  .comparison-grid { grid-template-columns: 1fr; }
  .comparison-card { padding: 22px; }
  .heat-pair { gap: 12px; }
  .heat-pair strong { font-size: 27px; }
  .benchmark-strip { grid-template-columns: 1fr; }
  .benchmark-strip div, .benchmark-strip div:first-child, .benchmark-strip > p {
    min-height: 110px;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .benchmark-strip > p { grid-column: auto; border-top: 0; }
  .benchmark-strip strong { margin-top: 18px; }
  .experiment-notes h3 { font-size: 29px; }
  .data-metrics div { min-height: 130px; padding: 22px 16px; }
  .data-metrics strong { font-size: 24px; }
  .dataset-samples { grid-template-columns: 1fr; }
  .filter-bar { width: 100%; overflow-x: auto; }
  .filter-button { flex: 1 0 auto; padding: 0 12px; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-real { grid-column: auto; }
  .score-row { grid-template-columns: 1fr auto; gap: 14px; }
  .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .score-value { grid-column: 2; grid-row: 1; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-meta { width: 100%; align-items: flex-start; text-align: left; }
}

@media (max-width: 370px) {
  .brand > span:last-child { display: none; }
  .nav-institute img { width: 82px; }
}

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