// Product + collection + copy data for Marushika

const PRODUCTS = [
  { id: "p09", img: "media/p09.webp", name: "Long Dress — Glacier Blue", price: 8000, collection: "Idaya", craft: "Hand embroidered bodice with chikan-style threadwork; glacier silk-satin skirt with tulle overlay.", tag: "Signature" },
  { id: "p14", img: "media/p14.webp", name: "Evening Gown — Aqua Wash", price: 14000, collection: "Idaya", craft: "Draped satin gown with bead-and-sequin shoulder mantles, hand-finished crystal belt.", tag: "Atelier" },
  { id: "p10", img: "media/p10.webp", name: "Top & Trouser with Cape — Glacier Blue", price: 9000, collection: "Idaya", craft: "Embroidered bustier, satin trouser, organza cape with bias-bound hem.", tag: "Idaya" },
  { id: "p06", img: "media/p06.webp", name: "Top & Trouser — Vanilla & Cranberry", price: 8500, collection: "Meheroon", craft: "Hand-painted Madhubani print on bias panels; pleated wide-leg trouser.", tag: "Meheroon" },
  { id: "p05", img: "media/p05.webp", name: "Short Dress — Vanilla & Cranberry", price: 7000, collection: "Meheroon", craft: "One-shoulder draped silk; pleated tiered hem; hand-painted folkloric print.", tag: "Meheroon" },
  { id: "p11", img: "media/p11.webp", name: "Short Dress with Cape — Sage Whisper", price: 6800, collection: "Sirikit", craft: "Hand-painted Madhubani panel; pintucked sage skirt; concealed pockets.", tag: "Sirikit" },
  { id: "p07", img: "media/p07.webp", name: "Long Dress — Morning Light", price: 7000, collection: "Sirikit", craft: "Illusion neckline with hand-painted lotus pictorial; high-low silk hem.", tag: "Sirikit" },
  { id: "p08", img: "media/p08.webp", name: "Jacket — Morning Light", price: 5500, collection: "Sirikit", craft: "Open-front sleeveless jacket; full Madhubani border with sequin highlights.", tag: "Sirikit" },
  { id: "p01", img: "media/p01.webp", name: "Jumpsuit — Vanilla & Brown Oak", price: 6000, collection: "Kalista", craft: "Asymmetric V-bodice with printed insert; satin straight-leg trouser.", tag: "Kalista" },
  { id: "p02", img: "media/p02.webp", name: "Long Dress — French Lilac", price: 6000, collection: "Kalista", craft: "Embroidered floral yoke on lilac satin; A-line silhouette.", tag: "Kalista" },
  { id: "p03", img: "media/p03.webp", name: "Jacket — Brown Oak (Sequined)", price: 5000, collection: "Siyaan", craft: "Tonal sequined jacquard; satin lapels; relaxed shoulder.", tag: "Siyaan" },
  { id: "p04", img: "media/p04.webp", name: "Jacket — Brown Oak (Leaf)", price: 5000, collection: "Siyaan", craft: "Embroidered leaf vine on champagne silk; notched lapel.", tag: "Siyaan" },
  { id: "p12", img: "media/p12.webp", name: "Long Dress — Purple Sage", price: 6500, collection: "Kalista", craft: "Halter neckline with hand-painted Madhubani scene; tea-rose silk." , tag: "Kalista"},
  { id: "p13", img: "media/p13.webp", name: "Long Dress — French Rose", price: 6000, collection: "Idaya", craft: "Cape-sleeve kaftan in dusty rose with hand-stitched bead corsage." , tag: "Idaya"},
];

const COLLECTIONS = [
  {
    slug: "meheroon",
    name: "Meheroon",
    eyebrow: "Series 01",
    color: "#7A2E3B",
    swatch: "linear-gradient(135deg,#7A2E3B 0%, #B05060 100%)",
    tagline: "Speaks in geometry and folklore.",
    story: "A maroon-rich study in Madhubani — fish, lotuses, vine-borders — printed and hand-finished onto draped silk. Inspired by ceremonial gathering and the symmetry of a celebration mandala.",
    pressFrom: "Gulf News / The Kurator",
    hero: "media/p06.webp",
    pieces: ["p05", "p06"],
  },
  {
    slug: "sirikit",
    name: "Sirikit",
    eyebrow: "Series 02",
    color: "#4F7A6E",
    swatch: "linear-gradient(135deg,#4F7A6E 0%, #B7C7A4 100%)",
    tagline: "Folk pictorial, walking light.",
    story: "Pieces built around hand-painted Madhubani scenes — peacocks, lotus pools, mythic women — set against pale ground silks and illusion necklines. A series for daylight ceremonies.",
    pressFrom: "Emirates Woman",
    hero: "media/p07.webp",
    pieces: ["p07", "p08", "p11"],
  },
  {
    slug: "kalista",
    name: "Kalista",
    eyebrow: "Series 03",
    color: "#8C6B98",
    swatch: "linear-gradient(135deg,#8C6B98 0%, #D8C9DC 100%)",
    tagline: "Soft form, embroidered intent.",
    story: "Lilac, rose, and oak in their quietest registers, with embroidered yokes and asymmetric panels. Engineered to read as a single brushstroke from across a room.",
    pressFrom: "Vogue Arabia",
    hero: "media/p02.webp",
    pieces: ["p01", "p02", "p12"],
  },
  {
    slug: "idaya",
    name: "Idaya",
    eyebrow: "Series 04",
    color: "#5C8C9E",
    swatch: "linear-gradient(135deg,#5C8C9E 0%, #B7D2DE 100%)",
    tagline: "Water-light, evening-ready.",
    story: "Glacier blues, aqua washes and crystal-belted draping. The series for after-dark rooms — gowns, capes, and the Top & Trouser with cape that has become a Marushika signature.",
    pressFrom: "L'Officiel Arabia",
    hero: "media/p09.webp",
    pieces: ["p09", "p10", "p13", "p14"],
  },
  {
    slug: "siyaan",
    name: "Siyaan",
    eyebrow: "Series 05",
    color: "#8C6F4E",
    swatch: "linear-gradient(135deg,#8C6F4E 0%, #D8B985 100%)",
    tagline: "Tailored, embroidered, quiet.",
    story: "The tailoring series — jackets in champagne silk, jacquard, and leaf-vine embroidery. Cut to layer over the rest of the wardrobe.",
    pressFrom: "Observer Dubai",
    hero: "media/p03.webp",
    pieces: ["p03", "p04"],
  },
  {
    slug: "silk-scarf",
    name: "Silk Scarf",
    eyebrow: "Series 06",
    color: "#C8A26C",
    swatch: "linear-gradient(135deg,#C8A26C 0%, #E2C896 100%)",
    tagline: "An entry into the art.",
    story: "Hand-painted Madhubani motifs printed on pure silk — fish, lotus, vine. The accessible doorway into the Marushika art catalogue, from AED 300.",
    pressFrom: "Marushika atelier",
    hero: "media/p11.webp",
    pieces: [],
  },
];

const PRESS = [
  { name: "Vogue Arabia", quote: "Reimagining Madhubani as a contemporary couture language.", year: "2025" },
  { name: "L'Officiel Arabia", quote: "The art-led house quietly reshaping Dubai's modern wardrobe.", year: "2024" },
  { name: "Observer Dubai", quote: "Wearable art with the discipline of a textile studio.", year: "2024" },
  { name: "Emirates Woman", quote: "Manisha Verma's pieces tell stories of individuality and grace.", year: "2024" },
  { name: "Gulf News / The Kurator", quote: "Meheroon speaks in geometry and folklore.", year: "2025" },
];

const VERBATIM = {
  whisper: "Heritage reborn as luxury — authentic, enduring, and designed for the rare beauty.",
  thesis: "Marushika is where heritage meets contemporary fashion — Madhubani artistry reimagined as luxury womenswear, crafted in Dubai.",
  founder: "Clothing should empower and inspire.",
  art: "Fashion is elevated into art.",
};

const SHOWROOMS = [
  {
    name: "Al Wasl Boutique",
    kind: "Public boutique",
    line1: "Villa 15, Al Wasl Road",
    line2: "Jumeirah, Dubai",
    hours: "All days · 10:00 — 22:00",
    note: "Walk in to view the current art series, try pieces, and meet the team.",
  },
  {
    name: "d3 Styling Showroom",
    kind: "By appointment",
    line1: "Building 5, Unit A104",
    line2: "Dubai Design District",
    hours: "1-hour private session · in-person or virtual",
    note: "A private styling consultation — book through the booking subdomain or WhatsApp.",
  },
];

const fmtAED = (n) => `AED ${n.toLocaleString("en-AE")}`;
const productById = (id) => PRODUCTS.find(p => p.id === id);
const productsByCollection = (slug) => {
  const c = COLLECTIONS.find(x => x.slug === slug);
  if (!c) return [];
  return c.pieces.map(productById).filter(Boolean);
};

Object.assign(window, {
  PRODUCTS, COLLECTIONS, PRESS, VERBATIM, SHOWROOMS, fmtAED, productById, productsByCollection
});
