.journey__photo {
  max-width: 380px;
  margin: 0 0 36px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.journey__photo img {
  display: block;
  width: 100%;
}

.journey__photo figcaption {
  padding: 11px 14px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
}

.timeline {
  position: relative;
  max-width: 900px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 19px;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 22px;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item__number {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 168, 62, 0.28);
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
}

.timeline-item h3 {
  margin-top: 1px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.timeline-item p {
  max-width: 65ch;
  margin-top: 8px;
  font-size: 0.9rem;
}

.timeline--project .timeline-item__number {
  border-color: rgba(120, 184, 155, 0.25);
  color: var(--green);
}
