/* ==========================================================================
   Solid Ground Starter: main stylesheet.
   Colors and fonts are variables below. Child themes override them (and anything else)
   in their own assets/css/site.css, which loads after this file.
   ========================================================================== */

:root {
	--ink: #17181a;
	--ink-2: #222427;
	--ink-3: #2d3034;
	--steel: #5a5f66;
	--steel-light: #a7acb3;
	--line: #e3e0d8;
	--paper: #f6f4ef;
	--white: #fff;
	--accent: #f2b01e;
	--on-accent: var(--ink); /* Text and icons on accent backgrounds. */
	--accent-strong: #e09e05;
	--accent-text: #8a5c00; /* Amber for text on light backgrounds (passes WCAG AA contrast). */
	--accent-soft: #fdf3d7;
	--ok: #1f7a4d;
	--err: #b42318;

	--font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

	--radius: 10px;
	--radius-lg: 16px;
	--shadow: 0 1px 2px rgba(23, 24, 26, .06), 0 8px 24px rgba(23, 24, 26, .08);
	--shadow-lg: 0 20px 50px rgba(23, 24, 26, .18);
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 84px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }
h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: .005em;
	margin: 0 0 .5em;
	color: var(--ink);
}
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.screen-reader-text, .hp-field {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }

.sg-icon { flex: none; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font-family: var(--font-body); font-weight: 700; font-size: 16px; line-height: 1;
	padding: 15px 24px; border-radius: 8px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 18px 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-strong); color: var(--on-accent); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-body); font-size: 13px; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text);
	margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--accent); border-radius: 2px; }
.eyebrow--light, .hero .eyebrow, .page-hero .eyebrow, .section--dark .eyebrow, .estimate .eyebrow { color: var(--accent); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #d6d8db; font-size: 13.5px; }
.topbar__inner { display: flex; gap: 28px; justify-content: flex-end; align-items: center; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar__item .sg-icon { color: var(--accent); }
.topbar__item:first-child { margin-right: auto; }
a.topbar__item:hover { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50; background: var(--white);
	border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(23,24,26,.08); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand__logo { height: 68px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a {
	display: block; padding: 10px 14px; text-decoration: none;
	font-weight: 600; font-size: 15.5px; color: var(--ink); border-radius: 6px;
}
.main-nav .menu > li > a:hover { color: var(--ink); background: var(--paper); }
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a,
.main-nav .current_page_item > a,
.main-nav .current_page_parent > a { box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.main-nav .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(45deg); opacity: .6;
}
.main-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0;
	min-width: 250px; background: var(--white); border-radius: var(--radius);
	box-shadow: var(--shadow-lg); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { font-weight: 500; padding: 9px 12px; }
.main-nav .sub-menu a:hover { background: var(--paper); color: var(--ink); }
.main-nav__cta { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.header-phone__icon {
	width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--on-accent);
	display: grid; place-items: center;
}
.header-phone__text { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 800; font-size: 23px; line-height: 1.05; }
.header-phone__text small { font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--steel); letter-spacing: .02em; }
.header-phone:hover .header-phone__icon { background: var(--accent-strong); }
.nav-toggle {
	display: none; background: var(--ink); color: var(--white); border: 0; border-radius: 8px;
	width: 48px; height: 48px; cursor: pointer; place-items: center;
}
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

@media (max-width: 1180px) {
	.header-phone__text { display: none; }
}
@media (max-width: 1023px) {
	:root { --header-h: 72px; }
	.brand__logo { height: 50px; }
	.nav-toggle { display: grid; }
	.site-header__actions { margin-left: auto; }
	.main-nav {
		position: fixed; inset: 0; top: 0; z-index: 60; margin: 0;
		background: var(--ink); flex-direction: column; align-items: stretch;
		padding: 96px var(--gutter) 32px; gap: 18px; overflow-y: auto;
		transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
	}
	.nav-open .main-nav { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header__actions { position: relative; z-index: 70; }
	.nav-open .header-phone { visibility: hidden; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu a { color: var(--white); font-family: var(--font-head); font-size: 28px; font-weight: 700; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; }
	.main-nav .menu > li > a:hover { background: none; color: var(--accent); }
	.main-nav .current-menu-item > a, .main-nav .current_page_item > a { box-shadow: none; color: var(--accent); }
	/* Mobile: sub-pages are always listed under their parent, so one tap goes straight to any page. */
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 10px 18px; display: block; min-width: 0; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav .sub-menu a { font-size: 20px; color: #c9ccd0; border: 0; padding: 8px 0; }
	.main-nav__cta { display: flex; margin-top: 8px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ---------- Hero ---------- */
.hero {
	position: relative; background: var(--ink); color: var(--white); overflow: hidden;
	padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px);
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 45%),
		repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 18px);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { color: var(--white); font-size: clamp(44px, 6.4vw, 84px); text-transform: uppercase; line-height: .95; margin-bottom: 22px; }
.hero__text { font-size: clamp(17px, 1.6vw, 20px); color: #d3d6da; max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #c3c7cc; font-size: 15px; }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .sg-icon { color: var(--accent); }
.hero__media { position: relative; min-height: 520px; }
.hero__photo { margin: 0; position: absolute; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main { top: 0; right: 0; width: 78%; height: 100%; border: 6px solid var(--ink-3); }
.hero__photo--inset { left: 0; bottom: 36px; width: 44%; aspect-ratio: 4 / 5; border: 6px solid var(--ink); }
.hero__badge {
	position: absolute; right: -10px; bottom: -22px; background: var(--accent); color: var(--on-accent);
	border-radius: var(--radius); padding: 16px 20px; display: flex; align-items: center; gap: 12px;
	max-width: 260px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: 14px; line-height: 1.3;
}
.hero__badge strong { font-family: var(--font-head); font-size: 40px; font-weight: 800; line-height: 1; }

@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__media { min-height: 0; aspect-ratio: 4 / 3.4; max-width: 620px; width: 100%; }
	.hero__badge { right: 8px; }
}
@media (max-width: 560px) {
	.hero__actions .btn { width: 100%; }
	.hero__badge { display: none; }
}

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--accent); }
.trust-strip__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; padding-top: 16px; padding-bottom: 16px; }
.trust-strip a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--on-accent); padding: 4px 0; }
.trust-strip a:hover { text-decoration: underline; text-decoration-color: currentColor; color: var(--on-accent); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--tint { background: var(--paper); }
.section--dark { background: var(--ink); color: #d3d6da; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--content { padding-top: clamp(48px, 6vw, 80px); }
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; flex-wrap: wrap; }
.section-head--split .eyebrow { justify-content: flex-start; }
.section-head--split .section-title { margin-bottom: 0; }
.section-title { font-size: clamp(36px, 4.6vw, 58px); text-transform: uppercase; }
.section-lead { font-size: 18px; color: var(--steel); margin: 0; }

.checklist { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.checklist .sg-icon { color: var(--on-accent); background: var(--accent); border-radius: 50%; padding: 3px; width: 24px; height: 24px; margin-top: 1px; }
.checklist--light li { color: var(--white); font-weight: 500; }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.intro__media { position: relative; }
.intro__media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; background: var(--accent); border-radius: var(--radius-lg); }
.intro__media img { position: relative; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius-lg); }
.intro__content p:not(.eyebrow) { color: var(--steel); font-size: 17.5px; }
.intro__content .checklist { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) {
	.intro__grid { grid-template-columns: 1fr; }
	.intro__media { max-width: 520px; margin-right: 24px; }
	.intro__content .checklist { grid-template-columns: 1fr; }
}

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.service-card {
	display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg);
	overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
	border: 1px solid var(--line); transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.service-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--ink-2); }
.service-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.service-card__icon {
	position: absolute; left: 20px; bottom: -24px; width: 52px; height: 52px; border-radius: 12px;
	background: var(--accent); color: var(--on-accent); display: grid; place-items: center; box-shadow: var(--shadow);
}
.service-card__body { padding: 38px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card__title { font-size: 28px; text-transform: uppercase; margin-bottom: 8px; }
.service-card__text { color: var(--steel); font-size: 15.5px; line-height: 1.55; margin-bottom: 18px; }
.service-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.service-card:hover .service-card__more { color: var(--accent-text); }

/* ---------- Project cards ---------- */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.project-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.project-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); }
.project-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.project-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-card__link:hover .project-card__media img { transform: scale(1.04); }
.project-card__placeholder { height: 100%; display: grid; place-items: center; color: var(--steel-light); }
.project-card__count {
	position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px;
	background: rgba(23,24,26,.78); color: var(--white); font-size: 13px; font-weight: 600;
	padding: 5px 10px; border-radius: 99px;
}
.project-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.project-card__tag { align-self: flex-start; background: var(--accent-soft); color: #7a5600; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; margin-bottom: 10px; }
.project-card__title { font-size: 26px; text-transform: uppercase; margin-bottom: 14px; }
.project-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.project-card__link:hover .project-card__more { color: var(--accent-text); }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--steps, 4), 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); padding: 28px 24px; }
.step__num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--font-head); font-weight: 800; font-size: 26px; margin-bottom: 18px; }
.step h3 { font-size: 26px; text-transform: uppercase; margin-bottom: 8px; }
.step p { margin: 0; font-size: 15.5px; color: #b9bdc2; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Testimonial ---------- */
.quote { margin: 0; text-align: center; }
.stars { display: inline-flex; gap: 2px; color: var(--accent); vertical-align: middle; }
.stars--lg { margin-bottom: 20px; }
.quote blockquote { margin: 0 0 22px; }
.quote blockquote p { font-family: var(--font-head); font-weight: 600; font-size: clamp(24px, 3vw, 34px); line-height: 1.25; color: var(--ink); margin: 0; }
.quote figcaption { font-weight: 700; font-size: 17px; }
.quote figcaption span { display: block; font-weight: 500; color: var(--steel); font-size: 14px; }

/* ---------- Estimate / CTA ---------- */
.estimate { background: var(--ink); color: #d3d6da; padding: clamp(64px, 8vw, 110px) 0; position: relative; overflow: hidden; }
.estimate::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 18px); pointer-events: none; }
.estimate__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.estimate__title { color: var(--white); font-size: clamp(38px, 5vw, 62px); text-transform: uppercase; }
.estimate__text { font-size: 18px; margin-bottom: 26px; }
.estimate__phone { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); margin-bottom: 30px; }
.estimate__phone > span:last-child { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 800; font-size: 34px; line-height: 1; }
.estimate__phone small { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--steel-light); margin-bottom: 4px; }
.estimate__phone-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.estimate__phone:hover { color: var(--accent); }
.estimate__card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .estimate__grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.estimate-form .field { margin: 0 0 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.estimate-form label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.estimate-form label span { color: var(--accent-text); }
.estimate-form input, .estimate-form select, .estimate-form textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fbfaf8;
	border: 1.5px solid #d9d6cf; border-radius: 8px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.estimate-form textarea { resize: vertical; min-height: 120px; }
.estimate-form input:focus, .estimate-form select:focus, .estimate-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); background: var(--white); }
.estimate-form .btn { margin-top: 4px; padding: 17px 24px; font-size: 17px; }
.field--consent label { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--steel); text-transform: none; letter-spacing: 0; }
.field--consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent, currentColor); }
.field--consent a { color: inherit; text-decoration: underline; }
.form-fine { font-size: 13px; color: var(--steel); text-align: center; margin: 12px 0 0; }
.form-notice { display: flex; gap: 12px; align-items: flex-start; border-radius: 10px; padding: 16px 18px; margin-bottom: 18px; font-size: 15.5px; }
.form-notice--ok { background: #e7f5ee; color: #0f4a2e; }
.form-notice--ok .sg-icon { color: var(--ok); }
.form-notice--err { background: #fdecea; color: var(--err); }

/* ---------- Page hero ---------- */
.page-hero { background: var(--ink); color: #d3d6da; padding: clamp(48px, 6vw, 84px) 0 clamp(44px, 5vw, 72px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 40%), repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 18px); pointer-events: none; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--accent); }
.page-hero .container { position: relative; }
.page-hero__title { color: var(--white); font-size: clamp(42px, 6vw, 76px); text-transform: uppercase; margin-bottom: 14px; max-width: 900px; }
.page-hero__text { font-size: 19px; max-width: 720px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--steel-light); margin-bottom: 18px; }
.crumbs a { color: #d3d6da; text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* ---------- Entry content (block editor output) ---------- */
.entry-content > * { max-width: 780px; }
.entry-content > .alignwide { max-width: 1200px; }
.entry-content > .alignfull { max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.service-layout .entry-content > *, .project-layout .entry-content > * { max-width: none; }
.entry-content h2 { font-size: clamp(30px, 3.4vw, 42px); text-transform: uppercase; margin-top: 1.4em; }
.entry-content h3 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 1.3em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content p, .entry-content li { color: #3d4147; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; margin: 0 0 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content ul.is-style-checks, .entry-content ul.checks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px 20px; }
.entry-content ul.is-style-checks li, .entry-content ul.checks li { position: relative; padding-left: 34px; font-weight: 600; color: var(--ink); margin: 0; }
.entry-content ul.is-style-checks li::before, .entry-content ul.checks li::before {
	content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317181a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.entry-content figure { margin: 0 0 1.6em; }
.entry-content img { border-radius: var(--radius); }
.entry-content figcaption { font-size: 14px; color: var(--steel); text-align: center; margin-top: 8px; }
.entry-content blockquote, .entry-content .wp-block-quote { border-left: 4px solid var(--accent); margin: 0 0 1.5em; padding: 4px 0 4px 22px; }
.entry-content blockquote p { font-size: 20px; font-weight: 500; color: var(--ink); }
.entry-content a { font-weight: 600; }
.entry-content .wp-block-gallery.has-nested-images { --wp--style--unstable-gallery-gap: 12px; gap: 12px; margin-bottom: 1.8em; }
.entry-content .wp-block-gallery img { border-radius: 8px; }
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image { margin: 0; }
.entry-content .wp-block-media-text { gap: 0; margin-bottom: 1.8em; }
.entry-content .wp-block-media-text__media img { border-radius: var(--radius-lg); }
.entry-content .wp-block-columns { gap: 32px; }
.entry-content .wp-block-separator { border: 0; height: 3px; width: 64px; background: var(--accent); margin: 2em 0; }
.entry-content .wp-block-button__link { background: var(--accent); color: var(--on-accent); font-weight: 700; border-radius: 8px; padding: 14px 24px; text-decoration: none; }
.entry-content .wp-block-button__link:hover { background: var(--accent-strong); }
.entry-content details { border: 1px solid var(--line); border-radius: var(--radius); padding: 0; margin-bottom: 10px; background: var(--white); }
.entry-content details summary { cursor: pointer; font-weight: 700; padding: 16px 20px; list-style: none; position: relative; padding-right: 48px; }
.entry-content details summary::-webkit-details-marker { display: none; }
.entry-content details summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 500; color: var(--accent-text); }
.entry-content details[open] summary::after { content: "–"; }
.entry-content details > :not(summary) { padding: 0 20px; }
.entry-content details > p:last-child { padding-bottom: 16px; margin-bottom: 0; }
.wp-block-image .lightbox-trigger { border-radius: 50%; }

/* Highlight box (Group block with class "callout") */
.entry-content .callout, .entry-content .is-style-callout { background: var(--paper); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 24px 28px; margin: 0 0 1.6em; }
.entry-content .callout > :last-child, .entry-content .is-style-callout > :last-child { margin-bottom: 0; }

/* ---------- Service layout ---------- */
.service-layout, .project-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.service-layout__image { margin: 0 0 2em; }
.service-layout__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }
.service-layout__side, .project-layout__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.admin-bar .service-layout__side, .admin-bar .project-layout__side { top: calc(var(--header-h) + 56px); }
.side-card { background: var(--paper); border-radius: var(--radius-lg); padding: 26px; border: 1px solid var(--line); }
.side-card h2 { font-size: 26px; text-transform: uppercase; margin-bottom: 10px; }
.side-card p { font-size: 15.5px; color: var(--steel); }
.side-card--accent { background: var(--accent); border-color: var(--accent); }
.side-card--accent p { color: var(--ink); }
.side-card__phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-family: var(--font-head); font-weight: 800; font-size: 26px; text-decoration: none; color: var(--ink); }
.side-card__phone:hover { color: var(--ink); text-decoration: underline; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15.5px; }
.side-links a:hover { background: var(--white); color: var(--ink); }
.side-links .sg-icon { color: var(--accent-strong); }
.side-links .is-current a { background: var(--ink); color: var(--white); }
.side-links .is-current .sg-icon { color: var(--accent); }
.details { margin: 0; display: grid; gap: 4px; }
.details dt { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); margin-top: 8px; }
.details dd { margin: 0; font-weight: 600; }
@media (max-width: 960px) {
	.service-layout, .project-layout { grid-template-columns: 1fr; }
	.service-layout__side, .project-layout__side { position: static; }
}

.project__feature { margin: 0 0 1.8em; }
.project__feature img { width: 100%; max-height: 720px; object-fit: cover; border-radius: var(--radius-lg); }

/* ---------- Projects archive ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; justify-content: center; }
.filter__item { text-decoration: none; padding: 9px 18px; border-radius: 99px; border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; background: var(--white); }
.filter__item:hover { border-color: var(--ink); color: var(--ink); }
.filter__item.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 14px; border-radius: 8px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; }
.pagination .page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.empty { text-align: center; color: var(--steel); }
.service-link { text-align: center; margin-top: 40px; font-weight: 600; }
.service-link a { display: inline-flex; align-items: center; gap: 6px; }

.services-intro { margin: 0 auto 48px; }
.services-intro > * { margin-left: auto; margin-right: auto; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-cards { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-cards li { display: flex; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.contact-cards__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; flex: none; }
.contact-cards small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.contact-cards a, .contact-cards span { font-weight: 600; font-size: 17px; text-decoration: none; overflow-wrap: anywhere; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h2 { font-size: 36px; text-transform: uppercase; margin-bottom: 6px; }
.form-card > p { color: var(--steel); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.4); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.search-results { list-style: none; padding: 0; }
.search-results li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.search-results a { font-weight: 700; font-size: 20px; }
.search-results p { margin: 6px 0 0; color: var(--steel); }

/* ---------- Footer ---------- */
.site-footer { background: #0f1011; color: #b9bdc2; font-size: 15.5px; padding-top: 72px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.site-footer__logo { height: 70px; width: auto; margin-bottom: 20px; }
.site-footer__title { color: var(--white); font-size: 22px; text-transform: uppercase; margin-bottom: 16px; letter-spacing: .02em; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #d3d6da; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .sg-icon { color: var(--accent); margin-top: 3px; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 16px; }
.social a { font-weight: 600; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile call bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 767px) {
	.topbar { display: none; }
	body { padding-bottom: 64px; }
	.mobile-bar {
		display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
		box-shadow: 0 -6px 20px rgba(0,0,0,.15);
	}
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 64px; font-weight: 700; font-size: 16.5px; text-decoration: none; }
	.mobile-bar__call { background: var(--ink); color: var(--white); }
	.mobile-bar__quote { background: var(--accent); color: var(--on-accent); }
	.mobile-bar__call:hover { color: var(--white); }
	.mobile-bar__quote:hover { color: var(--ink); }
	.header-phone { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Tall phone photos: keep single images from taking over the screen. */
.entry-content > .wp-block-image img { max-height: 760px; width: auto; margin: 0 auto; }
.entry-content > .wp-block-image { text-align: center; }

/* Standard pages: one 1000px column, prose left-aligned on the same edge as images. */
.entry-content--centered { max-width: calc(1000px + var(--gutter) * 2); }
.entry-content--centered > * { margin-left: 0; margin-right: 0; }
.entry-content--centered > .wp-block-columns { max-width: none; margin-bottom: 2.4em; }
.entry-content--centered .wp-block-columns .wp-block-column > :last-child { margin-bottom: 0; }
.entry-content--centered .wp-block-column h2:first-child { margin-top: 0; }
.entry-content--centered .wp-block-columns img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius-lg); }

/* GroundSnap: no extra space above the page header (GroundSnap adds top padding for themes without one). */
body:is(.single-gs_project, .post-type-archive-gs_project, .tax-gs_service, .tax-gs_town) main.site-main:not(.gs-archive) {
	padding-top: 0;
}

/* GroundSnap wraps the write-up in .gs-writeup: same spacing and photo sizing as a regular project. */
.project-layout .gs-writeup { margin: 0; }
.gs-writeup > :first-child { margin-top: 0; }
.gs-writeup > .wp-block-image { text-align: center; }
.gs-writeup > .wp-block-image img { max-height: 760px; width: auto; margin: 0 auto; }


/* ==========================================================================
   Starter additions: background hero (photo or video), areas served,
   thank-you page, text logo, credentials.
   ========================================================================== */
.steps--3 { --steps: 3; }
.steps--5 { --steps: 5; }
.steps--2 { --steps: 2; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; color: var(--ink); }
.brand__tagline { font-size: 13px; font-weight: 600; color: var(--steel); line-height: 1.3; max-width: 180px; }

.hero--background { padding: 0; min-height: min(78vh, 760px); display: flex; align-items: center; isolation: isolate; }
.hero--background::before { display: none; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--ink); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,var(--hero-overlay, .55)) 0%, rgba(0,0,0,calc(var(--hero-overlay, .55) * .6)) 60%, rgba(0,0,0,calc(var(--hero-overlay, .55) * .3)) 100%); }
.hero__video, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video + .hero__poster { opacity: 1; transition: opacity .6s; }
.hero--background.is-playing:not(.is-paused) .hero__video + .hero__poster { opacity: 0; }
.hero__inner { position: relative; width: 100%; padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(72px, 10vw, 140px); }
.hero--background .hero__content { max-width: 760px; }
.hero__pause {
	position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center; cursor: pointer; color: var(--white);
	background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.3);
}
.hero__pause:hover { background: rgba(0,0,0,.7); }
.hero__pause .i-play { display: none; }
.hero--background.is-paused .hero__pause .i-play { display: block; }
.hero--background.is-paused .hero__pause .i-pause { display: none; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } .hero__video + .hero__poster { opacity: 1 !important; } }


.area__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.area__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.city-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 18px; }
.city-list li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.city-list .sg-icon { color: var(--accent); }
.city-list a { text-decoration: underline; text-decoration-color: var(--accent); }
@media (max-width: 860px) { .area__grid { grid-template-columns: 1fr; } }

.site-footer__creds { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-size: 14px; }
.site-footer__creds li { display: flex; align-items: center; gap: 8px; }
.site-footer__creds .sg-icon { color: var(--accent); }

.thanks { padding: clamp(64px, 10vw, 130px) 0; text-align: center; }
.thanks__icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: var(--on-accent); margin-bottom: 24px; }
.thanks__title { font-size: clamp(40px, 6vw, 72px); text-transform: uppercase; }
.thanks__lead { font-size: 20px; color: var(--steel); max-width: 620px; margin: 0 auto 30px; }
.thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 40px; }
.thanks__links { justify-content: center; }
.thanks .entry-content { text-align: left; max-width: 680px; margin: 0 auto 30px; }

.intro__grid.intro__grid--solo, .area__grid.area__grid--solo { grid-template-columns: 1fr; max-width: calc(980px + var(--gutter) * 2); }

/* Image beside text (Columns block with an image column): the photo fills the height of the text
   next to it instead of floating small in the middle, and takes a bit less than half the width. */
.entry-content .wp-block-columns:has(> .wp-block-column > .wp-block-image:only-child) { align-items: stretch !important; gap: clamp(24px, 4vw, 48px); margin-bottom: 2.4em; }
.entry-content .wp-block-column:has(> .wp-block-image:only-child) { flex: 0 0 42% !important; align-self: stretch !important; display: flex; }
.entry-content .wp-block-column > .wp-block-image:only-child { margin: 0; width: 100%; display: flex; }
.entry-content .wp-block-column > .wp-block-image:only-child img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; border-radius: var(--radius-lg); }
.entry-content .wp-block-columns:has(> .wp-block-column > .wp-block-image:only-child) .wp-block-column:not(:has(> .wp-block-image)) { align-self: center !important; }
.entry-content .wp-block-columns:has(> .wp-block-column > .wp-block-image:only-child) .wp-block-column > :first-child { margin-top: 0; }
@media (max-width: 781px) {
	.entry-content .wp-block-column:has(> .wp-block-image:only-child) { flex-basis: 100% !important; }
	.entry-content .wp-block-column > .wp-block-image:only-child img { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
}

/* ---------- More homepage sections (1.0.2) ---------- */
.badges { background: var(--ink-2); color: #e3e5e8; }
.badges__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.badges__item { display: flex; align-items: center; gap: 14px; padding: 20px 16px; font-weight: 600; font-size: 15px; line-height: 1.35; border-left: 1px solid rgba(255,255,255,.08); }
.badges__item:first-child { border-left: 0; }
.badges__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
@media (max-width: 560px) { .badges__item { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); padding: 14px 0; } .badges__item:first-child { border-top: 0; } }

.features__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.features__grid--solo { grid-template-columns: 1fr; max-width: calc(900px + var(--gutter) * 2); }
.features__media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.features__list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 22px; }
.features__list li { display: flex; gap: 18px; align-items: flex-start; }
.features__icon { flex: none; width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--accent); }
.features__list h3 { font-size: 23px; text-transform: uppercase; margin-bottom: 4px; }
.features__list p { margin: 0; color: var(--steel); }
@media (max-width: 860px) { .features__grid { grid-template-columns: 1fr; } .features__media { max-width: 560px; } }

.checklist-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.checklist-grid li { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-weight: 600; }
.checklist-grid .sg-icon { flex: none; color: var(--on-accent); background: var(--accent); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }

.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.review-card { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.review-card blockquote { margin: 0; flex: 1; }
.review-card blockquote p { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.6; }
.review-card figcaption { font-weight: 700; }
.reviews__more { text-align: center; margin: 32px 0 0; }

.gallery-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-band__item { display: block; overflow: hidden; border-radius: var(--radius); }
.gallery-band__item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.gallery-band__item:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery-band__grid { grid-template-columns: repeat(2, 1fr); } }
.header-phone__text, .header-phone__text small { white-space: nowrap; }

/* ---------- Videos (1.0.3) ---------- */
.sg-video { margin: 0; }
.sg-video__play, .sg-video__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius-lg); overflow: hidden; background: #000; cursor: pointer; }
.sg-video__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, opacity .3s; opacity: .92; }
.sg-video__play:hover img { transform: scale(1.03); opacity: 1; }
.sg-video__icon { position: absolute; inset: 0; display: grid; place-items: center; color: #e62117; filter: drop-shadow(0 4px 14px rgba(0,0,0,.4)); transition: transform .2s; }
.sg-video__play:hover .sg-video__icon { transform: scale(1.08); }
.sg-video--large .sg-video__icon svg { width: 92px; height: 65px; }
.sg-video figcaption { font-size: 14.5px; font-weight: 600; margin-top: 10px; }
.sg-video-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; margin: 0 0 1.6em; }
@media (max-width: 860px) { .sg-video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sg-video-grid { grid-template-columns: 1fr; } }
.videos-band__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.videos-band__intro p { color: #c9ced4; }
.videos-band__more { margin: 32px 0 0; }
.videos-band .sg-video figcaption { color: #dfe3e8; }
@media (max-width: 900px) { .videos-band__grid { grid-template-columns: 1fr; } }

/* ---------- Wide and full-width blocks inside page content ---------- */
.entry-content > .alignwide { width: min(1400px, calc(100vw - var(--gutter) * 2)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content > .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content--centered > .alignwide, .entry-content--centered > .alignfull { margin-left: 50%; }
.entry-content > .wp-block-gallery.alignwide { --wp--style--gallery-gap-default: 10px; gap: 10px; }
body { overflow-x: clip; }

/* ---------- Google reviews + floating rating badge (1.0.4) ---------- */
.sg-stars { position: relative; display: inline-block; line-height: 0; vertical-align: middle; }
.sg-stars__bg { color: #d6d8dc; display: inline-flex; gap: 1px; }
.sg-stars__fg { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: #f5a623; display: inline-flex; gap: 1px; }
.sg-g { vertical-align: middle; flex: none; }
.reviews__summary { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 10px 0 0; font-size: 16px; }
.reviews__summary strong { font-size: 20px; }
.review-meta { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; font-size: 13px; color: var(--steel); margin-left: 6px; }
.review-card figcaption a { color: inherit; text-decoration: none; }

.gr-badge { position: fixed; bottom: 20px; z-index: 45; display: flex; align-items: center; opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .35s; }
.gr-badge.is-in { opacity: 1; transform: none; }
.gr-badge--left { left: 20px; }
.gr-badge--right { right: 20px; }
.gr-badge[hidden] { display: none; }
.gr-badge__link { display: flex; align-items: center; gap: 12px; background: #fff; color: #202124; text-decoration: none; padding: 10px 16px 10px 12px; border-radius: 14px; box-shadow: 0 8px 28px rgba(0,0,0,.18); border: 1px solid rgba(0,0,0,.06); }
.gr-badge__link:hover { color: #202124; box-shadow: 0 10px 32px rgba(0,0,0,.24); }
.gr-badge__g { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f1f3f4; }
.gr-badge__body { display: flex; flex-direction: column; line-height: 1.2; font-family: Arial, Helvetica, sans-serif; }
.gr-badge__top { display: flex; align-items: center; gap: 6px; }
.gr-badge__top strong { font-size: 18px; }
.gr-badge__sub { font-size: 12.5px; color: #5f6368; margin-top: 3px; }
.gr-badge__close { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #5f6368; color: #fff; font-size: 15px; line-height: 22px; padding: 0; cursor: pointer; opacity: 0; transition: opacity .2s; }
.gr-badge:hover .gr-badge__close, .gr-badge__close:focus { opacity: 1; }
@media (max-width: 767px) {
	.gr-badge { bottom: 76px; }
	.gr-badge--left { left: 12px; }
	.gr-badge--right { right: 12px; }
	.gr-badge__link { padding: 7px 12px 7px 8px; gap: 9px; }
	.gr-badge__g { width: 32px; height: 32px; }
	.gr-badge__top strong { font-size: 16px; }
	.gr-badge__close { opacity: 1; }
}
@media print { .gr-badge { display: none; } }

/* ------------------------------------------------------------------ *
 * Project page layouts (Site Settings > Project Pages)
 * ------------------------------------------------------------------ */
.details__item { margin: 0; }
.details--strip { display: flex; flex-wrap: wrap; gap: 0; }
.details--strip .details__item { padding: 4px 28px; border-left: 1px solid var(--line); }
.details--strip .details__item:first-child { padding-left: 0; border-left: 0; }
.details--strip dt { margin-top: 0; }
.details--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 6px 0 26px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.details--grid dt { margin-top: 0; }

/* Shared reading column for the wide, photo and split layouts. */
.project-read { max-width: 820px; margin: 0 auto; }
.project-read .entry-content > * { max-width: none; }
.project-cta--row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(36px, 5vw, 56px); padding: clamp(24px, 3vw, 34px); }
.project-cta--row h2 { margin-bottom: 6px; }
.project-cta--row p { margin: 0; }
.project-cta--row .project-cta__actions { flex: 0 0 auto; min-width: 250px; }
.project-related { margin-top: clamp(32px, 4vw, 44px); }
.project-related__label { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); margin: 0 0 10px; }
.pill-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; background: var(--white); }
.pill-links a:hover { border-color: var(--ink); color: var(--ink); }
.pill-links .sg-icon { color: var(--accent-strong); }

/* Wide: big lead photo, facts strip. */
.project-wide__photo { margin: 0 0 26px; }
.project-wide__photo img { width: 100%; max-height: 640px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }
.project-wide__facts { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: 20px 0 22px; margin-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }

/* Photo first: title over the lead photo, glance box beside the opening text. */
.project-photo-hero { position: relative; min-height: clamp(380px, 62vh, 640px); display: flex; align-items: flex-end; background: var(--ink); color: #d3d6da; overflow: hidden; }
.project-photo-hero__img { position: absolute; inset: 0; }
.project-photo-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.project-photo-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.85) 100%), linear-gradient(90deg, rgba(0,0,0,.45), transparent 70%); }
.project-photo-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--accent); z-index: 2; }
.project-photo-hero__inner { position: relative; z-index: 2; padding-top: 120px; padding-bottom: clamp(34px, 4vw, 54px); }
.project-photo-hero .eyebrow { color: var(--accent); }
.project-photo-hero .crumbs a { color: #e6e8eb; }
.project-photo-hero .page-hero__title { text-shadow: 0 2px 18px rgba(0,0,0,.35); margin-bottom: 0; }
.project-glance { float: right; width: 290px; margin: 6px 0 24px 36px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--radius); }
.project-glance h2 { font-size: 22px; text-transform: uppercase; margin: 0 0 4px; }
.project-glance .details { margin-bottom: 18px; }
.project--photo .project-read::after { content: ""; display: table; clear: both; }
.project--photo .project-related, .project--photo .project-cta--row { clear: both; }

/* Split intro: photo beside title and facts. */
.project-split { background: var(--paper); padding: clamp(32px, 5vw, 64px) 0; border-bottom: 6px solid var(--accent); }
.project-split__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.project-split__photo { margin: 0; }
.project-split__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.project-split .crumbs { color: var(--steel); }
.project-split .crumbs a { color: var(--steel); }
.project-split .crumbs a:hover { color: var(--ink); }
.project-split__title { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; margin: 0 0 16px; }
.project-split__summary { font-size: 18px; color: var(--steel); margin: 0 0 8px; }

@media (max-width: 900px) {
	.project-split__grid { grid-template-columns: 1fr; }
	.project-split__photo { order: 2; }
	.project-cta--row { flex-direction: column; align-items: stretch; }
	.project-cta--row .project-cta__actions { min-width: 0; }
}
@media (max-width: 700px) {
	.project-glance { float: none; width: auto; margin: 0 0 28px; }
	.details--strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.details--strip .details__item { padding: 0; border-left: 0; }
	.project-wide__facts .btn { width: 100%; justify-content: center; }
	.details--grid { grid-template-columns: 1fr 1fr; }
}

/* Image style "Show whole image" (certificates, awards, logos): never cropped, even beside text. */
.entry-content .wp-block-columns:has(> .wp-block-column > .wp-block-image.is-style-uncropped:only-child) { align-items: center !important; }
.entry-content .wp-block-column > .wp-block-image.is-style-uncropped:only-child { display: block; }
.entry-content .wp-block-image.is-style-uncropped img,
.entry-content--centered .wp-block-columns .wp-block-image.is-style-uncropped img { width: 100%; height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; object-fit: contain !important; }
