/* A restrained, pointer-led rim and sheen; no automatic animation. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .button.project-contact { position: relative; isolation: isolate; transition: background .25s ease, color .25s ease, transform .25s var(--ease), box-shadow .12s ease; }
  .button.project-contact::before,
  .button.project-contact::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 0;
    pointer-events: none;
    opacity: var(--contact-glow, 0);
    transition: opacity .18s ease;
  }
  .button.project-contact::before {
    padding: 1px;
    background: radial-gradient(85px circle at var(--contact-pointer-x, 50%) var(--contact-pointer-y, 50%), #fff6e6d9, #fff6e626 60%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
  }
  .button.project-contact::after {
    background: radial-gradient(110px circle at var(--contact-pointer-x, 50%) var(--contact-pointer-y, 50%), #fff6e614, transparent 75%);
  }
  .button.project-contact:active { box-shadow: inset 0 2px 5px #0008; }
}
@media (prefers-reduced-motion: reduce) {
  .button.project-contact { transition: none; }
  .button.project-contact::before,
  .button.project-contact::after { display: none; }
}
