/* Homepage (templates/page-home.php) */

/* Hero */
.be_home-hero {
	padding-bottom: 0;
}

.be_home-hero-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 72px;
	align-items: center;
}

.be_home-hero-copy {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.be_home-hero-title {
	color: var(--be-dark-text);
}

.be_home-hero-text {
	max-width: 520px;
	font: var(--be-lead);
	color: var(--be-dark-soft);
}

.be_home-hero-note {
	font: var(--be-small);
	color: var(--be-dark-muted);
}

.be_home-hero-media {
	height: 560px;
	overflow: visible; /* the badge hangs 28px outside the picture */
}

.be_home-hero-media .be_media-badge {
	left: -28px;
}

.be_home-trust {
	margin: 64px 0 0;
	padding: 0 0 28px;
	list-style: none;
}

/* Services */
.be_home-services-more {
	margin-top: 32px;
}

.be_service-card .be_link-arrow {
	margin-top: auto;
}

/* Brands */
.be_home-brands {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.be_home-brands-head .be_section-title {
	color: var(--be-dark-text);
}

.be_home-spotlight {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	background: var(--be-color-steel);
}

.be_home-spotlight-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
	padding: 44px 48px;
}

.be_home-spotlight-title {
	font: var(--be-h3);
	font-size: 36px;
	color: var(--be-dark-text);
}

.be_home-spotlight-text {
	max-width: 560px;
	font: 400 15.5px/1.6 var(--be-font-body);
	color: var(--be-dark-soft);
}

.be_home-spotlight-media {
	margin: 0;
	min-height: 340px;
}

.be_home-spotlight-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.be_home-brands-more {
	margin-top: -16px;
}

/* Process */
.be_home-process-head {
	margin-bottom: 48px;
}

/* Person */
.be_home-person-media {
	height: 560px;
	overflow: visible;
}

.be_home-person-frame {
	position: absolute;
	right: -24px;
	bottom: -24px;
	width: 220px;
	height: 220px;
	border: 1px solid var(--be-color-brass);
	pointer-events: none;
}

.be_home-person-copy {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.be_home-person-text {
	max-width: 560px;
	color: var(--be-color-body);
}

/* Workshop gallery */
.be_home-gallery {
	list-style: none;
	margin: 0;
	padding: 0;
}

.be_home-gallery-item {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.be_home-gallery-img {
	display: block;
	width: 100%;
	height: 290px;
	object-fit: cover;
}

.be_home-gallery-caption {
	font: var(--be-small);
	color: var(--be-dark-soft);
}

/* Responsive */
@media (max-width: 1100px) {
	.be_home-hero-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.be_home-hero-media {
		height: 420px;
	}

	.be_home-hero-media .be_media-badge {
		left: 0;
		bottom: 18px;
		padding: 12px 16px;
	}

	.be_home-hero-media .be_media-badge-number {
		font-size: 30px;
	}

	.be_home-spotlight {
		grid-template-columns: 1fr;
	}

	.be_home-spotlight-media {
		order: -1;
		min-height: 240px;
		height: 240px;
	}

	.be_home-spotlight-copy {
		padding: 28px 24px;
	}

	.be_home-spotlight-title {
		font-size: 28px;
	}

	.be_home-person-media {
		height: 380px;
	}

	.be_home-person-frame {
		display: none;
	}

	.be_home-gallery-img {
		height: 220px;
	}
}

@media (max-width: 700px) {
	.be_home-hero-grid {
		gap: 24px;
	}

	.be_home-hero-media {
		order: -1;
		height: 260px;
	}

	.be_home-hero-media::after {
		display: none;
	}

	.be_home-trust {
		margin-top: 32px;
		padding-bottom: 24px;
	}

	.be_home-brands {
		gap: 28px;
	}

	.be_home-person-media {
		height: 260px;
	}

	.be_home-gallery-img {
		height: 160px;
	}
}
