/* Original CSS 3D, no WebGL engine or continuous render loop. */
.cost-studio{--studio-accent:#9ce5df;position:relative;min-width:0;padding:1.55rem;border:1px solid #3e5d66;border-radius:28px;background:#112c36;color:#eff6ed;box-shadow:0 24px 65px #061b2424,inset 0 1px #d4f4ec20;isolation:isolate}
.cost-studio[data-topic=gas]{--studio-accent:#ffce7f}.cost-studio[data-topic=mobile]{--studio-accent:#d7baff}
.studio-top{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.cost-studio .eyebrow{font-size:.6rem;color:var(--studio-accent);margin:0;letter-spacing:.12em}
.studio-label{font-size:.6rem;color:#b6ced2;border:1px solid #526c73;padding:.22rem .45rem;border-radius:20px;white-space:nowrap}
.cost-studio h2{font:700 clamp(1.25rem,2.1vw,1.7rem)/1.25 var(--body);letter-spacing:-.04em;color:#eff6ed;margin:.8rem 0 1rem}
.studio-switch{display:flex;width:max-content;max-width:100%;gap:3px;padding:4px;border:1px solid #48646d;border-radius:30px;background:#0d222b}
.studio-switch button{font-size:.8rem;line-height:1.2;min-height:36px;padding:.45rem 1.1rem;background:transparent;border:0;border-radius:24px;color:#c8dbde;box-shadow:none}
.studio-switch button[aria-pressed=true]{background:var(--studio-accent);color:#142d36;font-weight:750;box-shadow:0 2px 8px #0003}
.cost-studio button:focus-visible,.cost-studio a:focus-visible{outline:3px solid #ffcf83;outline-offset:4px}
.cost-studio button:disabled{cursor:default;opacity:.7}
.studio-stage{position:relative;height:300px;margin:.2rem -1.55rem 0;perspective:1100px;overflow:hidden;touch-action:pan-y}
.studio-stage::before{content:"";position:absolute;inset:15% 8% 10%;background:radial-gradient(ellipse,color-mix(in srgb,var(--studio-accent) 12%,transparent),transparent 70%);pointer-events:none}
.studio-coordinate{position:absolute;left:1.55rem;top:1rem;font:500 .56rem/1.3 monospace;letter-spacing:.12em;color:#92adb4}
.studio-axis{position:absolute;left:50%;top:50%;width:85%;height:1px;background:#50717b35;transform:translate(-50%,-50%) rotate(-25deg)}.axis-b{transform:translate(-50%,-50%) rotate(65deg);width:60%}
.studio-orbit{position:absolute;width:340px;height:340px;left:50%;top:50%;margin:-170px;border:1px solid #70918f30;border-radius:50%;transform:rotateX(64deg) rotateZ(-22deg)}.orbit-b{width:260px;height:260px;margin:-130px;transform:rotateX(64deg) rotateZ(22deg)}
.studio-object{position:absolute;width:280px;height:180px;left:50%;top:45%;margin:-90px 0 0 -140px;transform-style:preserve-3d;transform:rotateX(calc(44deg + var(--tilt-x,0deg))) rotateZ(calc(-23deg + var(--tilt-y,0deg)));transition:transform .2s ease,scale 800ms cubic-bezier(.2,.75,.2,1)}
.cost-layer{position:absolute;inset:0;border:1px solid #ffffff6b;border-radius:12px;padding:20px 22px;background:#e4e9e2;color:#16333c;box-shadow:0 4px 0 #879f9c,0 18px 28px #00141a30;transform-style:preserve-3d;transition:transform 800ms cubic-bezier(.2,.75,.2,1),background-color 300ms ease}
.layer-front{background:linear-gradient(120deg,#f8f4e5,#e0e8de);transform:translateZ(20px)}
.layer-middle{background:#b7d9d5;transform:translate3d(0,0,10px)}
.layer-back{background:#d1c5e4;transform:translateZ(0)}
.cost-studio[data-open=true] .layer-front{transform:translate3d(35px,-18px,64px)}
.cost-studio[data-open=true] .layer-middle{transform:translate3d(0,6px,5px)}
.cost-studio[data-open=true] .layer-back{transform:translate3d(-35px,30px,-54px)}
.cost-studio[data-open=true] .studio-object{scale:.8}
.layer-label{display:block;font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#3e5a60;margin-bottom:12px}
.cost-layer strong{display:block;font:600 1.85rem/1.15 Georgia,serif;letter-spacing:-.05em;color:#15323b;max-width:10ch}
.layer-detail{display:block;font-size:.65rem;color:#3c595f;margin-top:9px;max-width:28ch;line-height:1.4}
.layer-number{position:absolute;right:18px;top:14px;font:italic 1.2rem Georgia,serif;color:#456166}
.layer-rule{display:block;height:1px;background:#536d6540;width:60%;margin-top:14px}
.layer-stamp{position:absolute;right:15px;bottom:17px;width:57px;height:57px;border:1px solid #3b6b6659;border-radius:50%;display:flex;align-items:center;justify-content:center;text-align:center;transform:rotate(12deg);font-size:.5rem;letter-spacing:.07em;color:#3e615c}
.studio-stage-hint{position:absolute;left:1.55rem;right:1.55rem;bottom:.6rem;font-size:.65rem;color:#b6ced2;text-align:center}
.studio-controls{display:flex;justify-content:space-between;align-items:center;gap:.7rem;padding:.4rem 0 .85rem;border-bottom:1px solid #48646d}
.cost-studio .studio-open{background:var(--studio-accent);color:#142d36;border:1px solid transparent;border-radius:10px;font-size:.8rem;font-weight:750;padding:.6rem 1rem;min-height:44px}
.cost-studio .studio-motion{background:transparent;color:#bfd4d8;border:1px solid #48646d;border-radius:10px;font-size:.66rem;min-height:44px;padding:.5rem .65rem;box-shadow:none}
.cost-studio .studio-motion[aria-pressed=true]{border-color:var(--studio-accent);background:#284751;color:#fff}
.cost-studio .studio-open[aria-pressed=true]{box-shadow:inset 0 0 0 2px #142d36}
.studio-explanation p{font-size:.8rem;line-height:1.55;margin:.5rem 0;color:#bcd0d3}.studio-explanation .studio-formula{font-size:.88rem;color:#eff6ed;font-weight:750;margin-top:.8rem}
.studio-cta{display:flex;justify-content:space-between;gap:1rem;padding:.7rem 0 .25rem;text-decoration:none;color:var(--studio-accent);font-size:.81rem;font-weight:700}.studio-cta:hover{text-decoration:underline}
.cost-studio .studio-footnote{font-size:.62rem;color:#b1c6cb;line-height:1.5;margin:.6rem 0 0}
.cost-studio[data-quiet=true] *{transition:none!important;animation:none!important}
.cost-studio[data-quiet=true] .studio-object{--tilt-x:0deg!important;--tilt-y:0deg!important}
@media(max-width:1100px){.cost-studio{padding:1.2rem}.studio-stage{margin-inline:-1.2rem}.studio-top{align-items:start}.studio-label{font-size:.55rem}.cost-studio .eyebrow{font-size:.55rem}.studio-object{scale:.9}.studio-controls{gap:.4rem}.cost-studio .studio-open{font-size:.75rem;padding:.5rem .7rem}}
@media(max-width:720px){.cost-studio{padding:1.15rem;border-radius:22px}.cost-studio h2{font-size:1.4rem}.studio-stage{height:290px;margin-inline:-1.15rem}.studio-explanation p{font-size:.875rem}.studio-cta{font-size:.875rem}.studio-object{scale:.88}.studio-coordinate{left:1rem}.studio-stage-hint{font-size:.65rem}.cost-studio .studio-footnote{font-size:.69rem}}
@media(max-width:360px){.cost-studio{padding:.9rem}.studio-top{gap:.4rem}.studio-label{font-size:.5rem}.studio-stage{height:265px;margin-inline:-.9rem}.studio-object{scale:.72}.studio-orbit{scale:.8}.studio-controls{align-items:stretch}.cost-studio .studio-open{padding:.5rem .6rem;font-size:.7rem}.cost-studio .studio-motion{font-size:.6rem;max-width:95px}.studio-switch button{padding:.4rem .95rem}.studio-coordinate{font-size:.5rem}.studio-stage-hint{font-size:.6rem}}
@media(prefers-reduced-motion:reduce){.cost-layer,.studio-object{transition:none}}
@media(max-width:360px){.cost-studio[data-open=true] .studio-object{scale:.66}}
