/* Appearance controls and two independent site themes. */
html{color-scheme:dark}
html[data-theme="light"]{color-scheme:light}
body > #appearance-controls{
  position:fixed!important;
  top:13px;
  right:13px;
  z-index:1600!important;
  isolation:isolate;
  pointer-events:auto!important;
  display:flex;
  flex-direction:column;
  gap:7px;
  padding:6px;
  border:1px solid rgba(138,170,104,.27);
  border-radius:15px;
  background:rgba(15,18,16,.87);
  box-shadow:0 9px 34px rgba(0,0,0,.28);
  backdrop-filter:blur(15px);
  -webkit-backdrop-filter:blur(15px);
}
.appearance-control{
  display:grid;
  place-items:center;
  width:39px;
  height:39px;
  flex:0 0 39px;
  padding:0;
  border:1px solid rgba(165,183,155,.14);
  border-radius:10px;
  background:#1d221c;
  color:#e7f1dd;
  cursor:pointer;
  transition:background .2s ease,color .2s ease,transform .2s ease,border-color .2s ease;
  touch-action:manipulation;
}
.appearance-control:hover{background:#34442a;color:#c5f27b;transform:translateY(-1px)}
.appearance-control[aria-pressed="true"]{background:#394f28;border-color:#8cbb4d;color:#d7ff9c}
.appearance-control:focus-visible{outline:2px solid #a3e635;outline-offset:3px}
.appearance-icon{width:20px;height:20px;display:block;pointer-events:none}
.appearance-icon-moon{display:none}
html[data-theme="light"] .appearance-icon-sun{display:none}
html[data-theme="light"] .appearance-icon-moon{display:block}
html[data-theme="light"] body > #appearance-controls{
  background:rgba(251,254,249,.93);border-color:#c4d6bb;box-shadow:0 8px 30px #243e2822;
}
html[data-theme="light"] .appearance-control{
  color:#32482c;background:#e8f1e2;border-color:#cedecc;
}
html[data-theme="light"] .appearance-control:hover{color:#345820;background:#d8eac8}
html[data-theme="light"] .appearance-control[aria-pressed="true"]{background:#c6e6aa;border-color:#91b16c}
@media(max-width:1280px){.nav{padding-right:96px}}
@media(max-width:600px){
  body > #appearance-controls{top:8px;right:8px;gap:5px;padding:4px;border-radius:12px}
  .appearance-control{width:34px;height:34px;flex-basis:34px;border-radius:8px}
  .appearance-icon{width:18px;height:18px}
  .nav{padding-right:85px}
  .nav nav a.nav-github{min-width:42px;grid-template-columns:22px;padding:8px;column-gap:0}
  .nav nav a.nav-github>span:last-child{display:none}
}
/* Dark remains the original design. Light is a complete alternate palette. */
html[data-theme="light"] body{background:#f2f6f1;color:#1c2a22}
html[data-theme="light"] .noise{opacity:.018}
html[data-theme="light"] #grid-bg{mix-blend-mode:multiply;opacity:.22}
html[data-theme="light"] .nav{border-bottom-color:#cbd9ca}
html[data-theme="light"] .brand{color:#253529}
html[data-theme="light"] .nav nav a{color:#526451}
html[data-theme="light"] .nav nav a:hover{color:#24421e}
html[data-theme="light"] .nav .nav-github{color:#354c32;border-color:#bdceba;background:#f8fbf6}
html[data-theme="light"] .nav .nav-github .github-mark,
html[data-theme="light"] .footer-github .github-mark,
html[data-theme="light"] .project-action.github .github-mark,
html[data-theme="light"] .button .github-mark{filter:none}
html[data-theme="light"] .hero h1,
html[data-theme="light"] .about h2,
html[data-theme="light"] .section-heading h2,
html[data-theme="light"] .cta h2,
html[data-theme="light"] .featured-title,
html[data-theme="light"] .modal-content h2{color:#1d2b21}
html[data-theme="light"] .hero h1 span,
html[data-theme="light"] .cta h2 span,
html[data-theme="light"] .about h2 em,
html[data-theme="light"] .modworks-entry-name span{color:#638a2b}
html[data-theme="light"] .eyebrow,
html[data-theme="light"] .pulse{color:#507c21}
html[data-theme="light"] .hero-text,
html[data-theme="light"] .cta-copy>p:last-child,
html[data-theme="light"] .featured-body>p,
html[data-theme="light"] .modal-description,
html[data-theme="light"] .support-copy p{color:#526355}
html[data-theme="light"] .stats{border-color:#cfdcc9}
html[data-theme="light"] .stats>div{border-color:#cfdcc9}
html[data-theme="light"] .stats span,
html[data-theme="light"] .featured-kicker,
html[data-theme="light"] .project-meta,
html[data-theme="light"] .project-desc,
html[data-theme="light"] .loading-card,
html[data-theme="light"] .section-note{color:#687869}
html[data-theme="light"] .terminal-card,
html[data-theme="light"] .project,
html[data-theme="light"] .featured-card,
html[data-theme="light"] .search,
html[data-theme="light"] .filter,
html[data-theme="light"] .cta,
html[data-theme="light"] .support-card{
  background:#fbfdf9;
  color:#243229;
  border-color:#cad9c7;
  box-shadow:0 15px 36px rgba(45,68,48,.08);
}
html[data-theme="light"] .terminal-top{border-color:#d4e1d1;color:#70816f}
html[data-theme="light"] .terminal-body div,
html[data-theme="light"] .terminal-body{color:#677966}
html[data-theme="light"] .terminal-body strong{color:#263a29}
html[data-theme="light"] .terminal-body .green{color:#527f20}
html[data-theme="light"] .terminal-body i{color:#668b28}
html[data-theme="light"] .project-image{background:#e9eee5}
html[data-theme="light"] .project-image img{opacity:.95}
html[data-theme="light"] .project-image:after{background:linear-gradient(180deg,transparent 55%,rgba(251,253,249,.78))}
html[data-theme="light"] .project-title strong,
html[data-theme="light"] .project-title{color:#203125}
html[data-theme="light"] .project-title span,
html[data-theme="light"] .featured-title span{color:#6e9168}
html[data-theme="light"] .project-actions{border-color:#d7e3d3}
html[data-theme="light"] .project-action.github,
html[data-theme="light"] .project-action.download,
html[data-theme="light"] .project-action.details{
  color:#314a30;background:#f1f7ec;border-color:#c0d3b8;
}
html[data-theme="light"] .project-action.github:hover,
html[data-theme="light"] .project-action.download:hover,
html[data-theme="light"] .project-action.details:hover{color:#274321;background:#e2efd8}
html[data-theme="light"] .project-action.site{color:#26351c;background:#c5e58d;border-color:#a9c77b}
html[data-theme="light"] .filter{color:#52634f;background:#f5f9f2}
html[data-theme="light"] .filter:hover,
html[data-theme="light"] .filter.active{color:#43651e;background:#e4f2d5;border-color:#9dc17b}
html[data-theme="light"] .filter-icon-mono{filter:none}
html[data-theme="light"] .search input{color:#253827}
html[data-theme="light"] .search input::placeholder{color:#8a9b86}
html[data-theme="light"] .featured-topics span,
html[data-theme="light"] .modal-topics span{color:#52674e;background:#eaf2e7;border-color:#d1ddc9}
html[data-theme="light"] .button.ghost{color:#354b33;background:#f6faf3;border:1px solid #b9cdb4}
html[data-theme="light"] .button.ghost:hover{background:#e5f1da}
html[data-theme="light"] .button.primary{background:#c3e68a;color:#263b1b}
html[data-theme="light"] .button.primary:hover{background:#b3dc74}
html[data-theme="light"] .modworks-entry-card{
  background:linear-gradient(115deg,#e0efd9,#eaf5e4 55%,#e3efdf);
  color:#28372b;
  border-color:#b8d1ad;
}
html[data-theme="light"] .modworks-entry-description{color:#476347}
html[data-theme="light"] .modworks-entry-card .modworks-entry-kicker{color:#507a22}
html[data-theme="light"] .modworks-entry-art::after{background:linear-gradient(90deg,#eaf5e4,rgba(234,245,228,.05) 55%,transparent)}
html[data-theme="light"] .modworks-entry-button,
html[data-theme="light"] .support-button{background:#c6e895;border-color:#a2c77d;color:#253b1a}
html[data-theme="light"] .cta-actions .button.ghost{color:#354b33;background:#eef5ea}
html[data-theme="light"] .support-copy h3{color:#203125}
html[data-theme="light"] .support-icon{background:#e8f2e1;border-color:#c5dbb8;color:#527d23}
html[data-theme="light"] .about{border-color:#cedbcc}
html[data-theme="light"] .about-label>span,
html[data-theme="light"] .tech-row span{color:#526a50}
html[data-theme="light"] .tech-row span{border-color:#cbdcc3;background:#f6faf3}
html[data-theme="light"] footer{border-color:#d4e1cf;color:#6e806b}
html[data-theme="light"] footer a{color:#4c6748}
html[data-theme="light"] .empty{color:#64745f}
html[data-theme="light"] .project-modal-backdrop{background:rgba(32,48,35,.58)}
html[data-theme="light"] .project-dialog{background:#f8fbf5;border-color:#b6cbb2;box-shadow:0 35px 90px rgba(18,38,20,.3)}
html[data-theme="light"] .modal-content{background:linear-gradient(180deg,#ffffff,#f5faf2)}
html[data-theme="light"] .modal-gallery,
html[data-theme="light"] .gallery-stage{background:#e7efe5}
html[data-theme="light"] .gallery-stage>img{background:#eaf1e7;border-color:#c8dac5}
html[data-theme="light"] .gallery-footer{background:#edf5e9;border-color:#c9d8c5;color:#52634f}
html[data-theme="light"] .gallery-loading{background:rgba(241,248,237,.89);color:#56734c}
html[data-theme="light"] .modal-facts{border-color:#d2dfce}
html[data-theme="light"] .modal-facts div{border-color:#d2dfce}
html[data-theme="light"] .modal-facts dt{color:#688266}
html[data-theme="light"] .modal-facts dd{color:#27382a}
html[data-theme="light"] .modal-close,
html[data-theme="light"] .gallery-nav{color:#31502a;background:#f6fbf2e8;border-color:#b6cbb0}
html[data-theme="light"] .gallery-nav:hover,
html[data-theme="light"] .modal-close:hover{color:#3a641a;background:#e5f2db}
html[data-theme="light"] #gallery-count{background:#e9f2e4;color:#51694e;border-color:#c5d8bc}
/* Shared festive overlay. It cannot capture pointers and stays below modal dialogs. */
body > #holiday-snow{
  position:fixed!important;
  inset:0;
  z-index:36;
  overflow:hidden;
  pointer-events:none!important;
  contain:paint;
}
/* Keep full-page snow above content but below both fixed controls and the burst. */
body > #holiday-snow{z-index:1250!important}
body > #holiday-snow[hidden]{display:none!important}
#holiday-snow .holiday-fall{
  position:absolute;
  /* Extra horizontal room prevents gaps while the flakes drift in wind. */
  inset:-200px -25vw 0;
  display:block;
  pointer-events:none;
  background-repeat:repeat;
  will-change:transform;
}
#holiday-snow .holiday-fall-near{
  background-size:190px 190px;
  background-image:
    radial-gradient(circle at 20px 24px,rgba(255,255,255,.95) 0 2.1px,transparent 3px),
    radial-gradient(circle at 106px 62px,rgba(240,250,255,.98) 0 1.7px,transparent 2.4px),
    radial-gradient(circle at 162px 162px,rgba(255,255,255,.94) 0 2.3px,transparent 3px),
    radial-gradient(circle at 51px 138px,rgba(249,254,255,.97) 0 1.8px,transparent 2.6px),
    radial-gradient(circle at 150px 15px,rgba(255,255,255,.87) 0 1.4px,transparent 2px),
    radial-gradient(circle at 7px 181px,rgba(248,254,255,.93) 0 1.5px,transparent 2.1px);
  animation:holiday-snow-near 8.8s linear infinite;
}
#holiday-snow .holiday-fall-far{
  background-size:154px 154px;
  background-image:
    radial-gradient(circle at 23px 43px,rgba(245,252,255,.65) 0 1.1px,transparent 1.7px),
    radial-gradient(circle at 97px 19px,rgba(245,252,255,.7) 0 1.2px,transparent 1.9px),
    radial-gradient(circle at 128px 115px,rgba(250,254,255,.7) 0 1px,transparent 1.5px),
    radial-gradient(circle at 47px 137px,rgba(250,254,255,.66) 0 .9px,transparent 1.6px),
    radial-gradient(circle at 149px 49px,rgba(255,255,255,.55) 0 1.1px,transparent 1.7px);
  animation:holiday-snow-far 16s linear infinite;
}
/* Skew the tiled sheet, then advance by exactly one tile height.
   The path looks diagonal while the looping background stays seamless. */
@keyframes holiday-snow-near{
  from{transform:skewX(-9deg) translate3d(0,0,0)}
  to{transform:skewX(-9deg) translate3d(0,190px,0)}
}
@keyframes holiday-snow-far{
  from{transform:skewX(-6deg) translate3d(0,0,0)}
  to{transform:skewX(-6deg) translate3d(0,154px,0)}
}
html[data-theme="light"] #holiday-snow .holiday-fall{
  filter:drop-shadow(0 1px 1px rgba(63,95,81,.5));
}
.holiday-host{position:relative}
/* The project dialog must remain absolutely centered in the viewport. */
/* The standalone Snowy New Year dialog also keeps its centered position. */
/* Unclipped edges, without allowing inner glow/art to leak past cards. */
.project.holiday-cap-host,
.featured-card.holiday-cap-host,
.terminal-card.holiday-cap-host,
.modworks-entry-card.holiday-cap-host,
.cta.holiday-cap-host,
.support-card.holiday-cap-host{overflow:visible!important}
.holiday-cap-host{position:relative}
.project.holiday-cap-host .project-image{border-radius:9px 9px 0 0;overflow:hidden}
.featured-card.holiday-cap-host .featured-media{border-radius:13px 13px 0 0;overflow:hidden}
.terminal-card.holiday-cap-host .terminal-top{border-radius:11px 11px 0 0}
.modworks-entry-card.holiday-cap-host .modworks-entry-art{border-radius:0 19px 19px 0;overflow:hidden}
/* These glows originally extended beyond the card and were clipped by it. */
.cta.holiday-cap-host .cta-glow{
  right:0;top:0;width:min(36%,330px);height:100%;filter:none;
  background:radial-gradient(ellipse at top right,rgba(163,230,53,.12),transparent 70%);
}
.support-card.holiday-cap-host::before{
  inset:0;width:100%;height:100%;border-radius:inherit;clip-path:none;
  background:radial-gradient(ellipse at 10% 44%,rgba(163,230,53,.1),transparent 58%);
}
/* Snow SVGs track native CSS transforms, scroll and 3-D card tilt. */
.holiday-cap-host > .holiday-cap,
.project-dialog-frame > .holiday-cap{
  position:absolute;
  display:block;
  left:4px;
  top:calc(1px - var(--cap-height,19px));
  width:calc(100% - 8px);
  height:var(--cap-height,19px);
  overflow:visible;
  pointer-events:none!important;
  z-index:24;
  filter:drop-shadow(0 1px 2px rgba(111,158,181,.23));
}
.motion-enabled .featured-card.motion-tilt.holiday-cap-host > .holiday-cap{transform:translateZ(8px)}
/* Stable frame: the cap is a sibling of the clipped project dialog,
   sharing exactly the same hover/entrance transform without rAF polling. */
#project-modal .project-dialog-frame{
  position:absolute;
  left:50%;top:50%;
  width:min(1220px,calc(100vw - 40px));
  max-height:calc(100vh - 40px);
  transform:translate(-50%,-48%) scale(.985);
  transition:transform .18s ease;
  overflow:visible;
}
#project-modal.open .project-dialog-frame{transform:translate(-50%,-50%) scale(1)}
#project-modal .project-dialog{
  position:relative;
  left:auto;top:auto;
  width:100%;
  max-height:calc(100vh - 40px);
  transform:none!important;
}
#project-modal .project-dialog-frame > .holiday-cap{z-index:26}
@media(max-width:980px){
  #project-modal .project-dialog-frame{width:min(820px,calc(100vw - 32px))}
}
@media(max-width:650px){
  #project-modal .project-dialog-frame{width:calc(100vw - 16px);max-height:calc(100vh - 16px)}
  #project-modal .project-dialog{max-height:calc(100vh - 16px)}
  .modworks-entry-card.holiday-cap-host .modworks-entry-art{border-radius:0 0 13px 13px}
}
/* Garland cable starts and finishes at the two bottom corners.
   Lamps are SVG nodes so each colour group can light in turn. */
.nav.holiday-host,
.stats.holiday-host,
.modworks-entry-card.holiday-host,
.support-card.holiday-host{position:relative}
.modworks-entry-card.holiday-host,
.support-card.holiday-host{overflow:visible!important}
.modworks-entry-card.holiday-host .modworks-entry-art{overflow:hidden}
.support-card.holiday-host::before{
  inset:0;
  width:100%;
  height:100%;
  border-radius:inherit;
  clip-path:none;
  background:radial-gradient(ellipse at 10% 44%,rgba(163,230,53,.1),transparent 58%);
}
.holiday-host > .holiday-garland{
  position:absolute;
  top:calc(100% - 2px);
  bottom:auto;
  left:0;
  right:0;
  width:100%;
  height:52px;
  display:block;
  z-index:16;
  pointer-events:none!important;
  overflow:visible;
  background:none;
  filter:none;
  animation:none;
}
.holiday-garland svg{
  display:block;
  width:100%;
  height:100%;
  overflow:visible;
  pointer-events:none;
}
.holiday-garland .garland-red{--bulb-color:#fa646a;--bulb-phase:0s}
.holiday-garland .garland-gold{--bulb-color:#ffda79;--bulb-phase:-3.6s}
.holiday-garland .garland-blue{--bulb-color:#75ccff;--bulb-phase:-2.4s}
.holiday-garland .garland-green{--bulb-color:#9bf0a4;--bulb-phase:-1.2s}
.holiday-garland .garland-halo{
  fill:var(--bulb-color);
  opacity:.18;
  filter:blur(3px);
  animation:garland-colour-chase 4.8s ease-in-out infinite;
  animation-delay:var(--bulb-phase);
}
.holiday-garland .garland-glass{
  fill:var(--bulb-color);
  opacity:.72;
  filter:drop-shadow(0 0 1.5px var(--bulb-color));
  animation:garland-glass-chase 4.8s ease-in-out infinite;
  animation-delay:var(--bulb-phase);
}
@keyframes garland-colour-chase{
  0%,8%,12%{opacity:1}
  24%,100%{opacity:.18}
}
@keyframes garland-glass-chase{
  0%,8%,12%{opacity:1}
  24%,100%{opacity:.72}
}
@media(max-width:650px){
  #holiday-snow .holiday-fall-near{opacity:.7}
  #holiday-snow .holiday-fall-far{opacity:.55}
  .holiday-host > .holiday-garland{height:52px}
}
@media(prefers-reduced-motion:reduce){
  #holiday-snow .holiday-fall{animation:none!important;will-change:auto}
  .holiday-garland .garland-halo{animation:none!important;opacity:.55}
  .holiday-garland .garland-glass{animation:none!important;opacity:.9}
}


/* Holiday controls float left of the fixed top-right rail. */
body > #appearance-controls .holiday-settings{
  position:absolute;
  top:52px;
  right:calc(100% + 10px);
  min-width:212px;
  padding:6px;
  display:flex;
  flex-direction:column;
  gap:6px;
  border:1px solid rgba(156,191,130,.42);
  border-radius:13px;
  background:rgba(17,25,21,.97);
  box-shadow:0 15px 45px rgba(0,0,0,.4);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  animation:holiday-flyout-in .27s cubic-bezier(.16,1,.3,1) both;
  pointer-events:auto;
}
#holiday-settings[hidden]{display:none!important}
@keyframes holiday-flyout-in{
  from{opacity:0;transform:translateX(16px) scale(.94)}
  to{opacity:1;transform:translateX(0) scale(1)}
}
.holiday-setting{
  display:flex;
  width:100%;
  align-items:center;
  gap:9px;
  min-height:42px;
  padding:8px 9px;
  border:1px solid rgba(174,204,160,.18);
  border-radius:9px;
  color:#cbd8cc;
  background:#202b22;
  font:600 12px Inter,system-ui,sans-serif;
  cursor:pointer;
  text-align:left;
  touch-action:manipulation;
  white-space:nowrap;
}
.holiday-setting:hover{background:#2c3e2e}
.holiday-setting[aria-pressed="true"]{border-color:#527446;color:#e5f8d8}
.holiday-setting[aria-pressed="false"]{color:#92a091;opacity:.85}
.holiday-setting:focus-visible{outline:2px solid #a3e635;outline-offset:2px}
.holiday-setting-label{flex:1}
.holiday-setting-state{color:#b4de8b;font:700 10px "JetBrains Mono",monospace}
.holiday-setting[aria-pressed="false"] .holiday-setting-state{color:#a5aaa4}
html[data-theme="light"] body > #appearance-controls .holiday-settings{
  background:rgba(249,253,246,.97);border-color:#bad1b3;
  box-shadow:0 14px 42px #29432c25;
}
html[data-theme="light"] .holiday-setting{
  color:#354e37;background:#eaf2e4;border-color:#c7dbbd;
}
html[data-theme="light"] .holiday-setting[aria-pressed="true"]{border-color:#84ae69;color:#295529}
html[data-theme="light"] .holiday-setting-state{color:#578028}
html[data-holiday="on"][data-holiday-snow="off"] body > #holiday-snow{display:none!important}
html[data-holiday="on"][data-holiday-snow="off"] .snowy-theme > .snowfall{display:none!important}
html[data-holiday="on"][data-holiday-caps="off"] .holiday-cap{display:none!important}

/* Real-time particle blizzard. Drawn only during the transition and
   removed as soon as the weather front passes. */
body > #holiday-transition{
  position:fixed!important;
  inset:0;
  z-index:1500!important;
  display:block;
  width:100vw;
  height:100vh;
  overflow:hidden;
  pointer-events:none!important;
  contain:strict;
}
html.holiday-entering .holiday-cap,
html.holiday-entering .holiday-garland{
  animation:holiday-decor-appear .38s ease-out backwards;
  animation-delay:var(--winter-delay,0ms);
}
html.holiday-exiting .holiday-cap,
html.holiday-exiting .holiday-garland{
  animation:holiday-decor-depart .35s ease-in both;
  animation-delay:var(--winter-delay,0ms);
}
html.holiday-exiting body > #holiday-snow{animation:holiday-snow-clear 1.2s ease-in both}
@keyframes holiday-decor-appear{
  from{opacity:0;translate:24px -8px}
  to{opacity:1;translate:none}
}
@keyframes holiday-decor-depart{
  from{opacity:1;translate:none}
  to{opacity:0;translate:-28px 10px}
}
@keyframes holiday-snow-clear{
  0%,24%{opacity:1}
  100%{opacity:0}
}
@media(max-width:600px){
  body > #appearance-controls .holiday-settings{
    top:42px;
    right:calc(100% + 8px);
    min-width:min(208px,calc(100vw - 95px));
  }
  .holiday-setting{min-height:42px}
}
@media(prefers-reduced-motion:reduce){
  body > #holiday-transition{display:none!important;animation:none!important}
  html.holiday-entering .holiday-cap,html.holiday-entering .holiday-garland,
  html.holiday-exiting .holiday-cap,html.holiday-exiting .holiday-garland{animation:none!important}
  html.holiday-exiting body > #holiday-snow{animation:none!important}
  #holiday-settings{animation:none!important}
}


/* First winter activation only: a tiny retro sleigh crosses the upper sky.
   A CSS transform keeps the sprite fully decoupled from scroll and JS loops. */
body > #holiday-santa-flight{
  position:fixed!important;
  inset:0;
  z-index:1550!important;
  width:100vw;
  height:100vh;
  overflow:hidden;
  pointer-events:none!important;
  background:transparent;
}
#holiday-santa-flight img{
  --santa-width:clamp(210px,24vw,380px);
  position:absolute;
  top:clamp(94px,16vh,180px);
  left:0;
  display:block;
  width:var(--santa-width);
  max-width:none;
  height:auto;
  image-rendering:pixelated;
  pointer-events:none!important;
  user-select:none;
  filter:drop-shadow(0 0 8px rgba(220,244,255,.22));
  will-change:transform;
  transform-origin:center;
  animation:holiday-santa-flight 2.4s linear .48s both;
}
/* The sleigh follows a shallow, continuous arc: climb toward the centre,
   then descend toward the left edge. The x positions advance uniformly. */
@keyframes holiday-santa-flight{
  0%{
    transform:translate3d(calc(100vw + 60px),32px,0) scaleX(-1);
    opacity:0;
  }
  8%{opacity:.96}
  12%{transform:translate3d(calc(88vw - 12% + 45.6px),-4px,0) scaleX(-1)}
  25%{transform:translate3d(calc(75vw - 25% + 30px),-30px,0) scaleX(-1)}
  38%{transform:translate3d(calc(62vw - 38% + 14.4px),-50px,0) scaleX(-1)}
  50%{transform:translate3d(calc(50vw - 50%),-57px,0) scaleX(-1)}
  62%{transform:translate3d(calc(38vw - 62% - 14.4px),-50px,0) scaleX(-1)}
  75%{transform:translate3d(calc(25vw - 75% - 30px),-30px,0) scaleX(-1)}
  88%{transform:translate3d(calc(12vw - 88% - 45.6px),-4px,0) scaleX(-1)}
  92%{opacity:.96}
  100%{
    transform:translate3d(calc(-100% - 60px),32px,0) scaleX(-1);
    opacity:0;
  }
}
@media(max-width:600px){
  #holiday-santa-flight img{
    --santa-width:clamp(140px,36vw,215px);
    top:clamp(88px,15vh,145px);
  }
}
@media(prefers-reduced-motion:reduce){
  body > #holiday-santa-flight{display:none!important}
}
