/* FN-000024: full-screen footage with overlaid copy on each viewport. */
.ls-immersive-hero{
 --hero-screen:100vh;
 --hero-screen:100svh;
 --hero-screen:100dvh;
 padding:0;background:#1e2a22
}
#ls-house-immersive .stage{
 position:sticky;top:0;width:100%;height:var(--hero-screen);
 max-height:none;aspect-ratio:auto;margin:0;border:0;border-radius:0;box-shadow:none;
}
#ls-house-immersive .layer{
 left:max(var(--px),env(safe-area-inset-left));right:max(var(--px),env(safe-area-inset-right));
 bottom:max(54px,calc(env(safe-area-inset-bottom) + 40px))
}
#ls-imm-hint{left:max(var(--px),env(safe-area-inset-left));bottom:max(16px,env(safe-area-inset-bottom))}
#ls-house-immersive .motion-footnote{right:max(var(--px),env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom))}
#ls-house-immersive.is-static{height:var(--hero-screen)}


/* Leave room for the header on entry and keep the button within reach. */
#ls-house-immersive .motion-opening{bottom:max(105px,calc(env(safe-area-inset-bottom) + 40px))}
#ls-house-immersive .motion-opening small{display:block;margin:0 0 12px}
#ls-house-immersive .motion-scrim{
 background:linear-gradient(180deg,transparent 16%,rgba(18,26,20,.28) 44%,rgba(18,26,20,.92) 100%),
 linear-gradient(90deg,rgba(18,26,20,.35),transparent 80%)
}
@media(max-width:760px){
 #ls-imm-cv{background-image:url('/housecleaning/immersive/surface-v1/poster-intro-phone.webp')}
 #ls-house-immersive .motion-opening h1{font-size:clamp(34px,9.5vw,62px);max-width:14ch}
 #ls-house-immersive .motion-opening p{margin-bottom:6px}
}
@media(max-width:600px) and (orientation:portrait){
 #ls-house-immersive .motion-opening{bottom:max(calc(74px + 11dvh),calc(env(safe-area-inset-bottom) + 64px))}
}
@media(max-width:600px){
 #ls-house-immersive .motion-opening .btn{
  display:flex;width:100%;min-height:52px;justify-content:center;text-align:center
 }
}
@media(max-height:500px) and (orientation:landscape){
 #ls-house-immersive .motion-opening h1{font-size:clamp(28px,4.5vw,42px);max-width:20ch;margin-bottom:8px}
 #ls-house-immersive .motion-opening p{font-size:14px;margin-bottom:6px}
 #ls-house-immersive .motion-opening .btn{min-height:44px}
}
/* Keep each cleaning chapter visible for roughly one viewport of scrolling. */
#ls-house-immersive.hero:not(.is-animated){height:var(--hero-screen)}
#ls-house-immersive.hero.is-animated{height:450svh}
#ls-house-immersive:not(.is-animated) #ls-imm-hint,
#ls-house-immersive.is-animated + .motion-static-steps{display:none}
.ls-immersive-hero .motion-static-steps{
 display:flex;flex-wrap:wrap;justify-content:center;gap:12px 28px;
 padding:18px var(--px);border-top:1px solid #ffffff45
}

/* The homepage navigation shares the first scene with the introduction. */
body.ls-house-landing #ls-site-header{
 position:absolute;top:max(14px,env(safe-area-inset-top));left:0;right:0;
 width:auto;max-width:1220px;min-height:64px;
 margin-inline:max(18px,calc((100% - 1220px)/2));
 padding:8px clamp(12px,2.4vw,28px);gap:16px;border:1px solid #fff5;
 border-radius:20px;background:#f6f3ecf2;color:#243b32;
 box-shadow:0 4px 22px #101b1760;
 backdrop-filter:blur(14px);
}
.ls-house-landing #ls-site-header .ls-site-brand{
 gap:10px;font-size:clamp(15px,1.7vw,21px);letter-spacing:-.03em;
}
.ls-house-landing #ls-site-header .ls-site-mark{
 width:42px;height:42px;border-radius:13px;background:#304b3a;color:#f6e6be;
 border:1px solid #4b6553;
}
.ls-house-landing #ls-site-header .ls-site-mark span{font-size:16px;font-weight:800}
.ls-house-landing #ls-site-header .ls-site-brand small{
 color:#4c5e50;font-size:12px;letter-spacing:.015em;margin-top:3px;
}
.ls-house-landing #ls-site-header .ls-site-desktop{gap:clamp(12px,1.7vw,24px)}
.ls-house-landing #ls-site-header .ls-site-desktop a{
 display:flex;align-items:center;min-height:44px;padding:0 8px;border-radius:8px;font-weight:600;
}
.ls-house-landing #ls-site-header .ls-site-desktop a:hover{background:#e3e8db}
.ls-house-landing #ls-site-header .ls-site-menu summary{
 display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;
 padding:0 12px;border:1px solid #a9b4a7;border-radius:10px;font-weight:700;
}
.ls-house-landing #ls-site-header .ls-site-menu nav{top:calc(100% + 12px);max-height:calc(100dvh - 104px);overflow:auto}
#ls-house-immersive .motion-opening{
 bottom:max(90px,calc(env(safe-area-inset-bottom) + 64px));color:#fff9ed;
}
#ls-house-immersive .motion-opening h1{
 font:400 clamp(48px,8.4vw,120px)/.94 "Instrument Serif",Georgia,serif;letter-spacing:-.035em;
 max-width:14ch;margin-bottom:18px;text-shadow:0 2px 18px #1722188c;
}
#ls-house-immersive .motion-opening p{font-size:clamp(16px,1.7vw,21px);max-width:35ch;margin-bottom:6px}
#ls-house-immersive .motion-opening small{color:#f2e7d4;margin:0 0 16px}
#ls-house-immersive .motion-opening .btn{
 gap:18px;justify-content:center;min-height:54px;
 border:1px solid #faecc9;border-radius:15px;background:#f5e4bb;color:#20392b;
 box-shadow:0 4px 0 #ad9468,0 10px 24px #14241970;
 transition:background-color .18s,box-shadow .18s,transform .18s;
}
#ls-house-immersive .motion-opening .btn::after{content:"";width:8px;height:8px;border:solid currentColor;border-width:2px 2px 0 0;transform:rotate(45deg)}
#ls-house-immersive .motion-opening .btn:hover{background:#fff0d2}
#ls-house-immersive .motion-opening .btn:active{transform:translateY(2px);box-shadow:0 2px 0 #ad9468}
#ls-house-immersive .motion-scrim{
 background:linear-gradient(180deg,#141c1633,transparent 28%,#141c1680 57%,#111b14ee 100%),
 linear-gradient(90deg,#17271b70,transparent 82%);
}
#ls-imm-bar{top:auto;bottom:0;background:#f5e4bb}
@media(max-width:600px){
 body.ls-house-landing #ls-site-header{
  margin-inline:12px;top:max(10px,env(safe-area-inset-top));min-height:58px;padding:6px 10px;gap:8px;border-radius:16px;
 }
 #ls-house-immersive .motion-opening{bottom:max(76px,calc(env(safe-area-inset-bottom) + 52px))}
 #ls-house-immersive .motion-opening h1{font-size:clamp(42px,12vw,72px)}
}
@media(max-height:500px){
 #ls-house-immersive .motion-opening{bottom:max(42px,env(safe-area-inset-bottom))}
 #ls-house-immersive .motion-opening h1{font-size:clamp(30px,8vh,46px);max-width:20ch;margin-bottom:8px}
 #ls-house-immersive .motion-opening p{font-size:14px}
 #ls-house-immersive .motion-opening small{margin-bottom:6px}
 #ls-house-immersive .motion-opening .btn{min-height:44px}
}
@media(prefers-reduced-motion:reduce){#ls-house-immersive .motion-opening .btn{transition:none}}

@media(max-width:760px){
 #ls-house-immersive .motion-footnote{left:auto;text-align:right}
}
@media(max-width:360px){
 #ls-imm-hint,#ls-house-immersive .motion-footnote{font-size:10px}
}
