/* =========================================================================
   Boorer Lock & Safe — tokens, fonts, chrome, mega menu, off-canvas nav.

   DARK BY DEFAULT. The logo is white-and-orange on charcoal, so the brand was
   always a dark one — a white site fought it. The greys are a deliberate
   ladder rather than one flat black: bands alternate between `paper` and
   `shell`, and the heaviest moments (footer, closing CTA, emergency bar) drop
   to `deep`. Light is now an accent, used only where a white plate is genuinely
   required — the two qualification badge artworks, which are black and red on
   white and would vanish otherwise.

   Two hard constraints from the brief: NO lime green anywhere, and NO
   photographic background image. Dark sections are flat colour.

   Everything is prefixed `bl-` so nothing collides with app.css's utility
   names (.eyebrow, .lede, .section-title) — platform rule 17. The required
   html:root token-override block is at the BOTTOM of this file.

   Zero JS: the mobile panel is a checkbox + sibling selector, the mega menu
   opens on hover/focus. Nothing here needs a script.
   ========================================================================= */

/* ── Self-hosted fonts. Chakra Petch for display — the closest self-hostable
      match to the squared, monoline lettering of the logo's "LOCK & SAFE CO."
      sub-lockup. Inter for body. No fonts.googleapis.com request, so no extra
      DNS+TLS on the critical path and no visitor IPs handed to Google.
      Regenerate with scripts/fetch-fonts.mjs. ───────────────────────────── */
@font-face {
	font-family: 'Chakra Petch';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('/fonts/chakra-petch-500-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Chakra Petch';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('/fonts/chakra-petch-600-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Chakra Petch';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('/fonts/chakra-petch-700-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/fonts/inter-400-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('/fonts/inter-500-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('/fonts/inter-600-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens ───────────────────────────────────────────────────────────────
   NOTE the naming: `--bl-ink` is the TEXT colour and `--bl-paper` the base
   SURFACE. That is what makes the whole site flip on two values.
   ───────────────────────────────────────────────────────────────────────── */
:root {
	--bl-accent: #f1592f; /* sampled from the logo's key */
	--bl-accent-dark: #d2461f;
	--bl-accent-soft: rgba(241, 89, 47, 0.12);

	--bl-deep: #131316; /* heaviest bands: footer, closing CTA, emergency bar */
	--bl-charcoal: #202024; /* hero, page heads, request band, drawer, mega */
	--bl-paper: #1a1a1d; /* base surface */
	--bl-shell: #26262b; /* the alternating band, and raised cards */
	--bl-raised: #2e2e34; /* inputs and chips — a step above their surface */
	--bl-steel: #3e3e40; /* the logo's own field colour */

	--bl-ink: #efedeb; /* body text */
	--bl-muted: rgba(255, 255, 255, 0.62);
	--bl-faint: rgba(255, 255, 255, 0.42);
	--bl-line: rgba(255, 255, 255, 0.13);
	--bl-light: #ffffff; /* white plates only (badge artwork) */

	--bl-display: 'Chakra Petch', ui-sans-serif, system-ui, sans-serif;
	--bl-body: 'Inter', ui-sans-serif, system-ui, sans-serif;

	--bl-wrap: 1180px;
	--bl-radius: 6px;
	--bl-hdr-h: 76px;
}

/* ── Base ─────────────────────────────────────────────────────────────── */
html {
	background: var(--bl-paper);
}
body {
	margin: 0;
	background: var(--bl-paper);
	color: var(--bl-ink);
	font-family: var(--bl-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
a {
	color: inherit;
}
/* HEADINGS ARE ALWAYS CAPITALS. The logo's sub-lockup — "LOCK & SAFE CO." set in a
   squared, monoline, widely-tracked face — is the strongest typographic idea the
   business already owns, so the headings borrow it rather than inventing a voice.
   Chakra Petch is the closest self-hostable match to that lettering.

   `text-transform` rather than typing the copy in caps: the underlying text stays
   sentence case, so screen readers don't spell words out letter by letter and the
   copy is still editable as normal prose in the Studio. */
h1,
h2,
h3,
h4 {
	font-family: var(--bl-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.14;
	margin: 0;
	color: var(--bl-ink);
}
.bl-wrap {
	max-width: var(--bl-wrap);
	margin: 0 auto;
	padding: 0 20px;
}
.skip-link {
	position: absolute;
	left: -9999px;
}
.skip-link:focus {
	left: 12px;
	top: 12px;
	z-index: 100;
	background: var(--bl-accent);
	color: #fff;
	padding: 10px 16px;
	border-radius: var(--bl-radius);
}
:focus-visible {
	outline: 3px solid var(--bl-accent);
	outline-offset: 2px;
}
::selection {
	background: var(--bl-accent);
	color: #fff;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.bl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--bl-display);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	padding: 13px 22px;
	border-radius: var(--bl-radius);
	text-decoration: none;
	border: 2px solid transparent;
	transition:
		background-color 0.15s ease,
		border-color 0.15s ease,
		color 0.15s ease;
}
.bl-btn-primary {
	background: var(--bl-accent);
	color: #fff;
}
.bl-btn-primary:hover {
	background: var(--bl-accent-dark);
}
.bl-btn-ghost {
	border-color: var(--bl-line);
	color: var(--bl-ink);
}
.bl-btn-ghost:hover {
	border-color: var(--bl-ink);
	background: rgba(255, 255, 255, 0.06);
}
.bl-btn-lg {
	padding: 16px 28px;
	font-size: 1.05rem;
}

/* ── Emergency band ───────────────────────────────────────────────────── */
.bl-urgent {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	background: var(--bl-deep);
	color: #fff;
	font-size: 0.86rem;
	padding: 9px 16px;
	text-align: center;
}
.bl-urgent-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bl-accent);
	flex: none;
}
.bl-urgent-text {
	color: var(--bl-muted);
	letter-spacing: 0.02em;
}
.bl-urgent-tel {
	font-family: var(--bl-display);
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	border-bottom: 2px solid var(--bl-accent);
	padding-bottom: 1px;
}
.bl-urgent-tel:hover {
	color: var(--bl-accent);
}

/* ── Header ───────────────────────────────────────────────────────────── */
.bl-hdr {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--bl-charcoal);
	border-bottom: 1px solid var(--bl-line);
}
.bl-hdr-inner {
	max-width: var(--bl-wrap);
	margin: 0 auto;
	padding: 0 20px;
	height: var(--bl-hdr-h);
	display: flex;
	align-items: center;
	gap: 20px;
}
.bl-brand {
	flex: none;
	display: block;
	line-height: 0;
}
/* Height-constrained, not width-constrained — the logo is a wide lockup and
   sizing it by width overflowed the header bar. */
.bl-brand img {
	height: 46px;
	width: auto;
}
.bl-nav {
	display: none;
	align-items: center;
	gap: 2px;
	margin-left: auto;
}
.bl-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--bl-display);
	font-weight: 500;
	font-size: 0.94rem;
	text-decoration: none;
	color: var(--bl-ink);
	padding: 10px 13px;
	border-radius: var(--bl-radius);
	white-space: nowrap;
	transition:
		color 0.14s ease,
		background-color 0.14s ease;
}
.bl-nav-link:hover,
.bl-nav-link.is-active {
	color: var(--bl-accent);
	background: rgba(255, 255, 255, 0.06);
}
.bl-chev {
	width: 11px;
	height: 7px;
	transition: transform 0.16s ease;
}
.bl-hdr-right {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}
.bl-nav ~ .bl-hdr-right {
	margin-left: 0;
}
.bl-hdr-tel {
	display: none;
	align-items: center;
	gap: 7px;
	font-family: var(--bl-display);
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	color: var(--bl-ink);
	white-space: nowrap;
}
.bl-hdr-tel:hover {
	color: var(--bl-accent);
}
.bl-ic {
	width: 17px;
	height: 17px;
	flex: none;
	color: var(--bl-accent);
}
.bl-hdr-cta {
	display: none;
}

/* ── Mega menu ────────────────────────────────────────────────────────────
   Full-bleed panel under the header, opened on hover/focus-within — no JS.
   Each row carries the real job photograph for that service, so the menu
   doubles as a look at the work.
   ───────────────────────────────────────────────────────────────────────── */
.bl-nav-drop {
	position: static; /* so the panel can span the full header width */
}
.bl-drop-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--bl-charcoal);
	border-top: 2px solid var(--bl-accent);
	border-bottom: 1px solid var(--bl-line);
	box-shadow: 0 26px 50px rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition:
		opacity 0.16s ease,
		transform 0.16s ease,
		visibility 0.16s;
}
.bl-nav-drop:hover .bl-drop-panel,
.bl-nav-drop:focus-within .bl-drop-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.bl-nav-drop:hover .bl-chev,
.bl-nav-drop:focus-within .bl-chev {
	transform: rotate(180deg);
}
.bl-drop-inner {
	max-width: var(--bl-wrap);
	margin: 0 auto;
	padding: 26px 20px 28px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) 250px;
	gap: 26px;
}
.bl-drop-title {
	font-family: var(--bl-display);
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	color: var(--bl-accent);
	margin: 0 0 12px;
	padding-bottom: 9px;
	border-bottom: 1px solid var(--bl-line);
}
.bl-drop-item {
	display: grid;
	grid-template-columns: 46px 1fr;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	padding: 8px;
	margin: 0 -8px 2px;
	border-radius: var(--bl-radius);
	transition: background-color 0.13s ease;
}
.bl-drop-item:hover {
	background: rgba(255, 255, 255, 0.07);
}
.bl-drop-thumb {
	width: 46px;
	height: 46px;
	object-fit: cover;
	border-radius: 4px;
	background: var(--bl-shell);
	flex: none;
}
.bl-drop-label {
	display: block;
	font-family: var(--bl-display);
	font-weight: 500;
	font-size: 0.92rem;
	line-height: 1.25;
	color: var(--bl-ink);
}
.bl-drop-item:hover .bl-drop-label {
	color: var(--bl-accent);
}
.bl-drop-short {
	display: block;
	font-size: 0.77rem;
	color: var(--bl-faint);
	line-height: 1.35;
	margin-top: 1px;
}
/* The promo column — the 24 hour number, because the menu is exactly where
   somebody hunting for "who do I call" ends up. */
.bl-drop-promo {
	background: var(--bl-deep);
	border-radius: var(--bl-radius);
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.bl-drop-promo-k {
	font-family: var(--bl-display);
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	color: var(--bl-accent);
	margin: 0 0 6px;
}
.bl-drop-promo-h {
	font-size: 1.12rem;
	margin: 0 0 6px;
}
.bl-drop-promo-p {
	margin: 0 0 16px;
	font-size: 0.83rem;
	color: var(--bl-muted);
	line-height: 1.5;
}
.bl-drop-promo-tel {
	display: block;
	font-family: var(--bl-display);
	font-weight: 700;
	font-size: 1.3rem;
	color: #fff;
	text-decoration: none;
}
.bl-drop-promo-tel:hover {
	color: var(--bl-accent);
}

/* Burger */
.bl-burger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0 9px;
	cursor: pointer;
	border: 1px solid var(--bl-line);
	border-radius: var(--bl-radius);
}
.bl-burger span {
	display: block;
	height: 2px;
	background: var(--bl-ink);
	border-radius: 2px;
}

/* ── FULL-PAGE off-canvas mobile navigation ───────────────────────────────
   Platform default (2026-08-06): a full-page panel that slides in, scrolls,
   and carries NO background image — flat charcoal only. Checkbox-driven so
   public pages stay at zero JS. ──────────────────────────────────────────── */
.bl-drawer {
	position: fixed;
	inset: 0;
	z-index: 60;
	background: var(--bl-charcoal);
	color: #fff;
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	visibility: hidden;
	transition:
		transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
		visibility 0.32s;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}
#navToggle:checked ~ .bl-drawer {
	transform: translateX(0);
	visibility: visible;
}
/* Lock the page behind the panel without JS. */
#navToggle:checked ~ main,
#navToggle:checked ~ .bl-ft {
	display: none;
}
.bl-drawer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 20px;
	border-bottom: 1px solid var(--bl-line);
	position: sticky;
	top: 0;
	background: var(--bl-charcoal);
	z-index: 1;
}
.bl-drawer-logo {
	height: 40px;
	width: auto;
}
.bl-drawer-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	cursor: pointer;
	color: #fff;
	border: 1px solid var(--bl-line);
	border-radius: var(--bl-radius);
	flex: none;
}
.bl-drawer-close svg {
	width: 22px;
	height: 22px;
}
.bl-drawer-body {
	padding: 20px 20px 40px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.bl-drawer-cta {
	display: block;
	background: var(--bl-accent);
	color: #fff;
	text-decoration: none;
	border-radius: var(--bl-radius);
	padding: 15px 18px;
}
.bl-drawer-cta-k {
	display: block;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	opacity: 0.92;
}
.bl-drawer-cta-v {
	display: block;
	font-family: var(--bl-display);
	font-weight: 700;
	font-size: 1.5rem;
	margin-top: 2px;
}
.bl-drawer-nav {
	display: flex;
	flex-direction: column;
}
.bl-drawer-group {
	font-family: var(--bl-display);
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	color: var(--bl-accent);
	margin: 18px 0 4px;
}
.bl-drawer-group:first-child {
	margin-top: 0;
}
.bl-drawer-link {
	display: flex;
	align-items: center;
	gap: 13px;
	text-decoration: none;
	color: #fff;
	padding: 11px 0;
	border-bottom: 1px solid var(--bl-line);
}
.bl-drawer-thumb {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 4px;
	background: var(--bl-shell);
	flex: none;
}
.bl-drawer-link-label {
	display: block;
	font-family: var(--bl-display);
	font-weight: 500;
	font-size: 1.08rem;
	line-height: 1.25;
}
.bl-drawer-link-short {
	display: block;
	font-size: 0.8rem;
	color: var(--bl-faint);
	margin-top: 1px;
}
.bl-drawer-request {
	width: 100%;
}

@media (prefers-reduced-motion: reduce) {
	.bl-drawer,
	.bl-drop-panel {
		transition: none;
	}
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.bl-ft {
	background: var(--bl-deep);
	color: var(--bl-muted);
	font-size: 0.92rem;
}
.bl-ft-main {
	max-width: var(--bl-wrap);
	margin: 0 auto;
	padding: 52px 20px 36px;
	display: grid;
	gap: 34px;
}
.bl-ft-logo {
	height: 58px;
	width: auto;
	margin-bottom: 14px;
}
.bl-ft-tagline {
	margin: 0;
	max-width: 34ch;
	line-height: 1.6;
}
.bl-ft-socials {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}
.bl-ft-socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--bl-line);
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.8);
}
.bl-ft-socials a:hover {
	border-color: var(--bl-accent);
	color: var(--bl-accent);
}
.bl-ft-socials svg {
	width: 18px;
	height: 18px;
}
.bl-ft-h {
	font-family: var(--bl-display);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	color: #fff;
	margin: 0 0 12px;
}
.bl-ft-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.bl-ft-col a {
	text-decoration: none;
}
.bl-ft-col a:hover {
	color: var(--bl-accent);
}
.bl-ft-addr {
	font-style: normal;
	line-height: 1.6;
	margin: 0 0 14px;
	color: #fff;
}
.bl-ft-line {
	margin: 0 0 7px;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.bl-ft-k {
	color: var(--bl-faint);
	min-width: 72px;
}
.bl-ft-line a {
	text-decoration: none;
	color: #fff;
}
.bl-ft-line a:hover {
	color: var(--bl-accent);
}
.bl-ft-directions {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	color: var(--bl-accent);
	text-decoration: none;
	font-weight: 600;
}
.bl-ft-directions svg {
	width: 18px;
	height: 18px;
}
.bl-ft-bottom {
	max-width: var(--bl-wrap);
	margin: 0 auto;
	padding: 18px 20px 26px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
	font-size: 0.82rem;
	color: var(--bl-faint);
}
.bl-ft-legal {
	display: flex;
	gap: 16px;
}
.bl-ft-legal a {
	text-decoration: none;
}
.bl-ft-legal a:hover {
	color: var(--bl-accent);
}
.bl-ft-credit {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-left: auto;
	text-decoration: none;
	color: var(--bl-muted);
}
.bl-ft-credit:hover {
	color: #fff;
}
.bl-ft-credit b {
	font-weight: 700;
}
.bl-ft-credit-ic {
	width: 13px;
	height: 15px;
}

/* ── Breakpoints ──────────────────────────────────────────────────────── */
@media (min-width: 720px) {
	.bl-hdr-tel {
		display: inline-flex;
	}
	.bl-ft-main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 1040px) {
	.bl-nav {
		display: flex;
	}
	.bl-burger {
		display: none;
	}
	.bl-hdr-cta {
		display: inline-flex;
	}
	.bl-ft-main {
		grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	}
	/* Above the mobile breakpoint the panel must never be reachable, even if the
	   checkbox ends up checked (a browser restoring form state on back). */
	.bl-drawer,
	#navToggle:checked ~ .bl-drawer {
		display: none;
	}
	#navToggle:checked ~ main,
	#navToggle:checked ~ .bl-ft {
		display: revert;
	}
}
@media (max-width: 1039px) {
	/* No mega menu below the desktop breakpoint — that content is the drawer. */
	.bl-drop-panel {
		display: none;
	}
}

/* =========================================================================
   REQUIRED (platform rule 17): html:root token overrides.
   app.css sets --color-accent/-ink/-paper at :root. `html:root` beats a bare
   `:root` on specificity regardless of load order, so any shared component
   rendered inside this tenant picks up Boorer's dark brand rather than the
   template's light one.
   ========================================================================= */
html:root {
	--color-accent: #f1592f;
	--color-ink: #efedeb;
	--color-paper: #1a1a1d;
	--font-display: 'Chakra Petch', ui-sans-serif, system-ui, sans-serif;
	--font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;

	/* app.css paints <html> white, and a bare `html {}` here loses to it. Without this the
	   page flashes white on load and overscroll shows a white band above the header —
	   which on a dark site is the first thing you notice. `color-scheme: dark` additionally
	   hands scrollbars and any native control the dark palette. */
	background-color: #1a1a1d;
	color-scheme: dark;
}
