/* ============ Animoir — ONE knob for the size of the whole site ============
 * Every length in site.css, nav.css, stories.css, styles.css, example.css and legal/legal.css is in
 * rem (1rem = 16px in the Figma frames), so the root font-size scales text, spacing,
 * radii, icons, illustrations, shadows and the max container width together and the
 * proportions stay exactly as in Figma. Only breakpoints, hairline borders (<= 2.5px)
 * and the 3px focus rings stay in px.
 *
 *   --ui-scale: 1      = the Figma sizes 1:1 (phones, tablets, touch screens)
 *   --ui-scale: .875   = desktop / laptop (mouse or trackpad, 960px and wider)
 *   --ui-scale: .8125  = the same, in a short window (880px high or less): a 13" laptop shows
 *                        about 1440x700-790, and at .875 no block of the page fitted in it whole
 *
 * To make the desktop bigger or smaller, change the .875 below (e.g. .85 or .9).
 * Load this file first on every page. Do not use `zoom` / `transform: scale` instead:
 * they break layout, hit-testing and the sticky nav.
 */
:root{--ui-scale:1}
@media (min-width:960px) and (hover:hover) and (pointer:fine){
  :root{--ui-scale:.875}
}
@media (min-width:960px) and (max-height:880px) and (hover:hover) and (pointer:fine){
  :root{--ui-scale:.8125}
}
/* 100% keeps the visitor's own browser font-size setting */
html{font-size:calc(100% * var(--ui-scale))}
