:root {
  --section-label-size: clamp(22px, 1.75vw, 28px);
  --section-label-gap: 8px;
}

/* One shared treatment for native labels and the captured manifesto labels. */
.section-label.section-label,
main .absolute:has(> p.h3.uppercase) {
  display: flex;
  align-items: center;
  gap: var(--section-label-gap);
  color: inherit;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: var(--section-label-size);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-label > :is(p, span),
main .absolute:has(> p.h3.uppercase) > p {
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.section-label > svg,
main .absolute:has(> p.h3.uppercase) > svg {
  flex: none;
  width: 1em;
  height: 1em;
  color: inherit;
  transform-origin: 50% 50%;
  animation: section-flower-spin 14s linear infinite;
}

/* Slow continuous spin; it quickens while the label is hovered. */
.section-label:hover > svg,
main .absolute:has(> p.h3.uppercase):hover > svg {
  animation-duration: 4s;
}

@keyframes section-flower-spin {
  to {
    rotate: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-label > svg,
  main .absolute:has(> p.h3.uppercase) > svg {
    animation: none;
  }
}
