:root {
  --vm-bg: #050505;
  --vm-text: #080808;
  --vm-muted: rgba(8, 8, 8, 0.64);
}

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

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--vm-bg);
  overflow: hidden;
}

body {
  color: var(--vm-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

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

.intro-page {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 100vh;
  overflow: hidden;
  background: #ffffff;
}

.intro-video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.intro-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: clamp(24px, 4vw, 42px);
  padding: 24px;
  text-align: center;
  background: #ffffff;
}

.intro-fallback img {
  width: min(360px, 72vw);
  height: auto;
}

.intro-fallback p {
  margin: 0;
  max-width: 18ch;
  color: var(--vm-text);
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 850;
  line-height: 0.98;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-aspect-ratio: 4 / 5) {
  .intro-video {
    object-fit: contain;
    background: #ffffff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-video {
    display: none;
  }

  .intro-fallback {
    z-index: 3;
  }
}
