/*
  Rail Letters: design tokens
  A white gallery wall with black ink. A huge blocky wordmark runs down the
  left and right edges like banners hung in a hall, content sits between them
  in zigzag rows of flat drawn posters and big underlined titles. One loud red,
  a poster green and a sun yellow live only inside the drawn posters and a
  few badges. Buttons are black pills.

  Fonts (Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Rubik+Mono+One&family=Hanken+Grotesk:wght@400;500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --rl-paper: #FFFFFF;
  --rl-bone: #F4F1EA;
  --rl-bone-2: #E9E4D8;

  /* Ink */
  --rl-ink: #121211;
  --rl-soft: #5D5A55;
  --rl-hair: #DCD8CF;

  /* Poster colors */
  --rl-red: #E2412E;
  --rl-red-deep: #B92E1F;
  --rl-green: #23935A;
  --rl-sun: #F5C02C;
  --rl-sky: #86BCE3;
  --rl-pink: #F2A7B8;

  /* Fonts */
  --rl-font-rail: "Rubik Mono One", "Arial Black", sans-serif;
  --rl-font-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --rl-font-serif: "Source Serif 4", Georgia, serif;

  /* Type scale */
  --rl-text-rail: clamp(88px, 8.4vw, 132px);
  --rl-text-hero: clamp(44px, 6.4vw, 96px);
  --rl-text-h2: clamp(32px, 3.8vw, 52px);
  --rl-text-title: clamp(28px, 3vw, 42px);
  --rl-text-h3: 22px;
  --rl-text-lead: 20px;
  --rl-text-body: 17px;
  --rl-text-small: 14px;
  --rl-text-label: 12px;

  /* Shape */
  --rl-radius-0: 0;
  --rl-radius-sm: 6px;
  --rl-radius-pill: 999px;
  --rl-border: 2px solid var(--rl-ink);
  --rl-border-thin: 1px solid var(--rl-hair);
  --rl-underline: 2px;
  --rl-shadow-poster: 0 18px 40px -22px rgba(18, 18, 17, 0.45);

  /* Space */
  --rl-gutter: clamp(16px, 8vw, 128px);
  --rl-container: 1180px;
  --rl-prose: 700px;
  --rl-section: clamp(64px, 9vw, 128px);
  --rl-gap: clamp(24px, 4vw, 64px);
}
