/* Additive home/dock composition on V2. Case, intro, viewer and fonts remain original. */
.portfolio{padding-bottom:160px}
.v2-home-route .portfolio>.archive-header{padding-top:12px}
.v2-home-route .archive-header .system-ribbon{height:34px;padding:4px 0}
.v2-home-route .portfolio #main>.home-page{padding:38px 0 0;display:grid;grid-template-rows:minmax(280px,1.2fr) minmax(205px,.8fr);gap:42px;height:calc(100svh - 286px);min-height:565px}
.v2-home-route .home-page .home-profile{margin:0;min-height:0}
.v2-home-route .home-page .home-profile-grid{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(0,2.5fr) minmax(180px,.8fr);grid-template-rows:1fr auto;gap:12px 24px;padding:20px 20px 16px;height:calc(100% - 27px);align-items:center}
.v2-home-route .home-page .home-profile-grid>.home-portrait{grid-column:1;grid-row:1/3;width:100%;height:calc(100% - 44px);min-height:0;max-width:240px;aspect-ratio:auto;align-self:end;margin:44px 0 0;overflow:visible}
.v2-home-route .home-page .portrait-tools{bottom:calc(100% + 8px);height:34px;left:9%;width:82%}
.v2-home-route .home-page .portrait-tool{width:35px;height:35px}
.v2-home-route .home-page .home-bio{grid-column:2;grid-row:1;align-self:end}
.v2-home-route .portfolio .home-page .home-bio>.eyebrow{font-size:18px;line-height:1.1}
.v2-home-route .home-page .home-bio h1{font-size:clamp(32px,3.6vw,50px);line-height:1.05;margin:8px 0 10px}
.v2-home-route .portfolio .home-roles{font-size:19px;line-height:1.2;margin:0}
.v2-home-route .home-page .home-description{font-size:16px;line-height:1.5;margin:10px 0 0;max-width:68ch}
.v2-home-route .home-page .home-more{min-height:28px;font-size:18px;margin-top:6px}
.v2-home-route .home-page .home-profile-links{grid-column:2;grid-row:2;padding:0;margin:0;align-self:start}
.v2-home-route .home-page .home-socials{gap:8px}
.v2-home-route .home-page .home-socials .social-square{width:34px;height:34px;min-height:34px;flex-basis:34px;padding:7px;border-width:1px}
.v2-home-route .home-page .cv-floating{position:relative;grid-column:3;grid-row:1/3;right:auto;bottom:auto;align-self:center;width:100%;max-width:100%;margin:0;padding:4px;box-shadow:none}
.v2-home-route .portfolio .contact-window-bar{padding:4px 6px;gap:5px;font-size:15px}
.v2-home-route .cv-window-index{font-size:13px;padding-left:6px}.v2-home-route .cv-window-mark{font-size:15px}
.v2-home-route .cv-path{padding:7px 5px;font-size:12px}
.v2-home-route .cv-window-content{padding:10px 7px}.v2-home-route .cv-document-row{grid-template-columns:30px minmax(0,1fr);gap:8px}
.v2-home-route .cv-document{height:44px}.v2-home-route .cv-document svg{width:30px;height:40px}.v2-home-route .cv-document>span{display:none}
.v2-home-route .portfolio .cv-file-label{font-size:12px}.v2-home-route .cv-window-title{font-size:22px;margin:7px 0;white-space:nowrap}.v2-home-route .cv-file-meta{font-size:12px}
.v2-home-route .cv-filename{font-size:12px;padding:8px 0;margin:10px 0 6px}.v2-home-route .portfolio .cv-floating .cv-download{font-size:16px;padding:5px 8px;min-height:34px;gap:8px;width:100%}
.v2-home-route .cv-status-rail{font-size:10px;padding:8px 5px;gap:5px}.v2-home-route .cv-signal{max-width:40px}
.v2-home-route .home-profile>.file-scan{margin:0;height:27px;min-height:0;padding:4px 12px;font-size:12px;gap:12px}
.v2-home-route .home-page .home-highlights{display:grid;grid-template-columns:1fr 1fr;gap:26px;min-height:0}
.v2-home-route .home-page .home-feature{margin:0;min-height:0}
.v2-home-route .home-page .home-feature>.file-scan{display:none}
.v2-home-route .home-page .home-feature-link{display:grid;grid-template-columns:42% 58%;gap:0;height:100%;padding:12px;min-height:0;align-items:stretch}
.v2-home-route .home-page .home-feature-copy{grid-column:auto;padding:5px 12px 5px 5px;display:flex;flex-direction:column;min-height:0}
.v2-home-route .home-page .home-feature-copy>.eyebrow{font-size:15px;line-height:1.1}
.v2-home-route .home-page .home-feature-title{font-size:clamp(25px,2.5vw,35px);line-height:1.1;margin:10px 0}
.v2-home-route .home-page .home-feature-description{font-size:13px;line-height:1.45;margin:0}
.v2-home-route .portfolio .home-page .home-open-label{font-size:17px;line-height:1.2;margin-top:auto;padding-top:12px}
.v2-home-route .home-page .home-feature-image{grid-column:auto;min-height:0;height:100%;aspect-ratio:auto;margin:0;box-shadow:none!important;background:#000}
.v2-home-route .home-page .home-feature-image img{width:100%;height:100%;object-fit:contain;object-position:center}
.v2-home-route .home-page>.home-library,.v2-home-route .home-page>.instrument-deck{display:none}
.v2-home-route .portfolio>.site-footer{margin-top:175px}
.v2-dock-zone{position:fixed;z-index:19;bottom:10px;left:max(38px,3.8vw);right:max(38px,3.8vw);height:142px;display:flex;justify-content:center;align-items:flex-end;pointer-events:none}
.v2-retro-dock{position:relative;isolation:isolate;width:464px;height:140px;display:flex;flex-direction:column;align-items:center;gap:14px;pointer-events:auto;padding-bottom:14px}
.v2-retro-dock::before{content:'';position:absolute;inset:20px 0 0;z-index:-1;background:repeating-linear-gradient(0deg,#14170d18 0 1px,transparent 1px 4px),var(--yellow);clip-path:polygon(0 94%,5% 52%,24% 52%,32% 0,68% 0,76% 52%,95% 52%,100% 94%,99% 100%,1% 100%)}
.v2-dock-row{display:flex;gap:14px}.v2-dock-key{position:relative;display:flex;align-items:center;justify-content:center;width:62px;height:62px;padding:0;border:1px solid var(--yellow);background:var(--black);color:var(--yellow);box-shadow:3px 3px 0 #847341;font:18px/1 'VT323',monospace;cursor:pointer}
.v2-dock-key svg{width:30px;height:30px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linejoin:round}.v2-dock-home{width:146px;height:42px;flex:none;gap:12px}.v2-dock-home svg{width:24px;height:24px}
.v2-dock-key.is-current{background:#f1dc87;color:#11150c;border-color:#fff2bb;box-shadow:3px 3px 0 #847341,inset 0 0 0 3px #14170d}.v2-dock-key.is-current::after{content:'';position:absolute;bottom:7px;right:7px;width:4px;height:4px;background:currentColor}
.v2-dock-key:hover{background:#343420}.v2-dock-key.is-current:hover{background:#f8e9a6}.v2-dock-key:focus-visible{outline:2px solid #fff1a6;outline-offset:4px}
.v2-dock-behance{outline:1px solid var(--yellow);outline-offset:-5px}.v2-dock-behance svg{stroke-width:1.15}
.v2-dock-tooltip{position:absolute;bottom:calc(100% + 9px);left:50%;transform:translateX(-50%);padding:6px 9px;white-space:nowrap;background:#14170e;border:1px solid var(--yellow);color:#f5e8b0;font:17px/1.1 'VT323',monospace;visibility:hidden;opacity:0;pointer-events:none;z-index:3}.v2-dock-key:hover .v2-dock-tooltip,.v2-dock-key:focus-visible .v2-dock-tooltip{visibility:visible;opacity:1}
.v2-dock-ticks{position:absolute;bottom:5px;width:90px;height:4px;background:repeating-linear-gradient(90deg,#292d17 0 1px,transparent 1px 5px)}
.v2-dock-art{position:absolute;bottom:8px;color:#b6a45c;display:flex;flex-direction:column;gap:7px;font:15px/1.2 'VT323',monospace;letter-spacing:.03em}.v2-dock-art svg{width:140px;height:42px;stroke:currentColor;fill:none;stroke-width:1}.v2-dock-art small{font-size:12px;color:#847e54}.art-left{left:0}.art-right{right:0;text-align:right}.art-right svg{align-self:flex-end}
.intro-active .v2-dock-zone,.intro-entering .v2-dock-zone{display:none}
/* CRT adds static scanlines and one compositor-only sweep, without new render loops. */
.portfolio::after{content:'';position:fixed;inset:0;z-index:24;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 2px,#0002 2px 3px);opacity:.65}
html:not(.crt-fulgor-on) .portfolio::after{display:none}
.v2-dock-zone::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(transparent,#ffec8a0b,transparent);animation:v2-signal-sweep 9s linear infinite;opacity:.6}
@keyframes v2-signal-sweep{from{transform:translateY(-20px)}to{transform:translateY(20px)}}
@media(min-width:821px) and (max-height:800px){.v2-home-route .portfolio #main>.home-page{height:calc(100svh - 274px);min-height:476px;grid-template-rows:minmax(240px,1.2fr) minmax(190px,.8fr);gap:36px;padding-top:32px}.v2-home-route .portfolio>.archive-header{padding-top:5px}.v2-home-route .home-page .home-profile-grid{padding:14px 16px 10px;gap:7px 20px;grid-template-columns:165px minmax(0,1fr) 190px}.v2-home-route .home-page .home-bio h1{font-size:36px;margin:5px 0 7px}.v2-home-route .home-page .home-description{font-size:14px;line-height:1.45;margin-top:7px}.v2-home-route .portfolio .home-roles{font-size:18px}.v2-home-route .home-page .home-feature-title{font-size:29px;margin:7px 0}.v2-home-route .home-page .home-feature-description{font-size:12px}.v2-home-route .cv-window-content{padding:8px 6px}.v2-home-route .cv-filename{margin:6px 0;padding:4px 0}.v2-home-route .cv-status-rail{padding:6px 4px}.v2-home-route .cv-path{padding:5px}.v2-dock-zone{bottom:6px}}
@media(min-width:821px) and (max-width:1100px){.v2-home-route .home-page .home-profile-grid{grid-template-columns:140px minmax(0,1fr) 160px;gap:10px 14px}.v2-home-route .home-page .home-description{font-size:14px}.v2-home-route .home-page .home-bio h1{font-size:34px}.v2-home-route .cv-document{display:none}.v2-home-route .cv-document-row{grid-template-columns:1fr}.v2-home-route .home-page .home-feature-title{font-size:26px}.v2-dock-art svg{width:90px}}
@media(max-width:820px){.portfolio{padding-bottom:150px}.v2-home-route .portfolio #main>.home-page{display:block;height:auto;min-height:0;padding-top:38px}.v2-home-route .portfolio>.archive-header{padding-top:10px}.v2-home-route .archive-header .system-ribbon{height:36px;grid-template-columns:1fr auto;grid-template-rows:auto;font-size:15px}.v2-home-route .archive-header .archive-route{justify-self:end}.v2-home-route .home-page .home-profile-grid{display:grid;grid-template-columns:1fr;grid-template-rows:auto;gap:15px;padding:18px 18px 20px;height:auto}.v2-home-route .home-page .home-profile-grid>.home-portrait{grid-column:1;grid-row:auto;height:200px;width:210px;max-width:100%;margin:42px auto 0;align-self:center;justify-self:center}.v2-home-route .home-page .home-bio{grid-column:1;grid-row:auto;align-self:auto}.v2-home-route .home-page .home-bio h1{font-size:38px;margin:10px 0 12px}.v2-home-route .portfolio .home-roles{font-size:20px;line-height:1.3}.v2-home-route .home-page .home-description{font-size:16px;line-height:1.6;margin-top:12px}.v2-home-route .home-page .home-more{min-height:44px;margin:0;font-size:20px}.v2-home-route .home-page .home-profile-links{grid-column:1;grid-row:auto}.v2-home-route .home-page .home-socials .social-square{height:44px;width:44px;min-height:44px;flex-basis:44px;padding:10px}.v2-home-route .home-page .cv-floating{grid-column:1;grid-row:auto;width:100%;padding:5px;margin:0}.v2-home-route .cv-path,.v2-home-route .cv-document-row,.v2-home-route .cv-filename,.v2-home-route .cv-status-rail{display:none}.v2-home-route .cv-window-content{padding:8px 3px 3px}.v2-home-route .portfolio .cv-floating .cv-download{min-height:44px;font-size:20px}.v2-home-route .portfolio .contact-window-bar{font-size:18px;padding:6px}.v2-home-route .home-profile>.file-scan{font-size:11px;gap:8px;padding:4px 8px}.v2-home-route .home-profile .scan-counter{display:none}.v2-home-route .home-page .home-highlights{grid-template-columns:1fr;gap:46px;margin-top:46px}.v2-home-route .home-page .home-feature{min-height:235px}.v2-home-route .home-page .home-feature-link{grid-template-columns:43% 57%;padding:10px;min-height:235px}.v2-home-route .home-page .home-feature-copy{padding:3px 10px 3px 2px}.v2-home-route .home-page .home-feature-title{font-size:29px;margin:10px 0}.v2-home-route .home-page .home-feature-copy>.eyebrow{font-size:16px}.v2-home-route .home-page .home-feature-description{font-size:12px}.v2-home-route .home-page .home-feature-image{aspect-ratio:auto;height:100%;min-height:0}.v2-home-route .portfolio>.site-footer{margin-top:36px}.v2-dock-zone{left:0;right:0;bottom:0;height:141px;background:linear-gradient(transparent,var(--black) 20%);padding-bottom:max(8px,env(safe-area-inset-bottom))}.v2-retro-dock{width:min(390px,100%);height:124px;gap:12px}.v2-dock-key{width:52px;height:56px}.v2-dock-home{width:136px;height:38px}.v2-dock-row{gap:12px}.v2-dock-key svg{width:27px;height:27px}.v2-dock-home svg{width:22px;height:22px}.v2-dock-art{display:none}.v2-dock-tooltip{font-size:16px}.v2-dock-row .v2-dock-key:first-child .v2-dock-tooltip{left:0;transform:none}.v2-dock-row .v2-dock-key:last-child .v2-dock-tooltip{left:auto;right:0;transform:none}.v2-dock-zone::after{display:none}}
@media(max-width:360px){.v2-dock-row{gap:9px}.v2-dock-key{width:48px}.v2-dock-home{width:130px}.v2-home-route .home-page .home-feature-title{font-size:25px}.v2-home-route .home-page .home-profile-grid{padding-inline:12px}}
.v2-home-route .home-page .home-description{max-width:none;width:100%}
.v2-home-route .portfolio .home-page .home-tab{font-size:18px;line-height:1;padding:5px 12px 7px}
.v2-home-route .cv-file-label,.v2-home-route .cv-file-meta{margin:3px 0}
@media(min-width:821px) and (max-height:800px){.v2-home-route .portfolio #main>.home-page{padding-top:30px;grid-template-rows:290px 164px;gap:34px;min-height:518px}.v2-home-route .home-page .home-feature-link{padding:8px}.v2-home-route .home-page .home-feature-title{font-size:26px;margin:5px 0}.v2-home-route .home-page .home-feature-description{font-size:12px;line-height:1.35}.v2-home-route .portfolio .home-page .home-open-label{padding-top:5px;font-size:16px}}
@media(prefers-reduced-motion:reduce){.v2-dock-zone::after{animation:none;display:none}}
@media(min-width:821px) and (max-height:800px){.v2-home-route .portfolio #main>.home-page{padding-top:26px}.v2-retro-dock{height:134px}} html{scroll-padding-bottom:160px}

/* Correcciones aprobadas: alineación, aire y separación CRT de corte definido. */
.portfolio{padding-bottom:210px}html{scroll-padding-top:120px;scroll-padding-bottom:210px}
.v2-home-route .home-page .home-bio{align-self:start}
.v2-home-route .home-page .home-profile-grid{align-content:start;grid-template-rows:auto auto;gap:8px 24px;padding-top:18px;padding-bottom:18px;height:calc(100% - 40px)}
.v2-home-route .home-page .home-profile-grid>.home-portrait{height:190px;max-height:calc(100% - 65px);margin:65px 0 0;align-self:start;overflow:hidden}
.v2-home-route .home-page .home-profile-grid>.home-portrait{overflow:visible}
.v2-home-route .home-page .portrait-tools{height:56px;bottom:calc(100% + 9px);left:0;width:100%}
.v2-home-route .home-page .portrait-tool{width:56px;height:56px;flex:none}
.v2-home-route .home-page .home-socials .social-square{width:44px;height:44px;min-height:44px;flex-basis:44px;padding:10px}
.v2-home-route .home-profile>.file-scan{height:32px;min-height:32px;position:relative;z-index:2;margin-top:8px}
.v2-home-route .portfolio .home-page .home-tab{border:0;box-shadow:none;background:none;border-radius:0;padding:0 0 7px;left:0;top:-27px;color:var(--yellow)}
.category-page .category-file{margin-top:24px}
.v2-dock-zone{left:0;right:0;bottom:0;height:184px;padding:12px 3.8% 8px;background:repeating-linear-gradient(0deg,#14170d 0 1px,#080908 1px 4px);border-top:1px solid #8b7b42;box-shadow:none;filter:none}
.v2-dock-zone::after{display:none}
.v2-retro-dock{width:560px;height:164px;gap:20px;padding-bottom:18px}
.v2-dock-row{gap:22px}.v2-dock-key{width:70px;height:70px;box-shadow:none}.v2-dock-home{width:170px;height:44px}
.v2-dock-key.is-current{box-shadow:none;background:#f1dc87;color:#11150c}
.v2-dock-behance,.v2-dock-behance.is-current{border:2px dotted currentColor;outline:none;box-shadow:none}
.v2-dock-art{bottom:20px}.v2-dock-art.art-left{left:3.8%}.v2-dock-art.art-right{right:3.8%}
@media(min-width:821px){.v2-home-route .portfolio #main>.home-page{height:calc(100svh - 330px);min-height:520px;grid-template-rows:minmax(300px,1.4fr) minmax(180px,1fr);gap:35px;padding-top:32px}}
@media(min-width:821px) and (max-height:800px){.v2-home-route .portfolio #main>.home-page{height:auto;min-height:0;grid-template-rows:282px 154px;gap:28px;padding-top:24px}.v2-home-route .home-page .home-profile-grid{padding:10px 16px 16px;gap:6px 20px;grid-template-columns:185px minmax(0,1fr) 190px}.v2-home-route .home-page .home-profile-grid>.home-portrait{height:157px;max-height:none;margin-top:62px}.v2-home-route .home-page .home-bio h1{margin:4px 0;font-size:36px}.v2-home-route .home-page .home-more{min-height:24px;margin-top:3px}.v2-home-route .home-page .home-description{margin-top:5px;line-height:1.35}.v2-home-route .home-page .portrait-tool{width:52px;height:52px}.v2-home-route .home-page .home-feature-title{font-size:25px}.v2-dock-zone{height:174px;padding-top:6px}.v2-retro-dock{height:160px}}
@media(max-width:820px){.portfolio{padding-bottom:155px}html{scroll-padding-bottom:155px}.v2-home-route .home-page .home-profile-grid{height:auto;gap:15px;padding:18px 18px 20px}.v2-home-route .home-page .home-profile-grid>.home-portrait{height:200px;max-height:none;margin:66px auto 0;align-self:center}.v2-home-route .home-page .portrait-tool{width:48px;height:48px}.v2-home-route .home-page .home-profile-links{margin:0}.v2-home-route .home-profile>.file-scan{margin-top:0}.v2-dock-zone{height:132px;padding:6px 0 max(8px,env(safe-area-inset-bottom));background:repeating-linear-gradient(0deg,#14170d 0 1px,#080908 1px 4px);border-top:1px solid #8b7b42}.v2-retro-dock{width:min(360px,100%);height:118px;gap:12px;padding-bottom:12px}.v2-dock-key{width:48px;height:48px}.v2-dock-home{width:128px;height:44px}.v2-dock-row{gap:12px}.v2-dock-key svg{width:25px;height:25px}.v2-dock-home svg{width:22px;height:22px}.v2-home-route .portfolio .home-page .home-tab{top:-27px}.v2-home-route .home-page .home-feature{margin-top:0}}
@media(max-width:360px){.v2-dock-key{width:44px}.v2-dock-home{width:120px}.v2-dock-row{gap:10px}.v2-home-route .home-page .home-profile-grid{padding-inline:12px}}
.v2-home-route .home-page .home-profile-grid>.home-portrait{bottom:auto;top:auto}.v2-home-route .home-page .home-profile-grid{height:calc(100% - 32px)}.v2-home-route .home-profile>.file-scan{height:24px;min-height:24px}@media(min-width:821px) and (min-height:801px){.v2-home-route .portfolio #main>.home-page{height:auto;grid-template-rows:340px 180px;gap:28px}}@media(max-width:820px){.v2-home-route .home-page .home-profile-grid{height:auto}.v2-home-route .home-profile>.file-scan{height:32px;min-height:32px}}
@media(min-width:821px) and (min-height:801px){.v2-home-route .home-page .home-feature-title{font-size:30px;margin:6px 0}.v2-home-route .home-page .home-feature-description{font-size:12px;line-height:1.35}.v2-home-route .portfolio .home-page .home-open-label{padding-top:6px}}.v2-dock-zone{pointer-events:auto}

/* Proporciones del montaje del usuario, sin zoom global. */
.v2-home-route .portfolio>.site-footer{display:none}
.v2-dock-zone{background:none;border:0;box-shadow:none;filter:none;pointer-events:none;height:160px;padding:8px 3.8%}
.v2-retro-dock{width:500px;height:144px;gap:18px;padding-bottom:14px}
.v2-retro-dock::after{content:'';position:absolute;inset:-72px -81px;z-index:-2;pointer-events:none;background:url('assets/crt-dock-shadow.svg') center/100% 100% no-repeat}
.v2-dock-key{width:62px;height:62px}.v2-dock-row{gap:18px}.v2-dock-home{width:150px;height:44px}
@media(min-width:821px){
 .v2-home-route .portfolio #main>.home-page{width:min(1055px,100%);max-width:1055px;margin-inline:auto;height:auto;min-height:0;grid-template-rows:444px 226px;gap:44px;padding-top:38px}
 .v2-home-route .home-page .home-profile-grid{height:calc(100% - 33px);padding:24px 22px 14px 4px;grid-template-columns:minmax(0,351fr) minmax(0,375fr) minmax(0,240fr);grid-template-rows:1fr 46px;gap:10px 25px;align-content:stretch}
 .v2-home-route .home-page .home-profile-grid>.home-portrait{width:100%;max-width:none;height:289px;max-height:none;margin:90px 0 0;align-self:start;bottom:auto;top:auto}
 .v2-home-route .home-page .portrait-tools{left:6%;width:88%;height:65px;bottom:calc(100% + 17px)}
 .v2-home-route .home-page .portrait-tool{width:66px;height:66px}
 .v2-home-route .home-page .home-bio{align-self:start;padding-top:29px}
 .v2-home-route .home-page .home-bio h1{font-size:36px;line-height:1.08;margin:10px 0 17px;white-space:nowrap}
 .v2-home-route .portfolio .home-roles{font-size:18px;line-height:1.2}
 .v2-home-route .home-page .home-description{font-size:14px;line-height:1.4;margin-top:17px;max-width:none}
 .v2-home-route .home-page .home-more{font-size:19px;min-height:28px;margin-top:14px}
 .v2-home-route .home-page .home-profile-links{justify-content:flex-end;align-self:end}
 .v2-home-route .home-page .home-socials{gap:10px}
 .v2-home-route .home-page .home-socials .social-square{width:45px;height:45px;min-height:45px;flex-basis:45px}
 .v2-home-route .home-page .cv-floating{align-self:center;width:100%;padding:5px}
 .v2-home-route .cv-window-content{padding:14px 8px}.v2-home-route .cv-path{padding:9px 5px}.v2-home-route .cv-filename{padding:9px 0;margin:10px 0}.v2-home-route .cv-status-rail{padding:10px 5px}.v2-home-route .portfolio .cv-floating .cv-download{min-height:40px;font-size:18px}
 .v2-home-route .home-profile>.file-scan{height:33px;min-height:33px;margin:0}
 .v2-home-route .home-page .home-highlights{gap:20px}
 .v2-home-route .home-page .home-feature-link{padding:12px;grid-template-columns:44% 56%}
 .v2-home-route .home-page .home-feature-title{font-size:30px;margin:10px 0}
 .v2-home-route .home-page .home-feature-description{font-size:12px;line-height:1.4}
 .v2-home-route .portfolio .home-page .home-open-label{font-size:17px;padding-top:8px}
}
@media(min-width:821px) and (max-width:1100px){.v2-home-route .home-page .home-profile-grid{grid-template-columns:29% minmax(0,1fr) 22%;gap:10px 18px}.v2-home-route .home-page .home-bio h1{font-size:30px;white-space:normal}.v2-home-route .home-page .home-description{font-size:13px}.v2-home-route .home-page .portrait-tool{width:52px;height:52px}}
@media(max-width:820px){.v2-dock-zone{height:126px;padding:4px 0 max(8px,env(safe-area-inset-bottom));background:none;border:0}.v2-retro-dock{width:min(340px,100%);height:114px;gap:10px;padding-bottom:12px}.v2-dock-key{width:44px;height:46px}.v2-dock-home{width:120px;height:44px}.v2-dock-row{gap:12px}.v2-retro-dock::after{inset:-48px -40px;background-size:100% 100%}}
@media(max-width:360px){.v2-dock-row{gap:10px}.v2-dock-home{width:112px}}
.v2-home-route .home-page .home-socials{width:100%;justify-content:flex-end}@media(min-width:821px){.v2-home-route .v2-dock-zone{position:relative;left:auto;right:auto;bottom:auto;margin:44px auto 0;max-width:1055px;height:160px;padding:8px 0}.v2-home-route .portfolio{padding-bottom:12px}.v2-home-route .v2-dock-art.art-left{left:0}.v2-home-route .v2-dock-art.art-right{right:0}}

/* Caja original y dock siempre anclado; conserva sombra CRT aprobada. */
.v2-dock-zone,.v2-home-route .v2-dock-zone{position:fixed;left:0;right:0;bottom:0;margin:0;max-width:none;height:160px;padding:8px 3.8%;background:none;border:0}
.v2-home-route .portfolio{padding-bottom:210px}
.v2-dock-art{display:none}.v2-home-route .v2-dock-art{display:flex}.v2-home-route .v2-dock-art.art-left{left:3.8%}.v2-home-route .v2-dock-art.art-right{right:3.8%}
.v2-retro-dock::after{inset:-108px -117px;background-image:url('assets/crt-dock-shadow.svg?v=5')}
.v2-home-route .portfolio .home-page .home-tab{top:auto;bottom:calc(100% - 1px);left:-1px;border:1px solid var(--home-border);border-bottom-color:var(--black);border-radius:5px 9px 0 0;background:var(--black);padding:8px 14px;font-size:18px;line-height:1.1}
@media(min-width:821px){
 .v2-home-route .portfolio #main>.home-page{width:100%;max-width:none;margin-inline:0;grid-template-rows:clamp(444px,32vw,600px) clamp(226px,16vw,310px);gap:44px}
 .v2-home-route .home-page .home-profile-grid{grid-template-columns:minmax(0,351fr) minmax(0,375fr) minmax(0,240fr);gap:10px 25px;padding:24px 22px 14px 4px}
 .v2-home-route .home-page .home-profile-grid>.home-portrait{height:calc(100% - 90px);max-height:none;margin-top:90px}
 .v2-home-route .home-page .home-bio h1{font-size:clamp(36px,3vw,52px)}
 .v2-home-route .home-page .home-description{font-size:clamp(14px,1.12vw,18px);line-height:1.45}
 .v2-home-route .home-page .home-feature-title{font-size:clamp(30px,2.6vw,42px)}
 .v2-home-route .home-page .home-feature-description{font-size:clamp(12px,1vw,16px)}
 .v2-home-route .home-page .cv-floating{max-width:300px;justify-self:center}
}
@media(max-width:820px){
 .v2-dock-zone,.v2-home-route .v2-dock-zone{height:126px;padding:4px 0 max(8px,env(safe-area-inset-bottom))}
 .v2-home-route .portfolio{padding-bottom:155px}.v2-home-route .v2-dock-art{display:none}
 .v2-retro-dock::after{inset:-75px -75px;background-image:url('assets/crt-dock-shadow-mobile.svg?v=5')}
 .v2-dock-tooltip,.v2-dock-key:hover .v2-dock-tooltip,.v2-dock-key:focus-visible .v2-dock-tooltip{display:none!important;visibility:hidden!important;opacity:0!important}
 .v2-dock-key:hover{background:var(--black);color:var(--yellow)}.v2-dock-key.is-current:hover{background:#f1dc87;color:#11150c}
 .v2-dock-key{display:flex;align-items:center;justify-content:center;padding:0;line-height:1}
 .v2-dock-key svg{display:block;flex:none;margin:0;overflow:visible}
 .v2-dock-key[data-dock=uxui] svg{transform:translate(1px,1px)}
 .v2-dock-key[data-dock=videojuegos] svg{transform:translateY(-1px)}
 .v2-dock-key[data-dock=ias] svg{transform:translate(.5px,.5px)}
 .v2-dock-key[data-dock=comunicacion] svg{transform:translate(.5px,0)}
 .v2-dock-key[data-dock=figma] svg{transform:translate(-.8px,.5px)}
}
@media(min-width:821px){.v2-home-route .portfolio #main>.home-page{max-width:1320px;margin-inline:auto;grid-template-rows:clamp(444px,32vw,470px) clamp(226px,16vw,236px)}}
@media(min-width:821px){.v2-home-route .portfolio #main{width:100%;max-width:1320px;margin-inline:auto}}

/* Single border ownership at the tab/body junction. */
.v2-home-route .portfolio .home-page :is(.home-profile,.home-feature){--file-stroke:3px;--file-edge:#817b56;border:var(--file-stroke) solid var(--file-edge);box-shadow:none!important}
.v2-home-route .portfolio .home-page .home-feature:hover{--file-edge:var(--yellow)}
.v2-home-route .portfolio .home-page :is(.home-profile,.home-feature)>.home-tab{top:auto;bottom:calc(100% + var(--file-stroke));left:calc(-1 * var(--file-stroke));max-width:calc(100% + 2 * var(--file-stroke));transform:none;translate:none;border:var(--file-stroke) solid var(--file-edge);border-bottom:0;border-radius:5px 9px 0 0;background:var(--black);box-shadow:none;padding:8px 14px;z-index:1}
.v2-home-route .portfolio .home-page :is(.home-profile,.home-feature)>.home-tab::after{content:'';position:absolute;top:100%;left:0;right:0;height:var(--file-stroke);background:var(--black);border:0;box-shadow:none}
/* Constant-thickness phosphor scan, CSS transform only: no waveform or layout motion. */
.phosphor-track{position:relative;display:block;width:100%;height:100%;min-height:4px;overflow:hidden}
.phosphor-track::before{content:'';position:absolute;top:50%;left:0;right:0;height:2px;transform:translateY(-50%);background:repeating-linear-gradient(90deg,#e5cd7126 0 1px,transparent 1px 4px)}
.phosphor-sweep{position:absolute;top:calc(50% - 1px);left:0;width:30%;height:2px;background:repeating-linear-gradient(90deg,#e5cd71 0 1px,transparent 1px 3px);mask-image:linear-gradient(90deg,transparent,#000 55%,#000 75%,transparent);animation:phosphor-pass 14s linear infinite;filter:none;box-shadow:none}
@keyframes phosphor-pass{from{transform:translateX(-110%)}to{transform:translateX(440%)}}
@media(prefers-reduced-motion:reduce){.phosphor-sweep{animation:none;left:35%;transform:none;opacity:.6}}
/* Footer removed: reserve dock plus its attenuation/keyboard clearance everywhere. */
html{--dock-reserved:calc(160px + 80px + env(safe-area-inset-bottom,0px));scroll-padding-bottom:var(--dock-reserved)}
.portfolio,.v2-home-route .portfolio{padding-bottom:var(--dock-reserved)}
#main :is(a,button,[tabindex]){scroll-margin-bottom:12px}
@media(max-width:820px){html{--dock-reserved:calc(126px + 72px + env(safe-area-inset-bottom,0px))}.portfolio,.v2-home-route .portfolio{padding-bottom:var(--dock-reserved)}}
/* Restore vertical air from V2; keep panel internals and tab joins unchanged. */
@media(min-width:821px){.v2-home-route .portfolio #main>.home-page{padding-top:68px;row-gap:68px}}
@media(max-width:820px){.v2-home-route .portfolio #main>.home-page{padding-top:62px}.v2-home-route .home-page .home-highlights{margin-top:62px;row-gap:62px}}
/* All-route decorations share the content/header horizontal limits. */
.v2-dock-zone,.v2-home-route .v2-dock-zone{left:50%;right:auto;transform:translateX(-50%);width:calc(100% - 2 * max(38px,3.8vw));max-width:1320px;padding-inline:0}
.v2-dock-art,.v2-home-route .v2-dock-art{display:flex;z-index:1;pointer-events:none}
.v2-dock-art.art-left,.v2-home-route .v2-dock-art.art-left{left:0}
.v2-dock-art.art-right,.v2-home-route .v2-dock-art.art-right{right:0}
@media(max-width:820px){.v2-dock-zone,.v2-home-route .v2-dock-zone{width:calc(100% - 36px);max-width:none}.v2-dock-art,.v2-home-route .v2-dock-art{display:flex;top:10px;bottom:auto;height:24px;gap:0}.v2-dock-art svg{width:60px;height:24px}.v2-dock-art span{display:none}}

/* Compact dock: Home stays fully inside the silhouette. */
.v2-dock-zone,.v2-home-route .v2-dock-zone{height:calc(138px + env(safe-area-inset-bottom,0px));padding:8px 0 calc(8px + env(safe-area-inset-bottom,0px))}
.v2-retro-dock{width:440px;height:122px;padding:8px 0 12px;gap:8px}
.v2-retro-dock::before{inset:0;clip-path:polygon(0 94%,5% 43%,29% 43%,35% 0,65% 0,71% 43%,95% 43%,100% 94%,99% 100%,1% 100%)}
.v2-dock-key{width:54px;height:54px;flex:none}
.v2-dock-home{width:54px;height:44px;padding:0;display:flex;align-items:center;justify-content:center}
.v2-dock-row{gap:14px}
@media(max-width:820px){
 .v2-dock-zone,.v2-home-route .v2-dock-zone{height:calc(118px + env(safe-area-inset-bottom,0px));padding:4px 0 calc(8px + env(safe-area-inset-bottom,0px))}
 .v2-retro-dock{width:min(340px,100%);height:106px;padding:6px 0;gap:6px}
 .v2-dock-key,.v2-dock-home{width:44px;height:44px}
 .v2-dock-row{gap:10px}
 .v2-dock-art,.v2-home-route .v2-dock-art{display:none}
}
/* Reference silhouette: shallow trapezoid, independent 44px touch area. */
.v2-retro-dock{height:112px;padding:0;gap:0}
.v2-retro-dock::before{clip-path:polygon(0 94%,5% 43%,28% 43%,38.8% 0,61.2% 0,72% 43%,95% 43%,100% 94%,99% 100%,1% 100%)}
.v2-dock-zone,.v2-home-route .v2-dock-zone{height:calc(128px + env(safe-area-inset-bottom,0px))}
.v2-dock-row{position:absolute;top:27px}
.v2-dock-home,.v2-dock-home:hover,.v2-dock-home.is-current,.v2-dock-home.is-current:hover{position:absolute;top:-17px;width:27.3%;height:44px;border:0;background:transparent;color:var(--yellow);box-shadow:none}
.v2-dock-home::after{display:none}
.v2-home-face{position:absolute;top:22px;left:0;width:100%;height:16px;display:flex;align-items:center;justify-content:center;background:var(--black);clip-path:polygon(13.7% 0,86.3% 0,100% 100%,0 100%)}
.v2-dock-home .v2-home-face svg{width:15px;height:15px;stroke-width:1.7}
.v2-dock-home.is-current .v2-home-face{color:#fff2bb;background:#14170d}
.v2-dock-home.is-current .v2-home-face::after{content:'';position:absolute;bottom:1px;left:calc(50% + 12px);width:3px;height:3px;background:currentColor}
.v2-dock-home:focus-visible{outline:none}
.v2-dock-home:focus-visible .v2-home-face{background:#f1dc87;color:#11150c}
@media(max-width:820px){
 .v2-retro-dock{height:100px}
 .v2-dock-zone,.v2-home-route .v2-dock-zone{height:calc(112px + env(safe-area-inset-bottom,0px))}
 .v2-dock-home,.v2-dock-home:hover,.v2-dock-home.is-current,.v2-dock-home.is-current:hover{width:calc(37.9% - 12px)}
 .v2-retro-dock::before{clip-path:polygon(0 94%,5% 43%,25% 43%,38% 0,62% 0,75% 43%,95% 43%,100% 94%,99% 100%,1% 100%)}
 .v2-home-face{height:18px;clip-path:polygon(16% 0,84% 0,100% 100%,0 100%)}
 .v2-dock-home .v2-home-face svg{width:16px;height:16px}
}
/* A little breathing room for Home; decoration paints behind page content. */
.v2-retro-dock{height:120px}
.v2-dock-zone,.v2-home-route .v2-dock-zone{height:calc(136px + env(safe-area-inset-bottom,0px))}
.v2-dock-row{top:35px}
.v2-dock-home,.v2-dock-home:hover,.v2-dock-home.is-current,.v2-dock-home.is-current:hover{top:-9px}
.v2-home-face{top:14px;height:24px}
.v2-dock-art-layer{position:fixed;z-index:0;pointer-events:none;bottom:0;left:50%;transform:translateX(-50%);width:calc(100% - 2 * max(38px,3.8vw));max-width:1320px;height:100px}
.portfolio>#main{position:relative;z-index:1}
.intro-active .v2-dock-art-layer,.intro-entering .v2-dock-art-layer{display:none}
@media(max-width:820px){
 .v2-retro-dock{height:108px}
 .v2-dock-zone,.v2-home-route .v2-dock-zone{height:calc(120px + env(safe-area-inset-bottom,0px))}
 .v2-home-face{height:26px}
 .v2-dock-art-layer{display:none}
}
/* One active phosphor treatment, without status dots. */
.v2-dock-key.is-current::after,.v2-dock-home.is-current .v2-home-face::after{display:none;content:none}
.v2-dock-key.is-current,.v2-dock-key.is-current:hover{background:#f1dc87;color:#11150c;filter:drop-shadow(0 0 4px #e5cd7199) drop-shadow(0 0 9px #e5cd7155)}
.v2-dock-home.is-current,.v2-dock-home.is-current:hover{background:transparent;filter:drop-shadow(0 0 4px #e5cd7199) drop-shadow(0 0 9px #e5cd7155)}
.v2-dock-home.is-current .v2-home-face{background:#f1dc87;color:#11150c}
.v2-dock-key[data-dock=videojuegos] svg{stroke-width:1.7;transform:none}
.home-restart{grid-column:1/-1;justify-self:end;margin-top:-40px}
.home-restart button{min-height:44px;padding:10px 16px;border:1px solid var(--yellow);font:18px 'VT323',monospace;color:var(--yellow);background:var(--black)}
.home-restart button:hover{background:#343420}
.v2-dock-art svg{animation:dock-phosphor-breathe 5s ease-in-out infinite}
.v2-dock-art.art-right svg{animation-delay:-2.5s}
@keyframes dock-phosphor-breathe{0%,100%{opacity:.55;filter:drop-shadow(0 0 0 transparent)}50%{opacity:1;filter:drop-shadow(0 0 3px #e5cd7144)}}
.portrait-tools .particle-tool{position:relative;pointer-events:auto;touch-action:pan-y}
.particle-tool-source{display:block;width:100%;height:100%;object-fit:contain}
.tool-dither{position:absolute;left:-25%;top:-25%;width:150%;height:150%;pointer-events:none;display:none}
.particle-tool.is-dispersing .particle-tool-source{visibility:hidden}
.particle-tool.is-dispersing .tool-dither{display:block}
.v2-home-route .home-page .portrait-tool{width:74px;height:74px}
.v2-home-route .home-page .portrait-tool.tool-chatgpt{width:84px;height:84px}
@media(max-width:820px){.home-restart{margin-top:28px;text-align:right}.v2-home-route .home-page .portrait-tool{width:54px;height:54px}.v2-home-route .home-page .portrait-tool.tool-chatgpt{width:62px;height:62px}}
@media(prefers-reduced-motion:reduce){.v2-dock-art svg{animation:none;filter:none;opacity:1}}
/* Match Behance's selected dark stroke AND dark border. */
.v2-dock-key.is-current,.v2-dock-key.is-current:hover{border-color:#11150c;color:#11150c}
.v2-dock-key.is-current svg,.v2-dock-key.is-current svg *{stroke:#11150c}
.v2-dock-home.is-current .v2-home-face{background:#11150c}
.v2-dock-home.is-current .v2-home-face::before{content:'';position:absolute;inset:2px;clip-path:inherit;background:#f1dc87}
.v2-home-face svg{position:relative;z-index:1}
/* Render gutters do not change layout or intercept gestures. */
.tool-dither{width:400%;height:400%;left:-150%;top:-150%}
.portrait-tools,.particle-tool{overflow:visible!important;clip-path:none}
.about-page .about-glasses{position:relative;overflow:visible;pointer-events:auto;touch-action:pan-y}
.about-page .about-glasses canvas{position:absolute;left:-34.883721%;top:-66.666667%;width:169.767442%;height:233.333333%;max-width:none;pointer-events:none}
/* Animate these exact two labels and their globe/meters. */
.v2-dock-art>span{animation:dock-label-phosphor 3.4s ease-in-out infinite}
.v2-dock-art.art-right>span{animation-delay:-1.7s}
.v2-dock-art.art-left ellipse{transform-box:fill-box;transform-origin:center;animation:dock-globe-turn 4s ease-in-out infinite}
.v2-dock-art .dock-meter{transform-box:view-box;transform-origin:80px 38px;animation:dock-meter-signal 1.8s ease-in-out infinite alternate;animation-delay:var(--delay)}
@keyframes dock-label-phosphor{0%,100%{opacity:.35;text-shadow:none}45%,65%{opacity:1;text-shadow:0 0 6px #e5cd7199}}
@keyframes dock-globe-turn{0%,100%{transform:scaleX(.25)}50%{transform:scaleX(1.5)}}
@keyframes dock-meter-signal{from{transform:scaleY(.28)}to{transform:scaleY(1)}}
@media(prefers-reduced-motion:reduce){.v2-dock-art>span,.v2-dock-art.art-left ellipse,.v2-dock-art .dock-meter{animation:none;transform:none;opacity:1;text-shadow:none}}
html.crt-fulgor-on .portfolio .portrait-tools{filter:none!important}
html.crt-fulgor-on .portfolio :is(.tool-dither,.particle-tool-source){filter:url(#crt-dither-emission)}

.about-page .about-glasses canvas{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;filter:url(#crt-dither-emission)!important}


/* Screen-space surfaces avoid iOS ancestor filter/compositor crop boxes. */
.portfolio>canvas.particle-screen{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;z-index:2;pointer-events:none!important;filter:none!important;transform:none!important;clip-path:none!important;mask:none!important}
/* Mobile internal bottom gap: 108 - (35 + 44) = 29px; keep two thirds. */
@media(max-width:820px){.v2-retro-dock{height:98.333333px}.v2-dock-zone,.v2-home-route .v2-dock-zone{height:calc(110.333333px + env(safe-area-inset-bottom,0px))}}

/* Lenses scroll natively with their original box; no viewport anchoring. */
.about-page .about-glasses canvas.glasses-local-surface{position:absolute!important;inset:auto!important;left:-24px!important;top:-24px!important;width:calc(100% + 48px)!important;height:calc(100% + 48px)!important;max-width:none;pointer-events:none;filter:none!important;transform:none!important}
.v2-dock-home,.v2-dock-home:hover,.v2-dock-home.is-current,.v2-dock-home.is-current:hover{width:var(--parallel-home-width)}
.v2-home-face{clip-path:var(--parallel-home-clip)}
.v2-dock-home.is-current .v2-home-face::before{inset:0;clip-path:var(--parallel-home-fill)}
