/**
 * Variant CSS: hero--centered-copy-photo-peek-bottom
 * Layer 2 — centered statement, then a landscape photo of which ONLY the
 * TOP BAND is visible: the peek frame clamps the height and crops the rest
 * at the section's bottom edge, implying continuation below the fold (the
 * classic SaaS "product peek" done with a photograph). Rounded top corners
 * + soft elevation make the peeking sheet read as a surface rising in.
 * Scope: body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom
 */

body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom {
	padding-block-start: clamp(var(--space-xl), 8vw, var(--space-3xl));
	/* No bottom padding: the cropped photo IS the section's bottom edge. */
	padding-block-end: 0;
	overflow: hidden;
}

/* ── Centered statement (A8/A9: horizontal margins auto) ─────────── */
body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom .universal-hero__kicker {
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 600;
	letter-spacing: var(--tracking-widest);
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 auto var(--space-sm) auto;
}

body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom .universal-hero__headline {
	font-family: var(--font-display);
	color: var(--text-primary);
	margin: 0 auto var(--space-sm) auto;
	overflow-wrap: break-word;
}

body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom .universal-hero__headline em {
	font-style: italic;
	color: var(--accent);
}

body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom .universal-hero__deck {
	font-family: var(--font-body);
	font-size: var(--text-lg);
	line-height: var(--leading-relaxed);
	color: var(--text-secondary);
	max-width: 40rem;
	margin: 0 auto var(--space-lg) auto;
}

body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom .universal-hero__cta .wp-block-button__link {
	background: var(--cta-bg-primary, var(--accent));
	color: var(--cta-text-primary, var(--on-accent, #FFFFFF));
	font-family: var(--font-body);
	font-weight: 600;
	padding: 1.05rem 2.4rem;
	border-radius: var(--decor-radius);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom .universal-hero__cta .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: var(--decor-shadow-elevated);
}

/* ── The peek frame: clamp the visible band, crop the rest. ──────── */
body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom .universal-hero__peek {
	margin-block-start: clamp(var(--space-lg), 5vw, var(--space-2xl));
	height: clamp(220px, 34vh, 380px);
	overflow: hidden;
	border-start-start-radius: clamp(12px, 2vw, 24px);
	border-start-end-radius: clamp(12px, 2vw, 24px);
	box-shadow: var(--decor-shadow-elevated);
}

body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom .universal-hero__photo {
	margin: 0;
	height: 100%;
}

body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom .universal-hero__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* The TOP of the frame is the story — keep it in view as we crop. */
	object-position: center top;
}

body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

/* ── Mobile ────────────────────────────────────────────────────── */
@media (max-width: 640px) {
	body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom .universal-hero__kicker {
		letter-spacing: var(--tracking-wide);
	}
	body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom .universal-hero__headline {
		font-size: clamp(2rem, 8.5vw, 2.8rem) !important;
	}
	body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom .universal-hero__peek {
		height: clamp(150px, 26vh, 240px);
	}
	body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom .universal-hero__actions,
	body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom .universal-hero__cta,
	body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom .universal-hero__cta .wp-block-button__link {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.aibt-universal .universal-hero--centered-copy-photo-peek-bottom .universal-hero__cta .wp-block-button__link {
		transition: none;
	}
}
