v3.26.1
Derivative Financial Instruments and Hedging Activities - Schedule of Gain (Loss) Recognized in Earnings for Economic (Non-Designated) Derivative Financial Instruments (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Feb. 28, 2026
Feb. 28, 2025
Feb. 28, 2026
Feb. 28, 2025
Derivative [Line Items]        
Gain (Loss) Recognized in Earnings $ 7,212 $ (423) $ 7,894 $ 506
Commodity Contracts | Cost of Goods Sold | Continuing Operations        
Derivative [Line Items]        
Gain (Loss) Recognized in Earnings 268 108 276 479
Foreign Currency Exchange Contracts | Miscellaneous Income, Net | Continuing Operations        
Derivative [Line Items]        
Gain (Loss) Recognized in Earnings $ 6,944 $ (531) $ 7,618 $ 27