.split-text-host {
  word-break: normal;
  opacity: 0;
  translate: 0 16px;
  transition: opacity .48s ease, translate .58s cubic-bezier(.22,1,.36,1);
}

.split-text-host.is-split-visible {
  opacity: 1;
  translate: 0 0;
}

/* Older page scripts used per-word entrances. Keep their block-level reveal,
   but render every word immediately so typography never trickles in. */
.about-text-word,
.career-text-word {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
}

.split-text-word {
  display: inline-block;
  white-space: nowrap;
}

.split-text-letter {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  will-change: opacity, transform;
}

.split-text-host.is-split-visible .split-text-letter {
  animation: scanology-title-letter-in 625ms cubic-bezier(0.215, 0.61, 0.355, 1) both;
  animation-delay: calc(var(--split-index, 0) * 25ms);
}

.split-text-host.is-split-complete .split-text-letter {
  will-change: auto;
}

/* Shared page motion: backgrounds stay in place while their content rises in. */
.site-motion-item {
  opacity: 0;
  translate: 0 16px;
  transition:
    opacity 550ms ease,
    translate 750ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--site-motion-delay, 0ms);
  /* Promote only during the entrance, not every offscreen section. */
}

.site-motion-item.is-site-motion-visible,
.site-motion-section.is-site-motion-visible > .site-motion-item {
  opacity: 1;
  translate: 0 0;
}

.site-motion-item.is-site-motion-settled,
.site-motion-section.is-site-motion-settled > .site-motion-item {
  will-change: auto;
}

/* Photography fades gently without blur, clipping or oversized GPU layers. */
.site-image-reveal {
  opacity: 0;
  translate: 0 16px;
  transition: opacity 650ms cubic-bezier(.22,1,.36,1), translate 850ms cubic-bezier(.22,1,.36,1);
  transition-delay: var(--site-image-delay, 0ms);
}
.site-image-reveal.is-site-image-visible {
  opacity: var(--site-image-opacity, 1);
  translate: 0 0;
}
.site-image-reveal.is-site-image-settled { will-change: auto; }

html.site-scroll-damped {
  scroll-behavior: auto !important;
}

@keyframes scanology-title-letter-in {
  from { opacity: 0; transform: translate3d(0, 40px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .split-text-host {
    opacity: 1;
    translate: none;
    transition: none !important;
  }
  .split-text-letter {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .site-motion-item {
    opacity: 1;
    filter: none;
    translate: none;
    transition: none !important;
  }

  .site-image-reveal {
    opacity: var(--site-image-opacity, 1);
    filter: none;
    clip-path: none;
    translate: none;
    scale: 1;
    transition: none !important;
  }
}

/* One easing curve for deliberate movement; touch feedback stays immediate. */
@media (hover: hover) and (pointer: fine) {
  .nuxt-page-shell :is(.carousel-track,.feature-grid,.sd-case-track) {
    transition-timing-function: cubic-bezier(.22,1,.36,1);
  }
}
@media (max-width: 900px) {
  .site-motion-item, .site-image-reveal, .split-text-host {
    transition-duration: 300ms, 450ms;
    transition-delay: 0ms;
  }
}
