/* Construction gallery-specific */

/* Every tile in this gallery stays the same size — unlike the Pictures
   gallery, no "large" featured tile. Overrides .gallery-item.large from
   style.css (which still applies elsewhere) without touching that shared
   rule, since existing/future photos can still carry the "large" flag from
   the admin panel. */
.gallery-grid[data-gallery="construction"] .gallery-item.large {
  grid-column: auto;
  aspect-ratio: 4/3;
}

/* Stage badge overlaid on each gallery item */
.stage-badge {
  position: absolute; top: var(--s4); left: var(--s4);
  background: rgba(14,14,15,.82);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--r1);
  border: 1px solid var(--border);
  font-size: 9px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent); pointer-events: none;
}

/* Progress timeline strip */
.progress-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: var(--s6) var(--s7);
  margin-bottom: clamp(var(--s7), 6vw, var(--s9));
  overflow-x: auto;
}
.progress-track {
  display: flex; align-items: center; gap: 0;
  min-width: 560px;
}
.progress-step {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: var(--s3);
  position: relative;
}
.progress-step::after {
  content: '';
  position: absolute; top: 14px; left: 50%; right: -50%;
  height: 1px; background: var(--border);
  z-index: 0;
}
.progress-step:last-child::after { display: none; }
.progress-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  flex-shrink: 0;
  transition: border-color var(--dur-m), background var(--dur-m);
}
.progress-dot svg { width: 12px; height: 12px; stroke: var(--text-dim); fill: none; stroke-width: 2; }
.progress-step.done .progress-dot {
  border-color: var(--accent);
  background: var(--accent-low);
}
.progress-step.done .progress-dot svg { stroke: var(--accent); }
.progress-step.done::after { background: var(--accent-mid); }
.progress-step.active .progress-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-mid);
}
.progress-step.active .progress-dot svg { stroke: var(--bg); }
.progress-label {
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-dim); text-align: center;
}
.progress-step.done .progress-label,
.progress-step.active .progress-label { color: var(--accent); }
