/**
 * VideoCTA — ported 1:1 from components/sections/VideoCTA.module.css, with the
 * reused HeroVideo media layer (.media/.video) folded in. Module root .cta →
 * .s-video-cta; other module classes scoped under .s-video-cta.
 *
 * Full-bleed film donate moment. Video at z0 (HeroVideo .media), a left-weighted
 * scrim at z1 for legibility, content at z2. Clay donate CTA.
 */
.s-video-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(34rem, 76vh, 46rem);
  padding-block: clamp(5rem, 12vw, 8rem);
  background: var(--c-midnight);
  color: var(--c-text-on-dark);
}

/* ── Reused HeroVideo media layer (HeroVideo.module.css .media/.video) ─── */
.s-video-cta .media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--c-midnight);
}

.s-video-cta .video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Darken the left (where the copy sits) and the base; keep the right — the
   subject of this particular frame — readable. */
.s-video-cta .scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
      90deg,
      rgba(14, 17, 22, 0.88) 0%,
      rgba(14, 17, 22, 0.62) 38%,
      rgba(14, 17, 22, 0.2) 68%,
      rgba(14, 17, 22, 0.05) 100%
    ),
    linear-gradient(
      180deg,
      rgba(14, 17, 22, 0.3) 0%,
      transparent 40%,
      rgba(14, 17, 22, 0.55) 100%
    );
}

.s-video-cta .content {
  position: relative;
  z-index: 2;
  max-width: 40rem;
}

.s-video-cta .eyebrow {
  margin: 0 0 var(--s-4);
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-amber);
}

.s-video-cta .title {
  margin: 0;
  max-width: 18ch;
  color: #fff;
}

.s-video-cta .body {
  margin: var(--s-6) 0 0;
  max-width: 46ch;
  font-size: var(--fs-lg);
  line-height: var(--lh-normal);
  color: rgba(244, 242, 236, 0.9);
  text-wrap: pretty;
}

.s-video-cta .actions {
  margin-top: var(--s-8);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-6);
}

/* Secondary, on dark film — quiet next to the loud clay donate button. */
.s-video-cta .secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.5);
  transition: border-color var(--d-fast) var(--e-standard),
    opacity var(--d-fast) var(--e-standard);
}
.s-video-cta .secondary:hover {
  border-color: #fff;
  opacity: 0.9;
}
