/* <zs-video-hero> styles. Pair with video-hero.js. Override --zs-vh-min on the element for
   content-height heroes (phones); the media layer always covers whatever height the hero has. */
zs-video-hero { display: block; }
.zs-vh {
  position: relative;
  isolation: isolate;
  min-height: var(--zs-vh-min, 100svh);
  overflow: hidden;
  background: var(--zs-vh-tone, #0D0C0F);
  color: #F5F2EC;
}
/* Negative z-index inside the isolated host: paints above the host background, below every child,
   positioned or not, so the page's own layering keeps working untouched. */
.zs-vh-media {
  position: absolute; inset: 0; z-index: -1;
  background-color: var(--zs-vh-tone, #0D0C0F);
  background-size: cover; background-position: center;
}
.zs-vh-media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* A per-page colour wash. background-color is animatable, so changing --zs-vh-tint fades smoothly. */
.zs-vh-tint {
  position: absolute; inset: 0; pointer-events: none;
  background-color: rgb(var(--zs-vh-tint, 118 88 152) / .28);
  -webkit-mask-image: radial-gradient(70% 60% at 68% 30%, #000, transparent 72%);
  mask-image: radial-gradient(70% 60% at 68% 30%, #000, transparent 72%);
  mix-blend-mode: screen;
  transition: background-color .9s ease;
}
/* Text contrast. Darker at the top (nav) and bottom (cue), lighter through the middle. */
.zs-vh-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgb(0 0 0 / calc(var(--zs-vh-scrim, .35) * 1.25)) 0%,
    rgb(0 0 0 / var(--zs-vh-scrim, .35)) 45%,
    rgb(0 0 0 / calc(var(--zs-vh-scrim, .35) * 1.5)) 100%);
}
.zs-vh-toggle {
  position: absolute; right: clamp(16px, 3vw, 30px); bottom: 22px; z-index: 5;
  appearance: none; cursor: pointer;
  font: 500 11px/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(245, 242, 236, .8);
  background: rgba(20, 18, 24, .55); border: 1px solid rgba(245, 242, 236, .18); border-radius: 999px;
  padding: 10px 14px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background .3s ease, color .3s ease;
}
.zs-vh-toggle:hover, .zs-vh-toggle:focus-visible { background: #F5F2EC; color: #0D0C0F; outline: none; }
.zs-vh[data-state="none"] .zs-vh-toggle { display: none; }
