/* Manchester Wall Insulation — brand layout (no JS). */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	color: #1F2937;
	background: #FFFFFF;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
/* Two-green system: bright #4CAF50 for accents on dark surfaces;
   deep #2E7D32 (5.1:1 on white) for any green text/fill on light surfaces. */
a { color: #2E7D32; }
a:hover { color: #1F5C24; }
::selection { background: #4CAF50; color: #0B1320; }

/* Keyboard focus — visible ring on every interactive element */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
label:focus-visible {
	outline: 2px solid #2E7D32;
	outline-offset: 2px;
	border-radius: 4px;
}

/* Skip to content (a11y) */
.skip-link {
	position: absolute;
	left: 12px;
	top: -48px;
	z-index: 100;
	background: #4CAF50;
	color: #0B1320;
	font-weight: 700;
	font-size: 14px;
	padding: 10px 16px;
	border-radius: 0 0 8px 8px;
	text-decoration: none;
	transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
	html { scroll-behavior: auto; }
}
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 40; background: #0B1320; border-bottom: 1px solid rgba(255,255,255,0.1); }
.nav-inner {
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
	min-height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; }
.nav-link { text-decoration: none; font-size: 14px; padding: 8px 2px; color: rgba(255,255,255,0.88); font-weight: 600; }
.nav-link:hover { color: #4CAF50; }
.nav-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 20px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	border-radius: 10px;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	box-shadow: 0 2px 10px rgba(76,175,80,0.22);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(76,175,80,0.32); }
.nav-burger { display: none; }
.mobile-nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
/* the hidden checkbox catches keyboard focus (Space toggles the menu) —
   surface that focus on the visible burger label */
input.mobile-nav-toggle:focus-visible ~ .site-header .nav-burger {
	outline: 2px solid #4CAF50;
	outline-offset: 2px;
	border-radius: 6px;
}
.hero {
	background: #0B1320;
	color: #FFFFFF;
	padding: 88px 0 80px;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
/* atmospheric depth: a soft green glow + a fainter indigo counterpart,
   radial so they read as ambience, not a stripe. pure CSS, no images. */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(720px 460px at 78% 18%, rgba(76,175,80,0.14), transparent 62%),
		radial-gradient(640px 520px at 8% 88%, rgba(59,90,166,0.12), transparent 65%);
	pointer-events: none;
	z-index: -1;
}
.hero .wrap { position: static; }
/* Featured hero image as a full-bleed background layer.
   The AI emits Tailwind classes (absolute inset-0) that don't compile here,
   so we style the hero image directly. The hero creates a stacking context
   (isolation:isolate), so z-index:-1 keeps it behind the text. */
.hero img.absolute,
.hero img[src*="featured"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: -1;
	opacity: 0.30;
}
.hero img.absolute + *,
.hero img[src*="featured"] + * { position: relative; }
.hero-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 64px;
	align-items: center;
}
.eyebrow {
	display: inline-block;
	color: #4CAF50;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 14px;
}
.hero h1 {
	margin: 0 0 20px;
	font-size: clamp(34px, 5.4vw, 58px);
	line-height: 1.04;
	letter-spacing: -0.035em;
	font-weight: 700;
	text-wrap: balance;
	color: #FFFFFF;
}
.hero .lede {
	margin: 0 0 34px;
	max-width: 36em;
	font-size: 19px;
	line-height: 1.65;
	color: #CBD3E1;
	text-wrap: pretty;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 13px 24px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: -0.005em;
	text-decoration: none;
	transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.btn:active { transform: scale(0.96); }
.btn-primary {
	background: #2E7D32;
	color: #FFFFFF;
	box-shadow: 0 1px 2px rgba(11,19,32,0.18), 0 8px 22px rgba(46,125,50,0.28);
}
.btn-primary:hover { filter: brightness(1.1); color: #FFFFFF; box-shadow: 0 2px 4px rgba(11,19,32,0.18), 0 12px 28px rgba(46,125,50,0.34); }
.btn-ghost {
	background: transparent;
	color: #FFFFFF;
	box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); color: #FFFFFF; }
.hero-panel {
	background: rgba(22, 32, 51, 0.66);
	border: 1px solid rgba(255,255,255,0.10);
	border-radius: 20px;
	padding: 30px 32px;
	backdrop-filter: blur(10px);
	box-shadow: 0 24px 60px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.06);
}
.hero-panel h2 {
	margin: 0 0 18px;
	color: #FFFFFF;
	font-size: 18px;
}
.stat {
	display: flex;
	gap: 12px;
	padding: 12px 0;
	border-top: 1px solid rgba(255,255,255,0.08);
}
.stat:first-of-type { border-top: 0; padding-top: 0; }
.stat b { color: #4CAF50; font-size: 22px; font-variant-numeric: tabular-nums; min-width: 3.2em; }
.stat span { color: #E5E7EB; font-size: 14px; line-height: 1.45; }
.band { padding: 88px 0; }
.band-mist { background: #F4F6F7; }
.band h2 {
	margin: 0 0 14px;
	font-size: clamp(27px, 3.1vw, 36px);
	letter-spacing: -0.028em;
	line-height: 1.12;
	color: #0B1320;
	text-wrap: balance;
}
.band .intro {
	margin: 0 0 40px;
	max-width: none;
	color: #374151;
	font-size: 18px;
	line-height: 1.66;
	text-wrap: pretty;
}
.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.card {
	background: #FFFFFF;
	border: 1px solid rgba(17,24,39,0.08);
	border-radius: 18px;
	padding: 28px;
	box-shadow: 0 1px 2px rgba(11,19,32,0.05), 0 10px 30px rgba(11,19,32,0.05);
}
.card h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -0.015em; color: #0B1320; }
.card p { margin: 0; color: #374151; line-height: 1.62; font-size: 15px; }
.mark {
	width: 44px; height: 44px; border-radius: 12px;
	background: #0B1320; color: #4CAF50;
	display: grid; place-items: center;
	font-weight: 700; font-size: 14px; letter-spacing: 0.02em; margin-bottom: 18px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.service-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 2px 4px rgba(11,19,32,0.05), 0 20px 44px rgba(11,19,32,0.10);
	border-color: rgba(46,125,50,0.30);
	color: inherit;
}
.service-card .go { margin-top: 16px; color: #2E7D32; font-weight: 600; font-size: 14px; }
.cta-band {
	background: #0B1320;
	color: #FFFFFF;
	padding: 80px 0;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(560px 300px at 82% 30%, rgba(76,175,80,0.16), transparent 60%);
	pointer-events: none;
	z-index: -1;
}
.cta-band h2 { color: #FFFFFF; margin: 0 0 14px; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.025em; }
.cta-band p { color: #CBD3E1; margin: 0 0 28px; max-width: 36em; font-size: 17px; line-height: 1.6; }
.cta-band .wrap { position: relative; }
.site-footer { color: rgba(255,255,255,0.78); }
.footer-inner { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 36px 0; }
.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr repeat(3, 1fr);
	gap: 28px;
	padding-bottom: 28px;
	margin-bottom: 22px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col p { margin: 0; font-size: 14px; line-height: 1.6; }
.footer-col-title {
	margin: 0 0 10px;
	color: #FFFFFF;
	font-family: var(--font-heading), Montserrat, sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.footer-col a { color: #4CAF50; text-decoration: none; }
.footer-col a:hover { color: #81C784; }
.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	align-items: center;
}
.footer-legal a { color: #FFFFFF; text-decoration: none; }
.footer-legal a:hover { color: #4CAF50; }
.footer-legal span { margin: 0 8px; opacity: 0.5; }
.article .band h2 { margin-top: 0; }
.band p,
.band li {
	font-size: 16px;
	line-height: 1.7;
	color: #1F2937;
	text-wrap: pretty;
}
.band ul, .band ol { padding-left: 1.2em; }
.band li { margin: 0.35em 0; }
.band a.cta,
.band a.btn { color: #FFFFFF; }

/* Tables — the AI emits bare <table> inside .table-wrap; style them properly */
.table-wrap {
	overflow-x: auto;
	margin: 24px 0 32px;
	border: 1px solid rgba(17,24,39,0.10);
	border-radius: 14px;
	background: #FFFFFF;
	box-shadow: 0 1px 2px rgba(11,19,32,0.04), 0 8px 24px rgba(11,19,32,0.05);
}
.table-wrap table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
}
.table-wrap thead th {
	background: #0B1320;
	color: #FFFFFF;
	font-family: var(--font-heading), Montserrat, sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-align: left;
	padding: 14px 18px;
}
.table-wrap tbody td {
	padding: 13px 18px;
	border-top: 1px solid #E5E7EB;
	color: #1F2937;
	vertical-align: top;
}
.table-wrap tbody tr:nth-child(even) { background: #F8FAF8; }
.table-wrap tbody tr:hover { background: #F0F7F1; }
.table-wrap tbody td:first-child { font-weight: 600; color: #0B1320; }

/* Lists — roomier, brand-tinted markers */
.band ul li,
.band ol li {
	margin: 0.5em 0;
	line-height: 1.65;
}
.band ul { list-style: none; padding-left: 0; }
.band ul li {
	padding-left: 1.4em;
	position: relative;
}
.band ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 7px;
	height: 7px;
	border-radius: 2px;
	background: #2E7D32;
}
.band ol { padding-left: 1.4em; }
.band ol li::marker { color: #2E7D32; font-weight: 700; }
.crumbs {
	font-size: 13px;
	color: #E5E7EB;
	margin: 0 0 16px;
}
.crumbs a { color: #E5E7EB; text-decoration: none; }
.crumbs a:hover { color: #4CAF50; }
.hero.page-hero { padding: 72px 0 64px; }
.hero.page-hero .lede { margin-bottom: 26px; font-size: 18px; }
.form-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
	gap: 28px;
	align-items: start;
}
.form-card {
	background: #FFFFFF;
	border-radius: 24px;
	padding: 12px;
	box-shadow: 0 2px 4px rgba(11,19,32,0.05), 0 24px 56px rgba(11,19,32,0.10);
	border: 1px solid rgba(17,24,39,0.07);
}
.form-card-head,
.contact-form { padding: 20px 20px 0; }
.contact-form { padding: 8px 20px 24px; }
.form-card-head h2 { margin: 0 0 8px; }
.form-card-head .intro { margin: 0 0 8px; }
.req { color: #2E7D32; font-weight: 700; }
.form-alert {
	display: none;
	margin: 8px 20px 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: #FEF2F2;
	color: #7F1D1D;
	font-size: 14px;
	line-height: 1.45;
	outline: 1px solid #FECACA;
}
#form-error:target { display: block; }
.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.field label { font-weight: 600; font-size: 14px; color: #0B1320; }
.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid #D1D5DB;
	border-radius: 12px;
	font: inherit;
	color: #0B1320;
	background: #F8FAF8;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	box-sizing: border-box;
}
.field textarea { min-height: 148px; resize: vertical; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: #9CA3AF; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #9CA3AF; background: #FFFFFF; }
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: #2E7D32;
	background: #FFFFFF;
	box-shadow: 0 0 0 4px rgba(46,125,50,0.18);
}
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
	border-color: #DC2626;
	background: #FFF7F7;
}
.field input:user-invalid:focus,
.field select:user-invalid:focus,
.field textarea:user-invalid:focus {
	box-shadow: 0 0 0 4px rgba(220,38,38,0.14);
}
.select-wrap { position: relative; }
.select-wrap select {
	appearance: none;
	padding-right: 42px;
	cursor: pointer;
}
.select-wrap::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid #0B1320;
	border-bottom: 2px solid #0B1320;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
.form-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px 18px;
	margin-top: 8px;
}
.btn-submit {
	min-width: 180px;
	border: 0;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(46,125,50,0.24);
}
.btn-submit:hover { filter: brightness(1.05); }
.form-aside { margin: 0; }
.next-card {
	background: #0B1320;
	color: #E5E7EB;
	border-radius: 24px;
	padding: 28px;
	box-shadow: 0 16px 40px rgba(11,19,32,0.18);
}
.next-card .eyebrow { color: #4CAF50; }
.next-card h3 { margin: 0 0 18px; color: #FFFFFF; font-size: 22px; }
.steps { list-style: none; margin: 0 0 22px; padding: 0; }
.steps li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px 0;
	border-top: 1px solid rgba(255,255,255,0.08);
	font-size: 15px;
	line-height: 1.5;
}
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps b {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: #4CAF50;
	color: #0B1320;
	display: grid;
	place-items: center;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}
.next-card .area { margin: 0 0 18px; font-size: 14px; color: #CBD5E1; }
.next-link {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: #4CAF50;
	font-weight: 600;
	text-decoration: none;
}
.next-link:hover { color: #81C784; }
.note { font-size: 13px; color: #6B7280; line-height: 1.5; }
.note a { text-underline-offset: 2px; }
.sitemap-list {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 1;
}
.sitemap-list li {
	padding: 12px 0;
	border-bottom: 1px solid #E5E7EB;
	font-size: 16px;
}
.sitemap-list li:last-child { border-bottom: 0; }
.sitemap-list a {
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	min-height: 44px;
	align-items: center;
}
.sitemap-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal h2 { margin-top: 32px; }
@media (max-width: 860px) {
	.hero-grid, .cards, .form-grid, .field-row, .footer-grid { grid-template-columns: 1fr; }
	.hero { padding: 48px 0 40px; }
	.nav-burger {
		display: grid; place-items: center;
		width: 44px; height: 44px; color: #fff; cursor: pointer;
	}
	.nav-links {
		display: none;
		position: absolute; left: 0; right: 0; top: 72px;
		background: #0B1320;
		padding: 12px 20px 20px;
		flex-direction: column; align-items: stretch;
	}
	.mobile-nav-toggle:checked ~ .site-header .nav-links { display: flex; }
}
