/* Cursor spotlight for the product cards.

   Pandez's own light lives in .light-wrapper, but it sits at z-index 4 under
   .experience-card-content (z-index 5) and is clipped by the wrapper, so it
   never reaches a pixel. This adds a layer that does: a screen-blended radial
   that trails the pointer, sized relative to the card so it works on all three
   breakpoints. */

.experience-card.product {
  isolation: isolate;
}

.experience-card.product .pg-spot {
  position: absolute;
  inset: 0;
  z-index: 7;
  border-radius: 25px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
  mix-blend-mode: screen;
  background:
    radial-gradient(
      280px circle at var(--pg-x, 50%) var(--pg-y, 0%),
      rgba(198, 202, 246, .30),
      rgba(238, 197, 189, .12) 42%,
      rgba(0, 0, 0, 0) 72%
    );
}

.experience-card.product.is-pg-lit .pg-spot {
  opacity: 1;
}

/* Rim light: a second, much wider pass so the card edge picks up the glow
   instead of only the middle reading. */
.experience-card.product .pg-spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      640px circle at var(--pg-x, 50%) var(--pg-y, 0%),
      rgba(160, 178, 226, .14),
      rgba(0, 0, 0, 0) 64%
    );
}

@media (prefers-reduced-motion: reduce) {
  .experience-card.product .pg-spot { transition: none; }
}
