/* ==========================================================================
   AFTER DARK · brand.css
   The one place the site's fonts and colours live. Every page loads this
   file first, so changing a value here changes it everywhere.

   To change the font:  swap the @import URL and --font-body / --font-display.
   To change a colour:  edit the value. light-dark(A, B) holds a light and a
                        dark version; the site is locked to dark, so B is used.
                        To bring light mode back, change color-scheme below to
                        "light dark" and it will follow the visitor's phone.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;              /* site is dark only */

  /* ---- type ---- */
  --font-body:    "Chakra Petch", system-ui, sans-serif;
  --font-display: "Chakra Petch", system-ui, sans-serif;

  /* ---- brand ---- */
  --accent:      #d63fd0;                         /* After Dark magenta: buttons, glow, highlights */
  --accent-ink:  light-dark(#a51f9f, #e86ae3);    /* magenta for text, tuned to stay readable */
  --on-accent:   #ffffff;                         /* text sitting on a magenta fill */

  /* ---- surfaces ---- */
  --bg:     light-dark(#f3f1ee, #0c0c0f);         /* page background */
  --panel:  light-dark(#ffffff, #17171c);         /* cards and boxes */
  --line:   light-dark(#dcd9d4, #2a2a31);         /* borders and dividers */

  /* ---- text ---- */
  --ink:    light-dark(#121216, #ecebe7);         /* main text */
  --soft:   light-dark(#5c5a62, #a3a1aa);         /* secondary text, labels, hints */

  /* ---- the printed tag (illustrations) ---- */
  --tag:    light-dark(#2a2a30, #2b2b32);         /* tag body */
  --cut:    #0b0b0d;                              /* recessed lettering */
}


/* Base type, so every page starts from the same place. */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
}
h1, h2, h3 { font-family: var(--font-display); }
