/* Home hero: slow tinted leadership video in CIRRANE navy/copper, replacing the still landscape.
   Desktop plays the loop behind the headline. Phones play it as a band under the header, fading into the page before the text;
   reduced-motion and data-saver visitors keep the tinted still frame. */
.home-hero.has-video { position: relative; background-image: none; background-color: #081f29; }
.hero-video { position: absolute; inset: 0; z-index: -1; overflow: hidden; isolation: isolate; background: #081f29; }
/* The footage sits on the right so the people stay clear of the headline; its left edge fades into the page. */
.hero-video-frame {
  position: absolute; top: 0; bottom: 0; left: 26%; width: 74%;
  background: #081f29 url('/assets/hero-leadership-window-poster.jpg') 50% 22% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%); mask-image: linear-gradient(90deg, transparent 0, #000 28%);
}
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
/* Tint 1: navy-teal duotone with a faint copper glow (matches the --navy, --deep and --copper brand tokens). */
.hero-video::before { content: ""; position: absolute; inset: 0; background: #28586b; mix-blend-mode: multiply; }
.hero-video::after { content: ""; position: absolute; inset: 0; background: #081f29; mix-blend-mode: lighten; opacity: .8; }
.hero-video-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(245,241,233,.97), rgba(245,241,233,.91) 36%, rgba(245,241,233,.22) 64%, rgba(245,241,233,0)),
    linear-gradient(180deg, rgba(183,104,53,.14), rgba(183,104,53,0) 55%);
}
@media (min-width: 821px) and (max-width: 1180px) {
  .hero-video-shade { background: linear-gradient(90deg, rgba(245,241,233,.97), rgba(245,241,233,.92) 52%, rgba(245,241,233,.35) 78%, rgba(245,241,233,.05)), linear-gradient(180deg, rgba(183,104,53,.14), rgba(183,104,53,0) 55%); }
}
@media (max-width: 820px) {
  /* Phone: a clearly visible band of moving footage just under the header, fading into the cream page where the text starts. */
  .home-hero.has-video { background-color: #f5f1e9; }
  .hero-video { bottom: auto; height: 330px; }
  .hero-video-frame { left: 0; width: 100%; background-image: url('/assets/hero-leadership-window-poster-mobile.jpg'); -webkit-mask-image: none; mask-image: none; }
  .hero-video-shade { background: linear-gradient(180deg, rgba(245,241,233,0) 0, rgba(245,241,233,0) 40%, rgba(245,241,233,.82) 62%, #f5f1e9 74%); }
  .home-hero.has-video .hero-copy { padding-top: 215px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video video { display: none; }
}
