/* Full-width, overlapping paper panels. The curve and padding use the same unit so
   the preceding section always leaves room for the next sheet. */
#why,#process,#pricing,#faq,#game {
  --curve:clamp(64px,13vw,210px);
  --inset:clamp(88px,17vw,270px);
  position:relative;
  border-radius:50% 50% 0 0 / var(--curve) var(--curve) 0 0;
  margin-block-start:calc(-1 * var(--curve));
  padding-block:var(--inset) calc(var(--inset) + 5vw);
  scroll-margin-top:0;
  background:var(--surface);
}
.sectors {padding-bottom:clamp(132px,20vw,315px)}
#why::before,#process::before,#pricing::before,#faq::before,#game::before,
.studio-profile::after,#pricing .tiles::before {content:none}
#why{--surface:#dceaff}#process{--surface:#eae4fc}#pricing{--surface:#ffc39c}#faq{--surface:#f1ffc9}#game{--surface:#fff0bf;padding-bottom:8vw}
.panel-orb{position:absolute;pointer-events:none;display:block;aspect-ratio:1;border-radius:50%;background:var(--orb);transform:translateY(var(--drift,0px));z-index:-1}
#why .orb-1{width:9vw;inset-inline-end:3%;bottom:12%;z-index:2}
#why .orb-2{width:5vw;inset-inline-start:66%;top:4%}
#pricing .orb-1{width:13vw;inset-inline-start:0;top:22%;transform:translate(20%,var(--drift,0px))}
#pricing .orb-2{width:7vw;inset-inline-end:5%;bottom:12%}
#faq .orb-1{width:11vw;inset-inline-start:30%;bottom:14%}
#faq .faq-trail {position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
#faq .faq-trail path {fill:none;stroke:#fff;stroke-width:8;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:var(--faq-offset,0)}
#why .section-head h2,#process .section-head h2,#pricing .section-head h2,#faq .section-head h2,#game .section-head h2 {
  font-size:clamp(48px,8.2vw,148px);font-weight:430;line-height:1.15
}
#why .section-head {margin-bottom:clamp(40px,4.7vw,80px)}
#why .why {gap:clamp(44px,5vw,80px) 3.4vw}
.why .benefit-art {height:clamp(120px,10vw,152px);width:100%;margin:0 0 16px;display:flex;align-items:center}
.why .benefit-art canvas {height:100%;width:auto;max-width:100%;object-fit:contain}
#why .benefit-points {display:grid;gap:10px;margin-block:18px 0}
#why .benefit-points li {margin:0;font-size:15px;line-height:1.7}
.studio-profile{padding:clamp(28px,3.6vw,60px);margin-block:clamp(48px,6.5vw,110px) 0;gap:38px 6%}
.studio-profile .mood-rail a {min-height:96px;display:grid;place-items:center}
#steps article .step-number {float:left;color:var(--ink);font-size:clamp(32px,3.5vw,46px);line-height:1;font-weight:470}
#steps article h3 {font-size:clamp(19px,1.56vw,25px);line-height:1.5;margin-block:0 10px}
#steps article p {font-size:16px;line-height:1.8}
#steps article {border-radius:24px;border-width:10px}
#steps .stage-art {border-radius:17px;aspect-ratio:1.5;display:grid;place-items:center;margin-bottom:18px}
#steps .stage-art canvas {width:100%;height:100%;object-fit:contain}
.process-trail {display:none}
#pricing .tiles {gap:3.1vw;padding:20px 0 0}
#pricing article {border:9px solid white;border-radius:26px;box-shadow:0 16px 36px #2d142018;--lean:0deg}
#pricing article>.plan-art {aspect-ratio:16/9;display:grid;place-items:center;border-radius:18px;overflow:hidden}
.plan-art canvas {width:100%;height:100%;object-fit:contain}
#pricing article:nth-child(1) .plan-art{background:#7a2bff}#pricing article:nth-child(2) .plan-art{background:#ff7738}#pricing article:nth-child(3) .plan-art{background:#15bc8a}
#pricing .plan-class{font-size:14px;color:var(--muted)}
#pricing article h3 {margin-block:12px 4px;line-height:1.32;font-weight:440}
#pricing article ul{display:grid;gap:12px;margin-block:16px 26px}
#pricing article li{margin:0;font-size:15px}
.plan-note {text-align:center;margin:32px auto 0;color:var(--muted);line-height:1.85}
#pricing article .plan-sticker {position:absolute;top:-30px;inset-inline-end:1%;margin:0;transform:rotate(-12deg);width:66px;height:66px;display:grid;place-items:center;z-index:1;color:#2c1432;background:#28172a;
 clip-path:polygon(50% 0,58% 6%,69% 3%,72% 12%,83% 12%,84% 22%,95% 28%,92% 37%,100% 46%,94% 53%,98% 65%,88% 70%,87% 81%,77% 83%,70% 94%,61% 91%,52% 100%,44% 94%,34% 98%,29% 88%,17% 87%,16% 77%,6% 71%,8% 61%,0 52%,6% 43%,3% 33%,13% 28%,12% 17%,24% 16%,29% 6%,40% 9%)}
.plan-sticker::before{content:'';position:absolute;inset:2px;background:#ff95c2;clip-path:inherit}
.plan-sticker span{position:relative;line-height:1.28;font-size:12px;text-align:center;font-weight:700}
#faq {grid-template-columns:minmax(0,.74fr) minmax(0,1fr);gap:3.75vw}
#faq .section-head{top:88px}
#faq .text-action{text-decoration:underline;font:inherit;color:inherit;text-underline-offset:3px}
.faq-list{gap:12px}.faq-list details{border-radius:22px;overflow:clip}
.faq-list summary {min-height:82px;font-size:clamp(18px,1.6vw,24px);padding:20px 24px;line-height:1.6}
.faq-list summary:after {width:38px;height:38px;transition:rotate .32s,background .32s}
.faq-list details[open] summary:after{content:'+';rotate:45deg}
.faq-list .answer-inner p{max-width:none;font-size:16px;padding:0 25px 24px}
@supports (interpolate-size:allow-keywords) {
  .faq-list details{interpolate-size:allow-keywords}
  .faq-list details::details-content{block-size:0;overflow:clip;transition:block-size .55s cubic-bezier(.16,1,.3,1),content-visibility .55s allow-discrete}
  .faq-list details[open]::details-content{block-size:auto}
}
.game-arena{width:calc(100% + 2 * var(--pad));margin-inline:calc(-1 * var(--pad));min-height:clamp(460px,82svh,880px)}
.game-orbits i{background:#fc854d;animation:drifting-token 6s ease-in-out alternate infinite}
@keyframes drifting-token {0%{transform:translate(-4px,12px) rotate(-5deg)}100%{transform:translate(15px,-16px) rotate(5deg)}}
.site-foot{grid-template-columns:1.55fr repeat(4,1fr);padding-block:56px 28px;gap:40px clamp(16px,3.6vw,56px)}
.site-foot>div:not(:first-child):not(.foot-base){border-inline-start:1px solid #ccb97955;padding-inline-start:clamp(16px,2vw,32px)}

@media(max-width:900px),(max-height:579px),(prefers-reduced-motion:reduce){
  #process{height:auto}.process-pin{padding-block:0;position:relative;overflow:visible}
}
@media(max-width:700px){
  #why,#process,#pricing,#faq,#game{--curve:64px;--inset:88px;padding-block:88px 136px}
  #why .orb-1,#why .orb-2 {display:none}
  #pricing .orb-1{width:90px}#pricing .orb-2{width:56px}
  #faq{display:block}#faq .orb-1{width:80px}
  #why .section-head h2,#process .section-head h2,#pricing .section-head h2,#faq .section-head h2,#game .section-head h2{font-size:clamp(46px,11vw,60px)}
  #why .why{gap:44px}.why .benefit-art {height:120px;width:100%;margin:0 0 16px}
  .studio-profile,.studio-profile .mood-rail a{border-radius:21px}.studio-profile{padding:28px;gap:25px}.mood-rail{grid-template-columns:repeat(2,1fr)}
  #process .process-pin{padding-inline:var(--pad)}
  #steps,#pricing .tiles {padding:30px 0 0;width:100%;gap:24px;max-width:540px}
  #steps article,#pricing article {transform:none}
  .faq-list summary{min-height:76px;font-size:18px;padding:17px 18px}
  .faq-list summary:after{width:35px;height:35px}
  .game-arena{min-height:82svh}#game{padding-bottom:46px}
  .site-foot {grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 14px;padding-block:44px 24px}
}
@media(prefers-reduced-motion:reduce){
 .panel-orb,.game-orbits i{animation:none;transform:none}
 .faq-list details::details-content{transition:none}
}

html[data-process-arrival] {scroll-behavior:auto}
/* The curved leading edge uncurls as the sheet crosses the viewport. */
#main :is(#why,#process,#pricing,#faq,#game) {
  border-start-start-radius:50% calc(var(--dome-progress,1) * var(--curve));
  border-start-end-radius:50% calc(var(--dome-progress,1) * var(--curve));
  scroll-margin-top:calc(6px - var(--curve));
}
#main .stretch-word {position:relative;display:inline-block;color:transparent}
#main .stretch-ink {
  position:absolute;inset:0;white-space:nowrap;color:var(--ink);
  font-weight:var(--stretch-weight,430);transform:scale(var(--stretch-x,1),var(--stretch-y,1));transform-origin:center bottom
}
#main #work {padding-top:clamp(112px,14vw,200px);padding-bottom:64px;scroll-margin-top:-66px}
#work .section-head {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,42ch);align-items:last baseline;gap:32px;margin-bottom:56px}
#work .section-head h2 {font-size:clamp(60px,10vw,158px);line-height:1.12}
#work .section-head p {max-width:42ch;font-size:18px;line-height:1.72;margin:0}
#work .filters {margin-bottom:40px}
#work #gallery {gap:60px 24px}
#work .catalog-more {margin-top:64px}
#main .sectors {padding-bottom:calc(clamp(64px,13vw,210px) + clamp(96px,12vw,180px));text-align:center}
#main .sectors div {justify-content:center;max-width:980px;margin-inline:auto}
#main .sectors a {min-height:40px;display:inline-flex;align-items:center}
#pricing .tiles {gap:3.4vw}
#process #steps article p {font-size:clamp(15px,1.04vw,16px);line-height:1.63}
#process #steps article {align-self:stretch}
@media(max-width:1180px) {
  #work #gallery {grid-template-columns:repeat(2,minmax(0,1fr));gap:56px 24px}
}
@media(max-width:1100px) {
  #why .why {grid-template-columns:repeat(2,minmax(0,1fr))}
  #pricing .tiles {grid-template-columns:minmax(0,560px);width:100%;max-width:none;justify-content:center;gap:24px;padding:0;margin:48px auto 0}
  #pricing article {rotate:.8deg}
  #pricing article:nth-child(2) {rotate:-.8deg}
  #pricing article:nth-child(n+2)::before {content:none}
}
@media(max-width:860px){
  #faq {display:block}
  #faq .section-head {position:static;margin-bottom:32px}
  #pricing .section-head,#why .section-head {display:grid;grid-template-columns:1fr;gap:20px}
}
@media(max-width:820px) {
  #work .section-head {grid-template-columns:1fr;gap:20px;margin-bottom:36px}
  #main #work {padding-bottom:48px}
}
@media(max-width:640px) {
  #work #gallery {grid-template-columns:1fr;row-gap:48px}
  #work .filters {margin-bottom:32px}
  #work .catalog-more {margin-top:48px}
  #why .why {grid-template-columns:minmax(0,1fr)}
}
@media(min-width:900px) and (min-height:580px) and (prefers-reduced-motion:no-preference){
  #process {height:calc(250svh + 2 * var(--inset) + 5vw)}
  #process .process-pin {position:sticky;inset-block-start:0;height:100svh;display:flex;flex-direction:column;padding-block:clamp(68px,11.55svh,104px) 32px}
  #process .process-pin .section-head {margin:0}
  #process .section-head h2 {line-height:1.08}
  #process .process-stage {flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);place-items:center;margin-top:28px}
  #process #steps {
    --card-gap:min(32px,2.2vw);
    --card-width:min(clamp(220px,20vw,290px),calc((100vw - 60px - 3 * var(--card-gap)) / 4));
    position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--card-gap);
    width:calc(4 * var(--card-width) + 3 * var(--card-gap));max-width:none;padding:0;z-index:1
  }
  #process #steps article {
    --fan:0;translate:var(--pointer-x,0px) var(--pointer-y,0px);rotate:var(--pointer-turn,0deg);min-height:min(480px,48.2svh);z-index:var(--z);
    transform:translateX(calc(var(--offset) * (1 - var(--fan,0)))) translateY(calc(var(--stack-y) + (var(--level) - var(--stack-y)) * var(--fan,0))) rotate(calc(var(--pile) + (var(--turn) - var(--pile)) * var(--fan,0)));
    transition:none
  }
  #process .process-trail {
    position:absolute;display:block;inset-block:0;inset-inline:calc(-1 * var(--pad));
    width:calc(100% + 2 * var(--pad));height:100%;transform:none;border:0;overflow:visible;pointer-events:none
  }
  #process .process-trail path {
    fill:none;stroke:#8236eb;stroke-width:5;stroke-linecap:round;vector-effect:non-scaling-stroke;
    stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--trail,0))
  }
}
@media(min-width:900px) and (min-height:580px) and (max-height:680px) and (prefers-reduced-motion:no-preference){
  #process .process-pin {padding-block:62px 18px}
  #process .process-stage {margin-top:10px}
  #process .section-head h2 {font-size:clamp(46px,6.3vw,78px)}
  #process #steps article p {line-height:1.5}
}
@media(max-width:899px){
  #process .process-pin {padding-block:0;padding-inline:var(--pad)}
  #process .process-pin .section-head {display:grid;grid-template-columns:1fr;gap:20px;margin:0}
  #process .section-head p {margin:0;max-width:42ch}
  #process .process-stage {margin-block-start:44px}
  #process #steps {display:grid;grid-template-columns:1fr;gap:28px;width:100%;max-width:none;padding:0}
  #process #steps article {width:min(100%,400px);justify-self:start;transform:none;rotate:1.6deg}
  #process #steps article:nth-child(even) {justify-self:end;rotate:-1.6deg}
  #process #steps article.awaiting-flight {opacity:0}
}
@media(prefers-reduced-motion:reduce) {
  html:has(#main .process-pin) {scroll-behavior:auto}
  #main .stretch-ink {transform:none;font-weight:430}
  #faq .faq-trail path {stroke-dashoffset:0}
  #process #steps article.awaiting-flight {opacity:1}
  #main :is(#why,#process,#pricing,#faq,#game) {--dome-progress:1!important}
}
