.wordmark-motion {
  position: relative;
  display: inline-block;
  white-space: pre;
}

.wordmark-motion .wordmark-layout {
  display: block;
  visibility: hidden;
  pointer-events: none;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.wordmark-motion .wordmark-letters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.wordmark-motion .wordmark-letter {
  position: absolute;
  top: 0;
  height: 100%;
  display: block;
  overflow: hidden;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  color: var(--wordmark-ink, inherit);
  transform: translate3d(var(--wordmark-x, 0px), var(--wordmark-y, -5.5px), 0) scaleY(var(--wordmark-scale, 1));
  transform-origin: center 65%;
  clip-path: inset(0 var(--wordmark-cut, 100%) 0 0);
  mask-image: linear-gradient(to bottom, #000 0 43%, transparent 43% calc(43% + var(--wordmark-seam, 4%)), #000 calc(43% + var(--wordmark-seam, 4%)) 100%);
  will-change: transform, clip-path;
}

.wordmark-motion .wordmark-letter-ink {
  position: absolute;
  top: 0;
  display: block;
  width: max-content;
  white-space: pre;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .wordmark-motion .wordmark-letter {
    transform: none !important;
    clip-path: none !important;
    mask-image: none !important;
    color: inherit !important;
  }
}
