v3.26.1
Segment Operations - Schedule of Capital Expenditures of Reportable Segments (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Feb. 28, 2026
Feb. 28, 2025
Feb. 28, 2026
Feb. 28, 2025
Segment Reporting Information [Line Items]        
Capital expenditures $ 13,794 $ 12,704 $ 39,421 $ 37,494
Total Reportable Operating Segments        
Segment Reporting Information [Line Items]        
Capital expenditures 13,058 12,188 37,392 30,978
Total Reportable Operating Segments | Consumer Products        
Segment Reporting Information [Line Items]        
Capital expenditures 6,020 8,775 21,956 19,508
Total Reportable Operating Segments | Building Products        
Segment Reporting Information [Line Items]        
Capital expenditures 7,038 3,413 15,436 11,470
Unallocated Corporate        
Segment Reporting Information [Line Items]        
Capital expenditures $ 736 $ 516 $ 2,029 $ 6,516