// Body · Self-Tan · Prep & Application — L3 data
// window variable: PREP_APP

const PREP_APP = {
  type: "Prep & Application",
  parent: { title: "Self-Tan", href: "/en/body/self-tan/" },
  grandparent: { title: "Body", href: "/en/body/" },
  totalCount: 86,
  hero: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Prep before self-tan — fresh exfoliated skin and a tanning mitt",
  h1: "Prep and application — the part that determines everything.",
  deck: "The self-tan goes on in ten minutes. What you do in the twenty-four hours before is what separates even colour from a patchy mess.",
  intro: "Self-tanning is mostly a prep story. DHA reacts with the surface of the skin — specifically the dead cells in the stratum corneum. If that surface is uneven, rough, dry-patchy, or still has yesterday's product sitting on it, the colour will land unevenly. Exfoliate the day before, not the day of — skin needs a few hours to settle after any friction. Shave or wax at least twenty-four hours ahead. Moisturise dry zones like elbows, knees, ankles, and wrists generously the night before, and use a dry barrier cream at those joints on application day to dilute the DHA where it would otherwise pool. Apply with a mitt using long, confident strokes. Go thin. You can always add a second layer the next day. You cannot easily undo a layer that's too heavy.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 86, updated: "Updated 3 May 2026", reading: "Avg. 5 min per piece" },
};

const PREP_APP_SIBLINGS = [
  { id: "mousse-vs-lotion-vs-drops", title: "Mousse vs Lotion vs Drops",   n: "01", href: "/en/body/self-tan/mousse-vs-lotion-vs-drops/" },
  { id: "prep-and-application",      title: "Prep & Application",           n: "02", cur: true,  href: "/en/body/self-tan/prep-and-application/" },
  { id: "gradual-tan",               title: "Gradual Tan",                  n: "03", href: "/en/body/self-tan/gradual-tan/" },
  { id: "face-and-body-mismatch",    title: "Face & Body Mismatch",         n: "04", href: "/en/body/self-tan/face-and-body-mismatch/" },
  { id: "streak-and-stain-fixes",    title: "Streak & Stain Fixes",         n: "05", href: "/en/body/self-tan/streak-and-stain-fixes/" },
  { id: "extending-a-tan",           title: "Extending a Tan",              n: "06", href: "/en/body/self-tan/extending-a-tan/" },
];

const PREP_APP_QUICK_FACTS = {
  defn: {
    h: "The prep window, plain English",
    body: "DHA deposits colour on the surface skin cells. Anything that disrupts those cells — exfoliation, shaving, dry patches, leftover barrier creams — disrupts where colour lands. The ideal surface is smooth, hydrated, free of product residue, and undisturbed for at least a few hours before application. Dry zones like elbows, knees, and ankles absorb more product than flat skin, so they need dilution, not extra product.",
  },
  myths: [
    { m: "Exfoliate the morning you apply.",
      t: "Exfoliating and applying on the same day leaves skin temporarily raw and more reactive. Do it twenty-four hours before — skin has time to settle, and the surface you're applying to is calmer." },
    { m: "More product = deeper colour.",
      t: "More product in one pass usually means more uneven colour. DHA works on surface chemistry, not volume. Thin, even layers develop more consistently than thick ones." },
    { m: "You can skip the mitt if you wash your hands straight after.",
      t: "By the time you wash, DHA has already begun reacting with palm skin. Always use a mitt for the body. Wash hands during, not after." },
  ],
};

const PREP_APP_BEGINNER_PATH = {
  h: "The prep timeline, step by step.",
  deck: "Read these in order before your first application. Around twenty minutes total. Most mistakes happen before the mitt even comes out.",
  steps: [
    { n: "01", t: "Exfoliation timing — when and how",                time: "4 min", note: "AHA, physical, or enzyme. The 24-hour rule and why it holds." },
    { n: "02", t: "Shaving and hair removal before self-tan",         time: "3 min", note: "Shave at least 24 hours before. Waxing, 48 hours minimum." },
    { n: "03", t: "Moisturising the dry zones — the right approach",  time: "4 min", note: "Elbows, knees, ankles, wrists. What to apply and when to apply it." },
    { n: "04", t: "The mitt: technique, pressure, and stroke direction", time: "5 min", note: "Long strokes, light pressure. How to handle the knees and ankles." },
    { n: "05", t: "Development time — what to do and not do",         time: "3 min", note: "Loose clothes, no sweat, no water. The wait that locks colour in." },
  ],
};

const PREP_APP_TRENDING = [
  { rank: "01", t: "When exactly to exfoliate before self-tan",           time: "4 min", auth: "Nelly", date: "May 2",  img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=1100&q=80&auto=format&fit=crop", reads: "11,340" },
  { rank: "02", t: "The mitt stroke order — how to not miss a patch",     time: "5 min", auth: "Nelly", date: "Apr 26", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=1100&q=80&auto=format&fit=crop", reads: "9,120" },
  { rank: "03", t: "How to prep knees, elbows, and ankles for self-tan",  time: "4 min", auth: "Iris",  date: "Apr 20", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=1100&q=80&auto=format&fit=crop", reads: "7,880" },
  { rank: "04", t: "What 'development time' actually means",              time: "3 min", auth: "Nelly", date: "Apr 15", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=1100&q=80&auto=format&fit=crop", reads: "6,234" },
  { rank: "05", t: "Can you apply self-tan over dry skin?",               time: "3 min", auth: "Iris",  date: "Apr 10", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=1100&q=80&auto=format&fit=crop", reads: "5,778" },
];

const PREP_APP_FORMAT_GUIDE = {
  h: "The prep sequence",
  deck: "What to do, and when. The order matters as much as the individual steps.",
  formats: [
    { name: "T-48 hrs",   when: "Wax or use depilatory",              avoid: "Shaving instead — leaves open follicles",             note: "Hair removal by wax or depilatory needs the most runway.",   verdict: "If waxing" },
    { name: "T-24 hrs",   when: "Exfoliate, shave, deep moisturise",  avoid: "Applying self-tan the same day as exfoliation",        note: "The core prep window. Exfoliate, shave, hydrate dry zones.", verdict: "Essential" },
    { name: "Day of AM",  when: "Light moisturiser on dry zones only", avoid: "Heavy occlusive oils, perfumed body lotions",          note: "Minimal product. No oils that sit on the surface.",          verdict: "Optional" },
    { name: "Day of PM",  when: "Apply self-tan with mitt",            avoid: "Over freshly showered damp skin (pat fully dry)",      note: "Dry skin, dry mitt, long even strokes.",                     verdict: "Application" },
    { name: "Post-apply", when: "Loose clothing, no exercise, no water", avoid: "Tight waistbands, socks, bra straps during development", note: "Any friction or moisture during development shifts colour.", verdict: "Development" },
  ],
};

const PREP_APP_HOWTOS = [
  { t: "Exfoliation timing before self-tan — the 24-hour rule",       time: 4, tech: "Prep",         auth: "Nelly", date: "May 2",  img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop",  kick: "Prep",       pick: true },
  { t: "The mitt stroke order — how to cover without missing",         time: 5, tech: "Technique",    auth: "Nelly", date: "Apr 26", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop",  kick: "Technique",  pick: true },
  { t: "Prepping knees, elbows, and ankles for self-tan",              time: 4, tech: "Prep",         auth: "Iris",  date: "Apr 20", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop",  kick: "Prep",       pick: true },
  { t: "What development time means — and how to not wreck it",        time: 3, tech: "Technique",    auth: "Nelly", date: "Apr 15", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop",  kick: "Technique",  pick: true },
  { t: "Can you apply self-tan over dry skin?",                        time: 3, tech: "Prep",         auth: "Iris",  date: "Apr 10", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=900&q=80&auto=format&fit=crop",  kick: "Essay",      pick: false },
  { t: "Shaving vs waxing before self-tan — the runway difference",    time: 3, tech: "Prep",         auth: "Nelly", date: "Apr 05", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop",  kick: "Prep",       pick: false },
  { t: "AHA vs physical exfoliant before self-tan",                    time: 5, tech: "Prep",         auth: "Iris",  date: "Apr 01", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop",  kick: "Ingredients", pick: false },
  { t: "The dry-barrier cream trick for joints",                       time: 4, tech: "Technique",    auth: "Nelly", date: "Mar 27", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop",  kick: "Technique",  pick: false },
  { t: "How to apply self-tan to the back alone",                      time: 4, tech: "Technique",    auth: "Iris",  date: "Mar 22", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop",  kick: "Technique",  pick: false },
  { t: "Patch testing: inside the wrist, 24 hours before",             time: 3, tech: "Prep",         auth: "Nelly", date: "Mar 18", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop",  kick: "Safety",     pick: false },
  { t: "Application over tattoos — what to expect",                    time: 3, tech: "Technique",    auth: "Iris",  date: "Mar 14", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop",  kick: "Essay",      pick: false },
  { t: "How to layer a second coat the next day",                      time: 4, tech: "Technique",    auth: "Nelly", date: "Mar 10", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop",  kick: "Technique",  pick: false },
];

const PREP_APP_TECH_FILTERS = ["All", "Prep", "Technique", "Ingredients", "Essay", "Safety"];

const PREP_APP_CROSSLINKS = [
  { id: "mousse-vs-lotion-vs-drops", title: "Mousse vs Lotion vs Drops",   deck: "Three formats, one DHA. How to pick the right delivery for your hands.",    count: 74, href: "/en/body/self-tan/mousse-vs-lotion-vs-drops/" },
  { id: "gradual-tan",               title: "Gradual Tan",                  deck: "Low-commitment colour that builds over days rather than hours.",             count: 52, href: "/en/body/self-tan/gradual-tan/" },
  { id: "streak-and-stain-fixes",    title: "Streak & Stain Fixes",         deck: "When prep wasn't enough — how to fix what went wrong.",                     count: 58, href: "/en/body/self-tan/streak-and-stain-fixes/" },
  { id: "face-and-body-mismatch",    title: "Face & Body Mismatch",         deck: "Matching face to body starts before the self-tan goes on.",                 count: 61, href: "/en/body/self-tan/face-and-body-mismatch/" },
];

Object.assign(window, {
  PREP_APP, PREP_APP_SIBLINGS, PREP_APP_QUICK_FACTS, PREP_APP_BEGINNER_PATH,
  PREP_APP_TRENDING, PREP_APP_FORMAT_GUIDE, PREP_APP_HOWTOS, PREP_APP_TECH_FILTERS, PREP_APP_CROSSLINKS,
});
