/* OFFWE homepage — founder-board translation / revision 2 */
:root {
	--offwe-navy: #0A1B2E;
	--offwe-navy-deep: #07131f;
	--offwe-lime: #C7E34A;
	--offwe-white: #FFFFFF;
}

body.home,
body.home .wp-site-blocks {
	margin: 0;
	padding: 0;
	background: var(--offwe-navy-deep);
	color: var(--offwe-white);
}

.offwe-home-header {
	background: var(--offwe-navy-deep);
}

.offwe-home-header__inner {
	width: min(100% - 56px, 1240px);
	min-height: 102px;
	margin-inline: auto;
	padding: 26px 0 18px;
}

.offwe-home-logo img {
	width: 178px;
	height: auto;
	display: block;
}

.offwe-home-main {
	margin: 0;
}

.offwe-home-stage {
	padding: 4px 0 28px;
}

.offwe-home-stage > * {
	width: min(100% - 56px, 1240px);
	margin-inline: auto;
}

.offwe-home-hero {
	position: relative;
	min-height: clamp(560px, 70vh, 720px) !important;
	border-radius: 3px;
	overflow: hidden;
	box-shadow: 0 26px 76px rgba(0,0,0,.24);
}

.offwe-home-hero .wp-block-cover__image-background {
	object-fit: cover;
	object-position: 58% 48%;
	filter: saturate(.88) contrast(1.02);
}

.offwe-home-hero .wp-block-cover__background {
	opacity: 1 !important;
	background:
		linear-gradient(90deg, rgba(5,15,25,.70) 0%, rgba(5,15,25,.44) 32%, rgba(5,15,25,.12) 58%, rgba(5,15,25,.05) 100%),
		linear-gradient(180deg, rgba(5,15,25,.04) 0%, rgba(5,15,25,.03) 46%, rgba(5,15,25,.38) 100%);
}

.offwe-home-hero .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-end;
}

.offwe-home-hero__copy {
	max-width: 560px;
	margin: 0;
	padding: 0 0 58px clamp(34px, 5vw, 68px);
}

.offwe-home-title {
	margin: 0;
	max-width: 9ch;
	color: var(--offwe-white);
	font-size: clamp(3.25rem, 5.4vw, 5.65rem);
	line-height: .94;
	font-weight: 500;
	letter-spacing: -.052em;
	text-shadow: 0 4px 22px rgba(0,0,0,.28);
}

.offwe-home-title__accent {
	color: var(--offwe-lime);
}

.offwe-home-promise {
	margin: 24px 0 0;
	color: rgba(255,255,255,.90);
	font-size: clamp(1.05rem, 1.35vw, 1.24rem);
	line-height: 1.45;
	letter-spacing: -.012em;
	text-shadow: 0 2px 14px rgba(0,0,0,.25);
}

.offwe-home-actions {
	margin-top: 28px;
}

.offwe-home-cta .wp-block-button__link {
	border: 1px solid rgba(199,227,74,.95);
	border-radius: 999px;
	background: var(--offwe-lime);
	color: var(--offwe-navy-deep);
	font-size: .96rem;
	font-weight: 650;
	padding: 13px 22px;
	transition: transform .18s ease, box-shadow .18s ease;
}

.offwe-home-cta .wp-block-button__link:hover,
.offwe-home-cta .wp-block-button__link:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(199,227,74,.20);
}

.offwe-home-photo-credit {
	width: min(100% - 56px, 1240px) !important;
	margin: 8px auto 0 !important;
	text-align: right;
	color: rgba(255,255,255,.66);
	font-size: .66rem;
	letter-spacing: .02em;
}

.offwe-home-footer {
	background: var(--offwe-navy-deep);
	border-top: 1px solid rgba(255,255,255,.07);
}

.offwe-home-footer__inner {
	width: min(100% - 56px, 1240px);
	margin-inline: auto;
	padding: 18px 0 28px;
}

.offwe-home-footer__brand {
	margin: 0;
	font-size: .88rem;
}

.offwe-home-footer__brand a {
	color: rgba(255,255,255,.84);
	text-decoration: none;
}

.offwe-home-footer__promise {
	margin: 0;
	color: rgba(255,255,255,.66);
	font-size: .76rem;
}

@media (max-width: 900px) {
	.offwe-home-header__inner,
	.offwe-home-stage > *,
	.offwe-home-photo-credit,
	.offwe-home-footer__inner {
		width: min(100% - 36px, 720px) !important;
	}

	.offwe-home-header__inner {
		min-height: 90px;
		padding: 22px 0 16px;
	}

	.offwe-home-logo img {
		width: 160px;
	}

	.offwe-home-hero {
		min-height: 72svh !important;
	}

	.offwe-home-hero .wp-block-cover__image-background {
		object-position: 64% 50%;
	}

	.offwe-home-hero .wp-block-cover__background {
		background:
			linear-gradient(180deg, rgba(5,15,25,.06) 0%, rgba(5,15,25,.08) 42%, rgba(5,15,25,.70) 100%),
			linear-gradient(90deg, rgba(5,15,25,.24), rgba(5,15,25,.04));
	}

	.offwe-home-hero__copy {
		max-width: 520px;
		padding: 0 22px 34px;
	}

	.offwe-home-title {
		font-size: clamp(3rem, 11vw, 4.9rem);
		max-width: 8.5ch;
	}

	.offwe-home-promise {
		margin-top: 19px;
		font-size: 1.02rem;
	}
}

@media (max-width: 520px) {
	.offwe-home-header__inner,
	.offwe-home-stage > *,
	.offwe-home-photo-credit,
	.offwe-home-footer__inner {
		width: min(100% - 24px, 480px) !important;
	}

	.offwe-home-logo img {
		width: 160px;
	}

	.offwe-home-hero {
		min-height: 76svh !important;
	}

	.offwe-home-hero .wp-block-cover__image-background {
		object-position: 68% 50%;
	}

	.offwe-home-title {
		font-size: clamp(2.85rem, 13vw, 4.05rem);
	}

	.offwe-home-hero__copy {
		padding: 0 18px 26px;
	}

	.offwe-home-actions {
		margin-top: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.offwe-home-cta .wp-block-button__link {
		transition: none;
	}
}
