:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: #000;
  color: #ededed;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  background: #000;
}

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  backface-visibility: hidden;
}

.hero-video--backdrop {
  transform: scale(1.1);
  object-fit: cover;
  opacity: 0.6;
  filter: blur(40px);
}

.hero-video--foreground {
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}

.hero-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  text-align: center;
}

.hero-fallback[hidden] {
  display: none;
}

.hero-fallback p {
  max-width: 28rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: #71717a;
}

.hero-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.05) 35%,
    rgba(0, 0, 0, 0.05) 65%,
    rgba(0, 0, 0, 0.75)
  );
  will-change: opacity;
}

.hero-overlay h1 {
  margin: 0;
  text-align: center;
  font-size: 2.5rem;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}

@media (min-width: 640px) {
  .hero-overlay h1 {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-overlay h1 {
    font-size: 5.5rem;
  }
}

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.hero-scroll-label {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  color: #d4d4d8;
}

@media (min-width: 640px) {
  .hero-scroll-label {
    font-size: 0.8rem;
  }
}

.hero-chevron {
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 1.5px solid #d4d4d8;
  border-bottom: 1.5px solid #d4d4d8;
  transform: rotate(45deg);
  animation: chevron-bounce 1.8s ease-in-out infinite;
}

@keyframes chevron-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.5;
  }
  50% {
    transform: translateY(6px) rotate(45deg);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-chevron {
    animation: none;
  }
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.scroll-progress-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  will-change: width;
}

.site-footer {
  display: flex;
  height: 8rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: #000;
  font-size: 0.7rem;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #52525b;
}
