v3.26.3
Restructuring and Other (Income) Expense, Net - Additional Information (Detail) - USD ($)
3 Months Ended 12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
May 31, 2026
Restructuring Cost and Reserve [Line Items]      
Property, machinery and equipment, net $ 1,100,300,000   $ 649,300,000
Net proceeds from sale of assets   $ 1,300,000  
Finance lease assets and buildings and improvements, net 21,800,000   7,500,000
Manufacturing Facility      
Restructuring Cost and Reserve [Line Items]      
Severance expenses 0 400,000 $ 0
Machinery And Equipment [Member]      
Restructuring Cost and Reserve [Line Items]      
Property, machinery and equipment, net   300,000  
Pre-tax gain on sale of assets   1,000,000  
Kloeckner      
Restructuring Cost and Reserve [Line Items]      
Acquisition-related expenses 1,300,000    
Additional material restructuring costs 0    
Voluntary Retirement Program      
Restructuring Cost and Reserve [Line Items]      
Severance expenses $ 100,000 $ 400,000