What roasting actually does
Updated
On this page7
It removes water
Green coffee carries a significant amount of moisture and roasting drives most of it off, which is why a roasted batch weighs noticeably less than the green that went in. That loss is a cost you have to carry in the pricing, and it varies with the roast level.
It builds flavor through browning
The reactions that produce roasted flavor are the same family that brown a crust or a seared surface, and they accelerate sharply with temperature. That is why small differences late in a roast produce large differences in the cup, and why the end of a roast needs more attention than the start.
It makes the bean porous and fragile
The structure expands and cracks, which is what the audible cracks during roasting are. The result is a brittle, porous solid with an enormous internal surface area, and that surface is where everything that happens afterwards takes place.
Which is the connection to everything else here
The porosity is why gas escapes slowly over days rather than all at once, why oxygen reaches the inside of a bean, and why grinding changes the shelf life so dramatically. Every page in the staling section follows from this one physical fact.
Darker is a different product, not a further one
A darker roast tastes more of the roasting and less of the coffee, and buyers have strong preferences in both directions. It also produces more surface oil, which oxidizes faster, so roast level and shelf life are linked.
Roast level is a claim on the label
Light, medium and dark have no legal definitions, which means they mean whatever a buyer has decided they mean. Being specific about what you actually do is worth more than reaching for a word whose meaning you do not control.