/* ==========================================================================
   Home Page
   ========================================================================== */

/* Hero Slider
--------------------------------------------- */
.home-hero {
	position: relative;
	height: calc(100vh - 96px);
}

.home-hero__swiper {
	width: 100%;
	height: 100%;
}

.home-hero__slide {
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.home-hero__slide::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.2);
}

.home-hero__content {
	position: relative;
	z-index: 1;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.home-hero__heading {
	font-family: "Geist", sans-serif;
	font-size: clamp(2.5rem, 5vw, 4.375rem);
	font-weight: 200;
	color: #fff;
	line-height: 1.1;
	margin: 0;
}

.home-hero__subheading {
	font-family: "Geist", sans-serif;
	font-size: clamp(1rem, 1.8vw, 1.5625rem);
	font-weight: 300;
	color: #fff;
	margin: 0;
}

.btn--accent {
	font-family: "Geist", sans-serif;
	font-size: 1rem;
	font-weight: 400;
	color: #000;
	background: #CEAB8B;
	border-radius: 100px;
	padding: 0.6rem 1.5rem;
	text-decoration: none;
	margin-top: 0.5rem;
	transition: opacity 0.2s ease;
}

.btn--accent:hover {
	opacity: 0.85;
	color: #000;
}

/* Navigation arrows
--------------------------------------------- */
.home-hero__nav {
	position: absolute;
	bottom: 17rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 1.5rem;
	z-index: 10;
}

.home-hero__prev,
.home-hero__next {
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	width: 69px;
	height: 53px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.home-hero__prev:hover,
.home-hero__next:hover {
	opacity: 1;
}

/* Shared section styles
--------------------------------------------- */
.home-section__heading {
	font-family: "Geist", sans-serif;
	font-size: clamp(2rem, 4vw, 3.75rem);
	font-weight: 200;
	color: #4C4645;
	line-height: 1.1;
	margin-bottom: 0.75rem;
}

.home-section__icon {
	width: 82px;
	display: block;
	margin-top: 45px;
	margin-bottom: 58px;
}

/* Our Approach
--------------------------------------------- */
.home-approach {
	padding: 6rem 0;
}

.home-approach__grid {
	display: grid;
	grid-template-columns: 2fr 3fr;
	gap: 4rem;
	align-items: center;
}

.home-approach__lead {
	font-family: "Geist", sans-serif;
	font-size: clamp(1.25rem, 2vw, 1.875rem);
	font-weight: 300;
	color: #4C4645;
	line-height: 1.3;
	margin-bottom: 1.25rem;
}

.home-approach__body {
	font-family: "Geist", sans-serif;
	font-size: 1rem;
	font-weight: 300;
	color: #4C4645;
	line-height: 1.7;
	margin-bottom: 2rem;
}

.home-approach__visual {
	width: 100%;
    object-fit: contain;
    display: block;
    aspect-ratio: 1 / 1;
}

/* Our Team
--------------------------------------------- */
.home-team {
	padding: 6rem 0;

}

.home-team__grid {
	display: grid;
	grid-template-columns: 2fr 3fr;
	gap: 4rem;
	align-items: flex-end;
	margin-bottom: 4rem;
}

.home-team__lead {
	font-family: "Geist", sans-serif;
	font-size: clamp(1.25rem, 2vw, 1.875rem);
	font-weight: 300;
	color: #4C4645;
	line-height: 1.3;
	margin-bottom: 0;
}

.home-team__body {
	font-family: "Geist", sans-serif;
	font-size: 1rem;
	font-weight: 300;
	color: #4C4645;
	line-height: 1.7;
	margin-bottom: 2rem;
}

.home-team__photos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.home-team__photo {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center top;
	display: block;
}

@media (max-width: 768px) {
	.home-approach__grid,
	.home-team__grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

/* Pull GIF above the text column */
	.home-approach__right {
		order: -1;
		margin-left: -25px;
		margin-right: -25px;
	}

	/* Team photos: horizontal scroll strip, 350×350 each */
	.home-team__photos {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		gap: 9px;
		margin-left: -25px;
		margin-right: -25px;
		padding-left: 25px;
		scrollbar-width: none;
	}

	.home-team__photos::-webkit-scrollbar {
		display: none;
	}

	.home-team__photo {
		flex: 0 0 600px;
		width: 600px;
		height: 600px;
		aspect-ratio: unset;
		scroll-snap-align: start;
	}
}

@media (max-width: 600px) {

	.home-team__photo {
		flex: 0 0 350px;
		width: 350px;
		height: 350px;
		aspect-ratio: unset;
		scroll-snap-align: start;
	}
	/* Hero */
	.home-hero {
		height: calc(100vh - 104px);
	}

	.home-hero__heading {
		font-size: 55px;
	}

	.home-hero__subheading {
		font-size: 20px;
	}

	/* Shared section heading + icon */
	.home-section__heading {
		font-size: 30px;
	}

	.home-section__icon {
		margin-top: 28px;
		margin-bottom: 36px;
	}

	/* Approach: GIF full-bleed above text */
	.home-approach {
		padding: 0 0 48px;
	}

	.home-approach__grid {
		gap: 0;
	}

	.home-approach__visual {
		width: 100%;
		aspect-ratio: 4 / 5;
		object-fit: cover;
	}

	/* Restore breathing room below GIF */
	.home-approach__left {
		padding-top: 48px;
	}

	.home-approach__lead {
		font-size: 20px;
	}

	/* Team */
	.home-team {
		padding: 48px 0;
	}

	.home-team__grid {
		margin-bottom: 1.5rem;
	}

	.home-team__lead {
		font-size: 20px;
	}



	/* CTA */
	.home-cta__heading {
		font-size: 30px;
	}
}
