.live-preview{background:#111114;border:1px solid #34343c;width:100%;min-width:0;color:#eee}
.live-topline{padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #33333a;font-size:9px;color:#b7b7c0}.live-topline strong{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-topline a{white-space:nowrap;color:#d7d7df;font-size:9px;text-decoration:underline;text-underline-offset:3px}
.live-controls{display:flex;gap:5px;padding:9px 10px;flex-wrap:wrap;border-bottom:1px solid #303036}.live-controls button{border:1px solid #494950;background:#17171c;color:#b8b8c0;padding:8px 10px;font-size:10px;min-height:34px}.live-controls button[aria-pressed="true"]{background:#f60000;border-color:#f60000;color:white}
.live-canvas{position:relative;width:100%;overflow:hidden;background:#202024;min-height:150px}.live-canvas iframe{position:absolute;top:0;border:0;max-width:none;transform-origin:top left;background:white;opacity:0}.live-preview.ready iframe{opacity:1}.live-fallback{position:absolute;inset:0;display:grid;place-items:center;background:#131316;pointer-events:none}.live-fallback img{width:100%!important;height:100%!important;object-fit:contain!important;max-height:none!important}.live-preview.ready .live-fallback{display:none}
.live-status{padding:9px 12px;font-size:9px;line-height:1.7;color:#a2a2ad;margin:0;border-top:1px solid #34343c}.live-source-image{display:none!important}
.project-image.has-live,.work-grid .project-image.has-live,.project:nth-child(2) .project-image.has-live{display:block;aspect-ratio:auto;padding:0;height:auto}.project-open{display:block}.project-open:focus-visible{outline:2px solid white;outline-offset:5px}.project-open .project-caption{padding-top:18px}.project-open .project-caption:after{content:'Explorar ↗';font-size:10px;color:#bbb;margin-left:12px}
.screen.has-live{border:0;margin-inline:18px;background:transparent;overflow:visible}.screen.has-live .screen-label{display:flex;position:static;padding:10px 12px;background:#111114}.screen.has-live .live-preview{border-color:#404048}.live-project .project-image:after{display:none}.portfolio-picture.live-source{height:auto;aspect-ratio:auto;padding:12px 0 0;border:0;background:transparent;display:block;color:#d3d3dc;font-size:11px}.portfolio-picture.live-source img{display:none}.portfolio-work>.live-preview{margin-bottom:8px}
.viewer-stage.live-mode{display:block;padding:0;max-height:70dvh}.viewer-stage.live-mode>img{display:none!important}.viewer-stage.live-mode .live-preview{border:0}.viewer-stage.live-mode .live-canvas{min-height:0}.viewer-stage.live-mode .live-status{margin:0}.viewer-stage.live-mode.zoomed{overflow:auto}
@media(max-width:600px){.live-topline{padding:10px;font-size:9px}.live-controls{gap:5px;padding:8px}.live-controls button{padding:9px 10px;min-height:40px}.live-status{font-size:9px}.screen.has-live{margin-inline:12px}.live-topline strong{max-width:60%}.viewer-stage.live-mode{max-height:65dvh}.project-open .project-caption:after{display:none}}


/* PRC encabeza los proyectos; Jean Carlos y Melissa ocupan la fila siguiente. */
.project-grid,.work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-grid>.project:first-child,.work-grid>.project:first-child{grid-column:1/-1}.portfolio-work:first-child{grid-column:1/-1}
@media(max-width:600px){.project-grid,.work-grid{grid-template-columns:1fr}}

/* Vista principal compacta: conserva juntos el mensaje y su llamada a la acción. */
.home-hero{align-content:start;row-gap:0}.home-hero h1{align-self:start;margin-bottom:24px}.hero-bottom{align-self:start}
.home-hero .hero-art{width:100%;max-width:420px;justify-self:end;align-self:start}
.home-hero .art-top{padding:12px 14px}.home-hero .screen-label{min-height:42px;padding:8px 10px;font-size:10px}
.home-hero .art-controls{padding:8px 14px 0}.home-hero .art-controls button{padding:10px 4px}
.home-hero .art-foot{min-height:0;padding:14px;gap:14px}.home-hero .screen>img:not(.live-source-image){max-height:240px;width:100%;object-fit:contain}
.home-hero .live-canvas{min-height:0}
@media(max-width:600px){.home-hero .hero-art{justify-self:center}.home-hero h1{margin-bottom:20px}}

.home-hero .hero-message{grid-column:1;grid-row:2;min-width:0}.home-hero .hero-message h1{margin:0 0 24px}.home-hero .hero-art{grid-row:2}
@media(max-width:600px){.home-hero .hero-message,.home-hero .hero-art{grid-row:auto}.home-hero .hero-message h1{margin-bottom:20px}}

/* Portada ancha: una sola superficie para explorar, con el mensaje agrupado a la izquierda. */
.home-hero{grid-template-columns:minmax(0,.95fr) minmax(0,1.25fr);column-gap:40px}
.home-hero .hero-message h1{font-size:clamp(58px,6.1vw,88px)}
.home-hero .hero-art{max-width:none;transform:none;box-shadow:none;background:#111114}
.home-hero .art-top{display:none}.home-hero .screen,.home-hero .screen.has-live{margin:0}
.home-hero .screen.has-live .screen-label{display:none}.home-hero .screen.has-live .live-preview{border:0}
.home-hero .live-topline{padding:12px 14px;gap:12px}.home-hero .live-topline strong{margin-right:auto}
.live-expand{white-space:nowrap;padding:0;border:0;background:transparent;color:#eee;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.home-hero .live-controls{padding:9px 14px}.home-hero .live-status{padding:6px 14px}
.home-hero .art-controls{padding:0 14px}.home-hero .art-foot{padding:12px 14px}
.home-hero .screen>img:not(.live-source-image){max-height:340px}
@media(max-width:1080px){.home-hero{column-gap:26px}.home-hero .hero-message h1{font-size:clamp(50px,6.4vw,72px)}}
@media(max-width:820px){.home-hero{grid-template-columns:1fr}.home-hero .hero-art{grid-column:1;grid-row:3;margin-top:30px}.home-hero .hero-message h1{font-size:clamp(48px,8vw,68px)}.home-hero .hero-message{max-width:650px}.home-hero .hero-bottom p{max-width:550px}}
@media(max-width:600px){.home-hero .hero-message h1{font-size:clamp(44px,12.6vw,76px)}.home-hero .live-topline{gap:10px;padding:10px}.home-hero .live-topline strong{max-width:42%}.home-hero .hero-art{margin-top:28px}}

/* Ajuste solicitado: escala uniforme del 70 %, anclada arriba a la derecha. */
.home-hero .hero-art-stage{grid-column:2;grid-row:2;position:relative;min-width:0;align-self:start}
.home-hero .hero-art-stage>.hero-art{position:absolute;top:0;right:0;width:100%;margin:0;transform:scale(.7);transform-origin:top right}
.home-hero .hero-message{width:calc(100% + clamp(0px,12vw,170px));max-width:none}
.home-hero .hero-message h1{font-size:clamp(69.6px,7.32vw,105.6px)}
.home-hero .hero-bottom p{font-size:16.8px}
@media(max-width:1080px){.home-hero .hero-message h1{font-size:clamp(60px,7.68vw,86.4px)}}
@media(max-width:820px){.home-hero .hero-art-stage{grid-column:1;grid-row:3;margin-top:30px}.home-hero .hero-message{width:100%}.home-hero .hero-message h1{font-size:clamp(57.6px,9.6vw,81.6px)}.home-hero .hero-bottom p{font-size:14.4px}}
@media(max-width:600px){.home-hero .hero-message h1{font-size:clamp(52.8px,15.12vw,91.2px)}.home-hero .hero-bottom p{font-size:15.6px}.home-hero .hero-art-stage{margin-top:28px}}

/* Ajustes proporcionales exclusivos de escritorio y tablet; teléfono a ancho completo. */
.home-hero .hero-art-stage>.hero-art{--hero-preview-scale:.77;transform:scale(var(--hero-preview-scale))}
.home-hero .hero-message h1{font-size:clamp(66.12px,6.954vw,100.32px)}
@media(max-width:1080px){.home-hero .hero-message h1{font-size:clamp(57px,7.296vw,82.08px)}}
@media(max-width:820px){.home-hero .hero-message h1{font-size:clamp(54.72px,9.12vw,77.52px)}}
@media(max-width:600px){.home-hero .hero-art-stage>.hero-art{--hero-preview-scale:1}.home-hero .hero-message h1{font-size:clamp(44px,12.6vw,76px)}.home-hero .hero-bottom p{font-size:13px}.home-hero .hero-message{width:100%}}

.home-hero .hero-art-stage>.hero-art{transition:none}


/* Inicio: dos proyectos en paralelo, sin destacado a ancho completo. */
.home-hero~#proyectos .project-grid>.project:first-child,#proyectos .project-grid>.project:first-child{grid-column:auto}

/* Webs / PRC: documento real con recorrido, sin selector de dispositivos ni video. */
.live-tour .live-canvas{min-height:0;background:#09090b;}
.live-tour .live-canvas iframe{pointer-events:none;}
.live-tour-toggle{position:absolute;inset:0;z-index:2;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:pointer;display:flex;align-items:flex-end;justify-content:center;}
.live-tour-toggle:disabled{cursor:wait;}
.live-tour-label{margin:14px;padding:8px 13px;border:1px solid #ffffff38;border-radius:30px;background:#101014e8;color:#fff;font:500 10px/1.6 Inter,sans-serif;box-shadow:0 4px 18px #0004;pointer-events:none;}
.live-tour-toggle:focus-visible{outline:3px solid #ff6868;outline-offset:-5px;}
.live-tour-toggle[aria-pressed=true] .live-tour-label{border-color:#ff6a6a;color:#fff;}
@media(max-width:600px){.live-tour-label{margin:8px;padding:6px 10px;font-size:9px;}}
.live-fallback img{display:none}
.live-fallback>span{font:500 12px/1.5 Inter,sans-serif;color:#d1cdd8}
.live-preview.failed .live-fallback img{display:block}
.live-preview.failed .live-fallback>span{display:none}
.live-canvas iframe{transition:none!important}
