/* Rotating circular CTA ------------------------------------------------------ */
.circle-btn {
  --size: 120px;
  --window: 100px;
  --pad: 33px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  font: 400 14px/17.07px var(--f-text);
  text-transform: uppercase;
  text-align: center;
  color: var(--c-light);
}
.circle-btn--sm { --window: 85px; --pad: 26px; }
.circle-btn--dark { color: var(--c-dark); }

.circle-btn__ring {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  padding: 5px;
  animation: ring-spin 10s linear infinite;
  z-index: 1;
}
.circle-btn__ring svg { width: 85px; height: 86px; }
@keyframes ring-spin { to { transform: rotate(360deg); } }

.circle-btn__window {
  width: var(--window);
  height: var(--window);
  overflow: hidden;
  border-radius: 50%;
}
.circle-btn__mover {
  display: flex;
  flex-direction: column;
  gap: var(--pad);
  padding-top: var(--pad);
  transition: transform 0.25s;
}
/* One word per line. */
.circle-btn__label { display: block; word-spacing: 100vw; }

/* Large variant: longer labels wrap normally and are centred in the window;
   each copy is exactly one window tall, so the hover slide stays exact. */
.circle-btn--lg { --size: 160px; --window: 130px; }
.circle-btn--lg .circle-btn__ring { width: 140px; height: 140px; padding: 7px; }
.circle-btn--lg .circle-btn__ring svg { width: 120px; height: 121px; }
.circle-btn--lg .circle-btn__mover { gap: 0; padding-top: 0; }
.circle-btn--lg .circle-btn__label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--window);
  padding: 0 14px;
  word-spacing: normal;
}

.circle-btn:hover .circle-btn__mover,
.circle-btn:focus-visible .circle-btn__mover { transform: translateY(-50%); }
.circle-btn:focus-visible { outline-offset: -4px; }
