/* Hallmark · genre: editorial · macrostructure: Split Studio · theme: custom (tuned)
 * vibe: "stucco white, logo red, charcoal, clay tile" · anchor: Sillect logo red rgb(200 24 32) + charcoal rgb(36 36 36)
 * paper oklch(96.6% 0.007 75) · accent oklch(52% 0.2 26) · display Bricolage Grotesque 800 + body Atkinson Hyperlegible Next
 * axes: light / grotesk-sans (heavy) / warm · enrichment: owner's own job photos (no stock) + Tier A CSS tile strip
 * nav: N9 edge-aligned · footer: Ft1 mast-headed · CTA: C4 sticky bottom bar (phones) · features: F3 spec sheet
 */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/Bricolage.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/Atkinson-Next.woff2") format("woff2");
  font-weight: 200 800; font-display: swap;
}

:root {
  /* colour: paper is warm stucco, ink is the logo charcoal, accent is the logo red */
  --color-paper:      oklch(96.6% 0.007 75);
  --color-paper-2:    oklch(93.2% 0.011 70);
  --color-paper-3:    oklch(89.5% 0.014 66);
  --color-ink:        oklch(25.5% 0.006 60);
  --color-ink-2:      oklch(42% 0.008 60);
  --color-rule:       oklch(84% 0.012 65);
  --color-rule-strong:oklch(70% 0.012 62);
  --color-accent:     oklch(52% 0.2 26);
  --color-accent-ink: oklch(45% 0.185 26);
  --color-accent-soft:oklch(93% 0.035 28);
  --color-on-accent:  oklch(98.5% 0.004 75);
  --color-dark:       oklch(25.5% 0.006 60);
  --color-shadow:     oklch(25% 0.02 50 / 0.55);
  --color-dark-2:     oklch(31% 0.006 58);
  --color-on-dark:    oklch(96.6% 0.007 75);
  --color-on-dark-2:  oklch(80% 0.01 70);
  --color-on-dark-rule: oklch(40% 0.008 60);
  --color-clay:       oklch(63% 0.13 45);
  --color-clay-hi:    oklch(71% 0.12 50);
  --color-clay-lo:    oklch(50% 0.12 40);
  --color-focus:      oklch(50% 0.17 255);
  --color-focus-on-dark: oklch(82% 0.11 240);
  --color-ok:         oklch(48% 0.12 150);
  --color-error:      oklch(48% 0.19 27);

  /* type */
  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: clamp(1.75rem, 1.35rem + 1.8vw, 2.5rem);
  --text-3xl: clamp(2.1rem, 1.5rem + 2.8vw, 3.4rem);
  --text-display: clamp(2.6rem, 1.6rem + 5.2vw, 5.6rem);

  /* space: 4 pt scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --page-gutter: clamp(1.125rem, 0.6rem + 2.4vw, 2.5rem);
  --page-max: 72rem;

  /* shape + rules */
  --radius-sm: 4px;
  --radius-md: 8px;
  --rule-hair: 1px;
  --rule-heavy: 3px;

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 120ms;
  --dur-med: 220ms;
  --dur-slow: 420ms;
}
