// Hair · Ingredients · Oils — L3 data
// Combined page: #light + #heavy + #choosing
// window.OILS

const OILS = {
  type: "Oils",
  parent: { title: "Ingredients", href: "/en/hair/ingredients/" },
  grandparent: { title: "Hair", href: "/en/hair/" },
  totalCount: 102,
  hero: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Editorial close-up — hair oils",
  h1: "Oils: light, heavy, and what actually gets in.",
  deck: "Penetrating oils, sealing oils, and the ones that do both — sorted by molecular weight, use case, and what the hair science actually says.",
  intro: "Not all oils behave the same on hair. Some penetrate the cortex, travelling through gaps in the cuticle to reduce protein loss and improve internal moisture retention. Most don't — they sit on the surface as a temporary, occlusive film. Whether penetration matters to you depends on what problem you're trying to solve. Surface-level shine and reduced friction need a different oil than internal moisture retention or heat protection. Molecular weight is the deciding variable.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 102, updated: "Updated 2 May 2026", reading: "Avg. 4 min per piece" },
};

const OIL_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",            href: "/en/hair/ingredients/protein-and-bonds/" },
  { id: "humectants",        title: "Humectants",      n: "03",            href: "/en/hair/ingredients/humectants/" },
  { id: "oils",              title: "Oils",            n: "04", cur: true,  href: "/en/hair/ingredients/oils/" },
];

const LIGHT_FACTS = {
  defn: {
    h: "Light oils — what makes them light",
    body: "Light oils are characterised by low molecular weight and a higher proportion of unsaturated fatty acids (oleic, linoleic, lauric). They spread easily, feel weightless on the hair, and are the only oils that evidence supports as genuinely penetrating the cortex — particularly coconut, olive, and avocado oils, which have small enough molecules to pass through the cuticle. Inside the cortex, penetrating oils bind to the protein matrix, reduce hygral swelling, and can measurably decrease protein loss during wet combing.",
  },
  myths: [
    { m: "Light oils are only for fine hair.",
      t: "Light oils are for any hair type where penetration or pre-poo treatment is the goal. Thick, coily hair benefits as much as fine hair from a coconut oil pre-wash treatment. 'Light' refers to molecular weight, not application weight." },
    { m: "Coconut oil is too heavy for fine hair.",
      t: "Coconut oil is one of the lightest penetrating oils by molecular structure. Its heaviness in use comes from over-application, not its weight class. A small amount, worked through on dry hair before washing, absorbs and washes out without residue." },
    { m: "Any oil works as a heat protectant.",
      t: "Some oils have been studied for heat protection (coconut, argan). Many others have not. 'Oil = heat protection' is an oversimplification. The smoke point is not the relevant metric; the oil's thermal stability and film-forming capacity are." },
  ],
};

const HEAVY_FACTS = {
  defn: {
    h: "Heavy oils — what they do instead",
    body: "Heavy oils — castor, shea, jojoba (technically a wax ester), some mineral-oil derivatives — have higher molecular weights and are largely or entirely surface-active. They do not penetrate the cortex; they coat the outside of the hair shaft. That coating provides a temporary seal that slows moisture loss, smooths the cuticle layer for shine, and reduces friction between strands. None of that is trivial: frizz control, shine, and reduced mechanical breakage from tangles are real benefits. They just come from a different mechanism.",
  },
  myths: [
    { m: "Heavy oils cause buildup and should be avoided.",
      t: "Heavy oils require a proper cleanser to remove, but so do most conditioners. The 'buildup' issue comes from using heavy oils without clearing them, particularly in combination with silicone-heavy products. Clarifying periodically solves it." },
    { m: "Castor oil makes hair grow faster.",
      t: "There is no clinical evidence for ricinoleic acid (castor's active compound) increasing hair growth rate. Castor oil can improve scalp circulation when massaged in, which may support the growth environment, but the direct growth claims are anecdotal." },
    { m: "Jojoba is an oil and behaves like one.",
      t: "Jojoba is technically a liquid wax ester — it is chemically closer to sebum than to a triglyceride oil. It blends with the skin's and scalp's own lipids differently from most oils and is less prone to oxidation." },
  ],
};

const BEGINNER_PATH = {
  h: "If oils are confusing you.",
  deck: "Four pieces, in order. Enough to choose the right oil for the right purpose.",
  steps: [
    { n: "01", t: "Penetrating vs sealing oils: the distinction that matters", time: "4 min", note: "Molecular weight and what it determines about an oil's job." },
    { n: "02", t: "Pre-wash oil treatment: who benefits and how to do it",     time: "4 min", note: "Coconut, olive, avocado — the pre-poo method explained." },
    { n: "03", t: "Sealing after leave-in: which oils work and which don't",   time: "4 min", note: "The LOC/LCO method and where heavy oils fit." },
    { n: "04", t: "Oils for the scalp vs oils for the shaft",                  time: "4 min", note: "They're different applications with different criteria." },
  ],
};

const TRENDING = [
  { rank: "01", t: "Coconut oil: the evidence, all of it",                time: "6 min", auth: "Nelly", date: "Apr 30", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=1100&q=80&auto=format&fit=crop", reads: "16,220" },
  { rank: "02", t: "Argan oil vs Morrocan oil: the same thing?",          time: "4 min", auth: "Iris",  date: "Apr 24", img: "https://images.unsplash.com/photo-1519014816548-bf5fe059798b?w=1100&q=80&auto=format&fit=crop", reads: "12,105" },
  { rank: "03", t: "Castor oil for hair growth: what the evidence actually says", time: "5 min", auth: "Nelly", date: "Apr 18", img: "https://images.unsplash.com/photo-1527799820374-87591a16f725?w=1100&q=80&auto=format&fit=crop", reads: "10,873" },
  { rank: "04", t: "Pre-wash oil treatment: does it work for your hair type?", time: "5 min", auth: "Iris", date: "Apr 11", img: "https://images.unsplash.com/photo-1560869713-7d0a29430803?w=1100&q=80&auto=format&fit=crop", reads: "8,442" },
  { rank: "05", t: "Jojoba: why it's technically not an oil",             time: "3 min", auth: "Nelly", date: "Apr 05", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=1100&q=80&auto=format&fit=crop", reads: "7,118" },
];

const FORMAT_GUIDE = {
  h: "Choosing an oil, by goal",
  deck: "What are you actually trying to do? Start there — the oil follows.",
  formats: [
    { name: "Penetrating / pre-poo", when: "Coconut, olive, avocado — applied to dry hair before washing", avoid: "Silicone coating beforehand (blocks penetration)", note: "Small-molecule oils that travel into the cortex and reduce protein loss during washing.", verdict: "Damage prevention" },
    { name: "Heat protection",       when: "Coconut, argan — thin layer on damp hair before heat",        avoid: "Castor, shea — too heavy to absorb before blow-dry", note: "Only well-studied oils with thermal stability data belong here. Not all oils protect.", verdict: "Coconut or argan" },
    { name: "Frizz sealing",         when: "Argan, jojoba, sweet almond — on damp or dry hair ends",     avoid: "Coconut on fine hair mid-length (weighing)",          note: "Surface oils smooth the cuticle and reduce environmental moisture entry. Ends only on fine hair.", verdict: "Argan default" },
    { name: "Scalp moisture",        when: "Jojoba, rosehip — mimics sebum composition",                 avoid: "Coconut on dandruff-prone scalps (may feed Malassezia)", note: "Scalp and shaft application have different criteria. Don't treat them identically.", verdict: "Jojoba first" },
    { name: "Deep sealing / LOC",    when: "Castor, shea (blended), heavy oil as step C",                avoid: "As a pre-wash treatment (won't rinse easily)",          note: "As the final seal in LOC method for thick, dry, or coily hair. Lock in conditioner and leave-in moisture.", verdict: "Final layer" },
    { name: "Shine, finishing",      when: "Argan, squalane — single drop on dry hair",                  avoid: "Any oil in excess on fine or low-porosity hair",        note: "A finishing oil application needs the smallest possible amount. Most people use too much.", verdict: "Less than you think" },
  ],
};

const HOWTOS = [
  { t: "Coconut oil: the evidence, all of it",           time: 6, tech: "Light oils",  auth: "Nelly", date: "Apr 30", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: true },
  { t: "Argan oil vs Moroccan oil: the same thing?",     time: 4, tech: "Light oils",  auth: "Iris",  date: "Apr 24", img: "https://images.unsplash.com/photo-1519014816548-bf5fe059798b?w=900&q=80&auto=format&fit=crop", kick: "Comparison", pick: true },
  { t: "Castor oil for hair growth: what the evidence says", time: 5, tech: "Heavy oils", auth: "Nelly", date: "Apr 18", img: "https://images.unsplash.com/photo-1527799820374-87591a16f725?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: true },
  { t: "Pre-wash oil treatment: who it's for",           time: 5, tech: "Technique",   auth: "Iris",  date: "Apr 11", img: "https://images.unsplash.com/photo-1560869713-7d0a29430803?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: true },
  { t: "Jojoba: why it's technically not an oil",        time: 3, tech: "Heavy oils",  auth: "Nelly", date: "Apr 05", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=900&q=80&auto=format&fit=crop", kick: "Deep dive", pick: false },
  { t: "LOC vs LCO: which order for your hair type",     time: 5, tech: "Technique",   auth: "Nelly", date: "Mar 28", img: "https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: true },
  { t: "Squalane: the lightweight oil that suits almost everyone", time: 4, tech: "Light oils", auth: "Iris", date: "Mar 21", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "Oils and heat tools: the ranked list",           time: 4, tech: "Heat",        auth: "Nelly", date: "Mar 14", img: "https://images.unsplash.com/photo-1519014816548-bf5fe059798b?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "How much oil is too much?",                      time: 3, tech: "Technique",   auth: "Nelly", date: "Mar 07", img: "https://images.unsplash.com/photo-1560869713-7d0a29430803?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Avocado oil for hair: penetrating vs conditioning", time: 4, tech: "Light oils", auth: "Iris", date: "Feb 28", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "Rosehip oil on the scalp — the case for",        time: 4, tech: "Heavy oils",  auth: "Iris",  date: "Feb 21", img: "https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "Why oils separate in conditioners",              time: 3, tech: "Deep dive",   auth: "Nelly", date: "Feb 14", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=900&q=80&auto=format&fit=crop", kick: "Deep dive", pick: false },
];

const TECH_FILTERS = ["All", "Light oils", "Heavy oils", "Technique", "Heat", "Essay", "Comparison", "Deep dive", "Ingredients"];

const OIL_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: "protein-and-bonds", title: "Protein & Bonds",  deck: "Structure and repair. What each treatment does inside the shaft.", 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/" },
];

Object.assign(window, {
  OILS, OIL_SIBLINGS, LIGHT_FACTS, HEAVY_FACTS,
  BEGINNER_PATH, TRENDING, FORMAT_GUIDE, HOWTOS, TECH_FILTERS, OIL_CROSSLINKS,
});
