/**
 * About Hero – frontend styles
 */

.oc-about-hero {
	--oc-ah-accent: #c5a46e;
	--oc-ah-panel-bg: rgba(255, 255, 255, 0.82);
	--oc-ah-text: #1a1a1a;
	position: relative;
	isolation: isolate;
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	min-height: 560px;
	background-color: #e8e4dc;
	color: var(--oc-ah-text);
}

.oc-about-hero *,
.oc-about-hero *::before,
.oc-about-hero *::after {
	box-sizing: border-box;
}

.oc-about-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	pointer-events: none;
}

.oc-about-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}

.oc-about-hero__overlay {
	position: absolute;
	z-index: 2;
	pointer-events: none;
	line-height: 0;
}

.oc-about-hero__overlay img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
}

.oc-about-hero__inner {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	min-height: inherit;
	display: flex;
	align-items: center;
	padding: 56px 40px;
	overflow: visible;
}

.oc-about-hero__panel {
	position: relative;
	width: 100%;
	max-width: 520px;
	background: var(--oc-ah-panel-bg);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 40px 36px 36px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
	overflow: visible;
}

.oc-about-hero__panel.has-panel-image {
	max-width: 760px;
}

.oc-about-hero__panel-body {
	display: block;
}

.oc-about-hero__panel.has-panel-image .oc-about-hero__panel-body {
	display: flex;
	align-items: flex-start;
	gap: 28px;
}

.oc-about-hero__panel-copy {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	min-width: 0;
}

.oc-about-hero__panel-image {
	position: relative;
	z-index: 2;
	flex: 0 0 auto;
	width: 220px;
	line-height: 0;
}

.oc-about-hero__panel-image img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	object-fit: contain;
}

.oc-about-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	margin: 0 0 18px;
	color: var(--oc-ah-text);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.4;
}

.oc-about-hero__diamond {
	display: inline-block;
	color: var(--oc-ah-accent);
	font-size: 10px;
	line-height: 1;
	transform: translateY(-0.05em);
}

.oc-about-hero__heading {
	margin: 0 0 18px;
	color: var(--oc-ah-text);
	font-size: clamp(1.65rem, 2.8vw, 2.35rem);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.oc-about-hero__description {
	margin: 0 0 28px;
	color: var(--oc-ah-text);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.65;
	max-width: 38em;
}

.oc-about-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	background-color: var(--oc-ah-accent);
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.3;
	border: 0;
	border-radius: 0;
	box-shadow: 0 3px 0 #1a1a1a;
	padding: 14px 26px;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.oc-about-hero__btn:hover,
.oc-about-hero__btn:focus {
	background-color: #b08f55;
	color: #ffffff;
	text-decoration: none;
}

@media (max-width: 900px) {
	.oc-about-hero {
		min-height: 480px;
	}

	.oc-about-hero__inner {
		padding: 40px 24px;
		align-items: flex-start;
	}

	.oc-about-hero__panel {
		max-width: 100%;
		padding: 32px 24px;
	}

	.oc-about-hero__panel.has-panel-image {
		max-width: 100%;
	}

	.oc-about-hero__panel.has-panel-image .oc-about-hero__panel-body {
		flex-direction: column;
		align-items: stretch;
	}

	.oc-about-hero__panel-image {
		width: min(240px, 60%);
		margin: 0 auto;
		transform: none;
	}

	.oc-about-hero__overlay {
		opacity: 0.85;
	}

	.oc-about-hero__btn {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.oc-about-hero__overlay.is-hide-mobile {
		display: none;
	}
}
