/* Homepage Hero */

/* *************************** */
/* HOME PAGE COVERS ANIIMATION */
/* *************************** */

/* Example: give the hero area a stacking context and height */
.home .hero, .home .ct-container, .home .site-main {
	position:relative;
}
.home .pc-hero-covers {
	max-height:600px; /* match your hero height */
}
/*
@media (max-width:480px) {
	.home .pc-hero-covers {
		height: 300px;
	}
}

@media (min-width:481px) {
	.home .pc-hero-covers {
		height: 600px;
	}
}

@media (min-width:1024px) {
	.pc-hero-tagline .tape {
		font-size: 2.5rem;
		max-width: 800px;
	}
}



/* ===== Paint Chip – Hero Cover Wall ===== */
.pc-hero-covers {
	position: relative;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
/*	height: 900px; /* about three rows tall (300px each) */
}

/* If your hero section is relatively positioned, this will sit behind */
.home .ct-container,
.home .hero,
.home .site-main {
	position: relative;
}

/* Scrolling track */
.pc-hero-covers__track {
	display: flex;
	width: max-content;
	animation: pc-cover-scroll 90s linear infinite;
}

/* Grid: 300×300 tiles, no gaps */
.pc-hero-covers__group {
	display: grid;
	grid-template-columns: repeat(8, 300px);
	grid-auto-rows: 300px;
	gap: 0;
	margin: -150px 0 0; /* shifts the grid so top row is only half visisble */
}

.pc-hero-covers__tile {
	overflow: hidden;
}

.pc-hero-covers__tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: grayscale(10%) contrast(1.05);
	opacity: 0.9;
	transform: translateZ(0);
}

/* Overlay color + shadow */
.pc-hero-covers::after {
	content: "";
	position: absolute;
	inset: 0;
	/* Overlay color with multiply blend */
	background: #b8b6ac;
	mix-blend-mode: multiply;
	/* Inset shadow for edge depth */
	box-shadow: inset 0px 0px 66px 22px #00000069 !important;
	z-index: 1;
	pointer-events: none;
}

/* Optional side fades */
.pc-hero-covers::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(to right,
		rgba(0,0,0,0.2) 0%,
		transparent 10%,
		transparent 95%,
		rgba(0,0,0,0.2) 100%);
}

/* Scroll animation */
@keyframes pc-cover-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
	.pc-hero-covers__track { animation: none; }
}

/* Responsive scaling */

@media (max-width:1200px) {
	.pc-hero-covers__group {
		grid-template-columns: repeat(6, 300px);
		grid-auto-rows: 300px;
	}
	.pc-hero-covers { height: 600px; }
	.pc-hero-covers__track { transform: translateY(-150px); }
}

@media (max-width:1024px) {
	.pc-hero-covers__group {
		grid-template-columns: repeat(4, 300px);
		grid-auto-rows: 300px;
	}
	.pc-hero-covers { height: 600px; }
	.pc-hero-covers__track { transform: translateY(-150px); }
}

@media (max-width:768px) {
	.pc-hero-covers__group {
		grid-template-columns: repeat(5, 200px);
		grid-auto-rows: 200px;
	}
	.pc-hero-covers { height: 400px; }
	.pc-hero-covers__track { transform: translateY(-100px); }
}

@media (max-width:480px) {
	.pc-hero-covers__group {
		grid-template-columns: repeat(4, 150px);
		grid-auto-rows: 150px;
	}
	.pc-hero-covers { height: 300px; }
	.pc-hero-covers__track { transform: translateY(-75px); }
}


/* *************** */
/* Static tag line */
/* *************** */

.pc-hero-tagline {
	position: absolute;
	inset: 0;
	padding: 5%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	z-index: 3; /* above overlays and covers */
	/* pointer-events: none; */


	& .tape {
		text-align: left;
		text-transform: uppercase;
		display: inline-flex;
		flex-direction: column;
		gap: 0.5em; /* space between black bars */
		width: 100%;
	}

	& .tape span {
		background: #151515;
		color: white;
		padding: 0.25em 0.85em 0.2em;
		line-height: 1.25;
	}

}

/* tag line RWD */
@media (max-width:480px) {
	.pc-hero-tagline .tape {
		font-size: 22px;
	}
}

@media (min-width: 481px) and (max-width: 767px) {
	.pc-hero-tagline .tape {
		font-size: 30px;
		max-width: 600px;
	}
}

@media (min-width:768px) {
	.pc-hero-tagline .tape {
		font-size: 2.5rem;
		max-width: 800px;
	}
}



