// Skin · Ingredients · Retinoids — L3 data
// Visual skeleton must match the Oily prototype exactly. Vary copy, never layout.

const OILY = {
  type: "Retinoids",
  parent: { title: "Ingredients", href: "/en/skin/ingredients/" },
  grandparent: { title: "Skin", href: "/en/skin/" },
  totalCount: 144,
  hero: "https://images.unsplash.com/photo-1607006344380-b6775a0824a4?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Editorial close-up — retinoid serum in low light",
  h1: "How to use retinoids.",
  deck: "Retinol, retinaldehyde, prescription tretinoin. The 12-week patience window, the irritation curve, and how to build a habit that doesn't cost you your barrier.",
  intro: "Retinoids are a 12-week conversation, not a 12-day one. The patience cost is real. Most of what people quit, they would have benefited from sticking with. The category runs from over-the-counter retinol at the gentle end, through retinaldehyde in the middle, to prescription tretinoin — a proven intervention that we mention but don't recommend without a prescriber. The irritation curve is a feature, not a sign that something is wrong. The way to manage it is through frequency, not concentration. Below is everything we've published on retinoids: how to start, how to survive the first month, and how to know when you've found a cadence that works.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 144, updated: "Updated 28 April 2026", reading: "Avg. 5 min per piece" },
};

// Ingredients sibling rail — 9 siblings under /en/skin/ingredients/
const TYPE_SIBLINGS = [
  { id: "niacinamide",             title: "Niacinamide",            n: "01", href: "/en/skin/ingredients/niacinamide/" },
  { id: "vitamin-c",               title: "Vitamin C",              n: "02", href: "/en/skin/ingredients/vitamin-c/" },
  { id: "retinoids",               title: "Retinoids",              n: "03", cur: true, href: "/en/skin/ingredients/retinoids/" },
  { id: "chemical-exfoliants",     title: "Chemical Exfoliants",    n: "04", href: "/en/skin/ingredients/chemical-exfoliants/" },
  { id: "ceramides",               title: "Ceramides",              n: "05", href: "/en/skin/ingredients/ceramides/" },
  { id: "peptides",                title: "Peptides",               n: "06", href: "/en/skin/ingredients/peptides/" },
  { id: "humectants-vs-emollients", title: "Humectants vs Emollients", n: "07", href: "/en/skin/ingredients/humectants-vs-emollients/" },
  { id: "the-brightening-pair",    title: "The Brightening Pair",   n: "08", href: "/en/skin/ingredients/the-brightening-pair/" },
  { id: "spf-filters",             title: "SPF Filters",            n: "09", href: "/en/skin/ingredients/spf-filters/" },
];

const QUICK_FACTS = {
  defn: {
    h: "What 'retinoid' actually means",
    body: "Retinoid is the umbrella term for vitamin A and its derivatives. Retinol is the most common over-the-counter form. Retinaldehyde (retinal) is one conversion step closer to the active form. Tretinoin is the active form — retinoic acid — and is prescription-only in most countries. The further down the conversion chain, the stronger and more irritating. All of them work. The question is how much your skin needs and how much it will tolerate.",
  },
  myths: [
    { m: "You should start with a high concentration.",
      t: "Starting low and using it twice a week is more effective than starting high and abandoning it after a bad reaction. Consistency wins over concentration." },
    { m: "The purge means it's working.",
      t: "Some initial skin adjustment is normal. Three months of active breakouts is not a purge — it's irritation. Reduce frequency before you assume it's normal." },
    { m: "You can't use retinoids in summer.",
      t: "You can. You just need SPF during the day and to avoid double-dosing with exfoliants. Summer isn't a contraindication." },
  ],
};

const BEGINNER_PATH = {
  h: "Start here, if retinoids are new to you.",
  deck: "Five pieces, in order. Around twenty-two minutes of reading. Enough to build a habit that survives the first difficult month.",
  steps: [
    { n: "01", t: "Retinol, retinaldehyde, tretinoin — what's the difference",    time: "5 min", note: "The conversion chain, plain English." },
    { n: "02", t: "How to start a retinoid without destroying your barrier",       time: "5 min", note: "Twice a week, low concentration. The boring advice that works." },
    { n: "03", t: "What to expect in the first four weeks",                        time: "4 min", note: "Dryness, flaking, sensitivity. What's normal, what isn't." },
    { n: "04", t: "Buffering retinoids — when and how",                            time: "4 min", note: "Applying over moisturiser. Why it slows irritation without stopping efficacy." },
    { n: "05", t: "The 12-week mark — what should have changed by now",            time: "4 min", note: "Realistic expectations. How to know if it's working." },
  ],
};

const TRENDING = [
  { rank: "01", t: "Retinol vs retinaldehyde — which is worth the price difference", time: "5 min", auth: "Nelly", date: "Apr 26", img: "https://images.unsplash.com/photo-1607006344380-b6775a0824a4?w=1100&q=80&auto=format&fit=crop", reads: "15,044" },
  { rank: "02", t: "How to survive the first month of retinoids", time: "5 min", auth: "Iris",  date: "Apr 22", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=1100&q=80&auto=format&fit=crop", reads: "12,783" },
  { rank: "03", t: "Retinoids and SPF — the only rule you need", time: "3 min", auth: "Nelly", date: "Apr 17", img: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=1100&q=80&auto=format&fit=crop", reads: "9,201" },
  { rank: "04", t: "What does tretinoin do that retinol doesn't", time: "5 min", auth: "Iris",  date: "Apr 12", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=1100&q=80&auto=format&fit=crop", reads: "8,567" },
  { rank: "05", t: "The retinoid purge — real or excuse", time: "4 min", auth: "Nelly", date: "Apr 07", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=1100&q=80&auto=format&fit=crop", reads: "7,019" },
];

const FORMAT_GUIDE = {
  h: "Format & cadence, by use case",
  deck: "Which form of retinoid, at what frequency. Frequency matters more than concentration for managing the irritation curve.",
  formats: [
    { name: "Retinol 0.025–0.05%", when: "Two nights per week, beginners", avoid: "Nightly use in month one", note: "The gentle entry point. Slow, reliable, barrier-friendly.", verdict: "★ Start here" },
    { name: "Retinol 0.1–0.3%",    when: "Two to three nights, established routine", avoid: "Alongside exfoliants on same night", note: "Mid-range. Good for maintenance once irritation baseline is known.", verdict: "Next step" },
    { name: "Retinaldehyde",       when: "Nightly or alternate nights, PM",          avoid: "With strong AHAs same night", note: "One step from retinoic acid. Faster-acting, more expensive.", verdict: "Upgrade path" },
    { name: "Tretinoin",           when: "As directed by a prescriber",              avoid: "Without medical guidance", note: "Prescription only. Most studied form. We mention it, we don't prescribe it.", verdict: "Prescriber only" },
    { name: "Retinol in moisturiser", when: "Very low commitment, beginners",       avoid: "Expecting high-dose results", note: "Very low concentration. Predictable tolerance, lower visible effect.", verdict: "Low-intensity option" },
    { name: "Retinyl palmitate",   when: "Sensitive skin, entry-level",              avoid: "Expecting retinol-grade results", note: "Ester form, furthest from active. Tolerable. Modest effect.", verdict: "Sensitive skin entry" },
  ],
};

const HOWTOS = [
  { t: "Retinol vs retinaldehyde — the price vs performance question", time: 5, tech: "Serums", auth: "Nelly", date: "Apr 26", img: "https://images.unsplash.com/photo-1607006344380-b6775a0824a4?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: true },
  { t: "How to survive the first month of retinoids", time: 5, tech: "Routine", auth: "Iris",  date: "Apr 22", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: true },
  { t: "Retinoids and SPF — the only rule that matters", time: 3, tech: "Routine", auth: "Nelly", date: "Apr 17", img: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: true },
  { t: "What does tretinoin do that retinol doesn't", time: 5, tech: "Essay", auth: "Iris", date: "Apr 12", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: true },
  { t: "The retinoid purge — is it real", time: 4, tech: "Troubleshoot", auth: "Nelly", date: "Apr 07", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: true },
  { t: "Buffering retinoids — the technique explained", time: 4, tech: "Technique", auth: "Iris", date: "Apr 02", img: "https://images.unsplash.com/photo-1601049541289-9b1b7bbbfe19?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Retinoids with ceramides — a practical pairing", time: 4, tech: "Layering", auth: "Nelly", date: "Mar 28", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Layering", pick: false },
  { t: "Starting retinoids after 40 — what to know", time: 5, tech: "Essay", auth: "Nelly", date: "Mar 23", img: "https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Retinoids in summer — the rules haven't changed", time: 4, tech: "Routine", auth: "Iris", date: "Mar 18", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Chemical exfoliants and retinoids — same routine or alternating", time: 5, tech: "Layering", auth: "Nelly", date: "Mar 13", img: "https://images.unsplash.com/photo-1607006344380-b6775a0824a4?w=900&q=80&auto=format&fit=crop", kick: "Layering", pick: false },
  { t: "Retinaldehyde — the middle-ground option", time: 4, tech: "Serums", auth: "Iris", date: "Mar 08", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "How long to stay on a low retinol before stepping up", time: 4, tech: "Routine", auth: "Nelly", date: "Mar 03", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Retinoids and barrier damage — the relationship", time: 6, tech: "Essay", auth: "Iris", date: "Feb 26", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "When to stop using retinoids", time: 3, tech: "Troubleshoot", auth: "Nelly", date: "Feb 21", img: "https://images.unsplash.com/photo-1601049541289-9b1b7bbbfe19?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
  { t: "Niacinamide with retinoids — the case for pairing them", time: 5, tech: "Layering", auth: "Iris", date: "Feb 16", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Layering", pick: false },
  { t: "Retinoids for oily skin specifically", time: 4, tech: "Essay", auth: "Nelly", date: "Feb 11", img: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "The 12-week retinoid milestone — what to check", time: 4, tech: "Routine", auth: "Iris", date: "Feb 06", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Retinol concentrations demystified", time: 4, tech: "Essay", auth: "Nelly", date: "Feb 01", img: "https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Eyes and retinoids — the approach", time: 3, tech: "Technique", auth: "Iris", date: "Jan 26", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Retinoids in a minimal routine", time: 3, tech: "Routine", auth: "Nelly", date: "Jan 21", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Why retinoids take time — the biology", time: 5, tech: "Essay", auth: "Iris", date: "Jan 16", img: "https://images.unsplash.com/photo-1607006344380-b6775a0824a4?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Sensitive skin and retinoids — a slower path", time: 5, tech: "Essay", auth: "Nelly", date: "Jan 11", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Retinyl palmitate — the case for the most gentle form", time: 4, tech: "Serums", auth: "Iris", date: "Jan 06", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "Retinoids with vitamin C — the scheduling logic", time: 4, tech: "Layering", auth: "Nelly", date: "Jan 01", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop", kick: "Layering", pick: false },
];

const TECH_FILTERS = ["All", "Serums", "Layering", "Routine", "Essay", "Technique", "Troubleshoot"];

// Crosslinks to 4 adjacent ingredient siblings
const TYPE_CROSSLINKS = [
  { id: "ceramides",           title: "Ceramides",          deck: "Barrier repair. Essential alongside retinoids.",         count: 112, href: "/en/skin/ingredients/ceramides/" },
  { id: "chemical-exfoliants", title: "Chemical Exfoliants", deck: "How to alternate exfoliants and retinoids.",            count: 151, href: "/en/skin/ingredients/chemical-exfoliants/" },
  { id: "niacinamide",         title: "Niacinamide",         deck: "The retinoid buffer. A reliable companion.",            count: 163, href: "/en/skin/ingredients/niacinamide/" },
  { id: "spf-filters",         title: "SPF Filters",         deck: "Non-negotiable alongside retinoids.",                  count: 120, href: "/en/skin/ingredients/spf-filters/" },
];

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