/**
 * Video band - full-width background film section.
 */

.ax-video-band {
  position: relative;
  background: var(--ax-ink);
}

.ax-video-band__stage {
  position: relative;
  /* Desktop pre-W23. Mobile 16/9 in @media ≤900. */
  height: min(84svh, 760px);
  min-height: 420px;
  overflow: hidden;
}

.ax-video-band__parallax {
  position: absolute;
  top: -8%;
  left: 0;
  right: 0;
  height: 116%;
  will-change: transform;
}

.ax-video-band__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ax-video-band__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 24, 51, 0.62),
    rgba(20, 24, 51, 0.26) 45%,
    rgba(20, 24, 51, 0.84)
  );
  pointer-events: none;
}

.ax-video-band__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 42px);
  padding: 0 clamp(30px, 6vw, 120px);
  text-align: center;
  color: var(--ax-paper);
}

.ax-video-band__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 1.8vw, 24px);
}

.ax-video-band__eyebrow {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 241, 235, 0.6);
}

.ax-video-band__heading {
  margin: 0;
  font-family: 'Gopher Display', var(--ax-font);
  font-weight: 600;
  font-size: clamp(38px, 4.6vw, 80px);
  line-height: 0.94;
  letter-spacing: -0.032em;
  max-width: 20ch;
  text-wrap: pretty;
}

.ax-video-band__play {
  position: relative;
  width: clamp(96px, 9vw, 132px);
  height: clamp(96px, 9vw, 132px);
  border-radius: 50%;
  background: rgba(244, 241, 235, 0.12);
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  color: var(--ax-paper);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 420ms ease, color 420ms ease;
  font-family: inherit;
  padding: 0;
}

@media (hover: hover) and (pointer: fine) {
  .ax-video-band__play:hover,
  .ax-video-band__play.is-hover {
    background: rgba(244, 241, 235, 0.2);
    outline: none;
  }
}
.ax-video-band__play:focus-visible,
.ax-video-band__play:active {
  background: rgba(244, 241, 235, 0.2);
  outline: none;
}

.ax-video-band__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  display: block;
  pointer-events: none;
}

/* Dashoffset driven by JS (reference onPlayEnter/Leave). */

.ax-video-band__play-icon {
  width: 20px;
  height: 22px;
  display: block;
  margin-left: 4px;
  position: relative;
}

.ax-video-band__foot {
  position: absolute;
  left: var(--ax-gutter);
  right: var(--ax-gutter);
  bottom: clamp(26px, 3.4vw, 52px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  color: rgba(244, 241, 235, 0.55);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  pointer-events: none;
}

/*
 * Mobile: cinematic panel, not 16:9 postcard (~220px @390).
 * Height ≈ 70svh (cap 540) so headline + play breathe; meta stays in foot only.
 */
@media (max-width: 900px) {
  .ax-video-band__stage {
    width: 100%;
    aspect-ratio: auto;
    height: min(70svh, 540px);
    min-height: 440px;
  }

  .ax-video-band__parallax {
    top: 0;
    height: 100%;
    transform: none !important;
    will-change: auto;
  }

  .ax-video-band__content {
    gap: 28px;
    padding: clamp(56px, 12vh, 88px) var(--ax-gutter) clamp(64px, 12vh, 96px);
    justify-content: center;
  }

  .ax-video-band__copy {
    gap: 0;
  }

  /* Meta above heading is redundant on mobile — foot carries duration/location. */
  .ax-video-band__eyebrow {
    display: none;
  }

  .ax-video-band__heading {
    font-size: clamp(30px, 8.4vw, 42px);
    max-width: 12ch;
    line-height: 1.02;
  }

  .ax-video-band__play {
    width: 88px;
    height: 88px;
    flex: 0 0 auto;
  }

  .ax-video-band__foot {
    bottom: 18px;
    left: var(--ax-gutter);
    right: var(--ax-gutter);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    font-size: 9px;
    letter-spacing: 0.16em;
    color: rgba(244, 241, 235, 0.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ax-video-band__parallax,
  .ax-video-band__play,
  .ax-video-band__ring circle {
    transition-duration: 0.001ms !important;
  }
}
