/* The Winter Carnival: season tokens (contracts/theme.md). A new season copies this file with the same names.
   This is the only file in the app that carries hex, rgb or font names. */
:root[data-season="winter"] {
  /* ground and sky */
  --cv-night:        #0e1430;
  --cv-night-2:      #1a2350;
  --cv-snow:         #f4f8ff;
  --cv-frost:        #b9c8ea;

  /* signs and wood */
  --cv-wood:         #5a2f17;
  --cv-wood-2:       #7a4322;
  --cv-red:          #b3261e;
  --cv-red-deep:     #7c1714;
  --cv-cream:        #f7ead2;
  --cv-cream-2:      #ecd6ad;
  --cv-ink:          #2a120c;
  --cv-ink-2:        #6b4a3a;

  /* light */
  --cv-gold:         #f2c14e;
  --cv-gold-hot:     #ffdd7a;
  --cv-bulb:         #ffe7a3;
  --cv-live:         #3fbf6a;
  --cv-warn:         #ff8a7a;
  --cv-rl-orange:    #f26a1b;

  /* type */
  --cv-font-sign:    'Alfa Slab One', Georgia, serif;
  --cv-font-ui:      'Nunito', system-ui, sans-serif;
  --cv-num:          tabular-nums;

  /* shape and depth */
  --cv-radius-chip:  999px;
  --cv-radius-card:  18px;
  --cv-radius-plaque: 10px;
  --cv-border-sign:  3px solid var(--cv-gold);
  --cv-shadow:       0 10px 30px rgba(6, 4, 18, .55);
  --cv-glow:         0 0 18px rgba(255, 214, 120, .65);
  --cv-glow-strong:  0 0 28px rgba(255, 221, 122, .9);

  /* motion */
  --cv-ease-out:     cubic-bezier(.22, 1, .36, 1);
  --cv-ease-bounce:  cubic-bezier(.34, 1.56, .64, 1);
  --cv-dur-fast:     160ms;
  --cv-dur:          320ms;
  --cv-dur-slow:     700ms;

  /* art slots the CSS paints. A url() inside a custom property resolves where the var() is USED (app.css, at the app
     root), not in this file, so these paths are relative to the app root. '../img' broke every one under a folder. */
  --cv-img-map-wide:  url('img/winter/map-wide.webp');
  --cv-img-map-tall:  url('img/winter/map-tall.webp');
  --cv-img-sky:       url('img/winter/sky.webp');
  --cv-img-sign:      url('img/winter/sign-frame.webp');
  --cv-img-soon:      url('img/winter/soon-sign.webp');
  --cv-img-panel:     url('img/winter/panel-wood.webp');

  /* weather: the shell's canvas reads these */
  --cv-particles:     snow;
  --cv-particle-n:    90;

  /* shell-derived tints (same palette, alpha only), so app.css never writes a colour */
  --cv-scrim:        rgba(8, 10, 28, .62);
  --cv-scrim-soft:   rgba(8, 10, 28, .34);
  --cv-glass:        rgba(14, 20, 48, .78);
  --cv-wood-glass:   rgba(58, 28, 12, .88);
  --cv-line:         rgba(185, 200, 234, .22);
  --cv-gold-line:    rgba(242, 193, 78, .55);
  --cv-gold-soft:    rgba(242, 193, 78, .16);
  --cv-bulb-soft:    rgba(255, 231, 163, .35);
  --cv-ink-line:     rgba(42, 18, 12, .16);
  --cv-sky-top:      #070b1f;
}
@media (prefers-reduced-motion: reduce) {
  :root[data-season="winter"] { --cv-particle-n: 0; --cv-dur: 1ms; --cv-dur-slow: 1ms; }
}
