/* Hero copy and scroll invitation, scoped to the opening section. */
#home-story #hero .hero-service {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: .15em;
}
#home-story #hero .hero-service-description { white-space: nowrap; }
#home-story #hero .hero-service .framed-word { margin-right: 0; }
#home-story #hero .hero-title {
  font-weight: 750;
  line-height: 1.3;
}
#home-story #hero .hero-line { font-weight: inherit; }
#home-story #hero .hero-ownership-summary > span {
  display: block;
  white-space: nowrap;
}
#home-story #hero .hero-ownership-summary > span + span::before { content: none; }
@media (max-width: 800px) {
  #home-story #hero .hero-service { font-size: 16px; }
  #home-story #hero .hero-title { line-height: 1.38; }
}
@media (max-width: 350px) {
  #home-story #hero .hero-service { font-size: 14px; }
}

/* A quiet scroll invitation: only the text moves inside the fixed frame. */
#home-story #hero .hero-scroll-cue {
  flex: 0 0 auto;
  max-width: 100%;
  margin: 24px 0 0;
  padding: 9px 15px;
  border: 1px solid #d9d5ce;
  border-radius: 7px;
  background: #faf9f6;
  color: #484742;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -.025em;
  opacity: var(--hero-title-opacity, 1);
}
#home-story #hero .hero-scroll-cue-mask {
  display: block;
  overflow: hidden;
}
#home-story #hero .hero-scroll-cue-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  animation: hero-cue-reveal 6s cubic-bezier(.22, 1, .36, 1) infinite;
}
#home-story #hero .hero-scroll-cue-arrow {
  display: block;
  flex: 0 0 auto;
  margin-left: 0;
  color: var(--orange, #e85530);
}
@keyframes hero-cue-reveal {
  0% { transform: translateY(110%); }
  13.333%, 86.667% { transform: translateY(0); }
  100% { transform: translateY(-110%); }
}
@media (max-width: 800px) {
  #home-story #hero .hero-scroll-cue {
    margin-top: 20px;
    padding: 7px 13px;
    font-size: 13px;
  }
}
@media (max-width: 900px) and (max-height: 500px) {
  #home-story #hero .hero-title { line-height: 1.25; }
  #home-story #hero .hero-scroll-cue {
    margin-top: 10px;
    padding: 5px 12px;
    font-size: 12px;
    line-height: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #home-story #hero .hero-scroll-cue { opacity: 1; }
  #home-story #hero .hero-scroll-cue-text { animation: none; }
}
