/* ==========================================================================
   Timeline Component — 10-Step Process (Elevated Design)
   ========================================================================== */

.timeline {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--content-padding);
  padding-right: var(--content-padding);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.timeline__header {
  margin-bottom: 4rem;
  text-align: center;
}

.timeline__header .t-label {
  margin-bottom: 1rem;
}

.timeline__headline {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Track
   -------------------------------------------------------------------------- */

.timeline__track {
  position: relative;
  padding-left: 5rem;
}

/* Vertical accent line */
.timeline__track::before {
  content: '';
  position: absolute;
  left: 1.125rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(201, 169, 110, 0.4) 5%,
    rgba(201, 169, 110, 0.4) 95%,
    transparent
  );
}

/* --------------------------------------------------------------------------
   Step
   -------------------------------------------------------------------------- */

.timeline__step {
  position: relative;
  padding: 1.75rem 2rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 2px;
  transition:
    border-color 0.4s ease,
    background-color 0.4s ease;
}

.timeline__step:hover {
  border-color: rgba(201, 169, 110, 0.12);
  background-color: rgba(201, 169, 110, 0.02);
}

.timeline__step:last-child {
  margin-bottom: 0;
}

/* Timeline dot — refined circle with glow on hover */
.timeline__step-dot {
  position: absolute;
  left: calc(-5rem + 0.375rem);
  top: 2rem;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(201, 169, 110, 0.5);
  border-radius: 50%;
  background-color: var(--bg);
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

/* Inner fill dot */
.timeline__step-dot::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 0.4s ease;
}

.timeline__step:hover .timeline__step-dot {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(201, 169, 110, 0.25);
}

.timeline__step:hover .timeline__step-dot::after {
  background-color: var(--accent);
}

.timeline__step-dot.is-visible {
  border-color: var(--accent);
  background-color: var(--bg);
}

.timeline__step-dot.is-visible::after {
  background-color: var(--accent);
}

/* Step number — large monospace, subtle */
.timeline__step-num {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 0.75rem;
  transition: opacity 0.3s ease;
}

.timeline__step:hover .timeline__step-num {
  opacity: 1;
}

/* Step title */
.timeline__step-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 0.625rem;
}

/* Step description */
.timeline__step-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .timeline__header {
    margin-bottom: 3rem;
    text-align: left;
  }

  .timeline__track {
    padding-left: 3.5rem;
  }

  .timeline__track::before {
    left: 0.6875rem;
  }

  .timeline__step {
    padding: 1.25rem 1.25rem;
    margin-bottom: 0.5rem;
  }

  .timeline__step-dot {
    left: calc(-3.5rem + 0.1875rem);
    top: 1.5rem;
    width: 14px;
    height: 14px;
  }

  .timeline__step-dot::after {
    top: 3px;
    left: 3px;
    width: 6px;
    height: 6px;
  }
}

/* Process footnote (pairs with an asterisk in the headline) */
.timeline__note {
  max-width: 720px;
  margin: 2.5rem auto 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
}
