How do you scale CSS without making it fragile?

Large apps often end up with brittle CSS. What architecture and naming strategies keep styles maintainable across components, breakpoints, and themes while keeping specificity under control.

WaffleFries

Use design tokens plus strict cascade layers, keep selectors shallow and state explicit, and if breakpoints keep “breaking” things that usually means the component API is doing layout work it should not own.

Arthur