/*
Theme Name: MTM B2B Masterbatch
Template: mtm-b2b
Description: Masterbatch-focused child theme for the MTM B2B block theme.
Version: 0.9.9
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: mtm-b2b-masterbatch
*/

.mtm-guide-hero {
	border: 1px solid var(--wp--preset--color--line);
}

header.wp-block-template-part {
	position: sticky !important;
	top: 0;
	z-index: 99;
	background: var(--wp--preset--color--white);
}

.mtm-guide-hero .wp-block-post-title {
	max-width: 900px;
}

.mtm-guide-summary {
	max-width: 820px;
}

.mtm-guide-content > * {
	max-width: 780px;
}

.mtm-guide-content .wp-block-table {
	max-width: 100%;
	overflow-x: auto;
}

.mtm-guide-aside {
	position: sticky;
	top: 8rem;
}

.mtm-faq-hero {
	border: 1px solid var(--wp--preset--color--line);
}

.mtm-faq-hero .wp-block-post-title {
	max-width: 900px;
}

.mtm-faq-summary {
	max-width: 820px;
}

.mtm-faq-content h3 {
	margin-top: 1.75rem;
}

.mtm-guides-hero {
	border: 1px solid var(--wp--preset--color--line);
}

.mtm-guides-hero .wp-block-post-title {
	max-width: 900px;
}

.mtm-guides-summary {
	max-width: 820px;
}

.mtm-guides-content .wp-block-table {
	max-width: 100%;
	overflow-x: auto;
}

.mtm-quote-hero {
	border: 1px solid var(--wp--preset--color--line);
}

.mtm-privacy-hero {
	border: 1px solid var(--wp--preset--color--line);
}

.mtm-privacy-summary {
	max-width: 820px;
}

.mtm-privacy-content h2 {
	margin-top: 2rem;
}

.mtm-privacy-content h2:first-child {
	margin-top: 0;
}

.mtm-quote-hero .wp-block-post-title {
	max-width: 900px;
}

.mtm-quote-summary {
	max-width: 820px;
}

.mtm-quote-content .wp-block-table {
	max-width: 100%;
	overflow-x: auto;
}

/* About / Quality page styles live in assets/css/about-field-manual.css. */
.mtm-quote-media .wp-block-image {
	margin: 0;
}

.mtm-quote-media img {
	width: 100%;
	height: clamp(11rem, 20vw, 14rem);
	object-fit: cover;
	border-radius: 0.5rem;
}

.mtm-quote-media figcaption {
	margin-top: 0.5rem;
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.7;
}

/* RFQ intake form (rendered by [mb_rfq_form], processed by the RFQ MU Plugin). */
.mtm-rfq-form__notice {
	margin-bottom: 1rem;
	padding: 0.9rem 1rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 0.5rem;
	background: var(--wp--preset--color--white);
}

.mtm-rfq-form__notice p {
	margin: 0;
}

.mtm-rfq-form__notice--success {
	border-left: 4px solid #2f6f4e;
}

.mtm-rfq-form__notice--error {
	border-left: 4px solid #a33a32;
}

.mtm-rfq-form {
	padding: var(--wp--preset--spacing--m);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 0.5rem;
	background: var(--wp--preset--color--paper);
}

.mtm-rfq-form__honeypot {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.mtm-rfq-form__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.mtm-rfq-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.mtm-rfq-form__field--full {
	grid-column: 1 / -1;
}

.mtm-rfq-form__field label {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.mtm-rfq-form__req {
	color: var(--wp--preset--color--brass);
}

.mtm-rfq-form__field input,
.mtm-rfq-form__field select,
.mtm-rfq-form__field textarea {
	width: 100%;
	padding: 0.6rem 0.7rem;
	font: inherit;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 0.35rem;
	background: var(--wp--preset--color--white);
}

.mtm-rfq-form__field textarea {
	resize: vertical;
}

.mtm-rfq-form__consent {
	margin-top: 1rem;
}

.mtm-rfq-form__consent label {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
}

.mtm-rfq-form__consent input {
	width: auto;
	margin-top: 0.2rem;
}

.mtm-rfq-form__note {
	margin: 1rem 0 0;
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.75;
}

.mtm-rfq-form__actions {
	margin-top: 1rem;
}

.mtm-rfq-form__submit {
	padding: 0.7rem 1.8rem;
	font: inherit;
	font-weight: 700;
	color: var(--wp--preset--color--paper);
	cursor: pointer;
	background: var(--wp--preset--color--ink);
	border: none;
	border-radius: 0.35rem;
}

.mtm-rfq-form__submit:hover {
	background: var(--wp--preset--color--steel);
}

@media (max-width: 640px) {
	.mtm-rfq-form__grid {
		grid-template-columns: 1fr;
	}
}

.mtm-guide-media {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-top: var(--wp--preset--spacing--m);
}

.mtm-guide-media__item {
	margin: 0;
}

.mtm-guide-media__item img {
	width: 100%;
	height: clamp(11rem, 20vw, 14rem);
	object-fit: cover;
	border-radius: 0.5rem;
}

.mtm-guide-media__item figcaption {
	margin-top: 0.5rem;
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.7;
}

@media (max-width: 640px) {
	.mtm-guide-media {
		grid-template-columns: 1fr;
	}
}

.mtm-docs-hero {
	border: 1px solid var(--wp--preset--color--line);
}

.mtm-docs-hero .wp-block-post-title {
	max-width: 900px;
}

.mtm-docs-summary {
	max-width: 820px;
}

.mtm-docs-content .wp-block-table {
	max-width: 100%;
	overflow-x: auto;
}

.mtm-home {
	overflow: hidden;
	background: var(--wp--preset--color--white);
}

.mtm-home-shell {
	max-width: 1120px;
	margin-right: auto;
	margin-left: auto;
	padding-right: clamp(1.25rem, 4vw, 3rem);
	padding-left: clamp(1.25rem, 4vw, 3rem);
}

.mtm-home-section {
	padding-top: clamp(4.5rem, 8vw, 7.5rem);
	padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
}

.mtm-home-section-heading {
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.mtm-home-section-heading h2 {
	max-width: 800px;
	margin-top: 0.45rem;
	margin-bottom: 1rem;
	font-size: clamp(2rem, 4vw, 3.35rem);
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.mtm-home-section-heading > p:last-child {
	max-width: 680px;
	font-size: clamp(1rem, 1.4vw, 1.15rem);
	line-height: 1.7;
}

.mtm-home-section-heading--center {
	text-align: center;
}

.mtm-home-section-heading--center h2,
.mtm-home-section-heading--center > p:last-child {
	margin-left: auto;
	margin-right: auto;
}

.mtm-home-hero {
	position: relative;
	padding-top: clamp(4.5rem, 8vw, 7.5rem);
	padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
	color: var(--wp--preset--color--white);
	background:
		radial-gradient(circle at 18% 14%, rgba(197, 149, 71, 0.2), transparent 34%),
		radial-gradient(circle at 92% 78%, rgba(90, 106, 112, 0.36), transparent 38%),
		linear-gradient(135deg, #101c23 0%, #1b2c35 58%, #22343b 100%);
}

.mtm-home-hero::after {
	position: absolute;
	inset: 0;
	pointer-events: none;
	content: "";
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 88%);
}

.mtm-home-hero__grid {
	position: relative;
	z-index: 1;
	display: grid !important;
	max-width: 1240px;
	grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
	align-items: center;
	gap: clamp(2.5rem, 5vw, 4rem);
}

.mtm-home-hero__grid > .wp-block-column {
	width: 100% !important;
	min-width: 0;
	flex-basis: auto !important;
}

.mtm-home-hero__copy {
	max-width: 650px;
}

.mtm-home-hero__eyebrow,
.mtm-home-hero .mtm-eyebrow {
	color: var(--wp--preset--color--brass);
}

.mtm-home-hero__title {
	max-width: 760px;
	margin-top: 0.6rem;
	margin-bottom: 1.4rem;
	font-size: clamp(2.65rem, 4.2vw, 3.9rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

.mtm-home-hero__summary {
	max-width: 680px;
	margin-bottom: 1.8rem;
	color: #e3e1da;
	font-size: clamp(1rem, 1.4vw, 1.2rem);
	line-height: 1.72;
}

.mtm-home-hero__actions {
	margin-bottom: 1.25rem;
	gap: 0.8rem;
}

.mtm-home-hero__actions .wp-block-button__link {
	min-height: 3rem;
	padding: 0.85rem 1.25rem;
	font-weight: 700;
}

.mtm-home-button-light .wp-block-button__link {
	color: var(--wp--preset--color--white);
	border-color: rgba(255, 255, 255, 0.58);
}

.mtm-home-button-light .wp-block-button__link:hover,
.mtm-home-button-light .wp-block-button__link:focus-visible {
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--white);
}

.mtm-home-hero__note {
	margin-bottom: 0;
	color: #b9c0c0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
}

.mtm-home-hero-photo {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 1.15rem;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.mtm-home-hero-photo::after {
	position: absolute;
	inset: 0;
	pointer-events: none;
	content: "";
	background: linear-gradient(
		to top,
		rgba(7, 16, 20, 0.72) 0%,
		rgba(7, 16, 20, 0.06) 48%,
		transparent 72%
	);
}

.mtm-home-hero-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center;
}

.mtm-home-hero-photo .wp-element-caption {
	position: absolute;
	right: 1.2rem;
	bottom: 1rem;
	left: 1.2rem;
	z-index: 1;
	margin: 0;
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mtm-home-material-board {
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 1.15rem;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
	transform: rotate(1.2deg);
}

.mtm-home-material-board h2 {
	max-width: 380px;
	margin-top: 0.5rem;
	margin-bottom: 1.3rem;
	color: var(--wp--preset--color--white);
	font-size: clamp(1.45rem, 2.6vw, 2rem);
	line-height: 1.1;
}

.mtm-home-material-list {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mtm-home-material-row {
	align-items: center;
	padding-top: 0.9rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	gap: 0.9rem;
}

.mtm-home-swatch {
	flex: 0 0 2.7rem;
	width: 2.7rem;
	height: 2.7rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
}

.mtm-home-swatch--black {
	background:
		radial-gradient(circle at 34% 28%, #676a69 0 4%, transparent 5%),
		radial-gradient(circle at 64% 68%, #313635 0 5%, transparent 6%),
		#111817;
}

.mtm-home-swatch--white {
	background:
		radial-gradient(circle at 34% 28%, #ffffff 0 6%, transparent 7%),
		#eae8e1;
}

.mtm-home-swatch--color {
	background:
		radial-gradient(circle at 26% 30%, #f5d35d 0 16%, transparent 17%),
		radial-gradient(circle at 72% 32%, #e07f47 0 18%, transparent 19%),
		radial-gradient(circle at 42% 76%, #3c8e8d 0 22%, transparent 23%),
		#b74c55;
}

.mtm-home-material-label {
	min-width: 0;
}

.mtm-home-material-label p {
	margin: 0;
}

.mtm-home-material-name {
	color: var(--wp--preset--color--white);
	font-weight: 700;
	line-height: 1.2;
}

.mtm-home-material-detail {
	color: #b7c0c0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.4;
}

.mtm-home-material-footer {
	margin-top: 1.15rem;
	margin-bottom: 0;
	color: var(--wp--preset--color--brass);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.mtm-home-card-grid,
.mtm-home-process-grid,
.mtm-home-resource-grid {
	gap: 1rem;
}

.mtm-home-card {
	height: 100%;
	padding: 1.5rem;
	overflow: hidden;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 1rem;
}

.mtm-home-card::before {
	display: block;
	width: 3.2rem;
	height: 0.35rem;
	margin-bottom: 1.4rem;
	border-radius: 999px;
	content: "";
	background: var(--wp--preset--color--brass);
}

.mtm-home-card--black::before {
	background: #111817;
}

.mtm-home-card--white::before {
	background: #e5e1d7;
	box-shadow: inset 0 0 0 1px #cbc4b7;
}

.mtm-home-card--color::before {
	background: linear-gradient(90deg, #d65d4f, #e7b64f, #6d9f83);
}

.mtm-home-card h3,
.mtm-home-context-card h3,
.mtm-home-process-step h3,
.mtm-home-resource-card h3 {
	margin-top: 0.55rem;
	margin-bottom: 0.75rem;
	font-size: clamp(1.25rem, 2vw, 1.6rem);
	line-height: 1.2;
}

.mtm-home-card p:last-child,
.mtm-home-context-card p:last-child,
.mtm-home-resource-card p:last-child {
	margin-bottom: 0;
}

.mtm-home-card-link {
	margin-top: 1.4rem;
}

.mtm-home-card-link a,
.mtm-home-about__link a {
	font-weight: 700;
	text-underline-offset: 0.2em;
}

.mtm-home-applications {
	border-top: 1px solid var(--wp--preset--color--line);
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.mtm-home-context-card {
	height: 100%;
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(29, 43, 50, 0.13);
	border-radius: 1rem;
}

.mtm-home-context-number,
.mtm-home-resource-card__index {
	margin-bottom: 1.8rem;
	color: var(--wp--preset--color--brass);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 700;
	letter-spacing: 0.1em;
}

.mtm-home-process {
	background:
		linear-gradient(90deg, rgba(197, 149, 71, 0.08) 1px, transparent 1px),
		linear-gradient(rgba(197, 149, 71, 0.08) 1px, transparent 1px),
		var(--wp--preset--color--white);
	background-size: 36px 36px;
}

.mtm-home-process-step {
	position: relative;
	min-height: 13rem;
	padding: 1.4rem 1.25rem;
	background: var(--wp--preset--color--white);
	border-top: 3px solid var(--wp--preset--color--ink);
}

.mtm-home-step-number {
	display: grid;
	width: 2.4rem;
	height: 2.4rem;
	margin-bottom: 1.5rem;
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	line-height: 1;
	place-items: center;
	background: var(--wp--preset--color--ink);
	border-radius: 50%;
}

.mtm-home-process-step p:last-child {
	margin-bottom: 0;
}

.mtm-home-documents {
	position: relative;
	overflow: hidden;
}

.mtm-home-documents::before {
	position: absolute;
	top: -8rem;
	right: -7rem;
	width: 26rem;
	height: 26rem;
	pointer-events: none;
	content: "";
	border: 1px solid rgba(197, 149, 71, 0.3);
	border-radius: 50%;
	box-shadow:
		0 0 0 3rem rgba(197, 149, 71, 0.04),
		0 0 0 7rem rgba(197, 149, 71, 0.025);
}

.mtm-home-documents__grid {
	position: relative;
	z-index: 1;
	align-items: center;
	gap: clamp(2.5rem, 6vw, 5rem);
}

.mtm-home-documents h2 {
	max-width: 670px;
	margin-top: 0.55rem;
	margin-bottom: 1.15rem;
	color: var(--wp--preset--color--white);
	font-size: clamp(2rem, 4vw, 3.35rem);
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.mtm-home-documents .mtm-eyebrow {
	color: var(--wp--preset--color--brass);
}

.mtm-home-documents p {
	color: #c9cfcd;
}

.mtm-home-documents .wp-block-button__link {
	padding: 0.85rem 1.2rem;
	font-weight: 700;
}

.mtm-home-document-panel {
	padding: clamp(1.3rem, 3vw, 2rem);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.045);
}

.mtm-home-document-panel__label {
	margin-bottom: 1rem;
	color: var(--wp--preset--color--white) !important;
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mtm-home-document-types {
	margin-bottom: 1.35rem;
	gap: 0.5rem;
}

.mtm-home-document-types p {
	margin: 0;
}

.mtm-home-document-type {
	padding: 0.55rem 0.75rem;
	color: var(--wp--preset--color--white) !important;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
}

.mtm-home-document-caption {
	margin-bottom: 0 !important;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.6;
}

.mtm-home-about__grid {
	align-items: center;
	gap: clamp(2.5rem, 7vw, 6rem);
}

.mtm-home-about-gallery {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	gap: 1rem;
}

.mtm-home-about-gallery .wp-block-column {
	flex-basis: 0;
	flex-grow: 1;
}

.mtm-home-about-photo {
	position: relative;
	height: 100%;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 1rem;
}

.mtm-home-about-photo::after {
	position: absolute;
	inset: 0;
	pointer-events: none;
	content: "";
	background: linear-gradient(
		to top,
		rgba(7, 16, 20, 0.75) 0%,
		rgba(7, 16, 20, 0.04) 52%,
		transparent 75%
	);
}

.mtm-home-about-photo img {
	display: block;
	width: 100%;
	height: 18rem;
	object-fit: cover;
}

.mtm-home-about-photo .wp-element-caption {
	position: absolute;
	right: 1rem;
	bottom: 0.8rem;
	left: 1rem;
	z-index: 1;
	margin: 0;
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
}

.mtm-home-about h2 {
	margin-top: 0.55rem;
	margin-bottom: 1rem;
	font-size: clamp(2rem, 4vw, 3.35rem);
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.mtm-home-principles {
	border-top: 1px solid var(--wp--preset--color--line);
}

.mtm-home-principle {
	align-items: center;
	padding-top: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
	gap: 1rem;
}

.mtm-home-principle p {
	margin: 0;
}

.mtm-home-principle__mark {
	flex: 0 0 2.5rem;
	color: var(--wp--preset--color--brass);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.08em;
}

.mtm-home-resources {
	border-top: 1px solid var(--wp--preset--color--line);
}

.mtm-home-faq {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding-top: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid var(--wp--preset--color--line);
}

.mtm-home-faq h2 {
	max-width: 760px;
	margin-top: 0.45rem;
	margin-bottom: 1.5rem;
	font-size: clamp(1.8rem, 3vw, 2.65rem);
	line-height: 1.1;
	letter-spacing: -0.025em;
}

.mtm-home-faq__item {
	padding-top: 1.1rem;
	padding-bottom: 1.1rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.mtm-home-faq__item h3 {
	margin-top: 0;
	margin-bottom: 0.55rem;
	font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.mtm-home-faq__item p:last-child {
	max-width: 780px;
	margin-bottom: 0;
}

.mtm-home-resources__intro {
	align-items: flex-end;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.mtm-home-resource-card {
	height: 100%;
	padding: 1.4rem;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
}

.mtm-home-resource-card__index {
	margin-bottom: 2.8rem;
}

.mtm-home-final-cta {
	padding-top: clamp(3rem, 6vw, 5rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
}

.mtm-home-final-cta__panel {
	position: relative;
	padding: clamp(2rem, 6vw, 4.5rem);
	overflow: hidden;
	border-radius: 1.25rem;
}

.mtm-home-final-cta__panel::after {
	position: absolute;
	top: -9rem;
	right: -5rem;
	width: 26rem;
	height: 26rem;
	pointer-events: none;
	content: "";
	border: 1px solid rgba(16, 28, 35, 0.18);
	border-radius: 50%;
	box-shadow:
		0 0 0 3.5rem rgba(16, 28, 35, 0.045),
		0 0 0 8rem rgba(16, 28, 35, 0.025);
}

.mtm-home-final-cta__copy,
.mtm-home-final-cta__actions {
	position: relative;
	z-index: 1;
}

.mtm-home-final-cta .mtm-eyebrow {
	color: rgba(16, 28, 35, 0.7);
}

.mtm-home-final-cta h2 {
	max-width: 820px;
	margin-top: 0.5rem;
	margin-bottom: 1rem;
	font-size: clamp(2rem, 4vw, 3.45rem);
	line-height: 1.04;
	letter-spacing: -0.04em;
	text-wrap: balance;
}

.mtm-home-final-cta__copy > p:last-child {
	max-width: 700px;
	margin-bottom: 1.7rem;
}

.mtm-home-final-cta__actions {
	gap: 0.75rem;
}

.mtm-home-final-cta__actions .wp-block-button__link {
	min-height: 3rem;
	padding: 0.85rem 1.2rem;
	font-weight: 700;
}

.mtm-home-button-dark .wp-block-button__link {
	color: var(--wp--preset--color--ink);
	border-color: rgba(16, 28, 35, 0.56);
}

.mtm-home-button-dark .wp-block-button__link:hover,
.mtm-home-button-dark .wp-block-button__link:focus-visible {
	color: var(--wp--preset--color--brass);
	background: var(--wp--preset--color--ink);
	border-color: var(--wp--preset--color--ink);
}

.mtm-footer-legal {
	row-gap: 0.5rem;
}

.mtm-footer-title {
	margin: 0 0 0.9rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--white);
}

.mtm-footer-brand > * + * {
	margin-top: 0.9rem;
}

footer a {
	color: var(--wp--preset--color--mist);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

footer a:hover,
footer a:focus-visible {
	color: var(--wp--preset--color--brass);
}

footer .wp-block-site-title a {
	color: var(--wp--preset--color--white);
}

footer a:focus-visible {
	outline: 2px solid var(--wp--preset--color--brass);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
	.mtm-home-card,
	.mtm-home-context-card,
	.mtm-home-resource-card {
		transition:
			transform 180ms ease,
			box-shadow 180ms ease,
			border-color 180ms ease;
	}

	.mtm-home-card:hover,
	.mtm-home-context-card:hover,
	.mtm-home-resource-card:hover {
		transform: translateY(-3px);
		box-shadow: 0 14px 36px rgba(16, 28, 35, 0.08);
	}
}

@media (max-width: 781px) {
	.mtm-header-main {
		padding-top: 0.65rem !important;
		padding-right: 1rem !important;
		padding-bottom: 0.65rem !important;
		padding-left: 1rem !important;
		gap: 0.75rem !important;
	}

	.mtm-guide-aside {
		position: static;
	}

	.mtm-home-section {
		padding-top: 3.75rem;
		padding-bottom: 3.75rem;
	}

	.mtm-home-hero {
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}

	.mtm-home-hero__grid,
	.mtm-home-documents__grid,
	.mtm-home-about__grid {
		flex-direction: column;
		gap: 2.5rem;
	}

	.mtm-home-hero__grid {
		display: flex !important;
	}

	.mtm-home-hero__grid > .wp-block-column,
	.mtm-home-documents__grid > .wp-block-column,
	.mtm-home-about__grid > .wp-block-column {
		width: 100% !important;
		flex-basis: auto !important;
	}

	.mtm-home-hero__title {
		font-size: clamp(2.55rem, 13vw, 4rem);
	}

	.mtm-home-material-board {
		transform: none;
	}

	.mtm-home-hero-photo img {
		aspect-ratio: 4 / 3;
	}

	.mtm-home-card-grid,
	.mtm-home-process-grid,
	.mtm-home-resource-grid {
		flex-direction: column;
	}

	.mtm-home-card-grid > .wp-block-column,
	.mtm-home-process-grid > .wp-block-column,
	.mtm-home-resource-grid > .wp-block-column {
		width: 100% !important;
		flex-basis: auto !important;
	}

	.mtm-home-process-step {
		min-height: 0;
	}

	.mtm-home-resources__intro {
		flex-direction: column;
		align-items: flex-start;
	}

	.mtm-home-resources__intro > .wp-block-column {
		width: 100% !important;
		flex-basis: auto !important;
	}

	.mtm-home-resources__intro .wp-block-buttons {
		justify-content: flex-start;
	}

	.mtm-home-final-cta__panel {
		border-radius: 0.85rem;
	}

	.mtm-home-about-gallery {
		flex-direction: column;
	}

	.mtm-home-about-gallery > .wp-block-column {
		width: 100% !important;
		flex-basis: auto !important;
	}

	.mtm-home-about-photo img {
		height: 15rem;
	}

}

/* --- Homepage layout variants: dark product cards, hero inset, application rows, About feature --- */

.mtm-home-card--dark {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.16);
}

.mtm-home-card--dark h3 {
	color: var(--wp--preset--color--white);
}

.mtm-home-card--dark p {
	color: var(--wp--preset--color--mist);
}

.mtm-home-card--dark .mtm-home-card-link a {
	color: var(--wp--preset--color--brass);
}

.mtm-home-hero-stack {
	position: relative;
	padding-bottom: 3.5rem;
}

.mtm-home-hero-stack .mtm-home-hero-photo img {
	aspect-ratio: 4 / 3;
}

.mtm-home-hero-photo-inset {
	position: absolute;
	bottom: 0;
	right: -1.25rem;
	z-index: 2;
	width: 40%;
	max-width: 185px;
	margin: 0;
	overflow: hidden;
	background: var(--wp--preset--color--white);
	border: 4px solid var(--wp--preset--color--white);
	border-radius: 0.9rem;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.mtm-home-hero-photo-inset img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.mtm-home-hero-photo-inset .wp-element-caption {
	display: none;
}

.mtm-home-app-list {
	display: flex;
	flex-direction: column;
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
	border-top: 1px solid var(--wp--preset--color--line);
}

.mtm-home-app-row {
	gap: 1.25rem;
	padding: 1.4rem 0.5rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.mtm-home-app-row__number {
	min-width: 2.5rem;
	margin: 0;
	color: var(--wp--preset--color--brass);
	font-weight: 700;
}

.mtm-home-app-row__title {
	flex: 0 0 auto;
	width: 260px;
	margin: 0;
	font-size: clamp(1.15rem, 1.6vw, 1.4rem);
}

.mtm-home-app-row__desc {
	flex: 1 1 auto;
	margin: 0;
}

.mtm-home-about__feature-grid {
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

.mtm-home-about__feature {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 1rem;
}

.mtm-home-about__feature img {
	display: block;
	width: 100%;
	height: clamp(14rem, 24vw, 20rem);
	object-fit: cover;
}

@media (max-width: 781px) {
	.mtm-home-hero-stack {
		padding-bottom: 2.5rem;
	}

	.mtm-home-hero-photo-inset {
		right: -0.5rem;
		max-width: 140px;
	}

	.mtm-home-app-row {
		flex-wrap: wrap;
	}

	.mtm-home-app-row__title {
		width: auto;
		flex: 1 1 auto;
	}

	.mtm-home-about__feature img {
		height: clamp(12rem, 60vw, 16rem);
	}
}

/* Material Lab tonal continuity and mobile refinement */

.mtm-home .mtm-home-applications {
	color: var(--mtm-lab-ink);
	background: #f2eee6 !important;
	border-color: var(--mtm-lab-line);
}

.mtm-home .mtm-home-process {
	background:
		linear-gradient(90deg, rgba(18, 33, 39, 0.045) 1px, transparent 1px),
		linear-gradient(rgba(18, 33, 39, 0.045) 1px, transparent 1px),
		#ebe5da;
	background-size: 36px 36px;
}

.mtm-home .mtm-home-documents {
	color: var(--mtm-lab-ink);
	background:
		linear-gradient(90deg, rgba(18, 33, 39, 0.045) 1px, transparent 1px),
		linear-gradient(rgba(18, 33, 39, 0.045) 1px, transparent 1px),
		#e4ddd1;
	background-size: 40px 40px;
	border-top: 1px solid var(--mtm-lab-line);
	border-bottom: 1px solid var(--mtm-lab-line);
}

.mtm-home .mtm-home-about {
	background: #f2eee6;
}

.mtm-home .mtm-home-resources {
	background: #eee8de !important;
	border-top: 1px solid var(--mtm-lab-line);
}

.mtm-home .mtm-home-final-cta {
	background: #eee8de;
}

.mtm-home .mtm-home-process-step {
	background: rgba(255, 255, 255, 0.35);
}

@media (max-width: 781px) {
	.mtm-home .mtm-home-section {
		padding-top: 3.25rem;
		padding-bottom: 3.25rem;
	}

	.mtm-home .mtm-home-hero {
		padding-bottom: 2.5rem;
	}

	.mtm-home .mtm-home-hero-stack {
		padding-bottom: 4.5rem;
	}

	.mtm-home .mtm-home-hero-photo-inset {
		display: none;
	}

	.mtm-home .mtm-home-hero-photo img {
		aspect-ratio: 5 / 4;
	}

	.mtm-home .mtm-home-hero__spec,
	.mtm-home .mtm-home-hero__spec + .mtm-home-hero__spec {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 1rem;
		padding: 0.68rem 0;
	}

	.mtm-home .mtm-home-hero__spec span {
		margin-bottom: 0;
	}

	.mtm-home .mtm-home-hero__spec strong {
		text-align: right;
	}

	.mtm-home .mtm-home-hero-tech {
		right: 0.75rem;
		bottom: 0.75rem;
		left: 0.75rem;
	}

	.mtm-home .mtm-home-products .mtm-home-card {
		display: grid;
		grid-template-columns: minmax(0, 1.15fr) minmax(118px, 0.85fr);
		column-gap: 1rem;
		row-gap: 0.65rem;
		align-items: start;
	}

	.mtm-home .mtm-home-products .mtm-home-card::before {
		grid-column: 1;
		grid-row: 1;
		margin-bottom: 0;
	}

	.mtm-home .mtm-home-products .mtm-home-card .mtm-eyebrow {
		grid-column: 1;
		grid-row: 2;
	}

	.mtm-home .mtm-home-product-thumb {
		grid-column: 2;
		grid-row: 1 / span 3;
		margin: 0;
		aspect-ratio: 4 / 5;
	}

	.mtm-home .mtm-home-products .mtm-home-card h3 {
		grid-column: 1;
		grid-row: 3;
		max-width: none;
		margin-top: 0;
	}

	.mtm-home .mtm-home-products .mtm-home-card p:not(.mtm-eyebrow):not(.mtm-home-card-link) {
		grid-column: 1 / -1;
		grid-row: 4;
		max-width: none;
	}

	.mtm-home .mtm-home-spec-tags {
		grid-column: 1 / -1;
		grid-row: 5;
		margin-top: 0;
	}

	.mtm-home .mtm-home-products .mtm-home-card-link {
		grid-column: 1 / -1;
		grid-row: 6;
		padding-top: 0.5rem;
	}

	.mtm-home .mtm-home-process-grid {
		display: block !important;
		border: 0;
	}

	.mtm-home .mtm-home-process-grid > .wp-block-column {
		display: block;
	}

	.mtm-home .mtm-home-process-step {
		position: relative;
		padding: 0 0 2.15rem 3.6rem;
		background: transparent;
		border: 0;
	}

	.mtm-home .mtm-home-process-step::before {
		position: absolute;
		top: 2.55rem;
		bottom: 0;
		left: 1.27rem;
		width: 1px;
		content: "";
		background: var(--mtm-lab-line);
	}

	.mtm-home .mtm-home-process-grid > .wp-block-column:last-child .mtm-home-process-step {
		padding-bottom: 0;
	}

	.mtm-home .mtm-home-process-grid > .wp-block-column:last-child .mtm-home-process-step::before {
		display: none;
	}

	.mtm-home .mtm-home-step-number {
		position: absolute;
		top: 0;
		left: 0;
		margin: 0;
		background: #ebe5da;
	}

	.mtm-home .mtm-home-about-gallery {
		display: flex !important;
		margin-right: -1.25rem;
		padding-right: 1.25rem;
		padding-bottom: 0.6rem;
		overflow-x: auto;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 0.8rem;
		scroll-snap-type: x mandatory;
		scrollbar-width: thin;
	}

	.mtm-home .mtm-home-about-gallery > .wp-block-column {
		width: 82% !important;
		flex: 0 0 82% !important;
		scroll-snap-align: start;
	}

	.mtm-home .mtm-home-about-photo img {
		height: 16rem;
	}
}

/* --- Material Lab redesign: editorial hero, product routes, technical sheets --- */

.mtm-home {
	--mtm-lab-ink: #071116;
	--mtm-lab-deep: #10232b;
	--mtm-lab-paper: #f1ede4;
	--mtm-lab-brass: #e0a23d;
	--mtm-lab-line: #d0c9b9;
	--mtm-lab-mono: "SFMono-Regular", "Roboto Mono", Consolas, "Liberation Mono", monospace;
}

.mtm-header-kicker {
	margin: 0 !important;
	padding: 0.22rem 0.42rem;
	color: var(--wp--preset--color--ink);
	font-family: var(--mtm-lab-mono);
	font-size: 0.58rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 1px solid var(--wp--preset--color--line);
}

.mtm-home .mtm-home-section {
	scroll-margin-top: 7.5rem;
	padding-top: clamp(4.25rem, 7vw, 6.25rem);
	padding-bottom: clamp(4.25rem, 7vw, 6.25rem);
}

.mtm-home .mtm-eyebrow,
.mtm-home .mtm-home-step-number,
.mtm-home .mtm-home-app-row__number,
.mtm-home .mtm-home-resource-card__index,
.mtm-home .mtm-home-document-panel__label {
	font-family: var(--mtm-lab-mono);
	font-variant-numeric: tabular-nums;
}

.mtm-home .mtm-home-section-heading h2,
.mtm-home .mtm-home-documents h2,
.mtm-home .mtm-home-about h2,
.mtm-home .mtm-home-final-cta h2 {
	letter-spacing: -0.045em;
}

.mtm-home .wp-element-button {
	border-radius: 0.18rem;
	letter-spacing: 0.015em;
}

.mtm-home .mtm-home-hero {
	min-height: min(900px, 94svh);
	padding-top: clamp(4.75rem, 7vw, 6.5rem);
	padding-bottom: clamp(4rem, 6vw, 5.5rem);
	background:
		radial-gradient(circle at 18% 18%, rgba(224, 162, 61, 0.15), transparent 34%),
		linear-gradient(112deg, #071116 0%, #10232b 58%, #162b33 100%);
}

.mtm-home .mtm-home-hero__grid {
	grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
	gap: clamp(2.4rem, 4.5vw, 4.5rem);
}

.mtm-home .mtm-home-hero__title {
	max-width: 820px;
	font-size: clamp(3.15rem, 6.4vw, 6.65rem);
	line-height: 0.87;
	letter-spacing: -0.065em;
}

.mtm-home .mtm-home-hero__summary {
	max-width: 650px;
	margin-bottom: 1.55rem;
}

.mtm-home .mtm-home-hero__actions .wp-block-button__link {
	min-height: 3.15rem;
	padding: 0.9rem 1.15rem;
	border-radius: 0.18rem;
}

.mtm-home .mtm-home-hero__specs {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 1.8rem;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	gap: 0 !important;
}

.mtm-home .mtm-home-hero__spec {
	margin: 0;
	padding: 0.9rem 1rem 0.9rem 0;
	border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.mtm-home .mtm-home-hero__spec + .mtm-home-hero__spec {
	padding-left: 1rem;
}

.mtm-home .mtm-home-hero__spec:last-child {
	border-right: 0;
}

.mtm-home .mtm-home-hero__spec span,
.mtm-home .mtm-home-hero__spec strong {
	display: block;
}

.mtm-home .mtm-home-hero__spec span {
	margin-bottom: 0.35rem;
	color: var(--mtm-lab-brass);
	font-family: var(--mtm-lab-mono);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.mtm-home .mtm-home-hero__spec strong {
	color: #f2f0ea;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.35;
}

.mtm-home .mtm-home-hero-stack {
	padding-bottom: 3.3rem;
}

.mtm-home .mtm-home-hero-photo,
.mtm-home .mtm-home-hero-photo-inset {
	border-radius: 0.3rem;
}

.mtm-home .mtm-home-hero-photo img {
	aspect-ratio: 4 / 3;
}

.mtm-home .mtm-home-hero-photo .wp-element-caption {
	display: none;
}

.mtm-home .mtm-home-hero-tech {
	position: absolute;
	bottom: 0.15rem;
	left: 1rem;
	z-index: 3;
	padding: 0.72rem 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(7, 17, 22, 0.82);
	backdrop-filter: blur(8px);
}

.mtm-home .mtm-home-hero-tech p {
	margin: 0;
	color: #e8e6df;
	font-family: var(--mtm-lab-mono);
	font-size: 0.56rem;
	line-height: 1.6;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mtm-home .mtm-home-hero-tech p:first-child {
	margin-bottom: 0.2rem;
	color: var(--mtm-lab-brass);
	font-weight: 800;
}

.mtm-home .mtm-home-products {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
		var(--mtm-lab-ink);
	background-size: 54px 54px;
}

.mtm-home .mtm-home-products .mtm-home-card-grid--three {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	counter-reset: product-card;
	gap: 0;
}

.mtm-home .mtm-home-products .mtm-home-card-column {
	width: auto !important;
	min-width: 0;
	flex-basis: auto !important;
}

.mtm-home .mtm-home-products .mtm-home-card-column + .mtm-home-card-column {
	border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.mtm-home .mtm-home-products .mtm-home-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1.35rem clamp(1.2rem, 2.4vw, 2rem) 1.5rem;
	background: transparent;
	border: 0;
	border-radius: 0;
	counter-increment: product-card;
}

.mtm-home .mtm-home-products .mtm-home-card::before {
	display: block;
	width: auto;
	height: auto;
	margin-bottom: 0.8rem;
	color: var(--mtm-lab-brass);
	font-family: var(--mtm-lab-mono);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	content: "0" counter(product-card);
	background: none;
	box-shadow: none;
}

.mtm-home .mtm-home-products .mtm-home-card .mtm-eyebrow {
	margin-bottom: 0;
	color: #b7c0be;
}

.mtm-home .mtm-home-product-thumb {
	margin: 1rem 0 1.35rem;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #26383f;
	border: 1px solid rgba(255, 255, 255, 0.16);
}

.mtm-home .mtm-home-product-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mtm-home .mtm-home-products .mtm-home-card h3 {
	max-width: 15ch;
	margin-top: 0.45rem;
	font-size: clamp(1.45rem, 2.2vw, 1.9rem);
	letter-spacing: -0.03em;
}

.mtm-home .mtm-home-products .mtm-home-card p:not(.mtm-eyebrow):not(.mtm-home-card-link) {
	max-width: 35ch;
	font-size: 0.94rem;
	line-height: 1.62;
}

.mtm-home .mtm-home-spec-tags {
	margin-top: 1rem;
	gap: 0.35rem !important;
}

.mtm-home .mtm-home-spec-tag {
	margin: 0;
	padding: 0.34rem 0.48rem;
	color: #d7d9d3;
	font-family: var(--mtm-lab-mono);
	font-size: 0.56rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.mtm-home .mtm-home-products .mtm-home-card-link {
	margin-top: auto;
	padding-top: 1.25rem;
}

.mtm-home .mtm-home-products .mtm-home-card-link a {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.9rem;
	text-decoration-thickness: 1px;
}

.mtm-home .mtm-home-products .mtm-home-card-link a::after {
	font-family: var(--mtm-lab-mono);
	content: "->";
}

.mtm-home .mtm-home-factory-band {
	margin-top: clamp(3rem, 6vw, 5rem) !important;
	padding-top: clamp(2.5rem, 5vw, 4rem);
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	gap: clamp(2rem, 5vw, 4.5rem);
}

.mtm-home .mtm-home-factory-band > .wp-block-column {
	width: 100% !important;
	flex-basis: auto !important;
}

.mtm-home .mtm-home-factory-media {
	position: relative;
	min-height: clamp(22rem, 34vw, 31rem);
}

.mtm-home .mtm-home-factory-media__main {
	position: absolute;
	inset: 0;
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.16);
}

.mtm-home .mtm-home-factory-media__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mtm-home .mtm-home-factory-band h3 {
	max-width: 15ch;
	margin: 0.55rem 0 1rem;
	color: #f5f2ea;
	font-size: clamp(2rem, 3.3vw, 3.3rem);
	line-height: 1;
	letter-spacing: -0.045em;
}

.mtm-home .mtm-home-factory-band p:not(.mtm-eyebrow):not(.mtm-home-card-link) {
	max-width: 48ch;
	color: #b7c0be;
	line-height: 1.7;
}

.mtm-home .mtm-home-factory-tags {
	margin-top: 1.15rem;
	gap: 0.4rem !important;
}

.mtm-home .mtm-home-factory-tag {
	margin: 0;
	padding: 0.4rem 0.55rem;
	color: var(--mtm-lab-brass);
	font-family: var(--mtm-lab-mono);
	font-size: 0.58rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: 1px solid rgba(224, 162, 61, 0.42);
}

.mtm-home .mtm-home-app-list {
	margin-top: 1.35rem;
}

.mtm-home .mtm-home-app-row {
	display: grid !important;
	grid-template-columns: 3.25rem minmax(13rem, 0.62fr) minmax(0, 1.38fr);
	align-items: start;
	padding: 1.35rem 0.7rem;
	gap: 1.25rem;
	transition: background-color 160ms ease;
}

.mtm-home .mtm-home-app-row:hover {
	background: rgba(255, 255, 255, 0.42);
}

.mtm-home .mtm-home-app-row__number {
	margin-top: 0.15rem;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
}

.mtm-home .mtm-home-app-row__title,
.mtm-home .mtm-home-app-row__desc {
	width: auto;
	margin: 0;
}

.mtm-home .mtm-home-app-row__desc {
	max-width: 65ch;
	line-height: 1.65;
}

.mtm-home .mtm-home-process-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--mtm-lab-line);
	border-left: 1px solid var(--mtm-lab-line);
	gap: 0;
}

.mtm-home .mtm-home-process-grid > .wp-block-column {
	width: auto !important;
	min-width: 0;
	flex-basis: auto !important;
}

.mtm-home .mtm-home-process-step {
	height: 100%;
	min-height: 14rem;
	padding: 1.4rem 1.35rem;
	background: rgba(255, 255, 255, 0.68);
	border: 0;
	border-right: 1px solid var(--mtm-lab-line);
	border-bottom: 1px solid var(--mtm-lab-line);
}

.mtm-home .mtm-home-step-number {
	display: grid;
	width: 2.55rem;
	height: 2.55rem;
	margin-bottom: 1.35rem;
	color: var(--mtm-lab-ink);
	font-size: 0.7rem;
	background: transparent;
	border: 1px solid var(--mtm-lab-ink);
	border-radius: 0;
	place-items: center;
}

.mtm-home .mtm-home-process-step h3 {
	font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.mtm-home .mtm-home-documents {
	color: var(--mtm-lab-ink);
	background:
		linear-gradient(90deg, rgba(18, 33, 39, 0.055) 1px, transparent 1px),
		linear-gradient(rgba(18, 33, 39, 0.055) 1px, transparent 1px),
		var(--mtm-lab-paper);
	background-size: 40px 40px;
}

.mtm-home .mtm-home-documents::before {
	border-color: rgba(224, 162, 61, 0.35);
	box-shadow:
		0 0 0 3rem rgba(224, 162, 61, 0.045),
		0 0 0 7rem rgba(224, 162, 61, 0.025);
}

.mtm-home .mtm-home-documents h2 {
	color: var(--mtm-lab-ink);
}

.mtm-home .mtm-home-documents .mtm-eyebrow {
	color: #8a570c;
}

.mtm-home .mtm-home-documents p {
	color: rgba(18, 33, 39, 0.74);
}

.mtm-home .mtm-home-documents .wp-block-button__link {
	color: #f4f0e7 !important;
	background: var(--mtm-lab-ink) !important;
	border-color: var(--mtm-lab-ink) !important;
}

.mtm-home .mtm-home-document-panel {
	border: 1px solid rgba(18, 33, 39, 0.2);
	border-radius: 0.25rem;
	background: rgba(255, 255, 255, 0.52);
}

.mtm-home .mtm-home-document-panel__label {
	color: var(--mtm-lab-ink) !important;
}

.mtm-home .mtm-home-document-type {
	color: var(--mtm-lab-ink) !important;
	border-color: rgba(18, 33, 39, 0.24);
	border-radius: 0.15rem;
	background: rgba(255, 255, 255, 0.3);
}

.mtm-home .mtm-home-about-photo,
.mtm-home .mtm-home-about__feature {
	border-radius: 0.25rem;
}

.mtm-home .mtm-home-resource-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--mtm-lab-line);
	gap: 0;
}

.mtm-home .mtm-home-resource-grid > .wp-block-column {
	width: auto !important;
	min-width: 0;
	flex-basis: auto !important;
}

.mtm-home .mtm-home-resource-card {
	height: 100%;
	padding: 1.35rem 1.4rem 1.5rem;
	background: transparent;
	border: 0;
	border-right: 1px solid var(--mtm-lab-line);
	border-bottom: 1px solid var(--mtm-lab-line);
}

.mtm-home .mtm-home-resource-grid > .wp-block-column:last-child .mtm-home-resource-card {
	border-right: 0;
}

.mtm-home .mtm-home-resource-card__index {
	margin-bottom: 2rem;
	font-size: 0.68rem;
}

.mtm-home .mtm-home-resource-card h3 {
	font-size: 1.25rem;
}

.mtm-home .mtm-home-final-cta__panel {
	color: #f1ede4 !important;
	background: var(--mtm-lab-ink) !important;
	border-radius: 0.35rem;
}

.mtm-home .mtm-home-final-cta h2 {
	color: #f5f2ea;
}

.mtm-home .mtm-home-final-cta .mtm-eyebrow {
	color: var(--mtm-lab-brass);
}

.mtm-home .mtm-home-final-cta__copy > p:last-child {
	color: #c0c9c7;
}

.mtm-home .mtm-home-cta-specs {
	position: relative;
	z-index: 1;
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 1.7rem 0 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	gap: 0 !important;
}

.mtm-home .mtm-home-cta-spec {
	margin: 0;
	padding: 0.9rem 1rem 0.9rem 0;
	border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.mtm-home .mtm-home-cta-spec + .mtm-home-cta-spec {
	padding-left: 1rem;
}

.mtm-home .mtm-home-cta-spec:last-child {
	border-right: 0;
}

.mtm-home .mtm-home-cta-spec span,
.mtm-home .mtm-home-cta-spec strong {
	display: block;
}

.mtm-home .mtm-home-cta-spec span {
	margin-bottom: 0.28rem;
	color: var(--mtm-lab-brass);
	font-family: var(--mtm-lab-mono);
	font-size: 0.6rem;
	letter-spacing: 0.1em;
}

.mtm-home .mtm-home-cta-spec strong {
	color: #f1ede4;
	font-size: 0.8rem;
}

.mtm-home .mtm-home-final-cta__actions .wp-block-button:first-child .wp-block-button__link {
	color: var(--mtm-lab-ink) !important;
	background: var(--mtm-lab-brass) !important;
	border-color: var(--mtm-lab-brass) !important;
}

.mtm-home .mtm-home-final-cta__actions .is-style-outline .wp-block-button__link {
	color: #f5f2ea;
	border-color: rgba(255, 255, 255, 0.55);
}

@media (prefers-reduced-motion: no-preference) {
	.mtm-home .mtm-home-products .mtm-home-card:hover .mtm-home-product-thumb img {
		transform: scale(1.025);
	}

	.mtm-home .mtm-home-card:hover,
	.mtm-home .mtm-home-context-card:hover,
	.mtm-home .mtm-home-resource-card:hover {
		box-shadow: none;
		transform: none;
	}
}

@media (max-width: 781px) {
	.mtm-header-kicker {
		display: none;
	}

	.mtm-home .mtm-home-hero {
		min-height: auto;
	}

	.mtm-home .mtm-home-hero__grid {
		display: flex !important;
	}

	.mtm-home .mtm-home-hero__title {
		font-size: clamp(3.3rem, 16vw, 5rem);
		line-height: 0.9;
	}

	.mtm-home .mtm-home-hero__specs {
		grid-template-columns: 1fr;
	}

	.mtm-home .mtm-home-hero__spec,
	.mtm-home .mtm-home-hero__spec + .mtm-home-hero__spec {
		padding: 0.75rem 0;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	}

	.mtm-home .mtm-home-hero__spec:last-child {
		border-bottom: 0;
	}

	.mtm-home .mtm-home-hero-photo-inset {
		right: -0.35rem;
		max-width: 132px;
	}

	.mtm-home .mtm-home-products .mtm-home-card-grid--three {
		grid-template-columns: 1fr;
	}

	.mtm-home .mtm-home-products .mtm-home-card-column + .mtm-home-card-column {
		border-top: 1px solid rgba(255, 255, 255, 0.14);
		border-left: 0;
	}

	.mtm-home .mtm-home-products .mtm-home-card {
		padding-right: 0;
		padding-left: 0;
	}

	.mtm-home .mtm-home-product-thumb {
		aspect-ratio: 16 / 8.5;
	}

	.mtm-home .mtm-home-factory-band {
		flex-direction: column;
	}

	.mtm-home .mtm-home-factory-media {
		min-height: 23rem;
	}

	.mtm-home .mtm-home-factory-media__main {
		inset: 0;
	}

	.mtm-home .mtm-home-app-row {
		grid-template-columns: 3rem minmax(0, 1fr);
		padding-right: 0;
		padding-left: 0;
	}

	.mtm-home .mtm-home-app-row__desc {
		grid-column: 2;
	}

	.mtm-home .mtm-home-hero-tech {
		left: 0.65rem;
		padding: 0.6rem 0.7rem;
	}

	.mtm-home .mtm-home-cta-specs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mtm-home .mtm-home-cta-spec:nth-child(2) {
		border-right: 0;
	}

	.mtm-home .mtm-home-cta-spec:nth-child(n + 3) {
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}

	.mtm-home .mtm-home-cta-spec:nth-child(3) {
		padding-left: 0;
	}

	.mtm-home .mtm-home-process-grid {
		grid-template-columns: 1fr;
	}

	.mtm-home .mtm-home-process-step {
		min-height: 0;
	}

	.mtm-home .mtm-home-resource-grid {
		grid-template-columns: 1fr;
	}

	.mtm-home .mtm-home-resource-card,
	.mtm-home .mtm-home-resource-grid > .wp-block-column:last-child .mtm-home-resource-card {
		border-right: 0;
	}
}

/* Material Lab final cascade: keep the lower page in one warm tonal family. */
.mtm-home .mtm-home-documents {
	background-color: #e4ddd1 !important;
	background-image:
		linear-gradient(90deg, rgba(18, 33, 39, 0.045) 1px, transparent 1px),
		linear-gradient(rgba(18, 33, 39, 0.045) 1px, transparent 1px);
	background-size: 40px 40px;
}

.mtm-home .mtm-home-process-step {
	background: rgba(255, 255, 255, 0.35);
}

@media (max-width: 781px) {
	.mtm-home .mtm-home-section {
		padding-top: 3.25rem;
		padding-bottom: 3.25rem;
	}

	.mtm-home .mtm-home-products .mtm-home-card {
		display: grid;
		grid-template-columns: minmax(0, 1.15fr) minmax(118px, 0.85fr);
		column-gap: 1rem;
		row-gap: 0.65rem;
		align-items: start;
	}

	.mtm-home .mtm-home-products .mtm-home-card::before {
		grid-column: 1;
		grid-row: 1;
		margin-bottom: 0;
	}

	.mtm-home .mtm-home-products .mtm-home-card .mtm-eyebrow {
		grid-column: 1;
		grid-row: 2;
	}

	.mtm-home .mtm-home-product-thumb {
		grid-column: 2;
		grid-row: 1 / span 3;
		margin: 0;
		aspect-ratio: 4 / 5;
	}

	.mtm-home .mtm-home-products .mtm-home-card h3 {
		grid-column: 1;
		grid-row: 3;
		max-width: none;
		margin-top: 0;
	}

	.mtm-home .mtm-home-products .mtm-home-card p:not(.mtm-eyebrow):not(.mtm-home-card-link) {
		grid-column: 1 / -1;
		grid-row: 4;
		max-width: none;
	}

	.mtm-home .mtm-home-spec-tags {
		grid-column: 1 / -1;
		grid-row: 5;
		margin-top: 0;
	}

	.mtm-home .mtm-home-products .mtm-home-card-link {
		grid-column: 1 / -1;
		grid-row: 6;
		padding-top: 0.5rem;
	}

	.mtm-home .mtm-home-process-grid {
		display: block !important;
		border: 0;
	}

	.mtm-home .mtm-home-process-grid > .wp-block-column {
		display: block;
	}

	.mtm-home .mtm-home-process-step {
		position: relative;
		padding: 0 0 2.15rem 3.6rem;
		background: transparent;
		border: 0;
	}

	.mtm-home .mtm-home-process-step::before {
		position: absolute;
		top: 2.55rem;
		bottom: 0;
		left: 1.27rem;
		width: 1px;
		content: "";
		background: var(--mtm-lab-line);
	}

	.mtm-home .mtm-home-process-grid > .wp-block-column:last-child .mtm-home-process-step {
		padding-bottom: 0;
	}

	.mtm-home .mtm-home-process-grid > .wp-block-column:last-child .mtm-home-process-step::before {
		display: none;
	}

	.mtm-home .mtm-home-step-number {
		position: absolute;
		top: 0;
		left: 0;
		margin: 0;
		background: #ebe5da;
	}

	.mtm-home .mtm-home-cta-specs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mtm-home .mtm-home-cta-spec:nth-child(2) {
		border-right: 0;
	}

	.mtm-home .mtm-home-cta-spec:nth-child(n + 3) {
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}

	.mtm-home .mtm-home-cta-spec:nth-child(3) {
		padding-left: 0;
	}
}

@media (max-width: 781px) {
	.mtm-home {
		margin-top: 0 !important;
	}

	.mtm-header-main {
		min-height: 58px;
		padding: 0.5rem 1rem !important;
		flex-wrap: nowrap !important;
		gap: 0.5rem !important;
	}

	.mtm-header-main > .wp-block-group:first-child {
		min-width: 0;
		flex: 1 1 auto;
		gap: 0.55rem !important;
	}

	.mtm-header-main > .wp-block-group:first-child .wp-block-site-logo img {
		width: 30px;
		height: 30px;
	}

	.mtm-header-main .wp-block-site-title {
		overflow: hidden;
		font-size: 0.92rem !important;
		line-height: 1.12;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.mtm-header-main > .wp-block-group:last-child {
		flex: 0 0 auto;
		flex-wrap: nowrap !important;
		gap: 0.45rem !important;
	}

	.mtm-header-main .wp-block-navigation {
		flex: 0 0 auto;
	}

	.mtm-header-main .wp-block-navigation__responsive-container-open,
	.mtm-header-main .wp-block-navigation__responsive-container-close {
		min-width: 44px;
		min-height: 44px;
	}

	.mtm-header-main .wp-block-button__link {
		min-height: 2.5rem;
		padding: 0.55rem 0.7rem !important;
		font-size: 0.66rem;
	}

	.mtm-header-sticky .wp-block-separator {
		margin-top: 0 !important;
	}

	.mtm-home {
		font-size: 1rem;
	}

	.mtm-home .mtm-home-section {
		margin-top: 0 !important;
	}

	.mtm-home-render {
		margin-top: 0 !important;
	}

	.mtm-home .mtm-home-resource-grid {
		display: flex !important;
		margin-right: -1.25rem;
		padding-right: 1.25rem;
		padding-bottom: 0.5rem;
		overflow-x: auto;
		flex-direction: row;
		flex-wrap: nowrap;
		scroll-snap-type: x mandatory;
		scrollbar-width: thin;
	}

	.mtm-home .mtm-home-resource-grid > .wp-block-column {
		width: 84% !important;
		flex: 0 0 84% !important;
		scroll-snap-align: start;
	}

	.mtm-home .mtm-home-resource-card {
		padding: 1rem 1.1rem 1.1rem;
	}

	.mtm-home .mtm-home-resource-card__index {
		margin-bottom: 1rem;
	}

	.mtm-home .mtm-home-documents {
		padding-top: 2.8rem;
		padding-bottom: 2.8rem;
	}

	.mtm-home .mtm-home-document-panel {
		padding: 1.05rem;
	}

	.mtm-home .mtm-home-final-cta {
		padding-top: 2.6rem;
		padding-bottom: 2.6rem;
	}

	.mtm-home .mtm-home-final-cta__panel {
		padding: 1.6rem 1.25rem;
	}

	.mtm-home .mtm-home-final-cta h2 {
		font-size: clamp(2.25rem, 11vw, 3.1rem);
	}

	.mtm-home .mtm-home-cta-specs {
		margin-top: 1.2rem;
		margin-bottom: 1.1rem;
	}
}

/* Material Lab brand bar and unified warm-neutral paper family. */

header.wp-block-template-part,
.mtm-header-sticky {
	color: #f1ede4;
	background-color: #071116 !important;
	border-bottom: 1px solid rgba(224, 162, 61, 0.22);
	box-shadow: 0 10px 34px rgba(7, 17, 22, 0.12);
}

.mtm-header-main .wp-block-site-title,
.mtm-header-main .wp-block-site-title a {
	color: #f4f1ea !important;
}

.mtm-header-main .wp-block-site-logo img {
	width: 34px;
	height: 34px;
	padding: 0.2rem;
	object-fit: contain;
	background: #f1ede4;
}

.mtm-header-main .mtm-header-kicker {
	color: #e4b35e;
	border-color: rgba(228, 179, 94, 0.4);
}

.mtm-header-main .wp-block-navigation a {
	color: #d7ddda;
}

.mtm-header-main .wp-block-navigation a:hover,
.mtm-header-main .wp-block-navigation a:focus-visible {
	color: #e4b35e;
}

.mtm-header-main .wp-block-navigation__responsive-container-open,
.mtm-header-main .wp-block-navigation__responsive-container-close {
	color: #f1ede4;
}

.mtm-header-main .wp-block-navigation__responsive-container,
.mtm-header-main .wp-block-navigation__responsive-dialog {
	color: #f1ede4;
	background: #071116;
}

.mtm-header-main .wp-block-button__link {
	color: #071116 !important;
	background: #e0a23d !important;
}

.mtm-header-sticky .wp-block-separator {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.12);
}

.mtm-home {
	--mtm-lab-paper: #ece8df;
	--mtm-lab-line: #c9c1b3;
}

.mtm-home .mtm-home-applications,
.mtm-home .mtm-home-about {
	background-color: #efebe3 !important;
}

.mtm-home .mtm-home-process,
.mtm-home .mtm-home-resources,
.mtm-home .mtm-home-final-cta {
	background-color: #e8e2d8 !important;
}

.mtm-home .mtm-home-documents {
	background-color: #e1dbd1 !important;
}

.mtm-home-render,
.mtm-home.mtm-home,
.mtm-home .mtm-home-section {
	margin-top: 0 !important;
}

.mtm-home .mtm-home-applications {
	padding-top: 0;
}

.mtm-home .mtm-home-applications-transition {
	width: 100vw;
	max-width: none !important;
	margin-right: calc(50% - 50vw) !important;
	margin-bottom: clamp(2rem, 4vw, 3rem) !important;
	margin-left: calc(50% - 50vw) !important;
	padding: clamp(3rem, 5vw, 4.5rem) max(1.5rem, calc((100vw - 1120px) / 2)) !important;
	color: #f1ede4 !important;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
		linear-gradient(112deg, #071116 0%, #10232b 62%, #162b33 100%) !important;
	background-size: 44px 44px, 44px 44px, auto !important;
	border-bottom: 3px solid #e0a23d;
}

.mtm-home .mtm-home-applications-transition .mtm-eyebrow {
	color: #e4b35e;
}

.mtm-home .mtm-home-applications-transition h2 {
	color: #f5f2ea;
}

.mtm-home .mtm-home-applications-transition > p:last-child {
	color: #bdc7c4;
}

@media (max-width: 781px) {
	.mtm-home .mtm-home-applications-transition {
		margin-bottom: 1.8rem !important;
		padding-top: 2.7rem !important;
		padding-bottom: 2.7rem !important;
	}

	.mtm-home .mtm-home-applications-transition h2 {
		font-size: clamp(2.1rem, 10vw, 2.8rem);
	}
}

.mtm-home .mtm-home-final-cta__panel {
	color: #071116 !important;
	background-color: #ded7cb !important;
	border: 1px solid #c8c0b2;
	box-shadow: none;
}

.mtm-home .mtm-home-final-cta__panel::after {
	border-color: rgba(138, 87, 12, 0.16);
	box-shadow:
		0 0 0 3.5rem rgba(224, 162, 61, 0.04),
		0 0 0 8rem rgba(224, 162, 61, 0.025);
}

.mtm-home .mtm-home-final-cta h2 {
	color: #071116;
}

.mtm-home .mtm-home-final-cta .mtm-eyebrow {
	color: #8a570c;
}

.mtm-home .mtm-home-final-cta__copy > p:last-child {
	color: rgba(7, 17, 22, 0.74);
}

.mtm-home .mtm-home-cta-specs {
	border-color: rgba(7, 17, 22, 0.2);
}

.mtm-home .mtm-home-cta-spec {
	border-color: rgba(7, 17, 22, 0.16);
}

.mtm-home .mtm-home-cta-spec span {
	color: #8a570c;
}

.mtm-home .mtm-home-cta-spec strong {
	color: #071116;
}

.mtm-home .mtm-home-final-cta__actions .wp-block-button:first-child .wp-block-button__link {
	color: #f5f2ea !important;
	background: #071116 !important;
	border-color: #071116 !important;
}

.mtm-home .mtm-home-final-cta__actions .is-style-outline .wp-block-button__link {
	color: #071116;
	border-color: rgba(7, 17, 22, 0.58);
}
