// Skin · Skin Concern · Sun Spots — L3 data
// Visual skeleton must match the Oily prototype exactly. Vary copy, never layout.

const OILY = {
  type: "Sun spots",
  parent: { title: "Skin Concern", href: "/en/skin/skin-concern/" },
  grandparent: { title: "Skin", href: "/en/skin/" },
  totalCount: 143,
  hero: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=1800&q=80&auto=format&fit=crop",
  heroAlt: "Skin in warm sunlight — freckle and photo-spot study",
  h1: "How to fade sun spots.",
  deck: "Cosmetic photo-aging spots, freckle-like clusters, and décolletage marks. Sunscreen as the primary lever. The brightening pair. What products can and can't do.",
  intro: "Sun spots fade slowly or not at all. Honest framing first: managing them is a multi-month project, and the only real prevention is the SPF you wear today. The spots that are already there — the flat, tan-to-brown patches driven by cumulative UV exposure — respond to a combination of ingredients that slow melanin production (tranexamic acid, azelaic acid, niacinamide) and gentle exfoliation that speeds surface turnover. The results are real but incremental. Without consistent, daily SPF, any progress stalls. With it, the brightening pair can make a visible difference in three to six months. Below is the full library — what sun spots are, which approaches work, and what the realistic outcome looks like.",
  byline: "Edited by Nelly · Beauty & Style Director",
  meta: { count: 143, updated: "Updated 28 April 2026", reading: "Avg. 5 min per piece" },
};

// Skin-concern sibling rail — 7 siblings under /en/skin/skin-concern/
const TYPE_SIBLINGS = [
  { id: "dehydration",    title: "Dehydration",    n: "01", href: "/en/skin/skin-concern/dehydration/" },
  { id: "dullness",       title: "Dullness",        n: "02", href: "/en/skin/skin-concern/dullness/" },
  { id: "uneven-tone",    title: "Uneven tone",     n: "03", href: "/en/skin/skin-concern/uneven-tone/" },
  { id: "texture",        title: "Texture",         n: "04", href: "/en/skin/skin-concern/texture/" },
  { id: "congestion",     title: "Congestion",      n: "05", href: "/en/skin/skin-concern/congestion/" },
  { id: "barrier-damage", title: "Barrier damage",  n: "06", href: "/en/skin/skin-concern/barrier-damage/" },
  { id: "sun-spots",      title: "Sun spots",       n: "07", cur: true, href: "/en/skin/skin-concern/sun-spots/" },
];

const QUICK_FACTS = {
  defn: {
    h: "What 'sun spots' actually means",
    body: "Sun spots — also called solar lentigines or photo-aging spots — are flat areas of increased pigmentation caused by cumulative UV exposure. They're distinct from freckles (which are genetic and may fade in winter) and from deeper melasma. Sun spots don't fade on their own; they require either cosmetic treatment or professional intervention. They're a cosmetic concern, and a preventable one: daily SPF is the most effective intervention available.",
  },
  myths: [
    { m: "Sun spots are just freckles getting worse.",
      t: "Freckles are genetic expression that increases with UV exposure and often fades in winter. Sun spots are post-UV pigmentation deposits that don't fade seasonally. They require different expectations." },
    { m: "Brightening serums will clear sun spots in a few weeks.",
      t: "Topical brightening takes months of consistent use. Sun spots at deeper layers may fade very slowly or incompletely with topicals alone. The expectation should be gradual, not rapid." },
    { m: "SPF only matters when you're in direct sun.",
      t: "UVA — the wavelength that deposits pigmentation — penetrates cloud cover, windows, and diffuse daylight. If you're near a window, UVA is reaching your skin." },
  ],
};

const BEGINNER_PATH = {
  h: "Start here, if sun spots are the concern.",
  deck: "Five pieces, in order. Around twenty-one minutes of reading. A clear picture before you start spending on serums.",
  steps: [
    { n: "01", t: "What sun spots are — and why they don't fade on their own",  time: "4 min", note: "UV, melanin, the depth question, and why patience is built into the biology." },
    { n: "02", t: "SPF as a brightening strategy — not just protection",         time: "4 min", note: "Why no topical brightener works without it. How to wear it every day without thinking about it." },
    { n: "03", t: "Tranexamic acid and azelaic acid — the brightening pair",     time: "5 min", note: "How they work, how to use them together, and what to expect in month three." },
    { n: "04", t: "Vitamin C in a sun-spot routine",                              time: "4 min", note: "The antioxidant case. What it adds when tranexamic is already doing the heavy lifting." },
    { n: "05", t: "A realistic timeline — six months, tracked",                  time: "4 min", note: "What changes when, and what to photograph. The patience required, made concrete." },
  ],
};

const TRENDING = [
  { rank: "01", t: "SPF and sun spots — the prevention argument, in full",               time: "4 min", auth: "Nelly", date: "Apr 25", img: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=1100&q=80&auto=format&fit=crop", reads: "13,918" },
  { rank: "02", t: "Tranexamic acid for sun spots — a 12-week comparison",               time: "5 min", auth: "Iris",  date: "Apr 21", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=1100&q=80&auto=format&fit=crop", reads: "10,461" },
  { rank: "03", t: "The brightening pair — tranexamic + azelaic, used together",         time: "5 min", auth: "Nelly", date: "Apr 16", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=1100&q=80&auto=format&fit=crop", reads: "8,773" },
  { rank: "04", t: "Sun spots vs freckles — the difference that matters",                time: "3 min", auth: "Nelly", date: "Apr 09", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=1100&q=80&auto=format&fit=crop", reads: "7,120" },
  { rank: "05", t: "Décolletage sun spots — the part most routines forget",              time: "4 min", auth: "Iris",  date: "Apr 03", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=1100&q=80&auto=format&fit=crop", reads: "5,744" },
];

const FORMAT_GUIDE = {
  h: "Approach, by use case",
  deck: "The main ingredients and methods for sun spot management. What each one does and how it fits into a daily routine.",
  formats: [
    { name: "SPF 50",              when: "Every morning, first non-negotiable step",     avoid: "Never",                                                    note: "Without this, no topical brightener can outpace ongoing UV-driven pigmentation.", verdict: "★ Non-negotiable" },
    { name: "Tranexamic Acid",     when: "AM or PM, 2–5%, daily",                       avoid: "Starting with too many actives simultaneously",            note: "Interrupts tyrosinase, the enzyme behind melanin synthesis. Gentle, effective.",   verdict: "Primary brightener" },
    { name: "Azelaic Acid",        when: "PM preferred, 10–20%, after toner",           avoid: "Layering with multiple other actives when starting out",   note: "Works differently to tranexamic. Combining them is supported and often more effective.", verdict: "Pair with tranex" },
    { name: "Vitamin C",           when: "AM, after cleansing, before SPF",             avoid: "Oxidised (orange-brown) L-ascorbic acid formulas",        note: "Antioxidant protection + mild brightening. Completes the AM stack.",              verdict: "AM support" },
    { name: "AHA Exfoliant",       when: "2× per week, PM, on stable skin",             avoid: "Same night as azelaic at full dose",                      note: "Speeds surface turnover so freshly-lightened cells reach the top faster.",       verdict: "Weekly support" },
    { name: "Niacinamide",         when: "AM or PM, daily, 5–10%",                      avoid: "High concentration on reactive skin initially",            note: "Slows melanin transfer. Lower potency than tranexamic but cumulatively useful.",  verdict: "Daily add-on" },
  ],
};

const HOWTOS = [
  { t: "SPF and sun spots — the prevention argument",                    time: 4, tech: "SPF",          auth: "Nelly", date: "Apr 25", img: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=900&q=80&auto=format&fit=crop", kick: "SPF",         pick: true },
  { t: "Tranexamic acid for sun spots — 12 weeks in",                   time: 5, tech: "Serums",       auth: "Iris",  date: "Apr 21", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: true },
  { t: "The brightening pair — tranexamic + azelaic used together",     time: 5, tech: "Layering",     auth: "Nelly", date: "Apr 16", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop", kick: "Layering",    pick: true },
  { t: "Sun spots vs freckles — the distinction that changes treatment", time: 3, tech: "Essay",        auth: "Nelly", date: "Apr 09", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=900&q=80&auto=format&fit=crop", kick: "Essay",       pick: false },
  { t: "Décolletage spots — extending the routine past your face",      time: 4, tech: "Routine",      auth: "Iris",  date: "Apr 03", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Routine",     pick: false },
  { t: "Vitamin C in a sun-spot routine — what it adds",                time: 4, tech: "Serums",       auth: "Nelly", date: "Mar 28", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "Azelaic acid introduction — a 6-week plan",                     time: 5, tech: "Serums",       auth: "Iris",  date: "Mar 22", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: true },
  { t: "A realistic 6-month brightening timeline",                      time: 4, tech: "Essay",        auth: "Nelly", date: "Mar 16", img: "https://images.unsplash.com/photo-1601049541289-9b1b7bbbfe19?w=900&q=80&auto=format&fit=crop", kick: "Essay",       pick: false },
  { t: "UVA and windows — what the science actually says",              time: 3, tech: "Essay",        auth: "Iris",  date: "Mar 10", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=900&q=80&auto=format&fit=crop", kick: "Essay",       pick: false },
  { t: "Niacinamide alongside tranexamic — the case for combining",     time: 4, tech: "Layering",     auth: "Nelly", date: "Mar 04", img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=900&q=80&auto=format&fit=crop", kick: "Layering",    pick: true },
  { t: "AHA exfoliants in a sun-spot routine",                          time: 4, tech: "Serums",       auth: "Iris",  date: "Feb 26", img: "https://images.unsplash.com/photo-1570194065650-d99fb4bedf0a?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "What to expect when brightening ingredients stop making progress", time: 4, tech: "Troubleshoot", auth: "Nelly", date: "Feb 20", img: "https://images.unsplash.com/photo-1601049541289-9b1b7bbbfe19?w=900&q=80&auto=format&fit=crop", kick: "Troubleshoot", pick: false },
  { t: "Reapplying SPF outside — formats that work",                    time: 3, tech: "SPF",          auth: "Nelly", date: "Feb 13", img: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=900&q=80&auto=format&fit=crop", kick: "SPF",         pick: false },
  { t: "Azelaic acid and skin tone — broadly well-tolerated, explained", time: 4, tech: "Serums",      auth: "Iris",  date: "Feb 07", img: "https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "Face SPF vs body SPF — are they interchangeable?",              time: 3, tech: "SPF",          auth: "Nelly", date: "Jan 30", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=900&q=80&auto=format&fit=crop", kick: "SPF",         pick: false },
  { t: "Winter sun and spots — the case for year-round SPF",            time: 3, tech: "Essay",        auth: "Iris",  date: "Jan 23", img: "https://images.unsplash.com/photo-1556228852-80b6e5eeff06?w=900&q=80&auto=format&fit=crop", kick: "Essay",       pick: false },
  { t: "Brightening without irritating — a sensitive-skin approach",   time: 4, tech: "Routine",      auth: "Nelly", date: "Jan 15", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Routine",     pick: false },
  { t: "Tinted SPF and sun-spot coverage",                              time: 3, tech: "SPF",          auth: "Iris",  date: "Jan 08", img: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=900&q=80&auto=format&fit=crop", kick: "SPF",         pick: false },
  { t: "Tracking progress — how to photograph your skin accurately",   time: 3, tech: "Technique",    auth: "Nelly", date: "Jan 02", img: "https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=900&q=80&auto=format&fit=crop", kick: "Technique",   pick: false },
  { t: "LAA vs tranexamic — which to choose if you can only pick one",  time: 4, tech: "Serums",       auth: "Nelly", date: "Dec 25", img: "https://images.unsplash.com/photo-1571875257727-256c39da42af?w=900&q=80&auto=format&fit=crop", kick: "Ingredients", pick: false },
  { t: "Hands and neck — spots that get ignored until they're obvious", time: 4, tech: "Routine",      auth: "Iris",  date: "Dec 17", img: "https://images.unsplash.com/photo-1583416750470-965b2707b355?w=900&q=80&auto=format&fit=crop", kick: "Routine",     pick: false },
  { t: "Mineral vs chemical SPF for spot-prone skin",                   time: 4, tech: "SPF",          auth: "Nelly", date: "Dec 09", img: "https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=900&q=80&auto=format&fit=crop", kick: "SPF",         pick: false },
  { t: "Sun spots at different skin depths — topical limits, explained", time: 5, tech: "Essay",       auth: "Iris",  date: "Nov 30", img: "https://images.unsplash.com/photo-1601049541289-9b1b7bbbfe19?w=900&q=80&auto=format&fit=crop", kick: "Essay",       pick: false },
  { t: "The honest case for professional treatments when topicals plateau", time: 4, tech: "Essay",   auth: "Nelly", date: "Nov 20", img: "https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=900&q=80&auto=format&fit=crop", kick: "Essay",       pick: false },
];

const TECH_FILTERS = ["All", "Cleansing", "Moisturising", "Serums", "Layering", "SPF", "Routine", "Essay", "Troubleshoot"];

// Crosslinks to 4 adjacent concerns
const TYPE_CROSSLINKS = [
  { id: "uneven-tone",  title: "Uneven tone",   deck: "The broader cosmetic pigmentation picture.",           count: 178, href: "/en/skin/skin-concern/uneven-tone/" },
  { id: "dullness",     title: "Dullness",      deck: "UV dulls. SPF also protects your brightness.",         count: 201, href: "/en/skin/skin-concern/dullness/" },
  { id: "texture",      title: "Texture",       deck: "Surface smoothness and what exfoliation does for it.", count: 174, href: "/en/skin/skin-concern/texture/" },
  { id: "dehydration",  title: "Dehydration",   deck: "Sun-stressed skin dehydrates faster.",                 count: 189, href: "/en/skin/skin-concern/dehydration/" },
];

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