/* Blue Fantasy Studio design tokens.
   Monochrome cyanotype: print blue and paper white, plus tints of the same blue.
   No second hue. OKLCH values are the source of truth. */

@font-face {
  font-family: "Mona Sans";
  src: url("/assets/fonts/mona-sans-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mona Sans";
  src: url("/assets/fonts/mona-sans-latin-ext.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  /* Carries the combining tone marks and dotted vowels Yoruba needs. */
  font-family: "Mona Sans";
  src: url("/assets/fonts/mona-sans-vietnamese.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  /* Numbers only: prices, times, figures. */
  font-family: "Martian Mono";
  src: url("/assets/fonts/martian-mono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-sans: "Mona Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "Cascadia Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --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; --s-11: 160px;

  --t-0: 12.75px; --t-1: 17px; --t-2: 22.66px; --t-3: 30.2px; --t-4: 40.26px; --t-5: 53.67px; --t-6: 71.54px;

  --radius: 2px;
  --content: 1240px;
  --header-h: 72px;
}

/* Blueprint theme (dark, default): the print itself. */
:root,
:root[data-theme="blueprint"] {
  --sheet: oklch(0.26 0.105 260);
  --sheet-2: oklch(0.30 0.11 260);
  --tint: oklch(0.47 0.11 258);
  --tint-2: oklch(0.70 0.075 255);
  --line: oklch(0.965 0.012 90);
  --line-dim: oklch(0.965 0.012 90 / 0.55);
  --line-faint: oklch(0.965 0.012 90 / 0.14);
  --ink: oklch(0.965 0.012 90);
  --ink-2: oklch(0.83 0.035 255);
  --accent: oklch(0.965 0.012 90);
  --accent-hover: oklch(0.88 0.035 255);
  --on-accent: oklch(0.24 0.105 260);
  --live: oklch(0.965 0.012 90);
  --vignette: oklch(0.14 0.08 262 / 0.6);
  --develop: oklch(0.12 0.07 262);
  --grain-opacity: 0.07;
  --grain-blend: overlay;
  color-scheme: dark;
}

/* Whiteprint theme (light): blue lines on paper. */
:root[data-theme="whiteprint"] {
  --sheet: oklch(0.975 0.008 90);
  --sheet-2: oklch(0.945 0.014 255);
  --tint: oklch(0.62 0.09 256);
  --tint-2: oklch(0.80 0.05 255);
  --line: oklch(0.38 0.135 260);
  --line-dim: oklch(0.38 0.135 260 / 0.6);
  --line-faint: oklch(0.38 0.135 260 / 0.16);
  --ink: oklch(0.27 0.105 260);
  --ink-2: oklch(0.45 0.06 258);
  --accent: oklch(0.33 0.125 260);
  --accent-hover: oklch(0.40 0.135 260);
  --on-accent: oklch(0.975 0.008 90);
  --live: oklch(0.38 0.135 260);
  --vignette: oklch(0.55 0.06 255 / 0.10);
  --develop: oklch(0.55 0.13 262);
  --grain-opacity: 0.05;
  --grain-blend: multiply;
  color-scheme: light;
}
