/* =====================================================================
   Inner-page hero illustrations (js/scenes.js + js/svc.js)
   ===================================================================== */
/* hero with an illustration on the right */
.pg-hero--vis .pg-hero__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(40px, 5vw, 72px); align-items: center; }
.pg-hero--vis .cs-title { font-size: clamp(40px, 5.3vw, 80px); max-width: 13ch; }
.pg-hero--vis .pg-hero__grid { grid-template-columns: minmax(0, 36rem); }
.pg-hero__vis { position: relative; z-index: 1; }
@media (max-width: 1000px) {
  .pg-hero--vis .pg-hero__split { grid-template-columns: 1fr; }
  .pg-hero__vis { max-width: 560px; }
}

/* reuse of the home "What we do" stage */
.sx-stage.svc__stage { position: relative; top: 0; box-shadow: 0 60px 120px -50px rgba(0,0,0,.9), 0 0 0 1px rgba(59,107,255,.12); }

/* common frame */
.sx { position: relative; container-type: inline-size; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(90% 70% at 70% 0%, rgba(59,107,255,.18), transparent 60%), linear-gradient(180deg, #121318, #0D0E12);
  box-shadow: 0 60px 120px -50px rgba(0,0,0,.9), 0 0 0 1px rgba(59,107,255,.12); }
.sx::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(242,239,234,.08) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); }
.sx .dot { width: 1.4cqw; height: 1.4cqw; min-width: 7px; min-height: 7px; border-radius: 50%; background: #3DDC84; animation: svPing 1.8s infinite; display: inline-block; }
@keyframes sxIn { to { opacity: 1; transform: none; } }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.15em; background: var(--accent-2); animation: sxBlink .9s steps(2) infinite; }
@keyframes sxBlink { to { opacity: 0; } }

/* ---------- process: brief → plan → design review → live ---------- */
.sx-flow { aspect-ratio: 1 / 1.08; padding: 7% 6% 7% 15%; display: grid; align-content: space-between; }
.fl-line { position: absolute; left: 8.2cqw; top: 9cqw; bottom: 9cqw; width: 2px; border-radius: 2px; background: rgba(242,239,234,.08); }
.fl-line i { position: absolute; left: 0; right: 0; top: 0; height: 0; border-radius: inherit; background: linear-gradient(var(--accent), #7C9BFF); box-shadow: 0 0 12px rgba(59,107,255,.8); }
.sx-flow.run .fl-line i { animation: flLine 8.4s cubic-bezier(.5,0,.5,1) .2s forwards; }
@keyframes flLine { to { height: 100%; } }
.fl-step { position: relative; display: grid; gap: 1.4cqw; opacity: 0; transform: translateY(14px); }
.fl-step::before { content: ""; position: absolute; left: -7.6cqw; top: .4cqw; width: 2.4cqw; height: 2.4cqw; min-width: 12px; min-height: 12px; border-radius: 50%; background: #0D0E12; border: 2px solid var(--accent); box-shadow: 0 0 0 .8cqw rgba(59,107,255,.12); }
.fl-when { font-size: max(10px, 2cqw); font-weight: 500; color: var(--accent-2); letter-spacing: .02em; }
.fl-card { position: relative; padding: 2.6cqw 3cqw; border-radius: 2cqw; background: rgba(20,21,27,.92); border: 1px solid rgba(242,239,234,.1); box-shadow: 0 24px 50px -24px rgba(0,0,0,.9); font-size: max(11px, 2.6cqw); }
.sx-flow.run .fl-1 { animation: sxIn .6s cubic-bezier(.2,.8,.2,1) .2s forwards; }
.sx-flow.run .fl-2 { animation: sxIn .6s cubic-bezier(.2,.8,.2,1) 2.6s forwards; }
.sx-flow.run .fl-3 { animation: sxIn .6s cubic-bezier(.2,.8,.2,1) 5s forwards; }
.sx-flow.run .fl-4 { animation: sxIn .6s cubic-bezier(.2,.8,.2,1) 7.6s forwards; }
.fl-msg { display: grid; grid-template-columns: auto 1fr auto; gap: 2cqw; align-items: start; }
.fl-ava { display: grid; place-items: center; width: 5cqw; height: 5cqw; min-width: 24px; min-height: 24px; border-radius: 50%; background: linear-gradient(150deg, #5B83FF, #2445C8); color: #fff; font-weight: 600; font-size: max(10px, 2cqw); }
.fl-msg b { display: block; font-size: max(10px, 1.9cqw); color: rgba(242,239,234,.6); font-weight: 500; }
.fl-msg p { margin: .6cqw 0 0; line-height: 1.4; color: #EDEAE5; min-height: 2.8em; }
.fl-time { font-size: max(9px, 1.7cqw); color: rgba(242,239,234,.4); }
.fl-doc { display: grid; grid-template-columns: auto 1fr; gap: 2.4cqw; }
.fl-doc__ic { width: 8cqw; height: 10cqw; min-width: 36px; min-height: 44px; border-radius: 1.2cqw; background: linear-gradient(160deg, #1E2A55, #121828); border: 1px solid rgba(59,107,255,.4); position: relative; }
.fl-doc__ic::after { content: "PDF"; position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); font-size: max(8px, 1.5cqw); font-weight: 600; color: var(--accent-2); }
.fl-doc__body { display: grid; gap: 1.1cqw; align-content: start; }
.fl-doc__body b { font-weight: 600; }
.fl-doc__body > i { height: 1.1cqw; min-height: 5px; border-radius: 1cqw; background: rgba(242,239,234,.16); transform: scaleX(0); transform-origin: left; }
.fl-doc__body > i:nth-of-type(2) { width: 82%; } .fl-doc__body > i:nth-of-type(3) { width: 64%; }
.sx-flow.run .fl-doc__body > i { animation: spRow .7s cubic-bezier(.2,.8,.2,1) forwards; }
.sx-flow.run .fl-doc__body > i:nth-of-type(1) { animation-delay: 3s; } .sx-flow.run .fl-doc__body > i:nth-of-type(2) { animation-delay: 3.2s; } .sx-flow.run .fl-doc__body > i:nth-of-type(3) { animation-delay: 3.4s; }
.fl-doc__meta { display: flex; flex-wrap: wrap; gap: 1.2cqw; margin-top: .6cqw; }
.fl-doc__meta span { padding: .6cqw 1.4cqw; border-radius: 99px; font-size: max(9px, 1.7cqw); color: rgba(242,239,234,.6); background: rgba(59,107,255,.12); border: 1px solid rgba(59,107,255,.3); opacity: 0; transform: scale(.8); }
.fl-doc__meta b { color: #fff; }
.sx-flow.run .fl-doc__meta span { animation: sxIn .5s cubic-bezier(.3,1.6,.5,1) 3.8s forwards; }
.sx-flow.run .fl-doc__meta span + span { animation-delay: 4s; }
.fl-fig { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.4cqw; align-items: center; }
.fl-fig__frame { position: relative; aspect-ratio: 4 / 3; padding: 7%; border-radius: 1.2cqw; background: #0E0F13; border: 1px solid rgba(242,239,234,.08); display: grid; align-content: start; gap: 1cqw; }
.fl-fig__frame b { height: 1.8cqw; width: 70%; border-radius: .5cqw; background: #F2EFEA; }
.fl-fig__frame i { height: .9cqw; border-radius: .4cqw; background: rgba(242,239,234,.25); }
.fl-fig__frame u { width: 36%; height: 2.4cqw; margin-top: .6cqw; border-radius: .6cqw; background: var(--accent); }
.fl-fig__frame s { position: absolute; right: 7%; bottom: 10%; width: 36%; height: 40%; border-radius: .8cqw; background: linear-gradient(140deg, #1B2B6B, #3B6BFF); }
.fl-pin { position: absolute; display: grid; place-items: center; width: 3.4cqw; height: 3.4cqw; min-width: 16px; min-height: 16px; border-radius: 50% 50% 50% 0; background: var(--accent); color: #fff; font-size: max(8px, 1.5cqw); font-weight: 700; transform: scale(0); box-shadow: 0 0 0 .6cqw rgba(59,107,255,.25); }
.p1 { left: 62%; top: 12%; } .p2 { left: 20%; top: 58%; }
.sx-flow.run .p1 { animation: sbPop .5s cubic-bezier(.3,1.7,.5,1) 5.6s forwards; }
.sx-flow.run .p2 { animation: sbPop .5s cubic-bezier(.3,1.7,.5,1) 6s forwards; }
.fl-cmt { display: grid; grid-template-columns: auto 1fr; gap: 1.6cqw; align-items: center; padding: 1.6cqw; border-radius: 1.4cqw; background: rgba(61,220,132,.07); border: 1px solid rgba(61,220,132,.3); opacity: 0; transform: translateX(10px); }
.fl-cmt p { margin: 0; color: #D7F7E6; }
.sx-flow.run .fl-cmt { animation: sxIn .5s cubic-bezier(.2,.8,.2,1) 6.6s forwards; }
.fl-live { display: flex; align-items: center; gap: 2.4cqw; border-color: rgba(61,220,132,.35); }
.sx-flow.run .fl-live { animation: flGlow 1.2s 8.2s forwards; }
@keyframes flGlow { to { box-shadow: 0 24px 50px -24px rgba(0,0,0,.9), 0 0 50px -10px rgba(61,220,132,.45); } }
.fl-check { position: relative; flex: none; width: 5.4cqw; height: 5.4cqw; min-width: 26px; min-height: 26px; border-radius: 50%; background: #3DDC84; transform: scale(0); }
.fl-check::after { content: ""; position: absolute; left: 36%; top: 22%; width: 22%; height: 40%; border-right: 2.5px solid #0B0C0F; border-bottom: 2.5px solid #0B0C0F; transform: rotate(45deg); }
.sx-flow.run .fl-check { animation: sbPop .6s cubic-bezier(.3,1.7,.5,1) 8s forwards; }
.fl-live b { display: block; font-weight: 600; }
.fl-live small { color: rgba(242,239,234,.55); font-size: .88em; }

/* ---------- contact: a message and a fast written reply ---------- */
.sx-inbox { aspect-ratio: 1 / 1.02; padding: 6%; display: grid; align-items: center; }
.ib-win { border-radius: 2.6cqw; overflow: hidden; background: rgba(18,19,24,.95); border: 1px solid rgba(242,239,234,.12); box-shadow: 0 40px 80px -30px rgba(0,0,0,.95); font-size: max(11px, 2.7cqw); }
.ib-head { display: flex; align-items: center; gap: 2cqw; padding: 2.6cqw 3cqw; border-bottom: 1px solid rgba(242,239,234,.08); background: rgba(242,239,234,.02); }
.ib-ava { display: grid; place-items: center; width: 6.4cqw; height: 6.4cqw; min-width: 30px; min-height: 30px; border-radius: 50%; background: linear-gradient(150deg, var(--accent), #1B2E78); color: #fff; font-weight: 700; font-size: max(10px, 1.9cqw); }
.ib-head b { display: block; font-weight: 600; }
.ib-head small { display: flex; align-items: center; gap: 1cqw; color: rgba(242,239,234,.55); font-size: .85em; }
.ib-head small i { width: 1.3cqw; height: 1.3cqw; min-width: 7px; min-height: 7px; border-radius: 50%; background: #3DDC84; }
.ib-body { display: grid; gap: 2.2cqw; padding: 3cqw; min-height: 52cqw; align-content: start; }
.ib-msg { max-width: 82%; padding: 2cqw 2.6cqw; border-radius: 2.2cqw; line-height: 1.45; opacity: 0; transform: translateY(10px) scale(.98); }
.ib-msg p { margin: 0; }
.ib-me { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: .6cqw; }
.ib-tick { display: block; margin-top: .8cqw; text-align: right; font-size: .76em; color: rgba(255,255,255,.7); opacity: 0; }
.ib-them { justify-self: start; background: rgba(242,239,234,.06); border: 1px solid rgba(242,239,234,.1); border-bottom-left-radius: .6cqw; color: #EDEAE5; }
.ib-files { display: flex; flex-wrap: wrap; gap: 1.2cqw; margin-top: 1.8cqw; }
.ib-files span { display: inline-flex; align-items: center; gap: 1cqw; padding: .9cqw 1.5cqw; border-radius: 1cqw; font-size: .85em; background: rgba(59,107,255,.12); border: 1px solid rgba(59,107,255,.3); opacity: 0; transform: scale(.8); }
.ib-files i { width: 1.8cqw; height: 1.8cqw; min-width: 10px; min-height: 10px; border-radius: .4cqw; background: var(--accent); }
.ib-files .f2 { background: #7C9BFF; } .ib-files .f3 { background: #3DDC84; }
.ib-typing { justify-self: start; display: flex; gap: .9cqw; padding: 2.2cqw 2.6cqw; border-radius: 2.2cqw; background: rgba(242,239,234,.06); opacity: 0; height: 0; padding-block: 0; overflow: hidden; }
.ib-typing i { width: 1.4cqw; height: 1.4cqw; min-width: 6px; min-height: 6px; border-radius: 50%; background: rgba(242,239,234,.6); animation: ibDot 1s infinite; }
.ib-typing i:nth-child(2) { animation-delay: .15s; } .ib-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ibDot { 50% { transform: translateY(-40%); opacity: .4; } }
.ib-input { display: flex; align-items: center; justify-content: space-between; margin: 0 3cqw 3cqw; padding: 1.8cqw 2.4cqw; border-radius: 99px; background: rgba(242,239,234,.04); border: 1px solid rgba(242,239,234,.08); color: rgba(242,239,234,.35); font-size: .9em; }
.ib-input b { width: 4.4cqw; height: 4.4cqw; min-width: 22px; min-height: 22px; border-radius: 50%; background: var(--accent); }
.sx-inbox.run .ib-me { animation: sxIn .45s cubic-bezier(.2,.8,.2,1) .3s forwards; }
.sx-inbox.run .ib-tick { animation: sbFade .4s 3.4s forwards; }
.sx-inbox.run .ib-typing { animation: ibShow 1.6s 3.9s forwards; }
@keyframes ibShow { 0% { opacity: 0; height: 0; padding-block: 0; } 10%, 90% { opacity: 1; height: auto; padding-block: 2.2cqw; } 100% { opacity: 0; height: 0; padding-block: 0; } }
.sx-inbox.run .ib-them { animation: sxIn .5s cubic-bezier(.2,.8,.2,1) 5.5s forwards; }
.sx-inbox.run .ib-files span { animation: sxIn .45s cubic-bezier(.3,1.6,.5,1) forwards; }
.sx-inbox.run .ib-files span:nth-child(1) { animation-delay: 6.2s; } .sx-inbox.run .ib-files span:nth-child(2) { animation-delay: 6.4s; } .sx-inbox.run .ib-files span:nth-child(3) { animation-delay: 6.6s; }
.ib-clock { position: absolute; right: 5cqw; top: 4cqw; display: flex; align-items: center; gap: 1.8cqw; padding: 1.6cqw 2.4cqw 1.6cqw 1.6cqw; border-radius: 2cqw; background: rgba(20,21,27,.94); border: 1px solid rgba(61,220,132,.3);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.9), 0 0 40px -12px rgba(61,220,132,.4); opacity: 0; transform: translateY(-8px); }
.ib-clock svg { width: 7cqw; height: 7cqw; min-width: 34px; min-height: 34px; transform: rotate(-90deg); }
.ib-clock circle { fill: none; stroke: rgba(61,220,132,.16); stroke-width: 4; }
.ib-clock .g { stroke: #3DDC84; stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1); }
.sx-inbox.run .ib-clock .g { stroke-dashoffset: 105; transition-delay: 7.2s; }
.ib-clock b { display: block; font-family: var(--font-head); font-size: max(13px, 2.8cqw); font-weight: 600; color: #3DDC84; font-variant-numeric: tabular-nums; }
.ib-clock small { color: rgba(242,239,234,.55); font-size: max(9px, 1.6cqw); }
.sx-inbox.run .ib-clock { animation: sxIn .5s cubic-bezier(.3,1.5,.5,1) 7s forwards; }

/* ---------- about: rotating globe ---------- */
.sx-globe { aspect-ratio: 1 / 1; }
.gl-c { position: absolute; inset: 0; width: 100%; height: 100%; }
.gl-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 1.4cqw; padding: 1.5cqw 2.2cqw; border-radius: 1.4cqw; font-size: max(11px, 2.1cqw); color: var(--text);
  background: rgba(22,23,28,.88); border: 1px solid rgba(242,239,234,.12); box-shadow: 0 20px 40px -18px rgba(0,0,0,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: float 6s ease-in-out infinite; }
.gl-chip b:not(.dot) { font-family: var(--font-head); font-weight: 600; }
.gl-a { left: 6%; top: 8%; } .gl-b { right: 6%; top: 18%; animation-delay: -2s; } .gl-c2 { left: 8%; right: 8%; bottom: 6%; justify-content: center; text-align: center; color: #CFCCC7; animation-delay: -4s; }

/* ---------- reviews: score and rotating quotes ---------- */
.sx-rate { aspect-ratio: 1 / .86; padding: 7%; display: grid; grid-template-rows: auto 1fr auto; gap: 5%; }
.rt-score { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; gap: 1cqw 3cqw; align-items: center; }
.rt-score > b { grid-row: span 2; font-family: var(--font-head); font-size: max(48px, 15cqw); font-weight: 600; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.rt-big { display: flex; gap: 1cqw; }
.rt-big i { position: relative; width: 5cqw; height: 5cqw; min-width: 20px; min-height: 20px; background: rgba(59,107,255,.18); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.rt-big i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.sx-rate.run .rt-big i::after { animation: spRow .35s cubic-bezier(.2,.8,.2,1) forwards; }
.sx-rate.run .rt-big i:nth-child(1)::after { animation-delay: .5s; } .sx-rate.run .rt-big i:nth-child(2)::after { animation-delay: .7s; } .sx-rate.run .rt-big i:nth-child(3)::after { animation-delay: .9s; }
.sx-rate.run .rt-big i:nth-child(4)::after { animation-delay: 1.1s; } .sx-rate.run .rt-big i:nth-child(5)::after { animation-delay: 1.3s; }
.rt-score small { font-size: max(10px, 1.9cqw); color: rgba(242,239,234,.55); }
.rt-dist { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: 2cqw; align-items: center; margin-top: 2cqw; font-size: max(10px, 1.8cqw); color: rgba(242,239,234,.6); }
.rt-dist i { height: 1.2cqw; min-height: 6px; border-radius: 99px; background: rgba(242,239,234,.08); overflow: hidden; }
.rt-dist u { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #7C9BFF); border-radius: inherit; }
.sx-rate.run .rt-dist u { animation: smProg 1.4s cubic-bezier(.2,.8,.2,1) 1.4s forwards; }
.rt-stack { position: relative; }
.rt-q { position: absolute; left: 0; right: 0; top: 0; margin: 0; padding: 3.4cqw; border-radius: 2.4cqw; background: #15161B; border: 1px solid rgba(242,239,234,.1); box-shadow: 0 30px 60px -24px rgba(0,0,0,.95);
  transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .8s; transform: translateY(calc(var(--k, 0) * 4cqw)) scale(calc(1 - var(--k, 0) * .05)); opacity: calc(1 - var(--k, 0) * .35); z-index: calc(10 - var(--k, 0)); }
.rt-q.is-out { transform: translateY(-6cqw) rotate(-3deg) scale(.96); opacity: 0; }
.rt-stars { display: flex; gap: .6cqw; margin-bottom: 1.6cqw; }
.rt-stars i { width: 2.6cqw; height: 2.6cqw; min-width: 12px; min-height: 12px; background: var(--accent); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.rt-q p { margin: 0; font-size: max(13px, 3.4cqw); line-height: 1.45; color: #EDEAE5; }
.rt-q figcaption { margin-top: 1.8cqw; font-size: max(10px, 1.8cqw); color: rgba(242,239,234,.5); }

/* ---------- work: 3D deck of real projects ---------- */
.sx-fan { aspect-ratio: 1 / .92; perspective: 1400px; --rx: 0deg; --ry: 0deg; }
.fn-deck { position: absolute; inset: 13% 9% 16% 9%; transform-style: preserve-3d; transform: rotateX(calc(8deg + var(--rx))) rotateY(calc(-14deg + var(--ry))); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.fn-card { position: absolute; inset: 0; margin: 0; border-radius: 1.6cqw; overflow: hidden; background: #0E0F13; border: 1px solid rgba(242,239,234,.14);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.95); transform-origin: 50% 100%;
  transform: translate3d(calc(var(--k, 0) * 5.5%), calc(var(--k, 0) * -7%), calc(var(--k, 0) * -60px)) scale(calc(1 - var(--k, 0) * .04));
  opacity: calc(1 - var(--k, 0) * .22); z-index: calc(10 - var(--k, 0)); transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .9s; }
.fn-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fn-card figcaption { position: absolute; left: 3%; bottom: 4%; display: grid; gap: .2cqw; padding: 1.4cqw 2.2cqw; border-radius: 1.4cqw; background: rgba(14,15,19,.82); border: 1px solid rgba(242,239,234,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: max(10px, 1.9cqw); opacity: 0; transform: translateY(6px); transition: opacity .5s .4s, transform .5s .4s; }
.fn-card figcaption b { font-weight: 600; } .fn-card figcaption span { color: rgba(242,239,234,.6); font-size: .88em; }
.fn-card.is-front figcaption { opacity: 1; transform: none; }
.fn-card.is-leaving { transform: translate3d(-40%, 14%, 80px) rotate(-10deg); opacity: 0; transition: transform .7s cubic-bezier(.6,0,.3,1), opacity .6s .1s; }
.fn-dots { position: absolute; left: 0; right: 0; bottom: 6%; display: flex; justify-content: center; gap: 1.2cqw; }
.fn-dots i { width: 4cqw; height: 3px; border-radius: 2px; background: rgba(242,239,234,.18); transition: background .4s, width .4s; }
.fn-dots i.is-on { width: 8cqw; background: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .sx * { animation-duration: .01s !important; animation-delay: 0s !important; transition-duration: .01s !important; }
}

.rt-foot { display: flex; align-items: center; gap: 2.4cqw; padding-top: 3cqw; border-top: 1px solid rgba(242,239,234,.08); font-size: max(11px, 2.2cqw); color: rgba(242,239,234,.6); opacity: 0; transform: translateY(8px); }
.rt-foot b { color: #fff; font-weight: 600; }
.rt-avas { display: flex; }
.rt-avas i { display: grid; place-items: center; width: 5.4cqw; height: 5.4cqw; min-width: 26px; min-height: 26px; margin-left: -1.4cqw; border-radius: 50%; font-style: normal; font-size: max(10px, 1.9cqw); font-weight: 600; color: #fff;
  background: linear-gradient(150deg, #5B83FF, #2445C8); border: 2px solid #111216; }
.rt-avas i:first-child { margin-left: 0; }
.rt-avas i:nth-child(even) { background: linear-gradient(150deg, #2A2D38, #16181F); }
.sx-rate.run .rt-foot { animation: sxIn .6s cubic-bezier(.2,.8,.2,1) 2s forwards; }
@media (max-width: 760px) {
  .sx-flow, .sx-inbox, .sx-rate { aspect-ratio: auto; }
  .sx-flow { gap: 18px; padding: 24px 18px 24px 52px; }
  .fl-line { left: 26px; }
  .fl-step::before { left: -33px; }
  .sx-rate { min-height: 420px; }
  .rt-stack { min-height: 150px; }
}
.sx-globe { aspect-ratio: 1 / 1; background: radial-gradient(70% 60% at 50% 45%, rgba(59,107,255,.2), transparent 70%), linear-gradient(180deg, #101116, #0A0B0F); }
.gl-a { left: 5%; top: 5%; } .gl-b { right: 5%; top: 5%; animation-delay: -2s; }
.gl-hint { position: absolute; left: 50%; bottom: 4.5%; transform: translateX(-50%); font-size: max(10px, 1.8cqw); color: rgba(242,239,234,.4); letter-spacing: .04em; pointer-events: none; }
.gl-hint::before { content: "↔"; margin-right: 6px; color: var(--accent-2); }
.gl-feed { position: absolute; z-index: 2; left: 5%; bottom: 5%; display: flex; align-items: center; gap: 1.6cqw; padding: 1.4cqw 2.2cqw 1.4cqw 1.6cqw; border-radius: 1.6cqw;
  background: rgba(18,19,25,.9); border: 1px solid rgba(124,155,255,.3); box-shadow: 0 20px 40px -18px rgba(0,0,0,.9), 0 0 30px -10px rgba(59,107,255,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gl-feed i { flex: none; width: 4.6cqw; height: 4.6cqw; min-width: 22px; min-height: 22px; border-radius: 50%; background: radial-gradient(circle, #fff 0 18%, var(--accent) 22% 46%, rgba(59,107,255,.25) 50%); }
.gl-feed span { display: grid; line-height: 1.3; }
.gl-feed b { font-size: max(11px, 2.1cqw); font-weight: 600; color: #fff; }
.gl-feed small { font-size: max(10px, 1.7cqw); color: rgba(242,239,234,.55); }
.gl-feed.is-new span { animation: glFeed .5s cubic-bezier(.2,.8,.2,1); }
@keyframes glFeed { from { opacity: 0; transform: translateY(6px); } }
.gl-hint { left: auto; right: 5%; transform: none; bottom: 7.5%; }
/* globe: no frame, transparent around the sphere */
.sx.sx-globe { background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
.sx.sx-globe::before { display: none; }
.pg-hero__vis:has(.sx-globe) { margin: -6% -4% -6% -4%; }
.sx-globe .gl-c { inset: -22%; width: 144%; height: 144%; }

/* ---------- work: tilted wall of real project screens ---------- */
.pg-hero--vis .pg-hero__split:has(.sx-wall) { grid-template-columns: minmax(0, 1fr) minmax(0, 620px); }
.sx-wall { position: relative; height: clamp(480px, 46vw, 680px); margin: -40px calc(-1 * clamp(16px, 5vw, 110px)) -40px 0; perspective: 1700px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0, #000 20%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0, #000 20%, #000 80%, transparent 100%); mask-composite: intersect; }
.sx-wall::before { content: ""; position: absolute; inset: 18% 12%; background: radial-gradient(50% 50% at 50% 50%, rgba(59,107,255,.35), transparent 70%); filter: blur(40px); }
.wl-plane { position: absolute; inset: -30% -14% -30% -6%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; transform: rotateX(24deg) rotateZ(-14deg) scale(1.02); transform-style: preserve-3d; }
.wl-col { position: relative; min-width: 0; }
.wl-track { display: flex; flex-direction: column; gap: 18px; animation: wlUp 46s linear infinite; will-change: transform; }
.wl-col:nth-child(2) .wl-track { animation-name: wlDown; animation-duration: 54s; }
.wl-col:nth-child(3) .wl-track { animation-duration: 40s; }
@keyframes wlUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 9px)); } }
@keyframes wlDown { from { transform: translateY(calc(-50% - 9px)); } to { transform: translateY(0); } }
.sx-wall:hover .wl-track { animation-play-state: paused; }
.wl-tile { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #0E0F13; border: 1px solid rgba(242,239,234,.12);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.95); transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; }
.wl-tile img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(.92) brightness(.9); transition: filter .5s; }
.wl-tile span { position: absolute; left: 8px; bottom: 8px; display: grid; gap: 1px; padding: 6px 10px; border-radius: 8px; background: rgba(14,15,19,.86); border: 1px solid rgba(242,239,234,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 11px; line-height: 1.25; color: rgba(242,239,234,.6); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.wl-tile span b { font-size: 12.5px; font-weight: 600; color: #F2EFEA; }
.wl-tile:hover { transform: translateZ(40px) scale(1.04); border-color: rgba(59,107,255,.7); box-shadow: 0 0 0 1px rgba(59,107,255,.4), 0 40px 70px -24px rgba(59,107,255,.45); z-index: 2; }
.wl-tile:hover img { filter: none; }
.wl-tile:hover span { opacity: 1; transform: none; }
@media (max-width: 1000px) {
  .pg-hero--vis .pg-hero__split:has(.sx-wall) { grid-template-columns: 1fr; }
  .pg-hero__vis:has(.sx-wall) { max-width: none; }
  .sx-wall { height: 400px; margin: 0 -16px; }
  .wl-plane { inset: -40% -20%; gap: 12px; } .wl-track { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .wl-track { animation: none; } }
