/* Scoped Liquid Chrome backgrounds. Content keeps its existing layout. */
.home-redesign :is(.home-ambient-hero, .studio-team-band) {
  position: relative;
  isolation: isolate;
}

.home-redesign .home-ambient-hero {
  background: #fff;
}

.home-redesign :is(.home-ambient-hero, .studio-team-band) > canvas[data-home-material] {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}

/* A transparent centre leaves the headline on white. The product window is
   opaque, so reflections remain visible only in the surrounding space. */
.home-redesign .home-ambient-hero > canvas[data-home-material][data-ready="true"] {
  opacity: .52;
  -webkit-mask-image: radial-gradient(ellipse 58% 36% at 50% 25%, transparent 30%, #000 100%), linear-gradient(transparent, #000 10%, #000 70%, transparent);
  mask-image: radial-gradient(ellipse 58% 36% at 50% 25%, transparent 30%, #000 100%), linear-gradient(transparent, #000 10%, #000 70%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* At this opacity even the brightest reflection stays dark behind the copy. */
.home-redesign .studio-team-band > canvas[data-home-material][data-ready="true"] {
  opacity: .24;
  -webkit-mask-image: linear-gradient(90deg, #0009, #000 55%, #000), linear-gradient(transparent, #000 24%, #000 80%, transparent);
  mask-image: linear-gradient(90deg, #0009, #000 55%, #000), linear-gradient(transparent, #000 24%, #000 80%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.home-redesign .home-motion-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  margin: 0 auto;
  padding: 8px 12px;
  border: 1px solid #e3eae6;
  border-radius: 8px;
  background: #fff;
  color: #53665d;
  font: 400 11px/1.4 Onest, sans-serif;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}

.home-redesign .home-motion-toggle[hidden] {
  display: none;
}

.home-redesign .home-motion-toggle:hover {
  background: #f3f7f4;
  border-color: #bbcfc2;
}

.home-redesign .home-motion-icon {
  display: block;
  width: 10px;
  height: 11px;
  border-inline: 3px solid currentColor;
  box-sizing: border-box;
}

.home-redesign .home-motion-toggle[aria-pressed="true"] .home-motion-icon {
  width: 10px;
  height: 12px;
  border: 6px solid transparent;
  border-left: 9px solid currentColor;
  border-right: 0;
}

@media (max-width: 640px) {
  .home-redesign .home-ambient-hero > canvas[data-home-material][data-ready="true"] {
    opacity: .27;
  }

  .home-redesign .home-motion-toggle {
    min-height: 44px;
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-redesign .home-motion-toggle {
    display: none;
    transition: none;
  }
}
