/* Collective's quiet segmented lines, reused by the two pillar galleries.
   The 2px tracks have separate 44px targets; dimensions never pulse or scale.
   Each line's width comes from --photo-indicator-hit, shared with Collective's
   carousel so every indicator on the site is the same size. The group used to
   stretch to 360px, which pushed each line to 110px; it now hugs its lines. */
html body .pillar-progress {
  position: relative;
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 2px;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
}
html body .pillar-progress[hidden] { display: none !important; }
html body .pillar-progress__button {
  display: flex;
  flex: 0 0 var(--photo-indicator-hit, 56px);
  width: var(--photo-indicator-hit, 56px);
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.pillar-progress__track {
  display: block;
  width: calc(100% - 8px);
  height: 2px;
  overflow: hidden;
  background: rgba(244, 237, 223, .34);
}
.pillar-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--warm-ivory, #f3ede0);
  transform: scaleX(0);
  transform-origin: left center;
}
.pillar-progress__button:is(.is-past, [aria-current="true"]) .pillar-progress__fill {
  transform: scaleX(1);
}
/* About reuses its existing five-second clock, including its reset/pause rules.
   The homepage has no timed class: its lines only indicate manual selection. */
.pillar-progress.is-running [aria-current="true"] .pillar-progress__fill {
  animation: pillarProgress var(--pillar-interval) linear forwards;
}
.zuvani-pillars.is-paused .pillar-progress.is-running [aria-current="true"] .pillar-progress__fill {
  animation-play-state: paused;
}
html body .pillar-progress__button:focus-visible {
  outline: 2px solid var(--warm-ivory, #f3ede0);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--espresso, #231a10);
}
html body .pillar-progress__button:active .pillar-progress__track {
  background: rgba(244, 237, 223, .65);
}
.pillar-progress__announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .pillar-progress.is-running [aria-current="true"] .pillar-progress__fill {
    animation: none;
    transform: scaleX(1);
  }
}
@media (prefers-contrast: more) {
  .pillar-progress__track { background: rgba(244, 237, 223, .65); }
}
@media (forced-colors: active) {
  .pillar-progress__track { forced-color-adjust: none; background: GrayText; }
  .pillar-progress__fill { background: Highlight; }
  html body .pillar-progress__button:focus-visible { outline-color: Highlight; }
}
