/* Home hero panel: a two-shot loop in place of the logo lockup.
   Shot A (cold): frost on a window. Shot B (heat): a sunset. Then back to A, and repeat (js/hero-video.js).
   The frame is still the accent-soft .bv-logo-spot at radius-md (4:3 on desktop, 16:9 on tablet and phone, set in v2.css);
   each shot fills it edge to edge. Shots are stacked and crossfaded, and the outgoing shot stays fully opaque until the
   incoming one has finished fading in, so the accent-soft background never shows between them.
   Tint: on A the accent blue is blended over the footage in "color" mode, which sits it in the cool navy and ice palette
   and pulls anything warm toward blue, never toward green or purple. On B the blue is much lighter and a muted amber
   (the site's --accent-warm) is added, so the cut reads as cold, then heat. */
.hm-hero .hm-spot.hm-spot--video {
  position: relative;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  --hm-fade: 600ms;
}
.hm-shot {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  isolation: isolate;
  border-radius: inherit;
  transition: opacity var(--hm-fade) ease;
}
.hm-shot.is-on { opacity: 1; }
.hm-shot.is-top { z-index: 2; }
.hm-shot.is-snap { transition: none; }
.hm-spot__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  background: var(--accent-soft);
  filter: saturate(.82) contrast(1.02);
}
.hm-spot__tint,
.hm-spot__tint::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.hm-spot__tint { background: var(--accent); mix-blend-mode: color; opacity: .34; }
.hm-spot__tint::after { content: ""; background: var(--deep); opacity: .1; }

/* shot B: warmth comes through */
.hm-shot--b .hm-spot__video { filter: saturate(.95) contrast(1.02); }
.hm-shot--b .hm-spot__tint { opacity: .1; }
.hm-shot--b .hm-spot__tint::after { background: var(--accent-warm, #b8692e); mix-blend-mode: soft-light; opacity: .32; }

/* caption chip, bottom left, in the site's display type */
.hm-spot__cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--ink);
  background: color-mix(in srgb, var(--raised) 90%, transparent);
  transition: opacity 250ms ease;
}
.hm-spot__cap.is-swap { opacity: 0; }
@media (max-width: 640px) {
  .hm-spot__cap { left: 10px; bottom: 10px; padding: 7px 10px; font-size: 12px; }
}
