/* Extra motion layer (see js/fx-extra.js). */

/* Spotlight cards: a soft light that follows the pointer */
.fx-card { position: relative; isolation: isolate; }
.fx-spot { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .45s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 168, 118, .16), rgba(201, 168, 118, 0) 60%); }
.fx-card:hover .fx-spot { opacity: 1; }
.fg-spot .fx-spot, .bio-next__grid a .fx-spot, .ftr__latest .fx-spot { mix-blend-mode: screen; }

/* Footer signature letters */
.fx-letter { display: inline-block; will-change: transform; }

/* Gold button shimmer: a light sweep every few seconds, and on hover */
.btn--gold, .btn--light, .nl__btn { position: relative; overflow: hidden; }
.btn--gold::after, .btn--light::after, .nl__btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg); animation: fx-shimmer 5.5s ease-in-out infinite;
}
.btn--gold:hover::after, .btn--light:hover::after, .nl__btn:hover::after { animation: fx-shimmer-fast .9s ease-out; }
@keyframes fx-shimmer { 0%, 72% { left: -60%; } 100% { left: 130%; } }
@keyframes fx-shimmer-fast { from { left: -60%; } to { left: 130%; } }

/* Article and page links: underline draws in on hover */
.prose a, .doc__body a, .cast__summary a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat, linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat;
  transition: background-size .45s cubic-bezier(.22, .8, .2, 1), color .3s;
  padding-bottom: 1px;
}
.prose a:hover, .doc__body a:hover, .cast__summary a:hover { background-size: 100% 1px, 100% 2px; color: var(--burgundy); }

/* Unfolding sections start slightly inset; JS animates to full width */
.cid, .gallery-band, .bio-dates, .nl { will-change: clip-path; }

@media (prefers-reduced-motion: reduce) {
  .btn--gold::after, .btn--light::after, .nl__btn::after { animation: none; display: none; }
  .fx-spot { display: none; }
}
