/* Cutting Edge — design tokens and components.
   Source of truth: Figma "Cutting Edge Excavation — Website Redesign". */

/* ---------- Fonts ---------- */
@font-face {
	font-family: 'Raleway';
	src: url('../fonts/raleway-var.woff2') format('woff2');
	font-weight: 100 900;
	font-display: swap;
}
@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter-var.woff2') format('woff2');
	font-weight: 100 900;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--orange: #f7941d;
	--orange-text: #a85a00;
	--charcoal: #333333;
	--ink: #1f1f1f;
	--ink-deep: #121212;
	--body: #4a4a4a;
	--muted: #747474;
	--on-dark-muted: #b8b4ae;
	--line: #e3e1df;
	--surface: #f5f5f5;
	--white: #ffffff;
	--border-input: #8a8580;

	--font-head: 'Raleway', Arial, sans-serif;
	--font-body: 'Inter', Arial, sans-serif;

	--wrap: 1312px;
	--gutter: clamp(20px, 4.5vw, 64px);
	--header-h: 72px;
	--section-pad: clamp(56px, 8vw, 112px);
	--gap: clamp(24px, 3.5vw, 48px);
}
@media (min-width: 1024px) {
	:root { --header-h: 88px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: clamp(16px, 0.4vw + 15px, 17px);
	line-height: 1.65;
	color: var(--body);
	background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--charcoal); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--charcoal);
	line-height: 1.15;
	margin: 0 0 0.5em;
	text-wrap: balance;
}
h1 {
	font-weight: 800;
	font-size: clamp(36px, 2.3vw + 27px, 60px);
	letter-spacing: -0.005em;
	text-transform: uppercase;
	line-height: 1.07;
}
h2 { font-weight: 700; font-size: clamp(30px, 1.3vw + 25px, 44px); letter-spacing: -0.005em; }
h3 { font-weight: 700; font-size: clamp(20px, 0.4vw + 18px, 24px); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--ink); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: var(--on-dark-muted); }

.eyebrow {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--orange-text);
	margin: 0 0 4px;
}
.eyebrow--on-dark, .section--dark .eyebrow { color: var(--orange); }
.lede { font-size: clamp(18px, 0.3vw + 17px, 20px); line-height: 1.6; }

.section-heading { max-width: 720px; margin-bottom: var(--gap); }
.section-heading__title { margin-bottom: 0.35em; }
.section-heading--dark .section-heading__title { color: var(--white); }
.section-heading--dark .lede { color: var(--on-dark-muted); }
.section-heading--center { margin-inline: auto; text-align: center; }

.head-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: var(--gap);
}
.head-row .section-heading { margin-bottom: 0; }

.icon { flex: none; vertical-align: -0.18em; }
.icon-star { color: var(--orange); }
.stars { display: inline-flex; gap: 3px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 17px 28px;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: var(--charcoal); color: var(--white); }
.btn--dark { background: var(--charcoal); color: var(--white); }
.btn--dark:hover { background: var(--ink-deep); color: var(--white); }
.btn--outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--charcoal); }
.btn--outline-dark { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn--outline-dark:hover { background: var(--charcoal); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 599px) {
	.btn-row { flex-direction: column; align-items: stretch; }
	.btn-row .btn { width: 100%; }
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}
.site-header__inner {
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
	height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.site-header__logo img { width: clamp(112px, 10vw, 148px); height: auto; }
.site-nav { display: none; }
.site-header__phone { display: none; }
.site-header__cta { display: none; }
.nav-toggle, .header-call {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	cursor: pointer;
}
.header-call { background: var(--orange); color: var(--ink); }
.nav-toggle { background: var(--surface); color: var(--charcoal); }
.site-header__mobile { display: flex; gap: 8px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded='true'] .icon-menu { display: none; }
.nav-toggle[aria-expanded='true'] .icon-close { display: block; }

.mobile-nav {
	display: none;
	background: var(--white);
	border-bottom: 1px solid var(--line);
	padding: 8px var(--gutter) 24px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a {
	display: block;
	padding: 14px 0;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--charcoal);
	border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { width: 100%; margin-top: 16px; }

@media (min-width: 1024px) {
	.site-header__mobile, .mobile-nav { display: none !important; }
	.site-nav { display: block; }
	.site-nav ul { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
	.site-nav a {
		font-size: 14px;
		font-weight: 500;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		text-decoration: none;
		color: var(--charcoal);
	}
	.site-nav a:hover, .site-nav .current-menu-item a, .site-nav .current-menu-ancestor a { color: var(--orange-text); }
	.site-header__right { display: flex; align-items: center; gap: 28px; }
	.site-header__phone {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		font-weight: 600;
		font-size: 14px;
		color: var(--charcoal);
		text-decoration: none;
	}
	.site-header__cta { display: inline-flex; padding-block: 13px; }
}

/* ---------- Heroes ---------- */
.hero, .page-hero {
	position: relative;
	display: flex;
	background-color: var(--ink);
	background-size: cover;
	background-position: center;
	isolation: isolate;
}
.hero::before, .page-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(18, 18, 18, 0.88), rgba(18, 18, 18, 0.25));
}
.hero { min-height: calc(100svh - var(--header-h)); align-items: center; }
.hero__content, .page-hero__content { width: 100%; padding-block: 64px; max-width: var(--wrap); }
.hero h1, .page-hero h1 { color: var(--white); max-width: 15ch; }
.hero .lede, .page-hero .lede { color: var(--white); max-width: 54ch; }
.hero .btn-row, .page-hero .btn-row { margin-top: 28px; }
.hero__slogan {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: clamp(40px, 3.4vw + 27px, 76px);
	line-height: 1.05;
	letter-spacing: -0.005em;
	text-transform: uppercase;
	color: var(--white);
	margin: 0 0 16px;
	max-width: 14ch;
	text-wrap: balance;
}
.hero h1.hero__sub {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: clamp(18px, 0.4vw + 16px, 21px);
	line-height: 1.6;
	letter-spacing: 0;
	text-transform: none;
	color: var(--white);
	max-width: 54ch;
	margin-bottom: 0;
}
.hero__trust {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 28px;
	color: var(--white);
	font-size: 14px;
	font-weight: 600;
}
.page-hero { min-height: clamp(360px, 42vw, 520px); align-items: center; }
@media (max-width: 1023px) {
	.hero { align-items: flex-end; }
	.hero::before, .page-hero::before {
		background: linear-gradient(180deg, rgba(18, 18, 18, 0.3), rgba(18, 18, 18, 0.92));
	}
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--surface); font-size: 14px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 12px 0; }
.breadcrumb li { display: flex; align-items: center; gap: 4px; color: var(--muted); }
.breadcrumb li + li::before { content: '›'; margin-inline: 4px; color: var(--body); }
.breadcrumb a { color: var(--body); text-decoration: none; }
.breadcrumb a:hover { color: var(--charcoal); }
.breadcrumb [aria-current] { color: var(--charcoal); }

/* ---------- Quote band ---------- */
.quote-band { background: var(--orange); }
.quote-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-block: clamp(32px, 4vw, 48px);
}
.quote-band__title { margin: 0; font-size: clamp(20px, 0.5vw + 18px, 26px); color: var(--ink); }
.quote-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 599px) {
	.quote-band__actions { width: 100%; flex-direction: column; }
}

/* ---------- Cards ---------- */
.card { background: var(--white); display: flex; flex-direction: column; }
.card--service { border: 1px solid var(--line); }
.card__media { display: block; }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card--service .card__media img { aspect-ratio: 31 / 20; }
.card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card--project .card__body, .card--article .card__body { padding-inline: 0; }
.card--project { background: transparent; }
.card--article { border: 1px solid var(--line); }
.card--town { background: var(--ink); }
.card--town .card__media img { aspect-ratio: 31 / 18; }
.card--town .card__body { padding: 24px 24px 28px; }
.card--town .card__title a { color: var(--white); }
.card--town .card__title a:hover { color: var(--orange); }
.card--town .card__text { color: var(--on-dark-muted); }
.card--town .card__link { color: var(--orange); }

.card--article .card__body { padding-inline: 24px; }
.card__title { margin: 0; font-size: 20px; line-height: 1.4; }
.card__title a { color: var(--charcoal); text-decoration: none; }
.card__title a:hover { color: var(--orange-text); }
.card__text { margin: 0; font-size: 15px; line-height: 1.6; }
.card__link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--orange-text);
}
.card__meta { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
/* Card grids: fixed column counts per breakpoint, never an orphan card.
   A card that would sit alone in the last row spans the row and lays out
   horizontally, so the remainder reads as intentional. */
.card-grid { display: grid; gap: 24px; }
.card-grid--wide { gap: 32px; }
.card--span { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.card--span .card__media { height: 100%; }
.card--span .card__media img { height: 100%; min-height: 240px; aspect-ratio: auto; }
@media (min-width: 600px) {
	.card-grid { grid-template-columns: repeat(2, 1fr); }
	.card-grid > .card:last-child:nth-child(2n + 1) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
	.card-grid > .card:last-child:nth-child(2n + 1) .card__media { height: 100%; }
	.card-grid > .card:last-child:nth-child(2n + 1) .card__media img { height: 100%; min-height: 240px; aspect-ratio: auto; }
}
@media (min-width: 980px) {
	.card-grid:not(.card-grid--towns) { grid-template-columns: repeat(3, 1fr); }
	.card-grid:not(.card-grid--towns) > .card:last-child:nth-child(2n + 1):not(:nth-child(3n + 1)) { grid-column: auto; display: flex; }
	.card-grid:not(.card-grid--towns) > .card:last-child:nth-child(2n + 1):not(:nth-child(3n + 1)) .card__media img { min-height: 0; height: auto; aspect-ratio: 3 / 2; }
	.card-grid:not(.card-grid--towns) > .card:last-child:nth-child(3n + 1) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
	.card-grid:not(.card-grid--towns) > .card:last-child:nth-child(3n + 1) .card__media { height: 100%; }
	.card-grid:not(.card-grid--towns) > .card:last-child:nth-child(3n + 1) .card__media img { height: 100%; min-height: 240px; aspect-ratio: auto; }
}
@media (min-width: 1280px) {
	.card-grid:not(.card-grid--wide) { grid-template-columns: repeat(4, 1fr); }
	.card-grid:not(.card-grid--wide):not(.card-grid--towns) > .card:last-child:nth-child(3n + 1):not(:nth-child(4n + 1)) { grid-column: auto; display: flex; }
	.card-grid:not(.card-grid--wide):not(.card-grid--towns) > .card:last-child:nth-child(3n + 1):not(:nth-child(4n + 1)) .card__media img { min-height: 0; height: auto; aspect-ratio: 31 / 20; }
	.card-grid:not(.card-grid--wide) > .card:last-child:nth-child(4n + 1) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
	.card-grid:not(.card-grid--wide) > .card:last-child:nth-child(4n + 1) .card__media { height: 100%; }
	.card-grid:not(.card-grid--wide) > .card:last-child:nth-child(4n + 1) .card__media img { height: 100%; min-height: 240px; aspect-ratio: auto; }
}

/* ---------- Value cards ---------- */
.value-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.value-card {
	background: var(--white);
	border-top: 4px solid var(--orange);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	padding: 28px 28px 32px;
}
.value-card h3 { margin-bottom: 8px; font-size: 20px; }
.value-card p { margin: 0; font-size: 15px; }

.media-accent { position: relative; padding: 0 20px 20px 0; }
.media-accent::after {
	content: '';
	position: absolute;
	inset: 20px 0 0 20px;
	background: var(--orange);
	z-index: 0;
}
.media-accent img { position: relative; z-index: 1; width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.rating-badge {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 44px;
	background: var(--white);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
	padding: 18px 24px;
	display: flex;
	align-items: center;
	gap: 14px;
}
.rating-badge__score { font-family: var(--font-head); font-weight: 800; font-size: 40px; color: var(--charcoal); line-height: 1; }
.rating-badge__label { font-size: 13px; color: var(--body); margin-top: 2px; }

.split { display: grid; gap: var(--gap); align-items: center; }
@media (min-width: 1024px) {
	.split { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 88px); }
	.split--even { grid-template-columns: 1fr 1fr; }
	.split--flip > :first-child { order: 2; }
}

/* ---------- Testimonials ---------- */
.testimonials {
	position: relative;
	background-color: var(--ink);
	background-size: cover;
	background-position: center;
	isolation: isolate;
}
.testimonials::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(18, 18, 18, 0.88); }
.testimonial-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.testimonial { background: var(--white); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.testimonial blockquote { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink); }
.testimonial figcaption strong { display: block; color: var(--charcoal); font-size: 14px; }
.testimonial figcaption span { font-size: 14px; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-card { background: var(--charcoal); padding: 32px 32px 36px; }
.step-card p.step-card__label {
	font-family: var(--font-body);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--orange);
	margin: 0 0 10px;
}
.step-card h3 { color: var(--white); margin-bottom: 8px; }
.step-card p { color: var(--on-dark-muted); font-size: 15px; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 19px;
	color: var(--charcoal);
}
.faq summary::-webkit-details-marker { display: none; }
.faq__marker { position: relative; flex: none; width: 22px; height: 22px; color: var(--orange-text); }
.faq__marker::before, .faq__marker::after {
	content: '';
	position: absolute;
	inset: 50% auto auto 0;
	width: 22px;
	height: 2px;
	background: currentColor;
}
.faq__marker::after { transform: rotate(90deg); }
.faq[open] .faq__marker::after { display: none; }
.faq__answer { padding: 0 46px 24px 0; }
.section--surface .faq-list, .section--surface .faq { border-color: #d6d3d0; }

/* ---------- Chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 16px;
	border: 1px solid var(--line);
	font-size: 14px;
	font-weight: 500;
	color: var(--charcoal);
	text-decoration: none;
}
.chip:hover { border-color: var(--charcoal); color: var(--charcoal); }
.chip .icon { color: var(--orange-text); }
.chip--active { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.chip--active:hover { color: var(--white); }

/* ---------- Service single ---------- */
.service-hero { padding-block: clamp(40px, 6vw, 88px); }
.service-hero .split { align-items: center; }
.service-hero__facts { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 28px; }
.fact { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--charcoal); }
.fact .icon { color: var(--orange-text); }
.fact .icon-star { color: var(--orange); }
.service-hero__image img { width: 100%; aspect-ratio: 13 / 10; object-fit: cover; }

.content-sidebar { display: grid; gap: var(--gap); align-items: start; }
@media (min-width: 1024px) { .content-sidebar { grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(48px, 5vw, 80px); } }
.prose h2 { font-size: clamp(26px, 1vw + 22px, 34px); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: baseline; color: var(--charcoal); }
.check-list .icon { color: var(--orange-text); transform: translateY(3px); }

.sidebar { display: grid; gap: 24px; }
.sidebar-card { padding: 28px; }
.sidebar-card--dark { background: var(--ink); }
.sidebar-card--dark h3 { color: var(--white); }
.sidebar-card--dark p { color: var(--on-dark-muted); font-size: 15px; }
.sidebar-card--dark .btn { width: 100%; margin-block: 8px; }
.sidebar-card--dark .fact { color: var(--white); }
.sidebar-card--dark .fact .icon { color: var(--orange); }
.sidebar-card--surface { background: var(--surface); }
.sidebar-links { list-style: none; margin: 12px 0 0; padding: 0; }
.sidebar-links li { border-bottom: 1px solid #d6d3d0; }
.sidebar-links li:last-child { border-bottom: 0; }
.sidebar-links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--charcoal);
	text-decoration: none;
}
.sidebar-links a:hover { color: var(--orange-text); }

/* ---------- Projects ---------- */
.project-facts { display: flex; flex-wrap: wrap; gap: 20px 48px; margin-top: 24px; }
.project-fact { display: flex; gap: 12px; align-items: center; }
.project-fact .icon { color: var(--orange-text); }
.project-fact__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.project-fact__value { font-size: 14px; font-weight: 600; color: var(--charcoal); }
.ba-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
.ba-item img { width: 100%; aspect-ratio: 32 / 21; object-fit: cover; }
.ba-item figcaption {
	display: inline-block;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.ba-item--before figcaption { background: var(--charcoal); color: var(--white); }
.ba-item--after figcaption { background: var(--orange); color: var(--ink); }
.gallery-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 24px; }
.gallery-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.pull-review { text-align: center; max-width: 820px; margin-inline: auto; }
.pull-review blockquote {
	margin: 20px 0;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(20px, 0.8vw + 17px, 26px);
	line-height: 1.5;
	color: var(--charcoal);
}
.section--dark .pull-review blockquote { color: var(--white); }
.pull-review cite { font-style: normal; font-size: 14px; font-weight: 600; color: var(--orange-text); }
.section--dark .pull-review cite { color: var(--orange); }

/* ---------- Map ---------- */
.map-embed { background: var(--surface); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: clamp(260px, 30vw, 420px); border: 0; }

/* ---------- Forms ---------- */
.quote-form { background: var(--white); padding: clamp(24px, 4vw, 48px); }
.quote-form__title { margin-bottom: 24px; }
.form-grid { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-field { margin: 0 0 20px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; color: var(--charcoal); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
	width: 100%;
	padding: 14px 16px;
	font: inherit;
	font-size: 16px;
	color: var(--charcoal);
	background: var(--white);
	border: 1px solid var(--border-input);
	border-radius: 0;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted); }
.select-wrap { position: relative; display: block; }
.select-wrap::after {
	content: '';
	position: absolute;
	right: 18px;
	top: 50%;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--charcoal);
	border-bottom: 2px solid var(--charcoal);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
.select-wrap select { appearance: none; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 4px; }
.form-hint { font-size: 14px; color: var(--muted); }
.hp-field { position: absolute !important; left: -9999px; }
.form-notice { padding: 20px 24px; margin-bottom: 24px; }
.form-notice--ok { background: #eef7ee; border-left: 4px solid #2e7d32; }
.form-notice--ok h3 { margin-bottom: 4px; }
.form-notice--error { background: #fdefed; border-left: 4px solid #c62828; }

.contact-list { display: grid; gap: 16px; margin-top: 8px; }
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-item__icon {
	flex: none;
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	background: var(--orange);
	color: var(--ink);
}
.contact-item__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-item a { color: var(--charcoal); font-weight: 600; text-decoration: none; font-size: 15px; }
.contact-item a:hover { color: var(--orange-text); }
.contact-item span.contact-item__value { color: var(--charcoal); font-weight: 600; font-size: 15px; }

/* ---------- Articles ---------- */
.article-layout { max-width: 1120px; margin-inline: auto; }
@media (min-width: 1024px) {
	.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; padding-inline: var(--gutter); }
	.article-layout .article-body { padding-inline: 0; }
	.article-toc { position: sticky; top: calc(var(--header-h) + 32px); padding-top: clamp(40px, 6vw, 64px); }
}
.article-toc { display: none; }
@media (min-width: 1024px) { .article-toc { display: block; } }
.article-toc ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.article-toc a {
	display: block;
	padding-left: 12px;
	border-left: 2px solid var(--line);
	font-size: 14px;
	color: var(--muted);
	text-decoration: none;
}
.article-toc a:hover { color: var(--charcoal); border-color: var(--orange); }
.featured-article__media img { height: 100%; }

.article-header { max-width: 860px; margin-inline: auto; text-align: center; padding-block: clamp(40px, 6vw, 72px) 0; }
.article-header .lede { max-width: 640px; margin-inline: auto; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-feature { max-width: 1120px; margin: 40px auto 0; padding-inline: var(--gutter); }
.article-feature img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.article-body { max-width: 720px; margin-inline: auto; padding: clamp(40px, 6vw, 64px) var(--gutter) var(--section-pad); }
.article-body h2 { font-size: clamp(24px, 0.8vw + 20px, 30px); margin-top: 1.6em; }
.article-body ul { padding-left: 1.2em; }
.callout { background: #fff3e4; border-left: 4px solid var(--orange); padding: 22px 26px; margin: 1.6em 0; }
.callout .eyebrow { margin-bottom: 6px; }
.callout p { margin: 0; color: var(--charcoal); }
.inline-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: var(--ink);
	padding: 28px;
	margin: 2em 0;
}
.inline-cta h3 { color: var(--white); margin: 0 0 4px; }
.inline-cta p { color: var(--on-dark-muted); margin: 0; font-size: 15px; }

.featured-article { display: grid; background: var(--ink); }
@media (min-width: 900px) { .featured-article { grid-template-columns: 11fr 9fr; } }
.featured-article__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 18 / 11; }
.featured-article__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 14px; align-items: flex-start; }
.featured-article__body h2 { color: var(--white); margin: 0; }
.featured-article__body p { color: var(--on-dark-muted); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .btn--primary { color: var(--ink); }
.site-footer .btn--primary:hover { color: var(--white); }
.site-footer__main {
	display: grid;
	gap: 40px;
	padding-block: clamp(48px, 6vw, 80px) clamp(40px, 5vw, 64px);
}
@media (min-width: 900px) { .site-footer__main { grid-template-columns: 5fr 3fr 3fr 4fr; gap: 48px; } }
.site-footer__brand img { width: 180px; margin-bottom: 20px; }
.site-footer__brand p { font-size: 15px; max-width: 42ch; }
.site-footer__brand .btn { margin-top: 20px; }
.site-footer h2 {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--orange);
	margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.site-footer__contact li { display: flex; align-items: center; gap: 10px; }
.site-footer__contact .icon { color: var(--orange); }
.site-footer__contact a, .site-footer__contact span { color: var(--white); }
.site-footer__legal { background: var(--ink-deep); font-size: 13px; }
.site-footer__legal-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 20px;
}

/* ---------- Misc ---------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}
.skip-link { left: 8px; top: 8px; z-index: 100; background: var(--white); padding: 12px 18px; }
.skip-link:focus { position: fixed !important; width: auto; height: auto; clip-path: none; }
.error-page { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: var(--gap); }
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding-inline: 12px;
	border: 1px solid var(--line);
	color: var(--charcoal);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}
.pagination .current { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}
