hero-section {
  display: block;
  width: 100%;
}

hero-section > section[class] h1 {
  font-size: 3.5rem;
  font-weight: 600;
}

hero-section > section[class] h1 em {
  color: inherit !important;
  font-style: normal;
  font-weight: 600;
  text-decoration-line: underline;
  text-decoration-color: #11BB77;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
  text-decoration-skip-ink: auto;
}

@media (max-width: 600px) {
  hero-section > section[class] h1 {
    font-size: clamp(2rem, 9.5vw, 2.375rem);
  }

  hero-section > section[class] h1 em {
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
  }
}

/* Old page snapshots may still opt into document-level motion. Keep the actual
   hero readable if a module fails; optional animation belongs to the element. */
html.motion-ready:not(.motion-entered) hero-section .hero-copy > *,
html.motion-ready:not(.motion-entered) hero-section .hero-product {
  opacity: 1;
  transform: none;
}
