.project-detail-hero {
	position: relative;
	background: var(--site-color-surface);
	--project-detail-hero-title-size: clamp(2.25rem, 1.52rem + 2.25vw, 3rem);
	--project-detail-hero-description-size: clamp(1rem, 0.88rem + 0.48vw, 1.25rem);
	--project-detail-hero-content-width: 79.5rem;
}

.project-detail-hero__background {
	position: relative;
	overflow: hidden;
	min-height: clamp(40rem, 39.5vw, 45.5rem);
	padding-bottom: clamp(5.2rem, 6vw, 6.4rem);
	background-color: #3a2b1a;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.project-detail-hero__background::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(156deg, rgba(58, 43, 26, 0.84) 0%, rgba(74, 58, 26, 0.78) 100%);
	pointer-events: none;
}

.project-detail-hero__gradient {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(ellipse 49.3vw 34.4vw at 20.8% 33%, rgba(13, 31, 13, 0.9) 0%, rgba(13, 31, 13, 0.75) 50%, rgba(13, 31, 13, 0.15) 100%),
		linear-gradient(90deg, rgba(13, 31, 13, 0.55) 0%, rgba(13, 31, 13, 0.25) 56%, rgba(13, 31, 13, 0.04) 100%);
	pointer-events: none;
}

.project-detail-hero__glow {
	position: absolute;
	right: 2.5rem;
	bottom: 0;
	z-index: 1;
	width: 18rem;
	height: 26rem;
	border-radius: 999px;
	background: var(--site-color-accent-10);
	filter: blur(32px);
	pointer-events: none;
}

.project-detail-hero__wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	z-index: 2;
	height: clamp(3.5rem, 5.6vw, 6.7rem);
	background: url("../img/works-hero/wave.svg") center bottom / 100% 100% no-repeat;
	pointer-events: none;
}

.project-detail-hero .container {
	position: relative;
	z-index: 3;
	width: min(100% - clamp(2rem, 3vw, 2.5rem), 1272px);
}

.project-detail-hero .row {
	--bs-gutter-x: 0;
}

.project-detail-hero__breadcrumbs {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
	padding-top: 2rem;
	font-size: var(--site-font-size-16);
	line-height: 1.48;
}

.project-detail-hero__breadcrumbs-link,
.project-detail-hero__breadcrumbs-separator {
	flex: 0 0 auto;
	color: var(--site-color-accent);
}

.project-detail-hero__breadcrumbs-link {
	transition: color 0.2s ease;
}

.project-detail-hero__breadcrumbs-link:hover {
	color: var(--site-color-accent-soft);
}

.project-detail-hero__breadcrumbs-current {
	min-width: 0;
	max-width: min(34rem, 44vw);
	overflow: hidden;
	color: var(--site-color-text-90);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.project-detail-hero__content {
	width: min(100%, var(--project-detail-hero-content-width));
	padding-top: clamp(2rem, 2.8vw, 2.5rem);
}

.project-detail-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.5rem;
	padding: 0.5625rem 1rem;
	border: 1px solid var(--site-color-accent-40);
	border-radius: 18.75rem;
	background: var(--site-color-accent-20);
	font-size: var(--site-font-size-14);
	font-weight: 500;
	line-height: 1.4;
	color: var(--site-color-accent-soft);
}

.project-detail-hero__eyebrow::before {
	content: "";
	flex: 0 0 0.5rem;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--site-color-accent);
}

.project-detail-hero__title {
	max-width: 58rem;
	margin: 0;
	font-family: var(--site-font-heading);
	font-size: var(--project-detail-hero-title-size);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	color: var(--site-color-text);
}

.project-detail-hero__description {
	max-width: 52rem;
	margin-top: 1rem;
	font-size: var(--project-detail-hero-description-size);
	line-height: 1.5;
	color: var(--site-color-text-80);
}

.project-detail-hero__description > * {
	margin: 0;
}

.project-detail-hero__description > * + * {
	margin-top: 0.75rem;
}

.project-detail-hero__list {
	display: grid;
	gap: 0.75rem;
	margin: 1.5rem 0 0;
	padding: 0.54rem 0 0;
	list-style: none;
}

.project-detail-hero__list-item {
	position: relative;
	padding-left: 1.9rem;
	font-size: var(--site-font-size-16);
	line-height: 1.48;
	color: var(--site-color-text-90);
}

.project-detail-hero__list-item::before {
	content: "";
	position: absolute;
	top: 0.08rem;
	left: 0;
	width: 1.125rem;
	height: 1.125rem;
	background: url("../img/works-hero/check.svg") center / contain no-repeat;
}

.project-detail-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
	padding: 0.04rem 0 1.54rem;
}

.project-detail-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	min-height: 3.625rem;
	padding: 1rem 2rem;
	border: 0;
	border-radius: var(--site-radius-button);
	font-family: var(--site-font-base);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.48;
	letter-spacing: var(--site-letter-spacing-button);
	color: var(--site-color-text);
	opacity: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.project-detail-hero__button:hover {
	transform: translateY(-1px);
}

.project-detail-hero__button--primary {
	background: var(--site-color-accent);
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-detail-hero__button--primary:hover {
	background: #d49224;
}

.project-detail-hero__button--secondary {
	border: 1px solid var(--site-color-line-strong);
	background: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(4px);
}

.project-detail-hero__button--secondary:hover {
	border-color: rgba(255, 255, 255, 0.44);
	background: rgba(255, 255, 255, 0.1);
}

.project-detail-hero__button:disabled {
	opacity: 1;
}

.project-detail-hero__button-icon {
	display: block;
	width: 1.125rem;
	height: 1.125rem;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

@media (max-width: 991.98px) {
	.project-detail-hero__background {
		min-height: auto;
		padding-bottom: 6.5rem;
		background-position: 58% center;
	}

	.project-detail-hero__gradient {
		background:
			linear-gradient(180deg, rgba(13, 31, 13, 0.72) 0%, rgba(13, 31, 13, 0.38) 38%, rgba(13, 31, 13, 0.72) 100%),
			radial-gradient(circle at 24% 22%, rgba(13, 31, 13, 0.88) 0%, rgba(13, 31, 13, 0.66) 34%, rgba(13, 31, 13, 0.12) 66%);
	}

	.project-detail-hero__content {
		width: min(100%, 42rem);
	}
}

@media (max-width: 767.98px) {
	.project-detail-hero__background {
		padding-bottom: 5.5rem;
		background-position: 65% center;
	}

	.project-detail-hero__glow {
		display: none;
	}

	.project-detail-hero__breadcrumbs {
		flex-wrap: wrap;
		gap: 0.45rem;
	}

	.project-detail-hero__breadcrumbs-current {
		max-width: 100%;
		white-space: normal;
	}

	.project-detail-hero__content {
		width: 100%;
		padding-top: 2rem;
	}

	.project-detail-hero__eyebrow {
		margin-bottom: 1.2rem;
		padding-right: 0.875rem;
		padding-left: 0.875rem;
	}

	.project-detail-hero__description {
		max-width: 100%;
	}

	.project-detail-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.project-detail-hero__button {
		width: 100%;
	}
}
