#stride-host {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 0;
  padding-block: 0 24px;
  text-align: center;
}

.stride-trigger {
  display: grid;
  justify-items: center;
  gap: 7px;
  width: clamp(210px, 30vw, 320px);
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.stride-trigger:disabled {
  cursor: default;
}

.stride-trigger:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
  border-radius: 12px;
}

.stride-portrait {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
}

.stride-portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.stride-trigger-label {
  padding: 8px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
}

.stride-trigger:hover .stride-trigger-label {
  background: var(--paper);
  color: var(--green);
}

.stride-beak {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform-origin: 51.4% 14.2%;
}

#stride-host.is-speaking .stride-beak {
  animation: stride-speak .68s linear infinite;
}

@keyframes stride-speak {
  0%, 24%, 57%, 100% { opacity: 0; transform: scaleY(.72); }
  12%, 43%, 75% { opacity: 1; transform: scaleY(1); }
  87% { opacity: 1; transform: scaleY(.88); }
}

.stride-transcript {
  max-width: 52ch;
  padding: 0;
  border: 0;
  font-size: .9rem;
  line-height: 1.55;
}

.stride-transcript summary {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .16em;
}

.stride-transcript p {
  margin-bottom: 0;
}

.stride-error {
  margin: 0;
  font-size: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  #stride-host.is-speaking .stride-beak { animation: none; }
}

.hero-flyer-link {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.meet-flyer img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  margin-top: 18px;
  border-radius: 5px;
}

@media (max-width: 750px) {
  .hero .hero-grid h1 {
    font-size: clamp(46px, 14vw, 104px);
  }

  #stride-host {
    padding-block: 4px 24px;
  }

  .stride-trigger {
    width: clamp(190px, 52vw, 250px);
  }
}
