// Hair · Ingredients · The Two Debates — L3 data
// Combined page: #sulphates + #silicones
// window.TWO_DEBATES

const TWO_DEBATES = {
  type: "The Two Debates",
  parent: { title: "Ingredients", href: "/en/hair/ingredients/" },
  grandparent: { title: "Hair", href: "/en/hair/" },
  totalCount: 118,
  hero: "https://images.unsplash.com/photo-1527799820374-87591a16f725?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Editorial close-up — hair product ingredients",
  h1: "The two ingredient debates, settled — mostly.",
  deck: "Sulphates and silicones. Two ingredients that have been argued over in every forum, comment section, and beauty aisle for twenty years. Here is the evidence, both sides.",
  intro: "Sulphates and silicones became villains at roughly the same time — around the mid-2000s, when the natural beauty movement found its first viral talking points. Both fell from grace without a rigorous trial. Neither is as simple as its detractors suggest, nor as harmless as its defenders claim. What they share: they do different things to different hair, and the hair on your head is the only evidence that matters.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 118, updated: "Updated 1 May 2026", reading: "Avg. 5 min per piece" },
};

const DEBATE_SIBLINGS = [
  { id: "the-two-debates",  title: "The Two Debates",    n: "01", cur: true,  href: "/en/hair/ingredients/the-two-debates/" },
  { id: "protein-and-bonds", title: "Protein & Bonds",  n: "02",             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/" },
];

// Two sub-topics each have their own quick facts
const SULPHATE_FACTS = {
  defn: {
    h: "What sulphates actually do",
    body: "Sulphates — primarily sodium lauryl sulphate (SLS) and sodium laureth sulphate (SLES) — are surfactants: they lower surface tension between water and oil, allowing sebum, product residue, and environmental grime to rinse away. They are effective, inexpensive, and have been in shampoos since the 1930s.",
  },
  myths: [
    { m: "Sulphates damage hair.",
      t: "They can. At high concentrations, SLS roughens the cuticle — measurably. But the concentration in most shampoos and the contact time of a rinse-off product change the picture significantly. SLES is considerably milder than SLS and is the variant in most mainstream formulas." },
    { m: "Everyone should go sulphate-free.",
      t: "Fine hair, oily scalps, and people who co-wash rarely (or never) tend to need a surfactant that clears product buildup properly. Silicone-heavy products in particular need a sulphate or a comparable surfactant to clear. Going sulphate-free without adjusting everything else is how you get residue." },
    { m: "Sulphate-free is always gentler.",
      t: "It depends entirely on the alternative surfactant. Some sulphate-free formulas use harsher alternatives. 'Sulphate-free' is a marketing claim, not a mildness guarantee." },
  ],
};

const SILICONE_FACTS = {
  defn: {
    h: "What silicones actually do",
    body: "Silicones are a family of synthetic polymers — the most common in hair care being dimethicone, cyclopentasiloxane, and amodimethicone. They coat the hair shaft, reduce friction between strands, add slip to detangling, and create a smoothed-cuticle appearance. They do not penetrate the cortex: their action is entirely on the surface.",
  },
  myths: [
    { m: "Silicones coat your hair and suffocate it.",
      t: "Hair does not breathe. The cuticle is inert protein. The 'suffocation' argument has no biological mechanism behind it. What silicones do do is build up on the hair surface over time if not regularly cleared — which changes the texture and reduces the effectiveness of moisture-based products." },
    { m: "Water-soluble silicones don't build up.",
      t: "Most 'water-soluble' silicones still require a surfactant to clear effectively. The difference from non-soluble variants is one of degree, not kind." },
    { m: "Silicones are permanently damaging.",
      t: "Silicone buildup is reversible. A clarifying wash removes it. There is no evidence of long-term structural damage from silicone use in normal concentrations." },
  ],
};

const BEGINNER_PATH = {
  h: "If the debates are new to you.",
  deck: "Four pieces, in order. Enough to stop reading ingredient labels with anxiety.",
  steps: [
    { n: "01", t: "What sulphates are — and what they're not",          time: "4 min", note: "The chemistry in plain English, without the scare." },
    { n: "02", t: "Sulphate-free: who actually benefits",               time: "5 min", note: "Hair type, water type, product stack — the real variables." },
    { n: "03", t: "Silicones: how the buildup conversation actually works", time: "5 min", note: "What coats the shaft, what doesn't, and how to clear it." },
    { n: "04", t: "The sulphate–silicone dependency: why they travel together", time: "4 min", note: "Why going sulphate-free while keeping silicones causes problems." },
  ],
};

const TRENDING = [
  { rank: "01", t: "Sulphate-free shampoo: who it's actually for", time: "5 min", auth: "Nelly", date: "Apr 28", img: "https://images.unsplash.com/photo-1527799820374-87591a16f725?w=1100&q=80&auto=format&fit=crop", reads: "14,203" },
  { rank: "02", t: "Dimethicone in conditioners — clearing the buildup", time: "6 min", auth: "Iris",  date: "Apr 23", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=1100&q=80&auto=format&fit=crop", reads: "11,058" },
  { rank: "03", t: "SLS vs SLES: the difference matters",               time: "3 min", auth: "Nelly", date: "Apr 19", img: "https://images.unsplash.com/photo-1560869713-7d0a29430803?w=1100&q=80&auto=format&fit=crop", reads: "9,341" },
  { rank: "04", t: "Amodimethicone: the silicone that's actually targeted", time: "4 min", auth: "Iris", date: "Apr 14", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=1100&q=80&auto=format&fit=crop", reads: "7,822" },
  { rank: "05", t: "Clarifying once a month — is it enough?",          time: "3 min", auth: "Nelly", date: "Apr 07", img: "https://images.unsplash.com/photo-1519014816548-bf5fe059798b?w=1100&q=80&auto=format&fit=crop", reads: "6,503" },
];

const FORMAT_GUIDE = {
  h: "The sulphate decision, by hair type",
  deck: "Not a universal answer. A map for finding yours.",
  formats: [
    { name: "Fine, oily",     when: "Regular sulphate shampoo",          avoid: "Sulphate-free with buildup agents", note: "Fine hair needs proper cleanse. Residue lies flat and reads as grease.", verdict: "Keep sulphates" },
    { name: "Fine, dry",      when: "Mild SLES, or gentle sulphate-free", avoid: "SLS-dominant formulas",           note: "Fine hair is easily stripped. SLES or milder surfactants work.", verdict: "Go milder" },
    { name: "Thick, dry",     when: "Sulphate-free almost always",       avoid: "SLS, aggressive clarifiers weekly", note: "Thick, dry hair benefits most from less stripping between washes.", verdict: "Sulphate-free" },
    { name: "Curly, coily",   when: "Sulphate-free except clarify day",  avoid: "Daily SLS",                        note: "Curly hair's need for moisture is at odds with strong surfactants.", verdict: "Sulphate-free + monthly clarify" },
    { name: "Colour-treated", when: "Sulphate-free for preservation",    avoid: "Regular clarifying shampoo daily",  note: "Sulphates accelerate dye fade. Sulphate-free extends colour.", verdict: "Sulphate-free" },
    { name: "Heavy product use", when: "Clarifying sulphate fortnightly", avoid: "Going sulphate-free while using silicones", note: "Buildup needs a real surfactant. Clarify when the hair stops responding.", verdict: "Clarify regularly" },
  ],
};

const HOWTOS = [
  { t: "Sulphate-free shampoo: who it's actually for", time: 5, tech: "Sulphates", auth: "Nelly", date: "Apr 28", img: "https://images.unsplash.com/photo-1527799820374-87591a16f725?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: true },
  { t: "SLS vs SLES: the difference that matters", time: 3, tech: "Sulphates", auth: "Nelly", date: "Apr 19", img: "https://images.unsplash.com/photo-1560869713-7d0a29430803?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: true },
  { t: "Dimethicone in conditioners — clearing the buildup", time: 6, tech: "Silicones", auth: "Iris", date: "Apr 23", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: true },
  { t: "Amodimethicone: the silicone that's actually targeted", time: 4, tech: "Silicones", auth: "Iris", date: "Apr 14", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: true },
  { t: "Clarifying once a month — is it enough?", time: 3, tech: "Technique", auth: "Nelly", date: "Apr 07", img: "https://images.unsplash.com/photo-1519014816548-bf5fe059798b?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "The sulphate–silicone dependency explained", time: 5, tech: "Silicones", auth: "Nelly", date: "Mar 29", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: true },
  { t: "Why 'water-soluble silicone' is more complicated than it sounds", time: 4, tech: "Silicones", auth: "Iris", date: "Mar 21", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=900&q=80&auto=format&fit=crop", kick: "Deep dive", pick: false },
  { t: "How to read a shampoo ingredient list", time: 4, tech: "Technique", auth: "Nelly", date: "Mar 14", img: "https://images.unsplash.com/photo-1527799820374-87591a16f725?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Sulphate-free on fine hair — the traps", time: 5, tech: "Sulphates", auth: "Nelly", date: "Mar 08", img: "https://images.unsplash.com/photo-1519014816548-bf5fe059798b?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
  { t: "Cyclopentasiloxane: why it was briefly banned", time: 5, tech: "Silicones", auth: "Iris", date: "Mar 01", img: "https://images.unsplash.com/photo-1560869713-7d0a29430803?w=900&q=80&auto=format&fit=crop", kick: "Deep dive", pick: false },
  { t: "Switching to sulphate-free: a transition guide", time: 6, tech: "Sulphates", auth: "Nelly", date: "Feb 22", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "When clarifying helps — and when it hurts", time: 4, tech: "Technique", auth: "Iris", date: "Feb 15", img: "https://images.unsplash.com/photo-1527799820374-87591a16f725?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
];

const TECH_FILTERS = ["All", "Sulphates", "Silicones", "Technique", "Essay", "Deep dive", "Troubleshoot", "Routine"];

const DEBATE_CROSSLINKS = [
  { id: "protein-and-bonds", title: "Protein & Bonds",  deck: "What your hair is actually made of, and how to work with it.",   count: 94,  href: "/en/hair/ingredients/protein-and-bonds/" },
  { 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, {
  TWO_DEBATES, DEBATE_SIBLINGS, SULPHATE_FACTS, SILICONE_FACTS,
  BEGINNER_PATH, TRENDING, FORMAT_GUIDE, HOWTOS, TECH_FILTERS, DEBATE_CROSSLINKS,
});
