/* Shared responsive safeguards and desktop Hero refinements. */
html {
  overflow-x: clip;
}
main, .site-footer {
  min-width: 0;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Preserve the existing full-width heading typography at each breakpoint. */
@media(min-width:901px) {
  .hero--neon h1 {
    width:100%;
    max-width:none;
    text-align:left;
    letter-spacing:-.035em;
    word-spacing:.025em;
    line-height:1.06;
    text-wrap:balance;
  }
  .hero--neon h1>span {
    display:inline;
    white-space:normal;
  }
  .hero--neon h1 .hero__title-accent {
    white-space:nowrap;
  }
}

/* Existing large-desktop title metrics remain independent of the surrounding layout. */
@media(min-width:1200px) {
  .hero--neon #hero-title {
    font-size:clamp(55px,4.6vw,88px);
    line-height:1.06;
    letter-spacing:-.035em;
    word-spacing:.015em;
  }
  html:not(:lang(en)) .hero--neon h1 .hero__title-accent {
    white-space:nowrap;
  }
  html:lang(en) .hero--neon h1 .hero__title-accent {
    white-space:normal;
  }
}
