// Hair · Hair Concern · Breakage — L3 data

const OILY = {
  type: "Breakage",
  parent: { title: "Hair Concern", href: "/en/hair/hair-concern/" },
  grandparent: { title: "Hair", href: "/en/hair/" },
  totalCount: 178,
  hero: "https://images.unsplash.com/photo-1527799820374-87591a16b968?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Editorial close-up — fragile hair strands",
  h1: "How to stop hair breakage.",
  deck: "Breakage starts inside the cortex. The full library of strengthening techniques, bond care, and protective habits — sorted, edited, and kept short on purpose.",
  intro: "Hair breakage is structural failure, not surface failure. It happens when the cortex — the inner protein architecture of the strand — has been compromised by chemistry, heat, mechanical stress, or some combination of all three. The break site is rarely where the damage started. You might see snapping mid-shaft while the real culprit is three months of aggressive colouring, repeated over-tensioning on a single ponytail elastic, or a heat-styling temperature that was ten degrees too high, every single day. The intervention has to be just as systemic. Below is everything we've published on the subject.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 178, updated: "Updated 1 May 2026", reading: "Avg. 5 min per piece" },
};

const TYPE_SIBLINGS = [
  { id: "frizz",                    title: "Frizz",                    n: "01", href: "/en/hair/hair-concern/frizz/" },
  { id: "breakage",                 title: "Breakage",                 n: "02", cur: true,  href: "/en/hair/hair-concern/breakage/" },
  { id: "dryness-and-heat-damage",  title: "Dryness & Heat Damage",    n: "03", href: "/en/hair/hair-concern/dryness-and-heat-damage/" },
  { id: "oiliness",                 title: "Oiliness",                 n: "04", href: "/en/hair/hair-concern/oiliness/" },
];

const QUICK_FACTS = {
  defn: {
    h: "What breakage actually is",
    body: "Hair breakage is the snapping of the shaft somewhere between root and tip — distinct from shedding, which is loss at the follicle. The break point is usually where the cortex has been weakened: by chemical swelling, heat-induced protein denaturation, or chronic friction and tension. Single-strand knots are a type of breakage. So is the halo of shorter pieces that appears at the temples after a period of tight styling.",
  },
  myths: [
    { m: "Breakage means your hair is too dry.",
      t: "Dryness contributes, but structural weakness is usually the primary cause. Protein-depleted hair can be slippery and soft while still snapping constantly. Test elasticity before blaming moisture alone." },
    { m: "Trimming stops breakage.",
      t: "Trimming removes the evidence. The causes — tension, heat, chemistry — continue until you address them. Trim, yes, but change the habit at the same time." },
    { m: "Protective styles always protect.",
      t: "A protective style that is too tight, too long unwashed, or too heavy causes breakage at the hairline. How you wear it matters as much as whether you wear it." },
  ],
};

const BEGINNER_PATH = {
  h: "Start here, if breakage is something new to name.",
  deck: "Five pieces, in order. Around twenty-two minutes of reading. Enough to triage your situation and build a recovery plan.",
  steps: [
    { n: "01", t: "Shedding vs breakage — how to tell the difference",   time: "3 min", note: "Look at the strand. Shed hair has a white bulb; broken hair doesn't." },
    { n: "02", t: "The elasticity test — what it tells you",              time: "4 min", note: "Wet a strand. Stretch it. What happens next tells you whether the problem is moisture or protein." },
    { n: "03", t: "Protein treatments: what, when, how much",             time: "6 min", note: "Not all protein is the same. Hydrolysed size and hair porosity dictate what reaches the cortex." },
    { n: "04", t: "Tension: the invisible cause of breakage",             time: "5 min", note: "Ponytail elastics, tight braids, and tension alopecia — where the line is." },
    { n: "05", t: "Heat damage and breakage — a six-week recovery plan",  time: "4 min", note: "The evidence-based order of operations for structural repair." },
  ],
};

const TRENDING = [
  { rank: "01", t: "The elasticity test — what your hair is telling you", time: "4 min", auth: "Nelly", date: "Apr 29", img: "https://images.unsplash.com/photo-1527799820374-87591a16b968?w=1100&q=80&auto=format&fit=crop", reads: "16,230" },
  { rank: "02", t: "Protein vs moisture — diagnosing the balance",         time: "6 min", auth: "Iris",  date: "Apr 25", img: "https://images.unsplash.com/photo-1514846226882-1d5a83c3d6a5?w=1100&q=80&auto=format&fit=crop", reads: "13,881" },
  { rank: "03", t: "Bond builders — what they are, what they aren't",      time: "5 min", auth: "Nelly", date: "Apr 20", img: "https://images.unsplash.com/photo-1559181567-c3190ca9be46?w=1100&q=80&auto=format&fit=crop", reads: "10,452" },
  { rank: "04", t: "Ponytail breakage — the elastic problem",              time: "3 min", auth: "Nelly", date: "Apr 15", img: "https://images.unsplash.com/photo-1520085601670-ee14aa5fa3e8?w=1100&q=80&auto=format&fit=crop", reads: "9,774" },
  { rank: "05", t: "The six-week breakage recovery protocol",              time: "5 min", auth: "Iris",  date: "Apr 09", img: "https://images.unsplash.com/photo-1522338242992-e1a54906a8da?w=1100&q=80&auto=format&fit=crop", reads: "8,310" },
];

const FORMAT_GUIDE = {
  h: "Treatment type, by damage source",
  deck: "Breakage rarely has one cause. Match your treatment to the mechanism, not just the symptom.",
  formats: [
    { name: "Protein treatment",    when: "Elasticity loss, chemical damage, post-colour",   avoid: "Already high-protein diet, protein-sensitive hair", note: "Rebuilds the cortex structurally. Match hydrolysed size to your porosity.", verdict: "★ Core repair" },
    { name: "Bond builder",         when: "Bleach, lightening, repeated chemical services",   avoid: "Mechanical-only breakage — won't address tension", note: "Works at the disulphide bond level. Olaplex, K18, and equivalents occupy this category.", verdict: "Chemical damage" },
    { name: "Deep conditioner",     when: "After every protein treatment; weekly otherwise",  avoid: "As sole repair for structural breakage",            note: "Restores the moisture balance that protein treatments can disrupt.", verdict: "Always pair" },
    { name: "Strengthening serum",  when: "Daily on ends, post-detangle, pre-heat",          avoid: "Scalp application",                                note: "Fills surface micro-gaps. Slippery enough to reduce mechanical abrasion.", verdict: "Daily support" },
    { name: "Protective style",     when: "During recovery phase, low tension, clean",       avoid: "Tight, extended wear without washing",              note: "The point is to reduce manipulation, not to eliminate it. Scalp health still matters.", verdict: "Recovery mode" },
    { name: "Scalp treatment",      when: "When breakage clusters at the hairline",          avoid: "As a substitute for shaft repair",                  note: "Follicle health determines new growth quality. Healthy regrowth replaces broken length.", verdict: "Regrowth quality" },
  ],
};

const HOWTOS = [
  { t: "The elasticity test — what your hair is telling you",   time: 4, tech: "Diagnostic",   auth: "Nelly", date: "Apr 29", img: "https://images.unsplash.com/photo-1527799820374-87591a16b968?w=900&q=80&auto=format&fit=crop",  kick: "Diagnostic", pick: true },
  { t: "Protein vs moisture — diagnosing the balance",          time: 6, tech: "Ingredients",  auth: "Iris",  date: "Apr 25", img: "https://images.unsplash.com/photo-1514846226882-1d5a83c3d6a5?w=900&q=80&auto=format&fit=crop",  kick: "Ingredients", pick: true },
  { t: "Bond builders — what they are, what they aren't",       time: 5, tech: "Ingredients",  auth: "Nelly", date: "Apr 20", img: "https://images.unsplash.com/photo-1559181567-c3190ca9be46?w=900&q=80&auto=format&fit=crop",  kick: "Ingredients", pick: true },
  { t: "Ponytail breakage — the elastic problem",               time: 3, tech: "Tension",      auth: "Nelly", date: "Apr 15", img: "https://images.unsplash.com/photo-1520085601670-ee14aa5fa3e8?w=900&q=80&auto=format&fit=crop",  kick: "Technique", pick: true },
  { t: "The six-week breakage recovery protocol",               time: 5, tech: "Routine",      auth: "Iris",  date: "Apr 09", img: "https://images.unsplash.com/photo-1522338242992-e1a54906a8da?w=900&q=80&auto=format&fit=crop",  kick: "Routine", pick: true },
  { t: "Shedding vs breakage — how to tell the difference",     time: 3, tech: "Diagnostic",   auth: "Nelly", date: "Apr 04", img: "https://images.unsplash.com/photo-1527799820374-87591a16b968?w=900&q=80&auto=format&fit=crop",  kick: "Diagnostic", pick: false },
  { t: "How to detangle without breaking",                      time: 4, tech: "Technique",    auth: "Iris",  date: "Mar 29", img: "https://images.unsplash.com/photo-1514846226882-1d5a83c3d6a5?w=900&q=80&auto=format&fit=crop",  kick: "Technique", pick: false },
  { t: "Heat damage and structural breakage — the link",        time: 6, tech: "Heat",         auth: "Nelly", date: "Mar 24", img: "https://images.unsplash.com/photo-1559181567-c3190ca9be46?w=900&q=80&auto=format&fit=crop",  kick: "Heat", pick: false },
  { t: "Trimming vs treatments — which comes first",            time: 4, tech: "Routine",      auth: "Nelly", date: "Mar 18", img: "https://images.unsplash.com/photo-1520085601670-ee14aa5fa3e8?w=900&q=80&auto=format&fit=crop",  kick: "Routine", pick: false },
  { t: "Tight styles and traction alopecia — the continuum",   time: 7, tech: "Tension",      auth: "Iris",  date: "Mar 12", img: "https://images.unsplash.com/photo-1522338242992-e1a54906a8da?w=900&q=80&auto=format&fit=crop",  kick: "Essay", pick: false },
  { t: "Colour and breakage — understanding the cycle",         time: 5, tech: "Chemical",     auth: "Nelly", date: "Mar 07", img: "https://images.unsplash.com/photo-1527799820374-87591a16b968?w=900&q=80&auto=format&fit=crop",  kick: "Chemical", pick: false },
  { t: "What 'strengthening shampoo' actually means",           time: 3, tech: "Cleansing",    auth: "Iris",  date: "Mar 01", img: "https://images.unsplash.com/photo-1514846226882-1d5a83c3d6a5?w=900&q=80&auto=format&fit=crop",  kick: "Cleansing", pick: false },
  { t: "Sleeping styles that cut breakage overnight",           time: 3, tech: "Technique",    auth: "Nelly", date: "Feb 24", img: "https://images.unsplash.com/photo-1559181567-c3190ca9be46?w=900&q=80&auto=format&fit=crop",  kick: "Technique", pick: false },
  { t: "The breakage journal — tracking progress",              time: 4, tech: "Routine",      auth: "Iris",  date: "Feb 18", img: "https://images.unsplash.com/photo-1520085601670-ee14aa5fa3e8?w=900&q=80&auto=format&fit=crop",  kick: "Routine", pick: false },
  { t: "Single-strand knots — why they happen and how to stop",time: 4, tech: "Diagnostic",   auth: "Nelly", date: "Feb 12", img: "https://images.unsplash.com/photo-1522338242992-e1a54906a8da?w=900&q=80&auto=format&fit=crop",  kick: "Diagnostic", pick: false },
];

const TECH_FILTERS = ["All", "Diagnostic", "Ingredients", "Technique", "Heat", "Tension", "Chemical", "Cleansing", "Routine", "Essay"];

const TYPE_CROSSLINKS = [
  { id: "frizz",                   title: "Frizz",                 deck: "Moisture at the cuticle. Close the shaft, calm the halo.",   count: 193, href: "/en/hair/hair-concern/frizz/" },
  { id: "dryness-and-heat-damage", title: "Dryness & Heat Damage", deck: "Two problems, one page. Moisture, then recovery.",           count: 221, href: "/en/hair/hair-concern/dryness-and-heat-damage/" },
  { id: "oiliness",               title: "Oiliness",              deck: "Scalp oil, extended. The wash-frequency answer.",            count: 149, href: "/en/hair/hair-concern/oiliness/" },
];

Object.assign(window, {
  OILY, TYPE_SIBLINGS, QUICK_FACTS, BEGINNER_PATH, TRENDING, FORMAT_GUIDE, HOWTOS, TECH_FILTERS, TYPE_CROSSLINKS,
});
