/* Compact the hero around its actual content instead of reserving decorative empty space. */
.hero-card {
  min-height: 142px;
}

.hero-card .brand-lockup {
  min-height: 142px;
}

.hero-card .brand-lockup::before {
  width: min(760px, 58vw);
  height: 126px;
}

/* The wordmark itself is now the signal; the old RGB rail is no longer needed. */
.hero-card .brand-lockup::after {
  display: none;
}

.hero-card .brand-lockup > div:last-child {
  max-width: calc(100% - 120px);
  padding: 2px 0 5px;
}

.hero-card h1 {
  padding-bottom: 0.1em;
  font-family: "Montserrat", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: clamp(4.5rem, 6.825vw, 6.825rem);
  letter-spacing: -0.02em;
  color: #dfe3e8;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #dfe3e8;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14),
    0 2px 0 rgba(71, 85, 105, 0.48),
    0 3px 0 rgba(30, 41, 59, 0.44),
    0 5px 8px rgba(0, 0, 0, 0.30),
    -34px 0 40px rgba(141, 47, 60, 0.18),
    -7px 0 28px rgba(156, 118, 41, 0.14),
    30px 0 42px rgba(48, 92, 79, 0.18);
  filter: none;
  transform: scaleX(1.20);
  transform-origin: center;
}

.otl-custom-i {
  position: relative;
  display: inline-block;
  overflow: visible;
}

.otl-custom-dot {
  position: absolute;
  z-index: 3;
  top: 0.105em;
  left: calc(50% + 0.75px);
  width: 0.15em;
  height: 0.15em;
  border-radius: 50%;
  background: #dfe3e8;
  box-shadow:
    0 0 6px rgba(223, 227, 232, 1),
    0 0 24px rgba(223, 227, 232, 0.95),
    0 0 44px rgba(223, 227, 232, 0.62),
    0 0 64px rgba(223, 227, 232, 0.28),
    -15px 0 28px rgba(141, 47, 60, 0.24),
    0 0 22px rgba(156, 118, 41, 0.20),
    15px 0 28px rgba(48, 92, 79, 0.24);
  transform: translateX(-50%);
  pointer-events: none;
  -webkit-text-fill-color: initial;
}

/* Reduce only the hero-to-player gap; keep spacing elsewhere unchanged. */
.hero-card + .video-card {
  margin-top: -8px;
}

@media (max-width: 680px) {
  .hero-card,
  .hero-card .brand-lockup {
    min-height: 0;
  }

  .hero-card .brand-lockup > div:last-child {
    max-width: none;
  }

  .hero-card h1 {
    font-size: clamp(2.35rem, 11vw, 3.45rem);
    transform: none;
  }

  .hero-card + .video-card {
    margin-top: 0;
  }
}
