/* maschi.si design tokens — Terminal Ember, dark (default) and light. Source of truth: DESIGN.md. Shared by every page; do not redefine these values elsewhere. */
/* Archivo is registered at a fixed 125% width: the variable wdth axis is clamped to the descriptor, so every --display text renders as Archivo Expanded. */
@font-face { font-family: "Archivo Expanded"; font-style: normal; font-weight: 100 900; font-stretch: 125%; font-display: swap; src: url("/fonts/archivo-latin.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: "Archivo Expanded"; font-style: normal; font-weight: 100 900; font-stretch: 125%; font-display: swap; src: url("/fonts/archivo-latin-ext.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: "Spline Sans Mono"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/spline-sans-mono-latin.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: "Spline Sans Mono"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/spline-sans-mono-latin-ext.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; }

:root {
  /* Surfaces */
  --bg: #0a0908;
  --bg-2: #100e0c;
  --panel: #161311;
  --line: #231e1a;
  --line-2: #352d27;
  /* Text */
  --text: #f2ece5;
  --muted: #8f857b;
  /* Accent */
  --orange: #ff6a1a;
  --amber: #ffa24a;
  --orange-dim: #a8450f;
  --orange-ghost: rgba(255, 106, 26, .1);
  --danger: #ff5f57;
  /* Type */
  --display: "Archivo Expanded", "Segoe UI", system-ui, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  /* Shape */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 18px;
  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: .2s;
  --dur: .45s;
  /* Surfaces that are not plain fills */
  color-scheme: dark;
  --header-bg: rgba(10, 9, 8, .72);
  --term-top: #14110f;
  --term-bottom: #0c0a09;
  --hot-bg: #22150d;
  --title-dim: #3a312a;
  --outro-ink: #2a231e;
  --scanline: rgba(255, 255, 255, .014);
  --placeholder: #6b625a;
  --backdrop: rgba(0, 0, 0, .6);
  --shadow-strong: rgba(0, 0, 0, .65);
  --danger-ghost: rgba(255, 95, 87, .08);
  --dot-rgb: 42, 35, 30;
  --theme-color: #0a0908;
}

/* Light theme: warm grey + orange. Same names, so components need no changes. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #e6e3df;
  --bg-2: #efedea;
  --panel: #f8f7f5;
  --line: #d5d0ca;
  --line-2: #bdb6ad;
  --text: #1b1815;
  --muted: #5f5750;
  --orange: #ad3f09;
  --amber: #9a5a06;
  --orange-dim: #e0a07c;
  --orange-ghost: rgba(173, 63, 9, .1);
  --danger: #b3261e;
  --header-bg: rgba(230, 227, 223, .8);
  --term-top: #fbfaf8;
  --term-bottom: #f1efec;
  --hot-bg: #f5e2d5;
  --title-dim: #c4bdb4;
  --outro-ink: #d3cdc5;
  --scanline: rgba(0, 0, 0, .016);
  --placeholder: #8a8279;
  --backdrop: rgba(40, 34, 28, .35);
  --shadow-strong: rgba(40, 34, 28, .25);
  --danger-ghost: rgba(179, 38, 30, .08);
  --dot-rgb: 196, 189, 180;
  --theme-color: #e6e3df;
}
