/* ==========================================================================
   Multiplex Homes — main stylesheet
   Palette from the logo: brick #9E3D1A → kiln #501E0E, charcoal #2B2A29.
   One typeface (Archivo variable) used at two widths: expanded for display,
   normal for reading.
   ========================================================================== */

:root {
	--brick: #9e3d1a;
	--brick-dark: #7e2f13;
	--kiln: #501e0e;
	--charcoal: #2b2a29;
	--stone: #6e6863;
	--mortar: #eceae6;
	--line: #d9d5cf;
	--paper: #ffffff;
	--blush: #f4ebe6;
	--whatsapp: #1fae54;

	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wide: 1240px;
	--content: 760px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(64px, 9vw, 120px);
	--radius: 2px;
	--header-h: 76px;

	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.3125rem;
	--step-2: clamp(1.45rem, 1.2rem + 0.9vw, 1.75rem);
	--step-3: clamp(1.9rem, 1.4rem + 2vw, 2.85rem);
	--step-4: clamp(2.5rem, 1.5rem + 4.2vw, 4.6rem);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--charcoal);
	font-family: var(--font);
	font-size: var(--step-0);
	line-height: 1.65;
	font-variation-settings: "wdth" 100;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brick); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--kiln); }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 3px; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 {
	margin: 0 0 0.6em;
	color: var(--charcoal);
	font-weight: 650;
	line-height: 1.12;
	letter-spacing: -0.012em;
	text-wrap: balance;
}
h1, h2 { font-stretch: 116%; font-variation-settings: "wdth" 116; }
h1 { font-size: var(--step-4); letter-spacing: -0.022em; line-height: 1.02; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -0.005em; }
h4 { font-size: var(--step-0); }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.mh-icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mh-skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px;
	background: var(--charcoal); color: #fff; font-weight: 600; text-decoration: none;
}
.mh-skip:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.mh-btn,
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	min-height: 48px; padding: 0.7em 1.35em;
	border: 2px solid var(--brick); border-radius: var(--radius);
	background: var(--brick); color: #fff;
	font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; letter-spacing: 0.005em;
	text-decoration: none; cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.mh-btn:hover, .wp-block-button__link:hover { background: var(--kiln); border-color: var(--kiln); color: #fff; }
.mh-btn--ghost, .is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--charcoal); border-color: var(--charcoal);
}
.mh-btn--ghost:hover, .is-style-outline > .wp-block-button__link:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.mh-btn--light { background: #fff; border-color: #fff; color: var(--kiln); }
.mh-btn--light:hover { background: var(--mortar); border-color: var(--mortar); color: var(--kiln); }
.mh-btn--ghost-light { background: transparent; border-color: rgba(255,255,255,0.7); color: #fff; }
.mh-btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--kiln); }
.mh-btn--small { min-height: 40px; padding: 0.45em 1em; font-size: 0.9375rem; }
.mh-btn--large { min-height: 54px; padding: 0.8em 1.7em; font-size: 1.0625rem; }
.mh-btn--block { width: 100%; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }
.wp-block-buttons > .wp-block-button { margin: 0; }
.mh-inline-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mh-text-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* ---------- Header ---------- */
.mh-header {
	position: sticky; top: 0; z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--line);
	/* No backdrop-filter/transform here: they would trap the fixed mobile menu inside the header. */
}
.admin-bar .mh-header { top: 32px; }
.mh-header__bar {
	max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
	height: var(--header-h); display: flex; align-items: center; gap: 28px;
}
.mh-header__brand { flex: none; }
.mh-logo img, .custom-logo { height: 46px; width: auto; }
.custom-logo-link { display: block; }
.mh-nav { flex: 1; display: flex; justify-content: center; }
.mh-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.mh-menu > li { position: relative; display: flex; align-items: center; }
.mh-menu a {
	white-space: nowrap;
	display: block; padding: 10px 12px; color: var(--charcoal); text-decoration: none;
	font-weight: 550; font-size: 0.975rem;
}
.mh-menu > li > a { border-bottom: 2px solid transparent; }
.mh-menu > li > a:hover,
.mh-menu > .current-menu-item > a,
.mh-menu > .current-menu-ancestor > a,
.mh-menu > .current_page_item > a,
.mh-menu > .current_page_ancestor > a { color: var(--brick); border-bottom-color: var(--brick); }
.mh-sub-toggle { display: none; }
.mh-menu .sub-menu {
	list-style: none; margin: 0; padding: 10px 0;
	position: absolute; top: 100%; left: -8px; min-width: 300px;
	background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brick);
	box-shadow: 0 18px 40px -18px rgba(43,42,41,0.35);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
}
.mh-menu li:hover > .sub-menu,
.mh-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mh-menu .sub-menu a { padding: 9px 20px; font-weight: 500; }
.mh-menu .sub-menu a:hover, .mh-menu .sub-menu .current-menu-item > a { background: var(--mortar); color: var(--brick); }
.mh-header__actions { flex: none; display: flex; align-items: center; gap: 18px; }
.mh-header__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--charcoal); font-weight: 600; text-decoration: none; white-space: nowrap; }
.mh-header__phone:hover { color: var(--brick); }
.mh-header__phone .mh-icon { color: var(--brick); }
.mh-nav-toggle { display: none; }
.mh-nav__mobile-extra { display: none; }

/* ---------- Generic content flow ---------- */
.mh-main { display: block; }
.entry-content > * { max-width: var(--content); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); box-sizing: content-box; }
.entry-content > .alignwide { max-width: var(--wide); }
.entry-content > .alignfull { max-width: none; padding-left: 0; padding-right: 0; box-sizing: border-box; }
.entry-content > .alignfull.wp-block-group { padding-left: var(--gutter); padding-right: var(--gutter); }
.entry-content > .wp-block-group.alignfull > .alignwide,
.entry-content .wp-block-group.alignfull > .alignwide { max-width: var(--wide); margin-left: auto; margin-right: auto; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > p:first-child, .entry-content > h2:first-child { margin-top: clamp(40px, 6vw, 72px); }
.entry-content > :last-child:not(.alignfull) { margin-bottom: clamp(56px, 8vw, 96px); }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content ul, .entry-content ol { padding-left: 1.25em; margin-top: 0; margin-bottom: 1.2em; }
.entry-content > ul, .entry-content > ol { padding-left: calc(var(--gutter) + 1.25em); }
.entry-content li { margin-bottom: 0.4em; }
.entry-content li::marker { color: var(--brick); }
.entry-content .wp-block-image { margin: 2em auto; }
.entry-content .wp-block-image img { width: 100%; border-radius: var(--radius); }
.entry-content .wp-block-image figcaption, .wp-element-caption { margin-top: 0.6em; font-size: var(--step--1); color: var(--stone); text-align: left; }
.entry-content blockquote, .wp-block-quote {
	margin: 2em auto; padding: 0.2em 0 0.2em 1.4em; border-left: 3px solid var(--brick);
	font-size: var(--step-1); line-height: 1.5; color: var(--charcoal);
}
.wp-block-quote cite { display: block; margin-top: 0.6em; font-size: var(--step--1); font-style: normal; color: var(--stone); }
.mh-lead, .entry-content .mh-lead { font-size: var(--step-1); line-height: 1.55; color: #4a4644; max-width: 62ch; }
.has-text-align-center { text-align: center; }
.wp-block-group { box-sizing: border-box; }
.wp-block-columns { display: flex; gap: clamp(28px, 4vw, 64px); margin: 0; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-columns.are-vertically-aligned-center, .wp-block-column.is-vertically-aligned-center { align-items: center; align-self: center; }

/* FAQ (details block) */
.wp-block-details {
	border-top: 1px solid var(--line); padding: 0; margin: 0 auto;
}
.wp-block-details:last-of-type { border-bottom: 1px solid var(--line); }
.wp-block-details summary {
	cursor: pointer; list-style: none; position: relative;
	padding: 20px 44px 20px 0; font-weight: 600; font-size: 1.0625rem;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
	border-right: 2px solid var(--brick); border-bottom: 2px solid var(--brick);
	transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
.wp-block-details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.wp-block-details > :not(summary) { margin-top: 0; padding-right: 44px; color: #4a4644; }
.wp-block-details > :last-child { padding-bottom: 12px; }
.entry-content .mh-faq-title { margin-bottom: 0.8em; }

/* ---------- Sections (used by page content) ---------- */
.mh-section { padding-top: var(--section); padding-bottom: var(--section); }
.entry-content > .mh-section { margin-top: 0; margin-bottom: 0; }
.mh-section--mortar { background: var(--mortar); }
.mh-section--kiln { background: var(--kiln); color: #f1e7e2; }
.mh-section--kiln h2, .mh-section--kiln h3, .mh-section--kiln strong { color: #fff; }
.mh-section--kiln a:not(.wp-block-button__link) { color: #fff; }
.mh-section--kiln .mh-lead { color: #e2d2ca; }
.mh-section--kiln .wp-block-button__link { background: #fff; border-color: #fff; color: var(--kiln); }
.mh-section--kiln .wp-block-button__link:hover { background: var(--mortar); border-color: var(--mortar); }
.mh-section--kiln .is-style-outline > .wp-block-button__link { background: transparent; border-color: rgba(255,255,255,0.7); color: #fff; }
.mh-section--kiln .is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--kiln); }
.mh-section h2 { margin-top: 0; max-width: 22ch; }
.mh-section .mh-lead { margin-bottom: clamp(32px, 4vw, 52px); }
.mh-section-foot { margin-top: clamp(28px, 4vw, 44px); }

/* ---------- Home hero ---------- */
.mh-hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: min(88vh, 860px);
	display: flex; flex-direction: column; justify-content: flex-end;
	padding-top: 120px; padding-bottom: clamp(80px, 11vw, 150px);
	color: #fff;
}
.entry-content > .mh-hero { margin-top: 0; }
.entry-content .mh-hero__bg, .mh-hero__bg {
	position: absolute; inset: 0; z-index: -2; margin: 0 !important; max-width: none !important; padding: 0 !important;
}
.mh-hero__bg img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.mh-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(43,42,41,0.15) 0%, rgba(43,42,41,0.25) 40%, rgba(43,24,16,0.82) 100%);
}
.mh-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(30px, 4.4vw, 60px);
	background: var(--paper);
	-webkit-mask: url("../img/skyline.svg") repeat-x left bottom / 720px 100%;
	mask: url("../img/skyline.svg") repeat-x left bottom / 720px 100%;
}
.mh-hero__content { width: 100%; }
.mh-hero h1 { color: #fff; max-width: 15ch; margin-bottom: 0.35em; font-stretch: 122%; font-variation-settings: "wdth" 122; }
.mh-hero .mh-lead { color: rgba(255,255,255,0.9); max-width: 46ch; }
.mh-hero .wp-block-button__link { background: var(--brick); border-color: var(--brick); }
.mh-hero .wp-block-button__link:hover { background: #fff; border-color: #fff; color: var(--kiln); }
.mh-hero .is-style-outline > .wp-block-button__link { background: rgba(0,0,0,0.12); border-color: rgba(255,255,255,0.8); color: #fff; }
.mh-hero .is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--kiln); }
.entry-content .mh-facts, .mh-facts {
	list-style: none; padding: 0; margin: clamp(36px, 5vw, 60px) 0 0;
	display: flex; flex-wrap: wrap; gap: 0;
	border-top: 1px solid rgba(255,255,255,0.35); max-width: 980px;
}
.mh-facts li { margin: 0; padding: 16px 24px 0 0; margin-right: 24px; border-right: 1px solid rgba(255,255,255,0.35); color: rgba(255,255,255,0.85); font-size: 0.95rem; line-height: 1.35; }
.mh-facts li:last-child { border-right: 0; }
.mh-numbers .mh-facts { border-top-color: var(--line); margin-top: 8px; }
.mh-numbers .mh-facts li { color: var(--stone); border-right-color: var(--line); }
.mh-numbers .mh-facts strong { color: var(--charcoal); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.mh-facts strong { display: block; color: #fff; font-size: 1.6rem; font-stretch: 116%; font-variation-settings: "wdth" 116; font-weight: 650; line-height: 1.1; }

/* ---------- Split intro (text + image) ---------- */
.mh-split .wp-block-image { margin: 0; }
.mh-split .wp-block-image img { aspect-ratio: 4 / 5; object-fit: cover; }
.mh-split--landscape .wp-block-image img { aspect-ratio: 4 / 3; }
.mh-split h2 { max-width: 18ch; }
.mh-split .wp-block-column > :last-child { margin-bottom: 0; }

/* ---------- Points list (why choose us) ---------- */
.entry-content .mh-points, .mh-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.mh-points li { margin: 0; padding: 22px 0 24px; border-top: 2px solid var(--charcoal); color: #4a4644; }
.mh-points li strong { display: block; margin-bottom: 6px; color: var(--charcoal); font-size: 1.125rem; }

/* ---------- Process steps (a real sequence, so numbered) ---------- */
.entry-content .mh-steps, .mh-steps {
	list-style: none; padding: 0; margin: 0; counter-reset: step;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 48px);
}
.mh-steps li { counter-increment: step; margin: 0; padding-top: 18px; border-top: 1px solid currentColor; position: relative; }
.mh-steps li::before {
	content: counter(step, decimal-leading-zero); display: block; margin-bottom: 14px;
	font-size: 2.6rem; line-height: 1; font-weight: 300; font-stretch: 125%; font-variation-settings: "wdth" 125;
	color: var(--brick);
}
.mh-section--kiln .mh-steps li { border-top-color: rgba(255,255,255,0.35); color: #e2d2ca; }
.mh-section--kiln .mh-steps li::before { color: #e9a184; }
.mh-steps li strong { display: block; margin-bottom: 6px; font-size: 1.125rem; }
.mh-steps--long { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Services grid ---------- */
.mh-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px); margin: 0; }
.mh-service-card { display: flex; flex-direction: column; }
.mh-service-card__link { color: inherit; text-decoration: none; display: block; }
.mh-service-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); margin-bottom: 16px; border-radius: var(--radius); }
.mh-service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.mh-service-card__title { margin: 0 0 6px; font-size: 1.1875rem; display: inline; background-image: linear-gradient(var(--brick), var(--brick)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.25s ease; }
.mh-service-card__link:hover .mh-service-card__title, .mh-service-card__link:focus-visible .mh-service-card__title { background-size: 100% 2px; color: var(--brick); }
.mh-service-card__link:hover img { transform: scale(1.03); }
.mh-service-card__text { margin: 10px 0 0; font-size: 0.975rem; color: var(--stone); line-height: 1.55; }
.mh-service-list { list-style: none; margin: 0; padding: 0; }
.mh-service-list li { margin: 0; border-bottom: 1px solid var(--line); }
.mh-service-list a { display: block; padding: 10px 0; text-decoration: none; color: var(--charcoal); font-weight: 500; }
.mh-service-list a:hover, .mh-service-list a[aria-current] { color: var(--brick); }
.mh-service-list a[aria-current] { font-weight: 650; }

/* ---------- Testimonials ---------- */
.mh-testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.mh-quote { margin: 0; padding: 28px 28px 26px; background: var(--paper); border-top: 3px solid var(--brick); display: flex; flex-direction: column; }
.mh-section--mortar .mh-quote { background: #fff; }
.mh-section:not(.mh-section--mortar) .mh-quote { background: var(--mortar); }
.mh-quote__stars { display: flex; gap: 2px; color: var(--brick); margin-bottom: 14px; }
.mh-quote__stars .mh-icon { width: 17px; height: 17px; fill: currentColor; }
.mh-quote blockquote { margin: 0 0 22px; padding: 0; border: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--charcoal); flex: 1; }
.mh-quote blockquote p:last-child { margin-bottom: 0; }
.mh-quote figcaption strong { display: block; font-size: 1rem; }
.mh-quote figcaption span { display: block; color: var(--stone); font-size: 0.9rem; }

/* ---------- Case studies ---------- */
.mh-case { border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 48px); margin-top: clamp(32px, 4vw, 48px) !important; }
.mh-case:first-of-type { border-top: 0; padding-top: 0; margin-top: 0 !important; }
.mh-case .wp-block-image img { aspect-ratio: 3 / 2; object-fit: cover; }
.mh-case h3 { font-size: var(--step-2); font-stretch: 112%; font-variation-settings: "wdth" 112; margin-top: 0; }
.entry-content .mh-case-facts, .mh-case-facts { list-style: none; padding: 0; margin: 0 0 1.2em; display: flex; flex-wrap: wrap; gap: 8px; }
.mh-case-facts li { margin: 0; padding: 4px 10px; background: var(--mortar); font-size: 0.875rem; color: #4a4644; border-radius: var(--radius); }

/* ---------- Posts grid ---------- */
.mh-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3vw, 44px) clamp(20px, 2.4vw, 32px); }
.mh-post-card { display: flex; flex-direction: column; }
.mh-post-card__link { text-decoration: none; color: inherit; display: block; }
.mh-post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); margin-bottom: 16px; border-radius: var(--radius); }
.mh-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.mh-post-card__link:hover img { transform: scale(1.03); }
.mh-post-card__meta { display: flex; gap: 14px; margin: 0 0 8px; font-size: 0.85rem; color: var(--stone); }
.mh-post-card__meta span { color: var(--brick); font-weight: 600; }
.mh-post-card__title { margin: 0; font-size: 1.25rem; line-height: 1.3; text-wrap: pretty; }
.mh-post-card__link:hover .mh-post-card__title { color: var(--brick); }
.mh-post-card__excerpt { margin: 10px 0 0; color: var(--stone); font-size: 0.975rem; line-height: 1.55; }

/* ---------- Page header (inner pages) ---------- */
.mh-page-header { background: var(--mortar); border-bottom: 1px solid var(--line); }
.mh-page-header__inner {
	max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(40px, 6vw, 84px) var(--gutter) clamp(44px, 6vw, 80px);
	display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: end;
}
.mh-page-header.has-image .mh-page-header__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; }
.mh-page-header__title { margin: 0 0 0.3em; max-width: 18ch; }
.mh-page-header__lead { margin: 0; font-size: var(--step-1); line-height: 1.55; color: #4a4644; max-width: 56ch; }
.mh-page-header__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.mh-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: 0.875rem; color: var(--stone); }
.mh-crumbs a { color: var(--stone); text-decoration: none; }
.mh-crumbs a:hover { color: var(--brick); text-decoration: underline; }

/* ---------- Service pages ---------- */
.mh-service-hero { position: relative; isolation: isolate; color: #fff; min-height: clamp(380px, 52vh, 560px); display: flex; align-items: flex-end; overflow: hidden; }
.mh-service-hero__media { position: absolute; inset: 0; z-index: -2; }
.mh-service-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.mh-service-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(43,24,16,0.88) 0%, rgba(43,24,16,0.62) 45%, rgba(43,24,16,0.15) 100%); }
.mh-service-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(26px, 3.6vw, 48px); background: var(--paper);
	-webkit-mask: url("../img/skyline.svg") repeat-x 180px bottom / 720px 100%; mask: url("../img/skyline.svg") repeat-x 180px bottom / 720px 100%;
}
.mh-service-hero__inner { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 100px var(--gutter) clamp(72px, 9vw, 120px); }
.mh-service-hero h1 { color: #fff; max-width: 16ch; margin-bottom: 0.3em; }
.mh-service-hero__lead { max-width: 52ch; font-size: var(--step-1); line-height: 1.55; color: rgba(255,255,255,0.9); margin: 0; }
.mh-service-hero .mh-crumbs, .mh-service-hero .mh-crumbs a { color: rgba(255,255,255,0.8); }
.mh-service-layout {
	max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(64px, 8vw, 100px);
	display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); align-items: start;
}
.mh-service-layout .entry-content > *, .mh-service-layout__main > * { max-width: none; padding-left: 0; padding-right: 0; box-sizing: border-box; }
.mh-service-layout .entry-content > p:first-child { margin-top: 0; }
.mh-service-layout .entry-content > :last-child { margin-bottom: 0; }
.mh-service-layout__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.admin-bar .mh-service-layout__aside { top: calc(var(--header-h) + 56px); }
.mh-panel { padding: 28px; background: var(--kiln); color: #eadcd5; border-radius: var(--radius); }
.mh-panel__title { font-size: 1.3rem; color: #fff; margin: 0 0 8px; font-stretch: 110%; font-variation-settings: "wdth" 110; }
.mh-panel p { font-size: 0.95rem; }
.mh-panel .mh-btn { margin-top: 10px; }
.mh-panel .mh-btn:not(.mh-btn--ghost) { background: #fff; border-color: #fff; color: var(--kiln); }
.mh-panel .mh-btn:not(.mh-btn--ghost):hover { background: var(--mortar); border-color: var(--mortar); }
.mh-panel .mh-btn--ghost { color: #fff; border-color: rgba(255,255,255,0.65); }
.mh-panel .mh-btn--ghost:hover { background: #fff; color: var(--kiln); }
.mh-panel__phone { margin: 16px 0 0; display: flex; align-items: center; gap: 8px; }
.mh-panel__phone a { color: #fff; font-weight: 600; text-decoration: none; font-size: 1.1rem; }
.mh-panel--plain { background: var(--mortar); color: var(--charcoal); }
.mh-panel--plain .mh-panel__title { color: var(--charcoal); font-size: 1.1rem; }
.mh-included { list-style: none; padding: 0 !important; columns: 2; column-gap: 32px; }
.mh-included li { break-inside: avoid; position: relative; padding-left: 28px; }
.mh-included li::before {
	content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px;
	border-left: 2px solid var(--brick); border-bottom: 2px solid var(--brick); transform: rotate(-45deg);
}
.mh-related-services { background: var(--mortar); padding: var(--section) 0; }
.mh-related-services__inner, .mh-related-posts__inner { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.mh-related-services .mh-services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mh-related-services h2, .mh-related-posts h2 { margin-bottom: 1.2em; }

/* ---------- Contact page ---------- */
.mh-contact-grid { align-items: flex-start; }
.mh-contact-list { list-style: none; padding: 0 !important; margin: 0 0 28px; display: grid; gap: 22px; }
.mh-contact-list li { display: flex; gap: 14px; margin: 0; }
.mh-contact-list .mh-icon { width: 22px; height: 22px; color: var(--brick); margin-top: 2px; }
.mh-contact-list__label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--stone); letter-spacing: 0.01em; }
.mh-contact-list a { color: var(--charcoal); font-weight: 600; text-decoration: none; }
.mh-contact-list a:hover { color: var(--brick); }
.mh-map { margin-top: 0; aspect-ratio: 16 / 7; background: var(--line); }
.mh-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.4); }
.entry-content > .mh-map-wrap { max-width: none; padding: 0; }
.mh-calendly { min-width: 280px; height: 720px; background: #fff; border: 1px solid var(--line); }
.mh-booking-pending { padding: 28px; background: #fff; border: 1px dashed var(--line); }
.mh-admin-note { margin: 16px 0 0; padding: 10px 12px; background: #fff7d6; border-left: 3px solid #d8a400; font-size: 0.875rem; }

/* ---------- Forms ---------- */
.mh-form-wrap { background: #fff; padding: clamp(24px, 3.4vw, 40px); border: 1px solid var(--line); border-top: 4px solid var(--brick); border-radius: var(--radius); }
.mh-section--mortar .mh-form-wrap { border-color: #fff; border-top-color: var(--brick); }
.mh-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.mh-field { margin: 0 0 18px; }
.mh-field label, .mh-field legend { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9375rem; }
.mh-optional { font-weight: 400; color: var(--stone); }
.mh-field input[type="text"], .mh-field input[type="email"], .mh-field input[type="tel"], .mh-field select, .mh-field textarea, .mh-search input {
	width: 100%; min-height: 48px; padding: 11px 13px;
	font: inherit; font-size: 1rem; color: var(--charcoal);
	background: #fff; border: 1px solid #b9b3ac; border-radius: var(--radius);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.mh-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--charcoal) 50%), linear-gradient(135deg, var(--charcoal) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.mh-field textarea { min-height: 120px; resize: vertical; }
.mh-field input:focus, .mh-field select:focus, .mh-field textarea:focus, .mh-search input:focus { outline: none; border-color: var(--brick); box-shadow: 0 0 0 3px rgba(158,61,26,0.18); }
.mh-choices { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.mh-choices legend { width: 100%; }
.mh-choices label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; margin: 0; cursor: pointer; }
.mh-choices input, .mh-consent input { width: 18px; height: 18px; accent-color: var(--brick); flex: none; }
.mh-consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.9rem; color: #4a4644; }
.mh-consent input { margin-top: 3px; }
.mh-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mh-form-error { padding: 12px 16px; margin: 0 0 20px; background: #fbeae4; border-left: 4px solid var(--brick); color: var(--kiln); font-weight: 500; }
.mh-form-success { display: flex; gap: 16px; align-items: flex-start; }
.mh-form-success > .mh-icon { width: 40px; height: 40px; padding: 8px; color: #fff; background: var(--brick); border-radius: 50%; }
.mh-form-success h3 { margin: 4px 0 8px; }
.mh-form-success p { margin: 0; color: #4a4644; }
.mh-form button[type="submit"].is-busy { opacity: 0.7; pointer-events: none; }

/* ---------- Blog article ---------- */
.mh-article__header { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) 32px; }
.mh-article__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 16px; font-size: 0.9rem; color: var(--stone); }
.mh-article__meta a { font-weight: 600; text-decoration: none; }
.mh-article__title { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); line-height: 1.06; }
.mh-article__lead { font-size: var(--step-1); line-height: 1.55; color: #4a4644; margin: 0; }
.mh-article__media { max-width: calc(1080px + 2 * var(--gutter)); margin: 0 auto 8px; padding: 0 var(--gutter); }
.mh-article__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.mh-article__body { padding-top: clamp(24px, 4vw, 48px); }
.mh-article__body > p, .mh-article__body > ul, .mh-article__body > ol { font-size: 1.125rem; line-height: 1.75; }
.mh-article__body > :last-child { margin-bottom: 40px !important; }
.mh-article__footer { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 8vw, 96px); }
.mh-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; margin: 0; }
.mh-share span { font-weight: 600; margin-right: 6px; }
.mh-share a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--charcoal); }
.mh-share a:hover { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.mh-share .mh-icon { width: 17px; height: 17px; }
.mh-related-posts { background: var(--mortar); padding: var(--section) 0; }
.entry-content .mh-callout, .mh-callout {
	padding: clamp(24px, 3vw, 36px) !important; margin-top: 2.4em; margin-bottom: 2.4em;
	background: var(--kiln); color: #eadcd5; border-radius: var(--radius);
	max-width: var(--content); box-sizing: border-box;
}
.entry-content > .mh-callout { margin-left: auto; margin-right: auto; width: calc(100% - 2 * var(--gutter)); max-width: var(--content); }
.mh-callout h2, .mh-callout h3 { color: #fff; margin-top: 0 !important; font-size: 1.5rem; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.mh-callout p { font-size: 1.0625rem !important; }
.mh-callout a:not(.wp-block-button__link) { color: #fff; }
.mh-callout .wp-block-buttons { margin-top: 1em; }
.mh-callout .wp-block-button__link { background: #fff; border-color: #fff; color: var(--kiln); }
.mh-callout .wp-block-button__link:hover { background: var(--mortar); border-color: var(--mortar); }
.mh-callout .is-style-outline > .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.mh-callout .is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--kiln); }

/* Smaller headings inside long-form content */
.entry-content > h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.1rem); margin-top: 1.7em; }
.mh-article__body h3, .mh-service-layout__main h3 { font-size: 1.25rem; }
.mh-article__body > :first-child { margin-top: 0 !important; }
.mh-service-layout .entry-content > .mh-callout, .mh-service-layout .mh-callout { width: auto; max-width: none; margin-left: 0; margin-right: 0; }
.mh-service-layout__main > h2:first-of-type { margin-top: 1.2em; }

/* ---------- Archive ---------- */
.mh-archive { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(64px, 8vw, 100px); }
.mh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 4vw, 48px); }
.mh-chips a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 40px; color: var(--charcoal); text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.mh-chips a:hover { border-color: var(--charcoal); }
.mh-chips a[aria-current] { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.pagination { margin-top: 56px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); color: var(--charcoal); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.mh-search { display: flex; gap: 10px; max-width: 520px; }
.mh-search input { flex: 1; }
.mh-empty p { font-size: var(--step-1); }
.mh-404 { padding: clamp(64px, 12vw, 160px) var(--gutter); }
.mh-404__inner { max-width: 760px; margin: 0 auto; }
.mh-404 .mh-inline-actions { margin: 28px 0 36px; }

/* ---------- CTA band + footer ---------- */
.mh-cta-band { background: var(--kiln); color: #eadcd5; padding: clamp(64px, 8vw, 104px) 0 clamp(96px, 11vw, 140px); }
.mh-cta-band__inner {
	max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end;
}
.mh-cta-band h2 { color: #fff; margin: 0 0 0.4em; max-width: 18ch; }
.mh-cta-band p { margin: 0; max-width: 52ch; font-size: 1.125rem; }
.mh-cta-band__actions { display: flex; flex-direction: column; gap: 12px; min-width: 290px; }
.mh-footer { position: relative; background: var(--charcoal); color: #c9c3be; font-size: 0.975rem; }
.mh-footer__skyline {
	position: absolute; left: 0; right: 0; top: 1px; transform: translateY(-100%); height: clamp(30px, 4.4vw, 60px);
	background: var(--charcoal);
	-webkit-mask: url("../img/skyline.svg") repeat-x 340px bottom / 720px 100%; mask: url("../img/skyline.svg") repeat-x 340px bottom / 720px 100%;
	pointer-events: none;
}
.mh-footer__inner {
	max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter) 48px;
	display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr; gap: 40px;
}
.mh-footer a { color: #e9e4e0; text-decoration: none; }
.mh-footer a:hover { color: #fff; text-decoration: underline; }
.mh-footer .mh-logo img { height: 52px; margin-bottom: 20px; }
.mh-footer__brand p { max-width: 36ch; }
.mh-footer__handle { margin: 10px 0 0; font-size: 0.9rem; color: #9d958f; }
.mh-footer h2 { font-size: 0.9375rem; font-stretch: 100%; font-variation-settings: "wdth" 100; color: #fff; margin: 4px 0 16px; letter-spacing: 0.01em; }
.mh-footer ul { list-style: none; margin: 0; padding: 0; }
.mh-footer__col li { margin: 0 0 10px; }
.mh-footer__col .mh-service-list li { border: 0; }
.mh-footer__col .mh-service-list a { padding: 0; color: #e9e4e0; font-weight: 400; }
.mh-footer__contact li a, .mh-footer__contact li span { display: inline-flex; gap: 10px; align-items: flex-start; }
.mh-footer__contact .mh-icon { color: #e09a7d; margin-top: 3px; }
.mh-footer__bottom {
	max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 22px var(--gutter) 28px;
	border-top: 1px solid rgba(255,255,255,0.12);
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 0.875rem; color: #9d958f;
}
.mh-footer__bottom p { margin: 0; }
.mh-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.mh-legal a, .mh-cookie-link { color: #c9c3be; }
.mh-footer__bottom .mh-legal { margin: 0; padding: 0; }
.mh-social { list-style: none; padding: 0; margin: 18px 0 0; display: flex; gap: 8px; }
.mh-social li { margin: 0; }
.mh-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); color: #fff; }
.mh-social a:hover { background: #fff; color: var(--charcoal); text-decoration: none; }
.mh-social .mh-icon { width: 17px; height: 17px; }
.mh-social--dark a { border-color: var(--line); color: var(--charcoal); }
.mh-social--dark a:hover { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }

/* ---------- WhatsApp button ---------- */
.mh-wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	display: inline-flex; align-items: center; gap: 10px;
	padding: 0 20px 0 16px; height: 56px; border-radius: 28px;
	background: var(--whatsapp); color: #fff; font-weight: 600; text-decoration: none;
	box-shadow: 0 10px 28px -8px rgba(0,0,0,0.45);
}
.mh-wa-float:hover { background: #178a42; color: #fff; }
.mh-wa-float .mh-icon { width: 26px; height: 26px; }

/* ---------- Cookie banner ---------- */
.mh-cookie {
	position: fixed; left: 20px; bottom: 20px; z-index: 95; max-width: 460px;
	padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brick);
	box-shadow: 0 16px 40px -16px rgba(0,0,0,0.4); font-size: 0.9375rem;
}
.mh-cookie p { margin: 0 0 14px; }
.mh-cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
	.mh-header__phone span { display: none; }
	.mh-header__bar { gap: 18px; }
}

@media (max-width: 1180px) {
	.mh-menu a { padding: 10px 9px; }
	.mh-services, .mh-related-services .mh-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mh-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
	:root { --header-h: 68px; }
	.mh-nav-toggle {
		display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0;
		background: transparent; border: 1px solid var(--line); border-radius: var(--radius); color: var(--charcoal); cursor: pointer;
	}
	.mh-nav-toggle .mh-icon { width: 22px; height: 22px; }
	.mh-nav-toggle__close { display: none; }
	.mh-nav-toggle[aria-expanded="true"] .mh-nav-toggle__close { display: block; }
	.mh-nav-toggle[aria-expanded="true"] .mh-nav-toggle__open { display: none; }
	.mh-header__cta { display: none; }
	.mh-logo img, .custom-logo { height: 40px; }
	.mh-nav {
		position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 99;
		display: block; overflow-y: auto; padding: 12px var(--gutter) 40px;
		background: #fff; border-top: 1px solid var(--line); height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
	}
	.admin-bar .mh-nav { top: calc(var(--header-h) + 46px); }
	.mh-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
	.mh-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.mh-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.mh-menu > li > a { flex: 1; padding: 16px 0; font-size: 1.125rem; border-bottom: 0 !important; }
	.mh-sub-toggle {
		display: inline-grid; place-items: center; width: 48px; height: 48px; background: none; border: 0; color: var(--charcoal); cursor: pointer;
	}
	.mh-sub-toggle[aria-expanded="true"] .mh-icon { transform: rotate(180deg); }
	.mh-menu .sub-menu {
		position: static; width: 100%; min-width: 0; padding: 0 0 12px 14px; border: 0; box-shadow: none;
		opacity: 1; visibility: visible; transform: none; display: none;
	}
	.mh-menu li:hover > .sub-menu { display: none; }
	.mh-menu .sub-menu.is-open { display: block !important; }
	.mh-menu .sub-menu a { padding: 9px 0; }
	.mh-nav__mobile-extra { display: grid; gap: 12px; margin-top: 28px; }
	.mh-nav__phone { display: inline-flex; align-items: center; gap: 10px; justify-content: center; padding: 12px; font-weight: 600; color: var(--charcoal); text-decoration: none; }
	body.mh-nav-open { overflow: hidden; }
	.mh-page-header.has-image .mh-page-header__inner { grid-template-columns: 1fr; }
	.mh-page-header__media img { aspect-ratio: 16 / 9; }
	.mh-service-layout { grid-template-columns: 1fr; }
	.mh-service-layout__aside { position: static; }
	.mh-testimonials, .mh-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mh-steps, .entry-content .mh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mh-cta-band__inner { grid-template-columns: 1fr; }
	.mh-cta-band__actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
}

@media (max-width: 781px) {
	.wp-block-columns { flex-wrap: wrap !important; }
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; }
	.mh-points, .mh-steps, .mh-steps--long, .entry-content .mh-points, .entry-content .mh-steps { grid-template-columns: 1fr; }
	.mh-included { columns: 1; }
	.mh-split .wp-block-image img { aspect-ratio: 4 / 3; }
	.mh-form__grid { grid-template-columns: 1fr; }
	.mh-map { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
	body { font-size: 1rem; }
	.mh-header__bar { gap: 12px; }
	.mh-header__actions { gap: 10px; }
	.mh-header__phone { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); }
	.mh-logo img, .custom-logo { height: 34px; }
	.mh-services, .mh-related-services .mh-services, .mh-testimonials, .mh-posts { grid-template-columns: 1fr; }
	.mh-hero { min-height: 82vh; padding-top: 80px; }
	.mh-facts li { padding-right: 18px; margin-right: 18px; }
	.mh-facts strong { font-size: 1.35rem; }
	.mh-footer__inner { grid-template-columns: 1fr; gap: 32px; }
	.mh-cta-band__actions .mh-btn { width: 100%; }
	.mh-wa-float { right: 14px; bottom: 14px; width: 56px; padding: 0; justify-content: center; }
	.mh-wa-float span { display: none; }
	.mh-cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
	.mh-article__body > p, .mh-article__body > ul, .mh-article__body > ol { font-size: 1.0625rem; }
	.mh-share a { width: 44px; height: 44px; }
}

@media (max-width: 782px) {
	.admin-bar .mh-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .mh-header { top: 0; }
}

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

@media print {
	.mh-header, .mh-footer, .mh-cta-band, .mh-wa-float, .mh-cookie, .mh-service-layout__aside { display: none !important; }
}

/* ---------- Elementor compatibility ----------
   Pages built with Elementor manage their own widths, so release the
   theme's reading-width rules for them. */
.entry-content > .elementor { max-width: none; padding-left: 0; padding-right: 0; margin: 0; box-sizing: border-box; }
.elementor-page .mh-page-header + .entry-content > .elementor { margin-top: 0; }
.elementor .wp-block-button__link, .elementor .mh-btn { text-decoration: none; }

/* ==========================================================================
   Motion — a little bit of fun, applied only when JavaScript adds .mh-motion
   to <html> and the visitor hasn't asked for reduced motion. Without it,
   everything simply shows as normal.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {

	/* Elements waiting to be revealed */
	.mh-motion [data-reveal] {
		opacity: 0;
		transform: translateY(28px);
		transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
		transition-delay: calc(var(--i, 0) * 90ms);
	}
	.mh-motion [data-reveal="brick"] { transform: translateY(46px) rotate(-2.5deg); transform-origin: left bottom; }
	.mh-motion [data-reveal="left"] { transform: translateX(-36px); }
	.mh-motion [data-reveal="right"] { transform: translateX(36px); }
	.mh-motion [data-reveal="zoom"] { transform: scale(0.94); }
	.mh-motion [data-reveal].is-in { opacity: 1; transform: none; }

	/* Images uncover like a blind being lifted */
	.mh-motion [data-reveal="photo"] { opacity: 1; transform: none; overflow: hidden; }
	.mh-motion [data-reveal="photo"] img { clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 1s cubic-bezier(.7,0,.2,1), transform 1.4s cubic-bezier(.2,.7,.2,1); }
	.mh-motion [data-reveal="photo"].is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }

	/* Hero: headline lines rise in, then the skyline builds up from the ground */
	.mh-motion .mh-hero h1, .mh-motion .mh-hero .mh-lead, .mh-motion .mh-hero .wp-block-buttons, .mh-motion .mh-hero .mh-facts,
	.mh-motion .mh-service-hero h1, .mh-motion .mh-service-hero__lead, .mh-motion .mh-page-header__title, .mh-motion .mh-page-header__lead, .mh-motion .mh-article__title {
		animation: mh-rise 0.9s cubic-bezier(.2,.7,.2,1) both;
	}
	.mh-motion .mh-hero .mh-lead, .mh-motion .mh-service-hero__lead, .mh-motion .mh-page-header__lead { animation-delay: 0.15s; }
	.mh-motion .mh-hero .wp-block-buttons { animation-delay: 0.3s; }
	.mh-motion .mh-hero .mh-facts { animation-delay: 0.45s; }
	.mh-motion .mh-hero__bg img, .mh-motion .mh-service-hero__media img { animation: mh-settle 2.4s cubic-bezier(.2,.7,.2,1) both; }
	.mh-motion .mh-hero::after, .mh-motion .mh-service-hero::after {
		animation: mh-build 1.1s cubic-bezier(.3,1.4,.5,1) 0.35s both;
		transform-origin: bottom;
	}
	/* The skyline drifts slowly as you scroll (set by JS) */
	.mh-motion .mh-hero::after { -webkit-mask-position: calc(var(--sky, 0) * 1px) bottom; mask-position: calc(var(--sky, 0) * 1px) bottom; }
	.mh-motion .mh-footer__skyline { -webkit-mask-position: calc(340px + var(--sky2, 0) * 1px) bottom; mask-position: calc(340px + var(--sky2, 0) * 1px) bottom; }

	/* Process steps: the line is drawn like a tape measure, then the number drops in */
	.mh-motion .mh-steps li[data-reveal] { border-top-color: transparent; }
	.mh-motion .mh-steps li[data-reveal]::after {
		content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
		background: var(--brick); transform: scaleX(0); transform-origin: left;
		transition: transform 0.8s cubic-bezier(.7,0,.2,1); transition-delay: calc(var(--i, 0) * 120ms);
	}
	.mh-motion .mh-section--kiln .mh-steps li[data-reveal]::after { background: #e9a184; }
	.mh-motion .mh-steps li.is-in::after { transform: scaleX(1); }
	.mh-motion .mh-steps li[data-reveal]::before { display: inline-block; transform: translateY(-14px); opacity: 0; transition: transform 0.5s cubic-bezier(.3,1.6,.5,1), opacity 0.4s; transition-delay: calc(var(--i, 0) * 120ms + 0.35s); }
	.mh-motion .mh-steps li.is-in::before { transform: none; opacity: 1; }

	/* Testimonial stars pop in one by one */
	.mh-motion .mh-quote .mh-icon--star { transform: scale(0); transition: transform 0.35s cubic-bezier(.3,1.8,.5,1); }
	.mh-motion .mh-quote.is-in .mh-icon--star { transform: scale(1); }
	.mh-motion .mh-quote.is-in .mh-icon--star:nth-child(2) { transition-delay: 0.38s; }
	.mh-motion .mh-quote.is-in .mh-icon--star:nth-child(3) { transition-delay: 0.46s; }
	.mh-motion .mh-quote.is-in .mh-icon--star:nth-child(4) { transition-delay: 0.54s; }
	.mh-motion .mh-quote.is-in .mh-icon--star:nth-child(5) { transition-delay: 0.62s; }
	.mh-motion .mh-quote.is-in .mh-icon--star:nth-child(1) { transition-delay: 0.3s; }

	/* Playful hovers */
	.mh-service-card__link:hover .mh-service-card__media,
	.mh-post-card__link:hover .mh-post-card__media { transform: translateY(-4px); box-shadow: 0 14px 28px -14px rgba(80,30,14,0.45); }
	.mh-service-card__media, .mh-post-card__media { transition: transform 0.3s ease, box-shadow 0.3s ease; }
	.mh-btn, .wp-block-button__link { transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; }
	.mh-btn:hover, .wp-block-button__link:hover { transform: translateY(-2px); }
	.mh-btn:active, .wp-block-button__link:active { transform: translateY(0) scale(0.98); }
	.mh-header .mh-logo:hover img { animation: mh-wobble 0.6s ease; }
	.mh-social a { transition: background-color .15s, color .15s, transform .2s cubic-bezier(.3,1.8,.5,1); }
	.mh-social a:hover { transform: translateY(-3px) rotate(-6deg); }

	/* WhatsApp button says hello once, a few seconds after the page loads */
	.mh-motion .mh-wa-float { animation: mh-pop 0.6s cubic-bezier(.3,1.6,.5,1) 1.2s both; }
	.mh-motion .mh-wa-float::before {
		content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--whatsapp);
		animation: mh-ping 1.6s ease-out 4s 2; opacity: 0; pointer-events: none;
	}

	/* Reading progress bar on blog articles */
	.mh-progress { position: fixed; left: 0; top: 0; z-index: 101; height: 3px; width: 100%; background: var(--brick); transform: scaleX(0); transform-origin: left; pointer-events: none; }
	.admin-bar .mh-progress { top: 32px; }
}

@keyframes mh-rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes mh-settle { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes mh-build { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes mh-pop { from { opacity: 0; transform: scale(0.4) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes mh-ping { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes mh-wobble { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg); } 60% { transform: rotate(3deg); } }
