/* ─── Atelier hero-style section ──────────────── */
.atelier {
  padding-top: 0;
}

.atelier__hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.atelier__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.atelier__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(44, 42, 40, 0.65) 0%,
    rgba(44, 42, 40, 0.35) 50%,
    rgba(44, 42, 40, 0.1) 100%
  );
}

.atelier__hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-12) var(--space-8);
  max-width: 500px;
  text-align: left;
}

.atelier__description {
  font-size: var(--text-lg);
  color: var(--color-cream);
  margin-bottom: var(--space-4);
  line-height: var(--line-height-normal);
  opacity: 0.9;
}

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

/* ─── Process timeline ────────────────────────── */
.process {
  margin-top: var(--space-16);
}

.process__title {
  text-align: center;
  margin-bottom: var(--space-12);
}

.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  position: relative;
}

/* Vertical connecting line */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    var(--color-blue-light),
    var(--color-burgundy-light),
    var(--color-blue-light)
  );
}

.timeline__step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-6);
  align-items: start;
}

.timeline__marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-cream);
  background-color: var(--color-burgundy);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.timeline__content {
  padding-top: var(--space-2);
}

.timeline__content h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.timeline__content p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

.timeline__image {
  margin-top: var(--space-4);
  border-radius: var(--radius-md);
  max-height: 200px;
  object-fit: cover;
  object-position: center 33%;
  width: 100%;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.timeline__image:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

@media (max-width: 767px) {
  .atelier__hero {
    min-height: 50vh;
  }

  .atelier__hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(44, 42, 40, 0.55) 0%,
      rgba(44, 42, 40, 0.35) 100%
    );
  }

  .atelier__hero-content {
    padding: var(--space-6) var(--space-4);
  }

  .atelier__description {
    font-size: var(--text-base);
  }

  .process {
    margin-top: var(--space-8);
  }

  .process__title {
    margin-bottom: var(--space-6);
  }

  .timeline {
    gap: var(--space-6);
  }

  .timeline__step {
    grid-template-columns: 40px 1fr;
    gap: var(--space-4);
  }

  .timeline__marker {
    width: 40px;
    height: 40px;
    font-size: var(--text-base);
  }

  .timeline::before {
    left: 20px;
  }

  .timeline__image {
    max-height: 140px;
  }
}

@media (min-width: 768px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }

  .timeline::before {
    top: 24px;
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(
      90deg,
      var(--color-blue-light),
      var(--color-burgundy-light),
      var(--color-blue-light)
    );
  }

  .timeline__step {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .timeline__marker {
    margin-inline: auto;
    margin-bottom: var(--space-4);
  }

  .timeline__image {
    max-height: 160px;
  }
}
