/* Local draft review only. Keep the supplied layout and type sizes while
   making the complete narrative readable independently of scroll state. */
:is(.project-pilot, .project-wetility) :is(
  .mxd-block-split__subtitle p,
  .mxd-block-split__manifest p,
  .split-data__name p,
  .split-data__descr p,
  .split-info__details p,
  .mxd-testimonials-project__subtitle p,
  .mxd-testimonials-project__manifest p,
  .mxd-testimonials-project__manifest .btn,
  .mxd-testimonials-project__manifest .btn-caption
) {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
}

/* SplitText adds line masks and inline transforms after the page loads.
   Scope the reveal override to narrative copy; hero and media motion remain. */
:is(.project-pilot, .project-wetility) :is(
  .mxd-block-split__manifest,
  .mxd-testimonials-project__manifest
) :is(.mxd-split-lines, .mxd-split-lines > div, .line, .line-mask) {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
  overflow: visible !important;
}

.project-wetility [data-word-scroll-review] .fgx-word-scroll-review__word {
  opacity: 1 !important;
  color: inherit !important;
}

@media (prefers-reduced-motion: reduce) {
  :is(.project-pilot, .project-wetility) :is(
    .mxd-block-split__subtitle,
    .mxd-block-split__manifest,
    .split-data__name,
    .split-data__descr,
    .split-info__details,
    .mxd-testimonials-project__subtitle,
    .mxd-testimonials-project__manifest
  ) * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 767px) {
  .project-pilot :is(
    .mxd-block-split__inner,
    .mxd-testimonials-project__inner
  ) {
    box-sizing: border-box;
    padding-inline: 20px;
  }
}
