This article presents a semi-discrete, multilayer set of equations describing the threedimensional motion of an incompressible uid bounded below by topography and above by a moving free-surface. This system is a consistent discretisation of the incompressible Euler equations, valid without assumptions on the slopes of the interfaces. Expressed as a set of conservation laws for each layer, the formulation has a clear physical interpretation and makes a seamless link between the hydrostatic Saint-Venant equations, dispersive Boussinesq-style models and the incompressible Euler equations. The associated numerical scheme, based on an approximate vertical projection and multigrid-accelerated column relaxations, provides accurate and ecient solutions for all regimes. The same model can thus be applied to study metre-scale waves, even beyond breaking, with results closely matching those obtained using small-scale Euler/NavierStokes models, and coastal or global scale dispersive waves, with an accuracy and eciency comparable to extended Boussinesq wave models. The implementation is adaptive, parallel and open source as part of the Basilisk framework and the documented source codes sucient to reproduce all results and gures are provided.