/* ==========================================================================
   The Moore Team — main stylesheet (v0.2.0 brand system)

   1. Fonts        self-hosted, SIL OFL, latin subset, font-display: swap
   2. Tokens       color, type, space, layout (contrast-checked)
   3. Base
   4. Layout utilities
   5. Buttons
   6. Header, lockup, navigation
   7. Hero & home sections
   8. Cards, pages, posts
   9. Elementor & Showcase IDX
   10. Footer
   11. Responsive, motion, print

   Classes are prefixed mt- to avoid collisions with Elementor (.elementor-*),
   Showcase IDX (.sidx-*) and other plugins.
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */

@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/newsreader-latin-400-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Tokens --------------------------------------------------------------- */

:root {
	/* Color. Contrast (WCAG 2.x) noted where it matters. */
	--mt-black: #111111;          /* headings, primary buttons, footer bg */
	--mt-ink: #171717;            /* body text: 17.9:1 on white */
	--mt-muted: #5a554d;          /* secondary text: 7.4:1 white, 6.7:1 neutral */
	--mt-white: #ffffff;
	--mt-neutral: #f7f4ef;        /* warm neutral section background */
	--mt-line: #e4ded4;           /* hairlines */
	--mt-gold: #beaf87;           /* CENTURY 21 Relentless Gold: accents, lines, button bg with dark text (8.7:1 on #111) */
	--mt-gold-hover: #a19276;     /* CENTURY 21 Dark Gold: hover bg, paired with dark text */
	--mt-gold-text: #776a48;      /* deeper shade of Relentless Gold for small text/links: 5.3:1 white, 4.9:1 neutral */
	--mt-on-dark: #ffffff;
	--mt-on-dark-muted: #d9d4cc;  /* 12.8:1 on black */
	--mt-focus: var(--mt-gold);

	/* Type. Two families, three weights total. */
	--mt-font-display: "Newsreader", Georgia, "Times New Roman", serif; /* Serif headlines + sans UI, like the Compass reference. */
	--mt-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--mt-weight-regular: 400;
	--mt-weight-strong: 600;

	--mt-fs-xs: 0.75rem;                            /* 12 */
	--mt-fs-sm: 0.875rem;                           /* 14 */
	--mt-fs-base: 1.0625rem;                        /* 17 */
	--mt-fs-md: 1.25rem;                            /* 20 */
	--mt-fs-lg: clamp(1.375rem, 1.1rem + 0.9vw, 1.625rem);
	--mt-fs-xl: clamp(1.875rem, 1.3rem + 2.2vw, 2.75rem);
	--mt-fs-2xl: clamp(2.375rem, 1.4rem + 4vw, 4.25rem);
	--mt-lh-tight: 1.12;
	--mt-lh-heading: 1.2;
	--mt-lh-body: 1.65;
	--mt-tracking-caps: 0.14em;

	/* Space (4px base). */
	--mt-space-1: 0.25rem;
	--mt-space-2: 0.5rem;
	--mt-space-3: 0.75rem;
	--mt-space-4: 1rem;
	--mt-space-5: 1.5rem;
	--mt-space-6: 2rem;
	--mt-space-7: 3rem;
	--mt-space-8: 4rem;
	--mt-space-9: 6rem;
	--mt-section-y: clamp(3.5rem, 2rem + 6vw, 7rem);

	/* Layout. */
	--mt-container: 1240px;
	--mt-narrow: 760px;
	--mt-gutter: clamp(16px, 4vw, 32px);
	--mt-radius: 2px;
	--mt-header-h: 84px;
	--mt-shadow: 0 16px 40px rgba(17, 17, 17, 0.08);
	--mt-ease: cubic-bezier(0.2, 0, 0, 1);
}

/* 3. Base ----------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body.moore-team {
	margin: 0;
	background: var(--mt-white);
	color: var(--mt-ink);
	font-family: var(--mt-font-body);
	font-size: var(--mt-fs-base);
	font-weight: var(--mt-weight-regular);
	line-height: var(--mt-lh-body);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.moore-team img,
.moore-team video {
	max-width: 100%;
	height: auto;
}

.moore-team :where(a) {
	color: inherit; /* Low specificity so component link colors (below) apply. */
}

.moore-team :where(h1, h2, h3, h4) {
	font-family: var(--mt-font-display);
	font-weight: var(--mt-weight-regular);
	line-height: var(--mt-lh-heading);
	letter-spacing: -0.01em;
	color: var(--mt-black);
	margin: 0 0 0.55em;
}

.moore-team :where(h1) { font-size: var(--mt-fs-2xl); line-height: var(--mt-lh-tight); }
.moore-team :where(h2) { font-size: var(--mt-fs-xl); }
.moore-team :where(h3) { font-size: var(--mt-fs-lg); }
.moore-team :where(h4) { font-size: var(--mt-fs-md); }

.moore-team :where(strong, b) {
	font-weight: var(--mt-weight-strong);
}

.moore-team :where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--mt-focus);
	outline-offset: 3px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.mt-skip.screen-reader-text:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	top: 8px;
	left: 8px;
	z-index: 100000;
	padding: 12px 16px;
	background: var(--mt-white);
	color: var(--mt-ink);
	font-weight: var(--mt-weight-strong);
	text-decoration: none;
	box-shadow: var(--mt-shadow);
}

.mt-main:focus {
	outline: none;
}

/* 4. Layout utilities ----------------------------------------------------- */

.mt-container {
	width: 100%;
	max-width: calc(var(--mt-container) + var(--mt-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--mt-gutter);
}

.mt-container--narrow {
	max-width: calc(var(--mt-narrow) + var(--mt-gutter) * 2);
}

.mt-section {
	padding-block: var(--mt-section-y);
}

.mt-section--tint,
.mt-section--neutral {
	background: var(--mt-neutral);
}

.mt-section--dark {
	background: var(--mt-black);
	color: var(--mt-on-dark);
}

.mt-section--dark :where(h1, h2, h3, h4) {
	color: var(--mt-on-dark);
}

.mt-grid {
	display: grid;
	gap: var(--mt-space-6);
	margin-top: var(--mt-space-6);
}

.mt-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mt-grid--posts {
	grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
	margin-top: 0;
}

/* Editorial split: text beside a large photograph. */
.mt-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
}

.mt-split__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mt-split__body {
	padding: var(--mt-section-y) clamp(var(--mt-gutter), 6vw, 6rem);
	align-self: center;
}

.mt-lede {
	font-size: var(--mt-fs-md);
	color: var(--mt-muted);
	max-width: 60ch;
}

.mt-layout {
	padding-block: var(--mt-section-y);
}

.mt-layout__main,
.mt-layout__side {
	min-width: 0;
}

.mt-has-sidebar .mt-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: var(--mt-space-7);
}

/* 5. Buttons -------------------------------------------------------------- */

.mt-button,
.moore-team .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--mt-space-2);
	min-height: 48px;
	padding: 0.875rem 1.625rem;
	background: var(--mt-black);
	border: 1px solid var(--mt-black);
	border-radius: var(--mt-radius);
	color: var(--mt-white) !important;
	font-family: var(--mt-font-body);
	font-size: var(--mt-fs-sm);
	font-weight: var(--mt-weight-strong);
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s var(--mt-ease), color 0.15s var(--mt-ease), border-color 0.15s var(--mt-ease);
}

.mt-button:hover,
.moore-team .wp-block-button__link:hover {
	background: var(--mt-gold-hover);
	border-color: var(--mt-gold-hover);
	color: var(--mt-white) !important;
}

.mt-button--accent {
	background: var(--mt-gold);
	border-color: var(--mt-gold);
	color: var(--mt-black) !important;
}

.mt-button--outline {
	background: transparent;
	border-color: var(--mt-white);
	color: var(--mt-white) !important;
}

.mt-button--outline:hover {
	background: var(--mt-white);
	border-color: var(--mt-white);
	color: var(--mt-black) !important;
}

.mt-button--ghost {
	background: transparent;
	border-color: var(--mt-black);
	color: var(--mt-black) !important;
}

.mt-button--ghost:hover {
	background: var(--mt-black);
	border-color: var(--mt-black);
	color: var(--mt-white) !important;
}

.mt-button--small {
	min-height: 42px;
	padding: 0.625rem 1.125rem;
	font-size: 0.8125rem;
}

.mt-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--mt-space-3);
	margin-top: var(--mt-space-6);
}

.mt-actions--left {
	justify-content: flex-start;
}

.mt-text-link {
	color: var(--mt-gold-text);
	font-weight: var(--mt-weight-strong);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* 6. Header, lockup, navigation ------------------------------------------ */

.mt-bar {
	background: var(--mt-black);
	color: var(--mt-on-dark-muted);
	font-size: var(--mt-fs-xs);
	letter-spacing: 0.04em;
}

.mt-bar__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--mt-space-2) var(--mt-space-5);
	max-width: calc(var(--mt-container) + var(--mt-gutter) * 2);
	margin-inline: auto;
	padding: 0.5rem var(--mt-gutter);
}

.mt-bar__phone {
	color: var(--mt-white);
	text-decoration: none;
	font-weight: var(--mt-weight-strong);
}

.mt-bar__phone:hover {
	text-decoration: underline;
}

.mt-header {
	position: relative;
	z-index: 50;
	background: var(--mt-white);
	border-bottom: 1px solid var(--mt-line);
}

.mt-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--mt-space-5);
	min-height: var(--mt-header-h);
	max-width: calc(1440px + var(--mt-gutter) * 2); /* Wide, full-bleed header like the reference. */
	margin-inline: auto;
	padding: 0.75rem var(--mt-gutter);
}

/* Lockup: team identity | rule | brokerage identification. */
.mt-lockup {
	display: flex;
	align-items: center;
	gap: var(--mt-space-4);
	min-width: 0;
}

.mt-brand {
	margin: 0;
	flex: none;
}

.mt-brand__link {
	display: flex;
	flex-direction: column;
	color: var(--mt-black);
	text-decoration: none;
}

.mt-brand__name {
	font-family: var(--mt-font-display);
	font-size: 1.625rem;
	line-height: 1.05;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.mt-brand__tag {
	margin-top: 0.35rem;
	font-size: 0.625rem;
	font-weight: var(--mt-weight-strong);
	letter-spacing: var(--mt-tracking-caps);
	text-transform: uppercase;
	white-space: nowrap;
}

.mt-lockup__team-logo {
	display: block;
	height: 48px;
	width: auto;
}

.mt-lockup__rule {
	flex: none;
	align-self: stretch;
	width: 1px;
	min-height: 38px;
	background: var(--mt-line);
}

.mt-brokerage {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	color: var(--mt-black);
}

.mt-brokerage__pre {
	font-size: 0.6875rem;
	color: var(--mt-muted);
	letter-spacing: 0.02em;
}

.mt-brokerage__name {
	font-size: 0.75rem;
	font-weight: var(--mt-weight-strong);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.3;
}

/* Approved brokerage logo: fixed height keeps aspect ratio; padding keeps
   clear space around the mark. */
.mt-brokerage__logo {
	display: block;
	height: 34px;
	width: auto;
	max-width: 180px;
	padding-block: 2px;
}

.mt-nav {
	display: flex;
	align-items: center;
	gap: var(--mt-space-5);
}

.mt-menu {
	display: flex;
	align-items: center;
	gap: 0.25rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9375rem;
}

.mt-menu > .menu-item {
	position: relative;
	display: flex;
	align-items: center;
	white-space: nowrap;
}

.mt-menu a {
	display: inline-block;
	padding-block: 0.625rem;
	text-decoration: none;
	color: var(--mt-black);
	background-image: linear-gradient(var(--mt-gold), var(--mt-gold));
	background-repeat: no-repeat;
	background-position: 0 calc(100% - 4px);
	background-size: 0 2px;
	transition: background-size 0.2s var(--mt-ease);
}

.mt-menu a:hover,
.mt-menu .current-menu-item > a,
.mt-menu .current-menu-ancestor > a,
.mt-menu a[aria-current="page"] {
	background-size: 100% 2px;
}

.mt-subtoggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	min-width: 28px;
	min-height: 32px;
	padding: 0 0.25rem;
	margin-left: 0.125rem;
	background: transparent;
	border: 0;
	border-radius: var(--mt-radius);
	color: var(--mt-black);
	font: inherit;
	cursor: pointer;
}

.mt-subtoggle svg {
	transition: transform 0.2s var(--mt-ease);
}

.mt-subtoggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.mt-subtoggle--label {
	margin-left: 0;
	padding: 0.625rem 0;
}

/* Desktop dropdowns. */
.mt-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	z-index: 60;
	min-width: 240px;
	max-height: min(70vh, 560px);
	overflow-y: auto;
	margin: 0;
	padding: 0.5rem 0;
	list-style: none;
	background: var(--mt-white);
	border: 1px solid var(--mt-line);
	box-shadow: var(--mt-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	/* Hide after the fade on close… */
	transition: opacity 0.15s var(--mt-ease), transform 0.15s var(--mt-ease), visibility 0s linear 0.15s;
}

/* …but become visible (and focusable) instantly on open. */
.mt-nav .menu-item.is-open > .sub-menu,
.mt-no-js .mt-nav .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

@media (hover: hover) and (min-width: 1201px) {
	.mt-nav .menu-item-has-children:hover > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}
}

/* Long lists (Areas) use two columns on desktop so nothing is cut off. */
.mt-nav .sub-menu--columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-width: 420px;
	max-height: none;
	overflow: visible;
}

.mt-nav .sub-menu--columns > li:first-child {
	grid-column: 1 / -1;
	border-bottom: 1px solid var(--mt-line);
	margin-bottom: 0.25rem;
}

.mt-nav .sub-menu a {
	display: block;
	padding: 0.5rem 1.25rem;
	background-image: none;
	font-size: 0.9375rem;
}

.mt-nav .sub-menu a:hover,
.mt-nav .sub-menu a[aria-current="page"] {
	background: var(--mt-neutral);
}

.mt-nav__cta {
	white-space: nowrap;
}

.mt-nav-toggle {
	display: none;
	align-items: center;
	gap: 0.625rem;
	min-height: 44px;
	padding: 0.5rem 0.875rem;
	background: transparent;
	border: 1px solid var(--mt-black);
	border-radius: var(--mt-radius);
	color: var(--mt-black);
	font: var(--mt-weight-strong) var(--mt-fs-sm)/1 var(--mt-font-body);
	cursor: pointer;
}

.mt-nav-toggle__bars,
.mt-nav-toggle__bars::before,
.mt-nav-toggle__bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	transition: transform 0.2s var(--mt-ease), background-color 0.2s var(--mt-ease);
}

.mt-nav-toggle__bars {
	position: relative;
}

.mt-nav-toggle__bars::before,
.mt-nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.mt-nav-toggle__bars::before { top: -6px; }
.mt-nav-toggle__bars::after { top: 6px; }

.mt-nav-toggle[aria-expanded="true"] .mt-nav-toggle__bars { background: transparent; }
.mt-nav-toggle[aria-expanded="true"] .mt-nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.mt-nav-toggle[aria-expanded="true"] .mt-nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* 7. Hero & home sections -------------------------------------------------- */

.mt-hero {
	position: relative;
	min-height: min(88vh, 760px);
	display: grid;
	place-items: center;
	background: #2a2926;
	color: var(--mt-white);
	text-align: center;
	isolation: isolate;
	overflow: hidden;
}

.mt-hero--plain {
	background: linear-gradient(160deg, #2a2926, var(--mt-black));
}

.mt-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	z-index: -2;
}

.mt-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(17, 17, 17, 0.35), rgba(17, 17, 17, 0.72));
	z-index: -1;
}

.mt-hero__content {
	max-width: 900px;
	padding: var(--mt-space-9) var(--mt-gutter);
}

.moore-team .mt-hero h1,
.moore-team .mt-hero p {
	color: var(--mt-white);
}

.mt-hero p {
	font-size: var(--mt-fs-md);
	max-width: 46ch;
	margin-inline: auto;
}

.mt-search .mt-idx {
	margin: var(--mt-space-6) 0 var(--mt-space-6);
}

.mt-cta {
	text-align: center;
}

.mt-cta .mt-container {
	max-width: calc(var(--mt-narrow) + var(--mt-gutter) * 2);
}

/* 8. Cards, pages, posts -------------------------------------------------- */

.mt-card {
	padding: var(--mt-space-6);
	border-top: 2px solid var(--mt-gold);
	background: var(--mt-neutral);
}

.mt-card h3 {
	margin-top: 0;
}

.mt-card__link {
	color: var(--mt-black);
	font-weight: var(--mt-weight-strong);
	text-decoration: none;
	border-bottom: 1px solid var(--mt-gold);
}

.mt-card__link:hover {
	color: var(--mt-gold-text);
}

.mt-post-card {
	display: flex;
	flex-direction: column;
	padding: 0;
}

.mt-post-card__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 10 / 7;
	object-fit: cover;
}

.mt-post-card__body {
	display: flex;
	flex-direction: column;
	gap: var(--mt-space-3);
	flex: 1;
	padding: var(--mt-space-5);
}

.mt-post-card__body .mt-card__link {
	margin-top: auto;
	align-self: flex-start;
}

.mt-post-card__title {
	font-size: var(--mt-fs-lg);
	margin: 0;
}

.mt-post-card__title a {
	text-decoration: none;
}

.mt-post-card__excerpt p {
	margin: 0;
	color: var(--mt-muted);
}

.mt-meta {
	margin: 0;
	color: var(--mt-muted);
	font-size: var(--mt-fs-sm);
}

.mt-page-header {
	padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem);
	background: var(--mt-neutral);
	border-bottom: 1px solid var(--mt-line);
}

.mt-page-header__title {
	margin: 0;
}

.mt-page-header__intro {
	margin-top: var(--mt-space-3);
	color: var(--mt-muted);
	max-width: 70ch;
}

.mt-page__content:not(.mt-page__content--full) {
	padding-block: clamp(2rem, 1rem + 4vw, 3.5rem);
}

.mt-page__thumb {
	margin-top: var(--mt-space-6);
}

.mt-prose > * + * {
	margin-top: 1.1em;
}

.mt-prose a {
	color: var(--mt-gold-text);
	text-underline-offset: 3px;
}

.mt-prose blockquote {
	margin-inline: 0;
	padding-left: var(--mt-space-5);
	border-left: 2px solid var(--mt-gold);
	font-family: var(--mt-font-display);
	font-size: var(--mt-fs-md);
}

.mt-prose table {
	width: 100%;
	border-collapse: collapse;
}

.mt-prose th,
.mt-prose td {
	padding: var(--mt-space-3);
	border-bottom: 1px solid var(--mt-line);
	text-align: left;
}

.mt-prose .alignwide {
	margin-inline: calc((var(--mt-narrow) - var(--mt-container)) / 4);
	max-width: none;
}

.mt-prose .alignfull {
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.mt-prose .alignleft { float: left; margin: 0.4em 1.5em 1em 0; }
.mt-prose .alignright { float: right; margin: 0.4em 0 1em 1.5em; }
.mt-prose .aligncenter { display: block; margin-inline: auto; }

.wp-caption-text,
.wp-element-caption {
	color: var(--mt-muted);
	font-size: var(--mt-fs-sm);
}

.mt-single__thumb {
	margin: 0 0 var(--mt-space-6);
}

.mt-single__thumb img {
	display: block;
	width: 100%;
}

.mt-single__footer {
	margin-top: var(--mt-space-7);
	padding-top: var(--mt-space-5);
	border-top: 1px solid var(--mt-line);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--mt-space-4);
	margin-top: var(--mt-space-6);
}

.nav-links a {
	text-decoration: none;
}

.nav-links .page-numbers {
	display: inline-block;
	min-width: 44px;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--mt-line);
	text-align: center;
	text-decoration: none;
}

.nav-links .page-numbers.current {
	background: var(--mt-black);
	border-color: var(--mt-black);
	color: var(--mt-white);
}

.pagination .nav-links {
	justify-content: center;
	margin-top: var(--mt-space-7);
}

.mt-empty {
	padding: var(--mt-space-7) 0;
}

.mt-searchform {
	display: flex;
	gap: var(--mt-space-3);
	max-width: 520px;
	margin-block: var(--mt-space-5);
}

.mt-searchform input[type="search"],
.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 0.875rem;
	border: 1px solid #a39c91;
	border-radius: var(--mt-radius);
	font: inherit;
	background: var(--mt-white);
}

.mt-searchform input[type="search"] {
	flex: 1;
	min-width: 0;
}

.mt-comments {
	margin-top: var(--mt-space-8);
}

.mt-comments__list,
.mt-comments__list .children {
	list-style: none;
	padding-left: 0;
}

.mt-comments__list .children {
	padding-left: var(--mt-space-5);
}

.comment-body {
	padding: var(--mt-space-5) 0;
	border-bottom: 1px solid var(--mt-line);
}

.comment-form .submit {
	min-height: 48px;
	padding: 0.875rem 1.625rem;
	background: var(--mt-black);
	border: 0;
	color: var(--mt-white);
	font-weight: var(--mt-weight-strong);
	cursor: pointer;
}

.mt-widget + .mt-widget {
	margin-top: var(--mt-space-6);
}

.mt-widget__title {
	font-size: var(--mt-fs-md);
}

/* 9. Elementor & Showcase IDX --------------------------------------------- */

.mt-page__content--full {
	width: 100%;
}

.mt-page__content--padded {
	padding: clamp(1.5rem, 1rem + 3vw, 3rem) var(--mt-gutter);
}

/* Layout only — listing data and IDX compliance elements are left exactly
   as Showcase IDX renders them. */
.moore-team .mt-idx,
.moore-team .showcaseidx-wrapper,
.moore-team .showcaseidx-container,
.moore-team .sidx-container {
	max-width: 100%;
	width: 100%;
}

.mt-admin-note {
	padding: var(--mt-space-3) var(--mt-space-4);
	background: #fff8e5;
	border-left: 4px solid var(--mt-gold);
	font-size: var(--mt-fs-sm);
}

/* 10. Footer --------------------------------------------------------------- */

.mt-footer {
	background: var(--mt-black);
	color: var(--mt-on-dark-muted);
	font-size: 0.9375rem;
}

.mt-footer a {
	color: var(--mt-white);
	text-underline-offset: 3px;
}

.mt-footer .mt-brand__link,
.mt-footer .mt-brokerage,
.moore-team .mt-footer :where(h2, h3) {
	color: var(--mt-white);
}

.mt-footer .mt-lockup__rule {
	background: rgba(255, 255, 255, 0.25);
}

.mt-footer .mt-brokerage__pre {
	color: var(--mt-on-dark-muted);
}

.mt-footer__inner {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
	gap: var(--mt-space-7);
	max-width: calc(var(--mt-container) + var(--mt-gutter) * 2);
	margin-inline: auto;
	padding: var(--mt-space-8) var(--mt-gutter) var(--mt-space-7);
}

.mt-footer__heading {
	margin-bottom: var(--mt-space-4);
	font-family: var(--mt-font-body);
	font-size: var(--mt-fs-xs);
	font-weight: var(--mt-weight-strong);
	letter-spacing: var(--mt-tracking-caps);
	text-transform: uppercase;
}

.mt-footer__list,
.mt-footer__offices {
	margin: 0 0 var(--mt-space-5);
	padding: 0;
	list-style: none;
}

.mt-footer__list li + li {
	margin-top: var(--mt-space-2);
}

.mt-footer__list a {
	text-decoration: none;
}

.mt-footer__list a:hover {
	text-decoration: underline;
}

.mt-footer__note {
	margin: 0 0 var(--mt-space-3);
	color: var(--mt-white);
	font-size: var(--mt-fs-sm);
}

.mt-footer__offices li {
	display: flex;
	flex-direction: column;
	font-size: var(--mt-fs-sm);
	line-height: 1.5;
}

.mt-footer__offices li + li {
	margin-top: var(--mt-space-3);
}

.mt-footer__offices strong {
	color: var(--mt-white);
}

.mt-social {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mt-space-3);
	margin: var(--mt-space-5) 0 0;
	padding: 0;
	list-style: none;
}

.mt-social a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	transition: border-color 0.15s var(--mt-ease), color 0.15s var(--mt-ease);
}

.mt-social a:hover {
	border-color: var(--mt-gold);
	color: var(--mt-gold);
}

.mt-footer__legal {
	max-width: calc(var(--mt-container) + var(--mt-gutter) * 2);
	margin-inline: auto;
	padding: var(--mt-space-5) var(--mt-gutter) var(--mt-space-6);
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.8125rem;
}

.mt-legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mt-space-2) var(--mt-space-5);
	margin: 0;
	padding: 0;
	list-style: none;
}

.mt-footer__disclosure {
	max-width: 95ch;
	margin: var(--mt-space-3) 0 0;
}

.mt-footer__copy {
	margin: var(--mt-space-3) 0 0;
}

/* 12. Homepage (Prompt 3) ------------------------------------------------- */

.mt-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--mt-space-4) var(--mt-space-6);
	margin-bottom: var(--mt-space-6);
}

.mt-section-head h2 {
	margin-bottom: var(--mt-space-3);
}

.mt-section-head .mt-lede {
	margin: 0;
}

.mt-small-heading {
	margin: var(--mt-space-5) 0 var(--mt-space-3);
	font-family: var(--mt-font-body);
	font-size: var(--mt-fs-xs);
	font-weight: var(--mt-weight-strong);
	letter-spacing: var(--mt-tracking-caps);
	text-transform: uppercase;
	color: var(--mt-black);
}

.mt-checklist {
	margin: var(--mt-space-4) 0 var(--mt-space-5);
	padding: 0;
	list-style: none;
}

.mt-checklist li {
	position: relative;
	padding: 0.5rem 0 0.5rem 1.75rem;
	border-top: 1px solid var(--mt-line);
}

.mt-checklist li:last-child {
	border-bottom: 1px solid var(--mt-line);
}

.mt-checklist li::before {
	content: "";
	position: absolute;
	left: 0.25rem;
	top: 1.05rem;
	width: 0.7rem;
	height: 0.4rem;
	border-left: 2px solid var(--mt-gold);
	border-bottom: 2px solid var(--mt-gold);
	transform: rotate(-45deg);
}

/* Hero (home): full-bleed video, serif headline + sans subline, Buy | Sell
   tabbed discovery panel. Arrangement after the owner's chosen reference. */
.mt-hero--home {
	text-align: left;
	place-items: center;
	min-height: min(100vh, 860px);
	min-height: min(100svh, 860px);
}

.mt-hero--home .mt-hero__image {
	object-position: var(--mt-focal, 50% 50%);
}

.mt-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
	background: #2a2926;
}

.mt-hero__media picture,
.mt-hero__media .mt-hero__poster,
.mt-hero__media .mt-hero__video {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: 62% 50%; /* Keep the front door and family in view. */
}

.mt-hero__video {
	opacity: 0;
	transition: opacity 0.6s var(--mt-ease);
}

.mt-hero--video.is-playing .mt-hero__video {
	opacity: 1;
}

.mt-hero--home::after {
	/* Readable white type over a bright interior video. */
	background:
		linear-gradient(180deg, rgba(17, 17, 17, 0.62) 0%, rgba(17, 17, 17, 0.18) 26%, rgba(17, 17, 17, 0) 40%),
		linear-gradient(0deg, rgba(17, 17, 17, 0.45), rgba(17, 17, 17, 0.45));
}

.mt-hero--home .mt-hero__content {
	width: 100%;
	max-width: calc(620px + var(--mt-gutter) * 2);
	margin-inline: auto;
	padding: calc(var(--mt-header-h) + clamp(2.5rem, 2rem + 4vw, 5rem)) var(--mt-gutter) clamp(3.5rem, 2.5rem + 4vw, 6rem);
}

.moore-team .mt-hero--home h1 {
	max-width: 17ch;
	margin: 0;
	font-family: var(--mt-font-display);
	font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4rem);
	line-height: 1.08;
	text-wrap: balance;
	text-shadow: 0 1px 24px rgba(0, 0, 0, 0.25);
}

.moore-team .mt-hero--home .mt-hero__text {
	max-width: 30ch;
	margin: var(--mt-space-3) 0 0;
	font-family: var(--mt-font-body);
	font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
	font-weight: var(--mt-weight-strong);
	line-height: 1.25;
	letter-spacing: -0.01em;
	text-shadow: 0 1px 18px rgba(0, 0, 0, 0.3);
}

.moore-team .mt-hero .mt-hero__broker {
	max-width: none;
	margin: var(--mt-space-4) 0 0;
	font-size: var(--mt-fs-xs);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mt-on-dark-muted);
}

/* Discovery panel: tabs attached to a white panel. */
.mt-discover {
	margin-top: var(--mt-space-6);
	text-align: left;
}

.mt-discover__tabs {
	display: flex;
}

.mt-discover__tab {
	min-width: 88px;
	min-height: 44px;
	padding: 0 var(--mt-space-5);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-bottom: 0;
	border-radius: 0;
	color: var(--mt-white);
	font-family: var(--mt-font-body);
	font-size: var(--mt-fs-sm);
	font-weight: var(--mt-weight-regular);
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
	cursor: pointer;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.mt-discover__tab + .mt-discover__tab {
	border-left: 0;
}

.mt-discover__tab:hover {
	background: rgba(255, 255, 255, 0.2);
}

.mt-discover__tab[aria-selected="true"] {
	background: rgba(255, 255, 255, 0.24);
	font-weight: var(--mt-weight-strong);
	box-shadow: inset 0 3px 0 var(--mt-gold);
}

/* Frosted-glass panel: the video shows through; the search box and buttons
   inside stay solid so they read clearly. */
.mt-discover__panel {
	padding: var(--mt-space-4);
	/* Light glass with a faint dark base so white text and gold links hold
	   up over the brightest parts of the video. */
	background: linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)), rgba(17, 17, 17, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: var(--mt-white);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
	-webkit-backdrop-filter: blur(14px) saturate(1.1);
	backdrop-filter: blur(14px) saturate(1.1);
}

/* Browsers without backdrop blur get a darker tint so text stays readable. */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.mt-discover__panel,
	.mt-discover__tab {
		background: rgba(17, 17, 17, 0.55);
	}

	.mt-discover__tab[aria-selected="true"] {
		background: rgba(17, 17, 17, 0.7);
	}
}

.mt-discover__panel[hidden] {
	display: none;
}

.moore-team .mt-discover__panel p {
	margin: 0;
	max-width: none;
	color: var(--mt-white);
	font-size: var(--mt-fs-sm);
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.mt-discover__lead {
	margin-bottom: var(--mt-space-4) !important;
}

.mt-discover__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mt-space-3);
}

.moore-team .mt-discover__more {
	margin-top: var(--mt-space-3) !important;
}

.mt-discover__more a {
	color: var(--mt-white);
	font-weight: var(--mt-weight-strong);
	text-decoration-color: var(--mt-gold);
	text-underline-offset: 4px;
}

.mt-discover__more a:hover {
	text-decoration-thickness: 2px;
}

/* Search widget: width and spacing only; Showcase styles its own internals. */
.mt-hero__search {
	width: 100%;
}

/* Pause / play for the background video (WCAG 2.2.2). */
.mt-hero__motion {
	position: absolute;
	right: var(--mt-gutter);
	bottom: var(--mt-space-5);
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: rgba(17, 17, 17, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	color: var(--mt-white);
	font: inherit;
	cursor: pointer;
}

.mt-hero__motion:hover {
	background: rgba(17, 17, 17, 0.8);
}

.mt-hero__motion .mt-hero__motion-play,
.mt-hero__motion[aria-pressed="true"] .mt-hero__motion-pause {
	display: none;
}

.mt-hero__motion[aria-pressed="true"] .mt-hero__motion-play {
	display: block;
}

/* Header over the home hero (transparent, white type). */
.mt-header--overlay {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	background: transparent;
	border-bottom: 0;
	transition: background-color 0.2s var(--mt-ease);
}

.admin-bar .mt-header--overlay {
	top: 32px;
}

.mt-header--overlay .mt-menu > .menu-item > a,
.mt-header--overlay .mt-menu > .menu-item > .mt-subtoggle,
.mt-header--overlay .mt-brokerage,
.mt-header--overlay .mt-brokerage__pre,
.mt-header--overlay .mt-brokerage__name,
.mt-header--overlay .mt-brand__link,
.mt-header--overlay .mt-nav-toggle {
	color: var(--mt-white);
}

.mt-header--overlay .mt-lockup__rule {
	background: rgba(255, 255, 255, 0.45);
}

.mt-header--overlay .mt-nav-toggle {
	border-color: rgba(255, 255, 255, 0.7);
}

.mt-header--overlay .mt-nav-toggle__bars,
.mt-header--overlay .mt-nav-toggle__bars::before,
.mt-header--overlay .mt-nav-toggle__bars::after {
	background: var(--mt-white);
}

.mt-header--overlay .mt-nav__cta {
	background: var(--mt-white);
	border-color: var(--mt-white);
	color: var(--mt-black) !important;
}

.mt-header--overlay .mt-nav__cta:hover {
	background: var(--mt-gold-hover);
	border-color: var(--mt-gold-hover);
	color: var(--mt-white) !important;
}

/* Logo variants: black on light backgrounds, white over video / in the footer. */
.mt-logo {
	display: block;
}

.mt-logo--on-dark {
	display: none;
}

.mt-header--overlay .mt-logo--on-light {
	display: none;
}

.mt-header--overlay .mt-logo--on-dark,
.mt-footer .mt-logo--on-dark {
	display: block;
}

.mt-lockup .mt-lockup__team-logo {
	display: block;
	height: 62px !important;
	width: auto !important;
	max-width: none;
}

/* Phone/tablet menu open: the overlay header turns solid so the panel reads. */
.mt-header--overlay.mt-header--menu-open {
	background: var(--mt-white);
}

.mt-header--overlay.mt-header--menu-open .mt-menu > .menu-item > a,
.mt-header--overlay.mt-header--menu-open .mt-menu > .menu-item > .mt-subtoggle,
.mt-header--overlay.mt-header--menu-open .mt-brokerage,
.mt-header--overlay.mt-header--menu-open .mt-brokerage__pre,
.mt-header--overlay.mt-header--menu-open .mt-brokerage__name,
.mt-header--overlay.mt-header--menu-open .mt-nav-toggle {
	color: var(--mt-black);
}

.mt-header--overlay.mt-header--menu-open .mt-nav-toggle__bars::before,
.mt-header--overlay.mt-header--menu-open .mt-nav-toggle__bars::after {
	background: var(--mt-black);
}

.mt-header--overlay.mt-header--menu-open .mt-nav-toggle {
	border-color: var(--mt-line);
}

.mt-header--overlay.mt-header--menu-open .mt-lockup__rule {
	background: var(--mt-line);
}

.mt-header--overlay.mt-header--menu-open .mt-logo--on-light {
	display: block;
}

.mt-header--overlay.mt-header--menu-open .mt-logo--on-dark {
	display: none;
}

.mt-header--overlay.mt-header--menu-open .mt-nav__cta {
	background: var(--mt-black);
	border-color: var(--mt-black);
	color: var(--mt-white) !important;
}

/* Paths: two large panels. */
.mt-paths__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--mt-space-6);
	margin-top: var(--mt-space-6);
}

.mt-path {
	display: flex;
	flex-direction: column;
	padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
	border: 1px solid var(--mt-line);
	border-top: 3px solid var(--mt-black);
}

.mt-path .mt-button {
	margin-top: auto;
	align-self: flex-start;
}

/* Featured homes: a wider band than the text so listing cards render larger.
   Width only; Showcase draws the cards, data and disclosures. */
.mt-featured__listings {
	width: 100%;
	max-width: calc(1600px + var(--mt-gutter) * 2);
	margin: var(--mt-space-5) auto 0;
	padding-inline: var(--mt-gutter);
}

/* "See All Results": Showcase's own button, marked by idx-enhance.js with
   .mt-idx-see-all. Only that one element in this section is restyled. */
.mt-featured .mt-idx .mt-idx-see-all {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0.9rem 2.5rem !important;
	background: var(--mt-gold) !important;
	border: 1px solid var(--mt-gold) !important;
	border-radius: var(--mt-radius) !important;
	box-shadow: none !important;
	color: var(--mt-black) !important;
	font-family: var(--mt-font-body) !important;
	font-size: 1rem !important;
	font-weight: var(--mt-weight-strong) !important;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	text-transform: none !important;
}

.mt-featured .mt-idx .mt-idx-see-all:hover,
.mt-featured .mt-idx .mt-idx-see-all:focus-visible {
	background: var(--mt-gold-hover) !important;
	border-color: var(--mt-gold-hover) !important;
	color: var(--mt-white) !important;
}

/* Valuation: copy + module. */
.mt-valuation__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 1rem + 4vw, 5rem);
	align-items: start;
}

.mt-valuation__grid--text {
	grid-template-columns: minmax(0, 1fr);
	max-width: calc(var(--mt-narrow) + var(--mt-gutter) * 2);
}

.mt-valuation__embed,
.mt-valuation__module iframe {
	width: 100%;
	min-height: 620px;
	border: 1px solid var(--mt-line);
}

/* Moore Luxe Method: dark list + photograph. */
.mt-luxe {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	background: var(--mt-black);
	color: var(--mt-on-dark);
}

.mt-luxe--no-image {
	grid-template-columns: minmax(0, 1fr);
}

.mt-luxe__body {
	padding: var(--mt-section-y) clamp(var(--mt-gutter), 6vw, 6rem);
}

.moore-team .mt-luxe h2,
.moore-team .mt-luxe h3 {
	color: var(--mt-white);
}

.moore-team .mt-luxe__kicker {
	margin: 0 0 var(--mt-space-3);
	font-size: var(--mt-fs-xs);
	font-weight: var(--mt-weight-strong);
	letter-spacing: var(--mt-tracking-caps);
	text-transform: uppercase;
	color: var(--mt-gold);
}

.moore-team .mt-luxe__footnote {
	margin: var(--mt-space-4) 0 0;
	font-size: var(--mt-fs-xs);
	color: var(--mt-on-dark-muted);
}

.mt-luxe__intro {
	color: var(--mt-on-dark-muted);
	font-size: var(--mt-fs-md);
	max-width: 44ch;
}

.mt-luxe__list {
	margin: var(--mt-space-6) 0 var(--mt-space-6);
	padding: 0;
	list-style: none;
	counter-reset: luxe;
	background: var(--mt-white);
	color: var(--mt-ink);
	padding: var(--mt-space-2) clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
}

.mt-luxe__list li {
	counter-increment: luxe;
	display: grid;
	grid-template-columns: 2.25rem minmax(0, 1fr);
	column-gap: var(--mt-space-3);
	padding: var(--mt-space-4) 0;
	border-bottom: 1px solid var(--mt-line);
}

.mt-luxe__list li:last-child {
	border-bottom: 0;
}

.mt-luxe__list li::before {
	content: counter(luxe, decimal-leading-zero);
	grid-row: span 2;
	font-family: var(--mt-font-display);
	font-size: var(--mt-fs-md);
	color: var(--mt-gold-text);
	line-height: 1.3;
}

.moore-team .mt-luxe__list h3 {
	margin: 0 0 0.25rem;
	font-size: var(--mt-fs-md);
	color: var(--mt-black);
}

.mt-luxe__list p {
	margin: 0;
	color: var(--mt-muted);
	font-size: 0.9375rem;
}

.mt-luxe__media picture {
	display: block;
	height: 100%;
}

.mt-luxe__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Explore the Upstate: photo cards. */
.mt-area-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--mt-space-5);
	margin: 0;
	padding: 0;
	list-style: none;
}

.mt-area-card a {
	display: block;
	height: 100%;
	color: var(--mt-black);
	text-decoration: none;
}

.mt-area-card__media {
	display: block;
	overflow: hidden;
	background: var(--mt-neutral);
}

.mt-area-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.4s var(--mt-ease);
}

.mt-area-card a:hover img {
	transform: scale(1.03);
}

.mt-area-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding-top: var(--mt-space-3);
}

.mt-area-card__name {
	font-family: var(--mt-font-display);
	font-size: var(--mt-fs-md);
	line-height: 1.25;
}

.mt-area-card a:hover .mt-area-card__name {
	text-decoration: underline;
	text-decoration-color: var(--mt-gold);
	text-underline-offset: 4px;
}

.mt-area-card__blurb {
	font-size: var(--mt-fs-sm);
	color: var(--mt-muted);
}

/* Editorial splits. */
.mt-editorial .mt-split__body p {
	max-width: 52ch;
}

.mt-split--reverse .mt-split__media {
	order: 2;
}

.mt-split--text {
	grid-template-columns: minmax(0, 1fr);
}

.mt-editorial + .mt-editorial {
	border-top: 1px solid var(--mt-line);
}

/* Meet The Moore Team. */
.mt-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2rem, 1rem + 4vw, 5rem);
	align-items: center;
}

.mt-about__grid--text {
	grid-template-columns: minmax(0, 1fr);
	max-width: calc(var(--mt-narrow) + var(--mt-gutter) * 2);
}

.mt-about__portrait {
	margin: 0;
}

.mt-about__portrait img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 30%;
}

.moore-team .mt-about__title {
	margin-bottom: var(--mt-space-4);
	font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem);
	line-height: 1.05;
}

.mt-about__title::after {
	content: "";
	display: block;
	width: 80px;
	height: 2px;
	margin-top: var(--mt-space-5);
	background: var(--mt-gold);
}

.moore-team .mt-about__subhead {
	margin: 0 0 var(--mt-space-4);
	font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem);
	line-height: 1.35;
	color: var(--mt-ink);
}

.mt-about__text {
	max-width: 62ch;
	color: var(--mt-ink);
}

/* Three stats: large serif value over a small label, gold dividers. */
.mt-about__stats {
	display: grid;
	grid-template-columns: repeat(3, auto);
	justify-content: start;
	margin: var(--mt-space-6) 0 var(--mt-space-3);
	padding-top: var(--mt-space-5);
	border-top: 1px solid var(--mt-gold);
}

.mt-about__stat {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	padding: 0 clamp(1rem, 0.5rem + 2vw, 2.5rem);
	border-left: 1px solid var(--mt-gold);
}

.mt-about__stat:first-child {
	padding-left: 0;
	border-left: 0;
}

.mt-about__stat dd {
	margin: 0;
	font-family: var(--mt-font-display);
	font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem);
	line-height: 1.1;
	color: var(--mt-black);
	white-space: nowrap;
}

.mt-about__stat dt {
	margin-top: var(--mt-space-2);
	font-size: var(--mt-fs-sm);
	color: var(--mt-muted);
}

@media (min-width: 1201px) {
	.mt-about__stat dt {
		white-space: nowrap; /* One-line labels where there is room. */
	}
}

@media (max-width: 1200px) {
	.mt-about__stat dd {
		white-space: normal;
	}
}

.moore-team .mt-about__note {
	margin: 0 0 var(--mt-space-5);
	font-size: var(--mt-fs-xs);
	font-style: italic;
	color: var(--mt-muted);
}

/* Outlined gold button (e.g. "Meet our team"). */
.mt-button--line {
	background: transparent;
	border: 1px solid var(--mt-gold);
	color: var(--mt-gold-text) !important;
	letter-spacing: var(--mt-tracking-caps);
	text-transform: uppercase;
}

.mt-button--line:hover {
	background: var(--mt-gold-hover);
	border-color: var(--mt-gold-hover);
	color: var(--mt-white) !important;
}

.mt-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--mt-space-4);
	margin: var(--mt-space-6) 0;
	padding: var(--mt-space-5) 0;
	border-top: 1px solid var(--mt-line);
	border-bottom: 1px solid var(--mt-line);
}

.mt-stats__item {
	display: grid;
	grid-template-rows: auto 1fr;
	gap: 0.375rem;
	align-content: start;
}

.mt-stats__item dd {
	grid-row: 1;
}

.mt-stats__item dt {
	grid-row: 2;
}

.mt-stats dd {
	margin: 0;
	font-family: var(--mt-font-display);
	font-size: var(--mt-fs-xl);
	line-height: 1;
	color: var(--mt-black);
}

.mt-stats dt {
	font-size: var(--mt-fs-sm);
	color: var(--mt-muted);
}

/* Technology benefits: hairline columns. */
.mt-tech__head {
	max-width: 720px;
}

.mt-tech__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--mt-space-6);
	margin: var(--mt-space-6) 0 0;
	padding: 0;
	list-style: none;
}

.mt-tech__list li {
	padding-top: var(--mt-space-4);
	border-top: 2px solid var(--mt-gold);
}

.mt-tech__list h3 {
	font-size: var(--mt-fs-md);
}

.mt-tech__list p {
	margin: 0;
	color: var(--mt-muted);
}

/* Articles. */
.mt-article-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--mt-space-6);
	margin: 0;
	padding: 0;
	list-style: none;
}

.mt-article {
	display: flex;
	flex-direction: column;
	background: var(--mt-white);
}

.mt-article__media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.mt-article__body {
	padding: var(--mt-space-5);
}

.mt-article h3 {
	margin: var(--mt-space-2) 0 var(--mt-space-3);
	font-size: var(--mt-fs-md);
}

.mt-article h3 a {
	text-decoration: none;
}

.mt-article h3 a:hover {
	text-decoration: underline;
	text-decoration-color: var(--mt-gold);
	text-underline-offset: 4px;
}

.mt-article p:last-child {
	margin-bottom: 0;
	color: var(--mt-muted);
	font-size: 0.9375rem;
}

/* Consultation. */
.mt-consult__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 1rem + 4vw, 5rem);
	align-items: start;
}

.mt-consult__grid--text {
	grid-template-columns: minmax(0, 1fr);
	text-align: center;
	max-width: calc(var(--mt-narrow) + var(--mt-gutter) * 2);
}

.mt-consult__grid--text .mt-actions {
	justify-content: center;
}

.mt-consult .mt-lede {
	color: var(--mt-on-dark-muted);
}

.mt-consult__form {
	position: relative;
	background: var(--mt-white);
	padding: var(--mt-space-3);
	min-height: 600px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* Sits behind the form iframe; visible only until the form paints. */
.mt-consult__loading {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	margin: 0;
	color: var(--mt-muted);
	font-size: var(--mt-fs-sm);
}

.mt-consult__form .mt-ghl-form {
	position: relative;
	z-index: 1;
	display: block;
}

.moore-team .mt-consult .mt-consult__alt {
	margin: var(--mt-space-3) 0 0;
	font-size: var(--mt-fs-sm);
	color: var(--mt-on-dark-muted);
}

.mt-consult__alt a {
	color: var(--mt-white);
	text-underline-offset: 3px;
	text-decoration-color: var(--mt-gold);
}

/* Photo background so the section reads apart from the dark footer. */
.mt-consult--photo {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(4.5rem, 3rem + 7vw, 9rem);
}

.mt-consult__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.mt-consult__bg .mt-consult__bg-img {
	width: 100%;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
}

.mt-consult--photo::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(17, 17, 17, 0.86) 0%, rgba(17, 17, 17, 0.62) 55%, rgba(17, 17, 17, 0.45) 100%);
}

/* Clear edge between the last section and the footer. */
.mt-footer {
	border-top: 3px solid var(--mt-gold);
}

@media (max-width: 1100px) {
	.mt-area-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.mt-paths__grid,
	.mt-valuation__grid,
	.mt-luxe,
	.mt-about__grid,
	.mt-tech__list,
	.mt-article-grid,
	.mt-consult__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.mt-luxe__media {
		order: -1;
	}

	.mt-consult--photo::after {
		background: rgba(17, 17, 17, 0.78);
	}

	.mt-about__stats {
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--mt-space-4);
	}

	.mt-about__stat {
		padding: 0 0 var(--mt-space-4);
		border-left: 0;
		border-bottom: 1px solid rgba(184, 129, 40, 0.4);
	}

	.mt-about__stat:last-child {
		border-bottom: 0;
		padding-bottom: 0;
	}

	.mt-luxe__media img {
		aspect-ratio: 16 / 10;
		height: auto;
	}

	.mt-split--reverse .mt-split__media {
		order: 0;
	}

	.mt-about__portrait {
		max-width: 420px;
	}

	.mt-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.mt-hero--home {
		min-height: 680px;
	}

	.mt-lockup .mt-lockup__team-logo {
		height: 40px !important;
	}

	.mt-discover__actions .mt-button {
		width: 100%;
	}

	.mt-hero--home .mt-hero__image {
		object-position: var(--mt-focal-mobile, 50% 50%);
	}

	.mt-hero--home::after {
		background: linear-gradient(180deg, rgba(17, 17, 17, 0.6) 0%, rgba(17, 17, 17, 0.5) 100%);
	}


	.mt-area-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.mt-section-head .mt-button {
		width: 100%;
	}
}

/* 13. Seller pages & brand family (Prompt 4) ------------------------------ */

.mt-page-hero {
	padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(2.5rem, 1.5rem + 3vw, 4rem);
	background: var(--mt-neutral);
	border-bottom: 1px solid var(--mt-line);
}

.mt-page-hero h1 {
	max-width: 20ch;
}

.mt-page-hero .mt-lede {
	max-width: 62ch;
}

/* Numbered service list (sell). */
.mt-services__list,
.mt-steps__list,
.mt-luxe-band__list,
.mt-features__list {
	margin: var(--mt-space-6) 0 0;
	padding: 0;
	list-style: none;
}

.mt-services__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 var(--mt-space-6);
	counter-reset: svc;
}

.mt-services__list li {
	counter-increment: svc;
	padding: var(--mt-space-5) 0;
	border-top: 1px solid var(--mt-line);
}

.mt-services__list li::before {
	content: counter(svc, decimal-leading-zero);
	display: block;
	margin-bottom: var(--mt-space-2);
	font-family: var(--mt-font-display);
	font-size: var(--mt-fs-md);
	color: var(--mt-gold-text);
}

.mt-services__list h3,
.mt-steps__list h3,
.mt-luxe-band__list h3,
.mt-features__list h3 {
	font-size: var(--mt-fs-md);
	margin-bottom: var(--mt-space-2);
}

.mt-services__list p,
.mt-steps__list p,
.mt-features__list p {
	margin: 0;
	color: var(--mt-muted);
}

/* Moore Luxe band (sell). */
.mt-luxe-band .mt-lede {
	color: var(--mt-on-dark-muted);
}

.mt-luxe-band__list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--mt-space-5);
	counter-reset: luxe;
}

.mt-luxe-band__list li {
	counter-increment: luxe;
	padding-top: var(--mt-space-4);
	border-top: 2px solid var(--mt-gold);
}

.mt-luxe-band__list li::before {
	content: counter(luxe, decimal-leading-zero);
	display: block;
	margin-bottom: var(--mt-space-2);
	color: var(--mt-gold);
	font-family: var(--mt-font-display);
	font-size: var(--mt-fs-md);
}

.mt-luxe-band__list p {
	margin: 0;
	color: var(--mt-on-dark-muted);
	font-size: 0.9375rem;
}

/* Steps (valuation). */
.mt-steps__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--mt-space-6);
	counter-reset: step;
}

.mt-steps__list li {
	counter-increment: step;
	padding: var(--mt-space-5);
	background: var(--mt-white);
}

.mt-steps__list li::before {
	content: counter(step);
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	margin-bottom: var(--mt-space-3);
	border: 1px solid var(--mt-black);
	border-radius: 50%;
	font-weight: var(--mt-weight-strong);
}

.mt-expect__note {
	margin-top: var(--mt-space-5);
}

/* Seller tool iframe. */
.mt-tool {
	position: relative;
}

.mt-tool__status {
	margin: 0 0 var(--mt-space-3);
	color: var(--mt-muted);
	font-size: var(--mt-fs-sm);
}

.mt-tool.is-loaded .mt-tool__status:empty {
	display: none;
}

.mt-tool__frame {
	display: block;
	width: 100%;
	height: var(--mt-tool-h, 760px);
	border: 1px solid var(--mt-line);
	background: var(--mt-white);
}

.mt-tool__fallback {
	margin: var(--mt-space-3) 0 0;
	font-size: var(--mt-fs-sm);
}

.mt-tool__fallback a {
	color: var(--mt-gold-text);
}

.mt-tool__note {
	flex-basis: 100%;
}

/* Features (seller technology). */
.mt-features__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--mt-space-6);
}

.mt-features__list li {
	padding: var(--mt-space-5);
	background: var(--mt-white);
	border-top: 2px solid var(--mt-gold);
}

/* Corporate brand family: First Look statement + scrolling brand names. */
.mt-brands {
	text-align: center;
	overflow: hidden;
}

.mt-brands__eyebrow {
	display: inline-block;
	margin: 0 0 var(--mt-space-4);
	padding: 0.35rem 0.75rem;
	background: var(--mt-gold);
	color: var(--mt-black);
	font-size: var(--mt-fs-xs);
	font-weight: var(--mt-weight-strong);
	letter-spacing: var(--mt-tracking-caps);
	text-transform: uppercase;
}

.mt-brands__title {
	max-width: 24ch;
	margin-inline: auto;
}

.moore-team .mt-brands .mt-brands__lead {
	max-width: 56ch;
	margin: var(--mt-space-3) auto 0;
	font-size: var(--mt-fs-md);
	color: var(--mt-on-dark-muted);
}

.mt-brands__cta {
	margin: var(--mt-space-5) 0 0;
}

/* Marquee: two identical tracks slide left by exactly one track width. */
.mt-marquee {
	margin: var(--mt-space-7) 0 var(--mt-space-5);
	padding-block: var(--mt-space-5);
	border-block: 1px solid rgba(255, 255, 255, 0.14);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.mt-marquee__inner {
	display: flex;
	width: max-content;
	animation: mt-marquee 48s linear infinite;
}

.mt-marquee__track {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Each item = name + gold dot; equal spacing keeps the loop seamless. */
.mt-marquee__item {
	display: flex;
	align-items: center;
	gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
	padding-right: clamp(1.75rem, 1rem + 3vw, 3.5rem);
	white-space: nowrap;
}

.mt-marquee__item::after {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--mt-gold);
}

.mt-brands .mt-brands__name {
	font-family: var(--mt-font-display);
	font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
	line-height: 1.2;
	color: var(--mt-white);
}

/* Logos keep their aspect ratio: width/height are set per logo inline. */
.mt-brands__logo {
	display: block;
	max-width: none;
	object-fit: contain;
}

.mt-marquee:hover .mt-marquee__inner,
.mt-marquee:focus-within .mt-marquee__inner,
.mt-brands.is-paused .mt-marquee__inner {
	animation-play-state: paused;
}

@keyframes mt-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.mt-brands__foot {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--mt-space-4);
}

.mt-marquee__toggle {
	display: none;
	align-items: center;
	gap: var(--mt-space-2);
	min-height: 44px;
	padding: 0 var(--mt-space-4);
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
	color: var(--mt-white);
	font: inherit;
	font-size: var(--mt-fs-xs);
	cursor: pointer;
}

.mt-marquee-ready .mt-marquee__toggle {
	display: inline-flex;
}

.mt-marquee__toggle:hover {
	border-color: var(--mt-white);
}

.mt-marquee__icon-play,
.mt-marquee__toggle[aria-pressed="true"] .mt-marquee__icon-pause {
	display: none;
}

.mt-marquee__toggle[aria-pressed="true"] .mt-marquee__icon-play {
	display: block;
}

.mt-brands__caption {
	max-width: 70ch;
	margin: 0 auto;
	color: var(--mt-on-dark-muted);
	font-size: var(--mt-fs-sm);
}

/* No JS or reduced motion: a still, wrapped list of names (no clone). */
.mt-no-js .mt-marquee__inner {
	animation: none;
	width: auto;
	justify-content: center;
}

.mt-no-js .mt-marquee__track {
	flex-wrap: wrap;
	justify-content: center;
	row-gap: var(--mt-space-4);
}

.mt-no-js .mt-marquee__track--clone {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.mt-marquee {
		-webkit-mask-image: none;
		mask-image: none;
	}

	.mt-marquee__inner {
		animation: none;
		width: auto;
		justify-content: center;
	}

	.mt-marquee__track {
		flex-wrap: wrap;
		justify-content: center;
		row-gap: var(--mt-space-4);
	}

	.mt-marquee__track--clone {
		display: none;
	}
}

@media (max-width: 1100px) {
	.mt-luxe-band__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.mt-services__list,
	.mt-steps__list,
	.mt-features__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.mt-tool__frame {
		height: var(--mt-tool-h-mobile, 900px);
	}
}

@media (max-width: 600px) {
	.mt-luxe-band__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 14. Compass One page & callout ------------------------------------------ */

.mt-c1-hero {
	padding-block: clamp(4rem, 2.5rem + 7vw, 8.5rem);
	background: var(--mt-black);
	color: var(--mt-on-dark);
}

.mt-c1-hero__kicker {
	margin: 0 0 var(--mt-space-3);
	color: var(--mt-gold);
	font-size: var(--mt-fs-sm);
	font-weight: var(--mt-weight-strong);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.moore-team .mt-c1-hero h1 {
	margin-bottom: var(--mt-space-4);
	color: var(--mt-white);
	font-size: clamp(3rem, 1.5rem + 7vw, 6.5rem);
	line-height: 1;
}

.mt-c1-hero__lead {
	max-width: 54ch;
	margin: 0;
	color: var(--mt-on-dark-muted);
	font-size: var(--mt-fs-md);
}

.mt-c1-phases__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--mt-space-6);
	margin: var(--mt-space-6) 0 0;
	padding: 0;
	list-style: none;
	counter-reset: phase;
}

.mt-c1-phases__list li {
	counter-increment: phase;
	padding-top: var(--mt-space-4);
	border-top: 2px solid var(--mt-black);
}

.mt-c1-phases__list li::before {
	content: counter(phase, decimal-leading-zero);
	display: block;
	margin-bottom: var(--mt-space-2);
	color: var(--mt-gold-text);
	font-family: var(--mt-font-display);
	font-size: var(--mt-fs-md);
}

.mt-c1-phases__list h3 {
	font-size: var(--mt-fs-lg);
}

.mt-c1-phases__list p,
.mt-c1-list p {
	margin: 0;
	color: var(--mt-muted);
}

.mt-c1-roles__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(2rem, 1rem + 4vw, 5rem);
}

.mt-c1-list {
	margin: var(--mt-space-5) 0 0;
	padding: 0;
	list-style: none;
}

.mt-c1-list li {
	padding: var(--mt-space-4) 0;
	border-top: 1px solid var(--mt-line);
}

.mt-c1-list h3 {
	margin-bottom: var(--mt-space-1);
	font-size: var(--mt-fs-md);
}

.mt-c1-access__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: clamp(2rem, 1rem + 4vw, 5rem);
	align-items: start;
}

.mt-c1-steps {
	margin: var(--mt-space-5) 0 0;
	padding: 0;
	list-style: none;
	counter-reset: access;
}

.mt-c1-steps li {
	counter-increment: access;
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	gap: var(--mt-space-3);
	padding: var(--mt-space-4) 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	color: var(--mt-on-dark-muted);
}

.mt-c1-steps li::before {
	content: counter(access);
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border: 1px solid var(--mt-gold);
	border-radius: 50%;
	color: var(--mt-white);
	font-weight: var(--mt-weight-strong);
	font-size: var(--mt-fs-sm);
}

.mt-c1-access__cta {
	padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	background: var(--mt-white);
	color: var(--mt-ink);
}

.moore-team .mt-c1-access__cta h3 {
	color: var(--mt-black);
}

.mt-c1-disclosure {
	padding-block: var(--mt-space-6);
}

.mt-c1-callout__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--mt-space-4) var(--mt-space-6);
}

.mt-c1-callout h2 {
	font-size: var(--mt-fs-lg);
	margin-bottom: var(--mt-space-2);
}

.mt-c1-callout p {
	margin: 0;
	max-width: 60ch;
	color: var(--mt-muted);
}

.mt-c1-callout.mt-section {
	padding-block: var(--mt-space-7);
}

@media (max-width: 900px) {
	.mt-c1-phases__list,
	.mt-c1-roles__grid,
	.mt-c1-access__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Compass Exclusives page (scoped .mt-cx-*). */
.mt-cx-jump ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mt-space-2) var(--mt-space-5);
	margin: var(--mt-space-6) 0 0;
	padding: 0;
	list-style: none;
}

.mt-cx-jump a {
	color: var(--mt-gold); /* On the dark page hero: 5.6:1. */
	font-weight: var(--mt-weight-strong);
	text-underline-offset: 4px;
}

.mt-cx-section {
	scroll-margin-top: var(--mt-space-5);
}

.mt-cx-section__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: var(--mt-space-7);
	align-items: start;
}

.mt-cx-link {
	display: inline-block;
	margin-top: var(--mt-space-3);
	color: var(--mt-gold-text);
	font-weight: var(--mt-weight-strong);
	text-underline-offset: 4px;
}

.mt-cx-points {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--mt-line);
}

.mt-cx-points li {
	padding: var(--mt-space-4) 0 var(--mt-space-4) var(--mt-space-5);
	border-bottom: 1px solid var(--mt-line);
	position: relative;
}

.mt-cx-points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.55em;
	width: 0.5rem;
	height: 2px;
	background: var(--mt-gold);
}

.mt-cx-cta {
	text-align: center;
}

.moore-team .mt-cx-cta h2,
.moore-team .mt-cx-cta p {
	color: var(--mt-white);
}

@media (max-width: 900px) {
	.mt-cx-section__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--mt-space-5);
	}
}

/* Page content: never let one long heading word (e.g. a large all-caps
   Elementor heading) push the page sideways on phones. Wrapping only. */
.mt-page__content :is(h1, h2, h3, h4) {
	overflow-wrap: break-word;
}

/* WordPress search block (blog sidebar): match the theme's buttons. */
.moore-team button.wp-block-search__button {
	padding: 0.625rem 1.125rem;
	background: var(--mt-black);
	border: 1px solid var(--mt-black);
	border-radius: var(--mt-radius);
	color: var(--mt-white);
	font-family: var(--mt-font-body);
	font-size: var(--mt-fs-sm);
	font-weight: var(--mt-weight-strong);
}

.moore-team button.wp-block-search__button:hover {
	background: var(--mt-gold-hover);
	border-color: var(--mt-gold-hover);
}

/* Moore Luxe Method page (scoped .mt-lx-*). */
.mt-lx-hero,
.mt-lx-phases {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	background: var(--mt-black);
	color: var(--mt-white);
}

.mt-lx-hero__panel,
.mt-lx-phases__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(1.25rem, 1rem + 4vw, 5rem);
}

.mt-lx-hero__media,
.mt-lx-phases__media {
	position: relative;
	min-height: 520px;
}

.mt-lx-hero__media picture,
.mt-lx-phases__media picture,
.mt-lx-phases__media > img {
	position: absolute;
	inset: 0;
}

.mt-lx-cover {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.mt-lx-kicker,
.mt-lx-eyebrow {
	margin: 0 0 var(--mt-space-3);
	font-size: var(--mt-fs-xs);
	font-weight: var(--mt-weight-strong);
	letter-spacing: var(--mt-tracking-caps);
	text-transform: uppercase;
	color: var(--mt-on-dark-muted);
}

.mt-lx-eyebrow {
	color: var(--mt-gold-text);
}

.moore-team .mt-lx-hero h1,
.moore-team .mt-lx-phases h2 {
	color: var(--mt-white);
}

.mt-lx-hero__lead,
.mt-lx-phases__intro {
	max-width: 46ch;
	font-size: var(--mt-fs-md);
	color: var(--mt-on-dark-muted);
}

/* Result */
.mt-lx-result__head {
	max-width: 760px;
	margin: 0 auto var(--mt-space-6);
	text-align: center;
}

.mt-lx-result__claim {
	margin: 0 0 var(--mt-space-3);
	font-size: var(--mt-fs-md);
	font-weight: var(--mt-weight-strong);
	color: var(--mt-gold-text);
}

.mt-lx-result__text {
	color: var(--mt-muted);
}

.mt-lx-result__figure {
	margin: 0;
}

.mt-lx-result__figure img {
	display: block;
	width: 100%;
	height: auto;
}

.mt-lx-result__figure figcaption {
	margin-top: var(--mt-space-3);
	text-align: center;
}

/* 3-phase launch */
.mt-lx-badge {
	align-self: flex-start;
	margin: 0 0 var(--mt-space-4);
	padding: 0.35rem 0.75rem;
	background: var(--mt-gold);
	color: var(--mt-black);
	font-size: var(--mt-fs-xs);
	font-weight: var(--mt-weight-strong);
	letter-spacing: var(--mt-tracking-caps);
	text-transform: uppercase;
}

.mt-lx-phases__card {
	margin: var(--mt-space-5) 0 0;
	padding: clamp(1.25rem, 1rem + 2vw, 2.5rem);
	background: var(--mt-white);
	color: var(--mt-ink);
	list-style: none;
}

.mt-lx-phases__card li {
	padding: var(--mt-space-4) 0;
	border-top: 1px solid var(--mt-black);
}

.mt-lx-phases__card li:last-child {
	border-bottom: 1px solid var(--mt-black);
}

.moore-team .mt-lx-phases__card h3 {
	margin: 0 0 var(--mt-space-2);
	font-size: var(--mt-fs-md);
	color: var(--mt-black);
}

.mt-lx-phases__card p {
	margin: 0;
	max-width: 52ch;
	font-size: var(--mt-fs-sm);
	color: var(--mt-muted);
}

.mt-lx-phases__note {
	margin: var(--mt-space-4) 0 0;
	max-width: 60ch;
	font-size: var(--mt-fs-xs);
	color: var(--mt-on-dark-muted);
}

/* 100+ point plan */
.mt-lx-plan__head {
	max-width: 760px;
	margin-bottom: var(--mt-space-6);
}

.mt-lx-plan__video {
	margin-bottom: var(--mt-space-7);
}

.mt-lx-plan__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--mt-space-6);
}

.mt-lx-plan__group {
	padding-top: var(--mt-space-4);
	border-top: 2px solid var(--mt-black);
}

.moore-team .mt-lx-plan__group h3 {
	font-size: var(--mt-fs-md);
}

.mt-lx-plan__group ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mt-lx-plan__group li {
	padding: var(--mt-space-2) 0;
	border-bottom: 1px solid var(--mt-line);
	font-size: var(--mt-fs-sm);
}

/* Video (Customizer URL) */
.mt-video {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--mt-black);
}

.mt-video iframe,
.mt-video video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Staging */
.mt-lx-staging__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--mt-space-6);
	margin-top: var(--mt-space-6);
}

.mt-lx-staging__card {
	padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	border: 1px solid var(--mt-line);
	border-top: 3px solid var(--mt-gold);
}

.mt-lx-staging__card p {
	margin: 0;
	color: var(--mt-muted);
}

.mt-lx-cta {
	text-align: center;
}

.moore-team .mt-lx-cta h2,
.moore-team .mt-lx-cta p {
	color: var(--mt-white);
}

/* Home: small 3-phase "coming soon" teaser in the Moore Luxe section. */
.mt-luxe__teaser {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--mt-space-2) var(--mt-space-3);
	margin: 0 0 var(--mt-space-5);
	font-size: var(--mt-fs-sm);
	color: var(--mt-on-dark-muted);
}

.mt-luxe__teaser .mt-lx-badge {
	margin: 0;
}

.mt-luxe__teaser a {
	color: var(--mt-white);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: var(--mt-gold);
}

@media (max-width: 1000px) {
	.mt-lx-plan__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 800px) {
	.mt-lx-hero,
	.mt-lx-phases,
	.mt-lx-staging__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.mt-lx-hero__media,
	.mt-lx-phases__media {
		min-height: 300px;
		order: -1;
	}

	.mt-lx-phases__media {
		display: none;
	}
}

@media (max-width: 560px) {
	.mt-lx-plan__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Home: staging services (split before/after photo + black panel). */
.mt-staging__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: var(--mt-space-5);
	align-items: stretch;
}

.mt-staging__media {
	position: relative;
	margin: 0;
	min-height: 100%;
	overflow: hidden;
}

.mt-staging__media picture {
	display: block;
	height: 100%;
}

.mt-staging__media .mt-staging__img {
	display: block;
	width: 100%;
	height: 100% !important;
	min-height: 360px;
	object-fit: cover;
}

.mt-staging__label {
	position: absolute;
	bottom: var(--mt-space-4);
	padding: 0.3rem 0.65rem;
	background: rgba(17, 17, 17, 0.55);
	color: var(--mt-white);
	font-size: var(--mt-fs-sm);
	font-weight: var(--mt-weight-strong);
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.mt-staging__label--before {
	left: var(--mt-space-4);
}

.mt-staging__label--after {
	left: calc(50% + var(--mt-space-4));
}

.mt-staging__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2rem, 1.5rem + 3vw, 4.5rem);
	background: var(--mt-black);
	color: var(--mt-white);
}

.moore-team .mt-staging__panel h2,
.moore-team .mt-staging__panel h3 {
	color: var(--mt-white);
}

.moore-team .mt-staging__panel h2 {
	margin-bottom: var(--mt-space-4);
}

.mt-staging__intro {
	margin: 0 0 var(--mt-space-4);
	color: var(--mt-on-dark-muted);
}

.mt-staging__list {
	margin: 0 0 var(--mt-space-4);
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mt-staging__list li {
	padding: var(--mt-space-4) 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.moore-team .mt-staging__list h3 {
	margin: 0 0 var(--mt-space-1);
	font-size: var(--mt-fs-md);
}

.mt-staging__list h3 span {
	color: var(--mt-gold);
}

.mt-staging__list p {
	margin: 0;
	color: var(--mt-on-dark-muted);
	font-size: var(--mt-fs-sm);
}

.moore-team .mt-staging__note {
	margin: 0 0 var(--mt-space-5);
	font-size: var(--mt-fs-xs);
	color: var(--mt-on-dark-muted);
}

/* White pill button (on dark panels). */
.mt-button--pill {
	align-self: flex-start;
	background: var(--mt-white);
	border-color: var(--mt-white);
	border-radius: 999px;
	color: var(--mt-black) !important;
	padding-inline: 1.75rem;
}

.mt-button--pill:hover {
	background: var(--mt-gold);
	border-color: var(--mt-gold);
	color: var(--mt-black) !important;
}

@media (max-width: 900px) {
	.mt-staging__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.mt-staging__media .mt-staging__img {
		height: auto !important;
		min-height: 0;
		aspect-ratio: 4 / 3;
	}
}

/* 11. Responsive, motion, print ------------------------------------------- */

/* Consultation button shows in the desktop bar only when space permits; it is
   always in the mobile drawer, the hero paths area and the footer. */
@media (min-width: 1201px) and (max-width: 1519px) {
	.mt-nav__cta {
		display: none;
	}
}

@media (max-width: 1300px) {
	.mt-menu {
		gap: 0.25rem 0.875rem;
		font-size: 0.875rem;
	}

	.mt-header__inner {
		gap: var(--mt-space-4);
	}
}

@media (max-width: 1200px) {
	.mt-header__inner {
		flex-wrap: wrap;
	}

	.mt-nav-toggle {
		display: inline-flex;
	}

	.mt-nav {
		display: none;
		flex-basis: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: var(--mt-space-4);
		padding: var(--mt-space-2) 0 var(--mt-space-5);
		border-top: 1px solid var(--mt-line);
	}

	.mt-nav.is-open,
	.mt-no-js .mt-nav {
		display: flex;
	}

	.mt-no-js .mt-nav-toggle {
		display: none;
	}

	.mt-nav .mt-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		font-size: var(--mt-fs-base);
	}

	.mt-nav .mt-menu > .menu-item {
		flex-wrap: wrap;
		justify-content: space-between;
		border-bottom: 1px solid var(--mt-line);
	}

	.mt-nav .mt-menu > .menu-item > a {
		flex: 1;
		padding-block: 0.875rem;
		background-image: none;
	}

	.mt-nav .mt-menu > .menu-item > a[aria-current="page"] {
		font-weight: var(--mt-weight-strong);
	}

	.mt-subtoggle {
		min-width: 44px;
		min-height: 44px;
	}

	.mt-subtoggle--label {
		flex: 1;
		justify-content: space-between;
		padding: 0.875rem 16px 0.875rem 0;
		text-align: left;
	}

	.mt-nav .sub-menu--columns {
		grid-template-columns: 1fr 1fr;
		min-width: 0;
	}

	.mt-nav .sub-menu--columns > li:first-child {
		border-bottom: 0;
		margin-bottom: 0;
	}

	.mt-nav .sub-menu {
		position: static;
		display: none;
		flex-basis: 100%;
		min-width: 0;
		max-height: none;
		padding: 0 0 var(--mt-space-3);
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}

	.mt-nav .menu-item.is-open > .sub-menu,
	.mt-no-js .mt-nav .sub-menu {
		display: block;
	}

	.mt-nav .menu-item.is-open > .sub-menu--columns,
	.mt-no-js .mt-nav .sub-menu--columns {
		display: grid;
	}

	.mt-nav .sub-menu a {
		padding: 0.625rem var(--mt-space-4);
	}

	.mt-nav__cta {
		align-self: flex-start;
	}

	.mt-grid--3 {
		grid-template-columns: 1fr;
	}

	.mt-has-sidebar .mt-layout {
		grid-template-columns: 1fr;
	}

	.mt-footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	.mt-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 900px) {
	.mt-split {
		grid-template-columns: 1fr;
	}

	.mt-split__media img {
		aspect-ratio: 4 / 3;
		height: auto;
	}
}

@media (max-width: 600px) {
	.mt-bar__inner {
		justify-content: center;
		text-align: center;
	}

	.mt-lockup {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--mt-space-2);
	}

	.mt-lockup__rule {
		display: none;
	}

	.mt-brokerage {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0 0.375rem;
		align-items: baseline;
	}

	.mt-brand__name {
		font-size: 1.4375rem;
	}

	.mt-brokerage__logo {
		height: 28px;
	}

	.mt-hero {
		min-height: 560px;
	}

	.mt-actions .mt-button {
		width: 100%;
	}

	.mt-footer__inner {
		grid-template-columns: 1fr;
		gap: var(--mt-space-6);
	}

	.mt-searchform {
		flex-direction: column;
	}

	.mt-prose .alignleft,
	.mt-prose .alignright {
		float: none;
		margin: 1em 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.moore-team *,
	.moore-team *::before,
	.moore-team *::after {
		transition: none !important;
		animation: none !important;
	}
}

@media print {
	.mt-bar,
	.mt-header,
	.mt-footer,
	.mt-nav-toggle {
		display: none !important;
	}
}


/* ==========================================================================
   Block-editor pages on the shared layout (Buying hub, Services, service pages)
   Core Group blocks add an inner wrapper in classic themes; let it pass
   through so .mt-split / .mt-grid / .mt-container layouts work.
   ========================================================================== */
.mt-page .wp-block-group > .wp-block-group__inner-container { display: contents; }
.mt-page .mt-split > .wp-block-group__inner-container > *,
.mt-page .mt-grid > .wp-block-group__inner-container > * { margin-block: 0; }
.mt-page .wp-block-group.mt-section,
.mt-page .wp-block-group.mt-split { margin-block: 0; }
.mt-page .wp-block-image.mt-split__media { margin: 0; min-height: 320px; }
.mt-page .wp-block-image.mt-split__media img { height: 100%; }
.mt-page .mt-split__body .mt-small-heading,
.mt-page .mt-section .mt-small-heading { color: var(--mt-gold-text); }
.mt-area-links { line-height: 2.1; max-width: 70ch; }
.mt-page .mt-disclaimer { margin-top: var(--mt-space-6); color: var(--mt-muted); }
.mt-page #rank-math-faq .rank-math-list-item { padding-block: var(--mt-space-4); border-bottom: 1px solid var(--mt-line); }
.mt-page #rank-math-faq .rank-math-question { margin: 0 0 var(--mt-space-2); }
@media (max-width: 900px) {
	.mt-page .wp-block-image.mt-split__media { min-height: 0; aspect-ratio: 3 / 2; }
}


/* Relentless Gold hover text: keep dark text on the lighter C21 golds for contrast */
.mt-button:hover, .moore-team .wp-block-button__link:hover,
.mt-button--accent:hover { color: var(--mt-black) !important; }


/* Photo cards, photo bands and portrait splits (block-editor pages) */
.mt-page .mt-card--photo { padding: 0 0 var(--mt-space-6); overflow: hidden; }
.mt-page .mt-card--photo > .wp-block-group__inner-container > :not(.wp-block-image) { padding-inline: var(--mt-space-6); }
.mt-page .mt-card--photo .wp-block-image { margin: 0 0 var(--mt-space-5); }
.mt-page .mt-card--photo .wp-block-image img,
.mt-page .mt-photo-grid .wp-block-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.mt-page .mt-card--area { padding-bottom: var(--mt-space-5); }
.mt-page .mt-card--area h3 { margin: 0; }
.mt-page .mt-card--area h3 a { color: var(--mt-black); text-decoration: none; border-bottom: 1px solid var(--mt-gold); }
.mt-page .mt-card--area h3 a:hover { color: var(--mt-gold-text); }
.mt-page .mt-photo-grid .wp-block-image { margin: 0; }
.mt-page .mt-section.mt-photo-band { padding-block: 0 var(--mt-section-y); }
.mt-page .mt-subhead { margin-top: calc(var(--mt-space-6) * 1.5); }
.mt-page .mt-split__media--portrait img { object-position: center 20%; }

.mt-page .wp-block-image.mt-split__media--portrait { display: flex; align-items: center; justify-content: center; padding: var(--mt-section-y) var(--mt-gutter); min-height: 0; aspect-ratio: auto; }
.mt-page .wp-block-image.mt-split__media--portrait img { width: min(420px, 100%); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: center 20%; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--mt-gold), 0 18px 40px rgba(0, 0, 0, 0.12); }


/* Showcase IDX: match CENTURY 21 Relentless Gold (Showcase's own accent is #B38A26) */
html body div[sidx-app] .sidx-primary.sidx-primary,
html body div[sidx-app] .sidx-field.sidx-field,
html body div[sidx-app] .sidx-search-pill.sidx-search-pill,
html body div[sidx-app] .sidx-ribbon.sidx-new-listing { background-color: var(--mt-gold) !important; border-color: var(--mt-gold) !important; color: var(--mt-black) !important; }
html body div[sidx-app] .sidx-primary.sidx-primary *, html body div[sidx-app] .sidx-field.sidx-field *, html body div[sidx-app] .sidx-search-pill.sidx-search-pill * { color: var(--mt-black) !important; }
html body div[sidx-app] .sidx-primary.sidx-primary:hover, html body div[sidx-app] .sidx-field.sidx-field:hover, html body div[sidx-app] .sidx-search-pill.sidx-search-pill:hover { background-color: var(--mt-gold-hover) !important; border-color: var(--mt-gold-hover) !important; }
html body div[sidx-app] .sidx-streamlined-toggle.sidx-streamlined-toggle, html body div[sidx-app] .sidx-streamlined-toggle.sidx-streamlined-toggle *, html body div[sidx-app] .sidx-collapse-button.sidx-collapse-button, html body div[sidx-app] .sidx-collapse-button.sidx-collapse-button * { color: var(--mt-gold-text) !important; border-color: var(--mt-gold) !important; }
html body div[sidx-app] div.sidx-field.sidx-field.sidx-field.sidx-field { background: var(--mt-gold) !important; }
html body div[sidx-app] div.sidx-field.sidx-field.sidx-field.sidx-field:hover { background: var(--mt-gold-hover) !important; }


/* ==========================================================================
   Home: photo path cards under the hero (Buyers / Cash Offer / Sellers)
   ========================================================================== */
.mt-pathcards { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); background: var(--mt-white); }
.mt-pathcards__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 0.5rem + 1.2vw, 1.5rem); align-items: start; padding-top: 60px; }
.mt-pathcard { position: relative; display: block; aspect-ratio: 1 / 1.1; border-radius: 12px; overflow: hidden; color: var(--mt-white); text-decoration: none; isolation: isolate; box-shadow: 0 20px 45px rgba(17, 17, 17, 0.14); }
.mt-pathcard--raised { margin-top: -60px; }
.mt-pathcard__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.mt-pathcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 18, 18, 0.38) 0%, rgba(18, 18, 18, 0.58) 100%); transition: background 0.3s ease; }
.mt-pathcard__body { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(1.25rem, 3vw, 2.25rem); text-align: center; }
.mt-pathcard__eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mt-white); }
.mt-pathcard__eyebrow::before { content: ""; width: 48px; height: 1px; background: var(--mt-gold); }
.mt-pathcards .mt-pathcard__title { margin: 0 0 1rem; font-family: var(--mt-font-display); font-weight: 400; font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.5rem); line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; color: var(--mt-white); }
.mt-pathcard__text { max-width: 30ch; font-size: 1rem; line-height: 1.5; color: var(--mt-white); }
.mt-pathcard__cta { margin-top: 1.5rem; padding-bottom: 3px; border-bottom: 1px solid var(--mt-gold); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mt-white); }
.mt-pathcard:hover .mt-pathcard__img, .mt-pathcard:focus-visible .mt-pathcard__img { transform: scale(1.05); }
.mt-pathcard:hover::after, .mt-pathcard:focus-visible::after { background: linear-gradient(180deg, rgba(18, 18, 18, 0.3) 0%, rgba(18, 18, 18, 0.62) 100%); }
.mt-pathcard:focus-visible { outline: 3px solid var(--mt-gold); outline-offset: 4px; }
@media (max-width: 900px) {
	.mt-pathcards__grid { grid-template-columns: 1fr; padding-top: 0; }
	.mt-pathcard { aspect-ratio: 4 / 3; }
	.mt-pathcard--raised { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .mt-pathcard__img { transition: none; } }


/* Cash Offer page: stat cards, two-column comparison, dark empathy split */
.mt-page .mt-statcards { margin-bottom: var(--mt-space-6); }
.mt-page .mt-statcard { text-align: center; background: var(--mt-black); color: var(--mt-on-dark); border-top-color: var(--mt-gold); }
.mt-page .mt-statcard h3 { color: var(--mt-on-dark); font-size: var(--mt-fs-md); margin: 0 0 var(--mt-space-2); }
.mt-page .mt-statcard p { color: var(--mt-on-dark-muted); margin: 0; }
.mt-page .mt-statcard .mt-statcard__num { font-family: var(--mt-font-display); font-size: clamp(2.5rem, 1.6rem + 2.6vw, 3.75rem); line-height: 1; color: var(--mt-gold); margin: 0 0 var(--mt-space-3); }
.mt-page .mt-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mt-page .mt-section--dark .mt-small-heading { color: var(--mt-gold); }
.mt-page .mt-section--dark p { color: var(--mt-on-dark-muted); }
.mt-page .mt-empathy .mt-split__body p { max-width: 60ch; }
@media (max-width: 900px) { .mt-page .mt-compare { grid-template-columns: 1fr; } }

/* Path cards: beat the kit-guard heading rules and the global img height:auto */
.mt-pathcards img.mt-pathcard__img { width: 100%; height: 100%; max-width: none; }
body.moore-team.moore-team.moore-team .mt-pathcards .mt-pathcard .mt-pathcard__title { margin: 0 0 1rem !important; font-family: var(--mt-font-display) !important; font-weight: 400 !important; font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.5rem) !important; line-height: 1 !important; letter-spacing: 0.01em !important; text-transform: uppercase !important; color: var(--mt-white) !important; }

body.moore-team.moore-team.moore-team .mt-section--dark .mt-small-heading { color: var(--mt-gold) !important; }

/* Home consultation: GHL calendar sits above the "Loading" placeholder (form_embed.js sets inline styles) */
.mt-consult__form .mt-consult__calendar { position: relative !important; z-index: 1 !important; display: block !important; width: 100% !important; min-height: 760px; background: var(--mt-white); }

/* Home tweaks: inline wide path cards + rounded, wider consultation calendar */
.mt-pathcards .mt-pathcards__grid { padding-top: 0; align-items: stretch; }
.mt-pathcards .mt-pathcard, .mt-pathcards .mt-pathcard--raised { margin-top: 0; aspect-ratio: 3 / 2; }
@media (max-width: 900px) { .mt-pathcards .mt-pathcard { aspect-ratio: 16 / 10; } }
.mt-consult.mt-section { padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
.mt-consult .mt-consult__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; }
.mt-consult .mt-consult__form { padding: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.mt-consult .mt-consult__form .mt-consult__calendar { border-radius: 18px; }
.mt-consult .mt-consult__alt { margin-top: 0.75rem; }
@media (max-width: 900px) { .mt-consult .mt-consult__grid { grid-template-columns: 1fr; row-gap: 1.5rem; } }

/* Path cards: wider row, one-line titles */
.mt-pathcards .mt-pathcards__grid.mt-container { max-width: calc(1440px + var(--mt-gutter) * 2); }
body.moore-team.moore-team.moore-team .mt-pathcards .mt-pathcard .mt-pathcard__title { font-size: clamp(1.9rem, 1rem + 1.9vw, 2.75rem) !important; margin-bottom: 0.75rem !important; white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 901px) { body.moore-team.moore-team.moore-team .mt-pathcards .mt-pathcard .mt-pathcard__title { white-space: normal; } .mt-pathcards .mt-pathcard { aspect-ratio: 4 / 3; } }

/* Consult copy stays beside the top of the calendar */
.mt-consult .mt-consult__grid { align-items: start; }
@media (min-width: 901px) { .mt-consult .mt-consult__copy { position: sticky; top: 120px; padding-top: 1.5rem; } }


/* ==========================================================================
   Home hero (Compass-style): left aligned, site heading type, squared tabs
   ========================================================================== */
@media (min-width: 1100px) {
	body.moore-team.moore-team.moore-team .mt-header .mt-menu { gap: clamp(1.25rem, 0.5rem + 1.4vw, 2.25rem); }
}
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover { width: min(720px, 100%); padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__tabs--hero { display: flex; justify-content: flex-start; align-items: flex-end; gap: 4px; margin: 0; border: 0; background: none; }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__tablist { display: flex; }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__tab[hidden] { display: none !important; }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__tab { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.5rem; border: 0; border-radius: 0; font-family: var(--mt-font-body); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; text-transform: none; text-decoration: none; line-height: 1.2; transition: background 0.2s ease; }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__tab--link { background: var(--mt-gold); color: var(--mt-black) !important; }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__tab--link:hover, body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__tab--link:focus-visible { background: var(--mt-gold-hover); }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__tablist .mt-discover__tab { background: var(--mt-white); color: var(--mt-black); }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__panel { margin: 0; padding: 0.75rem 0.75rem 0.5rem; background: var(--mt-white); border: 0; border-radius: 0; box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25); backdrop-filter: none; }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__more { margin: 0.35rem 0 0.25rem; }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__more a { color: var(--mt-black) !important; }
@media (max-width: 700px) {
	body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__tabs--hero { gap: 2px; }
	body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__tab { flex: 1 1 0; padding: 0.75rem 0.4rem; font-size: 0.78rem; }
	body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__tablist { flex: 1 1 0; }
	body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__tablist .mt-discover__tab { width: 100%; }
}

/* Path cards: squared corners, site heading type */
.mt-pathcards .mt-pathcard { border-radius: 0; }
body.moore-team.moore-team.moore-team .mt-pathcards .mt-pathcard .mt-pathcard__title { text-transform: none !important; letter-spacing: 0 !important; }

/* Path cards: bounce up and darken on hover */
.mt-pathcards .mt-pathcard { transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease; }
.mt-pathcards .mt-pathcard:hover, .mt-pathcards .mt-pathcard:focus-visible { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(17, 17, 17, 0.28); }
.mt-pathcards .mt-pathcard:hover::after, .mt-pathcards .mt-pathcard:focus-visible::after { background: linear-gradient(180deg, rgba(18, 18, 18, 0.6) 0%, rgba(18, 18, 18, 0.82) 100%); }
@media (prefers-reduced-motion: reduce) { .mt-pathcards .mt-pathcard:hover, .mt-pathcards .mt-pathcard:focus-visible { transform: none; } }


/* Home listings: horizontal scrolling row */
html body .mt-featured div[sidx-app] .sidx-grid.sidx-grid { display: flex !important; flex-wrap: nowrap !important; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding: 4px 4px 18px; scrollbar-width: thin; scrollbar-color: var(--mt-gold) transparent; }
html body .mt-featured div[sidx-app] .sidx-grid.sidx-grid > * { flex: 0 0 clamp(270px, 24vw, 360px) !important; width: auto !important; max-width: none !important; scroll-snap-align: start; }
html body .mt-featured div[sidx-app] .sidx-grid.sidx-grid > * .sidx-search-result-grid-item { width: 100% !important; }
html body .mt-featured div[sidx-app] .sidx-grid.sidx-grid::-webkit-scrollbar { height: 8px; }
html body .mt-featured div[sidx-app] .sidx-grid.sidx-grid::-webkit-scrollbar-thumb { background: var(--mt-gold); border-radius: 0; }
html body .mt-featured div[sidx-app] .sidx-grid.sidx-grid::-webkit-scrollbar-track { background: var(--mt-line); }

/* Squared consultation calendar to match the rest of the page */
.mt-consult .mt-consult__form, .mt-consult .mt-consult__form .mt-consult__calendar { border-radius: 0; }


/* GHL forms: never leave an inline form hidden by the embed script */
.mt-form-embed iframe { visibility: visible !important; opacity: 1 !important; position: static !important; left: auto !important; pointer-events: auto !important; width: 100% !important; min-height: 720px; }


/* Calendar: never leave hidden by the embed script */
.mt-consult .mt-consult__form iframe { visibility: visible !important; opacity: 1 !important; left: auto !important; pointer-events: auto !important; }


/* Elementor inner pages: split photo fills its half, form embeds */
.mt-el-split > .mt-el-split-media { align-self: stretch; }
.mt-el-split-media > .elementor-widget-image, .mt-el-split-media > .elementor-widget-image > .elementor-widget-container, .mt-el-split-media > .elementor-widget-image a { height: 100%; display: block; }
.mt-el-split-media img { width: 100% !important; height: 100% !important; min-height: 520px; object-fit: cover; display: block; }
@media (max-width: 767px) { .mt-el-split-media img { min-height: 260px; height: 280px !important; } }
.mt-el-card .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-widget-shortcode.mt-form-embed iframe { visibility: visible !important; opacity: 1 !important; position: static !important; left: auto !important; pointer-events: auto !important; width: 100% !important; min-height: 720px; }


/* Hero centered wide v3 */
.mt-header__inner { max-width: 1720px !important; }
.mt-footer .mt-footer__inner, .mt-footer .mt-footer__legal { max-width: 1720px !important; width: 100%; margin-inline: auto; }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-hero__content { max-width: 1180px !important; width: 100%; justify-self: center; display: flex; flex-direction: column; align-items: center; text-align: center !important; }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-hero__content h1 { font-size: clamp(2.5rem, 1.2rem + 4.4vw, 5.5rem) !important; line-height: 1.05 !important; max-width: none !important; text-align: center !important; margin-inline: auto; }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-hero__content h1 br { display: none; }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-hero__text { order: -1; max-width: none !important; margin: 0 0 1.1rem !important; font-family: var(--mt-font-body, Inter, sans-serif) !important; font-size: clamp(0.8rem, 0.7rem + 0.35vw, 1rem) !important; font-weight: 600 !important; letter-spacing: 0.24em; text-transform: uppercase; text-align: center !important; }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover { width: 100%; max-width: 760px !important; margin: clamp(1.5rem, 1rem + 2vw, 3rem) auto 0 !important; }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__tabs--hero { justify-content: center !important; }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__panel { text-align: left; }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-hero__broker { text-align: center !important; width: 100%; }
@media (max-width: 700px) { body.moore-team.moore-team.moore-team .mt-hero--home .mt-hero__text { letter-spacing: 0.14em; } }


/* Hero tabs crisp text */
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover, body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover * { text-shadow: none !important; }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__tab { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }


/* Hero search panel translucent */
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__panel { background: rgba(255, 255, 255, 0.2) !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__panel .mt-hero__search, body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__panel .sidx-container { background: transparent !important; }
body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__more a, body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__panel .sidx-container a { color: #fff !important; }

/* Hero search panel links white */
html body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__panel [sidx-app] a, html body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__panel [sidx-app] a *, html body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__panel [sidx-app] .sidx-collapse-button, html body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__panel [sidx-app] .sidx-collapse-button *, html body.moore-team.moore-team.moore-team .mt-hero--home .mt-discover__panel .mt-discover__more a { color: #fff !important; fill: #fff !important; opacity: 1 !important; }


/* Showcase: no green sale type */
html body div[sidx-app] .sidx-sale-type.sidx-sale-type, html body div[sidx-app] .sidx-sale-type.sidx-for-sale, html body [sidx-app] .sidx-for-sale.sidx-for-sale { color: #776a48 !important; }


/* Listing ribbon black, browse button gold */
html body div[sidx-app] .sidx-ribbon.sidx-ribbon, html body div[sidx-app] .sidx-ribbon.sidx-ribbon * { background-color: #111 !important; color: #beaf87 !important; }
body.moore-team.moore-team.moore-team .mt-featured .mt-section-head .mt-button { background: #beaf87 !important; border-color: #beaf87 !important; color: #111 !important; }
body.moore-team.moore-team.moore-team .mt-featured .mt-section-head .mt-button:hover, body.moore-team.moore-team.moore-team .mt-featured .mt-section-head .mt-button:focus-visible { background: #111 !important; border-color: #111 !important; color: #fff !important; }


/* Showcase See All Results button */
html body div[sidx-app] button.sidx-hotsheet-see-all-results.sidx-hotsheet-see-all-results { background: #beaf87 !important; border: 1px solid #beaf87 !important; color: #111 !important; border-radius: 0 !important; padding: 14px 30px !important; font-weight: 600 !important; box-shadow: none !important; cursor: pointer; }
html body div[sidx-app] button.sidx-hotsheet-see-all-results.sidx-hotsheet-see-all-results:hover, html body div[sidx-app] button.sidx-hotsheet-see-all-results.sidx-hotsheet-see-all-results:focus-visible { background: #111 !important; border-color: #111 !important; color: #fff !important; }


/* Consult: team photos + calendar popup */
.mt-consult .mt-consult__team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mt-consult .mt-consult__team img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: 0; }
.mt-consult .mt-consult__team video, .mt-consult .mt-consult__team iframe { grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; display: block; }
dialog.mt-cal-dialog { width: min(980px, 94vw); height: min(880px, 90vh); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 0; background: #fff; overflow: hidden; }
dialog.mt-cal-dialog::backdrop { background: rgba(0, 0, 0, 0.72); }
dialog.mt-cal-dialog .mt-cal-dialog__body { width: 100%; height: 100%; overflow: auto; -webkit-overflow-scrolling: touch; }
dialog.mt-cal-dialog iframe { width: 100% !important; min-height: 100%; height: 1400px; border: 0; display: block; visibility: visible !important; opacity: 1 !important; position: static !important; }
dialog.mt-cal-dialog .mt-cal-dialog__close { position: absolute; top: 8px; right: 10px; z-index: 2; width: 40px; height: 40px; border: 0; background: #111; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
dialog.mt-cal-dialog .mt-cal-dialog__close:hover { background: #beaf87; color: #111; }


/* Consult: vertical video */
.mt-consult .mt-consult__team video.mt-consult__video { grid-column: 1 / -1; justify-self: center; width: min(380px, 100%); aspect-ratio: 3 / 5; height: auto; object-fit: cover; background: #111; border: 0; display: block; }


/* Consult: centered text only */
.mt-consult .mt-consult__grid--text { display: block; text-align: center; }
.mt-consult .mt-consult__grid--text .mt-consult__copy { max-width: 760px; margin-inline: auto; text-align: center; }
.mt-consult .mt-consult__grid--text .mt-lede { margin-inline: auto; }
.mt-consult .mt-consult__grid--text .mt-actions { justify-content: center; }


/* Consult: Instagram feed */
.mt-consult .mt-consult__feed { position: relative; z-index: 1; margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); text-align: center; }
.mt-consult .mt-consult__feed-title { margin: 0 0 1.25rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.mt-consult .mt-consult__feed-title a { color: #beaf87; text-decoration: none; }
.mt-consult .mt-consult__feed-title a:hover { color: #fff; }
