// Hair · Hair Concern · Frizz — L3 data

const OILY = {
  type: "Frizz",
  parent: { title: "Hair Concern", href: "/en/hair/hair-concern/" },
  grandparent: { title: "Hair", href: "/en/hair/" },
  totalCount: 193,
  hero: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Editorial close-up — frizzy hair in humidity",
  h1: "How to manage frizz.",
  deck: "Frizz is usually dehydration at the cuticle. The full library of techniques, products, and rituals — sorted, edited, and kept short on purpose.",
  intro: "Frizz is not a character flaw and it is not a hair type. It is a moisture response — individual strands expanding laterally when the cuticle can't hold water inside the shaft. Humidity accelerates it. Harsh cleansers cause it. Rough towels worsen it. The fix is rarely a single product: it is a sequence of decisions made from wash to finish that cumulatively tell each strand it has enough water and doesn't need to go looking for more. Below is everything we've published on the subject — Trending now, Editor's picks, the Beginner's path, and the full how-to library.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 193, updated: "Updated 1 May 2026", reading: "Avg. 4 min per piece" },
};

const TYPE_SIBLINGS = [
  { id: "frizz",                    title: "Frizz",                    n: "01", cur: true,  href: "/en/hair/hair-concern/frizz/" },
  { id: "breakage",                 title: "Breakage",                 n: "02", 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 frizz actually is",
    body: "Frizz occurs when the hair's outer cuticle layer lifts and the shaft absorbs atmospheric moisture unevenly. The result is swelling, separation, and that halo of texture that appears the moment humidity climbs. It's the hair asking for water it can't hold onto. Give it what it needs inside the strand, and the cuticle lies flat on its own.",
  },
  myths: [
    { m: "Frizz means you need more product.",
      t: "Usually the opposite. Piled-on silicones and heavy oils coat without hydrating, then flake and attract more humidity. Less, but better-chosen, is almost always the answer." },
    { m: "Anti-frizz serums fix the problem.",
      t: "They manage it, temporarily. The actual fix is barrier repair at the cuticle — deep conditioning, lower-heat drying, and a gentler cleansing cadence." },
    { m: "Frizz only happens in humid weather.",
      t: "Cold, dry air is equally culpable — it desiccates the cuticle from the outside. Frizz in winter is just as common; it simply looks different." },
  ],
};

const BEGINNER_PATH = {
  h: "Start here, if managing frizz is new to you.",
  deck: "Five pieces, in order. Around twenty minutes of reading. Enough to build a routine that holds in any weather.",
  steps: [
    { n: "01", t: "Why frizz happens — the cuticle, explained",          time: "3 min", note: "The science in plain English. No jargon." },
    { n: "02", t: "Choosing a cleanser that doesn't strip",              time: "4 min", note: "Sulphate levels, co-wash options, and wash frequency." },
    { n: "03", t: "Deep conditioning: frequency and technique",          time: "5 min", note: "The difference between conditioner and treatment, timed." },
    { n: "04", t: "Drying without friction — the microfibre method",     time: "4 min", note: "What towel-rubbing does to a cuticle and what to do instead." },
    { n: "05", t: "Humidity-proofing your finish step",                  time: "3 min", note: "Sealing the cuticle before you go out. Format matters." },
  ],
};

const TRENDING = [
  { rank: "01", t: "How to dry hair without creating frizz", time: "4 min", auth: "Nelly", date: "Apr 28", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=1100&q=80&auto=format&fit=crop", reads: "14,320" },
  { rank: "02", t: "The microfibre towel difference — is it real?",     time: "3 min", auth: "Iris",  date: "Apr 24", img: "https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?w=1100&q=80&auto=format&fit=crop", reads: "11,847" },
  { rank: "03", t: "Glycerin in humid climates — friend or enemy",      time: "5 min", auth: "Nelly", date: "Apr 19", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=1100&q=80&auto=format&fit=crop", reads: "9,602" },
  { rank: "04", t: "Why your anti-frizz serum stopped working",         time: "4 min", auth: "Iris",  date: "Apr 14", img: "https://images.unsplash.com/photo-1526045612212-70caf35c14df?w=1100&q=80&auto=format&fit=crop", reads: "8,441" },
  { rank: "05", t: "Cold-air frizz — the winter version of the problem",time: "3 min", auth: "Nelly", date: "Apr 09", img: "https://images.unsplash.com/photo-1519699047748-de8e44cf0a1a?w=1100&q=80&auto=format&fit=crop", reads: "7,913" },
];

const FORMAT_GUIDE = {
  h: "Format, by condition and climate",
  deck: "What to reach for, and when. These aren't products — they're delivery mechanisms for moisture and seal.",
  formats: [
    { name: "Leave-in conditioner",  when: "Post-wash, on damp hair, year-round",     avoid: "Fine hair — can collapse volume", note: "The primary moisture step. Applied to towel-dried hair, distributed root to tip.", verdict: "★ Default" },
    { name: "Curl cream / styler",   when: "Wavy to coily hair, humid climates",       avoid: "Straight or fine hair, dry climates", note: "Defines and seals simultaneously. Heavier than leave-in alone.", verdict: "High humidity" },
    { name: "Lightweight serum",     when: "Fine hair, all climates, post-style",      avoid: "Coily hair as sole product",         note: "Silicone or oil-based. Seals without weight. A finishing step, not a hydration step.", verdict: "Fine hair" },
    { name: "Hair oil",              when: "PM treatment, coarse or coily hair",       avoid: "Fine hair pre-style",                note: "Penetrating (argan, marula) vs sealing (castor) — choose by porosity.", verdict: "Coarse / coily" },
    { name: "Hydrating mask",        when: "Weekly, as a deep conditioning step",      avoid: "Protein-sensitive hair overuse",     note: "15–30 minutes under heat opens the cuticle for deeper penetration.", verdict: "Weekly reset" },
    { name: "Anti-humidity spray",   when: "Finished style, before stepping outside",  avoid: "As a substitute for moisture steps",note: "A barrier over a finished style. Not a replacement for leave-in.", verdict: "Weather defence" },
  ],
};

const HOWTOS = [
  { t: "How to dry hair without creating frizz",               time: 4, tech: "Drying",       auth: "Nelly", date: "Apr 28", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop",  kick: "Technique", pick: true },
  { t: "The microfibre towel difference — is it real?",        time: 3, tech: "Drying",       auth: "Iris",  date: "Apr 24", img: "https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?w=900&q=80&auto=format&fit=crop",  kick: "Tool", pick: false },
  { t: "Glycerin in humid climates — friend or enemy",         time: 5, tech: "Ingredients",  auth: "Nelly", date: "Apr 19", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=900&q=80&auto=format&fit=crop",  kick: "Ingredients", pick: true },
  { t: "Why your anti-frizz serum stopped working",            time: 4, tech: "Styling",      auth: "Iris",  date: "Apr 14", img: "https://images.unsplash.com/photo-1526045612212-70caf35c14df?w=900&q=80&auto=format&fit=crop",  kick: "Troubleshoot", pick: true },
  { t: "Cold-air frizz — the winter version of the problem",   time: 3, tech: "Seasonal",     auth: "Nelly", date: "Apr 09", img: "https://images.unsplash.com/photo-1519699047748-de8e44cf0a1a?w=900&q=80&auto=format&fit=crop",  kick: "Seasonal", pick: true },
  { t: "Deep conditioning: frequency, timing, technique",      time: 6, tech: "Conditioning", auth: "Nelly", date: "Apr 04", img: "https://images.unsplash.com/photo-1522338242992-e1a54906a8da?w=900&q=80&auto=format&fit=crop",  kick: "Technique", pick: false },
  { t: "The co-wash question for frizz-prone hair",            time: 5, tech: "Cleansing",    auth: "Iris",  date: "Mar 30", img: "https://images.unsplash.com/photo-1518621736915-f3b1c41bfd00?w=900&q=80&auto=format&fit=crop",  kick: "Cleansing", pick: false },
  { t: "Porosity and frizz — what's the actual link?",         time: 6, tech: "Essay",        auth: "Nelly", date: "Mar 25", img: "https://images.unsplash.com/photo-1557053506-91d1f0b9fad4?w=900&q=80&auto=format&fit=crop",  kick: "Essay", pick: true },
  { t: "Diffusing without the frizz cloud",                    time: 4, tech: "Drying",       auth: "Iris",  date: "Mar 20", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=900&q=80&auto=format&fit=crop",  kick: "Technique", pick: false },
  { t: "Leave-in vs rinse-out conditioner — the frizz case",  time: 4, tech: "Conditioning", auth: "Nelly", date: "Mar 15", img: "https://images.unsplash.com/photo-1522338242992-e1a54906a8da?w=900&q=80&auto=format&fit=crop",  kick: "Conditioning", pick: false },
  { t: "Sleeping without undoing your frizz work",             time: 3, tech: "Routine",      auth: "Iris",  date: "Mar 10", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=900&q=80&auto=format&fit=crop",  kick: "Routine", pick: false },
  { t: "When to use oil vs serum for frizz",                   time: 4, tech: "Styling",      auth: "Nelly", date: "Mar 05", img: "https://images.unsplash.com/photo-1526045612212-70caf35c14df?w=900&q=80&auto=format&fit=crop",  kick: "Styling", pick: false },
  { t: "Detangling and frizz — the brush choice matters",      time: 3, tech: "Technique",    auth: "Nelly", date: "Feb 28", img: "https://images.unsplash.com/photo-1519699047748-de8e44cf0a1a?w=900&q=80&auto=format&fit=crop",  kick: "Tool", pick: false },
  { t: "Heat protectant and frizz — what it actually prevents",time: 5, tech: "Heat",         auth: "Iris",  date: "Feb 22", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=900&q=80&auto=format&fit=crop",  kick: "Heat", pick: false },
  { t: "Frizz after colour — why it happens",                  time: 4, tech: "Colour",       auth: "Nelly", date: "Feb 17", img: "https://images.unsplash.com/photo-1557053506-91d1f0b9fad4?w=900&q=80&auto=format&fit=crop",  kick: "Colour", pick: false },
  { t: "The plopping technique for wavy frizz",                time: 3, tech: "Technique",    auth: "Iris",  date: "Feb 12", img: "https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?w=900&q=80&auto=format&fit=crop",  kick: "Technique", pick: false },
  { t: "Anti-humidity products — what actually works",         time: 5, tech: "Styling",      auth: "Nelly", date: "Feb 06", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=900&q=80&auto=format&fit=crop",  kick: "Styling", pick: false },
  { t: "Frizz halo at the crown — three likely causes",        time: 3, tech: "Troubleshoot", auth: "Iris",  date: "Feb 01", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop",  kick: "Troubleshoot", pick: false },
];

const TECH_FILTERS = ["All", "Drying", "Conditioning", "Cleansing", "Styling", "Ingredients", "Heat", "Technique", "Seasonal", "Colour", "Routine", "Essay", "Troubleshoot"];

const TYPE_CROSSLINKS = [
  { id: "breakage",                title: "Breakage",              deck: "Stop the snap. Rebuild from inside the shaft.",       count: 178, href: "/en/hair/hair-concern/breakage/" },
  { 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,
});
