/* Services scene (plugins/genx-studio/scene3d.php): three depths — forms and light, site showcases, service pills. The script
   (scene3d.js) only writes --px/--py (-1…1) on .gxsc; every layer takes its own share of them here. */
.gxsc{--px:0;--py:0;position:relative;height:clamp(440px,44vw,640px);margin:4px 0 60px;border-radius:22px;overflow:hidden;isolation:isolate;perspective:1500px;background:#06070a;border:1px solid rgba(255,255,255,.07);box-shadow:0 40px 120px -60px rgba(0,0,0,.9)}
.gxsc-stage{position:absolute;inset:0}
/* — back: obsidian, a champagne light from the left, a violet one from the right, sculpted forms — */
.gxsc-bg{position:absolute;inset:-7%;transform:translate3d(calc(var(--px)*-6px),calc(var(--py)*-5px),0);
	background:radial-gradient(58% 78% at 4% 18%,rgba(226,200,160,.27),transparent 62%),radial-gradient(54% 72% at 97% 76%,rgba(132,102,232,.28),transparent 62%),radial-gradient(40% 40% at 50% 108%,rgba(226,200,160,.07),transparent 70%),linear-gradient(160deg,#0e0f14 0%,#07080b 46%,#0a0910 100%)}
.gxsc-bg::after{content:"";position:absolute;inset:0;opacity:.07;mix-blend-mode:overlay;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E")}
.gxsc-bg i{position:absolute;display:block}
/* a tilted slab catching the gold light on its upper edge */
.gxsc-f1{left:-9%;top:-22%;width:40%;aspect-ratio:1;border-radius:16%;transform:rotate(27deg);background:linear-gradient(140deg,#1b1c22 0%,#0c0d11 42%,#050508 100%);box-shadow:inset 2px 2px 0 rgba(236,214,180,.3),inset 26px 26px 60px rgba(236,214,180,.07),inset 0 0 80px rgba(0,0,0,.6),70px 90px 130px rgba(0,0,0,.75)}
/* a polished sphere with a violet rim */
.gxsc-f2{right:1%;bottom:-24%;width:30%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 30% 26%,#41424d 0,#1a1b22 22%,#08080b 62%,#030304 100%);box-shadow:inset -22px -18px 50px rgba(132,102,232,.34),inset 12px 10px 30px rgba(255,255,255,.05),-40px 50px 110px rgba(0,0,0,.8)}
/* a tall prism on the right */
.gxsc-f3{right:17%;top:-16%;width:15%;height:70%;transform:skewY(-18deg) rotate(8deg);background:linear-gradient(100deg,#15161c 0%,#0a0b0f 55%,#131019 100%);box-shadow:inset -2px 0 0 rgba(160,134,246,.42),inset -40px 0 60px rgba(132,102,232,.08),inset 1px 0 0 rgba(255,255,255,.06),40px 60px 100px rgba(0,0,0,.7)}
/* a low block on the left floor */
.gxsc-f4{left:9%;bottom:-20%;width:26%;height:44%;border-radius:10% 10% 0 0;transform:skewX(-14deg);background:linear-gradient(180deg,#191a20 0%,#0a0b0e 60%,#050506 100%);box-shadow:inset 0 2px 0 rgba(236,214,180,.28),inset 0 40px 60px rgba(236,214,180,.05),30px 40px 90px rgba(0,0,0,.7)}
/* — middle: the showcases — */
.gxsc-shot{position:absolute;margin:0;border-radius:13px;overflow:hidden;background:#0b0d11;border:1px solid rgba(255,255,255,.11);box-shadow:0 46px 90px -18px rgba(0,0,0,.85),0 18px 36px -12px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.07);will-change:transform;backface-visibility:hidden}
.gxsc-shot img{display:block;width:100%;aspect-ratio:16/9.4;object-fit:cover;object-position:top}
.gxsc-bar{display:flex;align-items:center;gap:6px;height:24px;padding:0 11px;background:linear-gradient(180deg,#16181e,#101216);border-bottom:1px solid rgba(255,255,255,.07)}
.gxsc-bar i{width:7px;height:7px;border-radius:50%;background:#33363f}.gxsc-bar i:first-child{background:#6b5a46}
.gxsc-bar b{margin-left:8px;font:500 10.5px/1 "JetBrains Mono",ui-monospace,monospace;letter-spacing:.04em;color:#8c8f98}
/* glass: a fixed sheen plus a highlight that slides with the pointer */
.gxsc-shot::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(118deg,rgba(255,255,255,.13) 0,rgba(255,255,255,.03) 22%,transparent 38%),radial-gradient(60% 80% at calc(50% + var(--px)*-42%) calc(34% + var(--py)*-30%),rgba(240,222,190,.12),transparent 62%)}
.gxsc-main{z-index:3;left:25.5%;top:13%;width:49%;transform:translate3d(calc(var(--px)*9px),calc(var(--py)*7px),70px) rotateX(calc(var(--py)*-3.2deg)) rotateY(calc(var(--px)*4deg))}
.gxsc-l{z-index:2;left:4.5%;top:25%;width:33%;filter:brightness(.74) saturate(.92);transform:translate3d(calc(var(--px)*-9px),calc(var(--py)*-6px),-60px) rotateY(calc(17deg + var(--px)*2deg)) rotateZ(-1.6deg)}
.gxsc-r{z-index:2;right:4.5%;top:20%;width:33%;filter:brightness(.74) saturate(.92);transform:translate3d(calc(var(--px)*-8px),calc(var(--py)*-7px),-60px) rotateY(calc(-17deg + var(--px)*2deg)) rotateZ(1.6deg)}
.gxsc-fl{z-index:1;left:15%;top:6%;width:21%;filter:brightness(.42) saturate(.7) blur(.6px);transform:translate3d(calc(var(--px)*-5px),calc(var(--py)*-4px),-160px) rotateY(12deg)}
.gxsc-fr{z-index:1;right:15%;top:52%;width:21%;filter:brightness(.42) saturate(.7) blur(.6px);transform:translate3d(calc(var(--px)*-5px),calc(var(--py)*-4px),-160px) rotateY(-12deg)}
/* a soft light that travels with the pointer over everything */
.gxsc-light{position:absolute;inset:0;z-index:4;pointer-events:none;mix-blend-mode:screen;background:radial-gradient(34% 46% at calc(50% + var(--px)*36%) calc(46% + var(--py)*34%),rgba(236,214,180,.11),transparent 70%),radial-gradient(30% 40% at calc(50% + var(--px)*-30%) calc(60% + var(--py)*-26%),rgba(132,102,232,.09),transparent 70%)}
/* — front: the service pills — */
.gxsc-pills{position:absolute;inset:0;z-index:6;pointer-events:none}
.gxsc-pill{--d:10;--s:1;position:absolute;display:inline-flex;align-items:center;gap:10px;padding:11px 18px 11px 15px;border-radius:999px;pointer-events:auto;white-space:nowrap;text-decoration:none;font-size:13.5px;line-height:1.2;font-weight:600;letter-spacing:.005em;color:#f3eee5;background:linear-gradient(180deg,rgba(26,27,34,.72),rgba(11,12,16,.72));-webkit-backdrop-filter:blur(12px) saturate(150%);backdrop-filter:blur(12px) saturate(150%);border:1px solid rgba(236,214,180,.2);box-shadow:0 18px 40px -10px rgba(0,0,0,.75),inset 0 1px 0 rgba(255,255,255,.09);transform:translate3d(calc(var(--px)*var(--d)*1px),calc(var(--py)*var(--d)*.8px),0) scale(var(--s));transition:border-color .3s,color .3s,box-shadow .3s,background .3s;will-change:transform}
.gxsc-pill i{flex:none;width:7px;height:7px;border-radius:50%;background:#e2c8a0;box-shadow:0 0 0 3px rgba(226,200,160,.14)}
.gxsc-pill.gxsc-v i{background:#a48cf5;box-shadow:0 0 0 3px rgba(164,140,245,.16)}
.gxsc-pill:hover,.gxsc-pill:focus-visible{color:#fff;border-color:rgba(236,214,180,.55);box-shadow:0 22px 46px -10px rgba(0,0,0,.8),0 0 0 1px rgba(236,214,180,.12),inset 0 1px 0 rgba(255,255,255,.14)}
.gxsc-pill.gxsc-v:hover,.gxsc-pill.gxsc-v:focus-visible{border-color:rgba(164,140,245,.6)}
.gxsc-p1{left:5%;top:11%;--d:12}
.gxsc-p2{left:2.6%;top:71%;--d:-10;--s:.96}
.gxsc-p3{right:5%;top:8.5%;--d:14;--s:1.03}
.gxsc-p4{right:3%;top:79%;--d:-12}
.gxsc-p5{left:31%;bottom:5.5%;--d:9;--s:.97}
.gxsc-p6{left:17.5%;top:46%;--d:14;--s:1.05}
.gxsc-p7{right:16%;top:51%;--d:-13;--s:1.05}
.gxsc-p8{left:56%;top:4.5%;--d:10}
/* tablet: the far pair goes, the rest draw in */
@media (max-width:1100px){.gxsc{height:clamp(400px,58vw,560px)}.gxsc-fl,.gxsc-fr{display:none}.gxsc-main{left:21%;width:58%;top:15%}.gxsc-l{left:2%;width:36%;top:30%}.gxsc-r{right:2%;width:36%;top:24%}.gxsc-pill{font-size:12.5px;padding:9px 14px 9px 12px}.gxsc-p6{left:8%;top:52%}.gxsc-p7{right:7%;top:58%}.gxsc-p5{left:26%}.gxsc-p8{left:34%;top:3.5%}.gxsc-p3{top:11%}}
/* phone: a still composition; the names stand in rows under the pictures, nothing overlaps */
@media (max-width:760px){
	.gxsc{height:auto;margin-bottom:40px;border-radius:16px;perspective:none}
	.gxsc-stage{position:relative;inset:auto;height:62vw;max-height:330px;overflow:hidden}
	.gxsc-main{left:14%;width:72%;top:12%;transform:none}.gxsc-l{left:-8%;width:46%;top:26%;transform:rotate(-3deg)}.gxsc-r{right:-8%;width:46%;top:20%;transform:rotate(3deg)}
	.gxsc-bg{transform:none}.gxsc-f3{display:none}
	.gxsc-pills{position:relative;inset:auto;display:flex;flex-wrap:wrap;gap:8px;padding:16px 14px 18px;pointer-events:auto;background:linear-gradient(180deg,rgba(6,7,10,0),#06070a 26%)}
	.gxsc-pill{position:static;transform:none;font-size:13px;padding:9px 14px 9px 12px;white-space:normal;-webkit-backdrop-filter:none;backdrop-filter:none;background:#101117}
}
@media (prefers-reduced-motion:reduce){.gxsc{--px:0!important;--py:0!important}}
@media print{.gxsc-stage{display:none}.gxsc{height:auto}.gxsc-pills{position:static}.gxsc-pill{position:static;transform:none}}
