/* ============================================================
   The Butcher Shoppe — History / Legacy page
   Loaded after styles.css and story.css.
   ============================================================ */

/* ---------- Timeline ---------- */
.history-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xl) 0;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--amber);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 var(--space-xl) var(--space-xl);
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  text-align: left;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  background: var(--amber);
  border: 3px solid var(--bone);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--amber);
}

.timeline-item:nth-child(odd)::before {
  right: -7px;
}

.timeline-item:nth-child(even)::before {
  left: -7px;
}

.timeline-item__year {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--oxblood);
  margin-bottom: var(--space-xs);
  line-height: 1;
}

.timeline-item__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.timeline-item__body {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Quote cards ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.quote-card {
  background: var(--white);
  border: 1px solid rgba(12, 12, 12, 0.08);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-card blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
  margin: 0 0 var(--space-sm);
}

.quote-card cite {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oxblood);
  font-style: normal;
}

/* ---------- Community promise cards on dark ---------- */
.history-community .promise-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.history-community .promise-card h3 {
  color: var(--amber);
}

.history-community .promise-card p {
  color: rgba(250, 248, 245, 0.72);
}

/* ---------- Four-item milestone row ---------- */
.milestone-row--four {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .milestone-row--four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .milestone-row--four {
    grid-template-columns: 1fr;
  }

  .history-timeline::before {
    left: 6px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    text-align: left;
    padding-left: var(--space-xl);
    padding-right: 0;
  }

  .timeline-item::before,
  .timeline-item:nth-child(odd)::before,
  .timeline-item:nth-child(even)::before {
    left: 0;
    right: auto;
  }

  .quote-grid {
    grid-template-columns: 1fr;
  }
}
