/* Comrades & Chollimas design tokens. Reusable by the website.
   Source of truth for the A4 one-pager (onepager.html mirrors these values). */
@font-face{font-family:"Bebas Neue";src:local("Bebas Neue"),url("../fonts/BebasNeue-Regular.ttf") format("truetype");font-weight:400;font-display:swap}
:root{
  /* colour: four inks on warm paper, nothing else */
  --cc-paper:#f5efe0;      /* ground */
  --cc-paper-hi:#fbf7ea;   /* highlight of the ground, card faces */
  --cc-paper-lo:#e6dcc3;   /* shade of the ground */
  --cc-red:#c4251c;        /* Comrades, headlines, stamps */
  --cc-blue:#1d37b0;       /* Company, sub-heads, footer */
  --cc-ink:#0f1738;        /* body text */
  --cc-mute:#4a4f6a;       /* secondary text on paper */
  --cc-on-red:#fff3ec;     /* text on red (contrast >= 5.4) */
  --cc-on-blue:#f5efe0;    /* text on blue */
  --cc-on-ink:#f5efe0;     /* text on ink */
  /* type */
  --cc-font-display:"Bebas Neue","Oswald","DejaVu Sans Condensed",sans-serif;
  --cc-font-body:"DejaVu Sans","DejaVu Sans Condensed",sans-serif;
  --cc-font-mono:"JetBrainsMono Nerd Font","JetBrains Mono","DejaVu Sans Mono",monospace;
  /* type scale (px on the 794 px A4 canvas; use rem x 16/ratio on web) */
  --cc-fs-hero:44px; --cc-fs-hero-sub:26px; --cc-fs-cta:40px; --cc-fs-section:30px;
  --cc-fs-chair:27px; --cc-fs-duty:22px; --cc-fs-box:21px; --cc-fs-body:11.2px; --cc-fs-small:10.4px; --cc-fs-label:9px;
  /* spacing (4 px base) */
  --cc-space-1:4px; --cc-space-2:8px; --cc-space-3:12px; --cc-space-4:16px; --cc-space-5:24px; --cc-space-6:32px;
  /* shape and depth */
  --cc-radius:4px; --cc-radius-lg:6px; --cc-rule-thick:4px; --cc-rule-double:3px double;
  --cc-shadow:0 4px 10px rgba(15,23,56,.22);
  /* website additions (rem scale; the one-pager does not use these) */
  --cc-measure:68ch;
  --cc-web-body:1rem; --cc-web-small:.875rem; --cc-web-label:.75rem;
  --cc-web-h1:clamp(2.75rem,9vw,4.5rem); --cc-web-h2:clamp(1.9rem,5vw,2.5rem); --cc-web-h3:1.5rem;
  --cc-focus:3px solid var(--cc-blue);
  --cc-hit:44px;
}
