/* Dark homepage with hero copy in a bottom ticker */

.hero {
  align-items: stretch;
  padding: 0;
}

.hero__content {
  z-index: 2;
  width: min(calc(100% - 40px), var(--wrap));
  max-width: none;
  justify-self: center;
  min-height: calc(100svh - 112px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 48px 0 118px;
}

.hero .eyebrow {
  margin: 0;
  text-align: center;
}

.hero__dock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero__actions {
  margin-top: 0;
  justify-content: center;
}

.hero__spec {
  margin: 0;
}

.hero__frame span:nth-child(3),
.hero__frame span:nth-child(4) {
  bottom: 86px;
}

.hero-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  overflow: hidden;
  background: #000;
  border-top: 1px solid rgba(212, 177, 90, 0.28);
}

.hero-marquee__track {
  display: flex;
  width: max-content;
  animation: v5-ticker 36s linear infinite;
}

.hero-marquee__group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 18px 48px 18px 0;
  font-family: var(--display);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #f2f4f8;
  white-space: nowrap;
}

.hero-marquee__group span::before {
  content: "";
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-right: 16px;
  vertical-align: -0.08em;
  background: var(--gold);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.hero-marquee:hover .hero-marquee__track {
  animation-play-state: paused;
}

@keyframes v5-ticker {
  to { transform: translateX(-50%); }
}

.stats {
  margin-top: 0;
}

@media (max-width: 860px) {
  .hero__content {
    min-height: 86svh;
    padding: 32px 0 108px;
  }
}

@media (max-width: 720px) {
  .hero-marquee__group {
    gap: 32px;
    padding-right: 32px;
    font-size: 16px;
  }
}

.hero--careers .hero__media img {
  object-position: center 70%;
}

.hero--careers .hero__content {
  padding: 48px 0 40px;
}

.hero--careers__top {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.hero--careers h1 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 56px);
  text-wrap: nowrap;
}

.hero--careers .hero__lead {
  width: 100%;
  max-width: none;
  margin: 0;
  white-space: nowrap;
}

.hero--careers .hero__frame span:nth-child(3),
.hero--careers .hero__frame span:nth-child(4) {
  bottom: 24px;
}

@media (max-width: 860px) {
  .hero--careers .hero__content {
    padding: 32px 0 32px;
  }

  .hero--careers h1,
  .hero--careers .hero__lead {
    text-wrap: balance;
    white-space: normal;
  }
}

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