/* reframe v4 (2026-11-07): the studio, elevated. New chapters only; the live header, dial, film and footer are untouched.
   The look is the studio's own: ink and warm paper, Manrope, the neon (it follows the dial through --cta-rgb), glass panels with the
   pink halo the Studio app draws round its own panels, and real work and real app screens at large size. */
.v4{--n:var(--cta-rgb,197 15 102);--ink:#0b0a0e;--paper:#f3f1ee;--mut:#6f6a74;position:relative;overflow:hidden;overflow:clip;font-family:inherit}
.v4 *{box-sizing:border-box}
.v4-in{width:min(1320px,100% - 2*clamp(20px,7vw,140px));margin:0 auto;position:relative;z-index:1}
.v4-rail{position:absolute;left:clamp(14px,2.6vw,48px);top:clamp(96px,12vw,180px);writing-mode:vertical-rl;transform:rotate(180deg);
  font-size:12px;letter-spacing:.06em;color:currentColor;opacity:.62;margin:0;z-index:2}
.v4-rail b{color:rgb(var(--n));font-weight:600}
.v4-ink{background:var(--ink);color:#f4f1ec;padding:clamp(96px,12vw,180px) 0}
.v4-ink::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(55% 45% at 82% 8%,rgb(var(--n)/.38),transparent 70%),radial-gradient(40% 40% at 6% 92%,rgb(var(--n)/.2),transparent 70%)}
.v4-paper{background:var(--paper);color:#151318;padding:clamp(96px,12vw,180px) 0}
.v4-paper::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(70% 50% at 50% 0%,rgb(var(--n)/.16),transparent 70%)}
.v4-over{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;margin:0 0 22px;color:rgb(var(--n))}
.v4-ink .v4-over{color:rgb(var(--n));filter:brightness(1.6) saturate(1.1)}
.v4-h{font-size:clamp(46px,7.4vw,118px);line-height:.94;letter-spacing:-.045em;font-weight:600;margin:0}
.v4-h em{font-style:normal;color:rgb(var(--n))}
.v4-ink .v4-h em{color:#fff;text-shadow:0 0 22px rgb(var(--n)/.95),0 0 60px rgb(var(--n)/.7);}
.v4-lead{font-size:clamp(17px,1.45vw,21px);line-height:1.5;max-width:34em;margin:0;color:inherit;opacity:.82}
.v4-top{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,3vw,48px) clamp(28px,5vw,96px);align-items:end}
.v4-top>:first-child{grid-column:1/-1}.v4-top>:last-child{grid-column:2}
.v4-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px;align-items:center}
.v4-btn{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 24px;border-radius:999px;border:0;cursor:pointer;
  font:600 15px/1 inherit;text-decoration:none;color:#fff;background:rgb(var(--n));
  box-shadow:0 14px 40px -12px rgb(var(--n)/.8),inset 0 1px 0 rgb(255 255 255/.25);transition:transform .2s,box-shadow .2s}
.v4-btn:hover{transform:translateY(-2px);box-shadow:0 22px 50px -12px rgb(var(--n)/.95)}
.v4-btn.ghost{background:transparent;color:inherit;box-shadow:inset 0 0 0 1.5px currentColor}
.v4-btn.dark{background:#131116;box-shadow:0 14px 34px -14px rgb(0 0 0/.6)}
.v4-note{font-size:13px;opacity:.6;margin:18px 0 0}

/* a framed screen, named where it lives in the product */
.v4-shot{margin:0;border-radius:16px;overflow:hidden;background:#fff;color:#151318;
  box-shadow:0 0 0 1px rgb(0 0 0/.07),0 50px 130px -30px rgb(var(--n)/.55),0 24px 50px -24px rgb(0 0 0/.35)}
.v4-bar{display:flex;align-items:center;gap:6px;height:34px;padding:0 14px;background:#f6f4f2;border-bottom:1px solid rgb(0 0 0/.07);
  font-size:12px;font-weight:500;color:#6b6670;white-space:nowrap;overflow:hidden}
.v4-bar i{width:9px;height:9px;border-radius:50%;background:#dcd8d4;flex:none}
.v4-bar i:first-child{background:rgb(var(--n))}
.v4-bar span{margin-left:10px;overflow:hidden;text-overflow:ellipsis}
.v4-shot img{display:block;width:100%;height:auto}

/* 01 the studio: a wall of the work */
.v4-facts{display:flex;flex-wrap:wrap;gap:10px;margin-top:34px}
.v4-facts span{padding:10px 16px;border-radius:999px;font-size:14px;font-weight:500;background:rgb(255 255 255/.06);
  box-shadow:inset 0 0 0 1px rgb(255 255 255/.14);backdrop-filter:blur(8px)}
#intro.v4{padding-bottom:0}
.v4-wall{margin-top:clamp(56px,7vw,110px);perspective:1800px;height:clamp(300px,40vw,620px);position:relative;z-index:1;
  mask-image:linear-gradient(180deg,#000 55%,transparent);-webkit-mask-image:linear-gradient(180deg,#000 55%,transparent)}
.v4-wall-in{transform:rotateX(24deg) rotateZ(-7deg) scale(1.18);transform-origin:50% 0;display:grid;gap:22px}
.v4-row{display:flex;gap:22px;width:max-content;animation:v4drift 60s linear infinite alternate}
.v4-row:nth-child(2){animation-direction:alternate-reverse;margin-left:-260px}
.v4-row img{width:clamp(260px,26vw,440px);aspect-ratio:1.44;object-fit:cover;object-position:top;border-radius:14px;display:block;
  box-shadow:0 30px 80px -24px rgb(var(--n)/.5),0 0 0 1px rgb(255 255 255/.08)}
@keyframes v4drift{from{transform:translateX(0)}to{transform:translateX(-30%)}}

/* 03 what we make */
.v4-make{display:grid;grid-template-columns:1fr 1fr;gap:clamp(18px,2.4vw,32px);margin-top:clamp(48px,6vw,88px)}
.v4-panel{position:relative;border-radius:30px;background:rgb(255 255 255/.72);backdrop-filter:blur(18px);overflow:hidden;
  box-shadow:0 0 0 1px rgb(255 255 255/.9) inset,0 40px 110px -40px rgb(var(--n)/.5),0 18px 40px -26px rgb(0 0 0/.25);
  display:flex;flex-direction:column}
.v4-visual{position:relative;height:clamp(260px,26vw,400px);overflow:hidden;
  background:radial-gradient(80% 90% at 50% 100%,rgb(var(--n)/.28),transparent 70%),linear-gradient(180deg,#1a1620,#0b0a0e)}
.v4-visual .v4-shot{position:absolute;width:62%;border-radius:12px;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.v4-visual .v4-shot .v4-bar{height:24px;font-size:10px}
.v4-fan .s1{left:4%;top:18%;transform:rotate(-7deg)}
.v4-fan .s2{left:20%;top:10%;transform:rotate(1deg);z-index:2}
.v4-fan .s3{left:36%;top:22%;transform:rotate(8deg);z-index:3}
.v4-panel:hover .v4-fan .s1{transform:rotate(-10deg) translate(-12px,4px)}
.v4-panel:hover .v4-fan .s3{transform:rotate(11deg) translate(12px,4px)}
.v4-ads{display:flex;justify-content:center;align-items:center;gap:0;height:100%;padding-top:24px}
.v4-ads img{width:27%;border-radius:12px;margin:0 -3%;box-shadow:0 30px 60px -20px rgb(0 0 0/.7),0 0 0 1px rgb(255 255 255/.1);
  transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.v4-ads img:nth-child(1){transform:rotate(-12deg) translateY(30px)}
.v4-ads img:nth-child(2){transform:rotate(-4deg) translateY(4px);z-index:2}
.v4-ads img:nth-child(3){transform:rotate(4deg) translateY(4px);z-index:3}
.v4-ads img:nth-child(4){transform:rotate(12deg) translateY(30px);z-index:2}
.v4-panel:hover .v4-ads img:nth-child(1){transform:rotate(-15deg) translate(-16px,30px)}
.v4-panel:hover .v4-ads img:nth-child(4){transform:rotate(15deg) translate(16px,30px)}
.v4-body{padding:clamp(26px,3vw,44px);display:flex;flex-direction:column;flex:1}
.v4-body h3{font-size:clamp(28px,2.6vw,40px);letter-spacing:-.03em;line-height:1.02;margin:0 0 14px;font-weight:600}
.v4-body p{margin:0;color:var(--mut);font-size:16px;line-height:1.55;max-width:32em}
.v4-tags{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 4px;padding:0;list-style:none}
.v4-tags li{font-size:13px;font-weight:500;padding:8px 13px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1px rgb(0 0 0/.08)}
.v4-body .v4-btns{margin-top:auto;padding-top:26px}
.v4-foot{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:28px;font-size:15px;color:var(--mut)}
.v4-foot a{color:inherit;font-weight:600}

/* 06 how we work: steps on the left, the screen on the right changes with them */
.v4-how{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(30px,5vw,90px);margin-top:clamp(48px,6vw,90px)}
.v4-steps{list-style:none;margin:0;padding:0}
.v4-step{padding:clamp(26px,4vh,46px) 0;border-top:1px solid rgb(255 255 255/.12);min-height:clamp(200px,32vh,320px);
  transition:opacity .4s;opacity:.38}
.v4-step.on{opacity:1}
.v4-step b{display:block;font-size:13px;letter-spacing:.08em;color:rgb(var(--n));filter:brightness(1.6);margin-bottom:12px}
.v4-step h3{margin:0 0 12px;font-size:clamp(26px,2.4vw,38px);letter-spacing:-.03em;line-height:1.05;font-weight:600}
.v4-step p{margin:0;opacity:.75;font-size:16px;line-height:1.55;max-width:28em}
.v4-step .v4-shot{display:none;margin-top:22px}
.v4-stage{position:sticky;top:clamp(90px,14vh,140px);align-self:start;aspect-ratio:1.6;margin-top:clamp(26px,4vh,46px)}
.v4-stage .v4-shot{position:absolute;inset:0 auto auto 0;width:100%;clip-path:inset(0 0 100% 0 round 16px);
  transition:clip-path .7s cubic-bezier(.7,0,.2,1),transform .7s cubic-bezier(.2,.8,.2,1);transform:translateY(24px)}
.v4-stage .v4-shot.on{clip-path:inset(0 0 0 0 round 16px);transform:none;z-index:2}
.v4-stage .v4-shot.was{clip-path:inset(0 0 0 0 round 16px);transform:none;z-index:1}
.v4-demo{font-size:12px;opacity:.55;margin:16px 0 0}

/* 07 the platform behind it */
.v4-plat{position:relative;margin-top:clamp(48px,6vw,90px);padding-right:clamp(0px,9vw,150px)}
.v4-plat>.v4-shot{transform:perspective(2200px) rotateX(6deg);transform-origin:50% 100%}
.v4-phone{position:absolute;right:0;bottom:-6%;width:clamp(150px,19vw,290px);border-radius:clamp(26px,3vw,44px);overflow:hidden;
  border:clamp(6px,.7vw,10px) solid #111;background:#111;z-index:3;
  box-shadow:0 50px 100px -30px rgb(0 0 0/.55),0 0 0 1px rgb(255 255 255/.15) inset,0 40px 120px -30px rgb(var(--n)/.6)}
.v4-phone img{display:block;width:100%;height:auto}
.v4-chip{position:absolute;z-index:4;padding:10px 15px;border-radius:14px;font-size:13px;font-weight:600;color:#151318;
  background:rgb(255 255 255/.86);backdrop-filter:blur(12px);box-shadow:0 18px 40px -18px rgb(var(--n)/.7),0 0 0 1px rgb(0 0 0/.06)}
.v4-chip i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#20c46b;margin-right:8px;box-shadow:0 0 10px #20c46b}
.v4-chip.c1{left:-2%;top:18%}.v4-chip.c2{left:30%;bottom:-4%}.v4-chip.c3{right:clamp(130px,17vw,260px);top:-3%}
.v4-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(16px,2vw,28px);margin-top:clamp(70px,8vw,120px)}
.v4-tile figcaption{padding:14px 2px 0;font-size:15px;line-height:1.45;color:var(--mut)}
.v4-tile figcaption b{display:block;color:#151318;font-size:17px;margin-bottom:2px}
.v4-tile .v4-shot{transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.v4-tile:hover .v4-shot{transform:translateY(-6px)}

/* the live chapters that stay: lifted onto the same glass so nothing reads as a grey card */
.rf4 .service-plan,.rf4 .build-pricing>article,.rf4 .platform-plans article{background:rgb(255 255 255/.78)!important;border:0!important;
  border-radius:26px!important;box-shadow:0 0 0 1px rgb(255 255 255/.9) inset,0 40px 100px -44px rgb(var(--cta-rgb,197 15 102)/.55),
  0 16px 36px -26px rgb(0 0 0/.22)!important}
.rf4 #care,.rf4 #pricing,.rf4 #faq{background:radial-gradient(60% 40% at 50% 0%,rgb(var(--cta-rgb,197 15 102)/.1),transparent 70%)}
.rf4 .faq details{border-radius:18px}

@media (prefers-reduced-motion:reduce){.v4-row{animation:none}.v4-stage .v4-shot{transition:none}}
@media (max-width:900px){
  .v4-top,.v4-make,.v4-how{grid-template-columns:1fr}
  .v4-top>:last-child{grid-column:1}
  .v4-stage{display:none}
  .v4-step{opacity:1;min-height:0}
  .v4-step .v4-shot{display:block}
  .v4-tiles{grid-template-columns:1fr}
  .v4-plat{padding-right:0;padding-bottom:16%}
  .v4-plat>.v4-shot{transform:none}
  .v4-phone{width:36%;bottom:-2%}
  .v4-chip.c1{left:2%;top:auto;bottom:22%}.v4-chip.c2,.v4-chip.c3{display:none}
  .v4-foot{flex-direction:column;align-items:flex-start}
  .v4-rail{display:none}
  .v4-visual .v4-shot{width:72%}
}
@media (max-width:520px){
  .v4-in{width:calc(100% - 40px)}
  .v4-h{font-size:clamp(40px,12vw,56px)}
  .v4-row img{width:220px}
  .v4-wall{height:300px}
  .v4-btn{min-height:48px}
}
