/*
 * Kit shell: the only stylesheet the kit chrome (inc/sst-kit-chrome.php) needs for its
 * header, skip link, mobile menu toggle and footer. Copied out of brand-preview/assets/preview.css
 * so that pages going through header.php/footer.php no longer load the whole homepage
 * stylesheet, whose generic selectors (.hero, .button, .company, ...) collided with other
 * templates (the WooCommerce product page, 2026-10-10). Tokens come from kit.css; no hex here
 * (tests/test_kit_shell_css.py). Static kit pages still load preview.css themselves.
 *
 * Unstyled hook classes the markup also carries: .skip-lazy (lazy-loader opt-out), .provider-number.
 */

/* Base: reset, page, links, buttons, headings (every kit heading is Bebas, F-05). */
* {
	box-sizing:border-box;
}
html {
	scroll-behavior:smooth;
	scroll-padding-top:100px;
}
body {
	margin:0;
	background:var(--paper);
	color:var(--ink);
	font:16px/1.6 var(--body);
}
button,a,summary {
	-webkit-tap-highlight-color:transparent;
}
button,input {
	font:inherit;
}
button,a {
	touch-action:manipulation;
}
button {
	cursor:pointer;
}
a {
	color:inherit;
	text-underline-offset:5px;
}
button:focus-visible,a:focus-visible,summary:focus-visible {
	outline:3px solid var(--paper);
	outline-offset:0;
	box-shadow:0 0 0 6px var(--black);
}
h1,h2,h3,p {
	margin-top:0;
}
h1,h2,h3 {
	text-wrap:balance;
}
h1,h2,h3 {
	color:var(--black);
	font-family:var(--display);
	font-weight:400;
	text-transform:uppercase;
	letter-spacing:.01em;
	line-height:.95;
}
h1 {
	font-size:clamp(52px,6vw,96px);
	margin-bottom:28px;
	max-width:780px;
}
h2 {
	font-size:clamp(36px,3.6vw,56px);
	margin-bottom:20px;
}
h3 {
	font-size:30px;
}
p {
	max-width:68ch;
}

/* Skip link, header, mobile menu */
.skip {
	position:fixed;
	top:-100px;
	background:var(--yellow);
	padding:15px;
	z-index:99;
}
.skip:focus {
	top:0;
}
.header {
	background:var(--black);
	color:var(--paper);
	display:flex;
	justify-content:space-between;
	align-items:center;
	gap:28px;
	padding:27px max(24px,calc((100vw - 1280px)/2));
	position:relative;
	z-index:10;
}
.logo {
	display:flex;
	align-items:center;
	flex-shrink:0;
	text-decoration:none;
}
.logo img {
	display:block;
	height:auto;
	width:270px;
}
.header nav {
	display:flex;
	align-items:center;
	gap:25px;
	font-size:14px;
	font-weight:700;
}
.header nav>a {
	color:var(--paper);
	font-family:var(--body);
	text-decoration:none;
}
.header nav>a:hover {
	text-decoration:underline;
}
.header button {
	background:none;
	border:0;
	color:var(--paper);
	padding:0;
}
.header .account {
	border-left:1px solid var(--gray-66);
	padding-left:24px;
	color:var(--yellow);
}
#language {
	text-decoration:underline;
	text-underline-offset:5px;
}
#menu-toggle {
	display:none;
}
footer {
	background:var(--black);
	color:var(--paper);
	padding:55px max(24px,calc((100vw - 1232px)/2));
}
footer img {
	height:auto;
	max-width:100%;
}
footer p {
	font-size:14px;
	margin-top:20px;
	color:var(--rule);
}
footer>div {
	display:flex;
	gap:24px;
	flex-wrap:wrap;
	font-size:13px;
	margin:25px 0;
}
.credentials {
	display:flex;
	gap:40px;
	flex-wrap:wrap;
	align-items:center;
	margin:28px 0;
}
.credentials figure {
	display:flex;
	align-items:center;
	gap:14px;
	margin:0;
	font-size:13px;
	color:var(--rule);
	max-width:360px;
}
.credentials img {
	background:var(--paper);
	padding:6px;
}
.credentials .provider {
	margin:0;
	font-size:13px;
}
footer address a {
	display:inline-flex;
	align-items:center;
	min-height:44px;
}
footer small {
	font-size:12px;
	color:var(--gray-a6);
}
.osha-provider {
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:12px 20px;
	margin:18px 0 0;
}
.osha-provider img {
	display:block;
	width:261px;
	max-width:100%;
	height:auto;
	background:var(--paper);
}
.osha-provider p, .osha-provider figcaption {
	margin:0;
	flex:1 1 240px;
	font-size:14px;
	font-weight:400;
	line-height:1.45;
}
.logo img {
	aspect-ratio:858/72;
}

/* Media queries, in source order */
@media (max-width:1100px) {
	.header nav {
		gap:16px;
	}
	.logo img {
		width:215px;
	}
	.header {
		gap:20px;
	}
	.header .account {
		padding-left:16px;
	}
}
@media (max-width:850px) {
	.header {
		padding:22px 24px;
		flex-wrap:wrap;
	}
	.header #menu-toggle {
		display:block;
		border:1px solid var(--gray-88);
		padding:8px 13px;
	}
	.header nav {
		display:none;
		width:100%;
		align-items:stretch;
		flex-direction:column;
		gap:0;
		padding-top:10px;
	}
	.header nav.open {
		display:flex;
	}
	.header nav>a {
		padding:13px 0;
		text-align:left;
	}
	.header .account {
		border:0;
		padding:13px 0;
	}
}
@media (max-width:600px) {
	.header {
		padding:20px;
	}
	.logo img {
		width:190px;
	}
	footer {
		padding:40px 22px;
	}
}
@media (prefers-reduced-motion:reduce) {
	html {
		scroll-behavior:auto;
	}
}
