Derivative Financial Instruments and Hedging Activities - Schedule of Gain (Loss) Recognized in Earnings for Economic (Non-Designated) Derivative Financial Instruments (Detail) - USD ($) $ in Millions |
3 Months Ended | |
|---|---|---|
Aug. 31, 2026 |
Aug. 31, 2025 |
|
| Derivative [Line Items] | ||
| Gain (Loss) Recognized in Earnings | $ 0.7 | $ 2.6 |
| Commodity Contracts | Location, Statement of Income, Balance [Axis]: us-gaap:CostOfRevenue | ||
| Derivative [Line Items] | ||
| Gain (Loss) Recognized in Earnings | 1.7 | 2.6 |
| Foreign Currency Exchange Contracts | Location, Statement of Income, Balance [Axis]: us-gaap:OtherNonoperatingIncomeExpense | ||
| Derivative [Line Items] | ||
| Gain (Loss) Recognized in Earnings | $ (1.0) | $ 0.0 |