/* Trial-only scene. CSS depth around the four approved raster artworks. */
.trial-blueprint .hero.section-wrap {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.5rem,3vw,4rem);padding-block:9rem 5rem;overflow:hidden;}
.trial-blueprint .hero h1 {font-size:clamp(2.6rem,4.7vw,5.6rem);}
.studio-phone {--sp-gold:#f2ce87;--sp-rx:0deg;--sp-ry:0deg;position:relative;min-width:0;isolation:isolate;color:#f3f6ff;}
.sp-stage {position:relative;display:grid;place-items:center;height:clamp(530px,46vw,680px);perspective:1400px;touch-action:pan-y;}
.sp-stage::before {content:'';position:absolute;inset:7% -8%;background:radial-gradient(ellipse at 55% 45%,#6292ff55,transparent 65%);pointer-events:none;}
.sp-floor {position:absolute;left:21%;right:14%;height:30px;bottom:1%;border-radius:50%;background:#061333;filter:blur(18px);opacity:.45;transform:rotate(-5deg);}
.sp-rig {position:relative;width:clamp(220px,19vw,282px);transform-style:preserve-3d;transform:rotateX(calc(3deg + var(--sp-rx))) rotateY(calc(-13deg + var(--sp-ry))) rotateZ(-9deg);transition:transform .85s cubic-bezier(.16,1,.3,1);}
.sp-device {position:relative;transform-style:preserve-3d;border-radius:39px;padding:7px;background:linear-gradient(115deg,#f4dfac 0%,#8e9bb3 7%,#20283b 24%,#8799bd 48%,#e6cb87 71%,#222c40 90%);box-shadow:2px 2px 0 #b2bbcc,7px 5px 0 #26354c,10px 7px 0 #647798,13px 10px 0 #15213a,23px 32px 45px #06143299,inset 1px 1px 2px #fff8;animation:sp-float 7s ease-in-out infinite;}
.sp-screen {position:relative;width:100%;aspect-ratio:780/1690;border:3px solid #070e1a;border-radius:33px;overflow:hidden;background:#0b1b3a;isolation:isolate;}
.sp-slide {position:absolute;inset:0;display:block;color:white;opacity:0;visibility:hidden;transform:translateY(12%) scale(1.025);transition:opacity .7s ease,transform 1.05s cubic-bezier(.16,1,.3,1),visibility 1.05s;pointer-events:none;}
.sp-slide.is-active {opacity:1;visibility:visible;transform:translateY(0) scale(1);pointer-events:auto;z-index:2;}
.sp-slide img {display:block;width:100%;height:100%;object-fit:cover;}
.sp-slide:focus-visible {outline:3px solid var(--sp-gold);outline-offset:-5px;border-radius:30px;}
.sp-screen::after {content:'';position:absolute;inset:0;z-index:4;pointer-events:none;background:linear-gradient(118deg,#fff0 10%,#fff1 30%,#fff0 44%,#fff0 78%,#fff2);border-radius:inherit;box-shadow:inset 0 0 8px #ffffff1c;}
.sp-camera {position:absolute;top:14px;left:40%;width:20%;height:10px;border-radius:12px;background:#030b15;z-index:5;box-shadow:0 1px 0 #ffffff25;pointer-events:none;}
.sp-camera::after {content:'';position:absolute;right:6px;top:3px;width:4px;height:4px;border-radius:50%;background:#1f3c6c;box-shadow:inset 0 0 2px #91a9d2;}
.sp-side {position:absolute;right:-12px;top:26%;height:43px;width:4px;border-radius:4px;background:linear-gradient(#a9bbd1,#1e304a,#7c8ea9);}
.sp-home {position:absolute;bottom:9px;left:35%;width:30%;height:3px;border-radius:4px;background:#d4e2ff80;z-index:5;pointer-events:none;}
.sp-satellite {position:absolute;z-index:4;display:grid;place-items:center;gap:8px;padding:14px 17px;min-width:82px;border:1px solid #bad3ff66;border-radius:21px;background:linear-gradient(140deg,#83b5ff48,#214486cc);color:#dfebff;box-shadow:5px 7px 0 #12295788,8px 16px 25px #07183955,inset 0 1px 0 #ffffff66;backdrop-filter:blur(12px);cursor:pointer;transition:transform .75s cubic-bezier(.16,1,.3,1),background .4s,box-shadow .4s,border-color .4s;transform:translateZ(35px) rotate(-5deg);}
.sp-satellite svg {width:35px;height:35px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(1px 3px 0 #081d4a80);}
.sp-satellite span {font-size:10px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;}
.sp-satellite[data-sp-select='0'] {left:1%;top:17%;}
.sp-satellite[data-sp-select='1'] {right:0;top:32%;transform:rotate(9deg);}
.sp-satellite[data-sp-select='2'] {left:0;bottom:21%;transform:rotate(-7deg);}
.sp-satellite[data-sp-select='3'] {right:0;bottom:13%;transform:rotate(6deg);}
.sp-satellite[aria-pressed='true'],.sp-satellite:hover {color:var(--sp-gold);border-color:#f2ce87bb;background:linear-gradient(140deg,#83b5ff66,#203d72ee);transform:translateY(-8px) rotate(0);box-shadow:4px 6px 0 #102752aa,8px 20px 30px #07183966,inset 0 1px 0 #ffe2a780;}
.studio-phone :is(button,a):focus-visible {outline:2px solid #ffdc95;outline-offset:5px;}
.sp-caption {position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #aac9ff3b;padding-top:18px;margin-top:14px;}
.sp-caption small {display:block;color:#acbfe4;font:10px/1.4 var(--mono,monospace);letter-spacing:.16em;margin-bottom:7px;}
.sp-title {display:block;font-size:clamp(18px,1.7vw,23px);letter-spacing:-.035em;color:#f2ce87;}
.sp-description {font-size:12px;line-height:1.5;color:#c7d9f5;max-width:300px;margin:5px 0 0;min-height:36px;}
.sp-navigation {display:flex;align-items:center;gap:8px;flex-shrink:0;}
.sp-navigation button {display:grid;place-items:center;width:42px;height:42px;border:1px solid #adc8ff55;border-radius:50%;background:#19396d;color:#f2ce87;font-size:20px;cursor:pointer;transition:background .25s,transform .25s;}
.sp-navigation button:hover {background:#31598e;transform:translateY(-2px);}
.sp-bottom {display:flex;justify-content:space-between;align-items:center;margin-top:12px;gap:12px;}
.sp-bottom>span {font:9px var(--mono,monospace);letter-spacing:.08em;color:#afc5ed;}
.sp-pause {border:0;border-bottom:1px solid #adc8ff55;background:none;padding:8px 0;color:#dbe7ff;font:11px inherit;cursor:pointer;min-height:36px;}
.sp-pause[hidden] {display:none;}
.studio-phone[data-running='false'] .sp-device {animation-play-state:paused;}
.sp-image-failed {padding:3rem 1rem;background:#17366b;}
@keyframes sp-float {0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@media(min-width:1600px){.studio-phone {max-width:650px;width:100%;justify-self:end;}.sp-rig {width:300px;}.sp-stage {height:710px;}}
@media(min-width:801px) and (max-width:1100px){.sp-satellite {padding:11px;min-width:67px;}.sp-satellite svg {width:27px;height:27px;}.sp-satellite span {font-size:8px;}.sp-rig {width:220px;}.sp-stage {height:530px;}.sp-description{max-width:240px;}}
@media(max-width:800px){.trial-blueprint .hero.section-wrap {grid-template-columns:minmax(0,1fr);padding-block:7.8rem 5rem;gap:2.5rem;}.studio-phone {width:100%;max-width:540px;justify-self:center;}.sp-stage {height:620px;}.sp-rig {width:260px;}.trial-blueprint .hero h1 {font-size:clamp(2.5rem,8vw,4rem);}.sp-caption{margin-top:10px;}}
@media(max-width:480px){.sp-stage {height:545px;}.sp-rig {width:222px;transform:rotateX(var(--sp-rx)) rotateY(-8deg) rotateZ(-6deg);}.sp-satellite {min-width:59px;padding:10px 7px;border-radius:16px;gap:5px;}.sp-satellite svg {width:25px;height:25px;}.sp-satellite span {font-size:8px;letter-spacing:.04em;}.sp-satellite[data-sp-select='0'] {left:0;top:12%;}.sp-satellite[data-sp-select='1'] {right:0;top:33%;}.sp-satellite[data-sp-select='2'] {left:0;bottom:22%;}.sp-satellite[data-sp-select='3'] {right:0;bottom:9%;}.sp-caption{gap:8px;}.sp-description{font-size:11px;max-width:220px;}.sp-navigation{gap:5px;}.sp-navigation button {width:38px;height:38px;}.sp-bottom>span{font-size:8px;}.sp-device{border-radius:33px;padding:6px;}.sp-screen{border-radius:27px;}}
@media(prefers-reduced-motion:reduce){.studio-phone *, .studio-phone *::before,.studio-phone *::after {animation:none!important;transition:none!important;}.sp-rig {transform:rotateZ(-4deg)!important;}.sp-satellite:hover,.sp-satellite[aria-pressed='true']{transform:none;}}

/* Transparent phone artwork and its surrounding icons move as a single scene. */
.sp-cutout-stage { height:auto; aspect-ratio: 1 / 1.1; }
.sp-cutout-stage::before { content:none; }
.sp-cutout-stage .sp-slide {
  transform: translateY(8%) scale(.97);
  transition: opacity .72s ease, transform 1s cubic-bezier(.16,1,.3,1), visibility 1s;
}
.sp-cutout-stage .sp-slide.is-active { transform: translateY(0) scale(1); }
.sp-cutout-stage .sp-slide img {
  object-fit:contain;
  transform: perspective(1100px) rotateX(var(--sp-rx)) rotateY(var(--sp-ry));
  transition: transform .8s cubic-bezier(.16,1,.3,1);
  animation: sp-cutout-float 7s ease-in-out infinite;
}
.studio-phone[data-running='false'] .sp-cutout-stage img { animation-play-state:paused; }
@media (prefers-reduced-motion:reduce) {
  .sp-cutout-stage .sp-slide img { transform:none; }
}
@keyframes sp-cutout-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }


/* Match the visible cutout heights, accounting for each PNG's transparent margins. */
.sp-cutout-stage { aspect-ratio: 1 / 1.06; }
.sp-cutout-stage .sp-slide { display:grid; place-items:center; }
.sp-cutout-stage .sp-slide img {
  width:auto;
  max-width:none;
  height:var(--art-height,116%);
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%) perspective(1100px) rotateX(var(--sp-rx)) rotateY(var(--sp-ry));
}
.sp-cutout-stage img[src$="custom-websites.webp"] { --art-height:117%; }
.sp-cutout-stage img[src$="ai-films.webp"] { --art-height:103%; }
.sp-cutout-stage img[src$="creative-packages.webp"] { --art-height:115%; }
.sp-cutout-stage img[src$="optimized-ads.webp"] { --art-height:115%; }
@media (min-width:801px) {
  .trial-blueprint .hero.section-wrap {grid-template-columns:minmax(0,.91fr) minmax(0,1.09fr);}
}
@media (prefers-reduced-motion:reduce) {
  .sp-cutout-stage .sp-slide img {transform:translate(-50%,-50%);}
}

/* Two-second showcase: restrained depth, shared sizing and preserved artwork colors. */
.sp-cutout-stage::before {
  content:''; inset:8% 2%; border-radius:50%;
  background:radial-gradient(ellipse at 60% 42%,#548bff30,transparent 65%),radial-gradient(ellipse at 42% 78%,#e5b65b12,transparent 48%);
  transition:opacity .65s ease; pointer-events:none;
}
.sp-cutout-stage .sp-slide {
  transform:translate3d(0,4%,0) scale(.975);
  transition:opacity .28s ease-in,transform .65s cubic-bezier(.22,1,.36,1),visibility .65s;
}
.sp-cutout-stage .sp-slide.is-active {transform:translate3d(0,0,0) scale(1);transition:opacity .48s ease-out .12s,transform .8s cubic-bezier(.22,1,.36,1),visibility 0s;}
.sp-cutout-stage .sp-slide img {
  filter:saturate(1.045) contrast(1.025) drop-shadow(0 16px 18px #071a3b30);
  animation:none;
  will-change:transform;
}
.sp-cutout-stage .sp-slide:not(.is-active) img {animation-play-state:paused;}
.studio-phone[data-running='false'] .sp-cutout-stage img {animation-play-state:paused;}
@keyframes sp-showcase-drift {
  0%,100% {translate:0 2px;rotate:-.35deg;}
  50% {translate:0 -7px;rotate:.35deg;}
}
@media(prefers-reduced-motion:reduce) {
  .sp-cutout-stage .sp-slide,.sp-cutout-stage .sp-slide.is-active {transform:none;}
  .sp-cutout-stage .sp-slide img {animation:none;will-change:auto;}
}

/* Light washes complement the baked-in icon artwork without obscuring its labels. */

.sp-cutout-stage::before {
  inset:4% -2%;
  background:radial-gradient(ellipse at 78% 62%,#edc57412,transparent 42%),radial-gradient(ellipse at 22% 38%,#70d5df12,transparent 42%);
  opacity:.75;
  animation:sp-light-breathe 8s ease-in-out infinite alternate;
}
.sp-cutout-stage::after {
  content:'';position:absolute;inset:14% 1%;z-index:3;pointer-events:none;
  background:radial-gradient(ellipse at 12% 30%,#98ddff14,transparent 22%),radial-gradient(ellipse at 88% 70%,#f2ce8714,transparent 22%);
  mix-blend-mode:screen;opacity:.5;
  animation:sp-icon-light 7s ease-in-out infinite alternate;
}
@media(hover:hover) and (pointer:fine) {

  .sp-cutout-stage .sp-slide.is-active:hover img {filter:saturate(1.07) contrast(1.025) drop-shadow(0 18px 22px #071a3b38);}
}
.sp-cutout-stage .sp-slide img {transition:transform 1.25s cubic-bezier(.18,.7,.25,1),filter .7s ease;}
.sp-cutout-stage .sp-slide:active {scale:.99;transition:scale .3s ease;}
.sp-cutout-stage .sp-slide:focus-visible {outline:2px solid #f2ce87;outline-offset:-8px;border-radius:30px;}
@keyframes sp-light-breathe {from{opacity:.5;scale:.97;}to{opacity:.85;scale:1.025;}}
@keyframes sp-icon-light {from{translate:0 -3px;opacity:.35;}to{translate:0 4px;opacity:.65;}}
.studio-phone[data-running='false'] .sp-cutout-stage::before,
.studio-phone[data-running='false'] .sp-cutout-stage::after {animation-play-state:paused;}
@media(prefers-reduced-motion:reduce) {
 .sp-cutout-stage::before,.sp-cutout-stage::after {animation:none!important;}
 .sp-cutout-stage .sp-slide:active {scale:1;}
}

/* One shared motion phase prevents jumps when the artwork changes. */
.sp-cutout-stage {
 animation:sp-fluid-float 9s ease-in-out infinite;
 transform-origin:50% 55%;
}
@keyframes sp-fluid-float {
 0%,100% {translate:0 0;rotate:-.3deg;}
 25% {translate:2px -5px;rotate:0deg;}
 50% {translate:0 -10px;rotate:.3deg;}
 75% {translate:-2px -5px;rotate:0deg;}
}
.studio-phone[data-running='false'] .sp-cutout-stage {animation-play-state:paused;}
@media(max-width:800px){
 @keyframes sp-fluid-float {
  0%,100% {translate:0 0;rotate:-.15deg;}
  50% {translate:0 -6px;rotate:.15deg;}
 }
}
@media(prefers-reduced-motion:reduce){
 .sp-cutout-stage {animation:none!important;}
}

