/* Glist — home.css */

/* ——— Hero ——— */
.site-main--home {
	padding-top: var(--glist-header-h);
}

.home-hero {
	position: relative;
	height: calc(100vh - var(--glist-header-h));
	height: calc(100dvh - var(--glist-header-h));
	min-height: 28rem;
	overflow: hidden;
	background: #000;
}

.home-hero__video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	/* Crop letterboxing baked into the 16:9 file */
	transform: scale(1.2);
	transform-origin: center center;
}

.home-hero__shade {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

/* ——— Lifestyle (pocket close-up under catalog) ——— */
.home-lifestyle {
	min-height: min(75vh, 52rem);
	overflow: hidden;
}

.home-lifestyle img {
	width: 100%;
	height: min(75vh, 52rem);
	object-fit: cover;
	object-position: center center;
}

/* Mobile: tight centered crop on the logo, like the client reference */
@media (max-width: 800px) {
	.home-lifestyle {
		min-height: 0;
		aspect-ratio: 3 / 4;
		max-height: 85vh;
	}

	.home-lifestyle img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center 48%;
		transform: scale(1.55);
		transform-origin: center 48%;
	}
}

/* ——— Band ——— */
.home-band {
	padding: clamp(5.5rem, 12.5vw, 9.4rem) 0 clamp(5rem, 11vw, 8.5rem);
	background: #000;
	color: var(--glist-white);
}

.team-grid {
	width: min(1200px, calc(100% - clamp(1.5rem, 4vw, 3rem)));
	margin-inline: auto;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem);
	padding: 0;
	list-style: none;
	justify-items: center;
}

.team-card {
	text-align: center;
	width: 100%;
	max-width: 16rem;
	box-sizing: border-box;
}

.team-card__photo {
	width: 100%;
	aspect-ratio: 1;
	margin: 0 auto 1rem;
	border-radius: 2px;
	background-position: center;
	background-size: cover;
}

.team-card__name {
	margin: 0 0 0.35rem;
	padding-inline: 0.25rem;
	font-family: var(--glist-headline);
	font-size: clamp(1.25rem, 2.67vw, 2rem);
	font-weight: 500;
	text-transform: capitalize;
	line-height: 1.15;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.team-card__role {
	margin: 0 0 0.75rem;
	padding-inline: 0.25rem;
	font-family: var(--glist-headline);
	font-size: clamp(0.95rem, 1.5vw, 1.125rem);
	font-weight: 500;
	line-height: 1.2;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.team-card__ig {
	display: inline-flex;
	color: var(--glist-white);
	opacity: 0.9;
}

.team-card__ig:hover {
	opacity: 1;
}

@media (max-width: 960px) {
	.team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.team-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ——— Gallery ——— */
.home-gallery {
	overflow-x: clip;
}

.home-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.home-gallery__item {
	position: relative;
	z-index: 1;
	margin: 0;
	aspect-ratio: 1;
}

.home-gallery__link {
	display: block;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
}

.home-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s linear, box-shadow 0.2s linear;
}

@media (hover: hover) and (pointer: fine) {
	.home-gallery__item:hover {
		z-index: 5;
	}

	.home-gallery__item:hover img {
		transform: scale(1.04);
		box-shadow: 0 2px 14px 1px rgba(0, 0, 0, 0.3);
	}
}

/* ——— Contact ——— */
.home-contact {
	width: min(1120px, calc(100% - 2rem));
	margin-inline: auto;
	padding: clamp(5.5rem, 12.5vw, 9.4rem) 0;
	text-align: left;
}

.home-contact__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem 3rem;
	align-items: start;
}

.home-contact__lines {
	margin: 0 0 1.5rem;
	font-family: var(--glist-headline);
	font-size: clamp(1.5rem, 2.7vw, 2.25rem);
	font-weight: 600;
	line-height: 1.35;
}

.home-contact__privacy {
	margin: 0;
	max-width: 42ch;
	font-family: var(--glist-headline);
	font-size: clamp(1rem, 1.4vw, 1.15rem);
	font-weight: 600;
	line-height: 1.45;
	color: var(--glist-muted);
	text-transform: lowercase;
}

.home-contact__form {
	position: relative;
	display: grid;
	gap: 0.85rem;
}

.home-contact__form input,
.home-contact__form textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid #000;
	border-radius: 2px;
	font: inherit;
	background: transparent;
	box-sizing: border-box;
}

.home-contact__form .btn {
	justify-self: start;
	min-width: 10rem;
	border-radius: 2px;
}

.home-contact__status {
	margin: 0;
	font-family: var(--glist-sans);
	font-size: 0.85rem;
	font-weight: 400;
}

.home-contact__status.is-error {
	color: #5a1f1f;
}

.glist-hp {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
}

@media (max-width: 800px) {
	.home-contact__grid {
		grid-template-columns: 1fr;
	}
}
