/* EMERGE Ascent Timeline — structural styles.
   Colors/typography are primarily controlled via Elementor's Style tab;
   the values below are brand-default fallbacks (brass / ink / paper). */

.eat-ascent-timeline-wrapper {
	--eat-ink: #16231F;
	--eat-ink-soft: #3E4A43;
	--eat-paper: #EDE7D8;
	--eat-brass: #B0842E;
}

.eat-ascent {
	position: relative;
}

.eat-ascent-line-svg {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 23px; /* recalculated inline by the Marker Size control */
	width: 2px;
	height: 100%;
	z-index: 0;
	overflow: visible;
}

.eat-line-bg {
	stroke: var(--eat-ink);
	stroke-width: 2;
	stroke-dasharray: 1 4;
	opacity: 0.35;
	vector-effect: non-scaling-stroke;
}

.eat-line-fill {
	stroke: var(--eat-brass);
	stroke-width: 2;
	transition: stroke-dashoffset 0.1s linear;
	vector-effect: non-scaling-stroke;
}

.eat-step-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.eat-step {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 28px;
	padding: 0 0 56px;
}

.eat-step:last-child {
	padding-bottom: 0;
}

.eat-waypoint {
	position: relative;
	z-index: 1;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--eat-paper);
	border: 1.5px solid var(--eat-ink);
	color: var(--eat-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 1;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.eat-step.in-view .eat-waypoint {
	background-color: var(--eat-brass);
	border-color: var(--eat-brass);
	color: var(--eat-ink);
}

.eat-step-card {
	padding-top: 4px;
	min-width: 0;
}

.eat-step-tag {
	margin: 0 0 8px;
	color: var(--eat-brass);
}

.eat-step-heading {
	margin: 0 0 10px;
	color: var(--eat-ink);
}

.eat-step-body {
	color: var(--eat-ink-soft);
}

.eat-step-body p {
	margin: 0 0 0.8em;
}

.eat-step-body p:last-child {
	margin-bottom: 0;
}

@media (max-width: 640px) {
	.eat-step {
		grid-template-columns: 36px 1fr;
		gap: 18px;
	}
	.eat-waypoint {
		width: 36px;
		height: 36px;
		font-size: 11px;
	}
	.eat-ascent-line-svg {
		left: 17px;
	}
}

/* Keyboard focus visibility, in case markers or cards ever become focusable targets */
.eat-ascent-timeline-wrapper :focus-visible {
	outline: 2px solid var(--eat-brass);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.eat-line-fill {
		transition: none;
	}
	.eat-waypoint {
		transition: none;
	}
}
