/* XSIDE / Cinematic Gallery v4 — standalone prototype; original site untouched */
:root{--nav-height:90px}html{scroll-behavior:smooth}body{background:#0d0b13}.xsite-header{position:absolute;top:0;left:0;right:0;height:94px;z-index:180;pointer-events:none}.xsite-nav{pointer-events:auto;position:relative;display:flex;align-items:center;justify-content:space-between;gap:23px;height:72px;width:calc(100% - 8vw);max-width:1500px;margin:11px auto 0;padding:0 12px 0 18px;border:1px solid rgba(255,255,255,.13);border-radius:99px;background:rgba(14,12,20,.69);backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px)}.xsite-logo{font-size:27px;letter-spacing:-.085em;font-weight:850;white-space:nowrap}.xsite-logo i{font-style:normal;color:#d3fb52}.xsite-links,.xsite-actions{display:flex;align-items:center;gap:clamp(13px,1.75vw,30px)}.xsite-links a,.xsite-solutions>button{font-weight:650;color:#f5f5f7;font-size:13px;background:none;border:0;padding:10px 0;white-space:nowrap}.xsite-links a:hover,.xsite-solutions>button:hover{color:#d3fb52}.xsite-links .xsite-current{color:#d3fb52}.xsite-solutions{position:relative}.xsite-solutions>button{cursor:pointer}.xsite-solutions>button span{margin-left:5px}.xsite-mega{position:absolute;left:-30px;top:45px;min-width:450px;display:grid;grid-template-columns:1fr 1fr;gap:25px;padding:25px;background:#1a1627;border:1px solid #ffffff30;border-radius:19px;box-shadow:0 22px 75px #000b;opacity:0;visibility:hidden;transform:translateY(9px);transition:.2s}.xsite-solutions:hover .xsite-mega,.xsite-solutions:focus-within .xsite-mega,.xsite-solutions.is-open .xsite-mega{opacity:1;visibility:visible;transform:translateY(0)}.xsite-mega small{display:block;color:#a5a0b3;font-size:9px;letter-spacing:.16em;margin-bottom:12px}.xsite-mega a{display:block;font-size:13px;line-height:1.5;padding:7px 0;white-space:normal}.xsite-langs{display:flex;align-items:center;gap:7px;color:#aaa7b6;font-size:12px;font-weight:750}.xsite-langs a:hover{color:#d3fb52}.xsite-cta{height:46px;display:flex;align-items:center;gap:13px;background:#d3fb52;border-radius:99px;padding:4px 4px 4px 20px;color:#111;font-weight:750;font-size:13px;white-space:nowrap}.xsite-cta span{height:38px;width:38px;background:#111;border-radius:50%;display:grid;place-items:center}.xsite-cta svg{width:20px;fill:none;stroke:#d3fb52;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s}.xsite-cta:hover svg{transform:translateX(3px)}.xsite-burger{display:none;height:44px;width:44px;background:#272132;border:1px solid #ffffff24;border-radius:50%;place-items:center}.xsite-burger svg{height:22px;width:22px;stroke:#fff;stroke-width:1.8;fill:none}.xsite-mobile{display:none}
.gallery-shell{height:100svh;min-height:670px;background:#100e18;overflow:hidden}.gallery-content{height:100%;max-width:1580px;margin:0 auto;padding:100px clamp(26px,4.7vw,82px) 26px;display:grid;grid-template-columns:minmax(320px,36%) minmax(0,64%);grid-template-rows:minmax(0,1fr) auto;gap:10px 0;align-items:center}.gallery-bg{filter:blur(85px) brightness(.21) saturate(1.2)}.gallery-gradient{background:radial-gradient(ellipse at 68% 46%,#65309643,transparent 49%),linear-gradient(90deg,#0d0a14 0%,#161024d1 54%,#0b0a12b0 100%)}.gallery-grid,.world-orbit,.orbit2{display:none!important}.gallery-intro{align-self:center;padding-right:16px}.gallery-intro h1{color:#fff;font-size:clamp(42px,4.8vw,78px);font-weight:760;line-height:.98;letter-spacing:-.073em;margin:26px 0 26px}.gallery-intro h1 em{color:#fff}.gallery-intro p{font-size:clamp(13px,1.06vw,16px);line-height:1.58;max-width:380px}.gallery-intro .eyebrow{color:#c3bccf}.gallery-world{width:100%;height:100%;min-height:0;max-height:none;align-self:stretch;overflow:visible;position:relative;touch-action:pan-y}.gallery-top-controls{position:absolute;z-index:45;top:0;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:17px;min-width:max-content}.gallery-top-controls .gallery-controls{display:flex;gap:9px}.gallery-top-controls .gallery-controls button{width:42px;height:42px;background:#191622b8}.gallery-position{letter-spacing:.15em;color:#f1eef6;font-size:11px;font-weight:800}.gallery-hint{color:#ada7ba;font-size:11px;border-left:1px solid #ffffff44;padding-left:17px;max-width:190px;line-height:1.4}.gallery-cards{top:42px;bottom:0}.project-panel{width:min(81%,810px);top:51%;aspect-ratio:1.34}.project-panel.is-active .browser{box-shadow:0 36px 90px #000b,0 0 60px #8851b524}.world-flare{opacity:.43}.world-floor{bottom:3%;height:16%}.gallery-details{grid-column:1/-1;min-height:108px;grid-template-columns:clamp(130px,15vw,210px) minmax(0,1fr) auto;align-items:center;gap:23px;padding-top:13px;padding-bottom:6px;border-top:1px solid #ffffff34}.detail-num{font-size:clamp(67px,7.2vw,110px);font-weight:700;line-height:.86;letter-spacing:-.105em;color:transparent;-webkit-text-stroke:1.3px #ffffffb5;text-shadow:none}.detail-num small{font-size:12px;-webkit-text-stroke:0;color:#a5a0b0;letter-spacing:0;margin-left:8px;font-weight:650}.detail-kicker{color:#b9b4c3;font-size:10px;letter-spacing:.16em;margin:0 0 6px}.detail-text h2{font-size:clamp(22px,2.3vw,37px);max-width:750px;line-height:1.08;letter-spacing:-.05em;margin:0}.detail-text p{display:none}.detail-actions{flex-direction:row;gap:12px;align-items:center}.detail-actions .pill{height:48px;white-space:nowrap}.gallery-pagination{top:49%;right:12px;gap:12px}.gallery-pagination button{width:7px;height:7px}.gallery-secondary{padding-top:110px}.gallery-secondary h2 span{color:#f8f7fb}.gallery-bottom{display:none}.head-tag,.head-link{display:none}
@media(max-height:850px) and (min-width:781px){.gallery-shell{min-height:620px}.gallery-content{padding-top:87px;padding-bottom:17px}.gallery-intro h1{font-size:clamp(40px,4.5vw,68px);margin:16px 0 18px}.gallery-intro p{font-size:13px}.gallery-details{min-height:95px;gap:18px}.project-panel{width:min(80%,760px)}.gallery-top-controls{top:-3px}.gallery-cards{top:28px}.detail-num{font-size:80px}.detail-text h2{font-size:clamp(22px,2.35vw,34px)}}
@media(max-width:1150px){.xsite-links,.xsite-langs{display:none}.xsite-burger{display:grid}.xsite-mobile.is-open{display:flex;position:fixed;z-index:170;inset:0;background:#0f0b18f5;padding:105px 8vw 35px;overflow:auto}.xsite-mobile nav{display:flex;flex-direction:column;gap:14px;width:100%}.xsite-mobile nav>a{font-size:clamp(22px,4vw,34px);font-weight:750;border-bottom:1px solid #ffffff24;padding:5px 0 14px}.xsite-mobile .xsite-langs{display:flex;margin-top:16px}.gallery-content{grid-template-columns:35% 65%}.gallery-intro h1{font-size:clamp(39px,5vw,62px)}}
@media(max-width:780px){.xsite-nav{width:calc(100% - 26px);height:60px;margin-top:8px}.xsite-logo{font-size:25px}.xsite-cta{height:42px;font-size:11px;padding-left:13px}.xsite-cta span{height:34px;width:34px}.gallery-shell{height:auto;min-height:100svh}.gallery-content{display:flex;flex-direction:column;align-items:stretch;padding:83px 22px 22px;gap:0}.gallery-intro{padding:0}.gallery-intro h1{font-size:clamp(40px,9vw,66px);margin:16px 0 12px}.gallery-intro p{max-width:580px}.gallery-world{height:clamp(340px,60vw,550px);min-height:340px;max-height:none;flex:none;margin-top:22px}.gallery-top-controls{top:0;gap:9px}.gallery-hint{display:none}.gallery-cards{top:33px}.project-panel{width:79%;top:53%}.gallery-details{grid-template-columns:90px 1fr;min-height:auto;padding-top:19px;gap:16px}.detail-num{font-size:60px}.detail-text h2{font-size:clamp(24px,4.5vw,34px)}.detail-actions{grid-column:1/-1;justify-content:flex-start;align-items:center;margin:12px 0 0}.gallery-pagination{right:3px;top:50%;bottom:auto;flex-direction:column}.gallery-secondary{padding:75px 24px}}
@media(max-width:480px){.xsite-cta{display:none}.gallery-content{padding-top:82px}.gallery-intro h1{font-size:clamp(40px,11vw,53px)}.gallery-intro p{font-size:13px}.gallery-world{height:345px;min-height:345px}.project-panel{width:83%;top:52%}.detail-num{font-size:52px}.detail-text h2{font-size:24px}.gallery-top-controls .gallery-controls button{height:38px;width:38px}.gallery-pagination{right:-8px}.detail-actions .pill{min-height:43px}.xsite-nav{padding-left:14px}}
@media(prefers-reduced-motion:reduce){.project-panel,.browser-window img{transition:none!important}}