/* ===================== Bishop Signature Mockup =====================
   One system, four variants. Flat charcoal stage, a gold "horizon" line the devices stand on,
   precise bezels and soft layered shadows. No gradients behind the devices, no glow.
   Everything scales from the scene width (cqw), so cards, home, hero and related use the same artwork. */
.bm{--cy:50cqh;--ah:84cqh;--sw:min(94cqw,calc(var(--ah)*1.786));--hz:calc(var(--cy) + var(--sw)*.24);
  position:absolute;inset:0;display:block;overflow:hidden;container-type:size;direction:ltr;background:#0e0f15}
.bm-bg{position:absolute;inset:0;display:block;background:linear-gradient(180deg,#0e0f15 var(--hz),rgba(255,204,0,.34) var(--hz),rgba(255,204,0,.34) calc(var(--hz) + 1px),#14151d calc(var(--hz) + 1px))}
.bm-scene{position:absolute;left:50%;top:var(--cy);width:var(--sw);aspect-ratio:100/56;transform:translate(-50%,-50%);display:block;container-type:inline-size}
.bm img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}

/* desktop display */
.bmd{position:absolute;bottom:4cqw;display:block;width:68cqw;left:11cqw;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.bmd-body{display:block;padding:.55cqw;border-radius:1.1cqw;background:#1b1c24;box-shadow:inset 0 0 0 1px rgba(255,255,255,.11),0 0 0 1px #000,0 .3cqw .7cqw rgba(0,0,0,.5),0 2.8cqw 5cqw -1.2cqw rgba(0,0,0,.65)}
.bmd-screen{display:block;aspect-ratio:var(--ar,1.6);border-radius:.55cqw;overflow:hidden;background:#000}
.bmd-neck{display:block;width:10%;height:3.6cqw;margin:0 auto;background:linear-gradient(90deg,#1f2029,#383a47 50%,#1f2029)}
.bmd-foot{position:relative;display:block;width:30%;height:.75cqw;margin:0 auto;border-radius:.4cqw .4cqw 0 0;background:linear-gradient(180deg,#444654,#262833)}
.bmd-foot::after{content:"";position:absolute;left:-14%;right:-14%;bottom:-1.1cqw;height:1.6cqw;border-radius:50%;background:radial-gradient(closest-side,rgba(0,0,0,.6),transparent);z-index:-1}

/* phone */
.bmp{position:absolute;bottom:4cqw;display:block;width:15cqw;aspect-ratio:9/19.5;padding:.45cqw;border-radius:2.4cqw;background:#17181f;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 0 0 1px #000,0 .3cqw .7cqw rgba(0,0,0,.5),0 2.2cqw 4cqw -.8cqw rgba(0,0,0,.7);transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.bmp-screen{display:block;width:100%;height:100%;border-radius:2cqw;overflow:hidden;background:#000;position:relative}
.bmp-screen::after{content:"";position:absolute;top:.9cqw;left:50%;width:28%;height:1cqw;border-radius:99px;transform:translateX(-50%);background:#000;box-shadow:0 0 0 1px rgba(255,255,255,.06)}

/* browser window */
.bmb{position:absolute;bottom:6cqw;display:block;width:76cqw;left:12cqw;border-radius:.9cqw;overflow:hidden;background:#0d0e15;box-shadow:0 0 0 1px rgba(255,255,255,.12),0 .3cqw .7cqw rgba(0,0,0,.5),0 2.8cqw 5cqw -1.2cqw rgba(0,0,0,.65);transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.bmb-bar{display:flex;align-items:center;gap:.6cqw;height:2.7cqw;padding:0 1.2cqw;background:#171821;border-bottom:1px solid rgba(255,255,255,.07)}
.bmb-bar i{display:block;width:.7cqw;height:.7cqw;border-radius:50%;background:#383a4a}
.bmb-bar b{display:block;margin-left:1.4cqw;width:30%;height:1.3cqw;border-radius:99px;background:#0b0c11}
.bmb-screen{display:block;aspect-ratio:var(--ar,1.6);overflow:hidden;background:#000}

/* variants */
.bm-desktop-mobile .bmp{left:75cqw;width:16cqw;z-index:2;bottom:4cqw}
.bm-desktop-mobile .bmd{left:7cqw;width:73cqw}
.bm-desktop-mobile:not(.has-m) .bmd{left:10cqw;width:80cqw}
.bm-dashboard .bmd{left:9cqw;width:78cqw}
.bm-dashboard .bmb.sec{left:auto;right:3cqw;bottom:6cqw;width:34cqw;z-index:2}
.bm-mobile .bmp{width:19cqw}
.bm-mobile.n1 .bmp{width:26cqw;left:37cqw}
.bm-mobile.n2 .bmp.p1{left:28cqw}.bm-mobile.n2 .bmp.p2{left:53cqw}
.bm-mobile.n3 .bmp{width:18cqw}.bm-mobile.n3 .bmp.p1{left:17cqw}.bm-mobile.n3 .bmp.p2{left:39.5cqw;width:21cqw;z-index:2}.bm-mobile.n3 .bmp.p3{left:65cqw}
.bm-browser.has-s .bmb.main{left:24cqw;width:70cqw;z-index:2;bottom:6cqw}
.bm-browser.has-s .bmb.sec{left:4cqw;width:58cqw;bottom:10.5cqw}

/* laptop */
.bml{position:absolute;bottom:2.4cqw;display:block;width:30cqw;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.bml-lid{display:block;padding:.4cqw;border-radius:.8cqw .8cqw .15cqw .15cqw;background:#1b1c24;box-shadow:inset 0 0 0 1px rgba(255,255,255,.11),0 0 0 1px #000,0 .3cqw .7cqw rgba(0,0,0,.5)}
.bml-screen{display:block;aspect-ratio:var(--ar,1.6);border-radius:.4cqw;overflow:hidden;background:#000;position:relative}
.bml-screen::after,.bmd-screen::after,.bmt-screen::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(118deg,rgba(255,255,255,.07),transparent 34%)}
.bmd-screen{position:relative}
.bml-base{position:relative;display:block;height:1.1cqw;width:112%;margin-left:-6%;border-radius:.1cqw .1cqw 1.3cqw 1.3cqw;background:linear-gradient(180deg,#4a4c5a,#2a2c37 60%,#171821);box-shadow:0 1.6cqw 3cqw -.6cqw rgba(0,0,0,.75)}
.bml-base::before{content:"";position:absolute;left:50%;top:0;width:14%;height:55%;transform:translateX(-50%);border-radius:0 0 .6cqw .6cqw;background:#0f1016}

/* tablet */
.bmt{position:absolute;bottom:4cqw;display:block;width:17cqw;aspect-ratio:3/4.05;padding:.45cqw;border-radius:1.5cqw;background:#17181f;box-shadow:inset 0 0 0 1px rgba(255,255,255,.13),0 0 0 1px #000,0 .3cqw .7cqw rgba(0,0,0,.5),0 2cqw 3.6cqw -.8cqw rgba(0,0,0,.7);transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.bmt-screen{display:block;width:100%;height:100%;border-radius:1.1cqw;overflow:hidden;background:#000;position:relative}

/* studio: a desk with a quiet gold light strip along its back edge */
.bm-studio{--sw:min(94cqw,calc(var(--ah)*2.17));--hz:calc(var(--cy) + var(--sw)*.19);--dx:0cqw}
.bm-studio .bm-bg{background:
  linear-gradient(180deg,transparent calc(var(--hz) - 7cqh),rgba(255,204,0,.07) calc(var(--hz) - 1px),transparent var(--hz)),
  linear-gradient(180deg,#0e0f15 var(--hz),#ffcc00 var(--hz),#ffcc00 calc(var(--hz) + 2px),#14151d calc(var(--hz) + 2px),#0f1017 100%)}
.bm-studio .bm-scene{aspect-ratio:100/46}
.bm-studio .bmd{left:calc(24cqw + var(--dx));width:50cqw;bottom:4cqw}
.bm-studio .bmt{left:calc(2cqw + var(--dx));z-index:1}
.bm-studio .bmp{left:calc(20.5cqw + var(--dx));width:9.5cqw;bottom:2.2cqw;z-index:3}
.bm-studio .bml{left:calc(66cqw + var(--dx));z-index:3}
.bm-studio.no-r{--dx:10cqw}
.bm-studio.no-l{--dx:-10cqw}
.bm-studio.no-l.no-r{--dx:0cqw}
.bm-studio.solo .bmd{left:17cqw;width:66cqw}
.bm-studio.no-r.no-l:not(.solo) .bmd{left:calc(24cqw + var(--dx))}

/* brand plate: the project / client logo sits on the desk, centred under the devices */
.bm img.bm-logo{position:absolute;z-index:3;left:50%;top:calc(var(--hz) + var(--sw)*.035);transform:translateX(-50%);display:block;height:clamp(16px,calc(var(--sw)*.075),64px);width:auto;max-width:38cqw;object-fit:contain;object-position:center;opacity:1;filter:none;pointer-events:none}

/* places */
.pcard .pc-media .bm{--cy:50cqh;--ah:64cqh}
.pcard-big .pc-media .bm{--cy:47cqh;--ah:72cqh}
.pcard:hover .bmd,.pcard:hover .bmb,.pcard:hover .bmp{transform:translateY(-.8cqw)}
.pcard-mock .pc-media img{filter:none}.pcard-mock:hover .pc-media img{transform:none}
.pcard-mock::after{background:linear-gradient(180deg,transparent 80%,rgba(7,7,11,.6))}
.pcard-mock:hover::after{background:linear-gradient(180deg,transparent 76%,rgba(7,7,11,.7))}
.bm-stage{position:relative;aspect-ratio:16/8.6;border-radius:1rem;overflow:hidden;border:1px solid var(--bd)}
.bm-stage .bm{--cy:48cqh;--ah:88cqh}
.bm-stage::before{content:"";position:absolute;inset:16px;z-index:3;pointer-events:none;opacity:.55;
  background:linear-gradient(#ffcc00,#ffcc00) 0 0/14px 1px no-repeat,linear-gradient(#ffcc00,#ffcc00) 0 0/1px 14px no-repeat,
  linear-gradient(#ffcc00,#ffcc00) 100% 0/14px 1px no-repeat,linear-gradient(#ffcc00,#ffcc00) 100% 0/1px 14px no-repeat,
  linear-gradient(#ffcc00,#ffcc00) 0 100%/14px 1px no-repeat,linear-gradient(#ffcc00,#ffcc00) 0 100%/1px 14px no-repeat,
  linear-gradient(#ffcc00,#ffcc00) 100% 100%/14px 1px no-repeat,linear-gradient(#ffcc00,#ffcc00) 100% 100%/1px 14px no-repeat}
@media(max-width:575px){.bm-stage{aspect-ratio:9/7;border-radius:.8rem}.bm-stage::before{display:none}.bm-stage .bm{--cy:49cqh;--ah:84cqh;--sw:98cqw}}
@media(max-width:767px){
  .pcard.pcard-mock{aspect-ratio:1/.9}
  .pcard .pc-media .bm,.pcard-big .pc-media .bm{--cy:42cqh;--ah:51cqh}
}

.pcard .pc-media .bm-studio{--cy:48cqh;--ah:60cqh}
.bm-stage .bm-studio{--cy:47cqh;--ah:84cqh}
@media(max-width:767px){.pcard .pc-media .bm-studio{--cy:40cqh;--ah:48cqh}}
@media(max-width:575px){.bm-stage .bm-studio{--ah:80cqh;--sw:98cqw}}
@media(min-width:576px){.bm-stage:has(.bm-studio){aspect-ratio:16/8.3}.bm-stage .bm-studio{--cy:49cqh;--ah:86cqh}}

/* card with a logo on the desk: the logo is the title; hide the repeated text, centre the call to action */
.pcard.has-logo .pc-meta{align-items:center;text-align:center;padding-bottom:1rem}
.pcard.has-logo .pc-meta b,.pcard.has-logo .pc-meta small{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:767px){.pcard.has-logo{aspect-ratio:1/.84}.pcard.has-logo .pc-meta{padding-bottom:.8rem}.pcard.has-logo .pc-meta em{margin-top:0}}
@media(min-width:768px){.pcard.has-logo .pc-meta em{margin-top:0}}

/* card call to action: a clear gold pill, always visible; fills on hover */
.pcard.has-logo .pc-meta em{display:inline-flex;align-items:center;gap:.5rem;max-height:none;opacity:1;overflow:visible;margin-top:.2rem;padding:.55rem 1.4rem;border:1px solid rgba(255,204,0,.55);border-radius:999px;background:rgba(255,204,0,.08);color:var(--gold);font-size:.92rem;font-weight:800;line-height:1.2;transition:background .3s,color .3s,border-color .3s}
.pcard.has-logo:hover .pc-meta em{max-height:none;margin-top:.2rem;background:var(--gold);border-color:var(--gold);color:#000}
.pcard.has-logo .pc-meta em i{transition:transform .3s}
.pcard.has-logo:hover .pc-meta em i{transform:translateX(3px)}
[dir=rtl] .pcard.has-logo:hover .pc-meta em i{transform:translateX(-3px)}
@media(max-width:767px){.pcard.has-logo .pc-meta em{padding:.5rem 1.2rem;font-size:.88rem}}
@media(min-width:768px){.pcard.has-logo .pc-media .bm{--cy:38cqh;--ah:56cqh}}
