/* ═══════════════════════════════════════════════════════════
   Feature Indicator — Component
   Figma: Section/Slider (node 1202:10609)

   Vertical step indicator: N segments, one active (an orange bar
   that fills the available height), the rest small gray dots.
   Markup is generated by feature-indicator.js — see that file for
   the data-attribute API.
═══════════════════════════════════════════════════════════ */

.feature-indicator {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: stretch;   /* fills the height of the row it sits in */
  width: 6px;
  flex-shrink: 0;
}

.feature-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 26px;
  background: rgba(145, 158, 171, 0.24);   /* Figma: --action/focus */
  flex-shrink: 0;
  transition: background 0.3s ease, flex-grow 0.3s ease;
}

.feature-indicator-dot.is-active {
  background: var(--orange);
  flex: 1 0 0;
  height: auto;
  min-height: 4px;
}

/* ── Responsive ─────────────────────────────────────────────
   The touch tiers (≤1024) use the "Open Stage" slider (see .feature-section
   in style.css), which has its own prev/next controls and a "01/05" text
   counter — the dot rail is desktop-only there. Markup stays (the GSAP
   branch's txt() selector still finds it on desktop), just hidden. */
@media (max-width: 1024px) {
  .feature-indicator { display: none; }
}
