// Hair · Colour & Treatment · Colour Fade — L3 data

const COLOUR_FADE = {
  type: "Colour Fade",
  parent: { title: "Colour & Treatment", href: "/en/hair/colour-treatment/" },
  grandparent: { title: "Hair", href: "/en/hair/" },
  totalCount: 167,
  hero: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Editorial close-up — sunlit hair showing depth and fade",
  h1: "How to slow colour fade.",
  deck: "All colour fades. The question is how fast, how evenly, and what it fades to. Most colour fade is preventable — or at least, most of the damage it causes comes from manageable contributors that people don't realise are cumulative.",
  intro: "Colour fade is the gradual loss of artificial pigment from the hair shaft. Permanent colour oxidises out of the cortex. Direct dyes shed from the cuticle surface. Toner deposits from the cuticle with each wash. The rate of fade isn't fixed — it's determined by the accumulated effect of everything the hair encounters: water temperature, sulphate content in shampoo, UV exposure, heat styling frequency, hard water mineral deposits, swimming in chlorinated or salt water, and how often the hair is physically washed and dried. Each of these is controllable to some degree. Below is the full library — the mechanics, the contributors ranked by impact, the product categories that genuinely extend colour life, and the schedule for when to rebook.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 167, updated: "Updated 01 May 2026", reading: "Avg. 4 min per piece" },
};

const CF_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", 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", cur: true, href: "/en/hair/colour-treatment/colour-fade/" },
];

const CF_QUICK_FACTS = {
  defn: {
    h: "How colour leaves the hair — and at what rate",
    body: "Permanent colour molecules form inside the cortex through an oxidative reaction. Over time, oxidation also breaks them down, and physical washing progressively removes them. Toners and direct dyes sit at the cuticle surface and shed with every wash cycle. The first wash removes the most colour — the cuticle is still partially open from the service. After that, the rate of fade slows and becomes more linear: each wash removes roughly the same small amount. UV exposure oxidises both natural and artificial pigment simultaneously, accelerating the overall loss.",
  },
  myths: [
    { m: "Washing less often is the only way to prevent fade.",
      t: "Wash frequency matters, but what you wash with (sulphates vs milder surfactants), the water temperature, and your exposure to UV and hard water contribute equally. You can wash three times a week sulphate-free with cold water and maintain colour better than someone washing twice a week with a harsh shampoo in hard water." },
    { m: "Colour-protecting shampoos are just marketing.",
      t: "They do two useful things: they use milder surfactants (less stripping), and they're often formulated at a lower pH that helps the cuticle stay sealed. The effect is real, even if modest." },
    { m: "Once toner fades, you need to re-bleach.",
      t: "Toner fading is not the same as the underlying colour changing. A gloss or toner appointment is all that's needed — no additional lift, no damage." },
  ],
};

const CF_BEGINNER_PATH = {
  h: "Colour fading faster than it should?",
  deck: "Four pieces. About fifteen minutes. The contributors ranked by impact.",
  steps: [
    { n: "01", t: "Why colour fades — the mechanics", time: "3 min", note: "Permanent colour vs toner vs direct dye — how each type fades." },
    { n: "02", t: "The four biggest contributors to colour fade", time: "4 min", note: "Ranked by impact: sulphates, water temperature, UV, hard water." },
    { n: "03", t: "Product categories that genuinely help", time: "4 min", note: "What colour-protect shampoo, UV mists, and glosses actually do." },
    { n: "04", t: "When to rebook: a colour type–by–colour type schedule", time: "3 min", note: "Highlights vs vivids vs permanent tint — the timeline for each." },
  ],
};

const CF_TRENDING = [
  { rank: "01", t: "The four biggest contributors to colour fade, ranked", time: "5 min", auth: "Nelly", date: "Apr 29", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=1100&q=80&auto=format&fit=crop", reads: "17,880" },
  { rank: "02", t: "Hard water and colour fade: the problem no one talks about", time: "4 min", auth: "Iris",  date: "Apr 22", img: "https://images.unsplash.com/photo-1562322140-8baeececf3df?w=1100&q=80&auto=format&fit=crop", reads: "12,450" },
  { rank: "03", t: "Does UV hair protection actually work?", time: "3 min", auth: "Nelly", date: "Apr 15", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=1100&q=80&auto=format&fit=crop", reads: "10,230" },
  { rank: "04", t: "When to rebook: the right timing for every colour type", time: "4 min", auth: "Iris",  date: "Apr 08", img: "https://images.unsplash.com/photo-1519699047748-de8e457a634e?w=1100&q=80&auto=format&fit=crop", reads: "8,770" },
  { rank: "05", t: "Why your toner fades in two weeks when it should last six", time: "4 min", auth: "Nelly", date: "Apr 01", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=1100&q=80&auto=format&fit=crop", reads: "7,660" },
];

const CF_FORMAT_GUIDE = {
  h: "Fade contributors, by impact",
  deck: "Ranked from highest to lowest impact on the rate of colour fade.",
  formats: [
    { name: "Sulphates",        when: "Switch to sulphate-free formula — highest single-factor reduction", avoid: "SLS/SLES in any product that contacts the hair when wet", note: "The most controllable, highest-impact contributor. Fixing this alone extends colour significantly.", verdict: "★ Fix first" },
    { name: "Water temperature", when: "Always rinse with cool or cold water, especially the final rinse", avoid: "Hot showers rinsing through coloured hair", note: "Hot water swells the cuticle and allows pigment to escape. Cold closes it.", verdict: "Free fix" },
    { name: "UV exposure",      when: "Hair UV mist or SPF-infused product on outdoor days", avoid: "Untreated colour in direct sun over long periods", note: "Oxidises pigment, especially warm tones and vivids. UV products genuinely help.", verdict: "Seasonal" },
    { name: "Hard water",       when: "Chelating shampoo monthly; shower filter if budget allows", avoid: "Mistaking mineral buildup dullness for colour fade", note: "Calcium and magnesium deposits cloud colour and make it appear faded. Chelating treatments reverse this.", verdict: "Often overlooked" },
    { name: "Wash frequency",   when: "Reduce washes to 2–3x per week where possible", avoid: "Daily washing — each wash removes colour, regardless of formula", note: "Every wash loses colour. Extending the interval by one day per week adds up.", verdict: "Cumulative" },
  ],
};

const CF_HOWTOS = [
  { t: "The four biggest contributors to colour fade, ranked", time: 5, tech: "Essay", auth: "Nelly", date: "Apr 29", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: true },
  { t: "Hard water and colour fade: the problem no one talks about", time: 4, tech: "Ingredients", auth: "Iris",  date: "Apr 22", img: "https://images.unsplash.com/photo-1562322140-8baeececf3df?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: true },
  { t: "Does UV hair protection actually work?", time: 3, tech: "Products", auth: "Nelly", date: "Apr 15", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop", kick: "Products", pick: true },
  { t: "When to rebook: timing for every colour type", time: 4, tech: "Routine", auth: "Iris",  date: "Apr 08", img: "https://images.unsplash.com/photo-1519699047748-de8e457a634e?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Why your toner fades in two weeks when it should last six", time: 4, tech: "Troubleshoot", auth: "Nelly", date: "Apr 01", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
  { t: "Swimming and colour fade — the chlorine problem", time: 3, tech: "Maintenance", auth: "Iris",  date: "Mar 24", img: "https://images.unsplash.com/photo-1562322140-8baeececf3df?w=900&q=80&auto=format&fit=crop", kick: "Maintenance", pick: false },
  { t: "The chelating shampoo: what it does and when to use it", time: 3, tech: "Products", auth: "Nelly", date: "Mar 16", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop", kick: "Products", pick: false },
  { t: "Why dark colour always fades to red at the ends", time: 4, tech: "Troubleshoot", auth: "Iris",  date: "Mar 08", img: "https://images.unsplash.com/photo-1519699047748-de8e457a634e?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
];

const CF_TECH_FILTERS = ["All", "Essay", "Products", "Routine", "Maintenance", "Ingredients", "Troubleshoot"];

const CF_CT_CROSSLINKS = [
  { id: "sulphate-free-routine", title: "Sulphate-free routine", deck: "The foundation of any anti-fade routine.", count: 143, href: "/en/hair/colour-treatment/sulphate-free-routine/" },
  { id: "gloss",          title: "Gloss",           deck: "Re-tone every 6–8 weeks when colour fades.",          count: 189, href: "/en/hair/colour-treatment/gloss/" },
  { id: "post-salon-week", title: "Post-salon week", deck: "The first week is when most fade happens.",           count: 183, href: "/en/hair/colour-treatment/post-salon-week/" },
  { id: "vivids-care",    title: "Vivids care",      deck: "The fastest-fading colour — the most to lose.",       count: 134, href: "/en/hair/colour-treatment/vivids-care/" },
];

Object.assign(window, {
  COLOUR_FADE, CF_SIBLINGS, CF_QUICK_FACTS, CF_BEGINNER_PATH, CF_TRENDING, CF_FORMAT_GUIDE, CF_HOWTOS, CF_TECH_FILTERS, CF_CT_CROSSLINKS,
});
