A York construction company has seen an increase in profit margins despite a fall in turnover.