/* Decorative adaptations of Annnimate's Echo Headline and Process Rail. */
.home-page:not(.field-notes) .work-title-composition {
  position: relative;
  isolation: isolate;
}
.home-page:not(.field-notes) .work-title-composition > h2 {
  position: relative;
  z-index: 1;
}
.home-page:not(.field-notes) [data-ann-echo] {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.home-page:not(.field-notes) [data-ann-echo-ready] [data-ann-echo] {
  display: grid;
  place-items: center;
}
.home-page:not(.field-notes) .ann-echo-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  font-family: var(--ann-echo-family);
  font-size: var(--ann-echo-font-size);
  font-weight: var(--ann-echo-weight);
  line-height: var(--ann-echo-line);
  letter-spacing: var(--ann-echo-tracking);
  text-transform: var(--ann-echo-case);
  transform-origin: 50% 45%;
  opacity: 0;
  pointer-events: none;
}

.home-page:not(.field-notes) [data-ann-process] {
  --ann-rail-height: 16px;
  --ann-rail-gap: 8px;
  --ann-rail-progress: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  block-size: var(--ann-rail-height);
  margin-block-start: calc(var(--home-section-gap, 30px) - var(--ann-rail-height) - var(--ann-rail-gap));
  pointer-events: none;
}
.home-page:not(.field-notes) [data-ann-process]:not([hidden]) + .service-tiles {
  margin-block-start: var(--ann-rail-gap, 8px);
}
.home-page:not(.field-notes) [data-ann-process]::before,
.home-page:not(.field-notes) .ann-process-fill {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 0;
  block-size: 1px;
  translate: 0 -50%;
}
.home-page:not(.field-notes) [data-ann-process]::before {
  content: '';
  inset-inline-end: 0;
  background: #fff3;
}
.home-page:not(.field-notes) .ann-process-fill {
  display: none;
  inline-size: calc(var(--ann-rail-progress) * 100%);
  background: #d0cbc5;
}
.home-page:not(.field-notes) [data-ann-process-ready] .ann-process-fill {
  display: block;
}
.home-page:not(.field-notes) .ann-process-fill::after {
  content: '';
  position: absolute;
  inset: 50% -3px auto auto;
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background: #f7f2eb;
  translate: 0 -50%;
}
.home-page:not(.field-notes) [data-ann-process] i {
  z-index: 1;
  justify-self: center;
  inline-size: 5px;
  block-size: 5px;
  border: 1px solid #999;
  border-radius: 50%;
  background: #090909;
}
.home-page:not(.field-notes) [data-ann-process] i.is-reached {
  border-color: #d0cbc5;
  background: #d0cbc5;
}
.home-page:not(.field-notes) [data-ann-process] i.is-active {
  border-color: #fff;
  background: #fff;
  box-shadow: 0 0 0 3px #fff3;
}

@media (max-width: 599px), (max-height: 500px), (prefers-reduced-motion: reduce) {
  .home-page:not(.field-notes) [data-ann-echo-ready] [data-ann-echo] {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-page:not(.field-notes) [data-ann-process-ready] .ann-process-fill {
    display: none;
  }
  .home-page:not(.field-notes) [data-ann-process] i.is-reached,
  .home-page:not(.field-notes) [data-ann-process] i.is-active {
    border-color: #999;
    background: #090909;
    box-shadow: none;
  }
}
