/* User-selected cinematic bedrock and studio footer. Interactive parts stay in the DOM. */
html.glass-on main > .slab.cslab:last-child{height:0;margin:0;border:0;background:none}
#foot{background:#030303;border-top:0;container-type:inline-size}
#foot .foot__scene--rock{
  container-type:inline-size;display:block;position:relative;isolation:isolate;
  height:auto;min-height:0;aspect-ratio:2071/759;padding:0;overflow:hidden;
  background:#030303 url(img/earth/bedrock-reference-scene-v1.webp) center/100% 100% no-repeat;
}
#foot .foot__scene--rock::after{
  content:"";position:absolute;inset:auto 0 0;height:8%;z-index:0;pointer-events:none;
  background:linear-gradient(transparent,#030303);
}
#foot .foot__ground{display:none}
#foot .foot__lift{
  --lw:10.55cqw;--lh:15.42cqw;--fs:1;
  position:absolute;left:78.8%;right:auto;bottom:20.4%;width:var(--lw);margin:0;
}
#foot .foot__frame{width:var(--lw);height:var(--lh);margin:0}
/* The legacy ride controller writes the old 172×300 sprite dimensions inline.
   This landing uses the registered Blender frame while retaining its live doors. */
#foot .foot__box{width:100%!important;height:100%!important;transform:none;filter:drop-shadow(0 3px 5px #000b);background-image:url(img/earth/bedrock-cab-reference-v1.webp)}
#foot .nyl__opening{left:10.7757%;right:10.7757%;top:10.0373%;bottom:4.1604%}
#foot .foot__scene--rock .fplate{
  position:absolute;left:min(73.25%,calc(78.8% - 52px));right:auto;bottom:27.6%;width:max(44px,4.1cqw);height:max(74px,7.5cqw);
  margin:0;padding:.6cqw .3cqw;min-height:0;box-shadow:2px 4px 8px #0009;
}
#foot .fplate__t{font-size:max(9px,.92cqw)}
#foot .fplate__button{width:1.35cqw;height:1.35cqw;margin-top:.65cqw}
#foot .lever{position:absolute;left:91%;right:auto;bottom:24.8%;margin:0;padding:0}
#foot .lever__plate{width:max(44px,4.45cqw);height:max(74px,7.75cqw)}
#foot .lever__slot{top:14%;width:12%;height:53%;margin-left:-6%}
#foot .lever__arm{height:65%;width:75%;margin-left:-37.5%;bottom:10%}
#foot .lever__knob{width:1.25cqw;height:.85cqw;top:-.4cqw;margin-left:-.625cqw}
#foot .lever__lab{font-size:max(6px,.6cqw);bottom:10%;letter-spacing:.1em}
#foot .nyl__head{display:block;top:-12.5%;height:9%;background:#14120e;border:1px solid #60503a;box-shadow:0 2px 4px #0008}
#foot .gl-streetno{justify-content:center;padding:0;font-size:.67cqw;letter-spacing:.12em;height:100%;color:#e4d6b8}
#foot .nyl__call{height:100%;min-height:0;width:100%}
#foot .foot__band{
  position:relative;isolation:isolate;display:grid;
  grid-template-columns:32% 18% 22% 19% 9%;
  padding:34px 0 42px;row-gap:0;background:linear-gradient(rgba(0,0,0,.97),#000),#030303 url(img/earth/bedrock-natural-v1.webp) center/1536px auto;
}
#foot .foot__brand{padding:0 clamp(24px,3.6vw,60px);padding-right:12px}
#foot .foot__brand::before,#foot .foot__brand::after{display:none}
#foot .foot__lock{width:100%;max-width:230px;margin:0 0 16px}
#foot .foot__about{font-size:14px;line-height:1.55;max-width:290px;color:#b6b9b9}
#foot .foot__col{padding:0 2cqw;border-color:#303232;position:relative;z-index:1}
#foot .foot__col h3{font-size:10px;letter-spacing:.2em;color:#a1a6a6}
#foot .foot__col a{font-size:14px;line-height:1.4;min-height:32px}
#foot .foot__motto{font:500 10px/1.6 var(--text);letter-spacing:.23em;color:#949b99;text-transform:uppercase;margin:16px 0}
#foot .foot__contours{position:absolute;right:0;top:0;width:26%;height:360px;pointer-events:none;z-index:-1;opacity:.28;filter:brightness(3);object-fit:contain}
#foot .foot__copy{font-size:10px;letter-spacing:.14em}
#foot .foot__base{background:#030303}
@media(max-width:1199px) and (min-width:820px){
  #foot .foot__band{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:28px}
  #foot .foot__brand{grid-column:1/-1;max-width:420px}
  #foot .foot__brand{padding-left:24px}
  #foot .foot__col{padding:0 16px}
  #foot .foot__contours{width:25%;opacity:.1}
}
@media(max-width:819px){
  #foot .foot__scene--rock{
    /* Crop to the lit lift bay; the rock photograph and live controls share this coordinate system. */
    aspect-ratio:auto;height:400px;background-size:auto 400px;background-position:right top;
    background-image:url(img/earth/bedrock-reference-scene-mobile-v1.webp);
  }
  #foot .foot__lift{--lw:115px;--lh:175px;left:auto;right:112px;bottom:81px}
  #foot .foot__scene--rock .fplate{left:auto;right:242px;bottom:110px;width:46px;height:83px;padding:8px 4px}
  #foot .fplate__t{font-size:11px}
  #foot .fplate__button{width:16px;height:16px;margin-top:10px}
  #foot .lever{left:auto;right:37px;bottom:99px}
  #foot .lever__plate{width:49px;height:86px}
  #foot .lever__knob{width:16px;height:10px;top:-5px;margin-left:-8px}
  #foot .lever__lab{font-size:8px}
  #foot .gl-streetno{font-size:8px;padding:0;letter-spacing:.1em}
  #foot .foot__totop{background:#030303}
  #foot .foot__band{grid-template-columns:1fr 1fr;padding:24px 20px 30px;gap:28px 0}
  #foot .foot__brand{grid-column:1/-1;padding:0 0 16px;max-width:430px}
  #foot .foot__lock{max-width:240px;width:65%}
  #foot .foot__about{max-width:290px}
  #foot .foot__col{padding:0 14px 0 0;border-top:0;border-left:0}
  #foot .foot__col:last-of-type{grid-column:1/-1}
  #foot .foot__col a{min-height:40px;font-size:14px}
  #foot .foot__contours{top:auto;bottom:0;width:70%;height:300px;opacity:.12}
}
