/* Theme artwork stays behind content and never intercepts input. */
body[data-landscape]{position:relative;isolation:isolate;overflow-x:clip}
.nature-edge{position:absolute;inset:0 0 0 auto;width:min(34vw,430px);z-index:-1;pointer-events:none;background-repeat:repeat-y;background-position:right top;background-size:420px auto;mask-image:linear-gradient(to right,transparent 0%,#0001 20%,#0006 58%,#000 100%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#0001 20%,#0006 58%,#000 100%)}
body[data-landscape=store] .nature-edge{background-image:url('/projects/tide-timber/pine-edge.svg');opacity:.35}
body[data-landscape=restaurant] .nature-edge{background-image:url('/projects/ember-salt/smoke-real-v2.webp');opacity:.32;background-color:transparent;background-size:100% auto;background-repeat:repeat-y;mask-image:linear-gradient(to right,transparent,#000 75%);-webkit-mask-image:linear-gradient(to right,transparent,#000 75%)}
.nature-footer{height:clamp(110px,14vw,220px);width:100%;position:relative;overflow:hidden;pointer-events:none;isolation:isolate;margin-top:8px;mask-image:linear-gradient(to bottom,transparent,#000 38%);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 38%)}
body[data-landscape=store] .nature-footer{background:url('/projects/tide-timber/coast-footer.svg') no-repeat center bottom / cover;opacity:.63}
body[data-landscape=restaurant] .nature-footer{background:radial-gradient(ellipse at 50% 120%,#ba704324,transparent 72%)}
.nature-footer .flames,.nature-footer .salt{position:absolute;inset:0;background-repeat:repeat-x;background-position:center bottom;background-size:max(100%, 1000px) auto;pointer-events:none}
.nature-footer .flames{background-image:url('/projects/ember-salt/flames-real-v2.webp');opacity:.53;transform-origin:50% 100%;animation:flame-sway 6s ease-in-out infinite alternate}
.nature-footer .flames.second{background-position:95px bottom;opacity:.14;animation:flame-sway 4.5s -2s ease-in-out infinite alternate-reverse;filter:blur(1px)}
.nature-footer .salt{background-image:url('/projects/ember-salt/salt-real-v2.webp');z-index:1;opacity:.92}
@keyframes flame-sway{0%{transform:translateX(-7px) scaleY(.86) skewX(-2deg)}50%{transform:translateX(3px) scaleY(1) skewX(1deg)}100%{transform:translateX(9px) scaleY(.92) skewX(2deg)}}
@media(max-width:700px){.nature-edge{width:34vw;background-size:280px auto;opacity:.22!important}.nature-footer .flames,.nature-footer .salt{background-size:1000px auto}}
@media(prefers-reduced-motion:reduce){.nature-footer .flames{animation:none}}
