/* Holiday 2026 storefront (ADR-092). Every rule is scoped to a `hx-` class that only Holiday markup
   renders, or to [data-campaign="holiday"]; nothing here applies to the default site. Colours come
   only from the --season-* roles (contrast-tested in season-tokens.test.ts). Motion: CSS only,
   marked data-season-motion; the global motion contract (globals.css) stops it under
   data-motion="off" and reduced motion and pauses ambient pieces under "lite". */

.hx-field-loud { background: var(--season-loud); color: var(--season-on-loud); }
.hx-field-quiet { background: var(--season-quiet); color: var(--season-on-quiet); }
.hx-field-paper { background: var(--season-paper); color: var(--season-on-paper); }
.hx-field-knit {
  background: var(--season-quiet) url("/seasonal/holiday/pattern-knit.svg") repeat;
  background-size: 48px;
}
.hx-field-stars { background: var(--season-quiet) url("/seasonal/holiday/pattern-wrap-stars.svg") repeat; background-size: 48px; }
/* Star paper behind text at low contrast (audit W2 G2): the pattern shows through a 90 % ivory wash, so
   ink text keeps its contrast (measured on the rendered page) and the paper stays visible. */
.hx-field-wrap { --hx-bg: var(--season-field); background: linear-gradient(rgb(249 249 249 / 0.9), rgb(249 249 249 / 0.9)), url("/seasonal/holiday/pattern-wrap-stars.svg") 0 0 / 56px; color: var(--season-ink); }
.hx-field-quiet { --hx-bg: var(--season-quiet); }
.hx-field-paper { --hx-bg: var(--season-paper); }
/* A torn paper edge on top of a section, in that section's own colour, over the one above. */
.hx-torn { position: relative; }
/* Nothing seasonal pokes past the screen edge (bows, stickers): clipped sideways only, so the torn
   edges above each section stay visible. */
section[data-seasonal-module], [data-seasonal-module] > section { overflow-x: clip; }
.hx-torn::before {
  content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 14px; background: var(--hx-bg, var(--season-field)); pointer-events: none; z-index: 1;
  clip-path: polygon(0 60%, 3% 30%, 7% 55%, 11% 20%, 16% 50%, 21% 15%, 26% 45%, 31% 25%, 36% 60%, 41% 20%, 46% 50%, 51% 10%, 56% 45%, 61% 25%, 66% 55%, 71% 15%, 76% 50%, 81% 30%, 86% 60%, 91% 20%, 96% 50%, 100% 30%, 100% 100%, 0 100%);
}
/* A scalloped edge (mockup M24/M25 bands). */
.hx-scallop { position: relative; }
.hx-scallop::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; background: radial-gradient(circle at 10px 10px, var(--hx-bg, var(--season-field)) 10px, transparent 10.5px) repeat-x 0 0 / 20px 10px; pointer-events: none; z-index: 1; }

.hx-display { margin: 0; font-size: clamp(2.9rem, 8.6vw, 7.2rem); line-height: 0.9; letter-spacing: -0.045em; font-weight: 800; }
.hx-display .hx-l { letter-spacing: -0.035em; }
.hx-lede { max-width: 46ch; font-size: 1rem; line-height: 1.5; }
@media (min-width: 1024px) { .hx-lede { font-size: 1.125rem; } }
.hx-h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1; letter-spacing: -0.035em; font-weight: 700; }
.hx-l { font-weight: 300; }
/* The seasonal kit's type scale (approved mockup) uses heavier weights than the default system;
   they live here, in the seasonal stylesheet, not as utilities in the components. */
.hx-strong { font-weight: 700; }
.hx-eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0; font-size: 0.8125rem; font-weight: 600; line-height: 1.2; }
.hx-eyebrow::before { content: ""; width: 1.25rem; height: 1px; background: currentColor; }

.hx-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 1.25rem;
  border-radius: 999px; font-size: 0.9375rem; font-weight: 600; background: var(--season-ink); color: var(--season-field);
}
.hx-btn-light { background: var(--season-field); color: var(--season-ink); }
.hx-btn-accent { background: var(--season-accent); color: var(--season-on-accent); }
.hx-link {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; font-size: 0.9375rem; font-weight: 600;
  text-decoration: underline; text-underline-offset: 0.25em;
}
[data-campaign] :is(.hx-btn, .hx-link, .hx-chip, .hx-tile, .hx-tier, .hx-day, .hx-track, .hx-railbtn, .hx-nav-entry, .hx-kind-link, .hx-crumb, .hx-menu-promo):focus-visible,
[data-campaign] .hx-tabs input:focus-visible + label, [data-campaign] .hx-pause:focus-within {
  outline: 2px solid var(--season-ink); outline-offset: 3px;
}
[data-campaign] :is(.hx-hero, .hx-strip, .hx-finder, .hx-listhead, .hx-cap, .hx-half-nye, .hx-field-loud) :is(.hx-btn, .hx-link, .hx-chip, .hx-tile, .hx-railbtn, .hx-crumb, .hx-kind-link):focus-visible,
[data-campaign] :is(.hx-hero, .hx-strip, .hx-finder, .hx-listhead) .hx-pause:focus-within,
[data-campaign] :is(.hx-finder, .hx-half-nye) .hx-tabs input:focus-visible + label {
  outline: 3px solid var(--season-focus-on-loud); outline-offset: 3px;
}
[data-campaign] .hx-tag:focus-visible { outline: 3px solid var(--season-focus-on-loud); outline-offset: 4px; }
/* The site's global CSS sets `button, input { outline: none !important }`: a shorthand, so it also
   forces the outline colour (currentColor) and width. Seasonal buttons restore all three, ink on light
   fields and the light focus colour on the loud fields (audit A2 finding 2, step A3). */
[data-campaign] button:is(.hx-chip, .hx-link, .hx-btn, .hx-railbtn, .hx-tile):focus-visible { outline: 2px solid var(--season-ink) !important; outline-offset: 3px !important; }
[data-campaign] :is(.hx-hero, .hx-strip, .hx-finder, .hx-listhead, .hx-cap, .hx-half-nye, .hx-field-loud) button:is(.hx-chip, .hx-link, .hx-btn, .hx-railbtn, .hx-tile):focus-visible { outline: 3px solid var(--season-focus-on-loud) !important; }

.hx-chip {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px;
  border: 1px solid var(--color-hairline); background: var(--season-field); color: var(--season-ink);
  font-size: 0.875rem; font-weight: 500; white-space: nowrap;
}
.hx-chip[aria-current="true"], .hx-chip[aria-pressed="true"] { background: var(--season-loud-2); border-color: var(--season-loud-2); color: var(--season-on-loud-2); }

/* M01 strip ---------------------------------------------------------------------------------- */
.hx-strip { position: relative; z-index: 6; background: var(--season-loud); color: var(--season-on-loud); }
.hx-strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -17px; height: 24px; pointer-events: none; background: url("/seasonal/holiday/string-lights.svg") repeat-x 0 0 / 190px auto; }
/* All messages share one grid cell: the cell is as tall as the longest, so nothing is clipped at any width. */
.hx-strip-msgs { display: grid; flex: 1; min-width: 0; }
.hx-strip-msg { grid-area: 1 / 1; margin: 0; font-size: 0.8125rem; font-weight: 600; line-height: 1.3; }
.hx-strip-msg:not(:first-child) { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  /* MO-02: each message shows for 5 s once, then the first message stays. */
  [data-motion="full"] .hx-strip-msg { animation: hx-msg 5s linear 1 both; animation-delay: calc(var(--i) * 5s); }
  [data-motion="full"] .hx-strip-msg:first-child { animation: hx-msg-first 15s linear 1 both; }
}
.hx-strip:has(input:checked) .hx-strip-msg { animation-play-state: paused; }
@keyframes hx-msg { 0%, 100% { opacity: 0; } 6%, 94% { opacity: 1; } }
@keyframes hx-msg-first { 0%, 31% { opacity: 1; } 33%, 98% { opacity: 0; } 100% { opacity: 1; } }
.hx-strip-date { flex: none; border-radius: 999px; padding: 0.2rem 0.65rem; background: var(--season-paper); color: var(--season-on-paper); font-size: 0.75rem; font-weight: 600; }
@media (max-width: 639px) { .hx-strip-date { display: none; } }
.hx-strip-pause, .hx-pause { display: inline-flex; width: 2.75rem; height: 2.75rem; flex: none; align-items: center; justify-content: center; cursor: pointer; border-radius: 999px; }

/* M04 hero ----------------------------------------------------------------------------------- */
.hx-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--season-loud); color: var(--season-on-loud); }
.hx-hero-grid { display: grid; gap: 1.375rem; padding-block: 2.125rem 0; }
.hx-hero-copy { position: relative; z-index: 3; padding-bottom: 1.5rem; }
.hx-retailers { display: flex; flex-wrap: wrap; gap: 0.375rem 0.875rem; margin: 1.125rem 0 0; padding: 0; list-style: none; font-size: 0.8125rem; font-weight: 700; line-height: 1; }
.hx-stage { position: relative; margin-inline: -1.25rem; }
.hx-scene { position: relative; width: 100%; aspect-ratio: 1 / 0.98; max-width: 42.5rem; margin-inline: auto; }
.hx-scene > * { position: absolute; left: var(--x, 0); top: var(--y, 0); width: var(--w, auto); transform: rotate(var(--r, 0deg)); transform-origin: 50% 50%; }
.hx-art { display: block; height: auto; pointer-events: none; }
.hx-cut, .hx-scene > .hx-art:not(.hx-lights):not(.hx-flake-art) { filter: drop-shadow(0 6px 8px rgb(0 0 0 / 0.18)); }
.hx-cut { filter: drop-shadow(0 10px 12px rgb(0 0 0 / 0.28)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.22)); }
.hx-flake-art { opacity: 0.9; }
/* The snow bank: torn paper, running off the right and bottom edges of the hero. */
.hx-scene > .hx-shelf { left: -3%; right: -40%; width: auto; top: 82%; bottom: -12%; background: var(--season-paper); z-index: 1;
  clip-path: polygon(2% 6%, 4% 0, 9% 5%, 15% 1%, 22% 6%, 30% 2%, 37% 5%, 45% 0, 53% 4%, 61% 1%, 70% 6%, 78% 1%, 86% 5%, 93% 0, 100% 4%, 100% 100%, 0 100%, 1.5% 72%, 0 48%, 2% 26%); }
/* Tier tags: cut gift tags with a hole, hanging on strings from the wire, slightly rotated. */
.hx-scene > .hx-tag { display: block; width: clamp(5.25rem, 19%, 8.25rem); color: var(--season-on-paper); text-decoration: none; transform-origin: 50% -1.375rem; filter: drop-shadow(0 8px 10px rgb(0 0 0 / 0.25)); }
.hx-tag::before { content: ""; position: absolute; left: 50%; top: -4.125rem; width: 1.5px; height: 4.625rem; margin-left: -0.75px; background: var(--season-on-loud); opacity: 0.85; }
.hx-tag-card { position: relative; display: grid; gap: 2px; padding: 1.125rem 0.7rem 0.7rem; background: var(--season-paper); clip-path: polygon(18% 0, 82% 0, 100% 16%, 100% 100%, 0 100%, 0 16%); }
.hx-tag-card i { position: absolute; left: 50%; top: 0.375rem; width: 0.5625rem; height: 0.5625rem; margin-left: -0.28rem; border-radius: 50%; background: var(--season-loud); }
.hx-tag small { font-size: 0.75rem; font-weight: 700; line-height: 1; }
.hx-tag b { font-size: clamp(1.25rem, 2.4vw, 1.875rem); line-height: 0.95; letter-spacing: -0.035em; font-weight: 800; }
.hx-tag-card > span { font-size: 0.75rem; font-weight: 700; line-height: 1.2; color: var(--season-on-quiet-muted); overflow-wrap: anywhere; }
@media (min-width: 640px) {
  .hx-hero-grid { padding-bottom: 0; }
}
@media (max-width: 639px) {
  /* Phone: the scene first, wider than the screen like the mockup; the copy below it. */
  .hx-stage { order: -1; }
  .hx-scene { width: 104%; margin-left: -2%; }
  .hx-scene > * { left: var(--mx, var(--x, 0)); top: var(--my, var(--y, 0)); width: var(--mw, var(--w, auto)); }
  .hx-scene > .hx-tag { width: 4.375rem; top: 12%; }
  .hx-tag-card { padding: 0.9rem 0.5rem 0.5rem; }
  .hx-tag b { font-size: 1.0625rem; }
  .hx-tag small, .hx-tag-card > span { font-size: 0.6rem; }
  .hx-hero-grid { padding-top: 0; }
  /* The copy follows the scene on a phone: the snow bank ends at the scene, it does not run under the text. */
  .hx-scene > .hx-shelf { bottom: 0; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  /* Tablet: the headline first (mockup at 768), then the scene across the full width. */
  .hx-stage { margin-inline: -2.5rem; }
}
@media (min-width: 1024px) {
  .hx-hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); min-height: 42.5rem; align-items: stretch; padding-block: 0; }
  .hx-hero-copy { grid-column: 1 / span 5; padding-block: 5.5rem 4.375rem; }
  /* Room above the scene for the wire of lights (it starts 13 % above the scene), as in the mockup. */
  .hx-stage { grid-column: 6 / span 7; align-self: end; margin: 6.5rem -2.5rem 0 0; }
  .hx-scene { max-width: 46rem; margin-inline: auto 0; }
}
@media (prefers-reduced-motion: no-preference) {
  [data-motion="full"] .hx-lights[data-season-motion="ambient"] { animation: hx-glow 2.4s ease-in-out infinite alternate; }
  [data-motion="full"] .hx-scene > .hx-tag { animation: hx-swing 3.2s ease-in-out infinite alternate; }
}
[data-offscreen] .hx-lights, [data-offscreen] .hx-tag { animation-play-state: paused !important; }
@keyframes hx-glow { from { filter: brightness(1); } to { filter: brightness(1.18) saturate(1.1); } }
@keyframes hx-swing { from { transform: rotate(calc(var(--r, 0deg) - 1.5deg)); } to { transform: rotate(calc(var(--r, 0deg) + 1.5deg)); } }

/* M05 sub-nav -------------------------------------------------------------------------------- */
.hx-subnav { position: sticky; top: 5rem; z-index: 40; background: var(--season-field); border-bottom: 1px solid var(--color-hairline); }
[data-holiday-page] [id], [data-campaign="holiday"] section[id] { scroll-margin-top: 9.25rem; }
.hx-subnav-track { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; padding: 0.6rem 0; }
.hx-subnav-lead { position: relative; padding-left: 2.5rem; background: var(--season-loud-2); color: var(--season-on-loud-2); border-color: var(--season-loud-2); }
.hx-subnav-lead::before { content: ""; position: absolute; left: 0.625rem; top: 50%; width: 1.375rem; height: 1.125rem; margin-top: -0.5625rem; background: url("/seasonal/holiday/bow.svg") center / contain no-repeat; }

/* Product card overlays ------------------------------------------------------------------------ */
.hx-ov { position: absolute; inset: 0 0 auto 0; aspect-ratio: 4 / 5; pointer-events: none; }
.hx-badge {
  position: absolute; left: 0.5rem; top: 0.5rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  background: var(--season-accent); color: var(--season-on-accent); font-size: 0.75rem; font-weight: 800; letter-spacing: -0.02em;
  clip-path: polygon(50% 0, 61% 12%, 75% 6%, 79% 21%, 94% 25%, 88% 39%, 100% 50%, 88% 61%, 94% 75%, 79% 79%, 75% 94%, 61% 88%, 50% 100%, 39% 88%, 25% 94%, 21% 79%, 6% 75%, 12% 61%, 0 50%, 12% 39%, 6% 25%, 21% 21%, 25% 6%, 39% 12%);
}
.hx-cardtag {
  position: absolute; left: 0.5rem; bottom: 0.5rem; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.5rem 0.2rem 1.05rem;
  background: var(--season-paper); color: var(--season-on-paper); font-size: 0.6875rem; font-weight: 700;
  clip-path: polygon(0.6rem 0, 100% 0, 100% 100%, 0.6rem 100%, 0 50%);
}
.hx-captag { display: inline-flex; padding: 0.3rem 0.6rem 0.3rem 0.9rem; background: var(--season-paper); color: var(--season-on-paper); font-size: 0.8125rem; font-weight: 700; clip-path: polygon(0.5rem 0, 100% 0, 100% 100%, 0.5rem 100%, 0 50%); }
.hx-cardtag::before { content: ""; position: absolute; left: 0.45rem; top: 50%; width: 0.3rem; height: 0.3rem; margin-top: -0.15rem; border-radius: 999px; background: var(--season-field); }
/* Brand labels of the live card on cream reach 4.5:1 inside Holiday modules (audit W2 H). */
[data-holiday-card] article :is(.text-mist) { color: var(--season-on-quiet-muted); }

/* The live card draws no keyboard focus ring (its outline-none cancels the focus outline style; a
   pre-existing defect of the shared card, left untouched on the default site). Holiday cards get one. */
[data-holiday-card] article a:focus-visible { outline: 2px solid var(--season-ink); outline-offset: 2px; }
/* The card keeps its own grey secondary text (4.5:1 on ivory only), so on a coloured field each card
   sits on an ivory panel. */
:is(.hx-field-paper, .hx-field-quiet, .hx-field-knit, .hx-half-party, .hx-half-nye) [data-holiday-card] {
  padding: 0.4rem 0.4rem 0.65rem; border-radius: 0.5rem; background: var(--season-field);
}

/* Rails and CSS-only tabs ---------------------------------------------------------------------- */
/* Rail card widths as the approved mockup (kit .m11__track; step A3): 44 % on phones, 30 % from 640 px,
   4.3 cards across from 1024 px with a 16 px gap. */
.hx-track { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; overscroll-behavior-x: contain; }
.hx-track > * { scroll-snap-align: start; }
@media (min-width: 640px) { .hx-track { grid-auto-columns: 30%; } }
@media (min-width: 1024px) { .hx-track { grid-auto-columns: calc((100% - 3 * 1rem) / 4.3); gap: 1rem; } }
/* A garland of lights over the site's own search doors on the Holiday home (mockup). */
.hx-doors-garland { position: relative; z-index: 3; height: 1.625rem; margin-bottom: -1.625rem; background: url("/seasonal/holiday/string-lights.svg") repeat-x 0 0 / 190px auto; pointer-events: none; }
.hx-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; border: 0; padding: 0; margin: 0; }
.hx-tabs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hx-tabs label { cursor: pointer; }
.hx-tabs input:checked + label { background: var(--season-loud-2); border-color: var(--season-loud-2); color: var(--season-on-loud-2); }
.hx-tabs input:focus-visible + label { outline: 2px solid var(--season-ink); outline-offset: 3px; }
.hx-panel { display: none; }
.hx-tabbed:has(input[value="0"]:checked) .hx-panel[data-panel="0"],
.hx-tabbed:has(input[value="1"]:checked) .hx-panel[data-panel="1"],
.hx-tabbed:has(input[value="2"]:checked) .hx-panel[data-panel="2"],
.hx-tabbed:has(input[value="3"]:checked) .hx-panel[data-panel="3"] { display: block; }
/* Without :has() support the first panel stays visible. */
@supports not selector(:has(*)) { .hx-panel[data-panel="0"] { display: block; } .hx-tabs { display: none; } }
.hx-lights-rule { height: 22px; background: url("/seasonal/holiday/string-lights.svg") repeat-x 0 0 / 150px auto; opacity: 0.9; }

/* M06, M09, M28 photo tiles -------------------------------------------------------------------- */
.hx-tile { position: relative; display: block; overflow: hidden; background: var(--color-dim); border-radius: 0.25rem; }
.hx-tile-tag {
  position: absolute; left: 1rem; bottom: 1rem; display: grid; padding: 0.55rem 0.9rem 0.6rem 1.1rem;
  background: var(--season-paper); color: var(--season-on-paper); border-radius: 0.25rem;
  clip-path: polygon(0.6rem 0, 100% 0, 100% 100%, 0.6rem 100%, 0 50%);
}
.hx-tile-tag small { font-size: 0.6875rem; font-weight: 600; }
.hx-tile-tag b { font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -0.03em; font-weight: 800; }
.hx-ribbon { position: absolute; right: 0; top: 0; width: 4.5rem; height: auto; }
.hx-flake { position: absolute; right: 0.75rem; top: 0.75rem; width: 1.75rem; height: auto; }

/* M07 budget tiers ----------------------------------------------------------------------------- */
/* The clip box reaches into the 20 px page gutter (negative margin, same padding back): the bow of the
   right-hand tile is drawn whole and nothing can widen the page (step A3, audit A2 section 4). */
.hx-tiers { overflow-x: clip; padding-top: 1.5rem; margin-inline: -1.25rem; padding-inline: 1.25rem; }
/* Tilt as the mockup (kit .m07: -1.6 and 1.4 degrees). */
.hx-tier { position: relative; display: grid; gap: 0.6rem; padding: 0.75rem; overflow: visible; background: var(--season-paper); color: var(--season-on-paper); border-radius: 0.25rem; transform: rotate(-1.6deg); }
.hx-tiers > li:nth-child(even) .hx-tier { transform: rotate(1.4deg); }
.hx-tier-label { display: grid; font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 0.92; letter-spacing: -0.045em; font-weight: 800; }
.hx-tier-trio { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 0.4rem; aspect-ratio: 4 / 3; }
.hx-tier-trio > :first-child { grid-row: span 2; }
.hx-tier-trio > * { position: relative; overflow: hidden; background: var(--color-dim); }
/* The gold ribbon runs down between the photos. */
.hx-tier-trio::before { content: ""; position: absolute; right: 31%; top: -0.4rem; bottom: -0.4rem; width: 0.75rem; background: var(--season-decoration); opacity: 0.95; pointer-events: none; z-index: 1; }
.hx-tier-from { position: absolute; z-index: 2; left: 0.4rem; bottom: 0.4rem; padding: 0.15rem 0.45rem; border-radius: 999px; background: var(--season-ink); color: var(--season-field); font-size: 0.6875rem; font-weight: 700; }
/* The full bow on the lid (never clipped: the tile does not hide overflow). */
/* Bow as the mockup at every width (kit .m07 a::after: 64 x 48 px, 16 px past the right edge, 24 px above, 14 degrees). */
.hx-bow { position: absolute; right: -1rem; top: -1.5rem; z-index: 3; width: 4rem; height: 3rem; object-fit: contain; transform: rotate(14deg); }
/* Below 1024 px the page gutter is 20 px: the rotated bow sits 10 px past the tile so it is never cut. */
@media (max-width: 1023px) { .hx-bow { right: -0.625rem; } }

/* M23 ticker ----------------------------------------------------------------------------------- */
.hx-ticker { position: relative; overflow: hidden; background: var(--season-paper); color: var(--season-on-paper); border-block: 1px solid var(--color-hairline); }
.hx-ticker-track { display: flex; width: max-content; }
.hx-ticker-group { display: flex; align-items: center; gap: 2.5rem; padding: 0.9rem 1.25rem; font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  [data-motion="full"] .hx-ticker-track { animation: hx-ticker 38s linear infinite; }
}
.hx-ticker:hover .hx-ticker-track, .hx-ticker:focus-within .hx-ticker-track, .hx-ticker:has(input:checked) .hx-ticker-track, [data-offscreen] .hx-ticker-track { animation-play-state: paused; }
@keyframes hx-ticker { to { transform: translateX(-50%); } }
/* M23: the separators are paper stars. */
.hx-ticker-group > span { display: inline-flex; align-items: center; gap: 2.5rem; }
.hx-ticker-group > span::after { content: ""; flex: none; width: 1.375rem; height: 1.375rem; background: url("/seasonal/holiday/paper-star.svg") center / contain no-repeat; }

/* M17 party split ------------------------------------------------------------------------------ */
/* Plain field behind the copy (the star paper competed with the text); the stars stay as a top band. */
.hx-half-party, .hx-half-nye { position: relative; }
.hx-half-party { background: var(--season-quiet); color: var(--season-on-quiet); }
.hx-half-nye { background: var(--season-cranberry-deep); color: var(--season-on-loud); }
.hx-half-party::before, .hx-half-nye::before { content: ""; position: absolute; inset: 0; background: url("/seasonal/holiday/pattern-wrap-stars.svg") 0 0 / 70px; opacity: 0.18; pointer-events: none; }
.hx-half-party > *, .hx-half-nye > * { position: relative; }

/* M12 numbered rail ---------------------------------------------------------------------------- */
.hx-num { position: relative; }
.hx-num::before { content: ""; position: absolute; left: 0.2rem; top: 0; z-index: 2; width: 1.875rem; height: 1.875rem; background: url("/seasonal/holiday/paper-star.svg") center / contain no-repeat; }
.hx-num-n { position: absolute; z-index: 1; left: -0.4rem; top: 38%; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; font-weight: 800; letter-spacing: -0.05em; color: var(--season-numeral); pointer-events: none; }

/* M19 daily ------------------------------------------------------------------------------------ */
.hx-cal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.4rem; }
@media (min-width: 640px) { .hx-cal { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.hx-day {
  position: relative; display: flex; min-height: 4.5rem; flex-direction: column; justify-content: space-between; padding: 0.4rem 0.5rem;
  border-radius: 0.25rem; color: var(--season-on-paper);
  /* M19: little parcels in alternating wrapping papers, quiet under an 85 % ivory wash (mockup). */
  background: linear-gradient(rgb(249 249 249 / 0.85), rgb(249 249 249 / 0.85)), url("/seasonal/holiday/pattern-wrap-stripes.svg") 0 0 / 26px;
}
.hx-cal > :nth-child(even) .hx-day, .hx-cal > .hx-day:nth-child(even) { background-image: linear-gradient(rgb(249 249 249 / 0.85), rgb(249 249 249 / 0.85)), url("/seasonal/holiday/pattern-wrap-dots.svg"); background-size: auto, 26px; }
.hx-day b { font-size: 1.05rem; font-weight: 800; background: var(--season-paper); justify-self: start; align-self: flex-start; padding: 0 0.25rem; border-radius: 0.2rem; }
.hx-day small { font-size: 0.6875rem; font-weight: 700; background: var(--season-paper); align-self: flex-start; padding: 0 0.25rem; border-radius: 0.2rem; }
.hx-day[data-state="past"] { background: var(--season-paper); }
/* Audit defect (r3 tile at 1.2:1): Today is ivory on pine, 7.49:1. */
.hx-day[data-state="today"] { background: var(--season-loud-2); color: var(--season-on-loud-2); }
.hx-day[data-state="today"] b, .hx-day[data-state="today"] small { background: transparent; }
.hx-day[data-state="today"]::after { content: ""; position: absolute; right: -0.375rem; top: -0.625rem; width: 2.125rem; height: 1.625rem; background: url("/seasonal/holiday/bow.svg") center / contain no-repeat; }
.hx-day[data-named="true"] { background: var(--season-accent); color: var(--season-on-accent); }
.hx-day[data-named="true"] b, .hx-day[data-named="true"] small { background: transparent; }
.hx-count { font-size: clamp(5rem, 14vw, 9rem); line-height: 0.8; font-weight: 800; letter-spacing: -0.06em; }

/* M13 sticker, M14 mosaic, M24 stamp, M25 cap ------------------------------------------------- */
.hx-feature-bow { position: absolute; right: -1.1rem; bottom: 6rem; z-index: 3; width: 5.75rem; height: auto; transform: rotate(-20deg); pointer-events: none; }
.hx-sticker { position: absolute; right: 1.25rem; top: 2.5rem; z-index: 1; display: grid; place-items: center; width: 6rem; height: 5rem; padding: 0.5rem; transform: rotate(6deg); background: var(--season-accent); color: var(--season-on-accent); text-align: center; font-size: 0.9375rem; font-weight: 800; line-height: 1.05; }
.hx-mosaic { display: grid; gap: 0.6rem; padding: 0.6rem; background: var(--season-loud) url("/seasonal/holiday/snow-dots.svg") repeat; background-size: 96px; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 0.25rem; }
.hx-mosaic > * { background: var(--season-field); padding: 0.4rem 0.4rem 0.75rem; border-radius: 0.2rem; }
@media (min-width: 1024px) {
  .hx-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hx-mosaic > :first-child { grid-column: span 2; grid-row: span 2; }
}
.hx-stamp { position: absolute; right: 8%; top: 1.5rem; display: grid; place-items: center; width: 5.5rem; height: 5.5rem; border: 2px dashed var(--season-ink); border-radius: 999px; transform: rotate(-12deg); text-align: center; font-size: 0.8125rem; font-weight: 800; line-height: 1.05; color: var(--season-ink); }
/* M24: a sprig tucked under the stamp. */
.hx-stamp::after { content: ""; position: absolute; right: 0.375rem; bottom: -1.375rem; width: 3.5rem; height: 1.75rem; background: url("/seasonal/holiday/pine-sprig.svg") center / contain no-repeat; transform: rotate(12deg); }
.hx-cap { position: relative; background: var(--season-loud); color: var(--season-on-loud); }
.hx-cap::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 11px; background: var(--season-loud); clip-path: polygon(0 100%, 4% 30%, 9% 80%, 15% 20%, 22% 70%, 30% 10%, 38% 75%, 46% 25%, 55% 80%, 63% 15%, 71% 70%, 79% 25%, 87% 80%, 94% 30%, 100% 75%, 100% 100%); }

/* M18 example UI ------------------------------------------------------------------------------- */
.hx-size-frame { position: relative; padding: 1.5rem; background: var(--season-loud); border-radius: 0.25rem; }
.hx-size-frame::after { content: ""; position: absolute; left: -1rem; top: -1.75rem; z-index: 2; width: 5.25rem; height: 3.875rem; background: url("/seasonal/holiday/bow.svg") center / contain no-repeat; transform: rotate(-12deg); }
.hx-size-card { background: var(--season-field); color: var(--season-ink); border-radius: 0.75rem; padding: 1.25rem; }
.hx-size-cell { display: grid; place-items: center; min-height: 3.75rem; border: 1px solid var(--color-hairline); font-weight: 600; }
.hx-size-cell[data-fit="best"] { background: var(--season-ink); color: var(--season-field); border-color: var(--season-ink); }
.hx-size-cell[data-fit="alt"] { border: 2px solid var(--season-ink); }

/* M20 finder ----------------------------------------------------------------------------------- */
.hx-finder { background: var(--season-loud); color: var(--season-on-loud); border-radius: 0.25rem; }
.hx-finder .hx-chip { border-color: transparent; }
.hx-finder-dot { display: inline-block; width: 1rem; height: 1.125rem; background: url("/seasonal/holiday/bauble.svg") center / contain no-repeat; opacity: 0.45; }
.hx-finder-dot[data-on="true"] { opacity: 1; }
.hx-finder .hx-chip:focus-visible { outline: 3px solid var(--season-focus-on-loud); outline-offset: 2px; }
/* Cards keep their own ink text, so each sits on a paper panel (contrast) rather than on cranberry. */
.hx-finder-cards > li { padding: 0.5rem 0.5rem 0.75rem; border-radius: 0.5rem; background: var(--season-field); color: var(--season-ink); }

/* M26 / M27 lists ------------------------------------------------------------------------------ */
.hx-listhead { position: relative; background: var(--season-loud); color: var(--season-on-loud); }
.hx-listhead-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 0.75rem; background: url("/seasonal/holiday/pattern-wrap-stripes.svg") 0 0 / 26px; }
@media (min-width: 640px) { .hx-listhead-art { position: absolute; right: 1.5rem; bottom: 0.875rem; width: clamp(7.5rem, 14vw, 11.875rem); height: auto; pointer-events: none; } }
@media (max-width: 639px) { .hx-listhead-art { display: none; } }
.hx-listhead::after { content: ""; position: absolute; inset: auto 0 -6px 0; height: 6px; background: radial-gradient(circle at 3px 0, var(--season-loud) 3px, transparent 3.5px) repeat-x; background-size: 12px 6px; }
.hx-crumbs a, .hx-crumb { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: underline; text-underline-offset: 0.2em; }
.hx-kind-tile img { width: 4.1rem; height: 4.1rem; border-radius: 999px; border: 2px solid var(--season-on-loud); object-fit: cover; background: var(--color-dim); }
.hx-skel { border-radius: 0.75rem; background: var(--season-quiet); }
.hx-empty { position: relative; padding: 1.5rem; border-radius: 0.25rem; background: var(--season-quiet); color: var(--season-on-quiet); }
.hx-empty-title { max-width: 28ch; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

/* Header menus --------------------------------------------------------------------------------- */
.hx-nav-entry { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; background: var(--season-loud); color: var(--season-on-loud); font-size: 0.875rem; font-weight: 600; }
.hx-nav-entry:focus-visible { outline: 2px solid var(--season-ink); outline-offset: 3px; }
.hx-menu { background: var(--season-quiet); color: var(--season-on-quiet); }
.hx-menu-rule { width: 7.5rem; height: 0.5rem; background: repeating-linear-gradient(-45deg, var(--season-loud-2) 0 8px, var(--season-paper) 8px 12px); }

/* M21 one-day module (W3): each day its own field, a torn edge on top, the day's mark large. */
.hx-dayband { --hx-bg: var(--season-paper); background: var(--hx-bg); color: var(--season-ink); }
.hx-dayband[data-day="green-monday"] { --hx-bg: var(--season-on-loud-2-muted); }
.hx-dayband[data-day="ugly-sweater-day"], .hx-dayband[data-day="last-minute"] { --hx-bg: var(--season-quiet); }
.hx-daymark { width: 4.5rem; height: auto; }
@media (min-width: 1024px) { .hx-daymark { width: 6rem; } }
.hx-dayband [data-holiday-card] { padding: 0.4rem 0.4rem 0.65rem; border-radius: 0.5rem; background: var(--season-field); }

/* W3 dressing of the listing, discover and product pages: decoration only. */
.hx-band { --hx-bg: var(--season-loud); position: relative; background: var(--season-loud); color: var(--season-on-loud); border-radius: 0.25rem; overflow: hidden; }
.hx-band::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 0.625rem; background: repeating-linear-gradient(-45deg, var(--season-pine) 0 8px, var(--season-paper) 8px 14px); }
.hx-band .hx-btn:focus-visible { outline-color: var(--season-focus-on-loud); }
.hx-band-art { position: absolute; right: 2rem; bottom: 1.25rem; width: clamp(4.5rem, 9vw, 7.5rem); height: auto; pointer-events: none; }
@media (max-width: 639px) { .hx-band-art { display: none; } }
.hx-giftnote { margin: 0 0 1rem; padding: 0.6rem 0.8rem; border-radius: 0.25rem; background: var(--season-quiet); color: var(--season-on-quiet); font-size: 0.875rem; font-weight: 600; }
