/* Alexander's design tokens. Documented in DESIGN.md: change both together. */
:root {
  /* colour: the royal purple and gold of the gift box and pouches, with map-parchment cards */
  --night: #1c0a22;          /* page ground: deepest royal purple */
  --royal-deep: #2a0f33;     /* sections, film backdrop */
  --royal: #4a1a5a;          /* raised panels, banners */
  --royal-2: #6b2a80;        /* hover, highlights on purple */
  --gold: #d9a43a;           /* gold: armour, route line, borders, Greek key */
  --gold-soft: #f2cf72;      /* bright gold: headings on purple */
  --gold-deep: #9a6a18;      /* gold for small text on parchment */
  --parchment: #f6ead2;      /* cards, narration, form: old map paper */
  --parchment-2: #ecd9b4;
  --parchment-3: #dcc293;
  --ink: #3a2216;            /* text on parchment */
  --ink-soft: #6b4a35;
  --text: #f4e6cd;           /* main text on purple */
  --text-dim: #cdb9c9;       /* secondary text on purple */
  --salt: #f4a7a0;           /* pink salt */
  --salt-deep: #d8655f;
  --crest: #c8261f;          /* helmet crest red, sparingly */
  --line: rgba(244, 230, 205, 0.16);  /* parchment hairlines on purple */
  --line-ink: rgba(58, 34, 22, 0.18); /* hairlines on parchment */

  /* type */
  --wordmark: "Cinzel Decorative", "Cinzel", Georgia, serif;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --script: "Playfair Display", Georgia, serif;
  --body: "Crimson Pro", "Iowan Old Style", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0: clamp(1.08rem, 1rem + 0.3vw, 1.24rem);
  --step-1: clamp(1.3rem, 1.18rem + 0.6vw, 1.6rem);
  --step-2: clamp(1.7rem, 1.45rem + 1.2vw, 2.4rem);
  --step-3: clamp(2.2rem, 1.7rem + 2.4vw, 3.8rem);
  --step-4: clamp(2.6rem, 1.6rem + 5.2vw, 6.8rem);

  /* space and shape */
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --max: 1240px;
  --radius: 14px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* the Greek-key border from the packaging */
  --meander: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 13h26V1H8v8h10V5h-6' fill='none' stroke='%23d9a43a' stroke-width='1.8'/%3E%3C/svg%3E");
}
