// Product Detail — Data for The Aerie
// Fulfilled by our anchor manufacturing partner (South Carolina) under NC modular state label · NTA-certified third-party inspection

const PRODUCT = {
 id: 3,
 name: "The Aerie",
 tagline: "The place worth<br>coming back to.",
 builder: {
 name: "PERCH",
 rating: null,
 reviews: 0,
 deliveries: 0,
 responseTime: "Same-day reply from Concierge",
 since: 2024,
 location: "Atlanta, GA",
 bio: "PERCH is the modern marketplace for factory-built housing — modular, prefab, container, and tiny. Every listing is escrow-guaranteed, dealer-licensed, and delivered with full manufacturer disclosure. The Aerie is our elevated ranch — 990 sq ft, three-bedroom, two-bath, with an opal-white glass chandelier over the dining table and premium picture-frame windows throughout.",
 },
 manufacturer: {
 publicName: "Our anchor manufacturing partner",
 publicLocation: "South Carolina",
 stateLabel: "NC Modular State Label",
 ntaCertDate: "Third-party inspected · NTA-certified",
 ntaCertLabel: "NTA-certified third-party inspection",
 disclosure: "The Aerie is manufactured to order by our anchor manufacturing partner — a state-licensed modular manufacturer holding the NC modular state label with NTA-certified third-party inspection. PERCH is your single point of contact — the dealer and marketplace principal. Manufacturer warranty passes through directly to you. Site scope (foundation, utility hookups, HVAC install, set crew, permits) is coordinated separately through PERCH's site-partner network or your chosen general contractor.",
 },
 price: 149000,
 depositPct: 20,
 depositAmount: 29800,
 priceLabel: "Included freight · NC · SC · GA · TN · VA · extended range on request",
 deliveryFootprint: "NC · SC · GA · TN · VA · extended range on request",
 extendedRangeNote: "Freight is included on the standard delivery footprint (NC · SC · GA · TN · VA). Extended range — FL, AL, KY, WV, MD, DE, and other coastal SE states — is quoted within 24 hours of reserve. Not currently available west of the Mississippi.",
 productDescription: "A 990 sq ft, three-bedroom, two-bath state-labeled modular ranch with a lower-pitch silhouette and premium PlyGem picture-frame windows. Opal-white glass chandelier over the dining table. Two modules. A quiet home that pays you back in mornings. Built to full code with the NC state modular label, factory-installed systems, and PERCH HomeCare Plus warranty. Free freight to your site. Start your build today; move in inside 14 weeks.",
 siteScopeEstimate: { low: 22000, high: 34000, note: "Foundation, utility hookups, set crew, HVAC install, permits — arranged separately." },
 sqft: 990,
 beds: 3,
 baths: 2,
 type: "Modular Home",
 certified: true,
 delivery: "12–14 weeks",
 warranty: "PERCH HomeCare Plus · Included",
 warrantyPackage: {
 name: "PERCH HomeCare Plus",
 subtitle: "Extended Protection",
 intro: "Every Aerie ships with our bundled homecare package — the coverage travels with the deed.",
 tiers: [
 { years: 10, label: "Structural Integrity", desc: "Load-bearing frame, roof structure, exterior envelope, wind and moisture warranty." },
 { years: 7, label: "Major Home Systems", desc: "HVAC, electrical, plumbing — full parts and labor coverage." },
 { years: 7, label: "Home Appliances", desc: "Range, water heater, mini-split heads, exhaust — full replacement or repair." },
 ],
 footnote: "Coverage begins at Certificate of Occupancy. Transferable to next owner one time within the coverage window.",
 },
 features: [
 "State-labeled modular · NC-approved",
 "Two modules · 6/12 pitch silhouette",
 "PlyGem premium picture-frame windows",
 "Opal-white glass chandelier · dining",
 "Escrow-guaranteed through PERCH",
 ],

 listingEconomics: {
 reEngineeringCovered: true,
 coveredNote: "Re-engineering fees for out-of-footprint delivery are absorbed by PERCH on this listing — no pass-through cost to you.",
 passThroughNote: "Re-engineering fees are quoted per builder and passed through at cost. Concierge scopes them within 24 hours of reserve.",
 },

 addOns: [
 { key:'mobility', title:'Mobility Access', price:3500, blurb:'36" doorways · roll-in curbless shower · ADA grab bars · lever handles · lowered switches (15"–48" reach)', tag:'Accessibility' },
 { key:'hearing', title:'Deaf / Hard of Hearing', price:1200, blurb:'Strobe smoke + CO detectors · visual doorbell w/ flasher · visual notification receptacles at bed + bath', tag:'Accessibility' },
 { key:'vision', title:'Blind / Low Vision', price:900, blurb:'Voice-annunciating smoke detectors · tactile switch caps · high-contrast trim + switchplates · braille placards at bath', tag:'Accessibility' },
 { key:'unico', title:'Unico HVAC + HEPA', price:5000, blurb:'Unico high-velocity system with hospital-grade HEPA filtration. Replaces the standard 21 SEER mini-split. Exclusive to our anchor manufacturing partner.', tag:'Premium' },
 ],
 specs: [
 { label: "Dimensions", value: "27'-0\" × 36'-0\"" },
 { label: "Living Space", value: "990 sq ft" },
 { label: "Ceiling Height", value: "8' flat" },
 { label: "Frame", value: "2×6 conventional wood, 16\" OC" },
 { label: "Wall Insulation", value: "R-19" },
 { label: "Roof Insulation", value: "R-38" },
 { label: "Roof System", value: "Architectural shingle · 6/12 pitch · 12\" overhangs" },
 { label: "Exterior Siding", value: "GP Vinyl Dutchlap (4 swatches)" },
 { label: "Windows", value: "PlyGem premium picture-frame Low-E argon (+ upgrade over standard)" },
 { label: "Electrical", value: "200A panel · Decora switches" },
 { label: "Plumbing", value: "PEX supply + DWV vents · 50-gal electric water heater" },
 { label: "HVAC", value: "21 SEER mini-split · multi-zone (installed on-site)" },
 { label: "Kitchen", value: "Full Shaker cabinetry · laminated butcher-block counters · stainless sink · brushed nickel pull-down faucet" },
 { label: "Dining Feature", value: "Opal-white glass chandelier · dimmer switch" },
 { label: "Bathrooms", value: "Primary + hall bath · comfort-height toilets · cultured marble vanities" },
 { label: "Flooring", value: "CALI Vinyl Pro 7mm Geo Core LVP throughout" },
 { label: "Interior Doors", value: "2-panel hollow-core · Kwikset locksets" },
 { label: "Foundation", value: "Crawl space (buyer-prepped per engineering specs)" },
 { label: "Wind Rating", value: "115 mph Vult · Exposure C" },
 { label: "Seismic Design", value: "Category C" },
 { label: "Snow Load", value: "Ground 20 PSF · Roof 20 PSF" },
 { label: "Climate Zone", value: "4" },
 { label: "Est. Ship Weight", value: "~28,000–32,000 lbs (two modules · verified at build-order confirmation)" },
 { label: "Certifications", value: "NC Residential 2018 · NC NEC 2017 · NC IECC 2018 · State-labeled modular · NTA-certified third-party inspection" },
 { label: "Delivery States", value: "NC · SC · GA · TN · VA (extended range on request)" },
 ],

 // Schematic layout — dimensions derived from source PDF. Real stamped plans render at Reserve.
 // 27' × 36' ranch · 3 bedrooms + 2 bath side, kitchen/dining/living side.
 floorplanRooms: [
 { name: "Primary Bedroom", sqft: "175 sq ft", notes: "12'-6\" × 14'-0\" · walk-in closet · picture-frame window", xPct: 6, yPct: 8, wPct: 24, hPct: 40 },
 { name: "Bedroom 2", sqft: "125 sq ft", notes: "10'-6\" × 12'-0\" · reach-in closet", xPct: 6, yPct: 52, wPct: 24, hPct: 20 },
 { name: "Bedroom 3", sqft: "115 sq ft", notes: "10'-6\" × 11'-0\" · reach-in closet", xPct: 6, yPct: 74, wPct: 24, hPct: 20 },
 { name: "Primary Bath", sqft: "~55 sq ft", notes: "Cultured marble vanity · walk-in shower · comfort-height WC", xPct: 32, yPct: 8, wPct: 15, hPct: 20 },
 { name: "Hall Bath", sqft: "~48 sq ft", notes: "Tub/shower combo · cultured marble vanity · comfort-height WC", xPct: 32, yPct: 30, wPct: 15, hPct: 18 },
 { name: "Utility / Laundry", sqft: "~40 sq ft", notes: "50-gal water heater · washer/dryer hookups · HVAC air handler", xPct: 32, yPct: 50, wPct: 15, hPct: 15 },
 { name: "Kitchen", sqft: "~140 sq ft", notes: "Shaker cabinets · butcher-block counters · stainless sink", xPct: 49, yPct: 8, wPct: 20, hPct: 30 },
 { name: "Dining", sqft: "~90 sq ft", notes: "Opal-white glass chandelier · dimmer switch", xPct: 49, yPct: 40, wPct: 20, hPct: 20 },
 { name: "Living", sqft: "~200 sq ft", notes: "Picture-frame window · zoned mini-split return", xPct: 49, yPct: 62, wPct: 44, hPct: 28 },
 ],

 images: [
 { file: "exterior-front.jpg", alt: "The Aerie — front elevation in Bone Dutchlap: 6/12 pitch shingle roof, PlyGem picture-frame windows, welcoming entry.", provenance: 'render' },
 { file: "exterior-front-side.jpg", alt: "The Aerie — front-and-side oblique showing the two-module silhouette and the long side elevation.", provenance: 'render' },
 { file: "exterior-charcoal.jpg", alt: "The Aerie in Charcoal — a deep grey Dutchlap siding swatch.", provenance: 'render' },
 { file: "exterior-sage.jpg", alt: "The Aerie in Sage — a muted natural green Dutchlap siding swatch.", provenance: 'render' },
 { file: "exterior-slate.jpg", alt: "The Aerie in Slate Blue — a soft dusty blue Dutchlap siding swatch.", provenance: 'render' },
 { file: "living-dining.jpg", alt: "The Aerie interior — living and dining with opal-white glass chandelier over dining table.", provenance: 'render' },
 { file: "kitchen.jpg", alt: "The Aerie kitchen — Shaker cabinets, butcher-block counters, stainless appliances.", provenance: 'render' },
 { file: "bedroom.jpg", alt: "The Aerie primary bedroom — 12'6\" × 14' with walk-in closet and picture-frame window.", provenance: 'render' },
 { file: "bathroom.jpg", alt: "The Aerie primary bath — cultured marble vanity, walk-in shower, comfort-height toilet.", provenance: 'render' },
 ],

 certificationStack: {
 builder: { tier: 'PERCH-Certified Builder', status: 'held', detail: 'Ops audit passed · 200+ units shipped · GL + product-liability insurance on file · references verified.' },
 unit: { tier: 'Third-Party Inspected Unit', status: 'held', detail: 'NTA state-label inspection completed by our NTA-certified third-party inspector · NC modular label affixed · IRC 2021 + NC Residential 2018 code path.' },
 delivery: { tier: 'Site-Verified for Delivery', status: 'per-buyer', detail: 'The Land Check tool runs against your address on the product page — zoning, setbacks, wastewater availability, and destination-state component approvals all checked before you commit. Green means clear.' },
 },

 componentApprovals: {
 states: ['NC','SC','GA','TN','VA','FL','TX'],
 rows: [
 { component: 'Entry door · 6-panel steel', NC:'approved', SC:'approved', GA:'approved', TN:'approved', VA:'approved', FL:'on-request', TX:'on-request' },
 { component: 'Windows · PlyGem picture-frame Low-E (premium)', NC:'approved', SC:'approved', GA:'approved', TN:'approved', VA:'approved', FL:'on-request', TX:'on-request' },
 { component: 'Roof · Architectural shingle · 6/12 pitch', NC:'approved', SC:'approved', GA:'approved', TN:'approved', VA:'approved', FL:'on-request', TX:'on-request' },
 { component: 'Siding · GP Vinyl Dutchlap', NC:'approved', SC:'approved', GA:'approved', TN:'approved', VA:'approved', FL:'on-request', TX:'on-request' },
 { component: 'Tie-downs · engineered anchor package', NC:'approved', SC:'approved', GA:'approved', TN:'approved', VA:'approved', FL:'on-request', TX:'on-request' },
 ],
 footnote: 'Standard delivery footprint (NC · SC · GA · TN · VA) uses existing component approvals as-is. Nationwide delivery is available — states outside the default footprint may require plan re-engineering (windows, doors, tie-downs, or roof) to clear their state code. Re-engineering + extended freight quoted within 24 hours of reserve.',
 },

 quantityTiers: [
 { qty: 1, discountPct: 0, label: '1 Aerie', savingsLabel: null, badge: null },
 { qty: 2, discountPct: 0.03, label: '2 Aeries', savingsLabel: 'Save $8,940', badge: 'Popular' },
 { qty: 3, discountPct: 0.05, label: '3 Aeries', savingsLabel: 'Save $22,350', badge: 'Best value' },
 ],

 freight: {
 origin: { zip:'', city:'', state:'SC', lat:34.1953, lng:-82.1637 },
 ratePerMile: { standard: 4, wide: 11, super: 20 },
 includedStates: ['NC','SC','GA','TN','VA'],
 longHaulMiles: 800,
 },

 // Two-module ranch, 27ft wide overall = 324" > 144" → super-load.
 unitDimensions: { widthInches: 324, heightInches: 168, lengthInches: 432, freightCategory: 'super' },

 buildSlots: {
 totalThisWindow: 4,
 remainingThisWindow: 3,
 windowLabel: 'Q4 2026',
 nextWindowLabel: 'Q1 2027',
 },

 compareRows: [
 { dim: 'Price for a 3BR/2BA', nest: '$149,000 module · ~$28,000 site scope', siteBuilt: '$320,000–$540,000 typical' },
 { dim: 'Timeline to move-in', nest: '12–14 weeks', siteBuilt: '9–18 months' },
 { dim: 'Weather risk to schedule', nest: 'None — built indoors', siteBuilt: 'High — every rain day is a delay' },
 { dim: 'Warranty', nest: '10 yr structural · 7 yr systems', siteBuilt: '1 yr builder default (2-10 program if opted in)' },
 { dim: 'Financing options', nest: 'Modular mortgage · cash · const-to-perm', siteBuilt: 'Construction loan required' },
 { dim: 'Code path', nest: 'State-labeled modular · pre-inspected', siteBuilt: 'Full stick-built inspection chain' },
 { dim: 'Change orders mid-build', nest: 'Locked at signing', siteBuilt: 'Common — cost overruns average 20%' },
 { dim: 'Resale', nest: 'Sells as real property (with land)', siteBuilt: 'Sells as real property' },
 ],
 compareSummary: {
 winner: 'The Aerie',
 savingsLow: 143000, // $320K low - ~$177K delivered
 savingsHigh: 363000, // $540K high - ~$177K delivered
 monthsSaved: '7–15 months faster',
 },

 transparencyFAQ: [
 { q: 'What if my build hits a delay?', a: 'Weather doesn\'t affect the factory — that\'s a category advantage. If a permit, engineering revision, or supplier issue slips the schedule, Concierge notifies you within 24 hours with a new date and a written cause. Every milestone stays in escrow until it clears — no money moves for stages that haven\'t happened.' },
 { q: 'What happens to my $1,000 reserve fee if I change my mind?', a: 'Your $1,000 reserve is refundable through pre-production — typically the first 14 days after Reserve, before we open the factory ticket. Change your mind in that window and PERCH returns the full $1,000 to your original payment method within 5 business days, minus any engineering already run at your request (usually $0). Once production opens, the reserve credits toward your 20% deposit ($29,800) and cancellation reverts to the manufacturer\'s change-order policy, disclosed in full at contract signing.' },
 { q: 'What if the state code changes during my build?', a: 'Code changes generally apply to permits filed after the effective date, not to units already in production under an approved state label. If a change does affect your unit, PERCH covers the re-engineering cost on The Aerie (contract-manufactured with margin baked). On third-party marketplace listings, we quote pass-through and disclose before signing.' },
 { q: 'What if the manufacturer goes under?', a: 'Every PERCH transaction runs through licensed escrow — funds only release after our manufacturer uploads dated video/photo proof of the milestone and you sign it off digitally. If a manufacturer partner ever ceased operations mid-build, your remaining escrow balance would be returned in full and we would coordinate placement with another PERCH-Certified builder to complete or restart the build.' },
 ],

 scheduleContact: {
 email: 'hello@ownperch.com',
 replyWindow: '24 hours',
 calendlyUrl: null,
 note: 'Every note routes to PERCH Concierge. We reply within 24 hours to set a call — or answer in writing if that\'s faster for you.',
 },

 regulatoryPositioning: 'PERCH is a modular home dealer and an escrow-guaranteed transaction platform. Every build is inspected, escrowed, and warrantied end-to-end.',

 perchByNumbers: {
 buildersCertified: 12,
 waitlistBuyers: 4447,
 unitsInProduction: 3,
 footprintDefault: '5 states',
 footprintAvailable: 'all 50',
 },

 reviews: [],
 reviewsEmptyState: {
 title: "Be the first.",
 body: "The Aerie is our newest elevated ranch. Reviews open the moment our first delivery signs off. Watch this space — or reserve now to be one of the first names on it.",
 },

 similar: [
 { id:2, name:"The Bough", builder:"PERCH", sqft:963, beds:3, baths:2, price:149000, img:1 },
 { id:6, name:"The Bloom", builder:"PERCH", sqft:1048, beds:2, baths:2, price:179000, img:1 },
 { id:1, name:"The Nest", builder:"PERCH", sqft:567, beds:1, baths:1, price:129000, img:1 },
 ],
 included: [
 "Complete factory-finished modules (interior + exterior · two-module ranch)",
 "PlyGem premium picture-frame Low-E windows (upgraded over standard)",
 "Opal-white glass chandelier over dining table · dimmer switch",
 "200A electrical service panel + Decora switches throughout",
 "21 SEER mini-split HVAC system (units supplied, installed on-site)",
 "50-gallon electric water heater installed",
 "Full Shaker kitchen · stainless sink · brushed nickel pull-down faucet",
 "Primary + hall bath · comfort-height toilets · cultured marble vanities",
 "CALI Vinyl Pro LVP throughout",
 "GP Vinyl Dutchlap siding · architectural shingle roof (6/12 pitch)",
 "Kwikset SmartKey exterior locksets · exterior GFCI + LED lighting",
 "Freight delivery to your prepared site (NC · SC · GA · TN · VA)",
 "NC modular state label · NTA-certified third-party inspection · full code compliance package",
 "PERCH escrow-guaranteed transaction · HomeCare Plus warranty (10 yr structural · 7 yr systems · 7 yr appliances)",
 ],
 buyerResponsibility: [
 "Land acquisition, survey, and zoning verification (Land Check tool available)",
 "Soil testing (percolation / geotech report — required by most jurisdictions)",
 "Crawl-space or slab foundation prepared per manufacturer engineering specs",
 "Building permits + zoning approval (Concierge team provides checklist)",
 "Utility hookups: water, sewer, electric (200A service drop)",
 "Site preparation, grading, and access road (min. 14' wide for delivery truck)",
 "Set crew + crane (~$4,500–$8,500 typical for two-module set)",
 "On-site HVAC line-set connection (units are pre-charged and supplied)",
 "Final inspections (varies by county) and certificate of occupancy",
 "Floor insulation install (per RESCheck spec, supplied but installed on-site)",
 ],
 customizations: [
 { category: "Exterior Siding", options: ["GP Vinyl Dutchlap (included)"], default: 0, type: "swatch", textures: ["siding-dutchlap.jpg"] },
 { category: "Exterior Color", options: ["Bone (included)", "Charcoal", "Sage", "Slate Blue"], default: 0, type: "color", colors: ["#EDE6D2", "#3A3D3F", "#7E8F6E", "#8FA4B3"], renders: ["exterior-front.jpg", "exterior-charcoal.jpg", "exterior-sage.jpg", "exterior-slate.jpg"] },
 { category: "Flooring", options: ["Natural Oak LVP (included)"], default: 0, type: "swatch", textures: ["flooring-lvp.jpg"] },
 { category: "Cabinet Finish", options: ["Natural Birch Shaker (included)", "Matte White", "Forest Green", "Charcoal"], default: 0, type: "color", colors: ["#C9A87C", "#F5F0E6", "#3E5540", "#2E2E2E"] },
 ],
 faqs: [
 { q: "What if my build hits a delay?", a: "Weather doesn't affect the factory — that's a category advantage. If a permit, engineering revision, or supplier issue slips the schedule, Concierge notifies you within 24 hours with a new date and a written cause. Every milestone stays in escrow until it clears — no money moves for stages that haven't happened." },
 { q: "What happens to my $1,000 reserve fee if I change my mind?", a: "Your $1,000 reserve is refundable through pre-production — typically the first 14 days after Reserve, before we open the factory ticket. Change your mind in that window and PERCH returns the full $1,000 to your original payment method within 5 business days, minus any engineering already run at your request (usually $0). Once production opens, the reserve credits toward your 20% deposit ($29,800) and cancellation reverts to the manufacturer's change-order policy, disclosed in full at contract signing." },
 { q: "What if the state code changes during my build?", a: "Code changes generally apply to permits filed after the effective date, not to units already in production under an approved state label. If a change does affect your unit, PERCH covers the re-engineering cost on The Aerie (contract-manufactured with margin baked). On third-party marketplace listings, we quote pass-through and disclose before signing." },
 { q: "What if the manufacturer goes under?", a: "Every PERCH transaction runs through licensed escrow — funds only release after our manufacturer uploads dated video/photo proof of the milestone and you sign it off digitally. If a manufacturer partner ever ceased operations mid-build, your remaining escrow balance would be returned in full and we would coordinate placement with another PERCH-Certified builder to complete or restart the build." },
 { q: "Who actually builds The Aerie?", a: "The Aerie is manufactured to order by our anchor manufacturing partner in South Carolina — a state-licensed modular manufacturer holding the NC modular state label with NTA-certified third-party inspection. Full manufacturer name and address are disclosed as part of your signed docs at Reserve, per NC modular dealer regs. PERCH is your single point of contact end-to-end — the dealer and marketplace principal. Manufacturer warranty passes through directly to you." },
 { q: "What foundation do I need?", a: "The Aerie is engineered for a crawl-space foundation. Our manufacturing partner provides full engineering specs at contract signing. Most buyers hire a local contractor — typical cost is $5,500–$11,000 depending on soil conditions and jurisdiction. A slab foundation is available as a site-scope upgrade; ask Concierge." },
 { q: "What states can you deliver to?", a: "Standard delivery is NC, SC, GA, TN, and VA — included within our manufacturing partner's base freight radius. Extended-range delivery to FL, AL, KY, WV, MD, DE, or coastal SE states is available with a custom freight quote (typically $4.50–$7.50 per loaded mile beyond standard to cover specialized heavy-haul transport, fuel surcharges, multi-state oversize permits, and required pilot/escort cars). Not currently available west of the Mississippi." },
 { q: "What is 'module + freight' vs. site scope?", a: "$149,000 covers the two completed factory modules and freight to your prepared site. Site scope — foundation, utility hookups, HVAC line-set install, set crew, permits, and site prep — is quoted separately and typically runs $22,000–$34,000 depending on jurisdiction and site conditions. PERCH Concierge can provide a full budget worksheet before you reserve." },
 { q: "How is payment handled?", a: "The entire transaction moves through licensed escrow. You start your build with a 20% production deposit ($29,800). Balance funds sit in escrow and release milestone-by-milestone as our manufacturing partner uploads photo and video proof of each production stage — Frame, Dry-In, Systems Rough-In, Delivery + Set, Final. You review the proof inside your PERCH inbox and digitally sign the milestone. Only then does escrow release the next tranche to our anchor manufacturing partner. Wire, ACH, and construction financing all settle through the same milestone lane." },
 { q: "Can I finance it?", a: "Yes. The Aerie qualifies for modular home construction financing through several PERCH-partnered lenders. Because it carries the NC state modular label (not HUD/manufactured), it appraises and finances as real property once permanently affixed to a foundation. Ask Concierge to pre-qualify you before you reserve." },
 { q: "What certifications does it carry?", a: "The Aerie is engineered to IRC 2021 and NC Residential Code 2018 with NC Electrical 2017 and NC Energy 2018 references. It ships with the NC modular state label and NTA-certified third-party inspection. Structural rating: 115 mph wind (Vult, Exposure C), Seismic Category C, Climate Zone 4, 20 PSF ground snow load." },
 { q: "Can it be built to my state's residential code?", a: "Almost always, yes — but it may need re-engineering first. The Aerie ships as-built to IRC 2021 + NC Residential Code 2018, which is directly accepted in NC and neighboring states with matching or older code cycles. For other states, our manufacturing partner re-engineers the plans to your state's adopted residential code before we open the production ticket. Timeline and re-engineering cost vary by state — some jurisdictions require minor tweaks, others require broader structural, wind, or thermal revisions that carry additional engineering fees. Tell us your build state at Reserve; Concierge scopes the re-engineering timeline and cost within 24 hours and confirms with you before production opens." },
 { q: "How do I share this with my contractor?", a: "Click 'Share with Contractor' in the sidebar. We email your GC the full contractor package: engineering spec sheet, foundation and utility hookup drawings, NC modular state label docs, code references, and the site-scope checklist. After your production slot confirms, your GC gets shared access to your PERCH dashboard so they can pull permits, review milestone proofs, and coordinate the set date directly." },
 { q: "How long from reserve to move-in?", a: "12–14 weeks reserve-to-move-in on a well-scoped site. Slot confirm 1–2 weeks, factory build 7–8 weeks, ship + set 1 week, button-up + inspection 1–2 weeks. Site prep runs in parallel with factory build — no lost time." },
 { q: "What's the warranty?", a: "Every Aerie ships with PERCH HomeCare Plus — bundled into the base price, no add-on. 10 years on structural integrity (load-bearing frame, roof, exterior envelope). 7 years on major home systems (HVAC, electrical, plumbing — parts and labor). 7 years on home appliances (range, water heater, mini-split, exhaust). Coverage begins at Certificate of Occupancy and is transferable to the next owner one time within the coverage window." },
 { q: "Can I see it in person before I buy?", a: "Our manufacturing partner's South Carolina facility hosts scheduled walk-throughs of in-progress builds by appointment. Ask Concierge to coordinate." },
 ],
 socialProof: {
 launch: true,
 launchDate: "September 2026",
 launchLabel: "New PERCH elevated ranch · Newly available",
 },
 sku: "PERCH-AERIE-990",
 gtin: null,
 category: "Modular Homes > Three-Bedroom Ranch",
};

const PLACEHOLDER_COLORS_PDP = [
 ['#3D5C3A','#5a7d56'], ['#4a6741','#6b8e67'], ['#2d4a30','#4d6a50'],
 ['#5c7a58','#7d9b79'], ['#3a5937','#5b7a58'], ['#4d6b4a','#6e8c6b'],
 ['#365534','#577655'], ['#486846','#698967'],
];

function estimateMonthlyPDP(price, years = 7, rate = 0.069) {
 const r = rate / 12;
 const n = years * 12;
 return Math.round(price * (r * Math.pow(1+r, n)) / (Math.pow(1+r, n) - 1));
}

function PlaceholderImg({ index, label, style }) {
 const item = PRODUCT.images && PRODUCT.images[index];
 const hasReal = item && typeof item === 'object' && item.file;

 if (hasReal) {
 return React.createElement('img', {
 src: '/homes/the-aerie/images/' + item.file + '?v=1',
 alt: item.alt || 'The Aerie',
 loading: index === 0 ? 'eager' : 'lazy',
 fetchpriority: index === 0 ? 'high' : 'auto',
 decoding: index === 0 ? 'sync' : 'async',
 style: { width:'100%', height:'100%', objectFit:'cover', display:'block', ...style }
 });
 }

 const [c1, c2] = PLACEHOLDER_COLORS_PDP[index % PLACEHOLDER_COLORS_PDP.length];
 const labelText = typeof label === 'string' ? label : (label && label.alt) || 'photo';
 return React.createElement('div', { style: { width:'100%', height:'100%', background:`linear-gradient(135deg, ${c1}, ${c2})`, display:'flex', alignItems:'center', justifyContent:'center', position:'relative', overflow:'hidden', ...style } },
 React.createElement('div', { style: { position:'absolute', inset:0, opacity:0.08, backgroundImage:'repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.5) 10px, rgba(255,255,255,0.5) 12px)' }}),
 React.createElement('div', { style: { textAlign:'center', color:'rgba(255,255,255,0.6)', fontFamily:'var(--font-mono)', fontSize:11, letterSpacing:'0.08em', textTransform:'uppercase' }},
 React.createElement('div', { style: { fontSize:28, marginBottom:6, opacity:0.5 }}, '⌂'),
 labelText
 )
 );
}

function PDPIcon({ name, size=20, style={}, fill=0, weight=300 }) {
 return React.createElement('span', {
 className:'material-symbols-outlined',
 style: {
 fontSize:size,
 fontVariationSettings: '"FILL" ' + fill + ', "wght" ' + weight + ', "GRAD" 0, "opsz" 20',
 lineHeight: 1,
 verticalAlign: 'middle',
 ...style
 }
 }, name);
}

Object.assign(window, { PRODUCT, PLACEHOLDER_COLORS_PDP, estimateMonthlyPDP, PlaceholderImg, PDPIcon });
