Also the Razer blade 15 advanced is thicker than the iMac 24".
The Razer blade is 15.8mm and the iMac is 11.5mm thick.
source: https://www2.razer.com/au-en/gaming-systems/razer-blade
The razor also folds in half and the iMac bans all the electronics from behind the scree ( has to fit chin where there is no screen ) .
Divide the Razor in half and it is approximately 8mm versus 11.5mm . ( the lid would have to be 4.3mm thin for them to be even. Nevermind the keyboard depth )