:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-soft: #0f1011;
  --bg-panel: #161719;
  --ink: #f7f2ea;
  --muted: #c8c0b6;
  --subtle: #8f8881;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #ff8a3d;
  --accent-2: #4cc7d8;
  --accent-3: #78d17f;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Roboto, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(5, 5, 5, 0.24);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.84);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(100% - 32px, var(--max));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  color: rgba(247, 242, 234, 0.76);
  border-radius: 999px;
  font-size: 0.85rem;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 112px 20px 80px;
  border-bottom: 1px solid var(--line);
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  opacity: 0.9;
  filter: saturate(1.02) contrast(1.02);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.68) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.56) 0%, rgba(5, 5, 5, 0.08) 46%, rgba(5, 5, 5, 0.5) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1000px);
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 5rem;
  line-height: 0.98;
  font-weight: 900;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.48);
}

.subtitle {
  width: min(100%, 840px);
  margin: 22px auto 0;
  color: rgba(247, 242, 234, 0.88);
  font-size: 1.45rem;
  line-height: 1.45;
  font-weight: 600;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.52);
}

.authors {
  width: min(100%, 920px);
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.authors p {
  margin: 0;
}

.author-list {
  color: rgba(247, 242, 234, 0.9);
  font-weight: 700;
}

.affiliations {
  margin-top: 8px !important;
  color: rgba(247, 242, 234, 0.72);
}

.author-notes {
  margin-top: 6px !important;
  color: rgba(247, 242, 234, 0.56);
  font-size: 0.88rem;
}

.authors sup {
  margin-left: 1px;
  font-size: 0.72em;
  line-height: 0;
}

.marker {
  color: var(--accent);
  font-weight: 900;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.11);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.18);
}

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

.button.disabled {
  cursor: not-allowed;
  color: rgba(247, 242, 234, 0.48);
  background: rgba(255, 255, 255, 0.06);
}

.button.disabled:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.24);
}

.section {
  padding: 88px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.section-light {
  background: #111213;
}

.section-inner {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: 48px;
  align-items: start;
}

.two-column > * {
  min-width: 0;
}

.section h2 {
  margin: 0;
  font-size: 2.3rem;
  line-height: 1.12;
  font-weight: 900;
}

.section-lede {
  width: min(100%, 860px);
  margin: 18px 0 32px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.abstract-copy p,
.ethics-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.abstract-copy p + p {
  margin-top: 20px;
}

.metric-strip {
  width: min(100% - 36px, var(--max));
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.metric-strip div {
  min-height: 108px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.metric-strip div:last-child {
  border-right: 0;
}

.metric-strip strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--ink);
}

.metric-strip span {
  display: block;
  margin-top: 10px;
  color: var(--subtle);
  font-size: 0.9rem;
}

.figure-shell {
  margin: 34px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f3ed;
  overflow-x: auto;
  overflow-y: hidden;
  box-shadow: var(--shadow);
}

.figure-shell.light {
  background: #f8f3ed;
}

.figure-shell img {
  width: 100%;
  min-width: 760px;
  padding: clamp(10px, 1.4vw, 18px);
  background: #fff;
}

.figure-shell figcaption {
  padding: 16px 18px;
  color: #5a5148;
  font-size: 0.95rem;
  line-height: 1.5;
  border-top: 1px solid var(--line);
  background: #f8f3ed;
}

.motion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.compare-card,
.camera-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.compare-card h3,
.camera-card h3 {
  margin: 0;
  padding: 16px 18px;
  font-size: 1rem;
  line-height: 1.25;
  border-bottom: 1px solid var(--line);
}

.paired-videos,
.variant-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
}

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

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

.single-video {
  background: var(--line);
}

.video-unit {
  position: relative;
  background: #090909;
}

.video-unit span {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  max-width: calc(100% - 20px);
  padding: 6px 9px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.68);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
  pointer-events: none;
}

.video-unit video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.single-video .video-unit video {
  aspect-ratio: 17 / 5;
  object-fit: contain;
}

.camera-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bibtex {
  margin: 26px 0 0;
  padding: 20px;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.42);
  color: #f7e7d7;
  font-size: 0.9rem;
  line-height: 1.55;
}

.bibtex code {
  display: block;
  min-width: 0;
}

.footer-columns {
  align-items: stretch;
}

.page-footer {
  padding: 32px 20px 44px;
  text-align: center;
  background: #050505;
  color: var(--subtle);
  font-size: 0.9rem;
}

.page-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .nav-shell {
    min-height: 72px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: 84vh;
    padding-top: 128px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .subtitle {
    font-size: 1.18rem;
  }

  .two-column,
  .motion-grid,
  .camera-grid {
    grid-template-columns: 1fr;
  }

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

  .metric-strip div:nth-child(2) {
    border-right: 0;
  }

  .metric-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .nav-links {
    gap: 4px;
  }

  .nav-links a {
    min-height: 30px;
    padding: 0 8px;
    font-size: 0.76rem;
  }

  .hero {
    min-height: 82vh;
    padding: 132px 18px 58px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .subtitle {
    font-size: 1.02rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    min-width: calc(50% - 8px);
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .section {
    padding: 64px 0;
  }

  .section h2 {
    font-size: 1.85rem;
  }

  .section-lede,
  .abstract-copy p,
  .ethics-copy {
    font-size: 0.98rem;
  }

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

  .metric-strip div,
  .metric-strip div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-strip div:last-child {
    border-bottom: 0;
  }

  .paired-videos,
  .variant-grid {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
