/* ==========================================================================
   THEME — edit these to restyle the whole game.
   Colours, fonts and a few sizes live here; layout lives in styles.css.
   ========================================================================== */

@font-face { font-family: "Bricolage"; src: url("fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dmsans.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dmsans-italic.woff2") format("woff2"); font-weight: 100 1000; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains"; src: url("fonts/jetbrains.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("fonts/caveat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("fonts/caveat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* Fonts */
  --font-display: "Bricolage", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains", ui-monospace, "SF Mono", Menlo, monospace;
  --font-hand: "Caveat", "Comic Sans MS", cursive;

  /* Base palette (night) */
  --ink-0: #07081a;
  --ink-1: #0d0f26;
  --ink-2: #151838;
  --ink-3: #20244d;
  --line: rgba(255, 255, 255, 0.10);
  --text: #eef0ff;
  --text-dim: #a9aed6;
  --paper: #fbf6ea;
  --paper-ink: #1f1d2b;

  /* The four brain characters — each has one colour used everywhere */
  --pfc: #52d6ff;        /* Prefrontal cortex: control, planning  */
  --pfc-deep: #1f7fd1;
  --reward: #ff8a3d;     /* Ventral striatum: reward, hype        */
  --reward-deep: #ff3d7f;
  --amyg: #ff4a5e;       /* Amygdala: alarm, panic                */
  --amyg-deep: #b3123a;
  --hippo: #6ff2b4;      /* Hippocampus: memory                   */
  --hippo-deep: #16a37a;

  --gold: #ffd166;
  --good: #7cf29c;
  --bad: #ff5d73;

  /* Surfaces */
  --glass: rgba(14, 16, 40, 0.72);
  --glass-strong: rgba(10, 12, 32, 0.9);
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);

  /* Text sizing (scales with viewport) */
  --fs-narration: clamp(17px, 1.55vw, 23px);
  --fs-choice: clamp(15px, 1.2vw, 19px);
}
