/**
 * The 12 service divisions shown as cards on /services, each with its own page at
 * /services/<slug> (layout of the former /service-details page).
 *
 * Built-in content only: the CMS API has no division resource yet. The shapes follow
 * the CMS section types (page-hero, text-image, feature-cards, case-study, cta-image)
 * so the pages can switch to API content without changing the components.
 *
 * Biotech carries the original /service-details copy. The other divisions carry
 * placeholder copy written from their card; replace it when real content arrives.
 */
import type { Cta, Img, RichTitle } from "./content";

export type DivisionGroup = "science" | "trade" | "sustainability" | "innovation";

export type DivisionContent = {
  /** page-hero */
  hero: { title: string; breadcrumb: string };
  /** text-image: paragraphs separated by a blank line ("\n\n") */
  introduction: { title: RichTitle; body: string; image: Img };
  /** feature-cards */
  innovations: { title: RichTitle; items: { title: string; description: string; icon: Img }[] };
  /** steps with a timeline */
  process: { title: RichTitle; body?: string; items: { label: string; title: string; description: string }[] };
  /** case-study: ctas[0] under the bullets, ctas[1] centred below the section */
  caseStudy: { title: RichTitle; body: string; bullets: string[]; image: Img; ctas: Cta[] };
  /** cta-image */
  collaboration: { title: RichTitle; body: string; cta: Cta; image: Img };
};

export type Division = {
  slug: string;
  group: DivisionGroup;
  /** Card on /services */
  card: { title: string; description: string; image: Img; cta: Cta };
  content: DivisionContent;
};

export const DIVISION_BASE = "/services";
export const divisionHref = (slug: string) => `${DIVISION_BASE}/${slug}`;

/* ------------------------------------------------------------------ */
/* Shared defaults                                                     */
/* ------------------------------------------------------------------ */

const CARD_TEXT = "Figma ipsum component variant main layer. Vertical subtract underline edit edit figjam. Image blur rotate outline figma.";

const ICON = (folder: string, file: string): Img => ({ url: `/assets/images/${folder}/${file}.png`, alt: "" });

const CASE_STUDY_IMAGE: Img = { url: "/assets/images/service-details/service-details-case-study.png", alt: "Truck loaded with grain sacks driving past green fields" };

const COLLAB_IMAGE: Record<DivisionGroup, Img> = {
  science: { url: "/assets/images/service-details/service-details-collaboration.png", alt: "Scientists working in a modern laboratory with plants and data monitors" },
  trade: { url: "/assets/images/partner-with-us/partner-cta.jpg", alt: "Business partners shaking hands over a trade agreement" },
  sustainability: { url: "/assets/images/sustainability-esg/esg-sustainable-trade.jpg", alt: "Sustainable trade across green farmland" },
  innovation: { url: "/assets/images/ai-innovation-lab/lab-robot-desk.png", alt: "Robotic arm working beside a data dashboard" },
};

const caseStudy = (title: string, body: string, bullets: string[]): DivisionContent["caseStudy"] => ({
  title: { text: title },
  body,
  bullets,
  image: CASE_STUDY_IMAGE,
  ctas: [
    { label: "Read Full Case Study", href: "/testimonials" },
    { label: "Read More Case Studies", href: "/testimonials" },
  ],
});

const process = (title: string, body: string, steps: [string, string][]): DivisionContent["process"] => ({
  title: { text: title },
  body,
  items: steps.map(([t, d], i) => ({ label: `Step ${i + 1}`, title: t, description: d })),
});

type Spec = {
  slug: string;
  group: DivisionGroup;
  title: string;
  cardImage: Img;
  intro: { title: RichTitle; body: string };
  innovations: { title: string; items: [string, string, Img][] };
  process: DivisionContent["process"];
  caseStudy: DivisionContent["caseStudy"];
  collaboration: { title: string; body: string; cta?: Cta };
};

/** Placeholder pages: the intro shows the card's photo; the hero repeats the card title. */
function build(s: Spec): Division {
  return {
    slug: s.slug,
    group: s.group,
    card: { title: s.title, description: CARD_TEXT, image: s.cardImage, cta: { label: "Read More", href: divisionHref(s.slug) } },
    content: {
      hero: { title: s.title, breadcrumb: s.title },
      introduction: { title: s.intro.title, body: s.intro.body, image: s.cardImage },
      innovations: { title: { text: s.innovations.title }, items: s.innovations.items.map(([title, description, icon]) => ({ title, description, icon })) },
      process: s.process,
      caseStudy: s.caseStudy,
      collaboration: { title: { text: s.collaboration.title }, body: s.collaboration.body, cta: s.collaboration.cta ?? { label: "Start A Partnership Inquiry", href: "/contact" }, image: COLLAB_IMAGE[s.group] },
    },
  };
}

/* ------------------------------------------------------------------ */
/* Divisions (order = /services card order)                            */
/* ------------------------------------------------------------------ */

const BIOTECH: Division = {
  slug: "biotech-nextgen-food-medical-nutrition",
  group: "science",
  card: {
    title: "Biotech & NextGen Food / Medical Nutrition",
    description: CARD_TEXT,
    image: { url: "/assets/images/services/services-healthcare.png", alt: "Healthcare professional discussing nutrition with a patient" },
    cta: { label: "Read More", href: divisionHref("biotech-nextgen-food-medical-nutrition") },
  },
  content: {
    hero: { title: "Biotech & NextGen Food / Medical Nutrition", breadcrumb: "Biotech & NextGen Food / Medical Nutrition" },
    introduction: {
      title: { text: "Integrating Science, AI, and Sustainability to Redefine Global Nutrition", highlight: "Integrating Science, AI," },
      body:
        "Unionists Group is pioneering the future of food through biotechnology and advanced nutrition research. Our focus extends beyond traditional agriculture — merging AI-powered research, molecular science, and ethical sourcing to engineer nutrient-efficient solutions for a healthier planet.\n\n" +
        "From bioengineered proteins to smart nutritional systems, our mission is to deliver scalable, sustainable, and clinically validated food innovations that strengthen global food security and improve human well-being.",
      image: { url: "/assets/images/service-details/service-details-intro.png", alt: "Shopper holding a container of snacks in a grocery store aisle" },
    },
    innovations: {
      title: { text: "Our Core Innovations In Biotech & Medical Nutrition" },
      items: [
        { title: "Bioengineered Nutrition Systems", description: "Developing scientifically formulated ingredients that enhance performance, recovery, and long-term health.", icon: ICON("service-details/icons", "icon-bioengineered-nutrition") },
        { title: "AI-Driven Research Platforms", description: "Leveraging predictive analytics and machine learning to accelerate product development and nutritional precision.", icon: ICON("service-details/icons", "icon-ai-research") },
        { title: "Clinical & Medical Nutrition Solutions", description: "Partnering with healthcare institutions to design medical-grade food formulations that support patient recovery.", icon: ICON("service-details/icons", "icon-clinical-nutrition") },
        { title: "Sustainable Ingredient Engineering", description: "Utilizing green biotechnology to develop non-GMO, eco-friendly ingredients that reduce agricultural strain.", icon: ICON("service-details/icons", "icon-sustainable-ingredients") },
      ],
    },
    process: process("From Research To Results", "Figma ipsum component variant main layer. Shadow draft scrolling style rectangle.", [
      ["Discovery & Research Design", "Identify emerging nutritional gaps and bioengineering opportunities."],
      ["Development & Validation", "Conduct AI-assisted R&D, followed by clinical testing and global certification alignment."],
      ["Production & Optimization", "Scale production using smart facilities and sustainable manufacturing systems."],
      ["Distribution & Global Integration", "Deliver products and solutions through our integrated trade and logistics network."],
    ]),
    caseStudy: caseStudy(
      "How Unionists Group is Reshaping Global Food Logistics.",
      "Figma ipsum component variant main layer. Invite style vector pencil union frame. Share move frame line polygon thumbnail overflow thumbnail outline plugin.",
      ["Figma ipsum component variant main layer.", "Figma ipsum component variant main layer.", "Figma ipsum component variant main layer."],
    ),
    collaboration: {
      title: { text: "Collaborate With Us On The Future Of Nutrition And Food Security" },
      body: "Unionists Group partners with R&D organizations, healthcare systems, and food manufacturers to co-create biotech-driven solutions that empower the next generation of sustainable nutrition. Whether you’re a research institution, agricultural innovator, or enterprise manufacturer — our global team will work with you to transform insights into impact.",
      cta: { label: "Start A Partnership Inquiry", href: "/contact" },
      image: COLLAB_IMAGE.science,
    },
  },
};

const CASE_BODY = "A placeholder summary of a recent engagement: the challenge, how this division approached it, and the measurable outcome for the client.";
const CASE_BULLETS = ["Placeholder result: faster time to market.", "Placeholder result: lower cost per shipment.", "Placeholder result: verified, traceable sourcing."];

export const DIVISIONS: Division[] = [
  BIOTECH,
  build({
    slug: "healthcare-medical-nutrition-programs",
    group: "science",
    title: "Healthcare & Medical Nutrition Programs",
    cardImage: { url: "/assets/images/services/services-biotech.png", alt: "Scientists in a laboratory examining fresh produce" },
    intro: {
      title: { text: "Clinical Nutrition Programs Built With Healthcare Partners", highlight: "Clinical Nutrition Programs" },
      body:
        "Unionists Group works with hospitals, care providers and public health agencies to design nutrition programs that support patient recovery, chronic-care management and healthy ageing.\n\n" +
        "We combine medical-grade formulations, reliable supply and outcome tracking so programs can scale from a single facility to national networks.",
    },
    innovations: {
      title: "Our Core Programs In Healthcare Nutrition",
      items: [
        ["Hospital & Clinical Nutrition", "Medical-grade meals and formulations designed with clinicians for patient recovery.", ICON("donations", "icon-healthcare")],
        ["Preventive Health Programs", "Community and workplace programs that improve diets before illness sets in.", ICON("donations", "icon-community")],
        ["Specialised Dietary Products", "Allergen-free, low-sodium and condition-specific products for sensitive groups.", ICON("service-details/icons", "icon-clinical-nutrition")],
        ["Outcome Tracking & Reporting", "Data on adherence and health outcomes shared transparently with partners.", ICON("donations", "icon-impact")],
      ],
    },
    process: process("From Assessment To Impact", "How a healthcare nutrition program goes from first conversation to measurable results.", [
      ["Needs Assessment", "Map patient groups, dietary requirements and current supply gaps."],
      ["Program Design", "Co-design formulations and menus with clinicians and dietitians."],
      ["Rollout & Supply", "Deliver products reliably through our cold-chain and logistics network."],
      ["Monitoring & Improvement", "Track outcomes and refine the program with each review cycle."],
    ]),
    caseStudy: caseStudy("Bringing Clinical Nutrition To Regional Hospitals.", CASE_BODY, CASE_BULLETS),
    collaboration: {
      title: "Partner With Us To Improve Patient Nutrition",
      body: "We work with hospitals, insurers, NGOs and public health bodies to build nutrition programs that last. Tell us about your patients and goals, and our team will propose a program that fits.",
    },
  }),
  build({
    slug: "retail-franchise-flagship-programs",
    group: "trade",
    title: "Retail, Franchise & Flagship Programs",
    cardImage: { url: "/assets/images/services/services-retail.png", alt: "Retail associate stocking products on a store shelf" },
    intro: {
      title: { text: "Retail Concepts That Bring Our Portfolio Closer To Consumers", highlight: "Retail Concepts" },
      body:
        "From flagship stores to franchise partnerships, Unionists Group helps retailers bring premium, responsibly sourced food products to market under strong, consistent brands.\n\n" +
        "We provide the product range, store concepts, supply and training partners need to open and grow successful locations.",
    },
    innovations: {
      title: "What Our Retail Programs Offer",
      items: [
        ["Flagship Store Concepts", "Showcase stores that set the standard for product, experience and brand.", ICON("industries/icons", "icon-retail")],
        ["Franchise Partnerships", "A proven model, training and support for partners opening new locations.", ICON("partner-with-us/icons", "icon-collaboration")],
        ["Assortment & Supply", "Curated ranges with reliable replenishment from our global network.", ICON("offers", "icon-distribution")],
        ["Market Expansion", "Data-led site selection and launch planning for new regions.", ICON("partner-with-us/icons", "icon-global-market")],
      ],
    },
    process: process("From Concept To Grand Opening", "Our step-by-step approach to launching a new retail location.", [
      ["Market & Site Analysis", "Assess demand, competition and the best locations."],
      ["Concept & Assortment", "Tailor the store concept and product range to local shoppers."],
      ["Build & Train", "Fit out the store and train the team on operations and service."],
      ["Launch & Grow", "Open with marketing support and ongoing performance reviews."],
    ]),
    caseStudy: caseStudy("Launching A Flagship Store In A New Market.", CASE_BODY, CASE_BULLETS),
    collaboration: {
      title: "Grow With Unionists Group As A Retail Partner",
      body: "Whether you run a single store or a regional chain, our team can help you add premium products, open flagship locations or join our franchise network.",
    },
  }),
  build({
    slug: "certification-export-compliance",
    group: "trade",
    title: "Certification & Export Compliance",
    cardImage: { url: "/assets/images/services/services-industrial-bulk.png", alt: "Large grain storage facility with industrial bulk ingredients" },
    intro: {
      title: { text: "Export With Confidence In Every Market You Serve", highlight: "Export With Confidence" },
      body:
        "International trade depends on getting certifications, documentation and regulations right. Unionists Group guides producers and buyers through food safety, origin and customs requirements across markets.\n\n" +
        "Our compliance specialists and AI-assisted tools reduce delays at the border and protect your brand's reputation.",
    },
    innovations: {
      title: "Our Compliance Services",
      items: [
        ["Food Safety Certification", "Preparation for internationally recognised food safety and quality standards.", ICON("highlights", "icon-iso")],
        ["Export Documentation", "Certificates of origin, HS codes and customs paperwork handled end to end.", ICON("highlights", "icon-compliance")],
        ["Regulatory Monitoring", "Alerts on changing import rules in your destination markets.", ICON("ai-innovation-lab/icons", "icon-regulatory-compliance")],
        ["Supplier Audits", "On-site and remote audits that verify quality and ethical practices.", ICON("ai-innovation-lab/icons", "icon-supplier-audits")],
      ],
    },
    process: process("From Audit To Approved Shipment", "How we prepare your products for compliant export.", [
      ["Gap Assessment", "Review current processes against the target market's requirements."],
      ["Remediation", "Close gaps with clear actions, training and documentation."],
      ["Certification", "Coordinate audits and secure the certifications you need."],
      ["Ongoing Compliance", "Monitor rule changes and renew certifications on time."],
    ]),
    caseStudy: caseStudy("Opening New Export Markets For A Spice Producer.", CASE_BODY, CASE_BULLETS),
    collaboration: {
      title: "Make Your Next Export Smooth And Compliant",
      body: "Tell us where you want to sell and what you produce. Our compliance team will map the requirements and help you meet them.",
    },
  }),
  build({
    slug: "trend-forecasting-category-creation",
    group: "trade",
    title: "Trend Forecasting & Category Creation",
    cardImage: { url: "/assets/images/services/services-trend-forecasting.png", alt: "Tablet displaying food category trends among fresh vegetables" },
    intro: {
      title: { text: "Spotting What Consumers Want Next — And Building It", highlight: "Spotting What Consumers Want Next" },
      body:
        "Unionists Group combines market intelligence, consumer research and AI forecasting to identify emerging food and wellness trends before they peak.\n\n" +
        "We then help partners turn those insights into new product categories, from concept and sourcing to launch.",
    },
    innovations: {
      title: "How We Forecast And Create Categories",
      items: [
        ["AI Trend Forecasting", "Models that read sales, search and social signals to spot rising demand.", ICON("global-strategy/icons", "icon-predictive-market")],
        ["Consumer Insight", "Research that explains why shoppers choose what they choose.", ICON("careers/icons/hire", "icon-marketing")],
        ["Category Development", "New ranges designed around proven demand and margin potential.", ICON("roadmap/icons", "icon-innovation-strategy")],
        ["Launch Analytics", "Performance tracking that guides each next iteration.", ICON("ai-innovation-lab/icons", "icon-trade-analytics")],
      ],
    },
    process: process("From Signal To Shelf", "Our approach to turning trend data into a new category.", [
      ["Trend Discovery", "Collect and analyse market, consumer and trade signals."],
      ["Opportunity Sizing", "Estimate demand, pricing and competitive space."],
      ["Product & Sourcing", "Develop products and secure ingredients at scale."],
      ["Launch & Learn", "Bring the category to market and refine it with live data."],
    ]),
    caseStudy: caseStudy("Creating A New Plant-Based Snack Category.", CASE_BODY, CASE_BULLETS),
    collaboration: {
      title: "Build The Next Big Category With Us",
      body: "Brands and retailers work with our insight team to find and launch new growth categories. Share your ambitions and we will show you where the opportunities are.",
    },
  }),
  build({
    slug: "industrial-bulk-ingredients",
    group: "trade",
    title: "Industrial & Bulk Ingredients – Deep Dive",
    cardImage: { url: "/assets/images/services/services-certification.png", alt: "Workers handling crates of produce in a warehouse" },
    intro: {
      title: { text: "Reliable Bulk Ingredients For Manufacturers Worldwide", highlight: "Reliable Bulk Ingredients" },
      body:
        "Unionists Group supplies manufacturers with active ingredients, extracts, essential oils, sweeteners and specialty inputs in the volumes and specifications they need.\n\n" +
        "Global sourcing, quality testing and smart logistics keep production lines running and costs predictable.",
    },
    innovations: {
      title: "Our Bulk Ingredient Capabilities",
      items: [
        ["Active Ingredients & Extracts", "Botanical extracts, vitamins and functional ingredients to specification.", ICON("service-details/icons", "icon-bioengineered-nutrition")],
        ["Essential Oils & Aromatics", "Consistent, traceable oils for food, cosmetic and wellness use.", ICON("sustainability-esg/icons", "icon-regenerative-agriculture")],
        ["Quality Control", "Lab testing and certificates of analysis for every batch.", ICON("ai-innovation-lab/icons", "icon-quality-control")],
        ["Smart Warehousing", "Regional stock and AI-planned replenishment for steady supply.", ICON("ai-innovation-lab/icons", "icon-warehousing")],
      ],
    },
    process: process("From Specification To Delivery", "How we supply bulk ingredients to your production line.", [
      ["Specification", "Agree grades, volumes, certifications and packaging."],
      ["Sourcing", "Select vetted growers and processors from our global network."],
      ["Testing", "Verify quality and compliance before every shipment."],
      ["Delivery", "Ship on schedule with full traceability and documentation."],
    ]),
    caseStudy: caseStudy("Securing Year-Round Supply For A Beverage Manufacturer.", CASE_BODY, CASE_BULLETS),
    collaboration: {
      title: "Source Your Bulk Ingredients With Unionists Group",
      body: "Send us your specifications and volumes. Our sourcing team will come back with options, pricing and lead times.",
      cta: { label: "Request A Custom Quote", href: "/contact" },
    },
  }),
  build({
    slug: "sustainability-esg-packaging-engineering",
    group: "sustainability",
    title: "Sustainability & ESG – Packaging Engineering",
    cardImage: { url: "/assets/images/services/services-sustainability.png", alt: "Green plant sprout growing from soil in sunlight" },
    intro: {
      title: { text: "Packaging That Protects Products And The Planet", highlight: "Packaging That Protects" },
      body:
        "Unionists Group designs packaging that reduces waste, carbon and cost without compromising product safety or shelf life.\n\n" +
        "Our engineers combine recyclable and compostable materials, right-sized formats and ESG reporting so partners can meet their sustainability goals.",
    },
    innovations: {
      title: "Our Packaging Engineering Expertise",
      items: [
        ["Eco-Friendly Materials", "Recyclable, compostable and recycled-content packaging options.", ICON("sustainability-esg/icons", "icon-eco-packaging")],
        ["Lower Carbon Footprint", "Lighter, right-sized formats that cut emissions in transport.", ICON("sustainability-esg/icons", "icon-carbon-footprint")],
        ["Zero-Waste Design", "Circular packaging systems designed for reuse and recovery.", ICON("sustainability-esg/icons", "icon-zero-waste")],
        ["ESG Reporting", "Transparent data on materials, waste and emissions savings.", ICON("sustainability-esg/icons", "icon-transparency")],
      ],
    },
    process: process("From Audit To Sustainable Packaging", "Our approach to redesigning packaging for lower impact.", [
      ["Packaging Audit", "Measure current materials, waste and emissions."],
      ["Design & Prototyping", "Develop and test sustainable alternatives."],
      ["Validation", "Confirm product protection, shelf life and compliance."],
      ["Rollout & Reporting", "Switch over production and report the ESG gains."],
    ]),
    caseStudy: caseStudy("Cutting Packaging Waste Across A Product Range.", CASE_BODY, CASE_BULLETS),
    collaboration: {
      title: "Redesign Your Packaging For A Greener Future",
      body: "Our packaging engineers can review your current formats and propose sustainable alternatives that fit your products and budget.",
    },
  }),
  build({
    slug: "strategic-consulting-expansion-partnerships",
    group: "sustainability",
    title: "Strategic Consulting & Expansion Partnerships",
    cardImage: { url: "/assets/images/services/services-strategic-consulting.png", alt: "Business professionals reviewing strategic expansion documents" },
    intro: {
      title: { text: "Strategy And Partnerships For Confident Expansion", highlight: "Strategy And Partnerships" },
      body:
        "Unionists Group advises food, agriculture and consumer businesses on entering new markets, building partnerships and scaling operations.\n\n" +
        "Our consultants draw on global trade intelligence and on-the-ground networks to turn growth plans into results.",
    },
    innovations: {
      title: "Our Consulting Services",
      items: [
        ["Market Entry Strategy", "Clear plans for entering new countries and channels.", ICON("global-strategy/icons", "icon-global-strategy")],
        ["Partnership Development", "Introductions to vetted distributors, suppliers and investors.", ICON("partner-with-us/icons", "icon-strategic-growth")],
        ["Investment & Infrastructure", "Advice on facilities, logistics and expansion investments.", ICON("global-strategy/icons", "icon-investment-expansion")],
        ["Risk Management", "Assessment of market, supply chain and regulatory risks.", ICON("global-strategy/icons", "icon-crisis-risk")],
      ],
    },
    process: process("From Ambition To Expansion", "How our consultants support your growth.", [
      ["Discovery", "Understand your business, goals and constraints."],
      ["Strategy", "Build the expansion plan, business case and partner map."],
      ["Execution Support", "Help you set up partnerships, operations and launch."],
      ["Review", "Measure results and adjust the plan as markets change."],
    ]),
    caseStudy: caseStudy("Helping A Regional Brand Enter Three New Markets.", CASE_BODY, CASE_BULLETS),
    collaboration: {
      title: "Plan Your Next Stage Of Growth With Us",
      body: "Talk to our consulting team about your expansion goals. We will help you find the right markets, partners and path to scale.",
    },
  }),
  build({
    slug: "food-service-hospitality-programs",
    group: "sustainability",
    title: "Food Service & Hospitality Programs",
    cardImage: { url: "/assets/images/services/services-chef-recipes.png", alt: "Chef preparing fresh ingredients in a kitchen" },
    intro: {
      title: { text: "Supplying Kitchens That Serve Millions Of Guests", highlight: "Supplying Kitchens" },
      body:
        "Hotels, restaurants, caterers and institutions rely on Unionists Group for consistent, high-quality ingredients delivered on time.\n\n" +
        "We tailor ranges, pack sizes and delivery schedules to each operation and support menus with sustainable, traceable sourcing.",
    },
    innovations: {
      title: "What Our Food Service Programs Include",
      items: [
        ["Hospitality Supply", "Ingredients and products for hotels, restaurants and catering.", ICON("industries/icons", "icon-hospitality")],
        ["Institutional Catering", "Reliable supply for schools, hospitals and public kitchens.", ICON("industries/icons", "icon-government")],
        ["Menu Support", "Ingredient guidance and menu ideas from our culinary team.", ICON("donations", "icon-food")],
        ["Scheduled Delivery", "Planned, temperature-controlled deliveries that fit your operation.", ICON("offers", "icon-supply-chain")],
      ],
    },
    process: process("From Menu To Plate", "How we set up supply for a food service operation.", [
      ["Menu Review", "Understand menus, volumes and quality standards."],
      ["Range Design", "Select products, pack sizes and pricing."],
      ["Supply Setup", "Agree delivery schedules and ordering."],
      ["Ongoing Service", "Account management and seasonal menu updates."],
    ]),
    caseStudy: caseStudy("Supplying A Hotel Group Across Multiple Cities.", CASE_BODY, CASE_BULLETS),
    collaboration: {
      title: "Partner With Us To Supply Your Kitchens",
      body: "Whether you run one restaurant or a national catering operation, our team will build a supply program that fits your menus and schedule.",
    },
  }),
  build({
    slug: "pcg-private-label",
    group: "innovation",
    title: "PCG Division (Private Label) – End-to-End Engine",
    cardImage: { url: "/assets/images/services/services-pcg-division.png", alt: "Consumer selecting products from a retail shelf" },
    intro: {
      title: { text: "Private Label Products, From Idea To Shelf", highlight: "Private Label Products," },
      body:
        "The PCG Division gives retailers and brands an end-to-end private label engine: product development, sourcing, manufacturing, packaging and logistics in one place.\n\n" +
        "Partners launch their own branded ranges faster, with quality and compliance built in.",
    },
    innovations: {
      title: "Our End-to-End Private Label Engine",
      items: [
        ["Product Development", "Recipes and formulations developed to your brand brief.", ICON("careers/icons/offerings", "icon-innovation")],
        ["Custom Manufacturing", "Production with vetted partners and our own facilities.", ICON("partner-with-us/icons", "icon-manufacturers")],
        ["Packaging & Branding", "Packaging design and sustainable materials for your range.", ICON("sustainability-esg/icons", "icon-eco-packaging")],
        ["Logistics & Distribution", "Delivery to your stores or warehouses worldwide.", ICON("offers", "icon-distribution")],
      ],
    },
    process: process("From Brief To Branded Range", "How we build a private label range for you.", [
      ["Brief", "Define the products, positioning and target price."],
      ["Development", "Create and test recipes, packaging and samples."],
      ["Production", "Manufacture at scale with quality checks at every stage."],
      ["Launch", "Deliver to market and support ongoing replenishment."],
    ]),
    caseStudy: caseStudy("Launching A Retailer's Own-Brand Wellness Range.", CASE_BODY, CASE_BULLETS),
    collaboration: {
      title: "Launch Your Private Label Range With Us",
      body: "Tell us about your brand and the products you want to sell. Our PCG team will take it from idea to shelf.",
      cta: { label: "Partner With Us – Custom Manufacturing", href: "/partner-with-us" },
    },
  }),
  build({
    slug: "technology-robotics",
    group: "innovation",
    title: "Technology & Robotics",
    cardImage: { url: "/assets/images/services/services-robotics.png", alt: "Humanoid robot serving food in a futuristic setting" },
    intro: {
      title: { text: "Automation And AI Across The Food Value Chain", highlight: "Automation And AI" },
      body:
        "Unionists Group applies robotics, IoT and artificial intelligence to farming, processing, warehousing and trade.\n\n" +
        "The result is higher efficiency, better quality control and full traceability from field to customer.",
    },
    innovations: {
      title: "Our Technology & Robotics Solutions",
      items: [
        ["Robotic Production", "Automated processing and packing lines for consistent output.", ICON("ai-innovation-lab/icons", "icon-robotics-production")],
        ["IoT Sensors", "Real-time monitoring of crops, storage and shipments.", ICON("ai-innovation-lab/icons", "icon-iot-sensors")],
        ["Smart Agriculture", "Precision farming tools that raise yields and save water.", ICON("ai-innovation-lab/icons", "icon-smart-agriculture")],
        ["Blockchain Traceability", "Tamper-proof records of origin and handling.", ICON("ai-innovation-lab/icons", "icon-blockchain-security")],
      ],
    },
    process: process("From Pilot To Full Automation", "How we bring technology into your operation.", [
      ["Assessment", "Identify the processes that benefit most from automation."],
      ["Pilot", "Test the solution on a line, site or route."],
      ["Scale", "Roll out across operations with training and support."],
      ["Optimise", "Use the data to keep improving performance."],
    ]),
    caseStudy: caseStudy("Automating A High-Volume Packing Facility.", CASE_BODY, CASE_BULLETS),
    collaboration: {
      title: "Bring Smart Technology To Your Operations",
      body: "Our engineers and data scientists can help you automate, monitor and optimise your operations. Let's discuss where technology can make the biggest difference.",
    },
  }),
  build({
    slug: "chef-recipes-knowledge-assets",
    group: "innovation",
    title: "Chef Recipes / Knowledge Assets",
    cardImage: { url: "/assets/images/services/services-food-service.png", alt: "Chefs working together in a professional kitchen" },
    intro: {
      title: { text: "Culinary Knowledge That Helps Partners Sell More", highlight: "Culinary Knowledge" },
      body:
        "Our chefs and food scientists create recipes, guides and training content that show how to get the best from our ingredients.\n\n" +
        "Retailers, food service operators and manufacturers use these knowledge assets to inspire customers and train their teams.",
    },
    innovations: {
      title: "Our Knowledge Assets",
      items: [
        ["Chef Recipes", "Tested recipes that showcase ingredients for every cuisine.", ICON("donations", "icon-food")],
        ["Training Programs", "Courses and toolkits for kitchen and sales teams.", ICON("donations", "icon-education")],
        ["Product Guides", "Specifications, uses and pairing advice for each product.", ICON("careers/icons", "icon-innovation-feature")],
        ["Content For Marketing", "Photos, videos and copy partners can use in their channels.", ICON("careers/icons/hire", "icon-marketing")],
      ],
    },
    process: process("From Kitchen To Content", "How our knowledge assets are created and shared.", [
      ["Research", "Study ingredients, cuisines and customer needs."],
      ["Create", "Develop and test recipes in our kitchens."],
      ["Produce", "Turn recipes into guides, videos and training."],
      ["Share", "Deliver the assets to partners and their customers."],
    ]),
    caseStudy: caseStudy("Building A Recipe Library For A Grocery Chain.", CASE_BODY, CASE_BULLETS),
    collaboration: {
      title: "Use Our Culinary Knowledge In Your Business",
      body: "Ask our team about recipes, training and content tailored to your products and customers.",
    },
  }),
];

export const getDivision = (slug: string) => DIVISIONS.find((d) => d.slug === slug) ?? null;
