v3.26.1
Derivative Financial Instruments and Hedging Activities - Schedule of Summary of Derivative Hedges (Detail) - USD ($)
$ in Millions
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
Derivative [Line Items]      
Notional Amount $ 9.1 $ 0.7 $ (0.4)
Commodity Contracts | Derivatives Not Designated As Hedging Instruments      
Derivative [Line Items]      
Notional Amount $ 27.5 $ 16.4  
Commodity Contracts | Minimum | Derivatives Not Designated As Hedging Instruments      
Derivative [Line Items]      
Maturity Date Jun. 30, 2026 Jun. 30, 2025  
Commodity Contracts | Maximum | Derivatives Not Designated As Hedging Instruments      
Derivative [Line Items]      
Maturity Date Apr. 30, 2028 Sep. 30, 2026  
Foreign Currency Exchange Contracts | Derivatives Not Designated As Hedging Instruments      
Derivative [Line Items]      
Notional Amount $ 666.9 $ (3.6)  
Maturity Date   Jun. 30, 2025  
Foreign Currency Exchange Contracts | Minimum | Derivatives Not Designated As Hedging Instruments      
Derivative [Line Items]      
Maturity Date Jun. 30, 2026    
Foreign Currency Exchange Contracts | Maximum | Derivatives Not Designated As Hedging Instruments      
Derivative [Line Items]      
Maturity Date Sep. 30, 2026    
Cash Flow Hedges | Commodity Contracts      
Derivative [Line Items]      
Notional Amount $ 33.2 $ (5.6)  
Cash Flow Hedges | Commodity Contracts | Minimum      
Derivative [Line Items]      
Maturity Date Jun. 30, 2026 Jun. 30, 2025  
Cash Flow Hedges | Commodity Contracts | Maximum      
Derivative [Line Items]      
Maturity Date Sep. 30, 2027 Sep. 30, 2026  
Cash Flow Hedges | Foreign Currency Exchange Contracts      
Derivative [Line Items]      
Notional Amount $ 2.1 $ 10.3  
Cash Flow Hedges | Foreign Currency Exchange Contracts | Minimum      
Derivative [Line Items]      
Maturity Date Jun. 30, 2026 Jun. 30, 2025  
Cash Flow Hedges | Foreign Currency Exchange Contracts | Maximum      
Derivative [Line Items]      
Maturity Date Sep. 30, 2026 Mar. 31, 2026  
Cash Flow Hedges | Interest Rate Contracts      
Derivative [Line Items]      
Notional Amount $ 0.4    
Cash Flow Hedges | Interest Rate Contracts | Minimum      
Derivative [Line Items]      
Maturity Date May 31, 2026    
Cash Flow Hedges | Interest Rate Contracts | Maximum      
Derivative [Line Items]      
Maturity Date Sep. 30, 2026