/* ============================================================
   Lurelock design tokens
   Shared by the website and the desktop manager.
   Hand-set, deliberately small set. No generated gradients.
   ============================================================ */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --ink:        #0b110e;
  --bg:         #0d1411;
  --panel:      #111a15;
  --panel-2:    #16221b;
  --raise:      #1b2a21;
  --edge:       #23362a;
  --edge-2:     #33523e;
  --mint:       #a9f387;
  --mint-dim:   #6fae52;
  --bait:       #ffb45c;
  --bait-dim:   #c07e2f;
  --cream:      #efe7d0;
  --mut:        #92a296;
  --mut-dim:    #6d7c71;
  --sky:        #7fd7b8;
  --bad:        #e0664f;
  --bad-dim:    #923c2c;
  --ok:         #41a05e;
  --warn:       #d9a43a;

  --font-disp: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;

  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 8px 24px -18px rgba(0, 0, 0, 0.9);
  --grid: 8px;

  --measure: 64rem;
  --measure-wide: 78rem;
}

html[data-theme="light"] {
  color-scheme: light;

  --ink:        #f3eedd;
  --bg:         #e9e4d0;
  --panel:      #f5f0de;
  --panel-2:    #eee8d2;
  --raise:      #e3dbc2;
  --edge:       #c8c0a2;
  --edge-2:     #9d9576;
  --mint:       #2f7d3d;
  --mint-dim:   #3f8f4d;
  --bait:       #a55a00;
  --bait-dim:   #a55a00;
  --cream:      #241f14;
  --mut:        #5f6a5f;
  --mut-dim:    #7c867b;
  --sky:        #0c7a5c;
  --bad:        #a33c26;
  --bad-dim:    #7c2c1c;
  --ok:         #267a41;
  --warn:       #8a6413;

  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 8px 24px -18px rgba(50, 40, 10, 0.35);
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    --motion: 1;
  }
  @media (prefers-color-scheme: light) {
    :root { color-scheme: light; }
  }
}