/*
 * PCCIL homepage - page-scoped composition.
 */

.pccc-home { background: var(--pccc-color-surface); }
body.home, body.home-page { background: var(--pccc-color-surface) !important; }
body.home #page.site, body.home-page #page.site { background: var(--pccc-color-surface); }

/* Wide hero: full-bleed banner with background image + dark gradient. */
.pccc-home__hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	min-height: clamp(220px, 34vw, 380px);
	display: flex;
	align-items: flex-end;
	isolation: isolate;
}
.pccc-home__hero--image {
	background-image: var(--pccc-home-hero-image);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.pccc-home__hero--plain {
	background: linear-gradient(135deg, #245d6d 0%, #398aa0 55%, #64b17b 100%);
}
.pccc-home__hero-overlay {
	position: absolute; inset: 0; z-index: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.55) 82%, rgba(0, 0, 0, 0.65) 100%);
	pointer-events: none;
}
.pccc-home__hero-inner {
	position: relative; z-index: 1;
	padding: clamp(32px, 6vw, 72px) 0;
	max-width: 800px;
}
.pccc-home__hero-title {
	color: #fff;
	margin: 0 0 var(--pccc-space-2);
	font-size: clamp(1.75rem, 3.4vw, 2.75rem);
	line-height: 1.15;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.pccc-home__hero-lead {
	color: rgba(255, 255, 255, 0.94);
	max-width: 56ch;
	font-size: clamp(1rem, 1.4vw, 1.15rem);
	line-height: 1.5;
	margin: 0;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
@media (max-width: 600px) {
	.pccc-home__hero { min-height: 240px; }
}

/* Six spaces grid - image-led. */
.pccc-home__spaces {
	padding-block: var(--pccc-space-4) var(--pccc-space-6);
}
.pccc-home__pathway-card .pccc-content-card__media {
	aspect-ratio: 16 / 10;
}
.pccc-home__pathway-card .pccc-card__title {
	font-size: 1.05rem;
}

/* Join band. */
.pccc-home__join { text-align: center; padding-block: var(--pccc-space-6); }
.pccc-home__join-inner { max-width: 720px; }
.pccc-home__join .pccc-lead {
	margin-inline: auto;
	max-width: 60ch;
	color: rgba(255, 255, 255, 0.92);
}
.pccc-home__ctas {
	margin-top: var(--pccc-space-4);
	justify-content: center;
	gap: var(--pccc-space-3);
}
