/* ==========================================================================
   Header – Hero section with scrolling marquee text
   ========================================================================== */

.header {
  display: block;
}

.hero-marquee {
  overflow: hidden;
  width: 100vw;
  margin-top: 110px;
  cursor: auto;
}

.header-font-wrapper {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
}

.header-font-wrapper:nth-child(2) {
  animation: marquee 25s linear infinite;
}

.header-font-wrapper:nth-child(3) {
  animation: marquee 30s cubic-bezier(0.281, 0.229, 0.719, 0.75) infinite;
}

.header-font-wrapper:nth-child(4) {
  animation: marquee 15s cubic-bezier(0.251, 0.317, 0.754, 0.691) infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.h0-white {
  position: relative;
  display: block;
  overflow: visible;
  font-family: var(--font-mono);
  color: var(--color-dark);
  font-size: 280px;
  line-height: 280px;
  font-weight: 400;
  text-transform: uppercase;
  object-fit: fill;
}

.marquee-text-shadow {
  position: relative;
  z-index: 1;
  display: block;
  overflow: visible;
  font-family: var(--font-sans);
  color: var(--color-dark);
  font-size: 280px;
  line-height: 280px;
  font-weight: 400;
  text-transform: uppercase;
  text-shadow: 0 -140px 100px var(--color-black), 0 140px 100px var(--color-black);
  object-fit: fill;
}

.hero-scroll-link {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 1;
  display: block;
  width: 100vw;
  height: 100vh;
  cursor: s-resize;
}

.hero-scroll-link:hover {
  filter: blur(0);
}

/* Responsive – Header
   ========================================================================== */

@media (max-width: 479px) {
  .h0-white {
    font-size: 260px;
    line-height: 220px;
  }

  .marquee-text-shadow {
    font-size: 260px;
    line-height: 240px;
  }
}
