/* Per-peptide accent + SVG glyph. * Loaded by both peptides/index.jsx and peptides/peptide.jsx via window globals. * * Each peptide gets: * • a unique line-art SVG glyph that matches its mechanism in spirit * • a brand-friendly accent color used for halo, dots, borders */ window.PEPTIDE_ACCENTS = { "sermorelin": "#D9A47C", // gold — GH/sleep "nad-plus": "#7C5BFF", // violet — mitochondrial "bpc-157": "#10B981", // green — healing "ipamorelin": "#F08A4B", // orange — GH amplifier "ghk-cu": "#C68B7C", // copper — copper-tripeptide "glutathione": "#8FA3B8", // silver-blue — antioxidant "selank": "#6FD8FF", // cyan — calm focus "dsip": "#5A7BBA", // deep blue — delta sleep "b12-mic": "#E8C76B", // yellow — energy "cjc-1295": "#B8533A", // brick — paired GHRH }; window.PEPTIDE_GLYPH = ({ slug, color, size = 360 }) => { const stroke = color || window.PEPTIDE_ACCENTS[slug] || "#6b6b6b"; const wash = stroke + "22"; const common = { width: size, height: size, viewBox: "0 0 200 200", fill: "none", stroke, strokeWidth: 1.6, strokeLinecap: "round", strokeLinejoin: "round" }; if (slug === "sermorelin") return ( {/* Crescent — nightly cycle */} {/* GH pulse wave */} ); if (slug === "nad-plus") return ( {/* Hex molecule — nicotinamide ring */} {/* Energy bolts */} ); if (slug === "bpc-157") return ( {/* Tendon strand — split + healing chevron */} {/* Healing pulse cross */} {/* Speed marks */} ); if (slug === "ipamorelin") return ( {/* Stacked rising GH pulses */} {/* Up arrow at peak */} ); if (slug === "ghk-cu") return ( {/* Tripeptide — 3 amino-acid nodes */} {/* Copper droplet */} Cu ); if (slug === "glutathione") return ( {/* Shield */} {/* Inner check */} {/* Free-radical particles being deflected */} ); if (slug === "selank") return ( {/* Concentric calm rings */} {/* Center focus dot */} {/* Brain wave */} ); if (slug === "dsip") return ( {/* Delta wave going deeper */} {/* Z's */} z z z ); if (slug === "b12-mic") return ( {/* Vial */} {/* Liquid level */} {/* Energy spike */} ); if (slug === "cjc-1295") return ( {/* Twin paired pulses */} {/* Connect line */} {/* Plus marker */} ); // Fallback — generic peptide chain return ( ); };