v3.26.1
Derivative Instruments and Hedging Activities - Schedule of Derivative Financials Designated as Cash Flow Hedging Instruments (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
Derivative [Line Items]      
Gain (Loss) Recognized in OCI $ 1,569 $ 689  
Net earnings 155,035 94,970 $ 117,821
Reclassification out of Accumulated Other Comprehensive Income      
Derivative [Line Items]      
Net earnings 2,159 391  
Interest Rate Contracts | Reclassification out of Accumulated Other Comprehensive Income      
Derivative [Line Items]      
Interest expense, net 207 207  
Commodity Contracts | Reclassification out of Accumulated Other Comprehensive Income      
Derivative [Line Items]      
Cost of goods sold 1,301 (100)  
Commodity Contracts | Continuing Operations      
Derivative [Line Items]      
Gain (Loss) Recognized in OCI 1,276 (63)  
Foreign Currency Exchange Contracts | Reclassification out of Accumulated Other Comprehensive Income      
Derivative [Line Items]      
Various 651 284  
Foreign Currency Exchange Contracts | Continuing Operations      
Derivative [Line Items]      
Gain (Loss) Recognized in OCI $ 293 $ 752