/*
  Rasselas design tokens
  Shared by the landing page (css/site.css) and the Meta ad templates (ads/ads.css).
  Change a value here and both update.

  Layout concept: a quiet printed-notice feel. Linen ground, ink type set in
  Caslon, one barn-red accent reserved for the FACT labels and links.
*/

@font-face { font-family: "Libre Caslon Display"; src: url("../fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("../fonts/libre-caslon-text-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("../fonts/libre-caslon-text-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("../fonts/libre-caslon-text-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Color */
  --paper: #ECE5D6;        /* page ground: light linen beige */
  --paper-deep: #E3DAC7;   /* alternate band */
  --paper-lift: #F4EFE4;   /* card and answer surface */
  --ink: #1D211C;          /* type, logo */
  --ink-soft: #4C5047;     /* body copy, captions */
  --rule: #C9BCA3;         /* hairlines */
  --barn: #8A2E21;         /* accent: FACT labels, links, focus */

  /* Type */
  --font-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-sans: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  /* Type scale (page) */
  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(1.875rem, 1.3rem + 2.4vw, 3rem);
  --step-4: clamp(2.5rem, 1.5rem + 4.4vw, 4.75rem);

  /* Space */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: clamp(4rem, 3rem + 5vw, 7.5rem);

  --measure: 34rem;
  --wrap: 72rem;
  --radius: 2px;
}
