/* Reference composition with four quiet earth planes. Native document scrolling. */
.tree-depth,.foreground-depth{position:absolute;inset:0;pointer-events:none;transform-origin:50% 100%}
.tree-depth{z-index:3}.foreground-depth{z-index:8}
.hero{--earth-h:calc(var(--service-row) * 3 + 65px)}
.layer[data-layer=soil]{top:auto;bottom:0;height:var(--earth-h);overflow:visible;background:linear-gradient(to bottom,transparent calc(100% - 22px),#2b1a0d calc(100% - 22px))}
.earth-slice,.earth-details{position:absolute;inset:0;pointer-events:none}
.earth-slice img{display:block;width:100%;height:100%;object-fit:fill;animation:none!important}
.earth-slice[data-earth-plane=back]{z-index:0}
.earth-details .earth-slice img{object-fit:cover;object-position:center bottom}
.earth-details{z-index:1;isolation:isolate;mask-image:url('assets/layers/soil.webp');mask-size:100% 100%;mask-mode:alpha;mask-repeat:no-repeat;-webkit-mask-image:url('assets/layers/soil.webp');-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat}
.earth-slice[data-earth-plane=roots]{z-index:1;top:32%;height:64%;opacity:.42;mix-blend-mode:multiply}
.earth-slice[data-earth-plane=pebbles]{z-index:3;top:18%;height:82%;opacity:.64}
.earth-slice[data-earth-plane=ridge]{z-index:2;top:10%;height:90%;opacity:.86}
.gentle-depth .layer{translate:none!important}
.gentle-depth .service{animation:none!important}
.earth-tail{height:var(--earth-tail-height,80px);background:#2b1a0d url('assets/layers/soil.webp') center bottom/100% 300% no-repeat}
/* Lettering is one transparent brush artwork; live Hebrew remains for assistive tech. */
.hero-copy .hero-eyebrow,.hero-copy h1{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;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.hero-lettering{display:block;width:100%;max-width:550px;aspect-ratio:2/1;margin:0 auto;pointer-events:none}
.hero-lettering img{display:block;width:100%;height:100%;object-fit:contain}
.motion-enabled body:not(.scene-ready) .hero-lettering{opacity:0}
.scene-ready .hero-lettering{animation:copy-arrive .8s .25s both}
@media(min-aspect-ratio:4/5){.hero-copy{top:11%}}
@media(max-width:767px) and (max-aspect-ratio:4/5){
 .hero{--earth-h:calc(var(--u) * 440)}
 .layer[data-layer=soil]{left:0;top:calc(var(--u) * 840);bottom:auto;width:100%;height:var(--earth-h)}
 .hero-copy{top:0}
 .hero-lettering{position:absolute;top:calc(var(--u) * 185);right:calc(var(--u) * 10);width:calc(var(--u) * 490);height:calc(var(--u) * 270);max-width:none;aspect-ratio:auto;margin:0}
 .earth-slice[data-earth-plane=roots]{top:35%;height:60%;opacity:.36}
 .earth-slice[data-earth-plane=pebbles]{opacity:.56}
}
@media(prefers-reduced-motion:reduce){.hero-lettering{animation:none!important;opacity:1!important;transform:none!important}.earth-slice,.tree-depth,.foreground-depth{transform:none!important}}

body.paused .service,body.paused .hero-lettering,body.paused .layer img{animation:none!important;opacity:1!important;visibility:visible!important;transform:none!important}
