// Hair · Colour & Treatment · Bond Builder — L3 data

const BOND_BUILDER = {
  type: "Bond Builder",
  parent: { title: "Colour & Treatment", href: "/en/hair/colour-treatment/" },
  grandparent: { title: "Hair", href: "/en/hair/" },
  totalCount: 145,
  hero: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Editorial close-up — hair treatment texture and shine",
  h1: "How bond builders work.",
  deck: "Bond builders are the most scientifically significant development in hair colour in the last decade. They don't just condition — they reconstruct broken disulfide bonds inside the hair cortex. Understanding what they actually do changes how you use them.",
  intro: "Hair is held together by two types of bonds: hydrogen bonds (weaker, broken by water and heat) and disulfide bonds (stronger, broken by chemical processes like bleaching and permanent colour). When bleach opens the cuticle and oxidises the melanin, it also damages these disulfide bonds — the structural backbone of the cortex. Bond builders — Olaplex, K18, Wellaplex, Fibreplex and others — work by connecting to broken disulfide bonds and forming a bridge between two broken ends, effectively repairing the structure rather than just coating it. This is meaningfully different from a conditioning treatment, which sits on the outside of the cuticle. Below is everything: the chemistry, when to use each product in relation to colour services, how to compare the different brands, and the at-home maintenance routine.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 145, updated: "Updated 30 April 2026", reading: "Avg. 5 min per piece" },
};

const BB_SIBLINGS = [
  { id: "gloss",                 title: "Gloss",                  n: "01", href: "/en/hair/colour-treatment/gloss/" },
  { id: "balayage",              title: "Balayage",               n: "02", href: "/en/hair/colour-treatment/balayage/" },
  { id: "highlights",            title: "Highlights",             n: "03", href: "/en/hair/colour-treatment/highlights/" },
  { id: "root-touchup",         title: "Root touch-up",          n: "04", href: "/en/hair/colour-treatment/root-touchup/" },
  { id: "going-darker",         title: "Going darker",           n: "05", href: "/en/hair/colour-treatment/going-darker/" },
  { id: "going-lighter",        title: "Going lighter",          n: "06", href: "/en/hair/colour-treatment/going-lighter/" },
  { id: "grey-coverage",        title: "Grey coverage",          n: "07", href: "/en/hair/colour-treatment/grey-coverage/" },
  { id: "vivids-care",          title: "Vivids care",            n: "08", href: "/en/hair/colour-treatment/vivids-care/" },
  { id: "bond-builder",         title: "Bond builder",           n: "09", cur: true, href: "/en/hair/colour-treatment/bond-builder/" },
  { id: "sulphate-free-routine", title: "Sulphate-free routine", n: "10", href: "/en/hair/colour-treatment/sulphate-free-routine/" },
  { id: "post-salon-week",      title: "Post-salon week",        n: "11", href: "/en/hair/colour-treatment/post-salon-week/" },
  { id: "colour-fade",          title: "Colour fade",            n: "12", href: "/en/hair/colour-treatment/colour-fade/" },
];

const BB_QUICK_FACTS = {
  defn: {
    h: "Disulfide bonds and why they matter",
    body: "The hair cortex is made up of keratin protein chains linked by disulfide bonds — covalent bonds between sulphur atoms in adjacent protein chains. These bonds give hair its elasticity and strength. Bleaching and permanent colour break these bonds through oxidation. Olaplex No.1 and No.2 work by crosslinking bis-aminopropyl diglycol dimaleate between broken bond ends — forming a maleic acid bridge. K18 uses a bioidentical peptide to reconnect polypeptide chains. Different chemistry, same structural result: a repaired cortex rather than a coated one.",
  },
  myths: [
    { m: "Olaplex and K18 are the same thing.",
      t: "Both rebuild damaged bonds, but through different chemistry. Olaplex (maleic acid chemistry) works during and after colour; K18 (peptide technology) works post-shampoo, pre-style. They can be used together. They're not interchangeable." },
    { m: "Bond builders are only for bleached hair.",
      t: "Any chemical process breaks disulfide bonds to some extent — permanent colour, relaxers, perms, even repeated heat styling over time. Bond builders are appropriate any time the hair has been chemically processed." },
    { m: "Bond builders replace conditioner.",
      t: "Bond builders repair internal structure. Conditioner smooths the cuticle, adds slip, and deposits moisture. Both have different functions. Use both." },
  ],
};

const BB_BEGINNER_PATH = {
  h: "New to bond builders?",
  deck: "Four pieces. About fifteen minutes. The science, the products, and when to use them.",
  steps: [
    { n: "01", t: "What disulfide bonds are and why they break", time: "4 min", note: "The structural case for why bond builders aren't marketing." },
    { n: "02", t: "Olaplex vs K18: a real comparison", time: "5 min", note: "Chemistry, step timing, use cases, and cost-per-use." },
    { n: "03", t: "Using bond builders during a colour service", time: "3 min", note: "Adding to bleach, adding to toner — when and how much." },
    { n: "04", t: "The at-home bond treatment routine", time: "4 min", note: "How often, which products, and what results to expect." },
  ],
};

const BB_TRENDING = [
  { rank: "01", t: "Olaplex vs K18: which bond builder is actually better?", time: "6 min", auth: "Nelly", date: "Apr 27", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=1100&q=80&auto=format&fit=crop", reads: "22,105" },
  { rank: "02", t: "How to use Olaplex No.3 correctly (most people don't)", time: "4 min", auth: "Iris",  date: "Apr 20", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=1100&q=80&auto=format&fit=crop", reads: "16,340" },
  { rank: "03", t: "Is K18 worth it on a budget? A real breakdown", time: "5 min", auth: "Nelly", date: "Apr 14", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=1100&q=80&auto=format&fit=crop", reads: "12,810" },
  { rank: "04", t: "Adding Olaplex to bleach — the right ratio", time: "3 min", auth: "Iris",  date: "Apr 07", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=1100&q=80&auto=format&fit=crop", reads: "10,450" },
  { rank: "05", t: "Bond builders for non-bleached, chemically processed hair", time: "4 min", auth: "Nelly", date: "Mar 30", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=1100&q=80&auto=format&fit=crop", reads: "7,890" },
];

const BB_FORMAT_GUIDE = {
  h: "Bond builder, by use context",
  deck: "The right product at the right step. Timing in the service matters.",
  formats: [
    { name: "In-bleach (Olaplex No.1)", when: "Added to bleach mix before applying to hair", avoid: "K18 during bleach — it requires no ammonia/peroxide environment to work", note: "Provides protection while bleach is actively breaking bonds.", verdict: "★ Before & during" },
    { name: "Post-bleach (Olaplex No.2)", when: "Applied before toner after rinsing bleach", avoid: "Skipping if you've done No.1 — they work as a system", note: "Continues the bond repair after the oxidative process.", verdict: "Complete the system" },
    { name: "K18 (in-salon or at-home)", when: "After shampooing, before styling — leave-in, 4 min", avoid: "Applying over heavy conditioner (reduces absorption)", note: "Peptide technology. Doesn't require being mixed with bleach.", verdict: "Post-service repair" },
    { name: "Olaplex No.3 (at-home)", when: "Weekly or bi-weekly on chemically treated or damaged hair", avoid: "Using as a conditioner replacement — it's not that", note: "Pre-shampoo treatment. Leave on 10 min minimum, up to overnight.", verdict: "Maintenance" },
    { name: "Wellaplex / Fibreplex", when: "In-salon alternatives integrated into colour service", avoid: "None — professional grade, used by colourist", note: "Salon-only bond builders used as service add-ons.", verdict: "Salon-grade" },
  ],
};

const BB_HOWTOS = [
  { t: "Olaplex vs K18: which bond builder is actually better?", time: 6, tech: "Products", auth: "Nelly", date: "Apr 27", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Products", pick: true },
  { t: "How to use Olaplex No.3 correctly", time: 4, tech: "Technique", auth: "Iris",  date: "Apr 20", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Method", pick: true },
  { t: "Is K18 worth it? A real cost-per-use breakdown", time: 5, tech: "Products", auth: "Nelly", date: "Apr 14", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Products", pick: true },
  { t: "Adding Olaplex to bleach — the right ratio", time: 3, tech: "Technique", auth: "Iris",  date: "Apr 07", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Bond builders for non-bleached, chemically processed hair", time: 4, tech: "Essay", auth: "Nelly", date: "Mar 30", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "The disulfide bond: what it is, why it matters", time: 4, tech: "Science", auth: "Iris",  date: "Mar 22", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Science", pick: false },
  { t: "Bond treatment frequency — how often is enough?", time: 3, tech: "Routine", auth: "Nelly", date: "Mar 14", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "At-home bond repair: the weekly routine", time: 4, tech: "Routine", auth: "Iris",  date: "Mar 06", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
];

const BB_TECH_FILTERS = ["All", "Products", "Technique", "Routine", "Science", "Essay"];

const BB_CT_CROSSLINKS = [
  { id: "going-lighter",  title: "Going lighter",   deck: "The service that makes bond builders essential.",      count: 176, href: "/en/hair/colour-treatment/going-lighter/" },
  { id: "balayage",       title: "Balayage",         deck: "Every bleach service should include a bond builder.",  count: 214, href: "/en/hair/colour-treatment/balayage/" },
  { id: "sulphate-free-routine", title: "Sulphate-free routine", deck: "The wash routine that preserves bond repair.", count: 143, href: "/en/hair/colour-treatment/sulphate-free-routine/" },
  { id: "post-salon-week", title: "Post-salon week",  deck: "When to use No.3, when to use K18, and in what order.", count: 183, href: "/en/hair/colour-treatment/post-salon-week/" },
];

Object.assign(window, {
  BOND_BUILDER, BB_SIBLINGS, BB_QUICK_FACTS, BB_BEGINNER_PATH, BB_TRENDING, BB_FORMAT_GUIDE, BB_HOWTOS, BB_TECH_FILTERS, BB_CT_CROSSLINKS,
});
