/* Projects gallery page */

.barrett-projects-page {
	padding: 70px 0 100px;
	background: #f9fafb;
}

.barrett-projects-eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #e45135;
	margin-bottom: 10px;
}

.barrett-projects-heading {
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 700;
	color: #182b54;
	margin-bottom: 14px;
}

.barrett-projects-intro {
	max-width: 680px;
	margin: 0 auto 48px;
	color: #5c6578;
	font-size: 17px;
	line-height: 1.65;
}

.barrett-project-card {
	height: 100%;
}

.barrett-project-lightbox {
	display: block;
	text-decoration: none;
	color: inherit;
}

.barrett-project-thumb {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 8px;
	background: #182b54;
	aspect-ratio: 4 / 3;
	box-shadow: 0 12px 32px rgba(24, 43, 84, 0.12);
}

.barrett-project-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s ease, opacity 0.35s ease;
}

.barrett-project-zoom {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(24, 43, 84, 0.45);
	color: #fff;
	font-size: 28px;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.barrett-project-card:hover .barrett-project-thumb img {
	transform: scale(1.06);
}

.barrett-project-card:hover .barrett-project-zoom {
	opacity: 1;
}

.barrett-project-title {
	font-size: 17px;
	font-weight: 600;
	color: #182b54;
	margin: 14px 0 0;
	line-height: 1.4;
}

/* Magnific Popup — title + gallery nav (popup renders on body) */
.barrett-projects-lightbox .mfp-title {
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	padding: 12px 16px 0;
	line-height: 1.45;
}

.barrett-projects-lightbox .mfp-counter {
	color: rgba(255, 255, 255, 0.85);
	font-size: 13px;
}

.barrett-projects-lightbox .mfp-arrow {
	opacity: 0.92;
}

.barrett-projects-lightbox .mfp-arrow:hover {
	opacity: 1;
}
