/* ---------- Tokens ---------- */
:root {
  --bg: #000000;
  --bg-subtle: #0d0d0d;
  --bg-muted: #171717;
  --ink: #f7f7f7;
  --ink-soft: #d4d4d4;
  --ink-muted: #a7a7a7;
  --ink-faint: #707070;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --accent: #76b900;
  --accent-dark: #9bdc2a;
  --accent-soft: rgba(118, 185, 0, 0.18);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  --max-w: 1180px;
  --font-sans: Arial, Helvetica, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    monospace;
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease;
}

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

p {
  color: var(--ink-soft);
  margin: 0 0 1em 0;
}

::selection {
  background: var(--accent-soft);
  color: #ffffff;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 30px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 30px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 2px;
  background: var(--accent);
  color: #000000;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.brand-name {
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tag {
  color: #bdbdbd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header__lab {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-dark);
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nvidia-logo {
  display: block;
  width: 96px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.site-nav a {
  color: #d6d6d6;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
  white-space: nowrap;
}

.site-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 44px;
  text-align: center;
  background: #000000;
  border-bottom: 1px solid var(--line);
}

.hero .container {
  max-width: 1080px;
}

.hero__title {
  color: var(--ink);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 auto 24px;
  max-width: 980px;
  overflow-wrap: break-word;
}

.hero__title span {
  display: block;
  font-weight: 800;
}

.hero__authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 18px;
  margin: 0 auto 10px;
  max-width: 980px;
  min-width: 0;
}

.hero__authors a {
  color: var(--accent-dark);
  font-size: 16px;
  font-weight: 700;
  overflow-wrap: break-word;
}

.hero__authors a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero__author-break {
  flex-basis: 100%;
  height: 0;
}

sup {
  font-size: 0.68em;
  line-height: 0;
}

.hero__affiliations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 auto 24px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
}

.button:hover {
  background: var(--bg-muted);
  border-color: var(--accent);
  color: #ffffff;
}

.button--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #000000;
}

.button--primary:hover {
  background: #8ed200;
  border-color: #8ed200;
  color: #000000;
}

.hero__lede {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 780px;
  overflow-wrap: break-word;
}

.hero-teaser {
  margin: 30px auto 0;
  max-width: 980px;
}

.hero-teaser video {
  display: block;
  width: 100%;
  background: #050505;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

/* ---------- Section ---------- */
.section {
  padding: 54px 0;
  background: #000000;
  border-top: 1px solid var(--line);
}

.section:nth-of-type(odd) {
  background: var(--bg-subtle);
}

.section--pipeline {
  background: #000000;
}

.pipeline-figure {
  background: transparent;
  border: 0;
  border-radius: var(--radius-lg);
  margin: 0;
  overflow: auto;
  padding: 0;
}

.pipeline-figure img {
  display: block;
  height: auto;
  min-width: 900px;
  width: 100%;
}

.section--quant {
  background: var(--bg-subtle);
}

.quant-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.68fr) minmax(0, 1.32fr);
  gap: 18px;
}

.quant-tab-panels {
  display: block;
}

.quant-tabs {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 680px;
}

.quant-card[hidden] {
  display: none;
}

.quant-card {
  background: #000000;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.quant-card--wide {
  grid-column: 1 / -1;
}

.quant-card__eyebrow {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.quant-card h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.quant-card p {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 16px;
  max-width: 820px;
}

.quant-card strong {
  color: inherit;
}

.quant-card--motion .quant-bar {
  gap: 8px;
  grid-template-columns: minmax(104px, 130px) minmax(86px, 1fr) 50px;
}

.quant-card--motion .quant-bar span,
.quant-card--motion .quant-bar strong {
  font-size: 12px;
}

.quant-bars {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.quant-bars--compact {
  margin-top: 18px;
}

.quant-bar {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(144px, 220px) minmax(120px, 1fr) 64px;
}

.quant-bar span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  min-width: 0;
}

.quant-bar strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.quant-bar__track {
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.quant-bar__track i {
  background: linear-gradient(90deg, rgba(155, 220, 42, 0.5), var(--accent));
  display: block;
  height: 100%;
  width: var(--bar);
}

.quant-bar.is-ours span,
.quant-bar.is-ours strong {
  color: var(--accent-dark);
}

.quant-bar.is-ours .quant-bar__track i {
  background: var(--accent);
}

.metric-chart-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.metric-chart {
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 12px 8px;
}

.metric-chart h4 {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 6px;
  text-align: center;
}

.metric-chart svg {
  display: block;
  height: auto;
  overflow: visible;
  width: 100%;
}

.metric-chart--bars .quant-bars {
  margin-top: 10px;
}

.metric-chart--bars .quant-bar {
  gap: 8px;
  grid-template-columns: minmax(108px, 138px) minmax(74px, 1fr) 48px;
}

.metric-chart--bars .quant-bar span,
.metric-chart--bars .quant-bar strong {
  font-size: 11px;
}

.metric-chart--bars .quant-bar__track {
  height: 10px;
}

.chart-gridline {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
}

.chart-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.chart-line--blue,
.chart-points--blue {
  stroke: #5fa8ff;
}

.chart-line--orange,
.chart-points--orange {
  stroke: #f09a59;
}

.chart-line--green,
.chart-points--green {
  stroke: #6bc17a;
}

.chart-points circle {
  fill: #000000;
  stroke-width: 3;
}

.chart-values text,
.chart-axis text {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  text-anchor: middle;
}

.chart-values--blue text {
  fill: #8ec3ff;
}

.chart-values--orange text {
  fill: #ffb07a;
}

.chart-values--green text {
  fill: #83d690;
}

.chart-axis text {
  fill: var(--ink-muted);
  font-size: 11px;
}

.guidance-panel {
  margin-top: 22px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.guidance-chart-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(2, minmax(260px, 420px));
  justify-content: center;
  margin: 0 auto;
  max-width: 960px;
  min-width: min(100%, 550px);
}

.guidance-figure {
  margin: 0;
}

.guidance-figure figcaption {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 12px;
  text-align: center;
}

.guidance-figure svg {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 420px;
  width: 100%;
}

.guidance-bg {
  fill: #030503;
}

.guidance-grid {
  fill: none;
  stroke: rgba(118, 185, 0, 0.16);
  stroke-width: 1;
}

.guidance-axis {
  fill: none;
  stroke: rgba(241, 246, 235, 0.72);
  stroke-width: 1.4;
}

.guidance-axis-label,
.guidance-ticks text {
  fill: var(--ink-soft);
  font-family: var(--font-sans);
}

.guidance-axis-label {
  font-size: 16px;
  font-weight: 500;
  text-anchor: middle;
}

.guidance-ticks text {
  font-size: 13px;
  text-anchor: middle;
}

.guidance-tick-y {
  text-anchor: end;
}

.guidance-tick-x {
  text-anchor: middle;
}

.guidance-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.guidance-line--purple,
.guidance-points--purple {
  stroke: var(--accent);
}

.guidance-line--teal,
.guidance-points--teal {
  stroke: #2dd3a5;
}

.guidance-line--red,
.guidance-points--red {
  stroke: #ff667a;
}

.guidance-points--none {
  stroke: rgba(241, 246, 235, 0.84);
}

.guidance-points--purple,
.guidance-points--teal,
.guidance-points--red,
.guidance-points--none {
  fill: currentColor;
  stroke-width: 1.5;
}

.guidance-points--purple {
  color: var(--accent);
}

.guidance-points--teal {
  color: #2dd3a5;
}

.guidance-points--red {
  color: #ff667a;
}

.guidance-points--none {
  color: rgba(241, 246, 235, 0.76);
}

.guidance-legend-bg {
  fill: rgba(0, 0, 0, 0.78);
  stroke: rgba(118, 185, 0, 0.28);
  stroke-width: 1;
}

.guidance-legend text {
  fill: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
}

.guidance-legend .guidance-line {
  stroke-width: 2;
}

.guidance-legend-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: center;
  margin: 24px auto 0;
  max-width: 920px;
}

.guidance-legend-list span {
  align-items: center;
  color: var(--ink-soft);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  white-space: nowrap;
}

.legend-mark {
  display: inline-block;
  height: 10px;
  position: relative;
  width: 24px;
}

.legend-mark::before {
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.legend-mark::after {
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
}

.legend-mark--none::before {
  display: none;
}

.legend-mark--none::after,
.legend-mark--cfg::after {
  height: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 8px;
}

.legend-mark--none::after {
  background: rgba(241, 246, 235, 0.76);
  border: 1px solid rgba(241, 246, 235, 0.84);
}

.legend-mark--cfg::before,
.legend-mark--x0::before,
.legend-mark--vel::before {
  border-top: 2px solid currentColor;
}

.legend-mark--cfg,
.legend-mark--cfg::after {
  color: #ff667a;
}

.legend-mark--cfg::after {
  background: #ff667a;
}

.legend-mark--x0,
.legend-mark--x0::after {
  color: #2dd3a5;
}

.legend-mark--x0::after {
  background: #2dd3a5;
  height: 8px;
  transform: translate(-50%, -50%);
  width: 8px;
}

.legend-mark--vel,
.legend-mark--vel::after {
  color: var(--accent);
}

.legend-mark--vel::after {
  background: var(--accent);
  border-radius: 50%;
  height: 8px;
  transform: translate(-50%, -50%);
  width: 8px;
}

.quant-table {
  border-collapse: collapse;
  color: var(--ink-soft);
  font-size: 13px;
  margin-top: 18px;
  min-width: 640px;
  width: 100%;
}

.quant-table th,
.quant-table td {
  border-bottom: 1px solid var(--line);
  padding: 9px 10px;
  text-align: right;
  white-space: nowrap;
}

.quant-table th:first-child,
.quant-table td:first-child {
  text-align: left;
}

.quant-table th {
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quant-table tr.is-ours td {
  color: var(--accent-dark);
  font-weight: 800;
}

.quant-card--wide {
  overflow-x: auto;
}

.section__head {
  margin-bottom: 26px;
}

.section__head--with-tabs {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.section__heading {
  min-width: 0;
}

.section__kicker {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.section__title {
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 10px;
}

.section__desc {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  max-width: 900px;
  overflow-wrap: break-word;
}

.section-tabs {
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: inline-flex;
  flex-shrink: 0;
  gap: 3px;
  padding: 3px;
}

.tab-button {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 3px;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  min-height: 34px;
  padding: 0 16px;
  transition: background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.tab-button:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.tab-button.is-active {
  background: var(--accent);
  color: #000000;
}

.tabbed-section__content {
  min-height: 1px;
}

/* ---------- Interactive 3DGS viewer ---------- */
.section--interactive {
  padding-top: 50px;
}

.interactive-viewer {
  background: transparent;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: none;
  overflow: hidden;
}

.interactive-viewer__frame {
  background: transparent;
  border: 0;
  display: block;
  height: min(78vh, 760px);
  min-height: 650px;
  width: 100%;
}

.interactive-viewer__actions {
  display: flex;
  justify-content: flex-end;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-subtle);
}

.interactive-viewer__link {
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
}

.interactive-viewer__link:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* ---------- Player ---------- */
.player {
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.player__stage {
  position: relative;
  background: #000000;
  width: 100%;
  aspect-ratio: var(--aspect, 16 / 9);
  overflow: hidden;
}

.player__stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.player__stage video.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.player__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: var(--bg-subtle);
  flex-wrap: wrap;
}

.player__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.player__scene {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.player__hint {
  color: var(--ink-muted);
  font-size: 12px;
}

.cam-toggle {
  display: inline-flex;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  gap: 3px;
  padding: 3px;
}

.cam-toggle button {
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 3px;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  min-height: 30px;
  padding: 0 12px;
}

.cam-toggle button:hover:not(:disabled):not(.is-active) {
  background: var(--bg-muted);
  color: var(--ink);
}

.cam-toggle button.is-active {
  background: var(--accent);
  color: #000000;
}

.cam-toggle button:disabled {
  color: var(--ink-faint);
  cursor: not-allowed;
  opacity: 0.62;
}

/* ---------- Scene grid ---------- */
.scenes {
  margin-top: 26px;
}

.scenes__label {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.scenes__grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 7), minmax(0, 1fr));
  gap: 14px;
}

.scene {
  appearance: none;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font: inherit;
  gap: 8px;
  margin: 0;
  outline: none;
  padding: 0;
  text-align: left;
}

.scene__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--bg-muted);
  transition: transform 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.scene:hover .scene__thumb,
.scene:focus-visible .scene__thumb {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.scene__img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  width: 100%;
}

.scene:hover .scene__img {
  transform: scale(1.04);
}

.scene__caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-height: 22px;
  padding: 0 2px;
}

.scene__name {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.15s ease;
}

.scene:hover .scene__name {
  color: var(--ink);
}

.scene__count {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.scene.is-active .scene__thumb {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft), 0 8px 18px rgba(0, 0, 0, 0.4);
}

.scene.is-active .scene__name {
  color: var(--accent-dark);
}

.scene.is-active .scene__thumb::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px #000000;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #000000;
  color: #bdbdbd;
  font-size: 13px;
  padding: 34px 0 44px;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Utilities ---------- */
.fade-in {
  animation: fade-in 0.4s ease both;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .scenes__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .container,
  .site-header__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-header__inner {
    gap: 16px;
  }

  .site-header__lab {
    font-size: 11px;
  }

  .hero {
    padding: 50px 0 36px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__lede {
    font-size: 16px;
  }

  .section {
    padding: 42px 0;
  }

  .section__head--with-tabs {
    flex-direction: column;
  }

  .section-tabs {
    width: 100%;
  }

  .quant-tabs {
    justify-content: flex-start;
  }

  .tab-button {
    flex: 1 1 0;
  }

  .section__title {
    font-size: 25px;
  }

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

  .metric-chart-grid {
    grid-template-columns: 1fr;
  }

  .guidance-panel {
    margin-top: 18px;
    overflow-x: visible;
  }

  .guidance-chart-grid {
    gap: 26px;
    grid-template-columns: minmax(0, 420px);
    max-width: 420px;
    min-width: 0;
  }

  .guidance-legend-list {
    align-items: flex-start;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
    justify-items: start;
    margin-top: 22px;
    max-width: 420px;
    padding: 0 8px;
  }

  .guidance-legend-list span {
    white-space: normal;
  }

  .quant-bar {
    grid-template-columns: 1fr 64px;
    gap: 6px 10px;
  }

  .quant-bar span {
    grid-column: 1;
  }

  .quant-bar strong {
    grid-column: 2;
    grid-row: 1;
  }

  .quant-bar__track {
    grid-column: 1 / -1;
  }

  .interactive-viewer__frame {
    min-height: 520px;
  }

  .player__bar {
    align-items: stretch;
    flex-direction: column;
  }

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

@media (max-width: 500px) {
  .brand-tag {
    display: none;
  }

  .hero__title {
    font-size: 27px;
  }

  .hero__authors {
    gap: 6px 12px;
  }

  .hero__authors a {
    font-size: 15px;
  }

  .button {
    width: 100%;
  }

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