/* Hallmark · tokens for i12y.studio · every colour, font, size and easing used by site.css and site.js */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; 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: "Archivo";
  src: url("fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; 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: "Geist";
  src: url("fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/geist-cyrillic.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; 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: "Geist Mono";
  src: url("fonts/geist-mono-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono-cyrillic.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  /* Studio: warm black, bone ink, one loud signal colour */
  --color-studio-paper:  oklch(14% 0.012 100);
  --color-studio-paper-2: oklch(18% 0.014 100);
  --color-studio-ink:    oklch(95% 0.02 100);
  --color-studio-muted:  oklch(74% 0.02 100);
  --color-studio-rule:   oklch(95% 0.02 100 / 0.16);
  --color-signal:        oklch(91% 0.2 112);
  --color-signal-ink:    oklch(20% 0.05 112);
  --color-focus:         oklch(86% 0.19 112);
  --color-mask-soft:     oklch(0% 0 0 / 0.35);
  --color-mask-full:     oklch(0% 0 0 / 1);

  /* Mendus: deep indigo, the app's teal and pink verdict bar */
  --color-mendus-paper:  oklch(19% 0.085 285);
  --color-mendus-ink:    oklch(95% 0.025 300);
  --color-mendus-muted:  oklch(80% 0.05 295);
  --color-mendus-accent: oklch(80% 0.13 305);
  --color-mendus-you:    oklch(84% 0.15 185);
  --color-mendus-partner: oklch(70% 0.22 352);

  /* TARS: ink black and ember */
  --color-tars-paper:    oklch(15% 0.012 265);
  --color-tars-ink:      oklch(92% 0.008 90);
  --color-tars-muted:    oklch(74% 0.01 90);
  --color-tars-ember:    oklch(68% 0.19 45);
  --color-tars-peach:    oklch(84% 0.1 55);
  --color-tars-dawn:     oklch(68% 0.19 45 / 0.34);
  --color-tars-mid:      oklch(77% 0.15 50);
  --color-tars-hot:      oklch(91% 0.05 55);

  /* ZyQuit: daylight and plan green */
  --color-zy-paper:      oklch(97% 0.004 130);
  --color-zy-ink:        oklch(22% 0.015 155);
  --color-zy-muted:      oklch(42% 0.015 150);
  --color-zy-green:      oklch(61% 0.16 152);
  --color-zy-green-deep: oklch(44% 0.12 152);
  --color-zy-leaf:       oklch(70% 0.17 140);
  --color-zy-leaf-light: oklch(80% 0.17 132);
  --color-zy-wood:       oklch(40% 0.055 55);
  --color-zy-pot:        oklch(78% 0.012 95);
  --color-zy-pot-shade:  oklch(66% 0.014 95);
  --color-zy-bar:        oklch(89% 0.008 140);
  --color-zy-poly-1:     oklch(80% 0.19 128);
  --color-zy-poly-2:     oklch(70% 0.19 133);
  --color-zy-poly-3:     oklch(56% 0.16 138);
  --color-zy-trunk:      oklch(40% 0.03 50);
  --color-zy-soil:       oklch(36% 0.02 50);
  --color-zy-pot-body:   oklch(68% 0.035 120);
  --color-zy-pot-rim:    oklch(88% 0.012 100);
  --color-zy-shadow:     oklch(22% 0.015 155 / 0.14);

  /* SignArmor: navy, amber ring, red flags, cream paper */
  --color-sa-paper:      oklch(21% 0.055 265);
  --color-sa-paper-2:    oklch(26% 0.065 265);
  --color-sa-ink:        oklch(95% 0.012 85);
  --color-sa-muted:      oklch(78% 0.025 265);
  --color-sa-amber:      oklch(77% 0.16 70);
  --color-sa-red:        oklch(63% 0.22 27);
  --color-sa-red-wash:   oklch(63% 0.22 27 / 0.16);
  --color-sa-amber-wash: oklch(77% 0.16 70 / 0.22);
  --color-sa-sheet:      oklch(96% 0.012 85);
  --color-sa-sheet-ink:  oklch(30% 0.04 265);
  --color-sa-sheet-line: oklch(30% 0.04 265 / 0.2);

  /* Ephem: night */
  --color-ephem-paper:   oklch(15% 0.014 255);
  --color-ephem-ink:     oklch(93% 0.012 255);
  --color-ephem-muted:   oklch(76% 0.03 255);
  --color-ephem-blue:    oklch(72% 0.09 255);
  --color-ephem-glow:    oklch(42% 0.09 255);
  --color-ephem-warm:    oklch(88% 0.06 80);
  --color-ephem-shade:   oklch(24% 0.03 255);

  /* aibar: warm dark, the orb's cyan */
  --color-aibar-paper:   oklch(17% 0.01 40);
  --color-aibar-paper-2: oklch(24% 0.03 50);
  --color-aibar-ink:     oklch(94% 0.006 80);
  --color-aibar-muted:   oklch(76% 0.008 60);
  --color-aibar-amber:   oklch(76% 0.15 62);
  --color-aibar-cyan:    oklch(80% 0.13 225);
  --color-aibar-mic:     oklch(64% 0.22 27);
  --color-aibar-notch:   oklch(0% 0 0);
  --color-aibar-tile:    oklch(100% 0 0 / 0.06);
  --color-aibar-tile-line: oklch(100% 0 0 / 0.08);
  --color-aibar-text:    oklch(100% 0 0 / 0.92);
  --color-aibar-text-2:  oklch(100% 0 0 / 0.62);
  --color-aibar-text-3:  oklch(100% 0 0 / 0.45);
  --color-aibar-control: oklch(100% 0 0 / 0.1);
  --color-aibar-orb:     oklch(81% 0.12 225);
  --color-aibar-weather: oklch(36% 0.1 275);
  --color-aibar-cpu:     oklch(72% 0.12 200);
  --color-aibar-ram:     oklch(60% 0.24 320);
  --color-aibar-sunrise: oklch(72% 0.17 55);

  /* Kybermark: paper and bank blue */
  --color-kyber-paper:   oklch(96% 0.006 260);
  --color-kyber-ink:     oklch(24% 0.035 262);
  --color-kyber-muted:   oklch(41% 0.02 260);
  --color-kyber-accent:  oklch(42% 0.115 259);
  --color-kyber-rule:    oklch(24% 0.035 262 / 0.2);
  --color-kyber-late:    oklch(52% 0.19 27);
  --color-kyber-warn:    oklch(62% 0.14 70);

  --font-brand:   "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.375rem;
  --text-xl:   1.75rem;
  --text-2xl:  2.25rem;
  --text-job:  clamp(4rem, 10.5vw + 2rem, 9.5rem);
  --text-h1:   clamp(3rem, 6.4vw + 1rem, 7rem);
  --text-mark: clamp(8rem, 46vw, 40rem);

  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 9rem;

  --page-gutter: clamp(1rem, 4vw, 3.5rem);
  --sheet-radius: clamp(1.5rem, 4vw, 3rem);
  --radius-icon: 22.5%;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-pill: 999px;
  --rule-hair: 1px;

  --lh-display: 0.9;
  --ls-display: -0.015em;
  --ls-label: 0.04em;
  --stretch-display: 72%;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.3, 1.35, 0.5, 1);
  --dur-micro: 120ms;
  --dur-short: 240ms;
  --dur-long:  700ms;
  --dur-reveal: 1100ms;
}

/* Scripts the bundled fonts do not cover fall back to the system stack. The brand mark stays in Archivo. */
.script-cyrillic {
  --font-display: "Geist", "Helvetica Neue", Arial, sans-serif;
  --stretch-display: 100%;
  --ls-display: -0.03em;
  --lh-display: 0.98;
  --text-job: clamp(2.75rem, 6.5vw + 1.25rem, 6.75rem);
  --text-h1:  clamp(2.5rem, 4.6vw + 1rem, 5.25rem);
}
.script-cjk, .script-deva, .script-arab {
  --stretch-display: 100%;
  --ls-display: 0em;
  --ls-label: 0em;
  --text-job: clamp(2.75rem, 6vw + 1.25rem, 6.25rem);
  --text-h1:  clamp(2.5rem, 4.4vw + 1rem, 5rem);
}
.script-cjk {
  --font-display: system-ui, -apple-system, "Hiragino Sans", "PingFang SC", "PingFang TC", "Apple SD Gothic Neo", "Noto Sans CJK JP", "Noto Sans CJK SC", "Microsoft YaHei", "Malgun Gothic", "Yu Gothic", sans-serif;
  --font-body: var(--font-display);
  --font-mono: var(--font-display);
  --lh-display: 1.12;
}
.script-cjk:lang(zh-Hant) {
  --font-display: system-ui, -apple-system, "PingFang TC", "Noto Sans CJK TC", "Microsoft JhengHei", sans-serif;
}
.script-cjk:lang(ko) {
  --font-display: system-ui, -apple-system, "Apple SD Gothic Neo", "Noto Sans CJK KR", "Malgun Gothic", sans-serif;
}
.script-deva {
  --font-display: system-ui, -apple-system, "Kohinoor Devanagari", "Noto Sans Devanagari", "Nirmala UI", sans-serif;
  --font-body: var(--font-display);
  --font-mono: var(--font-display);
  --lh-display: 1.3;
}
.script-arab {
  --font-display: system-ui, -apple-system, "SF Arabic", "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-body: var(--font-display);
  --font-mono: var(--font-display);
  --lh-display: 1.3;
}
