West of Ipoh, meandering river beds reach the Malacca Straits against a backdrop of densely forested mountain slopes further inland.