/* ==========================================================================
   90-qa-quality.css  (QA round 6 Nov 2026, tag qa-quality): cross-cutting accessibility fixes.
   Loaded last; only touches keyboard focus, file inputs and reduced motion. No change to the look for mouse users.
   ========================================================================== */

/* Visible keyboard focus everywhere (the old theme removes the outline in many places). Two-tone ring: readable on white, on the dark red hero and on the footer. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
	outline: 2px solid #fff !important;
	outline-offset: 0 !important;
	box-shadow: 0 0 0 4px #0b57d0 !important;
}
main[tabindex="-1"]:focus,
main[tabindex="-1"]:focus-visible {
	outline: 0 !important;
	box-shadow: none !important;
}

/* Elementor form upload fields (job application): Elementor's own form CSS sets the native file input text to #7a7a7a on the #ededed band (contrast 3.66:1; 4.5:1 needed). */
.elementor-form .elementor-field-type-upload input[type="file"],
.elementor-form input.elementor-upload-field,
.elementor-field-group input[type="file"] {
	color: #4a4a4a !important;
}
.elementor-form input[type="file"]::file-selector-button {
	color: #222;
}

/* Reduced motion: no animated transitions for visitors who ask for it (the carousel autoplay is paused in 90-qa-quality.js). */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
