/* Sarah Byrne Acting Academy: design tokens.
   Look: a warm 35mm film still on a television set. The logo's white and gold
   are the only brand colours; red is used once, as the record light. */

:root {
  /* Colour */
  --stock: #14100c;                       /* warm film black: the shadow colour of the grade */
  --stock-2: #1e1812;                     /* lifted shadow, for fields and sheets */
  --light: #f5ede2;                       /* warm white: all type */
  --dim: rgba(245, 237, 226, 0.72);       /* supporting type */
  --faint: rgba(245, 237, 226, 0.42);     /* quiet type, placeholders */
  --hair: rgba(245, 237, 226, 0.16);      /* field fills and the rare rule */
  --gold: #d6b03e;                        /* sampled from the logo */
  --tally: #e5372b;                       /* the record light */

  /* Type: one family. Heavy weights belong to the logo only. */
  --font: "Albert Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --w-light: 300;
  --w-book: 400;
  --w-medium: 500;

  --t-display: clamp(2.5rem, min(6.4vw, 13vh), 6.25rem);  /* frame headlines */
  --t-title: clamp(2rem, min(4.4vw, 9.5vh), 4rem);        /* names, second-level lines */
  --t-lead: clamp(1.0625rem, 1.35vw, 1.375rem); /* supporting sentence */
  --t-body: 1rem;
  --t-small: 0.875rem;

  /* Space: the title-safe inset every frame shares */
  --pad: clamp(20px, 4.4vw, 68px);
  --pad-y: clamp(20px, 4.2vh, 48px);

  /* Shape and motion */
  --r-pill: 999px;
  --r-field: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --cut: 0.001s;                          /* hard cut */
}
