/* Original Figma hero and original floating-object film, with a faint blue
   treatment. ?hero-bg=original shows the same background without the film. */
html[data-cyron-hero-background='blue']:not([data-cyron-service]) .cyron-ambient-video {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .32;
  filter: none;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent 14%, #000 64%);
  -webkit-mask-image: linear-gradient(to right, transparent 14%, #000 64%);
}
html:not([data-cyron-hero-background='blue']):not([data-cyron-service]) .cyron-ambient-video {
  display: none;
}
/* Only a narrow light band travels; the original star/ribbon mask stays fixed. */
@property --cyron-ribbon-sweep {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 125%;
}
html[data-cyron-hero-background='ribbon']:not([data-cyron-service]) .hero-background_back__4MnO3::before {
  content: '';
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(135deg,
    transparent calc(var(--cyron-ribbon-sweep) - 7%),
    #ada3ff6b var(--cyron-ribbon-sweep),
    transparent calc(var(--cyron-ribbon-sweep) + 7%));
  mask: url('/local/figma-assets/home-hero.svg') center / cover no-repeat;
  -webkit-mask: url('/local/figma-assets/home-hero.svg') center / cover no-repeat;
  animation: cyron-ribbon-double-pulse 7s linear infinite;
}
html[data-cyron-hero-background='ribbon']:not([data-cyron-service]) .hero-background_back__4MnO3[data-cyron-ribbon-paused='true']::before {
  animation-play-state: paused;
}
@keyframes cyron-ribbon-double-pulse {
  0%, 79.9% { --cyron-ribbon-sweep: 125%; opacity: 0; }
  80% { --cyron-ribbon-sweep: 125%; opacity: .7; }
  86% { --cyron-ribbon-sweep: -25%; opacity: .7; }
  86.1% { --cyron-ribbon-sweep: -25%; opacity: 0; }
  89% { --cyron-ribbon-sweep: 125%; opacity: 0; }
  89.1% { --cyron-ribbon-sweep: 125%; opacity: .7; }
  95% { --cyron-ribbon-sweep: -25%; opacity: .7; }
  95.1%, 100% { --cyron-ribbon-sweep: -25%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-cyron-hero-background='ribbon']:not([data-cyron-service]) .hero-background_back__4MnO3::before {
    animation: none;
    opacity: 0;
  }
}
@media (max-width: 767px) {
  html[data-cyron-hero-background='ribbon']:not([data-cyron-service]) .hero-background_back__4MnO3::before {
    mask-position: 48% center;
    -webkit-mask-position: 48% center;
  }
  html[data-cyron-hero-background='blue']:not([data-cyron-service]) .cyron-ambient-video {
    object-position: 66% center;
    opacity: .23;
    mask-image: linear-gradient(to bottom, #000, #0009 55%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, #000, #0009 55%, transparent);
  }
}
