// ============================================================
// HausMatch App · Mock data
// Scottsdale / Paradise Valley luxury listings, aesthetic fingerprints,
// style-quiz images, agent portraits.
// ============================================================

// Hero image used on upload screen (the "home you uploaded")
const UPLOADED_HOME = {
  img: "https://images.unsplash.com/photo-1613490493576-7fde63acd811?w=1600&q=85&auto=format&fit=crop",
  alt: "A low-slung desert modern home with a reflecting pool and saguaros",
};

// 6 matches, ranked by similarity — for results grid + detail
const MATCHES = [
  {
    id: "ml-1",
    sim: 0.96,
    price: "$4,850,000",
    beds: 4, baths: 5, sqft: 4810,
    address: "6427 N 44th Pl",
    neighborhood: "Paradise Valley",
    lat: 33.5441, lng: -111.9895,
    styleTags: ["Desert Modern", "Organic Minimal"],
    rationale: "Low rooflines, warm wood ceilings, indoor-outdoor threshold.",
    photos: [
      "https://images.unsplash.com/photo-1613977257363-707ba9348227?w=1600&q=85&auto=format&fit=crop",
      "https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1200&q=85&auto=format&fit=crop",
      "https://images.unsplash.com/photo-1600566753051-6057ecb0139f?w=1200&q=85&auto=format&fit=crop",
      "https://images.unsplash.com/photo-1600210492493-0946911123ea?w=1200&q=85&auto=format&fit=crop",
    ],
    agent: { name: "Daniel Lombard", firm: "Compass · Arizona" },
  },
  {
    id: "ml-2",
    sim: 0.94,
    price: "$3,950,000",
    beds: 5, baths: 6, sqft: 5240,
    address: "10016 E Happy Valley Rd",
    neighborhood: "Scottsdale · Troon",
    lat: 33.7157, lng: -111.8724,
    styleTags: ["Desert Modern", "Soft Brutalist"],
    rationale: "Rammed-earth walls, desert palette, mountain view corridor.",
    photos: [
      "https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1200&q=85&auto=format&fit=crop",
      "https://images.unsplash.com/photo-1600573472550-8090b5e0745e?w=1200&q=85&auto=format&fit=crop",
    ],
  },
  {
    id: "ml-3",
    sim: 0.92,
    price: "$5,495,000",
    beds: 5, baths: 5.5, sqft: 6120,
    address: "6015 E Joshua Tree Ln",
    neighborhood: "Paradise Valley",
    lat: 33.5510, lng: -111.9663,
    styleTags: ["Organic Minimal", "Japandi"],
    rationale: "Wide-plank oak, paper-lantern ceilings, courtyard-centered plan.",
    photos: [
      "https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1200&q=85&auto=format&fit=crop",
      "https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=1200&q=85&auto=format&fit=crop",
    ],
  },
  {
    id: "ml-4",
    sim: 0.89,
    price: "$3,395,000",
    beds: 4, baths: 4.5, sqft: 4020,
    address: "7170 E Camelback Rd #405",
    neighborhood: "Scottsdale · Old Town",
    lat: 33.5006, lng: -111.9256,
    styleTags: ["Modern Hacienda", "Warm Minimal"],
    rationale: "Stucco archways, terracotta flooring, open kitchen threshold.",
    photos: [
      "https://images.unsplash.com/photo-1600047509807-ba8f99d2cdde?w=1200&q=85&auto=format&fit=crop",
    ],
  },
  {
    id: "ml-5",
    sim: 0.87,
    price: "$2,895,000",
    beds: 3, baths: 4, sqft: 3480,
    address: "5115 N Casa Blanca Dr",
    neighborhood: "Paradise Valley",
    lat: 33.5281, lng: -111.9820,
    styleTags: ["Desert Modern"],
    rationale: "Horizontal massing, board-formed concrete, desert garden entry.",
    photos: [
      "https://images.unsplash.com/photo-1600585152220-90363fe7e115?w=1200&q=85&auto=format&fit=crop",
    ],
  },
  {
    id: "ml-6",
    sim: 0.85,
    price: "$4,125,000",
    beds: 5, baths: 5, sqft: 4680,
    address: "11028 E Troon Mountain Dr",
    neighborhood: "Scottsdale · North",
    lat: 33.7085, lng: -111.8472,
    styleTags: ["Soft Brutalist", "Desert Modern"],
    rationale: "Cantilevered roof, raw concrete, glass on two full elevations.",
    photos: [
      "https://images.unsplash.com/photo-1600210491892-03d54c0aaf87?w=1200&q=85&auto=format&fit=crop",
    ],
  },
];

// Style-quiz images — 8 pairs (16 photos). User picks one from each pair.
// Each image has a weight toward an aesthetic axis.
const QUIZ_PAIRS = [
  [
    { src: "https://images.unsplash.com/photo-1613977257363-707ba9348227?w=900&q=85&auto=format&fit=crop", style: "Desert Modern" },
    { src: "https://images.unsplash.com/photo-1505691938895-1758d7feb511?w=900&q=85&auto=format&fit=crop", style: "Coastal Mediterranean" },
  ],
  [
    { src: "https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=900&q=85&auto=format&fit=crop", style: "Organic Minimal" },
    { src: "https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=900&q=85&auto=format&fit=crop", style: "Warm Traditional" },
  ],
  [
    { src: "https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=900&q=85&auto=format&fit=crop", style: "Soft Brutalist" },
    { src: "https://images.unsplash.com/photo-1600573472550-8090b5e0745e?w=900&q=85&auto=format&fit=crop", style: "Tuscan" },
  ],
  [
    { src: "https://images.unsplash.com/photo-1600047509807-ba8f99d2cdde?w=900&q=85&auto=format&fit=crop", style: "Modern Hacienda" },
    { src: "https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=900&q=85&auto=format&fit=crop", style: "Cape Cod" },
  ],
  [
    { src: "https://images.unsplash.com/photo-1600210491892-03d54c0aaf87?w=900&q=85&auto=format&fit=crop", style: "Desert Modern" },
    { src: "https://images.unsplash.com/photo-1600210492493-0946911123ea?w=900&q=85&auto=format&fit=crop", style: "Japandi" },
  ],
  [
    { src: "https://images.unsplash.com/photo-1600585152220-90363fe7e115?w=900&q=85&auto=format&fit=crop", style: "Organic Minimal" },
    { src: "https://images.unsplash.com/photo-1564078516393-cf04bd966897?w=900&q=85&auto=format&fit=crop", style: "Classic Revival" },
  ],
  [
    { src: "https://images.unsplash.com/photo-1600573472550-8090b5e0745e?w=900&q=85&auto=format&fit=crop", style: "Desert Modern" },
    { src: "https://images.unsplash.com/photo-1600585153490-76fb20a32601?w=900&q=85&auto=format&fit=crop", style: "Warm Minimal" },
  ],
  [
    { src: "https://images.unsplash.com/photo-1613490493576-7fde63acd811?w=900&q=85&auto=format&fit=crop", style: "Desert Modern" },
    { src: "https://images.unsplash.com/photo-1567496898669-ee935f5f647a?w=900&q=85&auto=format&fit=crop", style: "Industrial Loft" },
  ],
];

// Visual DNA attributes — shown during matching moment
const VISUAL_DNA = [
  { label: "Architecture", value: "Low-slung · horizontal massing" },
  { label: "Materials", value: "Rammed earth · warm oak · travertine" },
  { label: "Palette", value: "Desert · sand · sage · bone" },
  { label: "Light", value: "Soft diffuse · long horizontal windows" },
  { label: "Threshold", value: "Indoor-outdoor · uninterrupted plane" },
  { label: "Massing", value: "Courtyard-centered · single-story" },
];

Object.assign(window, {
  UPLOADED_HOME, MATCHES, QUIZ_PAIRS, VISUAL_DNA,
});
