v3.26.1
Derivatives - Effects of Derivatives (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Derivatives      
Consolidated statement of operations - total cost of goods sold $ 1,005,578 $ 896,273 $ 704,587
Consolidated statement of operations - total selling, general and administrative expenses 318,119 289,477 259,777
Interest expense, net 44,429 34,602 $ 18,536
Foreign Exchange Option      
Derivatives      
(Income) expense recorded in comprehensive income (2) (47)  
Foreign Exchange Option | Cash Flow Hedging      
Derivatives      
Income recorded in consolidated statements of operations $ (20) $ (1,142)  
Derivative, Gain (Loss), Statement of Income or Comprehensive Income Consolidated statement of operations - total cost of goods sold Consolidated statement of operations - total cost of goods sold  
Interest Rate Swap      
Derivatives      
(Income) expense recorded in comprehensive income $ (7,275) $ 15,505  
Interest Rate Swap | Cash Flow Hedging      
Derivatives      
Income recorded in consolidated statements of operations $ (1,869) $ (14,933)  
Derivative, Gain (Loss), Statement of Income or Comprehensive Income Interest expense, net Interest expense, net