/* LT-SCHWELLE-V9-RC7-20260909
   RC6 corrective follow-up: exact static anchoring, 2x-only transparent overlays,
   and a raised warm-stone threshold lip that removes the perceived dark slot. */
.gate-threshold-overlay--rc7{pointer-events:none;--tx:36.00962834%;--ty:90.62500000%;--tw:27.92181879%;--th:3.05059524%}
@media(orientation:portrait){.gate-threshold-overlay--rc7{--tx:26.23604466%;--ty:69.09482759%;--tw:46.65071770%;--th:1.78879310%}}
.gate-threshold-overlay--rc7.gate-threshold-overlay--frame{position:absolute;left:var(--tx);top:var(--ty);width:var(--tw);height:var(--th);display:block;z-index:2;line-height:0}
.gate-threshold-overlay--rc7 img{display:block;width:100%;height:100%;object-fit:fill}
.gate-static-art{position:relative;width:100%;line-height:0}
.gate-static-art>.gate-static-base{display:block;width:100%;line-height:0}
html:not(.js) .gate-threshold-overlay--rc7.gate-threshold-overlay--static,
.gate-static .gate-threshold-overlay--rc7.gate-threshold-overlay--static{
 display:block;position:absolute;left:var(--tx);top:var(--ty);width:var(--tw);height:var(--th);z-index:1;line-height:0
}

/* RC7-WORK1: continue only the stone below the column bases in the static
   landscape fallback. Keep the inner art at its native ratio so the threshold
   remains registered to the door; architecture and animation are unchanged. */
@media (orientation: landscape) {
 html:not(.js) .opening-gate .gate,
 .opening-gate .gate.gate-static { --rc7-art-height: calc(100vw / var(--ar)); }
 html:not(.js) .opening-gate .gate-stage,
 .opening-gate .gate-static .gate-stage {
  display:grid;grid-template-columns:minmax(0,1fr);align-items:start;
 }
 html:not(.js) .opening-gate .gate-static-pic,
 .opening-gate .gate-static .gate-static-pic {
  grid-area:1/1;align-self:stretch;
  -webkit-mask-image:linear-gradient(180deg,#000 max(calc(var(--rc7-art-height) * .94),calc(100% - 5rem)),transparent);
  mask-image:linear-gradient(180deg,#000 max(calc(var(--rc7-art-height) * .94),calc(100% - 5rem)),transparent);
 }
 html:not(.js) .opening-gate .gate-static-pic::after,
 .opening-gate .gate-static .gate-static-pic::after {
  content:"";position:absolute;inset:0;pointer-events:none;z-index:2;
  background:url("gate/delivery-roof-v9-rc4/desktop-static-2x.webp") center bottom / 100% calc((100% - var(--rc7-art-height) * .94) / .06) no-repeat;
  -webkit-mask-image:linear-gradient(180deg,transparent calc(var(--rc7-art-height) * .94),#000 calc(var(--rc7-art-height) * .97));
  mask-image:linear-gradient(180deg,transparent calc(var(--rc7-art-height) * .94),#000 calc(var(--rc7-art-height) * .97));
 }
 html:not(.js) .opening-gate .gate-title,
 .opening-gate .gate-static .gate-title {
  grid-area:1/1;align-self:start;
  margin-top:calc(var(--rc7-art-height) - var(--static-pull));
 }
 html:not(.js) .opening-gate .gate-title::before,
 .opening-gate .gate-static .gate-title::before {
  inset:0;height:auto;
  background:linear-gradient(180deg,#160a0500,#160a056b 22%,#160a056b calc(100% - 5rem),#160a0500);
 }
 html:not(.js) .opening-gate .gate-welcome,
 .opening-gate .gate-static .gate-welcome { grid-area:2/1; }
}
