/* Homepage Kadence reset survival */
.home #masthead,
.home .site-header,
.home .site-header-wrap {
	display: none !important;
}

.home .content-bg,
.home .site-container,
.home #primary,
.home #main,
.home article,
.home .entry-content > *,
.home .wp-site-blocks,
.home .site-content > * {
	display: block !important;
	flex: none !important;
	grid-template-columns: none !important;
	margin: 0 !important;
	max-width: 100% !important;
	padding: 0 !important;
	width: 100% !important;
}

.home .entry-content,
.home .site,
.home .site-main,
.home .content-wrap,
.home .site-content,
.home .entry-content-wrap {
	display: block !important;
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
}

.home .entry-header,
.home .page-title,
.home .entry-title,
.home .kadence-breadcrumbs,
.home .wp-block-post-title,
.home .content-title,
.home .page-header {
	display: none !important;
}

html:has(body.home),
body.home {
	background: #0B0D10;
	min-height: 100dvh;
}

body.home {
	overflow-x: hidden;
}

.home .content-bg,
.home .site,
.home .site-main,
.home .content-wrap,
.home .site-content,
.home .entry-content,
.home .entry-content-wrap,
.home #wrapper,
.home #inner-wrap {
	background: #0B0D10 !important;
}

.home .jm-home-shell {
	display: block !important;
}

.home-abovefold.alignfull {
	display: block !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	max-width: 100vw !important;
	width: 100vw !important;
}

.home .jm-hero {
	background-color: #0B0D10;
	background-image: url("https://justinhmueller.com/wp-content/uploads/2026/01/The-SMS-Coach-1-scaled.jpg");
	background-position: var(--jm-home-desktop-hero-bg-position);
	background-repeat: no-repeat;
	background-size: cover;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	min-height: 100%;
	overflow: hidden;
	position: relative;
}

.home .jm-hero::before {
	background: rgba(0, 0, 0, 0.58);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.home .jm-hero > * {
	position: relative;
	z-index: 1;
}

.home .jm-hero__content {
	align-items: flex-start;
	box-sizing: border-box;
	display: flex !important;
	flex: 1 1 auto !important;
	flex-direction: column !important;
	gap: clamp(1rem, 1.5vw, 1.35rem);
	justify-content: center;
	margin: 0 auto;
	max-width: var(--jm-width-shell) !important;
	padding: clamp(2.75rem, 4.2vw, 4.25rem) 0 clamp(2.25rem, 3vw, 3rem) !important;
	width: min(calc(100% - 3rem), var(--jm-width-shell)) !important;
}

.home .jm-site-header {
	margin-bottom: clamp(2rem, 3vw, 3rem) !important;
}

.home .jm-hero__h1 {
	color: rgba(255, 255, 255, 0.92) !important;
	display: block !important;
	font-family: var(--jm-font-family) !important;
	font-size: clamp(2.75rem, 5.4vw, 5rem);
	font-weight: 900 !important;
	letter-spacing: -0.4px;
	line-height: 1.08;
	margin: 0;
	max-width: var(--jm-home-desktop-hero-title-max-width);
	white-space: var(--jm-home-desktop-hero-title-white-space);
}

.home .jm-hero__line {
	white-space: nowrap !important;
}

.home .jm-hero__sub {
	color: rgba(255, 255, 255, 0.86) !important;
	display: block !important;
	font-family: var(--jm-font-family) !important;
	font-size: clamp(1rem, 1.15vw, 1.125rem);
	font-weight: 800 !important;
	line-height: 1.35;
	margin: 0;
	max-width: var(--jm-home-desktop-hero-sub-max-width);
	white-space: var(--jm-home-desktop-hero-sub-white-space);
}

.home .jm-hero__ctas {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: var(--jm-home-desktop-hero-ctas-gap) !important;
}

.home .jm-hero__ctas .jm-button {
	border-radius: var(--jm-home-desktop-cta-border-radius) !important;
	font-size: var(--jm-home-desktop-cta-font-size) !important;
	line-height: var(--jm-home-desktop-cta-line-height) !important;
	min-height: var(--jm-home-desktop-cta-min-height) !important;
	min-width: var(--jm-home-desktop-cta-min-width);
	padding: var(--jm-home-desktop-cta-padding) !important;
}

.home .jm-hero__ctas .jm-button--primary,
.home .jm-hero__ctas .jm-button--secondary {
	background: rgba(21, 25, 34, 0.92) !important;
	border-color: rgba(255, 255, 255, 0.28) !important;
	color: var(--jm-color-text) !important;
	-webkit-text-fill-color: var(--jm-color-text);
}

.home .jm-hero__ctas .jm-button--primary:hover,
.home .jm-hero__ctas .jm-button--primary:focus-visible,
.home .jm-hero__ctas .jm-button--secondary:hover,
.home .jm-hero__ctas .jm-button--secondary:focus-visible {
	background: rgba(36, 42, 54, 0.96) !important;
	border-color: rgba(255, 255, 255, 0.42) !important;
	color: var(--jm-color-text) !important;
	-webkit-text-fill-color: var(--jm-color-text);
}

.home .jm-bottom-chrome,
.home .jm-bottom-chrome__inner,
.home .jm-bottom-chrome__legal,
.home .jm-routes,
.home .jm-routes__inner,
.home .jm-route {
	display: flex !important;
}

@media (min-width: 1025px) {
	html:has(body.home),
	body.home {
		height: 100dvh;
		overflow: hidden;
	}

	.home #wrapper,
	.home #inner-wrap,
	.home .site,
	.home .site-main,
	.home .content-wrap,
	.home .site-content,
	.home .entry-content,
	.home .entry-content-wrap,
	.home .jm-home-shell,
	.home .home-abovefold.alignfull {
		height: calc(100dvh - var(--jm-bottom-chrome-height)) !important;
		min-height: calc(100dvh - var(--jm-bottom-chrome-height)) !important;
	}

	.home .jm-hero {
		background-position: var(--jm-home-desktop-hero-bg-position) !important;
		height: 100% !important;
		min-height: 100% !important;
	}

	body.home .jm-hero__content {
		gap: var(--jm-home-desktop-hero-content-gap) !important;
		max-width: var(--jm-home-desktop-hero-content-max-width) !important;
		padding: var(--jm-home-desktop-hero-content-padding) !important;
		width: var(--jm-home-desktop-hero-content-width) !important;
	}

	body.home .jm-site-header {
		margin-bottom: var(--jm-home-desktop-site-header-margin-bottom) !important;
	}

	body.home .jm-brand-mark__image {
		width: var(--jm-home-desktop-brand-image-width) !important;
	}

	body.home .jm-hero__h1 {
		font-size: var(--jm-home-desktop-hero-title-font-size) !important;
		letter-spacing: var(--jm-home-desktop-hero-title-letter-spacing) !important;
		line-height: var(--jm-home-desktop-hero-title-line-height) !important;
		margin: var(--jm-home-desktop-hero-title-margin) !important;
		max-width: var(--jm-home-desktop-hero-title-max-width) !important;
		white-space: var(--jm-home-desktop-hero-title-white-space) !important;
	}

	body.home .jm-hero__line {
		display: var(--jm-home-desktop-hero-line-display) !important;
		white-space: nowrap !important;
	}

	body.home .jm-hero__sub {
		line-height: var(--jm-home-desktop-hero-sub-line-height) !important;
		max-width: var(--jm-home-desktop-hero-sub-max-width) !important;
		white-space: var(--jm-home-desktop-hero-sub-white-space) !important;
	}

	body.home.jm-theme-scaffold .jm-hero__ctas {
		display: var(--jm-home-desktop-hero-ctas-display) !important;
		gap: var(--jm-home-desktop-hero-ctas-gap) !important;
	}

	body.home.jm-theme-scaffold .jm-hero__ctas a.jm-home-cta {
		border-radius: var(--jm-home-desktop-cta-border-radius) !important;
		font-size: var(--jm-home-desktop-cta-font-size) !important;
		line-height: var(--jm-home-desktop-cta-line-height) !important;
		min-height: var(--jm-home-desktop-cta-min-height) !important;
		min-width: var(--jm-home-desktop-cta-min-width) !important;
		padding: var(--jm-home-desktop-cta-padding) !important;
	}

	body.home.jm-theme-scaffold .jm-hero__ctas a.jm-home-cta:hover,
	body.home.jm-theme-scaffold .jm-hero__ctas a.jm-home-cta:focus-visible {
		background: var(--jm-home-desktop-cta-hover-background) !important;
		border-color: var(--jm-home-desktop-cta-hover-border-color) !important;
		color: var(--jm-home-desktop-cta-hover-text-color) !important;
		-webkit-text-fill-color: var(--jm-home-desktop-cta-hover-text-color) !important;
	}

	body.home .jm-bottom-chrome {
		padding: var(--jm-home-desktop-bottom-chrome-padding) !important;
	}

	body.home .jm-bottom-chrome__inner {
		gap: var(--jm-home-desktop-bottom-chrome-inner-gap) !important;
		max-width: var(--jm-home-desktop-bottom-chrome-inner-max-width) !important;
		width: var(--jm-home-desktop-bottom-chrome-inner-width) !important;
	}

	body.home .jm-routes {
		border-radius: var(--jm-home-desktop-routes-border-radius) !important;
	}

	body.home .jm-routes__inner {
		gap: var(--jm-home-desktop-routes-inner-gap) !important;
	}

	body.home .jm-route {
		padding: var(--jm-home-desktop-route-padding) !important;
	}

	body.home .jm-route .label {
		max-width: var(--jm-home-desktop-route-label-max-width) !important;
	}

	body.home .jm-route .hovertext {
		padding: var(--jm-home-desktop-route-hovertext-padding) !important;
	}
}

@media (min-width: 1680px) {
	body.home .jm-hero {
		background-position: var(--jm-home-wide-hero-bg-position) !important;
	}

	body.home .jm-hero__content {
		max-width: var(--jm-home-wide-hero-content-max-width) !important;
		width: var(--jm-home-wide-hero-content-width) !important;
	}

	body.home .jm-bottom-chrome__inner {
		max-width: var(--jm-home-wide-bottom-chrome-inner-max-width) !important;
		width: var(--jm-home-wide-bottom-chrome-inner-width) !important;
	}

	body.home .jm-route {
		height: var(--jm-home-wide-route-height) !important;
		padding: var(--jm-home-wide-route-padding) !important;
	}

	body.home .jm-route .label {
		font-size: var(--jm-home-wide-route-label-font-size) !important;
		max-width: var(--jm-home-wide-route-label-max-width) !important;
	}

	body.home .jm-route .hovertext {
		font-size: var(--jm-home-wide-route-hovertext-font-size) !important;
		padding: var(--jm-home-wide-route-hovertext-padding) !important;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.home .jm-hero__content {
		padding: clamp(3.25rem, 7vw, 4.5rem) 0 2.5rem !important;
	}
}

@media (max-width: 767px) {
	.home .jm-hero {
		background-position: 72% center;
	}

	.home .jm-hero__content {
		padding: 2.75rem 0 2rem !important;
		width: min(calc(100% - 1.5rem), var(--jm-width-shell)) !important;
	}

	.home .jm-hero__h1 {
		max-width: none;
		white-space: normal;
	}

	.home .jm-hero__sub {
		white-space: normal;
	}

	.home .jm-hero__ctas .jm-button {
		min-width: 10rem;
		width: 100%;
	}

	.home .jm-routes__inner {
		flex-direction: column !important;
	}

	.home .jm-route {
		flex: 1 1 100% !important;
		height: clamp(4rem, 6vw, 5.5rem) !important;
		width: 100% !important;
	}

	.home .jm-route + .jm-route {
		border-left: 0 !important;
		border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
	}

	.home .jm-route:nth-child(odd) {
		border-right: 0 !important;
	}
}

/* Homepage readable font-size floors */
.home .jm-hero__sub {
	font-size: clamp(1.05rem, 1.15vw, 1.125rem) !important;
}

.home .jm-hero__ctas .jm-button {
	font-size: clamp(1.2rem, 1.4vw, 1.5rem) !important;
}

.home .jm-route .label {
	font-size: clamp(1.25rem, 1.35vw, 1.5rem) !important;
}

.home .jm-route .hovertext {
	font-size: clamp(1.05rem, 1.2vw, 1.3rem) !important;
}

.home .jm-bottom-chrome__legal {
	font-size: clamp(1rem, 1.1vw, 1.2rem) !important;
}
