.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wildcard-block {
  margin: 6rem 0;
  padding: 4rem;
  text-align: center;
  overflow: hidden;
  border-block: 3px solid #ffcc00;
}

.wildcard-intro {
  font-size: clamp(2.5rem, 3.75vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
}

.wildcard-dynamic {
  position: relative;
  display: block;
  width: 100%;
  margin-inline: auto;
  min-height: 1.2em;

  font-family: "Adobe Caslon Pro", serif;
  font-size: clamp(2.5rem, 3.75vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.wildcard-dynamic .phrase {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  will-change: tranform;
  white-space: nowrap;
  opacity: 0;
}

.char {
  display: inline-block;
  background: #990000;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .char {
    transform: none !important;
    animation: none !important;
  }
}

@media (max-width: 60rem) {
  .wildcard-intro {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
  .wildcard-dynamic {
    font-size: clamp(1rem, 3.5vw, 3rem);
  }

  .wildcard-dynamic .phrase span {
    max-width: 320px;
  }
}
