/* Fuel Portfolio Stack — sticky-stacking cards.
 * Sourced from framer-1qmb62d (fuel/index.htm "Middle" column). */

.fuel-pstack {
	--fuel-pstack-top: 50px;
	--fuel-pstack-step: 40px;
	--fuel-pstack-bg: #f3ede2;
	--fuel-pstack-ink: #111;
	--fuel-pstack-muted: rgba(0, 0, 0, 0.55);

	width: 100%;
	display: flex;
	justify-content: center;
	padding: 0 24px;
	box-sizing: border-box;
}

.fuel-pstack__inner {
	width: 100%;
	max-width: 892px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.fuel-pstack__item {
	position: sticky;
	top: calc(var(--fuel-pstack-top) + (var(--fuel-pstack-i, 0) * var(--fuel-pstack-step)));
	display: block;
}

.fuel-pstack__card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	color: inherit;
	text-decoration: none;
}

/* Media — blurred background layer + sharp inner image, matching Framer treatment. */
.fuel-pstack__media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: var(--fuel-pstack-bg);
	border-radius: 8px;
	overflow: hidden;
	isolation: isolate;
}

.fuel-pstack__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(28px);
	transform: scale(1.15);
	opacity: 0.85;
	z-index: 0;
}

.fuel-pstack__img {
	position: absolute;
	inset: 8% 12%;
	width: 76%;
	height: 84%;
	object-fit: cover;
	border-radius: 6px;
	z-index: 1;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

/* Meta row: (number)   Name / Title   © 2025 */
.fuel-pstack__meta {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: start;
	gap: 24px;
	padding: 4px 4px 0;
	font-family: inherit;
	font-size: 13px;
	line-height: 1.4;
	color: var(--fuel-pstack-ink);
	background: #fff
}

.fuel-pstack__num {
	justify-self: start;
	color: var(--fuel-pstack-ink);
	letter-spacing: 0.02em;
}

.fuel-pstack__text {
	justify-self: center;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.fuel-pstack__name {
	color: var(--fuel-pstack-ink);
	font-weight: 500;
}

.fuel-pstack__title {
	color: var(--fuel-pstack-muted);
}

.fuel-pstack__copyright {
	justify-self: end;
	color: var(--fuel-pstack-ink);
}

/* Dark sections invert the copy colour so the meta row stays legible. */
.dark .fuel-pstack,
.fuel-pstack--dark {
	--fuel-pstack-ink: #f5f1e8;
	--fuel-pstack-muted: rgba(245, 241, 232, 0.55);
	--fuel-pstack-bg: #1a1613;
}

@media (max-width: 640px) {
	.fuel-pstack {
		padding: 0 16px;
	}
	.fuel-pstack__meta {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 4px;
	}
	.fuel-pstack__num,
	.fuel-pstack__copyright,
	.fuel-pstack__text {
		justify-self: center;
	}
}
