.affiliations {
  border-bottom: 1px solid var(--theme-line);
}

.hero-intro-statement {
  width: 100%;
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.025em;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

.hero-intro-pill {
  --pill-background: var(--theme-surface);
  --pill-dot: var(--theme-accent);
  position: relative;
  display: inline-block;
  padding: .12em .48em .15em 1.12em;
  border-radius: 999px;
  background: var(--pill-background);
  color: var(--theme-ink);
  box-shadow: inset 0 0 0 1px var(--theme-line);
  text-shadow: none;
  font-weight: 400;
  line-height: 1.12;
  white-space: nowrap;
  vertical-align: baseline;
  transition: background-color 420ms cubic-bezier(.22, 1, .36, 1);
}

.hero-intro-pill::before {
  content: '';
  position: absolute;
  top: 50%;
  left: .48em;
  width: .34em;
  height: .34em;
  border-radius: 50%;
  background: var(--pill-dot);
  transform: translateY(-50%);
  transition: background-color 420ms cubic-bezier(.22, 1, .36, 1);
}

.hero-intro-pill-slot {
  position: relative;
  display: inline-block;
  height: 1.12em;
  clip-path: inset(0);
  vertical-align: baseline;
  transition: width 420ms cubic-bezier(.22, 1, .36, 1);
}

.hero-intro-pill-label {
  display: block;
  width: max-content;
  line-height: 1.12;
  white-space: nowrap;
  transition: transform 360ms cubic-bezier(.22, 1, .36, 1), opacity 260ms ease;
}

.hero-intro-pill-label.is-incoming {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(110%);
}

.hero-intro-pill-label.is-leaving {
  opacity: 0;
  transform: translateY(-110%);
}

@media (max-width: 760px) {
  .hero-intro-statement { font-size: clamp(18px, 3vw, 22px); }
}

@media (max-width: 700px) {
  .hero-intro-statement { white-space: normal; text-wrap: balance; }
}

@media (max-width: 560px) {
  .hero-intro-statement {
    max-width: 35ch;
    font-size: clamp(18px, 3.3vw, 20px);
    line-height: 1.7;
    white-space: normal;
    text-wrap: balance;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-intro-pill,
  .hero-intro-pill::before,
  .hero-intro-pill-slot,
  .hero-intro-pill-label {
    transition: none !important;
  }
}
