v3.26.1
Derivative Financial Instruments and Hedging Activities - Schedule of Derivative Financials Designated as Cash Flow Hedging Instruments (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Feb. 28, 2026
Nov. 30, 2025
Aug. 31, 2025
Feb. 28, 2025
Nov. 30, 2024
Aug. 31, 2024
Feb. 28, 2026
Feb. 28, 2025
Derivative [Line Items]                
Gain (Loss) Recognized in OCI $ 1,483     $ 965     $ 997 $ 207
Net earnings 45,120 $ 27,029 $ 34,821 39,339 $ 28,009 $ 24,008 106,970 91,356
Reclassification out of Accumulated Other Comprehensive Income                
Derivative [Line Items]                
Net earnings 326     271     1,141 (368)
Commodity Contracts | Reclassification out of Accumulated Other Comprehensive Income                
Derivative [Line Items]                
Cost of goods sold 150     219     490 (523)
Commodity Contracts | Continuing Operations                
Derivative [Line Items]                
Gain (Loss) Recognized in OCI 1,343     1,039     555 281
Interest Rate Contracts | Reclassification out of Accumulated Other Comprehensive Income                
Derivative [Line Items]                
Miscellaneous income (expense), net 65              
Interest Rate Contracts | Continuing Operations | Reclassification out of Accumulated Other Comprehensive Income                
Derivative [Line Items]                
Interest expense, net       52     169 155
Foreign Exchange Contracts | Reclassification out of Accumulated Other Comprehensive Income                
Derivative [Line Items]                
Cost of goods sold             332  
Interest expense, net 111           150  
Foreign Exchange Contracts | Continuing Operations                
Derivative [Line Items]                
Gain (Loss) Recognized in OCI       $ (74)     101 $ (74)
Foreign Exchange Contracts | Continuing Operations                
Derivative [Line Items]                
Gain (Loss) Recognized in OCI $ 140           $ 341