/* Ecomake theme: the New Year layer. Loaded only while the theme setting ny_enabled is on (head.html); switching it off
 * brings the usual look back with no change of code. Only tokens and one block (.ny-gifts) are changed here:
 * the deep field (hero ask, strip above the header, primary buttons, footer) turns dark evergreen, the clay accent turns cranberry,
 * gold is a thin line and nothing else (it does not reach 3:1 on the ivory ground, so it never carries text).
 * Contrast measured with infra/check-ny-contrast.py: text on --deep and --clay-deep on --ivory pass 4.5:1. */

html:root {
  /* the deep field */
  --deep: #1d2a22;
  --deep-2: #283a2f;
  --on-deep: #f6efe6;
  --on-deep-muted: #bccabf;
  /* accents: cranberry instead of terracotta (same warm family as the lip and blush tones of the line) */
  --clay: #8a3342;
  --clay-deep: #6b2431;
  --ny-gold: #b08d4a;
}

::selection { background: color-mix(in srgb, var(--clay) 24%, transparent); color: var(--ink); }

/* snow on the first screen (js/ecomake.ny.js): over the picture, never takes a click */
.ny-snow { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ny-count { margin-top: 10px; font-family: var(--f-display); font-style: italic; font-size: var(--fs-sub); color: var(--clay-deep); }

/* the gifts block: a short gold rule over the heading, the entries are the same ruled list as "Начните с задачи" */
.ny-gifts { background: var(--ivory); }
.ny-gifts .section__head { position: relative; padding-top: 22px; }
.ny-gifts .section__head::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 1px; background: var(--ny-gold); }
.ny-gifts .h2 em { color: var(--clay-deep); }
.ny-gifts .task__item { border-top-color: var(--ny-gold); }
.ny-gifts .link-arrow { color: var(--clay-deep); }
@media (hover: hover) { .ny-gifts .link-arrow:hover { color: var(--deep); } }
