.progress-timeline {
  position: relative;
  overflow: hidden;
}

.progress-timeline__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, var(--color-surface-inverse) 0%, #0c1a2e 50%, var(--color-surface-inverse) 100%);
}

.progress-timeline__bg::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(255,199,86,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.progress-timeline__inner {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - (var(--section-padding-x) * 2)));
  margin: 0 auto;
  padding: var(--section-padding-y) 0;
  color: var(--color-text-inverse);
}

/* ── Header ────────────────────────────────────── */

.progress-timeline__header {
  text-align: center;
  margin-bottom: 64px;
}

.progress-timeline__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-display);
  text-wrap: balance;
  position: relative;
  display: inline-block;
}

.progress-timeline__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin: 16px auto 0;
  background: var(--color-primary);
  border-radius: 2px;
}

.progress-timeline__intro {
  max-width: 56rem;
  margin: 0 auto;
  opacity: 0.75;
  line-height: var(--lh-body);
}

/* ── Track ─────────────────────────────────────── */

.progress-timeline__track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ── Vertical Line ─────────────────────────────── */

.progress-timeline__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  transform: translateX(-50%);
  z-index: 0;
}

.progress-timeline__line-svg {
  width: 4px;
  height: 100%;
  display: block;
}

.progress-timeline__line-path {
  stroke-linecap: round;
}

/* ── Step ──────────────────────────────────────── */

.progress-timeline__step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.progress-timeline__step--left {
  justify-content: flex-start;
  padding-right: calc(50% + 32px);
}

.progress-timeline__step--right {
  justify-content: flex-end;
  padding-left: calc(50% + 32px);
}

/* ── Dot ───────────────────────────────────────── */

.progress-timeline__step-dot {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-surface-inverse);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.progress-timeline__step:hover .progress-timeline__step-dot {
  background: var(--color-primary);
  box-shadow: 0 0 0 8px rgba(255, 199, 86, 0.15);
}

.progress-timeline__step-number {
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  line-height: 1;
  transition: color 0.3s ease;
}

.progress-timeline__step:hover .progress-timeline__step-number {
  color: var(--color-surface-inverse);
}

/* ── Card ──────────────────────────────────────── */

.progress-timeline__step-card {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-out);
  cursor: pointer;
}

.progress-timeline__step-card:hover {
  border-color: rgba(255, 199, 86, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.progress-timeline__step-card.is-expanded {
  border-color: rgba(255, 199, 86, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 199, 86, 0.05);
}

/* ── Card media ────────────────────────────────── */

.progress-timeline__step-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.progress-timeline__step-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.progress-timeline__step-card:hover .progress-timeline__step-image {
  transform: scale(1.04);
}

/* ── Card body ─────────────────────────────────── */

.progress-timeline__step-body {
  padding: 24px;
}

.progress-timeline__step-header {
  margin-bottom: 12px;
}

.progress-timeline__step-badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 199, 86, 0.12);
  color: var(--color-primary);
  font-family: var(--font-secondary);
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.progress-timeline__step-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  line-height: var(--lh-display);
}

/* ── Details (expandable) ──────────────────────── */

.progress-timeline__step-details {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
}

.progress-timeline__step-card.is-expanded .progress-timeline__step-details {
  max-height: 2000px;
  opacity: 1;
  margin-top: 16px;
}

.progress-timeline__step-detail {
  opacity: 0.8;
  line-height: var(--lh-body);
}

.progress-timeline__step-detail p {
  margin-bottom: 0.75rem;
}

.progress-timeline__step-detail + .progress-timeline__step-detail,
.progress-timeline__step-detail + .progress-timeline__step-subtitle {
  margin-top: 16px;
}

.progress-timeline__step-subtitle {
  margin: 20px 0 8px;
  font-family: var(--font-display);
  font-size: var(--fs-h5);
  color: var(--color-primary);
}

/* ── Toggle button ─────────────────────────────── */

.progress-timeline__step-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 0;
  background: none;
  border: none;
  color: var(--color-primary);
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: gap 0.2s ease;
}

.progress-timeline__step-toggle:hover {
  gap: 12px;
}

.progress-timeline__toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 199, 86, 0.15);
  transition: transform 0.3s ease, background 0.2s ease;
}

.progress-timeline__step-card.is-expanded .progress-timeline__toggle-icon {
  transform: rotate(45deg);
  background: var(--color-primary);
}

.progress-timeline__step-card.is-expanded .progress-timeline__toggle-icon svg {
  color: var(--color-surface-inverse);
}

.progress-timeline__toggle-text {
  transition: opacity 0.2s ease;
}

.progress-timeline__step-card.is-expanded .progress-timeline__toggle-text {
  opacity: 0.7;
}

/* ── About CTA Variant ─────────────────────────── */

.progress-timeline--about-cta {
  background: #20231f;
  padding: 96px 0;
}

.progress-timeline--about-cta .progress-timeline__inner--about-cta {
  width: min(1258px, calc(100% - (var(--section-padding-x) * 2)));
  padding: 0;
}

.progress-timeline__about-cta-card {
  background: #4f554a;
  border-radius: 24px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.progress-timeline__about-cta-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.progress-timeline__about-cta-eyebrow {
  border: 1px solid #eef1e8;
  border-radius: 8px;
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.progress-timeline__about-cta-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d8dcd2;
}

.progress-timeline__about-cta-eyebrow-text {
  color: #fff;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 500;
}

.progress-timeline__about-cta-title {
  margin: 0;
  color: #fff;
  width: min(548px, 100%);
  font-size: clamp(2rem, 3.2vw, 39.81px);
  line-height: 1.1;
  text-wrap: balance;
}

.progress-timeline__about-cta-copy {
  width: min(850px, 100%);
  margin: 0;
  color: #d8dcd2;
  line-height: 1.6;
}

.progress-timeline__about-cta-copy p {
  margin: 0;
}

.progress-timeline__about-cta-copy p + p {
  margin-top: 14px;
}

.progress-timeline__about-cta-actions {
  display: flex;
  justify-content: center;
  width: 100%;
}

.progress-timeline__about-cta-button {
  width: min(390px, 100%);
  min-height: 72px;
  padding: 24px 32px;
  border-radius: 16px;
  background: #ddebcb;
  color: #20231f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.progress-timeline__about-cta-button:hover,
.progress-timeline__about-cta-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.progress-timeline__about-cta-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── Responsive ────────────────────────────────── */

@media (max-width: 768px) {
  .progress-timeline--about-cta {
    padding: 56px 0;
  }

  .progress-timeline__about-cta-card {
    border-radius: 20px;
    padding: 28px 20px;
    gap: 24px;
  }

  .progress-timeline__about-cta-eyebrow {
    padding: 6px 8px;
  }

  .progress-timeline__about-cta-title {
    font-size: clamp(1.7rem, 7vw, 2.25rem);
  }

  .progress-timeline__about-cta-button {
    min-height: 60px;
    padding: 18px 22px;
    font-size: 16px;
  }

  .progress-timeline__header {
    margin-bottom: 40px;
  }

  .progress-timeline__track {
    gap: 32px;
  }

  .progress-timeline__line {
    left: 24px;
  }

  .progress-timeline__step {
    padding-left: 56px !important;
    padding-right: 0 !important;
    justify-content: flex-start !important;
  }

  .progress-timeline__step-dot {
    left: 24px;
    width: 40px;
    height: 40px;
  }

  .progress-timeline__step-number {
    font-size: 11px;
  }

  .progress-timeline__step-body {
    padding: 20px;
  }

  .progress-timeline__inner {
    padding: calc(var(--section-padding-y) * 0.75) 0;
  }
}
