/* Motion and interaction layer. Everything sits behind the text (z-index:-1 inside .stage)
   except the ripple ring, which is a thin outline and never takes pointer input. */

.embers{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}

/* Pointer light: soft gold glow that follows the pointer */
.fx-light{position:absolute;left:0;top:0;z-index:-1;pointer-events:none;
  width:clamp(260px,46vw,560px);aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,rgba(243,220,154,.20) 0%,rgba(216,178,94,.10) 32%,rgba(216,178,94,0) 68%);
  mix-blend-mode:screen;opacity:0;transition:opacity .9s ease;will-change:transform,opacity;
  transform:translate3d(-999px,-999px,0) translate(-50%,-50%)}
.fx-light.is-on{opacity:1}

/* Tap / click ripple: one thin gold ring */
.fx-ring{position:absolute;z-index:1;pointer-events:none;
  width:240px;height:240px;margin:-120px 0 0 -120px;border-radius:50%;
  border:1px solid rgba(243,220,154,.75);box-shadow:0 0 14px rgba(216,178,94,.18);
  opacity:0;transform:scale(.06);will-change:transform,opacity;
  animation:fx-ring 1.2s cubic-bezier(.2,.7,.1,1) forwards}
@keyframes fx-ring{0%{opacity:.7;transform:scale(.06)}100%{opacity:0;transform:scale(1)}}

/* Parallax uses the individual translate property, so the Name's own transform and animations are untouched */
.name{will-change:translate}

html[data-motion=off] .fx-light,html[data-motion=off] .fx-ring{display:none}
