main {
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}
.timeline-stage {
	max-width: 60rem;
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
}
.timeline-list {
	padding: calc(var(--header-height) + var(--space-6)) 0 var(--space-6);
	position: relative;
	list-style: none;
	margin: 0;
}
/* the center line */
.timeline-list::before {
	content: "";
	position: absolute;
	top: var(--header-height);
	bottom: 0;
	left: 50%;
	width: 2px;
	background: linear-gradient(to bottom, rgb(var(--border-color) / 0) 0%, rgb(var(--border-color)) 10%, rgb(var(--border-color)) 90%, rgb(var(--border-color) / 0) 100%);
	transform: translateX(-50%);
}
.timeline-event {
	position: relative;
	width: 50%;
	padding: 0 var(--space-4) var(--space-5);
	box-sizing: border-box;
}
/* odd cards go on the left, even cards go on the right */
.timeline-event:nth-child(odd) { text-align: right; }
.timeline-event:nth-child(even) {
	margin-left: 50%;
	text-align: left;
}
.timeline-event__dot {
	position: absolute;
	top: var(--space-2);
	width: var(--space-3);
	height: var(--space-3);
	background: rgb(var(--accent-color));
	border-radius: 50%;
}
.timeline-event:nth-child(odd) .timeline-event__dot  { right: calc(var(--space-3) / -2); }
.timeline-event:nth-child(even) .timeline-event__dot { left: calc(var(--space-3) / -2); }
.timeline-event__year {
	font-family: var(--font-display);
	font-size: var(--text-sm);
	letter-spacing: var(--tracking-eyebrow);
	color: rgb(var(--accent-color));
	margin: 0;
}
.timeline-event__title {
	font-family: var(--font-display);
	font-size: var(--text-lg);
	letter-spacing: var(--tracking-wide);
	margin: var(--space-1) 0 var(--space-2);
}
.timeline-event__body {
	font-family: var(--font-sans);
	font-size: var(--text-base);
	line-height: var(--leading-normal);
	color: rgb(var(--foreground-color) / 0.75);
	margin: 0;
}
/* on narrow screens go back to right aligned */
@media (max-width: 30rem) {
	.timeline-stage {
		padding-left: var(--space-3);
	}
	.timeline-list::before {
		left: 0;
		transform: none;
	}
	.timeline-event,
	.timeline-event:nth-child(odd),
	.timeline-event:nth-child(even) {
		width: 100%;
		margin-left: 0;
		text-align: left;
		padding: 0 0 var(--space-5) var(--space-4);
	}
	.timeline-event:nth-child(odd) .timeline-event__dot,
	.timeline-event:nth-child(even) .timeline-event__dot {
		left: calc(var(--space-3) / -2 + 1px);
		right: auto;
	}
}
