/* DESIGN TOKENS: the only place colors, fonts, sizes, radii and shadows are set.
   Change a value here and rebuild; every page and the app follow.
   Palette is plain black and white (grays only for borders and secondary text). */
:root{
  --color-paper:#ffffff;      /* page background (also PWA background_color) */
  --color-paper-deep:#f2f2f2; /* bands, wells, footer */
  --color-card:#ffffff;       /* rows, cards, inputs */
  --color-ink:#000000;        /* text, rules (also PWA theme_color) */
  --color-ink-soft:#444444;   /* secondary text (AA on paper, ~9.7:1) */
  --color-rule:#cccccc;       /* hairlines */
  --color-accent:#000000;     /* used for emphasis; no hue */
  --accent:#1F4FFF;           /* wordmark only: the "Unhinged" in ItsUnhinged.com */
  --color-accent-ink:#ffffff; /* text on accent / inverted fills */
  --color-accent-2:#000000;   /* links, focus */
  --color-marker:#ffffff;     /* inverted text on ink (banner, member band) */
  --color-marker-soft:#f2f2f2;/* quiet hover wash */
  --color-ok:#000000;
  --color-warn-bg:#f2f2f2;
  --color-pdf:#000000;        /* file-type icon bands (monochrome) */
  --color-docx:#000000;
  --color-xlsx:#000000;
  --color-fill:#000000;
  --color-focus:#000000;
  --color-scrim:rgba(0,0,0,.55); /* behind dialogs */

  /* type */
  --font-display:"Fraunces","Iowan Old Style","Georgia",serif;
  --font-body:"Atkinson Hyperlegible",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-mono:"Space Mono",ui-monospace,"SFMono-Regular",Menlo,monospace;
  --font-hand:"Caveat","Segoe Print","Bradley Hand",cursive;
  --font-brand:"Bricolage Grotesque",system-ui,-apple-system,"Segoe UI",sans-serif;
  --text-xs:.78rem; --text-sm:.9rem; --text-md:1rem; --text-lg:1.18rem; --text-xl:1.5rem;
  --text-hero:clamp(2.4rem,8.5vw,5.6rem);
  --leading:1.5;
  --display-soft:"SOFT" 100,"WONK" 1;

  /* spacing scale */
  --space-1:.25rem; --space-2:.5rem; --space-3:.75rem; --space-4:1rem; --space-5:1.5rem; --space-6:2rem; --space-7:3rem;
  --measure:72rem; --measure-narrow:44rem;

  /* shapes & depth */
  --radius-sm:4px; --radius-md:10px; --radius-lg:18px; --radius-pill:999px;
  --border:1.5px solid var(--color-ink);
  --hairline:1px solid var(--color-rule);
  --shadow-press:3px 3px 0 var(--color-ink);       /* letterpress offset */
  --shadow-press-lg:5px 5px 0 var(--color-ink);
  --shadow-paper:0 1px 0 rgba(0,0,0,.08),0 8px 18px -10px rgba(0,0,0,.45);
  --tilt:-1.6deg;
  --speed:.18s;

  /* sizes */
  --thumb-w:84px; --thumb-h:108px; --icon:34px; --tap:44px;
}
@media (min-width:900px){:root{--thumb-w:96px;--thumb-h:124px}}
@media (prefers-reduced-motion:reduce){:root{--speed:0s;--tilt:0deg}}
