/* v10 fire-glow: poster gradient (Nitro Orange on Blackstone, a touch of Royal Blue) + a glow the cursor pulls */
.fg10{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;contain:strict;--x:72%;--y:38%;--cx:50%;--cy:50%;--ca:0}
.fg10 i{position:absolute;inset:-12%;display:block;will-change:transform}
/* hi-q: eased (cosine) stops so the fades have no visible rim, plus a fine noise layer that dithers away 8-bit banding */
.fg10 .fg-a{background:
 radial-gradient(ellipse 46% 52% at var(--x) var(--y),rgba(251,86,7,0) 60%,rgba(251,86,7,.08) 62.5%,rgba(251,86,7,.26) 65.5%,rgba(251,86,7,.5) 67.8%,rgba(251,86,7,.62) 69%,rgba(253,113,24,.46) 72%,rgba(255,140,40,.28) 75%,rgba(255,140,40,.15) 78.5%,rgba(255,140,40,.06) 82%,rgba(255,140,40,.015) 84.5%,rgba(255,140,40,0) 86%),
 radial-gradient(ellipse 60% 70% at var(--x) var(--y),rgba(251,86,7,.26) 0%,rgba(251,86,7,.25) 8.75%,rgba(251,86,7,.222) 17.5%,rgba(251,86,7,.18) 26.25%,rgba(251,86,7,.13) 35%,rgba(251,86,7,.08) 43.75%,rgba(251,86,7,.038) 52.5%,rgba(251,86,7,.01) 61.25%,rgba(251,86,7,0) 70%),
 radial-gradient(ellipse 55% 60% at calc(100% - var(--x)*.6) calc(100% - var(--y)*.3),rgba(25,25,112,.5) 0%,rgba(25,25,112,.481) 8.75%,rgba(25,25,112,.427) 17.5%,rgba(25,25,112,.346) 26.25%,rgba(25,25,112,.25) 35%,rgba(25,25,112,.154) 43.75%,rgba(25,25,112,.073) 52.5%,rgba(25,25,112,.019) 61.25%,rgba(25,25,112,0) 70%);filter:blur(26px);mix-blend-mode:screen}
.fg10 .fg-c{inset:0;background:
 radial-gradient(circle 24vmax at var(--cx) var(--cy),rgba(251,86,7,.55) 0%,rgba(251,86,7,.537) 6.8%,rgba(251,86,7,.497) 13.6%,rgba(251,86,7,.437) 20.4%,rgba(251,86,7,.36) 27.2%,rgba(251,86,7,.275) 34%,rgba(251,86,7,.19) 40.8%,rgba(251,86,7,.113) 47.6%,rgba(251,86,7,.053) 54.4%,rgba(251,86,7,.013) 61.2%,rgba(251,86,7,0) 68%),
 radial-gradient(circle 34vmax at var(--tx,50%) var(--ty,50%),rgba(25,25,112,.45) 0%,rgba(25,25,112,.433) 8.125%,rgba(25,25,112,.384) 16.25%,rgba(25,25,112,.311) 24.375%,rgba(25,25,112,.225) 32.5%,rgba(25,25,112,.139) 40.625%,rgba(25,25,112,.066) 48.75%,rgba(25,25,112,.017) 56.875%,rgba(25,25,112,0) 65%);opacity:var(--ca);filter:blur(30px);mix-blend-mode:screen}
.fg10 .fg-n{inset:0;opacity:.08;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"),radial-gradient(rgba(255,255,255,.6) .6px,transparent .6px);background-size:180px 180px,3px 3px;mix-blend-mode:overlay}
.fg10-host>.st-in,.ft6.fg10-host>:not(.fg10){position:relative;z-index:1}
.ft6.fg10-host{position:relative;overflow:hidden}
@media (prefers-reduced-motion:reduce){.fg10 .fg-c{display:none}}
/* v10 deck: cards now hold the 4K renders (16:9 desktop, 4:5 phone), framed from the centre */
.sc-f picture,.sc-f img{object-position:50% 50%}
html:not(.spx-on) .sc{aspect-ratio:16/9}
@media (max-width:699px){html:not(.spx-on) .sc{aspect-ratio:4/5}}
/* v11 intro: the logo P loads, becomes a clear window and the view flies through it */
.ld7.ld8-on>:not(.ld8):not(.ld7-skip):not(.ld7-wm){display:none}
.ld7.ld8-on .ld7-wm{visibility:hidden!important;opacity:0}
.ld8{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.ld8-o{fill:none;stroke:var(--wo);stroke-width:1.4;stroke-dasharray:1;stroke-dashoffset:1;stroke-linejoin:round}
/* v11 build cards: the frame takes the render's own 16:9 shape, so the whole picture shows instead of a tall slice */
.fx6 .stk9>.bd6-p .bd6-win{height:auto;aspect-ratio:16/9;align-self:center;width:100%}
.fx6 .stk9>.bd6-p .bd6-img img{object-position:50% 50%}
.fx6 .stk9>.bd6-p.win-stack .bd6-img img{transform:none}
.fx6 .stk9>.bd6-p.win-wide .bd6-win::after{width:24%;height:14%}
/* portrait screens: picture on top, text below */
@media (min-width:761px) and (max-aspect-ratio:5/4){
  .fx6 .stk9>.bd6-p{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);align-content:center}
  .fx6 .stk9>.bd6-p .bd6-win{width:min(100%,calc(40vh*16/9));justify-self:center}}
@media (max-width:760px){
  .fx6 .stk9>.bd6-p{grid-template-rows:auto minmax(0,1fr)}
  .fx6 .stk9>.bd6-p .bd6-win{width:min(100%,calc(24vh*16/9));justify-self:center}}
/* v12 proof: four big cards together, lit from below like a fire; on scroll they deal out of one deck */
.s-proof .st-in{padding-bottom:calc(5vh + 16px)}
.s-proof .pf6-g{position:relative;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:clamp(12px,1.4vw,20px);flex:1 1 auto;min-height:0;width:100%;max-height:none;margin:clamp(4px,1.4vh,16px) 0 0}
.s-proof .pf6-c{grid-row:auto;grid-column:auto;padding:clamp(24px,3vw,48px);justify-content:flex-end;gap:clamp(10px,1.6vh,18px);border-radius:clamp(22px,2.4vw,36px);isolation:isolate}
.fx6 .s-proof .pf6-c{opacity:1;transform:none;transition:box-shadow .4s;will-change:transform}
.s-proof .pf6-n{font-size:clamp(2.8rem,6.2vw,6.4rem);line-height:.9}
.s-proof .pf6-n.pf6-w{font-size:clamp(2.2rem,4.2vw,4.4rem)}
.s-proof .pf6-c>span{font-size:clamp(1rem,1.25vw,1.3rem);line-height:1.45;max-width:40ch;opacity:.9}
.pf-fi{position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;overflow:hidden;opacity:calc(.62 + var(--fl,0)*.38)}
.pf-fi::before{content:'';position:absolute;left:-12%;right:-12%;bottom:-42%;height:95%;background:radial-gradient(58% 52% at 50% 100%,rgba(255,206,120,.85) 0%,rgba(255,150,50,.6) 22%,rgba(251,86,7,.32) 46%,rgba(251,86,7,.1) 62%,rgba(251,86,7,0) 76%);filter:blur(16px);mix-blend-mode:screen;transform-origin:50% 100%;animation:pfFl 2.8s ease-in-out infinite alternate;animation-delay:calc(var(--i)*-.9s)}
.pf-fi::after{content:'';position:absolute;inset:0;background:radial-gradient(circle 18vmax at var(--mx,50%) var(--my,110%),rgba(255,170,80,.34) 0%,rgba(255,120,40,.12) 42%,rgba(255,120,40,0) 70%);mix-blend-mode:screen;opacity:var(--ha,0);transition:opacity .5s}
.pf-em{position:absolute;left:0;right:0;bottom:0;height:200%;background-image:radial-gradient(circle,rgba(255,200,120,.9) 0 1.2px,transparent 1.8px),radial-gradient(circle,rgba(255,140,50,.7) 0 1px,transparent 1.6px);background-size:83px 71px,47px 59px;background-position:0 0,23px 31px;-webkit-mask:linear-gradient(to top,#000 0%,rgba(0,0,0,.5) 22%,transparent 46%);mask:linear-gradient(to top,#000 0%,rgba(0,0,0,.5) 22%,transparent 46%);mix-blend-mode:screen;animation:pfEm 9s linear infinite;animation-delay:calc(var(--i)*-2.3s);opacity:.7}
.pf6-c.b3 .pf-fi::before{background:radial-gradient(58% 52% at 50% 100%,rgba(255,240,190,.75) 0%,rgba(255,200,110,.5) 26%,rgba(255,170,60,.18) 52%,rgba(255,170,60,0) 74%)}
@keyframes pfFl{0%{transform:scale(1,.9) translateX(-2%);opacity:.78}45%{transform:scale(1.05,1.08) translateX(1.5%);opacity:1}100%{transform:scale(.97,1) translateX(3%);opacity:.86}}
@keyframes pfEm{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,-50%,0)}}
.fx6 .pf6-h .tw{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.1em;margin-bottom:-.1em}
.fx6 .pf6-h .tw>span{display:inline-block;transform-origin:0 100%;will-change:transform}
@media (max-width:760px){
  .s-proof .pf6-g{grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:8px}
  .s-proof .pf6-c{padding:16px 14px;gap:8px;border-radius:20px}
  .s-proof .pf6-n{font-size:clamp(2.2rem,11vw,3.2rem)}
  .s-proof .pf6-n.pf6-w{font-size:clamp(1.25rem,5.6vw,1.7rem);overflow-wrap:anywhere}
  .s-proof .pf6-c>span{font-size:.84rem;line-height:1.4}}
@media (prefers-reduced-motion:reduce){.pf-fi::before,.pf-em{animation:none}}
/* v12 build: header tighter, cards bigger and higher, a 3D deal between cards */
.fx6 .bd6-track.stk9{perspective:1800px}
.fx6 .stk9>.bd6-p{transform-origin:50% 30%;backface-visibility:hidden}
@media (min-width:761px) and (min-aspect-ratio:5/4){
  .fx6 .s-build .st-in{padding-top:calc(var(--hdh) + 1.5vh);padding-bottom:4vh;gap:clamp(10px,1.6vh,16px)}
  .fx6 .s-build .bd9-hd{align-items:flex-end}
  .fx6 .s-build .bd9-hd .bd6-intro{display:grid;grid-template-columns:auto minmax(0,44ch);column-gap:4vw;row-gap:8px;align-items:end}
  .fx6 .s-build .bd9-hd .bd6-intro .k6{grid-column:1/-1}
  .fx6 .s-build .bd9-hd .bd6-intro p{margin:0 0 .3em}
  .fx6 .bd6-track.stk9{width:min(1400px,100%);margin-top:6px}
  .fx6 .stk9>.bd6-p{grid-template-columns:minmax(0,1.36fr) minmax(0,.84fr);gap:3vw}}
/* v12 work: bigger rows that fill the screen on desktop */
@media (min-width:900px){
  .s-work .wk6{max-width:none;width:100%;gap:10px}
  .s-work .wk6 summary{grid-template-columns:64px minmax(0,1fr) minmax(0,1.15fr) 24px;gap:28px;padding:clamp(16px,2.6vh,30px) clamp(24px,2.4vw,40px)}
  .s-work .wk6 summary b{font-size:clamp(1.9rem,3.4vw,3.8rem)}
  .s-work .wk6-r{font-size:clamp(1.05rem,1.4vw,1.45rem);line-height:1.35}
  .s-work .wk6-n{font-size:.9rem}
  .s-work .wk6 details{border-radius:24px}
  .s-work .wk6 details p{padding:0 40px 26px 132px;font-size:clamp(1rem,1.2vw,1.2rem)}}
.s-proof .pf6-c::before{display:none}
.pf-fi::before{bottom:-26%;height:84%;filter:blur(14px)}
.pf-em{opacity:.9}

/* mobile: Real results cards stack one per row, numbers never overlap */
@media (max-width:768px){
  .s-proof .pf6-g{grid-template-columns:1fr;grid-template-rows:none;grid-auto-rows:auto;flex:none;height:auto;max-height:none;gap:8px;margin-top:10px}
  .s-proof .pf6-c{min-height:0;padding:14px 18px 15px;gap:6px;justify-content:flex-start;border-radius:20px}
  .s-proof .pf6-n{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 .3em;font-size:clamp(2.1rem,10vw,2.6rem);line-height:1}
  .s-proof .pf6-n small{font-size:.46em;line-height:1.1;white-space:normal;min-width:0}
  .s-proof .pf6-c.b1 .odo{margin-left:0}
  .s-proof .pf6-n.pf6-w{font-size:clamp(1.4rem,6.6vw,1.9rem);line-height:1.05;display:block}
  .s-proof .pf6-c>span{max-width:none;font-size:.84rem;line-height:1.38}
}
@media (max-width:768px) and (max-height:760px){
  .s-proof .pf6-c>span{font-size:.78rem}
  .s-proof .pf6-c{padding:11px 16px 12px}
}
/* v13: result cards open in 3D like the stack cards */
.s-proof .pf6-g{perspective:1800px}
.s-proof .pf6-c{transform-origin:50% 100%}
