// Makeup · Occasion · Climate-Resistant — L3 combined data
// Combined page: anchors #heat, #humidity, #touch-up
// Visual skeleton must match the Oily prototype exactly. Vary copy, never layout.

const OILY = {
  type: "Climate-Resistant Makeup",
  parent: { title: "Occasion", href: "/en/makeup/occasion/" },
  grandparent: { title: "Makeup", href: "/en/makeup/" },
  totalCount: 97,
  hero: "https://images.unsplash.com/photo-1614159689907-3c595ce7e0f6?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Editorial — sunlit face, warm outdoor light, summer makeup",
  h1: "How to keep your makeup in place when the weather won't.",
  deck: "Heat, humidity, and the sixth hour. The full library of formulas, layering strategies, and touch-up techniques for makeup that survives the day.",
  intro: "Climate-resistant is not waterproof. Waterproof is for the pool. Climate-resistant is for a humid commute, a long meal outside, a cocktail hour under tungsten lights, an afternoon that runs six hours longer than you planned. It's the difference between makeup that slides by noon and a face you can still read at 9pm. The solutions are almost always in the primer, the setting step, and knowing exactly when to stop adding product. Below is everything we've published — organised by condition, by hour, and by how much time you have.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 97, updated: "Updated 29 April 2026", reading: "Avg. 4 min per piece" },
};

// Occasion sibling rail — 3 siblings under /en/makeup/occasion/
const TYPE_SIBLINGS = [
  { id: "everyday",          title: "Everyday",          n: "01",             href: "/en/makeup/occasion/everyday/" },
  { id: "occasion-makeup",   title: "Occasion",          n: "02",             href: "/en/makeup/occasion/occasion-makeup/" },
  { id: "climate-resistant", title: "Climate-Resistant", n: "03", cur: true,  href: "/en/makeup/occasion/climate-resistant/" },
];

const QUICK_FACTS = {
  defn: {
    h: "What 'climate-resistant makeup' actually means",
    body: "Climate-resistant makeup is any formula or technique that performs across adverse environmental conditions — heat, humidity, rain, wind — without requiring constant maintenance. It's not a category of products. It's a property you build into a routine through choice of formula, order of application, and the quality of your setting step. The same products applied in the wrong order will fail in conditions where the right order would hold.",
  },
  myths: [
    { m: "Waterproof products are the answer to humidity.",
      t: "Waterproof is about water resistance, which is only one variable in hot or humid conditions. Setting, primer adherence, and formula weight matter more than waterproof status for most wear-failure situations." },
    { m: "More setting spray means longer wear.",
      t: "Setting spray is a finishing step, not a sealant you can layer. More than two light passes rarely adds more wear time — it usually adds moisture to the face, which can loosen powder." },
    { m: "Powder is always the answer to shine in heat.",
      t: "Powder on top of melting product accelerates pilling and creasing. In heat, you need to address the base before you address the surface." },
  ],
};

const BEGINNER_PATH = {
  h: "Start here, if your makeup doesn't survive the day.",
  deck: "Five pieces, covering heat, humidity, and touch-up. Each one is practical. None of them are about buying new products.",
  steps: [
    { n: "01", t: "Why makeup moves — and what's actually happening",   time: "3 min", note: "Heat vs humidity vs sebum: different problems, different solutions." },
    { n: "02", t: "Primer for climate conditions — what to look for",   time: "4 min", note: "Not all primers are the same. What creates grip in heat is not what creates grip in humidity." },
    { n: "03", t: "The setting step, in the right order",               time: "5 min", note: "Powder first or last? Setting spray before or after? The order changes the result." },
    { n: "04", t: "Humidity and foundation — the formulas that hold",   time: "4 min", note: "Matte, satin, skin-tint — how each formula behaves in high-moisture conditions." },
    { n: "05", t: "Touch-up at hour six — the two-product method",      time: "3 min", note: "What you can fix mid-event and what you can't. A touch-up kit that fits in a pocket." },
  ],
};

const TRENDING = [
  { rank: "01", t: "How to set makeup so it lasts eight hours in heat",       time: "5 min", auth: "Nelly", date: "Apr 28", img: "https://images.unsplash.com/photo-1614159689907-3c595ce7e0f6?w=1100&q=80&auto=format&fit=crop", reads: "18,440" },
  { rank: "02", t: "Humidity and foundation — what holds, what slides",       time: "5 min", auth: "Iris",  date: "Apr 24", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=1100&q=80&auto=format&fit=crop", reads: "14,203" },
  { rank: "03", t: "The two-product touch-up kit that actually works",        time: "3 min", auth: "Nelly", date: "Apr 20", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=1100&q=80&auto=format&fit=crop", reads: "11,007" },
  { rank: "04", t: "Primer for humid climates — what you're actually looking for", time: "4 min", auth: "Iris", date: "Apr 15", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=1100&q=80&auto=format&fit=crop", reads: "9,854" },
  { rank: "05", t: "Why your mascara smudges in summer — and how to stop it", time: "3 min", auth: "Nelly", date: "Apr 10", img: "https://images.unsplash.com/photo-1607006344380-b6775a0824a4?w=1100&q=80&auto=format&fit=crop", reads: "8,117" },
];

const FORMAT_GUIDE = {
  h: "Formula choice, by climate condition",
  deck: "What to reach for when conditions are working against you. The problem usually isn't the product — it's the format.",
  formats: [
    { name: "Silicone-based primer", when: "High humidity, tropical conditions, outdoor events", avoid: "Under oil-based foundation — it separates",   note: "Creates a dry, adherent base in moisture-heavy conditions. Order matters more than brand.", verdict: "★ Humidity" },
    { name: "Water-based primer",    when: "Dry heat, summer in low-humidity climates, long days", avoid: "Humid coastal environments",                   note: "Keeps skin from drying and cracking under product in dry, hot conditions.", verdict: "★ Dry heat" },
    { name: "Pressed powder",        when: "Touch-ups, blotting mid-event, setting on the move",  avoid: "On top of already-moved product — set first",  note: "Pressed for touch-up, loose for initial set. Know the difference.", verdict: "Touch-up" },
    { name: "Matte foundation",      when: "High humidity, oily skin, hot conditions",             avoid: "Dry skin, air-conditioned environments, winter", note: "Matte formulas have less slip and hold their shape better in wet conditions.", verdict: "High humidity" },
    { name: "Setting spray",         when: "Final step, one or two light passes",                  avoid: "Layering — it adds water, not longevity",        note: "A setting spray is a closer, not a sealant. Use once, from distance.", verdict: "Finisher" },
    { name: "Blotting paper",        when: "Mid-event shine management, before touch-up powder",   avoid: "Rubbing — it moves product",                    note: "Press, do not rub. One sheet in the right place beats powder over a bad base.", verdict: "First response" },
  ],
};

const HOWTOS = [
  { t: "How to set makeup so it lasts eight hours in heat",        time: 5, tech: "Setting",    auth: "Nelly", date: "Apr 28", img: "https://images.unsplash.com/photo-1614159689907-3c595ce7e0f6?w=900&q=80&auto=format&fit=crop", kick: "Setting", pick: true },
  { t: "Humidity and foundation — what holds, what slides",        time: 5, tech: "Foundation", auth: "Iris",  date: "Apr 24", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: true },
  { t: "The two-product touch-up kit that actually works",         time: 3, tech: "Routine",    auth: "Nelly", date: "Apr 20", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: true },
  { t: "Primer for humid climates — what you're actually looking for", time: 4, tech: "Setting",  auth: "Iris",  date: "Apr 15", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", kick: "Setting", pick: true },
  { t: "Why your mascara smudges in summer — and how to stop it",  time: 3, tech: "Eyes",       auth: "Nelly", date: "Apr 10", img: "https://images.unsplash.com/photo-1607006344380-b6775a0824a4?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: true },
  { t: "The setting order — why sequence matters more than product", time: 5, tech: "Setting",   auth: "Nelly", date: "Apr 05", img: "https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Matte vs satin foundation in humidity — a clear answer",   time: 4, tech: "Foundation", auth: "Iris",  date: "Apr 01", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop", kick: "Foundation", pick: false },
  { t: "Blotting paper: press, not rub",                           time: 3, tech: "Setting",    auth: "Nelly", date: "Mar 27", img: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Eye makeup in heat — what survives, what doesn't",         time: 4, tech: "Eyes",       auth: "Nelly", date: "Mar 23", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Eyes", pick: false },
  { t: "Lip colour in heat — what lasts and why",                  time: 4, tech: "Lips",       auth: "Iris",  date: "Mar 19", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop", kick: "Lips", pick: false },
  { t: "Why your face creases by midday — a diagnostic",           time: 5, tech: "Troubleshoot", auth: "Nelly", date: "Mar 15", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
  { t: "The minimal touch-up kit for a long outdoor day",          time: 3, tech: "Routine",    auth: "Nelly", date: "Mar 11", img: "https://images.unsplash.com/photo-1614159689907-3c595ce7e0f6?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Setting spray: how to use it without adding moisture",     time: 4, tech: "Setting",    auth: "Iris",  date: "Mar 07", img: "https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=900&q=80&auto=format&fit=crop", kick: "Setting", pick: false },
  { t: "Tropical travel makeup — five things that change",         time: 5, tech: "Routine",    auth: "Nelly", date: "Mar 03", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Why primer is the most underrated climate tool",           time: 4, tech: "Setting",    auth: "Iris",  date: "Feb 27", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Concealer in heat — the placement that holds",             time: 3, tech: "Foundation", auth: "Nelly", date: "Feb 22", img: "https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Air travel and makeup — humidity at 30,000 feet",          time: 5, tech: "Essay",      auth: "Nelly", date: "Feb 17", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Foundation for oily skin in summer — which format wins",   time: 4, tech: "Foundation", auth: "Iris",  date: "Feb 12", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop", kick: "Foundation", pick: false },
  { t: "The overnight event: how to keep makeup coherent for 14 hours", time: 6, tech: "Routine", auth: "Nelly", date: "Feb 07", img: "https://images.unsplash.com/photo-1500840216050-6ffa99d75160?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Why your eye shadow creases and what you can do",          time: 4, tech: "Eyes",       auth: "Iris",  date: "Feb 02", img: "https://images.unsplash.com/photo-1607006344380-b6775a0824a4?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
  { t: "Setting powder: loose vs pressed, and when it matters",    time: 3, tech: "Setting",    auth: "Nelly", date: "Jan 28", img: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=900&q=80&auto=format&fit=crop", kick: "Setting", pick: false },
  { t: "The heat-proof eye: what doesn't move",                    time: 4, tech: "Eyes",       auth: "Nelly", date: "Jan 23", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Eyes", pick: false },
  { t: "Climate-resistant lipstick — formula matters more than brand", time: 3, tech: "Lips",   auth: "Iris",  date: "Jan 18", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop", kick: "Lips", pick: false },
  { t: "The 10am-to-10pm face — what it takes to hold that long",  time: 5, tech: "Routine",   auth: "Nelly", date: "Jan 13", img: "https://images.unsplash.com/photo-1614159689907-3c595ce7e0f6?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
];

const TECH_FILTERS = ["All", "Foundation", "Eyes", "Lips", "Setting", "Routine", "Essay", "Troubleshoot"];

// Crosslinks to the other 2 occasion slugs
const TYPE_CROSSLINKS = [
  { id: "everyday",        title: "Everyday makeup",   deck: "Three products, four if you sleep poorly. Fast enough for Tuesday, good enough for Saturday.", count: 143, href: "/en/makeup/occasion/everyday/" },
  { id: "occasion-makeup", title: "Occasion makeup",   deck: "Office is the rule of three. Wedding is the rule of three, then everything else done quietly underneath.", count: 118, href: "/en/makeup/occasion/occasion-makeup/" },
];

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