/* Redeclarable indirection for style.css's :focus-visible rule — a component overrides this locally for contrast against its own background (see blocks/nav/style.inline.css). */
:root {
	--focus-ring-color: var(--wp--preset--color--neutral-900);
}

/* Muted text placed directly on a section background; .tone-deep redeclares it. */
:root {
	--tone-text-muted: var(--wp--custom--text-muted);
}

/* transferring css variables to amrf-site-settings */
:root {
	--amrf-background-color: var(--wp--preset--color--neutral-100);
	--amrf-danger-color: var(--wp--preset--color--alert-500);
	--amrf-focus-ring-color: var(--wp--preset--color--primary-500);
	--amrf-primary-color: var(--wp--preset--color--primary-500);
	--amrf-secondary-color: var(--wp--preset--color--secondary-500);
	--amrf-text-color: var(--wp--preset--color--neutral-100);
	--amrf-theme-color: var(--wp--preset--color--primary-500);

	--amrf-button-background: var(--wp--preset--gradient--primary);
	--amrf-button-hover-background: var(--wp--preset--color--primary-500);
	--amrf-button-border-width: 0;
	--amrf-button-text: var(--wp--preset--color--neutral-100);
	--amrf-button-font-family: var(--wp--preset--font-family--lexend-variable);
	--amrf-button-font-weight: var(--wp--custom--font-weight-strong);
	--amrf-button-font-size: var(--wp--preset--font-size--button);
	--amrf-button-border-radius: var(--wp--custom--radius-sm);
	--amrf-button-padding: var(--wp--custom--button-padding-compact);
	--amrf-button-min-height: var(--wp--custom--tap-target-button);

	--amrf-card-background: var(--wp--custom--card-background);
	--amrf-card-text: var(--wp--preset--color--neutral-900);
	--amrf-card-border: var(--wp--custom--card-border);
	--amrf-card-border-radius: var(--wp--custom--radius-md);
	--amrf-card-box-shadow: var(--wp--preset--shadow--card);

	--amrf-form-primary: var(--wp--preset--color--secondary-500);
	--amrf-form-secondary: var(--wp--preset--color--neutral-900);

	--amrf-modal-background: var(--wp--preset--gradient--accent);
	--amrf-modal-padding: var(--wp--custom--contact-padding);

	--amrf-input-background: var(--wp--preset--color--neutral-100);
	--amrf-input-border-color: var(--wp--preset--color--neutral-100);
	--amrf-input-color: var(--wp--preset--color--neutral-900);
}

/* Print-only measures; theme.json has no print context. */
@media print {
	:root {
		--print-rule-color: var(--wp--preset--color--neutral-500);
		--print-rule: 0.75pt solid var(--print-rule-color);
		--print-section-block: 6mm;
		--print-box-padding: 3mm;
	}
}
