At about 0850 Pacific time, the airplane veered off the runway and collided with terrain during takeoff. The commercial pilot/flight instructor and the student pilot sustained minor injuries. The airplane sustained substantial damage when it veered to the right and departed the runway during takeoff. The airplane hit a berm, temporarily became airborne and then landed hard.