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

const OILY = {
  type: "Ceramides",
  parent: { title: "Ingredients", href: "/en/skin/ingredients/" },
  grandparent: { title: "Skin", href: "/en/skin/" },
  totalCount: 112,
  hero: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Editorial close-up — rich moisturiser texture on skin",
  h1: "How to use ceramides.",
  deck: "The barrier lipids. Why the ceramide bandwagon is mostly real, when the category is genuinely useful, and how to layer without making it complicated.",
  intro: "Ceramides are barrier lipids — the structural fats that sit between skin cells and hold water in. When the barrier is intact, ceramides are abundant. When it's compromised — by over-exfoliation, stripping cleansers, environmental stress, or age — the ceramide pool depletes and the barrier becomes leaky. Replenishing them topically works, within limits. Applied ceramides don't become your skin's ceramides, but they do provide a temporary lipid matrix that the barrier can use while it repairs itself. The ceramide bandwagon is mostly real. The products range from excellent to barely-there. Below is everything we've published on the subject.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 112, updated: "Updated 26 April 2026", reading: "Avg. 4 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", 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", cur: true, 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 ceramides are and what they do",
    body: "Ceramides are a family of lipids that make up roughly 50% of the stratum corneum — the outermost layer of the skin. They act as the mortar between skin-cell bricks, preventing water loss and blocking environmental irritants. The numbered ceramide types (Ceramide 1, 3, 6-II, etc.) refer to specific molecular structures; products containing multiple types more closely replicate the natural barrier ratio.",
  },
  myths: [
    { m: "More ceramides means a better product.",
      t: "Concentration matters less than formulation. A 0.1% ceramide in a well-designed lipid matrix does more than 3% ceramide in a thin serum." },
    { m: "Ceramides only matter for dry skin.",
      t: "Oily skin can have a depleted barrier. Ceramides are relevant after exfoliation, retinoids, or a damaged barrier — regardless of your skin type." },
    { m: "You need an expensive ceramide product.",
      t: "Some of the most effective ceramide formulations on the market are drugstore products. The ceramide content is the same; the price is packaging." },
  ],
};

const BEGINNER_PATH = {
  h: "Start here, if ceramides are new to you.",
  deck: "Five pieces, in order. Around eighteen minutes of reading. Enough to build a barrier-support habit that makes everything else in your routine work better.",
  steps: [
    { n: "01", t: "What the skin barrier actually is",                       time: "3 min", note: "Structure, function, what compromises it." },
    { n: "02", t: "How ceramides work — and what they can't do",             time: "4 min", note: "The lipid matrix, topical application, realistic expectations." },
    { n: "03", t: "When your barrier needs ceramide support",                time: "4 min", note: "After retinoids, exfoliation, travel, seasonal change." },
    { n: "04", t: "How to layer ceramides in a routine",                     time: "3 min", note: "After serums, before occlusives. The sequence." },
    { n: "05", t: "Ceramide product types — cream, serum, toner",            time: "4 min", note: "Which format works best and when." },
  ],
};

const TRENDING = [
  { rank: "01", t: "Ceramides after retinoids — when and how", time: "4 min", auth: "Nelly", date: "Apr 24", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=1100&q=80&auto=format&fit=crop", reads: "11,204" },
  { rank: "02", t: "What ceramide numbers mean on labels", time: "3 min", auth: "Iris",  date: "Apr 19", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=1100&q=80&auto=format&fit=crop", reads: "8,744" },
  { rank: "03", t: "The ceramide-niacinamide combination", time: "4 min", auth: "Nelly", date: "Apr 15", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=1100&q=80&auto=format&fit=crop", reads: "7,382" },
  { rank: "04", t: "Is your skin barrier damaged — the signs", time: "3 min", auth: "Iris",  date: "Apr 10", img: "https://images.unsplash.com/photo-1601049541289-9b1b7bbbfe19?w=1100&q=80&auto=format&fit=crop", reads: "6,917" },
  { rank: "05", t: "Ceramide creams vs ceramide serums", time: "4 min", auth: "Nelly", date: "Apr 05", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=1100&q=80&auto=format&fit=crop", reads: "5,603" },
];

const FORMAT_GUIDE = {
  h: "Format & cadence, by use case",
  deck: "Where ceramides belong in a routine and which format to reach for.",
  formats: [
    { name: "Ceramide moisturiser",  when: "Daily, AM and PM, all skin types",       avoid: "Applying before serums", note: "The most common format. After serums, before occlusives or SPF.", verdict: "★ Default" },
    { name: "Ceramide serum",        when: "PM, after actives, before moisturiser",   avoid: "Very oily skin as sole moisture", note: "Lighter than cream. Useful under a heavier moisturiser in winter.", verdict: "Layering tool" },
    { name: "Ceramide toner",        when: "After cleansing, low-concentration daily", avoid: "As a replacement for a ceramide moisturiser", note: "Entry point ceramide. Gentle and predictable.", verdict: "Low-intensity" },
    { name: "Barrier repair cream",  when: "After exfoliation or irritation, PM",    avoid: "Over active breakouts", note: "Occlusive-adjacent. Seals in other layers while barrier recovers.", verdict: "Recovery use" },
    { name: "Ceramide + HA combo",   when: "Year-round, dehydrated skin, after retinoids", avoid: "Very oily skin in summer", note: "Hyaluronic acid draws water; ceramides seal it. A logical pair.", verdict: "Good stack" },
    { name: "Ceramide eye cream",    when: "PM, periorbital barrier support",         avoid: "Expecting dark-circle correction", note: "Thin skin around the eye benefits from ceramide support. Modest effect.", verdict: "Supplemental" },
  ],
};

const HOWTOS = [
  { t: "Ceramides after retinoids — the barrier strategy", time: 4, tech: "Layering", auth: "Nelly", date: "Apr 24", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=900&q=80&auto=format&fit=crop", kick: "Layering", pick: true },
  { t: "What ceramide numbers mean on a label", time: 3, tech: "Essay", auth: "Iris", date: "Apr 19", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: true },
  { t: "The ceramide-niacinamide combination", time: 4, tech: "Layering", auth: "Nelly", date: "Apr 15", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Layering", pick: true },
  { t: "Signs your skin barrier is depleted", time: 3, tech: "Troubleshoot", auth: "Iris", date: "Apr 10", img: "https://images.unsplash.com/photo-1601049541289-9b1b7bbbfe19?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: true },
  { t: "Ceramide cream vs ceramide serum — when each makes sense", time: 4, tech: "Format", auth: "Nelly", date: "Apr 05", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Format", pick: true },
  { t: "Rebuilding a compromised barrier with ceramides", time: 5, tech: "Routine", auth: "Iris", date: "Mar 31", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Ceramides for oily skin — does it make sense", time: 3, tech: "Essay", auth: "Nelly", date: "Mar 26", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Ceramide + hyaluronic acid — the layering logic", time: 4, tech: "Layering", auth: "Iris", date: "Mar 21", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop", kick: "Layering", pick: false },
  { t: "What the lipid matrix actually does", time: 5, tech: "Essay", auth: "Nelly", date: "Mar 16", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Ceramides in winter vs summer routines", time: 3, tech: "Routine", auth: "Iris", date: "Mar 11", img: "https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "When a ceramide moisturiser is not enough", time: 4, tech: "Troubleshoot", auth: "Nelly", date: "Mar 06", img: "https://images.unsplash.com/photo-1601049541289-9b1b7bbbfe19?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
  { t: "Barrier repair: the four-step protocol", time: 5, tech: "Routine", auth: "Iris", date: "Mar 01", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Ceramides and peptides — a compatible stack", time: 4, tech: "Layering", auth: "Nelly", date: "Feb 24", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=900&q=80&auto=format&fit=crop", kick: "Layering", pick: false },
  { t: "How long barrier repair actually takes", time: 4, tech: "Essay", auth: "Iris", date: "Feb 19", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Ceramides vs occlusives — what's the difference", time: 3, tech: "Essay", auth: "Nelly", date: "Feb 14", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Ceramide toners — the case for them", time: 3, tech: "Format", auth: "Iris", date: "Feb 09", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Format", pick: false },
  { t: "Cholesterol and fatty acids alongside ceramides", time: 5, tech: "Essay", auth: "Nelly", date: "Feb 04", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "How to tell if a moisturiser has meaningful ceramides", time: 4, tech: "Essay", auth: "Iris", date: "Jan 30", img: "https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Ceramides in travel skincare", time: 3, tech: "Routine", auth: "Nelly", date: "Jan 25", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Ceramides for sensitive skin — what works", time: 4, tech: "Essay", auth: "Iris", date: "Jan 20", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Skincare minimalism and ceramides", time: 3, tech: "Routine", auth: "Nelly", date: "Jan 15", img: "https://images.unsplash.com/photo-1601049541289-9b1b7bbbfe19?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Ceramides after exfoliation — the immediate next step", time: 4, tech: "Layering", auth: "Iris", date: "Jan 10", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop", kick: "Layering", pick: false },
  { t: "The ceramide-to-skin relationship, simplified", time: 5, tech: "Essay", auth: "Nelly", date: "Jan 05", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Why the ceramide category has exploded", time: 4, tech: "Essay", auth: "Iris", date: "Dec 30", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
];

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

// Crosslinks to 4 adjacent ingredient siblings
const TYPE_CROSSLINKS = [
  { id: "retinoids",           title: "Retinoids",          deck: "Why ceramides belong in every retinoid routine.",      count: 144, href: "/en/skin/ingredients/retinoids/" },
  { id: "niacinamide",         title: "Niacinamide",         deck: "B3 and barrier lipids — a reliable pair.",             count: 163, href: "/en/skin/ingredients/niacinamide/" },
  { id: "humectants-vs-emollients", title: "Humectants vs Emollients", deck: "The other half of barrier support.",         count: 128, href: "/en/skin/ingredients/humectants-vs-emollients/" },
  { id: "peptides",            title: "Peptides",            deck: "Signal molecules. Compatible with ceramide routines.", count: 97,  href: "/en/skin/ingredients/peptides/" },
];

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