/*
 * Rituel — design tokens shared by the prototype pages.
 * Single source for colours, type, radii, shadows and motion.
 * Load it before the page stylesheet; a page may add local tokens on top,
 * but never redefine these.
 */
:root {
  /* Colour */
  --cream: #f2eadb;          /* page ground */
  --surface: #e9dfcc;        /* resting panels, tiles */
  --paper: #fbf7ef;          /* raised panels, fields */
  --ink: #23161a;
  --muted: #5d4c4f;
  --bordeaux: #5a1a22;
  --bordeaux-hover: #6d2029;
  --gold: #b8913c;
  --gold-light: #dcb45f;
  --ok: #2f6b45;

  /* Type */
  --display: "Young Serif", Georgia, serif;
  --text: "Source Serif 4", Georgia, serif;

  /* Radii */
  --r: 12px;                 /* controls: buttons, fields, chips */
  --r-card: 16px;            /* panels */
  --card-r: 4.8% / 3.43%;    /* a physical playing card, 63 × 88 */

  /* Shadows */
  --card-shadow: 0 0 0 1px rgb(35 22 26 / .07), 0 1px 2px rgb(35 22 26 / .1), 0 10px 22px -12px rgb(35 22 26 / .45);
  --lift-shadow: 0 22px 44px -22px rgb(35 22 26 / .55), 0 2px 6px rgb(35 22 26 / .12);

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press: 160ms;        /* :active feedback */
  --dur-quick: 200ms;        /* colour, hover */
  --dur-base: 320ms;         /* reveals, accordions */

  /* Layout */
  --page-gutter: clamp(16px, 3.4vw, 48px);
  --header-h: 72px;
}
@media (max-width: 860px) {
  :root { --header-h: 60px; }
}
