/* ==========================================================================
   CGS Carpentry: Editorial Serif × CGS brand (navy/green)
   Mobile-first. Breakpoints: 640 / 768 / 1024 / 1280.
   ========================================================================== */

:root {
	--paper: #faf8f4;
	--white: #ffffff;
	--ink: #1c1a17;
	--navy: #1e284d;
	--navy-deep: #151c38;
	--green: #69c73f;
	--green-deep: #2f7a22;
	--rule: #e8e2d6;
	--muted: #5c574f;
	--muted-navy: #c3c6d0;
	--danger: #b3261e;

	--f-display: "Playfair Display", Georgia, "Times New Roman", serif;
	--f-body: "Source Serif 4", Georgia, "Times New Roman", serif;
	--f-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--step--1: 0.9375rem;
	--step-0: clamp(1.0625rem, 0.3vw + 1rem, 1.125rem);
	--step-1: clamp(1.25rem, 0.6vw + 1.1rem, 1.375rem);
	--step-2: clamp(1.5rem, 1.2vw + 1.2rem, 1.875rem);
	--step-3: clamp(2rem, 2.6vw + 1.3rem, 3rem);
	--step-4: clamp(2.5rem, 4.2vw + 1.2rem, 4.5rem);

	--gutter: clamp(16px, 5vw, 48px);
	--section: clamp(64px, 9vw, 112px);
	--radius: 2px;
	--ease: cubic-bezier(0.25, 1, 0.5, 1);
	--header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-variant-numeric: lining-nums;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: var(--step-0);
	line-height: 1.65;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, video, iframe, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--green-deep); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
/* Focus on dark (navy) surfaces: green ring so keyboard users can always see it */
.site-header :focus-visible, .hero :focus-visible, .process :focus-visible, .feature__panel :focus-visible,
.site-footer :focus-visible, .call-bar :focus-visible, .aside-card :focus-visible, .nav-open .site-nav :focus-visible { outline-color: var(--green); }
.btn--green:focus-visible { outline-color: var(--white); }
h1, h2, h3, h4 { font-variant-numeric: lining-nums; font-family: var(--f-display); color: var(--navy); font-weight: 700; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--step-4); line-height: 1.04; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 600; line-height: 1.25; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--ink); }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
figcaption { font-family: var(--f-ui); font-size: 0.8125rem; font-weight: 500; color: var(--muted); margin-top: 10px; }

.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	background: var(--navy); color: var(--white); padding: 12px 16px; font-family: var(--f-ui); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Layout foundation ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.eyebrow--green { color: var(--green) !important; }
.eyebrow {
	font-family: var(--f-ui); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--green-deep); margin: 0 0 18px;
}

/* ---------- Icons (hard size limits) ---------- */
.icon { width: 20px; height: 20px; max-width: 24px; max-height: 24px; flex: none; }
.icon--list { width: 24px; height: 24px; }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px;
	font-family: var(--f-ui); font-size: 1rem; font-weight: 600; line-height: 1.2; white-space: nowrap;
	border: 1px solid transparent; border-radius: var(--radius); text-decoration: none; cursor: pointer;
	transition: transform 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-deep); color: var(--white); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 1.0625rem; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.9375rem; }
.btn--green { background: var(--green); color: var(--navy); }
.btn--green:hover { background: #7fd65a; color: var(--navy); transform: translateY(-2px); }
.btn--green:active { transform: translateY(0); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--text { background: none; color: var(--navy); padding-inline: 4px; }
.btn--text:hover { color: var(--green-deep); }
.btn .icon { width: 18px; height: 18px; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
	font-family: var(--f-ui); font-weight: 600; font-size: 1rem; color: var(--navy); text-decoration: none;
}
.link-arrow span { position: relative; }
.link-arrow span::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--green-deep);
	transform-origin: left; transition: transform 220ms var(--ease);
}
.link-arrow:hover span::after { transform: scaleX(0.35); }
.link-arrow .icon { color: var(--green-deep); transition: transform 220ms var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { color: var(--navy); }

/* ---------- Header (navy, like the magnet) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.08); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 44px; width: auto; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-phone {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px;
	font-family: var(--f-ui); font-weight: 600; font-size: 0.9375rem; color: var(--white); text-decoration: none;
}
.header-phone:hover { color: var(--green); }
.header-phone span { display: none; }
.header-phone .icon { color: var(--green); }
.header-cta { display: none; }
.nav-toggle {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	background: none; border: 0; color: var(--white); cursor: pointer; padding: 0;
}
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline; }
.nav-toggle .icon { width: 22px; height: 22px; }

.site-nav { display: none; }
.nav-open .site-nav {
	display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
	background: var(--navy); padding: 24px var(--gutter) 40px; overflow-y: auto;
}
.site-nav__list li { border-bottom: 1px solid rgba(255,255,255,0.12); }
.site-nav__list a {
	display: flex; align-items: center; min-height: 56px;
	font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; color: var(--white); text-decoration: none;
}
.site-nav__list a:hover { color: var(--green); }
.site-nav__mobile-extra { display: grid; gap: 12px; margin-top: 28px; }
.site-nav__mobile-extra .btn { width: 100%; }
body.nav-open { overflow: hidden; }

@media (min-width: 640px) {
	.header-phone span { display: inline; }
	.header-phone .icon { width: 18px; height: 18px; }
}
@media (min-width: 768px) {
	.brand img { height: 56px; }
	:root { --header-h: 80px; }
	.header-cta { display: inline-flex; }
}
@media (min-width: 1100px) {
	.nav-toggle { display: none; }
	.site-nav, .nav-open .site-nav { display: block; position: static; padding: 0; background: none; overflow: visible; }
	.site-nav__list { display: flex; gap: 4px; }
	.site-nav__list li { border: 0; }
	.site-nav__list a {
		min-height: 44px; padding: 0 12px; font-family: var(--f-ui); font-size: 0.9375rem; font-weight: 500; color: var(--white); position: relative;
	}
	.site-nav__list a::after {
		content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; background: var(--green);
		transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease);
	}
	.site-nav__list a:hover { color: var(--white); }
	.site-nav__list a:hover::after, .site-nav__list .current-menu-item a::after { transform: scaleX(1); }
	.site-nav__mobile-extra { display: none; }
	.site-header__actions { margin-left: 0; gap: 16px; }
	.site-nav { margin-left: auto; }
	body.nav-open { overflow: auto; }
}

/* ---------- Photos ---------- */
picture { display: block; }
picture img { width: 100%; height: 100%; object-fit: cover; }
.photo > picture { position: absolute; inset: 0; }
.photo, .ba { position: relative; aspect-ratio: var(--ratio, 4 / 3); overflow: hidden; background: var(--rule); }
.photo img, .ba img { width: 100%; height: 100%; object-fit: cover; }
.photo--empty {
	display: grid; place-items: center; background: #f1ede5;
	background-image: repeating-linear-gradient(135deg, transparent 0 22px, rgba(30, 40, 77, 0.035) 22px 23px);
	border: 1px solid var(--rule);
}
.photo--empty span { font-family: var(--f-ui); font-size: 0.8125rem; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; padding: 8px 12px; background: var(--paper); }

/* Before / after */
.ba { --pos: 50%; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); pointer-events: none; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__range:focus-visible + .ba__tag { outline: 2px solid var(--white); }
.ba__tag {
	position: absolute; bottom: 12px; font-family: var(--f-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
	background: var(--navy); color: var(--white); padding: 6px 10px; pointer-events: none;
}
.ba__tag--before { left: 12px; }
.ba__tag--after { right: 12px; }

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head__rule { display: block; height: 1px; background: var(--navy); width: 72px; margin-bottom: 28px; transform-origin: left; }
.section-head__intro { font-size: var(--step-1); line-height: 1.5; color: var(--muted); margin: 0; }
.section-head .link-arrow { margin-top: 20px; }
@media (min-width: 1024px) {
	.section-head--split { max-width: none; display: grid; grid-template-columns: 5fr 6fr; column-gap: 64px; align-items: end; }
	.section-head--split .section-head__rule { grid-column: 1 / -1; }
	.section-head--split h2 { margin: 0; }
}

/* ---------- 1. Hero (navy, photo bleeds right) ---------- */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero__media { position: relative; aspect-ratio: 4 / 3; }
.hero__media picture { position: absolute; inset: 0; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,40,77,0) 55%, rgba(30,40,77,0.55) 100%); }
.hero__inner { position: relative; padding-block: 40px 48px; }
.hero__copy { max-width: 600px; }
.hero__title { color: var(--white); font-size: clamp(2.75rem, 5.2vw + 1rem, 5.25rem); line-height: 1.02; margin-bottom: 24px; }
.hero__title em { color: var(--green); font-weight: 600; display: block; }
.hero__sub { font-size: var(--step-1); line-height: 1.5; color: #e6e8ef; max-width: 34ch; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero__phone {
	display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
	font-family: var(--f-ui); font-weight: 600; font-size: 1.0625rem; color: var(--white); text-decoration: none;
	border-bottom: 2px solid rgba(105,199,63,0.6);
}
.hero__phone:hover { color: var(--green); }
.hero__phone .icon { color: var(--green); width: 18px; height: 18px; }
.hero__strip { position: relative; background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,0.08); }
.hero__services {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; padding-block: 16px;
	font-family: var(--f-ui); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green);
}
.hero__services li { display: inline-flex; align-items: center; }
.hero__services { gap: 8px 22px; }
@media (min-width: 1024px) {
	.hero__services { gap: 0; }
	.hero__services li + li::before { content: ""; width: 10px; height: 2px; background: rgba(255,255,255,0.55); margin-inline: 14px; }
}
@media (min-width: 1024px) {
	.hero { min-height: min(760px, calc(100vh - var(--header-h))); display: grid; grid-template-rows: 1fr auto; }
	.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 48vw; aspect-ratio: auto; }
	.hero__media::after { background: linear-gradient(90deg, var(--navy) 0%, rgba(30,40,77,0) 22%); }
	.hero__inner { display: flex; align-items: center; padding-block: 88px 96px; }
	.hero__copy { max-width: 46%; }
	.hero__strip { z-index: 1; }
	.hero__services { justify-content: space-between; }
	/* Magnet-style inset frame */
	.hero::before { content: ""; position: absolute; inset: 20px 20px 72px 20px; border: 1px solid rgba(255,255,255,0.35); z-index: 1; pointer-events: none; }
}

/* ---------- 2. Problem ---------- */
.problem__grid { display: grid; gap: 40px; }
.problem__media .photo, .problem__media picture { aspect-ratio: 4 / 5; overflow: hidden; }
.problem__media picture { max-height: 520px; }
.pains { display: grid; gap: 0; }
.pain { padding: 26px 0; border-top: 1px solid var(--rule); }
.pain__title { font-size: var(--step-2); margin-bottom: 8px; }
.pain__text { color: var(--muted); margin-bottom: 12px; max-width: 48ch; }
.pain__answer { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-weight: 600; color: var(--ink); }
.pain__answer .icon { color: var(--green-deep); margin-top: 4px; }
@media (min-width: 1024px) {
	.problem__grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
	.problem__media { position: sticky; top: calc(var(--header-h) + 32px); }
	.problem__media picture { max-height: none; }
}

/* ---------- 3. Proof ---------- */
.quotes { display: grid; gap: 40px; }
.quote { margin: 0; padding-left: 28px; border-left: 3px solid var(--green); }
.quote p { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: var(--step-2); line-height: 1.35; color: var(--navy); }
.quote footer { font-family: var(--f-ui); font-size: 0.9375rem; font-weight: 600; color: var(--muted); }
@media (min-width: 1024px) { .quotes { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- 4. Process (navy band) ---------- */
.process { background: var(--navy); color: #e6e8ef; }
.process h2, .process h3 { color: var(--white); }
.process .section-head__rule { background: var(--green); }
.process .section-head__intro { color: var(--muted-navy); }
.steps { display: grid; gap: 0; counter-reset: s; }
.step { position: relative; padding: 28px 0 28px 76px; border-top: 1px solid rgba(255,255,255,0.15); }
.step__num {
	position: absolute; left: 0; top: 22px; width: 52px; height: 52px; display: grid; place-items: center;
	font-family: var(--f-display); font-size: 1.75rem; font-weight: 700; line-height: 1; color: var(--navy); background: var(--green);
}
.step__title { font-size: var(--step-2); margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted-navy); max-width: 40ch; }
.process__cta { margin-top: 48px; }
@media (min-width: 1024px) {
	.steps { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
	.step { padding: 0; border-top: 0; }
	.step::before { content: ""; position: absolute; top: 28px; left: 72px; right: -24px; height: 1px; background: rgba(255,255,255,0.25); }
	.step:last-child::before { display: none; }
	.step__num { position: relative; top: auto; margin-bottom: 24px; width: 56px; height: 56px; font-size: 2rem; }
}

/* ---------- Services bento ---------- */
.bento { display: grid; gap: 20px; }
.tile { background: var(--white); border: 1px solid var(--rule); display: flex; flex-direction: column; transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -18px rgba(30, 40, 77, 0.45); }
@media (prefers-reduced-motion: reduce) { .tile:hover { transform: none; } }
.tile__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--rule); }
.tile__media picture { position: absolute; inset: 0; }
.tile__media picture img { transition: transform 700ms var(--ease); }
.tile:hover .tile__media picture img { transform: scale(1.03); }
.tile__body { padding: 24px 24px 12px; border-top: 4px solid var(--navy); }
.tile__title { font-size: var(--step-2); margin-bottom: 8px; }
.tile__list a {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 8px 0;
	font-family: var(--f-ui); font-size: 1rem; font-weight: 500; color: var(--ink); text-decoration: none; border-top: 1px solid var(--rule);
}
.tile__list a .icon { color: var(--green-deep); transition: transform 200ms var(--ease); }
.tile__list a:hover { color: var(--green-deep); }
.tile__list a:hover .icon { transform: translateX(4px); }
@media (min-width: 768px) {
	.bento { grid-template-columns: repeat(12, 1fr); }
	.tile--1 { grid-column: span 7; }
	.tile--2 { grid-column: span 5; }
	.tile--3 { grid-column: span 5; grid-row: span 2; }
	.tile--3 .tile__media { aspect-ratio: auto; flex: 1; min-height: 320px; }
	.tile--4, .tile--5 { grid-column: span 7; }
	.tile--4, .tile--5 { flex-direction: row; }
	.tile--4 .tile__media, .tile--5 .tile__media { aspect-ratio: auto; flex: 0 0 44%; }
	.tile--4 .tile__body, .tile--5 .tile__body { border-top: 0; border-left: 4px solid var(--navy); flex: 1; }
}

/* Handyman callout: slim strip right under the hero */
.handy-wrap { padding-top: clamp(24px, 4vw, 40px); }
.handy-wrap + .problem { padding-top: clamp(48px, 7vw, 88px); }
.handy {
	display: grid; gap: 12px 40px; align-items: center;
	padding: 24px 24px 20px; background: var(--white); border: 1px solid var(--rule); border-left: 6px solid var(--green);
}
.handy__title { font-size: var(--step-1); margin-bottom: 6px; }
.handy p { margin: 0; color: var(--muted); max-width: 62ch; }
.handy__link { justify-self: start; }
@media (min-width: 768px) { .handy { grid-template-columns: 1fr auto; padding: 28px 32px; } }

/* ---------- 5. Details mosaic ---------- */
.work { background: var(--white); border-block: 1px solid var(--rule); }
.mosaic { display: grid; gap: 16px; }
.mosaic .photo { aspect-ratio: 16 / 10; }
@media (min-width: 768px) {
	.mosaic { grid-template-columns: repeat(12, 1fr); gap: 20px; }
	.mosaic__item--1 { grid-column: 1 / 9; }
	.mosaic__item--2 { grid-column: 9 / 13; }
	.mosaic__item--2 .photo { aspect-ratio: auto; height: 100%; }
	.mosaic__item--3 { grid-column: 1 / 5; }
	.mosaic__item--3 .photo { aspect-ratio: auto; height: 100%; }
	.mosaic__item--4 { grid-column: 5 / 13; }
}

/* ---------- Drop ceilings feature (full-bleed photo + navy panel) ---------- */
.feature { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.feature__panel .btn { white-space: normal; text-align: left; }
.feature__bg { position: relative; aspect-ratio: 4 / 3; }
.feature__bg picture { position: absolute; inset: 0; }
.feature__inner { position: relative; }
.feature__panel { background: var(--navy); color: #e6e8ef; padding: 40px 28px 44px; margin: -64px 0 0; position: relative; }
.feature__panel h2 { color: var(--white); max-width: 16ch; }
.feature__panel > p { max-width: 46ch; }
.feature__panel .section-head__rule { background: var(--green); margin-bottom: 24px; }
.feature__panel .checks .icon { color: var(--green); }
.checks { display: grid; gap: 12px; margin: 28px 0 32px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: var(--green-deep); margin-top: 5px; }
.checks--tight { margin: 28px 0 0; gap: 10px; }
@media (min-width: 1024px) {
	.feature { min-height: 720px; align-items: center; }
	.feature__bg { position: absolute; inset: 0; aspect-ratio: auto; }
	.feature__inner { display: flex; justify-content: flex-end; padding-block: 96px; }
	.feature__panel { margin: 0; width: 520px; padding: 56px 52px; }
}

/* ---------- Areas ---------- */
.areas__grid { display: grid; gap: 40px; }
.areas__media { margin-top: 8px; }
.areas__media picture { aspect-ratio: 3 / 2; overflow: hidden; }
.towns { display: grid; gap: 36px; align-content: start; }
.index__label {
	font-family: var(--f-ui); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--muted); margin: 0 0 8px; padding-bottom: 12px; border-bottom: 2px solid var(--navy);
}
.towns ul { display: flex; flex-wrap: wrap; gap: 0 22px; }
.towns li a {
	display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-display); font-size: 1.125rem; font-weight: 600;
	color: var(--navy); text-decoration: none; border-bottom: 1px solid transparent;
}
.towns li a:hover { color: var(--green-deep); border-bottom-color: var(--green-deep); }
.towns__group--core li a { font-size: 1.5rem; }
.towns__group--hamptons .index__label { border-bottom-color: var(--green); }
@media (min-width: 1024px) { .areas__grid { grid-template-columns: 5fr 7fr; gap: 72px; } }

/* ---------- 6. Action ---------- */
.action__grid { display: grid; gap: 48px; }
.action__copy > p { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 36ch; }
.action__phone {
	display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 8px;
	font-family: var(--f-display); font-size: var(--step-3); font-weight: 700; color: var(--navy); text-decoration: none; line-height: 1; font-variant-numeric: lining-nums;
}
.action__phone .icon { width: 24px; height: 24px; color: var(--green-deep); }
.action__phone:hover { color: var(--green-deep); }
.action__form { background: var(--white); border: 1px solid var(--rule); border-top: 6px solid var(--green); padding: clamp(24px, 4vw, 44px); }
@media (min-width: 1024px) { .action__grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } }

/* ---------- Trust row + urgent line ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-family: var(--f-ui); font-size: 0.875rem; font-weight: 600; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { width: 18px; height: 18px; color: var(--green); }
.trust--hero { color: #e6e8ef; }
.trust--hero a { color: #e6e8ef; }
.urgent { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; padding: 14px 16px; background: #fbeeee; border-left: 3px solid var(--danger); font-size: var(--step--1); }
.urgent .icon { color: var(--danger); margin-top: 3px; }
.action__sms { margin-top: 12px; }
.field input[type=file] { min-height: auto; padding: 10px; background: var(--paper); }

/* ---------- Form ---------- */
.quote-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.quote-form legend { font-family: var(--f-display); font-size: var(--step-2); font-weight: 600; color: var(--navy); margin-bottom: 20px; padding: 0; }
.quote-form__progress { font-family: var(--f-ui); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.quote-form__bar { height: 3px; background: var(--rule); margin-bottom: 28px; }
.quote-form__bar span { display: block; height: 100%; width: 33.33%; background: var(--green-deep); transition: width 300ms var(--ease); }
.quote-form__progress, .quote-form__bar { display: none; }
.js .quote-form__progress, .js .quote-form__bar { display: block; }
.quote-form__step + .quote-form__step { margin-top: 40px; }
.js .quote-form__step + .quote-form__step { margin-top: 0; }
.js .quote-form__step:not(.is-active) { display: none; }
.quote-form__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.quote-form__nav .btn--primary:only-child { margin-left: auto; }
.quote-form__step [data-prev], .quote-form__step [data-next] { display: none; }
.js .quote-form__step [data-prev], .js .quote-form__step [data-next] { display: inline-flex; }

.choice-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
	display: flex; align-items: center; min-height: 52px; padding: 12px 16px; border: 1px solid var(--rule); border-radius: var(--radius);
	font-family: var(--f-ui); font-size: 0.9375rem; font-weight: 500; color: var(--ink); background: var(--paper);
	transition: border-color 150ms, background-color 150ms;
}
.choice:hover span { border-color: var(--navy); }
.choice input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }

.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-family: var(--f-ui); font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.field__opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
	background: var(--white); border: 1px solid #b9b1a3; border-radius: var(--radius);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.field__hint { font-size: var(--step--1); color: var(--muted); margin: -4px 0 0; }
.is-invalid { border-color: var(--danger) !important; }
.form-error { font-family: var(--f-ui); font-size: 0.875rem; color: var(--danger); margin: 8px 0 0; }

.form-note { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--rule); background: var(--paper); margin-bottom: 20px; }
.form-note p { margin: 0; }
.form-note--ok { border-left: 3px solid var(--green-deep); }
.form-note--ok .icon { color: var(--green-deep); width: 22px; height: 22px; }
.form-note--error { border-left: 3px solid var(--danger); }

/* ---------- Footer (navy) ---------- */
.site-footer { background: var(--navy); color: var(--muted-navy); padding: clamp(56px, 8vw, 88px) 0 calc(32px + 64px); font-size: 0.9375rem; }
@media (min-width: 1024px) { .site-footer { padding-bottom: 32px; } }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.site-footer__top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(195, 198, 208, 0.25); }
.site-footer__brand img { height: 56px; width: auto; margin-bottom: 20px; }
.site-footer__tagline { font-family: var(--f-display); font-style: italic; font-size: 1.125rem; color: var(--white); margin-bottom: 12px; }
.site-footer__phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--f-ui); font-weight: 600; font-size: 1.25rem; color: var(--green) !important; }
.site-footer__phone .icon { color: var(--green); }
.site-footer__creds { margin-top: 12px; }
.site-footer__heading { font-family: var(--f-ui); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-navy); margin-bottom: 14px; }
.site-footer__col li a { display: inline-flex; align-items: center; min-height: 36px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: 0.875rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; gap: 20px; }
@media (min-width: 768px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; } }

/* ---------- Mobile call bar ---------- */
.call-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
	display: grid; grid-template-columns: 1fr 1.6fr;
	background: var(--navy); border-top: 1px solid var(--navy-deep);
	padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
	transform: translateY(0); transition: transform 300ms var(--ease);
}
.js-motion .call-bar { transform: translateY(110%); }
.js-motion .call-bar.is-visible { transform: translateY(0); }
.call-bar a {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
	font-family: var(--f-ui); font-weight: 600; font-size: 1rem; text-decoration: none; border-radius: var(--radius);
}
.call-bar__call { color: var(--white); border: 1px solid rgba(255, 255, 255, 0.35); }
.call-bar__call .icon { color: var(--green); width: 18px; height: 18px; }
.call-bar__quote { background: var(--green); color: var(--navy); }
@media (min-width: 1024px) { .call-bar { display: none; } }

/* ---------- Generic page ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 48px); border-bottom: 1px solid var(--rule); }
.page-hero h1 { font-size: var(--step-4); max-width: 18ch; }
.page-hero p { font-size: var(--step-1); color: var(--muted); max-width: 52ch; }
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-3); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { list-style: disc; padding-left: 1.25em; margin: 0 0 1em; }
.prose ol { list-style: decimal; padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.breadcrumbs { font-family: var(--f-ui); font-size: 0.875rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--muted); }

/* ==========================================================================
   Motion: start states apply only when JS + motion are allowed.
   Transform/opacity only; final box never changes (CLS 0).
   ========================================================================== */
.js-motion .sonic-rule-draw .section-head__rule { transform: scaleX(0); }
.js-motion .sonic-rule-draw > :not(.section-head__rule),
.js-motion .sonic-stagger > *,
.js-motion .sonic-fade,
.js-motion .sonic-gallery > * { opacity: 0; }
.js-motion .sonic-hero-item { opacity: 0; }
.js-motion .sonic-hero-words .w { display: inline-block; opacity: 0; }
.is-revealed .section-head__rule, .motion-done { opacity: 1 !important; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; max-width: min(1200px, 94vw); max-height: 92vh; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(21, 28, 56, 0.92); }
.lightbox img { max-height: 84vh; width: auto; margin-inline: auto; }
.lightbox__cap { font-family: var(--f-ui); font-size: 0.875rem; color: var(--muted-navy); text-align: center; margin: 12px 0 0; }
.lightbox__close {
	position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.4);
	background: none; color: var(--white); font-size: 1.75rem; line-height: 1; cursor: pointer; border-radius: var(--radius);
}

/* ==========================================================================
   Service / town page template
   ========================================================================== */
.hero--page .hero__title--page { font-size: clamp(2.25rem, 3.6vw + 1rem, 4rem); line-height: 1.05; }
@media (min-width: 1024px) {
	.hero--page { min-height: min(640px, calc(100vh - var(--header-h))); grid-template-rows: 1fr; }
	.hero--page::before { inset: 20px; }
	.hero--page .hero__inner { padding-block: 72px 80px; }
}
.breadcrumbs--light { color: var(--muted-navy); margin-bottom: 24px; }
.breadcrumbs--light a { color: var(--muted-navy); text-decoration: none; }
.breadcrumbs--light a:hover { color: var(--green); }
.breadcrumbs__sep { margin-inline: 8px; opacity: 0.6; }
.urgent--top { margin-top: 24px; }
.urgent a { color: var(--ink); font-weight: 600; }
.problem__grid--solo { grid-template-columns: 1fr !important; }
.problem__grid--solo .problem__body { max-width: 860px; }

@media (min-width: 1024px) {
	.steps--5 { grid-template-columns: repeat(5, 1fr); column-gap: 28px; }
	.steps--3 { grid-template-columns: repeat(3, 1fr); }
}

/* Options: definition list, 2 columns */
.options__grid { display: grid; gap: 16px; }
.opts { display: grid; gap: 0; margin: 0; }
.opt { padding: 22px 0; border-top: 2px solid var(--navy); }
.opt dt { font-family: var(--f-display); font-size: var(--step-2); font-weight: 600; line-height: 1.2; color: var(--navy); margin-bottom: 8px; }
.opt dd { margin: 0; color: var(--muted); max-width: 52ch; }
@media (min-width: 768px) { .opts { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
@media (min-width: 1024px) { .options__grid { grid-template-columns: 4fr 8fr; gap: 72px; align-items: start; } .options__head { position: sticky; top: calc(var(--header-h) + 40px); } }

/* Uses + photos */
.uses { background: var(--white); border-block: 1px solid var(--rule); }
.uses__grid { display: grid; gap: 8px; margin-bottom: clamp(32px, 5vw, 56px); }
.checks--cols { margin: 0; }
@media (min-width: 768px) { .checks--cols { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
@media (min-width: 1024px) { .uses__grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: end; } }
.mosaic--page .photo { aspect-ratio: 4 / 3; }
@media (min-width: 768px) {
	.mosaic--page.mosaic--n2 .mosaic__item--1 { grid-column: 1 / 8; }
	.mosaic--page.mosaic--n2 .mosaic__item--2 { grid-column: 8 / 13; }
	.mosaic--page.mosaic--n2 .mosaic__item--2 .photo { aspect-ratio: auto; height: 100%; }
	.mosaic--page.mosaic--n3 .mosaic__item--1 { grid-column: 1 / 13; }
	.mosaic--page.mosaic--n3 .mosaic__item--1 .photo { aspect-ratio: 21 / 9; }
	.mosaic--page.mosaic--n3 .mosaic__item--2 { grid-column: 1 / 7; }
	.mosaic--page.mosaic--n3 .mosaic__item--3 { grid-column: 7 / 13; }
	.mosaic--page .mosaic__item--3 .photo { aspect-ratio: 4 / 3; height: auto; }
}

/* Long-form */
.longform__grid { display: grid; gap: 40px; }
.longform .prose { font-size: 1.125rem; }
.prose h2 { font-size: var(--step-3); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 68ch; }
.aside-card { background: var(--navy); color: #e6e8ef; padding: 28px; display: grid; gap: 14px; }
.aside-card__title { font-family: var(--f-display); font-size: var(--step-2); font-weight: 600; color: var(--white); margin: 0; }
.aside-card__phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--f-ui); font-weight: 600; font-size: 1.25rem; color: var(--green); text-decoration: none; }
.aside-card__phone .icon { color: var(--green); }
.aside-card .btn--primary { background: var(--green); color: var(--navy); }
.aside-card__meta { font-family: var(--f-ui); font-size: 0.8125rem; color: var(--muted-navy); margin: 0; }
@media (min-width: 1024px) { .longform__grid { grid-template-columns: 8fr 4fr; gap: 72px; align-items: start; } .longform__aside { position: sticky; top: calc(var(--header-h) + 40px); } }

/* FAQ accordion */
.faq { background: var(--white); border-block: 1px solid var(--rule); }
.faq__grid { display: grid; gap: 16px; }
.qa { border-top: 1px solid var(--rule); }
.qa:last-child { border-bottom: 1px solid var(--rule); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { margin: 0; font-size: var(--step-1); }
.qa__icon { position: relative; flex: none; width: 28px; height: 28px; border: 1px solid var(--navy); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy); transition: transform 200ms var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { background: var(--navy); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: var(--green); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__a { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }
.qa__a p:last-child { margin: 0; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: 4fr 8fr; gap: 72px; align-items: start; } }

/* Related */
.related { padding-block: clamp(48px, 7vw, 80px); border-top: 1px solid var(--rule); }
.related__grid { display: grid; gap: 40px; }
.related__list a {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 10px 0;
	font-family: var(--f-display); font-size: 1.1875rem; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--rule);
}
.related__list a .icon { color: var(--green-deep); }
.related__list a:hover { color: var(--green-deep); }
.towns-inline { display: flex; flex-wrap: wrap; gap: 0 22px; }
.towns-inline a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-display); font-size: 1.125rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.towns-inline a:hover { color: var(--green-deep); }
@media (min-width: 1024px) { .related__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* Short answer (featured-snippet box) */
.short-answer-wrap { padding-top: clamp(32px, 5vw, 56px); }
.short-answer { background: var(--white); border: 1px solid var(--rule); border-left: 6px solid var(--green); padding: 24px 28px; max-width: 900px; }
.short-answer__label { font-family: var(--f-ui); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-deep); margin: 0 0 8px; }
.short-answer__text { font-size: var(--step-1); line-height: 1.55; color: var(--ink); }
.short-answer__text p:last-child { margin: 0; }

/* Services directory */
.svc-dir__grid { display: grid; gap: 28px; }
.svc-dir__group { background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--navy); }
.svc-dir__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.svc-dir__media picture { position: absolute; inset: 0; }
.svc-dir__title { font-size: var(--step-2); margin: 20px 24px 6px; }
.svc-dir__title a { color: var(--navy); text-decoration: none; }
.svc-dir__title a:hover { color: var(--green-deep); }
.svc-dir__group .tile__list { padding: 0 24px 12px; }
@media (min-width: 768px) { .svc-dir__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
	.svc-dir__grid--5 { grid-template-columns: repeat(6, 1fr); }
	.svc-dir__grid--5 .svc-dir__group:nth-child(-n+2) { grid-column: span 3; }
	.svc-dir__grid--5 .svc-dir__group:nth-child(n+3) { grid-column: span 2; }
	.svc-dir__grid--1 { grid-template-columns: 1fr; max-width: 760px; }
}
