// Nails · Strengthening · Filing Damage — L3 data
// Visual skeleton must match the Dewy prototype exactly. Vary content, never layout.

const OILY = {
  type: "Filing Damage",
  parent: { title: "Strengthening", href: "/en/nails/strengthening/" },
  grandparent: { title: "Nails", href: "/en/nails/" },
  totalCount: 87,
  hero: "https://images.unsplash.com/photo-1604654894610-df63bc536371?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Close-up of hands filing nails with a fine-grit emery board",
  h1: "What filing does to the nail plate — and how to undo it.",
  deck: "Grit levels, direction, pressure, recovery. The full picture on how filing affects the surface layer — and what to do when it already has.",
  intro: "Most nail damage from filing isn't from filing at all. It's from the wrong grit, the wrong direction, and too much pressure repeated over time. The nail plate is a stack of keratin layers. Aggressive filing strips those layers faster than they can rebuild. What's left is a surface that bends where it should hold, peels where it should flex, and catches where it should slide. The fix isn't a treatment product first — it's a technique correction. Drop to a finer grit, file in one direction only, and stop before the plate starts to warm under the tool. Below is the full library: how grit ratings map to real-world surface damage, which shapes require more edge passes, how long the plate needs between filing sessions to recover, and what signs tell you the recovery is actually happening.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 87, updated: "Updated 1 May 2026", reading: "Avg. 4 min per piece" },
};

const TYPE_SIBLINGS = [
  { id: "filing-damage",        title: "Filing Damage",        n: "01", cur: true,  href: "/en/nails/strengthening/filing-damage/" },
  { id: "nail-hydration",       title: "Nail Hydration",       n: "02",             href: "/en/nails/strengthening/nail-hydration/" },
  { id: "base-coat-protection", title: "Base Coat Protection", n: "03",             href: "/en/nails/strengthening/base-coat-protection/" },
  { id: "post-gel-reset",       title: "Post-Gel Reset",       n: "04",             href: "/en/nails/strengthening/post-gel-reset/" },
  { id: "oil-routine",          title: "Oil Routine",          n: "05",             href: "/en/nails/strengthening/oil-routine/" },
];

const QUICK_FACTS = {
  defn: {
    h: "What filing actually does to the nail plate",
    body: "The nail plate is built from flat, overlapping keratin layers — similar in structure to roof tiles. A file drags against those layers at an angle. Fine grits (240+) smooth the edge without disturbing the surface. Coarse grits (80–100) can lift and separate the upper layers in a single pass. The damage doesn't always show immediately. Peeling and splitting appear days later, once the plate dries and the lifted layers separate. Technique matters as much as grit: back-and-forth sawing creates heat that weakens the plate regardless of grit number.",
  },
  myths: [
    { m: "A coarser file shapes faster, so it's more efficient.",
      t: "Coarser files remove material aggressively, but they also strip surface layers that take weeks to grow back. A 180-grit file shapes in slightly more passes with zero surface cost." },
    { m: "You can buff away filing damage.",
      t: "Buffing removes the thinned surface layer — but buffing a plate that's already been over-filed leaves it thinner still. Recovery comes from time and oil, not from more abrasion." },
    { m: "Filing back and forth is fine if you're gentle.",
      t: "Direction matters more than pressure. Back-and-forth motion creates friction heat that weakens the keratin bond. One direction, toward the centre, is the only approach that avoids this." },
  ],
};

const BEGINNER_PATH = {
  h: "Start here, if filing damage is new to you.",
  deck: "Five pieces, in order. About eighteen minutes of reading. Enough to understand what went wrong and how to stop it happening again.",
  steps: [
    { n: "01", t: "Grit numbers explained — what they mean for your nails",    time: "3 min", note: "How the abrasive scale works and which grit does which job." },
    { n: "02", t: "One direction only — why it changes everything",              time: "3 min", note: "The friction-heat argument and how to retrain the habit." },
    { n: "03", t: "Shapes that require more edge passes",                        time: "4 min", note: "Stiletto and almond shapes file more aggressively — what that means for technique." },
    { n: "04", t: "How long the plate takes to recover after over-filing",       time: "4 min", note: "The growth timeline and what you can see week by week." },
    { n: "05", t: "Reading the plate — signs the recovery is working",           time: "4 min", note: "Texture, flex, and edge behaviour as useful signals." },
  ],
};

const TRENDING = [
  { rank: "01", t: "Grit guide: which file for which job",                       time: "4 min", auth: "Nelly", date: "Apr 28", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=1100&q=80&auto=format&fit=crop", reads: "9,440" },
  { rank: "02", t: "One-direction filing — the method and the reason",           time: "3 min", auth: "Iris",  date: "Apr 24", img: "https://images.unsplash.com/photo-1604654894610-df63bc536371?w=1100&q=80&auto=format&fit=crop", reads: "8,102" },
  { rank: "03", t: "Why nails peel after reshaping and how to stop it",          time: "4 min", auth: "Nelly", date: "Apr 19", img: "https://images.unsplash.com/photo-1599948128020-9a44505b0d1b?w=1100&q=80&auto=format&fit=crop", reads: "6,874" },
  { rank: "04", t: "Heat from filing — what it means and how to avoid it",       time: "3 min", auth: "Nelly", date: "Apr 14", img: "https://images.unsplash.com/photo-1608248597279-f99d160bfcbc?w=1100&q=80&auto=format&fit=crop", reads: "5,930" },
  { rank: "05", t: "How often should you file — the recovery window",            time: "3 min", auth: "Iris",  date: "Apr 09", img: "https://images.unsplash.com/photo-1604902396830-aca29e19b067?w=1100&q=80&auto=format&fit=crop", reads: "4,788" },
];

const FORMAT_GUIDE = {
  h: "Grit level, by use case",
  deck: "What each grit number does to the plate surface — and when it belongs in your kit.",
  formats: [
    { name: "80–100 grit",  when: "Removing acrylic or hard gel product only",               avoid: "Natural nail plate — ever",                      note: "Extremely coarse. Will thin and strip the natural plate in a single pass.", verdict: "Product removal only" },
    { name: "150–180 grit", when: "Initial shaping of natural nails, first edge passes",     avoid: "Already thin or damaged plates",                 note: "Working grit. Fast enough to shape, fine enough not to lift surface layers on healthy nails.", verdict: "Standard shaping" },
    { name: "220–240 grit", when: "Refinement after shaping, smoothing rough edges",         avoid: "Using as the first tool when plate is peeling",  note: "Finishing grit. Correct choice for most natural nail maintenance.", verdict: "Recommended default" },
    { name: "280–320 grit", when: "Surface smoothing on a recovering plate, final passes",   avoid: "When the plate surface is already very smooth",  note: "Very fine. Polishes rather than files. Useful in recovery phases.", verdict: "Recovery phase" },
    { name: "Glass file",   when: "All natural nail maintenance, every session",              avoid: "Gel or acrylic product removal",                 note: "Seals the edge as it files. The single best tool for avoiding edge splitting.", verdict: "Best long-term" },
    { name: "Buffer block", when: "Surface smoothing between gel applications",               avoid: "Over-filed or thin plates — stop before warming", note: "Not for shaping. For surface only. Too much pressure thins the plate quickly.", verdict: "Use with caution" },
  ],
};

const HOWTOS = [
  { t: "Grit guide: 80 to 400 and what each number does",                    time: 4, tech: "Grit",       auth: "Nelly", date: "Apr 28", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop", kick: "Grit",       pick: true },
  { t: "One-direction filing — the method and the reason",                   time: 3, tech: "Technique",  auth: "Nelly", date: "Apr 24", img: "https://images.unsplash.com/photo-1604654894610-df63bc536371?w=900&q=80&auto=format&fit=crop", kick: "Technique",  pick: true },
  { t: "Why nails peel after reshaping and how to stop it",                  time: 4, tech: "Troubleshoot", auth: "Iris", date: "Apr 19", img: "https://images.unsplash.com/photo-1599948128020-9a44505b0d1b?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: true },
  { t: "Glass file vs emery board — the edge difference",                    time: 3, tech: "Format",     auth: "Nelly", date: "Apr 14", img: "https://images.unsplash.com/photo-1608248597279-f99d160bfcbc?w=900&q=80&auto=format&fit=crop", kick: "Format",     pick: true },
  { t: "The recovery timeline: what happens week by week after over-filing", time: 5, tech: "Recovery",   auth: "Nelly", date: "Apr 09", img: "https://images.unsplash.com/photo-1604902396830-aca29e19b067?w=900&q=80&auto=format&fit=crop", kick: "Recovery",   pick: true },
  { t: "How heat from filing damages the plate",                             time: 3, tech: "Technique",  auth: "Iris",  date: "Apr 04", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop", kick: "Technique",  pick: false },
  { t: "Shapes that require the most edge passes",                           time: 4, tech: "Shape",      auth: "Nelly", date: "Mar 30", img: "https://images.unsplash.com/photo-1604654894610-df63bc536371?w=900&q=80&auto=format&fit=crop", kick: "Shape",      pick: false },
  { t: "Should you file wet or dry nails",                                   time: 3, tech: "Technique",  auth: "Iris",  date: "Mar 25", img: "https://images.unsplash.com/photo-1599948128020-9a44505b0d1b?w=900&q=80&auto=format&fit=crop", kick: "Technique",  pick: false },
  { t: "Buffing after filing — when it helps and when it thins",             time: 4, tech: "Grit",       auth: "Nelly", date: "Mar 20", img: "https://images.unsplash.com/photo-1608248597279-f99d160bfcbc?w=900&q=80&auto=format&fit=crop", kick: "Grit",       pick: false },
  { t: "Square vs oval: which shape stresses the edge less",                 time: 3, tech: "Shape",      auth: "Iris",  date: "Mar 15", img: "https://images.unsplash.com/photo-1604902396830-aca29e19b067?w=900&q=80&auto=format&fit=crop", kick: "Shape",      pick: false },
  { t: "Reading the plate — six signals that recovery is working",           time: 4, tech: "Recovery",   auth: "Nelly", date: "Mar 10", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop", kick: "Recovery",   pick: false },
  { t: "How often to file — the session spacing that avoids re-damage",      time: 3, tech: "Routine",    auth: "Iris",  date: "Mar 05", img: "https://images.unsplash.com/photo-1604654894610-df63bc536371?w=900&q=80&auto=format&fit=crop", kick: "Routine",    pick: false },
  { t: "Filing the free edge without touching the plate surface",            time: 3, tech: "Technique",  auth: "Nelly", date: "Feb 28", img: "https://images.unsplash.com/photo-1599948128020-9a44505b0d1b?w=900&q=80&auto=format&fit=crop", kick: "Technique",  pick: false },
  { t: "What a severely over-filed plate needs — the long route back",       time: 5, tech: "Recovery",   auth: "Nelly", date: "Feb 23", img: "https://images.unsplash.com/photo-1608248597279-f99d160bfcbc?w=900&q=80&auto=format&fit=crop", kick: "Recovery",   pick: false },
  { t: "Why nail files wear out — and when to replace them",                 time: 3, tech: "Format",     auth: "Iris",  date: "Feb 18", img: "https://images.unsplash.com/photo-1604902396830-aca29e19b067?w=900&q=80&auto=format&fit=crop", kick: "Format",     pick: false },
  { t: "Salon filing vs at-home filing — the risk difference",               time: 4, tech: "Essay",      auth: "Nelly", date: "Feb 13", img: "https://images.unsplash.com/photo-1522337660859-02fbefca4702?w=900&q=80&auto=format&fit=crop", kick: "Essay",      pick: false },
  { t: "Oil use during recovery from filing damage",                         time: 3, tech: "Recovery",   auth: "Iris",  date: "Feb 08", img: "https://images.unsplash.com/photo-1604654894610-df63bc536371?w=900&q=80&auto=format&fit=crop", kick: "Recovery",   pick: false },
  { t: "The filing angle — how the tool's tilt changes the cut",             time: 3, tech: "Technique",  auth: "Nelly", date: "Feb 03", img: "https://images.unsplash.com/photo-1599948128020-9a44505b0d1b?w=900&q=80&auto=format&fit=crop", kick: "Technique",  pick: false },
  { t: "Nail shape maintenance without over-filing",                         time: 4, tech: "Routine",    auth: "Iris",  date: "Jan 29", img: "https://images.unsplash.com/photo-1608248597279-f99d160bfcbc?w=900&q=80&auto=format&fit=crop", kick: "Routine",    pick: false },
  { t: "The filing damage essay — why the wrong tool ruins the whole regime", time: 6, tech: "Essay",     auth: "Nelly", date: "Jan 24", img: "https://images.unsplash.com/photo-1604902396830-aca29e19b067?w=900&q=80&auto=format&fit=crop", kick: "Essay",      pick: false },
];

const TECH_FILTERS = ["All", "Grit", "Technique", "Shape", "Recovery", "Routine", "Format", "Essay", "Troubleshoot"];

const TYPE_CROSSLINKS = [
  { id: "nail-hydration",       title: "Nail Hydration",       deck: "Oil's role in flexibility and moisture balance.",            count: 94,  href: "/en/nails/strengthening/nail-hydration/" },
  { id: "base-coat-protection", title: "Base Coat Protection", deck: "Why base coat preserves plate chemistry.",                   count: 78,  href: "/en/nails/strengthening/base-coat-protection/" },
  { id: "post-gel-reset",       title: "Post-Gel Reset",       deck: "The 6-week recovery sequence after gel removal.",           count: 82,  href: "/en/nails/strengthening/post-gel-reset/" },
  { id: "oil-routine",          title: "Oil Routine",          deck: "Jojoba, cuticle oil, and why frequency beats quantity.",    count: 91,  href: "/en/nails/strengthening/oil-routine/" },
];

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