Comment
Comment by DangerousPie
Might be worth asking Reddit's r/legaladvice (but take what they say with a grain of salt). In the UK this would be illegal afaik - you are only allowed to favour one sex over the other if there are two equivalent applicants for a position and you are trying to counteract an existing imbalance in your team. But you can't outright reject one sex from the start.