// Skin · Technique · Patch Testing — L3 data
// Visual skeleton must match the Oily prototype exactly. Vary copy, never layout.

const OILY = {
  type: "Patch Testing",
  parent: { title: "Technique", href: "/en/skin/technique/" },
  grandparent: { title: "Skin", href: "/en/skin/" },
  totalCount: 87,
  hero: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Small amount of product applied to inner arm for patch testing",
  h1: "Patch testing. The protocol most people skip.",
  deck: "The proper protocol, what failure looks like, when to skip it (rarely). Skipping patch testing saves three days. Finding out the hard way costs three weeks.",
  intro: "A patch test is not a precautionary ritual. It's a diagnostic tool. Apply a small amount of a new formula to a discrete skin site, wait 24 to 48 hours, observe. The test tells you whether a reaction is likely before you've committed the reaction to your entire face. Most people skip it because nothing has gone wrong before. It goes wrong eventually — and usually with a high-concentration active, a new fragrance, or a preservative that interacts with something already in the routine. Below is the complete library on patch testing: the correct protocol, what a positive result looks like, and the narrow circumstances when skipping it is acceptable.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 87, updated: "Updated 25 April 2026", reading: "Avg. 4 min per piece" },
};

const TYPE_SIBLINGS = [
  { id: "the-three-movements",    title: "The Three Movements",    n: "01", href: "/en/skin/technique/the-three-movements/" },
  { id: "two-finger-spf",         title: "Two-Finger SPF",         n: "02", href: "/en/skin/technique/two-finger-spf/" },
  { id: "double-cleanse",         title: "Double Cleanse",         n: "03", href: "/en/skin/technique/double-cleanse/" },
  { id: "temperature-in-skincare",title: "Temperature",            n: "04", href: "/en/skin/technique/temperature-in-skincare/" },
  { id: "patch-testing",          title: "Patch Testing",          n: "05", cur: true, href: "/en/skin/technique/patch-testing/" },
  { id: "the-forgotten-zones",    title: "The Forgotten Zones",    n: "06", href: "/en/skin/technique/the-forgotten-zones/" },
  { id: "four-minute-routine",    title: "Four-Minute Routine",    n: "07", href: "/en/skin/technique/four-minute-routine/" },
];

const QUICK_FACTS = {
  defn: {
    h: "What a patch test actually tells you",
    body: "A patch test is a small-scale exposure trial. You apply the product to a site that matches the intended use area in terms of skin type, without risking the whole face. The inner arm is the most common site, but the skin behind the ear more closely mirrors facial sensitivity. A 24-hour observation window catches most acute reactions; 48 hours catches delayed hypersensitivity. A negative result means nothing is visibly wrong at this dose and this site. It doesn't guarantee the formula is fine forever — it means the first trial passed.",
  },
  myths: [
    { m: "Patch testing is only for people with sensitive skin.",
      t: "Any skin type can react to any formula. High-concentration actives, new preservatives, and certain fragrances trigger reactions across all skin types. Sensitivity history reduces the probability, not the possibility." },
    { m: "If a product has 'natural' ingredients, you don't need to patch test.",
      t: "Natural ingredients include some of the highest-frequency allergens in personal care: essential oils, botanical extracts, beeswax. 'Natural' is not a safety proxy." },
    { m: "The inner arm is the best test site.",
      t: "The inner arm is convenient, not optimal. Skin behind the ear or along the jawline more closely matches facial skin sensitivity. For eye products, test the inner eyelid fold." },
  ],
};

const BEGINNER_PATH = {
  h: "Start here, if patch testing is new to you.",
  deck: "Five pieces, in order. Under twenty minutes. The protocol is simple — the discipline is the hard part.",
  steps: [
    { n: "01", t: "The patch test protocol — step by step",               time: "3 min", note: "Where, how much, how long, and what you're looking for." },
    { n: "02", t: "What a positive reaction looks like",                   time: "3 min", note: "Redness, itching, papules — and the difference between reaction and purging." },
    { n: "03", t: "Which products most warrant patch testing",             time: "4 min", note: "High-concentration acids, new fragrances, essential oils, and preservatives." },
    { n: "04", t: "The test site question — inner arm vs behind the ear", time: "3 min", note: "Why location matters more than most guides acknowledge." },
    { n: "05", t: "After a failed patch test — what to do",               time: "4 min", note: "How to identify the ingredient, document the result, and inform your routine." },
  ],
};

const TRENDING = [
  { rank: "01", t: "The patch test protocol — done correctly",             time: "3 min", auth: "Nelly", date: "Apr 23", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=1100&q=80&auto=format&fit=crop", reads: "13,407" },
  { rank: "02", t: "What a skin reaction looks like vs irritation",        time: "4 min", auth: "Nelly", date: "Apr 18", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", reads: "9,118" },
  { rank: "03", t: "The worst products to skip the patch test for",        time: "4 min", auth: "Iris",  date: "Apr 12", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", reads: "7,602" },
  { rank: "04", t: "Natural skincare and patch testing — why it's not optional", time: "3 min", auth: "Nelly", date: "Apr 06", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", reads: "6,204" },
  { rank: "05", t: "Reading ingredient lists for allergen risk",            time: "5 min", auth: "Iris",  date: "Mar 30", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", reads: "5,412" },
];

const FORMAT_GUIDE = {
  h: "Variations, by use case",
  deck: "The protocol adjusts by product type and risk level. Here's what changes, and what stays the same.",
  formats: [
    { name: "Standard patch test",  when: "New moisturiser, toner, cleanser",                  avoid: "Nothing — this is the baseline for any new product",  note: "Inner arm or behind ear. Small amount. 24 hours. Observe.",                                         verdict: "★ Default" },
    { name: "Extended test (48hr)", when: "New active serum, retinol, high-concentration acid", avoid: "Reapplying over any existing redness",                 note: "48 hours catches delayed hypersensitivity that 24-hour tests miss.",                                verdict: "Actives" },
    { name: "Ear-site test",        when: "Any product intended for the face",                  avoid: "Earrings worn during test period",                     note: "The skin behind the ear more closely mirrors facial sensitivity than the inner arm.",             verdict: "More accurate" },
    { name: "Eye-area test",        when: "Eye cream, eye serum, concealer",                    avoid: "Test on the eyelid itself",                            note: "Test on the inner fold of the eyelid — the skin is sensitive but accessible.",                  verdict: "Eye products" },
    { name: "Legitimate skip",      when: "Previously tested formula, minor reformulation",     avoid: "Fragrance-forward or preservative-rich products",      note: "Acceptable only when you have prior history with that specific formula. Not as a category rule.", verdict: "Narrow exception" },
    { name: "Reaction documentation", when: "After any positive result",                       avoid: "Continuing to use the product during documentation",   note: "Photograph the site. Note timing and appearance. Cross-reference the ingredient list.",          verdict: "Post-test" },
  ],
};

const HOWTOS = [
  { t: "The patch test protocol — done correctly",             time: 3, tech: "Protocol",     auth: "Nelly", date: "Apr 23", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: true },
  { t: "Reaction vs irritation — what you're seeing",         time: 4, tech: "Diagnostic",   auth: "Nelly", date: "Apr 18", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Diagnostic", pick: true },
  { t: "Worst products to skip patch testing for",             time: 4, tech: "Risk",         auth: "Iris",  date: "Apr 12", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: true },
  { t: "Natural skincare — patch testing still applies",       time: 3, tech: "Essay",        auth: "Nelly", date: "Apr 06", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Reading ingredients for allergen risk",                time: 5, tech: "Ingredients",  auth: "Iris",  date: "Mar 30", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: true },
  { t: "What to do after a failed patch test",                 time: 4, tech: "Protocol",     auth: "Nelly", date: "Mar 24", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
  { t: "The inner arm vs behind the ear — test site comparison", time: 3, tech: "Protocol",  auth: "Iris",  date: "Mar 18", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Patch testing eye creams",                             time: 3, tech: "Protocol",     auth: "Nelly", date: "Mar 12", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Fragrances and sensitisation — what to know",          time: 5, tech: "Ingredients",  auth: "Iris",  date: "Mar 06", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "How to document a patch test result",                  time: 3, tech: "Protocol",     auth: "Nelly", date: "Feb 28", img: "https://images.unsplash.com/photo-1601049541289-9b1b7bbbfe19?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "The difference between purging and reaction",          time: 5, tech: "Diagnostic",   auth: "Iris",  date: "Feb 22", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop", kick: "Diagnostic", pick: false },
  { t: "Patch testing a new routine — where to start",         time: 4, tech: "Routine",      auth: "Nelly", date: "Feb 16", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "Preservatives — the underappreciated reaction trigger", time: 5, tech: "Ingredients", auth: "Iris",  date: "Feb 10", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "Essential oils in skincare — patch testing is mandatory", time: 3, tech: "Risk",      auth: "Nelly", date: "Feb 04", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "When redness is normal and when it isn't",              time: 3, tech: "Diagnostic",  auth: "Iris",  date: "Jan 29", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", kick: "Diagnostic", pick: false },
  { t: "How to introduce a new active with a patch test",       time: 4, tech: "Protocol",    auth: "Nelly", date: "Jan 23", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Niacinamide reactions — a patch test case study",       time: 4, tech: "Ingredients", auth: "Iris",  date: "Jan 17", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "Retinol — how and where to patch test",                 time: 3, tech: "Protocol",    auth: "Nelly", date: "Jan 11", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Reformulations and patch testing — the new product question", time: 3, tech: "Essay", auth: "Iris",  date: "Jan 05", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "Building a skin-reaction journal",                      time: 4, tech: "Routine",     auth: "Nelly", date: "Dec 30", img: "https://images.unsplash.com/photo-1601049541289-9b1b7bbbfe19?w=900&q=80&auto=format&fit=crop", kick: "Routine", pick: false },
  { t: "AHAs — how long to patch test",                         time: 3, tech: "Protocol",    auth: "Iris",  date: "Dec 24", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "Vitamin C serums and patch testing",                    time: 3, tech: "Protocol",    auth: "Nelly", date: "Dec 18", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
  { t: "What happens if you skip the patch test",               time: 4, tech: "Risk",        auth: "Iris",  date: "Dec 12", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Essay", pick: false },
  { t: "The 72-hour test — for high-risk formulas",             time: 3, tech: "Protocol",    auth: "Nelly", date: "Dec 06", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop", kick: "Technique", pick: false },
];

const TECH_FILTERS = ["All", "Protocol", "Diagnostic", "Risk", "Ingredients", "Essay", "Routine", "Troubleshoot"];

const TYPE_CROSSLINKS = [
  { id: "the-three-movements",    title: "The Three Movements",  deck: "Press, not rub. The mechanics that change how every product performs.",  count: 143, href: "/en/skin/technique/the-three-movements/" },
  { id: "double-cleanse",         title: "Double Cleanse",       deck: "Oil first, water second. When it's worth it, when it isn't.",            count: 112, href: "/en/skin/technique/double-cleanse/" },
  { id: "two-finger-spf",         title: "Two-Finger SPF",       deck: "The quarter-teaspoon weight. Most people apply a quarter of that.",      count: 98,  href: "/en/skin/technique/two-finger-spf/" },
  { id: "four-minute-routine",    title: "Four-Minute Routine",  deck: "The minimum-time routine that still works.",                             count: 134, href: "/en/skin/technique/four-minute-routine/" },
];

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