/* Sol & Prism — brand tokens v2 (storefront + Atelier OS).
   Type: Cormorant Garamond (static cuts, so no hairline seams at display sizes) for every headline,
   price and name;
   Jost for reading and UI. No monospace anywhere; nothing smaller than 12px.
   Colour: pure white ground, royal-blue type, gold for detail only.
   Three palettes share one token set; html[data-palette] picks one (default Sapphire). */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap");

:root {
  /* light surfaces — cool, bright, never beige */
  --white: #ffffff;
  --pearl: #f6f8fd;
  --mist: #eef2fb;
  --line: #e1e7f4;
  /* ink */
  --ink: #16307f;            /* royal-blue type */
  --ink-2: #33489a;
  --muted: #6c7aae;
  /* signature jewel tone */
  --jewel: #1f3fae;          /* royal sapphire */
  --jewel-bright: #3561ea;
  --jewel-deep: #0c1d5e;
  --jewel-night: #060c26;
  --jewel-soft: #e9eefc;
  /* gold — hairlines, numerals, small accents */
  --gold: #b88a2e;
  --gold-bright: #e2bf6e;
  --gold-grad: linear-gradient(100deg, #a8781f 0%, #e9c977 45%, #b88a2e 70%, #f3dc9c 100%);
  /* 3D stage backdrops (read by the engine) */
  --stage-hi: #ffffff;
  --stage-lo: #f2f5fb;
  --stage-dark-hi: #1d3b9c;
  --stage-dark-lo: #050a22;
  --card-hi: #f8f8fa;
  --card-lo: #eceef3;

  --font-display: "Cormorant Garamond", "Cormorant", "Garamond", Georgia, serif;
  --font-body: "Jost", "Futura", "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --font-mono: var(--font-body);   /* legacy alias: there is no mono in the brand */

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r: 2px;

  /* legacy aliases used by older components */
  --ivory: var(--white);
  --paper: var(--pearl);
  --bone: var(--mist);
  --sand: var(--line);
  --obsidian: var(--ink);
  --night: var(--jewel-night);
  --graphite: var(--ink-2);
  --smoke: var(--muted);
  --mist-text: #9aa6c4;
  --champagne: var(--gold);
  --champagne-soft: var(--gold-bright);
  --moon: #eef2ff;
}

html[data-palette="emerald"] {
  --pearl: #f4f9f7; --mist: #e4f0eb; --line: #d9e8e1;
  --ink: #06221a; --ink-2: #29473d; --muted: #5f7b71;
  --jewel: #0f6b4f; --jewel-bright: #17936c; --jewel-deep: #07402f; --jewel-night: #03170f; --jewel-soft: #e3f3ec;
  --stage-hi: #edf5f1; --stage-lo: #d3e6dc; --stage-dark-hi: #136b51; --stage-dark-lo: #021610;
  --card-hi: #eef6f2; --card-lo: #d6e7de; --moon: #ecfbf4; --mist-text: #93b5a8;
}
html[data-palette="ruby"] {
  --pearl: #fcf6f8; --mist: #f6e7ec; --line: #efdde3;
  --ink: #2a0712; --ink-2: #57303c; --muted: #8a6470;
  --jewel: #9b1c3c; --jewel-bright: #c8284f; --jewel-deep: #5e0c22; --jewel-night: #210510;
  --jewel-soft: #fbe8ee;
  --stage-hi: #f7eef1; --stage-lo: #ead6dd; --stage-dark-hi: #8e1a38; --stage-dark-lo: #1a030a;
  --card-hi: #f8f0f3; --card-lo: #ecdbe1; --moon: #fff0f4; --mist-text: #c49aa7;
}
