/**
 * BRAND EXPO front-page styles.
 */

.home-page.site-main {
	padding-block: 0;
}

.home-section {
	padding-block: var(--space-section);
}

.home-section h2,
.home-final-cta h2 {
	margin-block: 0;
	color: var(--color-heading);
	font-size: clamp(2rem, 4vw, 4rem);
	line-height: 1.08;
}

.home-section h3 {
	margin-block: 0;
	color: var(--color-heading);
}

.home-section__header {
	max-width: 48rem;
	margin-block-end: clamp(2rem, 5vw, 4rem);
}

.home-section__header > :last-child {
	margin-block-end: 0;
}

.home-section__header--split {
	display: flex;
	max-width: none;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
}

.home-hero {
	position: relative;
	display: grid;
	min-height: min(100svh, 60rem);
	overflow: hidden;
	background: var(--brand-black);
	color: var(--brand-white);
	place-items: center;
}

.home-hero__media,
.home-hero__overlay {
	position: absolute;
	inset: 0;
}

.home-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-hero__overlay {
	background: linear-gradient(90deg, rgba(8, 8, 8, 0.82), rgba(8, 8, 8, 0.28));
}

.home-hero__content {
	position: relative;
	z-index: 1;
	padding-block: clamp(9rem, 18vh, 13rem) clamp(5rem, 12vh, 8rem);
}

.home-hero__title {
	max-width: 14ch;
	margin: 0;
	color: var(--brand-white);
	font-size: clamp(2.65rem, 7vw, 6.5rem);
	line-height: 0.98;
	letter-spacing: -0.035em;
}

.home-hero__supporting {
	max-width: 42rem;
	margin-block: 1.75rem 0;
	font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.home-hero__additional {
	max-width: 38rem;
	margin-block-start: 1.5rem;
	color: rgba(255, 255, 255, 0.82);
}

.home-hero__additional p {
	margin-block: 0.35rem;
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-block-start: 2rem;
}

.button--outline-light,
.button--light,
.button--outline {
	border: 0.0625rem solid currentColor;
}

.button--outline-light {
	background: transparent;
	color: var(--brand-white);
}

.button--outline-light:hover,
.button--outline-light:focus-visible {
	border-color: var(--brand-white);
	background: var(--brand-white);
	color: var(--brand-black);
}

.button--outline {
	background: transparent;
	color: var(--color-heading);
}

.button--light {
	border-color: var(--brand-white);
	background: var(--brand-white);
	color: var(--brand-black);
}

.home-partner__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
}

.home-partner__grid--no-media {
	grid-template-columns: minmax(0, 52rem);
}

.home-partner__media {
	min-width: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--brand-light);
}

.home-partner__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-partner__content {
	min-width: 0;
}

.home-partner__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-block: 0 0.75rem;
	color: var(--color-accent);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
}

.home-partner__eyebrow::before,
.home-partner__content h2::after {
	display: block;
	width: 1.5rem;
	height: 0.125rem;
	background: var(--color-accent);
	content: "";
}

.home-partner__content h2::after {
	height: 0.25rem;
	margin-block-start: 0.8rem;
}

.home-partner__text {
	margin-block: 1.25rem 0;
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.home-partner__statement {
	margin-block: 1rem 0;
	color: var(--color-accent);
	font-weight: 700;
}

.home-partner__statistics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.75rem);
	margin: clamp(2rem, 4vw, 3rem) 0 0;
	padding: clamp(1.5rem, 3vw, 2rem) 0 0;
	border-block-start: 0.0625rem solid rgba(8, 8, 8, 0.14);
	list-style: none;
}

.home-partner__statistic {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	min-width: 0;
}

.home-partner__statistic-icon {
	flex: 0 0 auto;
	width: 1.65rem;
	height: 1.65rem;
	fill: none;
	stroke: var(--color-accent);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
}

.home-partner__statistic-copy {
	display: block;
	min-width: 0;
}

.home-partner__statistic-value,
.home-partner__statistic-label {
	display: block;
}

.home-partner__statistic-value {
	color: var(--color-heading);
	font-size: clamp(1rem, 1.7vw, 1.35rem);
	font-weight: 800;
	line-height: 1.1;
}

.home-partner__statistic-label {
	margin-block-start: 0.25rem;
	font-size: 0.75rem;
	line-height: 1.35;
	overflow-wrap: break-word;
}

.home-services {
	background: var(--brand-light);
}

.home-services {
	padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.home-services__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.875rem, 1.5vw, 1.25rem);
	margin: 0;
	padding: 0;
}

.home-services__item {
	display: flex;
	min-width: 0;
	min-height: 9.5rem;
	padding: clamp(1.1rem, 2vw, 1.5rem);
	flex-direction: column;
	justify-content: center;
	border: 0.0625rem solid rgba(8, 8, 8, 0.14);
	background: var(--brand-white);
	text-align: start;
}

.home-services__header {
	margin-block-end: clamp(1.5rem, 3vw, 2.5rem);
}

.home-services__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-block: 0 0.75rem;
	color: var(--color-accent);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
}

.home-services__eyebrow::before,
.home-services__header h2::after {
	display: block;
	width: 1.5rem;
	background: var(--color-accent);
	content: "";
}

.home-services__eyebrow::before {
	height: 0.125rem;
}

.home-services__header h2::after {
	width: 2rem;
	height: 0.25rem;
	margin-block-start: 0.8rem;
}

.home-services__intro {
	max-width: 44rem;
	margin-block: 1.25rem 0;
}

.home-services__icon {
	display: block;
	width: 2rem;
	height: 2rem;
	margin-block-end: 1rem;
	fill: none;
	stroke: var(--color-accent);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.home-services__item h3 {
	font-size: clamp(1rem, 1.3vw, 1.2rem);
	line-height: 1.2;
	overflow-wrap: break-word;
}


.home-services__cta {
	display: flex;
	min-width: 0;
	min-height: 9.5rem;
	padding: clamp(1.25rem, 2vw, 1.6rem);
	background: var(--color-accent);
	color: var(--brand-white);
	flex-direction: column;
	justify-content: space-between;
	text-align: start;
}

.home-services__cta > p {
	max-width: 16ch;
	margin: 0;
	font-size: clamp(1.15rem, 1.55vw, 1.5rem);
	font-weight: 700;
	line-height: 1.2;
	overflow-wrap: break-word;
}

.home-services__cta a {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 0.65rem;
	margin-block-start: 1.25rem;
	color: inherit;
	font-size: 0.75rem;
	font-weight: 700;
	text-decoration: none;
}

.home-services__cta a:hover,
.home-services__cta a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.home-services__cta-arrow {
	direction: ltr;
	font-size: 1.1rem;
	line-height: 1;
}

[dir="rtl"] .home-services__cta-arrow {
	transform: scaleX(-1);
}

.home-projects {
	padding-block: clamp(3rem, 6vw, 5rem);
}

.home-projects__header {
	margin-block-end: clamp(1.5rem, 3vw, 2.5rem);
}

.home-projects__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-block: 0 0.75rem;
	color: var(--color-accent);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
}

.home-projects__eyebrow::before,
.home-projects__header h2::after {
	display: block;
	background: var(--color-accent);
	content: "";
}

.home-projects__eyebrow::before {
	width: 1.5rem;
	height: 0.125rem;
}

.home-projects__header h2::after {
	width: 2rem;
	height: 0.25rem;
	margin-block-start: 0.8rem;
}

.home-projects__intro {
	max-width: 44rem;
	margin-block: 1.25rem 0;
}

.home-services__view-all,
.home-projects__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--color-accent);
	font-size: 0.75rem;
	font-weight: 700;
	text-align: start;
	text-decoration: none;
}

.home-services__view-all::after,
.home-projects__cta::after {
	direction: ltr;
	font-size: 1.1rem;
	line-height: 1;
	content: "→";
}

.home-services__view-all:hover,
.home-services__view-all:focus-visible,
.home-projects__cta:hover,
.home-projects__cta:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

[dir="rtl"] .home-services__view-all::after,
[dir="rtl"] .home-projects__cta::after {
	transform: scaleX(-1);
}

.home-projects__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 1.75vw, 1.5rem);
}

.home-projects .project-card {
	min-width: 0;
	text-align: start;
}

.home-projects .project-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.home-projects .project-card__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--brand-light);
}

.home-projects .project-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.home-projects .project-card__link:hover .project-card__image,
.home-projects .project-card__link:focus-visible .project-card__image {
	transform: scale(1.025);
}

.home-projects .project-card__content {
	padding-block: 0.7rem 0.9rem;
}

.home-projects .project-card__title {
	font-size: clamp(1rem, 1.4vw, 1.25rem);
	line-height: 1.2;
	overflow-wrap: normal;
	word-break: normal;
}

.home-projects .project-card__meta {
	margin-block: 0.25rem 0;
	font-size: 0.8rem;
	line-height: 1.4;
	overflow-wrap: normal;
	word-break: normal;
}

.home-final-cta {
	padding-block: clamp(2.5rem, 4vw, 4rem);
	background: var(--color-accent);
}

.home-final-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1.5rem, 4vw, 4rem);
}

.home-final-cta h2 {
	flex: 1 1 24rem;
	max-width: 24ch;
	color: var(--brand-white);
	font-size: clamp(1.75rem, 3vw, 3rem);
	line-height: 1.08;
	text-wrap: balance;
}

.home-final-cta .button {
	min-height: 2.75rem;
	padding: 0.7rem 1.25rem;
	flex: 0 0 auto;
}

@media (max-width: 63.9375rem) {
	.home-partner__statistics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 48rem) {
	.home-hero {
		min-height: 46rem;
	}

	.home-hero__overlay {
		background: rgba(8, 8, 8, 0.62);
	}

	.home-partner__grid,
	.home-partner__grid--no-media {
		grid-template-columns: 1fr;
	}

	.home-section__header--split,
	.home-final-cta__inner {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 35rem) {
	.home-partner__statistics {
		grid-template-columns: 1fr;
	}

	.home-services__grid,
	.home-projects__grid {
		grid-template-columns: 1fr;
	}

	.home-services__item,
	.home-services__cta {
		min-height: 0;
	}
}

@media (min-width: 64em) {
	.home-projects__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.home-services__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.home-services__cta {
		grid-column: span 3;
	}

	.home-hero {
		min-height: clamp(38rem, 68svh, 46rem);
	}

	.home-hero__content {
		padding-block: 8rem 4.5rem;
	}

	.home-hero__title {
		font-size: clamp(3.5rem, 5vw, 5rem);
	}

	.home-hero__supporting {
		margin-block-start: 1.25rem;
	}

	.home-hero__additional {
		margin-block-start: 1rem;
	}

	.home-hero__actions {
		margin-block-start: 1.5rem;
	}

	.home-partner {
		padding-block-start: clamp(1.75rem, 2.5vw, 2.5rem);
		padding-block-end: clamp(1.5rem, 2vw, 2rem);
	}

	.home-services {
		padding-block-start: clamp(2.25rem, 3vw, 3rem);
		padding-block-end: clamp(2rem, 2.5vw, 2.75rem);
	}

	.home-projects {
		padding-block-start: clamp(2.25rem, 3vw, 3rem);
		padding-block-end: clamp(1.75rem, 2.5vw, 2.5rem);
	}

	.home-final-cta {
		padding-block: clamp(2.25rem, 3vw, 3.25rem);
	}

	.home-partner__grid {
		align-items: start;
	}

	.home-partner h2 {
		font-size: clamp(2rem, 3vw, 3.25rem);
	}
}

@media (min-width: 80em) {
	.home-projects__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.home-services__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.home-services__cta {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-projects .project-card__image {
		transition: none;
	}
}
