/* Botcafé — design tokens (stijlrichting B: Italiaanse espressobar)
   Elke pagina gebruikt alleen deze variabelen, nooit losse kleurcodes.
   Contrast getoetst aan WCAG AA (4,5:1 voor gewone tekst). */

:root {
  /* Kleur: dag (licht) */
  --paper:        #f6efe2;  /* achtergrond, menukaartpapier */
  --surface:      #fffaf0;  /* kaarten, bonnetjes */
  --ink:          #2a211c;  /* tekst            13,8:1 op paper */
  --ink-soft:     #6b5d52;  /* bijschriften      5,5:1 op paper */
  --tomato:       #d2452c;  /* vlakken en grote koppen (3,97:1: niet voor kleine tekst) */
  --tomato-ink:   #b23a22;  /* rood als tekst    5,2:1 op paper */
  --on-tomato:    #fffaf0;  /* tekst op rood vlak: alleen groot of vet */
  --mint:         #8fc5b0;  /* accentvlak; ink erop 8,1:1 */
  --mustard:      #e2a93b;  /* accentvlak; ink erop 7,5:1 */
  --line:         #2a211c;  /* kaderlijnen */

  /* Stempels (robots.txt-gedrag) */
  --stamp-netjes:      #2f7a5f;
  --stamp-halfnetjes:  #b07a16;
  --stamp-lakaan:      var(--tomato-ink);
  --stamp-ongelezen:   var(--ink-soft);

  /* Letters */
  --font-display: 'DM Serif Display', Georgia, serif;   /* koppen, getallen */
  --font-body:    'Work Sans', system-ui, sans-serif;   /* lopende tekst */
  --font-mono:    'DM Mono', ui-monospace, monospace;   /* user-agents, bedragen, tijden */
  --size-xs: .75rem;  --size-s: .875rem;  --size-m: 1rem;
  --size-l: 1.375rem; --size-xl: 2rem;    --size-xxl: 3rem;

  /* Ruimte en vorm */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px;
  --space-4: 16px; --space-5: 24px; --space-6: 40px;
  --radius: 2px;              /* bijna recht: gedrukt papier */
  --border: 2px solid var(--line);
  --shadow-ticket: 3px 3px 0 var(--line);   /* bonnetje dat op tafel ligt */
  --max-width: 1100px;
}

/* Kleur: nacht (donker). Espressobar na sluitingstijd. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:      #1c1512;
    --surface:    #2a201b;
    --ink:        #f3e9d8;  /* 15,0:1 */
    --ink-soft:   #b8ab98;  /*  8,0:1 */
    --tomato:     #e8644a;
    --tomato-ink: #f07a5e;  /*  6,6:1 */
    --on-tomato:  #1c1512;
    --mint:       #7fb8a3;
    --mustard:    #e2a93b;
    --line:       #f3e9d8;
    --stamp-netjes:     #6fc3a0;
    --stamp-halfnetjes: #e2a93b;
  }
}
:root[data-theme="dark"] {
  --paper:      #1c1512;
  --surface:    #2a201b;
  --ink:        #f3e9d8;
  --ink-soft:   #b8ab98;
  --tomato:     #e8644a;
  --tomato-ink: #f07a5e;
  --on-tomato:  #1c1512;
  --mint:       #7fb8a3;
  --mustard:    #e2a93b;
  --line:       #f3e9d8;
  --stamp-netjes:     #6fc3a0;
  --stamp-halfnetjes: #e2a93b;
}
