/*
Theme Name: Martin Sunday
Description: Native WordPress rendering of the Martin Sunday design and approved navigation.
Version: 2.0
Text Domain: martin-sunday
*/

@font-face {
	font-family: Inter;
	src: url("assets/inter.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}
@font-face {
	font-family: "Cormorant Garamond";
	src: url("assets/cormorant.woff2") format("woff2");
	font-weight: 300 700;
	font-display: swap;
}
@font-face {
	font-family: "Cormorant Garamond";
	src: url("assets/cormorant-italic.woff2") format("woff2");
	font-style: italic;
	font-weight: 300 700;
	font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
a { text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, summary:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 5px;
}
.msd-header-shell {
	position: sticky;
	top: 0;
	z-index: 20;
	width: 100%;
}
.home .msd-header-shell { position: fixed; }
.admin-bar .msd-header-shell { top: 32px; }
.msd-header {
	position: relative;
	color: #fff;
	background: transparent;
	border-bottom: 1px solid rgb(255 255 255 / 18%);
	transition: background .2s;
}
.msd-header.is-scrolled, body:not(.home) .msd-header {
	background: #2b3b5e;
}
.msd-header-row {
	max-width: 1600px;
	margin: auto;
	padding: 24px clamp(22px, 3.75vw, 64px);
	gap: 28px;
	flex-wrap: nowrap !important;
}
.msd-wordmark, .msd-footer-logo {
	width: 200px;
	max-width: 100%;
	margin: 0;
	flex-shrink: 0;
	gap: 10px;
	color: #fff;
	flex-wrap: nowrap;
}
.msd-logo-symbol { width: 40px; margin: 0; flex-shrink: 0; padding: 2px; background: #fff; }
.msd-logo-symbol a, .msd-logo-symbol img { display: block; }
.msd-logo-symbol img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 433 / 452;
}
.msd-brand-text p { margin: 0; }
.msd-brand-text a { color: #fff; text-decoration: none; }
.msd-brand-text .msd-name { font-family: Inter, sans-serif; font-size: 22px; font-weight: 300; letter-spacing: -.035em; line-height: 1.1; white-space: nowrap; }
.msd-brand-text .msd-name strong { font-weight: 600; }
.msd-brand-text .msd-tagline { font-family: Inter, sans-serif; font-size: 8px; line-height: 1.2; letter-spacing: .38em; text-transform: uppercase; margin-top: 6px; color: #fff; }
.msd-brand-text .msd-name a { font-size: inherit; line-height: inherit; }
.msd-navigation {
	flex: 1;
	font-family: Inter, sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.msd-navigation .wp-block-navigation__container { gap: clamp(14px, 2.2vw, 34px); }
.msd-navigation a { text-decoration: none; }
.msd-navigation a:hover { text-decoration: underline; }
.msd-navigation .wp-block-navigation__submenu-container {
	background: #fff;
	color: #1b2437;
	border: 0;
	min-width: 260px !important;
	padding: 12px 0;
	box-shadow: 0 18px 40px rgb(20 28 48 / 20%);
	font-size: 12px;
	letter-spacing: .07em;
}
.msd-navigation .wp-block-navigation__submenu-container a { padding: 11px 22px; }
.msd-navigation.wp-block-navigation .msd-consultation > a.wp-block-navigation-item__content {
	background: #fff;
	color: #202e4c;
	padding: 15px 20px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	white-space: nowrap;
}
.msd-navigation .msd-menu-social { display: none; }
.msd-main { margin: 0; }
.msd-main .wp-block-post-content > *, .msd-main > * { margin-block-start: 0; }
.msd-hero {
	min-height: 680px;
	min-height: min(850px, 92svh);
	padding: 150px clamp(24px, 3.9vw, 76px) 65px;
	color: #fff;
	align-items: center;
}
.msd-hero .wp-block-cover__background {
	opacity: 1 !important;
	background: linear-gradient(90deg, rgb(23 32 54 / 82%) 0%, rgb(23 32 54 / 70%) 48%, rgb(23 32 54 / 30%) 100%) !important;
}
.msd-hero .wp-block-cover__image-background { object-position: center 35%; }
.msd-hero .wp-block-cover__inner-container { max-width: 1440px; margin: auto; }
.msd-hero .msd-hero-copy { max-width: 960px; margin: 0 !important; }
.msd-hero h1 {
	margin: 16px 0 24px;
	font-size: clamp(52px, 5.85vw, 84px);
	line-height: 1.02;
	font-weight: 400;
	letter-spacing: -.025em;
	color: #fff;
}
.msd-hero h1 em { font-weight: 400; }
.msd-hero .msd-lede { max-width: min(690px, 54vw); font-size: 18px; line-height: 1.7; color: #fff; }
.msd-eyebrow {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	margin: 0 0 20px;
}
.msd-hero .msd-eyebrow { color: #fff; font-size: 10px; }
.msd-hero .msd-hero-caption {
	margin: 38px 0 0;
	font-family: "Cormorant Garamond", serif;
	font-size: 21px;
	font-style: italic;
}
.wp-block-button__link {
	border-radius: 0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .13em;
	text-transform: uppercase;
	padding: 18px 28px;
}
.msd-hero .wp-block-buttons { margin-top: 30px; gap: 24px; }
.msd-hero .wp-block-button__link { background: #fff; color: #2b3b5e; }
.msd-hero .is-style-outline .wp-block-button__link { color: #fff; background: transparent; border: 0; padding-inline: 0; }
.msd-hero .is-style-outline .wp-block-button__link::after { content: ""; display: inline-block; width: 24px; border-top: 1px solid currentColor; margin-left: 12px; vertical-align: middle; }
.msd-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: #2b3b5e;
	color: #fff;
	padding: 28px clamp(24px, 4vw, 76px);
	gap: 16px;
	text-align: center;
}
.msd-stats p {
	font-size: 11px;
	letter-spacing: .09em;
	text-transform: uppercase;
	margin: 0;
}
.msd-section { padding: 96px clamp(24px, 4vw, 76px); }
.msd-section h2 { font-size: clamp(38px, 4.2vw, 60px); line-height: 1.08; margin: 0 0 24px; }
.msd-section h3 { font-size: 30px; line-height: 1.15; margin: 16px 0; }
.msd-section p { color: #5e709c; line-height: 1.8; }
.msd-section .msd-eyebrow { color: #2e4375; line-height: 1.4; }
.msd-section-intro {
	/* fluid prose: ~17px at laptop, ~20px at 1450, 22px cap on large screens;
	   column width tracks the type so the measure stays ≈75ch */
	font-size: clamp(16px, 0.55vw + 12px, 22px);
	max-width: clamp(720px, 54vw, 880px);
	margin: 0 auto 28px;
	text-align: left;
	line-height: 1.75;
}
.msd-section-intro p { font-size: inherit; }
.home .msd-section-intro, .home .msd-manifesto-copy { text-align: center; }
.msd-cta .msd-section-intro { max-width: 780px; margin: 0 auto 42px; text-align: center; }
/* Narrow prose sections: heading, eyebrow, prose, and quote share one
   centered column so the canvas stays balanced at wide viewports */
.msd-narrative .msd-eyebrow, .msd-narrative h2, .msd-narrative .msd-quote,
.msd-overview .msd-eyebrow, .msd-overview h2, .msd-overview > .wp-block-list, .msd-overview > .msd-specs,
.msd-capabilities > .msd-eyebrow, .msd-capabilities > h2, .msd-capabilities > .msd-capability-list,
.msd-highlights > .msd-eyebrow, .msd-highlights > h2, .msd-highlights > .msd-specs,
.msd-philosophy .msd-eyebrow, .msd-philosophy h2, .msd-philosophy .msd-specs {
	max-width: clamp(720px, 54vw, 880px);
	margin-inline: auto;
}
.msd-overview > .wp-block-list, .msd-capability-list {
	box-sizing: border-box;
	padding-inline-start: 1.4em;
	color: #2e4375;
	line-height: 1.7;
}
.msd-overview > .wp-block-list li { padding-block: 8px; border-bottom: 1px solid #e4e8f0; }
.msd-overview > .wp-block-list li::marker, .msd-capability-list li::marker { color: #ff7d30; }
.msd-philosophy h2 { font-size: clamp(30px, 2.6vw, 44px); }
.msd-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
.msd-project { min-width: 0; }
.msd-project figure { margin: 0; }
.msd-project figure > a, .msd-service-card figure > a { display: block; width: 100%; }
.msd-project img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; }
.msd-project h3 { font-size: 30px; }
.msd-project p { font-size: 14px; }
.msd-project .msd-eyebrow { font-size: 10px; margin: 22px 0 10px; }
.msd-project a { color: inherit; }
.msd-project .msd-project-link { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.home .msd-gallery .msd-project {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 480px;
	padding: 24px;
	overflow: hidden;
	border: 1px solid #d8dce7;
	border-radius: 2px;
	background: #2e4375;
	color: #fff;
	transition: transform .3s, box-shadow .3s;
}
.home .msd-gallery .msd-project[hidden] { display: none; }
.home .msd-gallery .msd-project:hover, .home .msd-gallery .msd-project:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 16px 48px rgb(46 67 117 / 12%);
}
.home .msd-project figure { position: absolute; inset: 0; }
.home .msd-project figure > a { height: 100%; }
.home .msd-project figure::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(to bottom, rgb(20 30 48 / 25%), rgb(20 30 48 / 92%));
}
.home .msd-project img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.home .msd-project > :not(figure) { position: relative; z-index: 1; }
.home .msd-project .msd-eyebrow {
	align-self: flex-start;
	margin: 0 auto auto 0;
	padding: 4px 10px;
	border: 1px solid rgb(255 255 255 / 20%);
	background: rgb(255 255 255 / 10%);
	color: #fff;
	font-size: 9px;
}
.home .msd-project .msd-project-location {
	margin: 0 0 8px;
	color: #ff9a5c;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.home .msd-project h3 { position: static; margin: 0 0 12px; color: #fff; font-size: 30px; }
.home .msd-project h3 a { text-decoration: none; }
.home .msd-project h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.home .msd-project:focus-within { outline: 2px solid #ff9a5c; outline-offset: 3px; }
.home .msd-project .msd-project-description { margin: 0 0 20px; color: #fff; font-size: 15px; line-height: 1.5; }
.home .msd-project .msd-project-link {
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid rgb(255 255 255 / 20%);
	color: #fff;
}
.home .msd-project .msd-project-link a { text-decoration: none; }
.home .msd-project .msd-project-link a::after { content: " →"; color: #ff9a5c; }
.home .msd-gallery.is-enhanced { display: flex; gap: 24px; touch-action: pan-y; }
.home .msd-gallery.is-enhanced .msd-project { flex: 0 0 calc((100% - 48px) / 3); }
.msd-preview-carousel { position: relative; }
@media (max-width: 900px) {
	.home .msd-gallery.is-enhanced .msd-project { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 600px) {
	.home .msd-gallery.is-enhanced .msd-project { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.home .msd-gallery .msd-project { transition: none; }
}
.msd-portfolio-note { max-width: 900px; margin: 48px auto 0; text-align: center; }
.msd-portfolio-note > p { font-size: 14px; line-height: 1.6; text-align: left; }
.msd-portfolio-note .wp-block-buttons, .msd-cta .wp-block-buttons { justify-content: center; }
.msd-services, .msd-process { background: #f7f8fb; }
.msd-services-grid, .msd-editorial, .msd-process-grid, .msd-principles-grid {
	display: grid;
	gap: 32px;
}
.msd-services-grid { grid-template-columns: 1fr 1fr; }
.msd-service-card { position: relative; }
.msd-service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center top; display: block; }
.msd-service-card a { color: inherit; }
.msd-service-card h3 a { text-decoration: none; }
.msd-editorial { grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.msd-editorial img { width: 100%; height: auto; display: block; }
.msd-editorial p { font-size: 18px; }
.msd-editorial figcaption { color: #5e709c; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.msd-principles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.msd-principle {
	position: relative;
	background:
		radial-gradient(circle, transparent 2.5px, #d8dce7 2.5px, #d8dce7 3.5px, transparent 3.5px) no-repeat right 14px top 14px / 10px 10px,
		linear-gradient(to bottom, #f7f8fb, #fff 55%);
	border: 1px solid #d8dce7;
	padding: 26px 28px 28px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(46, 67, 117, 0.04);
	transition: border-color 0.5s, box-shadow 0.5s, translate 0.5s;
}
.msd-principle::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: linear-gradient(to right, #2e4375, #97a5cc, transparent);
	opacity: 0.6;
	transition: opacity 0.5s;
}
.msd-principle::after {
	content: "";
	position: absolute;
	right: -32px;
	bottom: -32px;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	border: 12px solid rgba(216, 220, 231, 0.15);
	transition: border-color 0.5s;
	pointer-events: none;
}
.msd-principle .msd-number {
	font-family: "Cormorant Garamond", serif;
	font-size: 28px;
	line-height: 1;
	color: #97a5cc;
	transition: color 0.5s;
}
.msd-principle h3 { font-size: 24px; margin: 0; }
.msd-principle h3::after {
	content: "";
	display: block;
	width: 24px;
	height: 1.5px;
	margin-top: 12px;
	background: #d8dce7;
	transition: width 0.5s, background-color 0.5s;
}
.msd-principle p:not(.msd-number) {
	font-size: 15px;
	color: #2e4375;
	font-weight: 500;
	line-height: 1.65;
	transition: color 0.5s;
}
.msd-principle:hover {
	border-color: rgba(46, 67, 117, 0.2);
	box-shadow: 0 8px 24px rgba(46, 67, 117, 0.1);
	translate: 0 -2px;
	background:
		radial-gradient(circle, transparent 2.5px, rgba(255, 125, 48, 0.3) 2.5px, rgba(255, 125, 48, 0.3) 3.5px, rgba(255, 125, 48, 0.2) 3.5px) no-repeat right 14px top 14px / 10px 10px,
		linear-gradient(to bottom, #fff, #f7f8fb 50%, #fff);
}
.msd-principle:hover::before { opacity: 1; background: linear-gradient(to right, #ff7d30, #ff7d30, transparent); }
.msd-principle:hover::after { border-color: rgba(255, 125, 48, 0.1); }
.msd-principle:hover .msd-number { color: rgba(255, 125, 48, 0.4); }
.msd-principle:hover h3::after { width: 32px; background: rgba(255, 125, 48, 0.5); }
.msd-principle:hover p:not(.msd-number) { color: #5e709c; }
.msd-process { background: linear-gradient(180deg, #fff, #f7f8fb); }
.msd-process-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 48px 0 24px; color: #5e709c; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.msd-process-controls { display: flex; gap: 12px; }
.msd-process-controls[hidden] { display: none; }
.msd-process-controls button { width: 36px; height: 36px; border: 1px solid #d8dce7; border-radius: 50%; background: transparent; color: #5e709c; font-size: 24px; line-height: 1; cursor: pointer; }
.msd-process-controls button:not(:disabled):hover { background: #ff7d30; border-color: #ff7d30; color: #fff; }
.msd-process-controls button:disabled { opacity: .35; cursor: default; }
.msd-process-pagination { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.msd-process-pagination[hidden] { display: none; }
.msd-process-pagination button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.msd-process-pagination button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #c6cad4; }
.msd-process-pagination button[aria-current]::before { background: #2e4375; }
.msd-process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.msd-process-carousel.is-enhanced .msd-process-grid { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); grid-template-columns: none; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.msd-process-carousel.is-enhanced .msd-process-grid::-webkit-scrollbar { display: none; }
.msd-process-step { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #d8dce7; border-radius: 4px; background: #fff; scroll-snap-align: start; }
.msd-process-art { position: relative; display: grid; place-items: center; height: 144px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #ff7d30, #ffb18d); }
.msd-process-art-2 { background: linear-gradient(135deg, #5e709c, #9faeca); }
.msd-process-art-3 { background: linear-gradient(135deg, #97a5cc, #c0c9df); }
.msd-process-art-4 { background: linear-gradient(135deg, #2e4375, #8091ba); }
.msd-process-art::before, .msd-process-art::after { content: ""; position: absolute; width: 92px; height: 92px; border: 1px solid rgb(255 255 255 / 13%); border-radius: 50%; right: -24px; top: -34px; }
.msd-process-art::after { width: 52px; height: 52px; left: -20px; top: auto; bottom: -16px; }
.msd-process-phase { position: absolute; top: 20px; left: 16px; padding: 5px 10px; border: 1px solid rgb(255 255 255 / 20%); border-radius: 3px; background: rgb(255 255 255 / 15%); font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.msd-process-icon { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 50%; background: rgb(255 255 255 / 14%); }
.msd-process-icon svg { width: 26px; height: 26px; }
.msd-process-number { position: absolute; right: 0; bottom: -15px; color: rgb(255 255 255 / 25%); font: 400 100px/1 "Cormorant Garamond", serif; }
.msd-process-body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.msd-process-body h3 { margin: 0 0 16px; color: #2e4375; font-size: 26px; }
.msd-process-body p { margin: 0; font-size: 16px; line-height: 1.7; }
.msd-process-footer { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; border-top: 1px solid #eceef3; color: #5e709c; font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.msd-process-body p:has(+ .msd-process-footer) { margin-bottom: 44px; }
.msd-process-footer::before { content: ""; width: 24px; height: 1px; background: #ff9a65; }
@media (max-width: 900px) { .msd-process-carousel.is-enhanced .msd-process-grid { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .msd-process-carousel.is-enhanced .msd-process-grid { grid-auto-columns: 100%; } }
.msd-embla-viewport { overflow: hidden; touch-action: pan-y pinch-zoom; }
.msd-embla-track.msd-principles-carousel,
.msd-embla-track.msd-gallery,
.msd-embla-track.msd-process-grid {
	display: flex;
	gap: 24px;
	margin: 0;
}
.msd-embla-track.msd-principles-carousel > .msd-principle,
.home .msd-embla-track.msd-gallery > .msd-project,
.msd-embla-track.msd-process-grid > .msd-process-step {
	display: flex;
	flex: 0 0 calc((100% - 48px) / 3);
	flex-direction: column;
	min-width: 0;
}
.home .msd-embla-track.msd-gallery > .msd-project {
	transition: translate .3s, box-shadow .3s;
}
.home .msd-embla-track.msd-gallery > .msd-project:hover,
.home .msd-embla-track.msd-gallery > .msd-project:focus-within {
	transform: none;
	translate: 0 -4px;
}
@media (prefers-reduced-motion: reduce) {
	.home .msd-embla-track.msd-gallery > .msd-project { transition: none; }
}
.msd-embla-track.msd-gallery img { -webkit-user-drag: none; user-select: none; }
@media (max-width: 900px) {
	.msd-embla-track.msd-principles-carousel > .msd-principle { flex-basis: 100%; }
	.home .msd-embla-track.msd-gallery > .msd-project,
	.msd-embla-track.msd-process-grid > .msd-process-step { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 600px) {
	.home .msd-embla-track.msd-gallery > .msd-project,
	.msd-embla-track.msd-process-grid > .msd-process-step { flex-basis: 100%; }
}
@media (min-width: 1280px) {
	.msd-embla-track.msd-process-grid > .msd-process-step { flex-basis: calc((100% - 72px) / 4); }
	.msd-process-carousel.is-enhanced .msd-process-grid { grid-auto-columns: calc((100% - 72px) / 4); }
}
/* Sunset-orange accent (production #ff7d30): eyebrow hairlines + accent eyebrows */
.msd-section-intro .msd-eyebrow::after {
	content: "";
	display: inline-block;
	width: 48px;
	height: 1px;
	margin-left: 14px;
	vertical-align: middle;
	background: rgba(255, 125, 48, 0.4);
}
.home .msd-section:not(.msd-mission) .msd-section-intro .msd-eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}
.home .msd-section:not(.msd-mission) .msd-section-intro .msd-eyebrow::before,
.home .msd-section:not(.msd-mission) .msd-section-intro .msd-eyebrow::after {
	content: "";
	flex: 0 0 clamp(12px, 6vw, 48px);
	height: 1px;
	margin: 0;
	background: rgba(255, 125, 48, 0.4);
}
.msd-manifesto .msd-eyebrow, .msd-mission .msd-eyebrow, .msd-cta .msd-eyebrow { color: #ff7d30; }
/* Mission: centered single-column statement */
.msd-mission { border-top: 1px solid #d8dce7; }
.msd-mission .msd-section-intro { margin-bottom: 0; text-align: center; }
.msd-mission .msd-eyebrow::after { content: none; }
.msd-mission h2 { font-size: clamp(32px, 3.4vw, 50px); }
/* Commitment pillars */
.msd-pillars { background: linear-gradient(to bottom, #f7f8fb, #fff 60%); border-top: 1px solid #d8dce7; }
.msd-pillars-grid { display: grid; gap: 28px; max-width: 1024px; margin: 0 auto; }
.msd-pillar {
	--pillar-c: 46, 67, 117;
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: clamp(24px, 3vw, 40px);
	align-items: start;
	padding: clamp(28px, 3.2vw, 40px);
	background: #fff;
	border: 1px solid rgba(var(--pillar-c), 0.2);
	border-radius: 2px;
	transition: border-color 0.5s, box-shadow 0.5s;
}
.msd-pillar:hover { border-color: rgba(var(--pillar-c), 0.4); box-shadow: 0 12px 40px rgba(46, 67, 117, 0.06); }
.msd-pillar--trust { --pillar-c: 255, 125, 48; }
.msd-pillar--excellence { --pillar-c: 94, 112, 156; }
.msd-pillars-grid > *, .msd-pillar > *, .msd-pillar-copy > * { margin-block: 0; min-width: 0; }
.msd-pillar-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(var(--pillar-c), 0.05);
	border: 1px solid rgba(var(--pillar-c), 0.2);
	color: rgb(var(--pillar-c));
	transition: scale 0.5s;
}
.msd-pillar:hover .msd-pillar-icon { scale: 1.1; }
.msd-pillar .msd-pillar-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgb(var(--pillar-c));
	margin: 6px 0 10px;
}
.msd-pillar-label::after {
	content: "";
	display: inline-block;
	width: 32px;
	height: 1px;
	margin-left: 12px;
	vertical-align: middle;
	background: rgb(var(--pillar-c));
	opacity: 0.3;
}
.msd-pillar h3 { font-size: 28px; margin: 0 0 12px; }
.msd-pillar p:not(.msd-pillar-label) { font-size: 16px; margin: 0; }
@media (max-width: 600px) {
	.msd-pillar { grid-template-columns: 1fr; }
}
.msd-gallery > *, .msd-services-grid > *, .msd-principles-grid > *, .msd-process-grid > *, .msd-editorial > *, .msd-team-grid > *, .msd-resource-grid > *, .msd-specs > * {
	margin-block: 0;
	min-width: 0;
}
@media (min-width: 601px) {
	.msd-project, .msd-service-card, .msd-principle {
		display: grid;
		grid-template-rows: subgrid;
		grid-row: span 3;
		row-gap: 16px;
	}
	.msd-principle { grid-row: span 2; row-gap: 10px; }
	.msd-principle:has(.msd-number) { grid-row: span 3; }
	.msd-service-card:has(.msd-eyebrow) { grid-row: span 4; }
	.msd-team-card { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 12px; }
	.msd-resource-card { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; }
	.msd-team-card > * { margin-block: 0; }
	.msd-project > *, .msd-service-card > *, .msd-principle > *, .msd-process-step > * {
		margin-block: 0;
	}
}
.msd-principles:has(.is-enhanced) { padding-block: 64px; }
.msd-principles-carousel.is-enhanced { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.msd-principles-carousel.is-enhanced > .msd-principle {
	display: flex;
	flex-direction: column;
	grid-row: 1;
	gap: 10px;
	visibility: hidden;
}
.msd-principles-carousel.is-enhanced > .is-current { visibility: visible; }
.msd-principles-carousel.is-enhanced > .msd-principle > * { margin-block: 0; }
.msd-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-block: 28px 20px; }
.msd-carousel-controls[hidden] { display: none; }
.msd-carousel-controls button {
	position: relative;
	color: #2e4375;
	background: transparent;
	border: 0;
	min-height: 44px;
	padding: 0;
	cursor: pointer;
}
.msd-carousel-paging { display: flex; align-items: center; padding-inline: 8px; position: relative; }
.msd-carousel-paging::before { content: ""; position: absolute; inset: 12px 0; border-radius: 20px; background: #e4e8f0; }
.msd-carousel-page { width: 18px; flex-shrink: 0; }
.msd-carousel-page::before, .msd-carousel-page::after {
	content: "";
	position: absolute;
	top: 19px;
	height: 6px;
	border-radius: 6px;
}
.msd-carousel-page::before { width: 6px; left: 6px; background: #5e709c; }
.msd-carousel-page[aria-current] { width: 30px; }
.msd-carousel-page[aria-current]::before { width: 24px; left: 3px; background: #2e4375; }
.msd-carousel-page[aria-current]::after { left: 3px; width: 6px; background: #fff; }
.is-rotating .msd-carousel-page[aria-current]::after { animation: msd-paging-progress var(--rotation-duration) linear forwards; }
.msd-carousel-page:hover::before { background: #2e4375; }
.msd-carousel-toggle { width: 44px; flex-shrink: 0; }
.msd-carousel-toggle::before { content: ""; position: absolute; top: 17px; left: 18px; width: 8px; height: 10px; border-inline: 2px solid currentColor; }
.msd-carousel-toggle.is-paused::before { width: 0; height: 0; border: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.msd-carousel-arrow { width: 32px; flex-shrink: 0; }
.msd-carousel-arrow::before { content: ""; position: absolute; top: 18px; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.msd-carousel-arrow-prev::before { left: 14px; transform: rotate(-135deg); }
.msd-carousel-arrow-next::before { left: 10px; transform: rotate(45deg); }
.msd-carousel-arrow:hover, .msd-carousel-toggle:hover { color: #1f2f52; }
.msd-carousel-controls .msd-carousel-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@keyframes msd-paging-progress { from { transform: translateX(0); } to { transform: translateX(18px); } }
@media (prefers-reduced-motion: reduce) {
	.is-rotating .msd-carousel-page[aria-current]::after { animation: none; }
}
@media (max-width: 900px) {
	.msd-principles-carousel.is-enhanced { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
	.msd-carousel-paging { padding-inline: 4px; }
	.msd-carousel-page { width: 16px; }
}
.msd-cta { text-align: center; }
.msd-cta h2 { max-width: 820px; margin: 0 auto 32px; }
.home .msd-cta { position: relative; overflow: hidden; background: #202e4c; color: #fff; }
.home .msd-cta > :not(.msd-cta-background) { position: relative; z-index: 1; }
.home .msd-cta .msd-cta-background { position: absolute; inset: 0; margin: 0; }
.home .msd-cta .msd-cta-background::after { content: ""; position: absolute; inset: 0; background: rgb(25 36 61 / 82%); }
.home .msd-cta .msd-cta-background img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home .msd-cta h2, .home .msd-cta .msd-trust { color: #fff; }
.home .msd-cta .wp-block-button__link { background: #ff7d30; color: #202e4c; }
.home .msd-cta .wp-block-button__link:hover { background: #fff; color: #2e4375; }
.msd-consultation-success { color: #fff !important; }
dialog.msd-consultation { width: min(680px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; color: #2e4375; background: #fff; box-shadow: 0 24px 80px rgb(0 0 0 / 25%); }
dialog.msd-consultation::backdrop { background: rgb(20 30 48 / 75%); }
.msd-consultation-panel { position: relative; padding: clamp(24px, 5vw, 48px); }
.msd-consultation-panel h2 { font-size: clamp(34px, 4vw, 48px); margin: 0 32px 8px 0; }
.msd-consultation-panel > p { margin: 0 0 28px; color: #5e709c; }
.msd-consultation-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; background: transparent; color: #2e4375; font-size: 30px; cursor: pointer; }
.msd-consultation-form { display: grid; gap: 20px; }
.msd-consultation-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.msd-consultation .msd-contact-field label, .msd-consultation-space legend { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.msd-consultation-space { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; border: 0; }
.msd-consultation-space legend { margin-bottom: 8px; }
.msd-consultation-space label { position: relative; }
.msd-consultation-space input { position: absolute; opacity: 0; }
.msd-consultation-space span { display: block; padding: 10px 16px; border: 1px solid #d8dce7; cursor: pointer; }
.msd-consultation-space input:checked + span { background: #2e4375; color: #fff; border-color: #2e4375; }
.msd-consultation-space input:focus-visible + span { outline: 2px solid #2e4375; outline-offset: 3px; }
.msd-consultation-actions { display: flex; justify-content: flex-end; gap: 12px; }
.msd-consultation-actions button { min-height: 48px; padding: 12px 24px; border: 1px solid #2e4375; background: #2e4375; color: #fff; font: 600 11px Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.msd-consultation-actions .msd-consultation-cancel { background: #fff; color: #2e4375; }
@media (max-width: 600px) { .msd-consultation-fields { grid-template-columns: 1fr; } }
/* Services buildout */
.msd-capability-list { columns: 2; gap: 48px; }
.msd-capability-list li { break-inside: avoid; padding-block: 8px; border-bottom: 1px solid #e4e8f0; }
.msd-band { text-align: center; background: #f0f2f7; padding: 44px 24px; }
.msd-band p { font-size: 18px; max-width: 640px; margin: 0 auto 20px; }
.msd-band .wp-block-buttons { justify-content: center; }
.msd-specs { max-width: 760px; }
/* Portfolio inspector: the project cards and profiles remain server-rendered. */
.msd-portfolio { max-width: 1600px; margin-inline: auto; }
.msd-portfolio [hidden] { display: none !important; }
.msd-portfolio-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; border-bottom: 1px solid #d8dce7; padding-bottom: 24px; margin-bottom: 32px; }
.msd-portfolio-heading .msd-eyebrow { display: block; font-size: 10px; letter-spacing: .3em; margin: 0 0 4px; color: #5e709c; }
.msd-portfolio-heading h2 { font-size: clamp(30px, 3vw, 40px); margin: 0; }
.msd-portfolio:not(.is-enhanced) .msd-portfolio-filters, .msd-portfolio:not(.is-enhanced) .msd-gallery-launch { display: none; }
.msd-portfolio-filters { display: flex; gap: clamp(4px, 1.5vw, 18px); flex-wrap: wrap; }
.msd-portfolio-filters button { position: relative; border: 0; background: transparent; padding: 12px 10px; color: #5e709c; font: 600 11px Inter, sans-serif; letter-spacing: .13em; text-transform: uppercase; cursor: pointer; }
.msd-portfolio-filters button[aria-pressed="true"] { color: #2e4375; }
.msd-portfolio-filters button[aria-pressed="true"]::after { content: ""; position: absolute; bottom: 0; inset-inline: 10px; border-bottom: 2px solid #2e4375; }
.msd-portfolio-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.msd-portfolio-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.msd-portfolio-card { display: flex; flex-direction: column; min-width: 0; min-height: 280px; gap: 18px; text-align: left; padding: 24px; background: #fff; color: #2e4375; border: 1px solid #d8dce7; font: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.msd-portfolio-card:hover, .msd-portfolio-card.is-active { border-color: #2e4375; }
.msd-portfolio-card.is-active { box-shadow: inset 0 0 0 1px #2e4375; }
.msd-card-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; min-width: 0; }
/* Titles reserve two lines so every card image starts at the same height, whatever the title length. */
.msd-card-title { min-height: 2.2em; font: 500 23px/1.1 "Cormorant Garamond", serif; overflow-wrap: anywhere; }
.msd-card-pill { flex-shrink: 0; margin-top: 4px; border: 1px solid #d8dce7; border-radius: 100px; padding: 3px 7px; font: 8px/1.2 ui-monospace, SFMono-Regular, monospace; letter-spacing: .04em; text-transform: uppercase; color: #5e709c; }
.msd-card-media { position: relative; display: block; width: 100%; aspect-ratio: 2 / 1; overflow: hidden; background: #e9ecf2; }
.msd-card-media img, .msd-inspector-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.msd-card-hover { display: grid; place-items: center; position: absolute; inset: 0; background: rgb(25 37 63 / 60%); color: #fff; opacity: 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; transition: opacity .2s; pointer-events: none; }
.msd-portfolio-card:hover .msd-card-hover, .msd-portfolio-card:focus-visible .msd-card-hover { opacity: 1; }
.msd-card-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin-top: auto; color: #5e709c; font-size: 11px; }
.msd-portfolio-inspector { position: sticky; top: 110px; min-width: 0; }
.admin-bar .msd-portfolio-inspector { top: 142px; }
.msd-inspector-panel { min-width: 0; border: 1px solid #d8dce7; background: #fff; }
.msd-inspector-panel:not(.is-active) { display: none; }
.msd-inspector-preview { aspect-ratio: 2 / 1; max-height: 42vh; position: relative; overflow: hidden; background: #e9ecf2; }
.msd-preview-launch { position: absolute; inset: 0; width: 100%; border: 0; background: rgb(25 37 63 / 32%); color: #fff; font: 600 11px Inter, sans-serif; text-transform: uppercase; letter-spacing: .12em; opacity: 0; cursor: zoom-in; transition: opacity .2s; }
.msd-inspector-preview:hover .msd-preview-launch, .msd-preview-launch:focus-visible { opacity: 1; }
.msd-inspector-content { padding: clamp(20px, 3vw, 32px); }
.msd-inspector-kicker, .msd-inspector-content h4 { display: block; font: 600 10px/1.5 ui-monospace, SFMono-Regular, monospace; letter-spacing: .17em; text-transform: uppercase; color: #5e709c; }
.msd-inspector-content h3 { font: 500 32px/1.1 "Cormorant Garamond", serif; color: #2e4375; margin: 8px 0 4px; overflow-wrap: anywhere; }
.msd-inspector-meta { margin: 0 0 18px; font-size: 12px; }
.msd-inspector-cta { display: block; width: 100%; padding: 16px; border: 0; background: #2e4375; color: #fff; font: 600 11px Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.msd-inspector-content h4 { margin: 24px 0 8px; }
.msd-inspector-description { font-size: 14px; margin: 0; }
.msd-inspector-features { list-style: none; padding: 0; margin: 0 0 24px; color: #2e4375; font-size: 13px; }
.msd-inspector-features li { display: flex; gap: 10px; padding: 6px 0; }
.msd-inspector-features li::before { content: "✓"; color: #5e709c; }
.msd-inspector-metric { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #d8dce7; padding-top: 16px; font-size: 11px; color: #5e709c; }
.msd-inspector-metric strong { text-align: right; color: #2e4375; overflow-wrap: anywhere; }
.msd-portfolio-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.msd-lightbox { position: fixed; inset: 0; z-index: 100000; display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; grid-template-rows: auto minmax(0, 1fr); align-items: center; gap: 8px; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: #101725; color: #fff; }
.msd-lightbox-header { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 4px 0 16px; border-bottom: 1px solid rgb(255 255 255 / 14%); }
.msd-lightbox-kicker { color: #eea47b; font: 600 10px/1.5 Inter, sans-serif; letter-spacing: .2em; }
.msd-portfolio .msd-lightbox-title { margin: 3px 0 0; color: #fff; font: 400 clamp(22px, 3vw, 32px)/1.1 "Cormorant Garamond", serif; }
.msd-lightbox figure { grid-column: 2; grid-row: 2; align-self: stretch; min-width: 0; min-height: 0; height: 100%; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.msd-lightbox img { display: block; flex: 1 1 0; width: 100%; min-height: 0; object-fit: contain; }
.msd-lightbox figcaption { color: #c8cbd3; font: 11px Inter, sans-serif; letter-spacing: .16em; }
.msd-lightbox button { display: grid; place-items: center; border: 0; background: transparent; color: #fff; width: 48px; height: 48px; padding: 0; font: 300 32px/1 Inter, sans-serif; cursor: pointer; }
.msd-lightbox button:focus-visible { outline: 2px solid #eea47b; outline-offset: -2px; }
.msd-lightbox-close { flex: 0 0 48px; }
.msd-lightbox-prev { grid-column: 1; grid-row: 2; }
.msd-lightbox-next { grid-column: 3; grid-row: 2; }
.msd-lightbox-close span { position: relative; display: block; width: 20px; height: 20px; }
.msd-lightbox-close span::before, .msd-lightbox-close span::after { content: ""; position: absolute; top: 9px; left: 0; width: 20px; height: 1px; background: currentColor; transform: rotate(45deg); }
.msd-lightbox-close span::after { transform: rotate(-45deg); }
@media (max-width: 1023px) {
 .msd-portfolio-layout { grid-template-columns: minmax(0, 1fr); }
 .msd-portfolio-inspector { position: static; }
}
@media (max-width: 640px) {
 .msd-portfolio-heading { align-items: start; flex-direction: column; }
 .msd-portfolio-cards { grid-template-columns: minmax(0, 1fr); }
 .msd-card-title { min-height: 0; }
 .msd-card-media, .msd-inspector-preview { aspect-ratio: 16 / 9; max-height: none; }
 .msd-lightbox { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 0; padding-inline: max(8px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-right)); }
 .msd-lightbox figure { grid-column: 1 / -1; }
 .msd-lightbox-prev, .msd-lightbox-next { z-index: 1; width: 40px; background: rgb(16 23 37 / 70%); }
 .msd-lightbox-prev { justify-self: start; }
 .msd-lightbox-next { justify-self: end; }
}
@media (prefers-reduced-motion: reduce) {
 .msd-portfolio-card, .msd-card-hover, .msd-preview-launch { transition: none; }
}
/* Contact buildout */
.msd-contact-hero { min-height: 540px; text-align: center; }
.msd-contact-hero .msd-hero-copy { margin-inline: auto !important; }
.msd-contact-hero .msd-lede { max-width: 760px; margin-inline: auto; }
.msd-contact-hero h1 em { color: #ff9a65; }
.msd-contact-section { max-width: 1440px; margin-inline: auto; }
.msd-contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: clamp(32px, 5vw, 72px); align-items: start; scroll-margin-top: 110px; }
.msd-contact-layout > div > h2 { font-size: clamp(32px, 3vw, 44px); }
.msd-contact-form { display: grid; gap: 20px; }
.msd-contact-field { display: grid; gap: 8px; }
.msd-contact-field label { color: #2b3b5e; font-size: 15px; font-weight: 600; }
.msd-contact-field input, .msd-contact-field select, .msd-contact-field textarea {
	width: 100%; min-width: 0; border: 1px solid #d8dce7; border-radius: 2px;
	background: #fff; color: #202e4c; padding: 13px 15px; font: 400 16px/1.5 Inter, sans-serif;
}
.msd-contact-field textarea { resize: vertical; }
.msd-contact-field input:focus-visible, .msd-contact-field select:focus-visible, .msd-contact-field textarea:focus-visible {
	outline: 2px solid #2e4375; outline-offset: 2px;
}
.msd-contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.msd-contact-form button { min-height: 48px; justify-self: start; padding: 12px 32px; border: 0; background: #2b3b5e; color: #fff; font: 600 12px Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.msd-contact-form button:hover { background: #1f2f52; }
.msd-contact-success { padding: 16px 20px; border-left: 3px solid #2e4375; background: #f0f2f7; color: #202e4c !important; }
.msd-partner-section .msd-contact-layout { display: block; max-width: 760px; margin-inline: auto; }
.msd-contact-aside { padding: 30px; background: #f7f8fb; border: 1px solid #d8dce7; }
.msd-contact-aside h2 { font-size: 28px; margin: 0 0 24px; }
.msd-contact-aside h3 { font: 600 12px Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; margin: 26px 0 6px; }
.msd-contact-aside p { margin: 0; overflow-wrap: anywhere; }
.msd-contact-aside a { color: #2e4375; }
@media (max-width: 767px) {
	.msd-contact-layout { grid-template-columns: minmax(0, 1fr); }
	.msd-contact-hero { min-height: 500px; }
}
/* About buildout */
.msd-team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.msd-team-card { background: #fff; border: 1px solid #d8dce7; padding: 28px; }
/* People photos: face-safe framing — never the lighting-first top crop.
   3:2 matches the headshot set natively (no crop); portrait sources crop
   toward the face zone (center 25%). */
.msd-team-photo { margin: 0; aspect-ratio: 3 / 2; height: auto; }
.msd-team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
/* Team bio pages */
body.single-team_member, .single-team_member .wp-site-blocks,
body.single-service_area, .single-service_area .wp-site-blocks { background: #f7f8fb; }
.msd-inner.msd-profile-page { max-width: 1440px; margin-inline: auto; padding: 48px 48px 80px; }
.msd-profile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.msd-profile-photo { margin: 0; }
.msd-profile-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.msd-profile-body { max-width: 38rem; }
.msd-profile-body > * { margin-block: 0; }
.msd-profile-name { font: 300 60px/1.05 Inter, sans-serif; letter-spacing: -1.5px; color: #171717; }
.msd-profile-role { margin-top: 12px !important; font: 400 20px/1.4 Inter, sans-serif; color: #171717; }
.msd-profile-rule { margin: 28px 0 !important; border: 0; border-top: 2px solid #171717; }
.msd-profile-bio p { margin: 0 0 1em; font: 300 18px/1.8 Inter, sans-serif; color: #525252; }
.msd-profile-social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px !important; }
.msd-profile-social.wp-block-social-links { gap: 10px; margin: 0; padding: 0; }
.msd-profile-social .wp-social-link { margin: 0; background: transparent; color: #fff; }
.msd-profile-social .wp-social-link a, .msd-profile-houzz { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; box-sizing: border-box; padding: 0; border-radius: 50%; background: #1f3a5f; color: #fff; font: 700 13px Inter, sans-serif; text-decoration: none; transition: background .2s; }
.msd-profile-social .wp-social-link a:hover, .msd-profile-houzz:hover { background: #2e4375; }
.msd-profile-social svg { width: 16px; height: 16px; }
.msd-profile-cta { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 370px; margin-top: 80px; border-radius: 4px; background: #19243d; text-align: center; }
.msd-profile-cta::after { content: ""; position: absolute; inset: 0; background: rgb(16 24 42 / 80%); }
.msd-profile-cta-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.msd-profile-cta-copy { position: relative; z-index: 1; max-width: 56rem; padding: 64px 40px; }
.msd-profile-cta-copy > * { margin-block: 0; }
.msd-profile-cta .msd-eyebrow { color: rgb(255 255 255 / 60%); }
.msd-profile-cta h2 { margin-top: 16px; font: 300 36px/1.1 "Cormorant Garamond", serif; color: #fff; }
.msd-profile-cta p:not(.msd-eyebrow) { max-width: 32rem; margin: 16px auto 0; font: 300 16px/1.6 Inter, sans-serif; color: rgb(255 255 255 / 60%); }
.msd-profile-cta-button { display: inline-block; margin-top: 32px; padding: 16px 40px; background: #2e4375; color: #fff; font: 600 12px/1 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s; }
.msd-profile-cta-button:hover, .msd-profile-cta-button:focus-visible { background: #fff; color: #2e4375; }
@media (max-width: 760px) {
	.msd-inner.msd-profile-page { padding: 32px 20px 56px; }
	.msd-profile { grid-template-columns: 1fr; gap: 32px; }
	.msd-profile-name { font-size: 44px; }
	.msd-profile-role { font-size: 18px; }
	.msd-profile-bio p { font-size: 16px; }
	.msd-profile-cta { margin-top: 56px; }
	.msd-profile-cta-copy { padding: 40px 24px; }
	.msd-profile-cta h2 { font-size: 30px; }
}
.msd-team-card h3 { margin: 0; }
.msd-team-card h3 a { color: inherit; text-decoration: none; }
.msd-team-focus { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #5e709c; }
.msd-team-link a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #2e4375; font-weight: 600; }
.msd-quote { border-left: 2px solid #c8a96a; margin: 36px auto 0; padding-left: 24px; max-width: 640px; }
.msd-quote p { font-family: "Cormorant Garamond", serif; font-size: 26px; font-style: italic; color: #2e4375; }
.msd-testimonials-hero .wp-block-cover__background {
	background: linear-gradient(90deg, #0f1424, #1a2848) !important;
}
.msd-testimonials-hero .msd-hero-copy { margin-inline: auto !important; text-align: center; }
.msd-testimonials-hero .msd-lede,
.msd-testimonials-hero .msd-section-intro {
	max-width: 720px;
	margin-inline: auto;
	color: #fff;
	text-align: left;
}
.msd-testimonials-hero .msd-section-intro { font-size: 16px; }
.msd-testimonials-list { max-width: 1040px; margin-inline: auto; }
.msd-testimonial-card {
	display: flex;
	align-items: flex-start;
	gap: clamp(24px, 4vw, 56px);
	padding-block: 42px;
	border-bottom: 1px solid #d8dce7;
}
.msd-testimonial-card > * { margin-block: 0; min-width: 0; }
.msd-testimonial-portrait { flex: 0 0 160px; }
.msd-testimonial-portrait img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.msd-testimonial-body { flex: 1; min-width: 0; }
.msd-testimonial-card .msd-quote { max-width: none; margin: 0; }
.msd-testimonial-card .msd-quote p { margin: 0; text-align: left; font-size: clamp(20px, 2vw, 26px); overflow-wrap: break-word; }
.msd-testimonial-card .msd-testimonial-name { margin: 20px 0 0; font-weight: 600; color: #2e4375; }
.msd-testimonial-card .msd-testimonial-details { margin: 0; font-size: 14px; }
@media (max-width: 600px) {
	.msd-testimonial-card { flex-direction: column; }
	.msd-testimonial-portrait { flex: none; width: 120px; }
}
@media (max-width: 700px) {
	.msd-team-grid { grid-template-columns: 1fr; }
}
.msd-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 14px; border-bottom: 1px solid #d8dce7; }
.msd-spec p { margin: 0; }
.msd-spec-label { color: #5e709c; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.msd-spec-value { color: #2e4375; font-weight: 500; }
@media (max-width: 700px) {
	.msd-capability-list { columns: 1; }
	.msd-spec { grid-template-columns: 1fr; gap: 4px; }
}
.msd-cta .msd-trust { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; margin-top: 28px; }
.msd-footer { background: #fff; color: #2e4375; border-top: 1px solid #d8dce7; padding: 64px clamp(24px, 3.3vw, 48px); }
.msd-footer-grid, .msd-footer-bottom { max-width: 1440px; margin-inline: auto; }
.msd-footer-grid { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr auto; gap: 48px; align-items: start; }
.msd-footer-grid > .msd-footer-section { margin: 0; min-width: 0; }
.msd-footer .msd-footer-section > * { margin: 0; }
.msd-footer h2 { color: #5e709c; font-family: Inter, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px !important; }
.msd-footer p { font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: .02em; }
.msd-footer a { color: inherit; text-decoration: none; }
.msd-footer a:hover { color: #ff7d30; }
.msd-footer .msd-footer-secondary { color: #5e709c; font-size: 12px; font-weight: 400; letter-spacing: 0; margin-top: 8px; }
.msd-footer-follow { text-align: right; }
.msd-footer .msd-footer-social-row { gap: 10px; justify-content: flex-end; }
.msd-footer .msd-footer-social { gap: 10px; margin: 0; }
.msd-footer .msd-footer-social .wp-social-link { margin: 0; background: transparent; color: #5e709c; }
.msd-footer .msd-footer-social .wp-social-link a, .msd-footer-houzz a, .msd-footer-top a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; box-sizing: border-box; padding: 0; border: 1px solid #d8dce7; border-radius: 50%; color: #5e709c; }
.msd-footer .msd-footer-social .wp-social-link a:hover, .msd-footer-houzz a:hover, .msd-footer-top a:hover { color: #2e4375; border-color: #2e4375; background: #f7f8fb; }
.msd-footer .msd-footer-social svg { width: 16px; height: 16px; }
.msd-footer .msd-footer-houzz { margin: 0; font-weight: 600; }
.msd-footer-bottom { border-top: 1px solid #d8dce7; padding-top: 32px; margin-top: 48px; gap: 24px; }
.msd-footer-bottom p { margin: 0; color: #5e709c; font-size: 12px; font-weight: 400; }
.msd-footer-top a { font-size: 20px; line-height: 1; }
@media (max-width: 1000px) {
	.msd-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.msd-footer-follow { text-align: left; }
	.msd-footer .msd-footer-social-row { justify-content: flex-start; }
}
@media (max-width: 600px) {
	.msd-footer { padding-block: 48px; }
	.msd-footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.msd-footer-bottom { margin-top: 40px; }
}
.msd-all-links { columns: 4; list-style: none; padding: 0; }
.msd-all-links li { break-inside: avoid; margin: 7px 0; }
.msd-all-links a { font-size: 11px; }
.msd-inner { padding: 64px 24px; }
.msd-full-principles { padding: 64px 24px; }

@media (max-width: 1100px) {
	.msd-wordmark { width: 190px; gap: 8px; }
	.msd-wordmark .msd-name { font-size: 20px; }
	.msd-wordmark .msd-tagline { font-size: 7px; }
	.msd-navigation { font-size: 10px; letter-spacing: .07em; }
	.msd-navigation .wp-block-navigation__container { gap: 12px; }
	.msd-navigation .msd-consultation > a { padding: 14px; font-size: 10px; }
	.msd-header-row { gap: 20px; }
}
@media (max-width: 900px) {
	.msd-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
	.msd-navigation .wp-block-navigation__responsive-container-open { display: flex; margin-left: auto; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
	.msd-header-row { padding: 20px 24px; }
	.msd-wordmark { width: 200px; gap: 10px; }
	.msd-wordmark .msd-name { font-size: 22px; }
	.msd-wordmark .msd-tagline { font-size: 8px; }
	.msd-header:has(.is-menu-open) .msd-wordmark { position: fixed; top: 24px; left: 28px; z-index: 100001; }
	nav.msd-navigation.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
		background: #202e4c;
		color: #fff;
		padding: 28px;
		overflow: auto;
		z-index: 100000;
	}
	nav.msd-navigation.wp-block-navigation .is-menu-open .wp-block-navigation__responsive-container-close { top: 0; right: 0; }
	nav.msd-navigation.wp-block-navigation .is-menu-open .wp-block-navigation__responsive-container-content { display: flex; padding-top: 70px; align-items: stretch; flex-direction: column; }
	nav.msd-navigation.wp-block-navigation .is-menu-open .wp-block-navigation__responsive-container-content > .wp-block-navigation__container { display: flex; }
	nav.msd-navigation.wp-block-navigation .is-menu-open .wp-block-navigation__container { width: 100%; align-items: stretch; gap: 0; flex-direction: column; }
	nav.msd-navigation.wp-block-navigation .is-menu-open .wp-block-navigation-item { width: 100%; align-items: flex-start; flex-direction: column; }
	nav.msd-navigation.wp-block-navigation .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
		border-bottom: 1px solid rgb(255 255 255 / 15%);
		padding: 15px 0;
	}
	nav.msd-navigation.wp-block-navigation .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > a {
		font-family: "Cormorant Garamond", serif;
		font-size: 30px;
		letter-spacing: 0;
		text-transform: none;
	}
	nav.msd-navigation.wp-block-navigation .is-menu-open .wp-block-navigation-submenu__toggle { display: flex !important; position: absolute; right: 0; top: 10px; width: 44px; height: 44px; justify-content: center; align-items: center; }
	nav.msd-navigation.wp-block-navigation .is-menu-open .wp-block-navigation-submenu__toggle svg { width: 12px; height: 12px; }
	nav.msd-navigation.wp-block-navigation .is-menu-open .wp-block-navigation__submenu-container {
		display: none;
		background: transparent;
		color: #fff;
		box-shadow: none;
		padding: 12px 0 0 !important;
		width: 100%;
		position: static;
		height: auto;
		opacity: 1;
		visibility: visible;
		overflow: visible;
	}
	nav.msd-navigation.wp-block-navigation .is-menu-open .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container { display: flex; }
	nav.msd-navigation.wp-block-navigation .is-menu-open .wp-block-navigation__submenu-container a { font-size: 12px; padding: 9px 14px; }
	nav.msd-navigation.wp-block-navigation .is-menu-open .msd-consultation { margin-top: 24px; border: 0 !important; }
	nav.msd-navigation.wp-block-navigation .is-menu-open .wp-block-navigation__container > .msd-consultation > a { width: 100%; font-family: Inter, sans-serif !important; font-size: 11px !important; text-transform: uppercase; letter-spacing: .13em; text-align: center; justify-content: center; padding: 20px; }
	nav.msd-navigation.wp-block-navigation .is-menu-open .msd-menu-social { display: block; border: 0 !important; }
	nav.msd-navigation.wp-block-navigation .is-menu-open .msd-menu-social > a { font-family: Inter, sans-serif !important; font-size: 11px !important; letter-spacing: .1em !important; text-transform: uppercase !important; }
	.msd-hero { padding-top: 125px; min-height: 650px; }
	.msd-hero .wp-block-cover__background {
		background: linear-gradient(180deg, rgb(23 32 54 / 78%) 0%, rgb(23 32 54 / 72%) 75%, rgb(23 32 54 / 65%) 100%) !important;
	}
	.msd-hero h1 { font-size: clamp(48px, 8vw, 72px); }
	.msd-hero .msd-lede { max-width: 690px; font-size: 16px; }
	.msd-section { padding: 64px 24px; }
	.msd-gallery, .msd-principles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.msd-process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.msd-hero { min-height: 690px; padding-bottom: 34px; }
	.msd-hero h1 { font-size: 52px; }
	.msd-hero .msd-lede { font-size: 15px; line-height: 1.65; }
	.msd-hero .msd-hero-caption { margin-top: 26px; font-size: 18px; }
	.msd-hero .wp-block-buttons { gap: 14px; }
	.msd-hero .wp-block-button__link { padding: 15px 17px; font-size: 9px; }
	.msd-stats { grid-template-columns: 1fr 1fr; padding: 24px; gap: 22px 14px; }
	.msd-stats p { font-size: 9px; line-height: 1.6; }
	.msd-gallery, .msd-services-grid, .msd-editorial, .msd-principles-grid, .msd-process-grid, .msd-resource-grid { grid-template-columns: 1fr; }
	.msd-gallery { gap: 34px; }
	.msd-editorial p { font-size: 16px; }
	.msd-all-links { columns: 2; }
	.admin-bar .msd-header-shell { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.msd-header { transition: none; }
}
@media (max-width: 360px) {
	.msd-hero { padding-top: 112px; }
	.msd-hero h1 { font-size: 44px; margin-bottom: 20px; }
	.msd-hero .msd-lede { font-size: 14px; margin-block: 14px; }
	.msd-hero .wp-block-buttons { margin-top: 24px; gap: 12px; }
	.msd-hero .msd-hero-caption { margin-top: 20px; font-size: 17px; }
}

/* FAQ: production's text-only cover and simple native disclosure list. */
.msd-faq-hero { min-height: 400px; min-height: min(520px, 70svh); }
.msd-faq-hero .wp-block-cover__background { background: linear-gradient(90deg, #0f1424, #1a2848) !important; }
.msd-faq-hero .msd-hero-copy { margin-inline: auto !important; text-align: center; }
.msd-faq-hero .msd-lede { max-width: 720px; margin-inline: auto; }
.msd-faq-list { max-width: 880px; margin-inline: auto; }
.msd-faq-list .wp-block-details { border: 1px solid #d8dce7; background: #fff; margin: 0 0 16px; }
.msd-faq-list .wp-block-details summary {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(22px, 2vw, 28px);
	color: #2e4375;
	padding: 22px clamp(22px, 3vw, 32px);
	cursor: pointer;
}
.msd-faq-list .wp-block-details summary:focus-visible { outline: 2px solid #2e4375; outline-offset: -3px; }
.msd-faq-list .wp-block-details > p {
	color: #5e709c;
	line-height: 1.75;
	padding: 0 clamp(22px, 3vw, 32px) 24px;
	margin: 0;
}

/* Resources: the production two-column editorial cards and text-only cover. */
.msd-resource-hero { min-height: 480px; }
.msd-resource-hero .wp-block-cover__background { background: linear-gradient(90deg, #0f1424, #1a2848) !important; }
.msd-resource-hero .msd-hero-copy { margin-inline: auto !important; text-align: center; }
.msd-resource-hero .msd-lede { max-width: 760px; margin-inline: auto; }
.msd-resource-hero h1 em { color: #ff7d30; }
.msd-resources { background: #f7f8fb; }
.msd-resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.msd-resource-card { min-width: 0; background: #fff; box-shadow: 0 8px 26px rgb(23 32 54 / 8%); }
.msd-resource-card > * { min-width: 0; margin-block: 0; }
.msd-resource-image { overflow: hidden; }
.msd-resource-image img { display: block; width: 100%; height: 320px; object-fit: cover; }
.msd-resource-card .msd-resource-category { margin: 0; padding: 28px 32px 0; color: #5e709c; font-size: 10px; }
.msd-resource-card h2 { padding: 12px 32px 0; margin: 0; font-family: Inter, sans-serif; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; }
.msd-resource-card h2 a { color: #202e4c; text-decoration: none; }
.msd-resource-card h2 a:hover { color: #2e4375; text-decoration: underline; }
.msd-resource-card .msd-resource-excerpt { max-width: none; padding: 14px 32px 0; margin: 0; font-size: 14px; line-height: 1.7; text-align: left; }
.msd-resource-card .msd-resource-meta { padding: 22px 32px 0; margin: 0; color: #5e709c; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.msd-resource-card .msd-resource-link { padding: 12px 32px 30px; margin: 0; font-size: 14px; font-weight: 600; }
.msd-resource-card .msd-resource-link a { color: #2e4375; text-decoration: underline; text-underline-offset: 3px; }
.msd-resource-card a:focus-visible { outline: 2px solid #2e4375; outline-offset: 3px; }
.msd-resource-card .msd-resource-image { display: block; }
.msd-resource-image img { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.msd-resource-card:hover .msd-resource-image img { transform: scale(1.03); }
.msd-resource-placeholder { display: block; height: 320px; background: linear-gradient(135deg, #1a2848, #2e4375 60%, #97a5cc); }
.msd-resource-dot { display: inline-block; width: 4px; height: 4px; margin: 0 10px 2px; border-radius: 50%; background: #ff7d30; vertical-align: middle; }
.msd-resources-index { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.msd-resources-index[aria-busy="true"] .msd-resource-grid, .msd-resources-index[aria-busy="true"] .msd-resources-pager { opacity: .45; transition: opacity .2s ease; }
.msd-resources-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.msd-resources-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; min-width: 0; }
.msd-resources-icons { display: flex; gap: 10px; }
.msd-resources-icon, .msd-resources-pill, .msd-resources-page { display: inline-flex; align-items: center; justify-content: center; height: 40px; border: 1px solid #d8dce7; border-radius: 2px; background: #fff; color: #2e4375; font: 500 14px/1 Inter, sans-serif; text-decoration: none; cursor: pointer; transition: border-color .25s ease, color .25s ease, background-color .25s ease, box-shadow .25s ease; }
.msd-resources-icon { position: relative; width: 40px; padding: 0; color: #5e709c; }
.msd-resources-icon.is-active::after { content: ""; position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; border-radius: 50%; background: #ff7d30; }
.msd-resources-svg { width: 20px; height: 20px; }
.msd-resources-pills { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.msd-resources-pill { padding: 0 18px; white-space: nowrap; color: #202e4c; }
.msd-resources-icon:hover, .msd-resources-pill:hover, a.msd-resources-page:hover { border-color: #97a5cc; color: #2e4375; box-shadow: 0 6px 18px rgb(23 32 54 / 6%); }
.msd-resources-pill[aria-current="true"] { border-color: #2e4375; background: #2e4375; color: #fff; }
.msd-resources-index :is(button, a, select, input):focus-visible { outline: 2px solid #2e4375; outline-offset: 2px; }
.msd-resources-sort { display: grid; justify-items: end; gap: 6px; }
.msd-resources-sort label { color: #5e709c; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.msd-resources-select { position: relative; display: block; }
.msd-resources-select select { width: 190px; height: 40px; padding: 0 40px 0 14px; border: 1px solid #d8dce7; border-radius: 2px; background: #fff; color: #202e4c; font: 400 14px/1 Inter, sans-serif; appearance: none; cursor: pointer; }
.msd-resources-select select:hover { border-color: #97a5cc; }
.msd-resources-select .msd-resources-svg { position: absolute; top: 10px; right: 12px; width: 18px; height: 18px; color: #5e709c; pointer-events: none; }
.msd-resources-apply { height: 40px; margin-top: 6px; padding: 0 16px; border: 0; background: #2e4375; color: #fff; }
.msd-resources-popover { width: min(420px, calc(100vw - 32px)); margin: auto; padding: 28px; border: 1px solid #e4e7ef; border-radius: 2px; background: #fff; color: #202e4c; box-shadow: 0 30px 80px rgb(15 20 36 / 22%); opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease, overlay .25s allow-discrete, display .25s allow-discrete; }
.msd-resources-popover:popover-open { opacity: 1; transform: none; }
@starting-style { .msd-resources-popover:popover-open { opacity: 0; transform: translateY(8px); } }
.msd-resources-popover::backdrop { background: rgb(15 20 36 / 35%); backdrop-filter: blur(3px); }
.msd-resources-popover-title { display: block; margin: 0 0 16px; color: #5e709c; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.msd-resources-field { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #d8dce7; padding-bottom: 10px; transition: border-color .25s ease; }
.msd-resources-field:focus-within { border-color: #2e4375; }
.msd-resources-field .msd-resources-svg { color: #97a5cc; flex: none; }
.msd-resources-field input { flex: 1; min-width: 0; border: 0; padding: 4px 0; background: none; color: #202e4c; font: 300 20px/1.3 Inter, sans-serif; }
.msd-resources-field input:focus-visible { outline: none; }
.msd-resources-field input::-webkit-search-cancel-button { display: none; }
.msd-resources-popover-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; color: #8a96b4; font-size: 12px; }
.msd-resources-popover-actions a { color: #5e709c; font-size: 13px; text-underline-offset: 3px; }
.msd-resources-submit { height: 38px; padding: 0 20px; border: 1px solid #2e4375; border-radius: 2px; background: #2e4375; color: #fff; font: 500 13px/1 Inter, sans-serif; letter-spacing: .04em; cursor: pointer; transition: background-color .25s ease; }
.msd-resources-submit:hover { background: #202e4c; }
.msd-resources-filter ul { display: grid; margin: 0; padding: 0; list-style: none; }
.msd-resources-filter li a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eef0f5; color: #202e4c; font-size: 15px; text-decoration: none; transition: color .2s ease, padding .2s ease; }
.msd-resources-filter li a:hover { padding-left: 6px; color: #2e4375; }
.msd-resources-filter li a[aria-current="true"] { color: #2e4375; font-weight: 600; }
.msd-resources-filter li a[aria-current="true"] span:first-child::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 2px 0; border-radius: 50%; background: #ff7d30; }
.msd-resources-count { color: #97a5cc; font-size: 12px; font-variant-numeric: tabular-nums; }
.msd-resources-status { margin: -12px 0 0; color: #5e709c; font-size: 14px; }
.msd-resources-status:focus { outline: none; }
.msd-resources-status a { margin-left: 10px; color: #2e4375; text-underline-offset: 3px; }
.msd-resources-empty { padding: 72px 24px; border: 1px solid #e4e7ef; background: #fff; text-align: center; }
.msd-resources-empty p { margin: 0 0 14px; color: #5e709c; font-family: "Cormorant Garamond", Cormorant, serif; font-size: 26px; }
.msd-resources-empty a { color: #2e4375; text-underline-offset: 3px; }
.msd-resources-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.msd-resources-page { width: 40px; color: #5e709c; font-weight: 600; }
.msd-resources-page.is-current { border-color: #2e4375; background: #2e4375; color: #fff; }
.msd-resources-page.is-disabled { opacity: .4; cursor: default; }
.msd-resources-gap { display: inline-flex; align-items: center; color: #97a5cc; }
.msd-resources-pager-label { display: none; }
@media (max-width: 900px) {
	.msd-resources-toolbar { flex-wrap: nowrap; align-items: stretch; flex-direction: column; }
	.msd-resources-filters { flex-wrap: nowrap; }
	.msd-resources-pills { min-width: 0; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.msd-resources-pills::-webkit-scrollbar { display: none; }
	.msd-resources-sort { justify-items: start; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
	.msd-resources-select select { width: 100%; }
}
@media (max-width: 600px) {
	.msd-resource-placeholder { height: 240px; }
	.msd-resources-pager { align-items: center; gap: 16px; }
	.msd-resources-pager > :not(.msd-resources-step, .msd-resources-pager-label) { display: none; }
	.msd-resources-pager-label { display: block; min-width: 96px; color: #5e709c; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
}
@media (prefers-reduced-motion: reduce) {
	.msd-resource-image img, .msd-resources-popover { transition: none; }
	.msd-resource-card:hover .msd-resource-image img { transform: none; }
}
.msd-resource-faq { text-align: center; }
.msd-resource-faq .msd-faq-list { text-align: left; }
@media (max-width: 600px) {
	.msd-resource-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.msd-resource-image img { height: 240px; }
}

/* Service-area pages below the hero: centered intro, neighborhood photo cards, inset photo CTA */
.msd-area-intro { padding: 48px clamp(20px, 3.4vw, 48px); text-align: center; }
.msd-area-intro h2 { margin: 0 0 20px; font-size: 30px; font-weight: 600; line-height: 1.2; }
.msd-area-intro p { max-width: 1344px; margin: 0 auto; font-size: 18px; font-weight: 300; line-height: 1.5; }
.msd-neighborhoods { max-width: 1344px; margin: 0 auto 80px; padding: 48px clamp(20px, 3.4vw, 48px); background: #f7f8fb; box-sizing: border-box; }
.msd-neighborhood-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.msd-neighborhood { overflow: hidden; background: #fff; border: 1px solid #d8dce7; border-radius: 4px; transition: border-color .5s, box-shadow .5s; }
.msd-neighborhood:hover { border-color: #97a5cc; box-shadow: 0 10px 30px rgb(46 67 117 / 8%); }
.msd-neighborhood-media { aspect-ratio: 4 / 3; overflow: hidden; background: #e9edf5; }
.msd-neighborhood-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.msd-neighborhood:hover .msd-neighborhood-media img { transform: scale(1.05); }
.msd-neighborhood-body { padding: 20px 24px 28px; text-align: center; }
.msd-neighborhood-body h3 { margin: 0; color: #2e4375; font: 600 30px/1.2 Inter, sans-serif; }
.msd-neighborhood-body p { margin: 8px 0 0; color: #5e709c; font: 300 14px/1.625 Inter, sans-serif; }
.msd-area-cta { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 3.4vw, 48px); box-sizing: border-box; }
.msd-area-cta .msd-profile-cta { margin-top: 0; }
@media (max-width: 900px) {
	.msd-neighborhood-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.msd-neighborhood, .msd-neighborhood-media img { transition: none; }
	.msd-neighborhood:hover .msd-neighborhood-media img { transform: none; }
}
/* Internal page heroes follow the original site's 21:9 band: 617px tall at 1440px, never under 400px */
body:not(.home) .msd-hero { min-height: max(400px, calc(100vw * 9 / 21)); padding-block: 56px; }
/* Pages that open with a hero get the homepage's transparent header over it; the hero grows by the header height so its copy and everything below stay put */
body:not(.home):has(.msd-hero) { --msd-header-h: 97px; }
body:not(.home):has(.msd-hero) .msd-header-shell { position: fixed; }
body:not(.home):has(.msd-hero) .msd-header:not(.is-scrolled) { background: transparent; }
body:not(.home):has(.msd-hero) .msd-hero {
	min-height: calc(max(400px, calc(100vw * 9 / 21)) + var(--msd-header-h));
	padding-top: calc(56px + var(--msd-header-h));
}
@media (max-width: 900px) {
	body:not(.home):has(.msd-hero) { --msd-header-h: 85px; }
}

/* Partner pages (/partners and the three trade pages) */
body:has(.msd-partner-cta), body:has(.msd-partner-cta) .wp-site-blocks { background: #f7f8fb; }
.msd-partner-intro, .msd-partner-collab, .msd-partner-directory, .msd-partner-voices, .msd-partner-cta, .msd-cta-band {
	box-sizing: border-box; max-width: 1440px; margin-inline: auto; padding-inline: clamp(20px, 3.4vw, 48px);
}
.msd-partner-intro { padding-block: 80px 0; }
.msd-partner-intro p { max-width: 896px; margin: 0 0 16px; font: 300 16px/1.625 Inter, sans-serif; }
.msd-partner-collab { padding-block: 64px 0; }
.msd-partner-collab > .msd-eyebrow, .msd-partner-collab > h2, .msd-partner-collab > .msd-section-intro { text-align: center; margin-inline: auto; }
.msd-partner-collab > .msd-eyebrow { font-size: 10px; color: #5e709c; }
.msd-partner-collab > h2 { max-width: 880px; margin-top: 16px; font: 300 clamp(36px, 3.4vw, 48px)/1.25 "Cormorant Garamond", serif; color: #2e4375; }
.msd-partner-collab > h2 em { color: #5e709c; }
.msd-partner-collab > h2::after { content: ""; display: block; width: 48px; height: 1px; margin: 24px auto 0; background: rgb(255 125 48 / 40%); }
.msd-partner-collab > .msd-section-intro { max-width: 768px; font: 300 16px/1.625 Inter, sans-serif; }
.msd-partner-cards, .msd-partner-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.msd-partner-collab .msd-partner-cards { margin-top: 72px; }
.msd-partner-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.msd-partner-category, .msd-partner-logo {
	position: relative; display: flex; flex-direction: column; margin: 0 !important; overflow: hidden;
	border: 1px solid #d8dce7; border-radius: 4px; background: #fff; text-align: center; transition: box-shadow .3s;
}
.msd-partner-category:hover, .msd-partner-category:focus-within, .msd-partner-logo:hover, .msd-partner-logo:focus-within { box-shadow: 0 20px 40px -20px rgb(46 67 117 / 25%); }
.msd-partner-category a::after, .msd-partner-logo a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.msd-partner-category a:focus-visible, .msd-partner-logo a:focus-visible { outline: none; }
.msd-partner-category:has(a:focus-visible), .msd-partner-logo:has(a:focus-visible) { outline: 2px solid #2e4375; outline-offset: 3px; }
.msd-partner-category img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #f7f8fb; }
.msd-partner-logo a { display: grid; place-items: center; aspect-ratio: 1; padding: 40px; box-sizing: border-box; }
.msd-partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .5s; }
.msd-partner-logo:hover img { transform: scale(1.04); }
.msd-partner-category figcaption, .msd-partner-logo figcaption { margin: 0; padding: 24px 16px; font: 300 24px/1.33 "Cormorant Garamond", serif; color: #2e4375; }
.msd-partner-logo figcaption { padding: 20px 16px; border-top: 1px solid rgb(216 220 231 / 50%); font-size: 18px; }
.msd-partner-directory { padding-block: 64px 0; }
.msd-partner-directory > h2 { margin: 64px 0 32px; font: 300 30px/1.2 "Cormorant Garamond", serif; color: #2e4375; }
.msd-trade-filter { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 56px; }
.msd-trade-filter button {
	padding: 10px 20px; border: 1px solid #d8dce7; border-radius: 999px; background: #fff; color: #5e709c; cursor: pointer;
	font: 600 10px/1.6 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s;
}
.msd-trade-filter button:hover { border-color: #2e4375; color: #2e4375; }
.msd-trade-filter button[aria-pressed="true"] { border-color: #2e4375; background: #2e4375; color: #fff; }
.msd-trades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.msd-trade-filter + .msd-trades { margin-top: 56px; }
.msd-trades.is-filtered { grid-template-columns: minmax(0, 1fr); max-width: calc((100% - 64px) / 3); }
.msd-trade {
	position: relative; overflow: hidden; padding: 40px; border: 1px solid #d8dce7; border-radius: 4px; background: #fff;
}
.msd-trade[hidden] { display: none; }
.msd-trade::before { content: ""; position: absolute; top: 0; right: 0; width: 96px; height: 96px; border-bottom-left-radius: 100%; background: rgb(46 67 117 / 5%); }
.msd-trade::after {
	content: ""; display: block; order: -1; width: 48px; height: 48px; border-radius: 4px;
	background: rgb(46 67 117 / 5%) var(--msd-trade-icon) center / 24px no-repeat;
}
.msd-trade { display: flex; flex-direction: column; }
.msd-trade--architects { --msd-trade-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e4375' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20v2M12 2v2M17 20v2M17 2v2M2 12h2M2 17h2M2 7h2M20 12h2M20 17h2M20 7h2M7 20v2M7 2v2'/%3E%3Crect x='4' y='4' width='16' height='16' rx='2'/%3E%3Crect x='8' y='8' width='8' height='8' rx='1'/%3E%3C/svg%3E"); }
.msd-trade--interior-designers { --msd-trade-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e4375' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17 2 2a1 1 0 1 0 3-3'/%3E%3Cpath d='m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4'/%3E%3Cpath d='m21 3 1 11h-2M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3M3 4h8'/%3E%3C/svg%3E"); }
.msd-trade--custom-builders { --msd-trade-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e4375' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.msd-trade > * { position: relative; margin: 0; }
.msd-partner-cards > *, .msd-partner-logos > *, .msd-trades > *, .msd-testimonial-carousel > * { margin-block: 0 !important; }
.msd-trade h3 { margin-top: 24px; font: 400 24px/1.25 "Cormorant Garamond", serif; color: #2e4375; }
.msd-trade .msd-trade-kicker { margin-top: 8px; font: 700 9px/1.5 Inter, sans-serif; letter-spacing: .05em; text-transform: uppercase; color: #ff7d30; }
.msd-trade > p { margin-top: 14px; font: 300 16px/1.625 Inter, sans-serif; }
.msd-trade .msd-trade-label { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgb(216 220 231 / 50%); font: 700 9px/1.5 Inter, sans-serif; letter-spacing: .05em; text-transform: uppercase; color: #2e4375; }
.msd-trade .msd-trade-note { margin-top: auto; padding-top: 16px; border-top: 1px solid rgb(216 220 231 / 50%); font: 300 14px/1.625 Inter, sans-serif; }
.msd-trade .msd-checklist { margin-block: 12px 24px; }
.msd-checklist { display: grid; gap: 8px; padding: 0; list-style: none; }
.msd-checklist li { position: relative; padding-left: 22px; font: 300 16px/1.5 Inter, sans-serif; color: #2e4375; }
.msd-checklist li::before {
	content: ""; position: absolute; top: 4px; left: 0; width: 14px; height: 14px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7d30' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.801 10A10 10 0 1 1 17 3.335'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.msd-specbook { margin-top: 56px; padding: 48px; border: 1px solid #d8dce7; border-radius: 4px; background: rgb(46 67 117 / 5%); }
.msd-specbook > * { margin-block: 0; }
.msd-specbook .msd-eyebrow { font-size: 10px; color: #5e709c; }
.msd-specbook h3 { margin-top: 12px; font: 400 30px/1.2 "Cormorant Garamond", serif; color: #2e4375; }
.msd-specbook > p:not(.msd-eyebrow) { max-width: 768px; margin-top: 16px; font: 300 16px/1.625 Inter, sans-serif; }
.msd-specbook .msd-checklist { margin-top: 24px; }
.msd-specbook .wp-block-buttons { margin-top: 32px; }
.msd-specbook .wp-block-button__link, .msd-button-accent .wp-block-button__link {
	padding: 16px 40px; border-radius: 0; background: #2e4375; color: #fff;
	font: 600 12px/1 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; transition: background .2s, color .2s;
}
.msd-specbook .wp-block-button__link:hover, .msd-specbook .wp-block-button__link:focus-visible { background: #1f2f52; }
.msd-partner-voices { padding-block: 56px 0; }
.msd-partner-voices > .msd-eyebrow { margin: 0; font-size: 10px; color: #5e709c; }
.msd-partner-voices > h2 { margin: 4px 0 40px; font: 400 30px/1.2 "Cormorant Garamond", serif; color: #2e4375; }
.msd-testimonial-carousel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.msd-embla-track.msd-testimonial-carousel { display: flex; gap: 28px; margin: 0; }
.msd-embla-track.msd-testimonial-carousel > .msd-voice { flex: 0 0 calc((100% - 28px) / 2); min-width: 0; }
.msd-voice { display: flex; flex-direction: column; box-sizing: border-box; margin: 0; padding: 40px; border-radius: 6px; background: #fff; }
.msd-voice::before {
	content: ""; width: 32px; height: 32px; opacity: .2;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e4375' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3Cpath d='M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.msd-voice-quote { flex: 1; margin: 0 0 32px; padding: 0; border: 0; }
.msd-voice > .msd-voice-quote { margin-top: 32px; }
.msd-voice-quote p { margin: 0 0 12px; font: 300 16px/1.75 Inter, sans-serif; color: #2e4375; }
.msd-voice-author { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid rgb(216 220 231 / 50%); }
.msd-voice-avatar { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.msd-voice-initials { display: grid; place-items: center; background: rgb(46 67 117 / 10%); font: 400 16px "Cormorant Garamond", serif; color: #2e4375; }
.msd-voice-who { display: grid; flex: 1; min-width: 0; }
.msd-voice-name { font: 600 14px/1.4 "Cormorant Garamond", serif; color: #2e4375; }
.msd-voice-details { font: 400 12px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .05em; color: #5e709c; }
.msd-voice-location { font: 400 9px Inter, sans-serif; letter-spacing: .05em; text-transform: uppercase; color: rgb(94 112 156 / 60%); }
.msd-partner-cta { padding-block: 112px 96px; }
.msd-cta-band { padding-block: 96px; }
.msd-photo-cta { min-height: 300px; padding: 64px 40px; border-radius: 4px; overflow: hidden; text-align: center; }
.msd-partner-voices + .msd-partner-cta .msd-photo-cta, .msd-photo-cta:has(.wp-block-cover__inner-container > p:not(.msd-eyebrow)) { min-height: 370px; }
.msd-photo-cta .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg, rgb(15 20 36 / 90%), rgb(15 20 36 / 75%), rgb(15 20 36 / 85%)) !important; }
.msd-photo-cta .wp-block-cover__inner-container { max-width: 768px; margin: auto; }
.msd-photo-cta .wp-block-cover__inner-container > * { margin-block: 0; }
.msd-photo-cta .msd-eyebrow { font: 700 12px/1.33 Inter, sans-serif; letter-spacing: .3em; color: #ff7d30; }
.msd-photo-cta h2 { margin-top: 12px; font: 300 36px/1.11 "Cormorant Garamond", serif; color: #fff; }
.msd-photo-cta p:not(.msd-eyebrow) { max-width: 512px; margin: 16px auto 0; font: 300 16px/1.625 Inter, sans-serif; color: rgb(255 255 255 / 60%); }
.msd-photo-cta .wp-block-buttons { justify-content: center; margin-top: 16px; }
.msd-photo-cta h2 + .wp-block-buttons, .msd-photo-cta p + .wp-block-buttons { margin-top: 32px; }
.msd-button-accent .wp-block-button__link { background: #ff7d30; box-shadow: 0 10px 25px -8px rgb(255 125 48 / 45%); }
.msd-button-accent .wp-block-button__link:hover, .msd-button-accent .wp-block-button__link:focus-visible { background: #fff; color: #2e4375; }
@media (max-width: 1024px) {
	.msd-trades { grid-template-columns: minmax(0, 1fr); }
	.msd-trades.is-filtered { max-width: none; }
	.msd-embla-track.msd-testimonial-carousel > .msd-voice { flex-basis: 100%; }
}
@media (max-width: 760px) {
	.msd-partner-cards, .msd-partner-cards--two, .msd-partner-logos { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
	.msd-partner-intro { padding-top: 56px; }
	.msd-specbook { padding: 32px 24px; }
	.msd-trade, .msd-voice { padding: 32px 24px; }
	.msd-partner-cta { padding-block: 72px 64px; }
	.msd-cta-band { padding-block: 64px; }
	.msd-photo-cta { padding: 48px 24px; }
	.msd-photo-cta h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
	.msd-partner-category, .msd-partner-logo, .msd-partner-logo img, .msd-trade-filter button { transition: none; }
	.msd-partner-logo:hover img { transform: none; }
}
