Until Houdini is available everywhere so that you can hook into the CSS engine and provide your own custom layout managers, I think masonry layouts will always require some JS. Using CSS grids might make the code simpler though.
PS I think Smashing Magazine have an overview of Houdini with a masonry layout as an example...
PS I think Smashing Magazine have an overview of Houdini with a masonry layout as an example...