/* Home-only gallery. Original project names and services remain outside the art. */
.home-studio-portfolio{padding-top:46px}
.home-project-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:52px 26px;padding-bottom:46px}
.home-project-gallery>.studio-project-card:first-child,.home-project-gallery>.studio-project-card:nth-child(6){grid-column:auto}
.home-project-gallery>.studio-project-card:nth-child(even){transform:translateY(40px)}
.home-project-gallery .studio-art{position:relative;width:100%;aspect-ratio:3/2;border-radius:8px;overflow:hidden;isolation:isolate}
.home-project-gallery .studio-render>img{display:block;width:100%;height:100%;object-fit:contain}
.home-project-gallery .project-meta{align-items:flex-start;padding-top:18px;gap:18px;min-height:101px}
.home-project-gallery .project-meta h3{font:800 clamp(25px,2.2vw,31px)/1.17 var(--font);color:#141414;letter-spacing:-.035em;max-width:520px;margin:7px 0 0}
.home-project-gallery .project-meta p{font:600 13px/1.5 var(--font);color:#34342e;letter-spacing:0;margin:0}
.home-project-gallery .project-meta .arrow{flex-shrink:0;margin-top:4px;border-color:#232321;color:#232321;width:42px;height:42px;font-size:22px}
.home-project-gallery .project-status{font-size:11px;line-height:1.4;color:#43433e;margin-top:8px}
.studio-project-note{display:block;font:600 13px/1.5 var(--font);color:#43433e;margin-top:8px}
.home-project-gallery .studio-project-card:focus-visible{outline:3px solid #b90044;outline-offset:7px;border-radius:8px}
.studio-composition{background:#e0e7e2;pointer-events:none}
.studio-canvas{position:absolute;left:0;top:0;width:960px;height:640px;transform:scale(var(--studio-scale,.5));transform-origin:0 0;isolation:isolate;overflow:hidden}
.studio-composition:before{content:'';position:absolute;inset:0;background:linear-gradient(120deg,#fff4,transparent 48%,#001b2b19);pointer-events:none;z-index:1}
.studio-laptop{position:absolute;width:650px;left:96px;top:89px;z-index:3;transform:rotate(-5deg)}
.studio-laptop-lid{position:relative;border-radius:14px;background:linear-gradient(130deg,#444b4e,#111719 30%,#090f11);padding:14px 12px 13px;border:2px solid #627174;box-shadow:9px 22px 35px #001a264d,inset 0 0 0 1px #ffffff35}
.studio-webcam{position:absolute;left:50%;top:5px;width:4px;height:4px;border-radius:50%;background:#747e80;z-index:4}
.studio-device-viewport{position:relative;width:100%;height:357px;border-radius:3px;overflow:hidden;background:#fff}
.studio-device-viewport iframe{position:absolute;top:0;left:0;width:1280px;height:910px;border:0;transform:scale(.486);transform-origin:0 0;max-width:none;pointer-events:none}
.studio-keyboard{position:relative;left:-7%;width:114%;height:56px;background:linear-gradient(180deg,#99a7ad,#e8edf0 74%,#a8b3b8);clip-path:polygon(6% 0,94% 0,100% 100%,0 100%);margin-top:-1px;box-shadow:0 6px 8px #0002}
.studio-keyboard:before{content:'';position:absolute;left:16%;right:16%;top:8px;height:24px;border:2px solid #859195;border-radius:3px;background:repeating-linear-gradient(90deg,transparent 0 19px,#a9b4b7 19px 22px),repeating-linear-gradient(0deg,#323c43 0 6px,#a9b4b7 6px 8px)}
.studio-keyboard>span{position:absolute;left:43%;right:43%;bottom:4px;height:16px;border:1px solid #a4afb3;border-radius:2px}
.studio-laptop-base{position:relative;left:-7%;width:114%;height:10px;border-radius:0 0 38px 38px;background:linear-gradient(180deg,#dbe4e7,#939fa4);box-shadow:13px 24px 28px #001b2d50}
.studio-phone{position:absolute;left:739px;top:274px;width:170px;height:319px;background:linear-gradient(100deg,#67757d,#171c21 8%,#0c1217 92%,#48585d);padding:10px 9px;border:2px solid #899295;border-radius:28px;box-shadow:12px 21px 28px #001b2d59;transform:rotate(7deg);z-index:5;overflow:hidden}
.studio-phone .studio-device-viewport{height:100%;border-radius:18px}
.studio-phone-camera{position:absolute;top:5px;left:39%;right:39%;height:13px;border-radius:0 0 9px 9px;background:#161e22;z-index:3}
.studio-phone iframe{width:390px;height:850px;transform:scale(.379)}
.studio-screen-image{display:block;width:100%;height:auto;max-width:none}
.studio-brand-sheet{position:absolute;left:47px;bottom:53px;width:264px;height:128px;display:grid;place-items:center;padding:24px;background:#fff;border:1px solid #fff;border-radius:2px;box-shadow:9px 16px 17px #17343538;transform:rotate(-10deg);z-index:5}
.studio-brand-sheet img{width:100%;height:auto;max-height:100%;object-fit:contain}
.studio-mejora-tu-futuro{background:radial-gradient(ellipse at 28% 16%,#edf6f1,#bbd4d2 73%,#8ab5b4)}
.studio-mejora-tu-futuro .studio-canvas:before{content:'';position:absolute;left:86px;bottom:31px;width:630px;height:98px;background:#9dacab;filter:blur(23px);border-radius:50%;opacity:.32}
.studio-mejora-tu-futuro .studio-canvas:after{content:'';position:absolute;left:-100px;top:420px;width:1120px;height:50px;background:#fff3;transform:rotate(-29deg);pointer-events:none}
.studio-bonding{background:linear-gradient(135deg,#ebeee8,#cfddd1)}
.studio-desktop{position:absolute;left:60px;top:68px;width:648px;height:466px;z-index:2;transform:rotate(-4deg)}
.studio-desktop-screen{position:relative;padding:12px 12px 38px;border-radius:14px;background:linear-gradient(140deg,#71828c,#252d36 7%,#152030 93%,#536c77);border:2px solid #788893;box-shadow:9px 22px 35px #001a2645}
.studio-desktop-screen:after{content:'';position:absolute;left:0;right:0;bottom:0;height:27px;background:linear-gradient(90deg,#a8b6bb,#e1e7e9 38%,#adbac0);border-radius:0 0 11px 11px}
.studio-desktop-screen .studio-device-viewport{height:337px}
.studio-desktop-neck{position:relative;width:70px;height:78px;margin:0 auto;background:linear-gradient(90deg,#7f919a,#dbe3e7 42%,#9cabb5);clip-path:polygon(13% 0,87% 0,100% 100%,0 100%)}
.studio-desktop-foot{position:relative;width:265px;height:17px;margin:-6px auto 0;border-radius:50%;background:linear-gradient(180deg,#cbd6da,#7e929b);box-shadow:6px 16px 14px #0c34443d}
.studio-bonding .studio-phone{top:267px;left:743px;height:320px;transform:rotate(7deg)}
.studio-bonding .studio-brand-sheet{left:41px;bottom:51px;width:280px;height:121px;padding:25px}
.studio-zensus{background:radial-gradient(ellipse at 27% 14%,#458786,#123e43 72%,#092b30)}
.studio-zensus .studio-laptop{left:46px;top:139px;width:652px;transform:rotate(-7deg);z-index:3}
.studio-zensus .studio-laptop .studio-device-viewport{height:327px}
.studio-zensus .studio-laptop iframe{transform:scale(.487)}
.studio-zensus .studio-canvas:before{content:'';position:absolute;inset:0;background:url('muestras/zensus/portfolio-hero-still.jpg') center/cover;opacity:.08;filter:blur(3px)}
.studio-social-post{position:absolute;width:170px;height:218px;background:white;padding:5px;border-radius:3px;box-shadow:12px 19px 22px #00131d66;z-index:2}
.studio-post-art{position:relative;width:100%;height:100%;overflow:hidden;border-radius:1px}
.studio-post-art img{width:600%;height:100%;max-width:none;object-fit:fill}
.studio-zensus .social-post-0{left:493px;top:37px;transform:rotate(10deg)}
.studio-zensus .social-post-1{left:744px;top:70px;transform:rotate(13deg)}
.studio-zensus .social-post-2{left:714px;top:332px;transform:rotate(8deg);z-index:5;width:191px;height:242px}
.studio-coloproctologia{background:linear-gradient(140deg,#e5f0ec,#c5d9da)}
.studio-clinic-photo{position:absolute;left:39px;top:98px;width:708px;height:440px;background:#fff;padding:8px;border-radius:6px;box-shadow:11px 23px 31px #15383f38;transform:rotate(-5deg);z-index:2;overflow:hidden}
.studio-clinic-photo>img{width:100%;height:100%;object-fit:cover;object-position:center}
.studio-clinic-photo>span{position:absolute;left:20px;bottom:18px;padding:7px 10px;border-radius:3px;background:#fff;color:#153b52;font:700 13px/1.3 var(--font)}
.studio-clinic-logo{position:absolute;left:685px;top:51px;width:217px;height:143px;background:#fff;display:grid;place-items:center;padding:17px;border-radius:5px;box-shadow:9px 13px 19px #15383f2b;transform:rotate(6deg);z-index:3}
.studio-clinic-logo img{max-width:100%;max-height:100%;object-fit:contain}
.studio-aura-word{position:absolute;left:58px;top:30px;color:#0d4053;font:800 39px/1 var(--font);letter-spacing:-.06em}
.studio-aura-tag{position:absolute;left:721px;width:185px;min-height:80px;display:grid;grid-template-columns:39px 1fr;gap:2px 12px;align-content:center;padding:15px;background:#ffffffee;border:1px solid #fff;border-radius:9px;box-shadow:9px 15px 20px #15383f26;z-index:5;transform:rotate(5deg);color:#0d4053}
.studio-aura-tag>svg{width:36px;height:36px;grid-row:span 2;align-self:center;flex-shrink:0}
.studio-aura-tag>strong{font:800 22px/1.2 var(--font)}
.studio-aura-tag>span{font:600 11px/1.4 var(--font);color:#284653}
.studio-aura-tag.aura-tag-0{top:232px}
.studio-aura-tag.aura-tag-1{top:333px;left:701px}
.studio-aura-tag.aura-tag-2{top:434px;background:#123746;color:#fff;border-color:#426779}
.studio-aura-tag.aura-tag-2>svg{color:#c7f145}
.studio-aura-tag.aura-tag-2>span{color:#fff}
@media(max-width:1000px){
 .home-project-gallery{gap:42px 20px}
 .home-project-gallery .project-meta h3{font-size:26px}
 .home-project-gallery .project-meta{min-height:105px}
}
@media(max-width:760px){
 .home-project-gallery{grid-template-columns:1fr;gap:34px;padding-bottom:0}
 .home-project-gallery>.studio-project-card:nth-child(even){transform:none}
 .home-project-gallery .project-meta{min-height:0;padding-top:16px}
 .home-project-gallery .project-meta h3{font-size:27px;max-width:100%}
 .home-project-gallery .project-meta p{font-size:13px}
 .home-studio-portfolio .portfolio-invitation{padding-top:38px}
}
@media(max-width:400px){
 .home-project-gallery .project-meta h3{font-size:23px}
 .home-project-gallery .project-meta .arrow{width:36px;height:36px;font-size:20px}
 .home-project-gallery .project-meta{gap:13px}
 .home-project-gallery .studio-art{border-radius:5px}
}

/* Brandhold: original site content projected into the existing studio photograph. */
.studio-photo-overlay:before{display:none}
.studio-scene-plate,.studio-tablet-foreground{position:absolute;inset:0;width:960px;height:640px;max-width:none;object-fit:fill;z-index:0}
.studio-projection{position:absolute;left:0;top:0;border:0;max-width:none;transform-origin:0 0;background:#fff;pointer-events:none}
.studio-desktop-projection{width:2048px;height:1280px;z-index:2;transform:matrix3d(0.245490225811,-0.00972717781757,0,-2.8692048568e-05,-0.016164956215,0.242851979543,0,-1.4781935226e-05,0,0,1,0,153.75,98.75,0,1)}
.studio-tablet-foreground{z-index:3;clip-path:polygon(70.38% 41.31%,92.25% 42.19%,90.36% 87.89%,66.93% 86.04%)}
.studio-tablet-projection{width:960px;height:1360px;z-index:4;transform:matrix3d(0.181667323366,-0.00105063378405,0,-2.0073111233e-05,-0.0402879614507,0.179492785514,0,-2.92618996269e-05,0,0,1,0,683.125,275,0,1)}
