:root {
  --paper: #ffffff;
  --ink: #111827;
  --muted: #5f6876;
  --faint: #f4f6f5;
  --line: #dce2df;
  --green: #079669;
  --green-dark: #05694d;
  --green-soft: #e8f7f0;
  --black: #0a0d0c;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  width: 100%;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.04);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.wordmark-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border: 3px solid var(--green);
  border-radius: 50%;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header nav a {
  position: relative;
  color: #4a5360;
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-header nav a:hover,
.site-header nav a.active {
  color: var(--ink);
}

.site-header nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 12px 9px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 180ms ease;
}

.section {
  width: min(100%, calc(var(--max) + 2 * var(--gutter)));
  margin: 0 auto;
  padding: clamp(82px, 10vw, 140px) var(--gutter);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100svh - 72px));
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 12%, rgba(7, 150, 105, 0.06), transparent 34%),
    var(--paper);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1060px, calc(100% - 2 * var(--gutter)));
  padding: 52px 0 60px;
  text-align: center;
}

.kicker,
.eyebrow,
.story-index,
.stage-number {
  margin: 0;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1120px;
  margin: 16px auto 18px;
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 1.01;
}

.hero h1 span {
  display: block;
  margin-bottom: 5px;
  color: var(--green-dark);
  font-size: 1em;
  letter-spacing: inherit;
}

.hero h1 em {
  display: block;
  margin-top: 5px;
  font-size: 1em;
  font-style: normal;
  letter-spacing: inherit;
  line-height: inherit;
}

.hero-summary {
  max-width: 730px;
  margin: 0 auto;
  color: var(--muted);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease,
    transform 160ms ease;
}

.button svg {
  width: 15px;
  fill: currentColor;
}

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

.button-dark {
  border-color: var(--black);
  background: var(--black);
  color: white;
}

.button-dark:hover {
  border-color: var(--green-dark);
  background: var(--green-dark);
}

.button-light:hover {
  border-color: #9fa9a4;
  background: var(--faint);
}

.hero-meta {
  margin: 16px 0 0;
  color: #89918e;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-orbit {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(7, 150, 105, 0.12);
  border-radius: 50%;
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  border: 1px solid rgba(7, 150, 105, 0.08);
  border-radius: inherit;
  content: "";
  inset: 54px;
}

.hero-orbit::after {
  inset: 112px;
}

.hero-orbit-left {
  bottom: -250px;
  left: -140px;
}

.hero-orbit-right {
  top: -270px;
  right: -120px;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-in 680ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-reveal:nth-child(2) {
  animation-delay: 80ms;
}

.hero-reveal:nth-child(3) {
  animation-delay: 150ms;
}

.hero-reveal:nth-child(4) {
  animation-delay: 220ms;
}

.hero-reveal:nth-child(5) {
  animation-delay: 290ms;
}

.hero-reveal:nth-child(6) {
  animation-delay: 340ms;
}

.hero-reveal:nth-child(7) {
  animation-delay: 390ms;
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 54px;
}

h2 {
  margin: 8px 0 0;
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 1.04;
}

h3 {
  margin: 0;
  font-size: clamp(25px, 2.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.13;
}

p {
  margin-top: 0;
}

.global-video-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.global-video-controls button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease;
}

.global-video-controls button:hover {
  border-color: #aeb7b3;
  background: var(--faint);
}

.video-story + .video-story {
  margin-top: clamp(92px, 11vw, 150px);
}

.story-copy {
  display: grid;
  grid-template-columns: 0.78fr 1.1fr 1fr;
  align-items: start;
  gap: 32px;
  margin-bottom: 26px;
}

.story-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050706;
  box-shadow: 0 32px 80px rgba(17, 24, 39, 0.09);
}

.video-frame::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
  content: "";
  pointer-events: none;
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  background: #050706;
}

.media-caption {
  margin: 14px 0 0;
  color: #7a827f;
  font-size: 12px;
  text-align: center;
}

.control-gallery {
  margin-top: clamp(92px, 11vw, 150px);
  padding-top: 36px;
  border-top: 1px solid var(--ink);
}

.gallery-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  gap: 50px;
  align-items: end;
}

.gallery-heading h3 {
  margin-top: 9px;
}

.gallery-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 34px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.gallery-tabs,
.gallery-cases {
  display: flex;
  align-items: center;
  gap: 5px;
}

.gallery-tabs button {
  min-width: 82px;
  padding: 9px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  transition: background 160ms ease, color 160ms ease;
}

.gallery-tabs button:hover {
  color: var(--ink);
}

.gallery-tabs button.active {
  background: var(--black);
  color: white;
}

.gallery-cases span {
  margin-right: 7px;
  color: #8a938f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-cases button {
  width: 37px;
  height: 37px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  transition: border-color 160ms ease, color 160ms ease;
}

.gallery-cases button:hover,
.gallery-cases button.active {
  border-color: #aab4af;
  color: var(--ink);
}

.gallery-cases button.active {
  background: var(--green-soft);
  border-color: var(--green);
  color: var(--green-dark);
}

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

.gallery-grid figure {
  margin: 0;
}

.gallery-grid figcaption {
  margin-bottom: 8px;
  color: #4b5563;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.gallery-grid video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: #030504;
  object-fit: contain;
}

.gallery-result video {
  border: 4px solid var(--green);
}

.gallery-note {
  max-width: 760px;
  margin: 17px auto 0;
  color: var(--muted);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 14px;
  text-align: center;
}

.multimodal-composer {
  width: 100%;
  max-width: none;
  margin-top: clamp(78px, 9vw, 124px);
  border-top: 1px solid #cbd9d3;
  border-bottom: 1px solid #cbd9d3;
  background: #f3f8f5;
}

.composer-heading,
.composer-workspace {
  width: min(100%, var(--max));
  margin-right: auto;
  margin-left: auto;
}

.composer-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr;
  gap: clamp(44px, 8vw, 116px);
  align-items: end;
}

.composer-heading h2 {
  max-width: 780px;
}

.composer-heading > p {
  max-width: 430px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 15px;
}

.composer-workspace {
  margin-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--ink);
}

.composer-case-bar {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #ccd7d2;
}

.composer-case-bar > span,
.composer-control-label {
  color: #74807b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.composer-case-bar > div {
  display: flex;
  gap: 5px;
}

.composer-case-bar button {
  min-height: 38px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease,
    transform 160ms ease;
}

.composer-case-bar button:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.composer-case-bar button.active {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green-dark);
}

.composer-flow {
  display: grid;
  padding: clamp(38px, 5vw, 66px) 0 8px;
  grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
  gap: 0;
  align-items: end;
}

.composer-media {
  min-width: 0;
  margin: 0;
}

.composer-media figcaption {
  display: flex;
  min-height: 42px;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 11px;
}

.composer-media figcaption span {
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.composer-media figcaption strong {
  color: var(--ink);
  font-size: 13px;
}

.composer-media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid #becac4;
  background: #020403;
  object-fit: contain;
}

.composer-result-frame {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--green);
  background: #020403;
}

.composer-result-frame video {
  border: 0;
}

.composer-connector {
  align-self: end;
  margin-bottom: clamp(104px, 12.5vw, 166px);
}

.composer-connector span {
  position: relative;
  display: block;
  width: 42px;
  height: 1px;
  margin: 0 auto;
  background: #91a29a;
}

.composer-connector span::before {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid #91a29a;
  border-right: 1px solid #91a29a;
  content: "";
  transform: rotate(45deg);
}

.composer-connector span::after {
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
  animation: evidence-flow 2.2s ease-in-out infinite;
}

@keyframes evidence-flow {
  0%,
  15% {
    opacity: 0;
    transform: translateX(0);
  }

  35% {
    opacity: 1;
  }

  85% {
    opacity: 1;
    transform: translateX(34px);
  }

  100% {
    opacity: 0;
    transform: translateX(34px);
  }
}

.composer-output {
  min-width: 0;
}

.composer-modality-panel {
  display: flex;
  min-height: 92px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.composer-modality-panel > div:first-child {
  display: flex;
  min-width: 142px;
  flex-direction: column;
  gap: 3px;
}

.composer-modality-panel > div:first-child strong {
  color: var(--green-dark);
  font-size: 13px;
  line-height: 1.4;
}

.composer-modalities {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.composer-modalities button,
.modality-fixed {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid #c3cec8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #52605a;
  font-size: 11px;
  font-weight: 750;
}

.composer-modalities button {
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease,
    transform 160ms ease;
}

.composer-modalities button:hover {
  border-color: #82938b;
  color: var(--ink);
  transform: translateY(-1px);
}

.composer-modalities i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 1px solid #93a099;
  border-radius: 50%;
  background: transparent;
  transition: border-color 160ms ease, background 160ms ease,
    box-shadow 160ms ease;
}

.modality-fixed {
  border-color: #b7daca;
  background: var(--green-soft);
  color: var(--green-dark);
}

.modality-fixed i,
.composer-modalities button.active i {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(7, 150, 105, 0.12);
}

.composer-modalities button.active {
  border-color: var(--green);
  background: white;
  color: var(--green-dark);
}

.composer-loading {
  position: absolute;
  display: grid;
  background: rgba(4, 10, 7, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  inset: 0;
  place-items: center;
}

.composer-loading span {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: composer-spin 700ms linear infinite;
}

.composer-result-frame.is-switching .composer-loading {
  opacity: 1;
}

@keyframes composer-spin {
  to {
    transform: rotate(360deg);
  }
}

.premise {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(60px, 9vw, 130px);
}

.paper-visual-section,
.dataset-section,
.method-section {
  width: min(100%, calc(var(--max) + 2 * var(--gutter)));
}

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

.dataset-section {
  width: 100%;
  max-width: none;
  background: #f3f8f8;
}

.dataset-section > * {
  width: min(100%, var(--max));
  margin-right: auto;
  margin-left: auto;
}

.visual-copy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.visual-copy .eyebrow {
  grid-column: 1 / -1;
}

.visual-copy h2 {
  max-width: none;
  font-size: clamp(34px, 3.5vw, 48px);
  white-space: nowrap;
}

.visual-copy > p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.paper-figure {
  margin: 64px auto 0;
}

.paper-figure a {
  display: block;
  padding: clamp(20px, 3vw, 42px);
  border: 1px solid var(--line);
  background: white;
}

.paper-figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.paper-figure figcaption {
  margin-top: 12px;
  color: #7a827f;
  font-size: 12px;
  text-align: center;
}

.dataset-stats {
  display: grid;
  margin-top: 52px;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #bfcfca;
}

.dataset-stats div {
  padding: 23px 20px 0 0;
}

.dataset-stats dt {
  color: var(--green-dark);
  font-size: clamp(24px, 3vw, 37px);
  font-weight: 750;
  letter-spacing: -0.045em;
}

.dataset-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.premise-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.premise-intro h2 {
  max-width: 560px;
}

.premise-intro > p:last-child {
  max-width: 550px;
  margin-top: 28px;
  color: var(--muted);
}

.role-list {
  border-top: 1px solid var(--ink);
}

.role-line {
  display: grid;
  grid-template-columns: 0.65fr 0.95fr 1.25fr;
  gap: 22px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.role-line > span {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.role-line strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.role-line p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.method-section {
  background: #fff;
  color: var(--ink);
}

.method-section .method-figure a {
  padding: clamp(18px, 2.5vw, 34px);
}

.method-section .method-figure img {
  max-width: 1233px;
}

.module-list {
  display: grid;
  margin-top: 66px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.module-list article {
  padding-top: 20px;
  border-top: 1px solid #bdb5c1;
}

.module-list article > span {
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.module-list h3 {
  margin-top: 12px;
  font-size: 20px;
}

.module-list p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.method-heading,
.pipeline {
  width: min(100%, var(--max));
  margin-right: auto;
  margin-left: auto;
}

.method-heading {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.method-heading .eyebrow {
  grid-column: 1 / -1;
  color: #5ce2b1;
}

.method-heading h2 {
  max-width: 720px;
}

.method-heading > p:last-child {
  align-self: end;
  margin: 0;
  color: #aeb8b4;
}

.pipeline {
  display: grid;
  margin-top: 74px;
  grid-template-columns: 1.22fr 44px 0.94fr 44px 0.9fr 44px 0.94fr;
}

.pipeline-stage {
  min-height: 430px;
  padding-top: 19px;
  border-top: 1px solid #38403d;
}

.pipeline-stage h3 {
  margin-top: 7px;
  font-size: 20px;
}

.pipeline-stage .stage-number {
  color: #5ce2b1;
}

.signal {
  display: flex;
  min-height: 74px;
  flex-direction: column;
  justify-content: center;
  padding: 13px 15px;
  border: 1px solid #343c39;
  background: #111614;
}

.signal span,
.backbone span {
  margin-bottom: 4px;
  color: #8f9b96;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal strong {
  font-size: 14px;
}

.signal-router {
  margin-top: 26px;
  border-color: rgba(92, 226, 177, 0.7);
  background: rgba(7, 150, 105, 0.1);
}

.signal-router span {
  color: #5ce2b1;
}

.signal-grid {
  display: grid;
  margin-top: 9px;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.pipeline-arrow {
  position: relative;
  min-height: 430px;
}

.pipeline-arrow::before {
  position: absolute;
  top: 48%;
  left: 8px;
  width: 23px;
  height: 1px;
  background: #59635f;
  content: "";
}

.pipeline-arrow::after {
  position: absolute;
  top: calc(48% - 3px);
  right: 10px;
  width: 7px;
  height: 7px;
  border-top: 1px solid #59635f;
  border-right: 1px solid #59635f;
  content: "";
  transform: rotate(45deg);
}

.composer-visual {
  position: relative;
  width: 210px;
  height: 240px;
  margin: 42px auto 0;
}

.composer-ring {
  position: absolute;
  border: 1px solid #37423e;
  border-radius: 50%;
  inset: 18px 0;
  animation: slow-spin 18s linear infinite;
}

.ring-two {
  border-style: dashed;
  inset: 51px 32px;
  animation-direction: reverse;
  animation-duration: 13s;
}

.composer-core {
  position: absolute;
  display: grid;
  width: 92px;
  height: 92px;
  border: 1px solid #5ce2b1;
  border-radius: 50%;
  background: #102c22;
  color: #8ef0cc;
  font-size: 18px;
  font-weight: 800;
  inset: 74px 59px;
  place-items: center;
}

.composer-label {
  position: absolute;
  padding: 3px 6px;
  background: var(--black);
  color: #899691;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.label-a {
  top: 17px;
  left: 67px;
}

.label-b {
  top: 110px;
  right: -8px;
}

.label-c {
  bottom: 14px;
  left: 54px;
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

.pipeline-regions ol {
  margin: 31px 0 0;
  padding: 0;
  list-style: none;
}

.pipeline-regions li {
  display: flex;
  min-height: 55px;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #303835;
  color: #d5dcda;
  font-size: 13px;
}

.pipeline-regions li:first-child {
  border-top: 1px solid #303835;
}

.pipeline-regions li span {
  color: #5ce2b1;
  font-size: 9px;
  font-weight: 800;
}

.backbone {
  margin-top: 31px;
  padding: 22px 18px 18px;
  border: 1px solid #3a433f;
  background: #101513;
}

.backbone strong {
  display: block;
  margin-bottom: 24px;
  font-size: 14px;
}

.backbone i {
  display: block;
  height: 12px;
  margin: 7px 0;
  background: linear-gradient(90deg, rgba(92, 226, 177, 0.45), #252d2a);
}

.backbone i:nth-of-type(2) {
  width: 87%;
}

.backbone i:nth-of-type(3) {
  width: 74%;
}

.backbone i:nth-of-type(4) {
  width: 91%;
}

.output-label {
  margin-top: 17px;
  color: #8ef0cc;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

footer {
  display: grid;
  width: min(100%, calc(var(--max) + 2 * var(--gutter)));
  margin: 0 auto;
  padding: 44px var(--gutter);
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

footer p {
  margin: 0;
  text-align: center;
}

footer > a:last-child {
  justify-self: end;
  color: var(--ink);
  font-weight: 700;
}

.footer-mark {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (max-width: 1050px) {
  .visual-copy h2 {
    white-space: normal;
  }

  .story-copy {
    grid-template-columns: 0.58fr 1.12fr;
  }

  .story-copy p:last-child {
    grid-column: 2;
  }

  .pipeline {
    grid-template-columns: 1fr 34px 1fr;
    row-gap: 42px;
  }

  .pipeline-arrow:nth-of-type(2) {
    display: none;
  }

  .pipeline-regions {
    grid-column: 1;
    grid-row: 2;
  }

  .pipeline-arrow:nth-of-type(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .pipeline-output {
    grid-column: 3;
    grid-row: 2;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 70px;
  }

  body {
    font-size: 16px;
  }

  .site-header {
    height: 64px;
  }

  .site-header nav {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 32px var(--gutter);
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header nav a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 24px;
  }

  .site-header nav a::after {
    display: none;
  }

  .menu-open .site-header nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-button {
    display: block;
  }

  .menu-open .menu-button span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-open .menu-button span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero {
    min-height: calc(100svh - 64px);
  }

  .hero-inner {
    padding: 68px 0 76px;
  }

  .hero h1 {
    letter-spacing: -0.055em;
  }

  .hero-summary {
    font-size: 19px;
  }

  .hero-meta {
    line-height: 1.8;
  }

  .section-heading {
    display: block;
  }

  .global-video-controls {
    margin-top: 24px;
  }

  .story-copy {
    display: block;
  }

  .story-copy h3 {
    margin: 10px 0 16px;
  }

  .story-copy p:last-child {
    max-width: 570px;
  }

  .video-frame {
    width: calc(100% + 2 * var(--gutter));
    margin-left: calc(-1 * var(--gutter));
    border-right: 0;
    border-left: 0;
    box-shadow: none;
  }

  .media-caption {
    text-align: left;
  }

  .gallery-heading,
  .visual-copy {
    display: block;
  }

  .gallery-heading > p,
  .visual-copy > p:last-child {
    margin-top: 20px;
  }

  .gallery-controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .gallery-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .gallery-tabs button {
    min-width: 72px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .gallery-grid figure {
    width: calc(100% + 2 * var(--gutter));
    margin-left: calc(-1 * var(--gutter));
  }

  .gallery-grid figcaption {
    padding-left: var(--gutter);
    text-align: left;
  }

  .gallery-grid video {
    border-right: 0;
    border-left: 0;
  }

  .gallery-result video {
    border: 4px solid var(--green);
    border-right: 0;
    border-left: 0;
  }

  .gallery-note {
    text-align: left;
  }

  .composer-heading {
    display: block;
  }

  .composer-heading > p {
    margin-top: 20px;
  }

  .composer-case-bar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .composer-case-bar > div {
    width: 100%;
    overflow-x: auto;
  }

  .composer-case-bar button {
    flex: 0 0 auto;
  }

  .composer-flow {
    display: block;
    padding-top: 34px;
  }

  .composer-connector {
    display: none;
  }

  .composer-output {
    margin-top: 54px;
  }

  .composer-modality-panel {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .composer-modalities {
    justify-content: flex-start;
  }

  .composer-media video {
    width: 100%;
  }

  .premise,
  .method-heading {
    grid-template-columns: 1fr;
  }

  .paper-figure {
    width: calc(100% + 2 * var(--gutter));
    margin-left: calc(-1 * var(--gutter));
  }

  .paper-figure a {
    overflow-x: auto;
    padding: 18px var(--gutter);
    border-right: 0;
    border-left: 0;
  }

  .paper-figure figcaption {
    padding: 0 var(--gutter);
    text-align: left;
  }

  .dataset-stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px 12px;
  }

  .module-list {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .premise-intro {
    position: static;
  }

  .role-line {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .role-line p {
    grid-column: 2;
  }

  .method-heading {
    gap: 25px;
  }

  .pipeline {
    display: block;
    margin-top: 56px;
  }

  .pipeline-stage {
    min-height: 0;
    margin-bottom: 44px;
    padding-bottom: 8px;
  }

  .pipeline-arrow {
    display: none;
  }

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

  .composer-visual {
    margin-bottom: 36px;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer p {
    display: none;
  }
}

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

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

  .hero-reveal,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
