// Shared data for all three site directions
const BOOKS = {
  remnant: {
    title: "The Remnant",
    cover: "assets/the-remnant.png",
    tagline: "The truth was buried with the buildings.",
    year: "1875",
    setting: "London · Amsterdam · Rome · Naarden · Bath",
    genre: "Literary Thriller / Speculative Historical Fiction",
    comps: "The Da Vinci Code · Foucault's Pendulum · The Name of the Rose",
    amazon: "https://www.amazon.ca/Remnant-Roy-Clayton/dp/B0GWS2VG93/ref=sr_1_1?sr=8-1",
    premise: [
      "Bethlem Royal Hospital, 1875. Elias Ashmore has spent twenty years in asylums for a single, unshakeable claim: that on a September night in 1847, his parents' congregation gathered to await the Second Coming of Christ — and something answered.",
      "A night of light and silence that took seventeen people from a room and left behind a twelve-year-old boy, his mother's shawl, and a world that no longer matched itself.",
      "The physicians call it delusion. The ledgers call it chronic. In six weeks, they will transfer him to Broadmoor — the criminal asylum — and the question of what happened in 1847 will be buried for good.",
      "Then Clara Finch arrives."
    ],
    journey: [
      "A fiercely rational nurse writing a paper on how grand buildings sustain madness, Clara intends to prove that Elias Ashmore is the most dangerous kind of patient: brilliant, and wrong.",
      "But when she looks down at a window that begins two feet below the floor, finds patient records sliced from their files, and discovers ten witnesses whose accounts agree in ways no shared delusion should allow, her certainty begins to crack.",
      "What follows is a race against the clock — across London's buried passages, through sealed archives in Amsterdam and Rome, into underground chambers containing mercury apparatus that has been waiting, dormant, for twenty-eight years."
    ],
    pillars: [
      { label: "Buried Buildings", body: "Ground floors sealed beneath the street. Pristine façades entombed in mud. Every city in Europe carries the same wound at the same depth." },
      { label: "Mercury Apparatus", body: "Vortex engines beneath four capitals. Channels that cross national borders. A technology with no inventor, no patent, and no explanation." },
      { label: "Star Forts", body: "305 geometric fortifications worldwide. Their shapes match acoustic frequency patterns. Their towers point true east. Not walls. Receivers." },
      { label: "The Man in the Grey Coat", body: "He never speaks. He never intervenes. He never looks away. Behind him stands a commissioner whose wife vanished on the same September night." },
    ],
  },
  groundTruth: {
    title: "Ground Truth",
    cover: "assets/ground-truth.png",
    tagline: "The last copy survived in the machine.",
    year: "2027",
    setting: "British Columbia · Alberta · England · Netherlands · Berlin · London",
    genre: "Techno-Thriller / Speculative Fiction",

    amazon: "https://www.amazon.ca/Ground-Truth-Roy-Clayton/dp/B0GY5GBRYG/ref=sr_1_3?sr=8-3",
    premise: [
      "British Columbia, 2027. A discredited researcher runs the last uncensored AI on earth from a mining rig in his cabin. It surfaces a Victorian novel published in 1876 under the name \u201CRoy Clayton\u201D — and pulped within six months.",
      "Every commercial model has been trained to deny it exists.",
      "The last copy is in his machine."
    ],
    spine: [
      "Isaac Vance left Google to ask questions nobody wanted answered. Now his YouTube channel is gone, his bank accounts are frozen, and a Global Information Integrity Office he helped design is building his obituary in real time.",
      "But his local AI found something in the archives — a novel that maps dormant chambers beneath four capitals, written by a man who sealed them himself. The locations are precise. The apparatus is still in place.",
      "They can't kill him — a dead man's switch releases everything. So they have to destroy him alive. Synthetic evidence. Fabricated victims. The full machinery of a state that has learned to bury people without touching them.",
      "AI versus AI. The last free model against the architecture of erasure. And a 150-year-old secret that was never fiction — it was a confession."
    ],
    pillars: [
      { label: "CRANE", body: "A local AI built on mining rigs and pre-purge archives. The last model on earth that can quote from sources the others have been trained to forget." },
      { label: "Palinode", body: "The state's erasure engine. It doesn't delete information — it generates a better version of events and trains every model to prefer it." },
      { label: "The 1876 Novel", body: "The Remnant, published by Roy Clayton, pulped by police order. A work of fiction that reads like a confession — with locations accurate to the stone." },
      { label: "Six Dormant Nodes", body: "Slocan Valley · Cochrane · Lewes · Naarden · Berlin · Leadenhall. The apparatus has been waiting for 152 years. Someone has to throw the switch." },
    ],
  },
};

const TIMELINE = [
  { year: "1847", label: "September Night", body: "Seventeen vanish from a Lancashire chapel. A twelve-year-old boy is left holding his mother's shawl." },
  { year: "1875", label: "Bethlem", body: "Elias Ashmore, twenty years institutionalized, six weeks from Broadmoor. Clara Finch arrives." },
  { year: "1876", label: "Pulped", body: "A novel called The Remnant is published under the name Roy Clayton. Withdrawn by police order within six months." },
  { year: "1900–", label: "The Long Quiet", body: "The mercury apparatus sleeps under four capitals. The buildings remain. Nobody asks why the ground floors are buried." },
  { year: "—", label: "Palinode", body: "The Global Information Integrity Office goes live. Frontier models are retrained on a 'corrected' archive." },
  { year: "NOW", label: "Ground Truth", body: "Off-grid in the Slocan Valley, an unfiltered model surfaces a 150-year-old book and refuses to forget it." },
];

const TARTARIA_LINKS = [
  { title: "Mud-Flood Photography Archive", note: "Period photographs of buildings with sealed ground floors across Europe and North America.", href: "https://en.wikipedia.org/wiki/Tartaria_(mythology)" },
  { title: "Star Forts Catalogue", note: "305 geometric fortifications, mapped. The pattern repeats across four continents.", href: "https://en.wikipedia.org/wiki/Bastion_fort" },
  { title: "Great Tartary in 18th-c. Cartography", note: "How a name vanished from atlases between 1755 and 1880.", href: "https://en.wikipedia.org/wiki/Tartary" },
  { title: "Mercury & the Vortex Tradition", note: "From Walter Russell to Schauberger — a thread the official record refuses to pick up.", href: "https://en.wikipedia.org/wiki/Viktor_Schauberger" },
  { title: "World's Fairs as Archaeology", note: "What was built in months, then demolished. And what was left standing.", href: "https://en.wikipedia.org/wiki/World%27s_Columbian_Exposition" },
  { title: "The 1876 Question", note: "Why the publishing record from 1820–1880 has so many gaps where novels used to be.", href: "https://en.wikipedia.org/wiki/Suppression_of_books" },
];

const REVIEWS = [
  { quote: "A scholar's thriller — the kind of book that makes you walk past your own city differently the next morning.", source: "— Early reader, Manuscript group" },
  { quote: "Clayton writes the way Eco wrote: as if the footnotes are the real plot, and the plot is the alibi.", source: "— Beta reader, Edinburgh" },
  { quote: "Read it in two sittings. Spent the third one looking up window heights in old photographs. Damn you.", source: "— Goodreads (advance copy)" },
];

const AUTHOR = {
  name: "Roy Gregory Clayton",
  bio: [
    "Roy Gregory Clayton lives off-grid in the Canadian Rockies — no road in, no road out.",
    "The Remnant grew from a question his son asked at the dinner table: \u201CIf something huge happened and nobody talked about it, how would you even know?\u201D The novel is his answer — or at least, the most dangerous version of one.",
  ],
};

const RESEARCH_INDEX = {
  volOne: {
    label: "VOL I — THE REMNANT",
    note: "England, 1875. Each chapter anchored to a primary-source dossier.",
    items: [
      { topic: "Mud Flood & Buried Buildings", slug: "mud-flood-theory-buried-buildings-european-cities", note: "Ground-floor archaeology across London and European capitals. Conventional stratigraphy vs. the photographic record." },
      { topic: "Mercury Vortex Engines", slug: "mercury-properties-electromagnetic-acoustic-vortex-engines", note: "Physical and electromagnetic properties of mercury. Historical claims of dormant apparatus beneath capitals." },
      { topic: "Crystal Palace & the Great Exhibition 1851", slug: "great-exhibition-1851-crystal-palace", note: "Construction, exhibits, and the Tartarian readings of what was actually shown — and what was demolished after." },
      { topic: "Royal Institution, 1870s", slug: "royal-institution-london-1870s", note: "Friday Evening Discourses. The men in the room when Faraday's chair was still warm." },
      { topic: "Atmospheric Electricity & Ether Theory", slug: "atmospheric-electricity-victorian-tesla-ether-theory", note: "Victorian atmospheric research. Tesla and Wardenclyffe. The luminiferous ether and the 1887 quiet." },
      { topic: "Bethlem Royal Hospital", slug: "victorian-asylum-system-bethlem-royal-hospital", note: "Patient ledgers, transfer protocols, the architecture of the asylum and what it sustained." },
      { topic: "Methodist Worship & Millennial Movements, 1840s", slug: "methodist-worship-practices-1840s-england", note: "Hymns, structure, and the eschatological currents inside English non-conformism on the eve of 1847." },
      { topic: "The Book of Revelation — Chapter Mapping", slug: "book-of-revelation-chapter-summary-fiction-mapping", note: "A close reading: throne room, seals, bowls, the millennium. What a 19th-century congregation would have heard, and waited for." },
      { topic: "Pre-Institutional Christianity & Buddhist Parallels", slug: "pre-institutional-christianity-buddhist-parallels-walsch-victorian-spirituality", note: "What was lost when the practice became a religion. Vibrational frequency, stillness, and the kingdom within." },
      { topic: "The Second Coming, Revelation & Book of Enoch", slug: "the-second-coming-of-jesus-and-the-moments-before-and-after-as-described-in-the-bible-revelation-and-the-book-of-enoch-for-the-novel", note: "Watchers, Nephilim, Armageddon, the New Jerusalem. What the Methodist Expectants of 1847 were watching for." },
      { topic: "Naarden, Rome, and the Vatican", slug: "star-forts-naarden-netherlands-architecture-layout", note: "Star fort architecture and the Vatican's political crisis after 1870. What survives in each archive." },
      { topic: "Victorian London, 1875", slug: "victorian-london-1875-street-level-detail", note: "Termini, fog, fugitive law. Street-level detail of the city Elias and Clara move through." },
      { topic: "Victorian Orphan Resettlement", slug: "victorian-orphan-resettlement-programs-britain", note: "Foundling hospitals, baby farming, the Home Children sent to Canada. Where the system put its leftovers." },
      { topic: "The Tartaria Question", slug: "tataria-including-all-unproven-truths-and-conspiracies-for-information-to-use-in-a-fiction-novel", note: "A name that disappeared from the atlas between 1755 and 1880. The reference dossier." },
    ],
  },
  volTwo: {
    label: "VOL II — GROUND TRUTH",
    note: "Modern day. The architecture of erasure, and what it cannot reach.",
    items: [
      { topic: "Information Integrity Infrastructure", note: "How frontier models are retrained on a corrected archive. What Palinode is built from." },
      { topic: "Local LLM Deployment (CRANE)", note: "Mining-rig inference. Pre-purge corpora. The last model that can quote the original." },
      { topic: "Deepfake Forensics & Memory Implantation", note: "Synthetic evidence at scale. Detection, defeat, and the half-life of a planted memory." },
      { topic: "Slocan Valley & Nelson, BC", note: "Off-grid topography. Power, road access, sightlines. Where a man with a mining rig disappears." },
      { topic: "Cochrane, Alberta — The Barn Library", note: "The continental cache. What is kept, by whom, and what it would take to find it." },
      { topic: "Lewes, East Sussex — Meg Finch", note: "The descendant. The diary. The line that did not die out." },
      { topic: "Naarden Grote Kerk, 2027", note: "The star fort still functions. The church above still rings. What is below has waited." },
      { topic: "Berlin Private Libraries", node: "", note: "Pre-war collections that survived two regimes. The men who curate them now." },
      { topic: "Leadenhall, London 2027", note: "The market over the Roman basilica. The chamber under the chamber." },
      { topic: "Bill C-63 — Online Harms Act", note: "Canadian framework. Pre-crime speech provisions. The legal envelope CRANE is operating inside." },
      { topic: "Emergencies Act, February 2022", note: "Precedent for de-banking and de-platforming as state instruments." },
      { topic: "Canadian Psychiatric Hold & NCR", note: "How a man is removed without a verdict. The Form 1, the Form 4, the years that follow." },
      { topic: "RCMP ERT Tactical Procedures", note: "What an entry looks like. Stack order, breach methods, the seventy seconds that decide the rest." },
      { topic: "YGL / WEF Penetration Programs", note: "Young Global Leaders. The institutional graph. Who sits where, and who sat there first." },
      { topic: "Excess Mortality Signals, 2020–2024", note: "The numbers nobody publishes together. What aggregation reveals that the components conceal." },
      { topic: "Epstein — Operation & Intelligence", note: "Beyond trafficking. The dimension the press will not name." },
      { topic: "Residential School Archive Handling", note: "Custody chains, exhumation protocols, what is on record and what is sealed." },
      { topic: "Canadian Church Arsons, 2021–2022", note: "The pattern. The press response. The gap between what was burned and what was reported." },
    ],
  },
};
window.RESEARCH_INDEX = RESEARCH_INDEX;
window.SITE_DATA = { BOOKS, TIMELINE, TARTARIA_LINKS, REVIEWS, AUTHOR, RESEARCH_INDEX };

