:root {
  color-scheme: dark;
  --bg: #000000;
  --ink: #f6f8ff;
  --muted: rgba(226, 234, 255, 0.68);
  --line: rgba(160, 190, 255, 0.18);
  --blue: #2c5df6;
  --cyan: #3dd9ff;
  --mint: #59f2bb;
  --amber: #ff9e49;
  --panel: rgba(5, 9, 18, 0.72);
  --radius: clamp(18px, 1.5vw, 28px);
  --stage-shadow: 0 30px 110px rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

body {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.film-page {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-content: space-between;
  gap: clamp(14px, 2vh, 24px);
  padding: clamp(16px, 2.5vw, 34px);
  isolation: isolate;
  background:
    radial-gradient(circle at 50% -10%, rgba(44, 93, 246, 0.22), transparent 35%),
    radial-gradient(circle at 12% 88%, rgba(61, 217, 255, 0.09), transparent 28%),
    #000000;
}

.film-page::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 25%, transparent 80%);
  content: "";
}

.film-glow {
  position: absolute;
  inset: auto 10vw -26vh;
  z-index: -1;
  height: 46vh;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 93, 246, 0.22), transparent 62%);
  filter: blur(24px);
  pointer-events: none;
}

.film-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 1700px);
  margin: 0 auto;
}

.film-back,
.film-kicker {
  border: 1px solid var(--line);
  background: rgba(4, 8, 17, 0.64);
  backdrop-filter: blur(14px);
}

.film-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.film-back:hover {
  border-color: rgba(91, 149, 255, 0.5);
  background: rgba(10, 19, 39, 0.9);
  color: var(--ink);
}

.film-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0;
}

.film-kicker strong {
  color: var(--ink);
  font-weight: 700;
}

.film-player {
  position: relative;
  display: grid;
  gap: clamp(12px, 1.7vh, 18px);
  width: min(100%, 1700px);
  margin: 0 auto;
}

.film-soundtrack {
  display: none;
}

.film-audio-toggle {
  position: absolute;
  top: clamp(12px, 1.5vh, 18px);
  right: clamp(12px, 1.5vw, 18px);
  z-index: 25;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(153, 195, 255, 0.24);
  border-radius: 50%;
  background: rgba(4, 8, 17, 0.72);
  color: rgba(214, 228, 255, 0.88);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.film-audio-toggle:hover {
  border-color: rgba(91, 149, 255, 0.52);
  background: rgba(10, 19, 39, 0.92);
  color: #f6f9ff;
  transform: translateY(-1px);
}

.film-audio-toggle.is-audible {
  border-color: rgba(61, 217, 255, 0.42);
  color: rgba(186, 236, 255, 0.98);
}

.film-audio-toggle[hidden] {
  display: none;
}

.film-audio-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.film-audio-toggle.is-audible .film-audio-icon--muted {
  display: none;
}

.film-audio-toggle.is-audible .film-audio-icon--on {
  display: block;
}

.film-audio-toggle:not(.is-audible) .film-audio-icon--on {
  display: none;
}

.film-render-mode .film-audio-toggle {
  display: none;
}

.film-landscape-gate {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 32px);
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
}

.film-landscape-gate[hidden] {
  display: none;
}

.film-landscape-gate-panel {
  display: grid;
  gap: 14px;
  width: min(100%, 360px);
  text-align: center;
}

.film-landscape-gate-panel strong {
  font-size: clamp(1.08rem, 4.2vw, 1.35rem);
  line-height: 1.25;
}

.film-landscape-gate-panel p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 3.4vw, 1rem);
  line-height: 1.45;
}

.film-landscape-gate-icon svg {
  width: clamp(72px, 18vw, 92px);
  height: auto;
  margin: 0 auto;
  fill: none;
  stroke: rgba(164, 204, 255, 0.88);
  stroke-width: 2.4;
}

.film-landscape-gate-icon svg rect:last-of-type {
  stroke: rgba(89, 242, 187, 0.92);
}

.film-landscape-gate-button {
  justify-self: center;
  min-width: min(100%, 280px);
}

html.film-mobile-locked .film-controls {
  pointer-events: none;
  opacity: 0.42;
}

html.film-mobile-locked .film-stage {
  pointer-events: none;
}

html.film-mobile-device .film-controls {
  display: none;
}

html.film-mobile-device .film-player {
  gap: 0;
}

html.film-mobile-device .film-stage {
  touch-action: pan-y pinch-zoom;
}

html.film-mobile-device .film-stage.is-touch-scrubbing {
  touch-action: none;
  cursor: grabbing;
}

.film-player:fullscreen,
.film-player:-webkit-full-screen {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 8px;
  background: #000;
  box-sizing: border-box;
}

.film-player:fullscreen .film-stage,
.film-player:-webkit-full-screen .film-stage {
  min-height: 0;
  max-height: none;
  height: 100%;
}

.film-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 8.65;
  min-height: min(73svh, 560px);
  max-height: calc(100svh - 150px);
  border: 1px solid rgba(150, 188, 255, 0.22);
  border-radius: var(--radius);
  background: #02040a;
  box-shadow: var(--stage-shadow);
}

.film-stage::after {
  position: absolute;
  inset: 0;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.38);
  pointer-events: none;
  content: "";
}

.film-loader {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(14px, 1.2vw, 20px);
  padding: clamp(24px, 4vw, 64px);
  background:
    radial-gradient(circle at 50% 32%, rgba(44, 93, 246, 0.24), transparent 30%),
    rgba(1, 3, 8, 0.92);
  text-align: center;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.film-loader.is-ready {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.film-loader-copy {
  display: grid;
  gap: 8px;
}

.film-loader-copy strong {
  font-size: clamp(1.35rem, 2.2vw, 2.35rem);
  line-height: 1.08;
}

.film-loader-copy span {
  color: var(--muted);
  font-size: clamp(0.92rem, 1vw, 1.08rem);
}

.film-loader-track {
  overflow: hidden;
  width: min(100%, 520px);
  height: 8px;
  border: 1px solid rgba(150, 188, 255, 0.2);
  border-radius: 999px;
  background: rgba(8, 18, 38, 0.72);
}

.film-loader-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--mint));
  transition: width 220ms ease;
}

.film-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition:
    opacity 2000ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 2000ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.film-scene.is-active {
  z-index: 2;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.film-scene.is-leaving {
  z-index: 3;
  opacity: 1;
  transform: scale(1);
  pointer-events: none;
}

.film-scene.is-leaving.is-exiting {
  opacity: 0;
}

.film-scene.scene-hero.is-leaving,
.film-scene.scene-abstract.is-leaving {
  transform: scale(1);
}

.film-render-mode .film-scene,
.film-render-mode [data-scene-reveal] {
  transition: none;
}

/* Match interactive preview typography when the render viewport is wider than the 1700px stage. */
html.film-render-mode {
  font-size: calc(100% * var(--film-render-ui-scale, 1));
}

.film-render-mode .hero-scan {
  animation-delay: calc(var(--film-render-time, 0s) * -1);
  animation-play-state: paused;
}

.film-render-mode .result-speed-pill::before {
  animation-delay: calc(var(--film-render-time, 0s) * -1);
  animation-play-state: paused;
}

.film-render-mode .film-controls {
  display: none;
}

.film-render-mode .film-topbar {
  display: none;
}

.film-render-mode .film-page {
  gap: 0;
  min-height: 100svh;
  padding: 0;
}

.film-render-mode .film-glow {
  display: none;
}

.film-render-mode .film-player {
  gap: 0;
  width: 100%;
  margin: 0;
}

.film-render-mode .film-stage {
  aspect-ratio: auto;
  width: 100%;
  height: 100svh;
  min-height: 0;
  max-height: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.film-render-mode .film-stage::after {
  display: none;
}

.film-render-hero-frames [data-continuous-video="hero"] {
  visibility: hidden;
}

.film-render-video-frames [data-scene-video]:not([data-continuous-video="hero"]) {
  display: none;
}

.render-hero-frame {
  z-index: 0;
}

.render-video-frame,
.render-hero-frame {
  display: block;
  background: #02040a;
}

.scene-cover {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  max-width: none;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.07);
}

.scene-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.scene-veil--hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.46)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.45));
}

.scene-veil--dense {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.76) 47%, rgba(0, 0, 0, 0.9)),
    radial-gradient(circle at 76% 50%, rgba(44, 93, 246, 0.18), transparent 28%);
}

.scene-veil--method {
  background:
    radial-gradient(circle at 48% 45%, rgba(44, 93, 246, 0.22), transparent 36%),
    linear-gradient(135deg, rgba(2, 5, 11, 0.7) 0%, rgba(2, 4, 10, 0.62) 40%, rgba(7, 16, 29, 0.74) 100%);
}

.scene-veil--results {
  background:
    radial-gradient(circle at 76% 55%, rgba(61, 217, 255, 0.12), transparent 36%),
    linear-gradient(135deg, #02040a 0%, #02040b 48%, #050b16 100%);
}

.scene-veil--finale {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.42) 55%, rgba(0, 0, 0, 0.84)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.88));
}

.scene-veil--thanks {
  background:
    radial-gradient(circle at 50% 35%, rgba(44, 93, 246, 0.26), transparent 34%),
    radial-gradient(circle at 28% 72%, rgba(61, 217, 255, 0.12), transparent 24%),
    linear-gradient(135deg, #010206 0%, #030916 52%, #010205 100%);
}

.scene-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 clamp(10px, 1vw, 16px);
  color: rgba(162, 204, 255, 0.9);
  font-size: clamp(0.98rem, 1.14vw, 1.24rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  letter-spacing: 0;
}

.hero-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, transparent, rgba(61, 217, 255, 0.2), transparent) 0 0 / 32% 100% no-repeat;
  mix-blend-mode: screen;
  opacity: 0.44;
  animation: sweep 15s ease-in-out infinite;
}

.hero-copy {
  position: absolute;
  inset: auto auto clamp(44px, 8vh, 92px) clamp(32px, 7vw, 118px);
  width: min(calc(100% - clamp(64px, 14vw, 236px)), 1180px);
}

.hero-copy h1 {
  margin-bottom: 12px;
  width: fit-content;
  padding-right: 0.08em;
  font-size: clamp(2.6rem, 5.9vw, 7.2rem);
  font-weight: 900;
  line-height: 0.96;
  background-image: linear-gradient(125deg, #cfe2ff 0%, #5f8cff 24%, #2c5df6 52%, #78e5ff 78%, #edf5ff 100%);
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 30px rgba(44, 93, 246, 0.32));
}

.hero-subtitle {
  max-width: 700px;
  margin-bottom: clamp(18px, 2vw, 28px);
  color: rgba(245, 248, 255, 0.92);
  font-size: clamp(1.25rem, 2.2vw, 2.65rem);
  font-weight: 600;
  line-height: 1.16;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points span {
  min-width: 120px;
  padding: 11px 15px;
  border: 1px solid rgba(157, 192, 255, 0.2);
  border-radius: 999px;
  background: rgba(5, 12, 28, 0.58);
  color: rgba(237, 244, 255, 0.88);
  backdrop-filter: blur(12px);
  text-align: center;
}

.abstract-road {
  filter: blur(2px) saturate(1.12) brightness(0.64);
  transform: scale(1.13);
}

.method-road {
  filter: blur(2px) saturate(1.12) brightness(0.5);
  transform: scale(1.13);
}

.abstract-frame {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: center;
  gap: clamp(18px, 2.4vh, 34px);
  height: 100%;
  padding: clamp(28px, 3.7vw, 70px);
}

.abstract-copy {
  max-width: 1180px;
}

.abstract-key-insight {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(242, 247, 255, 0.96);
  font-size: clamp(1.28rem, 1.72vw, 2.05rem);
  font-weight: 700;
  line-height: 1.36;
  opacity: 0;
  text-align: left;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.scene-abstract.is-active .abstract-key-insight {
  opacity: 1;
  transform: translateY(0);
}

.feature-rails--six .feature-rail[data-scene-reveal] {
  opacity: 0;
  transform: translateX(-22px) translateY(10px);
  transition:
    opacity 460ms ease,
    transform 560ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.feature-rails--six .feature-rail[data-scene-reveal].is-revealed {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.abstract-key-insight.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.abstract-copy h2,
.method-copy h2,
.results-copy h2,
.finale-copy h2 {
  margin-bottom: clamp(12px, 1.6vw, 22px);
  font-size: clamp(1.45rem, 2.85vw, 3.55rem);
  font-weight: 800;
  line-height: 0.98;
  text-wrap: balance;
}

.heading-keep {
  white-space: nowrap;
}

.scene-nuscenes .results-copy h2,
.scene-scale .results-copy h2,
.scene-minute .results-copy h2,
.scene-closed-loop .results-copy h2 {
  font-size: clamp(1.12rem, 1.72vw, 2.2rem);
  line-height: 1.06;
}

.result-scale-accent {
  color: var(--blue);
  text-shadow:
    0 0 18px rgba(44, 93, 246, 0.34),
    0 0 42px rgba(61, 217, 255, 0.16);
}

.abstract-copy p:last-child,
.results-note,
.finale-copy p:last-child {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.45rem);
  line-height: 1.5;
}

.feature-rails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(12px, 1.35vw, 22px);
  padding-bottom: clamp(0px, 2vh, 18px);
}

.feature-rails--six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 16px);
  padding-bottom: 0;
}

.feature-rail {
  display: grid;
  align-content: start;
  min-height: clamp(180px, 31vh, 314px);
  gap: 12px;
  padding: clamp(16px, 1.5vw, 25px);
  border-left: 3px solid rgba(61, 217, 255, 0.86);
  border-radius: 0 18px 18px 0;
  background: linear-gradient(180deg, rgba(9, 17, 34, 0.75), rgba(4, 8, 17, 0.4));
  box-shadow: inset 0 0 0 1px rgba(159, 192, 255, 0.08);
}

.feature-rail:nth-child(2) {
  border-color: rgba(89, 242, 187, 0.88);
}

.feature-rail:nth-child(3) {
  border-color: rgba(255, 158, 73, 0.88);
}

.feature-rail:nth-child(4) {
  border-color: rgba(129, 145, 255, 0.92);
}

.feature-rail:nth-child(5) {
  border-color: rgba(182, 135, 255, 0.92);
}

.feature-rail:nth-child(6) {
  border-color: rgba(72, 213, 238, 0.92);
}

.feature-rail--compact {
  min-height: clamp(132px, 18vh, 210px);
  gap: 9px;
  padding: clamp(13px, 1.2vw, 20px);
  border-radius: 0 14px 14px 0;
}

.feature-icon {
  display: grid;
  width: clamp(42px, 4vw, 62px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(151, 185, 255, 0.2);
  border-radius: 16px;
  background: rgba(10, 19, 39, 0.72);
  color: rgba(186, 220, 255, 0.94);
}

.feature-icon svg {
  width: 72%;
  height: 72%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.feature-icon svg .feature-deny-mark {
  stroke: #ff5a63;
  stroke-width: 2.5;
}

.feature-rail strong {
  font-size: clamp(1rem, 1.25vw, 1.45rem);
  line-height: 1.1;
}

.feature-rail > span:last-child {
  color: var(--muted);
  font-size: clamp(0.9rem, 1vw, 1.14rem);
  line-height: 1.35;
}

.abstract-insight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.28fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
}

.abstract-insight p,
.abstract-insight strong {
  margin: 0;
  border: 1px solid rgba(159, 192, 255, 0.12);
  background: rgba(3, 8, 18, 0.58);
  backdrop-filter: blur(12px);
}

.abstract-insight p {
  padding: clamp(14px, 1.25vw, 22px);
  border-radius: 18px;
  color: rgba(226, 234, 255, 0.74);
  font-size: clamp(0.92rem, 1.05vw, 1.2rem);
  line-height: 1.5;
}

.abstract-insight strong {
  padding: clamp(18px, 1.8vw, 30px);
  border-color: rgba(93, 155, 255, 0.34);
  border-radius: 24px;
  color: #f6f9ff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 48px rgba(0, 0, 0, 0.35),
    0 0 38px rgba(44, 93, 246, 0.12);
  font-size: clamp(1.18rem, 1.62vw, 2rem);
  line-height: 1.35;
  text-align: center;
}

.method-sequence,
.results-layout {
  position: relative;
  z-index: 2;
  display: grid;
  height: 100%;
  padding: clamp(30px, 4.5vw, 76px);
}

.method-sequence {
  grid-template-rows: auto 1fr;
  gap: clamp(14px, 2vh, 24px);
}

.method-copy {
  max-width: none;
  width: 100%;
}

.method-copy h2 {
  margin-bottom: clamp(10px, 1.2vh, 16px);
}

.method-overview-caption {
  max-width: none;
  width: 100%;
  margin: 0;
  color: rgba(226, 236, 255, 0.88);
  font-size: clamp(1.22rem, 1.58vw, 1.82rem);
  font-weight: 500;
  line-height: 1.38;
  text-wrap: balance;
}

.method-drawing-frame {
  min-height: 0;
  margin: 0;
  padding: clamp(12px, 1.2vw, 22px);
  overflow: hidden;
  border: 1px solid rgba(148, 188, 255, 0.24);
  border-radius: clamp(18px, 1.4vw, 26px);
  background: rgba(0, 0, 0, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.36);
  visibility: hidden;
  opacity: 0;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.method-drawing-frame.is-revealed {
  visibility: visible;
  opacity: 1;
}

.method-drawing-frame .method-wireframe-svg {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  font-family: Inter, Arial, sans-serif;
}

.method-wireframe-svg [data-scene-reveal] {
  opacity: 0;
  transition: opacity 480ms ease;
}

.method-wireframe-svg [data-scene-reveal].is-revealed {
  opacity: 1;
}

.method-drawing-loading {
  display: grid;
  min-height: 100%;
  place-items: center;
  color: rgba(214, 228, 255, 0.72);
  font-size: clamp(1rem, 1.3vw, 1.35rem);
  font-weight: 700;
}

.method-board {
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) clamp(34px, 4vw, 72px) minmax(320px, 1.25fr) clamp(34px, 4vw, 72px) minmax(270px, 1fr);
  align-items: center;
  gap: clamp(10px, 1vw, 18px);
}

.method-stage {
  position: relative;
  display: grid;
  min-height: clamp(236px, 35vh, 350px);
  align-content: space-between;
  gap: 18px;
  padding: clamp(18px, 1.8vw, 28px);
  border: 1px solid rgba(148, 188, 255, 0.24);
  border-radius: clamp(18px, 1.4vw, 24px);
  background: rgba(4, 9, 20, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.28);
}

.method-stage span {
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--cyan);
  font-size: clamp(0.82rem, 0.92vw, 1rem);
  font-weight: 700;
}

.method-stage strong {
  align-self: start;
  font-size: clamp(1.18rem, 1.65vw, 2rem);
  line-height: 1.12;
}

.method-stage--two span {
  color: var(--amber);
}

.method-stage--three span {
  color: var(--mint);
}

.method-mini-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.method-mini-strip--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.method-mini-strip img,
.chunk-stack img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(196, 220, 255, 0.24);
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

.method-arrow {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, rgba(95, 140, 255, 0.26), rgba(193, 225, 255, 0.92));
}

.method-arrow::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 14px;
  height: 14px;
  border-top: 2px solid rgba(193, 225, 255, 0.92);
  border-right: 2px solid rgba(193, 225, 255, 0.92);
  transform: translateY(-50%) rotate(45deg);
  content: "";
}

.chunk-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.chunk-stack span {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(74px, 8vw, 122px);
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
}

.chunk-stack img {
  position: absolute;
  width: 72%;
}

.chunk-stack img:first-child {
  bottom: 0;
  left: 0;
  z-index: 2;
}

.chunk-stack img:last-child {
  top: 0;
  right: 0;
}

.results-layout {
  grid-template-rows: auto 1fr;
  gap: clamp(18px, 2.3vh, 34px);
}

.results-layout--result-split,
.results-layout--closed-loop-split {
  grid-template-columns: minmax(210px, 0.5fr) minmax(760px, 1.5fr);
  grid-template-rows: 1fr;
  align-items: center;
  gap: clamp(18px, 2.2vw, 42px);
}

.results-layout--closed-loop-split {
  grid-template-columns: minmax(300px, 0.72fr) minmax(560px, 1.28fr);
}

.scene-closed-loop .results-layout--closed-loop-split {
  grid-template-columns: minmax(220px, 0.5fr) minmax(760px, 1.5fr);
  gap: clamp(14px, 1.8vw, 30px);
}

.results-layout--split {
  grid-template-columns: minmax(300px, 0.74fr) minmax(540px, 1.26fr);
  grid-template-rows: 1fr;
  align-items: center;
  gap: clamp(24px, 3vw, 54px);
}

.results-copy {
  max-width: 930px;
}

.film-grid {
  display: grid;
  min-height: 0;
  gap: clamp(10px, 1vw, 18px);
}

.film-grid video,
.film-grid .render-video-frame,
.finale-rail video,
.finale-rail .render-video-frame {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(164, 197, 255, 0.19);
  border-radius: clamp(12px, 1vw, 18px);
  background: #02040a;
  object-fit: contain;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

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

.film-grid--results {
  align-content: center;
  grid-template-rows: repeat(3, auto);
  gap: clamp(6px, 0.65vw, 10px);
}

.film-grid--results video,
.film-grid--results .render-video-frame {
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: clamp(12px, 0.9vw, 18px);
  object-fit: cover;
  overflow: hidden;
}

.film-grid--scale {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: min(54vw, 650px);
}

.film-grid-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.film-grid--scale-page {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(2%);
  transition: opacity 640ms ease, transform 720ms ease, visibility 640ms ease;
}

.film-grid--scale-page.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.closed-loop-grid {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: auto;
  align-self: center;
  justify-content: center;
  width: 100%;
  gap: clamp(8px, 0.8vw, 14px);
}

.scene-closed-loop .closed-loop-grid {
  gap: clamp(6px, 0.55vw, 9px);
}

.closed-loop-grid video,
.closed-loop-grid .render-video-frame {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 44 / 9;
  min-height: 0;
  border: 1px solid rgba(164, 197, 255, 0.19);
  border-radius: clamp(12px, 0.9vw, 18px);
  background: #02040a;
  object-fit: contain;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.results-rollout-footnote {
  position: absolute;
  right: clamp(24px, 3vw, 48px);
  bottom: clamp(16px, 2.2vh, 28px);
  z-index: 3;
  max-width: none;
  margin: 0;
  color: rgba(196, 218, 255, 0.68);
  font-size: clamp(0.72rem, 0.82vw, 0.9rem);
  line-height: 1.45;
  text-align: right;
  white-space: nowrap;
}

.scene-nuscenes .results-rollout-footnote,
.scene-scale .results-rollout-footnote,
.scene-minute .results-rollout-footnote,
.scene-closed-loop .results-rollout-footnote {
  pointer-events: none;
}

.result-speed-pill {
  position: relative;
  z-index: 0;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: clamp(8px, 1.3vh, 16px);
  padding: 0 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  color: rgba(218, 239, 255, 0.96);
  font-size: clamp(0.94rem, 1.05vw, 1.16rem);
  font-weight: 750;
  line-height: 1;
  isolation: isolate;
  overflow: hidden;
}

.result-speed-pill::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -2;
  width: 220%;
  height: 520%;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 286deg,
    rgba(61, 217, 255, 0.18) 304deg,
    rgba(61, 217, 255, 0.98) 318deg,
    rgba(89, 242, 187, 0.95) 328deg,
    rgba(44, 93, 246, 0.82) 338deg,
    transparent 352deg,
    transparent 360deg
  );
  transform: translate(-50%, -50%);
  animation: result-speed-flow-orbit 2.4s linear infinite;
}

.result-speed-pill::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(6, 17, 37, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@keyframes result-speed-flow-orbit {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.scene-finale .finale-cover {
  filter: saturate(1.12) contrast(1.08) brightness(0.82);
}

.finale-rail {
  position: absolute;
  right: clamp(24px, 4vw, 74px);
  bottom: clamp(26px, 4vw, 64px);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
  width: min(42vw, 650px);
}

.finale-rail video {
  aspect-ratio: 16 / 8.8;
}

.finale-copy {
  position: absolute;
  inset: auto auto clamp(42px, 7vh, 82px) clamp(32px, 5vw, 88px);
  width: min(48%, 740px);
}

.thanks-layout {
  position: relative;
  z-index: 2;
  display: grid;
  height: 100%;
  place-content: center;
  justify-items: center;
  gap: clamp(28px, 4vh, 52px);
  padding: clamp(32px, 5vw, 90px);
  text-align: center;
}

.thanks-copy {
  max-width: 1040px;
}

.thanks-copy h2 {
  margin-bottom: clamp(16px, 1.6vw, 24px);
  font-size: clamp(1.9rem, 4.2vw, 5rem);
  font-weight: 900;
  line-height: 0.98;
}

.thanks-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.55rem);
  text-transform: uppercase;
}

.thanks-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: clamp(14px, 1.4vw, 22px);
  width: min(100%, 560px);
}

.thanks-qrcode {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin: 0;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid rgba(153, 195, 255, 0.22);
  border-radius: 24px;
  background: rgba(4, 10, 23, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.thanks-qrcode span {
  color: rgba(162, 204, 255, 0.92);
  font-size: clamp(0.92rem, 1vw, 1.08rem);
  font-weight: 700;
  text-transform: uppercase;
}

.thanks-qrcode img {
  display: block;
  width: min(100%, 180px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.film-controls {
  display: grid;
  grid-template-columns: auto auto minmax(180px, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 1vw, 16px);
  min-height: 62px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(4, 8, 17, 0.76);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.film-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 108px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(135, 181, 255, 0.3);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(44, 93, 246, 0.44), rgba(61, 217, 255, 0.18));
  color: var(--ink);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.film-button:hover {
  border-color: rgba(152, 209, 255, 0.58);
  transform: translateY(-1px);
}

.film-button--ghost {
  min-width: 104px;
  background: rgba(12, 20, 37, 0.6);
  color: var(--muted);
}

.button-icon {
  position: relative;
  display: block;
  width: 13px;
  height: 16px;
}

.button-icon::before,
.button-icon::after {
  position: absolute;
  top: 1px;
  bottom: 1px;
  width: 4px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.button-icon::before {
  left: 1px;
}

.button-icon::after {
  right: 1px;
}

.film-button.is-paused .button-icon::before {
  inset: 1px auto 1px 2px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
  border-radius: 0;
  background: transparent;
}

.film-button.is-paused .button-icon::after {
  display: none;
}

.film-timeline {
  position: relative;
  display: block;
  height: 42px;
}

.film-timeline input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.film-timeline input::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(161, 192, 255, 0.17);
}

.film-timeline input::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(161, 192, 255, 0.17);
}

.film-timeline input::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -6.5px;
  border: 2px solid rgba(238, 247, 255, 0.94);
  border-radius: 50%;
  appearance: none;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(61, 217, 255, 0.55);
}

.film-timeline input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(238, 247, 255, 0.94);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(61, 217, 255, 0.55);
}

.timeline-fill {
  position: absolute;
  top: calc(50% - 2.5px);
  left: 0;
  z-index: 1;
  width: 0;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 18px rgba(61, 217, 255, 0.36);
  pointer-events: none;
}

.film-clock {
  display: grid;
  justify-items: end;
  min-width: 146px;
  gap: 4px;
}

.film-clock strong {
  max-width: 190px;
  overflow: hidden;
  font-size: 0.94rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.film-clock span {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 0.84rem;
}

@keyframes sweep {
  0%,
  18% {
    background-position: -35% 0;
  }

  70%,
  100% {
    background-position: 145% 0;
  }
}

@media (max-width: 1100px) {
  html:not(.film-mobile-fit) body {
    overflow: auto;
  }

  html:not(.film-mobile-fit) .film-page {
    min-height: 100svh;
  }

  html:not(.film-mobile-fit) .film-stage {
    min-height: min(76svh, 760px);
    max-height: none;
    aspect-ratio: auto;
  }

  html:not(.film-mobile-fit) .abstract-frame,
  html:not(.film-mobile-fit) .results-layout--split,
  html:not(.film-mobile-fit) .results-layout--result-split,
  html:not(.film-mobile-fit) .results-layout--closed-loop-split {
    grid-template-columns: 1fr;
  }

  html:not(.film-mobile-fit) .feature-rails {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html:not(.film-mobile-fit) .abstract-insight {
    grid-template-columns: 1fr;
  }

  html:not(.film-mobile-fit) .feature-rail {
    min-height: 150px;
  }

  html:not(.film-mobile-fit) .method-board {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  html:not(.film-mobile-fit) .method-stage {
    min-height: 0;
  }

  html:not(.film-mobile-fit) .method-arrow {
    width: 2px;
    height: 24px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(95, 140, 255, 0.26), rgba(193, 225, 255, 0.92));
  }

  html:not(.film-mobile-fit) .method-arrow::after {
    top: auto;
    right: 50%;
    bottom: -1px;
    transform: translateX(50%) rotate(135deg);
  }

  html:not(.film-mobile-fit) .film-grid--scale {
    height: auto;
    min-height: 320px;
  }

  html:not(.film-mobile-fit) .finale-copy {
    width: min(66%, 740px);
  }

  html:not(.film-mobile-fit) .finale-rail {
    width: min(55vw, 650px);
  }

  html:not(.film-mobile-fit) .closed-loop-grid {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .film-page {
    gap: 12px;
    padding: 12px;
  }

  .film-topbar,
  .film-controls {
    grid-template-columns: 1fr;
  }

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

  .film-kicker {
    justify-content: space-between;
  }

  .film-stage {
    min-height: 980px;
  }

  .hero-copy,
  .finale-copy {
    inset: auto 22px 32px;
    width: auto;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 17vw, 5.8rem);
  }

  .hero-points span {
    min-width: 0;
  }

  .abstract-frame,
  .method-sequence,
  .results-layout {
    padding: 24px;
  }

  html:not(.film-mobile-fit) .feature-rails,
  html:not(.film-mobile-fit) .film-grid--nusc,
  html:not(.film-mobile-fit) .film-grid--scale,
  html:not(.film-mobile-fit) .thanks-links {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .film-grid--nusc video:nth-child(n + 5) {
    display: none;
  }

  .film-grid video {
    aspect-ratio: 16 / 9;
  }

  .film-grid-carousel {
    min-height: 720px;
    aspect-ratio: auto;
  }

  .closed-loop-grid video,
  .closed-loop-grid .render-video-frame {
    height: auto;
    aspect-ratio: 44 / 9;
    object-fit: contain;
  }

  .heading-keep {
    white-space: normal;
  }

  .results-rollout-footnote {
    white-space: normal;
    max-width: min(340px, 84vw);
  }

  .chunk-stack {
    gap: 8px;
  }

  .finale-rail {
    right: 22px;
    bottom: 34%;
    width: calc(100% - 44px);
  }

  .film-controls {
    padding: 12px;
  }

  .film-button {
    width: 100%;
  }

  .film-clock {
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .film-scene,
  .film-button,
  .hero-scan {
    animation: none;
    transition: none;
  }

  .film-scene.is-leaving,
  .film-scene.is-leaving.is-exiting {
    opacity: 0;
  }

  .result-speed-pill::before {
    animation: none;
    transform: translate(-50%, -50%);
  }
}

/* Mobile landscape: 1700px desktop canvas, transform-fit to viewport (avoid vw/svh drift). */
html.film-mobile-fit {
  overflow: hidden;
  height: 100%;
}

html.film-mobile-fit body {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 100%;
  margin: 0;
  padding:
    max(env(safe-area-inset-top, 0px), 8px)
    max(env(safe-area-inset-right, 0px), 8px)
    max(env(safe-area-inset-bottom, 0px), 8px)
    max(env(safe-area-inset-left, 0px), 8px);
}

html.film-mobile-fit .film-audio-toggle {
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
}

html.film-mobile-fit .film-topbar {
  display: none;
}

html.film-mobile-fit .film-page {
  position: relative;
  flex: 0 0 auto;
  width: 1700px;
  max-width: 1700px;
  min-height: auto;
  margin: 0;
  padding: 16px;
  gap: 0;
  font-size: 14px;
  transform: scale(var(--film-fit-scale, 1));
  transform-origin: center center;
}

html.film-mobile-fit .film-player {
  width: 1700px;
  max-width: 1700px;
  gap: 0;
}

html.film-mobile-fit .film-controls {
  display: none;
}

html.film-mobile-fit .film-stage {
  width: 100%;
  height: 920px;
  min-height: 920px;
  max-height: 920px;
  aspect-ratio: auto;
  overflow: hidden;
}

html.film-mobile-fit .film-scene {
  overflow: hidden;
}

html.film-mobile-fit .hero-copy {
  inset: auto auto 56px 72px;
  width: min(calc(100% - 144px), 980px);
}

html.film-mobile-fit .hero-copy h1 {
  font-size: 54px;
  line-height: 0.96;
}

html.film-mobile-fit .hero-subtitle {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.16;
}

html.film-mobile-fit .eyebrow {
  margin-bottom: 10px;
  font-size: 14px;
}

html.film-mobile-fit .abstract-frame {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: start;
  gap: 12px;
  padding: 28px 40px 32px;
  min-height: 0;
  overflow: hidden;
}

html.film-mobile-fit .abstract-copy {
  max-width: none;
  width: 100%;
}

html.film-mobile-fit .abstract-copy h2 {
  margin-bottom: 0;
  font-size: 26px;
  line-height: 1.1;
  text-wrap: balance;
}

html.film-mobile-fit .abstract-copy h2 .heading-keep {
  white-space: normal;
}

html.film-mobile-fit .method-copy h2,
html.film-mobile-fit .results-copy h2,
html.film-mobile-fit .finale-copy h2 {
  margin-bottom: 10px;
  font-size: 32px;
  line-height: 0.98;
}

html.film-mobile-fit .method-copy h2 {
  margin-bottom: 6px;
  font-size: 24px;
  line-height: 1.06;
}

html.film-mobile-fit .abstract-key-insight {
  font-size: 18px;
  line-height: 1.34;
}

html.film-mobile-fit .method-sequence,
html.film-mobile-fit .results-layout {
  gap: 12px;
  padding: 36px;
  min-height: 0;
  overflow: hidden;
}

html.film-mobile-fit .method-sequence {
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
  padding: 24px 36px 28px;
}

html.film-mobile-fit .method-overview-caption {
  font-size: 13px;
  line-height: 1.32;
}

html.film-mobile-fit .method-drawing-frame {
  min-height: 0;
  overflow: hidden;
  padding: 10px;
  align-self: stretch;
}

html.film-mobile-fit .abstract-frame .feature-rails--six {
  width: 100%;
  max-width: none;
  grid-column: 1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  align-self: stretch;
  justify-self: stretch;
}

html.film-mobile-fit .abstract-frame .feature-rail--compact {
  min-height: 0;
  padding: 10px 6px;
  gap: 6px;
}

html.film-mobile-fit .abstract-frame .feature-icon {
  width: 32px;
  border-radius: 9px;
}

html.film-mobile-fit .abstract-frame .feature-rail strong {
  font-size: 12px;
  line-height: 1.08;
}

html.film-mobile-fit .abstract-frame .feature-rail > span:last-child {
  font-size: 11px;
  line-height: 1.2;
  text-wrap: balance;
}

html.film-mobile-fit .feature-rails,
html.film-mobile-fit .feature-rails--six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

html.film-mobile-fit .feature-rail--compact {
  min-height: 132px;
  padding: 12px;
}

html.film-mobile-fit .feature-rail strong {
  font-size: 13px;
}

html.film-mobile-fit .feature-rail > span:last-child {
  font-size: 11px;
  line-height: 1.35;
}

html.film-mobile-fit .results-layout--split,
html.film-mobile-fit .results-layout--result-split,
html.film-mobile-fit .results-layout--closed-loop-split {
  grid-template-columns: minmax(170px, 0.4fr) minmax(0, 1.6fr);
  align-items: stretch;
  gap: 16px;
}

html.film-mobile-fit .abstract-frame > *,
html.film-mobile-fit .results-layout > * {
  min-width: 0;
  min-height: 0;
}

html.film-mobile-fit .scene-nuscenes .results-copy h2,
html.film-mobile-fit .scene-scale .results-copy h2,
html.film-mobile-fit .scene-minute .results-copy h2,
html.film-mobile-fit .scene-closed-loop .results-copy h2 {
  font-size: 20px;
  line-height: 1.08;
}

html.film-mobile-fit .film-grid {
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

html.film-mobile-fit .film-grid--nusc {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 8px;
  height: 100%;
}

html.film-mobile-fit .film-grid--results {
  grid-template-rows: repeat(3, minmax(0, 1fr));
  align-content: stretch;
  gap: 8px;
  height: 100%;
}

html.film-mobile-fit .film-grid--nusc video:nth-child(n + 5) {
  display: block;
}

html.film-mobile-fit .film-grid video,
html.film-mobile-fit .film-grid .render-video-frame {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  overflow: hidden;
  border-radius: 12px;
  clip-path: inset(0 round 12px);
}

html.film-mobile-fit .film-grid--scale {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: 100%;
  min-height: 0;
  max-height: 100%;
}

html.film-mobile-fit .closed-loop-grid {
  gap: 6px;
  max-height: 100%;
  overflow: hidden;
}

html.film-mobile-fit .closed-loop-grid video,
html.film-mobile-fit .closed-loop-grid .render-video-frame {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 44 / 9;
  object-fit: contain;
  overflow: hidden;
  border-radius: 12px;
}

html.film-mobile-fit .results-rollout-footnote {
  right: 32px;
  bottom: 16px;
  font-size: 11px;
  white-space: nowrap;
}

html.film-mobile-fit .result-speed-pill {
  min-height: 30px;
  margin-top: 8px;
  padding: 0 10px;
  font-size: 13px;
}

html.film-mobile-fit .film-button {
  min-width: 96px;
  min-height: 38px;
  font-size: 0.92rem;
}

html.film-mobile-fit .film-player:fullscreen,
html.film-mobile-fit .film-player:-webkit-full-screen {
  width: 1700px;
  max-width: 1700px;
}

html.film-mobile-fit .thanks-layout {
  place-content: start center;
  gap: 14px;
  padding: 28px 56px 24px;
  min-height: 0;
  overflow: hidden;
}

html.film-mobile-fit .thanks-copy {
  max-width: none;
  width: 100%;
}

html.film-mobile-fit .thanks-copy h2 {
  margin-bottom: 6px;
  font-size: 26px;
  line-height: 1.08;
}

html.film-mobile-fit .thanks-copy p:last-child {
  font-size: 12px;
  letter-spacing: 0.04em;
}

html.film-mobile-fit .thanks-links {
  width: min(100%, 360px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

html.film-mobile-fit .thanks-qrcode {
  gap: 6px;
  padding: 10px 12px;
  border-radius: 16px;
}

html.film-mobile-fit .thanks-qrcode span {
  font-size: 10px;
}

html.film-mobile-fit .thanks-qrcode img {
  width: min(100%, 88px);
  max-width: 88px;
  padding: 5px;
  border-radius: 10px;
}
