/* Franc — cinematic video hero (full-bleed, Sigma-style) */

.fl-hero.fl-hero--video {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  min-height: clamp(520px, 88vh, 900px);
  padding:
    clamp(6.5rem, 16vh, 10rem)
    var(--fl-inline-pad)
    clamp(2.5rem, 6vh, 4rem);
  display: flex;
  align-items: flex-end;
  border-radius: 0;
  background: #1a1a1a;
}

.fl-hero.fl-hero--video .wp-block-html {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0 !important;
}

.fl-hero-video-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.fl-hero-video-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(12, 12, 12, 0.82) 0%, rgba(12, 12, 12, 0.45) 45%, rgba(215, 110, 1, 0.35) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 30%, rgba(0, 0, 0, 0.75) 100%);
}

.fl-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04) brightness(0.9);
}

.fl-hero.fl-hero--video .fl-hero-content {
  position: relative;
  z-index: 2;
  max-width: min(720px, calc(100% - 2 * var(--fl-inline-pad)));
  width: 100%;
  margin-left: var(--fl-inline-pad);
  margin-right: auto;
  padding: clamp(1.2rem, 2vw, 1.8rem);
  text-align: left;
  box-sizing: border-box;
}

.fl-hero-title,
.fl-hero-tagline,
.fl-hero-copy,
.fl-hero.fl-hero--video .fl-eyebrow {
  color: #fff !important;
}

.fl-hero-title {
  margin-top: 0.35rem;
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.fl-hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  max-width: 28ch;
}

.fl-hero-copy {
  margin: 0;
  opacity: 0.94;
  max-width: 40rem;
}

.fl-hero-actions {
  margin-top: 1rem;
}

@media (max-width: 781px) {
  .fl-hero.fl-hero--video {
    min-height: clamp(460px, 82vh, 680px);
    padding-bottom: 2rem;
  }

  .fl-hero.fl-hero--video .fl-hero-content {
    margin-left: var(--fl-gutter);
    margin-right: var(--fl-gutter);
    text-align: center;
  }

  .fl-hero-actions {
    justify-content: center !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fl-hero-video {
    transform: scale(1);
  }
}
