/* BrightSide mobile fixes and infomercial section */

/* Keep decorative artwork from creating a scrollable wrapper. */
.site-shell {
  overflow-x: clip;
  overflow-y: visible;
}

#specifications {
  scroll-margin-top: 96px;
}

.video-section {
  padding-bottom: 130px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 58px;
  align-items: center;
  padding: 66px;
  color: var(--white);
  background:
    linear-gradient(115deg, transparent 54%, rgba(32, 188, 196, 0.13) 54% 66%, transparent 66%),
    linear-gradient(135deg, var(--navy), var(--navy-soft));
}

.video-shell::after {
  position: absolute;
  right: -70px;
  bottom: -105px;
  width: 270px;
  height: 270px;
  border: 42px solid rgba(245, 183, 59, 0.13);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.video-copy,
.video-frame {
  position: relative;
  z-index: 1;
}

.video-copy h2 {
  max-width: 460px;
  margin: 0;
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.video-copy > h2 + p {
  max-width: 470px;
  margin: 26px 0 0;
  color: #cbd4e4;
  font-size: 1rem;
  line-height: 1.72;
}

.video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: #050d20;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.38);
}

.placement-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #050d20;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 22px;
  padding: 0;
  color: #9eabc1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  list-style: none;
  text-transform: uppercase;
}

.video-meta li {
  display: flex;
  gap: 9px;
  align-items: center;
}

.video-meta li::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

@supports not (overflow: clip) {
  body {
    overflow-x: hidden;
  }

  .site-shell {
    overflow: visible;
  }
}

@media (max-width: 900px) {
  .video-shell {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 48px 36px;
  }

  .video-copy h2,
  .video-copy > h2 + p {
    max-width: 650px;
  }
}

@media (max-width: 820px) {
  /* The gold hero accent must remain inside the hero on narrow screens. */
  .hero {
    overflow: hidden;
  }

  .hero::after {
    right: -72px;
    bottom: 0;
    width: 150px;
    height: 220px;
  }

  .video-section {
    padding-bottom: 95px;
  }
}

@media (max-width: 520px) {
  .video-shell {
    gap: 32px;
    padding: 38px 22px 24px;
  }

  .video-copy h2 {
    font-size: 2.55rem;
  }

  .video-copy > h2 + p {
    font-size: 0.94rem;
  }

  .video-meta {
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
