.video-hero {
  position: relative;
  display: block;
  width: 100%;
  min-height: 80vh;
  overflow: hidden;
  background: var(--surface-dark);
  box-sizing: border-box;
}

.video-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: min(38rem, 52%);
  min-height: 80vh;
  max-width: none;
  padding: 4rem 2rem 4rem max(24px, calc((100% - 1200px) / 2 + 24px));
}

.video-hero__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--surface-light);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.video-hero__heading {
  margin: 0;
  color: var(--surface-light);
  font-family: var(--font-heading);
  font-size: calc(var(--scale-base) * 2.75);
  font-weight: 600;
  line-height: 1.15;
}

.video-hero__text {
  margin: 1rem 0 0;
  max-width: 38rem;
  color: var(--surface-light);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.video-hero__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.video-hero a.video-hero__action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--brand-accent);
  border-radius: var(--radius-md);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.video-hero a.video-hero__action--primary {
  background: var(--brand-primary);
  color: var(--surface-light);
  border-color: var(--brand-accent);
}

.video-hero a.video-hero__action--outline {
  background: transparent;
  color: var(--surface-light);
  border-color: var(--surface-light);
}

.video-hero::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 58%;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--surface-dark) 94%, transparent) 0%,
    color-mix(in srgb, var(--surface-dark) 72%, transparent) 62%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.video-hero__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--surface-dark);
}

.video-hero__frame img,
.video-hero__frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .video-hero__copy {
    width: min(48rem, 78%);
  }

  .video-hero a.video-hero__action {
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .video-hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .video-hero a.video-hero__action {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }
}

@media (max-width: 800px) {
  .video-hero__copy {
    width: 100%;
    padding: 3.5rem 24px;
  }

  .video-hero__heading {
    font-size: calc(var(--scale-base) * 2.1);
  }

  .video-hero::after {
    width: 100%;
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--surface-dark) 88%, transparent) 0%,
      color-mix(in srgb, var(--surface-dark) 64%, transparent) 72%,
      color-mix(in srgb, var(--surface-dark) 42%, transparent) 100%
    );
  }
}

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