// Nails · Manicure · Plate Prep — L3 data

const OILY = {
  type: "Plate Prep",
  parent: { title: "Manicure", href: "/en/nails/manicure/" },
  grandparent: { title: "Nails", href: "/en/nails/" },
  totalCount: 62,
  hero: "https://images.unsplash.com/photo-1599948128020-9a44505b0d1b?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Nail plate preparation — clean surface before polish application",
  h1: "Why prep is where longevity is decided.",
  deck: "Dehydrating, buffing, and removing every trace of oil from the nail plate. The steps most people skip — and the reason most manicures lift within two days.",
  intro: "Polish does not fail because of the polish. It fails because of what was on the nail plate before the polish went on. Body oils, hand cream residue, and even the moisture left behind by a water soak are enough to break the bond between nail and base coat. Dehydrating the plate is not optional for a manicure that lasts. Nor is buffing — but buffing correctly, which means scuffing the surface just enough to give the base coat something to grip, not removing the entire surface layer. The sequence is fixed: shape first, then buff, then dehydrate, then apply. Change the order and you change the outcome.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 62, updated: "Updated May 2026", reading: "Avg. 4 min per piece" },
};

const TYPE_SIBLINGS = [
  { id: "filing",          title: "Filing & Shape",    n: "01", href: "/en/nails/manicure/filing/" },
  { id: "plate-prep",      title: "Plate Prep",        n: "02", cur: true, href: "/en/nails/manicure/plate-prep/" },
  { id: "base-color-top",  title: "Base, Colour & Top", n: "03", href: "/en/nails/manicure/base-color-top/" },
  { id: "cleanup",         title: "Clean Edges",       n: "04", href: "/en/nails/manicure/cleanup/" },
  { id: "dry-time",        title: "Dry Time",          n: "05", href: "/en/nails/manicure/dry-time/" },
];

const QUICK_FACTS = {
  defn: {
    h: "What plate prep actually does",
    body: "Plate prep is the process of removing oils, moisture, and surface debris from the nail plate before any product is applied. Oil repels water-based and solvent-based products equally. A base coat applied over even a trace of hand cream will begin lifting at the free edge within 48 hours. Prep breaks that surface tension, gives the base coat a clean, slightly textured surface to adhere to, and is the single most reliable predictor of wear time.",
  },
  myths: [
    { m: "Soaking nails before a manicure softens the cuticle and helps polish last.",
      t: "Water causes the nail plate to expand temporarily. Polish applied over a hydrated nail dries onto a surface that then contracts, which causes lifting. Dry manicures last longer than wet ones." },
    { m: "A dehydrator and a primer are the same thing.",
      t: "A dehydrator removes oil and surface moisture. A primer chemically bonds to the nail plate and creates an adhesive layer for gel or acrylic. For regular polish, dehydrator is sufficient. Primer is for enhancement products." },
    { m: "Buffing the nail surface weakens it.",
      t: "Buffing with a high-grit buffer (220+) scuffs the surface enough to increase adhesion without thinning the plate. Over-buffing with low-grit files does remove material. Technique and grit determine outcome." },
  ],
};

const BEGINNER_PATH = {
  h: "Start here, if prep is new to you.",
  deck: "Five pieces, in the order you'd perform them. Understanding each one changes how you read a manicure that's lifting or peeling.",
  steps: [
    { n: "01", t: "Why dry manicures outlast wet ones",                  time: "3 min", note: "The case against soaking, and what to do with the cuticle instead." },
    { n: "02", t: "How to use a nail dehydrator",                        time: "3 min", note: "What it is, how to apply it, and why it evaporates in seconds." },
    { n: "03", t: "Buffing for adhesion — grit and technique",           time: "4 min", note: "The difference between surface texture and plate damage." },
    { n: "04", t: "Removing hand cream and oil before polish",           time: "3 min", note: "Acetone wipe, dehydrator wipe — what each does differently." },
    { n: "05", t: "The prep sequence — order and timing",                time: "4 min", note: "Shape, buff, dehydrate, apply. Why the order is fixed." },
  ],
};

const TRENDING = [
  { rank: "01", t: "Why your manicure lifts in two days — the prep answer", time: "4 min", auth: "Nelly", date: "May 02", img: "https://images.unsplash.com/photo-1599948128020-9a44505b0d1b?w=1100&q=80&auto=format&fit=crop", reads: "8,441" },
  { rank: "02", t: "Dry manicure vs wet manicure — the longevity difference", time: "3 min", auth: "Iris",  date: "Apr 27", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=1100&q=80&auto=format&fit=crop", reads: "6,904" },
  { rank: "03", t: "Nail dehydrator — what it does and when to use it",    time: "3 min", auth: "Nelly", date: "Apr 21", img: "https://images.unsplash.com/photo-1604654894610-df63bc536371?w=1100&q=80&auto=format&fit=crop", reads: "5,712" },
  { rank: "04", t: "Buffing for adhesion — the right grit and motion",    time: "4 min", auth: "Iris",  date: "Apr 14", img: "https://images.unsplash.com/photo-1608248597279-f99d160bfcbc?w=1100&q=80&auto=format&fit=crop", reads: "4,989" },
  { rank: "05", t: "The acetone wipe — when it's enough and when it isn't", time: "3 min", auth: "Nelly", date: "Apr 08", img: "https://images.unsplash.com/photo-1604902396830-aca29e19b067?w=1100&q=80&auto=format&fit=crop", reads: "4,103" },
];

const FORMAT_GUIDE = {
  h: "Prep product, by purpose",
  deck: "Each prep product does one specific thing. Using the wrong one, or skipping one, produces a predictable failure. These are categories, not brands.",
  formats: [
    { name: "Acetone wipe",      when: "First pass to remove polish residue, oils, or product buildup", avoid: "As the only prep step — it removes gross contamination but not surface moisture", note: "Use a lint-free pad with 100% acetone. Cotton balls leave fibres.", verdict: "First pass only" },
    { name: "Nail dehydrator",   when: "After acetone wipe, before any base coat or gel",               avoid: "On damaged or extremely thin plates without conditioning first", note: "Evaporates in 20–30 seconds. Apply and wait. Do not wipe off.", verdict: "Required step" },
    { name: "pH bond / primer",  when: "Under gel, acrylic, or when plates have chronic lifting",       avoid: "Under regular nail polish — unnecessary and can inhibit bond", note: "Chemically bonds to the nail plate. Different mechanism to a dehydrator.", verdict: "Enhancement use" },
    { name: "Buffing block (220+)", when: "After dehydrator evaporates, final prep step",              avoid: "Buffing over existing product or an unprepared plate", note: "Light passes only. You are scuffing, not smoothing. Stop when the shine is gone.", verdict: "Adhesion step" },
    { name: "Cuticle remover",   when: "Before any prep, to soften and push back overgrown cuticle",   avoid: "On raw or recently bitten cuticle skin",                  note: "Remove product fully before moving to dehydrator.", verdict: "Pre-prep only" },
    { name: "Nail cleanser",     when: "Gel system-specific alternative to acetone wipe",              avoid: "As a substitute for dehydrator",                          note: "Alcohol-based. Some gel systems require their own brand. Check manufacturer.", verdict: "Gel-specific" },
  ],
};

const HOWTOS = [
  { t: "Why your manicure lifts — the prep diagnosis",             time: 4, tech: "Troubleshoot", auth: "Nelly", date: "May 02", img: "https://images.unsplash.com/photo-1599948128020-9a44505b0d1b?w=900&q=80&auto=format&fit=crop",  kick: "Troubleshoot", pick: true },
  { t: "Dry manicure vs wet — longevity compared",                 time: 3, tech: "Technique",    auth: "Iris",  date: "Apr 27", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop",  kick: "Technique",    pick: true },
  { t: "How to use a nail dehydrator — the right way",             time: 3, tech: "Products",     auth: "Nelly", date: "Apr 21", img: "https://images.unsplash.com/photo-1604654894610-df63bc536371?w=900&q=80&auto=format&fit=crop",  kick: "Products",     pick: true },
  { t: "Buffing for adhesion — grit, motion, and pressure",        time: 4, tech: "Technique",    auth: "Iris",  date: "Apr 14", img: "https://images.unsplash.com/photo-1608248597279-f99d160bfcbc?w=900&q=80&auto=format&fit=crop",  kick: "Technique",    pick: true },
  { t: "The acetone wipe — what it removes and what it doesn't",   time: 3, tech: "Products",     auth: "Nelly", date: "Apr 08", img: "https://images.unsplash.com/photo-1604902396830-aca29e19b067?w=900&q=80&auto=format&fit=crop",  kick: "Products",     pick: true },
  { t: "The prep sequence — order and why it's fixed",             time: 4, tech: "Routine",      auth: "Nelly", date: "Apr 03", img: "https://images.unsplash.com/photo-1599948128020-9a44505b0d1b?w=900&q=80&auto=format&fit=crop",  kick: "Routine",      pick: false },
  { t: "Cuticle work before polish — what actually matters",       time: 4, tech: "Technique",    auth: "Iris",  date: "Mar 29", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop",  kick: "Technique",    pick: false },
  { t: "Dehydrator vs primer — different tools, different jobs",   time: 3, tech: "Products",     auth: "Nelly", date: "Mar 24", img: "https://images.unsplash.com/photo-1604654894610-df63bc536371?w=900&q=80&auto=format&fit=crop",  kick: "Products",     pick: false },
  { t: "What hand cream does to your manicure",                    time: 3, tech: "Troubleshoot", auth: "Iris",  date: "Mar 19", img: "https://images.unsplash.com/photo-1608248597279-f99d160bfcbc?w=900&q=80&auto=format&fit=crop",  kick: "Troubleshoot", pick: false },
  { t: "Over-buffing — signs you've thinned the plate",            time: 3, tech: "Troubleshoot", auth: "Nelly", date: "Mar 14", img: "https://images.unsplash.com/photo-1604902396830-aca29e19b067?w=900&q=80&auto=format&fit=crop",  kick: "Troubleshoot", pick: false },
  { t: "Prep for gel manicure vs regular polish — the differences", time: 5, tech: "Routine",    auth: "Nelly", date: "Mar 09", img: "https://images.unsplash.com/photo-1599948128020-9a44505b0d1b?w=900&q=80&auto=format&fit=crop",  kick: "Routine",      pick: false },
  { t: "Lint-free pads vs cotton — why it matters for prep",       time: 3, tech: "Products",    auth: "Iris",  date: "Mar 04", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop",  kick: "Products",     pick: false },
  { t: "Pushing back the cuticle — tools and technique",           time: 4, tech: "Technique",   auth: "Nelly", date: "Feb 28", img: "https://images.unsplash.com/photo-1604654894610-df63bc536371?w=900&q=80&auto=format&fit=crop",  kick: "Technique",    pick: false },
  { t: "How long to wait after dehydrator before base coat",       time: 3, tech: "Routine",     auth: "Iris",  date: "Feb 23", img: "https://images.unsplash.com/photo-1608248597279-f99d160bfcbc?w=900&q=80&auto=format&fit=crop",  kick: "Routine",      pick: false },
  { t: "Prep for nails that chronically lift at the edges",        time: 5, tech: "Troubleshoot", auth: "Nelly", date: "Feb 18", img: "https://images.unsplash.com/photo-1604902396830-aca29e19b067?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
  { t: "pH bond — what it is and when you actually need it",       time: 4, tech: "Products",    auth: "Iris",  date: "Feb 13", img: "https://images.unsplash.com/photo-1599948128020-9a44505b0d1b?w=900&q=80&auto=format&fit=crop",  kick: "Products",     pick: false },
  { t: "The prep essay — why most manicures fail before they start", time: 5, tech: "Essay",     auth: "Nelly", date: "Feb 08", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop",  kick: "Essay",        pick: false },
  { t: "Prep products that are worth buying vs skipping",          time: 4, tech: "Products",    auth: "Nelly", date: "Feb 03", img: "https://images.unsplash.com/photo-1604654894610-df63bc536371?w=900&q=80&auto=format&fit=crop",  kick: "Products",     pick: false },
  { t: "Surface texture after buffing — what it should look and feel like", time: 3, tech: "Technique", auth: "Iris", date: "Jan 29", img: "https://images.unsplash.com/photo-1608248597279-f99d160bfcbc?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Prep shortcuts that actually hold — and ones that don't",  time: 4, tech: "Routine",    auth: "Nelly", date: "Jan 24", img: "https://images.unsplash.com/photo-1604902396830-aca29e19b067?w=900&q=80&auto=format&fit=crop",  kick: "Routine",      pick: false },
];

const TECH_FILTERS = ["All", "Technique", "Products", "Routine", "Troubleshoot", "Essay"];

const TYPE_CROSSLINKS = [
  { id: "filing",        title: "Filing & Shape",     deck: "Shape the free edge before anything else lands on the plate.", count: 78, href: "/en/nails/manicure/filing/" },
  { id: "base-color-top", title: "Base, Colour & Top", deck: "The correct sequence once the plate is clean and ready.",    count: 91, href: "/en/nails/manicure/base-color-top/" },
  { id: "cleanup",       title: "Clean Edges",        deck: "Brush, acetone, cotton bud — perfecting after colour.",       count: 54, href: "/en/nails/manicure/cleanup/" },
  { id: "dry-time",      title: "Dry Time",           deck: "How long polish actually takes and how not to dent it.",      count: 47, href: "/en/nails/manicure/dry-time/" },
];

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