/* MAG Lifestyle Development — content data
   All factual claims kept conservative per CLAUDE-DESIGN accuracy rules.
   No fabricated prices, sizes, dates, unit counts, RERA/DLD, awards, ratings.
   Press-attributed claims flagged with `attribution`. Items needing client
   confirmation flagged with `confirm: true`.                                 */

const HERO_SLIDES = [
  {
    id: "ritz",
    img: "media/project-ritz-carlton-residences-creekside.webp",
    eyebrow: "Branded Residences · Dubai Creek",
    title: "The art of\nliving well.",
    caption: "Ritz-Carlton Residences, Dubai Creekside — render. Third-party brand; licensing & render rights to be confirmed.",
    project: "ritz-carlton-creekside",
  },
  {
    id: "creekside",
    img: "media/ritz-carlton-residences-creekside-interior-2.webp",
    eyebrow: "Architecture · Travertine + Verde",
    title: "Communities\nthat uplift.",
    caption: "Architectural render — Ritz-Carlton Residences Creekside.",
    project: "ritz-carlton-creekside",
  },
  {
    id: "keturah",
    img: "media/project-keturah-reserve-residences-render-4.webp",
    eyebrow: "Keturah · Bio Living",
    title: "Where the\ngreen lives in.",
    caption: "Keturah Reserve — render. \"Bio Living\" is a Keturah-attributed concept.",
    project: "keturah-reserve",
  },
  {
    id: "777",
    img: "media/project-mag-777.webp",
    eyebrow: "Dubailand · MAG 777",
    title: "An urban\nrise.",
    caption: "MAG 777 — official microsite render.",
    project: "mag-777",
  },
];

/* ----------------------------------------------------------------
   PROJECT CATALOG
   Categories: "current" | "keturah" | "completed"
   Many fields show inline [CONFIRM] tags rather than invented values.
   ---------------------------------------------------------------- */
const PROJECTS = [
  // ----- Current (non-Keturah) -----
  {
    slug: "mag-d11",
    cat: "current",
    name: "MAG D11",
    location: "Mohammed Bin Rashid City, Dubai",
    coord: "25.1742° N, 55.2854° E",
    img: "media/project-mag-d11.webp",
    gallery: [
      "media/project-mag-d11.webp",
    ],
    tagline: "City address. Garden rhythm.",
    summary:
      "A residential address in the heart of MBR City, designed to thread urban accessibility through landscaped calm.",
    facts: [
      { k: "Status", v: "Current launch" },
      { k: "Type", v: "Residential" },
      { k: "Location", v: "MBR City" },
      { k: "RERA / DLD", v: "[CONFIRM]", confirm: true },
    ],
  },
  {
    slug: "mag-777",
    cat: "current",
    name: "MAG 777",
    location: "Dubailand · Dubai Sports City corridor",
    coord: "[CONFIRM coords]",
    img: "media/project-mag-777.webp",
    gallery: [
      "media/project-mag-777.webp",
    ],
    tagline: "Investor-grade scale.",
    summary:
      "An elevated residential tower in the Dubailand district, programmed for the discerning end-user and yield-seeking investor alike.",
    facts: [
      { k: "Status", v: "Current launch" },
      { k: "Type", v: "Residential tower" },
      { k: "Location", v: "Dubailand" },
      { k: "RERA / DLD", v: "[CONFIRM]", confirm: true },
    ],
  },
  {
    slug: "mag-330",
    cat: "current",
    name: "MAG 330",
    location: "City of Arabia, Dubailand",
    coord: "[CONFIRM coords]",
    img: "media/project-mag-330.webp",
    gallery: [
      "media/project-mag-330.webp",
      "media/project-mag-330-render-2.webp",
      "media/project-mag-330-render-3.webp",
    ],
    tagline: "Designed for the rhythm of the city.",
    summary:
      "A vertical residential community framed by the long avenues of City of Arabia, balancing convenience with composure.",
    facts: [
      { k: "Status", v: "Current launch" },
      { k: "Type", v: "Residential" },
      { k: "Location", v: "City of Arabia" },
      { k: "RERA / DLD", v: "[CONFIRM]", confirm: true },
    ],
  },
  {
    slug: "mag-22",
    cat: "current",
    name: "MAG 22",
    location: "MAG City · Meydan corridor",
    coord: "[CONFIRM coords]",
    img: "media/project-mag-22-render-1.webp",
    gallery: [
      "media/project-mag-22-render-1.webp",
      "media/project-mag-22-render-2.webp",
    ],
    tagline: "A quieter address, well met.",
    summary:
      "Mid-rise residential within MAG's developing Meydan corridor — privacy, light, and a measured floor plan.",
    facts: [
      { k: "Status", v: "Current launch" },
      { k: "Type", v: "Residential" },
      { k: "Location", v: "Meydan corridor" },
      { k: "RERA / DLD", v: "[CONFIRM]", confirm: true },
    ],
  },
  {
    slug: "mbl-royal",
    cat: "current",
    name: "MBL Royal",
    location: "Jumeirah Lake Towers, Dubai",
    coord: "[CONFIRM coords]",
    img: "media/project-mbl-royal.webp",
    gallery: [
      "media/project-mbl-royal.webp",
      "media/project-mbl-royal-interior-1.webp",
      "media/project-mbl-royal-interior-2.webp",
    ],
    tagline: "JLT, well lived.",
    summary:
      "A residential tower in JLT framed by lakes and city avenues — interiors specified for the long stay, not the photoshoot.",
    facts: [
      { k: "Status", v: "Current launch" },
      { k: "Type", v: "Residential tower" },
      { k: "Location", v: "JLT" },
      { k: "RERA / DLD", v: "[CONFIRM]", confirm: true },
    ],
  },

  // ----- Keturah portfolio -----
  {
    slug: "keturah-reserve",
    cat: "keturah",
    name: "Keturah Reserve",
    sub: "Residences · Townhouses · Villa Plots",
    location: "MBR City · District 7",
    coord: "[CONFIRM coords]",
    img: "media/project-keturah-reserve-residences.webp",
    gallery: [
      "media/project-keturah-reserve-residences.webp",
      "media/project-keturah-reserve-residences-render-2.webp",
      "media/project-keturah-reserve-residences-render-3.webp",
      "media/project-keturah-reserve-residences-render-4.webp",
      "media/project-keturah-reserve-townhouses-render-1.webp",
      "media/project-keturah-reserve-townhouses-render-2.webp",
      "media/project-keturah-reserve-villa-plots-render-1.webp",
    ],
    tagline: "Bio Living, written into the masterplan.",
    summary:
      "The District 7 community where Keturah's \"Bio Living\" approach defines architecture, planting, and routine. A press-cited AED 3bn development — figure attributed to the Keturah / MAG press cycle, not independently audited.",
    keturah: true,
    pillars: [
      { n: "01", h: "Biophilic by design", b: "Greenery is structural, not decorative. Each residence is set into landscape rather than next to it." },
      { n: "02", h: "Daylight and air", b: "Floor plates and orientations are tuned for cross-ventilation, deep daylight, and shaded outdoor rooms." },
      { n: "03", h: "Wellness as routine", b: "Walking circuits, water, and quiet zones are designed into the everyday — not relegated to amenities." },
    ],
    facts: [
      { k: "Concept", v: "Bio Living (Keturah-attributed)" },
      { k: "District", v: "MBR City · D7" },
      { k: "Programme", v: "Residences · Townhouses · Plots" },
      { k: "Total residences", v: "[CONFIRM]", confirm: true },
    ],
  },
  {
    slug: "keturah-resort",
    cat: "keturah",
    name: "Keturah Resort",
    location: "Ras Al Khor · Dubai Creek",
    coord: "[CONFIRM coords]",
    img: "media/project-keturah-resort-render-1.webp",
    gallery: [
      "media/project-keturah-resort-render-1.webp",
      "media/project-keturah-resort-render-2.webp",
    ],
    tagline: "A wellness-led address on the Creek.",
    summary:
      "A resort-style wellness destination on Dubai Creek, threaded with marina, gardens, and views toward the city skyline.",
    keturah: true,
    facts: [
      { k: "Concept", v: "Wellness resort" },
      { k: "Location", v: "Creekside" },
      { k: "Status", v: "Current launch" },
      { k: "Wellness certification", v: "[CONFIRM]", confirm: true },
    ],
  },
  {
    slug: "ritz-carlton-creekside",
    cat: "keturah",
    name: "The Ritz-Carlton Residences, Dubai, Creekside",
    sub: "with Keturah",
    location: "Dubai Creek",
    coord: "[CONFIRM coords]",
    img: "media/project-ritz-carlton-residences-creekside.webp",
    gallery: [
      "media/project-ritz-carlton-residences-creekside.webp",
      "media/ritz-carlton-residences-creekside-interior-1.webp",
      "media/ritz-carlton-residences-creekside-interior-2.webp",
      "media/ritz-carlton-residences-creekside-interior-3.webp",
      "media/ritz-carlton-residences-creekside-interior-4.webp",
      "media/ritz-carlton-residences-creekside-interior-5.webp",
    ],
    tagline: "Branded residences, written into the water.",
    summary:
      "A branded-residence destination on Dubai Creek — seven buildings and twelve mansions, the only architectural counts stable across sources. Total residence count remains conflicted and is intentionally not published.",
    keturah: true,
    rights: "Ritz-Carlton is a third-party brand. Licensing, logo usage, and render publication rights to be confirmed before public launch.",
    pillars: [
      { n: "01", h: "Seven buildings, twelve mansions", b: "Stable across official sources. Other published totals conflict; we omit them until client-confirmed." },
      { n: "02", h: "Creek-facing", b: "Marina edge, framed by water and the Downtown skyline beyond." },
      { n: "03", h: "Branded service", b: "Operated as a Ritz-Carlton-branded residence — service program subject to operator agreement." },
    ],
    facts: [
      { k: "Architecture", v: "7 buildings · 12 mansions" },
      { k: "Operator", v: "Ritz-Carlton (third-party)" },
      { k: "Total residences", v: "[CONFIRM]", confirm: true },
      { k: "Handover", v: "[CONFIRM]", confirm: true },
    ],
  },
  {
    slug: "keturah-tower",
    cat: "keturah",
    name: "Keturah Tower",
    location: "[CONFIRM location]",
    coord: "[CONFIRM coords]",
    img: "media/project-keturah-resort-render-2.webp",
    gallery: [],
    tagline: "Coming soon.",
    summary:
      "Listed on the official Keturah category as a current/coming item. Project details to be confirmed before pitching as an active launch.",
    keturah: true,
    confirm: true,
    facts: [
      { k: "Status", v: "Coming soon", v_color: "var(--secondary)" },
      { k: "Details", v: "[CONFIRM]", confirm: true },
    ],
  },

  // ----- Completed / legacy (display-only) -----
  { slug: "mag-5-boulevard", cat: "completed", name: "MAG 5 Boulevard", location: "Dubai South", img: "media/project-mag-5-boulevard.webp" },
  { slug: "mag-214", cat: "completed", name: "MAG 214", location: "JLT, Dubai" },
  { slug: "mag-218", cat: "completed", name: "MAG 218", location: "Dubai Marina" },
  { slug: "mag-318", cat: "completed", name: "MAG 318", location: "Business Bay" },
  { slug: "mag-5-residences", cat: "completed", name: "MAG 5 Residences", location: "Dubai South" },
  { slug: "mbl-residence", cat: "completed", name: "MBL Residence", location: "JLT" },
  { slug: "emirates-financial-towers", cat: "completed", name: "Emirates Financial Towers", location: "DIFC · MAG HQ" },
  { slug: "the-estate", cat: "completed", name: "The Estate", location: "Dubai" },
];

/* Reusable amenity copy — kept generic / wellness-led, no invented counts */
const KETURAH_AMENITIES = [
  { ttl: "Wellness circuits", sub: "Walking, cycling, and water trails woven into the master landscape." },
  { ttl: "Private gardens", sub: "Residence-scaled garden rooms — shaded, planted, daylit." },
  { ttl: "Resort spa", sub: "Treatment suites, hammam, and hydrotherapy zones (programme subject to confirmation)." },
  { ttl: "Indoor / outdoor pools", sub: "Lap pool, leisure pool, and a quieter family pool." },
  { ttl: "Movement studios", sub: "Yoga, pilates, breath-work, and group movement rooms." },
  { ttl: "Kids' worlds", sub: "Indoor and outdoor children's programming, with childcare adjacency." },
  { ttl: "Dining curation", sub: "Resident dining, private dining rooms, and a destination restaurant (concept TBC)." },
  { ttl: "Co-working & study", sub: "Quiet rooms, meeting rooms, and a residents' library." },
  { ttl: "Concierge", sub: "On-site concierge and lifestyle services." },
];

const MS_SECTIONS = [
  { id: "story", label: "Story" },
  { id: "location", label: "Location" },
  { id: "residences", label: "Residences" },
  { id: "amenities", label: "Amenities" },
  { id: "gallery", label: "Gallery" },
  { id: "enquire", label: "Enquire" },
];

const LOC_CONTEXT = [
  { k: "Downtown Dubai", v: "≈ 15 min", confirm: true },
  { k: "DIFC", v: "≈ 12 min", confirm: true },
  { k: "Dubai International Airport (DXB)", v: "≈ 18 min", confirm: true },
  { k: "Al Maktoum International (DWC)", v: "≈ 35 min", confirm: true },
  { k: "Burj Khalifa & Dubai Mall", v: "≈ 14 min", confirm: true },
  { k: "Dubai Creek", v: "Within frame", confirm: false },
];

/* Locales — only EN content is real. AR/RU/ZH are demo strings to prove
   routing + hreflang + RTL handling; they are not for client publishing. */
const LOCALES = {
  en: {
    name: "English",
    dir: "ltr",
    nav: { current: "Current Projects", keturah: "Keturah", legacy: "Legacy", whyMag: "Why MAG", contact: "Contact", brokers: "Brokers" },
    hero: { eyebrow: "MAG Lifestyle Development · Est. 2003", lede: "Property developers in Dubai building more than luxury homes — communities that can uplift you." },
    cta: { register: "Register interest", brochure: "Download brochure", viewing: "Book private viewing", explore: "Explore projects", whatsapp: "WhatsApp +971 4 355 5580" },
  },
  ar: {
    name: "العربية",
    dir: "rtl",
    nav: { current: "المشاريع الحالية", keturah: "كتورة", legacy: "المُسلَّمة", whyMag: "لماذا ماج", contact: "تواصل", brokers: "الوكلاء" },
    hero: { eyebrow: "ماج لايف ستايل · تأسست عام ٢٠٠٣", lede: "مطورو عقارات في دبي نبني ما هو أبعد من المساكن الفاخرة — مجتمعات ترتقي بك." },
    cta: { register: "سجل اهتمامك", brochure: "تحميل الكتيب", viewing: "احجز معاينة خاصة", explore: "اكتشف المشاريع", whatsapp: "واتساب +971 4 355 5580" },
  },
  ru: {
    name: "Русский",
    dir: "ltr",
    nav: { current: "Текущие проекты", keturah: "Keturah", legacy: "Завершённые", whyMag: "Почему MAG", contact: "Контакты", brokers: "Брокеры" },
    hero: { eyebrow: "MAG Lifestyle · с 2003 года", lede: "Девелопер в Дубае — не просто роскошное жильё, а сообщества, которые вдохновляют." },
    cta: { register: "Оставить заявку", brochure: "Скачать брошюру", viewing: "Частный показ", explore: "Все проекты", whatsapp: "WhatsApp +971 4 355 5580" },
  },
  zh: {
    name: "中文",
    dir: "ltr",
    nav: { current: "在售项目", keturah: "Keturah", legacy: "已建成", whyMag: "关于 MAG", contact: "联系我们", brokers: "经纪人" },
    hero: { eyebrow: "MAG 生活方式开发 · 创立于 2003", lede: "迪拜不动产开发商。我们建造的不只是豪宅,更是托起生活的社区。" },
    cta: { register: "登记意向", brochure: "下载手册", viewing: "预约私人参观", explore: "项目一览", whatsapp: "WhatsApp +971 4 355 5580" },
  },
};

/* Make available to other Babel scripts. */
Object.assign(window, {
  HERO_SLIDES, PROJECTS, KETURAH_AMENITIES, MS_SECTIONS, LOC_CONTEXT, LOCALES,
});
