/* tokens.css - Trademarc Plastering & Rendering. Direction A: "From the damp-proof course to the ridge".
   Colours from the logo as sent (#141414 ground, #F97C0A orange, white) and his finished render (#E7E8E6).
   Type: Gabarito (heavy round geometric, like the TRADEMARC wordmark) over Manrope. Both self-hosted, SIL OFL. */

@font-face {
  font-family: "Gabarito";
  src: url("/fonts/Gabarito-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gabarito Fallback";
  src: local("Arial");
  size-adjust: 104.49%;
  ascent-override: 89.96%;
  descent-override: 24.88%;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial");
  size-adjust: 106.77%;
  ascent-override: 99.84%;
  descent-override: 28.1%;
}

/* one number animated by every scroll-tied piece: CSS keyframes drive it where scroll timelines exist, motion.js sets
   it where they do not - one formula per piece either way */
@property --p {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

:root {
  --ink: #141414;
  --ink-2: #1e1e1d;
  --ink-3: #2a2a29;
  --orange: #F97C0A;
  --orange-lg: #B75A04;   /* orange as LARGE text on render grey: 3.8:1 */
  --orange-sm: #9A4A03;   /* orange as small text on render grey: 5.1:1 */
  --render: #E7E8E6;
  --render-2: #D8D9D6;
  --white: #FFFFFF;
  --mute-d: #B9BBB8;      /* quiet text on ink: 9.5:1 */
  --mute-l: #4A4C4A;      /* quiet text on render grey: 7.1:1 */
  --rule-d: #3a3b39;
  --rule-l: #b4b6b2;

  --f-head: "Gabarito", "Gabarito Fallback", Arial, sans-serif;
  --f-body: "Manrope", "Manrope Fallback", Arial, sans-serif;

  --pad: clamp(20px, 4.6vw, 56px);
  --max: 1240px;
  --sec: clamp(30px, 6.4vw, 108px);
  --hdr: 76px;
  --rail: 56px;

  --t-h1: clamp(32px, 4.6vw + 14px, 76px);
  --t-h2: clamp(27px, 2.6vw + 17px, 52px);
  --t-h3: clamp(20px, 0.6vw + 18px, 26px);
  --t-body: clamp(15px, 0.2vw + 14.3px, 17px);
  --t-small: 13.5px;
}
