[¶ 1] Kittery Retail Ventures, LLC, DSS Land Holdings, LLC, and Stephen A. Hynes (collectively KRV) appeal from the judgments of the Superior Court (York, Fritzsche, J.) entered in favor of the Town of Kittery on both counts of KRV’s complaint. KRV contends that the Superior Court erred when, in an appeal KRV had brought pursuant to M.R. Civ. P. 80B, it affirmed the Kittery Planning Board’s decision to apply the terms of the zoning ordinance amendment enacted in September of 2000 to deny KRV’s permit application. KRV also contends that the court erred when it entered a summary judgment in favor of the Town on Count II of *1187 KRV’s complaint, seeking a declaratory judgment that the September amendment could not be applied against KRV. We affirm the judgments.
I. BACKGROUND
[¶ 2] In early 1999, KRV began negotiations with DSS Land Holdings, LLC, and Stephen A. Hynes, trustee of Real Property Trust Agreement, to purchase two parcels of adjoining land located close to Route 1 in Kittery. At that time, the land was located in a mixed-use district, and pursuant to the Town’s zoning ordinance, up to thirty percent of the land could be applied to retail use, and the land was eligible for the transfer of retail development rights. 1 KRV’s intent was to purchase the land and build Kittery Marketplace, a 250,000-square-foot retail outlet mall. In July 1999, KRV met with Kit-tery’s town manager and town planner and presented preliminary sketches of the proposed development. On January 13, 2000, KRV filed a sketch plan with the Planning Board, and on March 23, 2000, KRV filed a site plan application and tendered its application fee. The Board requested additional information regarding KRV’s application on April 13, April 27, and June 7, 2000.
[¶ 3] During this time period, there was activity in the Town regarding changes to mixed-use districts. The Town Council discussed the use of mixed-use districts and the transfer of retail development rights during several meetings between February and July 2000. On March 6, 2000, a proposed emergency ordinance to amend the mixed-use district and eliminate the availability of transferred retail development rights failed of passage at a Town Council meeting. On March 27, 2000, a citizen group filed a petition for a citizen vote on the enactment of an ordinance that would amend the mixed-use district provisions of the Town’s zoning ordinance and eliminate the availability of transferred retail development rights.
[¶ 4] The citizen-proposed amendment to the zoning ordinance altering the requirements in the mixed-use district by reducing the retail coverage area from thirty to fifteen percent and eliminating the availability of transferred retail development rights was approved by the voters on June 13, 2000. Pursuant to the Kittery Town Charter, the effective date of the zoning ordinance amendment was July 14, 2000.
[¶ 5] After the June amendment was enacted, but before its effective date, KRV submitted a revised preliminary plan application to the Board, and on June 29, 2000, the town planner notified KRV that its application had met the submission requirements. On July 13, 2000, one month after the June ordinance was enacted, the Board voted unanimously to approve, as substantially complete, the site plan for the Kittery Marketplace and accepted the application for review. A public hearing regarding the Kittery Marketplace was held on August 23, 2000.
[¶ 6] On September 26, 2000, the voters approved another amendment to the zoning ordinance, which mirrored the language of the June zoning ordinance amendment, but added the following language:
Notwithstanding the provisions of 1 M.R.S.A. § 302, and regardless of the date on which it is approved by the voters, this amendment shall be effective *1188 as of September 30, 1999, and shall govern any and all applications for permits or approvals required under the Land Use and Development Code of the Town of Kittery, Maine that were or have been pending before any officer, board, or agency of the Town of Kittery on or at any time after September 30, 1999.
On October 26, 2000, the town planner notified KRV that the September amendment would apply to KRV’s proposed project. In response, KRV filed a complaint in Superior Court, requesting review of the Board’s decision, a declaratory judgment, and injunctive relief. The Superior Court dismissed the complaint without prejudice, holding that the October 26, 2000 communication from the town planner to KRV did not constitute a final decision of the Board, and remanded the case back to the Board. The Board met on May 9, 2002, and formally denied KRVs development application on the basis that it did not comply with the zoning ordinance as amended by the September amendment.
[¶ 7] In response, KRV filed a two-count complaint in the Superior Court. In Count I, KRV alleged that the Board’s decision was arbitrary, capricious, and unlawful, and requested Superior Court review pursuant to M.R. Civ. P. 80B. In Count II, KRV requested a declaratory judgment that the terms of the September amendment could not be applied to its application based on various legal and equitable principles.
[¶ 8] KRV filed a motion for a summary judgment on Count II, but pursued Count I through a hearing. Following that hearing, the Superior Court affirmed the Board’s decision to apply the terms of the September zoning ordinance amendment to KRV’s application. The court also entered a summary judgment for the Town on Count II, the declaratory judgment action. KRV subsequently filed this appeal.
[¶ 9] KRV contends that the Superior Court erred when it concluded that: nothing in the Kittery Town Charter prohibits retroactive legislation; KRV did not acquire vested rights because it did not begin construction and no bad faith existed; the referendum did not violate due process because it furthers legitimate legislative purposes and is rational; the Town was not equitably estopped from applying the referendum because KRV did not prove reasonable reliance on the town planner’s opinion or the silence of other Town officials; and the Town did not violate the Contract Clause of the Maine and United States Constitutions. We agree with KRV that a portion of the September amendment violates the Town Charter, but because the offending portion can be severed from the remainder of the amendment, and the remaining portion of the September amendment includes a retroactivity provision that validly applies to KRV’s application, we affirm the judgments. 2
IL DISCUSSION
A. The Town Charter
[¶ 10] The interpretation of an ordinance is a question of law and is reviewed de novo.
Brackett v. Town of Rangeley,
[¶ 11] At the outset, we make the distinction between when an ordinance or statute is retroactively
applied
and when an ordinance or statute becomes
effective.
An ordinance is retroactively
applied
“ ‘when
applied
so as to determine the legal significance of acts or events that occurred prior to its
effective
date.’ ”
Coates v. Me. Employment Sec. Comm’n,
[¶ 12] When a statute becomes effective, however, is more of a procedural matter and is governed, for state statutes, by ME. CONST, art. IV, pt. 3, § 16. 3 The effective date of ordinances passed in Kittery is governed by section 2.14(3) of the Kittery Town Charter, which provides: “Except as otherwise provided in this charter, every adopted ordinance shall become effective at the expiration of SO days after adoption or at any later date specified therein.” 4 Kittery, Me., Town Charter § 2.14(3) (1967) (emphasis added).
[¶ 13] Just as the Legislature does not violate Me. Const, art. IV, pt. 3, § 16 when it enacts statutes with retroactive applicability,
State v. L.V.I. Group,
[¶ 14] Nonetheless, the language in the September amendment goes further than the language in the typical retroactive ordinance or statute. For example, when it enacted 39-A M.R.S.A. § 224 (Supp.2003), the Legislature stated: “ ‘This Act applies retroactively to benefit calculations made under the Maine Revised Statutes, former title 39, sections 55 and 55-A at any time after January 1, 1972, and applies notwithstanding any adverse order or decree.’ ”
Bernier v. Data Gen. Corp.,
[¶ 15] The same can be said for 23 M.R.S.A. § 156 (1992 & Supp.2003), which reads: “Notwithstanding Title 1, section *1190 302, this section applies to all actions and proceedings pending on September 14, 1979.” By adding the retroactivity provision, the Legislature clearly expressed an intent for retroactive application without adjusting the effective date of the amendment.
[¶ 16] The language in the September amendment goes beyond the language in most retroactive ordinances or statutes because not only does it purport to apply retroactively by affecting the consequences of actions taken prior to its effective date, it explicitly purports to become effective retroactively. The text of the September amendment reads:
Notwithstanding the provisions of 1 M.R.S.A. § 302, and regardless of the date on which it is approved by the voters, this amendment shall be effective as of September 30, 1999, and shall govern any and all applications for permits or approvals required under the Land Use and Development Code of the Town of Kittery, Maine that were or have been pending before any officer, board, or agency of the Town of Kittery on or at any time after September 30, 1999.
(Emphasis added.)
[¶ 17] We have previously stated that town ordinances must conform to town charters; the relationship between the two is the same as the relationship between statutes and constitutions.
Farris ex rel. Anderson v. Colley,
B. Severability '
[¶ 18] An invalid portion of a statute or an ordinance will result in the entire statute or ordinance being void only when it is such an integral portion of the entire statute or ordinance that the enacting body would have only enacted the legislation as a whole.
Bayside Enters., Inc. v. Me. Agric. Bargaining Bd.,
In the event that any section, subsection or any portion of this title shall be declared by any court of competent jurisdiction to be invalid for any reason, such decision shall not be deemed to affect the validity of any other section, subsection or other portion of this title; to this end, the provisions of this title are declared to be severable.
Kittery, Me., Land Use and Development Code Zoning Ordinance § 16.04.080 (May 1998). A provision such as section 16.04.080 is an indication that no portion of the ordinance is so integral that its invalidity must invalidate any other portion of the ordinance.
See Begin v. Town of Sabattus,
[¶ 19] Second, the wording of the September amendment demonstrates that the retroactive paragraph serves two purposes. One purpose is to make the amendment’s effective date retroactive; a separate and independent purpose is to apply the amendment retroactively. If the portion of the amendment establishing retroactive applicability is valid and indepen
*1191
dent, it may stand.
Lambert v. Wentworth,
[¶ 20] Generally, “[a]ctions and proceedings pending at the time of the passage, amendment or repeal of an Act or ordinance are not affected thereby.” 1 M.R.S.A. § 302 (1989);
Riley v. Bath Iron Works Corp.,
[¶ 21] In this case, the September amendment contains clear and unequivocal language applying it to pending proceedings.
Bernier,
[¶ 22] There is no dispute that KRV did not have an application pending prior to September 30, 1999, nor does KRV challenge the Board’s conclusion that KRV’s application does not comply with the terms of the September amendment. Accordingly, we conclude that the September amendment, which became effective thirty days after it was adopted, pursuant to section 2.14(3) of the Town Charter, and retroactively applies to proceedings pending on or after September 30, 1999, operates to require denial of KRV’s application.
C. Equitably Acquired Vested Rights
[¶ 23] KRV contends that the September amendment cannot be retroactively applied to require denial of its application because there is evidence that the September amendment was enacted in bad faith and with the sole purpose of preventing KRV from continuing with its project. KRV contends that because of the existence of bad faith, KRV equitably acquired vested rights to pursue its development in accordance with the terms of the ordinance that existed when KRV filed its application.
[¶ 24] Generally, neither the submission of a development application, nor the issuance of a development permit, establishes vested rights.
Thomas v. Zoning Bd. of Appeals,
[¶ 25] Although we have recognized that a party may equitably acquire vested rights, parties have had difficulty in proving the requisite bad faith or discriminatory enactment. In
Waste Disposal Inc. v. Town of Porter,
the plaintiff filed an application to construct a solid waste disposal facility.
[¶ 26] In
Fisherman’s Wharf Assocs. II,
we held that Fisherman’s Wharf Associates failed to prove bad faith or discriminatory enactment when it filed its permit application two months after the proposed ordinance amendment had been filed.
[¶ 27] Although a party may equitably acquire vested rights by showing bad faith or discriminatory enactment, the surrounding circumstances must be more severe than the circumstances presented in this case. Because KRV is requesting an equitable remedy, its knowledge of the situation must be taken into account.
See Thomas v. Fales,
[¶ 28] In addition to considering KRV’s knowledge of the pending amendment and opposition to the development, we also consider the lack of evidence of bad faith on the part of the town officials. This is not a case in which every time the developers complied with a request, town officials “hastily erected barriers.”
Commercial Props., Inc. v. Petemrnel,
[¶ 29] Similarly, in
United States Cellular Corp. v. Bd. of Adjustment,
the Iowa Supreme Court found bad faith when the Board denied the plaintiffs application without any legal justification, and the resulting delay-provided the Board with time to enact a new ordinance that prohibited the requested use.
[¶30] Finally, in
Whitehead Oil Co. v. City of Lincoln,
the planning commission delayed approving the plaintiffs permit until the city council changed the parcel’s zoning designation so as not to allow the requested use.
[¶ 31] There is no evidence that the Kit-tery Planning Board engaged in delaying tactics, nor is there other evidence of bad faith on the part of any town official.
See Commercial Props.,
D. Due Process
[¶ 32] KRV also contends that the September amendment violates the Due Process Clauses
5
because the retroactivity provision does not serve a legitimate government interest; its sole purpose is to target and defeat a particular project. In analyzing a due process claim that involves the deprivation of a property interest, courts must first determine whether the plaintiff was deprived of a protectable property interest, and second, whether that deprivation was accomplished by ‘“means that were pretextual, arbitrary and capricious, and ... without any rational basis.’ ”
Reserve, Ltd. v. Town of Longboat Key,
E. Equitable Estoppel
[¶ 33] KRV also contends that the Town is equitably estopped from applying the September amendment to its project because the town planner made representations that KRV’s application would be safe from any changes to the zoning ordinance and because the Board worked into the night on July 13, 2000, in order to complete the final review of KRV’s application before the June amendment came into effect on July 14, 2000. KRV contends that it reasonably relied on the representations of the town planner and the *1194 actions of the Board when it expended resources in furtherance of its project.
[¶ 34] When reviewing an equitable estoppel claim, we review the totality of the circumstances, “including the nature of the government official or agency whose actions provide the basis for the claim and the governmental function being discharged by that official or agency.”
F.S. Plummer Co. v. Town of Cape Elizabeth,
[¶ 35] The facts, even when construed in the light most favorable to KRV, do not support an equitable estoppel claim. First, the Board did not make any misleading statements to KRV. The Board never assured KRV that its project was safe from amendments to the zoning ordinance. It never determined that the application met any of the zoning ordinance’s substantive requirements; it only determined that the application met the submission requirements for a complete application. Even if the Board undertook its late-night review with the purpose of insulating KRVs project from the June amendment, it did not purport to insulate the project from subsequent amendments.
[¶ 36] Second, although KRV contends that the Town’s silence was misleading, there is evidence that the Town was not silent; shortly after the September amendment was passed, the town planner notified KRV that the amendment would apply to its project. Finally, even if the statements made by the town planner did induce KRV to act in detrimental reliance, thereby satisfying the first two elements, the reliance was not reasonable. In
F.S. Plummer,
we noted that “[r]eliance on oral unauthorized representations of a municipal official, where a written building permit is required for a project, is unreasonable as a matter of law.”
F. Contract Clause
[¶ 37] Finally, KRV contends that the September amendment violates the Contract Clauses of the Maine and United States Constitutions 6 because (1) there were pre-existing contracts between KRV and DSS Land Holdings, LLC, and between KRV and Hynes; (2) the September amendment impaired those relationships because it changed the permitted use of the land at issue; and (3) the impairment was substantial because DSS Land Holdings, LLC and Hynes lose the value of the land sales (a combined $10.2 million) and KRV loses the value of the profits that would have been gained from the proposed project. KRV further contends that there was no “important public purpose” to the September amendment because its sole purpose was to target KRV’s project.
[¶ 38] The threshold inquiry when analyzing a Contract Clause claim is whether the legislation resulted in a “ ‘substantial impairment of a contractual rela
*1195
tionship.’ ”
Gen. Motors Corp. v. Romein,
[¶ 39] The Town concedes that there were existing contracts and that the September amendment impaired those contractual relationships. There are three reasons, however, why KRV’s contractual relationships were not substantially impaired. First, when considering whether a party’s contractual relationships were substantially impaired, courts focus on whether the subject matter of the contract is heavily regulated.
N.A Burkitt, Inc. v. J.I. Case Co.,
[¶ 40] Second, KRV’s contracts with DSS Land Holdings, LLC and Hynes demonstrate that the parties contemplated that KRV might not be able to obtain all necessary permits and approvals. If KRV could not obtain the necessary permits and approvals, the closings would not occur. Similar situations were present in
Energy Reserves Group
and in
KHK Assocs. v. Dep’t of Human Servs.,
[¶ 41] Finally, KRV does not contend that the September amendment changed its rights or obligations; it only contends that the amendment reduced the property values and resulted in lost profits.
7
Substantial impairment does not occur when a change in law does not affect the express terms of the contract or the obligations of the parties, but only affects the underlying subject matter of the contract.
Northwestern Nat’l Life Ins. Co. v. Tahoe Reg'l Planning Agency,
[¶ 42] Land use was a regulated field when KRV entered into the contracts, the contract language makes clear that KRV knew of those regulations, and the amendment affected only the underlying subject matter of the contracts. Accordingly, KRVs Contract Clause claim also fails. As a result, the September amendment operates to require denial of KRV’s application.
The entry is:
Judgments affirmed.
Notes
. According to section 16.12.130 of the zoning ordinance, the transfer of retail development rights allows for the development of a "few well-designed, multistore retail projects ... rather than ... a proliferation of individual retail stores on individual parcels.” Kit-tery, Me., Land Use and Development Code Zoning Ordinance § 16.12.130(D)(9) (May 1998). One site is allowed to shift its future retail development potential to another site, thereby increasing the amount of retail development area on the receiving site. Id.
. KRV also appeals from the Superior Court’s judgment entered on Count I of its complaint. KRV does not dispute the Board's conclusion that its application does not comply with the terms of the September amendment, but contends that the terms of the September amendment cannot be applied to its application. Because we conclude that the terms of the September amendment do apply to KRV's application, we affirm the Superior Court's affirmance of the Planning Board's denial of KRV's application in KRV's Rule 80B appeal.
. Me. Const, art. IV, pt. 3, § 16 provides:
No Act or joint resolution of the Legislature, except such orders or resolutions as pertain solely to facilitating the performance of the business of the Legislature, of either branch, or of any committee or officer thereof, or appropriate money therefor or for the payment of salaries fixed by law, shall take effect until 90 days after the recess of the session of the Legislature in which it was passed, unless in case of emergency, which with the facts constituting the emergency shall be expressed in the preamble of the Act, the Legislature shall, by a vote of 2/3 of all the members elected to each House, otherwise direct.
. The Town does not contend that the September amendment was passed as an emergency ordinance; if it had been, it would have become "effective upon adoption or at such later time as it may specify.” Kittery, Me., Town Charter § 2.15 (1967).
. "No person shall be deprived of life, liberty or property without due process of law Me. Const, art. 1, § 6-A. "[N]or shall any State deprive any person of life, liberty, or property, without due process of law U.S. Const, amend. XIV, § 1.
. “No State shall ... pass any ... Law impairing the Obligation of Contracts ...." U.S. Const, art. I, § 10, cl. 1. "The Legislature shall pass no ... law impairing the obligation of contracts _” Me. Const, art. I, § 11.
. KRV cites
Portland Sav. Bank v. Landry,
