:root {
	--tm-bg: #eef3ea;
	--tm-panel: #ffffff;
	--tm-panel-soft: #f8f5ee;
	--tm-ink: #1f2d24;
	--tm-muted: #5d6b62;
	--tm-primary: #173825;
	--tm-primary-2: #234f34;
	--tm-accent: #b88a46;
	--tm-line: rgba(31, 45, 36, 0.12);
	--tm-shadow: 0 24px 60px rgba(20, 34, 26, 0.12);
	--tm-radius-xl: 32px;
	--tm-radius-lg: 24px;
	--tm-radius-md: 18px;
	--tm-radius-sm: 14px;
}

body.tm-overhaul-page {
	background:
		radial-gradient(circle at top left, rgba(184, 138, 70, 0.11), transparent 35%),
		linear-gradient(180deg, #f7f8f3 0%, #eef3ea 100%);
	color: var(--tm-ink);
}

body.tm-overhaul-page .site-content {
	padding-top: 0;
}

.tm-overhaul-shell {
	width: min(1240px, calc(100% - 32px));
	margin: 0 auto;
	padding: 28px 0 72px;
}

.tm-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
	gap: 28px;
	align-items: stretch;
	padding: 30px;
	border-radius: var(--tm-radius-xl);
	background:
		linear-gradient(135deg, rgba(23, 56, 37, 0.98), rgba(35, 79, 52, 0.94)),
		radial-gradient(circle at top right, rgba(184, 138, 70, 0.25), transparent 35%);
	color: #fff;
	box-shadow: var(--tm-shadow);
	overflow: hidden;
}

.tm-hero__copy {
	padding: 14px 8px 14px 6px;
}

.tm-eyebrow {
	margin: 0 0 12px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.74rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.72);
}

.tm-hero__title {
	margin: 0;
	font-size: clamp(2.25rem, 4vw, 4.8rem);
	line-height: 0.98;
	max-width: 12ch;
	color: #fff;
}

.tm-hero__intro {
	margin: 18px 0 0;
	max-width: 62ch;
	font-size: 1.08rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.86);
}

.tm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.tm-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 18px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.tm-button:hover,
.tm-button:focus-visible {
	transform: translateY(-1px);
}

.tm-button--primary {
	background: linear-gradient(180deg, #e4c27f, var(--tm-accent));
	color: #1a261d;
	box-shadow: 0 10px 30px rgba(184, 138, 70, 0.28);
}

.tm-button--secondary {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(12px);
}

.tm-hero__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 24px 0 0;
}

.tm-hero__stats li,
.tm-proofbar__item,
.tm-checklist li {
	position: relative;
}

.tm-hero__stats li {
	padding: 14px 14px 14px 18px;
	border-radius: var(--tm-radius-sm);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.97rem;
	line-height: 1.45;
}

.tm-hero__stats li::before,
.tm-proofbar__item::before,
.tm-checklist li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--tm-accent);
}

.tm-hero__panel {
	display: grid;
	gap: 16px;
}

.tm-card {
	border-radius: var(--tm-radius-lg);
	box-shadow: var(--tm-shadow);
}

.tm-card--accent {
	padding: 24px;
	background: linear-gradient(180deg, #fff4de, #f8ead0);
	color: var(--tm-primary);
}

.tm-card--soft,
.tm-card--sidebar {
	padding: 22px;
	background: var(--tm-panel);
	border: 1px solid var(--tm-line);
}

.tm-card__label {
	margin: 0 0 8px;
	font-size: 0.76rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-weight: 800;
	color: var(--tm-accent);
}

.tm-card__headline {
	margin: 0 0 10px;
	font-size: 1.2rem;
	line-height: 1.35;
	font-weight: 800;
}

.tm-card__phone {
	display: inline-flex;
	margin-bottom: 10px;
	font-size: 1.28rem;
	font-weight: 800;
	color: var(--tm-primary);
	text-decoration: none;
}

.tm-card__small,
.tm-sidebar__text {
	margin: 0;
	color: var(--tm-muted);
	line-height: 1.6;
}

.tm-form-shell {
	border-radius: 20px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(31, 45, 36, 0.08);
}

.tm-form-shell iframe {
	display: block;
	width: 100%;
	min-height: 520px;
	border: 0;
}

.tm-proofbar {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-top: 18px;
}

.tm-proofbar__item {
	padding: 18px 18px 18px 24px;
	border-radius: var(--tm-radius-md);
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid var(--tm-line);
	box-shadow: 0 12px 30px rgba(20, 34, 26, 0.06);
	color: var(--tm-ink);
	line-height: 1.55;
}

.tm-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.72fr);
	gap: 24px;
	margin-top: 24px;
	align-items: start;
}

.tm-main {
	min-width: 0;
}

.tm-article {
	padding: 30px;
	border-radius: var(--tm-radius-xl);
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid var(--tm-line);
	box-shadow: 0 12px 30px rgba(20, 34, 26, 0.05);
	backdrop-filter: blur(10px);
}

.tm-article__intro {
	padding-bottom: 20px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--tm-line);
}

.tm-article__eyebrow {
	margin: 0 0 10px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.74rem;
	font-weight: 800;
	color: var(--tm-accent);
}

.tm-article__lede {
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.75;
	color: var(--tm-muted);
}

.tm-content {
	color: var(--tm-ink);
}

.tm-content > * + * {
	margin-top: 1.4rem;
}

.tm-content h1,
.tm-content h2,
.tm-content h3,
.tm-content h4 {
	color: var(--tm-primary);
	scroll-margin-top: 100px;
}

.tm-content h2 {
	font-size: clamp(1.5rem, 2.2vw, 2.2rem);
}

.tm-content h3 {
	font-size: 1.35rem;
}

.tm-content p,
.tm-content li {
	line-height: 1.8;
	color: var(--tm-ink);
}

.tm-content a {
	color: var(--tm-primary-2);
}

.tm-content .wp-block-cover {
	border-radius: var(--tm-radius-lg);
	overflow: hidden;
	box-shadow: var(--tm-shadow);
	margin-bottom: 1.5rem;
}

.tm-content .wp-block-columns {
	gap: 24px;
}

.tm-content iframe {
	width: 100%;
	border: 0;
	border-radius: 20px;
	min-height: 420px;
}

.tm-sidebar {
	display: grid;
	gap: 16px;
}

.tm-checklist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tm-checklist li {
	padding-left: 18px;
	margin-top: 12px;
	line-height: 1.6;
	color: var(--tm-muted);
}

.tm-checklist li:first-child {
	margin-top: 0;
}

.tm-related-links {
	display: grid;
	gap: 10px;
}

.tm-related-link,
.tm-sidebar__link {
	color: var(--tm-primary);
	font-weight: 700;
	text-decoration: none;
}

.tm-related-link {
	display: inline-flex;
	padding: 12px 14px;
	border-radius: 14px;
	background: var(--tm-panel-soft);
	border: 1px solid rgba(31, 45, 36, 0.08);
}

.tm-bottom-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 24px;
	padding: 26px 30px;
	border-radius: var(--tm-radius-xl);
	background: linear-gradient(135deg, var(--tm-primary), #294b36);
	color: #fff;
	box-shadow: var(--tm-shadow);
}

.tm-bottom-cta h2 {
	margin: 6px 0 0;
	color: #fff;
	font-size: clamp(1.5rem, 2.4vw, 2.4rem);
	line-height: 1.15;
}

.tm-bottom-cta .tm-eyebrow {
	color: rgba(255, 255, 255, 0.72);
}

.tm-bottom-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.tm-bottom-cta .tm-button--secondary {
	background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1080px) {
	.tm-hero,
	.tm-layout,
	.tm-bottom-cta {
		grid-template-columns: 1fr;
	}

	.tm-proofbar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.tm-overhaul-shell {
		width: min(100% - 20px, 1240px);
		padding-top: 14px;
	}

	.tm-hero,
	.tm-article,
	.tm-card--soft,
	.tm-card--sidebar,
	.tm-bottom-cta {
		padding: 20px;
		border-radius: 22px;
	}

	.tm-proofbar,
	.tm-hero__stats {
		grid-template-columns: 1fr;
	}

	.tm-hero__title {
		max-width: none;
	}

	.tm-form-shell iframe {
		min-height: 460px;
	}
}

