/* Each service owns its decorative entrance; the homepage stays cat-and-mouse only. */
.service-page-head{position:relative;isolation:isolate;overflow:hidden}
.service-page-head>.wrap{position:relative;z-index:2}
.service-page-head:before{content:'';position:absolute;inset:0;z-index:-1;background-position:center;background-size:cover;opacity:.2;pointer-events:none}
.service-page-head[data-service="pest-control"]:before{background-image:linear-gradient(90deg,#080b17 6%,transparent),url('service-pest.webp')}
.service-page-head[data-service="mold-assessment"]:before{background-image:linear-gradient(90deg,#080b17 6%,transparent),url('service-mold.webp')}
.service-page-head[data-service="hood-cleaning"]:before{background-image:linear-gradient(90deg,#080b17 6%,transparent),url('hero.webp')}
.pest-reveal{margin-top:24px;min-height:44px;padding:9px 0;background:none;border:0;border-bottom:1px solid #b9a2df70;color:#d2baf3;font-size:.875rem;letter-spacing:.025em}
.pest-reveal:hover{color:#f1dbff}
.pest-activity{position:absolute;inset:0;z-index:4;pointer-events:none;overflow:hidden}
.pest-runner{position:absolute;top:0;left:0;width:46px;height:46px;pointer-events:none;will-change:transform}
.pest-runner>span{display:block;width:100%;height:100%;background:url('roach-atlas.webp') 0 0/200% 100% no-repeat;animation:pest-legs .13s steps(1) infinite}
@keyframes pest-legs{0%,49%{background-position:0 0}50%,100%{background-position:100% 0}}
.service-opening{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:#f3f0e9;overflow:hidden;overscroll-behavior:contain}
.service-opening::backdrop{background:transparent}
body.service-opening-active{overflow:hidden}
.service-opening-scene{position:absolute;inset:0;overflow:hidden;isolation:isolate;background:#070d12}
.service-opening-scene:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 30% 35%,#36756555,transparent 60%),radial-gradient(ellipse at 80% 75%,#71318e38,transparent 65%);z-index:0}
.service-opening[data-kind="hood"] .service-opening-scene{overflow:auto;background:radial-gradient(ellipse at 75% 50%,#48253e40,transparent 65%),#080b14}
.service-opening[data-kind="hood"] .service-opening-scene:before{display:none}
.service-opening-top{position:absolute;top:max(24px,env(safe-area-inset-top));left:6%;right:6%;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:20px}
.service-opening-brand{font-size:.875rem;letter-spacing:.12em;color:#e6cf9d;max-width:180px;line-height:1.5}
.service-opening-skip{flex-shrink:0;min-height:46px;padding:10px 17px;border:1px solid #dfc18b80;background:#070910d9;color:#f1dcac;font-size:.875rem}
.service-opening-copy{position:absolute;left:6%;right:6%;bottom:max(60px,calc(30px + env(safe-area-inset-bottom)));z-index:5;pointer-events:none;text-shadow:0 3px 30px #000}
.service-opening-copy span{display:block;margin-bottom:18px;color:#d3b77f;font-size:.875rem;letter-spacing:.18em;text-transform:uppercase}
.service-opening-copy h2{max-width:800px;font-family:Arial,Helvetica,sans-serif;font-size:clamp(2.8rem,7vw,6.2rem);font-weight:750;line-height:.98;letter-spacing:-.045em}
.service-opening-copy p{margin:20px 0 0;color:#d8d5df;font-size:1rem}
.service-opening-copy .service-opening-scope{font-size:.9375rem;line-height:1.45;color:#c8d9d5;margin-top:16px;max-width:460px}
.service-opening-media{position:absolute;inset:0;z-index:2;overflow:hidden}
.intro-spore{position:absolute;width:var(--size);height:auto;aspect-ratio:1;object-fit:contain;pointer-events:none;will-change:transform,opacity;filter:drop-shadow(0 0 14px #36938950)}
.service-opening-mist{position:absolute;inset:0;width:100%;height:100%;z-index:6;pointer-events:none}
.service-opening-wand{position:absolute;left:-40px;top:0;z-index:7;width:280px;height:105px;object-fit:contain;pointer-events:none;transform-origin:right center;opacity:0;filter:drop-shadow(0 4px 15px #050609)}
.service-opening-light{position:absolute;left:-10%;right:-10%;height:30vh;top:-35vh;z-index:4;pointer-events:none;background:linear-gradient(180deg,transparent,#a0e2e71a 45%,#d9f5fa2e 53%,transparent);filter:blur(15px)}
@media(max-width:600px){
 .service-opening-top{top:max(18px,env(safe-area-inset-top));gap:12px}
 .service-opening-brand{font-size:.75rem;max-width:130px;letter-spacing:.09em}
 .service-opening-skip{padding:10px 12px}
 .service-opening-copy{bottom:calc(48px + env(safe-area-inset-bottom))}
 .service-opening-copy h2{font-size:clamp(2.6rem,11vw,4rem)}
 .service-opening-copy span{font-size:.75rem;margin-bottom:14px}
 .service-opening-wand{width:205px;height:77px;left:-45px}
 .pest-runner{width:40px;height:40px}
}
@media(prefers-reduced-motion:reduce){.pest-activity,.pest-reveal,.service-opening{display:none!important}}
.hood-fire-story{width:min(1160px,88%);min-height:100%;margin:auto;padding:115px 0 55px;display:grid;grid-template-columns:1fr 1.1fr;gap:50px;align-items:center}
.hood-fire-kicker{display:block;font-size:.875rem;letter-spacing:.14em;color:#d8bc8b;margin-bottom:22px}
.hood-fire-copy h2{font:700 clamp(2.2rem,4vw,3.9rem)/1.03 Arial,Helvetica,sans-serif;letter-spacing:-.04em}
.hood-fire-caption{margin-top:44px;min-height:165px}
.hood-fire-caption>span{font-size:.875rem;color:#cbb4ef;letter-spacing:.08em}
.hood-fire-caption h3{margin:15px 0 12px;font:600 clamp(1.4rem,2.3vw,2rem)/1.16 Arial,Helvetica,sans-serif;letter-spacing:-.025em}
.hood-fire-caption p{font-size:1rem;max-width:430px;margin:0;color:#c3bdcd;line-height:1.65}
.hood-fire-timeline{display:flex;gap:8px;margin-top:26px}
.hood-fire-timeline>span{height:3px;flex:1;background:#454050;overflow:hidden}
.hood-fire-timeline i{display:block;height:100%;width:100%;background:#e2b477;transform:scaleX(0);transform-origin:left}
.hood-fire-copy .hood-fire-note{font-size:.8125rem;color:#aaa2b8;margin:18px 0 6px}
.hood-fire-source{font-size:.8125rem;color:#bfa5df;text-decoration:underline;text-underline-offset:4px}
.hood-fire-diagram{margin:0;min-width:0;border:1px solid #d8bc8b35;background:radial-gradient(ellipse,#53342527,transparent 75%);padding:12px 6px 20px}
.hood-fire-cutaway{display:block;width:100%;max-height:570px;height:auto;overflow:visible}
.hood-fire-diagram figcaption{text-align:center;font-size:.875rem;color:#c4bacf;letter-spacing:.035em}
.hood-fire-cutaway .diagram-label{font-size:21px}
.hood-fire-cutaway .grease-specks{opacity:0}
.hood-fire-cutaway .grease-coat{stroke:#cd942f}
.hood-fire-cutaway>g[class$="fire"],.hood-fire-cutaway>.hood-cooking-flare,.hood-fire-cutaway>.hood-filter-ignition{transform-box:fill-box;transform-origin:center bottom;filter:drop-shadow(0 0 6px #ff6f3344)}
.hood-fire-cutaway image{pointer-events:none}
@media(max-width:700px){
 .service-opening[data-kind="hood"] .service-opening-top{background:#080b14f5;left:0;right:0;top:0;padding:18px 6% 12px;padding-top:max(18px,env(safe-area-inset-top))}
 .hood-fire-story{grid-template-columns:1fr;gap:16px;padding:94px 0 28px;align-content:start}
 .hood-fire-copy{display:contents}
 .hood-fire-kicker{margin:0;font-size:.75rem;grid-row:1}
 .hood-fire-copy h2{grid-row:2;font-size:clamp(2rem,7vw,2.8rem)}
 .hood-fire-copy h2 br{display:none}
 .hood-fire-diagram{grid-row:3;padding:0 4px 8px}
 .hood-fire-cutaway{height:clamp(215px,35dvh,340px);width:100%}
 .hood-fire-cutaway .diagram-label{font-size:25px}
 .hood-fire-diagram figcaption{font-size:.75rem}
 .hood-fire-caption{grid-row:4;margin:3px 0 0;min-height:115px}
 .hood-fire-caption h3{font-size:1.5rem;margin:10px 0}
 .hood-fire-caption p{font-size:.9375rem;line-height:1.5}
 .hood-fire-timeline{grid-row:5;margin:0}
 .hood-fire-copy .hood-fire-note{grid-row:6;margin:0}
 .hood-fire-source{grid-row:7;margin-top:-8px}
}

/* Service-specific motion: contained behind content, never a second cursor game. */
.pest-habitat{position:absolute;right:0;bottom:0;width:min(620px,62%);aspect-ratio:620/390;z-index:0;pointer-events:none;opacity:.66;mask-image:linear-gradient(90deg,transparent,#000 24%)}
.pest-habitat>svg{width:100%;height:100%;display:block}
.habitat-rat{animation:rat-breathe 2.6s ease-in-out infinite;transform-box:fill-box;transform-origin:center bottom}
.rat-gnaw{animation:rat-gnaw .32s ease-in-out infinite alternate;transform-box:fill-box;transform-origin:15% 70%}
.rat-debris{animation:rat-debris 1.3s ease-out infinite}
.cabinet-roach{position:absolute;left:87%;top:65%;width:36px;height:36px;opacity:0;animation:cabinet-crawl 12s linear infinite}
.cabinet-roach i{display:block;width:100%;height:100%;background:url('roach-atlas.webp') 0 0/200% 100%;animation:pest-legs .13s steps(1) infinite}
.cabinet-roach-two{animation-delay:-4s;--crawl-x:-40px;--crawl-y:-150px}
.cabinet-roach-three{animation-delay:-8s;--crawl-x:35px;--crawl-y:-110px;width:28px;height:28px}
@keyframes rat-breathe{50%{transform:scale(1.015,1.025)}}
@keyframes rat-gnaw{to{transform:translate(1px,-1px) rotate(3deg)}}
@keyframes rat-debris{0%{opacity:0;transform:translateY(-5px)}30%{opacity:.9}100%{opacity:0;transform:translateY(12px)}}
@keyframes cabinet-crawl{0%,12%{opacity:0;transform:translate(0,0) rotate(-20deg)}16%{opacity:1}55%{opacity:1;transform:translate(var(--crawl-x,-25px),var(--crawl-y,-135px)) rotate(-12deg)}68%,100%{opacity:0;transform:translate(var(--crawl-x,-25px),calc(var(--crawl-y,-135px) - 25px)) rotate(30deg)}}
.inspection-story{width:min(1160px,88%);margin:auto;min-height:100%;padding:120px 0 70px;display:grid;grid-template-columns:1fr 1.1fr;gap:40px;align-items:center;position:relative}
.inspection-story h2{font:700 clamp(2.4rem,5vw,4.5rem)/1.04 Arial,sans-serif;letter-spacing:-.045em}
.inspection-story-copy>p{margin:24px 0;color:#bfcac9;max-width:380px}
.inspection-stage{padding-top:24px;border-top:1px solid #a8c8be44;color:#e5ca96;font-size:.95rem;min-height:62px}
.inspection-note{display:block;color:#929fa3;font-size:.75rem;margin-top:16px}
.inspection-art{border:1px solid #a7c4b72e;background:radial-gradient(ellipse,#5b938421,transparent 70%);border-radius:16px;overflow:hidden}
.inspection-art svg{display:block;width:100%;height:auto}
.sampling-stream{animation:sample-flow 2.8s linear infinite}
.sample-particle{animation:sample-drift 2.7s ease-in-out infinite;animation-delay:var(--particle-delay)}
.sample-wave{animation:sample-glow 1.2s ease-in-out infinite}
.home-scan{animation:home-scan 3.7s ease-in-out infinite alternate}
.home-check{opacity:0;animation:home-check .5s ease-out forwards;animation-delay:var(--check-delay)}
@keyframes sample-flow{to{stroke-dashoffset:-96}}
@keyframes sample-drift{0%,100%{opacity:.15;transform:translate(-10px,-5px)}50%{opacity:.85;transform:translate(12px,8px)}}
@keyframes sample-glow{50%{opacity:.3}}
@keyframes home-scan{to{transform:translateY(190px)}}
@keyframes home-check{to{opacity:1}}
html[data-ge-hidden=true] .pest-habitat *, .pest-habitat.is-still *{animation-play-state:paused!important}
html[data-ge-motion-paused=true] .pest-habitat{display:none}
@media(max-width:700px){
 .pest-habitat{width:90%;opacity:.3;mask-image:linear-gradient(0deg,#000,transparent 95%)}
 .inspection-story{grid-template-columns:1fr;gap:22px;align-content:center;padding:105px 0 36px}
 .inspection-story-copy{display:contents}
 .inspection-story .eyebrow{margin-bottom:0;font-size:.7rem}
 .inspection-story h2{font-size:clamp(2rem,7vw,3.3rem)}
 .inspection-story h2 br{display:none}
 .inspection-art{grid-row:3;width:min(100%,470px);margin:auto}
 .inspection-art svg{max-height:30dvh}
 .inspection-story-copy>p{margin:0;font-size:.9rem}
 .inspection-stage{padding-top:12px;min-height:36px}
 .inspection-note{margin:0;font-size:.7rem}
 .service-opening[data-kind=air] .service-opening-scene,.service-opening[data-kind=home] .service-opening-scene{overflow-y:auto}
}
@media(prefers-reduced-motion:reduce){.pest-habitat{display:none!important}}

/* Full-bleed architectural camera sequence replaces the schematic home card. */
.home-cinema{background:#080b10}
.home-cinema:before{display:none}
.home-cinema-camera{position:absolute;inset:0;will-change:transform;transform-origin:65% 48%}
.home-cinema-camera>img{width:100%;height:100%;object-fit:cover;object-position:65% center;display:block}
.home-cinema-shade{position:absolute;inset:0;background:linear-gradient(90deg,#06090ff2 0%,#06090f9c 31%,transparent 68%),linear-gradient(0deg,#070a10df,transparent 38%,transparent 78%,#070a10aa)}
.home-cinema-copy{position:absolute;left:6%;bottom:9%;width:min(460px,43%);z-index:2}
.home-cinema-eyebrow{font-size:.72rem;letter-spacing:.2em;color:#e0c38f}
.home-cinema-copy h2{font:600 clamp(2.5rem,4.8vw,4.7rem)/1.04 Arial,sans-serif;letter-spacing:-.045em;margin:18px 0 45px}
.home-cinema-caption{min-height:145px}
.home-cinema-caption>span{font-size:.68rem;letter-spacing:.14em;color:#d4bc94}
.home-cinema-caption h3{font:600 clamp(1.25rem,2vw,1.75rem)/1.2 Arial,sans-serif;margin:12px 0}
.home-cinema-caption p{font-size:.94rem;line-height:1.55;max-width:360px;color:#c8ccd0;margin:0}
.home-cinema-progress{display:flex;gap:8px;margin:22px 0 16px}
.home-cinema-progress i{height:2px;flex:1;background:#ffffff26;position:relative;overflow:hidden}
.home-cinema-progress i:after{content:'';position:absolute;inset:0;background:#e8c78e;transform:scaleX(var(--progress,0));transform-origin:left}
.home-cinema-copy small{font-size:.65rem;color:#999fa7}
.home-inspection-focus{position:absolute;width:90px;height:90px;transform:translate(-50%,-50%);filter:drop-shadow(0 0 6px #d6c99a55)}
.home-inspection-focus i{position:absolute;width:16px;height:16px;border-color:#eee1ba;border-style:solid;border-width:0}
.home-inspection-focus i:nth-child(1){left:0;top:0;border-top-width:1px;border-left-width:1px}
.home-inspection-focus i:nth-child(2){right:0;top:0;border-top-width:1px;border-right-width:1px}
.home-inspection-focus i:nth-child(3){right:0;bottom:0;border-bottom-width:1px;border-right-width:1px}
.home-inspection-focus i:nth-child(4){left:0;bottom:0;border-bottom-width:1px;border-left-width:1px}
@media(max-width:700px){
 .home-cinema-camera{inset:10% -22% 27%;transform-origin:center}
 .home-cinema-camera>img{object-fit:contain;object-position:center}
 .home-cinema-shade{background:linear-gradient(0deg,#070a10 0%,#070a10f5 18%,transparent 48%,transparent 82%,#070a10 100%)}
 .home-cinema-copy{left:7%;right:7%;bottom:max(30px,env(safe-area-inset-bottom));width:auto}
 .home-cinema-eyebrow{font-size:.64rem}
 .home-cinema-copy h2{font-size:clamp(1.8rem,7vw,2.7rem);margin:10px 0 22px}
 .home-cinema-copy h2 br{display:none}
 .home-cinema-caption{min-height:108px}
 .home-cinema-caption h3{font-size:1.2rem;margin:9px 0}
 .home-cinema-caption p{font-size:.85rem;max-width:350px}
 .home-cinema-progress{margin:16px 0 12px}
 .home-inspection-focus{width:65px;height:65px}
 .service-opening[data-kind=home] .service-opening-skip{font-size:.75rem;min-height:40px;padding:9px 12px}
}

/* The pest scene belongs to its image, never beneath service facts or navigation. */
.ge-guide-art--pest .pest-habitat{inset:0 0 48px;width:100%;height:calc(100% - 48px);aspect-ratio:auto;opacity:0;mask-image:none;z-index:1;background:radial-gradient(ellipse at 60% 50%,#22252c,#090c13 80%);visibility:hidden;transition:opacity .35s}
.ge-guide-art--pest .pest-habitat>svg{object-fit:contain}
.ge-guide-art--pest.pest-scene-open .pest-habitat{opacity:1;visibility:visible}
.ge-guide-art--pest.pest-scene-open>img{opacity:0}
.ge-guide-art--pest>img{transition:opacity .35s}
.ge-guide-art--pest .pest-reveal{position:absolute;bottom:0;left:0;width:100%;min-height:48px;margin:0;padding:12px 18px;border:0;border-top:1px solid #d7bc8540;background:#0b1019f5;color:#e1c796;font-size:.78rem;letter-spacing:.02em;z-index:6;text-align:left}
.ge-guide-art--pest .pest-reveal:after{content:'↗';float:right}
.ge-guide-art--pest.pest-scene-open .pest-reveal:after{content:'↩'}
.ge-guide-art--pest figcaption{display:none}
.ge-guide-art--pest .ge-guide-art-frame{bottom:61px}
.ge-guide-art--pest .pest-activity{bottom:48px}
@media(max-width:700px){
 .ge-guide-art--pest .pest-habitat{width:100%;opacity:0;mask-image:none}
 .ge-guide-art--pest.pest-scene-open .pest-habitat{opacity:1}
 .service-page-head[data-service=pest-control] .ge-guide-facts{padding:20px 0 5px;gap:13px}
}
html[data-ge-motion-paused=true] .ge-guide-art--pest.pest-scene-open>img{opacity:1}
@media(prefers-reduced-motion:reduce){.ge-guide-art--pest.pest-scene-open>img{opacity:1}}
