/* ==========================================================================
   PMP Group theme
   Palette: navy base, steel greys, one accent per business.
   Type: Archivo (variable width). Wide cuts for headings, normal for text.
   ========================================================================== */

:root {
	--navy: #0f1d2e;
	--navy-2: #182b42;
	--steel: #46566b;
	--steel-2: #6b7a8d;
	--line: #d5dbe2;
	--surface: #eef1f4;
	--paper: #ffffff;
	--ink: #0f1d2e;

	--solar: #e9a11b;
	--fabrication: #b8471a;
	--electrical: #1f7ac2;
	--cta: #e9a11b;
	--cta-hover: #f3b43a;
	--wa: #1b8f4c;

	--accent: var(--cta);

	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--wide: 118%;

	--wrap: 1240px;
	--gutter: clamp(1.25rem, 4vw, 2rem);
	--sec: clamp(4rem, 9vw, 7rem);
	--radius: 3px;
}

.div-solar { --accent: var(--solar); }
.div-fabrication { --accent: var(--fabrication); }
.div-electrical { --accent: var(--electrical); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
	font-stretch: var(--wide);
	font-weight: 750;
	line-height: 1.1;
	letter-spacing: -0.015em;
	margin: 0 0 0.6em;
	text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.icon { flex: none; }

:focus-visible { outline: 3px solid var(--electrical); outline-offset: 3px; }

.skip-link {
	position: absolute; left: 1rem; top: -100px; z-index: 1000;
	background: var(--paper); padding: .75rem 1rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 48px; padding: .7rem 1.35rem;
	font: 650 1rem/1.2 var(--font);
	text-decoration: none; cursor: pointer;
	border: 2px solid transparent; border-radius: var(--radius);
	transition: background-color .15s, border-color .15s, color .15s;
}
.btn--sm { min-height: 40px; padding: .45rem 1rem; font-size: .9375rem; }
.btn--lg { min-height: 54px; padding: .85rem 1.6rem; font-size: 1.0625rem; }
.btn--primary { background: var(--cta); color: var(--navy); }
.btn--primary:hover { background: var(--cta-hover); }
.btn--dark { background: var(--navy); color: var(--paper); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--paper); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: var(--paper); background: transparent; }
.btn--ghost-light:hover { border-color: var(--paper); background: rgba(255,255,255,.08); }
.btn--wa { background: var(--wa); color: var(--paper); }
.btn--wa:hover { background: #167a40; }

.textlink {
	font-weight: 650; text-decoration: none;
	border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.textlink:hover { color: var(--steel); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #c7d0db; font-size: .875rem; }
.topbar__in { display: flex; gap: 1.75rem; align-items: center; min-height: 38px; }
.topbar a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
.topbar a:hover { color: var(--paper); }
.topbar .icon { width: 16px; height: 16px; }
.topbar__careers { margin-left: auto; }

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.site-header__in { display: flex; align-items: center; gap: 2rem; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy); }
.brand__logo { max-height: 52px; width: auto; }
.brand__mark { display: inline-grid; grid-template-columns: repeat(3, 7px); gap: 3px; height: 30px; }
.brand__mark i { display: block; }
.brand__mark i:nth-child(1) { background: var(--fabrication); }
.brand__mark i:nth-child(2) { background: var(--solar); }
.brand__mark i:nth-child(3) { background: var(--electrical); }
.brand__name { font-size: 1.35rem; font-weight: 800; font-stretch: 125%; letter-spacing: -.02em; }
.brand--light { color: var(--paper); }

.primary-nav { display: flex; align-items: center; flex: 1; gap: 1.5rem; }
.primary-nav .menu { display: flex; gap: .25rem; list-style: none; margin: 0 auto; padding: 0; }
.primary-nav .menu > li { position: relative; display: flex; align-items: center; }
.primary-nav .menu > li > a {
	display: block; padding: .6rem .8rem;
	font-weight: 550; text-decoration: none; color: var(--navy);
}
.primary-nav .menu > li > a:hover,
.primary-nav .menu > li.current-menu-item > a { color: var(--steel); }
.primary-nav__actions { display: flex; gap: .6rem; }

.submenu-toggle {
	width: 28px; height: 28px; margin-left: -.35rem; padding: 0;
	background: none; border: 0; cursor: pointer; color: var(--navy);
}
.submenu-toggle::before {
	content: ""; display: block; width: 8px; height: 8px; margin: auto;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.mega {
	position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
	display: grid; grid-template-columns: repeat(3, 230px); gap: 2rem;
	padding: 1.75rem 2rem 2rem;
	background: var(--paper); border: 1px solid var(--line);
	box-shadow: 0 18px 40px rgba(15,29,46,.12);
	visibility: hidden; opacity: 0; transition: opacity .15s;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-mega.is-open .mega { visibility: visible; opacity: 1; }
.mega__col { border-top: 4px solid var(--c, var(--line)); padding-top: .9rem; }
.mega__col--solar { --c: var(--solar); }
.mega__col--fabrication { --c: var(--fabrication); }
.mega__col--electrical { --c: var(--electrical); }
.mega__head { display: block; font-weight: 750; font-stretch: var(--wide); text-decoration: none; margin-bottom: .6rem; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: .3rem 0; color: var(--steel); text-decoration: none; font-size: .9375rem; }
.mega li a:hover { color: var(--navy); }
.mega p { color: var(--steel); font-size: .9375rem; }

/* Mega menu from Appearance > Menus (item with the CSS class "menu-mega") */
.primary-nav .menu > li.menu-mega > .sub-menu {
	left: 50%; transform: translateX(-50%);
	display: grid; grid-template-columns: repeat(3, 230px); gap: 2rem;
	padding: 1.75rem 2rem 2rem;
}
.primary-nav .menu-mega > .sub-menu > li { border-top: 4px solid var(--c, var(--line)); padding-top: .9rem; }
.primary-nav .menu-mega > .sub-menu > li.mega-solar { --c: var(--solar); }
.primary-nav .menu-mega > .sub-menu > li.mega-fabrication { --c: var(--fabrication); }
.primary-nav .menu-mega > .sub-menu > li.mega-electrical { --c: var(--electrical); }
.primary-nav .menu-mega > .sub-menu > li > a { padding: 0 0 .5rem; font-weight: 750; font-stretch: var(--wide); }
.primary-nav .menu-mega .sub-menu .sub-menu {
	position: static; visibility: inherit; opacity: 1; transform: none;
	min-width: 0; padding: 0; border: 0; box-shadow: none; background: none;
}
.primary-nav .menu-mega .sub-menu .sub-menu a { padding: .3rem 0; color: var(--steel); font-size: .9375rem; }
.primary-nav .menu-mega .sub-menu .sub-menu a:hover { color: var(--navy); }
.primary-nav .menu-item-has-children.is-open > .sub-menu { visibility: visible; opacity: 1; }

/* WordPress menus: standard dropdowns */
.primary-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 230px;
	list-style: none; margin: 0; padding: .6rem 0;
	background: var(--paper); border: 1px solid var(--line);
	box-shadow: 0 18px 40px rgba(15,29,46,.12);
	visibility: hidden; opacity: 0;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { visibility: visible; opacity: 1; }
.primary-nav .sub-menu a { display: block; padding: .45rem 1.1rem; text-decoration: none; }

.nav-toggle { display: none; }

/* ---------- Home hero ---------- */
.hero {
	position: relative;
	color: var(--paper);
	background-color: var(--navy);
	background-image:
		linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 64px 64px;
	padding: clamp(4rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
}
.hero--img {
	background-image:
		linear-gradient(100deg, rgba(15,29,46,.94) 0%, rgba(15,29,46,.82) 45%, rgba(15,29,46,.45) 100%),
		var(--hero-img);
	background-size: cover;
	background-position: center;
}
.hero__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }

.hero__title { margin: 0; font-size: clamp(3rem, 8.2vw, 6.4rem); line-height: .98; font-weight: 800; letter-spacing: -.03em; }
.hero__line {
	position: relative; display: flex; align-items: baseline; gap: 1rem;
	padding-left: .42em; text-decoration: none; color: inherit;
}
.hero__line::before {
	content: ""; position: absolute; left: 0; top: .14em; bottom: .1em;
	width: .16em; background: var(--c);
	transition: width .2s ease;
}
.hero__line:hover::before, .hero__line:focus-visible::before { width: .26em; }
.hero__line + .hero__line { margin-top: .08em; }
.hero__line--fabrication { --c: var(--fabrication); }
.hero__line--solar { --c: var(--solar); }
.hero__line--electrical { --c: var(--electrical); }
.hero__line small {
	font-size: clamp(.8rem, 1.1vw, .95rem); font-weight: 550; font-stretch: 100%;
	letter-spacing: 0; color: #aebacb; white-space: nowrap;
}

.hero__sub { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: #dbe2ea; max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0; }
.hero__trust { list-style: none; margin: 0; padding: 1.25rem 0 0; border-top: 1px solid rgba(255,255,255,.18); display: grid; gap: .45rem; color: #c7d0db; font-size: .9375rem; }
.hero__trust li { padding-left: 1.4rem; position: relative; }
.hero__trust li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7rem; height: .35rem; border-left: 2px solid var(--solar); border-bottom: 2px solid var(--solar); transform: rotate(-45deg); }

/* ---------- Business cards (home) ---------- */
.divs { background: var(--paper); padding-top: clamp(3rem, 6vw, 4.5rem); }
.divs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-top: 0; }
.divcard {
	display: flex; flex-direction: column; gap: .5rem;
	padding: 2rem 2rem 1.75rem; overflow: hidden;
	text-decoration: none; color: var(--ink);
	border-top: 6px solid var(--c);
	transition: background-color .15s;
}
.divcard + .divcard { border-left: 1px solid var(--line); }
.divcard:hover { background: var(--surface); }
.divcard--solar { --c: var(--solar); }
.divcard--fabrication { --c: var(--fabrication); }
.divcard--electrical { --c: var(--electrical); }
.divcard__kicker { font-size: .875rem; color: var(--steel-2); }
.divcard__title { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 .25rem; }
.divcard p { color: var(--steel); flex: 1; }
.divcard__go { font-weight: 650; margin-top: .75rem; }
.divcard__go::after { content: ""; display: inline-block; width: 1.4em; height: 2px; background: var(--c); vertical-align: middle; margin-left: .6rem; transition: width .2s; }
.divcard:hover .divcard__go::after { width: 2.2em; }

/* ---------- Sections ---------- */
.sec { padding: var(--sec) 0; }
.sec--tight { padding: calc(var(--sec) / 2) 0; }
.sec--alt { background: var(--surface); }
.sec--form { background: var(--navy); color: var(--paper); }
.sec__title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); max-width: 22ch; }
.sec__title--sm { font-size: 1.5rem; margin-top: 2.5rem; }
.sec__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 2rem; }
.sec__head .sec__title { margin: 0; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink); }
.narrow { max-width: 62ch; }
.note { font-size: .9375rem; color: var(--steel); margin-top: 1.5rem; max-width: 70ch; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split__text p { max-width: 60ch; color: var(--steel); }
.split__text .lead { color: var(--ink); }
.split__text .textlink { display: inline-block; margin-top: 1.25rem; }

/* Photo placeholder: drawing-style hatch */
.ph {
	aspect-ratio: 4 / 3; width: 100%;
	display: grid; place-items: center;
	background:
		repeating-linear-gradient(135deg, transparent 0 14px, rgba(15,29,46,.07) 14px 15px),
		var(--surface);
	border: 1px dashed #aab5c2;
	color: var(--steel); font-size: .875rem; text-align: center; padding: 1rem;
}
.sec--alt .ph { background-color: #e3e8ee; }

/* Illustrations */
.art { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface); }
.divcard__art { display: block; margin: -2rem -2rem 1.25rem; border-bottom: 1px solid var(--line); overflow: hidden; }
.divcard__art .art { transition: transform .35s ease; }
.divcard:hover .divcard__art .art { transform: scale(1.03); }
.cbox__dir { display: inline-block; margin-top: .6rem; font-size: .9375rem; }
.entry-lite p { color: var(--steel); max-width: 60ch; }
.entry-lite p:first-of-type { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery-grid__item { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; color: var(--paper); text-decoration: none; }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-grid__item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .8rem; background: linear-gradient(transparent, rgba(15,29,46,.85)); font-weight: 600; }
.gallery-grid__item:hover img { transform: scale(1.04); }
.entry--wide { max-width: none; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(3rem, 6vw, 4.5rem) 0 0; border-top: 2px solid var(--navy); }
.stats__item { padding: 1.25rem 1.25rem 0 0; display: flex; flex-direction: column-reverse; }
.stats__item + .stats__item { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.stats dt { color: var(--steel); font-size: .9375rem; }
.stats dd { margin: 0; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; font-stretch: var(--wide); line-height: 1.1; font-variant-numeric: tabular-nums; }

/* Reasons */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 3rem; margin-top: 2.5rem; }
.reasons__item { border-top: 2px solid var(--navy); padding-top: 1.1rem; }
.reasons__item h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.reasons__item p { color: var(--steel); }

/* Steps (a true sequence, so numbered) */
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps__item { counter-increment: step; position: relative; padding: 3.4rem 1.5rem 0 0; }
.steps__item::before {
	content: counter(step);
	position: absolute; top: 0; left: 0;
	width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
	background: var(--navy); color: var(--paper);
	font-weight: 750; font-stretch: var(--wide); z-index: 1;
}
.steps__item::after { content: ""; position: absolute; top: 1.2rem; left: 2.4rem; right: 0; height: 2px; background: var(--accent); }
.steps__item:last-child::after { display: none; }
.steps__item h3 { font-size: 1.125rem; margin-bottom: .35rem; }
.steps__item p { color: var(--steel); font-size: .9875rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2rem, 5vw, 4.5rem); }
.faq__intro p { color: var(--steel); margin-bottom: 1.25rem; }
.faq__item { border-bottom: 1px solid #c9d1da; }
.faq__item:first-child { border-top: 1px solid #c9d1da; }
.faq__item summary {
	list-style: none; cursor: pointer;
	display: flex; justify-content: space-between; gap: 1rem;
	padding: 1.15rem 0; font-weight: 650; font-size: 1.0625rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--steel); transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 2.5rem 1.25rem 0; color: var(--steel); }

/* Page hero */
.phero {
	color: var(--paper);
	background-color: var(--navy);
	background-image:
		linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
	background-size: 64px 64px;
	border-bottom: 6px solid var(--accent);
	padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.phero--solar { --accent: var(--solar); }
.phero--fabrication { --accent: var(--fabrication); }
.phero--electrical { --accent: var(--electrical); }
.phero--img {
	background-image: linear-gradient(100deg, rgba(15,29,46,.94), rgba(15,29,46,.6)), var(--hero-img);
	background-size: cover; background-position: center;
}
.phero--compact { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.phero__eyebrow { color: var(--accent); font-weight: 650; margin-bottom: .75rem; }
.phero__title { font-size: clamp(2.25rem, 5.4vw, 4rem); max-width: 18ch; font-weight: 800; letter-spacing: -.025em; }
.phero__sub { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: #d3dbe4; max-width: 58ch; }
.phero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.5rem; padding: 0; font-size: .875rem; color: #a9b5c4; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--paper); }

/* Service items */
.svc { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 2.25rem; }
.svc__item {
	display: flex; flex-direction: column; gap: .35rem;
	padding: 1.5rem 1.5rem 1.4rem;
	background: var(--paper); border: 1px solid var(--line);
	border-left: 5px solid var(--c, var(--accent));
	text-decoration: none; color: var(--ink);
}
.svc__item--solar { --c: var(--solar); }
.svc__item--fabrication { --c: var(--fabrication); }
.svc__item--electrical { --c: var(--electrical); }
.svc__item h3 { font-size: 1.15rem; margin: 0; }
.svc__item p { color: var(--steel); font-size: .98rem; flex: 1; }
a.svc__item:hover { border-color: var(--navy); border-left-color: var(--c, var(--accent)); }
.svc__go { font-weight: 650; font-size: .9375rem; margin-top: .5rem; }

/* System sizes */
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.25rem; }
.sizes__item { background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--solar); padding: 1.75rem; display: flex; flex-direction: column; }
.sizes__kw { font-size: 2.75rem; font-weight: 800; font-stretch: 125%; line-height: 1; margin-bottom: 1rem; }
.sizes ul { list-style: none; margin: 0 0 1.5rem; padding: 0; flex: 1; }
.sizes li { padding: .5rem 0; border-bottom: 1px solid var(--line); color: var(--steel); }

/* Projects */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pcard__link { display: block; text-decoration: none; color: var(--ink); height: 100%; background: var(--paper); border: 1px solid var(--line); }
.pcard__img { overflow: hidden; aspect-ratio: 4 / 3; }
.pcard__img img, .pcard__img .ph, .pcard__img .art { width: 100%; height: 100%; object-fit: cover; border: 0; transition: transform .35s ease; }
.pcard__link:hover .pcard__img img { transform: scale(1.03); }
.pcard__body { padding: 1.1rem 1.25rem 1.3rem; }
.pcard__title { font-size: 1.15rem; margin: .55rem 0 .25rem; }
.pcard__facts { color: var(--steel); font-size: .9375rem; }
.pcard.is-hidden { display: none; }

.tag { display: inline-block; font-size: .8125rem; font-weight: 650; padding: .15rem .55rem; border-left: 4px solid var(--c, var(--accent)); background: var(--surface); }
.tag--solar { --c: var(--solar); }
.tag--fabrication { --c: var(--fabrication); }
.tag--electrical { --c: var(--electrical); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters__btn {
	font: 600 .9375rem var(--font); padding: .55rem 1.1rem; min-height: 44px;
	background: var(--paper); color: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.filters__btn.is-active { background: var(--navy); color: var(--paper); border-color: var(--navy); }

.empty { padding: 2rem; border: 1px dashed #aab5c2; color: var(--steel); background: var(--paper); }

.project { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.project__facts { position: sticky; top: 110px; border-top: 6px solid var(--accent); background: var(--surface); padding: 1.5rem; }
.project__facts h2 { font-size: 1.2rem; }
.project__facts dl { margin: 0 0 1.5rem; }
.project__facts dt { font-size: .875rem; color: var(--steel); }
.project__facts dd { margin: 0 0 .8rem; font-weight: 650; }

/* CTA band */
.cta-band { background: var(--navy-2); color: var(--paper); padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 6px solid var(--accent); }
.cta-band__in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: .4rem; }
.cta-band p { color: #c7d0db; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Forms */
.formwrap { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.formwrap__intro p { color: #c7d0db; }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; color: #dbe2ea; }
.checks li { padding-left: 1.5rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .7rem; height: .35rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.checks a { color: var(--paper); }

.qform { background: var(--paper); color: var(--ink); padding: clamp(1.5rem, 4vw, 2.5rem); border-top: 6px solid var(--accent); }
.qform__title { font-size: 1.6rem; }
.qform__error { background: #fdecea; border-left: 4px solid #c0392b; padding: .8rem 1rem; margin-bottom: 1.25rem; color: #7c1d14; font-weight: 550; }
.qform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qform fieldset { border: 0; margin: 0 0 1.5rem; padding: 0; min-width: 0; }
.qform legend { font-weight: 700; font-stretch: var(--wide); font-size: 1.1rem; margin-bottom: .75rem; padding: 0; }
.qform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; margin-bottom: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9375rem; }
.field .req { font-weight: 450; color: var(--steel-2); font-size: .8125rem; margin-left: .3rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
	width: 100%; min-height: 48px; padding: .65rem .8rem;
	font: 400 1rem var(--font); color: var(--ink);
	background: var(--paper); border: 1px solid #b7c1cd; border-radius: var(--radius);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31,122,194,.25); }
.field input[type="file"] { font: inherit; font-size: .9375rem; }
.field__hint { font-size: .875rem; color: var(--steel); margin: 0; }
.field--inline { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; }
.field--inline legend { font-size: .9375rem; font-stretch: 100%; font-weight: 600; width: 100%; margin-bottom: .25rem; }
.field--inline label { display: inline-flex; gap: .4rem; align-items: center; font-weight: 450; }

.qform__divs { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.qform__divs legend { grid-column: 1 / -1; }
.divpick { position: relative; display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1rem 1rem 1.2rem; border: 1px solid #b7c1cd; border-left: 5px solid var(--c, var(--navy)); cursor: pointer; }
.divpick--solar { --c: var(--solar); }
.divpick--fabrication { --c: var(--fabrication); }
.divpick--electrical { --c: var(--electrical); }
.divpick input { position: absolute; opacity: 0; }
.divpick__name { font-weight: 700; }
.divpick__hint { font-size: .875rem; color: var(--steel); }
.divpick:has(input:checked) { border-color: var(--navy); background: var(--surface); box-shadow: inset 0 0 0 1px var(--navy); }
.divpick:has(input:focus-visible) { outline: 3px solid var(--electrical); outline-offset: 2px; }

.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .9375rem; margin-bottom: 1.5rem; color: var(--steel); }
.consent input { margin-top: .3rem; width: 18px; height: 18px; flex: none; }
.qform__note { font-size: .875rem; color: var(--steel); margin-top: .8rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__details { display: grid; gap: 1rem; }
.cbox { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.cbox span { display: flex; flex-direction: column; color: var(--steel); }
.cbox strong { color: var(--ink); }
.cbox .icon { width: 24px; height: 24px; margin-top: .1rem; }
a.cbox:hover { border-color: var(--navy); }
.cbox--wa .icon { color: var(--wa); }
.contact .qform { border: 1px solid var(--line); border-top: 6px solid var(--accent); }
.map iframe { display: block; width: 100%; height: 400px; border: 0; filter: grayscale(.4); }

/* About */
.chain { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.chain__item { padding: 1.5rem; background: var(--paper); border-top: 6px solid var(--c); font-size: 1.1rem; color: var(--steel); }
.chain__item strong { display: block; color: var(--ink); font-stretch: var(--wide); font-size: 1.35rem; }
.chain__item + .chain__item { border-left: 1px solid var(--line); }
.chain__item--solar { --c: var(--solar); }
.chain__item--fabrication { --c: var(--fabrication); }
.chain__item--electrical { --c: var(--electrical); }

/* Careers */
.roles { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.roles li { padding: .5rem 1rem; border: 1px solid var(--line); }
.alert { margin: 3rem 0 2rem; padding: 1.5rem; background: #fff7e6; border-left: 6px solid var(--solar); }
.alert h3 { font-size: 1.15rem; }

/* Thank you */
.thanks { text-align: left; }
.thanks__mark { width: 3.5rem; height: 3.5rem; display: grid; place-items: center; background: var(--wa); color: var(--paper); font-size: 1.75rem; margin-bottom: 1.5rem; }
.thanks__title { font-size: clamp(2rem, 4.5vw, 3rem); }
.thanks__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2.5rem 0 1.5rem; }
.thanks__more { color: var(--steel); }

/* Editor content */
.entry { max-width: 780px; }
.entry h2 { font-size: 1.75rem; margin-top: 2rem; }
.entry h3 { font-size: 1.3rem; margin-top: 1.5rem; }
.entry a { color: var(--electrical); }
.entry .wp-block-gallery { max-width: none; }
.posts { display: grid; gap: 2rem; max-width: 780px; }
.post-item h2 { font-size: 1.5rem; margin-bottom: .2rem; }
.post-item h2 a { text-decoration: none; }
.post-item__date { color: var(--steel); font-size: .875rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c4d1; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-top: clamp(3.5rem, 7vw, 5rem); padding-bottom: 3rem; }
.footer__about p { margin: 1rem 0 1.5rem; max-width: 32ch; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .9375rem; }
.footer__contact li, .footer__contact a { display: flex; gap: .6rem; align-items: flex-start; text-decoration: none; }
.footer__contact .icon { width: 18px; height: 18px; margin-top: .2rem; }
.footer__contact a:hover { color: var(--paper); }
.footer__col h2 { color: var(--paper); font-size: 1rem; margin-bottom: 1rem; padding-top: .8rem; border-top: 3px solid var(--c, rgba(255,255,255,.3)); }
.footer__col--solar { --c: var(--solar); }
.footer__col--fabrication { --c: var(--fabrication); }
.footer__col--electrical { --c: var(--electrical); }
.footer__sub { margin-top: 2rem; }
.footer__sub a { text-decoration: none; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .9375rem; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: var(--paper); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: .875rem; }
.footer__bottom-in { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.footer__legal, .footer__social { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
.footer__social { margin-left: auto; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--paper); }

/* Mobile quick bar */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.primary-nav .menu > li > a { padding: .6rem .5rem; }
	.primary-nav__actions .btn--wa { display: none; }
}

@media (max-width: 960px) {
	.topbar { display: none; }
	.site-header__in { min-height: 64px; justify-content: space-between; }
	.nav-toggle {
		display: inline-flex; align-items: center; gap: .4rem;
		min-height: 44px; padding: 0 .9rem;
		font: 600 .9375rem var(--font); color: var(--navy);
		background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
	}
	.primary-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--paper); border-bottom: 1px solid var(--line);
		max-height: calc(100vh - 64px); overflow-y: auto;
		padding: .5rem var(--gutter) 1.5rem;
	}
	.primary-nav.is-open { display: flex; }
	.primary-nav .menu { flex-direction: column; margin: 0; }
	.primary-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.primary-nav .menu > li > a { flex: 1; padding: .9rem 0; font-size: 1.0625rem; }
	.submenu-toggle { width: 44px; height: 44px; }
	.mega, .primary-nav .sub-menu {
		position: static; transform: none; width: 100%;
		display: none; grid-template-columns: 1fr; gap: 1.25rem;
		visibility: visible; opacity: 1; box-shadow: none; border: 0; padding: .25rem 0 1.25rem;
	}
	.has-mega:hover .mega { display: none; }
	.has-mega.is-open .mega { display: grid; }
	.primary-nav .menu > li.menu-mega > .sub-menu { transform: none; grid-template-columns: 1fr; padding: .25rem 0 1.25rem; }
	.primary-nav .menu > li > .sub-menu { width: 100%; }
	.primary-nav li:hover > .sub-menu { display: none; }
	.primary-nav .menu > li.is-open > .sub-menu { display: grid; }
	.primary-nav .menu-mega .sub-menu .sub-menu { display: block; }
	.primary-nav__actions { padding-top: 1.25rem; }
	.primary-nav__actions .btn { flex: 1; }
	.primary-nav__actions .btn--wa { display: inline-flex; }

	.hero__in, .split, .faq, .formwrap, .contact, .project { grid-template-columns: 1fr; }
	.hero__sub { max-width: none; }
	.divs__grid, .pgrid, .sizes { grid-template-columns: 1fr 1fr; }
	.divcard + .divcard { border-left: 0; }
	.divs__grid { border: 0; gap: 1rem; }
	.divcard { border: 1px solid var(--line); border-top: 6px solid var(--c); }
	.reasons { grid-template-columns: 1fr 1fr; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stats__item:nth-child(3) { padding-left: 0; border-left: 0; }
	.chain { grid-template-columns: 1fr; }
	.chain__item + .chain__item { border-left: 0; }
	.project__facts { position: static; }
	.split__media { order: -1; }

	.mobile-bar {
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
		background: var(--navy); border-top: 1px solid rgba(255,255,255,.12);
		padding-bottom: env(safe-area-inset-bottom, 0);
	}
	.mobile-bar a {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
		min-height: 60px; color: var(--paper); text-decoration: none; font-size: .8125rem; font-weight: 600;
	}
	.mobile-bar a + a { border-left: 1px solid rgba(255,255,255,.12); }
	.mobile-bar .mobile-bar__quote { background: var(--cta); color: var(--navy); }
	body { padding-bottom: 60px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 640px) {
	.divs__grid, .pgrid, .sizes, .reasons, .qform__grid, .qform__divs, .steps--3 { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; }
	.steps__item { padding: 0 0 1.75rem 3.5rem; }
	.steps__item::after { top: 2.4rem; bottom: 0; left: 1.2rem; right: auto; width: 2px; height: auto; }
	.steps__item:last-child { padding-bottom: 0; }
	.hero__line small { display: none; }
	.hero__actions .btn, .phero__actions .btn, .cta-band__actions .btn, .thanks__actions .btn { width: 100%; }
	.sec__head { flex-direction: column; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__about { grid-column: 1 / -1; }
	.footer__social { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
	.site-header, .topbar, .mobile-bar, .site-footer, .cta-band { display: none; }
}
