/* Homepage-only mobile presentation. Desktop declarations only hide new UI. */
#mh-home, #mh-nav, #mh-menu { display:none; }
#mh-existing { display:contents; }
@media (max-width:767px) {
 html.mh-ready { scroll-padding-bottom:90px; }
 html.mh-ready body { padding-bottom:0; }
 .mh-ready #mh-home { display:block; background:#fff; color:#263644; font-family:Inter,Arial,sans-serif; padding-bottom:0; }
 .mh-ready #mh-existing { display:none; }
 .mh-ready.mh-expanded #mh-existing { display:block; padding-bottom:90px; }
 .mh-ready #mh-existing .mobile-sticky-cta, .mh-ready #scroll-to-top { display:none!important; }
 .mh-ready #main-header a:has(img) { flex-shrink:1; min-width:0; }
 .mh-ready #main-header img { width:auto; max-width:min(60vw,240px); height:auto; }
 .mh-ready #mobile-menu-drawer img { max-width:calc(100% - 35px); height:auto; }
 .mh-ready #mh-existing .mh-return-form { display:block; background:#bc0c2e; color:white; padding:16px; border-radius:6px; text-align:center; font-weight:700; }
 #mh-home *, #mh-nav *, #mh-menu * { box-sizing:border-box; }
 #mh-home { --mh-red:#bc0c2e; --mh-ink:#102431; }
 #mh-home h1,#mh-home h2,#mh-home h3,#mh-home p { margin:0; }
 #mh-home a,#mh-home button,#mh-nav a,#mh-nav button,#mh-menu a,#mh-menu button { -webkit-tap-highlight-color:transparent; }
 #mh-home a:focus-visible,#mh-home button:focus-visible,#mh-home summary:focus-visible,#mh-nav :focus-visible,#mh-menu :focus-visible { outline:3px solid #1762ae; outline-offset:4px; }
 #mh-home section { scroll-margin-top:18px; }
 #mh-home .mh-top { padding:22px 20px 17px; background:#fff; text-align:center; }
 #mh-home .mh-logo { width:204px; height:55px; object-fit:contain; margin:0 auto 17px; background:#102431; padding:10px 12px; border-radius:3px; }
 #mh-home .mh-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; max-width:460px; margin:auto; }
 #mh-home .mh-btn { display:flex; align-items:center; justify-content:center; min-height:48px; padding:12px 16px; background:var(--mh-red); border:1px solid var(--mh-red); color:white; text-decoration:none; font-size:13px; font-weight:750; line-height:1.35; text-align:center; border-radius:2px; }
 #mh-home .mh-btn-outline { color:var(--mh-red); background:white; }
 #mh-home .mh-hero { padding:42px 24px 32px; text-align:center; color:white; background:linear-gradient(115deg,rgba(10,28,40,.95),rgba(10,28,40,.82)),url('/media/images/real-work-denver-garage-door-1.webp') center/cover; }
 #mh-home .mh-eyebrow { text-transform:uppercase; font-size:10px; font-weight:800; letter-spacing:2.2px; color:var(--mh-red); margin:0 0 12px; }
 #mh-home .mh-hero .mh-eyebrow { color:#e3e9ed; }
 #mh-home .mh-hero h1 { font-size:32px; line-height:1.08; letter-spacing:-.7px; font-weight:900; max-width:430px; margin:0 auto 16px; }
 #mh-home .mh-location { font-size:14px; font-weight:650; margin-bottom:14px; }
 #mh-home .mh-intro { font-size:14px; line-height:1.65; max-width:360px; margin:0 auto 24px; }
 #mh-home .mh-call { display:block; color:var(--mh-ink); background:white; padding:16px; border-radius:4px; max-width:400px; margin:auto; text-decoration:none; box-shadow:0 8px 20px #0002; }
 #mh-home .mh-call strong { display:block; font-size:21px; line-height:1.4; }
 #mh-home .mh-call span { font-size:16px; }
 #mh-home .mh-sub-link { display:inline-block; color:white; font-size:12px; padding:16px 0 8px; text-decoration:underline; }
 #mh-home .mh-note { font-size:11px; line-height:1.6; opacity:.9; }
 #mh-home .mh-section { padding:44px 24px; text-align:center; max-width:640px; margin:auto; }
 #mh-home h2 { font-size:26px; font-weight:850; line-height:1.16; letter-spacing:-.5px; text-transform:uppercase; color:var(--mh-red); margin-bottom:16px; }
 #mh-home .mh-copy { font-size:14px; line-height:1.7; max-width:400px; margin:0 auto 22px; color:#53616c; }
 #mh-home .mh-section > .mh-btn { width:fit-content; margin:18px auto 0; }
 #mh-home .mh-review-links { display:flex; justify-content:center; gap:10px; flex-wrap:wrap; }
 #mh-home .mh-rule { border:0; border-top:1px solid #e5e8eb; margin:0 24px; }
 #mh-home .mh-carousel { position:relative; padding:14px 22px 0; }
 #mh-home .mh-card { min-height:295px; border:1px solid #ddbdc6; padding:36px 22px 22px; text-align:left; position:relative; display:flex; flex-direction:column; }
 #mh-home .mh-card[hidden] { display:none; }
 #mh-home .mh-card-icon { position:absolute; top:-18px; left:calc(50% - 20px); width:40px; height:40px; border-radius:50%; background:var(--mh-red); color:white; display:grid; place-items:center; border:4px solid white; }
 #mh-home h3 { font-size:19px; font-weight:750; color:var(--mh-red); margin:0 0 15px; }
 #mh-home .mh-card p { font-size:14px; line-height:1.65; margin-bottom:24px; color:#53616c; }
 #mh-home .mh-card .mh-btn { margin-top:auto; }
 #mh-home .mh-card .mh-btn-outline { margin-top:8px; color:#3c4952; border-color:#bfc5cb; }
 #mh-home .mh-arrow { position:absolute; top:42%; width:44px; height:48px; color:var(--mh-red); font-size:29px; background:transparent; border:0; z-index:1; }
 #mh-home .mh-prev { left:-18px; } #mh-home .mh-next { right:-18px; }
 #mh-home .mh-dots { display:flex; justify-content:center; margin-top:12px; }
 #mh-home .mh-dot { width:44px; height:44px; display:grid; place-items:center; background:transparent; border:0; }
 #mh-home .mh-dot::after { content:''; display:block; width:7px; height:7px; border-radius:50%; background:#bfc5cb; }
 #mh-home .mh-dot[aria-pressed=true]::after { background:var(--mh-red); }
 #mh-home .mh-form-section { background:#f1f4f6; max-width:none; }
 #mh-home .mh-form-inner { max-width:500px; margin:auto; }
 #mh-home #mh-form-slot { background:white; padding:22px 18px; box-shadow:0 8px 22px #1024310a; border-radius:8px; text-align:left; }
 #mh-form-slot form { margin:0; }
 #mh-form-slot form > .grid { display:block; }
 #mh-form-slot form > .grid > div + div { margin-top:16px; }
 #mh-form-slot label { display:block; color:#263644; font-size:12px; text-transform:none; letter-spacing:0; font-weight:700; margin-bottom:7px; }
 #mh-form-slot input:not([type=hidden]),#mh-form-slot select,#mh-form-slot textarea { width:100%; min-width:0; background:#f8fafb; color:#263644; border:1px solid #dce2e7; border-radius:3px; padding:12px; font:16px/1.4 Inter,Arial,sans-serif; }
 #mh-form-slot input:focus,#mh-form-slot select:focus,#mh-form-slot textarea:focus { outline:2px solid #1762ae; outline-offset:1px; }
 #mh-form-slot button[type=submit] { background:var(--mh-red); color:white; border-radius:3px; font-size:14px; padding:15px; }
 #mh-form-slot [data-submit-error] { color:#991b1b; font-size:14px; line-height:1.6; margin-top:14px; }
 #mh-home .mh-form-note { font-size:11px; line-height:1.7; margin-top:17px; color:#5d6873; }
 #mh-home .mh-steps { list-style:none; margin:24px 0 0; padding:0; text-align:left; counter-reset:steps; }
 #mh-home .mh-steps li { counter-increment:steps; display:flex; align-items:center; gap:14px; padding:18px 0; border-bottom:1px solid #edf0f2; font-size:14px; line-height:1.5; }
 #mh-home .mh-steps li::before { content:counter(steps); flex:0 0 30px; height:30px; display:grid; place-items:center; border-radius:6px; background:#f1f4f6; font-weight:700; }
 #mh-home details { border-bottom:1px solid #e4e8eb; text-align:left; }
 #mh-home summary { padding:18px 0; font-size:14px; font-weight:650; cursor:pointer; }
 #mh-home details p { font-size:14px; line-height:1.65; padding:0 0 20px; color:#53616c; }
 #mh-home .mh-profile { display:block; border:1px solid #d8b8c2; padding:25px 20px; background:#f8f9fb; border-radius:4px; color:#263644; text-decoration:none; margin-top:20px; }
 #mh-home .mh-profile strong { display:block; font-size:14px; margin:8px 0; }
 #mh-home .mh-profile span { font-size:12px; text-decoration:underline; }
 #mh-home .mh-closing { padding:40px 24px; background:var(--mh-ink); color:white; text-align:center; }
 #mh-home .mh-closing h2 { color:white; text-transform:none; }
 #mh-home .mh-closing .mh-eyebrow { color:#dce5eb; }
 #mh-home .mh-closing .mh-copy { color:#e1e7eb; }
 #mh-home .mh-footer { padding:30px 24px calc(100px + env(safe-area-inset-bottom)); background:#081621; color:#e1e7eb; font-size:12px; line-height:1.8; }
 #mh-home .mh-footer strong { display:block; color:white; font-size:14px; margin-bottom:10px; }
 #mh-home .mh-footer a { color:inherit; }
 #mh-home .mh-footer .mh-btn { margin-top:24px; background:white; color:var(--mh-ink); border-color:white; width:100%; }
 .mh-ready #mh-nav { position:fixed; display:grid; grid-template-columns:repeat(5,1fr); bottom:0; left:0; right:0; z-index:60; padding:5px 8px calc(5px + env(safe-area-inset-bottom)); background:white; border-top:1px solid #e5e8eb; box-shadow:0 -3px 16px #1024310c; }
 #mh-nav a,#mh-nav button { min-height:53px; background:transparent; border:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; color:#9d1331; font:10px/1.2 Inter,Arial,sans-serif; text-decoration:none; border-radius:3px; }
 #mh-nav .mh-nav-call { background:#bc0c2e; color:white; }
 #mh-nav svg { width:20px; height:20px; }
 .mh-ready #mh-menu[open] { display:block; position:fixed; inset:0; margin:auto; width:calc(100% - 40px); max-width:420px; max-height:75dvh; padding:26px; border:0; border-radius:8px; background:white; color:#102431; z-index:100; }
 #mh-menu::backdrop { background:#081621b3; }
 #mh-menu h2 { font-size:22px; margin:0 0 15px; font-weight:800; }
 #mh-menu a { display:block; padding:14px 0; border-bottom:1px solid #e5e8eb; color:#102431; }
 #mh-menu button { min-height:44px; padding:10px 18px; background:#bc0c2e; color:white; margin-top:20px; border-radius:3px; }
}
@media (prefers-reduced-motion:reduce) { html.mh-ready { scroll-behavior:auto!important; } }

/* Small mobile photo additions; existing desktop presentation is untouched. */
@media (max-width:767px) {
 #mh-home .mh-photo-section { border-top:1px solid #e5e8eb; }
 #mh-home .mh-project-photo { margin:0 0 18px; text-align:left; border:1px solid #e1e5e8; border-radius:4px; overflow:hidden; background:#f8fafb; }
 #mh-home .mh-project-photo img { display:block; width:100%; height:auto; }
 #mh-home .mh-project-photo figcaption { padding:12px 14px; color:#53616c; font-size:12px; line-height:1.5; }
 #mh-home .mh-hardware-section { padding-top:36px; }
 #mh-home .mh-hardware-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; text-align:left; }
 #mh-home .mh-hardware-card { display:block; color:#263644; background:white; border:1px solid #e1e5e8; border-radius:4px; overflow:hidden; text-decoration:none; }
 #mh-home .mh-hardware-card img { width:100%; height:auto; display:block; }
 #mh-home .mh-hardware-card > span { display:block; padding:12px; }
 #mh-home .mh-hardware-card strong { display:block; color:#bc0c2e; font-size:14px; line-height:1.4; margin-bottom:8px; }
 #mh-home .mh-hardware-card small { display:block; font-size:11px; line-height:1.5; }
}

#mh-photo-viewer { display:none; }
@media (max-width:767px) {
 #mh-home .mh-photo-link { display:block; cursor:zoom-in; }
 #mh-home .mh-hardware-detail { display:block; padding:12px; color:inherit; text-decoration:none; }
 #mh-photo-viewer[open] { display:block; position:fixed; inset:0; margin:auto; box-sizing:border-box; width:calc(100% - 24px); max-width:720px; max-height:94dvh; padding:16px; border:0; border-radius:8px; background:#102431; color:white; overflow:auto; }
 #mh-photo-viewer::backdrop { background:#020617e6; }
 #mh-photo-viewer .mh-photo-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
 #mh-photo-viewer h2 { margin:0; font-size:16px; font-weight:700; color:white; }
 #mh-photo-viewer button { min-height:44px; padding:10px 14px; background:white; color:#102431; border:0; border-radius:4px; font-weight:700; }
 #mh-photo-viewer figure { margin:0; }
 #mh-photo-viewer img { display:block; width:100%; height:auto; max-height:65dvh; object-fit:contain; }
 #mh-photo-viewer figcaption { font-size:13px; line-height:1.5; margin:12px 0 0; }
 #mh-photo-viewer > a { display:inline-flex; align-items:center; min-height:44px; font-size:13px; color:white; text-decoration:underline; }
 #mh-photo-viewer :focus-visible { outline:3px solid #70bcff; outline-offset:3px; }
}

@media (max-width:767px) {
 #mh-home .mh-photo-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; margin:16px 0; text-align:left; }
 #mh-home .mh-mini-photo { margin:0; min-width:0; border:1px solid #e1e5e8; border-radius:4px; overflow:hidden; background:#f8fafb; }
 #mh-home .mh-mini-photo img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }
 #mh-home .mh-mini-photo figcaption { padding:10px; color:#53616c; font-size:11px; line-height:1.5; }
 #mh-home .mh-photo-group { margin-top:30px; padding-top:24px; border-top:1px solid #e5e8eb; }
 #mh-home .mh-photo-group h3 { font-size:19px; text-align:left; margin:0; }
 #mh-home .mh-photo-group .mh-mini-photo img { aspect-ratio:3/4; object-fit:contain; background:#e7ebee; }
 #mh-home .mh-more-photos summary { min-height:48px; color:#bc0c2e; font-weight:700; }
 #mh-home .mh-photo-hint { font-size:12px; color:#53616c; margin:14px 0 0; }
 #mh-home .mh-photo-service { display:inline-flex; align-items:center; min-height:44px; color:#bc0c2e; font-size:13px; font-weight:700; text-decoration:underline; }
 #mh-photo-viewer .mh-photo-controls { display:flex; justify-content:space-between; align-items:center; gap:8px; margin:14px 0 0; }
 #mh-photo-viewer .mh-photo-controls button { background:transparent; color:white; border:1px solid #6b7c87; font-size:12px; padding:8px 10px; }
 #mh-photo-viewer [data-photo-count] { font-size:12px; white-space:nowrap; }
 #mh-photo-viewer img { max-height:56dvh; }
}

@media(max-width:767px){
 #mh-home .mh-hero{background:linear-gradient(115deg,#102431,#172f3d)}
 #mh-home .mh-work-video video{display:block;width:100%;height:auto;max-height:70dvh;background:#081621;border-radius:4px;margin-top:16px;object-fit:contain}
 #mh-home .mh-work-video h3{font-size:19px;text-align:left;margin:0}
 #mh-home .mh-video-caption{font-size:12px;line-height:1.6;color:#53616c;margin:12px 0 0;text-align:left}
}

@media(max-width:767px){#mh-home #mh-project-photos .mh-photo-grid:has(>figure:only-child){grid-template-columns:minmax(0,1fr)}#mh-home #mh-project-photos .mh-mini-photo figcaption{padding:12px 14px;font-size:12px}}
