// Hair · Technique · Heat Styling — L3 data
// COMBINED PAGE: anchors #sectioning, #rough-dry, #diffuse
// Three distinct techniques housed together — each gets its own anchor sub-section.

const HEAT_STYLING = {
  type: "Heat Styling",
  parent: { title: "Technique", href: "/en/hair/technique/" },
  grandparent: { title: "Hair", href: "/en/hair/" },
  totalCount: 198,
  hero: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Editorial close-up — heat styling tools on vanity",
  h1: "How to style hair with heat.",
  deck: "Sectioning, rough-drying, diffusing — three techniques that look different but share the same logic: control airflow, work in layers, don't rush.",
  intro: "Heat damage isn't about the tools you use — it's about how you use them. The three techniques on this page share a common mistake: people skip the prep and blame the result. Sectioning tells the heat where to go. Rough-drying takes the weight out before any tool touches the hair. Diffusing coaxes the curl rather than fighting it. Get the sequencing right and the heat becomes a precision instrument, not a hazard.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 198, updated: "Updated 1 May 2026", reading: "Avg. 5 min per piece" },
};

// Technique sibling rail — under /en/hair/technique/
const TECHNIQUE_SIBLINGS = [
  { id: "heat-styling",           title: "Heat Styling",            n: "01", cur: true,  href: "/en/hair/technique/heat-styling/" },
  { id: "detangling-done-right",  title: "Detangling",              n: "02",             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 heat styling actually is",
    body: "Heat styling is the deliberate application of controlled heat — from a dryer, iron, or wand — to temporarily reshape the hair shaft. Every method on this page works the same way: heat opens the cuticle, the tool sets the shape, and cooling locks it in. The technique controls the outcome.",
  },
  myths: [
    { m: "Lower heat settings are always safer.",
      t: "Low heat on damp hair for twenty minutes causes more cumulative damage than high heat on dry hair for two. Speed and dryness matter as much as temperature." },
    { m: "Heat protectant makes any technique safe.",
      t: "Protectant delays damage — it doesn't cancel it. Poor technique still overworks the hair; the protectant just buys you time to fix the method." },
    { m: "You should keep the tool moving constantly.",
      t: "For irons and wands: a brief, controlled hold sets the shape. Constant rapid movement prevents it. The pause is the technique." },
  ],
};

const BEGINNER_PATH = {
  h: "Start here, if heat is new to you.",
  deck: "Five pieces, in order. Under twenty-five minutes of reading. Enough to pick up a dryer or iron without guessing.",
  steps: [
    { n: "01", t: "What heat actually does to the hair shaft",     time: "3 min", note: "The science behind temporary and permanent reshaping." },
    { n: "02", t: "Heat protectant — how and when it works",       time: "4 min", note: "What to apply, how much, and what it can't protect against." },
    { n: "03", t: "Sectioning before any heat tool",               time: "4 min", note: "Why one clip-and-go panel changes the result." },
    { n: "04", t: "Rough-drying: the forgotten first step",        time: "5 min", note: "Why the dryer should be in your hand before any other tool." },
    { n: "05", t: "Diffusing without frizz",                      time: "5 min", note: "Attachment technique, heat level, and the plopping decision." },
  ],
};

const TRENDING = [
  { rank: "01", t: "How to rough-dry without creating frizz",             time: "5 min", auth: "Nelly", date: "May 01", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=1100&q=80&auto=format&fit=crop", reads: "14,312" },
  { rank: "02", t: "Sectioning for a blow-dry — the four-panel method",   time: "4 min", auth: "Iris",  date: "Apr 27", img: "https://images.unsplash.com/photo-1560869713-7d0a29430803?w=1100&q=80&auto=format&fit=crop", reads: "11,084" },
  { rank: "03", t: "Diffusing curly hair — the heat level question",      time: "5 min", auth: "Nelly", date: "Apr 22", img: "https://images.unsplash.com/photo-1519699047748-de8e457a634e?w=1100&q=80&auto=format&fit=crop", reads: "9,908" },
  { rank: "04", t: "Heat protectant: spray vs serum vs cream",            time: "3 min", auth: "Nelly", date: "Apr 18", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=1100&q=80&auto=format&fit=crop", reads: "8,220" },
  { rank: "05", t: "Why your blowout falls flat by 3pm",                  time: "4 min", auth: "Iris",  date: "Apr 12", img: "https://images.unsplash.com/photo-1594736797933-d0501ba2fe65?w=1100&q=80&auto=format&fit=crop", reads: "7,455" },
];

const FORMAT_GUIDE = {
  h: "Technique, by hair goal",
  deck: "Not every goal needs every step. Use this to decide which technique earns its place in your routine.",
  formats: [
    { name: "Sectioning",     when: "Before any heat tool on medium-to-long hair", avoid: "Short pixie cuts — not enough hair to justify", note: "One panel worked properly beats five panels rushed.", verdict: "Foundation" },
    { name: "Rough-dry",      when: "Before straightening, curling, or diffusing", avoid: "As your only dry step on fine hair over 30%", note: "Takes hair from soaked to damp. The tool does the rest.", verdict: "Always first" },
    { name: "Diffusing",      when: "Curly, coily, or wavy hair after wash", avoid: "Straight hair — adds volume without definition", note: "Cold setting diffuse for the last two minutes sets the cast.", verdict: "Curl-specific" },
    { name: "Tension drying", when: "Fine hair needing lift, straight hair wanting smoothness", avoid: "Curly or coily hair — destroys the pattern", note: "Pull and follow. Nozzle always parallel to the shaft.", verdict: "Directional" },
    { name: "Cool shot",      when: "Final 30 seconds of any blow-dry technique", avoid: "Never skip it", note: "Closes the cuticle that heat opened. Non-negotiable.", verdict: "Locks it in" },
  ],
};

const HOWTOS = [
  { t: "How to rough-dry without creating frizz",                time: 5, tech: "Rough-dry",    auth: "Nelly", date: "May 01", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: true },
  { t: "Sectioning for a blow-dry — the four-panel method",      time: 4, tech: "Sectioning",   auth: "Iris",  date: "Apr 27", img: "https://images.unsplash.com/photo-1560869713-7d0a29430803?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: true },
  { t: "Diffusing curly hair — the heat level question",         time: 5, tech: "Diffusing",    auth: "Nelly", date: "Apr 22", img: "https://images.unsplash.com/photo-1519699047748-de8e457a634e?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: true },
  { t: "Heat protectant: spray vs serum vs cream",               time: 3, tech: "Prep",         auth: "Nelly", date: "Apr 18", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=900&q=80&auto=format&fit=crop", kick: "Prep", pick: false },
  { t: "Why your blowout falls flat by 3pm",                     time: 4, tech: "Troubleshoot", auth: "Iris",  date: "Apr 12", img: "https://images.unsplash.com/photo-1594736797933-d0501ba2fe65?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
  { t: "The cool shot — why no one uses it and why they should", time: 3, tech: "Rough-dry",    auth: "Nelly", date: "Apr 07", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: true },
  { t: "Diffusing on low heat vs high heat — what actually differs", time: 5, tech: "Diffusing", auth: "Iris", date: "Apr 03", img: "https://images.unsplash.com/photo-1519699047748-de8e457a634e?w=900&q=80&auto=format&fit=crop", kick: "Diffusing", pick: false },
  { t: "Sectioning for a curling iron: six panels vs four",      time: 4, tech: "Sectioning",   auth: "Nelly", date: "Mar 28", img: "https://images.unsplash.com/photo-1560869713-7d0a29430803?w=900&q=80&auto=format&fit=crop", kick: "Sectioning", pick: false },
  { t: "Tension drying: what it is and who it's for",            time: 5, tech: "Rough-dry",    auth: "Iris",  date: "Mar 24", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Plopping before diffusing — does it help?",              time: 3, tech: "Diffusing",    auth: "Nelly", date: "Mar 19", img: "https://images.unsplash.com/photo-1519699047748-de8e457a634e?w=900&q=80&auto=format&fit=crop", kick: "Prep", pick: false },
  { t: "How much heat protectant is actually enough",            time: 3, tech: "Prep",         auth: "Nelly", date: "Mar 14", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=900&q=80&auto=format&fit=crop", kick: "Prep", pick: false },
  { t: "Rough-dry first, always — the case for it",              time: 5, tech: "Rough-dry",    auth: "Iris",  date: "Mar 09", img: "https://images.unsplash.com/photo-1560869713-7d0a29430803?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
];

const TECH_FILTERS_HEAT = ["All", "Sectioning", "Rough-dry", "Diffusing", "Prep", "Troubleshoot"];

// Crosslinks to other technique pages
const TECHNIQUE_CROSSLINKS = [
  { id: "detangling-done-right", title: "Detangling Done Right", deck: "Wet vs dry. Tool choice. Work from the ends.", count: 142, href: "/en/hair/technique/detangling-done-right/" },
  { 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, {
  HEAT_STYLING, TECHNIQUE_SIBLINGS, QUICK_FACTS, BEGINNER_PATH, TRENDING, FORMAT_GUIDE,
  HOWTOS, TECH_FILTERS_HEAT, TECHNIQUE_CROSSLINKS,
});
