/* Original implementation inspired by Eclipse's scroll-driven character reveal. */
.er-text {
  --er-muted: .065;
  margin: 0;
  color: inherit;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: clamp(2.5rem, 7.6vw, 8rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.035em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.er-word { display: inline-block; white-space: nowrap; }
.er-char { opacity: var(--er-opacity, 1); }
.er-indent { display: block; margin-left: 36%; margin-top: .2em; }
.er-last { display: block; margin-top: .7em; }
.er-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
@media (max-width: 600px) {
  .er-text { font-size: clamp(2.25rem, 10.5vw, 4.4rem); line-height: 1.1; }
  .er-indent { margin-left: 9%; margin-top: .4em; }
}
@media (prefers-reduced-motion: reduce) {
  .er-char { opacity: 1 !important; }
}

/* Preserve the site's hero typography; only its characters animate. */
.sticky-word-reveal__text.er-text {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 3rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: none;
}
.sticky-word-reveal__support { margin: 1rem 0 0; }
.sticky-word-reveal__emphasis {
  margin: 1rem 0 0;
  color: #D9FF99;
  letter-spacing: 0.12em;
  font-variant-caps: small-caps;
  font-size: .875rem;
}
@media (max-width: 1100px) {
  .sticky-word-reveal__text.er-text { font-size: clamp(1.4rem, 3vw, 2rem); }
}
@media (max-width: 600px) {
  .sticky-word-reveal__text .er-word { white-space: normal; overflow-wrap: anywhere; }
}
