/* global window */
// Rich per-vertical detail for the deep-dive drawer.
// Every field is optional; drawer renders what exists.

const VERTICAL_DETAIL = {
  HPU: {
    full: "HPU — Hydrocarbon Plastics Upcycling",
    tagline: "The 70% of plastic waste no one can recycle.",
    tam_derivation: [
      { label: "Global plastic production (OECD 2022, 2019 data)", v: "353 M t/yr" },
      { label: "Post-consumer waste stream", v: "~400 M t/yr" },
      { label: "Mechanical recycling captures", v: "~9–10% (~40 M t)" },
      { label: "Pyrolysis captures", v: "<2% (~6 M t)" },
      { label: "Untouched mixed / contaminated / multi-layer", v: "~280 M t — HCT addressable" },
    ],
    transformation: {
      before: "Landfilled or burned. Pyrolysis rejects dirty/mixed feeds; mechanical recycling needs clean sorted single-polymer input.",
      after: "HCT accepts mixed/contaminated feed natively and converts it to Circular Naphtha that steam crackers use directly.",
      inputVal: "−$50 to $0/ton",
      outputVal: "$1,400–2,000/ton",
      segments: [
        { l: "Mechanically recycled", p: 10, c: "var(--pos)" },
        { l: "Pyrolysis (clean feeds only)", p: 15, c: "var(--accent)" },
        { l: "Burned / incinerated", p: 25, c: "var(--warn)" },
        { l: "Landfilled / dumped", p: 50, c: "var(--neg)" },
      ],
      created: 75,
    },
    economics: {
      unit: "ton",
      sale_price_range: "$1,400–2,200 / ton",
      yield: "91% cracker-ready naphtha",
      royalty: "8–15% of product revenue",
      royalty_per_unit: "$100–280 / ton processed",
      char: "<2%",
      reference_plant: "25,000 t/yr → $3.5M royalty/yr @ $1,600/t × 8%",
    },
    competitive: [
      { tech: "Mechanical recycling", verdict: "Cannot process mixed/contaminated; output is pellets not naphtha" },
      { tech: "Pyrolysis", verdict: "Limited to clean PE/PP; 15–30% char; inconsistent output quality" },
      { tech: "Gasification", verdict: "Produces syngas not naphtha; capex prohibitive at mid-scale" },
      { tech: "HCT", verdict: "Handles mixed waste natively; C5–C20 output direct to cracker; <2% char" },
    ],
    regulatory: [
      { name: "EU PPWR", detail: "10% recycled content all packaging by 2030, 25% PET beverage, 35% by 2040. Financial penalties." },
      { name: "California SB 54", detail: "65% plastic packaging recycled by 2032; non-compliance fees." },
      { name: "UK Plastic Packaging Tax", detail: "£210.82/tonne on <30% recycled content (2024)." },
    ],
    partners: [
      { name: "TotalEnergies", status: "Final-stage collaboration", context: "PU + HPU feedstock testing" },
      { name: "Shell", status: "Graduated from CEP Dec 2025", context: "Advanced evaluation ongoing" },
      { name: "Confidential Petrochemical Co.", status: "Active CEP", context: "Mixed plastics feedstock" },
      { name: "NexGen Polymers", status: "Pilot offtake", context: "Feedstock supply + pilot testing" },
    ],
    risks: [
      "FOAK scale-up: continuous operation at commercial residence time must match pilot",
      "Feedstock contamination variability (chlorine, nitrogen) may require pre-treatment",
      "Pyrolysis technology leap (unlikely but possible) could compress royalty rates",
    ],
    evidence: "Pilot (240+ continuous runs at Zeton NGP). FOAK under construction at Chemelot.",
  },

  BIT: {
    full: "Extra-Heavy Bitumen",
    tagline: "Alberta and Venezuela's stranded assets, upgraded in place.",
    tam_derivation: [
      { label: "Canadian oil sands production (AER 2023)", v: "~3.2 M bbl/day (~1.2 B bbl/yr)" },
      { label: "Venezuelan Orinoco belt reserves (active)", v: "~0.8 M bbl/day (~0.3 B bbl/yr)" },
      { label: "Global extra-heavy (API<15)", v: "~1.6 B bbl/yr addressable" },
    ],
    transformation: {
      before: "Diluted with expensive condensate ($10–12/bbl) to flow in pipelines. 30% of pipeline capacity is wasted moving solvent, not oil. Upgrading requires $1–2B cokers with 25–35% petcoke waste.",
      after: "HCT permanently reduces viscosity and strips metals at the wellhead. No diluent. No coker. Pipeline capacity recovered, quality gap to WTI closed.",
      inputVal: "WCS discount (~$15–20 below WTI)",
      outputVal: "Near-WTI pricing",
      segments: [
        { l: "Diluted and sold at discount", p: 70, c: "var(--warn)" },
        { l: "Upgraded via cokers", p: 25, c: "var(--accent)" },
        { l: "Stranded / uneconomic", p: 5, c: "var(--neg)" },
      ],
      created: 30,
    },
    economics: {
      unit: "bbl",
      uplift: "$13–23 / bbl vs diluted bitumen",
      yield: "75%+ upgraded liquid product",
      royalty: "$1.25–3.00 / bbl processed",
      margin: "75–82% Aduro net on royalty",
      reference_plant: "30,000 bpd unit → $25–33M royalty/yr @ $2.25–3.00/bbl",
    },
    competitive: [
      { tech: "Delayed coking", verdict: "Dominant today. 20–25% petcoke byproduct; capex $1–2B per unit" },
      { tech: "Hydrocracking", verdict: "Requires hydrogen plant; capex $3–5B; limited heavy-oil handling" },
      { tech: "Diluent blending (Alberta standard)", verdict: "Uses 30%+ condensate, not upgrading; pipeline-limited" },
      { tech: "HCT", verdict: "Retrofittable bolt-on; no hydrogen plant; eliminates coker petcoke stream" },
    ],
    regulatory: [
      { name: "CA Federal Output-Based Pricing", detail: "Upstream carbon pricing rising $15→$170/t 2022–2030" },
      { name: "Alberta TIER", detail: "Oil sands emissions cap; incentivizes lower-carbon upgrading" },
    ],
    partners: [
      { name: "Global EPC Firm", status: "Licensing MOU signed", context: "Engineering + construction for licensees" },
      { name: "Confidential NOC", status: "Early discussions", context: "Not yet SEC-disclosed" },
    ],
    risks: [
      "Oil price collapse below $40/bbl compresses uplift spreads",
      "Canadian political opposition to new oil sands capacity",
      "Licensee capex cycle timing — $500M+ per plant",
    ],
    evidence: "Bench validated on Cold Lake and Athabasca feedstocks. No pilot yet; path: pilot 2026-27, FOAK 2028+.",
  },

  SOUR: {
    full: "Heavy / Sour Crude",
    tagline: "40% of the world's crude needs pre-upgrade. HCT does it in one step.",
    tam_derivation: [
      { label: "Global crude production", v: "~100 M bbl/day (~36 B bbl/yr)" },
      { label: "API 15–25, >1% sulfur share", v: "~11% (~4 B bbl/yr)" },
      { label: "Saudi Arab Heavy, Maya, Kirkuk, Russian Urals", v: "Primary targets" },
    ],
    transformation: {
      before: "Sold at sulfur discount ($3–5/bbl). Metals poison refinery catalysts (another $1–2/bbl penalty). Lower API gravity yields less valuable products.",
      after: "HCT reduces sulfur >30%, strips >90% of metals (Ni/V), and improves API gravity. Closes the price gap to light-sweet benchmarks.",
      inputVal: "$6–11/bbl discount to benchmarks",
      outputVal: "Near-benchmark pricing",
      segments: [
        { l: "Processed as-is at discount", p: 80, c: "var(--warn)" },
        { l: "Upgraded at high-cost facilities", p: 15, c: "var(--accent)" },
        { l: "Stranded reserves", p: 5, c: "var(--neg)" },
      ],
      created: 20,
    },
    economics: {
      unit: "bbl",
      uplift: "$6–11 / bbl (API uplift + sulfur discount removal)",
      yield: "82% upgraded liquid",
      royalty: "$1.25–2.00 / bbl processed",
      margin: "68–78% Aduro net",
      reference_plant: "50,000 bpd → $23–36M royalty/yr",
    },
    competitive: [
      { tech: "Hydrodesulfurization (HDS)", verdict: "Standard but requires separate hydrocracker for chain shortening" },
      { tech: "HCT", verdict: "Simultaneous chain cleavage + sulfur removal in one unit" },
    ],
    regulatory: [
      { name: "IMO 2020 Sulfur Cap", detail: "0.5% sulfur bunker fuel; squeezed heavy-sour margins" },
      { name: "EU Fit-for-55", detail: "Raises carbon cost on sulfur-intensive refining" },
    ],
    partners: [
      { name: "Middle East NOC", status: "Exploratory", context: "Not SEC-disclosed" },
    ],
    risks: [
      "National oil company sales cycles are slow (3–5 years)",
      "Geopolitical volatility in primary producer markets",
    ],
    evidence: "Bench validated on synthetic heavy-sour blend. Field pilot target 2027.",
  },

  HRU: {
    full: "HRU — Hydrochemolytic Renewables Upgrading",
    tagline: "Used cooking oil to jet fuel, without a hydrogen plant.",
    tam_derivation: [
      { label: "Used cooking oil (UCO) collection global", v: "~18 M t/yr" },
      { label: "Animal fats / tallow", v: "~18 M t/yr" },
      { label: "Crude diesel oil (CDO) from pulp", v: "~7 M t/yr" },
      { label: "Other waste bio-oils", v: "~37 M t/yr" },
      { label: "Total SAF-feedstock addressable", v: "~80 M t/yr" },
    ],
    economics: {
      unit: "ton",
      sale_price_range: "$1,800–2,500 / ton (SAF premium)",
      yield: "90%+ renewable naphtha / SAF precursor",
      royalty: "8–15% of product revenue",
      margin: "75–80%",
      reference_plant: "25,000 t/yr → $4.5–6.0M royalty/yr",
    },
    competitive: [
      { tech: "HEFA (hydroprocessed esters)", verdict: "Dominant SAF route. Requires large H₂ plant. Limited feedstock flexibility." },
      { tech: "FT synthesis", verdict: "Works from syngas; capex $2–5B; low TRL for bio-feedstocks" },
      { tech: "HCT / HRU", verdict: "No H₂ plant. Broader feedstock acceptance. Lower capex." },
    ],
    regulatory: [
      { name: "ReFuelEU Aviation", detail: "2% SAF 2025, 6% 2030, 20% 2035, 70% 2050. Binding mandate." },
      { name: "US SAF Grand Challenge", detail: "3 B gal/yr by 2030 target; BTC + PTC tax credits through 2027" },
      { name: "UK SAF Mandate", detail: "10% SAF by 2030, 22% by 2040" },
    ],
    partners: [
      { name: "TotalEnergies", status: "Active testing", context: "Renewables + PU feedstock" },
    ],
    risks: [
      "SAF feedstock competition from HEFA could cap premium",
      "Lab-stage validation only — bench data pending H2 2026",
      "Policy dependency: SAF mandates can be delayed",
    ],
    evidence: "Lab validated. Bench program active 2026. Shared plant footprint with TCD.",
  },

  PCO: {
    full: "Paraffinic Crude Upgrading",
    tagline: "Waxy crude that pipelines can't move. New as of Q2 2026.",
    tam_derivation: [
      { label: "Global paraffinic crude (Sousa et al. 2023)", v: "16.4–27.1 M bbl/day" },
      { label: "Annualized midpoint", v: "~7.9 B bbl/yr" },
      { label: "Primary markets", v: "Kazakhstan, Chad, Libya, Gulf of Mexico" },
    ],
    transformation: {
      before: "Solidifies in pipelines. Requires heated railcars ($8–15/bbl logistics premium), steam terminals, insulated infrastructure. Many refineries cannot accept the feed at all.",
      after: "HCT breaks long-chain paraffins into shorter chains that stay liquid at ambient temperature. Standard pipelines, any refinery.",
      inputVal: "$3–8/bbl discount + $8–15/bbl logistics",
      outputVal: "Standard crude pricing and logistics",
      segments: [
        { l: "Managed with heated infrastructure", p: 60, c: "var(--warn)" },
        { l: "Sold at steep discount", p: 30, c: "var(--neg)" },
        { l: "Stranded / uneconomic", p: 10, c: "var(--fg-4)" },
      ],
      created: 40,
    },
    economics: {
      unit: "bbl",
      uplift: "$11–23 / bbl (pour-point reduction + chain cleavage)",
      yield: "83%",
      royalty: "$1.50–2.25 / bbl",
      margin: "70–80%",
      reference_plant: "40,000 bpd → $22–33M royalty/yr",
    },
    competitive: [
      { tech: "Diluent blending", verdict: "Requires 20–40% condensate; expensive and pipeline-constrained" },
      { tech: "Heated pipelines", verdict: "High opex; limited geography" },
      { tech: "Wax inhibitor chemicals", verdict: "Ongoing chemical cost; doesn't upgrade product" },
      { tech: "HCT", verdict: "Permanent pour-point reduction via chain cleavage + upgrade" },
    ],
    regulatory: [
      { name: "None specific", detail: "Commercial driver: transport logistics + API uplift economics" },
    ],
    partners: [
      { name: "Confidential", status: "Early CEP", context: "Disclosure restricted" },
    ],
    risks: [
      "New application — limited test data yet (CIP patent Q2 2026)",
      "Remote producing geographies complicate first licensee deployment",
    ],
    evidence: "Bench validated Q2 2026. CIP patent filed on paraffinic-specific conditions. TAM added 7.9 B bbl/yr.",
  },

  TIRE: {
    full: "Tire Rubber Recovery",
    tagline: "1 billion tires/yr. Carbon black and steel recoverable as byproducts.",
    tam_derivation: [
      { label: "Global end-of-life tires", v: "~1 B units/yr" },
      { label: "Average mass per passenger tire", v: "~10 kg" },
      { label: "Total rubber + components", v: "~20 M t/yr" },
      { label: "Rubber fraction (45–55%)", v: "~10 M t/yr" },
    ],
    transformation: {
      before: "Burned for energy (cement kilns), landfilled, or ground into low-value crumb. Pyrolysis produces low-quality tire oil. Tire fires are environmental disasters. Landfill space is running out.",
      after: "HCT chemically deconstructs vulcanized rubber into liquid hydrocarbons. Carbon black and steel are recovered separately as valuable byproducts.",
      inputVal: "−$40 to $0 (tipping fees paid)",
      outputVal: "$550–1,100/ton oil fraction",
      segments: [
        { l: "Burned for fuel", p: 40, c: "var(--warn)" },
        { l: "Landfilled", p: 30, c: "var(--neg)" },
        { l: "Ground to low-value crumb", p: 20, c: "var(--fg-4)" },
        { l: "Pyrolysis (low quality)", p: 10, c: "var(--accent)" },
      ],
      created: 70,
    },
    economics: {
      unit: "ton",
      sale_price_range: "$1,100–1,600 / ton",
      yield: "50% liquid + 30% carbon black + 15% steel",
      tipping_fee: "$40–100 / ton (disposal revenue)",
      royalty: "8–12%",
      margin: "72–78%",
      reference_plant: "20,000 t/yr → $2.5–4M royalty + tipping",
    },
    competitive: [
      { tech: "Ambient grinding", verdict: "Produces crumb rubber (low value); no chemical recovery" },
      { tech: "Pyrolysis (various)", verdict: "Established but output is low-quality fuel oil" },
      { tech: "HCT", verdict: "Higher-value liquid naphtha + cleaner carbon black recovery" },
    ],
    regulatory: [
      { name: "EU ELT Directive", detail: "Tire producer EPR across EU" },
      { name: "US state programs", detail: "38 states have tire-disposal fees ($0.50–3.00/tire)" },
    ],
    partners: [
      { name: "Proxy partners", status: "Tire-industry consortium discussions", context: "Not yet SEC-disclosed" },
    ],
    risks: [
      "Proxy data only — direct tire testing pending",
      "Carbon black recovery economics depend on specification alignment",
    ],
    evidence: "Proxy-feedstock validated. Direct tire program on 2027 roadmap.",
  },

  TURF: {
    full: "Synthetic Turf",
    tagline: "PFAS crisis. 10,000 fields/year. Zero competing technology.",
    tam_derivation: [
      { label: "Synthetic turf fields installed globally", v: "~50,000" },
      { label: "Average field lifespan", v: "8–10 years" },
      { label: "Fields reaching end-of-life annually", v: "6,000–10,000" },
      { label: "Average mass per field", v: "~150 t (incl. infill)" },
      { label: "Annual addressable", v: "~1.5 M t/yr" },
    ],
    transformation: {
      before: "100% landfilled. Contains PFAS. Growing environmental crisis. Some fields stockpiled because disposal sites now refuse them. Legal bans on PFAS-containing turf landfill coming in multiple US states.",
      after: "HCT processes the PE/PP grass fibers and rubber crumb. Silica sand passes through as inert and is recovered clean.",
      inputVal: "−$50 to −$250 (disposal cost + PFAS premium)",
      outputVal: "$750–1,500/ton polymer fraction",
      segments: [
        { l: "Landfilled", p: 85, c: "var(--neg)" },
        { l: "Stockpiled (no disposal option)", p: 15, c: "var(--fg-4)" },
      ],
      created: 100,
    },
    economics: {
      unit: "ton",
      sale_price_range: "$1,500–1,800 / ton",
      yield: "50% liquid + crumb rubber + sand infill separation",
      tipping_fee: "$100–250 / ton (PFAS-driven premium)",
      royalty: "10–15%",
      margin: "75–80%",
      reference_plant: "15,000 t/yr → $3–5M + tipping",
    },
    competitive: [
      { tech: "Landfill (current default)", verdict: "Illegal for PFAS-containing turf in many states" },
      { tech: "Incineration", verdict: "PFAS emits toxic fluorinated compounds at combustion" },
      { tech: "HCT", verdict: "Only demonstrated technology for PFAS-containing turf" },
    ],
    regulatory: [
      { name: "Maine LD 1503", detail: "PFAS ban in products sold in Maine by 2030" },
      { name: "Minnesota Amara's Law", detail: "PFAS ban 2025+; turf implicated" },
      { name: "EU REACH PFAS restriction", detail: "Broad PFAS restriction proposed 2025" },
    ],
    partners: [
      { name: "Confidential turf OEM", status: "Discussion", context: "Pre-commercial evaluation" },
    ],
    risks: [
      "Lab-stage only; no bench validation yet on actual turf",
      "PFAS handling permitting complexity varies by jurisdiction",
    ],
    evidence: "Lab validated on turf infill. Bench program 2026-27.",
  },

  XLPE: {
    full: "Crosslinked Polymers (PEX / XLPE)",
    tagline: "84% bench yield on a material nothing else can recycle.",
    tam_derivation: [
      { label: "PEX pipe production (plumbing + heating)", v: "~2.5 M t/yr" },
      { label: "XLPE cable insulation", v: "~2.5 M t/yr" },
      { label: "Total crosslinked waste stream", v: "~5 M t/yr" },
    ],
    transformation: {
      before: "100% landfilled. Crosslinked bonds prevent melting or mechanical recycling. No chemical recycling technology exists anywhere. PEX pipes installed from the 1990s onward are now reaching end-of-life with no disposal option.",
      after: "HCT breaks crosslinked bonds at 84% bench yield, producing ethylene-range hydrocarbons that steam crackers can use directly.",
      inputVal: "$0 (waste)",
      outputVal: "$1,200–1,800/ton",
      segments: [
        { l: "Landfilled (no alternative)", p: 100, c: "var(--neg)" },
      ],
      created: 100,
    },
    economics: {
      unit: "ton",
      sale_price_range: "$1,500–1,800 / ton",
      yield: "84% (bench)",
      royalty: "10–15%",
      margin: "75–80%",
      reference_plant: "15,000 t/yr → $2–3.5M royalty/yr",
    },
    competitive: [
      { tech: "Any existing technology", verdict: "None. Crosslinked bonds prevent thermal or mechanical recycling." },
      { tech: "HCT", verdict: "Only demonstrated recycling technology for XLPE/PEX." },
    ],
    regulatory: [
      { name: "EU PPWR", detail: "Crosslinked plastics counted against recycled-content targets" },
      { name: "Construction waste directives", detail: "EU targets 70% C&D waste recovery" },
    ],
    partners: [
      { name: "GF Building Flow Solutions", status: "MOU signed", context: "PEX pipe recycling collaboration" },
    ],
    risks: [
      "Bench to pilot leap: XLPE has higher sulfur/additive content than other feedstocks",
    ],
    evidence: "Bench validated with 84% yield — strongest yield of any emerging vertical.",
  },

  REF: {
    full: "Refinery Bottom-of-Barrel",
    tagline: "50% of the world's 280 refineries can't upgrade their residue.",
    tam_derivation: [
      { label: "Global refineries", v: "~700 (280 major)" },
      { label: "Share without cokers", v: "~50–60%" },
      { label: "Residue fraction of crude", v: "~10–15%" },
      { label: "Addressable residue stream", v: "~3 B bbl/yr" },
    ],
    economics: {
      unit: "bbl",
      uplift: "$10–18 / bbl (residue → middle distillate)",
      royalty: "$1.50–2.50 / bbl",
      margin: "72–78%",
      reference_plant: "20,000 bpd residue → $11–18M royalty/yr",
    },
    competitive: [
      { tech: "Delayed coking", verdict: "Standard but $1–2B capex per unit; not retrofittable to all sites" },
      { tech: "Solvent deasphalting", verdict: "Limited upgrade; produces heavy asphalt by-stream" },
      { tech: "HCT", verdict: "Smaller footprint retrofit; no petcoke stream; 72%+ Aduro margin" },
    ],
    regulatory: [
      { name: "EU carbon border", detail: "CBAM increases cost of petcoke-emitting refining" },
      { name: "IMO 2020", detail: "Heavy fuel oil demand collapse drives residue repurposing" },
    ],
    partners: [
      { name: "Disclosed pipeline", status: "Multiple refineries evaluating", context: "Specific names confidential" },
    ],
    risks: [
      "Refinery sales cycles 4–7 years",
      "Competing licensors (Chevron Lummus, Axens) with installed base",
    ],
    evidence: "Disclosed as active vertical; bench validation 2026-27.",
  },

  TCD: {
    full: "TCD — Thermochemical Deoxygenation",
    tagline: "Separate patent family. Bio-oils to drop-in fuels.",
    tam_derivation: [
      { label: "Crude diesel oil (CDO) from pulp mills", v: "~7 M t/yr" },
      { label: "Pyrolysis bio-oils", v: "~20 M t/yr" },
      { label: "Other waste bio-oils", v: "~23 M t/yr" },
      { label: "Total TCD addressable", v: "~50 M t/yr" },
    ],
    economics: {
      unit: "ton",
      sale_price_range: "$1,600–2,200 / ton",
      yield: "88%",
      royalty: "8–12%",
      margin: "72–78%",
    },
    competitive: [
      { tech: "Hydrotreating", verdict: "Requires hydrogen; high capex; limited to specific feedstocks" },
      { tech: "FT upgrading", verdict: "Low TRL for bio-feedstocks" },
      { tech: "TCD", verdict: "Separately patented — protects adjacent space from single-chemistry workarounds" },
    ],
    regulatory: [
      { name: "ReFuelEU Aviation", detail: "Same as HRU — drives SAF precursor demand" },
      { name: "US RFS", detail: "D3/D5 RINs for advanced biofuels" },
    ],
    partners: [
      { name: "Disclosed development", status: "Internal + partner-assisted", context: "Shared footprint with HRU" },
    ],
    risks: [
      "TAM overlaps with HRU — do not stack both at full share",
      "Bio-oil composition varies widely; process tuning per source",
    ],
    evidence: "Disclosed vertical; separate patent family filed.",
  },

  PU: {
    full: "Polyurethane",
    tagline: "Mattresses, auto seats, building foam. In testing with TotalEnergies.",
    tam_derivation: [
      { label: "Global PU production", v: "~26 M t/yr" },
      { label: "End-of-life mattresses", v: "~20 M units/yr US alone" },
      { label: "Automotive seating PU", v: "~4 M t/yr" },
      { label: "Building insulation foam", v: "~10 M t/yr" },
    ],
    transformation: {
      before: "Landfilled or incinerated. US mattress waste alone is 20M+ units/yr. Thermoset structure prevents melting or mechanical recycling. No scalable chemical recycling exists. Multiple US states now ban mattress landfill disposal.",
      after: "HCT breaks thermoset PU bonds. Currently being actively tested with TotalEnergies as the lead collaboration target.",
      inputVal: "−$30 to $0 (tipping fees)",
      outputVal: "$1,000–1,400/ton (estimated)",
      segments: [
        { l: "Landfilled", p: 65, c: "var(--neg)" },
        { l: "Incinerated", p: 30, c: "var(--warn)" },
        { l: "Downcycled (carpet underlay)", p: 5, c: "var(--fg-4)" },
      ],
      created: 95,
    },
    economics: {
      unit: "ton",
      sale_price_range: "$1,400–1,700 / ton",
      yield: "80%",
      tipping_fee: "$30–80 / ton",
      royalty: "10–12%",
      margin: "75–78%",
    },
    competitive: [
      { tech: "Glycolysis", verdict: "Chemical depolymerization; works but capex-intensive; narrow PU types" },
      { tech: "Mechanical grind", verdict: "Rebonded carpet underlay — low-value downcycle" },
      { tech: "HCT", verdict: "Broader PU type acceptance; liquid naphtha output" },
    ],
    regulatory: [
      { name: "EU ELV Directive", detail: "End-of-life vehicle recovery targets capture PU seating" },
      { name: "US state mattress EPR", detail: "CA, CT, RI, OR mandate mattress recycling" },
    ],
    partners: [
      { name: "TotalEnergies", status: "Active testing", context: "Primary PU development partner" },
    ],
    risks: [
      "Testing-stage — bench validation pending H2 2026",
      "PU additives (flame retardants) complicate processing",
    ],
    evidence: "Testing active with TotalEnergies.",
  },

  AGRI: {
    full: "Agricultural Plastic Waste",
    tagline: "Films, mulches, twine. 2,000+ Cleanfarms collection sites ready.",
    tam_derivation: [
      { label: "Annual agri-plastic production", v: "~12 M t/yr" },
      { label: "Stockpiled / legacy drawdown", v: "~13 M t (8-yr drawdown)" },
      { label: "Total addressable", v: "~25 M t/yr for ~8 years" },
    ],
    transformation: {
      before: "Buried, burned in fields, or stockpiled indefinitely. Too contaminated with soil, pesticides, and UV degradation for any existing recycling. Cleanfarms has 2,000+ collection sites with 87% recovery but no recycling endpoint.",
      after: "HCT processes contaminated ag-film natively. Tipping fees from farmers/municipalities provide additional revenue on top of product sales.",
      inputVal: "−$30 to −$80 (disposal cost paid)",
      outputVal: "$1,000–1,400/ton",
      segments: [
        { l: "Burned in fields", p: 35, c: "var(--warn)" },
        { l: "Buried / stockpiled", p: 50, c: "var(--neg)" },
        { l: "Collected but not recyclable", p: 15, c: "var(--fg-4)" },
      ],
      created: 100,
    },
    economics: {
      unit: "ton",
      sale_price_range: "$1,400–1,600 / ton",
      yield: "85%",
      tipping_fee: "$55–120 / ton (disposal alternative)",
      royalty: "9–12%",
      margin: "78–82%",
      reference_plant: "20,000 t/yr → $2.5–3.5M + tipping",
    },
    competitive: [
      { tech: "Landfill (current default)", verdict: "Contamination (soil, pesticide) disqualifies mech recycling" },
      { tech: "Open burning (developing markets)", verdict: "Illegal but common; air-quality violations" },
      { tech: "HCT", verdict: "Handles contamination; tipping-fee economics favorable" },
    ],
    regulatory: [
      { name: "Canada Cleanfarms program", detail: "2,000+ collection sites; producer-funded" },
      { name: "Mexico ECOCE", detail: "National packaging recovery program" },
      { name: "EU CAP post-2027", detail: "Agri-plastic recovery mandates in development" },
    ],
    partners: [
      { name: "Cleanfarms (Canada)", status: "Partnership disclosed", context: "2,000+ sites, feedstock pipeline" },
      { name: "ECOCE (Mexico)", status: "Disclosed program", context: "Packaging waste collaboration" },
    ],
    risks: [
      "Rural collection logistics raise effective feedstock cost",
      "Seasonal feedstock flow may require storage",
    ],
    evidence: "Disclosed partnerships; bench-stage.",
  },

  MFG: {
    full: "Manufacturer In-House Waste",
    tagline: "The 8–10% nobody talks about. Deployed at point of manufacture.",
    tam_derivation: [
      { label: "Global plastic production", v: "~400 M t/yr" },
      { label: "In-house scrap rate (industry avg)", v: "8–10%" },
      { label: "Addressable in-house stream", v: "~35 M t/yr" },
    ],
    economics: {
      unit: "ton",
      sale_price_range: "$1,600–2,000 / ton (clean scrap premium)",
      yield: "93% (clean feedstock)",
      royalty: "12–18% (higher-value feedstock)",
      margin: "80–82%",
      reference_plant: "10,000 t/yr modular → $2–3M royalty/yr",
    },
    competitive: [
      { tech: "Regrinding + reuse", verdict: "Common but limited to same-polymer same-color" },
      { tech: "Sell to recycler", verdict: "Low realized value vs HCT in-house closed loop" },
      { tech: "HCT (modular)", verdict: "Point-of-source; highest margins; cleanest feedstock" },
    ],
    regulatory: [
      { name: "EU PPWR", detail: "Recycled content counts in-house as qualifying" },
      { name: "Corporate ESG targets", detail: "Zero-waste-to-landfill commitments drive demand" },
    ],
    partners: [
      { name: "Disclosed manufacturer interest", status: "Early", context: "Modular deployment concept" },
    ],
    risks: [
      "Modular design still in development",
      "Requires fleet of small plants vs fewer large ones",
    ],
    evidence: "Disclosed vertical. Modular concept in design.",
  },
};

window.VERTICAL_DETAIL = VERTICAL_DETAIL;
