:root {
  --text: #1f2933;
  --muted: #5f6b7a;
  --soft: #f5f7fa;
  --line: #d9e0e8;
  --blue: #3273dc;
  --cyan: #29a9d6;
  --orange: #f47b38;
  --paper: #ffffff;
  --shadow: 0 18px 55px rgba(31, 41, 51, 0.12);
  --radius: 10px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

@supports (font-variation-settings: normal) {
  :root {
    --font: "Inter var", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:hover {
  text-decoration: underline;
}

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.12;
}

button {
  font: inherit;
}

.container {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 24px;
}

.container.slim {
  width: min(100%, 960px);
}

.cover {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background: #e9eef5;
}

.cover__media,
.cover__shade {
  position: absolute;
  inset: 0;
}

.cover__media {
  z-index: 1;
  overflow: hidden;
  background: #e9eef5;
}

.cover__video-carousel {
  position: absolute;
  inset: 0;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  background: #101827;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cover__video-carousel::-webkit-scrollbar {
  display: none;
}

.cover__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
  background: #101827;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.cover__slide video {
  position: static;
  inset: auto;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center center;
  transform: none;
  transform-origin: center center;
  filter: saturate(0.98) contrast(1.03);
}

.cover__slide--dance video {
  object-fit: cover;
  transform: scale(0.94);
}

.cover__slide figcaption {
  display: none;
}

.cover__shade {
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16, 24, 38, 0.34), rgba(16, 24, 38, 0.22) 34%, rgba(16, 24, 38, 0.46)),
    linear-gradient(90deg, rgba(16, 24, 38, 0.36), rgba(16, 24, 38, 0.08), rgba(16, 24, 38, 0.34));
}

.topbar {
  position: absolute;
  top: 0;
  left: auto;
  right: 36px;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 700;
}

.topbar a {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
}

.topbar__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 24px;
  border-radius: 999px;
  color: #1d2734 !important;
  background: #fff;
  text-shadow: none !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.topbar__button:hover {
  color: var(--blue) !important;
  text-decoration: none;
}

.cover__content {
  position: relative;
  z-index: 4;
  width: min(100%, 1180px);
  padding: 112px 24px 70px;
  text-align: center;
}

.cover h1 {
  font-size: clamp(68px, 12vw, 156px);
  font-weight: 900;
  color: transparent;
  background: linear-gradient(100deg, #c9f7ff 0%, #32cfe8 28%, #66ead2 52%, #a8f5b4 76%, #ed8b43 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 5px 18px rgba(0, 0, 0, 0.42));
}

.cover__subtitle {
  max-width: 1040px;
  margin: 18px auto 0;
  color: #fff;
  font-size: clamp(27px, 4vw, 54px);
  font-weight: 780;
  line-height: 1.12;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.45);
}

.cover__authors {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(18px, 2.05vw, 25px);
  font-weight: 650;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.cover__authors span {
  display: block;
  margin-top: 6px;
  font-size: 0.9em;
  opacity: 0.9;
}

.cover__authors sup {
  font-size: 0.72em;
  line-height: 0;
  vertical-align: super;
}

.cover__authors .cover__author-note {
  margin-top: 9px;
  font-size: clamp(15px, 1.45vw, 19px);
  font-weight: 650;
  opacity: 0.95;
}

.cover__links {
  display: flex;
  width: fit-content;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 24px auto 0;
}

.cover__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff !important;
  background: rgba(18, 26, 38, 0.42);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-shadow: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1), background 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.cover__links a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.4) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.cover__links a svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.25s ease;
}

.cover__links a:hover {
  transform: translateY(-3px);
  color: #12233c !important;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
  text-decoration: none;
}

.cover__links a:hover::after {
  transform: translateX(130%);
}

.cover__links a:hover svg {
  transform: scale(1.12);
}

.cover__links a:active {
  transform: translateY(-1px) scale(0.985);
}

.cover__links a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}


.cover__active-caption {
  margin: clamp(128px, 18vh, 230px) auto 0;
  color: #fff;
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 820;
  line-height: 1.2;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.58);
}

.cover__carousel-controls {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 14px;
  margin: 14px auto 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.28);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.cover__arrow,
.cover__dots button {
  border: 0;
  color: #fff;
  cursor: pointer;
}

.cover__arrow {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 29px;
  line-height: 1;
}

.cover__arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}

.cover__dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.cover__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
}

.cover__dots button.is-active {
  width: 28px;
  background: linear-gradient(100deg, #32cfe8, #a8f5b4, #ed8b43);
}

.section {
  padding: 72px 0;
}

.section--soft {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--intro {
  padding-top: 80px;
}

h2 {
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 820;
}

h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 22px;
}

.lead {
  max-width: 820px;
  margin: -8px auto 28px;
  color: var(--muted);
  font-size: 19px;
  text-align: center;
}

.center {
  text-align: center;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 340px;
  gap: 48px;
  align-items: start;
}

.intro-grid p {
  color: var(--muted);
  font-size: 18px;
  text-align: justify;
}

.intro-grid p + p {
  margin-top: 16px;
}

.intro-grid strong {
  color: var(--text);
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stats div {
  min-height: 130px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 34px;
  line-height: 1;
  background: linear-gradient(100deg, #29a9d6 0%, #32cfe8 24%, #2fc1a0 52%, #6fce6c 74%, #ef8534 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stats span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.figure {
  margin: 24px auto 0;
  overflow: hidden;
  border: 1px solid #cfd8e3;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.figure--wide {
  width: min(100%, 1180px);
}

.figure--bare {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.figure img {
  width: 100%;
  background: #fff;
}

.figure video {
  width: 100%;
  background: #000;
}

.figure--bare img {
  background: transparent;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
}

.two-col article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.two-col p {
  color: var(--muted);
}

.evidence {
  display: grid;
  gap: 24px;
}

.evidence .figure:nth-child(2),
.evidence .figure:nth-child(3) {
  width: min(100%, 760px);
}

.clips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.clips--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 880px);
  margin-left: auto;
  margin-right: auto;
}

.clip-subtitle {
  margin: 48px 0 10px;
  text-align: center;
  font-size: 28px;
}

.clip-lead {
  margin-bottom: 22px;
}

.clips figure {
  overflow: hidden;
  border: 1px solid #cfd8e3;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.clips img,
.clips video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #fff;
}

.clips video {
  max-width: none;
}

.clips figcaption {
  padding: 12px 14px 14px;
  color: var(--text);
  font-size: 17px;
  font-weight: 760;
  text-align: center;
}


.motion-player {
  width: min(100%, 900px);
  margin: 30px auto 0;
}

.motion-player__tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.motion-player__tabs button,
.motion-player__chooser button {
  min-height: 42px;
  border: 1px solid #cfd8e3;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  font-weight: 780;
  box-shadow: 0 8px 24px rgba(31, 41, 51, 0.08);
}

.motion-player__tabs button {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 15px;
}

.motion-player__tabs button:hover,
.motion-player__tabs button.is-active,
.motion-player__chooser button:hover,
.motion-player__chooser button.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(100deg, #29a9d6, #62dfc8 52%, #f47b38);
  text-decoration: none;
}

.motion-player__stage {
  overflow: hidden;
  border: 1px solid #cfd8e3;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

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

.motion-player__stage figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px 15px;
  color: var(--text);
}

.motion-player__stage strong {
  font-size: 18px;
  font-weight: 820;
}

.motion-player__stage span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.motion-player__chooser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 9px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #cfd8e3;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 36px rgba(31, 41, 51, 0.09);
}

.motion-player__chooser button {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.15;
}

.bibtex {
  position: relative;
  overflow: hidden;
  border: 1px solid #cfd8e3;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.bibtex button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
}

.bibtex button:hover,
.bibtex button.is-copied {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.bibtex pre {
  margin: 0;
  padding: 54px 22px 22px;
  overflow-x: auto;
  color: #25364a;
  background: #f8fafc;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
}

.footer {
  padding: 34px 0 44px;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  font-weight: 650;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 14px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer__links a svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.footer__links a:hover {
  color: var(--blue);
  border-color: rgba(50, 115, 220, 0.45);
  background: rgba(50, 115, 220, 0.07);
  transform: translateY(-1px);
  text-decoration: none;
}

.footer__links a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .topbar {
    display: none;
  }

  .cover__links {
    display: flex;
  }

  .intro-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

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

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

  .clips figure:last-child {
    grid-column: auto;
  }


  .motion-player__stage figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }

  .cover {
    min-height: 88svh;
  }

  .cover__content {
    padding-top: 92px;
    padding-bottom: 72px;
  }

  .cover h1 {
    font-size: 58px;
  }

  .cover__subtitle {
    font-size: 24px;
  }

  .section {
    padding: 54px 0;
  }

  .cover__links a {
    min-height: 46px;
    padding: 11px 18px;
    font-size: 15px;
  }

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

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

  .cover__links a,
  .cover__links a svg,
  .cover__links a::after,
  .footer__links a {
    transition: none;
  }

  .cover__links a:hover,
  .cover__links a:active,
  .footer__links a:hover {
    transform: none;
  }
}
