// Hair · Technique · Detangling Done Right — L3 data
// COMBINED PAGE: anchors #wet-vs-dry, #brush-choice

const DETANGLING = {
  type: "Detangling Done Right",
  parent: { title: "Technique", href: "/en/hair/technique/" },
  grandparent: { title: "Hair", href: "/en/hair/" },
  totalCount: 142,
  hero: "https://images.unsplash.com/photo-1527799820374-dcf8d9d4a388?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Editorial — wide-tooth comb through wet hair",
  h1: "How to detangle hair properly.",
  deck: "Wet or dry, tool or fingers, ends first always. Two decisions that govern every other choice.",
  intro: "Most hair breakage during detangling happens in the first ten seconds — before people have even chosen the right tool, on hair that isn't adequately prepared. The two questions that determine everything else are: are you working on wet or dry hair, and what are you pulling it with? Get those two right and detangling stops being something you fight through and starts being something you finish.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 142, updated: "Updated 30 April 2026", reading: "Avg. 4 min per piece" },
};

const TECHNIQUE_SIBLINGS = [
  { id: "heat-styling",           title: "Heat Styling",    n: "01",            href: "/en/hair/technique/heat-styling/" },
  { id: "detangling-done-right",  title: "Detangling",      n: "02", cur: true, href: "/en/hair/technique/detangling-done-right/" },
  { id: "curly-finishing",        title: "Curly Finishing", n: "03",            href: "/en/hair/technique/curly-finishing/" },
  { id: "scalp-massage",          title: "Scalp Massage",   n: "04",            href: "/en/hair/technique/scalp-massage/" },
];

const QUICK_FACTS = {
  defn: {
    h: "What detangling actually is",
    body: "Detangling is the process of separating knotted or interlinked hair strands without mechanical damage to the shaft or root. The goal isn't just tangle-free hair — it's tangle-free hair with the cuticle intact. Every technique choice either protects or compromises that cuticle.",
  },
  myths: [
    { m: "Brushing from root to tip is faster.",
      t: "It is faster — at creating breakage. Roots-first forces knots downward under tension. Work tip-to-root, in sections, always." },
    { m: "Wet hair detangles more easily.",
      t: "Wet hair stretches up to 30% before breaking. Curly and coily textures detangle best wet with slip; fine straight hair often detangles better dry. The type determines the approach." },
    { m: "Any brush works if you're gentle enough.",
      t: "Paddle brushes on tight curls cause structural damage regardless of pressure. Tool geometry matters more than touch." },
  ],
};

const BEGINNER_PATH = {
  h: "Start here, if tangles are a recurring fight.",
  deck: "Five pieces, in order. Around twenty minutes. Enough to stop the breakage cycle for good.",
  steps: [
    { n: "01", t: "Ends first, always — the non-negotiable rule",   time: "3 min", note: "Why every detangling session starts at the bottom." },
    { n: "02", t: "Wet vs dry — choosing by hair type",              time: "4 min", note: "Curly, coily, wavy, fine, thick — the matrix." },
    { n: "03", t: "Slip and why it matters",                        time: "3 min", note: "Conditioner, detangling spray, oil — what each does." },
    { n: "04", t: "Tool choice by texture",                         time: "5 min", note: "Wide-tooth comb, Denman, paddle, fingers — match to hair type." },
    { n: "05", t: "How often is too often",                         time: "3 min", note: "Daily detangling isn't always necessary. When to back off." },
  ],
};

const TRENDING = [
  { rank: "01", t: "Wide-tooth comb vs Denman — which to use when",    time: "4 min", auth: "Nelly", date: "Apr 29", img: "https://images.unsplash.com/photo-1527799820374-dcf8d9d4a388?w=1100&q=80&auto=format&fit=crop", reads: "13,671" },
  { rank: "02", t: "Finger detangling — is it actually better?",       time: "3 min", auth: "Iris",  date: "Apr 25", img: "https://images.unsplash.com/photo-1519335337423-a3357c2cd12e?w=1100&q=80&auto=format&fit=crop", reads: "10,422" },
  { rank: "03", t: "Why you're always losing more hair than you should", time: "5 min", auth: "Nelly", date: "Apr 20", img: "https://images.unsplash.com/photo-1560869713-7d0a29430803?w=1100&q=80&auto=format&fit=crop", reads: "9,158" },
  { rank: "04", t: "Detangling spray vs conditioner — when each wins", time: "4 min", auth: "Nelly", date: "Apr 15", img: "https://images.unsplash.com/photo-1622286342621-4bd786c2447c?w=1100&q=80&auto=format&fit=crop", reads: "8,002" },
  { rank: "05", t: "Dry detangling for fine hair — the method",        time: "4 min", auth: "Iris",  date: "Apr 10", img: "https://images.unsplash.com/photo-1527799820374-dcf8d9d4a388?w=1100&q=80&auto=format&fit=crop", reads: "6,884" },
];

const FORMAT_GUIDE = {
  h: "Tool by texture",
  deck: "The wrong tool causes damage regardless of technique. Match before you start.",
  formats: [
    { name: "Wide-tooth comb", when: "Wet curly, coily, wavy hair with product", avoid: "Bone-dry fine hair", note: "Most forgiving tool. High slip, low tension.", verdict: "Default start" },
    { name: "Denman brush",    when: "Curly hair post-conditioner, defining clumps", avoid: "Coily hair without heavy slip", note: "Defines and detangles in one pass on the right texture.", verdict: "Curl-specific" },
    { name: "Paddle brush",    when: "Dry straight or wavy hair, blow-dry prep", avoid: "Any curl texture, wet or dry", note: "Widest surface, fastest coverage on long straight hair.", verdict: "Straight only" },
    { name: "Fingers",         when: "Initial pass on highly tangled curly/coily hair", avoid: "Fine hair — pulls too many strands at once", note: "No tool has more sensitivity. Use on saturated hair first.", verdict: "First pass" },
    { name: "Boar bristle",    when: "Scalp oil distribution on straight, dry hair", avoid: "Textured hair, wet hair", note: "Smooths the cuticle. Not a detangling tool — a finishing tool.", verdict: "Finishing only" },
  ],
};

const HOWTOS = [
  { t: "Wide-tooth comb vs Denman — which to use when",      time: 4, tech: "Brush Choice",  auth: "Nelly", date: "Apr 29", img: "https://images.unsplash.com/photo-1527799820374-dcf8d9d4a388?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: true },
  { t: "Finger detangling — is it actually better?",          time: 3, tech: "Wet Detangle",  auth: "Iris",  date: "Apr 25", img: "https://images.unsplash.com/photo-1519335337423-a3357c2cd12e?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: true },
  { t: "Why you're always losing more hair than you should",  time: 5, tech: "Troubleshoot",  auth: "Nelly", date: "Apr 20", img: "https://images.unsplash.com/photo-1560869713-7d0a29430803?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: true },
  { t: "Detangling spray vs conditioner — when each wins",    time: 4, tech: "Prep",          auth: "Nelly", date: "Apr 15", img: "https://images.unsplash.com/photo-1622286342621-4bd786c2447c?w=900&q=80&auto=format&fit=crop", kick: "Prep", pick: false },
  { t: "Dry detangling for fine hair — the method",           time: 4, tech: "Dry Detangle",  auth: "Iris",  date: "Apr 10", img: "https://images.unsplash.com/photo-1527799820374-dcf8d9d4a388?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: true },
  { t: "How to hold the section while you work",              time: 3, tech: "Wet Detangle",  auth: "Nelly", date: "Apr 06", img: "https://images.unsplash.com/photo-1519335337423-a3357c2cd12e?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Slip: what it is and how to get enough of it",        time: 4, tech: "Prep",          auth: "Iris",  date: "Apr 01", img: "https://images.unsplash.com/photo-1622286342621-4bd786c2447c?w=900&q=80&auto=format&fit=crop", kick: "Prep", pick: false },
  { t: "Sectioning for detangling — four panels, always",     time: 4, tech: "Wet Detangle",  auth: "Nelly", date: "Mar 26", img: "https://images.unsplash.com/photo-1560869713-7d0a29430803?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Post-shower detangling: the two-minute window",       time: 3, tech: "Wet Detangle",  auth: "Nelly", date: "Mar 22", img: "https://images.unsplash.com/photo-1527799820374-dcf8d9d4a388?w=900&q=80&auto=format&fit=crop", kick: "Timing", pick: false },
  { t: "Detangling high-porosity hair without snapping it",   time: 5, tech: "Troubleshoot",  auth: "Iris",  date: "Mar 18", img: "https://images.unsplash.com/photo-1519335337423-a3357c2cd12e?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
];

const TECH_FILTERS_DETANGLE = ["All", "Wet Detangle", "Dry Detangle", "Brush Choice", "Prep", "Troubleshoot"];

const TECHNIQUE_CROSSLINKS = [
  { id: "heat-styling",    title: "Heat Styling",    deck: "Sectioning, rough-drying, diffusing — in that order.",  count: 198, href: "/en/hair/technique/heat-styling/" },
  { id: "curly-finishing", title: "Curly Finishing", deck: "Plop, seal, and leave well enough alone.",               count: 167, href: "/en/hair/technique/curly-finishing/" },
  { id: "scalp-massage",   title: "Scalp Massage",   deck: "Two minutes. Consistent pressure. Circular.",            count: 89,  href: "/en/hair/technique/scalp-massage/" },
];

Object.assign(window, {
  DETANGLING, TECHNIQUE_SIBLINGS, QUICK_FACTS, BEGINNER_PATH, TRENDING, FORMAT_GUIDE,
  HOWTOS, TECH_FILTERS_DETANGLE, TECHNIQUE_CROSSLINKS,
});
