Functional traits, mechanistic bioenergetics and microclimatic downscaling of marine ectotherms