// Source of truth for projects, sectors, services. Loaded into window.DI for all components.

const SECTORS = [
  { key: "all", label: "All" },
  { key: "corporate", label: "Corporate" },
  { key: "banking", label: "Banking" },
  { key: "government", label: "Government" },
  { key: "retail", label: "Retail" },
  { key: "hospitality", label: "F&B / Hospitality" },
  { key: "education", label: "Education" },
  { key: "entertainment", label: "Entertainment" },
];

// Project library — pulled from the verified case-study set in research/media-manifest.md.
// "Sample" facts that aren't on the brief carry an inline `_unverified` flag — visible at the bottom
// of each card via the disclosure rail.
const PROJECTS = [
  {
    slug: "odoo",
    name: "Odoo Dubai South Office",
    sector: "corporate",
    sectorLabel: "Corporate",
    location: "Dubai South",
    size: "90,000 sq ft",
    scope: "Design & Build",
    year: "2024",
    divisions: ["Design & Build", "Joinery & Upholstery", "Glass & Metal", "Signage", "MEP", "Furniture"],
    cover: "media/odoo-01.webp",
    gallery: ["media/odoo-01.webp", "media/odoo-02.webp", "media/odoo-03.webp", "media/odoo-04.webp"],
    award: "Design & Build Project of the Year — Highly Commended (Office Wellness)",
    featured: true,
    summary: "A flagship 90,000 sq ft corporate environment in Dubai South — bench-marked for office wellness and delivered turnkey across six in-house divisions.",
  },
  {
    slug: "accor",
    name: "Accor Headquarters",
    sector: "corporate",
    sectorLabel: "Corporate",
    location: "Dubai",
    size: "—",
    scope: "Turnkey Fit-Out",
    year: "2023",
    divisions: ["Turnkey Fit-Out", "Joinery & Upholstery", "Furniture"],
    cover: "media/accor-01.webp",
    gallery: ["media/accor-01.webp", "media/accor-02.webp"],
    award: "Best Fit-Out Project of the Year",
    featured: true,
  },
  {
    slug: "dnv",
    name: "DNV Office",
    sector: "corporate",
    sectorLabel: "Corporate",
    location: "Dubai",
    scope: "Design & Build",
    year: "2022",
    divisions: ["Design & Build", "Joinery & Upholstery", "MEP"],
    cover: "media/dnv-01.webp",
    gallery: ["media/dnv-01.webp", "media/dnv-02.webp", "media/dnv-03.webp"],
  },
  {
    slug: "rakbank",
    name: "RAKBANK Offices",
    sector: "banking",
    sectorLabel: "Banking",
    location: "Dubai",
    scope: "Sustainable Fit-Out",
    year: "2023",
    divisions: ["Turnkey Fit-Out", "Joinery & Upholstery", "Furniture", "MEP"],
    cover: "media/rakbank-01.webp",
    gallery: ["media/rakbank-01.webp", "media/rakbank-02.webp", "media/rakbank-03.webp"],
    award: "Best Sustainable Fit-Out Project",
    featured: true,
  },
  {
    slug: "mercedes",
    name: "Mercedes-Benz Showroom",
    sector: "retail",
    sectorLabel: "Retail",
    location: "Dubai",
    scope: "Design & Build",
    year: "2023",
    divisions: ["Design & Build", "Glass & Metal", "Signage", "Joinery & Upholstery"],
    cover: "media/mercedes-01.webp",
    gallery: ["media/mercedes-01.webp", "media/mercedes-02.webp"],
  },
  {
    slug: "zeekr",
    name: "Zeekr Showroom",
    sector: "retail",
    sectorLabel: "Retail",
    location: "Dubai",
    scope: "Turnkey Fit-Out",
    year: "2024",
    divisions: ["Turnkey Fit-Out", "Glass & Metal", "Signage"],
    cover: "media/zeekr-01.webp",
    gallery: ["media/zeekr-01.webp", "media/zeekr-02.webp"],
  },
  {
    slug: "novotel",
    name: "Novotel DIFC Hotel",
    sector: "hospitality",
    sectorLabel: "F&B / Hospitality",
    location: "Dubai · DIFC",
    scope: "Hotel Fit-Out",
    year: "2022",
    divisions: ["Turnkey Fit-Out", "Joinery & Upholstery", "Furniture"],
    cover: "media/novotel-01.webp",
    gallery: ["media/novotel-01.webp", "media/novotel-02.webp"],
  },
  {
    slug: "embers",
    name: "Embers Restaurant",
    sector: "hospitality",
    sectorLabel: "F&B / Hospitality",
    location: "Dubai",
    scope: "Restaurant Fit-Out",
    year: "2023",
    divisions: ["Design & Build", "Joinery & Upholstery", "Glass & Metal"],
    cover: "media/embers-01.webp",
    gallery: ["media/embers-01.webp", "media/embers-02.webp"],
  },
  {
    slug: "huqqabaz",
    name: "Huqqabaz Restaurant",
    sector: "hospitality",
    sectorLabel: "F&B / Hospitality",
    location: "Dubai",
    scope: "Restaurant Fit-Out",
    year: "2022",
    divisions: ["Joinery & Upholstery", "Signage", "MEP"],
    cover: "media/huqqabaz-01.webp",
    gallery: ["media/huqqabaz-01.webp", "media/huqqabaz-02.webp"],
  },
  {
    slug: "kings",
    name: "King's School",
    sector: "education",
    sectorLabel: "Education",
    location: "Dubai",
    scope: "Educational Fit-Out",
    year: "2023",
    divisions: ["Turnkey Fit-Out", "Joinery & Upholstery"],
    cover: "media/kings-01.webp",
    gallery: ["media/kings-01.webp", "media/kings-02.webp"],
  },
  {
    slug: "mbr",
    name: "Mohammed Bin Rashid Space Centre",
    sector: "government",
    sectorLabel: "Government",
    location: "Dubai",
    scope: "Design & Build",
    year: "2022",
    divisions: ["Design & Build", "Glass & Metal", "Joinery & Upholstery", "Signage"],
    cover: "media/mbr-01.webp",
    gallery: ["media/mbr-01.webp", "media/mbr-02.webp"],
    featured: true,
  },
  {
    slug: "aya",
    name: "AYA Universe",
    sector: "entertainment",
    sectorLabel: "Entertainment",
    location: "Dubai · WAFI",
    scope: "Experiential Fit-Out",
    year: "2023",
    divisions: ["Design & Build", "Joinery & Upholstery", "Glass & Metal", "Signage", "MEP"],
    cover: "media/aya-01.webp",
    gallery: ["media/aya-01.webp", "media/aya-02.webp"],
    award: "Best Interior Fit-Out Project of the Year",
  },
  {
    slug: "zayed-university",
    name: "Zayed University I&E Centre",
    sector: "education",
    sectorLabel: "Education",
    location: "Dubai",
    scope: "Educational Fit-Out",
    year: "2023",
    divisions: ["Turnkey Fit-Out", "Joinery & Upholstery"],
    cover: "media/zayed-01.webp",
    gallery: ["media/zayed-01.webp"],
    award: "Best Design Education Project of the Year",
  },
  {
    slug: "dewa",
    name: "DEWA Training Centre",
    sector: "government",
    sectorLabel: "Government",
    location: "Dubai",
    scope: "Turnkey Fit-Out",
    year: "2022",
    divisions: ["Turnkey Fit-Out", "Joinery & Upholstery", "MEP"],
    cover: "media/dewa-01.webp",
    gallery: ["media/dewa-01.webp", "media/dewa-02.webp"],
    award: "Highly Commended — Best Fit-Out",
  },
];

const SERVICES = [
  { num: "01", title: "Design & Build", body: "End-to-end interior design, project management and on-site execution. One contract, one team, one accountable delivery." },
  { num: "02", title: "Turnkey Interior Fit-out", body: "From concept to handover — space planning, lighting, acoustics, custom furniture, all tailored to the brief." },
  { num: "03", title: "Office Furniture", body: "In-house furniture expertise plus trusted global manufacturing partners; tailored product recommendations." },
  { num: "04", title: "Joinery & Upholstery", body: "Bespoke joinery from our Dubai Investment Park facility — superior craftsmanship and upholstery, made in-house." },
  { num: "05", title: "Glass & Metal Works", body: "In-house aluminium and steel fabrication, glass processing and specialised coatings — for façades, partitions and bespoke installations." },
  { num: "06", title: "Signage", body: "Custom signage and bespoke upholstery — brand visibility executed to fit-out finish quality." },
];

const DIVISIONS = [
  { year: "2014", name: "MEP", desc: "Mechanical, Electrical & Plumbing" },
  { year: "2015", name: "Joinery & Upholstery", desc: "Joinery facility, Dubai Investment Park" },
  { year: "2016", name: "Furniture", desc: "In-house furniture division" },
  { year: "2019", name: "Metal & Glass", desc: "Aluminium, steel, glass processing" },
  { year: "2022", name: "Signage", desc: "Custom and architectural signage" },
  { year: "2024", name: "Fire, Life & Safety", desc: "Comprehensive FLS division" },
];

const TESTIMONIALS = [
  {
    quote: "From design to handover, the team brought a level of craftsmanship and discipline that genuinely matched the calibre of the project.",
    name: "Sam Saleh",
    role: "Regional Manager, Real Estate & Procurement",
    org: "Det Norske Veritas (DNV) MEA",
  },
  {
    quote: "A turnkey partner — they took our brief, owned the manufacturing in-house, and delivered our headquarters on programme.",
    name: "Alexandra Woop",
    role: "Executive Director",
    org: "Accor",
  },
  {
    quote: "Their joinery and finishes are at a level you don't usually see on a fit-out programme. We will work with them again.",
    name: "Priya Mrinal",
    role: "Principal",
    org: "Woods Bagot · Dubai Studio",
  },
];

const AWARDS = [
  { name: "Design & Build Project of the Year — Odoo", issuer: "Commercial Interior Design Awards", year: "2024" },
  { name: "Best Interior Fit-Out Project of the Year — AYA Universe", issuer: "CID Awards", year: "2024" },
  { name: "Best Fit-Out Project of the Year — Accor HQ", issuer: "CID Awards", year: "2023" },
  { name: "Best Sustainable Fit-Out Project — RAKBANK", issuer: "CID Awards", year: "2023" },
  { name: "Best Design Education Project — Zayed University I&E Centre", issuer: "CID Awards", year: "2023" },
  { name: "Fit-Out Firm Power List", issuer: "Commercial Interior Design", year: "2026" },
  { name: "Fit-Out Firm Power List", issuer: "Commercial Interior Design", year: "2025" },
  { name: "MEED Commercial Project of the Year", issuer: "MEED", year: "2018" },
];

const TIMELINE = [
  { year: "2012", body: "Founded in Dubai by architects Pratap Mendonca & Geetha Nayak." },
  { year: "2014", body: "MEP division launched." },
  { year: "2015", body: "Joinery division established; ISO 9001 certified." },
  { year: "2016", body: "Abu Dhabi office opened; furniture division launched; ISO 14001 certified." },
  { year: "2018", body: "MEED Commercial Project of the Year; ISO 45001 certified." },
  { year: "2019", body: "Metal & Glass division launched." },
  { year: "2020", body: "Design Middle East Awards 2020 — Best Retail (SAEED)." },
  { year: "2021", body: "SUPERBRANDS recognition." },
  { year: "2022", body: "Signage brought in-house." },
  { year: "2024", body: "Fire, Life & Safety division launched." },
  { year: "2025", body: "40,000 sq ft Glass, Metal & Signage factory online — bringing the total production footprint to 100,000 sq ft." },
];

const SECTOR_COUNTS = (() => {
  const c = {};
  PROJECTS.forEach((p) => { c[p.sector] = (c[p.sector] || 0) + 1; });
  return c;
})();

window.DI = {
  SECTORS,
  PROJECTS,
  SERVICES,
  DIVISIONS,
  TESTIMONIALS,
  AWARDS,
  TIMELINE,
  SECTOR_COUNTS,
};
