.video-header {
  text-align: center;
}

.video-title {
  margin-top: var(--gap);
  text-transform: uppercase;
  color: var(--color-ink);
  font-family: var(--type-section-title-family);
  font-weight: var(--type-section-title-weight);
  font-style: var(--type-section-title-style);
  font-size: var(--type-section-title-size);
  line-height: var(--type-section-title-height);
}

.video-lead {
  margin: var(--gap) auto 0;
  max-width: 576px;
  color: var(--color-muted);
  font-family: var(--type-lead-family);
  font-weight: var(--type-lead-weight);
  font-style: var(--type-lead-style);
  font-size: var(--type-lead-size);
  line-height: var(--type-lead-height);
}

.video-frame {
  position: relative;
  margin: var(--gap-lg) auto 0;
  width: 100%;
  max-width: 896px;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  border: 1px solid var(--color-gray);
  background: var(--color-void);
  overflow: hidden;
}

.video-frame-poster,
.video-frame-media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.video-frame-dim {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 58%);
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out-soft);
}

.video-frame-cta {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--color-white);
}

button.video-frame-cta {
  width: 100%;
  height: 100%;
}

.video-frame-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: block;
}

.video-frame-divider {
  width: 1px;
  height: 28px;
  flex-shrink: 0;
  background: var(--color-white);
  opacity: 0.95;
}

.video-frame-label {
  font-family: var(--type-button-family);
  font-weight: var(--font-weight-medium);
  font-style: var(--type-button-style);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--color-white);
  white-space: nowrap;
}

.video-frame-playing .video-frame-poster,
.video-frame-playing .video-frame-dim,
.video-frame-playing .video-frame-cta {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.video-frame-media {
  z-index: 2;
}
