#proyectos.gallery-ready{padding-top:80px;padding-bottom:55px;background:#0f1113;scroll-margin-top:24px}
#proyectos.gallery-ready .section-heading{position:relative;z-index:2;pointer-events:auto;align-items:end;margin-bottom:12px;gap:32px}
#proyectos.gallery-ready .section-heading>p{max-width:370px;font-size:14px;line-height:1.85;color:#b7b2c0}
#proyectos.gallery-ready .project-scene{padding:0 0 22px}
#proyectos.gallery-ready .project-grid{display:block;position:relative;width:100%;height:550px;padding:0;perspective:1400px;isolation:isolate;transform-style:flat;touch-action:pan-y}
#proyectos.gallery-ready .project-grid>.real-project,#proyectos.gallery-ready .project-grid>.real-project:nth-child(even){position:absolute;left:50%;top:50%;width:clamp(300px,34vw,430px);max-width:430px;margin:0;padding:10px;border:1px solid #b6a6e330;border-radius:18px;background:linear-gradient(145deg,#202130,#0c111c 80%);box-shadow:inset 0 1px #ffffff0b,0 34px 65px -35px #000;opacity:var(--gallery-opacity,1);transform:translate(-50%,-50%) translate(var(--gallery-x,0px),var(--gallery-y,0px)) rotateY(var(--gallery-turn,0deg)) scale(calc(var(--gallery-scale,1) * var(--card-zoom,1)));translate:none;transform-style:flat;transition:border-color .4s,box-shadow .4s;will-change:transform;cursor:grab}
#proyectos.gallery-ready .project-grid>.real-project[data-gallery-front="true"]{border-color:#bda4ef88;box-shadow:inset 0 1px #ffffff14,0 35px 65px -30px #000,0 0 45px -25px #9671e866}
#proyectos.gallery-ready .real-project .real-project-art{aspect-ratio:16/11;transform:none!important;border-radius:10px;border:1px solid #c5b5ec45;box-shadow:none;filter:brightness(var(--gallery-brightness,1));transition:filter .4s}
#proyectos.gallery-ready .real-project .project-info{transform:none;padding:23px 12px 18px;min-height:145px;background:transparent;box-shadow:none;gap:9px}
#proyectos.gallery-ready .project-info h3{font-size:clamp(23px,2.3vw,30px);line-height:1.2;letter-spacing:-.025em;color:#f2edf7;overflow-wrap:normal}
#proyectos.gallery-ready .project-info p{font-size:12px;line-height:1.7;color:#b9b2c7}
#proyectos.gallery-ready .project-info>span{font-size:11px;color:#c7b7df;margin-top:12px}
#proyectos.gallery-ready .real-project-open{opacity:0;translate:none;font-size:11px;min-height:40px;padding:10px 15px;background:#191b2bee;border:1px solid #c6b6ef66;backdrop-filter:blur(12px)}
#proyectos.gallery-ready .real-project[data-gallery-front="true"] .real-project-open{opacity:1}
#proyectos.gallery-ready .real-project:focus-visible{outline:2px solid #dfceff;outline-offset:6px}
#proyectos.gallery-ready .project-energy{opacity:.42}
#proyectos.gallery-ready .project-atmosphere{background:radial-gradient(ellipse 45% 45% at 50% 58%,#49366c26,transparent 85%),linear-gradient(#0f1113,#090d18 45%,#0f1113);mask-image:linear-gradient(transparent,#000 20%,#000 85%,transparent)}
#proyectos.gallery-ready .project-reflective-floor{opacity:.18;top:65%}
#proyectos.gallery-ready .gallery-controls{position:relative;z-index:4;display:flex;align-items:center;justify-content:center;gap:12px;width:fit-content;max-width:100%;margin:0 auto;padding:7px;border:1px solid #b6a5e52d;border-radius:40px;background:#151724b8;backdrop-filter:blur(16px)}
#proyectos.gallery-ready .gallery-controls button{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid transparent;border-radius:50%;background:transparent;color:#ded4ef;font-size:20px;cursor:pointer;transition:background .2s,border-color .2s}
#proyectos.gallery-ready .gallery-controls button:hover{background:#b99aed18;border-color:#b99aed44}
#proyectos.gallery-ready .gallery-controls button:focus-visible,#proyectos.gallery-ready .gallery-dots button:focus-visible{outline:2px solid #d4b9ff;outline-offset:3px}
#proyectos.gallery-ready .gallery-controls .gallery-pause{width:auto;padding:0 16px;border-left:1px solid #b6a5e52d;border-radius:0 24px 24px 0;font-size:11px}
#proyectos.gallery-ready .gallery-controls .gallery-pulse{color:#c9afff;font-size:24px}
#proyectos.gallery-ready .gallery-status{min-width:54px;text-align:center;color:#c4b6d7;font-size:11px;letter-spacing:1.5px;font-variant-numeric:tabular-nums}
#proyectos.gallery-ready .gallery-dots{position:relative;z-index:4;display:flex;justify-content:center;gap:4px;margin:10px auto 0}
#proyectos.gallery-ready .gallery-dots button{position:relative;width:44px;height:32px;border:0;border-radius:20px;background:transparent;cursor:pointer}
#proyectos.gallery-ready .gallery-dots button:before{content:'';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:5px;height:5px;border-radius:8px;background:#736784;transition:width .3s,background .3s}
#proyectos.gallery-ready .gallery-dots button[aria-pressed="true"]:before{width:24px;background:#c9b4f7;box-shadow:0 0 12px #9774d960}
#proyectos.gallery-ready .gallery-hint{text-align:center;font-size:10px;letter-spacing:.08em;color:#8f859f;margin:8px 0 0}
#proyectos.gallery-ready .section-bridge{margin-top:8px}
#proyectos.gallery-ready .is-dragging,#proyectos.gallery-ready .is-dragging .real-project{cursor:grabbing;user-select:none}
#proyectos.gallery-ready .is-dragging .real-project-open{opacity:0}
@media(max-width:760px){
 #proyectos.gallery-ready{padding-top:55px;padding-bottom:35px}
 #proyectos.gallery-ready .section-heading{gap:20px;margin-bottom:0}
 #proyectos.gallery-ready .section-heading>p{font-size:13px;max-width:100%}
 #proyectos.gallery-ready .project-grid{height:445px}
 #proyectos.gallery-ready .project-grid>.real-project,#proyectos.gallery-ready .project-grid>.real-project:nth-child(even){width:min(300px,calc(100vw - 76px));max-width:300px;padding:8px;border-radius:14px}
 #proyectos.gallery-ready .real-project .project-info{padding:21px 8px 15px;min-height:140px}
 #proyectos.gallery-ready .project-info h3{font-size:24px}
 #proyectos.gallery-ready .real-project:not([data-gallery-front="true"]) .project-info{visibility:hidden}
 #proyectos.gallery-ready .gallery-controls{gap:3px;padding:5px}
 #proyectos.gallery-ready .gallery-controls .gallery-pause{padding:0 10px}
 #proyectos.gallery-ready .gallery-controls .gallery-pulse{display:none}
 #proyectos.gallery-ready .project-energy{opacity:.25}
 #proyectos.gallery-ready .gallery-hint{font-size:9px;letter-spacing:.02em}
}
@media(prefers-reduced-motion:reduce){#proyectos.gallery-ready .project-grid>.real-project{will-change:auto;transition:none}#proyectos.gallery-ready .project-energy{display:none}}
/* Violet and sapphire light carried from the opening scene. */
#proyectos.gallery-ready .project-atmosphere{background:radial-gradient(ellipse 52% 42% at var(--scene-light-x,50%) 58%,#7545b92e,transparent 80%),radial-gradient(ellipse 48% 42% at 78% 65%,#285cc92b,transparent 85%),linear-gradient(#0f1113,#0b1020 45%,#0f1113)}
#proyectos.gallery-ready .project-energy{opacity:.95;mask-image:linear-gradient(transparent 20%,#000 33%,#000 76%,transparent 93%)}
#proyectos.gallery-ready .project-grid>.real-project{transform:translate(-50%,-50%) translate3d(var(--gallery-x,0px),calc(var(--gallery-y,0px) + var(--card-lift,0px)),0) rotateX(var(--card-tilt-x,0deg)) rotateY(calc(var(--gallery-turn,0deg) + var(--card-tilt-y,0deg))) scale(calc(var(--gallery-scale,1) * var(--card-zoom,1)));border-color:#a495da70;background:linear-gradient(140deg,#1c2032,#101421);box-shadow:inset 0 1px #e9dfff12,0 24px 50px -28px #000d,0 0 22px -14px #7567db77;transition:border-color .45s,box-shadow .45s}
#proyectos.gallery-ready .project-grid>.real-project[data-gallery-front="true"]{border-color:#d6c7ffb0;box-shadow:inset 0 1px #f4eaff30,0 28px 55px -25px #000a,0 0 30px #9876ec26,12px 12px 40px -24px #4d8cff80}
#proyectos.gallery-ready .real-project .real-project-art{border-color:#bda8f4a0;box-shadow:inset 0 1px #ffffff22,0 0 8px #a47bff40,0 0 24px -8px #627fff55;transition:filter .3s,border-color .4s,box-shadow .4s}
#proyectos.gallery-ready .real-project[data-gallery-front="true"] .real-project-art{border-color:#e2d6ffd0;box-shadow:0 0 7px #c3a1ff77,0 0 22px -6px #9853ff80,0 10px 30px -15px #508aff80}
#proyectos.gallery-ready .real-project .project-focus-light{background:radial-gradient(ellipse at var(--project-light-x,50%) var(--project-light-y,30%),#e4d7ff30,transparent 65%);opacity:var(--project-focus,.6)}
#proyectos.gallery-ready .real-project-open{background:linear-gradient(112deg,#42345fee,#303b59ee);border-color:#a694c588;box-shadow:inset 0 1px #e5d9ff20,0 5px 20px #17132066;transition:opacity .2s,background .2s}
#proyectos.gallery-ready .real-project[data-gallery-front="true"]{cursor:pointer}
#proyectos.gallery-ready .project-reflective-floor{opacity:.4;background:radial-gradient(ellipse at 38% 30%,#9e62ff27,transparent 45%),radial-gradient(ellipse at 67% 40%,#558bff24,transparent 45%)}
#proyectos.gallery-ready .gallery-controls{border-color:#a694c549;box-shadow:inset 0 1px #e5d9ff12,0 0 25px -12px #9671df44}
@media(max-width:760px){#proyectos.gallery-ready .project-energy{opacity:.72}}
@media(prefers-reduced-motion:reduce){#proyectos.gallery-ready .project-grid>.real-project{transform:translate(-50%,-50%) translate(var(--gallery-x,0px),var(--gallery-y,0px)) rotateY(var(--gallery-turn,0deg)) scale(calc(var(--gallery-scale,1) * var(--card-zoom,1)))!important}}
/* Light transfers continuously with the same violet/sapphire glass as the opening. */
#proyectos.gallery-ready .project-grid>.real-project,#proyectos.gallery-ready .project-grid>.real-project[data-gallery-front="true"]{border-color:rgb(196 172 255 / calc(.24 + var(--project-focus,0) * .5));box-shadow:inset 0 1px #f4eaff22,0 28px 55px -25px #000a,0 0 26px rgb(157 109 245 / calc(.03 + var(--project-focus,0) * .17)),10px 15px 35px -22px rgb(77 140 255 / calc(.1 + var(--project-focus,0) * .5))}
#proyectos.gallery-ready .real-project .real-project-art,#proyectos.gallery-ready .real-project[data-gallery-front="true"] .real-project-art{border-color:rgb(215 197 255 / calc(.4 + var(--project-focus,0) * .45));box-shadow:0 0 7px rgb(195 161 255 / calc(.1 + var(--project-focus,0) * .35)),0 0 22px -6px rgb(152 83 255 / calc(.1 + var(--project-focus,0) * .4)),0 10px 30px -15px #508aff70}
#proyectos.gallery-ready .project-energy{mask-image:linear-gradient(transparent 15%,#000 28%,#000 80%,transparent 98%)}
/* An uninterrupted atmospheric stage, with light in several depth planes. */
#proyectos.gallery-ready{border:0;box-shadow:none;background:#090d17}
#proyectos.gallery-ready .project-scene,#proyectos.gallery-ready .project-grid{overflow:visible;border:0;box-shadow:none}
#proyectos.gallery-ready .project-energy{opacity:1;mask-image:linear-gradient(transparent 4%,#000 21%,#000 85%,transparent 100%)}
#proyectos.gallery-ready .project-atmosphere{mask-image:linear-gradient(transparent,#000 12%,#000 88%,transparent);background:radial-gradient(ellipse 45% 40% at var(--scene-light-x,45%) 53%,#6530b044,transparent 85%),radial-gradient(ellipse 50% 45% at 82% 67%,#1e5fdc33,transparent 85%),radial-gradient(ellipse 65% 32% at 50% 86%,#55438e3d,transparent 85%),linear-gradient(#0f1113,#070c1d 40%,#080d1c 80%,#0f1113)}
#proyectos.gallery-ready .project-atmosphere:before{inset:15% -8% 0;height:auto;background:radial-gradient(ellipse at 25% 45%,#a468ff20,transparent 43%),radial-gradient(ellipse at 78% 60%,#417fff26,transparent 40%);filter:blur(35px);transform:translateX(calc((var(--scene-light-x,50%) - 50%) * .06))}
#proyectos.gallery-ready .project-reflective-floor{top:63%;bottom:-20%;opacity:.75;transform:perspective(750px) rotateX(52deg);background:repeating-linear-gradient(0deg,transparent 0 15px,#b2a1ff08 16px,transparent 17px 35px),radial-gradient(ellipse at 37% 28%,#9d5aff50,transparent 42%),radial-gradient(ellipse at 72% 35%,#4586ff40,transparent 44%);mask-image:radial-gradient(ellipse 50% 55% at 50% 40%,#000,transparent 95%)}
#proyectos.gallery-ready .project-reflective-floor:after{top:30%;height:2px;opacity:.65;background:linear-gradient(90deg,transparent,#9c71ff66,#b8ccff80,#4d8fff66,transparent);filter:blur(2px);box-shadow:0 0 30px #7c5be580}
@media(max-width:760px){#proyectos.gallery-ready .project-energy{opacity:.9}#proyectos.gallery-ready .project-reflective-floor{left:-45%;right:-45%;top:63%;transform:perspective(500px) rotateX(42deg)}}
/* Open surfaces: the current supplies light, without rigid luminous frames. */
#proyectos.gallery-ready .project-grid>.real-project,#proyectos.gallery-ready .project-grid>.real-project[data-gallery-front="true"],#proyectos.gallery-ready .project-grid>.real-project.is-project-active{border:0;box-shadow:0 28px 60px -25px #000b,0 0 45px -18px rgb(115 82 211 / calc(.08 + var(--project-focus,0) * .2));border-radius:15px}
#proyectos.gallery-ready .real-project .real-project-art,#proyectos.gallery-ready .real-project[data-gallery-front="true"] .real-project-art,#proyectos.gallery-ready .real-project.is-project-active .real-project-art{border:0;box-shadow:none;border-radius:8px}
#proyectos.gallery-ready .real-project .real-project-art:before{border:0;background:linear-gradient(110deg,#282737,#192231)}
#proyectos.gallery-ready .real-project .project-focus-light{background:radial-gradient(ellipse at var(--project-light-x,50%) var(--project-light-y,30%),#d4c1ff18,transparent 70%)}
#proyectos.gallery-ready .real-project:focus-visible{outline:2px solid #cab4f5;outline-offset:5px}
#proyectos.gallery-ready .real-project:focus-visible .real-project-art{outline:0}
/* Typography and previews live directly in the shared atmosphere. */
#proyectos.gallery-ready .section-heading,#proyectos.gallery-ready .section-heading *,#proyectos.gallery-ready .project-info,#proyectos.gallery-ready .project-info>*{background:transparent!important;box-shadow:none!important;border:0;backdrop-filter:none}
#proyectos.gallery-ready .project-grid>.real-project,#proyectos.gallery-ready .project-grid>.real-project[data-gallery-front="true"],#proyectos.gallery-ready .project-grid>.real-project.is-project-active{background:transparent;border:0;box-shadow:none;border-radius:0;padding:0;overflow:visible}
#proyectos.gallery-ready .real-project .real-project-art{overflow:hidden;border-radius:12px;background:#111724;isolation:isolate}
#proyectos.gallery-ready .real-project .project-info{padding:23px 9px 16px}
#proyectos.gallery-ready .section-heading h2,#proyectos.gallery-ready .project-info h3{text-shadow:0 2px 15px #070b16b3}
#proyectos.gallery-ready .project-info p,#proyectos.gallery-ready .project-info>span,#proyectos.gallery-ready .section-heading>p{text-shadow:0 1px 9px #070b16d9}
#proyectos.gallery-ready .real-project .real-project-art:before{border-radius:12px 12px 0 0}
#proyectos.gallery-ready .project-grid>.real-project{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important}
/* One readable caption at a time, revealed only once the project is settled. */
#proyectos.gallery-ready .real-project .project-info{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility 0s .22s;min-height:150px}
#proyectos.gallery-ready .real-project[data-gallery-caption="true"] .project-info{opacity:1;visibility:visible;transition:opacity .32s ease,visibility 0s;pointer-events:auto}
#proyectos.gallery-ready .project-info h3{font-size:clamp(25px,2.3vw,31px);line-height:1.25;max-width:100%;text-wrap:balance}
#proyectos.gallery-ready .project-info p{font-size:13px;line-height:1.7;color:#c6bfd3}
#proyectos.gallery-ready .project-info>span{font-size:12px;line-height:1.6;color:#c4b5dd}
@media(max-width:760px){#proyectos.gallery-ready .project-info h3{font-size:25px}#proyectos.gallery-ready .project-info p{font-size:12px}}
/* A single calm surface supports the caption; no separate strips behind each line. */
#proyectos.gallery-ready .real-project .project-info{margin-top:16px;padding:20px 22px 22px;min-height:154px;border-radius:18px;background:linear-gradient(140deg,#11182bef,#0b1224e8)!important;box-shadow:0 14px 35px -22px #0008!important;backdrop-filter:blur(14px);text-align:left;gap:10px}
#proyectos.gallery-ready .real-project .project-info>h3,#proyectos.gallery-ready .real-project .project-info>p,#proyectos.gallery-ready .real-project .project-info>span{background:transparent!important;box-shadow:none!important;text-shadow:none}
#proyectos.gallery-ready .real-project .project-info h3{color:#f2edf8;line-height:1.24}
#proyectos.gallery-ready .real-project .project-info p{color:#c4bfd2;line-height:1.65}
#proyectos.gallery-ready .real-project .project-info>span{color:#c8b9e0;margin-top:5px}
@media(max-width:760px){#proyectos.gallery-ready .real-project .project-info{padding:18px 17px 20px;margin-top:12px;min-height:150px}}
/* Reference glass cards with a translucent, feathered caption surface. */
#proyectos.gallery-ready .project-grid>.real-project{padding:11px!important;border:1px solid #b5a1e23d!important;border-radius:24px!important;background:linear-gradient(145deg,#22213799,#0b12237d 85%)!important;box-shadow:inset 0 1px #ffffff0d,0 26px 55px -30px #000b!important}
#proyectos.gallery-ready .project-grid>.real-project[data-gallery-front="true"]{border-color:#c5b0ec80!important;box-shadow:inset 0 1px #ffffff17,0 0 24px -13px #ae7cff77,0 28px 60px -30px #000c!important}
#proyectos.gallery-ready .real-project .real-project-art{border-radius:15px;border:1px solid #c7b3ef66;box-shadow:0 0 16px -7px #a675ee66}
#proyectos.gallery-ready .real-project .project-info{position:relative;isolation:isolate;background:transparent!important;box-shadow:none!important;backdrop-filter:none;margin-top:0;padding:25px 18px 22px;border-radius:0;min-height:154px}
#proyectos.gallery-ready .real-project .project-info:before{content:'';position:absolute;inset:5px -6px -5px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 48% 48%,#080e214d,transparent 75%);filter:blur(12px)}
#proyectos.gallery-ready .real-project .project-info h3{color:#f5f0fb;text-shadow:0 2px 10px #030713bb;font-size:clamp(25px,2.3vw,31px);line-height:1.24}
#proyectos.gallery-ready .real-project .project-info p{color:#d0c9dc;text-shadow:0 1px 7px #030713cc}
#proyectos.gallery-ready .real-project .project-info>span{color:#cfc1e6;text-shadow:0 1px 7px #030713cc}
@media(max-width:760px){#proyectos.gallery-ready .project-grid>.real-project{padding:8px!important;border-radius:19px!important}#proyectos.gallery-ready .real-project .project-info{padding:22px 12px 18px;margin-top:0}#proyectos.gallery-ready .real-project .project-info h3{font-size:25px}}
/* A quiet rear light plane adds depth behind the moving currents. */
#proyectos.gallery-ready .project-atmosphere:after{content:'';position:absolute;inset:18% -12% 2%;pointer-events:none;background:radial-gradient(ellipse 28% 43% at 20% 52%,#57308c30,transparent 85%),radial-gradient(ellipse 30% 38% at 84% 65%,#2461be30,transparent 85%),radial-gradient(ellipse 24% 50% at 52% 48%,#02050f65,transparent 90%);filter:blur(28px);transform:translate(calc((var(--scene-light-x,50%) - 50%) * -.06),calc((var(--scene-light-y,50%) - 50%) * -.035))}
#proyectos.gallery-ready .project-reflective-floor{box-shadow:0 -35px 95px -60px #9077f344}
/* Focused depth: a soft rear halo, darker wings and a grounded reflection. */
#proyectos.gallery-ready .project-atmosphere{background:radial-gradient(ellipse 30% 36% at var(--stage-focus-x,50%) var(--stage-focus-y,55%),#7951ba38,transparent 85%),radial-gradient(ellipse 42% 47% at 86% 68%,#16459a2a,transparent 85%),radial-gradient(ellipse 38% 45% at 6% 58%,#02061088,transparent 90%),linear-gradient(#0f1113,#070c1a 40%,#090e20 79%,#0f1113)}
#proyectos.gallery-ready .project-atmosphere:after{background:radial-gradient(ellipse 26% 32% at var(--stage-focus-x,50%) 60%,#7c46b92b,transparent 85%),radial-gradient(ellipse 30% 35% at 85% 65%,#2c67b526,transparent 85%);filter:blur(34px)}
#proyectos.gallery-ready .project-reflective-floor:before{background:radial-gradient(ellipse 16% 36% at var(--stage-focus-x,50%) 25%,#b298ff45,transparent 80%),radial-gradient(ellipse 34% 25% at 65% 40%,#5b8de52b,transparent 85%);filter:blur(24px)}
#proyectos.gallery-ready .project-grid>.real-project[data-gallery-front="true"]{box-shadow:0 35px 60px -30px #000c,0 0 40px -18px #ac83f24d,inset 0 1px #ffffff12!important}

/* Air above the previews lets the reference arch sweep down the sides. */
#proyectos.gallery-ready .project-scene{padding-top:56px}
@media(max-width:760px){#proyectos.gallery-ready .project-scene{padding-top:32px}}

/* Moving rear illumination and layered shadows give the swell a sense of depth. */
#proyectos.gallery-ready .project-atmosphere{background:radial-gradient(ellipse 22% 38% at var(--wave-crest-x,40%) 66%,#6450c045,transparent 88%),radial-gradient(ellipse 32% 37% at var(--stage-focus-x,50%) var(--stage-focus-y,55%),#7252ad40,transparent 85%),radial-gradient(ellipse 42% 48% at 87% 70%,#2058b83d,transparent 85%),radial-gradient(ellipse 50% 55% at 6% 58%,#020610aa,transparent 90%),linear-gradient(#0f1113,#050a17 40%,#0a122b 79%,#0f1113)}
#proyectos.gallery-ready .project-grid>.real-project{box-shadow:0 34px 65px -24px #000b,0 10px 24px -12px #0009,inset 0 1px #eee7ff19!important}
#proyectos.gallery-ready .project-grid>.real-project[data-gallery-front="true"]{box-shadow:0 48px 70px -25px #000e,-18px 5px 45px -25px #b678ff90,18px 20px 48px -26px #528effa0,inset 0 1px #ffffff29!important}
#proyectos.gallery-ready .project-reflective-floor:before{background:radial-gradient(ellipse 20% 32% at var(--wave-crest-x,45%) 34%,#8d8dff50,transparent 85%),radial-gradient(ellipse 17% 36% at var(--stage-focus-x,50%) 25%,#b298ff4d,transparent 80%),radial-gradient(ellipse 34% 25% at 68% 40%,#5b8de53b,transparent 85%);filter:blur(27px)}

/* Denser side glass keeps previews grounded against a deeper backdrop. */
#proyectos.gallery-ready .project-grid>.real-project:not([data-gallery-front="true"]){background:linear-gradient(145deg,#202238ef,#080f20f2 85%)!important}
#proyectos.gallery-ready .project-atmosphere{background:radial-gradient(ellipse 25% 38% at var(--wave-crest-x,40%) 66%,#6651bd32,transparent 88%),radial-gradient(ellipse 29% 38% at var(--stage-focus-x,50%) var(--stage-focus-y,55%),#7755bc4d,transparent 85%),radial-gradient(ellipse 35% 43% at 87% 73%,#205bba45,transparent 85%),radial-gradient(ellipse 48% 61% at 4% 54%,#01030cdd,transparent 88%),linear-gradient(#0f1113,#020611 38%,#080e22 79%,#0f1113)}

/* A single proximity target lifts into the cursor light; side previews stay subdued. */
#proyectos.gallery-ready .project-grid>.real-project:not([data-gallery-front="true"]){background:linear-gradient(145deg,#131729f5,#040914fa 85%)!important}
#proyectos.gallery-ready .project-grid>.real-project.is-project-near{box-shadow:var(--cursor-shadow-x,0px) var(--cursor-shadow-y,30px) 60px -15px #000e,-15px 0 40px -19px rgb(174 112 255 / calc(var(--card-near,0) * .53)),15px 8px 42px -20px rgb(75 143 255 / calc(var(--card-near,0) * .5)),inset 0 1px rgb(227 213 255 / calc(.08 + var(--card-near,0) * .12))!important}

/* The sole hover owner gains clarity as its depth envelope rises. */
#proyectos.gallery-ready .real-project .real-project-art{filter:brightness(var(--gallery-brightness,1))!important;transition:filter .25s ease}

/* Keep exploration on the cards; remove the requested toolbar. */
#proyectos.gallery-ready .gallery-controls{display:none!important}
#proyectos.gallery-ready .gallery-hint{margin-top:28px}

/* Immediate light feedback precedes the exclusive smooth scale handoff. */
#proyectos.gallery-ready .project-grid>.real-project[data-cursor-target="true"]{border-color:#c3b5dd99!important;box-shadow:var(--cursor-shadow-x,0px) var(--cursor-shadow-y,30px) 65px -15px #000e,-18px 0 46px -19px #a58ccf66,18px 8px 48px -20px #7698cb66,inset 0 1px #e3d5ff44!important;transition:border-color .12s ease,box-shadow .16s ease}

@media(max-width:760px){#proyectos.gallery-ready .real-project .project-info p{font-size:14px;line-height:1.6}#proyectos.gallery-ready .real-project .project-info>span{font-size:13px}#proyectos.gallery-ready .gallery-hint{max-width:90%;margin-inline:auto;line-height:1.6}}

#proyectos.gallery-ready .real-project .project-focus-light{opacity:calc(var(--project-focus,0) * .35);background:radial-gradient(ellipse at var(--project-light-x,50%) var(--project-light-y,30%),#d4c9eb12,transparent 70%)}

.contact-email{display:flex;flex-direction:column;gap:5px;width:fit-content;max-width:100%;margin:18px 0;color:#d4c8e8;text-decoration:none;font-size:15px;line-height:1.6;overflow-wrap:anywhere}.contact-email span:first-child{font-size:12px;letter-spacing:.06em;color:#b4a9c2}.contact-email:hover{color:#fff}.contact-email:focus-visible{outline:2px solid #b9a1e0;outline-offset:6px}

/* Remove arrow-only decoration and its empty button compartments. */
.real-project[href]{text-decoration:none;color:inherit;user-select:none;-webkit-user-drag:none}
.real-project[href] img{pointer-events:none;-webkit-user-drag:none}
/* Preserve vertical page scrolling and pinch zoom while horizontal drags explore. */
#proyectos.gallery-ready .project-grid,#proyectos.gallery-ready .project-grid>.real-project{touch-action:pan-y pinch-zoom}
#proyectos.gallery-ready .project-grid>.real-project{-webkit-user-select:none;user-select:none}
#proyectos.gallery-ready .project-energy{-webkit-mask-image:linear-gradient(transparent 4%,#000 21%,#000 85%,transparent 100%)}
#proyectos.gallery-ready .project-reflective-floor{-webkit-mask-image:radial-gradient(ellipse 50% 55% at 50% 40%,#000,transparent 95%)}
.project-preview-dimmer{display:none;pointer-events:none}
@media(max-width:760px),(hover:none) and (pointer:coarse){
 #proyectos.gallery-ready .project-grid>.real-project{backface-visibility:hidden;-webkit-backface-visibility:hidden;isolation:isolate}
 #proyectos.gallery-ready .real-project .real-project-art{filter:none!important;transition:none;backface-visibility:hidden;-webkit-backface-visibility:hidden}
 #proyectos.gallery-ready .real-project .project-preview-dimmer{display:block;position:absolute;inset:0;background:#000;opacity:calc(1 - var(--gallery-brightness,1));z-index:1;will-change:opacity}
 #proyectos.gallery-ready .real-project .real-project-open{z-index:3}
 /* Keep one stable surface when the logical center changes during a swipe. */
 #proyectos.gallery-ready .project-grid>.real-project,
 #proyectos.gallery-ready .project-grid>.real-project[data-gallery-front="true"],
 #proyectos.gallery-ready .project-grid>.real-project:not([data-gallery-front="true"]){background:linear-gradient(145deg,#171929f5,#080e1bfa 85%)!important;box-shadow:0 28px 48px -24px #000c,inset 0 1px #eee7ff19!important}
}
.reference-arrow,.button>span:empty,.intro-enter>span:empty,.next-link>span:empty,.hero-actions a>span:empty{display:none!important}
/* Mobile uses native momentum and snapping: no rotating layers or disappearing copy. */
#proyectos.native-gallery .project-grid{
 --native-card-width:min(360px,calc(100vw - 72px));
 display:flex;justify-content:flex-start;gap:18px;height:auto;min-height:0;align-items:stretch;
 overflow-x:auto;overflow-y:hidden;box-sizing:border-box;
 padding:28px max(12px,calc((100% - var(--native-card-width))/2)) 40px;
 scroll-snap-type:x mandatory;overscroll-behavior-x:contain;
 touch-action:pan-x pan-y pinch-zoom;-webkit-overflow-scrolling:touch;
 scrollbar-width:none;perspective:none;
}
#proyectos.native-gallery .project-grid::-webkit-scrollbar{display:none}
#proyectos.native-gallery .project-grid.is-native-dragging{scroll-snap-type:none;cursor:grabbing}
#proyectos.native-gallery .project-grid>.real-project,
#proyectos.native-gallery .project-grid>.real-project:nth-child(even){
 position:relative;left:auto;top:auto;flex:0 0 var(--native-card-width);
 width:var(--native-card-width);max-width:none;margin:0;
 transform:none!important;translate:none!important;opacity:1!important;
 scroll-snap-align:center;scroll-snap-stop:normal;will-change:auto;
 touch-action:pan-x pan-y pinch-zoom;transition:none!important;
 background:linear-gradient(145deg,#171929f5,#080e1bfa 85%)!important;
 box-shadow:0 20px 38px -25px #000c,inset 0 1px #eee7ff19!important;
}
#proyectos.native-gallery .real-project .project-info,
#proyectos.native-gallery .real-project:not([data-gallery-front="true"]) .project-info{
 opacity:1!important;visibility:visible!important;pointer-events:auto;transition:none;min-height:154px;
}
#proyectos.native-gallery .real-project .real-project-art{filter:none!important;transform:none!important;backdrop-filter:none;transition:none}
#proyectos.native-gallery .real-project .project-info:before{filter:none;background:none}
#proyectos.native-gallery .real-project>.project-preview-dimmer{display:block;position:absolute;inset:0;border-radius:inherit;background:#000;opacity:calc(1 - var(--gallery-brightness,1));z-index:4;pointer-events:none;transition:opacity .12s linear}
#proyectos.native-gallery .real-project .real-project-open{opacity:1;z-index:3;backdrop-filter:none;-webkit-backdrop-filter:none}
#proyectos.native-gallery .project-focus-light{display:none}
@media(max-width:760px){#proyectos.native-gallery .project-grid{--native-card-width:min(300px,calc(100vw - 120px));width:calc(100% + 48px);margin-inline:-24px;gap:10px;padding-inline:max(12px,calc((100% + 48px - var(--native-card-width))/2))}}
.button:has(>span:empty),.intro-enter:has(>span:empty){padding-inline:24px!important;gap:0!important}

@media(prefers-reduced-motion:reduce){#proyectos.native-gallery .real-project>.project-preview-dimmer{transition:none}}
