// Skin · Routine · AM — L3 data
// Live deploy version (parent = Routine, 5 siblings).
// Visual skeleton must match the Oily prototype exactly. Vary copy, never layout.

const OILY = {
  type: "AM Routine",
  parent: { title: "Routine", href: "/en/skin/routine/" },
  grandparent: { title: "Skin", href: "/en/skin/" },
  totalCount: 218,
  hero: "https://images.unsplash.com/photo-1556228453-efd6c1ff04f6?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Editorial flat-lay — morning skincare routine",
  h1: "How to build an AM routine.",
  deck: "Four steps or seven. The minimum that actually works and the maximum that's still worth it — sorted by what matters first.",
  intro: "AM is short. Cleanse, antioxidant, moisture, SPF. Four steps. Anyone telling you it needs to be eight is selling something. The morning routine exists to protect what your PM routine did — not to treat, not to exfoliate, not to overhaul. Get the four-step minimum consistent first. Then, if you want to add: a vitamin C serum between cleanse and moisturiser, an eye cream if you have a reason, a second antioxidant if your skin tolerates layering. Below is everything we've published on the subject — the fundamentals, the upgrade path, and the full how-to library.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 218, updated: "Updated 28 April 2026", reading: "Avg. 4 min per piece" },
};

// Routine sibling rail — 5 siblings under /en/skin/routine/
const TYPE_SIBLINGS = [
  { id: "am",               title: "AM Routine",       n: "01", cur: true,  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",             href: "/en/skin/routine/active-management/" },
];

const QUICK_FACTS = {
  defn: {
    h: "What an AM routine actually is",
    body: "A morning routine is a protective sequence. Its job is to support your barrier, deliver antioxidants before UV exposure, and lock in hydration that stays put through the day. It is not the time for actives, for acids, or for anything that makes the skin more vulnerable to sunlight. Four steps: cleanse (or rinse), antioxidant serum, moisturiser, SPF. That's it.",
  },
  myths: [
    { m: "More steps in the morning means better skin.",
      t: "More steps in the morning usually means more irritation and more cost. The morning routine's purpose is protection. Fewer steps, done consistently, outperform elaborate routines done erratically." },
    { m: "You need to cleanse properly every morning.",
      t: "Unless you sweat overnight, a water rinse is enough. Cleansing twice daily strips the barrier — especially in winter. Save the full cleanse for nights, or for post-gym mornings." },
    { m: "Vitamin C burns and is too irritating for AM.",
      t: "Formulation matters, not the ingredient. L-ascorbic acid at high percentages can sensitise — but vitamin C derivatives (ascorbyl glucoside, sodium ascorbyl phosphate) are gentler and still effective. Start at 5%, not 20%." },
  ],
};

const BEGINNER_PATH = {
  h: "Start here, if morning routines are new to you.",
  deck: "Five pieces, in order. About eighteen minutes. Enough to understand why each step earns its place.",
  steps: [
    { n: "01", t: "The 4-step AM minimum — and why nothing else is required",  time: "3 min", note: "The case for keeping it short. What each step does." },
    { n: "02", t: "Morning cleanse vs rinse — which one you actually need",     time: "4 min", note: "How to decide. Skin type, season, overnight sweat." },
    { n: "03", t: "Vitamin C in the morning — the beginner's guide",            time: "5 min", note: "Why AM, which form, what to expect in the first month." },
    { n: "04", t: "Moisturiser in the morning — the rules are different",       time: "3 min", note: "Lighter than PM. The damp-skin trick. What to avoid." },
    { n: "05", t: "SPF last — and always last",                                  time: "3 min", note: "Why the order is non-negotiable. How to layer makeup over it." },
  ],
};

const TRENDING = [
  { rank: "01", t: "The 4-step AM routine — why it's enough",                       time: "3 min", auth: "Nelly", date: "Apr 26", img: "https://images.unsplash.com/photo-1556228453-efd6c1ff04f6?w=1100&q=80&auto=format&fit=crop", reads: "14,207" },
  { rank: "02", t: "Morning cleanse vs rinse — the settled answer",                  time: "4 min", auth: "Iris",  date: "Apr 22", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=1100&q=80&auto=format&fit=crop", reads: "11,033" },
  { rank: "03", t: "Vitamin C for beginners — which form and when",                  time: "5 min", auth: "Nelly", date: "Apr 17", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=1100&q=80&auto=format&fit=crop", reads: "9,548" },
  { rank: "04", t: "How to make SPF the last step you never skip",                   time: "3 min", auth: "Nelly", date: "Apr 12", img: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=1100&q=80&auto=format&fit=crop", reads: "8,302" },
  { rank: "05", t: "The 7-step maximalist AM routine — is it worth it?",             time: "6 min", auth: "Iris",  date: "Apr 05", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=1100&q=80&auto=format&fit=crop", reads: "7,114" },
];

const FORMAT_GUIDE = {
  h: "Cadence, by use case",
  deck: "What to reach for on which kind of morning. None of these are products — they're approaches.",
  formats: [
    { name: "4-Step Minimum",    when: "Every morning, all skin types", avoid: "As a permanent ceiling if skin has specific needs", note: "Rinse, vitamin C, moisturiser, SPF. The irreducible core.", verdict: "★ Default" },
    { name: "6-Step Standard",   when: "Most mornings, if you have time", avoid: "Pre-workout, rushed mornings", note: "Adds a targeted serum and eye treatment between vitamin C and moisturiser.", verdict: "Most common" },
    { name: "7-Step Maximalist", when: "Weekends, slow mornings, full skin care days", avoid: "Daily — too much surface load for consistent use", note: "Mist, double serum, sleeping mask used as a base. Indulgent. Not necessary.", verdict: "Occasional" },
    { name: "Travel AM",         when: "Hotel mornings, after long-haul flights", avoid: "As a substitute for your regular routine for more than 3 days", note: "Micellar cleanse instead of rinse, hydrating serum, SPF. Four items, small format.", verdict: "Travel only" },
    { name: "Post-Workout AM",   when: "After morning exercise, before work", avoid: "Skipping — sweat left on skin disrupts the barrier", note: "Full cleanse, skip vitamin C if skin is flushed, moisturiser, SPF.", verdict: "Sweat days" },
    { name: "Hangover AM",       when: "After dehydrating nights, illness, poor sleep", avoid: "Anything stimulating or acidic", note: "Gentle rinse, rich moisturiser, SPF. Drop the actives. Let the barrier recover.", verdict: "Recovery" },
  ],
};

const HOWTOS = [
  { t: "The 4-step AM routine — nothing more required",         time: 3, tech: "Routine",       auth: "Nelly", date: "Apr 26", img: "https://images.unsplash.com/photo-1556228453-efd6c1ff04f6?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: true },
  { t: "Morning cleanse vs rinse — the settled answer",         time: 4, tech: "Cleansing",     auth: "Iris",  date: "Apr 22", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Cleansing", pick: false },
  { t: "Vitamin C at 5% — the entry-level pick",                time: 5, tech: "Serums",        auth: "Nelly", date: "Apr 17", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: true },
  { t: "SPF last — why the order is not negotiable",            time: 3, tech: "SPF",            auth: "Nelly", date: "Apr 12", img: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=900&q=80&auto=format&fit=crop", kick: "SPF", pick: true },
  { t: "The 7-step maximalist AM — an honest review",           time: 6, tech: "Routine",       auth: "Iris",  date: "Apr 05", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Layering vitamin C under SPF — does it work?",          time: 4, tech: "Layering",      auth: "Nelly", date: "Apr 01", img: "https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=900&q=80&auto=format&fit=crop", kick: "Layering", pick: true },
  { t: "Moisturiser in the morning — lighter than PM",           time: 3, tech: "Moisturising",  auth: "Nelly", date: "Mar 28", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Why you should not exfoliate in the morning",           time: 3, tech: "Essay",         auth: "Iris",  date: "Mar 25", img: "https://images.unsplash.com/photo-1601049541289-9b1b7bbbfe19?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Eye cream in the AM — when it earns its place",         time: 4, tech: "Serums",        auth: "Nelly", date: "Mar 20", img: "https://images.unsplash.com/photo-1607006344380-b6775a0824a4?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "SPF under makeup — the formats that cooperate",         time: 5, tech: "SPF",            auth: "Iris",  date: "Mar 16", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop", kick: "SPF", pick: false },
  { t: "Toner in the AM — skip or keep?",                       time: 3, tech: "Layering",      auth: "Nelly", date: "Mar 12", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", kick: "Layering", pick: false },
  { t: "The post-gym AM routine",                               time: 4, tech: "Routine",       auth: "Iris",  date: "Mar 08", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Travel AM — the 4-item kit that actually works",         time: 3, tech: "Routine",       auth: "Nelly", date: "Mar 04", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Niacinamide in the morning — timing and order",         time: 5, tech: "Serums",        auth: "Nelly", date: "Feb 28", img: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=900&q=80&auto=format&fit=crop", kick: "Layering", pick: false },
  { t: "Why the damp-skin trick matters more in the morning",   time: 3, tech: "Moisturising",  auth: "Iris",  date: "Feb 23", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "The hangover AM routine",                               time: 3, tech: "Routine",       auth: "Nelly", date: "Feb 18", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Hyaluronic acid in the morning — should it be first?",  time: 4, tech: "Serums",        auth: "Iris",  date: "Feb 14", img: "https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=900&q=80&auto=format&fit=crop", kick: "Layering", pick: false },
  { t: "How to tell if your morning routine is too much",       time: 5, tech: "Troubleshoot",  auth: "Nelly", date: "Feb 09", img: "https://images.unsplash.com/photo-1556228453-efd6c1ff04f6?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
  { t: "Sun protection in winter — the AM argument for it",     time: 4, tech: "SPF",            auth: "Iris",  date: "Feb 05", img: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Ferulic acid + vitamin C — does AM layering help?",     time: 5, tech: "Serums",        auth: "Nelly", date: "Jan 31", img: "https://images.unsplash.com/photo-1607006344380-b6775a0824a4?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "Primer vs moisturiser vs SPF — when you use all three", time: 6, tech: "Layering",      auth: "Iris",  date: "Jan 27", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=900&q=80&auto=format&fit=crop", kick: "Layering", pick: false },
  { t: "The AM routine for combination skin",                   time: 4, tech: "Routine",       auth: "Nelly", date: "Jan 22", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "What a minimalist morning actually looks like",         time: 3, tech: "Routine",       auth: "Iris",  date: "Jan 17", img: "https://images.unsplash.com/photo-1601049541289-9b1b7bbbfe19?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "The 6-step standard AM — building up from the minimum", time: 5, tech: "Routine",       auth: "Nelly", date: "Jan 12", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: true },
];

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

// Crosslinks to other routines — 4 (everything except current)
const TYPE_CROSSLINKS = [
  { id: "pm",                title: "PM Routine",         deck: "PM is the routine that does the work. AM protects what PM did.",        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. Four products. What you can skip and what you can't.",   count: 127, href: "/en/skin/routine/minimum-viable/" },
  { id: "active-management", title: "Active Management",  deck: "Cycling, builder routines, and the reset week. All three, one page.",   count: 162, href: "/en/skin/routine/active-management/" },
];

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