/* dmitry.rx design tokens. The palette comes from the release covers: night-black with a green
   cast (grass fields), neon grass green as the hot accent, electric blue from the artist photo. */
@font-face {
  font-family: "Archivo";
  src: url("/static/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* contract tokens */
  --bg: #050706;
  --surface: #0c0f0e;
  --surface-2: #141917;
  --hairline: rgba(255, 255, 255, 0.08);
  --text: #f2f6f3;
  --muted: #8d9892;
  --accent: #4dff7c;
  --accent-2: #2f7dff;
  --glow: rgba(77, 255, 124, 0.34);
  --radius: 24px;
  --pad: 22px;
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.28s;

  /* extras (same family, safe to use) */
  --accent-rgb: 77 255 124;
  --accent-2-rgb: 47 125 255;
  --accent-ink: #03170a;            /* text on an accent fill */
  --glow-2: rgba(47, 125, 255, 0.36);
  --sky: #9fe3ff;                   /* cover skies: used sparingly for tiny details */
  --danger: #ff5a5f;
  --hairline-2: rgba(255, 255, 255, 0.14);
  --radius-s: 14px;
  --radius-xs: 10px;
  --gap: 14px;
  --maxw: 1320px;
  --gutter: clamp(16px, 3.2vw, 40px);
  --nav-h: 60px;
  --player-h: 68px;
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.9);

  /* live audio (0..1): player.js writes them every frame on #player, [data-audio] and .is-playing; zero elsewhere */
  --level: 0;
  --beat: 0;
}

@media (max-width: 640px) {
  :root {
    --radius: 20px;
    --pad: 16px;
    --gap: 10px;
    --nav-h: 54px;
    --player-h: 62px;
  }
}
