/* ==== Jettro "Trip Sheet" design tokens ====
   Every color, type, space, radius and motion value on the page comes from here.
   Spec and banned list: ../DESIGN.md */
@font-face{font-family:"Archivo";src:url(fonts/archivo-var-latin.woff2) format("woff2");font-weight:700 900;font-stretch:62% 100%;font-display:swap}
@font-face{font-family:"Public Sans";src:url(fonts/publicsans-var-latin.woff2) format("woff2");font-weight:400 700;font-display:swap}
@font-face{font-family:"Kalam";src:url(fonts/kalam-400-latin.woff2) format("woff2");font-weight:400;font-display:swap}

:root{
  /* color */
  --c-desk:#E4E3DD;        /* page background, cool grey (never cream) */
  --c-desk-deep:#D6D5CE;   /* alternate band */
  --c-sheet:#FBFBF8;       /* paper: trip sheet, statements, form */
  --c-canary:#F3E7A6;      /* the second carbon copy, used once, behind the hero sheet */
  --c-carbon:#1F3A93;      /* ruled lines, handwriting, form labels */
  --c-rule:#9FA8C9;        /* light ruling on paper (decorative, never text) */
  --c-red:#C8102E;         /* carbon-book red: serial numbers, conflicts, step numbers, errors */
  --c-ink:#17181B;         /* headlines, body, primary button */
  --c-ink-2:#4A4C52;       /* secondary text (6.7:1 on desk) */
  --c-focus:#1F3A93;

  /* type */
  --f-display:"Archivo",sans-serif;       /* headlines + wordmark, used condensed */
  --f-body:"Public Sans",sans-serif; /* body + UI */
  --f-hand:"Kalam",cursive;           /* ONLY the handwriting on paper */
  --w-display:850; --st-display:62%;                   /* font-stretch for headlines */
  --t-hero:clamp(3.25rem,1.6rem + 6.4vw,6.5rem);
  --t-h2:clamp(2.25rem,1.4rem + 3.4vw,4rem);
  --t-h3:clamp(1.5rem,1.2rem + 1vw,2rem);
  --t-lead:clamp(1.125rem,1.05rem + .3vw,1.25rem);
  --t-body:1.0625rem; --t-small:.875rem; --t-micro:.8125rem;
  --t-hand:clamp(1.0625rem,.95rem + .45vw,1.4375rem);
  --lh-tight:.92; --lh-body:1.55;
  --measure:62ch;

  /* space (4px base) */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px; --s-6:32px; --s-7:48px; --s-8:64px; --s-9:96px; --s-10:128px;
  --gutter:clamp(20px,5vw,80px);
  --maxw:1280px;

  /* radius: paper is square, buttons and fields are barely rounded */
  --r-paper:0; --r-btn:4px; --r-field:3px;

  /* paper shadow: one, used only on paper */
  --sh-paper:0 1px 2px rgba(23,24,27,.12),0 18px 40px -22px rgba(40,40,30,.38);

  /* motion */
  --ease-out:cubic-bezier(.2,.8,.2,1);
  --d-press:150ms; --d-ink:250ms;
  --stagger:60ms; --ink-start:350ms;
  /* scroll moments (one each per paper, once) */
  --d-line:110ms;   /* stagger between written lines in a paper */
  --d-pen:420ms; --ease-pen:cubic-bezier(.45,0,.2,1); /* pen marks: initials, "Paid", step ticks */
  --d-strike:380ms; /* pen strike through the invoice balance */
  --d-print:600ms;  /* the pricing receipt printing out of its slot */
}
