/* Articulat CF (brand font, owner-supplied): Extra Light 200, Normal 350, Regular 400, Medium 500,
   Demi Bold 600, Bold 700, Heavy 900. Ranges map in-between weights onto the nearest real file. */
@font-face { font-family: "Articulat CF"; font-style: normal; font-weight: 100 299; font-display: swap; src: url("../fonts/articulat-cf-200.woff2") format("woff2"); }
@font-face { font-family: "Articulat CF"; font-style: normal; font-weight: 300 399; font-display: swap; src: url("../fonts/articulat-cf-350.woff2") format("woff2"); }
@font-face { font-family: "Articulat CF"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/articulat-cf-400.woff2") format("woff2"); }
@font-face { font-family: "Articulat CF"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/articulat-cf-500.woff2") format("woff2"); }
@font-face { font-family: "Articulat CF"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/articulat-cf-600.woff2") format("woff2"); }
@font-face { font-family: "Articulat CF"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/articulat-cf-700.woff2") format("woff2"); }
@font-face { font-family: "Articulat CF"; font-style: normal; font-weight: 800 900; font-display: swap; src: url("../fonts/articulat-cf-900.woff2") format("woff2"); }
/* Self-hosted fonts (SIL Open Font License 1.1, files from Fontsource 5.3.0). Latin + Latin Extended (₹ is in Latin Extended). */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
  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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2") format("woff2");
  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: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  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: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2");
  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: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  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: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext-500-normal.woff2") format("woff2");
  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;
}

/* ==========================================================================
   Websitewale design tokens: "Blueprint & Ink"
   Shared by the public site and the admin panel. See docs/05-DESIGN-SYSTEM.md
   ========================================================================== */

:root {
  color-scheme: light;

  /* Colour */
  --ww-ink: #0E1424;
  --ww-ink-soft: #4A5368;
  --ww-bg: #F7F5F0;
  --ww-surface: #FFFFFF;
  --ww-surface-2: #EFECE4;
  --ww-line: #DDD8CC;
  --ww-line-strong: #C9C2B2;
  --ww-accent: #C2410C;
  --ww-accent-hover: #A8380A;
  --ww-accent-bright: #F06A1E;
  --ww-accent-ink: #FFFFFF;
  --ww-accent-soft: #FDEBDD;
  --ww-accent-text: #A8380A; /* accent for small text: ≥ 4.5:1 on bg and surface-2 */
  --ww-blueprint: #1F4FD8;
  --ww-success: #1E7F4F;
  --ww-warning: #B26A00;
  --ww-danger: #C2362B;
  --ww-grid-line: rgb(14 20 36 / 0.06);

  /* Typography */
  --ff-display: "Articulat CF", "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-body: "Articulat CF", "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-mono: "Articulat CF", "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-xs: 0.78rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-2xl: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  --fs-3xl: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --fs-display: clamp(2.6rem, 1.6rem + 4.6vw, 5.5rem);

  --lh-tight: 1.05;
  --lh-snug: 1.25;
  --lh-body: 1.65;

  /* Spacing (4px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;
  --section-y: clamp(3.5rem, 2rem + 6vw, 8rem);
  --gutter: clamp(1rem, 0.6rem + 1.6vw, 2rem);
  --container: 1240px;

  /* Shape and depth */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-pill: 999px;
  --shadow-1: 0 1px 2px rgb(14 20 36 / 0.06);
  --shadow-2: 0 12px 32px -12px rgb(14 20 36 / 0.18);
  --focus-ring: 0 0 0 3px var(--ww-bg), 0 0 0 6px var(--ww-blueprint);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-1: 150ms;
  --dur-2: 250ms;
  --dur-3: 400ms;
}

/* Dark theme: follows the OS unless the visitor chose light explicitly */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ww-ink: #EEF0F5;
    --ww-ink-soft: #A9B0C2;
    --ww-bg: #0B0F1A;
    --ww-surface: #121829;
    --ww-surface-2: #182036;
    --ww-line: #26304A;
    --ww-line-strong: #36425F;
    --ww-accent: #FF8A3D;
    --ww-accent-hover: #FF9F5E;
    --ww-accent-bright: #FF9A55;
    --ww-accent-ink: #0B0F1A;
    --ww-accent-soft: #3A2414;
    --ww-accent-text: #FF8A3D;
    --ww-blueprint: #7EA2FF;
    --ww-success: #4CC38A;
    --ww-warning: #F0B44C;
    --ww-danger: #FF7A6E;
    --ww-grid-line: rgb(238 240 245 / 0.05);
    --shadow-1: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow-2: 0 16px 40px -16px rgb(0 0 0 / 0.6);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ww-ink: #EEF0F5;
  --ww-ink-soft: #A9B0C2;
  --ww-bg: #0B0F1A;
  --ww-surface: #121829;
  --ww-surface-2: #182036;
  --ww-line: #26304A;
  --ww-line-strong: #36425F;
  --ww-accent: #FF8A3D;
  --ww-accent-hover: #FF9F5E;
  --ww-accent-bright: #FF9A55;
  --ww-accent-ink: #0B0F1A;
  --ww-accent-soft: #3A2414;
  --ww-accent-text: #FF8A3D;
  --ww-blueprint: #7EA2FF;
  --ww-success: #4CC38A;
  --ww-warning: #F0B44C;
  --ww-danger: #FF7A6E;
  --ww-grid-line: rgb(238 240 245 / 0.05);
  --shadow-1: 0 1px 2px rgb(0 0 0 / 0.4);
  --shadow-2: 0 16px 40px -16px rgb(0 0 0 / 0.6);
}

/* Real code keeps a monospace face */
:where(code, pre, kbd, samp) { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
