:root {
  --ink: #f8fafc;
  --text: #d6deea;
  --muted: #94a3b8;
  --bg: #070a0f;
  --surface: #0d121a;
  --surface-strong: #111823;
  --line: rgba(226, 232, 240, 0.12);
  --identity: #5eead4;
  --motion: #fb7185;
  --warm: #fbbf24;
  --max-width: 1180px;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 8% -6%, rgba(45, 212, 191, 0.12), transparent 30rem),
    radial-gradient(circle at 96% 10%, rgba(251, 113, 133, 0.09), transparent 28rem),
    var(--bg);
  font-family: "Google Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.progress-bar {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--identity), #60a5fa, var(--motion));
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 15, 0.82);
  backdrop-filter: blur(18px);
}

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

.nav-brand {
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  top: 84px;
  left: 50%;
  width: min(1020px, 88vw);
  height: 520px;
  border: 1px solid rgba(94, 234, 212, 0.13);
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1020px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--identity);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-right: auto;
  margin-bottom: 22px;
  margin-left: auto;
  color: var(--ink);
  font-size: clamp(2.7rem, 5.2vw, 4.35rem);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 0.99;
}

.accent-text {
  color: transparent;
  background: linear-gradient(100deg, var(--identity), #7dd3fc 48%, var(--motion));
  background-clip: text;
  -webkit-background-clip: text;
  white-space: nowrap;
}

.hero-lead {
  max-width: 760px;
  margin: 0 auto 30px;
  color: #b7c2d2;
  font-size: clamp(1.04rem, 2vw, 1.25rem);
}

.authors,
.internship-note {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}

.authors {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.05rem;
}

.authors a {
  text-decoration-color: rgba(94, 234, 212, 0.38);
  text-underline-offset: 4px;
}

.internship-note {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.9rem;
}

.affiliation-logos {
  margin: 18px auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 48px);
}

.affiliation-logo {
  position: relative;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.88;
  transition: opacity 180ms ease, transform 180ms ease;
}

.affiliation-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.affiliation-logo img {
  width: auto;
  max-width: 178px;
  max-height: 100%;
  filter: grayscale(1) brightness(0) invert(1);
  object-fit: contain;
}

.affiliation-logo.snu-logo img {
  width: 142px;
  max-width: 142px;
  max-height: 60px;
}

.affiliation-logo.postech-logo img {
  max-width: 162px;
}

.affiliation-logo.microsoft-logo img {
  width: 170px;
  max-width: 170px;
  height: auto;
}

.affiliation-number {
  position: absolute;
  top: 50%;
  right: calc(100% + 8px);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  transform: translateY(-50%);
}

.actions {
  margin: 28px 0 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.action-link {
  min-width: 104px;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(17, 24, 35, 0.8);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.action-link:hover,
.action-link:focus-visible {
  border-color: rgba(94, 234, 212, 0.55);
  background: rgba(20, 49, 47, 0.78);
}

.metrics {
  max-width: 940px;
  margin: 0 auto;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(13, 18, 26, 0.76);
}

.metric {
  min-height: 76px;
  padding: 8px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
}

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

.metric strong {
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.2;
}

.metric span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-showcase {
  position: relative;
  z-index: 2;
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.hero-shot,
.video-card,
.sample-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.hero-shot {
  aspect-ratio: 20 / 11;
}

.hero-shot video,
.video-card video,
.sample-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #05070b;
}

.hero-shot > .shot-label {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  text-align: left;
  text-shadow: 0 2px 9px #000;
}

.reference-thumb {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  width: 66px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
}

.reference-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shot .reference-thumb {
  top: 10px;
  left: 10px;
  width: 58px;
  border-radius: 10px;
}

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

.section-alt {
  background: rgba(255, 255, 255, 0.018);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2.1rem, 4.3vw, 3.65rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-heading > p:not(.section-kicker) {
  margin-bottom: 0;
  color: #aeb9c9;
  font-size: 1.08rem;
}

.overview-heading {
  max-width: none;
  margin-bottom: 42px;
}

.overview-heading h2 {
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  white-space: nowrap;
}

.overview-heading > p:not(.section-kicker) {
  max-width: 960px;
}

.overview-media {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.video-card {
  position: relative;
  aspect-ratio: 20 / 11;
}

.video-label {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 92px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  color: #fff;
  background: rgba(3, 6, 10, 0.62);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 700;
}

.media-note {
  grid-column: 1 / -1;
  margin: 2px 2px 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.method-figure {
  margin: 0;
}

.method-figure img {
  width: 100%;
  border-radius: 28px;
}

.method-figure figcaption {
  max-width: 900px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.93rem;
  text-align: center;
}

.principles {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.principle {
  padding: 26px;
  border-top: 1px solid var(--line);
}

.principle strong {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 1.05rem;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sample-card video {
  aspect-ratio: 20 / 11;
}

.sample-card .reference-thumb {
  width: 70px;
}

.sample-caption {
  min-height: 82px;
  padding: 17px 18px 19px;
}

.sample-caption strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.35;
}

.sample-caption span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-set {
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(13, 18, 26, 0.76);
}

.comparison-set + .comparison-set {
  margin-top: 28px;
}

.comparison-prompt {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.comparison-prompt img {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  object-fit: cover;
  background: #fff;
}

.comparison-prompt span {
  display: block;
  margin-bottom: 5px;
  color: var(--identity);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comparison-prompt p {
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.comparison-scroll {
  overflow-x: auto;
  padding: 14px;
  scrollbar-color: rgba(148, 163, 184, 0.42) transparent;
}

.comparison-row {
  min-width: 1050px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.comparison-item {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #090d13;
}

.comparison-item.ours {
  border-color: rgba(94, 234, 212, 0.55);
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.13);
}

.comparison-item video {
  width: 100%;
  aspect-ratio: 26 / 15;
  object-fit: cover;
  background: #05070b;
}

.comparison-item figcaption {
  padding: 10px 12px 11px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.comparison-item.ours figcaption {
  color: var(--identity);
}

.bibtex {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #cad5e3;
  background: #090d13;
  font: 0.88rem/1.65 "SFMono-Regular", Consolas, monospace;
}

.footer {
  padding: 44px 0 54px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--text);
}

@media (max-width: 900px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .hero-showcase,
  .sample-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .nav-inner {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav-brand {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a:nth-child(2),
  .nav-links a:nth-child(4) {
    display: none;
  }

  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .hero {
    padding: 70px 0 62px;
  }

  .metrics,
  .hero-showcase,
  .overview-media,
  .sample-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .section {
    padding: 76px 0;
  }

  .overview-heading h2 {
    white-space: normal;
  }

  .method-figure {
    margin-right: -7px;
    margin-left: -7px;
    overflow-x: auto;
  }

  .method-figure img {
    min-width: 780px;
  }
}

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