/* 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: clip;
}

.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;
}

/* Preserve the tablet composition while allowing the locked subheading to wrap. */
/* Short viewports, including desktop zoom, must allow access to the whole page. */
@media (min-width: 768px) and (max-height: 600px) {
    html:has(body.home), body.home, body.home.jm-page-class-a { height: auto !important; }
    .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: auto !important; min-height: 0 !important; overflow: visible; }
}
/* Authoritative homepage composition. The photograph keeps a separate text-free column. */
.home .jm-hero {
 background: #0b0d10 url("https://justinhmueller.com/wp-content/uploads/2026/01/The-SMS-Coach-1-scaled.jpg") 84% 10% / cover no-repeat;
 min-height: max(38rem, calc(100svh - 13rem));
 display: grid;
 align-items: center;
}
.home .jm-hero__content {
 box-sizing: border-box;
 display: grid;
 grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
 gap: 1.25rem 0;
 width: min(calc(100% - 4rem), 116rem);
 margin: 0 auto;
 padding-block: 2.5rem;
}
.home .jm-hero__content > * { grid-column: 1; min-width: 0; margin: 0; }
.home .jm-hero__h1 {
 color: #f5f5f5;
 font: 900 clamp(2.25rem, 3.3vw, 4rem) / 1.1 var(--jm-font-family);
 letter-spacing: -0.025em;
 overflow-wrap: break-word;
}
.home .jm-hero__line { display: block; }
.home .jm-hero__sub { max-width: 52ch; font-size: 1.125rem; line-height: 1.55; color: #f5f5f5; }
.home .jm-hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.home .jm-home-cta {
 align-items: center;
 background: var(--jm-home-cta-bg);
 border: 1px solid var(--jm-home-cta-border-color);
 border-radius: var(--jm-radius-pill);
 box-shadow: var(--jm-shadow-none);
 color: var(--jm-color-text);
 display: inline-flex;
 font-family: var(--jm-font-family);
 font-size: var(--jm-font-size-button);
 font-weight: 800;
 justify-content: center;
 line-height: 1.2;
 max-width: 100%;
 min-height: var(--jm-tap-target);
 min-width: 0;
 padding: var(--jm-button-padding);
 text-align: center;
 text-decoration: none;
 -webkit-text-fill-color: var(--jm-color-text);
 white-space: normal;
 width: fit-content;
}
.home .jm-home-cta:hover,
.home .jm-home-cta:focus-visible {
 background: var(--jm-home-cta-bg);
 border-color: var(--jm-home-cta-border-color);
 color: var(--jm-color-text);
 -webkit-text-fill-color: var(--jm-color-text);
}
@media (min-width: 768px) {
	.home .jm-hero__content { padding-top: var(--jm-content-top-pad); }
}
@media (max-width: 767px) {
 .home .jm-hero { min-height: 0; background: #0b0d10; }.home .jm-hero::before { content: ""; display: block; height: clamp(10rem, 45vw, 18rem); background: url("https://justinhmueller.com/wp-content/uploads/2026/01/The-SMS-Coach-1-scaled.jpg") 75% 30% / cover no-repeat; }
 .home .jm-hero__content { grid-template-columns: minmax(0, 1fr); width: calc(100% - 2rem); padding-block: 2rem; }
 .home .jm-hero__h1 { font-size: clamp(2rem, 7vw, 3rem); }
 .home .jm-hero__ctas .jm-home-cta { flex: 1 1 12rem; }
}
