// talon-data.jsx — Base POI data for Talon Map. Region metadata lives in the DB.
// Coords are FRACTIONS of the region's size (0..1), so they survive any image swap.
// body text is PLACEHOLDER lore — swap for real articles later.

const PLACEHOLDER = "_Placeholder entry — swap this for real lore._";

const lorem = (a, b) =>
  `Built where the old roads meet the water, ${a} has weathered every age the chroniclers care to name. ${b} Travellers speak of it in the taverns of the south, though few agree on what they saw.`;

window.TALON_BASE_POIS = {
  "talon-mainland": [
    {
      id: "bastion",
      title: "Die Unsterbliche Bastion",
      category: "landmark",
      coords: { x: 0.456, y: 0.405 },
      tags: ["warding", "ancient", "contested"],
      subtitle: null,
      body: [
        { h: null, p: "A ring of black stone older than the realms that quarrel over it. No siege has ever breached the inner wall, and no chronicle records who raised it." },
        { h: "The Standing Garrison", p: "By tradition a hundred wardens hold the gate, though the rolls are never full and the names rarely match the faces." },
        { h: null, p: PLACEHOLDER },
      ],
      related: ["reichsgebirge", "kumnasn"],
    },
    {
      id: "reichsgebirge",
      title: "Reichsgebirge",
      category: "landmark",
      coords: { x: 0.487, y: 0.462 },
      tags: ["mountains", "border", "mines"],
      subtitle: null,
      body: [
        { h: null, p: "The spine of the mainland — a grey wall of peaks that divides the temperate north from the haunted reaches below." },
        { h: null, p: "Ore caravans still wind through the high passes when the snow allows, guarded against the things that come down from the Geisterberge." },
        { h: null, p: PLACEHOLDER },
      ],
      related: ["bastion", "vagia"],
    },
    {
      id: "kumnasn",
      title: "Kumnasn",
      category: "city",
      coords: { x: 0.366, y: 0.330 },
      tags: ["free city", "trade", "harbour"],
      subtitle: null,
      body: [
        { h: null, p: lorem("Kumnasn", "Its harbour never freezes, and its council answers to no crown.") },
        { h: "Quarters", p: "The Salt Tier, the Lamp Tier, and the drowned undercrofts that locals will not discuss before dark." },
        { h: null, p: PLACEHOLDER },
      ],
      related: ["bastion", "western-isles"],
    },
    {
      id: "dolfels",
      title: "Dolfels",
      category: "city",
      coords: { x: 0.636, y: 0.498 },
      tags: ["fortress city", "eastern march"],
      subtitle: null,
      body: [
        { h: null, p: lorem("Dolfels", "It holds the only crossing of the eastern river that an army can use.") },
        { h: null, p: PLACEHOLDER },
      ],
      related: ["ratchin", "triberfol"],
    },
    {
      id: "ilex",
      title: "Ilex Insel",
      category: "ruin",
      coords: { x: 0.491, y: 0.165 },
      tags: ["island", "abandoned", "lighthouse"],
      subtitle: null,
      body: [
        { h: null, p: "A pale crescent of an island, ringed by reefs and the wrecks of those who ignored them." },
        { h: "The Cold Light", p: "The lighthouse still turns, though no keeper has signed the ledger in three generations." },
        { h: null, p: PLACEHOLDER },
      ],
      related: ["kumnasn"],
    },
    {
      id: "vagia",
      title: "Vagia Berge",
      category: "landmark",
      coords: { x: 0.552, y: 0.622 },
      tags: ["mountains", "wild", "shrine"],
      subtitle: null,
      body: [
        { h: null, p: "Lower and older than the Reichsgebirge, the Vagia range hides shrines that predate the first maps." },
        { h: null, p: PLACEHOLDER },
      ],
      related: ["reichsgebirge"],
    },
    {
      id: "ratchin",
      title: "Der Ratchin",
      category: "ruin",
      coords: { x: 0.604, y: 0.430 },
      tags: ["ruin", "warded", "forbidden"],
      subtitle: null,
      body: [
        { h: null, p: "A broken keep on the eastern uplands. The locals leave it offerings and do not climb its stair." },
        { h: null, p: PLACEHOLDER },
      ],
      related: ["dolfels"],
    },
    {
      id: "vorthrocs",
      title: "Vorthrocs",
      category: "character",
      coords: { x: 0.601, y: 0.368 },
      tags: ["warden", "house", "north-east"],
      subtitle: "Warden of the North-East",
      body: [
        { h: null, p: "Less a place than a name the eastern holds still answer to — the Warden whose banner hangs over the upper forests." },
        { h: null, p: PLACEHOLDER },
      ],
      related: ["dolfels", "ratchin"],
    },
    {
      id: "western-isles",
      title: "Die Vergessenen Inseln",
      category: "region",
      coords: { x: 0.255, y: 0.430 },
      tags: ["archipelago", "smugglers"],
      subtitle: null,
      body: [
        { h: null, p: "A scatter of green rocks off the western coast, claimed by everyone and governed by no one." },
        { h: null, p: PLACEHOLDER },
      ],
      related: ["kumnasn"],
    },
  ],

  "vorthrocs-reach": [
    { id: "vr-hold", title: "The Upper Hold", category: "city", coords: { x: 0.40, y: 0.44 }, tags: ["art pending"], body: [{ h: null, p: PLACEHOLDER }], related: [] },
    { id: "vr-watch", title: "Ash Watchtower", category: "ruin", coords: { x: 0.63, y: 0.58 }, tags: ["art pending"], body: [{ h: null, p: PLACEHOLDER }], related: [] },
  ],

  "ashen-wastes": [
    { id: "aw-pit", title: "The Glass Pit", category: "landmark", coords: { x: 0.52, y: 0.50 }, tags: ["art pending"], body: [{ h: null, p: PLACEHOLDER }], related: [] },
  ],
};
