.project-page {
	background: #0c0c0c;
	color: #ffffff;
	overflow: hidden;
}

.project-hero {
	position: relative;
	padding: 168px 0 112px;
	overflow: hidden;
	background-color: #232323;
	background-image:
		linear-gradient(180deg, rgba(12, 12, 12, 0.08), rgba(12, 12, 12, 0.38)),
		url("https://demokit.creativemox.com/zentiv/wp-content/uploads/sites/18/2025/06/Grid.png");
	background-position: center, bottom right;
	background-repeat: no-repeat;
	background-size: cover, 640px auto;
	border-radius: 0 0 24px 24px;
}

.project-hero::after {
	content: "";
	position: absolute;
	inset-inline-start: 50%;
	bottom: -180px;
	width: 520px;
	height: 300px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(0, 106, 255, 0.22), transparent 68%);
	filter: blur(28px);
	transform: translateX(-50%);
	pointer-events: none;
}

.project-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 880px;
	text-align: center;
}

.project-hero h1 {
	margin: 0;
	font-size: 94px;
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: 0;
	text-transform: capitalize;
}

.project-hero p {
	max-width: 680px;
	margin: 22px auto 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 22px;
	line-height: 1.45;
}

.project-listing {
	padding: 104px 0 112px;
	background: #0c0c0c;
}

.project-listing__head {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.55fr);
	gap: 48px;
	align-items: end;
	margin-bottom: 42px;
}

.project-listing h2 {
	max-width: 720px;
	margin: 0;
	font-size: 54px;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0;
	text-transform: capitalize;
}

.project-listing__intro {
	display: grid;
	gap: 22px;
	justify-items: start;
	color: rgba(255, 255, 255, 0.7);
}

.project-listing__intro p {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.project-card {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	background: #171717;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
	transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.project-card:hover {
	transform: translateY(-6px);
	border-color: rgba(207, 255, 146, 0.32);
	box-shadow: 0 24px 62px rgba(0, 0, 0, 0.32);
}

.project-card__media {
	position: relative;
	display: block;
	min-height: 268px;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
}

.project-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 35%, rgba(12, 12, 12, 0.72));
	pointer-events: none;
}

.project-card__media img {
	display: block;
	width: 100%;
	height: 268px;
	object-fit: cover;
	filter: saturate(0) contrast(1.04);
	transform: scale(1.01);
	transition: transform 420ms ease, filter 420ms ease;
}

.project-card__placeholder {
	display: block;
	width: 100%;
	height: 268px;
	background:
		radial-gradient(circle at 70% 24%, rgba(0, 106, 255, 0.24), transparent 34%),
		radial-gradient(circle at 24% 72%, rgba(207, 255, 146, 0.16), transparent 34%),
		#202020;
}

.project-card:hover .project-card__media img {
	filter: saturate(0.18) contrast(1.06);
	transform: scale(1.06);
}

.project-card__media span {
	position: absolute;
	z-index: 2;
	inset-block-start: 18px;
	inset-inline-end: 18px;
	display: inline-flex;
	align-items: center;
	min-height: 33px;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--orefo-lime);
	color: #0c0c0c;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}

.project-card__body {
	padding: 26px 26px 28px;
}

.project-card h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: 0;
}

.project-card h3 a {
	color: #ffffff;
	text-decoration: none;
}

.project-card h3 a:hover {
	color: var(--orefo-lime);
}

.project-card p {
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.64);
	font-size: 15px;
	line-height: 1.65;
}

.project-empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 44px 28px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.035);
	color: rgba(255, 255, 255, 0.74);
	font-size: 20px;
	font-weight: 700;
	text-align: center;
}

.project-reveal {
	animation: orefo-project-reveal 720ms ease both;
}

.project-reveal--delay-1 {
	animation-delay: 120ms;
}

.project-grid .project-card:nth-child(2) {
	animation-delay: 80ms;
}

.project-grid .project-card:nth-child(3) {
	animation-delay: 160ms;
}

.project-grid .project-card:nth-child(4) {
	animation-delay: 240ms;
}

.project-grid .project-card:nth-child(5) {
	animation-delay: 320ms;
}

.project-grid .project-card:nth-child(6) {
	animation-delay: 400ms;
}

@keyframes orefo-project-reveal {
	from {
		opacity: 0;
		filter: blur(6px);
		transform: translate3d(0, 22px, 0);
	}

	to {
		opacity: 1;
		filter: blur(0);
		transform: translate3d(0, 0, 0);
	}
}

@media (max-width: 1180px) {
	.project-hero {
		padding: 150px 0 96px;
	}

	.project-hero h1 {
		font-size: 76px;
	}

	.project-listing__head {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.project-listing__intro {
		max-width: 620px;
	}

	.project-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 782px) {
	.project-hero {
		padding: 132px 0 76px;
		background-size: cover, 430px auto;
	}

	.project-hero h1 {
		font-size: 54px;
	}

	.project-hero p {
		font-size: 18px;
	}

	.project-listing {
		padding: 74px 0 82px;
	}

	.project-listing__head {
		text-align: center;
	}

	.project-listing h2 {
		font-size: 38px;
	}

	.project-listing__intro {
		justify-items: center;
		margin-inline: auto;
	}

	.project-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.project-card__media,
	.project-card__media img {
		height: 248px;
		min-height: 248px;
	}
}

@media (max-width: 480px) {
	.project-hero {
		padding: 118px 0 66px;
		border-radius: 0 0 18px 18px;
	}

	.project-hero h1 {
		font-size: 44px;
	}

	.project-hero p {
		font-size: 16px;
	}

	.project-listing h2 {
		font-size: 32px;
	}

	.project-card__body {
		padding: 22px;
	}

	.project-card h3 {
		font-size: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.project-reveal,
	.project-card,
	.project-card__media img {
		animation: none;
		transition: none;
	}
}
