/*
  Palette provenance: k-means (k=6, 200px downsample of brand/LOGO UNIORA JPG.jpg.jpeg, 2000x2000 RGB),
  every centroid snapped to the nearest real pixel. Source coordinates are (row,col) on the 200px grid.
  --u-wood comes from reference/SAMPUL UNIORA JPG.jpg.jpeg (1500x500), wainscot cluster, same method.
  This is the only file in the project allowed to hold colour literals.
*/
:root{
  --u-cream:#EADCC5;      /* cluster 43.1%, snapped pixel (234,220,197) at (0,36) */
  --u-cream-mid:#E3D3B9;  /* cluster 30.5%, snapped pixel (227,211,185) at (76,99) */
  --u-cream-hi:#FAF2E0;   /* cluster 12.3%, snapped pixel (250,242,224) at (2,27) */
  --u-oxblood:#50120E;    /* cluster 6.5%,  snapped pixel (80,18,14) at (134,116) */
  --u-gold:#956233;       /* cluster 5.3%,  snapped pixel (149,98,51) at (64,127) */
  --u-gold-lt:#CA9E6A;    /* cluster 2.3%,  snapped pixel (202,158,106) at (126,82) */
  --u-wood:#462410;       /* banner cluster 16.3%, snapped pixel (70,36,16) at (60,147) */

  --u-paper:var(--u-cream);
  --u-raised:var(--u-cream-hi);
  --u-sunken:var(--u-cream-mid);
  --u-ink:var(--u-wood);
  --u-ink-muted:color-mix(in srgb,var(--u-wood) 72%,var(--u-cream));
  --u-rule:color-mix(in srgb,var(--u-gold) 38%,var(--u-cream));
  --u-accent:var(--u-oxblood);
  --u-gain:var(--u-gold);
  --u-loss:var(--u-oxblood);

  --u-font-display:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;
  --u-font-body:"Charter","Iowan Old Style",Georgia,"Times New Roman",serif;
  --u-font-mono:ui-monospace,"Cascadia Mono","SF Mono",Menlo,Consolas,monospace;

  --u-ease:cubic-bezier(0.2,0,0,1);
  --u-quick:150ms;
  --u-settle:200ms;
  --u-deliberate:250ms;
  --u-rise:600ms;

  --u-s1:0.25rem;--u-s2:0.5rem;--u-s3:1rem;--u-s4:1.5rem;--u-s5:2rem;--u-s6:3rem;
  --u-radius:3px;
  --u-shadow:0 1px 2px color-mix(in srgb,var(--u-wood) 14%,transparent);
  --u-shadow-bar:0 2px 10px color-mix(in srgb,var(--u-wood) 14%,transparent);
}
@media (prefers-reduced-motion:reduce){
  :root{--u-quick:0ms;--u-settle:0ms;--u-deliberate:0ms;--u-rise:0ms}
}
