v3.26.1
Segment Data - Schedule of Capital Expenditures of Reportable Segments (Details) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
Segment Reporting Information [Line Items]      
Capital expenditures $ 55,913 $ 50,580 $ 47,421
Total Reportable Segments      
Segment Reporting Information [Line Items]      
Capital expenditures 53,005 43,380 35,392
Total Reportable Segments | Building Products      
Segment Reporting Information [Line Items]      
Capital expenditures 23,325 15,050 14,447
Total Reportable Segments | Consumer Products      
Segment Reporting Information [Line Items]      
Capital expenditures 29,680 28,330 20,945
Unallocated Corporate      
Segment Reporting Information [Line Items]      
Capital expenditures $ 2,908 $ 7,200 $ 12,029