/**
 * StepDecor Page Hero — the dark banner (breadcrumb + eyebrow + title
 * + meta) at the top of archive/single templates, reproducing the
 * reference's .page-hero / .proj-hero / .art-hero pattern as one
 * shared component instead of three near-identical blocks.
 */

.sd-page-hero {
	background: var(--sd-color-surface-dark);
	padding: 10rem 5% 6rem;
	position: relative;
	overflow: hidden;
	margin-top: 74px;
}

.sd-page-hero--photo {
	padding: 0;
	height: 88vh;
	min-height: 580px;
}

.sd-page-hero--photo .sd-page-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.sd-page-hero--photo .sd-page-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(10, 10, 10, .85) 0%, rgba(10, 10, 10, .15) 60%, transparent 100%);
}

.sd-page-hero__inner {
	position: relative;
	z-index: 1;
	max-width: var(--sd-container-width);
	margin-inline: auto;
	padding-inline: 5%;
}

.sd-page-hero--photo .sd-page-hero__inner {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 4rem 5%;
	max-width: var(--sd-container-width);
	margin-inline: auto;
}

.sd-page-hero__eyebrow {
	font-size: .68rem;
	letter-spacing: .4em;
	text-transform: uppercase;
	color: var(--sd-color-accent);
	margin-bottom: .9rem;
	font-weight: 700;
	display: block;
}

.sd-page-hero__title {
	font-family: var(--sd-font-heading);
	font-size: clamp(2.6rem, 6vw, 4.8rem);
	color: #fff;
	font-weight: 700;
	line-height: 1.1;
}

.sd-page-hero__title em {
	font-style: italic;
	color: var(--sd-color-accent);
}

.sd-page-hero__title--article {
	max-width: 780px;
	font-size: clamp(2rem, 4.5vw, 3.4rem);
}

.sd-page-hero__title--project {
	font-size: clamp(2.8rem, 6vw, 5rem);
}

.sd-page-hero__badge {
	margin-bottom: 1rem;
	display: inline-block;
}

.sd-page-hero__sub {
	color: rgba(255, 255, 255, .55);
	font-size: 1rem;
	line-height: 1.8;
	max-width: 520px;
	margin-top: 1.2rem;
	font-weight: 300;
}

.sd-page-hero__meta {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
	margin-top: 1.5rem;
}

.sd-page-hero__meta-item {
	display: flex;
	flex-direction: column;
	gap: .2rem;
}

.sd-page-hero__meta-label {
	font-size: .6rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .4);
	font-weight: 600;
}

.sd-page-hero__meta-value {
	font-size: .9rem;
	color: #fff;
	font-weight: 500;
}

/* Content offset for non-hero utility pages (search, 404) */
.sd-page-offset {
	padding-top: 74px;
}
