/* Motion owns homepage transforms. Content is readable before/without JS. */
.home-hero { overflow: clip; }
.home-hero.scene::before { display: none; }
.home-hero.scene::after { background: linear-gradient(90deg,#fffffff7 0%,#fffffff2 38%,#ffffffbb 65%,#ffffff26 100%); }
.home-hero__backdrop { position: absolute; inset: -70px 0; z-index: -2; background: url('../images/background.png') center/cover no-repeat; }
.home-hero__content { padding-block: 110px 125px; }
.home-hero__heading { max-width: 1200px; font-size: clamp(50px,6.3vw,96px); line-height: 1.02; overflow-wrap: anywhere; }
.home-hero__heading > .sr-only { display: block; }
.home-hero__heading .hero-phrases { display: grid; padding-block: .06em; }
.hero-phrase { grid-area: 1 / 1; visibility: hidden; opacity: 0; overflow-wrap: anywhere; line-height: 1.14; padding-bottom: .12em; }
.hero-phrase.is-current { visibility: visible; opacity: 1; }
.hero-motion-toggle { background: #ffffffb8; border: 1px solid #a1a1aa; color: #45454f; border-radius: 30px; font-size: 12px; padding: 7px 13px; min-height: 36px; }
.hero-motion-toggle:hover { border-color: #111; }
.hero-motion-controls { min-height: 36px; }
.home-hero .scroll-cue > span[data-source-id] { font-size: 12px; font-weight: 700; }
.page-home .button { transition: background .25s,box-shadow .25s; }
.page-home .feature-card,.page-home .project-tile,.page-home .platform-tile { transition: box-shadow .25s; }
.page-home .feature-card:hover,.page-home .project-tile:hover,.page-home .platform-tile:hover { transform: none; }
.page-home .sound-badge > span { animation: none; }
@media(min-height: 950px) and (max-width: 1200px) {
  .home-hero { min-height: clamp(680px, 72svh, 920px); }
  .home-hero__content { padding-block: clamp(64px, 8vh, 100px); }
}
@media(max-width:768px) {
  .home-hero__heading { font-size: clamp(40px, 9.6vw, 60px); }
}
@media(max-width:600px) {
  .home-hero__content { padding-block: 112px; }
  .home-hero__heading { font-size: clamp(34px, 10.2vw, 56px); letter-spacing: -.048em; }
  .hero-phrase { overflow-wrap: normal; line-height: 1.14; }
  .home-hero__description { font-size: 17px; }
  .home-hero.scene::after { background: linear-gradient(90deg,#fffffff7,#ffffffd9 75%,#ffffffaa); }
  .hero-motion-toggle { min-height: 44px; }
  .hero-motion-controls { min-height: 44px; }
}
@media(max-width:480px) {
  .home-hero__heading { font-size: clamp(30px, 9.4vw, 42px); }
  .hero-phrase[data-length-tier="long"] { font-size: 0.9em; }
  .hero-phrase[data-length-tier="xlong"] { font-size: 0.82em; }
}
@media(max-width:360px) {
  .home-hero__heading { font-size: clamp(28px, 8.8vw, 36px); }
  .hero-phrase[data-length-tier="long"] { font-size: 0.88em; }
  .hero-phrase[data-length-tier="xlong"] { font-size: 0.8em; }
}
@media(max-width:320px) {
  .home-hero__heading { font-size: clamp(23px, 7.8vw, 28px); }
  .hero-phrase[data-length-tier="long"] { font-size: 0.82em; }
  .hero-phrase[data-length-tier="xlong"] { font-size: 0.68em; }
}
@media(prefers-reduced-motion:reduce) {
  .hero-phrase { opacity: 0 !important; visibility: hidden !important; transform: none !important; }
  .hero-phrase:first-child { opacity: 1 !important; visibility: visible !important; }
  .hero-motion-toggle { display: none; }
}
