// Shared data — industrial silica company information.
// All product names, specs, and facility data are fictional/illustrative.

const BRAND = {
  name: 'U.S. SILICA',
  full: 'U.S. SILICA',
  tagline: 'Industrial silica, engineered.',
  founded: 1907,
  founded_text: 'Est. 1907',
  facilities_count: 27,
  states_count: 13,
  tons_per_year: '14M',
};

const PRODUCTS = [
  {
    sku: 'MX-30/50',
    name: 'MX-30/50 Whole-Grain Silica',
    category: 'Whole Grain',
    grade: 'Industrial / Glass',
    mesh: '30/50',
    silica_pct: 99.7,
    iron_ppm: 80,
    market: 'Glass, Foundry, Filtration',
    image: 'assets/glass-sand.jpg',
    summary: 'High-purity whole-grain silica engineered for container and flat-glass batches where iron limits are tight and consistency runs lot-to-lot.',
  },
  {
    sku: 'GS-49',
    name: 'GS-49 Ground Silica',
    category: 'Ground Silica',
    grade: 'Fine / Filler',
    mesh: '325',
    silica_pct: 99.5,
    iron_ppm: 110,
    market: 'Coatings, Sealants, Polymers',
    image: 'assets/ground-silica.jpg',
    summary: 'Sub-10-micron ground silica for high-loading filler applications. Predictable rheology, low oil-absorption, certified to ISO 9001.',
  },
  {
    sku: 'MU-5',
    name: 'Min-U-Fine 5 Micronized',
    category: 'Micronized',
    grade: 'Ultra-Fine',
    mesh: '5µm median',
    silica_pct: 99.8,
    iron_ppm: 60,
    market: 'Specialty Coatings, Composites',
    image: 'assets/sem-microscope.jpg',
    summary: 'Air-classified micronized silica with a tight particle-size distribution. Used where surface area and dispersion are non-negotiable.',
  },
  {
    sku: 'QR-100',
    name: 'Q-Rok 100 Coarse Sand',
    category: 'Whole Grain',
    grade: 'Construction',
    mesh: '16/30',
    silica_pct: 99.4,
    iron_ppm: 140,
    market: 'Roofing, Asphalt, Construction',
    image: 'assets/qrok.jpg',
    summary: 'Hard, angular silica for surface treatments and aggregate blends. Available bulk or super-sack from Mid-Atlantic terminals.',
  },
  {
    sku: 'FS-100',
    name: 'FracPro 100',
    category: 'Proppant',
    grade: 'API Proppant',
    mesh: '40/70',
    silica_pct: 99.5,
    iron_ppm: 90,
    market: 'Oil & Gas, Hydraulic Fracturing',
    image: 'assets/frac-sand.jpg',
    summary: 'API-tested frac sand from in-basin facilities. Crush-resistance and conductivity data published per lot.',
  },
  {
    sku: 'TG-2030',
    name: 'TestGrade 20/30',
    category: 'Specialty',
    grade: 'ASTM Reference',
    mesh: '20/30',
    silica_pct: 99.8,
    iron_ppm: 70,
    market: 'Laboratory, Testing, Reference',
    image: 'assets/testing-sand.jpg',
    summary: 'Round, narrow-cut reference sand for ASTM-method labs and concrete-testing applications.',
  },
];

const APPLICATIONS = [
  { id: 'glass', name: 'Glass', tagline: 'Container, flat, fiber, and specialty glass', count: 4, image: 'assets/product-vials.jpg' },
  { id: 'foundry', name: 'Foundry', tagline: 'Casting sands for ferrous and non-ferrous', count: 6, image: 'assets/lab-samples.jpg' },
  { id: 'building', name: 'Building Products', tagline: 'Engineered stone, grout, mortar, roofing', count: 8, image: 'assets/building-materials.jpg' },
  { id: 'oilgas', name: 'Oil & Gas', tagline: 'API-tested proppants, in-basin logistics', count: 3, image: 'assets/frac-sand.jpg' },
  { id: 'coatings', name: 'Coatings & Polymers', tagline: 'Functional fillers and extenders', count: 7, image: 'assets/ground-silica.jpg' },
  { id: 'filtration', name: 'Filtration', tagline: 'Municipal and industrial water filtration', count: 3, image: 'assets/testing-sand.jpg' },
];

// 27 facilities across the US — simplified to ~14 hero ones for the map.
// x/y are percentage coordinates inside a stylized US map svg viewport.
const FACILITIES = [
  { id: 'berkeley', name: 'Berkeley Springs', state: 'WV', type: 'Mine + Plant', x: 71, y: 38, capacity: 'High', products: ['MX-30/50','QR-100','TG-2030'] },
  { id: 'mauricetown', name: 'Mauricetown', state: 'NJ', type: 'Plant', x: 78, y: 36, capacity: 'Med', products: ['GS-49'] },
  { id: 'mill_creek', name: 'Mill Creek', state: 'OK', type: 'Mine + Plant', x: 49, y: 60, capacity: 'High', products: ['GS-49','MU-5'] },
  { id: 'jackson', name: 'Jackson', state: 'TN', type: 'Plant', x: 60, y: 55, capacity: 'Med', products: ['GS-49','QR-100'] },
  { id: 'ottawa', name: 'Ottawa', state: 'IL', type: 'Mine + Plant', x: 56, y: 39, capacity: 'High', products: ['MX-30/50','TG-2030'] },
  { id: 'columbia', name: 'Columbia', state: 'SC', type: 'Plant', x: 70, y: 56, capacity: 'Med', products: ['QR-100'] },
  { id: 'kosse', name: 'Kosse', state: 'TX', type: 'Mine + Plant', x: 49, y: 72, capacity: 'High', products: ['FS-100'] },
  { id: 'mccleary', name: 'McCleary', state: 'WA', type: 'Mine + Plant', x: 14, y: 22, capacity: 'High', products: ['MX-30/50','GS-49'] },
  { id: 'sparta', name: 'Sparta', state: 'WI', type: 'Mine + Plant', x: 53, y: 30, capacity: 'High', products: ['MX-30/50','TG-2030'] },
  { id: 'rockwood', name: 'Rockwood', state: 'MI', type: 'Mine', x: 62, y: 32, capacity: 'Med', products: ['MX-30/50'] },
  { id: 'tyler', name: 'Tyler', state: 'TX', type: 'Plant', x: 52, y: 67, capacity: 'Med', products: ['FS-100'] },
  { id: 'frederick', name: 'Frederick HQ', state: 'MD', type: 'Headquarters', x: 73, y: 36, capacity: 'HQ', products: [] },
  { id: 'pacific', name: 'Pacific', state: 'MO', type: 'Mine + Plant', x: 55, y: 47, capacity: 'High', products: ['GS-49','MU-5'] },
  { id: 'voca', name: 'Voca', state: 'TX', type: 'Mine + Plant', x: 47, y: 73, capacity: 'High', products: ['FS-100','TG-2030'] },
];

const NAV = [
  { id: 'products', label: 'Products', children: ['Whole Grain', 'Ground Silica', 'Micronized', 'Proppants', 'Specialty'] },
  { id: 'applications', label: 'Applications', children: ['Glass', 'Foundry', 'Building Products', 'Oil & Gas', 'Coatings & Polymers', 'Filtration'] },
  { id: 'resources', label: 'Resources', children: ['Spec Sheets', 'SDS', 'Case Studies', 'Technical Library'] },
  { id: 'about', label: 'About', children: ['Operations', 'Facilities', 'Sustainability', 'Newsroom', 'Careers'] },
];

Object.assign(window, { BRAND, PRODUCTS, APPLICATIONS, FACILITIES, NAV });
