/* Home hero only. The real text and original line breaks remain in the HTML. */
@keyframes cfs-hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  html.cfs-hero-pending .hero [data-cfs-scramble]:not(.cfs-scramble-started) {
    opacity: 0;
  }
  .hero [data-cfs-rise] {
    animation: cfs-hero-rise 900ms cubic-bezier(.22, .7, .25, 1) both;
  }
  .hero [data-cfs-rise="brand"] { animation-delay: 120ms; }
  .hero [data-cfs-rise="tagline"] { animation-delay: 240ms; }
}

.hero .cfs-scramble__accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.hero .cfs-scramble__word { white-space: nowrap; }
.hero .cfs-scramble__char { display: inline-block; position: relative; }
.hero .cfs-scramble__final { opacity: 0; }
.hero .cfs-scramble__noise {
  position: absolute;
  inset: 0;
  overflow: hidden;
  text-align: center;
  color: var(--cfs-sky, #9fd8f4);
  opacity: .75;
}
.hero .is-resolved > .cfs-scramble__final { opacity: 1; }
.hero .is-resolved > .cfs-scramble__noise { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .hero [data-cfs-rise] { animation: none; }
  .hero .cfs-scramble__final { opacity: 1; }
  .hero .cfs-scramble__noise { display: none; }
}
