/* The Reel Me: design tokens and base styles (from BRAND-GUIDE.md). */
:root {
  color-scheme: light;

  /* colour */
  --paper: #F4EDE1;
  --paper-light: #FFF9EF;
  --ink: #161616;
  --muted: #625D56;           /* 5.9:1 on paper */
  --orange: #FF5A36;          /* ink on orange 6.4:1; white on orange fails AA for body text */
  --cobalt: #2457C5;          /* 5.5:1 on paper; white on cobalt 6.2:1 */
  --glow: #DCE3EE;
  --rule: #161616;
  --hair: rgba(22, 22, 22, 0.16);
  --tint-1: #E8DFD0;          /* neutral tints for chart grids and empty cells */
  --tint-2: #D6CBB8;
  --cobalt-1: #D8E1F4;        /* cobalt ramp for sequential data */
  --cobalt-2: #AFC3EA;
  --cobalt-3: #7F9FDD;
  --cobalt-4: #4271CC;         /* lightest shade where small white type still passes AA (4.7:1) */
  --cobalt-5: #2457C5;
  --cobalt-6: #173C8C;

  /* type */
  --font-display: "Archivo", "Archivo Black", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-stretch: 68%;     /* Archivo's width axis: condensed, poster-like */
  --tracking-label: 0.12em;

  /* shape and motion */
  --radius-sm: 4px;
  --radius-md: 8px;
  --dur: 200ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: 16px;
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cobalt); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
