// Skin · Routine · Active Management — L3 data (COMBINED PAGE)
// Anchors: #cycling (skin cycling), #builder (builder routines), #reset (reset week)
// Live deploy version (parent = Routine, 5 siblings).
// Visual skeleton must match the Oily prototype exactly. Vary copy, never layout.

const OILY = {
  type: "Active Management",
  parent: { title: "Routine", href: "/en/skin/routine/" },
  grandparent: { title: "Skin", href: "/en/skin/" },
  totalCount: 162,
  hero: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Editorial flat-lay — active skincare products in sequence",
  h1: "How to manage actives.",
  deck: "Skin cycling, builder routines, the reset week. Three frameworks for using actives without destroying your barrier.",
  intro: "Skin cycling isn't magic. It's permission to do nothing for two nights, which is what most actives wanted from you anyway. Managing actives well comes down to three questions: how often (cycling), how to add them if you're starting from scratch (builder routines), and what to do when your skin finally tells you it's had enough (reset week). This page covers all three. They're not separate topics — they're the same philosophy at different stages of the same relationship with your routine. Below is everything we've published on active management: the cycling framework, the step-up protocols, and the recovery tools.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 162, updated: "Updated 28 April 2026", reading: "Avg. 5 min per piece" },
};

// Routine sibling rail — 5 siblings under /en/skin/routine/
const TYPE_SIBLINGS = [
  { id: "am",               title: "AM Routine",       n: "01",            href: "/en/skin/routine/am/" },
  { id: "pm",               title: "PM Routine",       n: "02",            href: "/en/skin/routine/pm/" },
  { id: "layering-order",   title: "Layering Order",   n: "03",            href: "/en/skin/routine/layering-order/" },
  { id: "minimum-viable",   title: "Minimum Viable",   n: "04",            href: "/en/skin/routine/minimum-viable/" },
  { id: "active-management",title: "Active Management",n: "05", cur: true, href: "/en/skin/routine/active-management/" },
];

const QUICK_FACTS = {
  defn: {
    h: "What active management actually means",
    body: "Active management is the practice of using exfoliants, retinoids, and other treatment ingredients strategically — cycling them, introducing them slowly, and stepping back when the skin signals overload. It's not about using more actives. It's about using them in a way the skin can actually benefit from. The barrier always comes first.",
  },
  myths: [
    { m: "More frequent active use means faster results.",
      t: "More frequent use above a skin's tolerance means more barrier disruption, more reactivity, and more setbacks. The skin needs rest nights to repair. Two recovery nights per week isn't giving up — it's the protocol." },
    { m: "Skin cycling is only for beginners with sensitive skin.",
      t: "The original skin cycling framework was designed for people introducing retinoids. But the principle — exfoliate, retinoid, recover, recover — benefits almost everyone. Experienced users often benefit from the structured rest nights most of all." },
    { m: "A reset week means your actives weren't working.",
      t: "A reset week is maintenance, not failure. The barrier periodically needs a full break from actives regardless of how well-tolerated they usually are. One week off every 6–8 weeks is a protocol, not a retreat." },
  ],
};

const BEGINNER_PATH = {
  h: "Start here, if managing actives is new to you.",
  deck: "Five pieces, in order. About twenty-two minutes. Enough to understand the three frameworks and how they connect.",
  steps: [
    { n: "01", t: "What actives are — and why they need managing",               time: "3 min", note: "The category, the logic, and why you can't treat the barrier like a wall." },
    { n: "02", t: "The skin cycling framework — the 4-night rotation",           time: "5 min", note: "Exfoliate, retinoid, recover, recover. The original protocol and its variants." },
    { n: "03", t: "Builder routines — introducing actives from zero",             time: "5 min", note: "How to add one active at a time. The minimum introduction period." },
    { n: "04", t: "The reset week — when to take it and what it looks like",      time: "5 min", note: "The trigger signs. What to use instead. How long it takes." },
    { n: "05", t: "Reading your skin — the feedback loop for actives",            time: "4 min", note: "What irritation looks like vs purging vs barrier disruption." },
  ],
};

const TRENDING = [
  { rank: "01", t: "Skin cycling — the 4-night rotation explained",              time: "5 min", auth: "Nelly", date: "Apr 27", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=1100&q=80&auto=format&fit=crop", reads: "19,550" },
  { rank: "02", t: "How to add retinol without destroying your barrier",          time: "6 min", auth: "Iris",  date: "Apr 23", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=1100&q=80&auto=format&fit=crop", reads: "16,200" },
  { rank: "03", t: "The reset week — what it is and when to do it",               time: "4 min", auth: "Nelly", date: "Apr 18", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=1100&q=80&auto=format&fit=crop", reads: "13,740" },
  { rank: "04", t: "AHA before retinol — or separate nights entirely?",           time: "4 min", auth: "Nelly", date: "Apr 13", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=1100&q=80&auto=format&fit=crop", reads: "11,088" },
  { rank: "05", t: "Introducing actives — the builder routine, step by step",     time: "5 min", auth: "Iris",  date: "Apr 07", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=1100&q=80&auto=format&fit=crop", reads: "9,304" },
];

const FORMAT_GUIDE = {
  h: "Cadence, by framework",
  deck: "Three frameworks for three stages. Which one you're in depends on where your skin is right now.",
  formats: [
    { name: "Classic Cycling",     when: "Established routine, retinoid users",      avoid: "When barrier is already compromised", note: "Exfoliate night 1, retinoid night 2, recover nights 3–4. Repeat.", verdict: "★ Default cycling" },
    { name: "Modified Cycling",    when: "Sensitive types, new to actives",           avoid: "As a permanent state — work toward classic", note: "One active night, three recovery nights. Slower but gentler.", verdict: "Sensitive" },
    { name: "Builder — Retinoid",  when: "First 8 weeks of a retinoid",              avoid: "Exfoliants on the same night as building phase", note: "One night per week for 4 weeks, two per week for next 4. No other actives.", verdict: "Introduce" },
    { name: "Builder — AHA",       when: "First 4 weeks of a new exfoliant",         avoid: "More than once a week in weeks 1–2",          note: "Once per week, watch for reactivity, increase only when stable.", verdict: "Introduce" },
    { name: "Reset Week",          when: "Every 6–8 weeks, or when barrier signals overload", avoid: "Restarting actives before 7 full days", note: "No actives. Cleanser, moisturiser, SPF. Barrier repair only.", verdict: "Recovery" },
    { name: "Maintenance Pause",   when: "Illness, travel, post-procedure",           avoid: "Resuming actives before skin has stabilised", note: "Shorter than reset week — 2–3 days. The planned break, not the emergency one.", verdict: "Brief pause" },
  ],
};

const HOWTOS = [
  { t: "Skin cycling — the 4-night rotation",                     time: 5, tech: "Routine",       auth: "Nelly", date: "Apr 27", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: true },
  { t: "How to add retinol without destroying your barrier",       time: 6, tech: "Serums",        auth: "Iris",  date: "Apr 23", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: true },
  { t: "The reset week — triggers and protocol",                   time: 4, tech: "Routine",       auth: "Nelly", date: "Apr 18", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: true },
  { t: "AHA before retinol — or separate nights?",                 time: 4, tech: "Serums",        auth: "Nelly", date: "Apr 13", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Layering", pick: false },
  { t: "Builder routines — introducing actives from zero",         time: 5, tech: "Routine",       auth: "Iris",  date: "Apr 07", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: true },
  { t: "What 'barrier disruption' actually looks like",            time: 4, tech: "Essay",         auth: "Nelly", date: "Apr 02", img: "https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Retinol beginner — the 8-week introduction plan",         time: 6, tech: "Serums",        auth: "Iris",  date: "Mar 28", img: "https://images.unsplash.com/photo-1607006344380-b6775a0824a4?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "The modified cycling protocol for sensitive skin",         time: 4, tech: "Routine",       auth: "Nelly", date: "Mar 23", img: "https://images.unsplash.com/photo-1556228453-efd6c1ff04f6?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Purging vs irritation — how to tell them apart",           time: 5, tech: "Troubleshoot",  auth: "Iris",  date: "Mar 18", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
  { t: "Recovery nights — what actually belongs on them",          time: 3, tech: "Routine",       auth: "Nelly", date: "Mar 13", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Adding AHA to a retinol routine",                          time: 5, tech: "Serums",        auth: "Iris",  date: "Mar 08", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "The buffer method in skin cycling",                        time: 4, tech: "Technique",     auth: "Nelly", date: "Mar 03", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "What to use during a reset week",                         time: 3, tech: "Routine",       auth: "Iris",  date: "Feb 27", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Vitamin C in a skin cycling routine — where it fits",      time: 4, tech: "Serums",        auth: "Nelly", date: "Feb 22", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "When to restart actives after a reset",                    time: 3, tech: "Routine",       auth: "Iris",  date: "Feb 17", img: "https://images.unsplash.com/photo-1608248543803-ba4f8c70ae0b?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
  { t: "The 6-night cycle variant — slower, more cautious",        time: 5, tech: "Routine",       auth: "Nelly", date: "Feb 12", img: "https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "How to know when your routine has too many actives",       time: 4, tech: "Troubleshoot",  auth: "Iris",  date: "Feb 07", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
  { t: "Ceramides and barrier repair during cycling recovery",     time: 4, tech: "Serums",        auth: "Nelly", date: "Feb 02", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "Niacinamide in a builder routine — the stable starting point", time: 3, tech: "Serums",   auth: "Iris",  date: "Jan 28", img: "https://images.unsplash.com/photo-1607006344380-b6775a0824a4?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "Skin cycling after pregnancy — the restart guide",         time: 5, tech: "Routine",       auth: "Nelly", date: "Jan 23", img: "https://images.unsplash.com/photo-1556228453-efd6c1ff04f6?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Reading the feedback loop — when to speed up, slow down", time: 5, tech: "Essay",         auth: "Iris",  date: "Jan 18", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "The 4-night cycle tracked — a real 30-day diary",          time: 6, tech: "Essay",         auth: "Nelly", date: "Jan 13", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Travel and skin cycling — how to maintain the pattern",    time: 4, tech: "Routine",       auth: "Iris",  date: "Jan 08", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "The honest case for skin cycling — and its limits",        time: 5, tech: "Essay",         auth: "Nelly", date: "Jan 03", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
];

const TECH_FILTERS = ["All", "Cleansing", "Moisturising", "Serums", "Layering", "SPF", "Routine", "Essay", "Troubleshoot"];

// Crosslinks to other routines — 4 (everything except current)
const TYPE_CROSSLINKS = [
  { id: "am",              title: "AM Routine",       deck: "Four steps. SPF last. The sequence that protects.",                     count: 218, href: "/en/skin/routine/am/" },
  { id: "pm",              title: "PM Routine",       deck: "Double cleanse, active, repair. The routine that does the work.",       count: 196, href: "/en/skin/routine/pm/" },
  { id: "layering-order",  title: "Layering Order",   deck: "Thinnest to thickest. Water before oil. SPF last in the morning.",      count: 143, href: "/en/skin/routine/layering-order/" },
  { id: "minimum-viable",  title: "Minimum Viable",   deck: "Three products. What you can skip and what you can't.",                 count: 127, href: "/en/skin/routine/minimum-viable/" },
];

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