/* ATELIER 01 — magnetic button.
   The field is the positioned parent: the ring is placed in its coordinates. */

.field {
  position: relative;
  touch-action: none;          /* pointermove must not be eaten by scrolling */
}

.magnet {
  position: relative;
  will-change: transform;
}

/* JS wraps the label in this, so the label can move against the button */
.magnet .inner {
  display: inline-block;
  will-change: transform;
}

.cursor-ring {
  position: absolute; top: 0; left: 0;
  width: 28px; height: 28px;
  margin: -14px 0 0 -14px;     /* centres the ring on its own transform */
  border: 1.5px solid var(--accent-9, #008c46);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}
