/* ==========================================================================
   Home Full Bleed — ALWEHER CO. facelift homepage
   Loaded only on page-home-fullbleed.php (see functions.php).
   ========================================================================== */

:root {
	--hb-ink:        #17181a;
	--hb-ink-soft:    rgba(255, 255, 255, .58);
	--hb-cream:       #f6f3ee;
	--hb-stone:       #efece5;
	--hb-line:        rgba(255, 255, 255, .14);
	--hb-line-soft:   rgba(23, 24, 26, .1);
	--hb-accent:      #3e6c8e;
	--hb-text:        #232421;
	--hb-text-soft:   #5c5d58;
	--hb-sidebar-w:   260px;
	--hb-dots-w:      64px;
	--hb-font-head:   'Fraunces', Georgia, 'Times New Roman', serif;
	--hb-font-body:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.hb-fullbleed-page {
	margin: 0;
	background: var(--hb-cream);
	color: var(--hb-text);
	font-family: var(--hb-font-body);
	-webkit-font-smoothing: antialiased;
}

body.hb-fullbleed-page #hb-shell,
body.hb-fullbleed-page #hb-shell * {
	box-sizing: border-box;
}

#hb-shell {
	position: relative;
}

/* ---------------------------------------------------------------- Sidebar */

#hb-sidebar {
	position: fixed;
	top: 0;
	left: 0;
	width: var(--hb-sidebar-w);
	height: 100vh;
	background: var(--hb-ink);
	color: var(--hb-cream);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 40px 36px;
	z-index: 600;
	transition: transform .35s ease;
}

.hb-logo {
	display: inline-block;
}

.hb-logo img {
	max-width: 150px;
	height: auto;
	display: block;
	filter: brightness(0) invert(1);
	opacity: .92;
}

.hb-logo-text {
	font-family: var(--hb-font-head);
	font-size: 20px;
	letter-spacing: .04em;
}

#hb-nav .hb-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

#hb-nav .hb-menu li + li {
	margin-top: 26px;
}

#hb-nav .hb-menu a {
	color: var(--hb-ink-soft);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	position: relative;
	transition: color .2s ease;
}

#hb-nav .hb-menu a:hover,
#hb-nav .hb-menu li.current-menu-item > a {
	color: var(--hb-cream);
}

#hb-nav .hb-menu li.current-menu-item > a::before {
	content: '';
	position: absolute;
	left: -20px;
	top: 50%;
	width: 10px;
	height: 1px;
	background: var(--hb-accent);
}

.hb-sidebar-bottom {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.hb-phone {
	color: var(--hb-cream);
	text-decoration: none;
	font-size: 13px;
	letter-spacing: .04em;
	opacity: .85;
}

.hb-social {
	display: flex;
	gap: 14px;
}

.hb-social a {
	color: var(--hb-ink-soft);
	font-size: 14px;
	transition: color .2s ease;
}

.hb-social a:hover {
	color: var(--hb-accent);
}

/* ------------------------------------------------------------- Dot nav */

#hb-dots {
	position: fixed;
	top: 50%;
	right: 24px;
	transform: translateY(-50%);
	z-index: 600;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

#hb-dots a {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 1px solid rgba(35, 36, 33, .35);
	display: block;
	transition: all .2s ease;
}

#hb-dots a.is-active {
	background: var(--hb-accent);
	border-color: var(--hb-accent);
	transform: scale(1.3);
}

body.hb-fullbleed-page.hb-on-dark #hb-dots a {
	border-color: rgba(255, 255, 255, .5);
}

/* ------------------------------------------------------------ Main area */

#hb-main {
	margin-left: var(--hb-sidebar-w);
	padding-right: var(--hb-dots-w);
}

.hb-section {
	position: relative;
}

.hb-section-inner {
	max-width: 760px;
	margin: 0 auto;
	padding: 120px 48px;
}

.hb-kicker {
	font-family: var(--hb-font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--hb-accent);
	margin: 0 0 18px;
}

.hb-plain h2 {
	font-family: var(--hb-font-head);
	font-size: clamp(28px, 3.4vw, 42px);
	line-height: 1.2;
	margin: 0 0 24px;
	max-width: 14ch;
}

.hb-body-text {
	font-size: 17px;
	line-height: 1.75;
	color: var(--hb-text-soft);
	max-width: 62ch;
}

/* --------------------------------------------------------------- Hero */

.hb-hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
}

.hb-hero-media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.hb-hero-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		rgba(17, 18, 16, .82) 0%,
		rgba(17, 18, 16, .68) 30%,
		rgba(17, 18, 16, .38) 52%,
		rgba(17, 18, 16, 0) 66%
	);
}

.hb-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 68% 42%;
	display: block;
}

.hb-hero-copy {
	position: relative;
	z-index: 2;
	color: var(--hb-cream);
	padding: 0 48px;
	max-width: 620px;
}

.hb-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: rgba(246, 243, 238, .68);
	margin: 0 0 22px;
}

.hb-title {
	font-family: var(--hb-font-head);
	font-weight: 500;
	font-size: clamp(42px, 6.2vw, 88px);
	letter-spacing: .05em;
	line-height: 1.02;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.hb-title span {
	color: rgba(246, 243, 238, .55);
	font-weight: 300;
}

.hb-subtitle {
	font-size: 14px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: rgba(246, 243, 238, .78);
	margin: 0 0 28px;
}

.hb-lede {
	font-size: 16px;
	line-height: 1.8;
	color: rgba(246, 243, 238, .82);
	max-width: 46ch;
	margin: 0 0 36px;
}

.hb-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--hb-cream);
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	border-bottom: 1px solid rgba(246, 243, 238, .4);
	padding-bottom: 6px;
	transition: border-color .2s ease;
}

.hb-cta:hover {
	border-color: var(--hb-cream);
}

/* ------------------------------------------------------------ About grid */

.hb-about-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 44px;
	margin-top: 12px;
}

.hb-about-col h3 {
	font-family: var(--hb-font-head);
	font-size: 19px;
	margin: 0 0 14px;
}

.hb-about-col p {
	font-size: 15px;
	line-height: 1.75;
	color: var(--hb-text-soft);
	margin: 0;
}

/* ------------------------------------------------------------- Certs */

.hb-certs {
	background: var(--hb-stone);
}

.hb-certs-row {
	display: flex;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;
}

.hb-cert-badge {
	max-width: 160px;
	height: auto;
}

/* ------------------------------------------------------------ Contact */

.hb-contact-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 44px;
}

.hb-contact-grid h3 {
	font-family: var(--hb-font-head);
	font-size: 16px;
	margin: 0 0 12px;
}

.hb-contact-grid p {
	font-size: 15px;
	line-height: 1.7;
	color: var(--hb-text-soft);
	margin: 0 0 6px;
}

.hb-contact-grid a {
	color: var(--hb-text);
}

/* --------------------------------------------------------- Mobile toggle */

#hb-nav-toggle {
	display: none;
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 700;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: var(--hb-ink);
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	cursor: pointer;
}

#hb-nav-toggle span {
	width: 18px;
	height: 2px;
	background: var(--hb-cream);
	display: block;
}

#hb-scrim {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(17, 18, 16, .55);
	z-index: 550;
}

/* ------------------------------------------------------------ Responsive */

@media (max-width: 900px) {
	#hb-nav-toggle {
		display: flex;
	}

	#hb-sidebar {
		transform: translateX(-100%);
		width: 78vw;
		max-width: 320px;
	}

	body.hb-nav-open #hb-sidebar {
		transform: translateX(0);
	}

	body.hb-nav-open #hb-scrim {
		display: block;
	}

	#hb-dots {
		display: none;
	}

	#hb-main {
		margin-left: 0;
		padding-right: 0;
	}

	.hb-hero-img {
		object-position: 72% 50%;
	}

	.hb-hero-media::after {
		background: linear-gradient(
			180deg,
			rgba(17, 18, 16, .78) 0%,
			rgba(17, 18, 16, .55) 45%,
			rgba(17, 18, 16, .25) 75%
		);
	}

	.hb-section-inner {
		padding: 90px 28px;
	}

	.hb-about-grid,
	.hb-contact-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}
