/* Critical content is visible without JavaScript and never enters a reveal mask. */
[data-stable-title] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  text-wrap: balance;
}
[data-stable-title] [data-rotating-words] {
  display: block;
  overflow: visible;
}

/* All phrases share one grid cell, reserving the tallest wrap before JS loads. */
.hero-title-morph {
  display: block;
  position: relative;
  color: var(--color-action);
}
.hero-title-morph__visual {
  display: grid;
  position: relative;
  isolation: isolate;
}
.hero-title-morph__size {
  grid-area: 1 / 1;
  visibility: hidden;
}
.hero-title-morph__layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-wrap: balance;
}
[data-morph-to] { opacity: 0; }
.hero-title-morph__visual.is-morphing {
  filter: url(#hero-title-threshold) blur(0.6px);
}
.hero-title-morph__accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hero-title-morph__filters { position: absolute; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-title-morph__visual { filter: none !important; }
}
.hp-hero_screen-video {
  pointer-events: none;
  user-select: none;
  background: var(--color-canvas, var(--background--primary));
}

.hp-hero_screen-video::-webkit-media-controls,
.hp-hero_screen-video::-webkit-media-controls-enclosure {
  display: none !important;
}

@media (max-width: 767px) {
  .hero-library-rail .hero-library-item,
  .hero-library-rail .hero-library-divider {
    display: none;
  }

  .hero-library-rail {
    display: flex;
  }

  .hp-hero .hp-hero_phone-box {
    width: 122%;
  }
}
