/* The hero is one continuous illustration; copy and actions keep their place. */
.hero h1 { text-wrap: balance; }
.hero-motion {
  margin: 0;
  min-width: 0;
  width: 100%;
  align-self: center;
  text-align: center;
}
.hero-motion__scene {
  display: block;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 6 / 5;
  margin-inline: auto;
}
.hero-motion__scene > svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.hero-motion__caption {
  margin: -6px 0 4px;
  min-height: 1.6em;
  color: var(--ink);
  font: 400 clamp(24px, 2.5vw, 32px) / 1.35 "Source Serif", Georgia, serif;
  letter-spacing: -.02em;
}
.hero-motion__messages {
  display: grid;
  align-items: center;
  justify-items: center;
}
.hero-motion__messages > span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 200ms ease, transform 250ms ease, color 250ms ease;
}
.hero-motion__messages > span:first-child {
  color: var(--clay);
}
.hero-motion__ellipsis {
  display: inline-flex;
  white-space: nowrap;
}
.hero-motion__ellipsis > [data-hero-dot] {
  display: inline-block;
  opacity: .6;
}
.hero-motion[data-phase="pressure"] [data-hero-caption="0"],
.hero-motion[data-phase="space"] [data-hero-caption="1"],
.hero-motion[data-phase="signature"] [data-hero-caption="2"],
.hero-motion[data-phase="still"] [data-hero-caption="1"] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 200ms;
}
.hero-motion__visual {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: inherit;
  line-height: 0;
  appearance: none;
  cursor: pointer;
}
.hero-motion__visual:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 5px;
}
.hero-motion__visual:disabled {
  opacity: 1;
  cursor: default;
}
[data-hero-thoughts] {
  pointer-events: none;
}
[data-hero-thoughts] text {
  font: 400 34px / 1.2 "Source Serif", Georgia, serif;
  letter-spacing: -.012em;
  fill: var(--clay);
  stroke: none;
}
[data-hero-thread] {
  fill: none;
  stroke: var(--clay);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-motion[data-phase="signature"] [data-hero-caption="2"] {
  color: var(--green);
  text-shadow: 0 0 calc(7px + 6px * var(--hero-si-accent, 0))
    rgb(36 92 79 / calc(.125 + .208 * var(--hero-si-accent, 0)));
}
@media (max-width: 720px) {
  .hero { gap: 16px; }
  .hero-copy { display: contents; }
  .hero .eyebrow { order: 0; margin-bottom: 0; }
  .hero h1 { order: 1; margin-bottom: 0; }
  .hero-motion { order: 2; max-width: 330px; margin-inline: auto; }
  .hero .lead { order: 3; margin: 0; }
  .hero .actions { order: 4; margin-top: 4px; }
  .hero .hero-trust { order: 5; margin-top: 0; }
  .hero-motion__caption { font-size: 26px; }
}
@media (max-width: 370px) {
  .hero-motion__caption { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-motion__messages > span { transition: none; transform: none; }
}
