/* Vinyl Drip loading screen: the logo drips, the last drop falls off, the logo pours gold,
   the gold drop splashes at the bottom of the screen and the loader fades into the site. */
.vd-loader {
  position: fixed; inset: 0; z-index: 9999; overflow: hidden;
  display: grid; place-items: center;
  background: #0A0A0B;
  transition: opacity .6s cubic-bezier(.2, .7, .2, 1);
  animation: vd-failsafe .6s ease 10s forwards; /* never trap the page if the script fails */
}
html.vd-no-loader .vd-loader { display: none; }
html.vd-loading { overflow: hidden; }
.vd-loader.is-done { opacity: 0; pointer-events: none; }
@keyframes vd-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.vd-loader__logo {
  position: relative; width: min(380px, 64vw, 46vh); aspect-ratio: 1;
  opacity: 0; will-change: transform, opacity;
}
.vd-loader__logo img { display: block; width: 100%; height: 100%; }

/* Gold layer: the site's gold gradient, cut to the logo's shape and multiplied over it,
   so the white fill turns gold and the black outline stays black. Revealed top to bottom. */
.vd-loader__gold {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #F6DE9A 0%, #E8C877 34%, #B8913C 50%, #C9A24A 64%, #F2D58A 100%);
  mix-blend-mode: multiply;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  clip-path: inset(0 0 100% 0);
}

.vd-loader__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
