/* One interior hero height, based on the compact Location reference. */
:root{--mosher-header-height:108px;--mosher-interior-hero:max(480px,calc(70svh - 75.6px))}
body .page-hero,body .concept-hero,body.mosher-location-page .loc-hero,body .contact-intro,body .residence-hero{height:var(--mosher-interior-hero)!important;min-height:var(--mosher-interior-hero)!important;box-sizing:border-box}
body .page-hero,body .contact-intro{padding-top:48px!important;padding-bottom:56px!important}
body .contact-intro{display:flex;align-items:center}
body .concept-hero-content{padding-top:48px;padding-bottom:56px}
body.mosher-location-page .loc-hero-copy{padding-top:40px;padding-bottom:80px}
body .residence-hero{grid-template-columns:1.05fr .95fr;grid-template-rows:minmax(0,1fr)}
body .residence-visual{min-width:0;min-height:0;padding:32px}
body .residence-visual img{width:100%;height:100%;max-height:100%;aspect-ratio:auto;object-fit:contain}
body .residence-copy{min-width:0;min-height:0;padding:32px clamp(28px,4vw,64px)!important}
body .residence-copy h1{font-size:clamp(44px,5.6vw,76px);line-height:1.05;margin:8px 0 20px}
body .residence-copy .facts{margin-top:24px}

/* The two supplied sentences are kept on two explicit lines. */
body.home-redesign .mosher-home-hero .mosher-hero-copy,body.home-redesign .mosher-home-hero h1.display{max-width:100%;width:100%}
body.home-redesign .mosher-home-hero h1.display{font-size:clamp(13px,3.45vw,60px)!important;line-height:1.24!important;letter-spacing:-.025em!important;text-wrap:initial}
body.home-redesign .mosher-home-hero .mosher-title-line{display:block;white-space:nowrap}

.mosher-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Direct entry into the 360 viewer, without a page hero. */
body.mosher-tour-direct main{margin:0;padding:0}
body.mosher-tour-direct .mosher-tour-section{padding:0!important;margin:0}
body.mosher-tour-direct .tour-shell{width:100%;max-width:none;margin:0;padding:0}
body.mosher-tour-direct .tour-wrap{width:100%;height:calc(100svh - var(--mosher-header-height));min-height:480px;aspect-ratio:auto}
body.mosher-tour-direct .tour-wrap>iframe{position:absolute;inset:0;width:100%;height:100%;display:block}
body.mosher-tour-direct .tour-wrap>.tour-overlay{position:absolute;inset:0;min-height:0}

/* Direct entry into the book, retaining its preloader and reader controls. */
body.mosher-book-direct .reader-main{margin:0;padding:0}
body.mosher-book-direct .reader-workspace{min-height:calc(100svh - var(--mosher-header-height));padding-top:18px}
body.mosher-book-direct .reader-back{display:inline-flex;align-items:center;gap:8px;margin:0;padding:8px 0;color:#fff;font-size:12px;line-height:1.4;text-decoration:none}
body.mosher-book-direct .reader-back svg{width:18px;height:18px;flex:0 0 18px}
body.mosher-book-direct .reader-back:hover{color:#d1c29d}
body.mosher-book-direct .reader-back:focus-visible{outline:2px solid #d1c29d;outline-offset:4px}

@media(max-width:1200px){:root{--mosher-header-height:90px;--mosher-interior-hero:max(480px,calc(70svh - 63px))}}
@media(max-width:900px){
  body .residence-hero{grid-template-columns:1fr;grid-template-rows:38% minmax(0,1fr)}
  body .residence-visual{padding:16px 24px}
  body .residence-copy{padding:20px 24px!important;justify-content:center}
  body .residence-copy h1{font-size:40px!important;margin:4px 0 12px}
  body .residence-copy .eyebrow{font-size:10px!important;line-height:1.4!important;margin-bottom:4px}
  body .residence-copy .lede{margin:0;font-size:15px!important;line-height:1.45!important}
  body .residence-copy .facts{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-top:16px;gap:8px 16px}
  body .residence-copy .fact{min-width:0;padding:8px 0}
  body .residence-copy .fact small{font-size:10px!important;line-height:1.4!important}
  body .residence-copy .fact strong{font-size:21px!important;line-height:1.2!important}
}
@media(max-width:680px){
  :root{--mosher-header-height:72px;--mosher-interior-hero:max(480px,calc(70svh - 50.4px))}
  body .page-hero,body .contact-intro{padding-top:32px!important;padding-bottom:40px!important}
  body .concept-hero-content{padding:32px 0 40px}
  body.mosher-location-page .loc-hero-copy{padding:32px 0 72px}
  body .contact-intro-grid{gap:20px}
  body .contact-intro .display{font-size:clamp(36px,10.8vw,48px);line-height:1.05}
  body .residence-hero{grid-template-rows:34% minmax(0,1fr)}
  body .residence-copy{padding:16px 20px!important}
  body .residence-copy h1{font-size:36px!important;margin:4px 0 10px}
  body .residence-copy .facts{margin-top:12px}
  body.mosher-book-direct .reader-workspace{padding-top:12px}
  body.mosher-book-direct .reader-toolbar{gap:12px;margin-bottom:14px}
  body.mosher-book-direct .reader-tools{flex-wrap:wrap;gap:10px}
  body.mosher-book-direct .reader-back{flex:1 0 100%;padding:0;font-size:12px}
}
@media(max-width:360px){
  body .residence-copy .lede{font-size:14px!important;line-height:1.4!important}
  body .residence-copy .facts{margin-top:8px}
}

