:root {
  --ink: #242424;
  --muted: #4a4a4a;
  --line: #dbdbdb;
  --paper: #ffffff;
  --soft: #ffffff;
  --accent: #242424;
  --accent-2: #209cee;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.625;
  background: var(--paper);
}

body {
  margin: 0;
  background: #ffffff;
}

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

a:hover {
  text-decoration: underline;
}

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

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

.narrow {
  width: min(900px, calc(100% - 32px));
}

.hero {
  padding: 48px 0 24px;
  text-align: center;
  background: #ffffff;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.venue {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  width: min(980px, 100%);
  margin: 0;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
}

h2 {
  margin: 0 0 24px;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

h3 {
  margin: 16px 0 6px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 14px;
  margin: 24px 0 6px;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 1.25rem;
}

.affiliations {
  margin: 0;
  color: var(--muted);
  font-size: 1.25rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 30px;
}

.button {
  display: inline-flex;
  min-width: 92px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 18px;
  color: white;
  font-weight: 700;
  background: var(--ink);
  box-shadow: none;
}

.button:hover {
  text-decoration: none;
  background: #363636;
}

.button.disabled {
  cursor: not-allowed;
  opacity: 0.78;
}

.teaser {
  width: min(900px, 100%);
  margin: 0;
}

.teaser img,
.media-panel img {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

figcaption,
.caption {
  width: 100%;
  margin: 24px auto 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.625;
  text-align: justify;
}

.section {
  padding: 24px 0;
  background: #ffffff;
}

.tldr-section {
  padding-top: 8px;
  padding-bottom: 24px;
}

.section.soft {
  background: #ffffff;
}

.lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.625;
  text-align: justify;
}

.section p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.625;
  text-align: justify;
}

.section p.caption {
  margin-top: 24px;
}

.media-panel {
  margin-top: 0;
}

.prose {
  hyphens: auto;
  text-align: justify;
  text-justify: inter-word;
}

.lead strong,
.prose strong,
.emphasis-label,
.emphasis-statement {
  font-weight: 800;
}

.emphasis-label,
.emphasis-statement {
  font-family: Arial, Helvetica, sans-serif;
}

.video-switcher {
  margin-top: 0;
}

.section p.dataset-description {
  margin-bottom: 24px;
}

.video-container {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 560 / 124;
  border-radius: 0;
  background: #050505;
  box-shadow: none;
}

.video-container video {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  background: #050505;
  object-fit: contain;
}

.dataset-video-container {
  aspect-ratio: 1920 / 272;
}

.selection-panel {
  display: grid;
  grid-template-columns: repeat(5, 112px);
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  margin: 16px auto 0;
}

.selection-panel.dataset-selection-panel {
  grid-template-columns: repeat(4, 112px);
}

.video-choice {
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 3px solid transparent;
  border-radius: 10px;
  padding: 2px;
  color: var(--ink);
  font: inherit;
  background: #ffffff;
  box-shadow: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.video-choice img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 7px;
  object-fit: cover;
}

.dataset-selection-panel .video-choice img {
  aspect-ratio: 16 / 9;
}

.video-choice:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.16);
}

.video-choice.selected {
  border-color: #4a7aa5;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.video-choice:focus-visible {
  outline: 3px solid rgba(0, 107, 117, 0.5);
  outline-offset: 3px;
}

pre {
  overflow-x: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 1.25rem 1.5rem;
  background: #f5f5f5;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer {
  padding: 3rem 1.5rem 6rem;
  background: #fafafa;
}

.footer-icon {
  margin: 0 0 1.5rem;
  text-align: center;
}

.icon-link {
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  color: #000000;
}

.icon-link:hover {
  color: #363636;
}

.icon-link svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.site-credit {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 760px) {
  .hero {
    padding-top: 32px;
  }

  h2 {
    font-size: 1.75rem;
  }

  .button {
    min-width: 0;
    flex: 1 1 calc(50% - 12px);
  }
}

@media (max-width: 480px) {
  .selection-panel,
  .selection-panel.dataset-selection-panel {
    grid-template-columns: none;
    grid-auto-columns: 88px;
    grid-auto-flow: column;
    justify-content: start;
    overflow-x: auto;
    padding: 4px 2px 12px;
    overscroll-behavior-inline: contain;
  }
}
