v3.26.1
Derivative Financial Instruments and Hedging Activities - Narrative (Details)
$ in Thousands, bbl in Millions
6 Months Ended 12 Months Ended
Feb. 28, 2026
USD ($)
bbl
Aug. 31, 2025
USD ($)
bbl
Derivative [Line Items]    
Current derivative assets $ 267,685 $ 177,231
Current derivative liabilities 367,433 178,017
Long-term derivative assets 5,400 2,000
Long-term derivative Liabilities 1,300 1,700
Foreign exchange derivatives | Not Designated as Hedging Instrument    
Derivative [Line Items]    
Notional amount of derivative contracts $ 1,800,000 $ 1,700,000
Commodity derivatives | Designated as Hedging Instrument | Cash Flow Hedging    
Derivative [Line Items]    
Aggregate notional amount of cash flow hedges (in barrels) | bbl 6.0 5.1