.sb-lt {
	--sb-accent: #0b5ed7;
	--sb-line: #d9dee5;
	--sb-top: 0px;
	--sb-visible: 2;
	--sb-gap: 24px;
	--sb-pad-top: 24px;
	--sb-pad-bottom: 24px;
	--sb-stage: 100;
	--sb-pos: 50;
	position: relative;
	width: 100%;
	height: var(--sb-height, 500vh);
	box-sizing: border-box;
}
@media (max-width: 767px) {
	.sb-lt { --sb-visible: 1; --sb-stage: 100; --sb-pos: 0; --sb-pad-top: 12px; --sb-pad-bottom: 12px; }
}
.sb-lt *,
.sb-lt *::before,
.sb-lt *::after { box-sizing: border-box; }

/* Pinned stage: heading + cards + timeline, centred as one group */
.sb-lt__sticky {
	position: sticky;
	/* starts under the header offset; stage % shrinks it around the middle of the free area */
	top: calc(var(--sb-top) + (100vh - var(--sb-top)) * (100 - var(--sb-stage)) / 100 * var(--sb-pos) / 100);
	top: calc(var(--sb-top) + (100svh - var(--sb-top)) * (100 - var(--sb-stage)) / 100 * var(--sb-pos) / 100);
	min-height: calc((100vh - var(--sb-top)) * var(--sb-stage) / 100);
	min-height: calc((100svh - var(--sb-top)) * var(--sb-stage) / 100);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: clamp(16px, 3vh, 32px);
	overflow: hidden;
	padding: var(--sb-pad-top) 0 var(--sb-pad-bottom);
}

/* Heading */
.sb-lt__head { max-width: 1100px; width: 100%; margin: 0 auto; padding: 0 24px; text-align: center; }
.sb-lt__head:empty { display: none; }
.sb-lt .sb-lt__eyebrow {
	margin: 0; font-size: 14px; font-weight: 600;
	letter-spacing: .2em; text-transform: uppercase; color: var(--sb-accent);
}
.sb-lt .sb-lt__heading { margin: 10px 0 0; font-size: clamp(26px, 4vw, 44px); font-weight: 700; line-height: 1.15; color: #1a1a1a; }
.sb-lt .sb-lt__subtitle { margin: 10px auto 0; max-width: 560px; color: #555; }

/* Carousel – several cards visible at once */
.sb-lt__viewport {
	position: relative; width: 100%; max-width: 1200px; margin: 0 auto;
	padding: 20px 0; overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.sb-lt__track { display: flex; width: 100%; will-change: transform; }
.sb-lt__slide {
	flex: 0 0 calc(100% / var(--sb-visible));
	width: calc(100% / var(--sb-visible));
	padding: 0 calc(var(--sb-gap) / 2);
	display: flex; align-items: stretch;
	will-change: opacity, transform;
}

.sb-lt__card {
	position: relative; overflow: hidden;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 100%; padding: 44px 36px; text-align: center;
	background: #fff; border: 1px solid var(--sb-line); border-radius: 18px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
}
.sb-lt__card > *:not(.sb-lt__ghost) { position: relative; z-index: 1; }

/* Big year sits inside each card, clipped by it */
.sb-lt__ghost {
	position: absolute; left: 50%; top: 50%; z-index: 0;
	transform: translate(-50%, -50%);
	font-size: clamp(110px, 15vw, 210px);
	font-weight: 900; line-height: 1; white-space: nowrap;
	color: var(--sb-accent); opacity: .06;
	pointer-events: none; user-select: none;
}

.sb-lt__img { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: 12px; margin-bottom: 18px; }
.sb-lt__badge {
	display: inline-block; padding: 4px 14px; border-radius: 999px;
	font-size: 13px; font-weight: 600; color: var(--sb-accent);
	background: rgba(11, 94, 215, .1);
}
@supports (background: color-mix(in srgb, red 10%, transparent)) {
	.sb-lt__badge { background: color-mix(in srgb, var(--sb-accent) 12%, transparent); }
}
.sb-lt .sb-lt__year { margin-top: 12px; font-size: clamp(48px, 6vw, 80px); font-weight: 800; line-height: 1; color: var(--sb-accent); }
.sb-lt .sb-lt__title { margin: 14px 0 0; font-size: 26px; font-weight: 600; line-height: 1.25; color: #111; }
.sb-lt .sb-lt__text { margin: 10px 0 0; font-size: 17px; line-height: 1.6; color: #555; }

/* Timeline bar */
.sb-lt__timeline { position: relative; width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px; }
.sb-lt__rail { position: absolute; left: 32px; right: 32px; top: 7px; height: 2px; background: var(--sb-line); }
.sb-lt__fill { height: 100%; width: 0; background: var(--sb-accent); }
.sb-lt__dots { position: relative; display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.sb-lt__dots li { margin: 0; padding: 0; list-style: none; }
.sb-lt__dot {
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	margin: 0; padding: 0; background: none; border: 0; cursor: pointer; box-shadow: none;
}
.sb-lt__dot-mark {
	width: 16px; height: 16px; border-radius: 50%;
	border: 2px solid var(--sb-line); background: #fff;
	transition: transform .25s, background .25s, border-color .25s;
}
.sb-lt__dot:hover .sb-lt__dot-mark { border-color: var(--sb-accent); }
.sb-lt__dot.is-passed .sb-lt__dot-mark { background: var(--sb-accent); border-color: var(--sb-accent); }
.sb-lt__dot.is-active .sb-lt__dot-mark { transform: scale(1.25); }
.sb-lt__dot-label { font-size: 13px; font-weight: 500; color: #555; transition: color .25s; }
.sb-lt__dot.is-active .sb-lt__dot-label { color: var(--sb-accent); font-weight: 700; }

@media (max-width: 767px) {
	.sb-lt__card { padding: 28px 20px; }
	.sb-lt .sb-lt__year { font-size: 48px; }
	.sb-lt .sb-lt__text { font-size: 15px; }
	.sb-lt .sb-lt__title { font-size: 20px; }
	.sb-lt__img { height: 130px; }
	.sb-lt__card { min-height: 440px; }
	.sb-lt__dot-label { font-size: 11px; }
}

/* Elementor editor: stacked, easy-to-edit preview */
.elementor-editor-active .sb-lt { height: auto !important; }
.elementor-editor-active .sb-lt__sticky { position: relative; height: auto; min-height: 0; top: auto; padding-top: 40px; }
