DUBAI (BLOOMBERG) - Surrounded by grey rocky mountains and the blue Sea of Oman, the city of Muscat feels like an oasis of calm in a region afflicted by a deepening sectarian conflict.
Omanis slip into the nearest mosque to pray, not caring whether it's run by Ibadis, Shi'ites or Sunnis. Civil service and military jobs are open for all. And any scepticism expressed about their coexistence is considered offensive.
Being the Switzerland of the Gulf served the country well over the decades, helping the sultanate survive, thrive and make it a key conduit for trade and diplomacy in the turbulent Middle East.
The problem is that it looks less viable as Oman succumbs to the all-too-familiar financial strains of countries reliant on petrodollars and the geopolitics of its location.
The key to Oman's independence has been its ability to fend for itself financially. That might have to change if the government can't fix the economy soon.
If Oman is forced to seek assistance from the more powerful and wealthier Saudi Arabia and United Arab Emirates, there may be political strings attached that drag the country into their orbit. It risks upsetting the balance further in a region already upended by the proxy conflict with Iran.
"Economic instability is possibly the single biggest threat to Oman," said Cinzia Bianco, Middle East and Gulf analyst for Gulf State Analytics in London. "Because they were able to cope economically, they were also relatively safe from peer pressure from other regional powers."
Oman shares land borders with Saudi Arabia, the UAE and war-ravaged Yemen and a sea border with Iran. Independence and neutrality have been a cornerstone of Omani policy since Sultan Qaboos took power in 1970.
When Arabs boycotted Egypt for its 1978 peace deal with Israel, Oman maintained the ties. It refused to take sides in the eight-year war between Iran and Iraq in the 1980s.
More recently, Oman has kept its embassy in Syria open even as other Gulf states cut diplomatic relations with Damascus. It refused to join the Saudi-led war on Yemen and has kept its ports open to Qatar, which is using them to get around a boycott by Saudi Arabia, the UAE, Bahrain and Egypt.
"When I tell people in Europe that I am Omani, they instantly know I am not a trouble-maker," Muscat businessman Ammar Alsidairi, 26, said during an intermission at a concert by the Russian National Orchestra at the Royal Opera House in Muscat.
But like the rest of the Gulf, Oman's finances have been battered after crude oil prices started to decline in 2014.
The slump in revenue hit the rest of the economy. Gross domestic product excluding oil production grew 2 percent last year down from an average 7 per cent between 2000 and 2014, according to the International Monetary Fund.
The economy as a whole shrank in 2017 for the first time since 2011.
The country has had to borrow heavily to finance spending and cover the sizable outflows from remittances by foreign workers. The result is that it has the Gulf's most fragile currency peg.
On a visit to Oman last month, it was clear that the economy was very much on everybody's mind. Talk was of diversification away from oil, the need for tourism and the drive to create employment for locals.
State-run newspapers highlighted the government's ability to find jobs for over 20,000 Omanis in five months.
"Omanization" is at full steam, though Omani businessmen, like those in Saudi Arabia and other Gulf countries where a similar effort is underway, are unhappy because foreign workers are cheaper.
Efforts to diversify away from oil and gas, which make up about 70 per cent of government revenue, have taken on more urgency.
"2017 was the year to learn how to expedite things and I believe in 2018 we will start to see a lot of projects coming to reality," Talal Al Rahbi, deputy secretary-general to the Supreme Council for Planning, said at his office in Muscat.
The aim is to focus on five industries whose contribution to growth and government have been lagging: tourism, logistics, fisheries, mining and manufacturing, said Al Rahbi.
A new working model, called "Tanfeedh," Arabic for "execute," was put in place in 2016 to reach the goal. In the next five to 10 years, their contribution to the economy may reach as much as a combined 50 per cent from about single digits for most, he said.
There's plenty of activity. Oman boasts a new airport that opened in March-the paint and the carpets still smell fresh. It's building a special economic zone in Duqm south of Muscat that includes a port, dry dock, industrial zones and another airport.
Ahmed Dabbous, chief executive officer of real estate developer Muriya, said his company opened 1,000 hotel rooms in the country in the past five years because of the potential in tourism, especially in the southern coastal city of Salalah, which now has direct weekly flights with some cities in Europe. The growth in the sector has been "impressive," he said.
The sultan, who sought treatment abroad a few years ago for an undisclosed illness, has been more visible recently, receiving dignitaries and hosting dinners.
For all the similarities with Gulf peers when it comes to economic challenges, Omanis are protective of what differentiates them from the rest of the region. The determination to preserve the country's strong national identity is evident on the streets of Muscat.
The sprawling capital has a population of 1.3 million, roughly on a par with Doha in Qatar and less than half that of Dubai.
Rather than the glitz of glass and steel towers that define those other metropolises, Muscat has low-rise beige villas with traditional arches and windows enclosed with carved wood latticework.
"It's about our identity, it's one of our very strong brands," said Zuwaina Al-Rashdi, 39, owner of a store that sells Omani-made handicrafts rather than most of the merchandise in the city's souq that's made in India.
For older Omanis, the country's development over the years has been nothing short of a "miracle," said Tawfeeq Allawati, 56, a member of Oman's Shura Council. But the question is whether it can still forge its own path.
Everyone realizes there are challenges today, Allawati said, including an education system that's largely incompatible with the requirements of a modern economy and a public sector that remains a more attractive employer than private companies.
"But I hope we're headed in the right direction now," he said.