// Hair · Routine · Wash Cadence — L3 data (COMBINED PAGE)
// Anchors: #wash-day, #off-day, #co-wash
// Three sub-routines on one page — see active-management as structural reference.

const WASH_CADENCE = {
  type: "Wash Cadence",
  parent: { title: "Routine", href: "/en/hair/routine/" },
  grandparent: { title: "Hair", href: "/en/hair/" },
  totalCount: 183,
  hero: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Editorial close-up — washing hair at a salon sink",
  h1: "How to build a wash cadence.",
  deck: "Wash day, off day, co-wash — three frameworks for understanding when, why, and how often to wash your hair. The full library, edited and kept short on purpose.",
  intro: "Wash cadence is one of the most personal decisions in a hair routine — and one of the most misunderstood. There is no universal answer to 'how often should I wash my hair?' What exists instead are three distinct frameworks: the full wash day (shampoo, condition, style), the off-day refresh, and the co-wash as a mid-week maintenance option. Below is everything we've published across all three — the beginner's path, what's trending, a cadence decision table, and the full how-to library.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 183, updated: "Updated 30 April 2026", reading: "Avg. 4 min per piece" },
};

// Routine sibling rail — siblings under /en/hair/routine/
const TYPE_SIBLINGS = [
  { id: "wash-cadence",    title: "Wash Cadence",    n: "01", cur: true,  href: "/en/hair/routine/wash-cadence/" },
  { id: "drying-decision", title: "Drying Decision",  n: "02", href: "/en/hair/routine/drying-decision/" },
  { id: "travel-routine",  title: "Travel Routine",   n: "03", href: "/en/hair/routine/travel-routine/" },
];

const QUICK_FACTS = {
  defn: {
    h: "What 'wash cadence' actually means",
    body: "Wash cadence is the rhythm you establish between full shampoo washes. It isn't about cleanliness — it's about scalp health, strand integrity, and not disturbing whatever curl or wave pattern you're working with. Get the cadence wrong and you're either stripping your hair of its natural oils every 24 hours, or waiting so long that build-up disrupts the scalp. The goal is a rhythm your hair can rely on.",
  },
  myths: [
    { m: "Daily washing is the cleanest option.",
      t: "Daily shampooing strips the sebum your scalp uses to condition the length. Most hair types perform better on a 2–3 day cadence. Fine and oily scalps may need more frequent washing; thick and coily hair, less." },
    { m: "Co-wash is just for curly hair.",
      t: "Any hair type can benefit from a mid-week co-wash. It deposits moisture without disturbing the scalp's natural oil balance — especially useful in dry climates or after heat styling." },
    { m: "Skipping wash day is lazy.",
      t: "An intentional off day — with dry shampoo, scalp massage, or a simple refresh spray — is part of the routine, not a deviation from it. The hair often looks best on day two." },
  ],
};

const BEGINNER_PATH = {
  h: "Start here, if wash cadence is new to you.",
  deck: "Four pieces, in order. Fifteen minutes of reading. Enough to diagnose your current cadence and decide whether to keep it.",
  steps: [
    { n: "01", t: "How to read what your scalp is telling you",       time: "3 min", note: "Grease timeline, itch signals, and the difference between oily and dehydrated roots." },
    { n: "02", t: "The wash day framework — every step, explained",    time: "5 min", note: "Pre-poo, shampoo technique, conditioner placement, and rinse order." },
    { n: "03", t: "Off-day tools — dry shampoo, refresh spray, scalp", time: "4 min", note: "How to extend without compromising. What each tool actually does." },
    { n: "04", t: "Is co-wash right for your hair type?",              time: "3 min", note: "The textures that benefit most, and the two situations to avoid it entirely." },
  ],
};

const TRENDING = [
  { rank: "01", t: "How often should I wash my hair — an honest answer", time: "4 min", auth: "Nelly", date: "Apr 28", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=1100&q=80&auto=format&fit=crop", reads: "14,203" },
  { rank: "02", t: "Dry shampoo: how to use it without the white cast",  time: "3 min", auth: "Iris",  date: "Apr 24", img: "https://images.unsplash.com/photo-1519455953755-af066f52f1a6?w=1100&q=80&auto=format&fit=crop", reads: "11,847" },
  { rank: "03", t: "Co-wash 101 — what it is and who it's for",          time: "4 min", auth: "Nelly", date: "Apr 21", img: "https://images.unsplash.com/photo-1527799820374-dcf8d9d4a388?w=1100&q=80&auto=format&fit=crop", reads: "9,054" },
  { rank: "04", t: "The second-day hair effect — why day 2 looks better", time: "3 min", auth: "Iris",  date: "Apr 16", img: "https://images.unsplash.com/photo-1519699047748-de8e457a634e?w=1100&q=80&auto=format&fit=crop", reads: "7,622" },
  { rank: "05", t: "Pre-poo: does it actually protect the hair?",         time: "5 min", auth: "Nelly", date: "Apr 11", img: "https://images.unsplash.com/photo-1526045612212-70caf35c14df?w=1100&q=80&auto=format&fit=crop", reads: "6,408" },
];

const FORMAT_GUIDE = {
  h: "Cadence, by hair type and lifestyle",
  deck: "A decision table — not a rule. Your answer sits at the intersection of scalp type, texture, and how active your week is.",
  formats: [
    { name: "Every day",    when: "Oily scalp, fine texture, very active lifestyle",  avoid: "Curly, coily, or colour-treated hair",        note: "Fine hair attracts grease faster. But daily washing demands a gentler shampoo.", verdict: "Fine/oily only" },
    { name: "Every 2 days", when: "Most scalp types, normal to medium texture",        avoid: "Very dry scalp or coarse coily texture",        note: "The default cadence for most people. Room for one off-day between washes.", verdict: "★ Default" },
    { name: "Every 3 days", when: "Normal to dry scalp, medium to thick texture",      avoid: "Oily roots that show by day 2",                 note: "Two off-days between washes. Requires effective dry shampoo management.", verdict: "Most versatile" },
    { name: "Every 5–7 days", when: "Coily, thick, or chemically processed hair",     avoid: "Fine hair, oily scalps, post-workout routines", note: "Low-manipulation, high-moisture retention. Protective styles extend this further.", verdict: "Coily/textured" },
    { name: "Co-wash mid-week", when: "Curly and coily textures, between full washes", avoid: "Fine, oily, or product-heavy scalps",           note: "Restores moisture and definition without a shampoo strip. Not a full wash replacement.", verdict: "Moisture boost" },
  ],
};

const HOWTOS = [
  { t: "How often should I wash my hair — an honest answer",       time: 4, tech: "Wash Day",    auth: "Nelly", date: "Apr 28", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=900&q=80&auto=format&fit=crop",   kick: "Framework", pick: true },
  { t: "The wash-day sequence, step by step",                      time: 5, tech: "Wash Day",    auth: "Nelly", date: "Apr 25", img: "https://images.unsplash.com/photo-1527799820374-dcf8d9d4a388?w=900&q=80&auto=format&fit=crop",   kick: "Technique", pick: true },
  { t: "Dry shampoo: technique for every hair colour",             time: 3, tech: "Off Day",     auth: "Iris",  date: "Apr 24", img: "https://images.unsplash.com/photo-1519455953755-af066f52f1a6?w=900&q=80&auto=format&fit=crop",   kick: "Off Day",   pick: false },
  { t: "Co-wash 101 — what it is and who it's for",               time: 4, tech: "Co-Wash",     auth: "Nelly", date: "Apr 21", img: "https://images.unsplash.com/photo-1519699047748-de8e457a634e?w=900&q=80&auto=format&fit=crop",   kick: "Co-Wash",   pick: true },
  { t: "Pre-poo — does it actually protect the hair?",            time: 5, tech: "Wash Day",    auth: "Nelly", date: "Apr 18", img: "https://images.unsplash.com/photo-1526045612212-70caf35c14df?w=900&q=80&auto=format&fit=crop",   kick: "Technique", pick: false },
  { t: "The scalp massage: when and how",                          time: 3, tech: "Off Day",     auth: "Iris",  date: "Apr 14", img: "https://images.unsplash.com/photo-1568702846914-96b305d2aaeb?w=900&q=80&auto=format&fit=crop",   kick: "Scalp",     pick: true },
  { t: "Why day-two hair looks better (and how to set it up)",    time: 3, tech: "Off Day",     auth: "Iris",  date: "Apr 10", img: "https://images.unsplash.com/photo-1519699047748-de8e457a634e?w=900&q=80&auto=format&fit=crop",   kick: "Off Day",   pick: false },
  { t: "Shampoo placement: scalp only, not length",               time: 4, tech: "Wash Day",    auth: "Nelly", date: "Apr 06", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=900&q=80&auto=format&fit=crop",   kick: "Technique", pick: false },
  { t: "The cold rinse — does it actually close the cuticle?",    time: 3, tech: "Wash Day",    auth: "Iris",  date: "Apr 01", img: "https://images.unsplash.com/photo-1527799820374-dcf8d9d4a388?w=900&q=80&auto=format&fit=crop",   kick: "Technique", pick: false },
  { t: "Co-washing for colour-treated hair",                       time: 5, tech: "Co-Wash",     auth: "Nelly", date: "Mar 28", img: "https://images.unsplash.com/photo-1519699047748-de8e457a634e?w=900&q=80&auto=format&fit=crop",   kick: "Co-Wash",   pick: false },
  { t: "Refresh spray DIY — three recipes",                        time: 3, tech: "Off Day",     auth: "Iris",  date: "Mar 23", img: "https://images.unsplash.com/photo-1519455953755-af066f52f1a6?w=900&q=80&auto=format&fit=crop",   kick: "Off Day",   pick: false },
  { t: "How build-up ruins your wash cadence",                     time: 4, tech: "Wash Day",    auth: "Nelly", date: "Mar 18", img: "https://images.unsplash.com/photo-1526045612212-70caf35c14df?w=900&q=80&auto=format&fit=crop",   kick: "Scalp",     pick: false },
  { t: "Clarifying shampoo: when and how often",                   time: 4, tech: "Wash Day",    auth: "Iris",  date: "Mar 14", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=900&q=80&auto=format&fit=crop",   kick: "Technique", pick: false },
  { t: "Low-poo vs no-poo — the real trade-off",                  time: 5, tech: "Co-Wash",     auth: "Nelly", date: "Mar 09", img: "https://images.unsplash.com/photo-1527799820374-dcf8d9d4a388?w=900&q=80&auto=format&fit=crop",   kick: "Essay",     pick: false },
  { t: "Nighttime protective styles between washes",              time: 3, tech: "Off Day",     auth: "Iris",  date: "Mar 04", img: "https://images.unsplash.com/photo-1568702846914-96b305d2aaeb?w=900&q=80&auto=format&fit=crop",   kick: "Protective", pick: false },
];

const TECH_FILTERS = ["All", "Wash Day", "Off Day", "Co-Wash", "Scalp", "Technique", "Essay"];

// Crosslinks to other routines
const TYPE_CROSSLINKS = [
  { id: "drying-decision", title: "Drying Decision", deck: "Heat or air? The decision that shapes every other step.", count: 141, href: "/en/hair/routine/drying-decision/" },
  { id: "travel-routine",  title: "Travel Routine",  deck: "Pack light. Protect more. A routine that works in any bathroom.", count: 97, href: "/en/hair/routine/travel-routine/" },
];

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