/* EDC theme: warm dark walnut. Tokens and values from DESIGN-HANDOFF.md sections 4–6. */

:root {
	--ink-900: #0B131A;
	--ink-800: #121B24;
	--surface: #1A2530;
	--placeholder-1: #222D37;
	--placeholder-2: #26313B;
	--line: #2B3640;
	--line-footer: #2E3944;
	--line-strong: #4A5560;
	--text: #F2EDE6;
	--heading: #F4EFE8;
	--text-on-photo: #E8E1D7;
	--body: #D6CFC4;
	--muted: #A99F92;
	--logo-gray: #B5AEA4;
	--walnut: #C08A5B;
	--walnut-light: #D2A77F;

	--font-serif: 'Cormorant Garamond', Georgia, serif;
	--font-sans: 'Manrope', system-ui, sans-serif;
	--font-logo: 'Cinzel', 'Trajan Pro', Georgia, serif;

	--gutter: 5%;
	--container: 1320px;
	--section: 160px;
	--ease: 200ms ease;
	/* Admin bar height when logged in (it scrolls away on small phones, see below). */
	--top: var(--wp-admin--admin-bar--height, 0px);
}

@media (max-width: 600px) {
	:root { --top: 0px; }
}
/* Less extra space on tablets and phones, so pages don't get very long. */
@media (max-width: 900px) {
	:root { --section: 104px; }
}
@media (max-width: 600px) {
	:root { --section: 80px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--ink-800);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; }
img { height: auto; }

a { color: var(--text); }
a:hover { color: var(--walnut-light); }

:focus-visible { outline: 2px solid var(--walnut-light); outline-offset: 3px; }

h1, h2, h3, h4 { margin: 0; color: var(--heading); font-family: var(--font-serif); font-weight: 500; }
p { margin: 0; }

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1001;
	background: var(--walnut);
	color: var(--ink-800);
	padding: 12px 18px;
	font-weight: 600;
}
.skip-link:focus { top: calc(var(--top) + 16px); }

.container { max-width: var(--container); margin: 0 auto; }

.section { padding: var(--section) var(--gutter); }
.section--follow { padding-top: 0; }
/* Project page: its first section sits under the banner, so it keeps its top padding. */
.project-story > .section:first-child { padding-top: var(--section); }
/* "Back to ..." sits just under the last gallery instead of floating between it and the closing band. */
.section--back { margin-top: calc(56px - var(--section)); }

/* ---------- Type ---------- */

.h2 { font-size: clamp(40px, 5.4vw, 78px); line-height: 1.02; letter-spacing: -0.012em; text-wrap: balance; }
/* One italic walnut word in a few key headings (as in the homepage hero). */
.h2 em, .page-banner__title em { font-style: italic; font-weight: 500; color: var(--walnut-light); }
.h3 { font-size: 30px; line-height: 1.15; }

.eyebrow {
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--walnut);
	font-weight: 600;
}
.eyebrow--hero {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 13px;
	letter-spacing: 0.24em;
}
.eyebrow__line { width: 56px; height: 1px; background: var(--walnut); flex: none; }
/* Phones: no rule line beside the hero label, so "Serving Chicagoland and Milwaukee" wraps evenly. */
@media (max-width: 480px) {
	.eyebrow--hero .eyebrow__line { display: none; }
	.eyebrow--hero { text-wrap: balance; }
}

.lead { font-size: 18px; line-height: 1.7; color: var(--body); max-width: 640px; }
.text-body { color: var(--body); }

.more-link {
	font: 600 12px/1 var(--font-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--text);
	border-bottom: 1px solid var(--walnut);
	padding-bottom: 6px;
	transition: color var(--ease), border-color var(--ease);
}
.more-link:hover { color: var(--walnut-light); border-color: var(--walnut-light); }

/* ---------- Buttons ---------- */

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
/* Phones: stacked buttons share the width of the widest one. */
@media (max-width: 480px) {
	.btn-row--stack { display: grid; justify-content: start; }
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 17px 30px;
	border: 1px solid transparent;
	font: 600 12px/1.2 var(--font-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}
.btn--primary { background: var(--walnut); color: var(--ink-800); }
.btn--primary:hover { background: var(--walnut-light); color: var(--ink-800); }
.btn--secondary { border-color: rgba(210, 167, 127, 0.7); color: var(--text); }
.btn--secondary:hover { background: rgba(192, 138, 91, 0.12); border-color: var(--walnut-light); color: var(--text); }

/* Header button: walnut on solid header, outline on the floating header. */
.btn--header {
	min-height: 44px;
	white-space: nowrap;
	padding: 13px 22px;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	background: var(--walnut);
	color: var(--ink-800);
}
.btn--header:hover { background: var(--walnut-light); color: var(--ink-800); }

/* ---------- Logo ---------- */

.logo {
	--h: 72px;
	display: flex;
	align-items: center;
	gap: calc(var(--h) * 0.11);
	text-decoration: none;
	flex: none;
}
.logo--small { --h: 56px; }
.logo--footer { --h: 64px; }
.logo__mark { height: var(--h); width: auto; display: block; transition: height var(--ease); }
.logo__rule { width: 2px; height: var(--h); background: var(--logo-gray); transition: height var(--ease); }
.logo__words {
	display: flex;
	flex-direction: column;
	font-family: var(--font-logo);
	font-size: calc(var(--h) * 0.342);
	line-height: calc(var(--h) * 0.351);
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--heading);
	white-space: nowrap;
	transition: font-size var(--ease), line-height var(--ease);
}
.logo__gray { color: var(--logo-gray); }

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: var(--top);
	z-index: 100;
	padding: 20px var(--gutter);
	background: var(--ink-900);
	border-bottom: 1px solid rgba(192, 138, 91, 0.35);
	transition: background-color var(--ease), padding var(--ease), border-color var(--ease);
}
.site-header__inner {
	max-width: var(--container);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
}

/* Contact strip above the menu (tablets and computers; phones get the contact bar instead). Stays with the sticky header
   and folds away once the footer comes into view (below). */
.topbar {
	max-width: var(--container);
	margin: 0 auto 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(242, 237, 230, 0.12);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 24px;
	font-size: 13px;
	color: var(--muted);
}
.topbar a { color: var(--muted); text-decoration: none; }
.topbar a:hover { color: var(--walnut-light); }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 6px 40px; }
/* Same as the footer and Contact page: Instagram and Facebook icons, then the account name. */
.topbar__follow { display: flex; align-items: center; gap: 14px; }
/* Client Login sits before the social icons, set off by a thin divider. */
.client-login { text-decoration: none; }
/* Phones and tablets: "Login" as text beside Menu (the full menu has Client Login from 1260px). */
.header-login { display: none; }
@media (max-width: 1259px) {
	.header-login {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		padding: 0 6px;
		flex: none;
		font: 600 12px/1 var(--font-sans);
		letter-spacing: 0.18em;
		text-transform: uppercase;
		text-decoration: none;
		color: var(--text);
	}
}
.topbar__login { padding-right: 16px; margin-right: 4px; border-right: 1px solid rgba(242, 237, 230, 0.16); }
.mobile-menu__login { margin-top: 8px; }
.topbar .social { gap: 9px; }
.topbar .social__link { gap: 7px; }
.topbar .social__link svg { width: 15px; height: 15px; }
.site-header { padding-top: 10px; }
.site-header--no-topbar { padding-top: 20px; }
@media (max-width: 600px) {
	.topbar { display: none; }
	.site-header { padding-top: 12px; }
}

.site-nav { display: flex; align-items: center; gap: 12px 24px; white-space: nowrap; }

.nav-link {
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 600;
	text-decoration: none;
	color: var(--text);
}
.nav-link:hover { color: var(--walnut-light); }
.nav-link[aria-current="page"] {
	color: var(--walnut-light);
	border-bottom: 1px solid var(--walnut);
	padding-bottom: 4px;
}

/* Services menu: opens on hover or keyboard focus. The top padding bridges the gap so the pointer can reach it. */
.nav-item { position: relative; }
.nav-dropdown {
	position: absolute;
	top: 100%;
	left: -20px;
	padding-top: 18px;
	display: flex;
	flex-direction: column;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
	z-index: 10;
}
.nav-dropdown::before {
	content: "";
	position: absolute;
	inset: 18px 0 0;
	background: var(--ink-900);
	border: 1px solid var(--line);
	border-top: 1px solid var(--walnut);
	z-index: -1;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { visibility: visible; opacity: 1; transform: none; }
.nav-dropdown__link {
	padding: 12px 20px;
	font-size: 14px;
	color: var(--text);
	text-decoration: none;
	white-space: nowrap;
}
.nav-dropdown__link:first-child { padding-top: 18px; }
.nav-dropdown__link:last-child { padding-bottom: 18px; }
.nav-dropdown__link:hover,
.nav-dropdown__link[aria-current="page"] { color: var(--walnut-light); }

.site-header__compact { display: none; align-items: center; gap: 12px; }

.menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 6px;
	background: none;
	border: 0;
	color: var(--text);
	font: 600 12px/1 var(--font-sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
}
.menu-toggle:hover { color: var(--walnut-light); }
.menu-toggle svg { flex: none; }

/* Floating header (home): sits over the hero photo, turns solid and fixed once scrolled (site.js adds .is-stuck). */
@media (min-width: 901px) {
	.site-header--float {
		position: absolute;
		left: 0;
		right: 0;
		top: var(--top);
		padding: 28px var(--gutter);
		background: transparent;
		border-bottom-color: transparent;
	}
	/* Keep the hero clean: over the photo only Client Login shows; the full strip appears once the header turns solid. */
	.site-header--float:not(.is-stuck) { padding-top: 14px; }
	.site-header--float:not(.is-stuck) .topbar { justify-content: flex-end; border-bottom-color: transparent; margin-bottom: 4px; padding-bottom: 0; }
	.site-header--float:not(.is-stuck) .topbar__contact,
	.site-header--float:not(.is-stuck) .topbar__social { display: none; }
	.site-header--float:not(.is-stuck) .topbar__login { padding-right: 0; margin-right: 0; border-right: 0; color: var(--text-on-photo); }
	.site-header--float:not(.is-stuck) .topbar:not(:has(.topbar__login)) { display: none; }
	.site-header--float .logo { --h: 72px; }
	.site-header--float .btn--header { background: transparent; border-color: var(--heading); color: var(--heading); }
	.site-header--float .btn--header:hover { background: var(--walnut); border-color: var(--walnut); color: var(--ink-800); }

	.site-header--float.is-stuck {
		position: fixed;
		padding: 8px var(--gutter) 14px;
		background: var(--ink-900);
		border-bottom-color: rgba(192, 138, 91, 0.35);
	}
	.site-header--float.is-stuck .logo { --h: 64px; }
	.site-header--float.is-stuck .btn--header { background: var(--walnut); border-color: transparent; color: var(--ink-800); }
	.site-header--float.is-stuck .btn--header:hover { background: var(--walnut-light); }
}

/* Once the footer is in view, the contact strip folds away so the phone, email and Instagram don't show twice
   (site.js adds .is-at-footer). */
.topbar {
	max-height: 80px;
	overflow: hidden;
	transition: max-height var(--ease), opacity var(--ease), margin var(--ease), padding var(--ease), border-color var(--ease);
}
.site-header.is-at-footer .topbar { max-height: 0; margin-bottom: 0; padding-bottom: 0; opacity: 0; border-bottom-color: transparent; }
@media (min-width: 901px) {
	.site-header--solid.is-at-footer { padding-top: 14px; padding-bottom: 14px; }
	.site-header--float.is-stuck.is-at-footer { padding-top: 14px; }
}

/* Logo + five links + button need about 1220px (measured, with "Contact & Showroom"); full nav from 1260px, leaving room for a scrollbar. */
@media (max-width: 1259px) {
	.site-nav { display: none; }
	.site-header__compact { display: flex; }
	.logo { --h: 64px; }
}
@media (max-width: 900px) {
	.site-header { padding: 12px var(--gutter); }
	.logo { --h: 56px; }
}
/* Phones: Schedule a Call moves from the header to the contact bar at the bottom of the screen. */
@media (max-width: 600px) {
	.site-header__compact .btn--header { display: none; }
	/* Room for Login and Menu beside the full logo: tighter letter spacing and gaps. */
	.site-header__inner { gap: 8px; }
	.site-header__compact { gap: 2px; }
	.header-login { padding: 0 8px; letter-spacing: 0.12em; }
	.menu-toggle { gap: 8px; padding-right: 0; letter-spacing: 0.12em; }
}
@media (max-width: 360px) {
	.site-header .logo__words, .site-header .logo__rule { display: none; }
}

/* Homepage: quiet Instagram line under Selected work. */
.ig-follow { margin: 32px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--body); font-size: 15px; }
.ig-follow svg { flex: none; color: var(--walnut); }
.ig-follow a { color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--walnut); padding-bottom: 2px; }
.ig-follow a:hover { color: var(--walnut-light); }

/* ---------- Cookie notice ---------- */

.cookie-notice {
	position: fixed;
	left: max(16px, env(safe-area-inset-left, 0px));
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 950;
	max-width: 520px;
	display: flex;
	align-items: center;
	gap: 16px 20px;
	padding: 16px 20px;
	background: var(--ink-900);
	border: 1px solid var(--line);
	border-top: 1px solid var(--walnut);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
	font-size: 14px;
	color: var(--body);
}
.cookie-notice[hidden] { display: none; }
.cookie-notice__text { margin: 0; }
.cookie-notice__text a { color: var(--walnut-light); white-space: nowrap; }
.cookie-notice__ok {
	flex: none;
	min-height: 40px;
	padding: 0 20px;
	background: var(--walnut);
	color: var(--ink-800);
	border: 0;
	font: 600 12px/1 var(--font-sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
}
.cookie-notice__ok:hover { background: var(--walnut-light); }
/* Phones: sit above the bottom contact bar, full width. */
@media (max-width: 600px) {
	.cookie-notice { left: 12px; right: 12px; max-width: none; bottom: calc(68px + env(safe-area-inset-bottom, 0px)); padding: 10px 12px 10px 16px; gap: 12px; font-size: 13px; }
	.cookie-notice__ok { min-height: 36px; padding: 0 16px; }
}

/* ---------- Contact bar (phones only) ---------- */

.contact-bar { display: none; }
@media (max-width: 600px) {
	.contact-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 900;
		display: grid;
		grid-template-columns: 1fr 1fr 1.5fr;
		background: var(--ink-800);
		border-top: 1px solid var(--line);
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
	.contact-bar__link {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 56px;
		font-size: 12px;
		font-weight: 600;
		letter-spacing: 0.14em;
		text-transform: uppercase;
		text-decoration: none;
		color: var(--text);
	}
	.contact-bar__link + .contact-bar__link { border-left: 1px solid var(--line); }
	.contact-bar__link--primary { background: var(--walnut); color: var(--ink-800); border-left: 0; }
	.contact-bar__link--primary:hover { background: var(--walnut-light); color: var(--ink-800); }
	/* Room for the bar at the very bottom, in the footer's own colour. */
	body .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
	body.menu-open .contact-bar { display: none; }
	/* Homepage: tucked away while the hero's own buttons are on screen (site.js sets .is-on-hero). */
	.contact-bar { transition: transform 0.3s ease; }
	body.is-on-hero .contact-bar { transform: translateY(100%); }
}
@media (max-width: 360px) {
	.contact-bar__link { letter-spacing: 0.06em; gap: 6px; }
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 1000;
	overflow-y: auto;
	background: var(--ink-900);
	padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px));
	display: flex;
	flex-direction: column;
	gap: 40px;
}
/* .mobile-menu sets display:flex, which would override the hidden attribute and leave the menu covering the page. */
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
	font-family: var(--font-serif);
	font-size: 32px;
	line-height: 1.2;
	padding: 10px 0;
	text-decoration: none;
	border-bottom: 1px solid var(--line);
}
.mobile-menu__nav a[aria-current="page"] { color: var(--walnut-light); }
/* Services row with an arrow that opens the service pages underneath. */
.mobile-menu__row { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.mobile-menu__row > a { flex: 1; border-bottom: 0; }
.mobile-menu__expand {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	background: none;
	border: 0;
	color: var(--text);
	cursor: pointer;
}
.mobile-menu__expand svg { transition: transform var(--ease); }
.mobile-menu__expand[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-menu__sub { display: flex; flex-direction: column; padding: 6px 0 14px 4px; border-bottom: 1px solid var(--line); }
.mobile-menu__sub[hidden] { display: none; }
.mobile-menu__nav .mobile-menu__sublink {
	font-family: var(--font-sans);
	font-size: 17px;
	padding: 9px 0;
	border-bottom: 0;
	color: var(--body);
}
.mobile-menu__info { display: flex; flex-direction: column; gap: 6px; color: var(--body); }
.mobile-menu__social { margin-top: 8px; }

/* Instagram and Facebook links (footer, Contact page, phone menu) */
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 9px; }
.social__handle { margin-left: 5px; }
.social__link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.social__link svg { flex: none; }
/* Icons only; the names "Instagram" and "Facebook" stay for screen readers. */
.social__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact__social { margin-top: 10px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */

.hero {
	position: relative;
	min-height: 940px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
	background: var(--ink-900);
}
.hero__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	/* On arrival the photo eases out from slightly zoomed in, then stays still. Off for visitors who prefer reduced motion (see below). */
	transform-origin: 60% 50%;
	animation: hero-settle 4s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes hero-settle {
	from { transform: scale(1.08); }
	to   { transform: scale(1); }
}
.hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(11,19,26,.80) 0%, rgba(11,19,26,0) 28%),
		linear-gradient(90deg, rgba(11,19,26,.94) 0%, rgba(11,19,26,.72) 38%, rgba(11,19,26,.15) 72%, rgba(11,19,26,0) 100%),
		linear-gradient(0deg, rgba(11,19,26,.90) 0%, rgba(11,19,26,0) 42%);
}
.hero__content { position: relative; padding: 220px var(--gutter) 64px; }
.hero__stack { display: flex; flex-direction: column; gap: 30px; }
.hero__title {
	font-size: clamp(52px, 7.6vw, 118px);
	line-height: 0.96;
	letter-spacing: -0.015em;
	max-width: 920px;
}
.hero__title em { font-style: italic; font-weight: 500; color: var(--walnut); }
.hero__intro { font-size: 19px; color: var(--text-on-photo); max-width: 540px; }

@media (max-width: 900px) {
	.hero { min-height: 680px; }
	.hero__content { padding-top: 160px; }
	/* Narrow screens put the text over the bright lamps and windows: an even darker veil keeps it readable. */
	.hero__overlay { background: linear-gradient(180deg, rgba(11,19,26,.70) 0%, rgba(11,19,26,.62) 40%, rgba(11,19,26,.90) 100%); }
	.hero__title em { color: var(--walnut-light); }
}

/* ---------- Page banner (inner pages) ---------- */

.page-banner {
	position: relative;
	overflow: hidden;
	background: var(--ink-900);
	padding: 112px var(--gutter) 96px;
}
/* Banners with a photo are taller, with the text at the bottom, so the photo carries the mood. */
.page-banner--photo {
	padding: 160px var(--gutter) 80px;
	min-height: min(62vh, 640px);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.page-banner--photo > .container { width: 100%; }
@media (max-width: 600px) {
	.page-banner--photo { padding-top: 120px; padding-bottom: 56px; min-height: 0; }
}
.page-banner__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.page-banner__overlay {
	position: absolute;
	inset: 0;
	/* Lighter than before so the photo carries the mood; darker bottom-left where the text sits. */
	background:
		linear-gradient(90deg, rgba(11,19,26,.85) 0%, rgba(11,19,26,.45) 50%, rgba(11,19,26,.1) 100%),
		linear-gradient(0deg, rgba(11,19,26,.7) 0%, rgba(11,19,26,0) 45%);
}
.page-banner--fit .page-banner__photo {
	left: auto;
	width: auto;
	max-width: none;
	aspect-ratio: 3 / 2;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
}
.page-banner--fit .page-banner__overlay { background: linear-gradient(90deg, rgba(11,19,26,.95) 0%, rgba(11,19,26,.75) 45%, rgba(11,19,26,.25) 100%); }
.page-banner__stack { position: relative; display: flex; flex-direction: column; gap: 22px; }
.page-banner__title { font-size: clamp(48px, 7vw, 104px); line-height: 0.98; letter-spacing: -0.015em; max-width: 960px; text-wrap: balance; }
.page-banner__intro { font-size: 19px; color: var(--text-on-photo); max-width: 640px; }

/* ---------- Section head ---------- */

.section-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 64px;
}
.section-head--tight { gap: 16px; margin-bottom: 36px; }
.section-head__text { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }

/* ---------- Stage grid ---------- */

.stage-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0 40px;
	border-top: 1px solid var(--line);
}
.stage-grid__cell {
	padding: 32px 0 8px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.stage-grid__num { font: italic 500 26px/1 var(--font-serif); color: var(--walnut-light); }
@media (max-width: 600px) {
	.stage-grid__cell { padding: 28px 0; border-bottom: 1px solid var(--line); }
}
.stage-grid__title { font-size: 32px; font-weight: 500; }
.stage-grid__cell p { color: var(--body); font-size: 15px; }

/* ---------- Selected work (home) ---------- */

.work-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 346px;
	gap: 28px;
}
.work-grid__item { display: block; overflow: hidden; }
.work-grid__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s ease; }
.work-grid__item:hover img { transform: scale(1.04); }
.work-grid__item--tall { grid-row: span 2; }
.work-grid__item--right { grid-column: 3; grid-row: 1 / span 2; }

@media (max-width: 1100px) {
	.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.work-grid__item--right { grid-column: auto; grid-row: span 2; }
}
@media (max-width: 700px) {
	.work-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 260px; }
}

/* ---------- Service cards ---------- */

.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: 28px;
}
@media (min-width: 761px) {
	.service-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Photo-led cards: title and line sit on the photo, magazine-style. */
.service-card {
	position: relative;
	display: block;
	overflow: hidden;
	color: var(--text);
	text-decoration: none;
}
.service-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(11,19,26,.92) 0%, rgba(11,19,26,.45) 45%, rgba(11,19,26,0) 65%);
	pointer-events: none;
}
.service-card__photo { width: 100%; height: 460px; object-fit: cover; display: block; transition: transform 0.6s ease; }
.service-card__photo--empty { background: var(--placeholder-1); }
a.service-card:hover .service-card__photo { transform: scale(1.03); }
.service-card__text { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.service-card__title { margin: 0; font-size: 34px; line-height: 1.08; }
.service-card__arrow { color: var(--walnut-light); margin-left: 10px; font-family: var(--font-sans); font-size: 22px; transition: margin var(--ease); }
a.service-card:hover .service-card__arrow { margin-left: 16px; }
a.service-card:hover .service-card__title { color: var(--walnut-light); }
@media (max-width: 700px) {
	.service-card__photo { height: 380px; }
	.service-card__text { left: 20px; right: 20px; bottom: 20px; }
	.service-card__title { font-size: 30px; }
}

.areas-note {
	margin-top: 72px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	color: var(--body);
	font-size: 17px;
}

/* ---------- Contact & Showroom ---------- */

.contact { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
/* Phones and tablets: scheduling and the message form come before the address and map. */
@media (max-width: 1000px) { .contact__main { order: -1; } }
.contact__info { flex: 1 1 420px; display: flex; flex-direction: column; gap: 28px; }
/* The map grows to end level with the bottom of the calendar (or form) beside it. */
.contact__info .map-panel { flex: 1 0 360px; min-height: 360px; }
.contact__block { display: flex; flex-direction: column; gap: 6px; }
.contact__address { font-family: var(--font-serif); font-size: 34px; line-height: 1.2; color: var(--heading); }
.contact__link { align-self: flex-start; color: var(--walnut); margin-top: 2px; }
.contact__detail { font-size: 18px; }
/* Phone and email read like the footer: no underline, walnut on hover. */
a.contact__detail { text-decoration: none; }
.contact__main { flex: 1 1 560px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
/* Schedule a Call / Send a message switch (Contact page, once Calendly is set up). */
.contact-switch { display: flex; flex-wrap: wrap; gap: 8px 32px; border-bottom: 1px solid var(--line); }
.contact-switch__tab {
	padding: 0 0 12px;
	margin-bottom: -1px;
	background: none;
	border: 0;
	border-bottom: 1px solid transparent;
	font: 600 12px/1.2 var(--font-sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
	cursor: pointer;
	transition: color var(--ease), border-color var(--ease);
}
.contact-switch__tab:hover { color: var(--text); }
.contact-switch__tab[aria-selected="true"] { color: var(--walnut-light); border-bottom-color: var(--walnut); }
.contact__panel { display: flex; flex-direction: column; gap: 20px; }
.contact__panel[hidden] { display: none; }
/* Schedule panel: the calendar opens in Calendly's popup, so the page stays light and fast. */
.schedule-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 40px; background: var(--surface); border: 1px solid var(--line); border-top: 1px solid var(--walnut); }
.schedule-panel .lead { margin: 0; }
.schedule-panel__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; color: var(--body); }
.schedule-panel__steps li { display: flex; gap: 14px; align-items: baseline; }
.schedule-panel__steps span { font: italic 500 22px/1 var(--font-serif); color: var(--walnut-light); min-width: 28px; }
@media (max-width: 600px) { .schedule-panel { padding: 28px 20px; } }
.contact__main .lead a { color: var(--text); }

/* Contact Form 7, restyled to match the site. */
.contact__form { background: var(--surface); border: 1px solid var(--line); padding: 40px; }
.contact__form .wpcf7-form > p { margin: 0 0 20px; font-size: 13px; letter-spacing: 0.06em; font-weight: 600; color: var(--body); }
.contact__form .wpcf7-form > p br { display: none; }
.contact__form .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	background: var(--ink-800);
	border: 1px solid var(--line-strong);
	border-radius: 0;
	color: var(--text);
	font: 400 16px/1.5 var(--font-sans);
}
.contact__form textarea { height: 160px; resize: vertical; }
.contact__form input:focus, .contact__form textarea:focus { outline: 2px solid var(--walnut-light); outline-offset: 0; border-color: var(--walnut-light); }
.contact__form input[type="submit"] {
	min-height: 48px;
	padding: 15px 32px;
	background: var(--walnut);
	color: var(--ink-800);
	border: 0;
	border-radius: 0;
	font: 600 16px/1.2 var(--font-sans);
	cursor: pointer;
	transition: background-color var(--ease);
}
.contact__form input[type="submit"]:hover { background: var(--walnut-light); }
.contact__form .wpcf7-not-valid-tip { color: #E8A27C; font-size: 13px; margin-top: 6px; }
.contact__form .wpcf7-response-output { margin: 8px 0 0 !important; padding: 12px 14px !important; border-color: var(--line-strong) !important; color: var(--body); }
.contact__form .wpcf7-spinner { background-color: var(--walnut); }

@media (max-width: 600px) {
	.contact__form { padding: 28px 20px; }
	.contact__address { font-size: 28px; }
}

/* ---------- Portfolio ---------- */

.section--portfolio { padding-top: 72px; }
.portfolio { display: flex; flex-direction: column; gap: 40px; }

/* Portfolio filters: text tabs with a walnut underline on the selected one. */
.chips { display: flex; flex-wrap: wrap; gap: 8px 32px; border-bottom: 1px solid var(--line); }
.chip {
	font: 600 12px/1 var(--font-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 16px 0;
	margin-bottom: -1px;
	min-height: 44px;
	cursor: pointer;
	background: none;
	color: var(--muted);
	border: 0;
	border-bottom: 1px solid transparent;
	transition: color var(--ease), border-color var(--ease);
}
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { color: var(--heading); border-bottom-color: var(--walnut); }

/* Wide photos fill one 300px row; tall (portrait) photos span two rows so they show in full. Dense flow fills the gaps. */
.project-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 300px;
	grid-auto-flow: dense;
	gap: 28px;
}
.portfolio .project-grid { gap: 14px; }
.project { overflow: hidden; }
.portfolio .project__photo { transition: transform 1.2s ease; }
.portfolio .project:hover .project__photo { transform: scale(1.04); }
.project { margin: 0; }
.project--tall { grid-row: span 2; }
@media (min-width: 1101px) { .project--wide { grid-column: span 2; } }
.project[hidden] { display: none; }
.project__photo { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 1100px) {
	.project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* One column on phones: every photo at its own shape. */
@media (max-width: 700px) {
	.project-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
	.project--tall { grid-row: auto; }
	.project__photo { height: auto; }
}

/* ---------- About: story + family of companies ---------- */

.story { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.story__text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 18px; }
.story__photo { flex: 1 1 480px; }
.story__photo img { width: 100%; height: 440px; object-fit: cover; display: block; }

@media (max-width: 600px) {
	.story__photo img { height: 300px; }
}

.section-head--stack { margin-bottom: 32px; }

.family-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: 24px 56px;
}
/* Open rows like the four steps: a hairline on top instead of a box. */
.family-card {
	border-top: 1px solid var(--line);
	padding-top: 32px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.family-card__name { font-family: var(--font-serif); font-size: 32px; font-weight: 500; line-height: 1.15; color: var(--heading); }
.family-card__text { color: var(--body); }
.family-card__link { align-self: flex-start; margin-top: 6px; }

/* ---------- Split layout (heading left, content right) ---------- */

.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split--compare { gap: 48px; }
.split__aside { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.split--compare .split__aside { flex-basis: 380px; }
.split__main { flex: 2 1 640px; min-width: 0; }
/* Our Process: a photo beside the steps, staying in view while they scroll. */
.split__photo { margin-top: 24px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
@media (min-width: 900px) {
	.split__aside--sticky { position: sticky; top: 140px; align-self: flex-start; }
}
@media (max-width: 899px) {
	.split__photo { aspect-ratio: 3 / 2; }
}

/* ---------- Process steps ---------- */

.steps { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.steps__item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 24px;
	padding: 32px 0;
	border-top: 1px solid var(--line);
	align-items: baseline;
}
/* Beside the photo: the five rows share the full height, so the last line meets the bottom of the photo. */
@media (min-width: 900px) {
	.steps.split__main { display: flex; flex-direction: column; }
	.steps.split__main .steps__item { flex: 1 1 auto; align-content: start; }
}
.steps__num { font-family: var(--font-serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--walnut-light); }
.steps__body { display: flex; flex-direction: column; gap: 6px; }
.steps__title { margin: 0; font-family: var(--font-serif); font-size: 30px; font-weight: 500; line-height: 1.15; color: var(--heading); }
.steps__text { margin: 0; color: var(--body); max-width: 640px; }

@media (max-width: 600px) {
	.steps__item { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
	.steps__num { font-size: 40px; }
}

/* ---------- Comparison table ---------- */

.table-scroll { overflow-x: auto; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compare thead th {
	padding: 14px 16px;
	border-bottom: 2px solid var(--text);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	text-align: left;
}
.compare thead th:first-child { padding-left: 0; }
.compare thead .compare__us { border-bottom-color: var(--walnut); color: var(--walnut); font-weight: 700; }
.compare tbody th, .compare td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare tbody th { padding-left: 0; font-weight: 600; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare .compare__them { color: var(--muted); }

/* Phones: each row becomes a small block, both answers stacked under the row label, so nothing scrolls sideways. */
@media (max-width: 600px) {
	.compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; min-width: 0; }
	.compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.compare tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
	.compare tbody tr:last-child { border-bottom: 0; }
	.compare tbody th, .compare td { padding: 0; border-bottom: 0; }
	.compare tbody th { margin-bottom: 10px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
	.compare td { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; padding: 4px 0; }
	.compare td::before { content: attr(data-label); font-size: 13px; color: var(--muted); }
	.compare .compare__us-cell { color: var(--text); }
	.compare .compare__us-cell::before { color: var(--walnut); font-weight: 600; }
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Service area cards ---------- */

.areas { display: flex; flex-direction: column; gap: 28px; }
.area-card {
	background: var(--ink-800);
	border: 1px solid var(--line);
	padding: 44px 56px;
	display: flex;
	flex-wrap: wrap;
	gap: 32px 64px;
	align-items: flex-start;
}
.area-card--primary {
	background: var(--surface);
	border-top: 3px solid var(--walnut);
	padding: 56px;
	gap: 40px 64px;
}
.area-card__intro { flex: 1 1 360px; display: flex; flex-direction: column; gap: 12px; }
.area-card--primary .area-card__intro { gap: 14px; }
.area-card__detail { flex: 1 1 480px; display: flex; flex-direction: column; gap: 20px; }
.area-card__kicker { display: flex; align-items: baseline; gap: 16px; }
.area-card__num { font-family: var(--font-serif); font-size: 44px; line-height: 1; color: var(--muted); }
.area-card .eyebrow { color: var(--muted); }
.area-card--primary .area-card__num { font-size: 64px; color: var(--walnut); }
.area-card--primary .eyebrow { color: var(--walnut); }
.area-card__title { font-size: clamp(40px, 4vw, 56px); line-height: 1; }
.area-card--primary .area-card__title { font-size: clamp(56px, 6vw, 88px); line-height: 0.95; }
.area-card__text { color: var(--body); font-size: 17px; max-width: 460px; }
.area-card--primary .area-card__text { font-size: 18px; }
.area-card__lists {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 24px;
	border-top: 1px solid var(--line);
	padding-top: 24px;
	color: var(--body);
}
.area-card__list { display: flex; flex-direction: column; gap: 6px; }
.area-card__label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.area-card__link { align-self: flex-start; margin-top: 6px; }

@media (max-width: 600px) {
	.area-card, .area-card--primary { padding: 32px 24px; }
}

/* ---------- Showroom + map ---------- */

.showroom { display: flex; flex-wrap: wrap; gap: 56px; align-items: stretch; }
.showroom__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; }
.showroom__text .btn-row { margin-top: 4px; }
.showroom__address { font-size: 17px; }

.map-panel {
	flex: 1 1 560px;
	position: relative;
	min-height: 400px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 32px;
	text-align: center;
	background-color: var(--surface);
	/* Street grid and two "roads", as in the mockup. */
	background-image:
		linear-gradient(#25303A 1px, transparent 1px),
		linear-gradient(90deg, #25303A 1px, transparent 1px),
		linear-gradient(115deg, transparent 47%, #2E3A45 47%, #2E3A45 49%, transparent 49%),
		linear-gradient(20deg, transparent 58%, #2E3A45 58%, #2E3A45 59.5%, transparent 59.5%);
	background-size: 56px 56px, 56px 56px, 100% 100%, 100% 100%;
	border: 1px solid var(--line);
}
.map-panel__pin { color: var(--walnut); flex: none; }
/* Live Google map: fills the panel; the address card and link sit along the bottom. */
.map-panel__canvas { position: absolute; inset: 0; }
.map-panel.is-live { justify-content: flex-end; background-image: none; }
.map-panel.is-live > .map-panel__pin { display: none; }
.map-panel.is-live > .map-panel__card, .map-panel.is-live > .map-panel__link { position: relative; z-index: 1; }
.map-panel__marker { position: absolute; width: 36px; height: 48px; color: var(--walnut); filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)); }
.map-panel__card {
	background: var(--ink-800);
	border: 1px solid var(--line);
	padding: 14px 20px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.map-panel__card strong { color: var(--heading); }
.map-panel__card span { color: var(--body); font-size: 15px; }
.map-panel__link {
	background: var(--ink-800);
	color: var(--walnut);
	font-weight: 600;
	padding: 10px 14px;
}

@media (max-width: 600px) {
	.showroom__text, .map-panel { flex-basis: 100%; }
}

/* ---------- Schedule band ---------- */

.schedule-band { background: var(--surface); padding: 96px var(--gutter); }
.schedule-band__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	justify-content: space-between;
	align-items: center;
}
.schedule-band__text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 14px; }
.schedule-band__text .lead { max-width: 540px; }
/* A closing band, not a main section: smaller heading so it sits on one line beside the buttons. */
.schedule-band .h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; max-width: none; }

/* ---------- Footer ---------- */

.site-footer {
	background: var(--ink-900);
	color: var(--body);
	padding: 72px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px));
	font-size: 14px;
}
.site-footer a { color: var(--body); text-decoration: none; }
.site-footer a:hover { color: var(--walnut-light); }
.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 40px;
}
.site-footer__col { display: flex; flex-direction: column; gap: 8px; }
.site-footer__col:first-child { gap: 14px; }
/* Small walnut capitals, like the eyebrows and the Cabinetry footer. */
.site-footer__title {
	margin-bottom: 10px;
	font: 500 12px/1 var(--font-sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--walnut-light);
}
/* Explore links in two short columns (4 + 3), reading down, so the list ends near the other columns. */
.site-footer__nav {
	display: grid;
	grid-template-columns: auto auto;
	grid-template-rows: repeat(5, auto);
	grid-auto-flow: column;
	justify-content: start;
	align-content: start;
	gap: 8px 48px;
}
.site-footer__nav .site-footer__title { grid-column: 1 / -1; grid-row: 1; }
.site-footer__legal {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--line-footer);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	font-size: 13px;
}

/* ---------- Editor content ---------- */

.prose { max-width: 68ch; font-size: 17px; color: var(--body); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; margin-top: 1.6em; }
.prose h3 { font-size: 28px; line-height: 1.15; margin-top: 1.4em; }
.prose a { color: var(--walnut); }
.prose a:hover { color: var(--walnut-light); }
.prose img { display: block; }
.prose .alignwide, .prose .alignfull { max-width: none; }
.post-summary + .post-summary { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }

/* ---------- Motion ---------- */

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


/* Milwaukee is secondary: a compact card with smaller type and the lists stacked tightly, so Chicagoland reads first. */
.area-card:not(.area-card--primary) { padding: 32px 56px; gap: 24px 64px; align-items: center; }
.area-card:not(.area-card--primary) .area-card__num { font-size: 36px; }
.area-card:not(.area-card--primary) .area-card__title { font-size: clamp(32px, 3vw, 44px); }
.area-card:not(.area-card--primary) .area-card__text { font-size: 16px; }
.area-card:not(.area-card--primary) .area-card__lists { border-top: 0; padding-top: 0; gap: 16px 24px; font-size: 15px; }
.area-card--primary { padding-block: 72px; }
@media (max-width: 600px) {
	.area-card:not(.area-card--primary) { padding: 28px 24px; }
	.area-card--primary { padding-block: 40px; }
}

/* ---------- About: team ---------- */

/* Three per row like the mockup (one person still sits at a third of the width). */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: minmax(0, 1fr); } }
.team-card { display: flex; flex-direction: column; gap: 10px; }
.team-card__photo { width: 100%; height: 340px; object-fit: cover; object-position: 50% 25%; display: block; }
.team-card__photo--empty { background: var(--placeholder-1); }
.team-card__name { margin-top: 6px; font-family: var(--font-serif); font-size: 26px; font-weight: 500; line-height: 1.2; color: var(--heading); }
.team-card__role { color: var(--muted); font-size: 14px; }

/* ---------- Client quote (one per page, quiet) ---------- */

.quote { margin: 0 auto; max-width: 900px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.quote__rule { width: 56px; height: 1px; background: var(--walnut); }
.quote__text { margin: 0; }
.quote__text p {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(28px, 3.2vw, 44px);
	line-height: 1.25;
	color: var(--heading);
}
.quote__source { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--muted); }

/* ---------- Service detail pages ---------- */

/* Heading and intro stacked, then the "What we take care of" list in the same section. */
.service-intro { display: flex; flex-direction: column; gap: 18px; }
.service-intro .lead { max-width: 680px; }

/* "What we take care of": two columns of short items with hairline dividers. */
.includes__label { margin: 64px 0 8px; }
.includes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 56px;
}
.includes__item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 24px 0;
	border-bottom: 1px solid var(--line);
}
.includes__icon { flex: none; width: 28px; height: 28px; margin-top: 3px; color: var(--walnut); stroke-width: 1.25; }
.includes__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.includes__title { font-family: var(--font-serif); font-size: 26px; font-weight: 500; line-height: 1.2; color: var(--heading); }
.includes__text { color: var(--body); }
@media (max-width: 760px) {
	.includes { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Service project story (Additions) ---------- */

/* Before & after: the before photo is clipped to the slider position; the range input on top does the dragging. */
.ba { position: relative; max-width: 1000px; margin-inline: auto; aspect-ratio: 4 / 3; overflow: hidden; --pos: 50%; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--text); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--ink-900); border: 2px solid var(--walnut); display: grid; place-items: center; color: var(--walnut-light); pointer-events: none; }
.ba__tag { position: absolute; bottom: 16px; padding: 6px 12px; background: rgba(11, 19, 26, 0.75); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--text); pointer-events: none; }
.ba__tag--before { left: 16px; }
.ba__tag--after { right: 16px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:has(.ba__range:focus-visible) .ba__knob { outline: 2px solid var(--walnut-light); outline-offset: 3px; }

.rendering { max-width: 1000px; margin-inline: auto; }
.design-build { display: flex; flex-direction: column; gap: 28px; }
/* Inside the home with two photos: bath wide, staircase beside it. */
.inside-grid:has(> :nth-child(2):last-child) { grid-auto-rows: 460px; }
.rendering__img { width: 100%; height: auto; display: block; }
.rendering--pair { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.rendering--pair .rendering__img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 760px) { .rendering--pair { grid-template-columns: minmax(0, 1fr); } }
/* Rendering (about 2:1) beside a floor plan (about 0.87:1): column widths follow the image shapes so both end level. */
.design-plan { display: grid; grid-template-columns: minmax(0, 2.075fr) minmax(0, 0.868fr); gap: 28px; align-items: start; }
.design-plan__item { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.design-plan__item img { width: 100%; height: auto; display: block; }
@media (max-width: 760px) { .design-plan { grid-template-columns: minmax(0, 1fr); } }
.rendering--placeholder { aspect-ratio: 16 / 9; background: var(--surface); border: 1px dashed var(--line-strong); display: grid; place-items: center; color: var(--muted); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }

.build-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.build-steps__item { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.build-steps__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.build-steps__caption { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.build-steps__caption span { color: var(--walnut); margin-right: 10px; }

.inside-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 28px; }
.inside-grid__item { margin: 0; display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.inside-grid__item--wide { grid-column: span 2; }
.inside-grid__item--tall { grid-row: span 2; }
.inside-grid__photo { width: 100%; flex: 1; min-height: 0; object-fit: cover; display: block; }

@media (max-width: 760px) {
	.build-steps, .inside-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
	.inside-grid__item--wide, .inside-grid__item--tall { grid-column: auto; grid-row: auto; }
	.inside-grid__photo { flex: none; aspect-ratio: 3 / 2; }
	.ba__knob { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
}

/* "Now underway": rendering of the next project, then its construction photos (grey boxes until they arrive). */
.underway { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; align-items: start; }
.underway .build-steps { grid-template-columns: minmax(0, 1fr); }
.underway .build-steps__photo--empty { aspect-ratio: auto; height: 100%; min-height: 260px; }
.underway--steps { grid-template-columns: minmax(0, 1fr); }
.underway--steps .underway__rendering { max-width: none; }
.underway--steps .build-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .underway--steps .build-steps { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .underway { grid-template-columns: minmax(0, 1fr); } }
.underway__rendering { margin: 0; display: flex; flex-direction: column; gap: 12px; max-width: 1000px; }
.underway__img { width: 100%; height: auto; display: block; }
.build-steps__photo--empty { display: grid; place-items: center; background: var(--surface); border: 1px dashed var(--line-strong); color: var(--muted); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }

/* Captions on service-page projects (e.g. what an addition added). Photo keeps the row height; caption sits below. */
.project--captioned { display: flex; flex-direction: column; gap: 12px; }
.project--captioned .project__photo { height: auto; flex: 1; min-height: 0; }
.project-grid:has(.project--captioned) { grid-auto-rows: auto; }
.project-grid:has(.project--captioned) .project__photo { aspect-ratio: 3 / 2; }
.project__caption { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--muted); }

/* "See the full project" under the renderings on a service page. */
.story-more { margin: 48px 0 0; }

/* Portfolio: a project with its own page, as a full-width band above the filter, title over the photo. */
.albums { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 14px; margin-bottom: 64px; }
.album { position: relative; display: block; height: clamp(320px, 40vw, 540px); overflow: hidden; color: var(--heading); text-decoration: none; }
.albums:has(> :nth-child(2)) .album { height: clamp(300px, 30vw, 440px); }
.albums:has(> :nth-child(2)) .album__title { font-size: clamp(30px, 2.8vw, 42px); }
/* Side by side, titles stay on one line so labels, titles and links line up (titles are kept short). */
.albums:has(> :nth-child(2)) .album__title { white-space: nowrap; }
/* Three projects: one row of three on computers; below 1100px they stack full width (shorter), so none sits alone. */
.albums:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.albums:has(> :nth-child(3)) .album__text { left: 28px; right: 28px; }
@media (max-width: 1100px) {
	.albums:has(> :nth-child(3)) { grid-template-columns: minmax(0, 1fr); }
	.albums:has(> :nth-child(3)) .album { height: clamp(240px, 42vw, 380px); }
	.albums:has(> :nth-child(3)) .album__title { font-size: clamp(30px, 4vw, 42px); }
}
.album__photo { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s ease; }
.album::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 19, 26, 0.94) 0%, rgba(11, 19, 26, 0.65) 30%, rgba(11, 19, 26, 0) 65%); pointer-events: none; }
.album__text { position: absolute; left: 40px; right: 40px; bottom: 36px; z-index: 1; display: flex; flex-direction: column; gap: 10px; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55); }
.album__text .eyebrow { color: var(--walnut-light); }
.album__title { font-family: var(--font-serif); font-size: clamp(34px, 4vw, 56px); font-weight: 500; line-height: 1.05; color: var(--heading); }
.album__link { align-self: flex-start; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; border-bottom: 1px solid var(--walnut); padding-bottom: 4px; }
.album:hover .album__photo { transform: scale(1.03); }
.album:hover .album__title { color: var(--walnut-light); }
@media (max-width: 700px) { .albums { margin-bottom: 40px; } .album__text { left: 20px; right: 20px; bottom: 22px; } }

/* Bigger tap areas on touch screens, without changing the look: an invisible layer extends each small link or button
   to about 44px tall. */
@media (pointer: coarse) {
	.more-link, .site-footer a, .social__link, .contact-switch__tab, .chip, .contact__detail, .map-panel__link { position: relative; }
	.more-link::before, .site-footer a::before, .social__link::before, .contact-switch__tab::before, .chip::before,
	.contact__detail::before, .map-panel__link::before {
		content: "";
		position: absolute;
		inset: -12px -8px;
	}
	.social__link::before { inset: -14px; }
	.cookie-notice__ok { min-height: 44px; }
}
