(h) The court shall not impose the sentence of death on the defendant if the jury or, if there is no jury, the court finds by a special verdict, as provided in subsection (e), that at the time of the offense (1) the defendant was under the age of eighteen years, or (2) the defendant was a person with intellectual disability, as defined in section 1-1g, or (3) the defendant???s mental capacity was