@font-face {
  font-family: "Roobert";
  src: url("assets/fonts/roobert-regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("assets/fonts/roobert-medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("assets/fonts/roobert-semibold.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Gilda Display";
  src: url("assets/fonts/gilda-display.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("assets/fonts/lato-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("assets/fonts/lato-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #f9f9fb;
  --ink: #2e2e38;
  --body: #5f5f75;
  --muted: #8e8e9f;
  --rule: rgba(46, 46, 56, 0.13);
  --blue: #7589ff;
  --header-height: 96px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Roobert", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

video {
  width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  color: var(--ink);
  background: var(--paper);
  border-bottom: 0;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), border-color 240ms ease;
}

.site-header.scrolled {
  border-color: rgba(46, 46, 56, 0.08);
}

.site-header.is-hidden {
  transform: translateY(-102%);
}

.nav-shell {
  height: 100%;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  color: inherit;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  width: 26px;
  height: 22px;
  overflow: visible;
  fill: currentColor;
}

.nav-links {
  min-width: 0;
  flex: 1 1 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 2.4vw, 44px);
  margin-left: clamp(48px, 8vw, 140px);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  white-space: nowrap;
}

.resource-link {
  min-width: 58px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--ink);
  letter-spacing: -0.018em;
}

.resource-link-wide {
  min-width: 94px;
}

.resource-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  overflow: visible;
  object-fit: contain;
}

.nav-links > a:not(.pill) {
  text-decoration: none;
  transition: opacity 180ms ease;
}

.nav-links > a:not(.pill):hover {
  opacity: 0.55;
}

.nav-links .pill {
  min-height: 48px;
  padding: 16px 20px;
  font-size: 16px;
  line-height: 16px;
}

.pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 10px 23px 11px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.pill:hover {
  transform: scale(0.985);
  opacity: 0.86;
}

.pill-dark {
  color: #fff;
  background: var(--ink);
}

.pill-light {
  color: var(--ink);
  background: #f2f1e9;
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  padding: 12px 10px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  width: 100%;
  height: 1.5px;
  display: block;
  margin: 4px 0;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

main {
  padding-top: 0;
}

.project-header {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
  padding: 56px 0 40px;
  text-align: center;
  color: #212529;
  font-family: "Lato", Verdana, Helvetica, sans-serif;
}

.project-header h1 {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: 35px;
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}

.project-authors {
  display: grid;
  gap: 0;
  margin-top: 32px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
}

.author-row,
.project-affiliations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 16px;
  row-gap: 0;
}

.author-row > span,
.project-affiliations > span {
  white-space: nowrap;
}

.project-header sup {
  font-size: 75%;
  line-height: 0;
  vertical-align: super;
}

.project-affiliations {
  margin-top: 20px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
}

.project-header a {
  text-decoration: none;
}

.project-header a:hover {
  opacity: 0.65;
}

.project-authors a {
  color: #1772d0;
}

.project-authors a:hover,
.project-authors a:focus {
  color: #f09228;
  opacity: 1;
}

.project-header a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
  border-radius: 3px;
}

.project-resources {
  width: min(780px, 100%);
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.project-resources .resource-link {
  min-width: 0;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.project-resources .resource-icon {
  width: 30px;
  height: 30px;
}

.hero-shell {
  width: min(1536px, 100%);
  margin-right: auto;
  margin-left: auto;
  padding: 0 40px;
}

.surface {
  overflow: hidden;
  border-radius: 15px;
  background: #17171c;
}

.hero-media {
  margin-inline: auto;
  aspect-ratio: 16 / 9;
}

.hero-media iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-media video,
.surface > video,
.surface > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, 672px);
  align-items: start;
  gap: 112px;
  margin-top: 64px;
}

.hero-kicker {
  display: grid;
  grid-template-columns: 136px minmax(220px, 326px);
  gap: 25px;
  color: var(--body);
  font-size: 14px;
  line-height: 21px;
}

.hero-meta h1 {
  max-width: 672px;
  margin: 0;
  font-family: "Gilda Display", Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.048em;
  line-height: 1.2;
}

.article {
  position: relative;
  margin-top: 128px;
}

.section-toc {
  position: absolute;
  z-index: 20;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(1456px, calc(100% - 80px));
  display: none;
  transform: translateX(-50%);
  pointer-events: none;
}

.section-toc nav {
  position: sticky;
  top: 128px;
  width: 160px;
  max-height: calc(100vh - 160px);
  padding: 4px 0 4px 12px;
  overflow-y: auto;
  scrollbar-width: none;
  pointer-events: auto;
}

.section-toc nav::-webkit-scrollbar {
  display: none;
}

.section-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-toc .toc-item {
  position: relative;
  padding: 5px 0;
}

.section-toc a {
  display: block;
  color: #73738c;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-decoration: none;
  transition: color 150ms ease;
}

.section-toc a:hover,
.section-toc a[aria-current="location"],
.section-toc .toc-group.is-current > .toc-item a {
  color: var(--ink);
}

.section-toc a[aria-current="location"]::before {
  content: "";
  position: absolute;
  top: 13px;
  left: -12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
}

.section-toc .toc-sub {
  display: none;
}

.section-toc .toc-group.is-current .toc-sub {
  display: block;
}

.section-toc .toc-sub .toc-item {
  padding-left: 12px;
}

.section-toc .toc-build .toc-item {
  padding-top: 10.5px;
}

.section-toc .toc-build a {
  width: max-content;
  margin-left: -12px;
  padding: 6px 14px;
  padding-left: 12px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 13px;
}

@media (min-width: 1552px) {
  .section-toc {
    display: block;
  }
}

.copy {
  width: min(720px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.copy p,
.copy li {
  color: var(--body);
  font-size: 17px;
  letter-spacing: normal;
  line-height: 28px;
  overflow-wrap: break-word;
}

.copy p {
  margin: 0;
}

.copy p + p,
.copy ul + p,
.copy pre + p {
  margin-top: 21.25px;
}

.copy a:not(.pill) {
  color: var(--ink);
}

.copy strong {
  color: var(--ink);
  font-weight: 600;
}

.copy em {
  font-style: italic;
}

.copy ul {
  margin: 22px 0 0;
  padding-left: 27px;
}

.copy li {
  padding-left: 4px;
}

.copy li + li {
  margin-top: 12px;
}

.copy h2,
.copy h3 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.032em;
}

.anchored-heading .anchor-link {
  width: 18px;
  height: 18px;
  display: inline-flex;
  margin-left: 8px;
  color: #aaaab7;
  vertical-align: -2px;
  opacity: 0;
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.anchored-heading .anchor-link svg {
  width: 18px;
  height: 18px;
}

.anchored-heading:hover .anchor-link,
.anchored-heading .anchor-link:hover,
.anchored-heading .anchor-link:focus-visible {
  color: var(--ink);
  opacity: 1;
}

.copy h2 {
  margin: 0;
  font-size: 25.5px;
  line-height: 1.4;
}

.copy h2 + p,
.copy h3 + p {
  margin-top: 17px;
}

.copy h3 {
  margin: 56px 0 0;
  font-size: 21.25px;
  line-height: 1.45;
}

.copy pre {
  margin: 22px 0 0;
  padding: 19px 22px;
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 9px;
  color: var(--body);
  background: rgba(255, 255, 255, 0.42);
  font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

#build-with-atlas .center {
  height: 49px;
  align-items: center;
  margin-top: 36px;
  margin-bottom: 12px;
}

#build-with-atlas .center + p {
  margin-top: 33.25px;
}

#build-with-atlas pre {
  height: 190px;
  margin-top: 0;
  padding: 19px 22px;
}

.center {
  display: flex;
  justify-content: center;
}

.intro-copy .center {
  height: 49px;
  align-items: center;
  margin-top: 36px;
  margin-bottom: 12px;
}

.intro-copy ul {
  display: flow-root;
  margin-top: 21.25px;
  padding-left: 25.5px;
}

.intro-copy li,
.intro-copy li + li {
  margin-top: 8.5px;
  padding-left: 6.8px;
}

.article-section {
  position: relative;
  padding-top: 0;
  scroll-margin-top: -8px;
}

.article-section + .article-section {
  margin-top: 0;
  padding-top: 8px;
}

.article-section:first-of-type {
  padding-top: 44.625px;
  scroll-margin-top: -44.625px;
}

.sticky-label {
  display: none;
}

.sticky-label span:last-child {
  font-size: 16px;
  font-weight: 400;
  transform: translateY(-2px);
}

.article-section + .article-section .sticky-label {
  margin-bottom: 0;
}

.copy h2 + h3 {
  margin-top: 21.25px;
}

.figure {
  margin-top: 49px;
  margin-right: auto;
  margin-bottom: 64px;
  margin-left: auto;
}

.wide {
  width: min(1072px, calc(100% - 80px));
}

.full-bleed {
  width: min(1456px, calc(100% - 80px));
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.005em;
  line-height: 16px;
  text-align: center;
}

.highlight-demo {
  min-height: 0;
  margin-top: 48px;
  margin-bottom: 48px;
  padding: 0;
}

.highlight-demo + .copy {
  padding-top: 16px;
}

.highlight-demo + .copy > h3:first-child {
  margin-top: 0;
}

.highlight-demo > figcaption {
  width: min(720px, 100%);
  margin: 0 auto 8px;
  color: #73738c;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 24px;
  text-align: center;
}

.highlight-demo > figcaption span {
  color: #6975c9;
}

.highlight-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thumb-rail {
  position: relative;
  width: calc(100% + 8px);
  height: 83px;
  margin: 0 -4px;
  padding-bottom: 12px;
  overflow: hidden;
}

.thumb-strip {
  display: flex;
  gap: 8px;
  width: 100%;
  height: 71px;
  margin: 0;
  padding: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.thumb-scrollbar {
  position: absolute;
  right: 4px;
  bottom: 2px;
  left: 4px;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  opacity: 0.12;
}

.thumb-scrollbar i {
  width: 61%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--ink);
  transform: translateX(var(--thumb-scroll, 0%));
  transition: transform 180ms ease;
}

.thumb-strip::-webkit-scrollbar,
.filmstrip::-webkit-scrollbar,
.mini-strip::-webkit-scrollbar,
.image-row::-webkit-scrollbar {
  display: none;
}

.thumb {
  position: relative;
  width: 112px;
  height: 63px;
  flex: 0 0 112px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #e4e4e9;
  cursor: pointer;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  opacity: 0.45;
  transition: opacity 180ms ease, filter 180ms ease, transform 300ms ease;
}

.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0 solid transparent;
  border-radius: inherit;
  pointer-events: none;
}

.thumb.active img,
.thumb:hover img {
  filter: none;
  opacity: 1;
}

.thumb.active::after {
  border-width: 2px;
  border-color: var(--ink);
}

.thumb:hover img {
  transform: scale(1.035);
}

.input-output {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.input-pane,
.output-pane {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-pane {
  width: 25%;
  flex: 0 0 25%;
}

.output-pane {
  flex: 1 1 auto;
}

.input-pane > span,
.output-pane > span {
  height: 20px;
  color: #6873c8;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 20px;
}

.output-pane > span {
  color: #0865d9;
}

.input-visual,
.highlight-output {
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.input-visual {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  outline: 2px solid #7477c7;
  outline-offset: -2px;
}

.highlight-output {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1d1d22;
}

.highlight-output video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlight-input-grid {
  width: 100%;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(104, 115, 200, 0.5);
}

.highlight-input-grid[data-count="1"] {
  display: block;
}

.highlight-input-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.camera-path-map {
  position: relative;
  min-height: 96px;
  flex: 1 1 auto;
  overflow: hidden;
  border-top: 1px solid #7477c7;
  background: linear-gradient(#fdfdff, #f8f8fb);
  perspective: 600px;
}

.worldcore-gallery {
  --gallery-column-gap: 16px;
  --gallery-label-height: 20px;
  --gallery-label-gap: 8px;
}

.worldcore-gallery .highlight-controls {
  gap: 28px;
}

.worldcore-gallery .input-output { order: 0; }
.worldcore-gallery .gallery-status { order: 2; }

.worldcore-gallery .thumb-rail {
  --preview-columns: 3;
  --preview-gap: 20px;
  order: 1;
  width: min(100%, calc(var(--preview-columns) * 160px + (var(--preview-columns) - 1) * var(--preview-gap)));
  height: auto;
  margin: 0 auto;
  padding: 4px;
  overflow: visible;
}

.worldcore-gallery[data-worldcore-gallery="generation"] .thumb-rail,
.worldcore-gallery[data-worldcore-gallery="text-generation"] .thumb-rail {
  --preview-columns: 5;
}

.worldcore-gallery .thumb-strip {
  height: auto;
  padding: 0;
  overflow: visible;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--preview-gap);
}

.worldcore-gallery .thumb {
  flex: 0 0 calc((100% - (var(--preview-columns) - 1) * var(--preview-gap)) / var(--preview-columns));
  width: auto;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #16171b;
}

.worldcore-gallery .thumb img { opacity: .65; }
.worldcore-gallery .thumb.active img,
.worldcore-gallery .thumb:hover img { opacity: 1; }
.worldcore-gallery .thumb.active::after {
  border-width: 0;
  border-color: transparent;
}
.worldcore-gallery .thumb:focus-visible {
  outline: 3px solid #0865d9;
  outline-offset: 3px;
}
.worldcore-gallery .thumb-scrollbar { display: none; }

@media (max-width: 560px) {
  .worldcore-gallery .highlight-controls { gap: 20px; }
  .worldcore-gallery .thumb-rail { --preview-gap: 12px; }
  .worldcore-gallery .thumb { flex-basis: calc((100% - var(--preview-gap)) / 2); }
}

.worldcore-gallery .input-output {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
  gap: var(--gallery-column-gap);
  align-items: start;
}

.worldcore-gallery .highlight-output {
  aspect-ratio: 5 / 3;
}

.worldcore-gallery .highlight-output video {
  display: block;
  object-fit: contain;
}

.worldcore-gallery .consistency-pane,
.worldcore-gallery .output-pane {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  flex-direction: column;
  gap: var(--gallery-label-gap);
}

.worldcore-gallery .consistency-pane[hidden] { display: none; }

@media (min-width: 561px) {
  .worldcore-gallery[data-worldcore-gallery="generation"] .input-output,
  .worldcore-gallery[data-worldcore-gallery="text-generation"] .input-output {
    grid-template-columns: minmax(0, calc(62.5% - 10px));
    justify-content: center;
  }
}

.worldcore-gallery .consistency-label {
  min-height: var(--gallery-label-height);
  height: auto;
  color: #6873c8;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: var(--gallery-label-height);
  white-space: normal;
}

@media (min-width: 561px) and (max-width: 1100px) {
  .worldcore-gallery[data-worldcore-gallery="consistency"] .output-pane > span,
  .worldcore-gallery[data-worldcore-gallery="consistency"] .consistency-pane > span {
    min-height: 40px;
    height: auto;
    line-height: 20px;
  }
}

.worldcore-gallery .reconstruction-panel {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  box-sizing: border-box;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  outline: 1px solid rgba(104, 105, 133, .15);
  outline-offset: -1px;
}
.worldcore-gallery model-viewer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  touch-action: none;
  --progress-bar-color: #6873c8;
}
.worldcore-gallery model-viewer[hidden],
.worldcore-gallery [data-demo-reconstruction][hidden] { display: none; }
.worldcore-gallery [data-demo-reconstruction] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; background: #fff; }
.worldcore-gallery .pointcloud-heading { height: 20px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.worldcore-gallery .pointcloud-open { padding: 0; border: 0; color: #77788d; background: transparent; font: inherit; font-size: 11px; cursor: pointer; white-space: nowrap; }
.worldcore-gallery .pointcloud-open:hover { color: #30303b; text-decoration: underline; }
.worldcore-gallery .pointcloud-reset { position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; padding: 0; border: 1px solid #e7e7ee; border-radius: 6px; background: #fffffff0; color: #72768b; cursor: pointer; font-size: 23px; line-height: 28px; }
.worldcore-gallery .pointcloud-open:focus-visible,
.worldcore-gallery .pointcloud-reset:focus-visible { outline: 2px solid #6873c8; outline-offset: 3px; }
.worldcore-gallery .pointcloud-status { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 28px; color: #7b7d92; background: #ffffffe8; font-size: 13px; pointer-events: none; }
.worldcore-gallery .pointcloud-status[hidden] { display: none; }

.worldcore-gallery .gallery-status {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink);
}

@media (max-width: 560px) {
  .worldcore-gallery .input-output { display: flex; flex-direction: column; }
  .worldcore-gallery .consistency-pane,
  .worldcore-gallery .output-pane {
    width: 100%;
    flex: 0 0 auto;
  }
}
@media (min-width: 561px) and (max-width: 820px) {
  .worldcore-gallery .consistency-label { font-size: 11px; }
  .worldcore-gallery .pointcloud-open { font-size: 9px; }
}

.map-grid {
  position: absolute;
  inset: 34% -35% -38%;
  transform: rotateX(63deg) rotateZ(-7deg);
  background-image: linear-gradient(rgba(78, 78, 100, 0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(78, 78, 100, 0.13) 1px, transparent 1px);
  background-size: 28px 28px;
}

.map-path {
  position: absolute;
  top: 30%;
  left: 13%;
  width: 77%;
  height: 45%;
  border-top: 2px dashed rgba(46, 46, 56, 0.55);
  border-right: 2px solid rgba(46, 46, 56, 0.7);
  transform: skewY(-12deg) rotate(-8deg);
}

.map-camera {
  position: absolute;
  width: 24%;
  aspect-ratio: 16 / 9;
  padding: 2px;
  border: 1px solid rgba(75, 83, 155, 0.8);
  background: #fff;
  box-shadow: 0 7px 20px rgba(30, 30, 40, 0.14);
}

.map-camera img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-a { top: 25%; left: 13%; transform: rotate(-9deg); }
.camera-b { top: 49%; left: 40%; transform: rotate(5deg); }
.camera-c { top: 20%; right: 8%; transform: rotate(11deg); }

.context-inputs span {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 9px 6px;
  border-radius: 999px;
  color: #fff;
  background: rgba(27, 27, 33, 0.52);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.camera-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
}

.camera-demo {
  margin-top: 48px;
  margin-bottom: 48px;
}

.camera-demo + .copy {
  padding-top: 16px;
}

.camera-demo + .copy > h3:first-child {
  margin-top: 0;
}

.camera-demo > figcaption {
  width: min(720px, 100%);
  margin: 0 auto 8px;
  color: #73738c;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 24px;
  text-align: center;
}

.camera-control-ui {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.camera-thumb-rail {
  position: relative;
  width: calc(100% + 8px);
  height: 84px;
  margin: 0 -4px;
  padding-bottom: 12px;
  overflow: hidden;
}

.camera-thumb-strip {
  width: 100%;
  height: 72px;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.camera-thumb-strip::-webkit-scrollbar {
  display: none;
}

.camera-thumb {
  position: relative;
  width: 96px;
  height: 64px;
  flex: 0 0 96px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #e4e4e9;
  cursor: pointer;
}

.camera-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: opacity 180ms ease;
}

.camera-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
}

.camera-thumb.active img,
.camera-thumb:hover img {
  opacity: 1;
}

.camera-thumb.active::after {
  border-color: var(--ink);
}

.camera-thumb-scrollbar {
  position: absolute;
  right: 4px;
  bottom: 2px;
  left: 4px;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  opacity: 0.12;
}

.camera-thumb-scrollbar i {
  width: 74%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--ink);
}

.camera-media-grid {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.camera-input-pane,
.camera-output-pane {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.camera-input-pane {
  width: 25%;
  flex: 0 0 25%;
}

.camera-output-pane {
  flex: 1 1 auto;
}

.camera-input-pane > span,
.camera-output-pane > span {
  height: 20px;
  color: #6873c8;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.camera-output-pane > span {
  color: #0865d9;
}

.camera-input-visual {
  min-height: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  outline: 2px solid #7477c7;
  outline-offset: -2px;
}

.camera-input-visual > img {
  width: 100%;
  flex: 0 0 auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.camera-map {
  position: relative;
  min-height: 96px;
  flex: 1 1 auto;
  overflow: hidden;
  border-top: 1px solid #7477c7;
  background: linear-gradient(#fdfdff, #f8f8fb);
  perspective: 600px;
}

.camera-demo .camera-stage {
  min-height: 0;
  flex: 1 1 auto;
  border-radius: 8px;
}

.camera-demo .camera-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-demo .camera-stage input[type="range"] {
  opacity: 0;
}

.camera-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
}

.camera-hud {
  position: absolute;
  top: 17px;
  right: 17px;
  z-index: 3;
  width: 122px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  font-size: 10px;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: uppercase;
}

.camera-hud span {
  display: block;
  margin-bottom: 5px;
}

.camera-hud span:nth-child(2) {
  position: absolute;
  right: 148px;
  top: 3px;
  width: 92px;
  opacity: 0.88;
  text-transform: none;
}

.camera-hud img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 7px;
}

.camera-stage input[type="range"] {
  position: absolute;
  right: 21px;
  bottom: 19px;
  left: 21px;
  z-index: 4;
  width: calc(100% - 42px);
  height: 18px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: ew-resize;
}

.camera-stage input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.64);
}

.camera-stage input[type="range"]::-moz-range-track {
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.64);
}

.camera-stage input[type="range"]::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  margin-top: -6px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.camera-stage input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}

.context-demo {
  min-height: 503.25px;
  margin-top: 48px;
}

.context-demo > figcaption {
  width: min(720px, 100%);
  margin: 0 auto 8px;
  color: #73738c;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 24px;
  text-align: center;
}

.context-ui {
  height: auto;
  aspect-ratio: 1072 / 471.25;
  display: grid;
  grid-template-columns: 25% minmax(0, 1fr);
  gap: 16px;
}

.context-ui video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.context-inputs {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 9px;
}

.context-inputs > div {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #ddd;
}

.context-inputs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.filmstrip,
.mini-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filmstrip img {
  width: 132px;
  flex: 0 0 132px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.filmstrip.compact img {
  width: 116px;
  flex-basis: 116px;
}

.long-demo video,
.path-demo video,
.figure.wide > video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.long-demo,
.path-demo {
  width: min(1072px, calc(100% - 80px));
  margin-top: 48px;
}

.long-demo {
  display: grid;
  grid-template-columns: 25% minmax(0, 1fr);
  gap: 16px;
  align-items: end;
  min-height: 598.25px;
  align-content: start;
}

.long-input > span,
.long-output > span,
.reconstruction-inputs > span,
.reconstruction-output > span,
.pointmap-pair span {
  display: block;
  margin: 0 0 8px;
  color: #526bd1;
  font-size: 13px;
  font-weight: 500;
}

.long-demo .filmstrip {
  height: 295px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: start;
  gap: 4px;
  margin: 0;
  padding: 4px;
  border: 1px solid rgba(46, 46, 56, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.45);
}

.long-demo .filmstrip img {
  width: 100%;
  min-width: 0;
  border-radius: 4px;
}

.long-output video {
  aspect-ratio: 16 / 9;
}

.path-demo {
  display: grid;
  grid-template-columns: 25% minmax(0, 1fr);
  gap: 12px 16px;
  align-items: start;
  min-height: 598.25px;
}

.path-demo .filmstrip {
  height: 295px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: start;
  gap: 5px;
  margin: 0;
}

.path-demo .filmstrip img {
  width: 100%;
  min-width: 0;
  border-radius: 5px;
}

.path-demo .segmented {
  grid-column: 2;
  margin-top: 0;
}

.path-demo figcaption {
  grid-column: 1 / -1;
}

.segmented {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 16px;
}

.segmented button {
  min-width: 64px;
  padding: 8px 13px 9px;
  border: 0;
  border-radius: 999px;
  color: var(--body);
  background: #ededf1;
  font-size: 11px;
  cursor: pointer;
}

.segmented button.active {
  color: #fff;
  background: var(--ink);
}

.reconstruction-demo {
  display: grid;
  grid-template-columns: 1fr 2.944fr;
  gap: 0 16px;
  align-items: start;
  padding-bottom: 68px;
  min-height: 0;
}

.reconstruction-scenes {
  grid-column: 1 / -1;
  height: 68px;
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 27px;
}

.reconstruction-scenes button {
  width: 116px;
  height: 65px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  opacity: 0.42;
}

.reconstruction-scenes button.active {
  border-color: var(--ink);
  opacity: 1;
}

.reconstruction-scenes img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reconstruction-inputs {
  display: grid;
  grid-template-rows: auto repeat(3, 1fr);
  height: auto;
  aspect-ratio: 268 / 469;
}

.reconstruction-inputs button {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #e5e5ea;
  cursor: pointer;
  opacity: 0.24;
}

.reconstruction-inputs button:first-of-type {
  border-radius: 11px 11px 0 0;
}

.reconstruction-inputs button:last-of-type {
  border-radius: 0 0 11px 11px;
}

.reconstruction-inputs button.active {
  opacity: 1;
}

.reconstruction-inputs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reconstruction-inputs b {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 4px 7px 5px;
  border-radius: 5px;
  color: #fff;
  background: #2f9a67;
  font-size: 10px;
  font-weight: 500;
  transform: translate(-50%, -50%);
}

.reconstruction-inputs button:nth-of-type(n + 2) b {
  background: #cc5147;
}

.reconstruction-output video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.reconstruction-demo figcaption {
  grid-column: 1 / -1;
}

.nvs-demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 20px 16px; }
.nvs-demo[hidden] { display: none; }
#novel-view-synthesis > .nvs-demo { margin-bottom: 24px; }
.nvs-overview { display: flex; justify-content: center; width: min(100% - 32px, 688px); gap: 26px; margin: 24px auto 48px; }
.nvs-case-thumb { display: block; flex: 0 1 212px; min-width: 0; padding: 0; border: 0; border-radius: 13px; overflow: hidden; background: transparent; cursor: pointer; }
.nvs-case-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.nvs-case-thumb:focus-visible { outline: 2px solid #2a679c; outline-offset: 4px; }
@media (max-width: 560px) { .nvs-overview { gap: 16px; } }
.nvs-four-inputs { grid-template-columns: minmax(0, 1fr) minmax(0, 3.267973856fr); }
.nvs-four-inputs .nvs-input-view { aspect-ratio: 714 / 350; }
.nvs-input, .nvs-output { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.nvs-input > span, .nvs-output > span { color: #0865d9; font-size: 14px; font-weight: 500; }
.nvs-input > span { color: #6873c8; }
.nvs-input-stack { display: flex; flex-direction: column; overflow: hidden; border-radius: 8px; outline: 1px solid #30303b20; }
.nvs-input-view { position: relative; aspect-ratio: 5 / 3; overflow: hidden; }
.nvs-input-view img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter 250ms; }
.nvs-input-view::after { content: ''; position: absolute; inset: 0; background: rgba(249,249,251,.76); opacity: 0; transition: opacity 250ms; pointer-events: none; }
.nvs-input-view.is-masked::after { opacity: 1; }
.nvs-input-view.is-masked img { filter: grayscale(1); }
.nvs-coffee-inputs { grid-template-columns: minmax(0, 4fr) minmax(0, 15fr); }
.nvs-coffee-inputs .nvs-input-view { aspect-ratio: 4 / 3; }
.nvs-video-stack { position: relative; width: 100%; aspect-ratio: 5 / 3; overflow: hidden; border-radius: 8px; background: #eeeef3; }
.nvs-video-stack video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.nvs-selector { grid-column: 1 / -1; width: min(416px, 90%); justify-self: center; text-align: center; margin-top: 4px; }
.nvs-selector label { display: block; margin: 0 -80px 8px; font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.nvs-slider-track { position: relative; height: 32px; display: flex; align-items: center; }
.nvs-selector input { --nvs-progress: 0%; appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 4px; margin: 0; border-radius: 4px; background: linear-gradient(to right, #2a679c var(--nvs-progress), #30303b26 var(--nvs-progress)); cursor: ew-resize; }
.nvs-selector input::-webkit-slider-thumb { appearance: none; width: 14px; height: 24px; border-radius: 5px; background: #2a679c; box-shadow: 0 1px 4px #0003; position: relative; z-index: 2; }
.nvs-selector input::-moz-range-thumb { width: 14px; height: 24px; border: 0; border-radius: 5px; background: #2a679c; box-shadow: 0 1px 4px #0003; }
.nvs-selector input:focus-visible { outline: 2px solid #2a679c; outline-offset: 10px; }
.nvs-slider-dots { position: absolute; inset: 0 7px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.nvs-slider-dots i { width: 6px; height: 6px; border-radius: 50%; background: #30303b4d; }
.nvs-ticks { display: flex; justify-content: space-between; font-size: 12px; color: #77788d; }
@media (max-width: 560px) { .nvs-demo { gap: 16px 8px; } .nvs-input, .nvs-output { gap: 6px; } .nvs-selector label { margin-inline: 0; font-size: 15px; } .nvs-input-stack, .nvs-video-stack { border-radius: 4px; } }
@media (prefers-reduced-motion: reduce) { .nvs-input-view img, .nvs-input-view::after { transition: none; } }

.mini-strip img {
  width: 91px;
  flex: 0 0 91px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 7px;
}

.pointmap-figure {
  width: min(1072px, calc(100% - 80px));
  min-height: 617.25px;
  margin-top: 40px;
}

.pointmap-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 23px;
}

.pointmap-strip img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 7px;
  opacity: 0.44;
}

.pointmap-strip img.active {
  border-color: var(--ink);
  opacity: 1;
}

.pointmap-pair {
  display: grid;
  grid-template-columns: 25% minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.pointmap-pair > div {
  position: relative;
}

.pointmap-pair img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 11px;
}

.pointmap-pair > div:last-child img {
  aspect-ratio: 16 / 9;
}

.pointmap-pair b {
  position: absolute;
  bottom: 17px;
  left: 50%;
  padding: 8px 12px;
  border-radius: 7px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  font-size: 11px;
  font-weight: 500;
  transform: translateX(-50%);
  white-space: nowrap;
}

.splat-viewer {
  position: relative;
  width: min(1072px, calc(100% - 80px));
  overflow: visible;
  border-radius: 0;
  background: transparent;
  min-height: 785.2px;
  margin-top: 40px;
}

.splat-viewer > img {
  width: 100%;
  height: 751.2px;
  object-fit: cover;
  border-radius: 15px;
}

.viewer-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 7px;
}

.viewer-controls button {
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  color: #fff;
  background: rgba(21, 21, 26, 0.52);
  cursor: pointer;
}

.wasd {
  position: absolute;
  bottom: 15px;
  left: 50%;
  padding: 8px 12px;
  border-radius: 7px;
  color: #fff;
  background: rgba(21, 21, 26, 0.54);
  font-size: 10px;
  transform: translateX(-50%);
}

.splat-viewer figcaption {
  position: static;
}

.bts-stage {
  position: relative;
  aspect-ratio: 16 / 9;
}

.bts-stage span {
  position: absolute;
  right: 13px;
  bottom: 13px;
  padding: 7px 10px;
  border-radius: 6px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  font-size: 10px;
}

.reframing-demo,
.bts-demo,
.robotics-media {
  width: min(1072px, calc(100% - 80px));
}

.reframing-demo {
  height: 606.7px;
  margin-top: 48px;
  overflow: hidden;
}

.bts-demo {
  min-height: 340px;
  margin-top: 40px;
}

.robotics-media {
  min-height: 659px;
}

.robot-navigation {
  min-height: 730px;
  margin-top: 48px;
}

.robot-manipulation {
  margin-top: 40px;
}

.bts-grid {
  height: 300px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 7px;
}

.bts-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}

.bts-grid img:first-child {
  grid-column: span 2;
}

.robotics-media video {
  aspect-ratio: 16 / 9;
}

.image-marquee {
  width: min(1072px, calc(100% - 80px));
  height: 1072px;
  margin-top: 48px;
  overflow: hidden;
}

.image-row {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: image-drift 42s linear infinite alternate;
}

.image-row + .image-row {
  margin-top: 12px;
}

.image-row.reverse {
  transform: translateX(-10%);
  animation-name: image-drift-reverse;
  animation-duration: 48s;
}

.image-row img {
  width: 354px;
  flex: 0 0 354px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

@keyframes image-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-14%); }
}

@keyframes image-drift-reverse {
  from { transform: translateX(-12%); }
  to { transform: translateX(2%); }
}

.panorama-figure {
  position: relative;
  width: min(1072px, calc(100% - 80px));
  height: 717.12px;
  margin-top: 40px;
}

.prompt-card {
  position: absolute;
  right: 17px;
  bottom: 17px;
  width: min(285px, calc(100% - 34px));
  padding: 13px 15px 15px;
  border-radius: 9px;
  color: #fff;
  background: rgba(27, 27, 33, 0.56);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.prompt-card span {
  display: block;
  margin-bottom: 7px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.prompt-card p {
  margin: 0;
  font-size: 11px;
  line-height: 16px;
}

.architecture-diagram {
  display: grid;
  grid-template-columns: 0.8fr 36px 1.2fr;
  align-items: center;
  min-height: 534.49px;
  width: min(1072px, calc(100% - 80px));
  padding: 20px;
  border-radius: 14px;
  background: #eeeeF2;
  margin-top: 48px;
  margin-bottom: 56px;
}

.diagram-panel {
  align-self: stretch;
  padding: 16px;
  border: 1px solid rgba(46, 46, 56, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.64);
}

.diagram-panel small {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.diagram-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.context-panel .diagram-cards {
  grid-template-columns: 0.72fr 1fr;
}

.diagram-cards img,
.diagram-cards video,
.prompt-mini {
  width: 100%;
  height: 116px;
  overflow: hidden;
  border-radius: 6px;
  object-fit: cover;
  background: #e1e1e8;
}

.prompt-mini {
  padding: 10px;
  color: var(--body);
  font-size: 8px;
  line-height: 12px;
}

.diagram-arrow {
  color: var(--muted);
  font-size: 21px;
  text-align: center;
}

.architecture-diagram figcaption {
  grid-column: 1 / -1;
  margin-bottom: -26px;
}

.benchmark img {
  width: 100%;
  height: auto;
}

.wide-chart {
  width: min(720px, calc(100% - 48px));
  min-height: 438px;
  margin-top: 40px;
}

.benchmark:not(.wide-chart) {
  min-height: 296px;
  margin-top: 48px;
}

.output-3d-demo {
  height: 671.46px;
  min-height: 0;
  margin-top: 48px;
  overflow: hidden;
}

#reconstructing-from-multiple-images {
  margin-top: 26.5625px;
}

#reframing-video,
#benchmarks {
  margin-top: 26.5625px;
}

#benchmarks {
  margin-top: 23.84375px;
}

#build-with-atlas {
  padding-top: 44.625px;
  scroll-margin-top: -44.625px;
}

.reconstruction-demo {
  margin-top: 48px;
}

.read-more {
  width: min(1280px, 100%);
  margin-top: 128px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 40px;
}

.read-more > h2 {
  margin: 0 0 24px;
  font-family: "Gilda Display", Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -2.4px;
  line-height: 48px;
}

.read-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.read-card {
  min-width: 0;
  height: 396.8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
}

.read-copy {
  flex: 0 0 auto;
  padding: 24px;
}

.read-copy span {
  display: block;
  color: #9494a8;
  font-size: 16px;
  line-height: 20px;
}

.read-copy h3 {
  margin: 8px 0 16px;
  font-family: "Roobert", Arial, sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -1.44px;
  line-height: 28.8px;
}

.read-copy p {
  margin: 0;
  color: #9494a8;
  font-size: 16px;
  line-height: 20px;
}

.read-image {
  min-height: 216px;
  flex: 1 1 auto;
  position: relative;
  overflow: hidden;
}

.read-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.site-footer {
  width: calc(100% - 80px);
  height: 864px;
  position: relative;
  margin: 192px 40px 40px;
}

.footer-card {
  width: 100%;
  height: 784px;
  position: absolute;
  top: 20px;
  left: 0;
  overflow: hidden;
  border-radius: 16px;
  color: var(--paper);
  background: #2a679c;
}

.footer-cta {
  width: 100%;
  height: 354px;
  position: absolute;
  z-index: 3;
  top: 48px;
  left: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.footer-cta h2 {
  margin: 0;
  padding: 0 16px;
  font-family: "Gilda Display", Georgia, serif;
  font-size: 120px;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.1;
  text-align: center;
}

.footer-cta .pill {
  height: 58px;
  margin-top: 32px;
  padding: 20px 64px;
  color: var(--paper);
  gap: 0;
  font-size: 16px;
  line-height: 16px;
  white-space: nowrap;
}

.footer-cta .pill svg {
  width: 20px;
  height: 20px;
  margin-left: 8px;
}

.footer-illustration {
  width: 100%;
  height: 600px;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  object-fit: contain;
  object-position: bottom;
}

.footer-nav {
  position: absolute;
  z-index: 2;
  top: 352px;
  left: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-nav a {
  width: max-content;
  color: var(--paper);
  font-size: 16px;
  line-height: 16px;
  text-decoration: none;
}

.footer-bottom {
  width: 100%;
  height: 80px;
  position: absolute;
  z-index: 4;
  top: 784px;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  padding-top: 40px;
  color: var(--ink);
}

.footer-bottom p {
  margin: 0;
  padding: 0 16px;
  color: var(--body);
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 20px;
  text-align: center;
  text-transform: uppercase;
}

.footer-bottom .footer-brand {
  width: 100%;
  height: 32px;
}

.socials {
  display: flex;
  justify-self: end;
  gap: 16px;
}

.socials a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--ink);
  font-size: 11px;
  text-decoration: none;
}

.socials a:first-child {
  width: 22.61px;
}

@media (max-width: 1040px) {
  .nav-links {
    gap: 14px;
    margin-left: 28px;
    font-size: 13px;
  }

  .resource-link {
    min-width: 50px;
  }

  .resource-link-wide {
    min-width: 82px;
  }

  .resource-icon {
    width: 31px;
    height: 31px;
  }

  .nav-links .pill {
    padding-right: 17px;
    padding-left: 17px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 62px;
  }

  .nav-shell {
    padding: 0 24px;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 auto;
    margin-left: 0;
    max-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    padding: 0 24px;
    background: rgba(249, 249, 251, 0.98);
    border-bottom: 1px solid transparent;
    font-size: 18px;
    opacity: 0;
    transition: max-height 350ms ease, padding 350ms ease, opacity 180ms ease;
  }

  .nav-links.open {
    max-height: calc(100vh - var(--header-height));
    padding-top: 16px;
    padding-bottom: 26px;
    border-color: var(--rule);
    opacity: 1;
  }

  .nav-links > a {
    padding: 13px 0;
  }

  .nav-links .resource-link {
    min-width: 0;
    height: auto;
    justify-content: flex-start;
    flex-direction: row;
    gap: 14px;
    padding: 9px 0;
  }

  .nav-links .resource-icon {
    width: 28px;
    height: 28px;
  }

  .nav-links .pill {
    margin-top: 9px;
  }

  .menu-button {
    display: block;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  main {
    padding-top: 0;
  }

  .hero-shell {
    padding: 0 24px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 42px;
  }

  .hero-kicker {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 18px;
  }

  .hero-meta h1 {
    grid-row: 1;
    font-size: 34px;
  }

  .article {
    margin-top: 91px;
  }

  .article-section {
    padding-top: 73px;
  }

  .article-section:first-of-type {
    padding-top: 73px;
  }

  .article-section + .article-section {
    margin-top: 44px;
  }

  .sticky-label {
    margin-bottom: 72px;
    padding: 0 24px;
  }

  .article-section + .article-section .sticky-label {
    margin-bottom: 72px;
  }

  .full-bleed {
    width: calc(100% - 48px);
  }

  .thumb-strip {
    grid-template-columns: repeat(12, 82px);
  }

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

  .footer-cta {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-bottom p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 17px;
  }

  main {
    padding-top: 0;
  }

  .project-header {
    width: calc(100% - 32px);
    padding: 32px 0;
  }

  .project-authors {
    margin-top: 24px;
  }

  .author-row {
    column-gap: 18px;
  }

  .project-resources {
    max-width: 360px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 12px;
    margin-top: 28px;
  }

  .project-resources .resource-icon {
    width: 30px;
    height: 30px;
  }

  .hero-meta {
    display: flex;
    flex-direction: column;
  }

  .hero-kicker {
    width: 100%;
    grid-template-columns: 104px 1fr;
    font-size: 12px;
    line-height: 18px;
  }

  .hero-meta h1 {
    order: -1;
    font-size: 32px;
    line-height: 1.12;
  }

  .copy p,
  .copy li {
    font-size: 16px;
    line-height: 26px;
  }

  .copy h2 {
    font-size: 24px;
  }

  .copy h3 {
    margin-top: 48px;
    font-size: 20px;
  }

  .figure {
    margin-top: 40px;
    margin-bottom: 55px;
  }

  .wide,
  .full-bleed {
    width: calc(100% - 32px);
  }

  .input-output,
  .reconstruction-demo,
  .context-demo {
    grid-template-columns: 1fr;
  }

  .input-output {
    flex-direction: column;
  }

  .long-demo,
  .path-demo {
    display: block;
  }

  .long-input {
    width: 45%;
    margin-bottom: 13px;
  }

  .long-demo .filmstrip,
  .path-demo .filmstrip {
    height: auto;
  }

  .path-demo .filmstrip {
    display: flex;
    margin-bottom: 12px;
  }

  .path-demo .filmstrip img {
    width: 82px;
    flex: 0 0 82px;
  }

  .path-demo .segmented {
    margin-top: 14px;
  }

  .input-pane {
    width: 100%;
    flex-basis: auto;
  }

  .context-inputs {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
  }

  .context-inputs > div {
    aspect-ratio: 16 / 9;
  }

  .context-demo figcaption,
  .reconstruction-demo figcaption {
    grid-column: auto;
  }

  .reconstruction-inputs {
    width: 42%;
    height: 310px;
    margin-bottom: 13px;
  }

  .reconstruction-demo {
    padding-bottom: 28px;
  }

  .pointmap-strip {
    grid-template-columns: repeat(7, 82px);
    overflow-x: auto;
  }

  .pointmap-pair {
    grid-template-columns: 1fr;
  }

  .pointmap-pair > div:first-child {
    width: 42%;
    margin-bottom: 12px;
  }

  .splat-viewer > img,
  .panorama-figure {
    height: min(122vw, 540px);
  }

  .bts-grid {
    height: 250px;
  }

  .camera-hud {
    width: 86px;
    top: 10px;
    right: 10px;
  }

  .camera-hud span:nth-child(2) {
    display: none;
  }

  .image-row img {
    width: 190px;
    flex-basis: 190px;
  }

  .image-marquee {
    height: auto;
  }

  .architecture-diagram {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .diagram-arrow {
    padding: 7px;
    transform: rotate(90deg);
  }

  .architecture-diagram figcaption {
    margin-bottom: -44px;
  }

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

  .reconstruction-grid img:nth-child(n + 2) {
    display: none;
  }

  .read-more {
    margin-top: 125px;
    padding: 0 16px 90px;
  }

  .read-more > h2 {
    margin-left: 8px;
    font-size: 36px;
  }

  .read-card {
    min-height: 430px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .read-card > img {
    grid-row: 1;
  }

  .read-copy h3 {
    margin-top: 36px;
  }

  .site-footer {
    min-height: 700px;
    padding: 47px 24px 28px;
  }

  .footer-cta h2 {
    font-size: clamp(52px, 17vw, 76px);
    line-height: 0.9;
  }
}

@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;
  }
}
