:root { --feature-motion-cycle: 5.5s; }

.hero-light-sweep {
  position: absolute;
  inset: 0 auto 0 42%;
  width: 34%;
  background: linear-gradient(112deg,transparent 20%,#21a4f20d 40%,#43cfff46 54%,transparent 81%);
  opacity: 0;
}
.hero-signal-map {
  position: absolute;
  z-index: 1;
  top: max(-102px,-4.6vw);
  right: 0;
  width: min(83vw,1840px);
  height: auto;
  aspect-ratio: 853 / 480;
  mask-image: linear-gradient(90deg,transparent 37%,#0008 46%,#000 62%);
}
.hero-signal {
  fill: none;
  stroke: #c4faff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 1.5 100;
  stroke-dashoffset: 2;
  filter: drop-shadow(0 0 4px #5ddfff);
  opacity: 0;
}
.product-preview { position: relative; }
.product-wave,.product-paw-print {
  position: absolute;
  bottom: 8px;
  right: 10px;
  color: #abedff;
  pointer-events: none;
  opacity: 0;
}
.product-wave { width: 36px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.product-wave path { transform-box: fill-box; transform-origin: center; }
.product-paw-print {
  top: 9px;
  bottom: auto;
  width: 19px;
  height: 19px;
  color: #d6c5ff;
  filter: drop-shadow(0 1px 2px #160924);
}

@media (max-width: 880px) {
  .hero-signal-map { top: 10px; right: -12%; width: 110%; }
}
@media (max-width: 660px) {
  .hero-signal-map { display: none; }
  .hero-light-sweep { left: 25%; width: 55%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-light-sweep { animation: hero-light-crossing var(--feature-motion-cycle) ease-in-out infinite paused; }
  .hero-signal { animation: hero-signal-crossing var(--feature-motion-cycle) linear .3s infinite paused; }
  .hero-signal:nth-child(2) { animation-delay: .95s; }
  .hero-signal:nth-child(3) { animation-delay: 1.55s; }
  [data-motion-visible="true"] :is(.hero-signal,.hero-light-sweep) { animation-play-state: running; }

  .product-ggtv { --product-card-effect: ggtv-screen-sweep; }
  .product-radio { --product-card-effect: radio-wave-reveal; }
  .product-housecat { --product-card-effect: housecat-paw-reveal; }
  .product-card:focus-within { --product-effect-active: var(--product-card-effect); }
  .product-radio:focus-within { --radio-rhythm-active: radio-wave-rise; }
  @media (hover: hover) {
    .product-card:hover { --product-effect-active: var(--product-card-effect); }
    .product-radio:hover { --radio-rhythm-active: radio-wave-rise; }
  }
  .product-ggtv .product-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(104deg,transparent 25%,#56dcff38 48%,#a4f6ff65 54%,transparent 75%);
    opacity: 0;
    pointer-events: none;
    animation: var(--product-effect-active,none) var(--feature-motion-cycle) ease-in-out infinite paused;
  }
  .product-wave { animation: var(--product-effect-active,none) var(--feature-motion-cycle) ease-in-out infinite paused; }
  .product-wave path { animation: var(--radio-rhythm-active,none) var(--feature-motion-cycle) ease-in-out infinite paused; }
  .product-wave path:nth-child(even) { animation-delay: .18s; }
  .product-paw-print { animation: var(--product-effect-active,none) var(--feature-motion-cycle) ease-in-out infinite paused; }
  .product-ggtv[data-motion-visible="true"] .product-preview::after,
  .product-card[data-motion-visible="true"] :is(.product-wave,.product-wave path,.product-paw-print) {
    animation-play-state: running;
  }
}

@keyframes hero-light-crossing {
  from { opacity: 0; transform: translateX(-65%); }
  28%,52% { opacity: .9; }
  80%,100% { opacity: 0; transform: translateX(170%); }
}
@keyframes hero-signal-crossing {
  from { opacity: 0; stroke-dashoffset: 2; }
  6%,45% { opacity: .95; }
  53%,100% { opacity: 0; stroke-dashoffset: -100; }
}
@keyframes ggtv-screen-sweep {
  from { opacity: 0; transform: translateX(-70%); }
  12% { opacity: .88; }
  26%,100% { opacity: 0; transform: translateX(72%); }
}
@keyframes radio-wave-reveal {
  0%,39%,100% { opacity: 0; }
  8%,30% { opacity: .9; }
}
@keyframes radio-wave-rise {
  0%,15%,29%,100% { transform: scaleY(.65); }
  7%,22% { transform: scaleY(1.22); }
}
@keyframes housecat-paw-reveal {
  from { opacity: 0; transform: translateY(4px); }
  8%,20% { opacity: .92; transform: translateY(0); }
  28%,100% { opacity: 0; transform: translateY(0); }
}
