/* Homepage liquid pearl. The image is the no-WebGL/no-JavaScript fallback. */
.hero.hero--pearl {
  isolation: isolate;
  background: #f5f2ec;
}
.hero--pearl::before {
  inset: 0;
  z-index: 0;
  background: url("../img/pearl-nacre-v1.webp") center / cover no-repeat;
  opacity: 1;
  animation: none;
  transform: none;
  will-change: auto;
}
/* Keep fine texture visible while giving the copy a quiet, luminous ground. */
.hero--pearl::after {
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg,
    rgba(255,253,249,.70) 0%, rgba(255,253,249,.48) 35%,
    rgba(255,253,249,.16) 65%, rgba(255,253,249,.07) 100%);
  animation: none;
  transform: none;
  will-change: auto;
}
.hero--pearl .hero__bg {
  z-index: 1;
  pointer-events: none;
}
.hero--pearl .hero__bg::before {
  content: "";
  inset: -10%;
  width: auto;
  height: auto;
  border-radius: 0;
  filter: none;
  background: radial-gradient(ellipse 34% 65% at 76% 22%,
    rgba(255,255,255,.46), rgba(255,255,255,.12) 44%, transparent 74%);
  opacity: .65;
  transform: translate3d(-2%, 0, 0);
  animation: nacreReflection 18s ease-in-out infinite alternate;
}
.hero--pearl .hero__bg::after,
.hero--pearl .hero__inner::before,
.hero--pearl .hero__inner::after {
  content: none;
  animation: none;
  will-change: auto;
}
.hero--pearl .hero__grid-lines,
.hero--pearl .hero__gem { display: none; }
.hero--pearl .hero__inner { position: relative; z-index: 2; }
.hero--pearl .pearl-flow {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero--pearl.pearl-flow-ready .pearl-flow { display: block; }
.hero--pearl.pearl-flow-ready .hero__bg::before { content: none; animation: none; }
.hero--pearl.pearl-flow-ready .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  filter: none;
  background: linear-gradient(90deg, rgba(255,253,249,.56), rgba(255,253,249,.28) 44%, transparent 78%);
}
@keyframes nacreReflection {
  to { transform: translate3d(3%, 1.5%, 0); opacity: 1; }
}
@media (max-width: 900px) {
  .hero--pearl.pearl-flow-ready .hero__bg::after {
    background: linear-gradient(180deg, rgba(255,253,249,.62), rgba(255,253,249,.24) 50%, transparent 80%);
  }
  .hero--pearl::before { background-position: 64% center; }
  .hero--pearl::after {
    background: linear-gradient(180deg, rgba(255,253,249,.76),
      rgba(255,253,249,.52) 43%, rgba(255,253,249,.12) 78%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero--pearl .hero__bg::before { animation: none; transform: none; }
}
