/* ==========================================================================
   Site additions on top of the template CSS: accessibility helpers.
   Loaded after the template stylesheets on every page.
   ========================================================================== */

/* Skip link: off-screen until focused, then pinned top-left above the sticky header. */
.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 10000;
	padding: 12px 18px;
	background: #fff;
	color: #232323;
	font-weight: 700;
	text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Text for screen readers only (form labels where the design uses placeholders). */
.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* The template removes focus outlines (.btn:focus, inputs); restore a visible
   ring for keyboard users only. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
	/* Dark ring with a white halo stays visible on both light and dark sections. */
	outline: 3px solid #232323;
	outline-offset: 2px;
	box-shadow: 0 0 0 7px #fff;
}

#content:focus { outline: none; }

/* Inner-page titles are now <h1> (were <h2>); keep the template's look. */
#page-header h1 {
	position: relative;
	z-index: 3;
	margin-bottom: 0;
	color: #fff;
	font-weight: 700;
	font-size: 24px;
	line-height: 42px;
	letter-spacing: 5px;
}

/* Comfortable tap targets for form controls and buttons. */
input[type="submit"],
button,
.btn,
select,
input[type="text"],
input[type="email"],
input[type="tel"] {
	min-height: 44px;
}

/* Homepage headline subtitle: was an <h6> (skipped a heading level).
   Matches the template's .headline h6 look, darkened from #979797 to meet 4.5:1 contrast. */
.headline .headline-subtitle {
	margin-bottom: 0;
	color: #767676;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 12px;
	font-weight: 800;
	line-height: 22px;
	letter-spacing: 2px;
	text-transform: uppercase;
}
