/**
 * The Gemstone Universe (Bible ch.8), each category is a destination.
 * General gemology here is standard, defensible knowledge; Genesis-specific
 * claims are limited to what the house has published.
 */

export type Gemstone = {
  slug: string;
  name: string;
  tagline: string;
  tint: string; // atmosphere tint for the category
  intro: string[];
  science: { title: string; text: string }[];
  origins: string;
  collecting: string;
  genesis: string;
  relatedCreations: string[]; // creation ids, only where species is verified
  relatedJournal: string[]; // journal slugs
  image: string;
  imageAlt: string;
  imageFit: "cover" | "contain";
  tileImage?: string;
  tileAlt?: string;
  tileFit?: "cover" | "contain";
  films?: { src: string; caption: string }[];
  plates?: { src: string; alt: string; fit: "cover" | "contain" }[];
};

export const gemstones: Gemstone[] = [
  {
    slug: "blue-sapphire",
    films: [
      { src: "/gems/blue-sapphire-set.mp4", caption: "A suite of royal blue sapphires from the house's collection, on film." },
      { src: "/gems/purple-sapphire.mp4", caption: "The sapphire beyond blue: the house's 8 carat Burmese purple sapphire amid round brilliant and baguette diamonds." },
    ],
    plates: [
      { src: "/gems/blue-sapphire-set.jpg", alt: "A necklace of royal blue sapphires set in gold, in its presentation case", fit: "cover" },
    ],
    image: "/archive/full/2015_11_02_64314DSC_5606.jpg",
    imageAlt: "Royal blue Sri Lanka sapphires, unheated, in the Genesis showroom",
    imageFit: "cover",
    name: "Blue Sapphire",
    tagline: "The colour of depth itself",
    tint: "#123a63",
    intro: [
      "Of all coloured gemstones, blue sapphire carries the longest memory. It has sealed treaties, crowned monarchs and outlived the houses that treasured it, and it remains the stone by which all other blues are measured.",
      "Sapphire is corundum, aluminium oxide, one of the hardest substances nature produces. Its blue arrives through vanishingly small traces of iron and titanium exchanging electrons within the crystal, a mechanism so delicate that a few atoms in a million separate an ordinary stone from an unforgettable one.",
    ],
    science: [
      {
        title: "Formation",
        text: "Corundum crystallises under intense heat and pressure, most famously in metamorphic environments where alumina-rich rocks are transformed over tens of millions of years. Silicon is corundum's enemy: where silica is present, other minerals form instead, and fine sapphire is therefore the product of geochemically improbable circumstances.",
      },
      {
        title: "Colour",
        text: "The blue of sapphire is an intervalence charge transfer: iron and titanium ions positioned across neighbouring lattice sites absorb warm wavelengths and return cool ones. Saturation, tone and the stone's behaviour under changing light decide its rank; the most admired stones hold a velvety, deep blue in every light.",
      },
      {
        title: "The measure of quality",
        text: "Colour is sovereign. Clarity, cut and size follow, and untreated colour, a stone never subjected to heat, multiplies rarity dramatically. Laboratory documentation from houses such as Gübelin establishes origin and treatment with scientific authority.",
      },
    ],
    origins:
      "Kashmir defined the ideal: sleepy, velvet blue from deposits worked for barely a generation in the late nineteenth century. Burma (Myanmar) gives royal, saturated blues. Ceylon (Sri Lanka), the island that has produced gems for over two thousand years, offers luminous, lively stones. Madagascar has become the significant modern source.",
    collecting:
      "Collectors prize the convergence of qualities that cannot be manufactured: documented origin, untreated colour, meaningful size and a cut that honours the rough. Such stones are finite in the truest sense: the classic deposits are exhausted or nearly so, and each documented, untreated sapphire that enters a collection tends to remain there for a generation.",
    genesis:
      "Blue sapphire sits at the centre of the Genesis story. The house's flagship masterpiece, the Star of Genesis, is a Burmese star sapphire of 48.95 carats whose colour moves from blue to violet, documented by the Gübelin Gem Lab and rated 93.7, Outstanding. Beside it sit suites of royal blue Ceylon sapphires and an 8 carat Burmese purple sapphire set amid brilliant and baguette diamonds.",
    relatedCreations: [],
    relatedJournal: ["reading-a-gubelin-report", "why-origin-matters", "the-colour-change-phenomenon"],
  },
  {
    slug: "star-sapphire",
    films: [
      { src: "/star/star-of-genesis.mp4", caption: "The Star of Genesis: six rays alive in moving light." },
    ],
    image: "/archive/full/2015_11_02_36666DSC_5671.jpg",
    imageAlt: "The Star of Genesis pendant, its six-rayed star alive under the showroom lights",
    imageFit: "cover",
    name: "Star Sapphire",
    tagline: "Light, gathered into six rays",
    tint: "#1d2f52",
    intro: [
      "Some sapphires carry a phenomenon within them: a star of light that glides across the dome of the stone, assembling and dissolving as the light source moves. The ancients read it as a guardian; gemmologists read it as silk.",
      "Asterism is the work of rutile, needle-fine crystals aligned along the corundum's threefold symmetry. Cut en cabochon above such silk, the stone returns light as a six-rayed star that lives only in movement. No photograph fully captures it, which is precisely its charm.",
    ],
    science: [
      {
        title: "The mechanism",
        text: "Microscopic rutile needles, exsolved within the crystal as it cooled over geological time, lie in three directions at 60 degrees to one another. Each set of needles scatters a band of light at right angles to its length; three bands crossing above a domed surface produce the six-rayed star.",
      },
      {
        title: "Why cabochon",
        text: "A star sapphire is never faceted. The lapidary's art lies in orienting the dome precisely over the silk so that the star stands centred, sharp and mobile, a decision made once, and irreversibly, on rough of great value.",
      },
      {
        title: "The rarest combination",
        text: "Asterism paired with colour change, blue in daylight, violet under incandescent light, is among the rarest phenomena in corundum. A stone holding both, at significant size, untreated, is a once in a generation object.",
      },
    ],
    origins:
      "Burma (Myanmar) is the classic source of fine star sapphire, alongside Ceylon (Sri Lanka). The world's most famous examples, including stones held by great museums, trace to these deposits.",
    collecting:
      "The measure of a star sapphire is the star itself: its sharpness, its centring, the way it rides the dome, then body colour, translucency, size, and above all the absence of treatment. Documented Burmese stones of scale stand at the summit of the category.",
    genesis:
      "The Star of Genesis is the house's namesake masterpiece: a natural colour change star sapphire of 48.95 carats, Burmese, untreated, its six-rayed star documented by the Gübelin Gem Lab under Report No. 24057232 with a Gemstone Rating of 93.7, Outstanding.",
    relatedCreations: [],
    relatedJournal: ["understanding-asterism", "the-colour-change-phenomenon", "reading-a-gubelin-report"],
  },
  {
    slug: "ruby",
    plates: [
      { src: "/archive/full/2013_12_03_12467a-WYP_0026.jpg", alt: "A necklace of rubies and diamonds on a display bust at the couture evening", fit: "cover" },
    ],
    image: "/creations/g27.png",
    imageAlt: "A cascade of rubies framed by brilliant cut diamonds",
    imageFit: "contain",
    name: "Ruby",
    tagline: "The king of precious stones",
    tint: "#4a1220",
    intro: [
      "In Sanskrit, ruby is ratnaraj, king of precious stones, and in the ledgers of the great auction houses, the title still holds. Carat for carat, the finest rubies stand among the most valuable objects on earth.",
      "Ruby is corundum turned incandescent by chromium. The same element that colours the stone also makes it fluoresce, so that a fine ruby appears lit from within, the effect tradition calls pigeon's blood.",
    ],
    science: [
      {
        title: "A stone that burns",
        text: "Chromium replaces a fraction of the aluminium in the corundum lattice, absorbing green and violet light and returning pure red, then adding red fluorescence on top of reflection. This is why an exceptional ruby seems to glow even in shade.",
      },
      {
        title: "Scarcity by chemistry",
        text: "Chromium and large, clean corundum crystals rarely occur together; the geochemical conditions that supply the colouring agent usually fracture or restrict the crystal. Rubies of fine colour above three carats are rare; above five, exceptional; above ten, historic.",
      },
      {
        title: "Silk and life",
        text: "Traces of fine silk scatter light softly through the stone, lending the velvet the connoisseur looks for. As with sapphire, untreated colour is the dividing line between the beautiful and the extraordinary.",
      },
    ],
    origins:
      "The Mogok valley of Burma (Myanmar) is ruby's legend, the source of the pigeon's blood standard. Mozambique now produces magnificent stones and has taken its place beside the classics; Thailand and Vietnam hold their own chapters in the stone's history.",
    collecting:
      "The hierarchy is unforgiving: colour first, then the natural, untreated state, then origin, clarity and size. Documented Burmese stones of fine colour stand at the summit of the coloured stone world.",
    genesis:
      "Rubies run through the Genesis workshop: a cascade of rubies framed in brilliant cut diamonds, and a butterfly poised in rubies and pavé, are among the house's signature creations.",
    relatedCreations: ["g27", "g13"],
    relatedJournal: ["why-origin-matters", "collecting-coloured-gemstones"],
  },
  {
    slug: "emerald",
    films: [
      { src: "/gems/emerald-muzo.mp4", caption: "The house's 4 carat Colombian emerald ring, Muzo green." },
    ],
    plates: [
      { src: "/archive/full/2013_12_03_60506a-WYP_0412.jpg", alt: "An emerald suite worn at the couture evening: necklace, earrings, bracelet and ring", fit: "cover" },
    ],
    image: "/archive/full/2015_11_02_35233DSC_5928.jpg",
    imageAlt: "An emerald and diamond necklace from the showroom collection",
    imageFit: "cover",
    name: "Emerald",
    tagline: "The garden in the stone",
    tint: "#0d3a2a",
    intro: [
      "Emerald is among the stones humanity has treasured longest: Egypt's mines were worked two thousand years ago, and the colour has never fallen from favour. Its green is not merely a colour but a climate; no other gem holds light quite so gently.",
      "Emerald is beryl coloured by chromium or vanadium, elements delivered to the crystal by geological accidents so unusual that fine emerald is rarer, ounce for ounce, than fine diamond.",
    ],
    science: [
      {
        title: "The jardin",
        text: "Emeralds grow in tectonic turmoil, and nearly all carry inclusions, the jardin, or garden. Connoisseurship does not demand emptiness of an emerald; it asks that the garden be graceful, and that colour dominate the impression.",
      },
      {
        title: "Colour above all",
        text: "The ideal is a vivid, slightly bluish green of medium to medium dark tone, saturated but never dark. Minute differences in chromium content separate the memorable from the merely good.",
      },
      {
        title: "The question of oil",
        text: "Tradition permits the filling of surface reaching fissures with oil; the degree of enhancement is documented by laboratories and weighs heavily on value. Stones with no or insignificant enhancement command extraordinary premiums.",
      },
    ],
    origins:
      "Colombia, Muzo, Chivor, Coscuez, remains the reference for the classic warm green. Zambia gives cooler, bluer stones of remarkable clarity; Brazil and Afghanistan's Panjshir valley complete the modern map.",
    collecting:
      "Fine emerald rewards the patient eye: colour, the character of the garden, the degree of enhancement, origin and size, in that order. Great Colombian stones with minimal enhancement are among the scarcest goods in the coloured stone trade.",
    genesis:
      "Green stones hold a special place in the Genesis vault, among them a 4 carat Colombian emerald of Muzo green, set as a ring, and the carved jadeite for which the workshop is known.",
    relatedCreations: [],
    relatedJournal: ["collecting-coloured-gemstones", "why-origin-matters"],
  },
  {
    slug: "spinel",
    tileImage: "/creations/g08.png",
    tileAlt: "A cushion cut stone of vivid crimson between trillion cut diamonds",
    tileFit: "contain",
    films: [
      { src: "/gems/jedi-spinel.mp4", caption: "A breathtaking 6 carat natural Jedi spinel, rare and untouched by heat, glowing with a luminescence all its own. Among the finest of its kind in the world." },
      { src: "/gems/jedi-spinel-2.mp4", caption: "The 6 carat Jedi spinel, a second study in moving light." },
    ],
    image: "/gems/jedi-spinel.jpg",
    imageAlt: "The house's 6 carat natural Jedi spinel, glowing against the light",
    imageFit: "cover",
    name: "Spinel",
    tagline: "The connoisseur's secret",
    tint: "#3d1a2e",
    intro: [
      "For centuries the world's most celebrated 'rubies', the Black Prince's Ruby of the British Imperial State Crown among them, were spinels. The stone spent five hundred years being mistaken for its neighbour, and the connoisseurs never minded: they simply collected it quietly.",
      "Spinel crystallises in the same marble as Burmese ruby, glows in reds, roses and flame oranges, and is nearly always untreated, nature's colour, exactly as found.",
    ],
    science: [
      {
        title: "An honest stone",
        text: "Spinel is magnesium aluminium oxide, singly refractive, with colour from chromium (red), or cobalt (the rare vivid blue). Unlike most gems, spinel is almost never enhanced: what the collector sees is what the earth made.",
      },
      {
        title: "The red line",
        text: "Fine red spinel stands beside ruby in fire and often exceeds it in clarity. Long overlooked, it has been rediscovered by collectors who learned what royalty owned all along.",
      },
      {
        title: "Cobalt blue",
        text: "A small number of spinels, coloured by cobalt, show a blue of startling vividness. They are among the rarest coloured stones now traded.",
      },
    ],
    origins:
      "Burma's Mogok tract produces the legendary reds and hot pinks. Tajikistan's Badakhshan, the historic 'balas ruby' country, Tanzania's Mahenge, with its neon pink discovery of 2007, and Vietnam complete the connoisseur's map.",
    collecting:
      "Spinel is the thinking collector's stone: untreated by nature, historically resonant, and still valued below corundum of comparable beauty. Fine Mahenge pinks and Burmese reds above five carats have become auction fixtures.",
    genesis:
      "Spinel at Genesis is present tense: the house holds a rare 6 carat natural Jedi spinel, untouched by heat and glowing with a luminescence all its own, among the finest of its kind in the world.",
    relatedCreations: [],
    relatedJournal: ["collecting-coloured-gemstones"],
  },
  {
    slug: "tsavorite",
    tileImage: "/creations/g10.png",
    tileAlt: "An oval gem of deep forest green in a double diamond halo",
    tileFit: "contain",
    films: [
      { src: "/gems/tsavorite.mp4", caption: "The house's 17 carat bluish green tsavorite, on film." },
    ],
    image: "/gems/tsavorite.jpg",
    imageAlt: "The house's 17 carat bluish green tsavorite, held to the light",
    imageFit: "cover",
    name: "Tsavorite",
    tagline: "Green, discovered yesterday",
    tint: "#123a24",
    intro: [
      "Tsavorite is the youngest aristocrat among gemstones: a grass green garnet discovered in 1967 in the hills between Kenya and Tanzania and named for the Tsavo wilderness. It offers what emerald cannot, brilliance, clarity and untreated colour, in a stone a fraction as old in human hands.",
      "In barely half a century, tsavorite has moved from geological curiosity to the shortlist of every serious coloured stone collector.",
    ],
    science: [
      {
        title: "A garnet, transformed",
        text: "Tsavorite is grossular garnet coloured by vanadium and chromium. Garnet's high refractive index gives the stone a liveliness emerald rarely approaches, and its colour needs no enhancement of any kind.",
      },
      {
        title: "Why size is everything",
        text: "The deposits are geologically tortured; crystals shatter as they form. Clean tsavorites above three carats are genuinely rare, and stones above ten carats are counted among the notable examples of the species.",
      },
    ],
    origins:
      "The Merelani hills of Tanzania and the Taita Taveta district of Kenya, a single metamorphic belt, remain effectively the world's only commercial sources.",
    collecting:
      "Tsavorite is collected for vivid, open green, high clarity and honest colour. Its supply is narrower than emerald's, its treatment status simpler, and its story still being written: qualities that appeal to collectors who value scholarship over consensus.",
    genesis:
      "Tsavorite at Genesis is no abstraction: the house's collection includes a 17 carat bluish green stone, far beyond the sizes in which the species is normally seen.",
    relatedCreations: [],
    relatedJournal: ["collecting-coloured-gemstones"],
  },
  {
    slug: "jadeite",
    image: "/creations/g21.png",
    imageAlt: "Nine vivid green jadeite cabochons linked by diamonds",
    imageFit: "contain",
    name: "Jadeite",
    tagline: "The stone of heaven",
    tint: "#1c3b2f",
    intro: [
      "No gemstone carries more civilisation within it than jade. For three thousand years it has been the East's supreme material of virtue, worn against the skin, carved with meaning, passed between generations as character made mineral.",
      "Of the two jades, jadeite is the rarer and finer: harder, more translucent, capable of the vivid apple and imperial greens, the icy near transparency, and the lavender that collectors cross oceans for. The finest jadeite, by weight, exceeds diamond in price.",
    ],
    science: [
      {
        title: "A rock, not a crystal",
        text: "Jadeite is a pyroxene rock of interlocking microscopic crystals, the source of its legendary toughness. Its beauty is judged not by facets but by colour, translucency and texture: the finest material seems lit from within, like water holding light.",
      },
      {
        title: "Colour and the empire of green",
        text: "Chromium gives the imperial green; iron the blue greens; manganese the lavenders. 'Icy' jadeite, nearly colourless and highly translucent, has risen from scholar's taste to auction star.",
      },
      {
        title: "Type A",
        text: "The market's first question is treatment. 'Type A' jadeite, natural colour, no polymer impregnation, only traditional surface waxing, is the only material serious collectors consider. Certification from recognised laboratories is indispensable.",
      },
    ],
    origins:
      "Gem jadeite comes, overwhelmingly, from the Kachin hills of northern Burma (Myanmar). Guatemala supplies historic and archaeological material, but the imperial standard is Burmese.",
    collecting:
      "Jadeite is judged by colour, translucency, texture and craft, and by the cultural literacy of its carving. Bangles and beads of fine colour are the blue chips; carved plaques carry meaning as well as material. The finest lavender and icy pieces have set repeated auction records in Hong Kong.",
    genesis:
      "Jadeite is the deepest seam in the Genesis workshop: carved icy plaques, lavender peonies, pods of fortune wrapped in diamonds, bangles of near transparency, and a necklace of nine vivid greens, the house's largest single body of work.",
    relatedCreations: ["g11", "g12", "g14", "g15", "g16", "g17", "g19", "g20", "g21"],
    relatedJournal: ["a-grammar-of-jadeite"],
  },
  {
    slug: "diamond",
    plates: [
      { src: "/archive/full/2013_12_03_11139a-WYP_0044.jpg", alt: "A diamond riviere and an emerald cut ring, photographed for the house", fit: "cover" },
      { src: "/archive/full/2013_12_03_27777a-WYP_0039.jpg", alt: "A lace of diamonds: the house's bib necklace at the couture evening", fit: "cover" },
    ],
    image: "/creations/g18.png",
    imageAlt: "Foliate diamond earrings descending to fancy yellow and rose drops",
    imageFit: "contain",
    name: "Diamond",
    tagline: "Carbon, perfected",
    tint: "#26313e",
    intro: [
      "Diamond is the oldest thing most people will ever touch: crystals a billion years old and more, carried to the surface in volcanic eruptions that no human witnessed. Its brilliance is not a metaphor but a measurement, no natural transparent material bends and returns light so completely.",
      "Genesis' attention belongs chiefly to the rarer chapters of the diamond story: the fancy colours, yellows, pinks, greens, where geological accident writes in hue.",
    ],
    science: [
      {
        title: "Depth and time",
        text: "Diamonds crystallise 150 kilometres and more beneath the surface, in the mantle, and reach us through kimberlite pipes. Most are far older than the continents' present shapes.",
      },
      {
        title: "The chemistry of colour",
        text: "Nitrogen writes yellow; boron writes blue; lattice distortion under pressure writes pink; radiation writes green. Each fancy colour is a distinct geological accident, and saturated examples are rare in proportion to their vividness.",
      },
      {
        title: "The grammar of grading",
        text: "Colour, clarity, cut and carat order the colourless world; in fancy colours, hue and saturation govern everything, and grades like Fancy Intense and Fancy Vivid mark the summits.",
      },
    ],
    origins:
      "Southern Africa wrote diamond's modern history; Australia's Argyle mine, now closed, defined pink; Russia, Botswana and Canada carry today's production. For fancy colours, provenance from famous mines adds its own premium.",
    collecting:
      "Fancy colour diamonds combine portability, permanence and extreme scarcity. Pinks and blues are pursued by collectors and institutions alike; fine yellows offer the colour story at more approachable scale.",
    genesis:
      "Fancy colour diamonds are a Genesis signature: foliate earrings descending to fancy yellow and rose drops, and a blossom of pink and yellow diamonds set in white gold.",
    relatedCreations: ["g18", "g28"],
    relatedJournal: ["collecting-coloured-gemstones"],
  },
  {
    slug: "rare-collector-stones",
    image: "/archive/full/2015_11_02_29464DSC_5651.jpg",
    imageAlt: "The rarities cabinet: unheated alexandrite and Ceylon sapphires beside the Star of Genesis",
    imageFit: "cover",
    name: "Rare Collector Stones",
    tagline: "The stones beyond the canon",
    tint: "#2e2338",
    intro: [
      "Beyond the great five, sapphire, ruby, emerald, jadeite, diamond, lies the connoisseur's cabinet: species so scarce they are traded by name, between people who know one another.",
      "Paraíba's electric blue tourmaline, discovered in 1989 and glowing like nothing else in the mineral kingdom. Padparadscha sapphire, the lotus coloured union of pink and orange. Alexandrite, emerald by day and ruby by night. Star stones, colour change stones, unheated stones of unusual size, the exceptions that prove every rule.",
    ],
    science: [
      {
        title: "Why rarity compounds",
        text: "Each additional requirement, a phenomenon, a colour change, an untreated state, a documented origin, meaningful size, multiplies scarcity rather than adding to it. The stones in this cabinet satisfy several at once; that is what makes them collector stones.",
      },
      {
        title: "Documentation as foundation",
        text: "At this level of rarity, laboratory documentation is not an accessory but the ground truth: origin, treatment status and phenomenon, established by instruments and archives no eye can replace.",
      },
    ],
    origins:
      "By definition, everywhere and almost nowhere: a single Brazilian hillside for the original Paraíba; Ceylon for the classic padparadscha; the Urals for the first alexandrite; Burma for the storied phenomena stones.",
    collecting:
      "This is the category where knowledge earns its keep. Prices are set by scarcity and connoisseurship rather than by advertising, and the reward for expertise, knowing what a stone is, and what it is not, is greatest.",
    genesis:
      "The Star of Genesis itself belongs to this cabinet: a stone satisfying five rarities at once, scale, Burmese origin, natural colour change, six-rayed asterism, and an untreated state.",
    relatedCreations: ["g03"],
    relatedJournal: ["reading-a-gubelin-report", "the-colour-change-phenomenon"],
  },
];

export function getGemstone(slug: string) {
  return gemstones.find((g) => g.slug === slug);
}
