>These two sentences cannot simultaneously use the same meanings of the words "supply" and "demand".
The second sentence is technically incorrect. During a bull market, demand is increasing relative to supply. (If supply was decreasing relative to demand, prices would increase, but that would not be a bull market)
>What is the maximum loan?
The GP comment I credited described the "maximum amount of loan" as a function of buyer income and interest rate. Obviously, the house is sold to the highest bidder.
In a hot market, the average price of real estate will approach the largest mortgage available to the average winning bidder (plus some quantity of household wealth).