v3.26.3
INCOME TAXES - Reconciliation of US Tax Rate and the Effective Tax Rate (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2024
Amount      
Provision at federal statutory rate $ 50,131 $ 62,200 $ 73,257
State and local income taxes, net of federal income tax effect 8,346 7,779 4,840
Statutory tax rate difference   (38,152) 3,821
Foreign currency remeasurement (gains) losses   21,522 (7,621)
Other   (2,568) 559
Effect of changes in tax laws or rates enacted in the current period 0 (15,314) 0
Global Intangible Low-Taxed Income / Subpart F 53 0 12,068
Other 15    
Foreign tax credit (7,073)    
Other (515)    
Changes in valuation allowances 0    
Executive compensation limitation under Section 162(m) 4,443    
Other (14)    
Changes in unrecognized tax benefits (689)    
Total income tax expense $ 64,067 $ 39,600 $ 83,444
Percent      
U.S. federal statutory tax rate 21.00%    
State and local income taxes, net of federal income tax effect 3.50%    
Effect of changes in tax laws or rates enacted in the current period 0.00%    
Global Intangible Low-Taxed Income / Subpart F 0.02%    
Other 0.01%    
Foreign tax credit (2.96%)    
Other (0.22%)    
Changes in valuation allowances 0.00%    
Executive compensation limitation under Section 162(m) 1.86%    
Other (0.01%)    
Changes in unrecognized tax benefits (0.29%)    
Effective tax rate 26.84%    
Germany      
Amount      
Nondeductible interest costs $ 4,817    
Statutory tax rate difference 1,618    
Foreign currency remeasurement (gains) losses 1,203    
Other $ (1,322)    
Percent      
Nondeductible interest costs 0.0202    
Statutory tax rate difference 0.68%    
FX gain and loss not subject to foreign taxation 0.50%    
Other (0.55%)    
Bermuda      
Amount      
Statutory tax rate difference $ (5,041)    
Foreign currency remeasurement (gains) losses $ (738)    
Percent      
Statutory tax rate difference (2.11%)    
FX gain and loss not subject to foreign taxation (0.31%)    
United Kingdom      
Amount      
Other $ (113)    
Tax effects of restructuring $ 6,761    
Percent      
Other (0.05%)    
Tax effects of restructuring 2.83%    
Other foreign jurisdictions      
Amount      
Statutory tax rate difference $ 2,260    
Percent      
Statutory tax rate difference 0.95%    
United States      
Amount      
Other $ (75)    
Percent      
Other (0.03%)