/*
Theme Name: Borsche Roofing Professionals
Theme URI: https://www.wiroofer.com
Author: SCM Marketing Solutions
Author URI: https://www.scmmarkets.com
Description: Custom theme for Borsche Roofing Professionals, Inc. Built from the Adobe XD homepage mockup: dark hero, red angled accents, condensed headings, seven-tile services grid, black stats band, featured projects and industries. Every section is ACF-driven with theme defaults.
Version: 1.2.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: brp
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	/* Brand */
	--red: #d11013;
	--red-dark: #a80d10;
	--black: #000000;
	--charcoal: #231f20;      /* hero shade, CTA band */
	--charcoal-2: #2c2829;
	--ink: #1a1a1a;           /* body text on white */
	--muted: #5c5c5c;
	--line: #e3e3e3;
	--grey: #f3f3f3;
	--white: #ffffff;

	/* Type */
	--font-display: "Montserrat", "Arial Black", Arial, sans-serif; /* hero headline, nav, buttons, wordmark */
	--font-head: "Oswald", "Arial Narrow", Impact, sans-serif;      /* section headings, tile labels */
	--font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;

	/* Layout (mockup is 1920 wide with 90px margins) */
	--container: 1740px;
	--gutter: clamp(20px, 4.7vw, 90px);
	--header-h: clamp(76px, 6.8vw, 130px);
	--slant: 16px;
	--shadow: 0 20px 50px rgba(0, 0, 0, .18);
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: clamp(16px, 1.15vw, 22px);
	line-height: 1.55;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, picture, svg, video, iframe { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--red); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--red-dark); }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
strong { font-weight: 600; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.05; color: var(--black); font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--font-head); }
h1 { font-size: clamp(36px, 3.6vw, 64px); }
h2 { font-size: clamp(30px, 3vw, 56px); }
h3 { font-size: clamp(22px, 1.6vw, 30px); }
h4 { font-size: clamp(18px, 1.2vw, 22px); }

.section-title { font-family: var(--font-head); font-weight: 600; font-size: clamp(32px, 3vw, 58px); line-height: 1; letter-spacing: -.005em; margin: 0 0 .45em; }
.section-title--display { text-transform: uppercase; font-weight: 700; }
.section-title em { font-style: normal; color: var(--red); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 1000px; }
.section { padding: clamp(56px, 6vw, 110px) 0; }
.band { color: var(--white); }
.band--black { background: var(--black); }
.band--charcoal { background: var(--charcoal); }
.band--grey { background: var(--grey); color: var(--ink); }
.band h1, .band h2, .band h3, .band h4, .band .section-title { color: var(--white); }
.band--grey h1, .band--grey h2, .band--grey h3, .band--grey .section-title { color: var(--black); }

.cover-img { width: 100%; height: 100%; object-fit: cover; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--black); color: #fff; padding: 10px 16px; z-index: 10001; }
.skip-link:focus { left: 12px; top: 12px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

/* Eyebrow: two red slashes + spaced caps (Open Sans, as in the mockup) */
.eyebrow {
	display: flex; align-items: center; gap: .55em;
	font-family: var(--font-body); font-weight: 400;
	font-size: clamp(14px, 1.35vw, 26px); letter-spacing: .1em; text-transform: uppercase;
	color: var(--ink); margin: 0 0 .7em;
}
.eyebrow__slash { color: var(--red); font-weight: 700; font-style: italic; font-family: var(--font-display); letter-spacing: -.05em; transform: skewX(-8deg); display: inline-block; }
.band .eyebrow, .hero .eyebrow { color: var(--white); }
.band--grey .eyebrow { color: var(--ink); }

/* Icons */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex: none; }
.icon--sm { width: 18px; height: 18px; }

/* ==========================================================================
   3. Buttons (angled, per the mockup)
   ========================================================================== */
.btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	font-family: var(--font-display); font-weight: 700; font-size: clamp(13px, .95vw, 20px);
	letter-spacing: .02em; text-transform: uppercase; line-height: 1;
	padding: .9em 1.6em .9em 1.3em; border: 0; cursor: pointer; white-space: nowrap; isolation: isolate;
	color: var(--white); background: var(--red);
	clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
	transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .btn__arrow { font-size: 1.05em; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow, .btn:focus-visible .btn__arrow { transform: translateX(4px); }
.btn--lg { font-size: clamp(14px, 1.1vw, 22px); padding: 1em 1.9em 1em 1.5em; }

/* Solid red */
.btn--primary { color: var(--white); background: var(--red); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--red-dark); color: var(--white); transform: translateY(-2px); }

/* Red outline on dark backgrounds (hero "View Our Work"), slanted on the left */
.btn--outline {
	background: transparent; color: var(--white);
	clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
	padding: .9em 1.3em .9em 1.6em;
}
.btn--outline::before {
	content: ""; position: absolute; inset: 0; background: var(--red); z-index: -1;
	clip-path: polygon(evenodd, var(--slant) 0, 100% 0, 100% 100%, 0 100%, calc(var(--slant) + 4px) 3px, calc(100% - 3px) 3px, calc(100% - 3px) calc(100% - 3px), 4px calc(100% - 3px));
}
.btn--outline:hover, .btn--outline:focus-visible { background: var(--red); color: var(--white); }

/* Red outline on white ("Our Services") */
.btn--outline-dark {
	background: transparent; color: var(--red);
	clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
}
.btn--outline-dark::before {
	content: ""; position: absolute; inset: 0; background: var(--red); z-index: -1;
	clip-path: polygon(evenodd, 0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%, 3px 3px, calc(100% - 4px) 3px, calc(100% - var(--slant) - 4px) calc(100% - 3px), 3px calc(100% - 3px));
}
.btn--outline-dark:hover, .btn--outline-dark:focus-visible { background: var(--red); color: var(--white); }

/* Plain arrow link ("View All Projects") */
.btn--text { background: none; color: var(--black); padding: .4em 0; clip-path: none; letter-spacing: .04em; }
.btn--text:hover, .btn--text:focus-visible { color: var(--red); }
.btn--text::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--red); transition: width .3s var(--ease); }
.btn--text:hover::after { width: calc(100% - 1.6em); }

/* Light (white) button for dark forms */
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--red); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: clamp(12px, 1.2vw, 24px); align-items: center; }
.btn-row--center { justify-content: center; }

/* ==========================================================================
   4. Header
   ========================================================================== */
.announce { background: var(--red); color: #fff; font-size: 14px; font-weight: 600; text-align: center; position: relative; z-index: 1001; }
.announce__inner { padding-top: 8px; padding-bottom: 8px; }
.announce a { color: #fff; }

.site-header {
	position: absolute; top: 0; left: 0; right: 0; z-index: 1000;
	background: linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
	transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.announce + .site-header { top: auto; position: relative; }
.site-header.is-fixed { position: fixed; background: rgba(12, 17, 23, .96); box-shadow: 0 6px 30px rgba(0, 0, 0, .35); backdrop-filter: blur(6px); }
.site-header.is-fixed.is-hidden { transform: translateY(-100%); }
.site-header.is-fixed .site-header__inner { min-height: calc(var(--header-h) * .8); }
.site-header__inner { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 48px); min-height: var(--header-h); padding-left: clamp(16px, 1.6vw, 30px); padding-right: clamp(16px, 1.6vw, 30px); max-width: none; }

/* Wordmark fallback for the logo (Site Settings > Logo replaces it) */
.site-logo__link { display: inline-block; color: #fff; line-height: 1; }
.site-logo__img { height: calc(var(--header-h) * .56); max-height: 82px; width: auto; max-width: min(56vw, 420px); object-fit: contain; }
.site-header.is-fixed .site-logo__img { height: calc(var(--header-h) * .42); }
.wordmark { display: inline-flex; flex-direction: column; font-family: var(--font-display); text-transform: uppercase; line-height: .95; }
.wordmark__name { font-weight: 900; font-size: clamp(30px, 2.9vw, 56px); letter-spacing: -.01em; color: #fff; }
.wordmark__tag { font-weight: 700; font-size: clamp(11px, 1.05vw, 20px); letter-spacing: .04em; color: var(--red); margin-top: .12em; }

/* Primary nav */
.site-nav { margin-left: auto; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(14px, 2.3vw, 46px); }
.site-nav__list > li { position: relative; }
.site-nav__list > li > a {
	display: inline-block; padding: .5em 0; position: relative;
	font-family: var(--font-display); font-weight: 700; font-size: clamp(13px, 1.15vw, 22px);
	text-transform: uppercase; letter-spacing: .01em; color: #fff;
}
.site-nav__list > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .15em; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav__list > li:hover > a::after, .site-nav__list > li.current-menu-item > a::after, .site-nav__list > li.current-menu-ancestor > a::after, .site-nav__list > li.current_page_parent > a::after, .site-nav__list > li.is-open > a::after { transform: scaleX(1); }
.site-nav__list > li:hover > a, .site-nav__list > li > a:focus-visible { color: #fff; }
.site-nav__list li.menu-item--phone > a { color: var(--red); }

/* Dropdowns */
.site-nav .sub-menu {
	list-style: none; margin: 0; padding: 10px 0; min-width: 260px;
	position: absolute; top: 100%; left: -18px; background: var(--charcoal);
	box-shadow: var(--shadow); border-top: 3px solid var(--red);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
	z-index: 10;
}
.site-nav .menu-item-has-children:hover > .sub-menu, .site-nav .menu-item-has-children.is-open > .sub-menu, .site-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.site-nav .sub-menu a { display: block; padding: 10px 22px; color: #fff; font-family: var(--font-head); font-weight: 500; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; border-left: 3px solid transparent; }
.site-nav .sub-menu a:hover { background: var(--black); border-left-color: var(--red); color: #fff; }
.site-nav .menu-item-has-children:not(.menu-item--mega) > a::before { content: ""; display: inline-block; width: .45em; height: .45em; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-.3em); margin-left: .45em; float: right; margin-top: .45em; }

/* Header phone / CTA button: parallelogram */
.site-header__cta { flex: none; }
.site-header__btn { clip-path: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%); padding: .95em 2em; font-size: clamp(13px, 1.15vw, 22px); }
.site-header__btn:hover { transform: none; }

/* Hamburger */
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; padding: 8px; background: transparent; border: 0; cursor: pointer; flex: none; }
.nav-toggle span { display: block; height: 3px; background: #fff; margin: 6px 0; transition: transform .25s var(--ease), opacity .25s var(--ease); border-radius: 2px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; background: var(--charcoal); overflow-y: auto; z-index: 999; padding: 24px 0 40px; border-top: 3px solid var(--red); }
.mobile-nav:not([hidden]) { display: block; animation: slideDown .25s var(--ease); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.mobile-nav__list a { display: block; padding: 14px 0; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 20px; text-transform: uppercase; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobile-nav__list .sub-menu { list-style: none; margin: 0; padding: 0 0 8px 18px; display: none; }
.mobile-nav__list .is-open > .sub-menu { display: block; }
.mobile-nav__list .sub-menu a { font-family: var(--font-head); font-weight: 500; font-size: 17px; letter-spacing: .04em; padding: 10px 0; border: 0; color: rgba(255, 255, 255, .85); }
.mobile-nav__list .menu-item-has-children > a::after { content: "+"; float: right; color: var(--red); }
.mobile-nav__list .menu-item-has-children.is-open > a::after { content: "\2013"; }
.mobile-nav__actions { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; margin-top: 26px; }
.mobile-nav__phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.mobile-nav__phone .icon { color: var(--red); width: 22px; height: 22px; }

@media (max-width: 1100px) {
	.site-nav { display: none; }
	.nav-toggle { display: block; }
	.site-header__cta { margin-left: auto; }
}
@media (max-width: 560px) {
	.site-header__cta { display: none; }
}

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--charcoal); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
	linear-gradient(90deg, rgba(35, 31, 32, .96) 0%, rgba(35, 31, 32, .82) 30%, rgba(35, 31, 32, .35) 60%, rgba(35, 31, 32, .05) 100%),
	linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 30%); }
.hero__inner { position: relative; z-index: 1; }

.hero--home { min-height: clamp(560px, 56vw, 1090px); display: flex; align-items: center; padding: calc(var(--header-h) + 5vw) 0 9vw; }
.hero__content { max-width: 60%; }
.hero--home .eyebrow { margin-bottom: 1em; }
.hero__title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: -.01em; color: #fff; margin: 0 0 .3em; font-size: clamp(44px, 6.6vw, 128px); }
.hero__line { display: block; }
.hero__highlight { display: inline-block; margin-top: .1em; padding: .06em .3em .04em .18em; background: var(--red); clip-path: polygon(0 0, 100% 0, calc(100% - .2em) 100%, 0 100%); }
.hero__highlight span { display: block; }
.hero__text { font-size: clamp(16px, 1.45vw, 28px); line-height: 1.4; max-width: 30em; margin: 0 0 1.4em; }

/* Dark angled base and the "Since 1945" badge */
.hero__base { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(50px, 6.5vw, 130px); background: var(--charcoal); clip-path: polygon(0 0, 74% 100%, 0 100%); z-index: 0; }
.hero__badge {
	position: absolute; right: 0; bottom: 0; z-index: 2;
	background: var(--black); color: #fff; text-align: right;
	padding: clamp(14px, 1.6vw, 30px) clamp(20px, 2vw, 40px) clamp(12px, 1.4vw, 26px) clamp(48px, 5.5vw, 110px);
	clip-path: polygon(clamp(32px, 4vw, 80px) 0, 100% 0, 100% 100%, 0 100%);
	line-height: 1.05;
}
.hero__badge::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: clamp(32px, 4vw, 80px); background: linear-gradient(to top left, transparent calc(50% - 2px), var(--red) calc(50% - 2px), var(--red) calc(50% + 2px), transparent calc(50% + 2px)); opacity: .95; }
.hero__badge-line1 { display: block; font-family: var(--font-body); font-weight: 400; text-transform: uppercase; letter-spacing: .1em; font-size: clamp(13px, 1.75vw, 36px); }
.hero__badge-line2 { display: block; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; color: var(--red); font-size: clamp(20px, 2.7vw, 56px); letter-spacing: .01em; }

/* Inner hero */
.hero--inner { min-height: clamp(360px, 32vw, 620px); display: flex; align-items: center; padding: calc(var(--header-h) + 3vw) 0 6vw; }
.hero--inner.hero--compact { min-height: clamp(260px, 22vw, 420px); padding-bottom: 5vw; }
.hero--inner .hero__content { max-width: 800px; }
.hero__title--inner { font-family: var(--font-head); font-weight: 600; letter-spacing: 0; line-height: 1; font-size: clamp(36px, 4.2vw, 80px); margin-bottom: .25em; }
.hero--inner .hero__text { margin-bottom: 0; }
.hero--inner .hero__base { height: clamp(36px, 4.5vw, 90px); }
.hero--inner .hero__shade { background: linear-gradient(90deg, rgba(35, 31, 32, .95) 0%, rgba(35, 31, 32, .75) 45%, rgba(35, 31, 32, .3) 100%), linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 40%); }

@media (max-width: 900px) {
	.hero__content { max-width: 100%; }
	.hero--home { padding-bottom: clamp(120px, 24vw, 200px); }
	.hero__badge { padding-left: clamp(40px, 8vw, 60px); }
}
@media (max-width: 560px) {
	.hero__badge { position: static; display: block; width: 100%; text-align: left; clip-path: none; padding: 16px var(--gutter); }
	.hero__badge::before { display: none; }
	.hero--home { padding-bottom: 0; display: block; min-height: 0; }
	.hero--home .hero__inner { padding-top: 0; padding-bottom: 60px; }
	.hero__base { display: none; }
}

/* ==========================================================================
   6. Services section (home)
   ========================================================================== */
.services__inner { display: grid; grid-template-columns: minmax(280px, 34%) 1fr; gap: clamp(32px, 4vw, 80px); align-items: start; }
.services__text { padding-top: 1vw; }
.services__text p { margin-bottom: 1.8em; }

.tile-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.1vw, 20px); }
.tile { position: relative; display: block; overflow: hidden; background: var(--charcoal); color: #fff; aspect-ratio: 4 / 5; isolation: isolate; }
.tile--lg { grid-column: span 4; }
.tile--sm { grid-column: span 3; aspect-ratio: 5 / 7; }
.tile__media { position: absolute; inset: 0; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .6s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 28%, rgba(0, 0, 0, 0) 60%); transition: background .4s var(--ease); z-index: 1; }
.tile::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); z-index: 3; }
.tile__label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: .5em; padding: clamp(14px, 1.2vw, 24px) clamp(14px, 1.1vw, 22px); font-family: var(--font-head); font-weight: 600; font-size: clamp(16px, 1.35vw, 26px); text-transform: uppercase; letter-spacing: .01em; line-height: 1.1; transition: transform .35s var(--ease); }
.tile--sm .tile__label { font-size: clamp(15px, 1.2vw, 23px); }
.tile__arrow { transition: transform .35s var(--ease); flex: none; }
.tile:hover, .tile:focus-visible { color: #fff; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.07); }
.tile:hover::after { background: linear-gradient(to top, rgba(160, 10, 14, .92) 0%, rgba(0, 0, 0, .55) 40%, rgba(0, 0, 0, .1) 75%); }
.tile:hover::before { transform: scaleX(1); }
.tile:hover .tile__label { transform: translateY(-4px); }
.tile:hover .tile__arrow { transform: translateX(6px); }

@media (max-width: 1100px) {
	.services__inner { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
	.tile--lg { grid-column: span 6; }
	.tile--sm { grid-column: span 6; aspect-ratio: 4 / 5; }
}

/* ==========================================================================
   7. Why choose band (home)
   ========================================================================== */
.why { position: relative; margin-top: clamp(-20px, -2vw, -40px); padding: clamp(90px, 9vw, 170px) 0 clamp(70px, 7vw, 130px); clip-path: polygon(0 0, 70% 6%, 100% 2.5%, 100% 97%, 75% 100%, 0 96.5%); }
.why__inner { display: grid; grid-template-columns: minmax(280px, 36%) 1fr; gap: clamp(32px, 4vw, 80px); align-items: center; }
.why__text p { color: rgba(255, 255, 255, .92); margin-bottom: 1.8em; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2vw, 40px); text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .35em; min-height: 100%; transition: transform .35s var(--ease); }
.stat:hover { transform: translateY(-6px); }
.stat__icon { width: clamp(56px, 4.6vw, 90px); height: clamp(56px, 4.6vw, 90px); color: #fff; margin-bottom: .2em; transition: color .3s var(--ease); }
.stat:hover .stat__icon { color: var(--red); }
.stat__value { font-family: var(--font-head); font-weight: 700; font-size: clamp(56px, 5.4vw, 104px); line-height: .9; letter-spacing: -.01em; }
.stat__label { font-family: var(--font-head); font-weight: 600; font-size: clamp(16px, 1.35vw, 26px); text-transform: none; line-height: 1.15; }
@media (max-width: 1100px) {
	.why__inner { grid-template-columns: 1fr; }
	.why { clip-path: polygon(0 0, 70% 3%, 100% 1.5%, 100% 98%, 75% 100%, 0 98%); }
}
@media (max-width: 700px) {
	.stats { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
}

/* ==========================================================================
   8. Featured projects
   ========================================================================== */
.projects-featured { padding-top: clamp(56px, 6vw, 110px); padding-bottom: clamp(120px, 12vw, 230px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(18px, 1.6vw, 30px); }
.section-head .section-title { margin-bottom: 0; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.9vw, 36px); }
.project-card { position: relative; display: block; overflow: hidden; aspect-ratio: 9 / 7; background: var(--charcoal); color: #fff; isolation: isolate; }
.project-card__media { position: absolute; inset: 0; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .45) 30%, rgba(0, 0, 0, 0) 60%); z-index: 1; transition: opacity .4s var(--ease); }
.project-card__caption { position: absolute; left: clamp(18px, 1.7vw, 32px); right: 20px; bottom: clamp(18px, 1.7vw, 32px); z-index: 2; padding-left: clamp(14px, 1vw, 18px); border-left: 6px solid var(--red); display: flex; flex-direction: column; gap: .1em; transition: transform .4s var(--ease); }
.project-card__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(18px, 1.5vw, 28px); line-height: 1.1; }
.project-card__meta { font-family: var(--font-head); font-weight: 500; font-size: clamp(14px, 1.05vw, 20px); color: rgba(255, 255, 255, .9); }
.project-card__tag { position: absolute; top: 0; right: 0; z-index: 2; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 14px 7px 18px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%); transform: translateY(-110%); transition: transform .35s var(--ease); }
.project-card:hover, .project-card:focus-visible { color: #fff; }
.project-card:hover img { transform: scale(1.06); }
.project-card:hover .project-card__caption { transform: translateY(-6px); }
.project-card:hover .project-card__tag { transform: translateY(0); }
@media (max-width: 900px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .project-grid { grid-template-columns: 1fr; } .projects-featured { padding-bottom: clamp(56px, 6vw, 110px); } }

/* ==========================================================================
   9. Industries (diagonal photo)
   ========================================================================== */
.industries { position: relative; padding: clamp(40px, 4vw, 80px) 0 clamp(56px, 6vw, 110px); }
.industries__media { position: absolute; left: 0; top: clamp(-90px, -9vw, -170px); bottom: 0; width: 55%; clip-path: polygon(0 12%, 100% 0, 76% 100%, 0 100%); overflow: hidden; background: var(--charcoal); }
.industries__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.industries:hover .industries__media img { transform: scale(1.03); }
.industries__inner { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 46%); }
.industries__text { grid-column: 2; }
.industries__text p { margin-bottom: 1.6em; }

.chev-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55em 2em; }
.chev-list li { position: relative; padding-left: 1.25em; font-size: clamp(16px, 1.3vw, 26px); }
.chev-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .42em; height: .42em; border: solid var(--red); border-width: 3px 3px 0 0; transform: rotate(45deg); transition: transform .25s var(--ease), left .25s var(--ease); }
.chev-list a { color: var(--ink); }
.chev-list a:hover { color: var(--red); }
.chev-list li:hover::before { left: .15em; }

@media (max-width: 1000px) {
	.industries { padding-top: 0; }
	.industries__media { position: relative; width: 100%; top: auto; bottom: auto; height: clamp(240px, 45vw, 420px); clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%); margin-bottom: 32px; }
	.industries__inner { grid-template-columns: 1fr; }
	.industries__text { grid-column: 1; }
}
@media (max-width: 480px) { .chev-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   10. CTA band
   ========================================================================== */
.cta-band { background: var(--charcoal); color: #fff; padding: clamp(40px, 3.5vw, 66px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -6%; top: 0; bottom: 0; width: 34%; background: var(--charcoal-2); clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band__heading { font-family: var(--font-head); font-weight: 600; font-size: clamp(26px, 3vw, 56px); color: #fff; margin: 0 0 .15em; line-height: 1.05; }
.cta-band__sub { font-size: clamp(16px, 1.35vw, 26px); margin: 0; color: rgba(255, 255, 255, .9); }

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer { background: var(--black); color: rgba(255, 255, 255, .8); position: relative; padding-top: clamp(48px, 5vw, 90px); border-top: 6px solid var(--red); }
.cert-strip { list-style: none; margin: 0 0 clamp(36px, 4vw, 70px); padding: 0 0 clamp(28px, 3vw, 50px); display: flex; flex-wrap: wrap; gap: 28px 44px; align-items: center; justify-content: center; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.cert-strip img { max-height: 64px; width: auto; filter: grayscale(1) brightness(2); opacity: .8; transition: filter .3s, opacity .3s; }
.cert-strip a:hover img { filter: none; opacity: 1; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(28px, 3vw, 60px); padding-bottom: clamp(40px, 4vw, 70px); }
.site-footer__logo { margin-bottom: 20px; }
.site-footer__logo .wordmark__name { font-size: clamp(30px, 2.4vw, 46px); }
.site-footer__logo .wordmark__tag { font-size: clamp(11px, .88vw, 17px); }
.site-footer__logo .site-logo__img { height: auto; max-height: none; width: min(100%, 360px); }
.site-footer__about { font-size: clamp(14px, .9vw, 17px); line-height: 1.7; max-width: 30em; }
.site-footer__heading { font-family: var(--font-head); font-weight: 600; font-size: clamp(18px, 1.2vw, 23px); text-transform: uppercase; letter-spacing: .05em; color: #fff; margin: 0 0 18px; padding-bottom: 12px; position: relative; }
.site-footer__heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--red); }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin: 0 0 10px; }
.site-footer__links a { color: rgba(255, 255, 255, .8); font-size: clamp(14px, .95vw, 18px); position: relative; padding-left: 0; transition: padding-left .25s var(--ease), color .25s var(--ease); }
.site-footer__links a::before { content: "\203A"; position: absolute; left: 0; opacity: 0; color: var(--red); transition: opacity .25s var(--ease); }
.site-footer__links a:hover { color: #fff; padding-left: 14px; }
.site-footer__links a:hover::before { opacity: 1; }
.site-footer__contact { list-style: none; margin: 0 0 24px; padding: 0; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: clamp(14px, .95vw, 18px); line-height: 1.5; }
.site-footer__contact .icon { color: var(--red); margin-top: .2em; width: 20px; height: 20px; }
.site-footer__contact a { color: rgba(255, 255, 255, .85); }
.site-footer__contact a:hover { color: #fff; }
.social { display: flex; gap: 12px; margin-top: 22px; }
.social a { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); transition: background .25s var(--ease), transform .25s var(--ease); }
.social a:hover { background: var(--red); transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; font-size: 14px; color: rgba(255, 255, 255, .6); }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: rgba(255, 255, 255, .8); }
.site-footer__bottom a:hover { color: #fff; }
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } .site-footer__bottom-inner { flex-direction: column; } }


/* ==========================================================================
   13. Inner pages
   ========================================================================== */
.prose { max-width: 60em; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose h2 { font-size: clamp(26px, 2.2vw, 40px); }
.prose img { margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 6px solid var(--red); font-size: 1.1em; font-style: italic; }
.prose ul li, .prose ol li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em; }
.prose .wp-block-button__link { display: inline-block; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; padding: .9em 1.5em; border-radius: 0; }
.prose .alignleft { float: left; margin: .5em 2em 1em 0; }
.prose .alignright { float: right; margin: .5em 0 1em 2em; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }

/* Two-column split (about story, careers intro, service single) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.split--wide { grid-template-columns: 1.15fr 1fr; }
.split__media { position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split__media--angled { clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
.split__media::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 42%; height: 10px; background: var(--red); clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.split__text .section-title { margin-bottom: .5em; }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: 1fr; } }

/* Stat row (about) */
.stat-row { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 56px); margin: 1.6em 0 0; padding: 1.4em 0 0; border-top: 3px solid var(--red); list-style: none; }
.stat-row__value { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(34px, 3vw, 58px); line-height: 1; color: var(--red); }
.stat-row__label { display: block; font-family: var(--font-head); font-weight: 500; font-size: clamp(14px, 1vw, 18px); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 6px; }

/* Icon feature cards (values, benefits) */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.8vw, 32px); }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--black); padding: clamp(22px, 2vw, 36px); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-top-color: var(--red); }
.feature .icon { width: 52px; height: 52px; color: var(--red); margin-bottom: 16px; }
.feature h3 { font-size: clamp(20px, 1.4vw, 26px); margin-bottom: .4em; }
.feature p { margin: 0; font-size: clamp(15px, 1vw, 18px); color: var(--muted); }
.band--black .feature { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); border-top-color: var(--red); color: #fff; }
.band--black .feature p { color: rgba(255, 255, 255, .8); }
@media (max-width: 1000px) { .feature-grid, .feature-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid, .feature-grid--3 { grid-template-columns: 1fr; } }

/* Service / industry cards (archives) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2vw, 36px); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); overflow: hidden; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease); scroll-margin-top: 120px; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--charcoal); position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: 0; background: var(--red); transition: width .4s var(--ease); }
.card:hover .card__media::after { width: 100%; }
.card__body { padding: clamp(20px, 1.8vw, 32px); display: flex; flex-direction: column; flex: 1; }
.card__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(20px, 1.5vw, 28px); text-transform: uppercase; line-height: 1.1; margin: 0 0 .5em; }
.card__text { color: var(--muted); font-size: clamp(15px, 1vw, 18px); margin: 0 0 1.4em; flex: 1; }
.card__more { font-family: var(--font-display); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--red); display: inline-flex; gap: .5em; align-items: center; }
.card__more span { transition: transform .25s var(--ease); }
.card:hover .card__more span { transform: translateX(5px); }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid, .card-grid--2 { grid-template-columns: 1fr; } }

/* Alternating service rows (services archive) */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 80px); align-items: center; padding: clamp(40px, 4vw, 72px) 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.svc-row:first-child { border-top: 0; padding-top: 0; }
.svc-row:nth-child(even) .svc-row__media { order: 2; }
.svc-row__media { position: relative; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.svc-row__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform .8s var(--ease); }
.svc-row:hover .svc-row__media img { transform: scale(1.04); }
.svc-row h2 { font-size: clamp(28px, 2.4vw, 44px); text-transform: uppercase; }
@media (max-width: 800px) { .svc-row { grid-template-columns: 1fr; } .svc-row:nth-child(even) .svc-row__media { order: 0; } }

/* Highlights list (service single) */
.check-list { list-style: none; margin: 0 0 1.5em; padding: 0; display: grid; gap: .6em; }
.check-list li { position: relative; padding-left: 2em; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.2em; height: 1.2em; background: var(--red); clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%); }
.check-list li::after { content: ""; position: absolute; left: .38em; top: .42em; width: .35em; height: .6em; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* Meta table (project single) */
.meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px 28px; margin: 0 0 2em; padding: 24px 0; border-top: 3px solid var(--red); border-bottom: 1px solid var(--line); }
.meta-grid dt { font-family: var(--font-head); font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 4px; }
.meta-grid dd { margin: 0; font-weight: 600; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 2em 0; }
.gallery-grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--charcoal); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.06); }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, .92); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: var(--shadow); }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 40px; line-height: 1; padding: 12px; opacity: .8; }
.lightbox__close { top: 16px; right: 20px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox button:hover { opacity: 1; color: var(--red); }

/* Testimonial */
.quote { background: var(--grey); padding: clamp(24px, 2.5vw, 44px); border-left: 8px solid var(--red); margin: 2em 0; }
.quote p { font-size: clamp(18px, 1.35vw, 24px); font-style: italic; margin: 0 0 .6em; }
.quote cite { font-style: normal; font-family: var(--font-head); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; color: var(--muted); }

/* Accordion (FAQs, openings) */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: clamp(18px, 1.4vw, 26px); color: var(--black); }
.accordion__btn:hover { color: var(--red); }
.accordion__btn::after { content: "+"; flex: none; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: var(--black); color: #fff; font-size: 24px; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); transition: background .25s var(--ease), transform .25s var(--ease); }
.accordion__btn[aria-expanded="true"]::after { content: "\2013"; background: var(--red); }
.accordion__panel { padding: 0 0 22px; max-width: 60em; }
.accordion__panel[hidden] { display: none; }
.accordion__meta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.pill { display: inline-block; font-family: var(--font-head); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; background: var(--grey); color: var(--muted); clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }

/* Timeline (about) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 3px; background: rgba(255, 255, 255, .15); }
.timeline li { position: relative; padding-top: 44px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; background: var(--red); clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.timeline__year { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 2.4vw, 44px); line-height: 1; color: #fff; margin-bottom: .3em; }
.timeline p { margin: 0; color: rgba(255, 255, 255, .8); font-size: clamp(15px, 1vw, 18px); }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } .timeline::before { display: none; } }

/* Team (about) */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 36px); }
.team-card { text-align: left; }
.team-card__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--charcoal); margin-bottom: 14px; position: relative; clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .6s var(--ease); filter: grayscale(.15); }
.team-card:hover .team-card__photo img { transform: scale(1.05); filter: none; }
.team-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .25); font-family: var(--font-display); font-weight: 900; font-size: 64px; }
.team-card h3 { font-size: clamp(20px, 1.4vw, 26px); margin-bottom: .1em; }
.team-card__title { font-family: var(--font-head); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; color: var(--red); margin: 0 0 .6em; }
.team-card p { font-size: clamp(14px, .95vw, 17px); color: var(--muted); margin: 0 0 .6em; }
.team-card__links { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 4vw, 80px); align-items: start; }
.contact-card { background: var(--charcoal); color: #fff; padding: clamp(24px, 2.5vw, 44px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.contact-card h2 { color: #fff; font-size: clamp(24px, 1.8vw, 32px); text-transform: uppercase; margin-bottom: 1em; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { width: 28px; height: 28px; color: var(--red); flex: none; margin-top: 2px; }
.contact-list .label { display: block; font-family: var(--font-head); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .6); margin-bottom: 2px; }
.contact-list a { color: #fff; font-weight: 600; }
.contact-list a:hover { color: var(--red); }
.contact-list span:not(.label) { color: #fff; }
.map-embed { margin-top: clamp(40px, 4vw, 70px); }
.map-embed iframe { width: 100%; height: clamp(300px, 30vw, 480px); border: 0; display: block; filter: grayscale(.4); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Project filters */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(24px, 2.5vw, 40px); }
.filter-bar a { font-family: var(--font-head); font-weight: 500; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; padding: 9px 18px; background: var(--grey); color: var(--ink); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: background .2s, color .2s; }
.filter-bar a:hover, .filter-bar a.is-active { background: var(--black); color: #fff; }
.filter-bar a.is-active { background: var(--red); }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2vw, 36px); }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--charcoal); display: block; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: clamp(20px, 1.8vw, 30px); display: flex; flex-direction: column; flex: 1; }
.post-card__date { font-family: var(--font-head); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--red); margin-bottom: 8px; }
.post-card h2 { font-size: clamp(20px, 1.4vw, 26px); line-height: 1.15; margin-bottom: .5em; }
.post-card h2 a { color: var(--black); }
.post-card h2 a:hover { color: var(--red); }
.post-card p { color: var(--muted); font-size: clamp(15px, 1vw, 17px); flex: 1; }
.post-meta { font-family: var(--font-head); font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 1.5em; display: flex; gap: 16px; flex-wrap: wrap; }
.post-meta a { color: var(--red); }
.post-thumb { margin: 0 0 2em; }
.post-thumb img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.pagination, .nav-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: clamp(32px, 3vw, 56px); font-family: var(--font-head); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.pagination .page-numbers, .nav-links a { padding: 10px 16px; background: var(--grey); color: var(--ink); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.pagination .page-numbers.current, .pagination .page-numbers:hover, .nav-links a:hover { background: var(--red); color: #fff; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(32px, 3vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* Search form */
.search-form { display: flex; max-width: 520px; }
.search-form input[type="search"] { flex: 1; font: inherit; padding: 14px 16px; border: 2px solid var(--line); border-right: 0; }
.search-form button { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; background: var(--red); color: #fff; border: 0; padding: 0 22px; cursor: pointer; }
.search-form button:hover { background: var(--red-dark); }

/* 404 */
.error-page { text-align: center; padding: clamp(40px, 6vw, 100px) 0 clamp(60px, 8vw, 140px); }
.error-page__code { font-family: var(--font-display); font-weight: 900; font-size: clamp(90px, 14vw, 240px); line-height: .9; color: var(--red); letter-spacing: -.02em; }
.error-page h1 { text-transform: uppercase; }
.error-page .search-form { margin: 32px auto; }

/* Sidebar-less widget cleanups */
.wp-block-image img { height: auto; }

/* ==========================================================================
   14. Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.tile-grid.reveal .tile, .project-grid.reveal .project-card, .stats.reveal .stat { transition-delay: calc(var(--i, 0) * 70ms); }
.no-js .reveal, .reveal.no-anim { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   15. Admin bar offset
   ========================================================================== */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .site-header.is-fixed { top: 32px; }
body.admin-bar .mobile-nav { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) { body.admin-bar .site-header, body.admin-bar .site-header.is-fixed { top: 46px; } }

/* Small additions */
.section--flush { padding-top: 0; }
.band .btn--text { color: #fff; }
.band .btn--text:hover { color: var(--red); }
.band .check-list li { color: #fff; }
.band .prose { color: rgba(255, 255, 255, .9); }

/* ==========================================================================
   16. Service areas (local SEO pages)
   ========================================================================== */
.section--tight { padding-top: clamp(32px, 3.5vw, 60px); }
.crumbs { padding-top: 18px; font-family: var(--font-head); font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.crumbs li + li::before { content: "\203A"; color: var(--red); margin-right: 10px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.crumbs span { color: var(--black); }

.local-facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
.local-facts li { display: flex; gap: 12px; align-items: flex-start; font-size: clamp(14px, .95vw, 17px); line-height: 1.4; color: var(--muted); }
.local-facts li strong { color: var(--black); font-family: var(--font-head); font-weight: 600; font-size: 1.1em; text-transform: uppercase; letter-spacing: .02em; }
.local-facts .icon { width: 26px; height: 26px; color: var(--red); flex: none; margin-top: 2px; }

.county { margin-top: clamp(24px, 2.5vw, 40px); }
.county__name { font-size: clamp(18px, 1.3vw, 24px); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.city-grid { list-style: none; margin: clamp(20px, 2vw, 32px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.city-card { display: flex; flex-direction: column; gap: 6px; height: 100%; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--black); padding: 18px 20px; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
a.city-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-left-color: var(--red); color: var(--ink); }
.city-card--static { border-left-color: var(--line); color: var(--muted); }
.city-card__name { font-family: var(--font-head); font-weight: 600; font-size: clamp(18px, 1.3vw, 24px); text-transform: uppercase; line-height: 1.1; }
.city-card__name small { font-size: .7em; font-weight: 500; color: var(--muted); text-transform: none; }
.city-card__text { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-head); font-weight: 500; }
.city-card__more { margin-top: auto; padding-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--red); }
.city-card__more span { display: inline-block; transition: transform .25s var(--ease); }
a.city-card:hover .city-card__more span { transform: translateX(5px); }
@media (max-width: 1000px) { .city-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .city-grid { grid-template-columns: 1fr; } .local-facts { grid-template-columns: 1fr; } }

.chev-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 800px) { .chev-list--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .chev-list--3 { grid-template-columns: 1fr; } }
.tile__title small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .55em; text-transform: none; letter-spacing: 0; opacity: .85; margin-top: 2px; }

.nearby { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 70px); align-items: center; }
.nearby--with-map { grid-template-columns: 1.1fr 1fr; }
.map-embed--flush { margin-top: 0; }
.map-embed--flush iframe { height: clamp(280px, 26vw, 420px); clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); }
@media (max-width: 900px) { .nearby--with-map { grid-template-columns: 1fr; } }

/* Service areas: city list + Wisconsin map */
.areas-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 70px); align-items: start; }
.areas-layout .city-grid { grid-template-columns: repeat(3, 1fr); }
.areas-footnote { margin: 18px 0 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(16px, 1.15vw, 21px); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.wi-map { margin: clamp(20px, 2vw, 32px) 0 0; padding: 0; }
.wi-map__svg { width: 100%; height: auto; display: block; overflow: visible; }
.wi-map__county { fill: #d9d9d9; stroke: #fff; stroke-width: 1; transition: fill .25s var(--ease); }
.wi-map__county.is-served { fill: var(--red); stroke: rgba(255, 255, 255, .7); }
.wi-map__county.is-served:hover { fill: var(--red-dark); }
.wi-map__county:not(.is-served):hover { fill: #c9c9c9; }
.wi-map__outline { fill: none; stroke: var(--black); stroke-width: 1.5; pointer-events: none; }
.wi-map__pin-halo { fill: rgba(0, 0, 0, .25); animation: pulse 2.4s ease-out infinite; transform-origin: center; }
.wi-map__star { fill: #fff; stroke: var(--black); stroke-width: 2; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.wi-map__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-family: var(--font-head); font-weight: 500; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.wi-map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.wi-map__swatch { width: 16px; height: 16px; display: inline-block; }
.wi-map__swatch--served { background: var(--red); }
.wi-map__swatch--star { background: var(--black); clip-path: polygon(50% 0, 62% 35%, 100% 35%, 69% 57%, 81% 91%, 50% 70%, 19% 91%, 31% 57%, 0 35%, 38% 35%); }
@media (max-width: 1000px) { .areas-layout { grid-template-columns: 1fr; } .areas-layout .city-grid { grid-template-columns: repeat(2, 1fr); } .wi-map { max-width: 520px; } }
@media (max-width: 480px) { .areas-layout .city-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .areas-layout .city-card { padding: 12px 12px; border-left-width: 4px; } .areas-layout .city-card__name { font-size: 16px; } .areas-layout .city-card__text { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .wi-map__pin-halo { animation: none; } }

/* ==========================================================================
   17. Interior content layout (services, industries)
   ========================================================================== */
.lead { font-size: clamp(17px, 1.25vw, 23px); line-height: 1.5; color: var(--ink); }
.archive-lead { max-width: 60em; margin-bottom: 2em; }
.archive-intro .section-title { font-size: clamp(28px, 2.4vw, 44px); }
.archive-intro + .section--flush { padding-top: clamp(24px, 3vw, 48px); }
.check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5em 1.5em; }
@media (max-width: 600px) { .check-list--2 { grid-template-columns: 1fr; } }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 30%); gap: clamp(32px, 4vw, 80px); align-items: start; }
.content-layout .prose { max-width: none; }
.content-layout .prose h2 { font-size: clamp(24px, 2vw, 36px); margin-top: 1.6em; padding-top: .2em; position: relative; }
.content-layout .prose h2:first-child { margin-top: 0; }
.content-layout .prose h2::before { content: ""; display: block; width: 44px; height: 4px; background: var(--red); margin-bottom: .5em; clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.content-layout .prose p, .content-layout .prose li { font-size: clamp(16px, 1.1vw, 20px); }
.sidebar { position: sticky; top: calc(var(--header-h) * .8 + 24px); display: grid; gap: 20px; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--black); padding: clamp(20px, 1.8vw, 30px); }
.sidebar-card h3 { font-size: clamp(18px, 1.3vw, 24px); text-transform: uppercase; letter-spacing: .03em; margin-bottom: .6em; }
.sidebar-card p { font-size: clamp(14px, .95vw, 17px); color: var(--muted); margin-bottom: 1em; }
.sidebar-card--dark { background: var(--charcoal); border-color: var(--charcoal); border-top-color: var(--red); color: #fff; }
.sidebar-card--dark h3 { color: #fff; }
.sidebar-card--dark p { color: rgba(255, 255, 255, .8); }
.sidebar-card__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 1.5vw, 28px); color: #fff; margin-bottom: 18px; }
.sidebar-card__phone .icon { width: 24px; height: 24px; color: var(--red); }
.sidebar-card__phone:hover { color: var(--red); }
.sidebar-card .btn { width: 100%; }
.sidebar-links { list-style: none; margin: 0; padding: 0; }
.sidebar-links li { border-bottom: 1px solid var(--line); }
.sidebar-links li:last-child { border-bottom: 0; }
.sidebar-links a { display: block; padding: 9px 0 9px 18px; position: relative; color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }
.sidebar-links a::before { content: ""; position: absolute; left: 0; top: 50%; width: .4em; height: .4em; border: solid var(--red); border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); transition: left .2s var(--ease); }
.sidebar-links a:hover { color: var(--red); }
.sidebar-links a:hover::before { left: 4px; }
.sidebar-links--2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.sidebar-links--2 a { font-size: 14px; padding: 7px 0 7px 16px; }
.sidebar-card__more { margin: 12px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
/* "Near you" city links under the article (kept out of the sidebar so it stays short) */
.near-you { margin-top: clamp(32px, 3vw, 48px); padding-top: clamp(24px, 2vw, 32px); border-top: 1px solid var(--line); }
.near-you--section { margin-top: 0; padding-top: 0; border-top: 0; }
.near-you--section .filter-bar { margin-bottom: 0; }
.near-you__title { font-size: clamp(18px, 1.3vw, 24px); text-transform: uppercase; letter-spacing: .03em; margin-bottom: .7em; }
.filter-bar--links { list-style: none; padding: 0; margin: 0; }
.filter-bar--links li { margin: 0; }
.filter-bar--links a.is-more { background: var(--red); color: #fff; }
.filter-bar--links a.is-more:hover { background: var(--black); }
@media (max-width: 900px) { .content-layout { grid-template-columns: 1fr; } .sidebar { position: static; } }

/* Process steps (black band) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 44px); counter-reset: step; }
.step { position: relative; padding-top: 18px; border-top: 3px solid rgba(255, 255, 255, .15); }
.step::before { content: ""; position: absolute; left: 0; top: -3px; width: 48px; height: 3px; background: var(--red); }
.step__num { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(36px, 3.4vw, 60px); line-height: 1; color: var(--red); margin-bottom: .2em; }
.step h3 { color: #fff; font-size: clamp(18px, 1.4vw, 26px); margin-bottom: .4em; }
.step p { color: rgba(255, 255, 255, .8); font-size: clamp(15px, 1vw, 18px); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* FAQ columns, systems, testimonials, photo strip */
.faqs__head { margin-bottom: clamp(16px, 1.5vw, 28px); }
.faqs__cols--1 { max-width: 1000px; }
.faqs__cols--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 4vw, 70px); align-items: start; }
@media (max-width: 900px) { .faqs__cols--2 { grid-template-columns: 1fr; } .faqs__cols--2 .accordion + .accordion { border-top: 0; } }
.feature--system { display: flex; flex-direction: column; }
.feature--system { color: var(--ink); display: flex; flex-direction: column; }
a.feature--system:hover { color: var(--ink); }
.feature__more { font-family: var(--font-display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--red); margin-top: 10px; display: inline-flex; gap: .5em; }
.feature__more span { transition: transform .25s var(--ease); }
a.feature--system:hover .feature__more span { transform: translateX(4px); }
.feature__tag { margin-top: auto; padding-top: 14px; font-family: var(--font-head); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--red); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 36px); }
.testimonial { margin: 0; padding: clamp(22px, 2vw, 36px); background: rgba(255, 255, 255, .06); border-left: 6px solid var(--red); }
.testimonial p { font-size: clamp(16px, 1.15vw, 21px); font-style: italic; color: #fff; }
.testimonial cite { font-style: normal; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 15px; color: #fff; }
.testimonial cite span { display: block; font-weight: 400; color: rgba(255, 255, 255, .7); text-transform: none; letter-spacing: 0; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.gallery-grid--4 { grid-template-columns: repeat(4, 1fr); margin: 0; }
.gallery-grid__still { aspect-ratio: 4 / 3; overflow: hidden; background: var(--charcoal); clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); }
.gallery-grid__still img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-grid__still:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .gallery-grid--4 { grid-template-columns: repeat(2, 1fr); } }
.photo-strip + .section { padding-top: clamp(56px, 6vw, 110px); }
.steps-inline { margin-top: clamp(40px, 4vw, 70px); }
.steps--light .step { border-top-color: var(--line); }
.steps--light .step h3 { color: var(--black); }
.steps--light .step p { color: var(--muted); }

/* ==========================================================================
   18. Mega menu (Services, Industries)
   ========================================================================== */
.site-nav .menu-item--mega { position: static; }
.site-nav .menu-item--mega > a { padding-right: 1.1em; position: relative; }
.site-nav .menu-item--mega > a::before { content: ""; display: block; position: absolute; right: 0; top: 50%; width: .4em; height: .4em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease); float: none; margin: 0; }
.site-nav .menu-item--mega:hover > a::before, .site-nav .menu-item--mega.is-open > a::before { transform: translateY(-30%) rotate(225deg); }
.mega {
	position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
	background: var(--charcoal); color: #fff; border-top: 4px solid var(--red);
	box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -44px; height: 44px; }
.site-nav .menu-item--mega:hover > .mega, .site-nav .menu-item--mega.is-open > .mega, .site-nav .menu-item--mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: minmax(220px, 24%) minmax(0, 1fr) minmax(220px, 22%); gap: clamp(24px, 3vw, 56px); padding-top: clamp(28px, 2.4vw, 44px); padding-bottom: clamp(28px, 2.4vw, 44px); }
.mega__intro .eyebrow { color: #fff; font-size: 13px; margin-bottom: .6em; text-transform: uppercase; }
.mega__heading { font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 1.7vw, 30px); text-transform: uppercase; color: #fff; margin: 0 0 .4em; line-height: 1.05; }
.mega__intro p { font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .78); margin: 0 0 1.2em; text-transform: none; font-weight: 400; }
.mega__intro .btn { font-size: 13px; }
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; }
.mega__item { display: flex; align-items: center; gap: 14px; padding: 8px 10px; margin: 0 -10px; color: #fff; border-radius: 2px; transition: background .2s var(--ease); }
.mega__item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.mega__thumb { width: 64px; height: 52px; flex: none; overflow: hidden; background: var(--black); clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.mega__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mega__item:hover .mega__thumb img { transform: scale(1.1); }
.mega__text { display: flex; flex-direction: column; min-width: 0; }
.mega__title { font-family: var(--font-head); font-weight: 600; font-size: 17px; text-transform: uppercase; letter-spacing: .03em; line-height: 1.15; transition: color .2s var(--ease); }
.mega__item:hover .mega__title { color: #ff6b6e; }
.mega__desc { font-family: var(--font-body); font-weight: 400; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .65); text-transform: none; letter-spacing: 0; margin-top: 2px; }
.mega__cta { background: var(--black); padding: clamp(20px, 1.8vw, 30px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); align-self: start; }
.mega__cta h4 { font-family: var(--font-head); font-weight: 600; font-size: 20px; text-transform: uppercase; color: #fff; margin: 0 0 .4em; line-height: 1.1; }
.mega__cta p { font-family: var(--font-body); font-weight: 400; font-size: 14px; color: rgba(255, 255, 255, .7); text-transform: none; letter-spacing: 0; margin: 0 0 14px; }
.mega__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 14px; }
.mega__phone .icon { width: 20px; height: 20px; color: var(--red); }
.mega__phone:hover { color: var(--red); }
.mega__cta .btn { width: 100%; font-size: 13px; }
.site-header.is-fixed .mega { border-top-width: 3px; }
@media (max-width: 1400px) { .mega__inner { grid-template-columns: minmax(200px, 26%) minmax(0, 1fr); } .mega__cta { display: none; } }

/* Mobile: the panel becomes a plain sub-list under the parent item */
.mobile-nav .mega { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; display: none; }
.mobile-nav .menu-item--mega.is-open > .mega { display: block; }
.mobile-nav .mega::before { display: none; }
.mobile-nav .mega__inner { display: block; padding: 0 0 8px 18px; }
.mobile-nav .mega__intro, .mobile-nav .mega__cta, .mobile-nav .mega__thumb, .mobile-nav .mega__desc { display: none; }
.mobile-nav .mega__list { display: block; }
.mobile-nav .mega__item { padding: 10px 0; margin: 0; }
.mobile-nav .mega__title { font-size: 17px; font-weight: 500; letter-spacing: .04em; }

/* ==================================================================================
   19. Roofing Systems (archive cards, comparison table, single page, auto-links)
   ================================================================================== */
.card__badge { position: absolute; left: 0; top: 18px; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .08em; padding: 6px 16px 6px 14px; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); z-index: 1; }
.card__sub { display: block; font-family: var(--font-body); font-size: 14px; color: var(--muted); margin: -.4em 0 .9em; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); min-width: 760px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: clamp(14px, .95vw, 16px); line-height: 1.45; }
.compare thead th { background: var(--charcoal); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 4px solid var(--red); }
.compare thead th a { color: #fff; }
.compare thead th a:hover { color: #ff6b6e; }
.compare thead th small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12px; text-transform: none; letter-spacing: 0; color: rgba(255, 255, 255, .7); margin-top: 2px; }
.compare tbody th { font-family: var(--font-head); font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); white-space: nowrap; background: var(--grey); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare__note { margin: 18px 0 0; font-size: 14px; color: var(--muted); max-width: 70em; }
.spec-list { margin: 0; display: grid; gap: 0; }
.spec-list div { display: grid; grid-template-columns: 42% 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.spec-list div:last-child { border-bottom: 0; }
.spec-list dt { font-family: var(--font-head); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0; padding-top: 2px; }
.spec-list dd { margin: 0; font-size: 15px; line-height: 1.4; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 72px); margin-top: clamp(24px, 2.5vw, 40px); }
.pros-cons h3 { color: #fff; font-size: clamp(20px, 1.5vw, 26px); text-transform: uppercase; letter-spacing: .03em; margin-bottom: .8em; padding-bottom: .5em; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.pros-cons .check-list { margin-bottom: 0; }
.dash-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6em; }
.dash-list li { position: relative; padding-left: 2em; color: rgba(255, 255, 255, .85); }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 1.2em; height: 3px; background: var(--red); }
/* Auto-linked system names look like every other text link: red, no underline. */
.prose a.system-link, .lead a.system-link, .accordion__panel a.system-link { color: var(--red); text-decoration: none; border: 0; }
.prose a.system-link:hover, .lead a.system-link:hover, .accordion__panel a.system-link:hover { color: var(--red-dark); }
.mega__intro { grid-column: 1; grid-row: 1 / 3; }
.mega__list { grid-column: 2; grid-row: 1; }
.mega__cta { grid-column: 3; grid-row: 1 / 3; }
.mega__systems { grid-column: 2; grid-row: 2; align-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: -10px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); font-family: var(--font-head); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.mega__systems-label { color: rgba(255, 255, 255, .55); font-weight: 500; margin-right: 4px; }
.mega__systems a { color: #fff; font-weight: 600; padding: 3px 9px; background: rgba(255, 255, 255, .07); transition: background .2s var(--ease), color .2s var(--ease); }
.mega__systems a:hover { background: var(--red); color: #fff; }
.mega__systems a.mega__systems-all { background: none; color: #ff6b6e; margin-left: auto; padding-right: 0; }
.mega__systems a.mega__systems-all:hover { color: #fff; }
.mobile-nav .mega__systems { display: none; }

@media (max-width: 800px) { .pros-cons { grid-template-columns: 1fr; } }


/* ==========================================================================
   12. Forms (Gravity Forms 3.x, Orbital theme)
   Every form is wrapped in .theme-form by brp_form(). Styling runs through the
   Gravity Forms CSS API (--gf-* variables) plus a few direct rules for the
   brand details (slanted buttons, // section titles, step badges).
   ========================================================================== */

/* Brand palette. !important is needed here because Gravity Forms prints these
   same variables inline on #gform_wrapper_N, which would otherwise win. */
.theme-form .gform-theme--orbital {
	--gf-color-primary: var(--red) !important;
	--gf-color-primary-rgb: 209, 16, 19 !important;
	--gf-color-primary-contrast: #fff !important;
	--gf-color-primary-contrast-rgb: 255, 255, 255 !important;
	--gf-color-primary-darker: var(--red-dark) !important;
	--gf-color-primary-lighter: #e2383b !important;
	--gf-color-secondary: #fff !important;
	--gf-color-secondary-contrast: var(--ink) !important;
	--gf-color-secondary-contrast-rgb: 26, 26, 26 !important;
	--gf-color-in-ctrl-primary: var(--red) !important;
	--gf-color-in-ctrl-primary-rgb: 209, 16, 19 !important;
	--gf-color-in-ctrl-primary-darker: var(--red-dark) !important;
	--gf-color-in-ctrl-primary-lighter: #e2383b !important;
	--gf-color-in-ctrl-contrast: var(--ink) !important;
	--gf-color-in-ctrl-contrast-rgb: 26, 26, 26 !important;
	--gf-color-out-ctrl-dark: var(--muted) !important;
	--gf-color-out-ctrl-dark-rgb: 92, 92, 92 !important;
	--gf-color-out-ctrl-dark-darker: var(--ink) !important;
	--gf-color-out-ctrl-dark-lighter: #7a7a7a !important;
	--gf-color-out-ctrl-light: var(--line) !important;
	--gf-color-out-ctrl-light-darker: #cfcfcf !important;
	--gf-radius: 0px !important;
	--gf-ctrl-border-color: #d4d4d4 !important;
	--gf-ctrl-label-color-primary: var(--ink) !important;
	--gf-ctrl-label-color-secondary: var(--ink) !important;
	--gf-ctrl-size: 52px !important;
	--gf-ctrl-btn-size: 52px !important;
	--gf-ctrl-btn-font-size: 14px !important;
	--gf-ctrl-btn-padding-x: 26px !important;
	--gf-ctrl-btn-border-color-secondary: var(--red) !important;
	--gf-font-size-secondary: 16px !important;
	--gf-font-size-tertiary: 14px !important;
	--gf-field-pg-steps-number-color: var(--muted) !important;
}

/* Type, spacing and controls */
.theme-form .gform-theme--orbital {
	--gf-font-family-base: var(--font-body);
	--gf-form-gap-x: 24px;
	--gf-form-gap-y: 26px;
	--gf-ctrl-font-size: 16px;
	--gf-ctrl-padding-x: 16px;
	--gf-ctrl-border-width: 2px;
	--gf-ctrl-shadow: none;
	--gf-ctrl-border-color-hover: #b9b9b9;
	--gf-ctrl-border-color-focus: var(--red);
	--gf-ctrl-outline-color-focus: rgba(209, 16, 19, .18);
	--gf-ctrl-outline-width-focus: 3px;
	--gf-ctrl-label-font-family-primary: var(--font-head);
	--gf-ctrl-label-font-weight-primary: 500;
	--gf-ctrl-label-letter-spacing-primary: .05em;
	--gf-ctrl-label-font-size-req: 12px;
	--gf-ctrl-label-font-family-req: var(--font-body);
	--gf-ctrl-label-font-weight-req: 600;
	--gf-ctrl-label-color-req: var(--red);
	--gf-ctrl-label-font-size-secondary: 15px;
	--gf-ctrl-label-font-size-tertiary: 13px;
	--gf-ctrl-label-color-tertiary: var(--muted);
	--gf-ctrl-desc-color: var(--muted);
	--gf-ctrl-choice-check-color: var(--red);
	--gf-ctrl-btn-font-family: var(--font-display);
	--gf-ctrl-btn-font-weight: 700;
	--gf-ctrl-btn-text-transform: uppercase;
	--gf-ctrl-btn-letter-spacing: .02em;
	--gf-ctrl-btn-radius: 0;
	--gf-ctrl-btn-shadow: none;
	--gf-ctrl-btn-shadow-hover: none;
	--gf-ctrl-btn-shadow-focus: 0 0 0 3px rgba(209, 16, 19, .25);
	--gf-field-section-border-color: var(--line);
	--gf-field-section-border-width: 2px;
	--gf-field-section-padding-y-end: 12px;
	--gf-form-validation-bg-color: #fff3f3;
	--gf-form-validation-border-color: var(--red);
	--gf-form-validation-heading-color: var(--red-dark);
	--gf-form-validation-radius: 0;
	--gf-form-validation-shadow: none;
	--gf-field-pg-prog-font-family: var(--font-head);
	--gf-field-pg-prog-font-size: 14px;
	--gf-field-pg-prog-font-weight: 500;
	--gf-field-pg-prog-color: var(--ink);
	--gf-field-pg-prog-letter-spacing: .06em;
	--gf-field-pg-prog-text-transform: uppercase;
	--gf-field-pg-steps-number-size: 34px;
	--gf-field-pg-steps-number-radius: 0;
	--gf-field-pg-steps-number-border-width: 2px;
	--gf-field-pg-steps-number-bg-color: #fff;
	--gf-field-pg-steps-number-border-color: #d4d4d4;
	--gf-field-pg-steps-number-bg-color-active: var(--red);
	--gf-field-pg-steps-number-border-color-active: var(--red);
	--gf-field-pg-steps-number-color-active: #fff;
	--gf-field-pg-steps-number-bg-color-complete: var(--charcoal);
	--gf-field-pg-steps-number-border-color-complete: var(--charcoal);
	--gf-field-pg-steps-number-color-complete: #fff;
	--gf-field-pg-steps-step-gap: 10px;
	--gf-form-spinner-fg-color: var(--red);
	color: var(--ink);
}

/* Field labels: condensed, uppercase, like the site's headings */
.theme-form .gform-theme--orbital .gfield_label { text-transform: uppercase; line-height: 1.25; }
.theme-form .gform-theme--orbital .gfield_required { font-family: var(--font-body); text-transform: none; letter-spacing: 0; }
.theme-form .gform-theme--orbital .gform_description { display: block; margin: 0 0 24px; color: var(--muted); font-size: 15px; }

/* Section breaks: Oswald title with the brand's red double slash */
.theme-form .gform-theme--orbital .gsection { margin-top: 12px; }
.theme-form .gform-theme--orbital .gsection_title {
	display: flex; align-items: baseline; gap: .45em; margin: 0;
	font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 1.8vw, 28px);
	line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; color: var(--black);
}
.theme-form .gform-theme--orbital .gsection_title::before {
	content: "//"; color: var(--red); font-family: var(--font-display); font-weight: 700; font-style: italic;
	font-size: .8em; letter-spacing: -.05em; transform: skewX(-8deg); display: inline-block;
}
.theme-form .gform-theme--orbital .gsection_description { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Sub-headings inside a step (Reference 1, Employer 1) */
.theme-form .gform-theme--orbital .gf-subheading {
	margin: 10px 0 0; padding-left: 12px; border-left: 4px solid var(--red);
	font-family: var(--font-head); font-weight: 500; font-size: 18px; line-height: 1.2;
	text-transform: uppercase; letter-spacing: .05em; color: var(--ink);
}

/* Callouts (e.g. the active leak notice) */
.theme-form .gform-theme--orbital .gf-callout {
	padding: 16px 20px; border-left: 6px solid var(--red); background: var(--grey); font-size: 15px; line-height: 1.5;
}
.band--grey .theme-form .gform-theme--orbital .gf-callout { background: #fff; }
.theme-form .gform-theme--orbital .gf-callout a { color: var(--red); font-weight: 700; }

/* Inputs keep a white field on grey bands */
.theme-form .gform-theme--orbital input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]),
.theme-form .gform-theme--orbital select,
.theme-form .gform-theme--orbital textarea { background-color: #fff; }
.theme-form .gform-theme--orbital .ginput_container_date input.datepicker { inline-size: 100% !important; }
.theme-form .gform-theme--orbital .gfield--type-consent .gfield_consent_description,
.theme-form .gform-theme--orbital .gform_drop_area { background: #fff; border-radius: 0; }

/* Multi-step progress */
.theme-form .gform-theme--orbital .gf_page_steps {
	display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0 0 32px; padding: 0 0 20px;
	border-bottom: 2px solid var(--line);
}
.theme-form .gform-theme--orbital .gf_step_number {
	font-family: var(--font-head); font-weight: 600; font-size: 15px;
	clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.theme-form .gform-theme--orbital .gf_step_completed .gf_step_number::after { clip-path: inherit; }
.theme-form .gform-theme--orbital .gf_step_label { color: var(--muted); }
.theme-form .gform-theme--orbital .gf_step_active .gf_step_label { color: var(--black); font-weight: 600; }
.theme-form .gform-theme--orbital .gf_step_completed .gf_step_label { color: var(--ink); }

/* Buttons: match the theme's .btn (Montserrat, uppercase, slanted edge) */
.theme-form .gform-theme.gform-theme--framework.gform_wrapper .gform_button,
.theme-form .gform-theme.gform-theme--framework.gform_wrapper .gform_next_button {
	position: relative; display: inline-flex; align-items: center; gap: .6em;
	padding: 0 34px 0 24px; min-width: 0; color: #fff; background: var(--red); border: 0;
	clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
	transition: background .25s var(--ease), transform .25s var(--ease);
}
.theme-form .gform-theme.gform-theme--framework.gform_wrapper .gform_button::after,
.theme-form .gform-theme.gform-theme--framework.gform_wrapper .gform_next_button::after {
	content: "\2192" !important; position: static !important; display: inline-block !important; margin: 0 !important;
	font-size: 1.1em; line-height: 1; transform: translateY(-1px); transition: transform .25s var(--ease);
}
.theme-form .gform-theme.gform-theme--framework.gform_wrapper .gform_button:hover,
.theme-form .gform-theme.gform-theme--framework.gform_wrapper .gform_button:focus-visible,
.theme-form .gform-theme.gform-theme--framework.gform_wrapper .gform_next_button:hover,
.theme-form .gform-theme.gform-theme--framework.gform_wrapper .gform_next_button:focus-visible {
	background: var(--red-dark); color: #fff; transform: translateY(-2px);
}
.theme-form .gform-theme.gform-theme--framework.gform_wrapper .gform_button:hover::after,
.theme-form .gform-theme.gform-theme--framework.gform_wrapper .gform_next_button:hover::after { transform: translate(4px, -1px); }

/* Back button: outlined, same height as Next */
.theme-form .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button.gform_previous_button {
	display: inline-flex; align-items: center; gap: .5em; padding: 0 22px; min-width: 0;
	background: #fff; border: 2px solid var(--red); box-shadow: none; color: var(--ink);
	transition: background .25s var(--ease), color .25s var(--ease);
}
.theme-form .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button.gform_previous_button::before {
	content: "\2190" !important; position: static !important; display: inline-block !important; margin: 0 !important;
	font-size: 1.1em; line-height: 1; transform: translateY(-1px);
}
.theme-form .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button.gform_previous_button:hover,
.theme-form .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button.gform_previous_button:focus-visible {
	background: var(--red); border-color: var(--red); color: #fff;
}

.theme-form .gform-theme--orbital .gform_footer,
.theme-form .gform-theme--orbital .gform-page-footer {
	display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; padding-top: 24px;
	border-top: 2px solid var(--line);
}

/* Confirmation */
.theme-form .gform_confirmation_message { background: #fff; padding: 24px 28px; border-left: 6px solid var(--red); font-size: 17px; line-height: 1.55; }
.theme-form .gform_confirmation_message p { margin: 0 0 .5em; }
.theme-form .gform_confirmation_message p:last-child { margin-bottom: 0; }
.theme-form .gform_confirmation_message a { color: var(--red); font-weight: 700; }
.theme-form--empty { background: var(--grey); padding: 24px; border-left: 6px solid var(--red); }
.band--grey .theme-form--empty { background: #fff; }

/* Forms placed on the dark bands (black / charcoal) */
.band--black .theme-form .gform-theme--orbital,
.band--charcoal .theme-form .gform-theme--orbital {
	--gf-ctrl-label-color-primary: #fff !important;
	--gf-ctrl-label-color-secondary: #fff !important;
	--gf-ctrl-label-color-tertiary: rgba(255, 255, 255, .7);
	--gf-ctrl-desc-color: rgba(255, 255, 255, .75);
	--gf-field-pg-prog-color: #fff;
	color: #fff;
}
.band--black .theme-form .gsection_title, .band--charcoal .theme-form .gsection_title,
.band--black .theme-form .gf-subheading, .band--charcoal .theme-form .gf-subheading,
.band--black .theme-form .gf_step_label, .band--charcoal .theme-form .gf_step_label { color: #fff; }

@media (max-width: 640px) {
	.theme-form .gform-theme--orbital .gf_page_steps { gap: 10px; }
	.theme-form .gform-theme--orbital .gf_step:not(.gf_step_active) .gf_step_label { display: none; }
	.theme-form .gform-theme.gform-theme--framework.gform_wrapper .gform_button,
	.theme-form .gform-theme.gform-theme--framework.gform_wrapper .gform_next_button { justify-content: center; }
	.theme-form .gform-theme--orbital .gform_footer .gform_button { width: 100%; }
}

