/* Homepage only. Mobile alignment requested 19 October 2026. */
@media (max-width:767px){
body.home .lmx .lx-hero-content,
body.home .lmx .lx2-intro-content,
body.home .lmx .lx-section-top,
body.home .lmx .lx-light-copy,
body.home .lmx .lx-business-copy,
body.home .lmx .lx-gallery-heading>div:first-child,
body.home .lmx .lx2-process-intro,
body.home .lmx .lmc-intro,
body.home .lmx .lmc-aside,
body.home .lmx .lx-faq-intro,
body.home .lmx .lx-contact-copy,
body.home .lmx .lx-inquiry>h3,
body.home .lmx .lx-inquiry>p,
body.home .lmx .lm9-help,
body.home .lmx .lx-footnote,
body.home .lmx .lmc-panel>h3,
body.home .lmx .lmc-panel>p,
body.home .lmx .lmc-small,
body.home .lm-footer .lm-footer__intro,
body.home .lm-footer .lm-footer__brand{text-align:center}
body.home .lmx .lx-hero-content h1,
body.home .lmx .lx-hero-content>p,
body.home .lmx .lx2-intro-content>p,
body.home .lmx .lx-section-top>p,
body.home .lmx .lx-gallery-heading p,
body.home .lmx .lx-business-copy>p,
body.home .lmx .lx-business-panel p,
body.home .lmx .lmc-intro>p,
body.home .lmx .lx-faq-intro>p,
body.home .lmx .lx-contact-copy>p{margin-left:auto;margin-right:auto}
body.home .lmx .lx-hero .lx-actions{align-items:center;justify-content:center}
body.home .lmx .lx-hero .lx-actions .lx-btn{display:flex;width:100%;max-width:350px;min-height:52px;justify-content:center;box-sizing:border-box}
body.home .lmx .lx-hero .lx-btn-clear{border:1px solid var(--lx-paper,#fffdfa);background:transparent;color:var(--lx-paper,#fffdfa);padding:13px 18px;border-radius:4px;transition:background .25s,border-color .25s}
body.home .lmx .lx-hero .lx-btn-clear:is(:hover,:focus-visible){background:rgba(255,253,250,.14);border-color:var(--lx-paper,#fffdfa)}
body.home .lmx .lx-hero-bottom{display:none}
body.home .lmx .lx2-intro-content>.lx-link,
body.home .lmx .lx-light-copy>.lx-link,
body.home .lmx .lx2-process-intro>.lx-link,
body.home .lmx .lx-faq-intro>.lx-link{display:flex;width:fit-content;max-width:100%;margin-left:auto;margin-right:auto;justify-content:center;gap:18px}
body.home .lmx .lx2-process-sketch{margin-left:auto;margin-right:auto}
body.home .lmx .lx-business-panel .lx-btn{margin-left:auto;margin-right:auto}
body.home .lmx .lx2-moment-bar{flex-direction:column;align-items:center;text-align:center}
body.home .lmx .lx2-moment-controls{display:flex;justify-content:center;gap:12px;padding:0;border:0;background:transparent;width:100%;max-width:350px}
body.home .lmx .lx2-moment-controls button{flex:1;justify-content:center;min-width:0;min-height:48px;padding:11px 10px;border:1px solid var(--lx-gold,#b98b49);border-radius:4px;background:var(--lx-paper,#fffdfa);color:var(--lx-ink,#1f211d);font-size:12px}
body.home .lmx .lx2-moment-controls button[aria-pressed=true]{background:var(--lx-dark,#1d211d);color:var(--lx-paper,#fffdfa);border-color:var(--lx-dark,#1d211d)}
body.home .lmx .lx2-moment-controls button:is(:hover,:focus-visible){outline:2px solid var(--lx-gold,#b98b49);outline-offset:3px}
body.home .lmx .lmc-aside .lmc-text{display:block;margin-left:auto;margin-right:auto}
body.home .lmx .lm9-extra{margin:22px auto;width:100%}
body.home .lmx .lm9-extra>summary{display:flex;align-items:center;justify-content:center;gap:12px;min-height:56px;padding:14px 16px;box-sizing:border-box;border:1px solid var(--lx-gold,#b98b49);border-radius:4px;background:var(--lx-soft,#f6f1e8);color:var(--lx-ink,#1f211d);font-weight:600;line-height:1.6;text-align:center;list-style:none;cursor:pointer}
body.home .lmx .lm9-extra>summary::-webkit-details-marker{display:none}
body.home .lmx .lm9-extra>summary::after{content:"+";flex:0 0 26px;display:grid;place-items:center;height:26px;font-size:22px;line-height:1;color:var(--gold-dark,#8c6532)}
body.home .lmx .lm9-extra[open]>summary::after{content:"−"}
body.home .lmx .lm9-extra>summary:is(:hover,:focus-visible){background:var(--paper-3,#ece5d8);outline:2px solid var(--lx-gold,#b98b49);outline-offset:3px}
body.home .lmx .lm9-extra[open]>summary{margin-bottom:18px}
body.home .lm-footer .lm-footer__brand>a:first-child{display:block;width:fit-content;margin-left:auto;margin-right:auto}
body.home .lm-footer .lm-footer__brand p{margin-left:auto;margin-right:auto}
body.home .lm-footer .lm-footer__contact{display:flex;width:fit-content;justify-content:center;margin-left:auto;margin-right:auto;gap:20px}
body.home .lm-footer .lm-footer__cta{justify-content:center;gap:24px}
}

@media(max-width:767px){body.home .lmx .lx-hero{height:calc(100svh - 150px - var(--wp-admin--admin-bar--height,0px));min-height:520px}body.home .lmx .lx-hero-content{padding-top:64px;padding-bottom:28px}}

/* Compact mobile homepage rhythm, 19 October 2026. */
body.home .lmx .lx-hero-mobile-tagline{display:none}
@media(max-width:767px){
 body.home .lmx .lx-hero-desktop-tagline{display:none}
 body.home .lmx .lx-hero-mobile-tagline{display:inline}
 body.home .lmx .lx-hero{height:calc(100svh - 214px - var(--wp-admin--admin-bar--height,0px));min-height:456px}
 body.home .lmx .lx-space,
 body.home .lmx .lmc-section{padding-top:36px;padding-bottom:36px}
 body.home .lmx .lx2-intro{padding-top:28px;gap:28px}
 body.home .lmx .lx-business-copy{padding-top:36px;padding-bottom:36px}
 body.home .lmx .lx-business-panel{min-height:0}
 body.home .lmx .lmc-aside [data-live-summary]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;width:100%;text-align:center}
 body.home .lmx .lmc-aside [data-live-summary]>div{min-width:0;width:100%;padding:12px 0}
 body.home .lmx .lmc-aside [data-live-summary]>div:last-child:nth-child(odd){grid-column:1/-1;width:calc((100% - 20px)/2);justify-self:center}
 body.home .lmx .lmc-aside [data-live-summary] dd{overflow-wrap:anywhere}
 body.home .lmx .lmc-aside img{float:none;display:block;margin:0 auto 20px}
 body.home .lmx .lmc-aside img[hidden]{display:none!important}
 body.home .lm-footer .lm-footer__bottom{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding-top:20px;padding-bottom:20px}
 body.home .lm-footer .lm-footer__bottom>span:nth-child(2){max-width:none}
 body.home .lm-footer .lm-footer__bottom>a{justify-content:center;gap:12px}
}

/* Hero heading wraps naturally on narrow screens; preserves desktop typography. 2026-10-19 */
@media (max-width: 767px) {
  body.home .lmx .lx-hero-content { min-width: 0; }
  body.home .lmx .lx-hero h1 {
    font-size: clamp(29px, 7.7vw, 41px);
    line-height: 1.13;
    max-width: 100%;
    text-wrap: balance;
  }
  body.home .lmx .lx-hero h1 span,
  body.home .lmx .lx-hero h1 em {
    white-space: normal;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
  }
}

/* 20 Oct 2026: homepage MOBILE hero fills the visible area above the persistent
   bottom dock. Scoped to the homepage only; desktop and other pages are intact.
   Header = 62px from chrome-refined.css, dock = --lm-quicknav-space.
   Logged-in WordPress admin bar is subtracted only when present. */
@media screen and (max-width:767px){
  body.home.lm-has-quicknav .lmx .lx-hero{
    height:calc(100svh - 62px - var(--lm-quicknav-space,66px) - var(--wp-admin--admin-bar--height,0px));
    min-height:520px;
    max-height:none;
  }
}
