/*
 Theme Name: MyHome Restoration Experts
 Theme URI: https://myhomerestorationexperts.com
 Description: Child theme for MyHome Restoration Experts: reconstruction after water and fire damage in New York City. Rebuilt 2026-11-24 from the approved prototype.
 Author: Renovation By My Home, Inc.
 Template: generatepress
 Version: 2.4.2
 License: GNU General Public License v2 or later
 Text Domain: myhome-restoration
*/
/* MyHome family tokens (knowledge/company-brain/brand/design.md); brass only in the logo's repair line. */
:root{--ink:#282828;--slate:#293E4C;--terracotta:#CF6F4C;--sage:#818B7E;--grey:#DAD8D2;--warmgrey:#EAE6E2;--cream:#F8F5F3;
--sans:"Roobert","Segoe UI",-apple-system,Helvetica,Arial,sans-serif;--word:"Outfit","Segoe UI",Arial,sans-serif}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);font-weight:300;font-size:17px;line-height:1.6;overflow-wrap:anywhere}
a{color:var(--slate)}
img{max-width:100%;height:auto}
b,strong{font-weight:500}
.skip{position:absolute;left:-9999px;top:0;background:var(--slate);color:#fff;padding:10px 16px;z-index:10}
.skip:focus{left:8px;top:8px}
main:focus{outline:none}
.wrap{max-width:1040px;margin:0 auto;padding:0 20px}
/* Header: a translucent layer that content scrolls under (Apple materials), solid when transparency is reduced. */
header.site{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.82);-webkit-backdrop-filter:saturate(180%) blur(18px);backdrop-filter:saturate(180%) blur(18px);box-shadow:0 1px 0 rgba(41,62,76,.08)}
@media (prefers-reduced-transparency:reduce){header.site{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 1px 0 var(--grey)}}
@media (prefers-contrast:more){header.site{background:#fff;box-shadow:0 1px 0 var(--ink)}}
html{scroll-padding-top:88px}
/* Phones: the menu wraps to two rows, so the header scrolls away instead of covering a quarter of the screen. */
@media (max-width:700px){header.site{position:static}html{scroll-padding-top:0}}
header.site .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.brand img{width:44px;height:45px}
.brand .word{font-family:var(--word);font-weight:500;font-size:19px;line-height:1.02}
nav.main ul{display:flex;gap:18px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
nav.main a{text-decoration:none;color:var(--ink);padding:10px 2px;min-height:44px;display:inline-flex;align-items:center}
nav.main .current-menu-item>a,nav.main .current_page_item>a,nav.main a[aria-current]{border-bottom:2px solid var(--terracotta)}
.hphone{font-weight:500;text-decoration:none;color:var(--slate);min-height:44px;display:inline-flex;align-items:center}
@media (max-width:640px){nav.main ul{gap:4px 14px}nav.main a{font-size:15px}}
/* Terracotta is an accent, not a fill (design.md): buttons are slate with a terracotta keyline. White on slate passes WCAG AA. */
.btn,.wpforms-submit{display:inline-flex!important;align-items:center;justify-content:center;min-height:48px;padding:0 22px!important;background:var(--slate)!important;color:#fff!important;
text-decoration:none;font-weight:500;border:0!important;border-bottom:3px solid var(--terracotta)!important;font-family:var(--sans)!important;font-size:16px!important;cursor:pointer;border-radius:0!important}
.btn:hover,.wpforms-submit:hover{background:var(--ink)!important}
/* Feedback on press, instantly (Apple: respond on pointer-down). */
.btn,.wpforms-submit{transition:transform 120ms ease-out,background-color 150ms ease-out}
.btn:active,.wpforms-submit:active{transform:scale(.97)}
.btn.ghost{background:transparent!important;color:var(--slate)!important;border:1px solid var(--slate)!important}
.btn.ghost:hover{background:var(--warmgrey)!important}
.btn.light{background:#fff!important;color:var(--slate)!important}
.btn.light:hover{background:var(--cream)!important}
.hero{padding-top:64px;padding-bottom:48px}
/* Type: tracking tightens as size grows; leading tightens with it. */
h1{font-family:var(--word);font-weight:400;font-size:clamp(32px,5vw,52px);line-height:1.06;letter-spacing:-.022em;margin:0 0 18px;max-width:20ch}
h2{font-family:var(--word);font-weight:400;font-size:clamp(24px,3vw,32px);line-height:1.15;letter-spacing:-.012em;margin:0 0 14px}
h3{font-family:var(--word);font-weight:500;font-size:20px;margin:22px 0 8px}
.lead{font-size:clamp(17px,2vw,20px);max-width:60ch}
.since{margin:14px 0 0;padding-left:12px;border-left:3px solid var(--terracotta);color:var(--slate);max-width:60ch}
figure.photo{margin-top:0;margin-bottom:0;margin-left:0;margin-right:0}
.photo img{display:block;width:100%;height:auto}
.photo figcaption{font-size:12px;color:var(--slate);margin-top:6px}
/* Hero: text and photo on one grid; the photo sits beside the text on wide screens, under it on phones. */
.hero.split{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:48px;align-items:center}
.hero-photo img{aspect-ratio:4/5;object-fit:cover;object-position:50% 40%;box-shadow:0 24px 48px -28px rgba(41,62,76,.45)}
@media (max-width:860px){.hero.split{grid-template-columns:1fr;gap:28px}.hero-photo img{aspect-ratio:16/10}}
.card .photo{margin:-20px -20px 14px}
.card .photo figcaption{padding:0 20px}
.faq details{background:#fff;border:1px solid var(--grey);margin-bottom:10px}
.faq summary{cursor:pointer;padding:14px 18px;font-weight:500;min-height:48px;list-style-position:inside}
.faq details p{margin:0;padding:0 18px 16px}
.diagram{margin:8px 0 4px}
.diagram img{display:block;width:100%;height:auto}
@media (max-width:700px){.diagram{display:none}}
/* Wide screens: the step text sits in four columns centred under the diagram's icons, no boxes. */
@media (min-width:701px){
 .plan .steps{grid-template-columns:repeat(4,1fr);gap:0}
 .plan .steps li{background:none;border:0;padding:8px 14px 0;text-align:center}
 .plan .steps li::before{display:none}
}
.note{font-size:14px;color:var(--slate);margin-top:20px}
.cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
section{padding:56px 0;border-top:1px solid var(--grey)}
/* Closing band: slate, the brand's editorial secondary; terracotta stays a keyline. */
section.band{background:var(--slate);color:#fff;border-top:0;padding:64px 0}
section.band .lead{color:#fff}
section.band a:focus-visible{outline-color:#fff}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.grid.two{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.card{background:#fff;border:1px solid var(--grey);padding:20px}
.card p,.not p{margin:8px 0 0}
.steps{counter-reset:s;list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.steps li{background:#fff;border:1px solid var(--grey);padding:20px}
.steps li::before{counter-increment:s;content:counter(s);display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;
background:var(--warmgrey);font-weight:500;margin-bottom:8px}
.not{background:var(--warmgrey);padding:20px}
.prose{max-width:70ch}
.prose h2{margin-top:32px}
.post-body{padding-top:48px;padding-bottom:40px;max-width:760px}
ul.posts{list-style:none;padding:0}
ul.posts li{padding:16px 0;border-bottom:1px solid var(--grey)}
label,.wpforms-field-label{font-weight:500!important}
input,select,textarea{font:inherit;font-weight:300;padding:12px;border:1px solid var(--sage);background:#fff;min-height:48px;width:100%;max-width:100%!important;border-radius:0}
textarea{min-height:120px}
input:focus,select:focus,textarea:focus,a:focus-visible,.btn:focus-visible{outline:3px solid var(--terracotta);outline-offset:2px}
.wpforms-container{max-width:640px}
.wpforms-field{margin-bottom:14px}
.wpforms-field-label{display:block;margin-bottom:6px}
.wpforms-required-label{color:var(--terracotta)}
.wpforms-field-description,.wpforms-field-sublabel{font-size:14px;color:var(--slate)}
label.wpforms-error,em.wpforms-error{display:block;color:var(--slate);font-style:normal;font-size:14px;margin-top:4px;padding-left:8px;border-left:3px solid var(--terracotta)}
input.wpforms-error,select.wpforms-error,textarea.wpforms-error{border-color:var(--terracotta)}
.wpforms-hidden,.wpforms-field-hp{display:none!important}
/* WPForms' honeypot is the field after the last real one (form 464: field_8); its own CSS is off. */
#wpforms-464-field_8-container{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.wpforms-confirmation-container-full{background:var(--warmgrey)!important;border:0!important;color:var(--ink)!important}
footer.site{background:var(--ink);color:var(--cream);padding:28px 0;font-size:14px;margin-top:40px}
footer.site a{color:var(--cream)}
footer.site ul{list-style:none;display:flex;flex-wrap:wrap;gap:6px 18px;padding:0;margin:12px 0}
footer.site .small{opacity:.8;font-size:13px}
footer.site{margin-top:0}
main>section:last-child.band,main>.band:last-child{margin-bottom:0}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}.btn:active,.wpforms-submit:active{transform:none}}
