/* ---------- Photos with Santa: a glossy red ornament on a gold cord travels left to right under the header,
   swinging gently. It sits behind the crest (z-index 60) and in front of the page. Delete with santa.css after December 13. ---------- */
.sd-wrap{visibility:hidden;position:fixed;left:0;right:0;top:140px;height:600px;z-index:59;pointer-events:none;overflow:hidden}
.sd-wrap.ready.on{visibility:visible}
.sd{position:absolute;left:0;top:0;width:340px;padding-top:120px;transform-origin:50% 0;will-change:transform;transition:none}
.sd.away{transition:transform .5s cubic-bezier(.6,-0.35,.8,.5);transform:translateY(-120%)!important}
.sd::before{content:"";position:absolute;left:50%;top:0;width:2px;height:124px;margin-left:-1px;background:#C9A657}
.sd-link{display:block;pointer-events:none;text-decoration:none}
.sd-art{position:relative;display:block;pointer-events:auto;cursor:pointer;filter:drop-shadow(0 18px 22px rgba(40,6,8,.35)) drop-shadow(0 4px 6px rgba(40,6,8,.25));transition:transform .25s}
.sd-art img{display:block;width:100%;height:auto;user-select:none;-webkit-user-drag:none}
/* a soft band of light sweeps across the ornament every few seconds (masked to the artwork) */
.sd-shine{position:absolute;inset:0;pointer-events:none;-webkit-mask:url(../assets/santa-ornament-680.webp) center/100% 100% no-repeat;mask:url(../assets/santa-ornament-680.webp) center/100% 100% no-repeat;
  background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.38) 47%,rgba(255,255,255,.08) 55%,transparent 62%) no-repeat;background-size:260% 100%;background-position:120% 0;animation:sdshine 5s ease-in-out 1s infinite;mix-blend-mode:screen}
@keyframes sdshine{0%{background-position:120% 0}40%,100%{background-position:-20% 0}}
.sd-link:hover .sd-art,.sd-link:focus-visible .sd-art{transform:scale(1.04)}
.sd-link:focus-visible{outline:none}.sd-link:focus-visible .sd-art{outline:2px solid var(--brass);outline-offset:4px;border-radius:50%}
.sd-x{position:absolute;right:-4px;bottom:22px;pointer-events:auto;width:30px;height:30px;border-radius:50%;border:1px solid var(--hair);background:#FBF6E8;color:#2E3922;font-size:17px;line-height:1;cursor:pointer;z-index:3;box-shadow:0 2px 6px rgba(30,32,18,.2)}
@media (max-width:640px){
  /* on phones the crest sits in the middle, so the ornament hangs lower and passes under it */
  .sd-wrap{height:720px}
  .sd{width:250px;padding-top:340px}
  .sd::before{height:343px}
  .sd-x{width:26px;height:26px;font-size:14px;right:-2px;bottom:16px}
}
@media (prefers-reduced-motion:reduce){.sd-wrap{display:none}}
