/*
Theme Name: Oakville Attic Insulation Pros
Theme URI: https://oakvilleatticinsulationpros.ca/
Author: Oakville Attic Insulation Pros
Description: A responsive, attic-first WordPress theme for an Oakville residential insulation business, with a manual repeatable content importer and global contact settings.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: oaip
*/

:root {
	--ink: #16251f;
	--ink-soft: #40514a;
	--forest: #173f33;
	--forest-deep: #0d2b23;
	--sage: #9ab78f;
	--sage-pale: #e8f0e3;
	--lime: #f2b24d;
	--cream: #f7f3e9;
	--sand: #eadfcb;
	--white: #fff;
	--line: #d8ddd5;
	--orange: #d86b35;
	--shadow: 0 18px 60px rgba(13, 43, 35, .12);
	--radius: 18px;
	--radius-sm: 10px;
	--shell: min(1180px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	overflow-x: clip;
	color: var(--ink);
	background: var(--white);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.68;
	-webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--forest); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--orange); }
.icon { width: 1.05em; height: 1.05em; flex: 0 0 auto; fill: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
p { margin: 0 0 1.1rem; }
h1, h2, h3, h4 {
	margin: 0 0 .8rem;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.025em;
}
h1 { font-size: clamp(2.65rem, 5.5vw, 5.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
ul, ol { padding-left: 1.25rem; }
table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
th, td { padding: .9rem 1rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--white); background: var(--forest); }
tbody tr:nth-child(even) { background: #f7f8f5; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }

.site-shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip-link { position: fixed; z-index: 9999; left: 16px; top: -100px; padding: 10px 16px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 16px; }
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: .78rem 1.25rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: .84rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .035em;
	text-decoration: none;
	transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--forest-deep); background: var(--lime); box-shadow: 0 10px 25px rgba(61, 83, 33, .16); }
.button-primary:hover { color: var(--white); background: var(--orange); }
.button-secondary { color: var(--forest); background: transparent; border-color: var(--forest); }
.button-secondary:hover { color: var(--white); background: var(--forest); }
.button-light { color: var(--forest-deep); background: var(--white); }
.button-light:hover { color: var(--white); background: var(--orange); }
.text-link { display: inline-flex; gap: .5rem; align-items: center; font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link span { transition: transform .18s ease; }
.text-link:hover span { transform: translateX(4px); }
.centered { text-align: center; }

.utility-bar { color: #d8e5df; background: var(--forest-deep); font-size: .72rem; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; }
.utility-inner { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-inner i { margin-inline: .3rem; color: var(--lime); font-style: normal; }
.utility-phone { display: flex; align-items: center; gap: .55rem; color: var(--white); text-decoration: none; }
.phone-copy { display: inline-flex; align-items: center; gap: .7rem; }
.utility-phone .phone-label { color: var(--sage); font-size: .65rem; }
.utility-phone strong { color: var(--lime); font-size: .78rem; }

.site-header { position: sticky; z-index: 1000; top: 0; background: rgba(255, 255, 255, .97); border-bottom: 1px solid rgba(23, 63, 51, .1); backdrop-filter: blur(12px); }
.header-inner { position: relative; min-height: 82px; display: flex; align-items: center; gap: 24px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; color: var(--forest-deep); text-decoration: none; }
.brand:hover { color: var(--forest-deep); }
.brand-logo { width: 174px; height: 72px; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; font-family: Georgia, "Times New Roman", serif; line-height: 1; }
.brand-name strong { font-size: 1rem; }
.brand-name small { margin-top: 5px; font-family: inherit; font-size: .76rem; font-weight: 700; color: var(--forest); letter-spacing: .06em; text-transform: uppercase; }
.site-navigation { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 19px; }
.nav-list { display: flex; align-items: stretch; gap: 3px; margin: 0; padding: 0; list-style: none; }
.nav-list > li { display: flex; align-items: center; }
.nav-list > li > a, .nav-parent > a { display: flex; align-items: center; min-height: 82px; padding: 0 8px; color: var(--ink); font-size: .75rem; font-weight: 800; letter-spacing: .01em; text-decoration: none; white-space: nowrap; }
.nav-list > li > a:hover, .nav-parent > a:hover { color: var(--orange); }
.nav-parent { display: flex; align-items: center; }
.submenu-toggle { width: 25px; height: 36px; padding: 0; border: 0; color: var(--forest); background: transparent; font-size: 1rem; line-height: 1; cursor: pointer; transition: transform .18s ease; }
.has-mega-menu.is-open .submenu-toggle { transform: rotate(180deg); }
.nav-cta { min-height: 44px; padding-inline: 1rem; white-space: nowrap; }
.mega-menu {
	position: absolute;
	z-index: 20;
	top: 100%;
	left: 50%;
	width: min(900px, calc(100vw - 40px));
	padding: 28px;
	border: 1px solid rgba(23, 63, 51, .12);
	border-top: 4px solid var(--lime);
	border-radius: 0 0 var(--radius) var(--radius);
	background: var(--white);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, -8px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.mega-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mega-problems { width: min(650px, calc(100vw - 40px)); display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.mega-advice { width: min(760px, calc(100vw - 40px)); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.has-mega-menu:hover > .mega-menu, .has-mega-menu:focus-within > .mega-menu, .has-mega-menu.is-open > .mega-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-menu > div { display: flex; flex-direction: column; gap: 1px; }
.mega-label { margin: 0 9px 9px; color: #6d7d76; font-size: .66rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.mega-menu a { padding: 8px 9px; border-radius: 7px; color: var(--ink); font-size: .82rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.mega-menu a:hover { color: var(--forest-deep); background: var(--sage-pale); }
.mega-advice a { padding: 16px; background: #f5f7f3; }
.mega-advice strong, .mega-advice small { display: block; }
.mega-advice small { margin-top: 6px; color: var(--ink-soft); font-size: .72rem; font-weight: 500; }
.menu-toggle { display: none; }

.home-hero { overflow: hidden; padding: clamp(52px, 7vw, 96px) 0; background: var(--cream); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr); align-items: center; gap: clamp(45px, 7vw, 90px); }
.hero-copy h1 { max-width: 750px; color: var(--forest-deep); font-size: clamp(3.4rem, 6vw, 6.6rem); }
.hero-eyebrow, .section-kicker { margin: 0 0 1rem; color: var(--orange); font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.hero-eyebrow span { color: var(--forest); }
.hero-lead { max-width: 700px; color: var(--ink-soft); font-size: clamp(1.08rem, 1.8vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.hero-phone { display: inline-flex; gap: .4rem; margin-top: 17px; color: var(--forest); font-size: .82rem; font-weight: 700; text-decoration: none; }
.hero-phone strong { color: var(--orange); }
.hero-cues { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.hero-cues span { padding: 6px 10px; border: 1px solid var(--sand); border-radius: 999px; color: var(--ink-soft); background: rgba(255,255,255,.6); font-size: .68rem; font-weight: 800; }
.hero-proof { display: flex; gap: 24px; margin-top: 43px; padding-top: 22px; border-top: 1px solid var(--sand); }
.hero-proof span { color: var(--ink-soft); font-size: .75rem; font-weight: 800; line-height: 1.3; text-transform: uppercase; }
.hero-proof b { display: block; margin-bottom: 5px; color: var(--orange); font-size: .64rem; letter-spacing: .1em; }
.hero-mosaic { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 12px; min-height: 620px; }
.hero-mosaic::before { content: ""; position: absolute; width: 170px; height: 170px; top: -34px; right: -45px; border-radius: 50%; background: var(--lime); opacity: .78; }
.hero-image { position: relative; overflow: hidden; min-height: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-image-main { grid-row: 1 / 4; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image span { position: absolute; left: 13px; bottom: 13px; padding: 7px 10px; border-radius: 999px; color: var(--white); background: rgba(13, 43, 35, .88); font-size: .59rem; font-weight: 900; letter-spacing: .09em; }

.page-hero, .article-hero { padding: clamp(45px, 6vw, 80px) 0; background: var(--cream); }
.page-hero-grid, .article-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr); align-items: center; gap: clamp(40px, 7vw, 90px); }
.page-hero h1, .article-hero h1 { font-size: clamp(2.8rem, 5vw, 5.2rem); }
.page-hero-image { position: relative; }
.page-hero-image::after { content: ""; position: absolute; z-index: 0; right: -20px; bottom: -20px; width: 55%; height: 60%; border-radius: var(--radius); background: var(--lime); }
.page-hero-image img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 25px; color: #718078; font-size: .71rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.breadcrumbs a { color: var(--forest); text-decoration: none; }
.crumb-separator { color: var(--orange); }
.legal-hero, .archive-hero { padding: clamp(60px, 8vw, 110px) 0; background: var(--cream); text-align: center; }
.legal-hero h1, .archive-hero h1 { font-size: clamp(2.8rem, 5vw, 5rem); }
.article-meta { color: var(--ink-soft); font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.article-meta span { margin-inline: .5rem; color: var(--orange); }

.home-content > section, .page-content > section { margin-block: clamp(75px, 9vw, 130px); }
.home-content > .warm-section, .page-content > .warm-section { margin-inline: calc((100vw - 100%) / -2); padding: clamp(75px, 8vw, 115px) max(20px, calc((100vw - min(1180px, calc(100vw - 40px))) / 2)); }
.page-content { padding-block: 1px; }
.page-content > p, .page-content > h2, .page-content > h3, .page-content > ul, .page-content > ol, .page-content > table { max-width: 830px; margin-inline: auto; }
.legal-content { padding-block: 60px 100px; }
.legal-content h2 { margin-top: 2.5rem; }
.lead { color: var(--ink-soft); font-size: 1.22rem; line-height: 1.65; }
.section-heading { max-width: 760px; margin-bottom: 35px; }
.section-heading.centered { margin-inline: auto; }
.section-heading > p:last-child { color: var(--ink-soft); font-size: 1.08rem; }
.section-kicker { margin-bottom: .7rem; }

.home-form-section, .form-section-grid, .contact-layout { display: grid; grid-template-columns: 1fr .9fr; align-items: start; gap: clamp(45px, 8vw, 105px); }
.home-form-section { margin-top: clamp(70px, 8vw, 105px) !important; padding: clamp(35px, 5vw, 60px); border-radius: calc(var(--radius) + 8px); color: var(--white); background: var(--forest); }
.home-form-section .section-kicker { color: var(--lime); }
.home-form-section h2 { font-size: clamp(2.2rem, 3.8vw, 3.8rem); }
.form-shell, .form-card { padding: 30px; border: 1px solid rgba(23, 63, 51, .12); border-radius: var(--radius); color: var(--ink); background: var(--white); box-shadow: var(--shadow); }
.form-fallback h3 { margin-bottom: .5rem; }
.form-fallback .button { width: 100%; margin-top: 9px; }
.wpforms-container .wpforms-field { padding: 8px 0 !important; }
.wpforms-container input, .wpforms-container textarea, .wpforms-container select { min-height: 48px !important; border: 1px solid #cbd3ce !important; border-radius: 8px !important; background: #fbfcfa !important; }
.wpforms-container button[type="submit"] { min-height: 50px !important; padding: .8rem 1.4rem !important; border: 0 !important; border-radius: 999px !important; color: var(--forest-deep) !important; background: var(--lime) !important; font-weight: 800 !important; }
.page-form-section { margin-top: 95px; padding: clamp(70px, 8vw, 110px) 0; background: var(--sage-pale); }
.section-phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 18px; border-radius: var(--radius-sm); color: var(--white); background: var(--forest); text-decoration: none; }
.section-phone .phone-copy { align-items: flex-start; flex-direction: column; gap: 0; }
.section-phone .phone-label { color: #d2ddd8; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.section-phone strong { color: var(--lime); font-size: 1.1rem; }

.check-list { margin: 1.6rem 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin: .7rem 0; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: var(--forest-deep); background: var(--lime); font-size: .75rem; font-weight: 900; }
.answer-panel { position: relative; max-width: 960px; margin-inline: auto !important; padding: clamp(32px, 5vw, 62px); border-left: 5px solid var(--lime); border-radius: var(--radius); background: var(--forest-deep); color: var(--white); box-shadow: var(--shadow); }
.answer-label { color: var(--lime); font-size: .7rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.answer-text { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.4vw, 2.15rem); line-height: 1.36; }
.content-split, .photo-story, .oakville-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(45px, 8vw, 100px); }
.content-photo, .content-figure img { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); object-fit: cover; }
.content-figure { margin: 0; }
.content-figure figcaption { margin-top: 11px; color: var(--ink-soft); font-size: .76rem; }
.warm-section { background: var(--cream); }
.dark-band { margin-inline: calc((100vw - 100%) / -2) !important; padding: clamp(70px, 8vw, 110px) max(20px, calc((100vw - min(1180px, calc(100vw - 40px))) / 2)); color: var(--white); background: var(--forest-deep); }
.dark-band .section-kicker { color: var(--lime); }
.dark-band .section-heading > p:last-child { color: #c7d3ce; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 35px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding: 20px 20px 20px 52px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); background: rgba(255,255,255,.055); }
.feature-list li::before { content: "+"; position: absolute; left: 20px; color: var(--lime); font-weight: 900; }
.notice-panel, .update-panel { padding: clamp(28px, 5vw, 50px); border: 1px solid var(--sand); border-radius: var(--radius); background: var(--cream); }
.oakville-note { max-width: 980px; margin-inline: auto !important; padding: clamp(30px, 5vw, 52px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, var(--sage-pale), #f7f9f4); }
.oakville-note h2 { max-width: 740px; font-size: clamp(1.8rem, 3vw, 2.75rem); }
.oakville-note p:last-child { max-width: 820px; margin-bottom: 0; color: var(--ink-soft); }
.notice-panel h2, .update-panel h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.notice-panel p:last-child, .update-panel p:last-child { margin-bottom: 0; }

.problem-grid, .service-card-grid, .post-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.problem-grid.compact { grid-template-columns: repeat(3, 1fr); }
.problem-card, .service-card, .post-card > a, a.post-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--white); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.problem-card:hover, .service-card:hover, .post-card > a:hover, a.post-card:hover { color: var(--ink); transform: translateY(-6px); border-color: var(--sage); box-shadow: var(--shadow); }
.problem-card { padding: 28px; }
.problem-card > span { margin: -28px -28px 23px; }
.problem-card img, .service-card-media img, .post-card img { width: 100%; aspect-ratio: 1.45 / 1; object-fit: cover; }
.problem-card strong, .service-card-body strong, .post-card strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; line-height: 1.18; }
.problem-card p { margin: 11px 0 20px; color: var(--ink-soft); font-size: .9rem; }
.problem-card b, .service-card-body b, .post-card b { margin-top: auto; color: var(--orange); font-size: .75rem; letter-spacing: .04em; }
.problem-grid.compact .problem-card { min-height: 210px; background: #f7f9f5; }
.service-card-body, .post-card > a > span, a.post-card > span { flex: 1; display: flex; flex-direction: column; gap: 11px; padding: 24px; }
.service-card-body small { color: var(--ink-soft); font-size: .84rem; line-height: 1.55; }
.post-card small { color: var(--orange); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.post-card p { color: var(--ink-soft); font-size: .88rem; }
.shortcode-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related-card { overflow: hidden; display: flex; min-height: 140px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--white); text-decoration: none; }
.related-card-image { width: 42%; object-fit: cover; }
.related-card > span { display: flex; flex: 1; flex-direction: column; justify-content: center; padding: 20px; }
.related-card strong { font-family: Georgia, "Times New Roman", serif; line-height: 1.2; }
.related-card small { margin-top: 8px; color: var(--orange); font-size: .7rem; font-weight: 800; }

.decision-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.decision-grid article, .material-grid article, .value-grid article, .number-card { padding: 25px; border-radius: var(--radius); background: var(--sage-pale); }
.decision-grid span, .number-card > span { color: var(--orange); font-size: .68rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.decision-grid p, .number-card p { margin: 11px 0 0; font-size: .86rem; line-height: 1.55; }
.number-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.number-card { background: var(--cream); }
.number-card > span { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 2.2rem; }
.material-grid, .value-grid, .compare-grid, .area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-grid { grid-template-columns: repeat(4, 1fr); }
.compare-grid { grid-template-columns: repeat(2, 1fr); }
.material-grid article, .value-grid article { border-top: 4px solid var(--lime); background: var(--forest); color: var(--white); }
.material-grid a { color: var(--lime); font-weight: 800; }
.material-grid p, .value-grid p { color: #d3ddd8; }
.link-card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.link-card-grid a { padding: 23px; border-radius: var(--radius); color: var(--ink); background: var(--cream); text-decoration: none; }
.link-card-grid a:hover { color: var(--white); background: var(--forest); }
.link-card-grid strong, .link-card-grid span { display: block; }
.link-card-grid strong { font-family: Georgia, "Times New Roman", serif; line-height: 1.2; }
.link-card-grid span { margin-top: 8px; color: var(--ink-soft); font-size: .76rem; }
.link-card-grid a:hover span { color: #d3ddd8; }
.photo-story > div:first-child img, .oakville-section > div:last-child img { width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius); object-fit: cover; }

.mini-process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 35px 0; }
.mini-process article { padding: 20px; border-top: 2px solid var(--lime); background: rgba(255,255,255,.07); }
.mini-process span, .mini-process strong { display: block; }
.mini-process span { margin-bottom: 22px; color: var(--lime); font-size: .68rem; font-weight: 900; }
.mini-process strong { font-family: Georgia, "Times New Roman", serif; line-height: 1.15; }
.process-timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.process-timeline::before { content: ""; position: absolute; top: 28px; left: 5%; right: 5%; height: 2px; background: var(--sand); }
.process-timeline article { position: relative; padding-top: 65px; }
.process-timeline span { position: absolute; z-index: 1; top: 0; left: 0; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: var(--forest-deep); background: var(--lime); font-size: .72rem; font-weight: 900; }
.process-timeline h2 { font-size: 1.45rem; }
.process-timeline p { color: var(--ink-soft); font-size: .87rem; }

.faq-list { max-width: 920px; border-top: 1px solid var(--line); }
.faq-list-large { max-width: 100%; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 50px 22px 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-weight: 700; line-height: 1.3; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 5px; top: 18px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sage-pale); font-family: Arial, sans-serif; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 800px; padding-bottom: 22px; color: var(--ink-soft); }

.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.gallery-filters button { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--forest); background: var(--white); font-size: .72rem; font-weight: 800; cursor: pointer; }
.gallery-filters button:hover, .gallery-filters button.is-active { color: var(--white); border-color: var(--forest); background: var(--forest); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid figure { overflow: hidden; margin: 0; border-radius: var(--radius); background: var(--cream); }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.gallery-open:hover .gallery-image { transform: scale(1.025); }
.gallery-grid figcaption { display: flex; flex-direction: column; padding: 17px 19px; }
.gallery-grid figcaption strong { color: var(--orange); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.gallery-grid figcaption span { margin-top: 5px; color: var(--ink-soft); font-size: .8rem; }
.gallery-preview + .centered { margin-top: 30px; }
.gallery-dialog { width: min(1000px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 12px; border: 0; border-radius: var(--radius); color: var(--white); background: var(--forest-deep); box-shadow: var(--shadow); }
.gallery-dialog::backdrop { background: rgba(7, 24, 19, .85); }
.gallery-dialog img { width: 100%; max-height: calc(100vh - 120px); object-fit: contain; }
.gallery-dialog p { margin: 9px 40px 0 6px; font-size: .8rem; }
.dialog-close { position: absolute; z-index: 2; right: 18px; top: 17px; width: 40px; height: 40px; border: 0; border-radius: 50%; color: var(--white); background: rgba(13,43,35,.9); font-size: 1.5rem; cursor: pointer; }

.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(280px, 350px); align-items: start; justify-content: space-between; gap: 65px; padding-block: 80px 110px; }
.article-content h2 { margin-top: 3rem; font-size: clamp(1.9rem, 3vw, 2.7rem); }
.article-content h3 { margin-top: 2.2rem; }
.article-content > p, .article-content li { color: var(--ink-soft); }
.article-content .content-figure { margin: 2.4rem 0; }
.article-sidebar { position: static; }
.article-sidebar .form-card { box-shadow: none; background: var(--cream); }
.article-sidebar h2 { font-size: 2rem; }
.article-toc { display: flex; flex-direction: column; gap: 5px; margin: 2rem 0; padding: 25px; border-left: 4px solid var(--lime); background: var(--cream); }
.article-toc strong { margin-bottom: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; }
.article-toc a { font-size: .85rem; font-weight: 700; }
.article-cta { margin-top: 3rem; padding: 35px; border-radius: var(--radius); color: var(--white); background: var(--forest); }
.article-cta h2 { margin-top: 0; }
.article-cta .button { margin-top: 10px; }
.related-articles { padding-bottom: 110px; }
.related-articles .post-card-grid .section-heading { display: none; }
.archive-layout { padding-block: 80px 110px; }
.post-card-grid-wide { grid-template-columns: repeat(3, 1fr); }
.navigation.pagination { grid-column: 1 / -1; margin-top: 50px; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { padding: 8px 13px; border-radius: 6px; background: var(--cream); text-decoration: none; }
.page-numbers.current { color: var(--white); background: var(--forest); }
.search-form { display: flex; max-width: 550px; margin: 25px auto 0; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 50px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px 0 0 999px; }
.search-submit { padding: 10px 20px; border: 0; border-radius: 0 999px 999px 0; color: var(--forest-deep); background: var(--lime); font-weight: 800; }
.not-found { min-height: 65vh; display: grid; place-items: center; padding: 80px 0; text-align: center; background: var(--cream); }

.footer-cta { padding: 65px 0; color: var(--white); background: var(--orange); }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.footer-cta .section-kicker { color: var(--forest-deep); }
.footer-cta h2 { max-width: 760px; margin: 0; font-size: clamp(2rem, 3.5vw, 3.4rem); }
.site-footer { padding-top: 70px; color: #d1dcd7; background: var(--forest-deep); }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 60px; }
.footer-grid h2 { color: var(--white); font-family: inherit; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: #d1dcd7; font-size: .83rem; text-decoration: none; }
.footer-grid a:hover { color: var(--lime); }
.brand-footer { color: var(--white) !important; }
.brand-footer .brand-logo { width: 260px; height: auto; }
.footer-brand > p { max-width: 390px; margin-top: 20px; font-size: .85rem; }
.footer-contact p { display: flex; align-items: center; gap: 7px; margin: .35rem 0; }
.footer-contact p span { display: inline-block; width: 52px; color: var(--sage); font-size: .68rem; text-transform: uppercase; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 65px; padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: .72rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { margin-left: 20px; color: #d1dcd7; }
.mobile-call { display: none; }

@media (max-width: 1120px) {
	.header-inner { min-height: 72px; }
	.brand-name { display: none; }
	.nav-list > li > a, .nav-parent > a { min-height: 72px; padding-inline: 6px; font-size: .7rem; }
	.site-navigation { gap: 10px; }
	.nav-cta { display: none; }
	.decision-grid, .link-card-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
	:root { --shell: min(100% - 30px, 720px); }
	.utility-inner > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.utility-phone .phone-label { display: none; }
	.site-header { top: 0; }
	.header-inner { justify-content: space-between; }
	.brand-name { display: flex; }
	.menu-toggle { display: flex; width: 48px; height: 48px; padding: 11px; border: 0; border-radius: 50%; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--forest); background: var(--sage-pale); cursor: pointer; }
	.menu-toggle span { width: 20px; height: 2px; background: currentColor; }
	.menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.site-navigation { position: absolute; z-index: 99; top: 100%; left: 50%; overflow-y: auto; display: block; width: 100vw; height: calc(100vh - 72px); padding: 18px 20px 100px; background: var(--white); opacity: 0; visibility: hidden; transform: translate(-50%, -8px); transition: .18s ease; }
	.site-navigation.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
	.nav-list { display: block; }
	.nav-list > li { display: block; border-bottom: 1px solid var(--line); }
	.nav-list > li > a, .nav-parent > a { min-height: 54px; padding: 0; font-size: .9rem; }
	.nav-parent { justify-content: space-between; }
	.nav-parent > a { flex: 1; }
	.submenu-toggle { width: 48px; height: 48px; border-radius: 50%; background: var(--sage-pale); }
	.mega-menu, .mega-services, .mega-problems, .mega-advice { position: static; width: auto; display: none; margin: 0 0 18px; padding: 12px; border: 0; border-radius: 10px; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: var(--cream); }
	.has-mega-menu:hover > .mega-menu, .has-mega-menu:focus-within > .mega-menu { display: none; transform: none; }
	.has-mega-menu.is-open > .mega-menu { display: grid; grid-template-columns: 1fr; transform: none; }
	.mega-menu > div { margin-bottom: 10px; }
	.nav-cta { display: flex; margin-top: 20px; }
	.home-hero-grid, .page-hero-grid, .article-hero-grid, .home-form-section, .form-section-grid, .contact-layout, .content-split, .photo-story, .oakville-section, .article-layout { grid-template-columns: 1fr; }
	.home-hero-grid { gap: 50px; }
	.hero-mosaic { min-height: 520px; }
	.page-hero-grid, .article-hero-grid { gap: 35px; }
	.page-hero-image { max-width: 650px; }
	.problem-grid, .problem-grid.compact, .service-card-grid, .post-card-grid, .post-card-grid-wide, .gallery-grid, .material-grid, .value-grid, .compare-grid, .area-grid { grid-template-columns: repeat(2, 1fr); }
	.shortcode-related { grid-template-columns: 1fr; }
	.decision-grid, .link-card-grid { grid-template-columns: repeat(2, 1fr); }
	.number-grid, .feature-list { grid-template-columns: repeat(2, 1fr); }
	.process-timeline { grid-template-columns: 1fr; }
	.process-timeline::before { top: 5%; bottom: 5%; left: 27px; right: auto; width: 2px; height: auto; }
	.process-timeline article { min-height: 90px; padding: 0 0 20px 85px; }
	.mini-process { grid-template-columns: repeat(2, 1fr); }
	.article-layout { gap: 40px; }
	.article-sidebar { max-width: 600px; }
	.footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
	:root { --shell: calc(100% - 30px); }
	body { font-size: 16px; padding-bottom: 64px; }
	.utility-inner { justify-content: center; }
	.utility-inner > span { display: none; }
	.utility-phone .phone-label { display: inline; }
	.brand-name strong { font-size: .9rem; }
	.brand-name small { font-size: .66rem; }
	.brand-logo { width: 148px; height: 62px; }
	.hero-copy h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
	.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.hero-mosaic { grid-template-columns: 1fr 1fr; min-height: 390px; }
	.hero-mosaic { grid-template-columns: repeat(3, 1fr); grid-template-rows: 2fr 1fr; }
	.hero-image-main { grid-column: 1 / 4; grid-row: auto; }
	.hero-mosaic::before { width: 100px; height: 100px; right: -20px; }
	.page-hero h1, .article-hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
	.page-hero-image::after { right: -8px; bottom: -8px; }
	.home-form-section { margin-inline: -5px; padding: 28px 22px; }
	.form-shell, .form-card { padding: 22px; }
	.problem-grid, .problem-grid.compact, .service-card-grid, .post-card-grid, .post-card-grid-wide, .gallery-grid, .material-grid, .value-grid, .compare-grid, .area-grid, .decision-grid, .link-card-grid, .number-grid, .feature-list, .mini-process { grid-template-columns: 1fr; }
	.feature-list li { padding-left: 48px; }
	.related-card { min-height: 120px; }
	.related-card-image { width: 38%; }
	.footer-cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 25px; }
	.footer-brand { grid-column: 1 / -1; }
	.footer-bottom { margin-top: 45px; }
	.footer-bottom a { margin: 0 20px 0 0; }
	table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.mobile-call { position: fixed; z-index: 1500; right: 10px; bottom: 8px; left: 10px; display: flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px; padding: 7px 15px; border-radius: 999px; color: var(--forest-deep); background: var(--lime); box-shadow: 0 8px 35px rgba(0,0,0,.28); font-size: .75rem; text-align: center; text-decoration: none; }
	.mobile-call span { font-size: .66rem; text-transform: uppercase; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
	.utility-bar, .site-header, .footer-cta, .site-footer, .mobile-call, .page-form-section, .article-sidebar { display: none !important; }
	body { color: #000; background: #fff; }
	a { color: #000; }
	.page-hero, .article-hero, .legal-hero { padding: 20px 0; background: #fff; }
}
