/**
 * Homepage hero rebuilt from the uploaded reference image.
 */

body.neomi-foundation-hero .site-content,
body.neomi-foundation-hero #content,
body.neomi-foundation-hero .site-content .ast-container,
body.neomi-foundation-hero #primary,
body.neomi-foundation-hero #main {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
}

body.neomi-foundation-hero.ast-box-layout,
body.neomi-foundation-hero.ast-box-layout #page,
body.neomi-foundation-hero.ast-box-layout .site,
body.neomi-foundation-hero.ast-box-layout .site-content {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.neomi-reference-hero {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	padding: clamp(1.75rem, 2.7vw, 3rem) clamp(1.75rem, 3.6vw, 4rem);
	background:
		linear-gradient(90deg, rgba(177, 140, 98, 0.2), rgba(255, 255, 255, 0) 22%),
		linear-gradient(180deg, #eee9e2 0%, #f5f1ea 58%, #faf7f2 100%);
	overflow: hidden;
}

.neomi-reference-hero__shell {
	position: relative;
	width: min(88rem, 100%);
	min-height: clamp(38rem, 54vw, 48rem);
	margin-inline: auto;
	border: 1px solid rgba(255, 255, 255, 0.78);
	border-radius: clamp(2.35rem, 3.5vw, 3.8rem);
	overflow: hidden;
	background: #f6f1ea;
	box-shadow: 0 1.5rem 4rem rgba(61, 42, 27, 0.14);
}

.neomi-reference-hero__header {
	position: absolute;
	inset: clamp(1.45rem, 2vw, 2rem) clamp(2.35rem, 3.2vw, 3.35rem) auto;
	z-index: 6;
}

.neomi-reference-hero__header .neomi-header {
	background: transparent;
	border: 0;
	box-shadow: none;
	backdrop-filter: none;
}

.neomi-reference-hero__header .neomi-header__menu-item--donate {
	display: none !important;
}

.neomi-reference-hero__stage {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
	min-height: clamp(38rem, 54vw, 48rem);
	direction: ltr;
}

.neomi-reference-hero__image-wrap {
	position: relative;
	z-index: 1;
	min-height: 100%;
	margin: 0;
	overflow: hidden;
	background: #d8c7b7;
}

.neomi-reference-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: clamp(38rem, 54vw, 48rem);
	object-fit: cover;
	object-position: center center;
}

.neomi-reference-hero__image-wrap::after {
	position: absolute;
	inset: 0;
	content: "";
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(34, 22, 14, 0.1) 0%, rgba(34, 22, 14, 0.03) 44%, rgba(249, 246, 241, 0.42) 100%),
		linear-gradient(0deg, rgba(28, 22, 18, 0.16) 0%, transparent 34%);
}

.neomi-reference-hero__panel {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100%;
	direction: rtl;
	background:
		radial-gradient(circle at 92% 28%, rgba(255, 255, 255, 0.9), transparent 17rem),
		linear-gradient(90deg, rgba(249, 246, 241, 0.9), #fbf8f3 36%, #faf7f2 100%);
}

.neomi-reference-hero__panel::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: -14rem;
	width: 26rem;
	content: "";
	pointer-events: none;
	background: linear-gradient(90deg, rgba(249, 246, 241, 0), rgba(249, 246, 241, 0.95) 62%, #faf7f2 100%);
}

.neomi-reference-hero__panel::after {
	position: absolute;
	right: 0;
	bottom: 0;
	width: min(24rem, 44vw);
	height: min(12rem, 22vw);
	content: "";
	pointer-events: none;
	background:
		radial-gradient(ellipse at 100% 100%, rgba(119, 132, 151, 0.16), transparent 58%),
		radial-gradient(ellipse at 70% 100%, rgba(143, 69, 110, 0.05), transparent 56%);
	opacity: 0.72;
}

.neomi-reference-hero__content {
	position: relative;
	z-index: 2;
	width: min(30rem, 68%);
	margin-top: clamp(7.2rem, 10.2vw, 10.2rem);
	text-align: right;
	transform: translateX(-2.15rem);
}

.neomi-reference-hero__title {
	margin: 0;
	color: #262524;
	font-family: var(--neomi-font-display);
	font-size: clamp(3.25rem, 4.05vw, 4.25rem);
	font-weight: 500;
	line-height: 1.18;
	letter-spacing: 0;
}

.neomi-reference-hero__title span {
	color: #8f456e;
	font-weight: 700;
}

.neomi-reference-hero__lead {
	margin: clamp(1.4rem, 2vw, 2rem) 0 0;
	color: #2f2b2a;
	font-family: var(--neomi-font-body);
	font-size: clamp(0.98rem, 1.05vw, 1.08rem);
	font-weight: 700;
	line-height: 1.9;
}

.neomi-reference-hero__actions {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(2rem, 2.8vw, 3.2rem);
	margin-top: clamp(2.1rem, 3vw, 3.1rem);
}

.neomi-reference-hero__donate {
	min-width: 12.8rem;
	padding: 1rem 1.6rem 1.06rem;
	border-radius: 0.55rem;
	background: #8f456e;
	box-shadow: 0 0.9rem 1.8rem rgba(92, 38, 67, 0.16);
	font-size: 1rem;
}

.neomi-reference-hero__story {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.52rem;
	padding-bottom: 0.65rem;
	color: #8f456e;
	font-family: var(--neomi-font-body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.neomi-reference-hero__story::after {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	content: "";
	background: rgba(143, 69, 110, 0.42);
}

.neomi-reference-hero__ornament {
	position: absolute;
	pointer-events: none;
}

.neomi-reference-hero__ornament--hearts {
	top: clamp(13.7rem, 16.5vw, 17.3rem);
	right: clamp(2.1rem, 3.8vw, 4rem);
	display: grid;
	gap: 0.45rem;
	color: rgba(237, 184, 104, 0.64);
}

.neomi-reference-hero__ornament--hearts span {
	width: 1.35rem;
	height: 1.65rem;
	border: 2px solid currentColor;
	border-top: 0;
	border-left: 0;
	border-radius: 0 0 0.8rem 0;
	transform: rotate(45deg);
}

.neomi-reference-hero__ornament--branch {
	top: clamp(18rem, 21vw, 22rem);
	right: -2.65rem;
	width: 12rem;
	height: 10rem;
	opacity: 0.38;
	transform: rotate(-16deg);
}

.neomi-reference-hero__ornament--branch::before {
	position: absolute;
	top: 1rem;
	right: 5.5rem;
	width: 1px;
	height: 8.3rem;
	content: "";
	background: #5d6678;
	transform: rotate(64deg);
	transform-origin: top;
}

.neomi-reference-hero__ornament--branch span {
	position: absolute;
	width: 1.15rem;
	height: 3.25rem;
	background: #5d6678;
	border-radius: 100% 0 100% 0;
}

.neomi-reference-hero__ornament--branch span:nth-child(1) { top: 1.1rem; right: 6.7rem; transform: rotate(34deg); }
.neomi-reference-hero__ornament--branch span:nth-child(2) { top: 2.35rem; right: 4.9rem; transform: rotate(-18deg); }
.neomi-reference-hero__ornament--branch span:nth-child(3) { top: 3.25rem; right: 7.65rem; transform: rotate(28deg); }
.neomi-reference-hero__ornament--branch span:nth-child(4) { top: 4.7rem; right: 5.7rem; transform: rotate(-20deg); }
.neomi-reference-hero__ornament--branch span:nth-child(5) { top: 5.65rem; right: 8.25rem; transform: rotate(25deg); }
.neomi-reference-hero__ornament--branch span:nth-child(6) { top: 6.95rem; right: 6.65rem; transform: rotate(-16deg); }

@media (max-width: 74rem) {
	.neomi-reference-hero__stage {
		grid-template-columns: minmax(0, 50fr) minmax(0, 50fr);
	}

	.neomi-reference-hero__content {
		width: min(28rem, 78%);
	}

	.neomi-reference-hero__title {
		font-size: clamp(3rem, 5.2vw, 4.2rem);
	}
}

@media (max-width: 63.99rem) {
	.neomi-reference-hero {
		padding: 0.75rem;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
	}

	.neomi-reference-hero__shell {
		min-height: 0;
		border-radius: 1.5rem;
	}

	.neomi-reference-hero__header {
		position: relative;
		top: auto;
		right: auto;
		left: auto;
		padding: 0.75rem 0.75rem 0;
	}

	.neomi-reference-hero__stage {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.neomi-reference-hero__image-wrap {
		order: 1;
		height: clamp(17rem, 54vw, 27rem);
		min-height: 0;
		border-radius: 0 0 1.2rem 1.2rem;
	}

	.neomi-reference-hero__image {
		min-height: 0;
		object-position: 45% 54%;
	}

	.neomi-reference-hero__panel {
		order: 2;
		min-height: 0;
	}

	.neomi-reference-hero__panel::before,
	.neomi-reference-hero__ornament {
		display: none;
	}

	.neomi-reference-hero__content {
		width: min(100%, 34rem);
		margin: 0;
		padding: clamp(2.2rem, 8vw, 3.6rem) clamp(1.45rem, 6vw, 2.4rem) clamp(2.8rem, 8vw, 4rem);
		transform: none;
	}

	.neomi-reference-hero__title {
		font-size: clamp(2.7rem, 11vw, 4rem);
	}

	.neomi-reference-hero__lead {
		font-size: 1rem;
		line-height: 1.8;
	}

	.neomi-reference-hero__actions {
		flex-wrap: wrap;
		gap: 1.35rem;
		margin-top: 2.4rem;
	}
}
