/*
 * christmas/2026.css: the 2026 YEAR layer (R-A-0983). Linked after christmas/base.css, during the
 * 2026 season alone (Dec 2026 and the first days of Jan 2027). Next year copies this file to
 * christmas/2027.css (and its drawings to images/season/christmas/2027/) and swaps the piece;
 * the base layer stays. Same rules as the base: every selector starts with html[data-season="christmas"].
 * This year's piece is the garland swag over the home hero.
 */

/* ── Home hero: a garland hung from the bottom of the site bar, edge to edge (Master 2026-11-18: the old
   swag "doesnt connect ... it stops randomly"). One swag per tile, anchor to anchor, each anchor a gold knot
   and bow on the bar's hairline; mask-repeat round fits a whole number of swags to the hero's width, so the
   first and last anchors land exactly on the left and right edges at every width (390 to 1920+) and nothing
   ends in mid-air. The drawing stretches a little to fit (preserveAspectRatio="none"); the height never does.
   Four sizes, one shape (280x72, 240x62 at 960 and under, 200x52 at 575 and under, 160x42 under 360): a phone gets two whole
   swags (390/200 rounds to 2), so the baubles stay round.
   top is the fixed bar's height (64px, 68px at 960 and under) because the hero starts under the bar. Absolute,
   so zero layout shift; it never reaches the eyebrow (its top: 144px at 320, 152px at 576, 198px at 768, 210px above 960) and leaves the LCP image alone. ── */
html[data-season="christmas"] .h-hero::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 64px;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--secondary); /* the hero is a navy photo veil in both themes */
  -webkit-mask: url("/images/season/christmas/2026/garland-swag.svg") 0 0 / 280px 72px round no-repeat;
  mask: url("/images/season/christmas/2026/garland-swag.svg") 0 0 / 280px 72px round no-repeat;
  opacity: 0.95;
  pointer-events: none;
}
@media (max-width: 960px) {
  html[data-season="christmas"] .h-hero::before {
    top: 68px;
    height: 62px;
    -webkit-mask-size: 240px 62px;
    mask-size: 240px 62px;
  }
}
@media (max-width: 575px) {
  html[data-season="christmas"] .h-hero::before {
    height: 52px;
    -webkit-mask-size: 200px 52px;
    mask-size: 200px 52px;
  }
}
@media (max-width: 359px) {
  html[data-season="christmas"] .h-hero::before {
    height: 42px;
    -webkit-mask-size: 160px 42px;
    mask-size: 160px 42px;
  }
}
