/* Base: resets and shared bits. Tokens come from theme.json (--wp--preset--*). */

*, *::before, *::after { box-sizing: border-box; }

body { -webkit-font-smoothing: antialiased; }

:where(a, button, input, select, summary):focus-visible {
	outline: var(--wp--custom--focus);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.bpg-icon { width: 1.5rem; height: 1.5rem; flex: none; }

/* Brand-sheet subhead: Montserrat semibold, all caps, wide tracking. */
.bpg-label {
	margin: 0 0 var(--wp--preset--spacing--20);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: var(--wp--custom--tracking);
	color: var(--wp--preset--color--slate);
}

.bpg-lead {
	font-size: var(--wp--preset--font-size--lead);
	color: var(--wp--preset--color--slate);
	max-width: 44rem;
}

.bpg-pending,
.bpg-empty {
	color: var(--wp--preset--color--slate);
	font-style: italic;
}

.bpg-section-title { margin-top: var(--wp--preset--spacing--60); }

.bpg-crumbs {
	margin: 0 0 var(--wp--preset--spacing--20);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: var(--wp--custom--tracking);
	color: var(--wp--preset--color--slate);
}

.bpg-sources {
	margin-top: var(--wp--preset--spacing--40);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--slate);
}

/* Buttons from the brand sheet: caps, tracked, trailing arrow. Primary = blue, secondary = yellow
   (theme.json default), outline = white with a dark border. */
.bpg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	min-height: 3rem;
	padding: 0.8rem 1.25rem;
	border: 2px solid transparent;
	border-radius: var(--wp--custom--radius);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	line-height: 1.2;
}
.bpg-btn .bpg-icon { width: 1.1rem; height: 1.1rem; transition: transform 120ms ease; }
.bpg-btn:hover .bpg-icon { transform: translateX(3px); }
.bpg-btn--primary { background: var(--wp--preset--color--electric); color: var(--wp--preset--color--paper); }
.bpg-btn--primary:hover { background: var(--wp--preset--color--electric-deep); color: var(--wp--preset--color--paper); }
.bpg-btn--secondary { background: var(--wp--preset--color--volt); color: var(--wp--preset--color--ink); }
.bpg-btn--secondary:hover { background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); }
.bpg-btn--outline { background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); }
.bpg-btn--outline:hover { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--paper); }

@media (prefers-reduced-motion: reduce) {
	.bpg-btn .bpg-icon { transition: none; }
	.bpg-btn:hover .bpg-icon { transform: none; }
}

/* Label/value pairs used in headers and cards. */
.bpg-facts,
.bpg-headline {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	gap: var(--wp--preset--spacing--30);
	margin: var(--wp--preset--spacing--40) 0 0;
}
.bpg-facts dt,
.bpg-headline dt {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--wp--preset--color--slate);
}
.bpg-facts dd,
.bpg-headline dd { margin: 0; font-weight: 600; }
.bpg-headline dd { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: var(--wp--preset--font-size--heading-sm); }

/* Long-form pages (legal, How We Choose): breathing room between sections. */
.bpg-page .wp-block-post-content h2 { margin-top: var(--wp--preset--spacing--50); font-size: var(--wp--preset--font-size--heading-sm); }
