:root {
  --bg: #f7f8f5;
  --paper: #ffffff;
  --ink: #101312;
  --muted: #5d6561;
  --line: #d9dfda;
  --soft-green: #e6f1e8;
  --soft-blue: #e9f0f8;
  --soft-red: #f6e7df;
  --green: #2f6e4f;
  --blue: #2b5f8f;
  --red: #ba5a3f;
  --dark: #111817;
  --shadow: 0 24px 70px rgba(16, 19, 18, 0.12);
  --radius: 8px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}

body::selection {
  background: rgba(47, 110, 79, 0.2);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.scroll-meter {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 3px;
  background: transparent;
}

.scroll-meter span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--red));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(16, 19, 18, 0.08);
  background: rgba(247, 248, 245, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  min-width: 66px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.more-works-toggle,
.more-works-item,
.header-action,
.hero-actions a,
.results-tabs button,
.method-step,
.result-video-card,
.rollout-hotspot {
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.more-works {
  position: relative;
}

.more-works-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(16, 19, 18, 0.12);
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(16, 19, 18, 0.08);
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.more-works-toggle:hover,
.more-works.is-open .more-works-toggle {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.more-works-toggle:focus-visible,
.more-works-item:focus-visible,
.header-action:focus-visible {
  outline: 3px solid rgba(47, 110, 79, 0.24);
  outline-offset: 3px;
}

.more-works-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.more-works.is-open .more-works-chevron {
  transform: rotate(225deg) translate(-2px, -1px);
}

.more-works-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 80;
  width: min(270px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid rgba(16, 19, 18, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(16, 19, 18, 0.18);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.more-works-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(47, 110, 79, 0.12), rgba(43, 95, 143, 0.08));
  pointer-events: none;
}

.more-works.is-open .more-works-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.more-works-item {
  position: relative;
  display: grid;
  gap: 3px;
  border-radius: 8px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.more-works-item:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.more-works-item span {
  font-size: 14px;
  font-weight: 800;
}

.more-works-item small {
  color: currentColor;
  font-size: 12px;
  opacity: 0.66;
}

.header-action,
.hero-actions a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
}

.header-action {
  justify-self: end;
}

.header-action:hover,
.hero-actions a:hover {
  background: var(--ink);
  color: var(--paper);
}

main {
  overflow: hidden;
}

section {
  padding: 96px 28px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 86svh;
  align-items: end;
  padding: 84px 28px 76px;
  overflow: hidden;
  background: var(--dark);
  color: #ffffff;
}

.hero-video-wall {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: #050706;
}

.hero-video-tile {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #050706;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(10, 14, 13, 0.92),
      rgba(10, 14, 13, 0.62) 45%,
      rgba(10, 14, 13, 0.22)
    ),
    linear-gradient(0deg, rgba(10, 14, 13, 0.86), rgba(10, 14, 13, 0.1) 50%);
}

.hero-shade::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  opacity: 0.28;
}

.hero-content {
  position: relative;
  width: min(940px, 100%);
  padding-left: max(0px, calc((100vw - 1280px) / 2));
}

.eyebrow,
.section-kicker,
.meta-label,
.task-grid span,
.flow-node span,
.method-step span {
  margin: 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f7d5c9;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: 76px;
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: 54px;
  line-height: 1.04;
  font-weight: 780;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 740px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-actions a:first-child {
  background: #ffffff;
  color: var(--ink);
}

.paper-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.paper-strip div {
  min-height: 126px;
  padding: 28px;
  background: var(--paper);
}

.paper-strip strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.narrow,
.section-head,
.teaser-full,
.problem-layout,
.method-section > .paper-figure,
.method-grid,
.method-detail,
.tasks-section > .paper-figure,
.task-grid,
.results-tabs,
.results-layout,
.result-video-section,
.paper-data-section,
.results-section > .paper-figure,
.implementation-section > .paper-figure {
  width: min(1280px, 100%);
  margin-inline: auto;
}

.narrow {
  width: min(860px, 100%);
}

.abstract-section {
  background: var(--paper);
}

.abstract-copy {
  margin-bottom: 0;
  color: #242927;
  font-size: 26px;
  line-height: 1.45;
}

.teaser-full {
  margin-top: 44px;
}

.section-head {
  margin-bottom: 42px;
}

.problem-section {
  background:
    linear-gradient(90deg, rgba(47, 110, 79, 0.1), transparent 30%),
    var(--bg);
}

.problem-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: 42px;
  align-items: stretch;
}

.memory-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.flow-node {
  min-height: 132px;
  border: 0;
  padding: 28px;
  background: var(--paper);
  text-align: left;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.flow-node:hover,
.flow-node.active {
  background: var(--soft-green);
}

.flow-node:hover {
  transform: translateX(3px);
}

.flow-node:focus-visible {
  outline: 3px solid rgba(47, 110, 79, 0.35);
  outline-offset: -3px;
}

.flow-node strong {
  display: block;
  margin: 18px 0 12px;
  font-size: 24px;
}

.flow-node p,
.problem-detail-panel p,
.task-grid p,
.method-detail p,
.result-copy p {
  color: var(--muted);
  line-height: 1.55;
}

.problem-detail-panel {
  display: grid;
  min-height: 560px;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--dark);
  color: #ffffff;
}

.problem-detail-panel .section-kicker {
  color: #f2b49e;
}

.problem-detail-copy h3 {
  max-width: 740px;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 28px;
}

.problem-detail-copy p:last-child,
.equation-strip p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.branch-visual {
  display: grid;
  grid-template-rows: 1fr 1fr auto;
  gap: 12px;
  align-self: stretch;
  min-height: 270px;
}

.branch-lane {
  display: grid;
  grid-template-columns: 92px repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.lane-label {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.branch-token {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 15px;
  line-height: 1.25;
}

.branch-visual.phase-cue .cue-token,
.branch-visual.phase-transit .current-token,
.branch-visual.phase-branch .action-token,
.branch-visual.phase-memory .cue-token,
.branch-visual.phase-memory .action-token {
  border-color: rgba(242, 180, 158, 0.58);
  background: rgba(242, 180, 158, 0.16);
  color: #ffffff;
}

.memory-bridge {
  display: grid;
  grid-template-columns: minmax(80px, 0.2fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: rgba(255, 255, 255, 0.64);
}

.memory-bridge span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.memory-bridge strong {
  font-size: 15px;
  line-height: 1.35;
}

.branch-visual.phase-memory .memory-bridge span {
  background: linear-gradient(90deg, #8bd3aa, #f2b49e);
}

.equation-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 22px;
  align-items: end;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
}

.equation {
  margin-bottom: 0;
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 28px;
  line-height: 1.55;
}

.method-section {
  background: var(--paper);
}

.paper-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.paper-figure img {
  width: 100%;
  object-fit: contain;
}

.figure-wide img {
  background: #ffffff;
}

.paper-figure figcaption {
  margin: 0;
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.rollout-figure {
  --rollout-accent: 126, 87, 233;
}

.rollout-stage {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  isolation: isolate;
}

.rollout-stage::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 17% 18% at var(--spotlight-x) var(--spotlight-y),
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 48%,
    rgba(17, 24, 23, 0.16) 100%
  );
  content: "";
  opacity: 0;
  transition:
    opacity 220ms ease,
    background 220ms ease;
}

.rollout-stage.is-inspecting::after {
  opacity: 1;
}

.rollout-trails {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.rollout-trail {
  fill: none;
  stroke: rgba(var(--rollout-accent), 0.86);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 3 2.2;
  opacity: 0;
  filter: drop-shadow(0 5px 10px rgba(17, 24, 23, 0.18));
  transition: opacity 180ms ease;
}

.rollout-trail.active {
  animation: rolloutTrail 1.3s linear infinite;
  opacity: 0.95;
}

.rollout-highlight {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 3;
  width: var(--w);
  height: var(--h);
  border: 2px solid rgba(var(--rollout-accent), 0.82);
  border-radius: 7px;
  background: rgba(var(--rollout-accent), 0.075);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 0 34px rgba(var(--rollout-accent), 0.22);
  opacity: 0;
  pointer-events: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.rollout-highlight.active {
  opacity: 1;
}

.rollout-hotspot {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 4;
  width: var(--w);
  min-width: 44px;
  height: var(--h);
  min-height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.rollout-hotspot[data-rollout="cue"] {
  --rollout-accent: 126, 87, 233;
}

.rollout-hotspot[data-rollout="transit"] {
  --rollout-accent: 146, 154, 151;
}

.rollout-hotspot[data-rollout="target"] {
  --rollout-accent: 255, 69, 72;
}

.rollout-hotspot[data-rollout="memory"] {
  --rollout-accent: 37, 157, 115;
}

.rollout-hotspot::before {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: transparent;
  content: "";
}

.rollout-hotspot:focus-visible {
  outline: 3px solid rgba(var(--rollout-accent), 0.34);
  outline-offset: 3px;
}

.rollout-marker {
  position: absolute;
  top: var(--marker-y, 50%);
  left: var(--marker-x, 50%);
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgb(var(--rollout-accent));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8);
  transform: translate(-50%, -50%);
}

.rollout-marker::after {
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(var(--rollout-accent), 0.58);
  border-radius: inherit;
  content: "";
  animation: rolloutPulse 1.7s ease-out infinite;
}

.rollout-hotspot-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  max-width: min(220px, calc(100% - 24px));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 6px 8px;
  background: rgba(17, 24, 23, 0.86);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.rollout-hotspot:hover .rollout-hotspot-label,
.rollout-hotspot:focus-visible .rollout-hotspot-label,
.rollout-stage.is-inspecting .rollout-hotspot.active .rollout-hotspot-label {
  opacity: 1;
  transform: translateY(0);
}

.rollout-tooltip {
  position: absolute;
  top: var(--card-y);
  left: var(--card-x);
  z-index: 4;
  display: grid;
  gap: 6px;
  width: min(340px, 38%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: rgba(17, 24, 23, 0.9);
  color: #ffffff;
  box-shadow: 0 18px 48px rgba(17, 24, 23, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    top 220ms ease,
    left 220ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.rollout-stage.is-inspecting .rollout-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.rollout-tooltip span {
  color: #f2b49e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rollout-tooltip strong {
  font-size: 18px;
  line-height: 1.2;
}

.rollout-caption {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: 6px 22px;
  align-items: start;
}

.rollout-caption strong {
  color: var(--ink);
  font-size: 15px;
}

#rolloutDetailCopy {
  grid-column: 2;
}

@keyframes rolloutPulse {
  from {
    opacity: 0.78;
    transform: scale(0.62);
  }

  to {
    opacity: 0;
    transform: scale(1.65);
  }
}

@keyframes rolloutTrail {
  to {
    stroke-dashoffset: -10.4;
  }
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.method-step {
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.method-step strong {
  display: block;
  margin-top: 12px;
  font-size: 19px;
  line-height: 1.2;
}

.method-step:hover,
.method-step.active {
  border-color: rgba(47, 110, 79, 0.55);
  background: var(--soft-green);
  transform: translateY(-2px);
}

.method-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 28px;
  margin-top: 28px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #f9fbf7;
}

.method-detail p {
  margin-bottom: 0;
  font-size: 18px;
}

.method-evidence {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--dark);
  color: #ffffff;
}

.method-evidence video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #050706;
}

.method-evidence figcaption {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.method-evidence figcaption span,
.method-metric span {
  color: #f2b49e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.method-evidence figcaption strong {
  font-size: 18px;
  line-height: 1.25;
}

.method-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.method-metric {
  display: grid;
  gap: 8px;
  min-height: 112px;
  align-content: start;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.06);
}

.method-metric strong {
  font-size: 23px;
  line-height: 1.12;
}

.tasks-section {
  background:
    linear-gradient(180deg, var(--soft-blue), transparent 310px),
    var(--bg);
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.task-grid article {
  min-height: 230px;
  padding: 22px;
  background: var(--paper);
}

.task-grid h3 {
  margin-top: 16px;
  font-size: 20px;
}

.task-grid p {
  margin-bottom: 0;
}

.results-section {
  background: var(--dark);
  color: #ffffff;
}

.results-section .section-kicker,
.results-section .meta-label {
  color: #f2b49e;
}

.results-section .section-head h2 {
  color: #ffffff;
}

.results-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.results-tabs button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-weight: 700;
}

.results-tabs button.active,
.results-tabs button:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: #ffffff;
  color: var(--ink);
}

.results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  gap: 28px;
  margin-bottom: 34px;
}

.result-video-section {
  padding: 0;
  margin-bottom: 34px;
}

.result-video-head {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 0.46fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 20px;
}

.result-video-head h3 {
  max-width: 760px;
  margin-bottom: 0;
  color: #ffffff;
  font-size: 34px;
  line-height: 1.08;
}

.result-video-head > p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.55;
}

.result-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 18px;
  align-items: start;
}

.result-feature-video {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.result-feature-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #050706;
}

.result-feature-video figcaption {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.result-feature-video figcaption > span,
.result-video-card small {
  color: #f2b49e;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.result-feature-video figcaption > strong {
  font-size: 24px;
  line-height: 1.16;
}

.result-feature-video figcaption > p {
  max-width: 820px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.result-feature-video dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 8px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.result-feature-video dl div {
  min-height: 86px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.055);
}

.result-feature-video dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.result-feature-video dd {
  margin: 6px 0 0;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}

.result-video-rail {
  display: grid;
  gap: 10px;
}

.result-video-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 98px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
  cursor: pointer;
}

.result-video-card:hover,
.result-video-card.active {
  border-color: rgba(242, 180, 158, 0.72);
  background: rgba(242, 180, 158, 0.12);
  color: #ffffff;
  transform: translateY(-1px);
}

.result-video-card:focus-visible {
  outline: 3px solid rgba(242, 180, 158, 0.34);
  outline-offset: 2px;
}

.result-video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
  background: #050706;
}

.result-video-card span {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.result-video-card strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.result-video-card em {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
}

.chart-panel,
.result-copy {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.chart-panel {
  padding: 24px;
}

.chart-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.bar-chart {
  display: grid;
  gap: 12px;
}

.bar-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(140px, 1fr) 64px;
  gap: 12px;
  align-items: center;
  border-radius: 7px;
  outline: none;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.bar-row strong {
  color: #ffffff;
  text-align: right;
}

.bar-row.highlight {
  color: #ffffff;
}

.bar-row:hover,
.bar-row:focus-visible,
.bar-row.is-active {
  background: rgba(255, 255, 255, 0.075);
  color: #ffffff;
  transform: translateX(2px);
}

.bar-row:hover .bar-fill,
.bar-row:focus-visible .bar-fill,
.bar-row.is-active .bar-fill {
  background: linear-gradient(90deg, #8bd3aa, #f2b49e);
}

.bar-track {
  position: relative;
  height: 13px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.bar-fill {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8bd3aa, #7db5e6);
}

.bar-row.highlight .bar-fill {
  background: linear-gradient(90deg, #8bd3aa, #f2b49e);
}

.bar-popover {
  position: absolute;
  right: 76px;
  bottom: calc(100% + 8px);
  z-index: 8;
  max-width: min(340px, 80vw);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  padding: 8px 10px;
  background: rgba(17, 24, 23, 0.94);
  color: #ffffff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.bar-popover::after {
  position: absolute;
  right: 16px;
  bottom: -5px;
  width: 9px;
  height: 9px;
  background: inherit;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  content: "";
  transform: rotate(45deg);
}

.bar-row:hover .bar-popover,
.bar-row:focus-visible .bar-popover,
.bar-row.is-active .bar-popover {
  opacity: 1;
  transform: translateY(0);
}

.result-copy {
  padding: 28px;
}

.result-copy p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.result-copy dl {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.result-copy div {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 12px;
}

.result-copy dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.result-copy dd {
  margin: 4px 0 0;
  color: #ffffff;
  font-weight: 800;
}

.results-section .paper-figure {
  background: #ffffff;
  box-shadow: none;
}

.paper-data-section {
  padding: 34px 0 0;
}

.paper-data-head {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 0.46fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 20px;
}

.paper-data-head h3 {
  max-width: 820px;
  margin-bottom: 0;
  color: #ffffff;
  font-size: 34px;
  line-height: 1.08;
}

.paper-data-head > p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.55;
}

.data-explorer {
  display: grid;
  grid-template-columns: minmax(260px, 0.3fr) minmax(0, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.data-group-list {
  display: grid;
  align-content: start;
  max-height: 720px;
  overflow: auto;
  background: rgba(255, 255, 255, 0.035);
}

.data-group-list button {
  display: grid;
  gap: 7px;
  min-height: 74px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 15px 16px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.data-group-list button:hover,
.data-group-list button.active {
  background: rgba(242, 180, 158, 0.12);
  color: #ffffff;
}

.data-group-list button:focus-visible,
.data-metric-tabs button:focus-visible {
  outline: 3px solid rgba(242, 180, 158, 0.36);
  outline-offset: -3px;
}

.data-group-list span,
.data-source,
.data-stat span,
.data-metric-tabs button {
  color: #f2b49e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.data-group-list strong {
  font-size: 15px;
  line-height: 1.2;
}

.data-panel {
  min-height: 720px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 360px),
    rgba(255, 255, 255, 0.045);
}

.data-panel-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.24fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 18px;
}

.data-panel h4 {
  margin: 6px 0 9px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.08;
}

.data-panel-top p {
  max-width: 840px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.data-stat {
  display: grid;
  gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 18px;
}

.data-stat strong {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.12;
}

.data-metric-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.data-metric-tabs button {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.data-metric-tabs button:hover,
.data-metric-tabs button.active {
  border-color: rgba(255, 255, 255, 0.88);
  background: #ffffff;
  color: var(--ink);
}

.data-chart-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
}

.data-chart-axis {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.data-chart .bar-row {
  grid-template-columns: minmax(170px, 0.34fr) minmax(160px, 1fr) minmax(74px, 0.13fr);
}

.data-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  line-height: 1.5;
}

.implementation-section {
  background: var(--paper);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 28px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 42px;
  }

  .nav-links {
    display: none;
  }

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

  .problem-layout,
  .method-detail,
  .results-layout,
  .result-video-head,
  .result-video-layout,
  .paper-data-head,
  .data-explorer {
    grid-template-columns: 1fr;
  }

  .memory-flow,
  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .problem-detail-panel {
    min-height: auto;
  }

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

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

  .data-group-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
  }

  .data-group-list button {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .result-video-card {
    grid-template-columns: 1fr;
  }

  .rollout-tooltip {
    width: min(300px, 44%);
  }
}

@media (max-width: 700px) {
  section {
    padding: 68px 18px;
  }

  .site-header {
    gap: 12px;
    min-height: 58px;
    padding: 0 16px;
  }

  .header-actions {
    gap: 8px;
  }

  .more-works-toggle,
  .header-action {
    padding-right: 10px;
    padding-left: 10px;
  }

  .hero {
    min-height: 84svh;
    padding: 78px 18px 58px;
  }

  .hero-video-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 14, 13, 0.95), rgba(10, 14, 13, 0.72)),
      linear-gradient(0deg, rgba(10, 14, 13, 0.8), rgba(10, 14, 13, 0.12) 48%);
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 21px;
  }

  .hero-lede,
  .abstract-copy {
    font-size: 18px;
  }

  .paper-strip,
  .memory-flow,
  .method-grid,
  .task-grid,
  .result-video-rail,
  .data-group-list,
  .data-panel-top,
  .result-strip {
    grid-template-columns: 1fr;
  }

  .paper-strip div {
    min-height: 104px;
    padding: 22px 18px;
  }

  .flow-node,
  .task-grid article {
    min-height: auto;
  }

  .problem-detail-panel {
    padding: 20px;
  }

  .problem-detail-copy h3 {
    font-size: 23px;
  }

  .branch-visual {
    min-height: auto;
  }

  .branch-lane {
    grid-template-columns: 1fr;
  }

  .branch-token {
    min-height: 58px;
    justify-content: flex-start;
    text-align: left;
  }

  .memory-bridge {
    grid-template-columns: 1fr;
  }

  .equation-strip {
    grid-template-columns: 1fr;
  }

  .equation {
    font-size: 21px;
  }

  .method-metrics {
    grid-template-columns: 1fr;
  }

  .method-metric {
    min-height: auto;
  }

  .method-metric strong {
    font-size: 20px;
  }

  .result-video-head h3 {
    font-size: 24px;
  }

  .result-feature-video figcaption > strong {
    font-size: 20px;
  }

  .result-feature-video dl {
    grid-template-columns: 1fr;
  }

  .result-feature-video dl div {
    min-height: auto;
  }

  .result-feature-video dd {
    font-size: 18px;
  }

  .result-video-card {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .rollout-hotspot-label,
  .rollout-tooltip {
    display: none;
  }

  .rollout-marker {
    width: 10px;
    height: 10px;
  }

  .rollout-caption {
    grid-template-columns: 1fr;
  }

  #rolloutDetailCopy {
    grid-column: auto;
  }

  .bar-row {
    grid-template-columns: 1fr 58px;
  }

  .bar-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .bar-popover {
    right: 0;
    bottom: calc(100% + 6px);
  }

  .paper-data-section {
    padding-top: 28px;
  }

  .paper-data-head h3,
  .data-panel h4 {
    font-size: 24px;
  }

  .data-panel {
    min-height: auto;
    padding: 18px;
  }

  .data-stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 14px 0 0;
  }

  .data-chart .bar-row {
    grid-template-columns: 1fr 74px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rollout-marker::after,
  .rollout-trail.active {
    animation: none;
  }

  .rollout-stage::after,
  .rollout-tooltip,
  .rollout-highlight,
  .rollout-hotspot::before,
  .rollout-hotspot-label,
  .bar-row,
  .bar-popover {
    transition: none;
  }
}
