/* assets/seasonal.css — THE CALENDAR DRESSING SYSTEM (v96).
   Every rule in this file is scoped under one of the three season
   body classes assets/seasonal.js sets (season-thanksgiving,
   season-christmas, season-afterglow). Off-season, no class is
   set and nothing in this file can touch a page. Zero image
   assets: the lights are CSS dots, the garland is a border.
   Animation exists only under prefers-reduced-motion:
   no-preference; under reduce, the dressing is perfectly still. */

/* ================= the season strip (all three states) ================= */
body.season-thanksgiving .ew-season-strip,
body.season-christmas .ew-season-strip,
body.season-afterglow .ew-season-strip {
  max-width: 1180px; margin: 12px auto 0; padding: 11px 16px;
  border-radius: 12px; font-size: 14.5px; line-height: 1.5; text-align: center;
}
body.season-thanksgiving .ew-season-strip {
  background: linear-gradient(90deg, #fdf0dc, #fbe3c2 55%, #fdf0dc);
  border: 2px solid #d97706; color: #5b3410;
}
body.season-thanksgiving .ew-season-strip a { color: #9a4a08; font-weight: 700; }
body.season-christmas .ew-season-strip {
  background: linear-gradient(90deg, #e9f9ef, #d8f3dc 55%, #e9f9ef);
  border: 2px solid #1d7a4f; color: #123f2a;
}
body.season-christmas .ew-season-strip a { color: #14663d; font-weight: 700; }
body.season-afterglow .ew-season-strip {
  background: #fff8e6; border: 1.5px solid var(--gold, #ffb703); color: #5b5470;
}
body.season-afterglow .ew-season-strip a { color: #9a6b00; font-weight: 700; }

/* ================= frame accents ================= */
/* harvest rule under the nav for Thanksgiving week */
body.season-thanksgiving .topnav { border-bottom: 4px solid #d97706; }
body.season-thanksgiving header { border-bottom: 3px solid #d97706; }
/* Christmas lights along the nav — CSS dots, no images */
body.season-christmas .topnav { border-bottom: 4px solid #1d7a4f; position: sticky; }
body.season-christmas .topnav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; pointer-events: none;
  background-image:
    radial-gradient(circle at 8px 4px, #ff5d8f 2.6px, transparent 3.2px),
    radial-gradient(circle at 24px 4px, #ffd670 2.6px, transparent 3.2px),
    radial-gradient(circle at 40px 4px, #06d6a0 2.6px, transparent 3.2px),
    radial-gradient(circle at 56px 4px, #7bdff2 2.6px, transparent 3.2px);
  background-size: 64px 8px; background-repeat: repeat-x;
}
body.season-christmas header { border-bottom: 3px solid #1d7a4f; }
/* the quiet gold trim of New Year's Week */
body.season-afterglow .topnav { border-bottom: 4px solid var(--gold, #ffb703); }
body.season-afterglow header { border-bottom: 2px solid var(--gold, #ffb703); }

/* ================= front-door accents ================= */
/* fall dressing on the doors and the map sections */
body.season-thanksgiving #theDoors,
body.season-thanksgiving #theMap {
  border: 2px solid #d97706; border-radius: 16px;
  box-shadow: 0 0 0 4px rgba(217, 119, 6, .12);
}
body.season-thanksgiving #thanksgiving { outline: 3px solid rgba(217, 119, 6, .35); }
/* garland on the doors for the Christmas season */
body.season-christmas #theDoors {
  border: 2px solid #1d7a4f; border-top: 8px solid #1d7a4f; border-radius: 16px;
  box-shadow: 0 0 0 4px rgba(29, 122, 79, .12);
}
body.season-christmas #theMap { border: 2px solid #1d7a4f; border-radius: 16px; }
body.season-afterglow #theDoors,
body.season-afterglow #theMap { border: 1.5px solid var(--gold, #ffb703); border-radius: 16px; }

/* ================= the Santa Mastercam promotion ================= */
body.season-christmas .ew-santa-promo-card {
  background: linear-gradient(180deg, #ffffff, #e9f9ef);
  border: 2px solid #1d7a4f; border-radius: 14px; padding: 16px 18px; text-align: left;
}
body.season-christmas .ew-santa-promo-kicker {
  color: #c9184a; font-weight: 800; letter-spacing: .06em; font-size: 12.5px;
}
body.season-christmas .ew-santa-promo-title { font-weight: 800; font-size: 19px; margin: 4px 0 6px; }
body.season-christmas .ew-santa-promo-card p { margin: 0 0 10px; line-height: 1.55; }

/* ================= motion: only for those who welcome it ================= */
@media (prefers-reduced-motion: no-preference) {
  body.season-christmas .topnav::after { animation: ew-season-twinkle 2.8s ease-in-out infinite alternate; }
  @keyframes ew-season-twinkle { from { opacity: .72; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  body.season-thanksgiving .ew-season-strip,
  body.season-christmas .ew-season-strip,
  body.season-afterglow .ew-season-strip,
  body.season-christmas .topnav::after { animation: none !important; transition: none !important; }
}
