/* Blooming Chiropractic. Tokens only.
   Palette shared with the platform (/bloomwithchiroplatform-demo/).
   Warm paper ground, deep brown-black ink, one saffron accent kept for the thing to click.
   Contrast (WCAG): ink on page 13.1, mute on page 5.2, mute on page-2 4.6,
   ink on accent 7.4. accent-text (#9a6a0c) is 4.1 on page, so it is used only
   for display-size type (24px and up), never for body or labels. dim and taupe
   are for hairlines and large type only. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
  /* grounds */
  --ink-rgb: 42 37 33;
  --cream-rgb: 247 243 238;
  --ink: #2a2521;
  --page: #f3eee8;
  --page-2: #e9e2d9;
  --cream: #f7f3ee;

  /* text */
  --taupe: #8d8278;
  --mute: #6b625a;
  --dim: #857b72;
  --on-ink: #f7f3ee;
  --on-ink-mute: rgb(var(--cream-rgb) / 0.74);

  /* one accent */
  --accent: #e9a92b;
  --accent-lt: #f1c062;
  --accent-text: #9a6a0c;
  --ring: rgb(233 169 43 / 0.45);

  /* form error: 6.0:1 on page-2, 7.0:1 on cream */
  --error: #8a3b1c;

  /* lines and surfaces */
  --hair: rgba(42, 37, 33, 0.12);
  --hair-2: rgba(42, 37, 33, 0.24);
  --hair-ink: rgb(var(--cream-rgb) / 0.14);
  --glass: rgb(var(--ink-rgb) / 0.94);

  /* motion */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 320ms;

  /* space and shape: radius only on controls and media */
  --gutter: clamp(16px, 5vw, 80px);
  --section: clamp(72px, 10vw, 152px);
  --max: 1360px;
  --r-lg: 3px;
  --r-xl: 6px;

  /* type: Cormorant Garamond / Plus Jakarta Sans */
  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --text: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --h1: clamp(40px, 6.2vw, 84px);
  --h2: clamp(34px, 4.4vw, 60px);
  --h3: clamp(25px, 2.3vw, 34px);
  --body: 17px;
}
