/* Home-only refinement. Content is readable before JavaScript is ready. */
.editorial-home .editorial-horizontal.editorial-statement-exits .editorial-statement { opacity: 1; }
.editorial-home .editorial-horizontal.editorial-statement-exits .editorial-statement__copy { opacity: var(--editorial-statement-copy-opacity, 1); }
.editorial-home .editorial-horizontal .editorial-statement__heading { display: grid; }
.editorial-home .editorial-horizontal .editorial-statement__heading > .editorial-statement-line {
  overflow: hidden;
  /* Font overhang stays inside the mask without changing any line position. */
  padding-block: .22em;
  margin-block: -.22em;
}
.editorial-home .editorial-statement__heading > .editorial-statement-line > .editorial-statement-line__text {
  margin: 0;
  white-space: inherit;
}
.editorial-home .editorial-horizontal .editorial-statement-line__text {
  transform: translate3d(0, calc(var(--editorial-line-exit, 0) * -160%), 0);
}

/* The selected headings own their lines; disable their old whole-block rise. */
.editorial-home.editorial-reveals-ready .editorial-motion-host[data-editorial-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}
.editorial-home .editorial-motion-line {
  display: block;
  overflow: hidden;
  padding-block: .18em;
  margin-block: -.18em;
}
.editorial-home .editorial-motion-heading { display: grid; }
.editorial-home .editorial-motion-line__text { display: block; }
/* Preserve the original ceremony phrase wrapping; independently balancing
   this fragment would move "of" onto the final line at desktop widths. */
.editorial-home #services-heading .editorial-motion-line__text { text-wrap: wrap; }
.editorial-home .editorial-motion-pending .editorial-motion-line__text,
.editorial-home .editorial-motion-row.editorial-motion-pending { opacity: 0; }
.editorial-home .editorial-motion-photo.editorial-motion-pending { opacity: .86; }

@media (prefers-reduced-motion: reduce) {
  .editorial-home .editorial-statement-line__text,
  .editorial-home .editorial-motion-line__text,
  .editorial-home .editorial-motion-row,
  .editorial-home .editorial-motion-photo { opacity: 1 !important; transform: none !important; }
  .editorial-home .editorial-statement__copy { opacity: 1 !important; }
}
