/* =============================================================
   HSX ROOFING — MAIN STYLESHEET
   Mobile-first. Breakpoints: 640px (tablet), 1000px (desktop).
   ============================================================= */

:root {
	--hsx-navy:        #2A2D6F;
	--hsx-navy-deep:   #181B53;
	--hsx-navy-darker: #11143E;
	--hsx-gold:        #DBA52F;
	--hsx-gold-bright: #F5C766;
	--hsx-white:       #FFFFFF;
	--hsx-ink:         #22243E;
	--hsx-body-text:   #4B4D63;
	--hsx-bg-alt:      #F7F7FA;
	--hsx-border:      #E7E7ED;

	--hsx-font-display: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--hsx-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--hsx-max-width: 1180px;
	--hsx-radius: 6px;
	--hsx-radius-lg: 12px;

	--hsx-shadow-sm: 0 1px 3px rgba(17,20,62,0.08), 0 1px 2px rgba(17,20,62,0.05);
	--hsx-shadow-md: 0 8px 24px rgba(17,20,62,0.10), 0 2px 6px rgba(17,20,62,0.06);
	--hsx-shadow-lg: 0 20px 45px rgba(17,20,62,0.16);
	--hsx-ease: cubic-bezier(0.22, 1, 0.36, 1);

	--hsx-mobile-bar-h: 64px;

	/* Shared by .hsx-hero and .hsx-page-hero so every page's hero band is
	   exactly the same height regardless of how much text/actions it holds. */
	--hsx-hero-min-h: 420px;
	--hsx-hero-min-h-desktop: 565px;
}

/* ── Reset / base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--hsx-font-body);
	color: var(--hsx-body-text);
	background: var(--hsx-white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

@media (max-width: 999px) {
	body { padding-bottom: var(--hsx-mobile-bar-h); }
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
	font-family: var(--hsx-font-display);
	color: var(--hsx-navy);
	line-height: 1.15;
	margin: 0 0 0.5em;
}
p { margin: 0 0 1em; max-width: 62ch; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

:focus-visible {
	outline: 3px solid var(--hsx-gold);
	outline-offset: 2px;
}

.hsx-visually-hidden {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.hsx-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--hsx-navy);
	color: var(--hsx-white);
	padding: 12px 20px;
	z-index: 1000;
}
.hsx-skip-link:focus {
	left: 12px;
	top: 12px;
}

.hsx-section-heading {
	font-size: clamp(1.6rem, 4vw, 2.2rem);
	text-align: center;
	margin-bottom: 1em;
}

/* ── Buttons ──────────────────────────────────────────────── */
.hsx-btn {
	display: inline-block;
	padding: 15px 28px;
	border-radius: var(--hsx-radius);
	font-weight: 600;
	font-size: 0.95rem;
	text-align: center;
	border: 2px solid transparent;
	transition: transform 0.2s var(--hsx-ease), box-shadow 0.2s var(--hsx-ease), background 0.2s var(--hsx-ease);
}
.hsx-btn--gold {
	background: var(--hsx-gold);
	color: var(--hsx-navy-darker);
	box-shadow: 0 6px 16px rgba(219,165,47,0.32);
}
.hsx-btn--gold:hover { background: var(--hsx-gold-bright); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(219,165,47,0.4); }
.hsx-btn--gold:active { transform: translateY(0); }
.hsx-btn--outline {
	border-color: rgba(255,255,255,0.6);
	color: var(--hsx-white);
}
.hsx-btn--outline:hover { background: rgba(255,255,255,0.12); border-color: var(--hsx-white); transform: translateY(-2px); }
.hsx-btn--navy {
	background: var(--hsx-navy);
	color: var(--hsx-white);
	box-shadow: 0 6px 16px rgba(42,45,111,0.28);
}
.hsx-btn--navy:hover { background: var(--hsx-navy-deep); transform: translateY(-2px); }

/* ── Header ───────────────────────────────────────────────── */
.hsx-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--hsx-white);
	border-bottom: 1px solid var(--hsx-border);
	transition: box-shadow 0.25s ease;
}
.hsx-header.is-scrolled { box-shadow: var(--hsx-shadow-sm); }
.hsx-header__inner {
	max-width: var(--hsx-max-width);
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.hsx-header__logo-text {
	font-family: var(--hsx-font-display);
	font-weight: 800;
	letter-spacing: 0.03em;
	color: var(--hsx-navy);
	font-size: 1.15rem;
}
.hsx-header__logo img { max-height: 64px; width: auto; }

.hsx-nav-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(17,20,62,0.55);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
	z-index: 85;
}
.hsx-nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

.hsx-header__nav {
	position: fixed;
	inset: 0 0 0 28%;
	background: var(--hsx-navy-darker);
	padding: 90px 32px 32px;
	transform: translateX(100%);
	transition: transform 0.3s var(--hsx-ease);
	box-shadow: var(--hsx-shadow-lg);
	z-index: 90;
	overflow-y: auto;
}
.hsx-header__nav.is-open { transform: translateX(0); }
.hsx-nav-list li { border-bottom: 1px solid rgba(255,255,255,0.12); }
.hsx-nav-list a {
	display: block;
	padding: 16px 0;
	color: var(--hsx-white);
	font-weight: 600;
	font-size: 1.1rem;
}
.hsx-nav-list a:hover { color: var(--hsx-gold-bright); }

.hsx-header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
}
.hsx-header__phone {
	display: none;
	font-weight: 700;
	color: var(--hsx-navy);
	white-space: nowrap;
}
.hsx-header__cta { display: none; }

.hsx-header__toggle {
	background: none;
	border: none;
	width: 44px;
	height: 44px;
	padding: 12px 4px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	cursor: pointer;
	/* Must sit above the open drawer (z-index 90 inside the header's stacking context). */
	position: relative;
	z-index: 95;
}
.hsx-header__toggle-bar {
	display: block;
	height: 3px;
	border-radius: 2px;
	background: var(--hsx-navy);
	transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
.hsx-header__toggle[aria-expanded="true"] .hsx-header__toggle-bar { background: var(--hsx-white); }
.hsx-header__toggle[aria-expanded="true"] .hsx-header__toggle-bar:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}
.hsx-header__toggle[aria-expanded="true"] .hsx-header__toggle-bar:nth-child(2) { opacity: 0; }
.hsx-header__toggle[aria-expanded="true"] .hsx-header__toggle-bar:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 1000px) {
	/* Deliberate 3-column layout (logo | centered nav | actions) instead of
	   flex space-between, so the nav sits consistently centered regardless
	   of how wide the logo or the phone/button group happen to be. */
	.hsx-header__inner {
		display: grid;
		grid-template-columns: auto 1fr auto;
		align-items: center;
	}
	.hsx-header__nav {
		position: static;
		inset: auto;
		background: none;
		padding: 0;
		transform: none;
		transition: none;
		box-shadow: none;
		justify-self: center;
	}
	.hsx-nav-list { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 6px; column-gap: 30px; }
	.hsx-nav-list li { border-bottom: none; }
	.hsx-nav-list a {
		display: block;
		padding: 6px 2px;
		color: var(--hsx-navy);
		font-size: 0.95rem;
		font-weight: 600;
		border-bottom: 2px solid transparent;
		transition: color 0.2s ease, border-color 0.2s ease;
	}
	.hsx-nav-list a:hover { color: var(--hsx-gold); border-color: var(--hsx-gold); }
	.hsx-header__phone {
		display: block;
		padding-right: 18px;
		border-right: 1px solid var(--hsx-border);
	}
	.hsx-header__cta { display: inline-block; }
	.hsx-header__toggle { display: none; }
}

/* ── Sticky mobile call bar ───────────────────────────────── */
.hsx-mobile-bar {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 95;
	display: grid;
	grid-template-columns: 1fr 1fr;
	height: var(--hsx-mobile-bar-h);
	box-shadow: 0 -6px 20px rgba(17,20,62,0.16);
}
.hsx-mobile-bar a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 700;
	font-size: 0.95rem;
}
.hsx-mobile-bar__call { background: var(--hsx-navy); color: var(--hsx-white); }
.hsx-mobile-bar__quote { background: var(--hsx-gold); color: var(--hsx-navy-darker); }
.hsx-mobile-bar svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (min-width: 1000px) {
	.hsx-mobile-bar { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hsx-hero {
	position: relative;
	color: var(--hsx-white);
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: var(--hsx-hero-min-h);
}
.hsx-hero__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: right center;
	/* The crew in the photo are on the right side of the frame — anchor
	   there so a tall, narrow (mobile) crop doesn't cut them out.
	   background-image is set inline by template-parts/hero.php,
	   since .css files aren't parsed by PHP */
}
.hsx-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, var(--hsx-navy-darker) 15%, rgba(24,27,83,0.75) 60%, rgba(24,27,83,0.55) 100%);
}
.hsx-hero__inner {
	position: relative;
	width: 100%;
	max-width: var(--hsx-max-width);
	margin: 0 auto;
	padding: 48px 20px 40px;
}
.hsx-hero__kicker {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--hsx-gold-bright);
	margin-bottom: 0.75em;
}
.hsx-hero__title {
	color: var(--hsx-white);
	font-size: clamp(2rem, 6vw, 3.4rem);
	max-width: 16ch;
}
.hsx-hero__subtitle {
	color: rgba(255,255,255,0.85);
	max-width: 52ch;
	font-size: 1.05rem;
}
.hsx-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 28px 0;
}
.hsx-hero__services {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}
.hsx-hero__services li {
	border: 1px solid rgba(255,255,255,0.35);
	border-radius: 999px;
	padding: 6px 16px;
	font-size: 0.85rem;
	font-weight: 600;
}

@media (min-width: 1000px) {
	.hsx-hero { min-height: var(--hsx-hero-min-h-desktop); }
	.hsx-hero__inner { padding: 64px 40px 56px; }
}

/* ── Services ─────────────────────────────────────────────── */
.hsx-services__inner {
	max-width: var(--hsx-max-width);
	margin: 0 auto;
	padding: 44px 20px;
	display: grid;
	gap: 18px;
}
.hsx-services__card {
	background: var(--hsx-white);
	border: 1px solid var(--hsx-border);
	border-radius: var(--hsx-radius-lg);
	padding: 22px 20px;
	box-shadow: var(--hsx-shadow-sm);
	transition: transform 0.25s var(--hsx-ease), box-shadow 0.25s var(--hsx-ease);
}
.hsx-services__card:hover { transform: translateY(-4px); box-shadow: var(--hsx-shadow-md); }
.hsx-icon {
	color: var(--hsx-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	margin-bottom: 12px;
	border-radius: 10px;
	background: var(--hsx-bg-alt);
	padding: 8px;
}
.hsx-services__card h3 { font-size: 1.1rem; margin-bottom: 0.35em; }
.hsx-services__card p { margin-bottom: 0; font-size: 0.92rem; }

@media (min-width: 640px) {
	.hsx-services__inner { grid-template-columns: repeat(3, 1fr); }
}

/* ── Credentials ──────────────────────────────────────────── */
.hsx-creds {
	background: var(--hsx-white);
	padding: 48px 20px;
	border-top: 1px solid var(--hsx-border);
}
.hsx-creds__inner { max-width: var(--hsx-max-width); margin: 0 auto; }

.hsx-creds__eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-bottom: 14px;
}
.hsx-creds__eyebrow p {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--hsx-gold);
	text-transform: uppercase;
}
.hsx-creds__eyebrow-line { width: 40px; height: 1px; background: var(--hsx-gold); }

.hsx-creds__intro {
	text-align: center;
	max-width: 56ch;
	margin: 0 auto 32px;
}

.hsx-creds__stats {
	display: grid;
	gap: 18px;
	margin-bottom: 28px;
}
.hsx-creds__stat { text-align: center; }
.hsx-creds__stat-number {
	display: block;
	font-family: var(--hsx-font-display);
	font-weight: 800;
	font-size: clamp(2.2rem, 7vw, 3.4rem);
	color: var(--hsx-navy);
	line-height: 1;
}
.hsx-creds__stat-label {
	display: block;
	margin-top: 6px;
	font-size: 0.88rem;
	max-width: 30ch;
	margin-inline: auto;
}

.hsx-creds__platinum {
	background: linear-gradient(160deg, var(--hsx-navy-darker) 0%, var(--hsx-navy) 100%);
	color: var(--hsx-white);
	border-radius: var(--hsx-radius-lg);
	border-top: 4px solid var(--hsx-gold);
	padding: 26px 22px;
	text-align: center;
	margin-bottom: 28px;
	box-shadow: var(--hsx-shadow-md);
}
.hsx-creds__platinum-tag {
	display: inline-block;
	background: var(--hsx-gold);
	color: var(--hsx-navy-darker);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 10px;
}
.hsx-creds__platinum h3 { color: var(--hsx-white); font-size: 1.2rem; margin-bottom: 0.4em; }
.hsx-creds__platinum p { color: rgba(255,255,255,0.78); margin: 0 auto 10px; font-size: 0.92rem; }
.hsx-creds__platinum-stat { font-weight: 700; color: var(--hsx-gold-bright); }

.hsx-creds__badges {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
.hsx-creds__badge {
	text-align: center;
	background: var(--hsx-bg-alt);
	border-radius: var(--hsx-radius-lg);
	padding: 18px 12px;
}
/* 5 badges in a 2-column mobile grid leaves a lone item on the last row —
   span it full-width and cap it so it centers instead of sitting lopsided. */
.hsx-creds__badge:last-child {
	grid-column: 1 / -1;
	max-width: 200px;
	margin: 0 auto;
}
.hsx-creds__badge p { font-size: 0.82rem; font-weight: 600; color: var(--hsx-navy); margin: 0; }
.hsx-creds__badge .hsx-icon { background: var(--hsx-white); margin: 0 auto 10px; box-shadow: var(--hsx-shadow-sm); width: 40px; height: 40px; }

@media (min-width: 640px) {
	.hsx-creds__stats { grid-template-columns: 1fr 1fr; max-width: 640px; margin-inline: auto; margin-bottom: 32px; }
	.hsx-creds__badges { grid-template-columns: repeat(5, 1fr); gap: 14px; }
	.hsx-creds__badge:last-child { grid-column: auto; max-width: none; margin: 0; }
}

/* ── Testimonials ─────────────────────────────────────────── */
.hsx-testimonials {
	background: var(--hsx-bg-alt);
	padding: 64px 20px;
}
.hsx-testimonials__inner { max-width: var(--hsx-max-width); margin: 0 auto; }
.hsx-testimonials__grid {
	display: grid;
	gap: 24px;
}
.hsx-testimonial {
	background: var(--hsx-white);
	border-radius: var(--hsx-radius-lg);
	border-left: 4px solid var(--hsx-gold);
	padding: 28px 26px;
	margin: 0;
	box-shadow: var(--hsx-shadow-sm);
}
.hsx-testimonial__stars { color: var(--hsx-gold); letter-spacing: 2px; margin-bottom: 10px; font-size: 0.9rem; }
.hsx-testimonial p { font-style: italic; margin-bottom: 12px; }
.hsx-testimonial cite { font-style: normal; font-weight: 700; color: var(--hsx-navy); font-size: 0.9rem; }

@media (min-width: 640px) {
	.hsx-testimonials__grid { grid-template-columns: 1fr 1fr; }
}

/* ── Contact / CTA ────────────────────────────────────────── */
.hsx-contact {
	background: var(--hsx-navy);
	color: var(--hsx-white);
}
.hsx-contact__inner {
	max-width: var(--hsx-max-width);
	margin: 0 auto;
	padding: 64px 20px;
	display: grid;
	gap: 40px;
}
.hsx-contact .hsx-section-heading { color: var(--hsx-white); text-align: left; }
.hsx-contact__intro p { color: rgba(255,255,255,0.82); }
.hsx-contact__intro a { color: var(--hsx-gold-bright); font-weight: 600; }
.hsx-contact__details { margin-top: 18px; }
.hsx-contact__details li { margin-bottom: 8px; font-size: 0.95rem; }

.hsx-form { display: grid; gap: 12px; }
.hsx-form label { font-size: 0.85rem; font-weight: 600; }
.hsx-form input,
.hsx-form textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: var(--hsx-radius);
	border: 1px solid rgba(255,255,255,0.25);
	background: rgba(255,255,255,0.08);
	color: var(--hsx-white);
	font-family: inherit;
	font-size: 0.95rem;
}
.hsx-form input::placeholder,
.hsx-form textarea::placeholder { color: rgba(255,255,255,0.5); }
.hsx-form button { justify-self: start; margin-top: 6px; }
.hsx-form__honeypot { position: absolute; left: -9999px; }

.hsx-form-notice {
	padding: 12px 16px;
	border-radius: var(--hsx-radius);
	font-size: 0.9rem;
	font-weight: 600;
}
.hsx-form-notice--success { background: rgba(219,165,47,0.18); color: var(--hsx-gold-bright); }
.hsx-form-notice--error { background: rgba(255,255,255,0.14); color: var(--hsx-white); }

.hsx-contact__map { line-height: 0; }
.hsx-contact__map iframe { width: 100%; height: 320px; border: 0; }

@media (min-width: 1000px) {
	.hsx-contact__inner { grid-template-columns: 1fr 1fr; }
}

/* ── Footer ───────────────────────────────────────────────── */
.hsx-footer { background: var(--hsx-navy-darker); color: rgba(255,255,255,0.75); }
.hsx-footer__inner {
	max-width: var(--hsx-max-width);
	margin: 0 auto;
	padding: 56px 20px 32px;
	display: grid;
	gap: 32px;
}
.hsx-footer__logo {
	font-family: var(--hsx-font-display);
	font-weight: 800;
	color: var(--hsx-white);
	font-size: 1.1rem;
	letter-spacing: 0.03em;
}
.hsx-footer__tagline { margin-top: 10px; }
.hsx-footer__social { display: flex; gap: 16px; margin-top: 14px; }
.hsx-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: -11px;
}
.hsx-footer__social svg { width: 22px; height: 22px; display: block; transition: transform 0.2s ease; }
.hsx-footer__social a:hover { color: var(--hsx-gold-bright); }
.hsx-footer__social a:hover svg { transform: translateY(-2px); }
.hsx-footer__heading { color: var(--hsx-white); font-size: 0.95rem; margin-bottom: 12px; }
.hsx-footer__list li { margin-bottom: 8px; font-size: 0.9rem; }
.hsx-footer__list a:hover { color: var(--hsx-gold-bright); }
.hsx-footer__bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	text-align: center;
	padding: 18px 20px;
	font-size: 0.8rem;
}

@media (min-width: 640px) {
	.hsx-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ── Generic page (fallback for non-Elementor pages) ─────────── */
.hsx-page-header {
	background: var(--hsx-navy);
	color: var(--hsx-white);
	padding: 48px 20px;
}
.hsx-page-header__inner { max-width: var(--hsx-max-width); margin: 0 auto; }
.hsx-page-header h1 { color: var(--hsx-white); margin: 0; }
.hsx-page-content { max-width: var(--hsx-max-width); margin: 0 auto; padding: 48px 20px; }

/* ── Inner-page hero (About / Roofing Systems / Portfolio / Contact) ── */
.hsx-page-hero {
	position: relative;
	color: var(--hsx-white);
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: var(--hsx-hero-min-h);
	padding: 48px 20px 40px;
}
.hsx-page-hero__media {
	position: absolute;
	inset: 0;
	background-color: var(--hsx-navy-darker);
	background-size: cover;
	background-position: center;
}
.hsx-page-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, var(--hsx-navy-darker) 15%, rgba(24,27,83,0.75) 60%, rgba(24,27,83,0.55) 100%);
}
.hsx-page-hero__inner { position: relative; width: 100%; max-width: var(--hsx-max-width); margin: 0 auto; }
.hsx-page-hero__kicker {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hsx-gold-bright);
	margin-bottom: 0.75em;
}
.hsx-page-hero h1 { color: var(--hsx-white); font-size: clamp(1.9rem, 5vw, 2.8rem); max-width: 20ch; }
.hsx-page-hero p { color: rgba(255,255,255,0.82); max-width: 58ch; font-size: 1.05rem; margin-bottom: 0; }

@media (min-width: 1000px) {
	.hsx-page-hero { min-height: var(--hsx-hero-min-h-desktop); padding: 64px 40px 56px; }
}

/* ── About: story ─────────────────────────────────────────── */
.hsx-story { padding: 64px 20px; }
.hsx-story__inner {
	max-width: var(--hsx-max-width);
	margin: 0 auto;
	display: grid;
	gap: 36px;
	align-items: center;
}
.hsx-story__media img { border-radius: var(--hsx-radius); width: 100%; height: auto; display: block; }
.hsx-story__content h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
.hsx-story__content .hsx-contact-line { font-weight: 600; color: var(--hsx-navy); margin-top: 1.5em; }
.hsx-story__content .hsx-contact-line a { text-decoration: underline; }

@media (min-width: 900px) {
	.hsx-story__inner { grid-template-columns: 1fr 1fr; }
}

/* ── Brand strip (manufacturer / supplier logos) ─────────────── */
.hsx-brand-strip {
	background: var(--hsx-bg-alt);
	padding: 48px 20px;
	border-top: 1px solid var(--hsx-border);
	border-bottom: 1px solid var(--hsx-border);
}
.hsx-brand-strip__inner { max-width: var(--hsx-max-width); margin: 0 auto; text-align: center; }
.hsx-brand-strip__label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hsx-navy);
	margin-bottom: 28px;
}
.hsx-brand-strip__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 36px; }
.hsx-brand-strip__row img {
	max-height: 42px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.65;
	transition: filter 0.2s ease, opacity 0.2s ease;
}
.hsx-brand-strip__row img:hover { filter: grayscale(0); opacity: 1; }

/* ── Roofing systems ──────────────────────────────────────── */
.hsx-systems { padding: 24px 20px 64px; }
.hsx-systems__inner { max-width: var(--hsx-max-width); margin: 0 auto; display: grid; gap: 56px; }
.hsx-system { display: grid; gap: 28px; align-items: center; }
.hsx-system__media img { border-radius: var(--hsx-radius); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hsx-system__content h2 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); }
.hsx-system__content ul { margin-top: 1em; display: grid; gap: 10px; max-width: 60ch; }
.hsx-system__content li { padding-left: 1.4em; position: relative; }
.hsx-system__content li::before {
	content: '';
	position: absolute;
	left: 0; top: 0.55em;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--hsx-gold);
}

@media (min-width: 900px) {
	.hsx-system { grid-template-columns: 1fr 1fr; }
	.hsx-system--reverse .hsx-system__media { order: 2; }
}

/* ── Recent work strip (Home / Roofing Systems) ──────────────── */
.hsx-recent-work { padding: 48px 20px; background: var(--hsx-bg-alt); }
.hsx-recent-work__inner { max-width: var(--hsx-max-width); margin: 0 auto; }
.hsx-recent-work__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
}
.hsx-recent-work__head .hsx-section-heading { text-align: left; }
.hsx-recent-work__link { font-weight: 700; color: var(--hsx-navy); white-space: nowrap; }
.hsx-recent-work__link:hover { color: var(--hsx-gold); }

/* ── Portfolio gallery ────────────────────────────────────── */
.hsx-gallery { padding: 40px 20px 64px; }
.hsx-gallery__inner { max-width: var(--hsx-max-width); margin: 0 auto; }
.hsx-gallery__group { margin-bottom: 48px; }
.hsx-gallery__group:last-child { margin-bottom: 0; }
.hsx-gallery__group-title {
	font-size: 1.2rem;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--hsx-border);
}
.hsx-gallery__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 8px;
}
.hsx-gallery__item {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 6px;
	overflow: hidden;
	background: var(--hsx-bg-alt);
	cursor: pointer;
	box-shadow: var(--hsx-shadow-sm);
}
.hsx-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s var(--hsx-ease); }
.hsx-gallery__item:hover img { transform: scale(1.08); }

.hsx-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(17,20,62,0.92);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 40px 16px;
	z-index: 1000;
}
.hsx-lightbox.is-open { display: flex; }
.hsx-lightbox__img { max-width: 100%; max-height: 88vh; border-radius: 4px; }
.hsx-lightbox__close,
.hsx-lightbox__prev,
.hsx-lightbox__next {
	position: fixed;
	background: rgba(255,255,255,0.14);
	color: var(--hsx-white);
	border: none;
	width: 44px; height: 44px;
	border-radius: 50%;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.hsx-lightbox__close:hover,
.hsx-lightbox__prev:hover,
.hsx-lightbox__next:hover { background: rgba(255,255,255,0.26); }
.hsx-lightbox__close { top: 20px; right: 20px; }
.hsx-lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.hsx-lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

@media (min-width: 640px) {
	.hsx-lightbox__prev { left: 24px; }
	.hsx-lightbox__next { right: 24px; }
}
