/* heading-colours + festive ribbon hero.
   Logo, body copy and the menu animation are unchanged. */

:root{
  --heading:#B3121B;         /* festive ribbon red; 6.96:1 on white */
  --heading-accent:#8E0E16;  /* deeper red for small eyebrows; 9.44:1 on white */
  --ribbon:#B3121B;
  --ribbon-deep:#8A0E16;
  --ribbon-hi:#D41A24;
  --ribbon-type:#F7E8C8;
}

/* Page and section titles. Product tiles stay ink so the shop grid stays calm. */
main h1,
main h2,
main h3,
.title,
.title--lg,
.phead h1,
.phead .title,
.phead .title--lg,
.pdp__name,
.section-h,
.prose h2,
.prose h3,
.rich--page h1,
.rich--page h2,
.rich--page h3,
.search-panel__head h2,
.svc__name{
  color:var(--heading);
}

main .tile__name,
main .tile__name a,
.tile__name,
.tile__name a{
  color:var(--ink);
}

.eyebrow,
.phead .eyebrow,
.pdp__info .eyebrow,
.pdp__sticky > .eyebrow{
  color:var(--heading-accent);
}

/* Keep inverted (white-on-image) headings readable. */
.gallery__content,
.gallery__content h1,
.gallery__content h2,
.gallery__content h3,
.gallery__content .title,
.gallery__content .title--lg,
.gallery__content .eyebrow,
.tlink--light{
  color:#fff;
}

/* Do not recolour the full-screen menu, header, or logo. */
.head,
.head a,
.head button,
.dnav__link{
  color:var(--ink);
}
#site-menu a,
.smenu a,
.smenu__mail{
  color:var(--ink);
}
.smenu__num{
  color:var(--muted);
}

/* -------- Festive 2x2 hero with ribbon and bow -------- */
.home-hero--festive{position:relative}
.festive{
  position:relative;
  background:var(--ribbon);
  overflow:hidden;
}
.festive__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.festive__grid figure{
  margin:0;
  aspect-ratio:4/5;
  overflow:hidden;
  background:#1a0a0c;
  min-width:0;
}
.festive__grid img,
.festive__grid picture,
.festive__grid picture img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 18%;
  display:block;
}
.festive__rib{
  position:absolute;
  z-index:2;
  overflow:hidden;
  background:var(--ribbon);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(0,0,0,.22);
  pointer-events:none;
}
.festive__rib--h{
  left:0;right:0;
  top:50%;
  height:18px;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
}
.festive__rib--v{
  top:0;bottom:0;
  left:50%;
  width:18px;
  transform:translateX(-50%);
}
.festive__track{
  display:flex;
  width:max-content;
  height:max-content;
}
.festive__type{
  font-family:var(--sans);
  font-size:8px;
  font-weight:700;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--ribbon-type);
  line-height:1;
  white-space:nowrap;
}
.festive__rib--v{
  display:flex;
  justify-content:center;
}
.festive__rib--v .festive__track{flex-direction:column}
.festive__rib--v .festive__type{
  writing-mode:vertical-rl;
  text-orientation:mixed;
  transform:rotate(180deg);
}
.festive__bow{
  position:absolute;
  left:50%;
  top:50%;
  width:72px;
  height:72px;
  transform:translate(-50%,-50%);
  z-index:5;
  pointer-events:none;
}
.festive__bow svg{width:100%;height:100%;display:block;overflow:visible}

/* Christmas layer: stars and bells sit on the ribbon, snow stays behind it. */
.festive__charms{position:absolute;inset:0;z-index:4;pointer-events:none}
.festive__sprite{position:absolute}
.festive__pin{position:absolute;display:block;line-height:0}
.festive__star,.festive__bell{display:block;overflow:visible;color:#FFE7A3;filter:drop-shadow(0 1px 1px rgba(0,0,0,.4))}
.festive__star{width:18px;height:18px}
.festive__star--sm{width:13px;height:13px}
.festive__star--bow{width:13px;height:13px;color:#FFF8E4}
.festive__bell{width:22px;height:26px;color:#E8C56A}
.festive__bell--sm{width:16px;height:19px}
.festive__pin--b1::before,
.festive__pin--b2::before,
.festive__pin--b3::before,
.festive__pin--b4::before{
  content:"";
  position:absolute;
  left:50%;
  top:-9px;
  width:1px;
  height:10px;
  background:#E8C56A;
}
.festive__pin--s1{left:6%;top:6%}
.festive__pin--s2{right:7%;top:8%}
.festive__pin--s3{left:8%;bottom:8%}
.festive__pin--s4{right:6%;bottom:10%}
.festive__pin--s5{left:28%;top:50%;margin-top:-6px}
.festive__pin--s6{right:28%;top:50%;margin-top:-6px}
.festive__pin--s7{left:50%;top:14%;margin-left:12px}
.festive__pin--s8{left:50%;bottom:12%;margin-left:-24px}
.festive__pin--bow{left:50%;top:50%;z-index:6;margin:-34px 0 0 16px}
.festive__pin--b1{left:16%;top:50%;margin-top:10px}
.festive__pin--b2{right:16%;top:50%;margin-top:10px}
.festive__pin--b3{left:39%;top:50%;margin-top:9px}
.festive__pin--b4{right:39%;top:50%;margin-top:9px}
.festive__flake{
  position:absolute;
  top:-14px;
  z-index:1;
  line-height:0;
  opacity:.9;
}
.festive__flake .festive__star{width:11px;height:11px}
.festive__flake--1{left:9%}
.festive__flake--2{left:22%}
.festive__flake--3{left:63%}
.festive__flake--4{left:76%}
.festive__flake--5{left:88%}
.festive__flake--6{left:47%;margin-left:16px}

@media (max-width:767px){
  .festive__grid{gap:16px}
  .festive__rib--h{height:16px}
  .festive__rib--v{width:16px}
  .festive__bow{width:56px;height:56px}
  .festive__type{font-size:7px;letter-spacing:.18em}
  .festive__star{width:12px;height:12px}
  .festive__star--sm{width:9px;height:9px}
  .festive__bell{width:16px;height:19px}
  .festive__bell--sm{width:12px;height:15px}
  .festive__pin--bow{margin:-24px 0 0 14px}
}
.home-hero--festive .home-hero__bar{
  padding-top:16px;
  padding-bottom:4px;
}


/* On desktop, keep the 2x2 in the viewport so the Shop CTA stays in sight. */
@media (min-width:768px){
  .festive{
    max-height:calc(100dvh - 16.5rem);
  }
  .festive__grid{
    grid-template-rows:1fr 1fr;
    height:calc(100dvh - 16.5rem);
    max-height:calc(100dvh - 16.5rem);
  }
  .festive__grid figure{
    aspect-ratio:auto;
    min-height:0;
    height:auto;
  }
}

@media (prefers-reduced-motion:no-preference){
  .festive__rib--h .festive__track{animation:festive-run 36s linear infinite}
  .festive__rib--v .festive__track{animation:festive-rise 42s linear infinite}
  .festive__star{animation:festive-twinkle 2.8s ease-in-out infinite}
  .festive__pin--s2 .festive__star{animation-delay:.4s}
  .festive__pin--s3 .festive__star{animation-delay:.9s}
  .festive__pin--s4 .festive__star{animation-delay:1.3s}
  .festive__pin--s5 .festive__star{animation-delay:.2s}
  .festive__pin--s6 .festive__star{animation-delay:1.1s}
  .festive__pin--s7 .festive__star{animation-delay:.6s}
  .festive__pin--s8 .festive__star{animation-delay:1.6s}
  .festive__pin--bow .festive__star{animation-delay:.3s}
  .festive__bell{transform-origin:50% 0;animation:festive-sway 2.8s ease-in-out infinite}
  .festive__pin--b2 .festive__bell{animation-delay:.5s}
  .festive__pin--b3 .festive__bell{animation-delay:.9s}
  .festive__pin--b4 .festive__bell{animation-delay:1.3s}
  .festive__flake{animation:festive-fall 16s linear infinite}
  .festive__flake--2{animation-duration:19s;animation-delay:-4s}
  .festive__flake--3{animation-duration:13s;animation-delay:-7s}
  .festive__flake--4{animation-duration:21s;animation-delay:-2s}
  .festive__flake--5{animation-duration:15s;animation-delay:-9s}
  .festive__flake--6{animation-duration:18s;animation-delay:-5s}
}
@keyframes festive-run{to{transform:translateX(-50%)}}
@keyframes festive-rise{to{transform:translateY(-50%)}}
@keyframes festive-twinkle{
  0%,100%{opacity:.82;transform:scale(.94)}
  50%{opacity:1;transform:scale(1)}
}
@keyframes festive-sway{
  0%,100%{transform:rotate(-8deg)}
  50%{transform:rotate(8deg)}
}
@keyframes festive-fall{
  0%{transform:translate3d(0,-12px,0);opacity:0}
  8%{opacity:.75}
  100%{transform:translate3d(8px,140vh,0);opacity:.15}
}

@media (prefers-reduced-motion:reduce){
  .festive__bow,.festive__rib,.festive__track,.festive__star,.festive__bell,.festive__flake{animation:none}
  .festive__flake{display:none}
}
