// Hair · Hair Concern · Dryness & Heat Damage — L3 data (COMBINED PAGE)
// Anchors: #dryness, #heat-damage, #recovery

const OILY = {
  type: "Dryness & Heat Damage",
  parent: { title: "Hair Concern", href: "/en/hair/hair-concern/" },
  grandparent: { title: "Hair", href: "/en/hair/" },
  totalCount: 221,
  hero: "https://images.unsplash.com/photo-1515377905703-c4788e51af15?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Editorial close-up — dry, heat-damaged hair strands",
  h1: "How to treat dryness and heat damage.",
  deck: "Dryness depletes the cortex from within. Heat damage changes its structure permanently. Two problems, one page — with a shared recovery path at the end.",
  intro: "Dryness and heat damage are related but not the same. Dry hair lacks moisture in the cortex — it can be resolved with the right conditioning protocol and a gentler cleansing cadence. Heat damage is structural: the proteins inside the shaft have been denatured, the disulphide bonds disrupted, the cuticle blistered. You cannot 'repair' heat-damaged hair in the way you repair a dry strand — but you can stop further damage, restore elasticity to what remains, and grow healthier hair to replace what's compromised. That distinction matters, because the interventions are different. Below we address both — first separately, then together in the recovery section.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 221, updated: "Updated 1 May 2026", reading: "Avg. 5 min per piece" },
};

const TYPE_SIBLINGS = [
  { id: "frizz",                    title: "Frizz",                    n: "01", 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", cur: true,  href: "/en/hair/hair-concern/dryness-and-heat-damage/" },
  { id: "oiliness",                 title: "Oiliness",                 n: "04", href: "/en/hair/hair-concern/oiliness/" },
];

// Three sub-section quick facts — one per anchor topic
const QUICK_FACTS = {
  defn: {
    h: "Dryness vs heat damage — the difference that changes the treatment",
    body: "Dry hair is dehydrated: the cortex is porous, moisture evaporates easily, and the cuticle lifts. Conditioning treatments can meaningfully restore it. Heat damage is different — it is a physical alteration of the protein structure inside the strand. The change is largely irreversible on existing hair, though it can be slowed, managed, and not allowed to worsen. The fastest route to truly healthy hair after heat damage is growing out the affected length under a recovery protocol.",
  },
  myths: [
    { m: "A hair mask will fix heat damage.",
      t: "A mask restores surface feel and moisture balance, which matters — but the structural alteration from heat is permanent on that section of hair. Masks support recovery; they do not reverse the damage." },
    { m: "Dry hair and damaged hair look the same.",
      t: "They can, but the elasticity test distinguishes them. Dry hair snaps after over-stretching. Heat-damaged hair stretches but doesn't spring back — it deforms without recovering its shape." },
    { m: "Lower heat settings cause no damage.",
      t: "Lower heat causes less damage, per pass. Daily use at 160°C still accumulates damage faster than weekly use at 180°C. Frequency matters as much as temperature." },
  ],
};

// Dryness-specific data (used in #dryness section)
const DRYNESS_FACTS = {
  h: "Understanding hair dryness",
  body: "Hair dryness is a cortex moisture deficit. The cuticle — the overlapping scale structure on the outer shaft — determines how well the cortex holds onto water. When those scales are lifted or eroded by alkaline products, mechanical damage, or environmental stress, moisture leaves the shaft faster than it can be replenished. The result is rough texture, tangles, and eventually micro-fractures at the cortex.",
  markers: ["Rough texture when dry", "Tangles form easily", "Looks dull, not reflective", "Drinks conditioner but stays dry within hours", "May frizz in humidity"],
};

const HEAT_DAMAGE_FACTS = {
  h: "Recognising heat damage",
  body: "Heat-damaged hair has a distinctive feel: initially smooth (a sign of cuticle smoothing), then increasingly limp, stretchy-without-return, and prone to snapping at points that were previously fine. The cuticle blisters at temperatures above 180°C on already-compromised hair. At 230°C+ on any hair, protein denaturation is rapid. The tell-tale sign: a stretched wet strand that does not spring back.",
  markers: ["Stretches when wet but doesn't spring back", "Limp rather than floppy", "Straight sections in naturally wavy or curly hair", "Ends that feel gummy when wet", "Persistent dullness that products can't fix"],
};

const BEGINNER_PATH = {
  h: "Start here, if either concern is new to you.",
  deck: "Five pieces that cover both territories. Around twenty-two minutes. Enough to know which problem you have and what to do about it.",
  steps: [
    { n: "01", t: "Dryness vs heat damage — the diagnostic",                time: "3 min", note: "The elasticity test and the texture test, explained step by step." },
    { n: "02", t: "Moisture and protein balance for dry hair",               time: "5 min", note: "Why both matter, how to read your hair's response, the right order." },
    { n: "03", t: "Heat tools — temperatures by hair type",                  time: "4 min", note: "What temperature actually causes damage, by hair type and porosity." },
    { n: "04", t: "Heat protectant: what it does and doesn't do",            time: "4 min", note: "Silicone-based vs heat-activated. What the science actually supports." },
    { n: "05", t: "The six-month recovery protocol — dryness and heat",      time: "6 min", note: "A staged approach: stabilise, repair, protect, grow. In that order." },
  ],
};

const TRENDING = [
  { rank: "01", t: "How hot is too hot? Heat damage temperatures by hair type", time: "5 min", auth: "Nelly", date: "Apr 30", img: "https://images.unsplash.com/photo-1515377905703-c4788e51af15?w=1100&q=80&auto=format&fit=crop", reads: "18,922" },
  { rank: "02", t: "The wet elasticity test — your most useful diagnostic",     time: "3 min", auth: "Nelly", date: "Apr 26", img: "https://images.unsplash.com/photo-1522338242992-e1a54906a8da?w=1100&q=80&auto=format&fit=crop", reads: "15,340" },
  { rank: "03", t: "Heat protectant — what it actually protects",               time: "4 min", auth: "Iris",  date: "Apr 22", img: "https://images.unsplash.com/photo-1526045612212-70caf35c14df?w=1100&q=80&auto=format&fit=crop", reads: "12,107" },
  { rank: "04", t: "Moisture and protein balance — a starting guide",           time: "6 min", auth: "Nelly", date: "Apr 17", img: "https://images.unsplash.com/photo-1527799820374-87591a16b968?w=1100&q=80&auto=format&fit=crop", reads: "11,833" },
  { rank: "05", t: "Can heat-damaged hair recover? The honest answer",          time: "5 min", auth: "Iris",  date: "Apr 12", img: "https://images.unsplash.com/photo-1519699047748-de8e44cf0a1a?w=1100&q=80&auto=format&fit=crop", reads: "10,004" },
];

const FORMAT_GUIDE = {
  h: "Treatment by damage stage",
  deck: "Dryness and heat damage require different interventions at different stages. Match the tool to the current state of the strand.",
  formats: [
    { name: "Hydrating mask",       when: "Dry hair, weekly, pre-styling",              avoid: "Over-use on already over-conditioned hair",    note: "Primary moisture tool for dry hair. Works on the cortex, not just the surface.", verdict: "★ Dryness core" },
    { name: "Protein treatment",    when: "Heat-damaged hair, monthly, after trim",      avoid: "Already protein-overloaded hair",               note: "Rebuilds cortex architecture. Follow with hydration — always.", verdict: "Heat damage repair" },
    { name: "Bond builder",         when: "Post-bleach, post-relaxer, post-heavy colour",avoid: "Mechanical-only damage",                       note: "Targets disulphide bonds specifically. Expensive but class-leading for chemical + heat damage.", verdict: "Chemical + heat" },
    { name: "Leave-in conditioner", when: "Daily, on damp hair, every wash",            avoid: "Heavy formulas on fine hair",                  note: "Maintains moisture levels between washes. Does not repair — it maintains.", verdict: "Daily maintenance" },
    { name: "Heat protectant",      when: "Every time heat is used, without exception",  avoid: "As substitute for lower temperatures",         note: "Reduces damage per pass. Does not prevent it. Combine with lower temps and less frequency.", verdict: "Pre-heat non-negotiable" },
    { name: "Reparative serum",     when: "Ends of heat-damaged hair, daily",           avoid: "Root application on fine hair",                note: "Surface cosmetic repair — improves feel and reduces further abrasion at damaged ends.", verdict: "Cosmetic support" },
  ],
};

const HOWTOS = [
  { t: "How hot is too hot? Heat damage temperatures by hair type",   time: 5, tech: "Heat",          auth: "Nelly", date: "Apr 30", img: "https://images.unsplash.com/photo-1515377905703-c4788e51af15?w=900&q=80&auto=format&fit=crop",  kick: "Heat", pick: true },
  { t: "The wet elasticity test — your most useful diagnostic",       time: 3, tech: "Diagnostic",     auth: "Nelly", date: "Apr 26", img: "https://images.unsplash.com/photo-1522338242992-e1a54906a8da?w=900&q=80&auto=format&fit=crop",  kick: "Diagnostic", pick: true },
  { t: "Heat protectant — what it actually protects",                 time: 4, tech: "Heat",          auth: "Iris",  date: "Apr 22", img: "https://images.unsplash.com/photo-1526045612212-70caf35c14df?w=900&q=80&auto=format&fit=crop",  kick: "Ingredients", pick: true },
  { t: "Moisture and protein balance — a starting guide",             time: 6, tech: "Conditioning",  auth: "Nelly", date: "Apr 17", img: "https://images.unsplash.com/photo-1527799820374-87591a16b968?w=900&q=80&auto=format&fit=crop",  kick: "Technique", pick: true },
  { t: "Can heat-damaged hair recover? The honest answer",            time: 5, tech: "Essay",         auth: "Iris",  date: "Apr 12", img: "https://images.unsplash.com/photo-1519699047748-de8e44cf0a1a?w=900&q=80&auto=format&fit=crop",  kick: "Essay", pick: true },
  { t: "The six-month recovery protocol",                             time: 6, tech: "Routine",       auth: "Nelly", date: "Apr 07", img: "https://images.unsplash.com/photo-1515377905703-c4788e51af15?w=900&q=80&auto=format&fit=crop",  kick: "Routine", pick: false },
  { t: "Dry hair in winter — a seasonal approach",                    time: 4, tech: "Seasonal",      auth: "Iris",  date: "Apr 01", img: "https://images.unsplash.com/photo-1522338242992-e1a54906a8da?w=900&q=80&auto=format&fit=crop",  kick: "Seasonal", pick: false },
  { t: "Deep conditioning under heat: worth it or not?",              time: 5, tech: "Conditioning",  auth: "Nelly", date: "Mar 27", img: "https://images.unsplash.com/photo-1526045612212-70caf35c14df?w=900&q=80&auto=format&fit=crop",  kick: "Technique", pick: false },
  { t: "Porosity and dryness — the missing link",                     time: 5, tech: "Diagnostic",    auth: "Nelly", date: "Mar 22", img: "https://images.unsplash.com/photo-1527799820374-87591a16b968?w=900&q=80&auto=format&fit=crop",  kick: "Diagnostic", pick: false },
  { t: "The hairdryer temperature guide",                             time: 3, tech: "Heat",          auth: "Iris",  date: "Mar 17", img: "https://images.unsplash.com/photo-1519699047748-de8e44cf0a1a?w=900&q=80&auto=format&fit=crop",  kick: "Heat", pick: false },
  { t: "Bond builders — which generation is right for you",           time: 5, tech: "Ingredients",   auth: "Nelly", date: "Mar 12", img: "https://images.unsplash.com/photo-1515377905703-c4788e51af15?w=900&q=80&auto=format&fit=crop",  kick: "Ingredients", pick: false },
  { t: "Reducing frequency without compromising style",               time: 4, tech: "Routine",       auth: "Iris",  date: "Mar 06", img: "https://images.unsplash.com/photo-1522338242992-e1a54906a8da?w=900&q=80&auto=format&fit=crop",  kick: "Routine", pick: false },
  { t: "When to cut vs when to treat — the honest calculus",          time: 4, tech: "Essay",         auth: "Nelly", date: "Mar 01", img: "https://images.unsplash.com/photo-1526045612212-70caf35c14df?w=900&q=80&auto=format&fit=crop",  kick: "Essay", pick: false },
  { t: "Humectants for dry hair — getting the climate right",         time: 5, tech: "Ingredients",   auth: "Iris",  date: "Feb 24", img: "https://images.unsplash.com/photo-1527799820374-87591a16b968?w=900&q=80&auto=format&fit=crop",  kick: "Ingredients", pick: false },
  { t: "Reconstructors vs masks — the product hierarchy",             time: 4, tech: "Conditioning",  auth: "Nelly", date: "Feb 18", img: "https://images.unsplash.com/photo-1519699047748-de8e44cf0a1a?w=900&q=80&auto=format&fit=crop",  kick: "Conditioning", pick: false },
  { t: "Hair dryness after sun exposure — a summer protocol",         time: 3, tech: "Seasonal",      auth: "Iris",  date: "Feb 12", img: "https://images.unsplash.com/photo-1515377905703-c4788e51af15?w=900&q=80&auto=format&fit=crop",  kick: "Seasonal", pick: false },
  { t: "Avoiding heat damage on colour-treated hair",                 time: 6, tech: "Colour",        auth: "Nelly", date: "Feb 06", img: "https://images.unsplash.com/photo-1522338242992-e1a54906a8da?w=900&q=80&auto=format&fit=crop",  kick: "Colour", pick: false },
  { t: "No-heat styling that doesn't compromise result",              time: 4, tech: "Technique",     auth: "Iris",  date: "Feb 01", img: "https://images.unsplash.com/photo-1526045612212-70caf35c14df?w=900&q=80&auto=format&fit=crop",  kick: "Technique", pick: false },
];

const TECH_FILTERS = ["All", "Heat", "Diagnostic", "Conditioning", "Ingredients", "Routine", "Technique", "Seasonal", "Colour", "Essay"];

const TYPE_CROSSLINKS = [
  { id: "frizz",     title: "Frizz",     deck: "Moisture at the cuticle. Close the shaft, calm the halo.",        count: 193, href: "/en/hair/hair-concern/frizz/" },
  { id: "breakage",  title: "Breakage",  deck: "Stop the snap. Rebuild from inside the shaft.",                    count: 178, href: "/en/hair/hair-concern/breakage/" },
  { 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, DRYNESS_FACTS, HEAT_DAMAGE_FACTS, BEGINNER_PATH, TRENDING, FORMAT_GUIDE, HOWTOS, TECH_FILTERS, TYPE_CROSSLINKS,
});
