// Makeup · Face · Foundation — L3 data
// Visual skeleton must match the Oily prototype exactly. Vary copy, never layout.

const OILY = {
  type: "Foundation",
  parent: { title: "Face", href: "/en/makeup/face/" },
  grandparent: { title: "Makeup", href: "/en/makeup/" },
  totalCount: 184,
  hero: "https://images.unsplash.com/photo-1596462502278-27bfdc403348?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Editorial close-up — foundation application",
  h1: "How to choose and apply foundation.",
  deck: "Coverage is a decision, not a default. The full library on finish, formula, undertone, and the application question — sorted, edited, kept short.",
  intro: "Foundation is a coverage decision, not a complexion fix. The right one disappears at conversational distance and lets your skin still read as skin. The wrong one reads as a mask — not because the formula is bad, but because the undertone is off, or the finish doesn't match your skin type, or you're applying more than you need. Below is everything we've published on the subject: the format guide, the undertone question, the application variables, trending pieces, and the full library.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 184, updated: "Updated 30 April 2026", reading: "Avg. 4 min per piece" },
};

// Face sibling rail — 4 siblings under /en/makeup/face/
const TYPE_SIBLINGS = [
  { id: "foundation", title: "Foundation", n: "01", cur: true,  href: "/en/makeup/face/foundation/" },
  { id: "concealer",  title: "Concealer",  n: "02",             href: "/en/makeup/face/concealer/" },
  { id: "cheeks",     title: "Cheeks",     n: "03",             href: "/en/makeup/face/cheeks/" },
  { id: "powder",     title: "Powder",     n: "04",             href: "/en/makeup/face/powder/" },
];

const QUICK_FACTS = {
  defn: {
    h: "What 'foundation' actually means",
    body: "Foundation is an even base — a layer that corrects tone, evening out redness or discolouration so the rest of your makeup has something consistent to sit on. It is not a skin replacement. The best foundations are the ones you stop noticing after application.",
  },
  myths: [
    { m: "More coverage is always better.",
      t: "Coverage is a question of distance. At conversational range, anything above medium starts to read as texture. Spot-conceal instead, and let the foundation do less." },
    { m: "You should match foundation to your wrist.",
      t: "The wrist is usually several shades lighter than the face and neck. Match to your jaw, and check that the neck isn't jarring at the end of the day." },
    { m: "Foundation needs primer to last.",
      t: "Primer helps on oily skin. On dry or balanced skin, a moisturiser followed by 60 seconds of wait time does most of the same work." },
  ],
};

const BEGINNER_PATH = {
  h: "Start here, if foundation is new to you.",
  deck: "Five pieces, in order. About twenty minutes. Enough to buy well and apply confidently.",
  steps: [
    { n: "01", t: "What foundation is actually for",              time: "3 min", note: "Coverage tiers, why less is usually more, how to know when you need it." },
    { n: "02", t: "Finding your undertone — the honest guide",    time: "5 min", note: "Cool, warm, neutral: the test that works and the ones that don't." },
    { n: "03", t: "Choosing a finish for your skin type",         time: "4 min", note: "Matte, satin, dewy — and which combinations cause problems." },
    { n: "04", t: "The application question: brush, sponge, hand", time: "4 min", note: "What each tool does to the finish, and when to switch." },
    { n: "05", t: "Foundation that lasts: the setting step",      time: "3 min", note: "When to set, what to use, how much." },
  ],
};

const TRENDING = [
  { rank: "01", t: "How to match foundation to your skin tone — properly", time: "5 min", auth: "Nelly", date: "Apr 28", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=1100&q=80&auto=format&fit=crop", reads: "14,220" },
  { rank: "02", t: "Skin tint vs foundation: which one are you?",          time: "4 min", auth: "Iris",  date: "Apr 24", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=1100&q=80&auto=format&fit=crop", reads: "11,085" },
  { rank: "03", t: "Foundation for oily skin — the four formats",          time: "4 min", auth: "Nelly", date: "Apr 20", img: "https://images.unsplash.com/photo-1596462502278-27bfdc403348?w=1100&q=80&auto=format&fit=crop", reads: "9,312" },
  { rank: "04", t: "The buffing technique — and when to use it",           time: "3 min", auth: "Iris",  date: "Apr 15", img: "https://images.unsplash.com/photo-1560086996-04e2d2a0f8b1?w=1100&q=80&auto=format&fit=crop", reads: "8,741" },
  { rank: "05", t: "Coverage that doesn't look like coverage",             time: "5 min", auth: "Nelly", date: "Apr 10", img: "https://images.unsplash.com/photo-1503236823255-94609f598e71?w=1100&q=80&auto=format&fit=crop", reads: "7,604" },
];

const FORMAT_GUIDE = {
  h: "Format, by use case",
  deck: "What to reach for, and when. None of these are brand recommendations — they're formulas.",
  formats: [
    { name: "Liquid",            when: "Most face types, everyday, medium–full coverage", avoid: "Very dry skin without sufficient moisture prep", note: "The default. Most versatile, most variety.", verdict: "★ Default" },
    { name: "Stick",             when: "On-the-go, dry to normal skin, spot-coverage",    avoid: "Oily or acne-prone skin — can clog", note: "Concentrated. Use sparingly.", verdict: "Travel / touch-up" },
    { name: "Cushion",           when: "Oily skin, humid climates, light–medium coverage", avoid: "Dry skin — cushions skew matte-watery", note: "Buildable. Re-apply easily.", verdict: "Humid-climate default" },
    { name: "Powder foundation", when: "Oily skin, over existing liquid, minimalist routines", avoid: "Dry, mature, or dehydrated skin", note: "Sets and covers simultaneously.", verdict: "Oily + minimal" },
    { name: "Tinted moisturiser", when: "Normal to dry skin, no-makeup look, SPF layering", avoid: "Coverage needs above sheer–light", note: "Skincare–makeup hybrid. Forgiving.", verdict: "Low-coverage days" },
    { name: "Skin tint",         when: "Healthy skin, light correction only, summer",     avoid: "Redness that needs real coverage", note: "Even sheerer than tinted moisturiser. Skin-forward.", verdict: "Barely-there" },
  ],
};

const HOWTOS = [
  { t: "How to match foundation to your skin tone", time: 5, tech: "Application", auth: "Nelly", date: "Apr 28", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: true },
  { t: "Skin tint vs foundation — which one are you?", time: 4, tech: "Essay", auth: "Iris", date: "Apr 24", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: true },
  { t: "Foundation for oily skin — the four formats", time: 4, tech: "Application", auth: "Nelly", date: "Apr 20", img: "https://images.unsplash.com/photo-1596462502278-27bfdc403348?w=900&q=80&auto=format&fit=crop", kick: "Format", pick: false },
  { t: "The buffing technique — and when to use it", time: 3, tech: "Application", auth: "Iris", date: "Apr 15", img: "https://images.unsplash.com/photo-1560086996-04e2d2a0f8b1?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: true },
  { t: "Coverage that doesn't look like coverage", time: 5, tech: "Essay", auth: "Nelly", date: "Apr 10", img: "https://images.unsplash.com/photo-1503236823255-94609f598e71?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: true },
  { t: "Undertone: warm, cool, neutral — the honest test", time: 5, tech: "Application", 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: "Dewy vs matte: choosing a finish", time: 4, tech: "Application", auth: "Iris", date: "Apr 01", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=900&q=80&auto=format&fit=crop", kick: "Format", pick: false },
  { t: "Why your foundation oxidises — and what to do", time: 3, tech: "Troubleshoot", auth: "Nelly", date: "Mar 27", img: "https://images.unsplash.com/photo-1596462502278-27bfdc403348?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
  { t: "Brush vs sponge vs fingers — what each does to the finish", time: 4, tech: "Application", auth: "Nelly", date: "Mar 22", img: "https://images.unsplash.com/photo-1560086996-04e2d2a0f8b1?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Primer: when it helps, when it doesn't", time: 3, tech: "Routine", auth: "Iris", date: "Mar 18", img: "https://images.unsplash.com/photo-1503236823255-94609f598e71?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "How to set foundation without losing glow", time: 4, tech: "Setting", auth: "Nelly", date: "Mar 14", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=900&q=80&auto=format&fit=crop", kick: "Setting", pick: false },
  { t: "Foundation for dry skin — the hydration question", time: 5, tech: "Application", auth: "Iris", date: "Mar 10", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=900&q=80&auto=format&fit=crop", kick: "Format", pick: false },
  { t: "The cushion foundation — who it's actually for", time: 3, tech: "Application", auth: "Nelly", date: "Mar 05", img: "https://images.unsplash.com/photo-1596462502278-27bfdc403348?w=900&q=80&auto=format&fit=crop", kick: "Format", pick: false },
  { t: "Powder foundation on mature skin", time: 5, tech: "Application", auth: "Iris", date: "Feb 28", img: "https://images.unsplash.com/photo-1560086996-04e2d2a0f8b1?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Why foundation looks different in different light", time: 4, tech: "Essay", auth: "Nelly", date: "Feb 22", img: "https://images.unsplash.com/photo-1503236823255-94609f598e71?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "The minimal-coverage case: skin tints and what they do", time: 3, tech: "Essay", auth: "Nelly", date: "Feb 17", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Touch-up without the cakey build-up", time: 4, tech: "Routine", auth: "Iris", date: "Feb 12", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Foundation and SPF: the layering question", time: 5, tech: "Routine", auth: "Nelly", date: "Feb 07", img: "https://images.unsplash.com/photo-1596462502278-27bfdc403348?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "When to conceal instead of covering up with foundation", time: 4, tech: "Troubleshoot", auth: "Nelly", date: "Feb 02", img: "https://images.unsplash.com/photo-1560086996-04e2d2a0f8b1?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
  { t: "Stick foundation — when it works", time: 3, tech: "Application", auth: "Iris", date: "Jan 28", img: "https://images.unsplash.com/photo-1503236823255-94609f598e71?w=900&q=80&auto=format&fit=crop", kick: "Format", pick: false },
  { t: "Foundation and skincare — the timing that matters", time: 4, tech: "Routine", auth: "Nelly", date: "Jan 22", img: "https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Shade oxidation — what causes it and how to correct", time: 3, tech: "Troubleshoot", auth: "Iris", date: "Jan 17", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
  { t: "The half-face test — how to trial a new foundation", time: 5, tech: "Application", auth: "Nelly", date: "Jan 11", img: "https://images.unsplash.com/photo-1596462502278-27bfdc403348?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Foundation in your 40s — what changes", time: 5, tech: "Essay", auth: "Nelly", date: "Jan 05", img: "https://images.unsplash.com/photo-1560086996-04e2d2a0f8b1?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
];

const TECH_FILTERS = ["All", "Application", "Cheeks", "Powder", "Setting", "Routine", "Essay", "Troubleshoot"];

// Crosslinks to the other 3 face slugs
const TYPE_CROSSLINKS = [
  { id: "concealer", title: "Concealer", deck: "Targeted use only. The two-shade rule.", count: 142, href: "/en/makeup/face/concealer/" },
  { id: "cheeks",    title: "Cheeks",    deck: "Blush placement, bronzer geography, the cohesion question.", count: 156, href: "/en/makeup/face/cheeks/" },
  { id: "powder",    title: "Powder",    deck: "The minimum case, the full case, when not to.", count: 118, href: "/en/makeup/face/powder/" },
];

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