/* Task 15 P01 homepage .8 candidate. */
body.home .gm-site-header { background: var(--hgw-paper); }
body.home .gm-site-header .gm-brand { align-items: center; min-height: 44px; }
body.home .gm-site-header .gm-brand .gm-brand-lockup { align-items: center; align-self: center; justify-content: center; min-height: 0; height: auto; line-height: 1; }
body.home .gm-mobile-nav:not([open]) .gm-mobile-nav__panel { display: none; }
body.home .gm-site-header .gm-mobile-begin span { color: var(--hgw-accent); }

.hgw-recovery-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(22rem, .92fr); min-height: 0; background: var(--hgw-brand); color: #fff; }
.hgw-recovery-hero__media { align-self: center; min-height: 0; aspect-ratio: 16 / 9; margin: 0; overflow: hidden; }
.hgw-recovery-hero__media picture, .hgw-recovery-hero__media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 52% center; }
.hgw-recovery-hero__copy { display: flex; flex-direction: column; justify-content: center; gap: .85rem; padding: 2rem clamp(2rem, 3vw, 3rem); }
.hgw-recovery-hero__copy .gm-kicker { color: var(--hgw-accent); }
.hgw-recovery-hero h1 { max-width: 14ch; margin: 0; color: #fff; font-size: clamp(2.5rem, 3.6vw, 4rem); line-height: .98; letter-spacing: -.04em; }
.hgw-recovery-hero__copy > p { max-width: 38rem; margin: 0; color: var(--hgw-paper); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.55; }
.hgw-recovery-guide-search { display: grid; gap: .5rem; margin-top: .45rem; }
.hgw-recovery-guide-search label { font-weight: 750; color: #fff; }
.hgw-recovery-guide-search div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.hgw-recovery-guide-search input, .hgw-recovery-guide-search button { min-height: 48px; border-radius: .35rem; font: inherit; }
.hgw-recovery-guide-search input { min-width: 0; padding: .75rem 1rem; border: 1px solid var(--hgw-accent); background: #fff; color: var(--hgw-ink-deep); }
.hgw-recovery-guide-search button { border: 1px solid var(--hgw-action); padding: .7rem 1.15rem; background: var(--hgw-action); color: #fff; font-weight: 800; cursor: pointer; }
.hgw-recovery-hero__start { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; color: #fff; font-weight: 750; text-underline-offset: .25em; }

.hgw-recovery-main { width: min(100% - 2rem, 86rem); margin-inline: auto; }
.hgw-recovery-main section { scroll-margin-top: 6rem; }
.hgw-recovery-section-heading h2, .hgw-recovery-editorial-heading h2 { margin: 0; font-size: clamp(2rem, 3.7vw, 3.6rem); line-height: 1.05; letter-spacing: -.035em; }
.hgw-recovery-editorial-heading { display: grid; gap: .6rem; max-width: 54rem; margin-bottom: 1.6rem; }
.hgw-recovery-editorial-heading p { margin: 0; font-size: 1.1rem; line-height: 1.6; }

.hgw-recovery-lanes { padding: clamp(2.2rem, 4vw, 4rem) 0; }
.hgw-recovery-lane-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: 1.25rem; }
.hgw-recovery-lane { display: flex; min-height: 12rem; flex-direction: column; padding: 1.15rem; border: 1px solid var(--hgw-rule); border-top: .4rem solid var(--hgw-action); border-radius: .45rem; background: var(--hgw-paper-warm); color: var(--hgw-brand); text-decoration: none; }
.hgw-recovery-lane--solve { border-top-color: var(--hgw-action); }.hgw-recovery-lane--improve { border-top-color: var(--hgw-action); }.hgw-recovery-lane--buy { border-top-color: var(--hgw-action); }
.hgw-recovery-lane > span { font-size: .8rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.hgw-recovery-lane strong { margin-top: .35rem; font-size: 1.15rem; line-height: 1.2; }
.hgw-recovery-lane p { margin: .55rem 0 .8rem; color: var(--hgw-ink-soft); line-height: 1.45; }
.hgw-recovery-lane b { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; }

.hgw-recovery-library > section { padding: clamp(3.5rem, 7vw, 7rem) 0; border-top: 1px solid var(--hgw-rule); }
.hgw-recovery-library a { color: inherit; text-decoration: none; }
.hgw-recovery-library a b { display: inline-flex; align-items: center; min-height: 44px; color: var(--hgw-action-hover); text-decoration: underline; text-underline-offset: .22em; }
.hgw-recovery-library figure { position: relative; align-self: start; min-height: 0; aspect-ratio: 3 / 2; margin: 0; overflow: hidden; background: #dfe6dd; }
.hgw-recovery-library figure img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
.hgw-recovery-library a:hover figure img { transform: scale(1.015); }
.hgw-recovery-library h3 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 2.15rem); line-height: 1.08; }
.hgw-recovery-library p { margin: .55rem 0 0; line-height: 1.55; color: var(--hgw-ink-soft); }
.hgw-recovery-basics__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(21rem, .75fr); gap: 1.25rem; }
.hgw-recovery-feature { display: grid; grid-template-rows: auto 1fr; background: var(--hgw-brand); color: #fff !important; }
.hgw-recovery-feature figure img { object-position: center 58%; }.hgw-recovery-feature div { padding: 1.5rem; }.hgw-recovery-feature h3 { color: #fff; }.hgw-recovery-feature p { color: var(--hgw-brand-pale); }.hgw-recovery-feature b { color: #fff !important; }
.hgw-recovery-basics__support { display: grid; gap: .85rem; }
.hgw-recovery-brief { display: grid; grid-template-columns: 8.5rem 1fr; min-height: 10rem; border-bottom: 1px solid #bab8aa; }
.hgw-recovery-brief div { padding: .5rem 0 1rem 1rem; }
.hgw-recovery-brief--text { grid-template-columns: 1fr; padding: 1.25rem; background: var(--hgw-paper-warm); border: 0; }.hgw-recovery-brief--text div { padding: 0; }
.hgw-recovery-brief--wide { grid-template-columns: 11rem 1fr; }

.hgw-recovery-split { background: var(--hgw-paper-warm); box-shadow: 0 0 0 100vmax var(--hgw-paper-warm); clip-path: inset(0 -100vmax); }
.hgw-recovery-split__grid, .hgw-recovery-diagnose__grid, .hgw-recovery-beds__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.hgw-recovery-split__grid > a, .hgw-recovery-diagnose__grid > a, .hgw-recovery-beds__grid > a { display: grid; background: #fff; box-shadow: 0 1px 0 rgba(20,50,34,.15); }
.hgw-recovery-split__grid > a > div, .hgw-recovery-diagnose__grid > a > div, .hgw-recovery-beds__grid > a > div { padding: 1.25rem; }
.hgw-recovery-diagnose { background: var(--hgw-brand); color: #fff; box-shadow: 0 0 0 100vmax var(--hgw-brand); clip-path: inset(0 -100vmax); }
.hgw-recovery-diagnose .gm-kicker { color: var(--hgw-accent); }.hgw-recovery-diagnose .hgw-recovery-editorial-heading h2 { color: #fff; }.hgw-recovery-diagnose .hgw-recovery-editorial-heading p { color: var(--hgw-brand-pale); }.hgw-recovery-diagnose__grid > a { color: var(--hgw-brand); }
.hgw-recovery-materials { align-content: start; grid-template-rows: max-content max-content; }
.hgw-recovery-materials__photos { display: grid; grid-template-columns: 3fr 2fr; padding: 0 !important; }
.hgw-recovery-materials__photos figure:last-child { aspect-ratio: 1 / 1; }

.hgw-recovery-identity { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; padding: clamp(3rem, 6vw, 5.5rem) 0; border-top: 1px solid var(--hgw-rule); }
.hgw-recovery-identity h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; }.hgw-recovery-identity p { max-width: 42rem; line-height: 1.6; }.hgw-recovery-identity a { display: inline-flex; align-items: center; min-height: 44px; color: var(--hgw-action-hover); font-weight: 800; }
.hgw-recovery-notes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); padding: clamp(2.5rem, 5vw, 5rem); background: var(--hgw-paper-warm); }
.hgw-recovery-notes__copy h2 { margin: .4rem 0; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1; }.hgw-recovery-notes__copy p { font-size: 1.1rem; }
.hgw-recovery-notes .gm-newsletter__form { align-self: center; }.hgw-recovery-notes .gm-newsletter__form input, .hgw-recovery-notes .gm-newsletter__form button { min-height: 48px !important; }
.hgw-recovery-notes .gm-newsletter__form label { display: block !important; margin-bottom: .4rem !important; color: var(--hgw-brand) !important; font-weight: 800 !important; }
.hgw-recovery-notes .gm-newsletter__form a { display: inline-flex !important; min-height: 44px !important; align-items: center !important; color: var(--hgw-brand) !important; }
.hgw-recovery-notes .gmf-subscribe__consent { color: var(--hgw-brand) !important; opacity: 1 !important; font-size: 1rem !important; line-height: 1.55 !important; }
.hgw-recovery-notes .gmf-subscribe__consent a { color: var(--hgw-brand) !important; font-weight: 750 !important; text-decoration-thickness: 2px !important; }
.hgw-recovery-notes .formkit-powered-by-convertkit { min-height: 32px; opacity: .75; color: var(--hgw-brand) !important; font-size: .85rem !important; }

.gm-site-footer .gm-footer-main { grid-template-columns: minmax(18rem, 1.3fr) repeat(3, minmax(10rem, .7fr)); gap: 2rem; }
.gm-site-footer .gm-footer-brand p, .gm-site-footer nav a { font-size: 1rem; line-height: 1.55; }.gm-site-footer nav a { display: flex; align-items: center; min-height: 44px; }

@media (max-width: 64rem) {
	.hgw-recovery-hero { grid-template-columns: 1fr; }.hgw-recovery-hero__media { align-self: auto; aspect-ratio: 4 / 3; }.hgw-recovery-hero__copy { padding: 2.5rem; }
	.hgw-recovery-lane-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.hgw-recovery-basics__grid { grid-template-columns: 1fr; }.hgw-recovery-basics__support { grid-template-columns: 1fr; }.hgw-recovery-brief, .hgw-recovery-brief--wide { grid-template-columns: 11rem 1fr; }.hgw-recovery-brief div { padding: .5rem 0 1rem 1rem; }.hgw-recovery-brief--text { grid-template-columns: 1fr; }.hgw-recovery-brief--text div { padding: 0; }
	.gm-site-footer .gm-footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 44rem) {
	.hgw-recovery-hero { grid-template-columns: 1fr; min-height: 0; }.hgw-recovery-hero__media { min-height: 0; aspect-ratio: 4 / 5; }.hgw-recovery-hero__copy { padding: 1.5rem 1rem 1.75rem; gap: .75rem; }.hgw-recovery-hero h1 { font-size: clamp(2.2rem, 10vw, 3.25rem); }.hgw-recovery-guide-search div { grid-template-columns: 1fr; }.hgw-recovery-guide-search button { width: 100%; }
	.hgw-recovery-main { width: min(100% - 1.25rem, 86rem); }.hgw-recovery-lanes { padding: 2rem 0; }.hgw-recovery-lane-grid { gap: .5rem; }.hgw-recovery-lane { min-height: 13rem; padding: .85rem; }.hgw-recovery-lane p { display: block; font-size: .9rem; }.hgw-recovery-lane strong { font-size: 1rem; }
	.hgw-recovery-library > section { padding: 3.25rem 0; }.hgw-recovery-basics__support, .hgw-recovery-split__grid, .hgw-recovery-diagnose__grid, .hgw-recovery-beds__grid { grid-template-columns: 1fr; }.hgw-recovery-brief, .hgw-recovery-brief--wide { grid-template-columns: 8rem 1fr; }.hgw-recovery-brief--text { grid-template-columns: 1fr; }.hgw-recovery-brief div { padding: .4rem 0 .8rem .8rem; }.hgw-recovery-brief--text div { padding: 0; }
	.hgw-recovery-identity, .hgw-recovery-notes { grid-template-columns: 1fr; }.hgw-recovery-notes { padding: 2.5rem 1rem; }
	.gm-site-footer .gm-footer-main { grid-template-columns: 1fr 1fr; gap: 1rem; }.gm-site-footer .gm-footer-brand { grid-column: 1 / -1; }.gm-site-footer nav a { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .hgw-recovery-library figure img { transition: none; } }
