/* Homepage real-workshop photography. */

.bgn-workshop-gallery {
	position: relative;
	overflow: hidden;
	padding-block: clamp(78px, 8vw, 116px);
	background: #062b49;
	color: #fff;
}

.bgn-workshop-gallery__ambient {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.bgn-workshop-gallery__ambient::before {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(rgba(255, 255, 255, .026) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .026) 1px, transparent 1px),
		radial-gradient(circle at 88% 10%, rgba(254, 201, 49, .11), transparent 27%);
	background-size: 72px 72px, 72px 72px, auto;
	content: "";
}

.bgn-workshop-gallery__ambient span {
	position: absolute;
	border: 1px solid rgba(254, 201, 49, .2);
	border-radius: 50%;
}

.bgn-workshop-gallery__ambient span:first-child {
	top: -280px;
	right: -180px;
	width: 560px;
	height: 560px;
}

.bgn-workshop-gallery__ambient span:last-child {
	bottom: -220px;
	left: -160px;
	width: 420px;
	height: 420px;
}

.bgn-workshop-gallery__inner {
	position: relative;
}

.bgn-workshop-gallery__heading {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, .58fr);
	gap: clamp(36px, 6vw, 88px);
	align-items: end;
	margin-bottom: clamp(34px, 5vw, 54px);
}

.bgn-workshop-gallery__heading .bgn-eyebrow {
	color: var(--bgn-yellow);
}

.bgn-workshop-gallery__heading h2 {
	max-width: 850px;
	margin: 14px 0 0;
	color: #fff;
	font-size: clamp(2.15rem, 4.2vw, 4rem);
	line-height: 1.03;
	letter-spacing: -.045em;
}

.bgn-workshop-gallery__heading > p {
	margin: 0;
	color: rgba(255, 255, 255, .66);
	font-size: .96rem;
	line-height: 1.75;
}

.bgn-workshop-gallery__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.34fr) minmax(320px, .66fr);
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.bgn-workshop-gallery__item {
	position: relative;
	min-height: 272px;
	margin: 0;
	overflow: hidden;
	background: #0b2133;
}

.bgn-workshop-gallery__item--featured {
	grid-row: 1 / 3;
	min-height: 570px;
}

.bgn-workshop-gallery__item::after {
	position: absolute;
	inset: 40% 0 0;
	background: linear-gradient(180deg, transparent, rgba(2, 18, 31, .85));
	content: "";
	pointer-events: none;
}

.bgn-workshop-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--bgn-ease);
}

.bgn-workshop-gallery__item:hover img {
	transform: scale(1.02);
}

.bgn-workshop-gallery__item figcaption {
	position: absolute;
	z-index: 1;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 18px;
	padding: 22px 24px;
}

.bgn-workshop-gallery__item figcaption span {
	color: var(--bgn-yellow);
	font-size: .64rem;
	font-weight: 850;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.bgn-workshop-gallery__item figcaption strong {
	max-width: 250px;
	color: #fff;
	font-size: .94rem;
	line-height: 1.35;
	text-align: right;
}

.bgn-workshop-gallery__proof {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 22px 0 0;
	padding: 0;
	border-top: 1px solid rgba(255, 255, 255, .13);
	border-bottom: 1px solid rgba(255, 255, 255, .13);
	list-style: none;
}

.bgn-workshop-gallery__proof li {
	display: flex;
	min-height: 70px;
	align-items: center;
	gap: 12px;
	padding: 14px 22px;
	border-right: 1px solid rgba(255, 255, 255, .13);
	color: rgba(255, 255, 255, .78);
	font-size: .78rem;
	font-weight: 750;
}

.bgn-workshop-gallery__proof li:last-child {
	border-right: 0;
}

.bgn-workshop-gallery__proof li span {
	width: 8px;
	height: 8px;
	flex: 0 0 auto;
	background: var(--bgn-yellow);
	border-radius: 50%;
}

@media (max-width: 900px) {
	.bgn-workshop-gallery__heading {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.bgn-workshop-gallery__heading > p {
		max-width: 680px;
	}

	.bgn-workshop-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto auto;
	}

	.bgn-workshop-gallery__item,
	.bgn-workshop-gallery__item--featured {
		min-height: 260px;
		aspect-ratio: 4 / 3;
	}

	.bgn-workshop-gallery__item--featured {
		grid-column: 1 / -1;
		grid-row: auto;
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 767px) {
	.bgn-workshop-gallery {
		padding-block: 58px;
	}

	.bgn-workshop-gallery__heading {
		margin-bottom: 28px;
	}

	.bgn-workshop-gallery__heading h2 {
		font-size: clamp(1.9rem, 9vw, 2.45rem);
		line-height: 1.08;
	}

	.bgn-workshop-gallery__heading > p {
		font-size: .9rem;
		line-height: 1.65;
	}

	.bgn-workshop-gallery__grid {
		grid-template-columns: 1fr;
		gap: 9px;
	}

	.bgn-workshop-gallery__item,
	.bgn-workshop-gallery__item--featured {
		grid-column: auto;
		aspect-ratio: 4 / 3;
		min-height: 0;
	}

	.bgn-workshop-gallery__item figcaption {
		align-items: start;
		padding: 17px 16px;
		flex-direction: column;
		gap: 5px;
	}

	.bgn-workshop-gallery__item figcaption strong {
		max-width: none;
		font-size: .88rem;
		text-align: left;
	}

	.bgn-workshop-gallery__proof {
		grid-template-columns: 1fr;
		margin-top: 16px;
	}

	.bgn-workshop-gallery__proof li {
		min-height: 54px;
		padding: 11px 14px;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, .1);
	}

	.bgn-workshop-gallery__proof li:last-child {
		border-bottom: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bgn-workshop-gallery__item img {
		transition: none;
	}
}
