.intro-video {
  --intro-video-space: clamp(30px, 4vw, 58px);
  background: #fff;
  padding: var(--intro-video-space) 0;
}

.intro-video + .section {
  padding-top: 0;
}

.intro-video .intro-video__wrap {
  max-width: 980px;
  width: min(980px, calc(100% - 96px));
  margin: 0 auto;
}

.intro-video__player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #111 var(--intro-video-poster) center / cover no-repeat;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
}

.intro-video__player::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.46));
  pointer-events: none;
}

.intro-video__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  padding: 24px;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  letter-spacing: 0;
  transition: background 0.22s ease, transform 0.22s ease;
}

.intro-video__overlay:hover {
  background: rgba(0, 0, 0, 0.08);
}

.intro-video__overlay:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: -8px;
}

.intro-video__play {
  position: relative;
  display: block;
  width: clamp(58px, 6vw, 76px);
  height: clamp(58px, 6vw, 76px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.intro-video__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #151515;
  transform: translate(-40%, -50%);
}

.intro-video__text {
  font-family: var(--font-sans, Arial, sans-serif);
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-transform: lowercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.intro-video__frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  border: 0;
}

.intro-video__player.is-playing::before,
.intro-video__player.is-playing .intro-video__overlay {
  display: none;
}

@media (max-width: 768px) {
  .intro-video {
    --intro-video-space: 28px;
  }

  .intro-video .intro-video__wrap {
    width: calc(100% - 28px);
  }

  .intro-video__overlay {
    gap: 12px;
    padding: 18px;
  }
}
