// Hair · Ingredients · Protein & Bonds — L3 data
// Combined page: #protein + #bonds
// window.PROTEIN_BONDS

const PROTEIN_BONDS = {
  type: "Protein & Bonds",
  parent: { title: "Ingredients", href: "/en/hair/ingredients/" },
  grandparent: { title: "Hair", href: "/en/hair/" },
  totalCount: 94,
  hero: "https://images.unsplash.com/photo-1519014816548-bf5fe059798b?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Editorial close-up — hair structure and bonds",
  h1: "Protein and bonds: what your hair is actually made of.",
  deck: "The structure of a hair shaft, what breaks it, and what restores it. Protein treatments and bond builders are different tools — here is when each applies.",
  intro: "Protein and bond builders both claim to strengthen hair, and both do — but they work on entirely different parts of its architecture. Protein treatments deposit hydrolysed proteins onto and into the hair shaft, reinforcing the cortex from the outside in. Bond builders work at a molecular level, reconnecting disulphide bonds that chemical processes — colour, bleach, relaxers, perms — partially or fully break. Confusing the two leads to over-proteinated hair that feels brittle, or expensive bond treatment on hair that just needed moisture.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 94, updated: "Updated 30 April 2026", reading: "Avg. 5 min per piece" },
};

const PB_SIBLINGS = [
  { id: "the-two-debates",  title: "The Two Debates", n: "01",            href: "/en/hair/ingredients/the-two-debates/" },
  { id: "protein-and-bonds", title: "Protein & Bonds", n: "02", cur: true, href: "/en/hair/ingredients/protein-and-bonds/" },
  { id: "humectants",        title: "Humectants",      n: "03",            href: "/en/hair/ingredients/humectants/" },
  { id: "oils",              title: "Oils",            n: "04",            href: "/en/hair/ingredients/oils/" },
];

const PROTEIN_FACTS = {
  defn: {
    h: "What protein treatments actually do",
    body: "Hair is approximately 95% keratin — a fibrous structural protein. Protein treatments deposit hydrolysed proteins (broken into smaller chains) onto the hair shaft. The smallest fragments penetrate the cortex; larger ones coat the cuticle. The result is a temporary reinforcement of the hair's mechanical structure: the shaft feels stronger, more resistant to breakage, and with better elasticity — until the next wash begins to remove them.",
  },
  myths: [
    { m: "All hair benefits from regular protein treatments.",
      t: "Hair that is not damaged or porous can easily become over-proteinated from regular protein use. Over-proteinated hair feels hard, stiff, and snaps rather than stretching. The rule: protein for damaged, porous, or chemically treated hair. Healthy, low-porosity hair needs them rarely if at all." },
    { m: "The more protein in a product, the better.",
      t: "Protein molecular weight matters as much as quantity. Larger proteins (wheat protein, hydrolysed keratin) coat; smaller ones (silk amino acids, hydrolysed collagen) penetrate. A product heavy in large proteins but light in smaller ones rebuilds the cuticle surface but doesn't address cortex weakness." },
    { m: "Protein and moisture are opposites — you can't use both.",
      t: "They're complementary, not competing. Protein builds structure; moisture restores flexibility. Hair needs both. The correct sequence: protein treatment, then moisture (leave-in, conditioner) to restore suppleness." },
  ],
};

const BOND_FACTS = {
  defn: {
    h: "What bond builders actually do",
    body: "Hair's cortex is cross-linked by disulphide bonds — sulphur-sulphur connections between adjacent keratin chains. Chemical processes (bleach, permanent colour, relaxers) break these bonds as part of their mechanism. Bond builders — Olaplex's bis-aminopropyl diglycol dimaleate and its successors being the landmark chemistry — work by reconnecting broken disulphide bonds during or after chemical processing. The result is measurably stronger hair with less breakage, verified by tensile strength studies. They do not add protein to the shaft; they restore the shaft's internal cross-link network.",
  },
  myths: [
    { m: "Bond builders are the same as protein treatments.",
      t: "They work at different structural levels. Protein adds material from outside. Bond builders reconnect existing material inside. You cannot substitute one for the other. On heavily bleached hair that has lost bond integrity, protein alone cannot compensate for missing disulphide cross-links." },
    { m: "Bond builders are only for bleached hair.",
      t: "Any chemical process that breaks disulphide bonds benefits from bond building — colour, perms, relaxers, and even heat styling at extreme temperatures. Bond builders are most dramatic on heavily processed hair but have use across a wider range." },
    { m: "Olaplex is the only bond builder that works.",
      t: "Olaplex was first and its chemistry is well-studied, but comparable actives (maleic acid derivatives in various second-generation products) have been validated independently. The category has matured past one-brand dominance." },
  ],
};

const BEGINNER_PATH = {
  h: "If protein and bonds are new territory.",
  deck: "Five pieces, in order. Enough to know what your hair needs and what to reach for.",
  steps: [
    { n: "01", t: "Hair structure — a plain-English guide",             time: "4 min", note: "Cuticle, cortex, medulla. What each layer does and where damage happens." },
    { n: "02", t: "Porosity and protein: why they're connected",        time: "4 min", note: "High-porosity hair and protein need, the elasticity test, and reading the signals." },
    { n: "03", t: "Protein treatments: how to use them without overdoing it", time: 5, note: "Frequency, intensity, and the signs you've used too much." },
    { n: "04", t: "Bond builders: what they do that protein can't",     time: "5 min", note: "The chemistry for non-chemists. When bond building is the right call." },
    { n: "05", t: "Stacking protein and bond treatment — the sequence", time: "4 min", note: "Whether and how to use both in the same routine." },
  ],
};

const TRENDING = [
  { rank: "01", t: "The protein–moisture balance: a practical guide",  time: "6 min", auth: "Nelly", date: "Apr 27", img: "https://images.unsplash.com/photo-1519014816548-bf5fe059798b?w=1100&q=80&auto=format&fit=crop", reads: "13,601" },
  { rank: "02", t: "Over-proteinated hair: how to know, how to fix",    time: "5 min", auth: "Nelly", date: "Apr 21", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=1100&q=80&auto=format&fit=crop", reads: "10,882" },
  { rank: "03", t: "Bond builders: the chemistry, finally explained",   time: "7 min", auth: "Iris",  date: "Apr 16", img: "https://images.unsplash.com/photo-1560869713-7d0a29430803?w=1100&q=80&auto=format&fit=crop", reads: "9,347" },
  { rank: "04", t: "Hydrolysed keratin vs silk amino acids",            time: "4 min", auth: "Iris",  date: "Apr 09", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=1100&q=80&auto=format&fit=crop", reads: "7,114" },
  { rank: "05", t: "Is Olaplex still the best bond builder?",          time: "5 min", auth: "Nelly", date: "Apr 03", img: "https://images.unsplash.com/photo-1527799820374-87591a16f725?w=1100&q=80&auto=format&fit=crop", reads: "6,290" },
];

const FORMAT_GUIDE = {
  h: "Protein intensity, by hair condition",
  deck: "Protein is not one-size. The right treatment depends on how much structure your hair has already lost.",
  formats: [
    { name: "Light protein",     when: "Healthy hair, occasional use, fine hair", avoid: "Frequent use on low-porosity hair", note: "Silk amino acids, hydrolysed rice protein. Adds slip without overloading.", verdict: "Maintenance" },
    { name: "Medium protein",    when: "Moderately damaged, colour-treated",      avoid: "Very low porosity, healthy fine hair", note: "Wheat protein, hydrolysed keratin. The everyday repair register.", verdict: "Most hair" },
    { name: "Heavy protein",     when: "Severely damaged, high porosity, bleached", avoid: "Healthy hair, low-porosity hair",   note: "Keratin-dense reconstructors. Restore structure after significant damage.", verdict: "Intensive repair" },
    { name: "Bond builder",      when: "During or after chemical processing",     avoid: "As a protein substitute on healthy hair", note: "Reconnects disulphide bonds broken by chemical services. Not protein.", verdict: "Post-chemical" },
    { name: "Protein + bond",    when: "Severely chemically damaged, bleached",   avoid: "Healthy or mildly treated hair",     note: "Both tools at once. Heavy bleach damage breaks bonds and depletes protein.", verdict: "Rescue protocol" },
    { name: "Moisture only",     when: "Low-porosity, healthy, fine, recently proteinated", avoid: "As long-term strategy on damaged hair", note: "If hair is stiff after protein, moisture first. Reassess protein frequency.", verdict: "Reset after over-protein" },
  ],
};

const HOWTOS = [
  { t: "The protein–moisture balance: a practical guide", time: 6, tech: "Protein", auth: "Nelly", date: "Apr 27", img: "https://images.unsplash.com/photo-1519014816548-bf5fe059798b?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: true },
  { t: "Over-proteinated hair: how to know, how to fix",  time: 5, tech: "Protein", auth: "Nelly", date: "Apr 21", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: true },
  { t: "Bond builders: the chemistry, finally explained", time: 7, tech: "Bonds",   auth: "Iris",  date: "Apr 16", img: "https://images.unsplash.com/photo-1560869713-7d0a29430803?w=900&q=80&auto=format&fit=crop", kick: "Deep dive", pick: true },
  { t: "Hydrolysed keratin vs silk amino acids",          time: 4, tech: "Protein", auth: "Iris",  date: "Apr 09", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: true },
  { t: "Is Olaplex still the best bond builder?",        time: 5, tech: "Bonds",   auth: "Nelly", date: "Apr 03", img: "https://images.unsplash.com/photo-1527799820374-87591a16f725?w=900&q=80&auto=format&fit=crop", kick: "Comparison", pick: false },
  { t: "Hair porosity and protein: the connection",      time: 5, tech: "Protein", auth: "Nelly", date: "Mar 27", img: "https://images.unsplash.com/photo-1519014816548-bf5fe059798b?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: true },
  { t: "Stacking protein and bond treatment correctly",  time: 4, tech: "Bonds",   auth: "Iris",  date: "Mar 20", img: "https://images.unsplash.com/photo-1560869713-7d0a29430803?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "The elasticity test — what it tells you",        time: 3, tech: "Protein", auth: "Nelly", date: "Mar 13", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop", kick: "Diagnostic", pick: false },
  { t: "Using bond builders between chemical services",  time: 4, tech: "Bonds",   auth: "Iris",  date: "Mar 05", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Reconstructors vs conditioners: what's the difference", time: 4, tech: "Protein", auth: "Nelly", date: "Feb 25", img: "https://images.unsplash.com/photo-1527799820374-87591a16f725?w=900&q=80&auto=format&fit=crop", kick: "Comparison", pick: false },
  { t: "Keratin treatments: what they actually do to the bond structure", time: 6, tech: "Bonds", auth: "Iris", date: "Feb 17", img: "https://images.unsplash.com/photo-1519014816548-bf5fe059798b?w=900&q=80&auto=format&fit=crop", kick: "Deep dive", pick: false },
  { t: "Rice protein for hair: the complete picture",    time: 5, tech: "Protein", auth: "Iris",  date: "Feb 10", img: "https://images.unsplash.com/photo-1560869713-7d0a29430803?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
];

const TECH_FILTERS = ["All", "Protein", "Bonds", "Technique", "Essay", "Deep dive", "Troubleshoot", "Comparison", "Routine", "Ingredients", "Diagnostic"];

const PB_CROSSLINKS = [
  { id: "the-two-debates",  title: "The Two Debates",  deck: "Sulphates and silicones. The evidence, both sides.",             count: 118, href: "/en/hair/ingredients/the-two-debates/" },
  { id: "humectants",       title: "Humectants",       deck: "Moisture that stays in. The mechanics of glycerin and its cousins.", count: 76, href: "/en/hair/ingredients/humectants/" },
  { id: "oils",             title: "Oils",             deck: "Light, heavy, and what actually penetrates the shaft.",           count: 102, href: "/en/hair/ingredients/oils/" },
];

Object.assign(window, {
  PROTEIN_BONDS, PB_SIBLINGS, PROTEIN_FACTS, BOND_FACTS,
  BEGINNER_PATH, TRENDING, FORMAT_GUIDE, HOWTOS, TECH_FILTERS, PB_CROSSLINKS,
});
