/* Rotating text. Font and colour from the Bekifft tokens. */
.rotating-text__heading {
  text-align: center;
  letter-spacing: -.02em;
  margin: 0;
  font-family: var(--bk-font-display);
  font-size: clamp(2.5em, 7.5vw, 4.5em);
  font-weight: 400;
  line-height: 1;
  width: 100%;
  color: var(--bk-text);
}

.rotating-text__highlight {
  color: var(--bk-accent);
}

[data-rotating-words] {
  display: inline-block;
  position: relative;
}

.rotating-text__inner {
  display: inline-block;
}

.rotating-text__word {
  display: block;
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 0;
}

.rotating-line{
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
  white-space: nowrap;
}

.rotating-line-mask{
  overflow-x: visible !important;
  overflow-y: clip !important;
}

.rotating-text-section { display: grid; place-items: center; padding: var(--bk-space-9) var(--bk-gutter); }
