and with a hardtail you don’t have any sprung mass really!
It is, kinda, if you imagine a force pushing the rear wheel upwards, the bike will pivot arround your feet (the heaviest thing on the bike is you), so moving stuff to be closer to the BB will help as it doesn’t have to move as far to absorb an impact.
Simialalry although a swingarm is unsprung mass, you only need to really worry about the end nearest the wheel, eg race cars put the disks inboard even though it weighs more, the weight’s in a better place. And ducati’s 1199 is supposed to be much more centralised (to the point here is no frame, just a subframe for the seat and the headstock similarly at the front, swingarm bolts to the engine as well!) which makes it easier to turn becasue all that mass isn’t having to pivot arround the center of the bike, it is the center of the bike.