CSS State machine - Stage 1