/**
 * Hero — Brand pattern styling for nordnatur.tech.
 *
 * CSS BUDGET EXCEPTION (CLAUDE.md rule 14).
 * Pattern-scoped CSS for off-scale layout values that theme.json + block
 * styles can't express: 1.2fr/1fr fractional grid (not equal-width or
 * minmax-able via core/group layout:grid), 900px wireframe breakpoint
 * (off-scale vs WP defaults), and the visual-slot placeholder (aspect-
 * ratio + dashed-border combo with no second consumer yet — D3
 * tool-card-grid will be the second consumer; promote upstream then).
 *
 * Conditionally enqueued via post_content sniff for the
 * `ntech-hero-brand-grid` className — zero payload on pages without
 * the pattern. Logged in ntech-core CHANGELOG 0.6.0.
 *
 * All values resolve through theme.json custom properties. Source of
 * truth for the design lives at styling/elements/hero-brand.html.
 *
 * Atom: hero-brand — D1 of the 2026-04-30 atom-first polish pass.
 */

.ntech-hero-brand-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 4rem; /* 64px — wireframe `.hero-grid { gap: 64px }` */
	align-items: center;
}

@media (max-width: 899px) {
	.ntech-hero-brand-grid {
		grid-template-columns: 1fr;
		gap: 2rem; /* 32px — wireframe @media 900px gap override */
	}
}

.ntech-hero-brand-visual {
	aspect-ratio: 4 / 3;
	background-color: var(--wp--preset--color--base);
	border: 1px dashed var(--wp--custom--border--muted);
	border-radius: var(--wp--custom--radius--default);
	color: var(--wp--preset--color--contrast-2);
	display: grid;
	place-items: center;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.9rem;
	padding: 1.5rem; /* 24px — wireframe placeholder padding */
	text-align: center;
}

.ntech-hero-brand-visual > p {
	margin: 0;
	max-width: 28ch;
}
