/* The invisible phrase stack reserves the largest phrase at each viewport width. */
.porcelain .hero-motion {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-top: 22px;
  padding-left: 12px;
  border-left: 3px solid #48b99b;
  color: #214993;
  font: 650 clamp(18px, 1.65vw, 22px)/1.45 var(--sans);
}
.hero-motion-accessible { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hero-motion-visual { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .35em; min-width: 0; max-width: 100%; }
.hero-motion-prefix { color: #263f62; overflow-wrap: anywhere; }
.hero-motion-frame { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; max-width: 100%; }
.hero-motion-frame > span { grid-area: 1 / 1; min-width: 0; overflow-wrap: anywhere; }
.hero-motion-reserve { visibility: hidden; pointer-events: none; }
.hero-motion-caret { display: inline-block; width: .16em; height: .95em; margin-left: .12em; vertical-align: -.08em; border-right: 2px solid transparent; }
.hero-motion.is-playing .hero-motion-active .hero-motion-caret { border-color: #26876d; animation: hero-motion-caret 1s steps(2, start) infinite; }
.hero-motion .hero-motion-toggle {
  flex: 0 0 32px;
  width: 32px;
  min-height: 32px;
  padding: 2px;
  border: 1px solid #c4d5ec;
  border-radius: 8px;
  color: #315a89;
  background: #ffffffa3;
  font: 650 14px/1 var(--sans);
}
.hero-motion .hero-motion-toggle[hidden] { display: block; visibility: hidden; pointer-events: none; }
.hero-motion .hero-motion-toggle:hover { background: #e1eefc; border-color: #7fa9da; }
.hero-motion .hero-motion-toggle:focus-visible { outline: 2px solid #245fc4; outline-offset: 3px; }
.porcelain .hero-copy .hero-motion + .lead { margin-top: 20px; }
@keyframes hero-motion-caret { 50% { opacity: 0; } }
@media (max-width: 700px) {
  .porcelain .hero-motion { margin-top: 18px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-motion.is-playing .hero-motion-active .hero-motion-caret { animation: none; border-color: transparent; }
}
@media print {
  .hero-motion .hero-motion-toggle { display: none; }
  .hero-motion.is-playing .hero-motion-active .hero-motion-caret { animation: none; border-color: transparent; }
}
