:root {
  --text: #222;
  --muted: #555;
  --light: #f5f5f5;
  --line: #e5e5e5;
  --link: #3273dc;
  --dark: #111827;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: white;
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 48px 0 34px;
  text-align: center;
}

h1 {
  max-width: 980px;
  margin: 0 auto 16px;
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
}

.authors {
  margin: 8px 0 0;
  color: #333;
  font-size: clamp(20px, 2.5vw, 32px);
  font-style: italic;
  line-height: 1.35;
}

.authors sup {
  font-size: 0.58em;
  font-style: normal;
}

.affiliations {
  margin: 8px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 20px);
  line-height: 1.45;
}

.affiliations p {
  margin: 2px 0;
}

.affiliations sup {
  font-size: 0.72em;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px auto 30px;
}

.links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  background: #363636;
  padding: 0 18px;
  color: white;
  font-size: 15px;
  font-weight: 600;
}

.links a:hover {
  background: #111;
  text-decoration: none;
}

.main-video {
  max-width: 960px;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #111;
}

.video-frame img,
.video-frame video,
.video-grid img,
.video-grid video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-frame video {
  background: #111;
}

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74px;
  height: 74px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.25);
}

.play::after {
  position: absolute;
  top: 23px;
  left: 30px;
  width: 0;
  height: 0;
  border-bottom: 14px solid transparent;
  border-left: 20px solid #111;
  border-top: 14px solid transparent;
  content: "";
}

figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

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

.narrow {
  max-width: 830px;
  margin: 0 auto;
}

h2 {
  margin: 0 0 18px;
  color: #111;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
}

h3 {
  margin: 0 0 8px;
  color: #111;
  font-size: 18px;
  font-weight: 650;
}

p {
  margin: 0 0 16px;
}

.section-intro {
  max-width: 760px;
  margin: 0 auto 22px;
  color: var(--muted);
  text-align: center;
}

.columns article,
.method-points article,
.release-box {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 18px;
}

.method-points p,
.columns li,
.release-box {
  color: var(--muted);
  font-size: 15px;
}

.paper-figure {
  max-width: 980px;
  margin: 24px auto 0;
}

.paper-figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.dataset-figure {
  max-width: 980px;
}

.dataset-figure img {
  object-fit: contain;
}

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

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

ul {
  margin: 0;
  padding-left: 20px;
}

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

.video-grid figure,
.results-grid figure {
  margin: 0;
}

.video-grid img,
.video-grid video,
.video-grid .placeholder {
  border-radius: 5px;
}

.video-grid img.result-image {
  border: 1px solid var(--line);
  background: white;
  object-fit: contain;
}

.results-section {
  padding-left: 0;
  padding-right: 0;
}

.results-grid {
  display: grid;
  gap: 40px;
  max-width: 980px;
  margin: 0 auto;
}

.results-grid figure {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.results-grid video,
.results-grid img {
  display: block;
  width: 100%;
  border-radius: 6px;
  background: white;
}

.results-grid video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.results-grid img.result-image {
  border: 1px solid var(--line);
}

.results-grid figcaption {
  max-width: 900px;
  margin: 10px auto 0;
  font-size: 13.5px;
  line-height: 1.42;
}

.placeholder {
  display: grid;
  min-height: unset;
  aspect-ratio: 16 / 9;
  place-items: center;
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(28, 45, 64, 0.92), rgba(67, 91, 105, 0.82)),
    #1f2937;
  color: white;
  font-weight: 650;
}

.release-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  text-align: center;
}

.release-box span {
  border-radius: 999px;
  background: var(--light);
  padding: 8px 13px;
}

@media (max-width: 860px) {
  .columns,
  .method-points,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }
}
