/**
 * Vugip theme — hero and building illustration.
 */

.home-hero {
	position: relative;
	padding: 1.05rem 0 0.8rem;
	background: var(--vugip-bg);
	border-top: 0;
	overflow: visible;
}

.home-hero__grid {
	display: grid;
	grid-template-columns: minmax(18rem, 30rem);
	gap: 0;
	align-items: center;
	min-height: 245px;
	position: relative;
	z-index: 1;
}

.home-hero__content {
	position: relative;
	z-index: 2;
}

.home-hero__title {
	margin: 0 0 0.7rem;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	line-height: 1.12;
	font-weight: 700;
	color: var(--vugip-text);
	max-width: 25rem;
}

.home-hero__lead {
	margin: 0 0 0.9rem;
	font-size: 0.82rem;
	line-height: 1.45;
	color: var(--vugip-muted);
	max-width: 28rem;
}

.button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.58rem 1.15rem;
	border-radius: var(--vugip-radius);
	font-weight: 600;
	font-size: 0.76rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s ease;
}

.button--primary {
	background: var(--vugip-green);
	color: var(--vugip-white);
}

.button--primary:hover {
	background: var(--vugip-green-hover);
	text-decoration: none;
	color: var(--vugip-white);
}

.building-illustration {
	position: absolute;
	right: 0;
	top: -7.2rem;
	width: min(58vw, 820px);
	height: auto;
	pointer-events: none;
	overflow: hidden;
	z-index: 0;
}

.building-illustration svg,
.building-illustration__image {
	width: 100%;
	height: auto;
	display: block;
}

/*
 * Inner pages (page.php): hero band ~half the vertical footprint of the front-page hero.
 * Front uses min-height 245px, padding 1.05rem 0 0.8rem, illustration top -7.2rem.
 */
.home-hero--inner {
	padding: 0.52rem 0 0.4rem;
}

.home-hero--inner .home-hero__grid {
	min-height: 122px;
}

.home-hero--inner .building-illustration {
	top: -3.6rem;
	width: min(48vw, 520px);
}

@media (max-width: 960px) {
	.home-hero__grid {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.building-illustration {
		width: 100%;
		top: -4.5rem;
		opacity: 0.45;
	}

	.home-hero--inner .building-illustration {
		top: -2.25rem;
	}
}
