/* Builder chronicle — isolated from legacy .timeline in main.css */

.builder-chronicle {
  margin: 0 0 44px;
  padding: 0;
}

.builder-chronicle-title {
  margin: 0 0 18px;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(201, 162, 39, 0.55);
}

.bt-track {
  position: relative;
  padding: 20px 12px 14px;
  background:
    linear-gradient(180deg, rgba(28, 22, 16, 0.9) 0%, rgba(14, 11, 9, 0.95) 100%);
  border: 1px solid rgba(201, 162, 39, 0.2);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.05);
}

.bt-rail {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 28px;
  height: 2px;
  background: rgba(201, 162, 39, 0.12);
  border-radius: 1px;
  pointer-events: none;
  z-index: 0;
}

.bt-progress {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(139, 115, 85, 0.9), var(--accent));
  box-shadow: 0 0 8px rgba(201, 162, 39, 0.35);
  border-radius: 1px;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.bt-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px 4px;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.bt-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 4px 4px;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: center;
  min-width: 0;
  transition: opacity 0.25s ease;
}

.bt-step::after {
  display: none !important;
}

.bt-step:hover .bt-dot,
.bt-step:focus-visible .bt-dot {
  transform: rotate(45deg) scale(1.12);
  box-shadow: 0 0 14px rgba(201, 162, 39, 0.5);
}

.bt-step:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

.bt-dot {
  width: 11px;
  height: 11px;
  margin: 0;
  background: rgba(139, 115, 85, 0.85);
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: none;
  border-radius: 0;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.bt-label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: clamp(9px, 1.65vw, 11px);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(212, 196, 168, 0.75);
  line-height: 1.25;
  max-width: 100%;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.bt-step.is-active .bt-dot,
.bt-step.is-past .bt-dot {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.45);
}

.bt-step.is-active .bt-label {
  color: var(--accent);
}

.bt-step.is-past .bt-label {
  color: rgba(201, 162, 39, 0.65);
}

.bt-step:not(.is-active):not(.is-past) {
  opacity: 0.8;
}

@media (max-width: 720px) {
  .bt-steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 22px;
  }

  .bt-rail,
  .bt-progress {
    display: none;
  }

  .bt-track {
    padding: 16px 10px 12px;
  }
}

@media (max-width: 400px) {
  .bt-label {
    font-size: 8px;
    letter-spacing: 0.06em;
  }
}
