/* Homepage headline ---------------------------------------------------------*/
.hero--rotating {
  --terrain-paper: var(--paper);
  --terrain-ink: light-dark(#1e1e1e, #e1e1e1);
  --terrain-signal: rgba(0, 224, 90, .95);
  min-block-size: min(92vh, 760px);
  background: var(--terrain-paper);
  overflow: hidden;
}
.hero--rotating .hero-terrain { color: var(--terrain-ink); }
.hero--rotating::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  block-size: 120px;
  background: linear-gradient(transparent, var(--terrain-paper));
  pointer-events: none;
}
.hero--rotating h1 {
  max-inline-size: none;
  font-size: clamp(1.625rem, 4.65vw, 4.25rem);
  line-height: 1.08;
}
.headline-prefix {
  display: block;
  max-inline-size: 28ch;
  text-wrap: balance;
}
.headline-names {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-block-start: .18em;
  overflow-wrap: anywhere;
}
.headline-names > span {
  align-self: start;
  grid-area: 1 / 1;
  min-inline-size: 0;
}
.headline-measure { visibility: hidden; }
.hero--rotating .hero-copy :is(h1, p) {
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: var(--terrain-paper);
}
.hero-motion {
  position: absolute;
  inset-inline-end: .5rem;
  inset-block-end: .5rem;
  z-index: 1;
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}
.hero-motion::before {
  content: "";
  grid-area: 1 / 1;
  inline-size: 10mm;
  block-size: 10mm;
  border-radius: 50%;
  background: var(--wash);
}
.hero-motion svg {
  position: relative;
  grid-area: 1 / 1;
  inline-size: 1rem;
  block-size: 1rem;
  fill: currentColor;
}
@media (forced-colors: active) {
  .hero--rotating::after { display: none; }
  .hero--rotating .hero-copy :is(h1, p) { -webkit-text-stroke-width: 0; }
}
.headline-accessible {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
