v3.26.3
Derivative Financial Instruments and Hedging Activities - Schedule of Derivative Financials Designated as Cash Flow Hedging Instruments (Detail) - USD ($)
$ in Thousands
3 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Derivative [Line Items]    
Gain (Loss) Recognized in OCI $ (1,035) $ 334
Net earnings (loss) 42,572 34,821
Reclassification out of Accumulated Other Comprehensive Income    
Derivative [Line Items]    
Net earnings (loss) (355) 773
Commodity Contracts | Reclassification out of Accumulated Other Comprehensive Income    
Derivative [Line Items]    
Cost of goods sold (460) 393
Commodity Contracts | Continuing Operations    
Derivative [Line Items]    
Gain (Loss) Recognized in OCI (1,068) 77
Interest Rate Contracts | Reclassification out of Accumulated Other Comprehensive Income    
Derivative [Line Items]    
Interest expense, net 52 52
Foreign Currency Exchange Contracts | Reclassification out of Accumulated Other Comprehensive Income    
Derivative [Line Items]    
Miscellaneous income (expense), net 53 328
Foreign Currency Exchange Contracts | Continuing Operations    
Derivative [Line Items]    
Gain (Loss) Recognized in OCI $ 33 $ 257