// Hair · Hair Type · Coily — L3 data

const OILY = {
  type: "Coily Hair",
  parent: { title: "Hair Type", href: "/en/hair/hair-type/" },
  grandparent: { title: "Hair", href: "/en/hair/" },
  totalCount: 244,
  hero: "https://images.unsplash.com/photo-1583864697784-a0efc8379f70?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Editorial close-up — coily hair",
  h1: "How to care for coily hair.",
  deck: "Shrinkage, moisture retention, definition, length retention — the full library for coily hair that thrives.",
  intro: "Coily hair is the most moisture-thirsty hair type we cover, and the most misrepresented. For decades it was managed with products and methods designed for other textures, and the results showed. The shift — toward techniques and ingredients that work with the coil, not against it — has been the most significant development in hair care in a generation. Everything below is evidence of that shift. Deep moisture, protective styling, low-manipulation routines, and the full how-to library.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 244, updated: "Updated 27 April 2026", reading: "Avg. 5 min per piece" },
};

const TYPE_SIBLINGS = [
  { id: "straight", title: "Straight", n: "01", href: "/en/hair/hair-type/straight/" },
  { id: "wavy",     title: "Wavy",     n: "02", href: "/en/hair/hair-type/wavy/" },
  { id: "curly",    title: "Curly",    n: "03", href: "/en/hair/hair-type/curly/" },
  { id: "coily",    title: "Coily",    n: "04", cur: true, href: "/en/hair/hair-type/coily/" },
  { id: "fine",     title: "Fine",     n: "05", href: "/en/hair/hair-type/fine/" },
  { id: "thick",    title: "Thick",    n: "06", href: "/en/hair/hair-type/thick/" },
];

const QUICK_FACTS = {
  defn: {
    h: "What 'coily hair' actually means",
    body: "Coily hair (Type 4) grows from a highly curved, almost flat follicle and forms tight zigzag or spiral patterns. It ranges from a soft, S-shaped coil (4A) through a tight Z-pattern (4B) to densely packed, fine-stranded coils with no defined curl shape (4C). The coil structure makes it the most fragile of all hair types — despite appearing robust, coily hair breaks at the bends and loses moisture rapidly. Sebum cannot travel down the coil, which is why coily hair is almost always dry from mid-length to end.",
  },
  myths: [
    { m: "Coily hair doesn't grow.",
      t: "Coily hair grows at the same average rate as any other type. What limits length is breakage and moisture loss. The goal isn't to make it grow — it's to keep what grows." },
    { m: "Coily hair needs less frequent washing.",
      t: "It needs less frequent shampoo, not less frequent moisturising. The moisture routine should be consistent; the cleansing can be more spaced out." },
    { m: "Grease and heavy oils are the answer to dryness.",
      t: "Heavy mineral oils seal the hair shaft but don't penetrate it. They create the appearance of moisture without providing it. Water-based products first, then oil to seal." },
  ],
};

const BEGINNER_PATH = {
  h: "Start here, if your coils are dry, brittle, or not retaining length.",
  deck: "Five pieces, in order. Around twenty-five minutes of reading. The foundation of a healthy coily hair practice.",
  steps: [
    { n: "01", t: "Understanding shrinkage — why it's not the enemy",    time: "3 min", note: "What shrinkage tells you about your hair's health and elasticity." },
    { n: "02", t: "The moisture routine for coily hair",                  time: "6 min", note: "Water, leave-in, oil, cream. The LOC and LCO methods compared." },
    { n: "03", t: "Protective styling — what qualifies and what doesn't", time: "5 min", note: "Buns, braids, twists. When they protect and when they damage." },
    { n: "04", t: "Low-manipulation detangling for coily hair",           time: "4 min", note: "Products, tools, and the sequence that prevents breakage." },
    { n: "05", t: "The scalp care routine for 4A–4C hair",                time: "4 min", note: "Oiling, massaging, clarifying. Without disrupting the coil." },
  ],
};

const TRENDING = [
  { rank: "01", t: "The LOC method for coily hair — step by step",         time: "5 min", auth: "Nelly", date: "Apr 25", img: "https://images.unsplash.com/photo-1583864697784-a0efc8379f70?w=1100&q=80&auto=format&fit=crop", reads: "19,870" },
  { rank: "02", t: "Why your 4C hair keeps breaking at the same length",   time: "4 min", auth: "Iris",  date: "Apr 21", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=1100&q=80&auto=format&fit=crop", reads: "16,344" },
  { rank: "03", t: "Protective styling for length retention — a guide",    time: "6 min", auth: "Nelly", date: "Apr 16", img: "https://images.unsplash.com/photo-1594744803329-e58b31de8bf5?w=1100&q=80&auto=format&fit=crop", reads: "13,209" },
  { rank: "04", t: "Moisturising 4B and 4C hair on non-wash days",        time: "4 min", auth: "Iris",  date: "Apr 09", img: "https://images.unsplash.com/photo-1519710164239-da123dc03ef4?w=1100&q=80&auto=format&fit=crop", reads: "10,876" },
  { rank: "05", t: "The twist-out — the complete method",                  time: "5 min", auth: "Nelly", date: "Apr 04", img: "https://images.unsplash.com/photo-1519699047748-de8e457a634e?w=1100&q=80&auto=format&fit=crop", reads: "9,423" },
];

const FORMAT_GUIDE = {
  h: "Product format, by use case",
  deck: "What to reach for, and when. For coily hair, sequence matters as much as selection.",
  formats: [
    { name: "Water (the real first step)", when: "Every moisturising session — before anything else",  avoid: "Skipping this to go straight to oil",        note: "Hair must be wet or damp for any moisture product to work. Oil on dry coils seals in dryness.", verdict: "★ Always first" },
    { name: "Leave-in conditioner",        when: "Every wash day, and most non-wash days",            avoid: "Very heavy formulas on fine 4A coils",         note: "The moisture layer. Everything else builds on this.", verdict: "Daily moisture" },
    { name: "Hair butter / cream",         when: "After leave-in, to define and soften",             avoid: "On already-greasy scalp, over thick gels",      note: "Heavier than a leave-in, lighter than an oil. Defines coil pattern.", verdict: "Definition" },
    { name: "Sealing oil",                 when: "Last step in routine, to lock moisture in",        avoid: "First step, on dry hair",                       note: "Jojoba, argan, avocado. Lightweight > heavy. After cream, not instead of.", verdict: "Seal" },
    { name: "Deep conditioner",            when: "Weekly, under heat or a cap for 30+ min",          avoid: "As a rinse-out shortcut (needs time to work)", note: "The single most impactful product in a coily hair routine.", verdict: "Weekly essential" },
    { name: "Clarifying shampoo",          when: "Monthly, when products have stopped penetrating", avoid: "More than monthly on 4B/4C (too stripping)",    note: "Buildup on coily hair is invisible until the pattern collapses.", verdict: "Monthly" },
  ],
};

const HOWTOS = [
  { t: "The LOC method for coily hair — step by step",                  time: 5, tech: "Moisture",    auth: "Nelly", date: "Apr 25", img: "https://images.unsplash.com/photo-1583864697784-a0efc8379f70?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: true },
  { t: "Why 4C hair keeps breaking at the same length",                 time: 4, tech: "Diagnostic",  auth: "Iris",  date: "Apr 21", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=900&q=80&auto=format&fit=crop", kick: "Diagnostic", pick: true },
  { t: "Protective styling for length retention",                       time: 6, tech: "Protective",  auth: "Nelly", date: "Apr 16", img: "https://images.unsplash.com/photo-1594744803329-e58b31de8bf5?w=900&q=80&auto=format&fit=crop", kick: "Styling", pick: true },
  { t: "The twist-out — the complete method",                           time: 5, tech: "Styling",     auth: "Nelly", date: "Apr 04", img: "https://images.unsplash.com/photo-1519699047748-de8e457a634e?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: true },
  { t: "Moisturising 4B and 4C hair on non-wash days",                 time: 4, tech: "Moisture",    auth: "Iris",  date: "Apr 09", img: "https://images.unsplash.com/photo-1519710164239-da123dc03ef4?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Understanding shrinkage",                                       time: 3, tech: "Essay",       auth: "Nelly", date: "Apr 01", img: "https://images.unsplash.com/photo-1583864697784-a0efc8379f70?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Scalp care for 4A–4C hair",                                    time: 4, tech: "Scalp",       auth: "Iris",  date: "Mar 27", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=900&q=80&auto=format&fit=crop", kick: "Scalp", pick: false },
  { t: "The braid-out — what's different from a twist-out",            time: 4, tech: "Styling",     auth: "Nelly", date: "Mar 22", img: "https://images.unsplash.com/photo-1594744803329-e58b31de8bf5?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Co-washing coily hair — when it helps, when it doesn't",       time: 5, tech: "Cleansing",   auth: "Iris",  date: "Mar 18", img: "https://images.unsplash.com/photo-1519710164239-da123dc03ef4?w=900&q=80&auto=format&fit=crop", kick: "Cleansing", pick: false },
  { t: "Detangling coily hair without breakage",                       time: 5, tech: "Technique",   auth: "Nelly", date: "Mar 14", img: "https://images.unsplash.com/photo-1519699047748-de8e457a634e?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Choosing oils for coily hair — which actually penetrate",      time: 6, tech: "Ingredients", auth: "Iris",  date: "Mar 09", img: "https://images.unsplash.com/photo-1583864697784-a0efc8379f70?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "Pre-poo treatments for coily hair",                            time: 4, tech: "Treatment",   auth: "Nelly", date: "Mar 05", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=900&q=80&auto=format&fit=crop", kick: "Treatment", pick: false },
  { t: "Wash day structure — a realistic schedule for 4C",             time: 5, tech: "Routine",     auth: "Iris",  date: "Mar 01", img: "https://images.unsplash.com/photo-1594744803329-e58b31de8bf5?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Heat straightening coily hair — the full risk picture",        time: 6, tech: "Heat",        auth: "Nelly", date: "Feb 24", img: "https://images.unsplash.com/photo-1519710164239-da123dc03ef4?w=900&q=80&auto=format&fit=crop", kick: "Heat", pick: false },
  { t: "Sleeping on coily hair — protective wrapping methods",         time: 3, tech: "Routine",     auth: "Iris",  date: "Feb 20", img: "https://images.unsplash.com/photo-1519699047748-de8e457a634e?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Protein treatments for coily hair",                            time: 5, tech: "Treatment",   auth: "Nelly", date: "Feb 15", img: "https://images.unsplash.com/photo-1583864697784-a0efc8379f70?w=900&q=80&auto=format&fit=crop", kick: "Treatment", pick: false },
  { t: "Glycerin and coily hair — the dew point rule",                 time: 4, tech: "Ingredients", auth: "Iris",  date: "Feb 10", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "Transitioning from relaxed to natural hair",                   time: 6, tech: "Essay",       auth: "Nelly", date: "Feb 05", img: "https://images.unsplash.com/photo-1594744803329-e58b31de8bf5?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "What 'porosity' means and why it matters for 4C hair",        time: 5, tech: "Essay",       auth: "Iris",  date: "Jan 30", img: "https://images.unsplash.com/photo-1519710164239-da123dc03ef4?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Crown care — protecting the most fragile section",             time: 4, tech: "Technique",   auth: "Nelly", date: "Jan 25", img: "https://images.unsplash.com/photo-1519699047748-de8e457a634e?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
];

const TECH_FILTERS = ["All", "Moisture", "Cleansing", "Styling", "Protective", "Treatment", "Routine", "Ingredients", "Essay", "Diagnostic", "Technique", "Heat", "Scalp"];

const TYPE_CROSSLINKS = [
  { id: "curly",    title: "Curly hair",    deck: "Definition, moisture, and hold — in that order.",       count: 231, href: "/en/hair/hair-type/curly/"    },
  { id: "wavy",     title: "Wavy hair",     deck: "Enhance the pattern. Don't fight it.",                 count: 212, href: "/en/hair/hair-type/wavy/"     },
  { id: "thick",    title: "Thick hair",    deck: "Manage the bulk. Let the texture do the work.",         count: 189, href: "/en/hair/hair-type/thick/"    },
  { id: "straight", title: "Straight hair", deck: "Flat roots, oil control, and the blowout that holds.", count: 198, href: "/en/hair/hair-type/straight/" },
];

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