.hero {
  --color-yellow: var(--color-accent);
  --color-red: var(--color-accent-light);
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #000;
  color: #fff;
  font-family: var(--font-site);
}

.hero,
.hero * {
  box-sizing: border-box;
}

.hero__background {
  position: absolute;
  z-index: -1;
  inset: 0;

  background-image:
    linear-gradient(
      0deg,
      #000 0%,
      transparent 35%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.94) 0%,
      rgba(0, 0, 0, 0.75) 32%,
      rgba(0, 0, 0, 0.2) 65%,
      rgba(0, 0, 0, 0.08) 100%
    ),
    var(--hero-image, url("../images/basketmouth-hero.png"));

  background-size: cover;
  background-position: center, center, 65% center;
  background-repeat: no-repeat;
}

.hero__background::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 72% 20%, rgba(255, 138, 31, 0.12), transparent 55%);
  content: "";
}

.hero__container {
  width: var(--page-content-width);
  margin: 0 auto;
  padding: 88px 0 80px;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 26px;
  color: var(--color-yellow);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
}


.hero__title {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero__title span {
  display: block;
}

.hero__title-name {
  white-space: nowrap;
}

.hero__title-name span {
  display: inline;
}

.hero__title-white {
  color: #ffffff;
}

.hero__title-yellow {
  color: var(--color-yellow);
  text-shadow: 0 0 50px rgba(255, 138, 31, 0.16);
}

.hero__title-location {
  margin-top: 8px;
  color: var(--color-red);
  font-size: 1em;
  font-style: normal;
  letter-spacing: inherit;
  line-height: 1;
}

.hero__description {
  max-width: 520px;
  margin: 20px 0 0;
  color: #e0e0e0;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.75;
}

.hero__details {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 20px;
}

.hero__detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero__detail-label {
  color: #bfbfbf;
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero__detail-value {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.hero__detail-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.18);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 24px;
}

.hero-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 20px;
  border: 2px solid transparent;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.hero-button:hover {
  transform: translateY(-3px);
}

.hero-button--primary {
  background: var(--color-yellow);
  color: #050505;
  box-shadow: 0 14px 40px rgba(255, 138, 31, 0.14);
}

.hero-button--primary:hover {
  background: #ffffff;
  box-shadow: 0 17px 45px rgba(255, 255, 255, 0.12);
}

.hero-button__arrow {
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.hero-button--primary:hover .hero-button__arrow {
  transform: translateX(5px);
}

.hero__scroll {
  position: absolute;
  z-index: 4;
  bottom: 154px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7d7d7d;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero__scroll-arrow {
  color: var(--color-yellow);
  font-size: 1rem;
}

/* Yellow strip */

.hero-ticker {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  overflow: hidden;
  border-top: 3px solid #d66b0b;
  background: var(--color-accent);
  color: #050505;
}

.hero-ticker__track {
  display: flex;
  width: max-content;
  animation: hero-ticker 48s linear infinite;
}

.hero-ticker__group {
  display: flex;
  flex-shrink: 0;
  min-width: 100vw;
  align-items: center;
  justify-content: space-around;
}

.hero-ticker__track span {
  flex-shrink: 0;
  padding: 13px 12px;
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes hero-ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 800px) {
  .hero__container {
    padding: 80px 0 72px;
  }

  .hero__background {
    background-position: center, center, 76% center;
  }

  .hero-ticker__track span {
    font-size: 0.56rem;
    letter-spacing: 1.2px;
  }

  .hero__background::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.2));
  }

  .hero__title {
    font-size: clamp(2rem, 7.5vw, 3.5rem);
  }

  .hero__title-location {
    margin-top: 8px;
  }

  .hero__description {
    max-width: min(80%, 300px);
    font-size: 1rem;
  }

  .hero__scroll {
    display: none;
  }
}

@media (min-width: 521px) and (max-width: 1100px) {
  .hero__description {
    max-width: 480px;
  }
}

@media (max-width: 520px) {
  .hero__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 2px;
  }

  .hero__title {
    font-size: clamp(1.5rem, 7.5vw, 2.5rem);
  }

  .hero__details {
    gap: 16px;
  }

  .hero__detail-value {
    font-size: 0.75rem;
  }

}

.hero-button:focus-visible,
.hero__scroll:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

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

  .hero-button,
  .hero-button__arrow {
    transition: none;
  }
}
