.brand-curtain {
  display: none;
}
@media screen and (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  html .brand-curtain {
    display: grid;
    place-items: center;
    position: fixed;
    z-index: 1000;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    background-color: #e3d1ad;
    background-image: radial-gradient(
      ellipse at 50% 40%,
      #efdfc2,
      transparent 75%
    );
  }
  .brand-curtain img {
    width: clamp(136px, 15vw, 214px);
    height: auto;
    max-width: 58vw;
    filter: brightness(0) saturate(100%) opacity(0.82);
  }
  html:not([data-brand-motion="leave"]) .brand-curtain {
    animation: aurum-unveil 680ms cubic-bezier(0.65, 0, 0.24, 1) both;
  }
  html:not([data-brand-motion="leave"]) .brand-curtain img {
    animation: aurum-signature 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  [data-brand-motion="leave"] .brand-curtain {
    animation: aurum-cover 165ms cubic-bezier(0.3, 0, 0.3, 1) both;
  }
  [data-brand-motion="leave"] .brand-curtain img {
    animation: aurum-signature 165ms ease-out both;
  }
}
@keyframes aurum-cover {
  from {
    clip-path: inset(100% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes aurum-unveil {
  0%,
  32% {
    clip-path: inset(0);
    visibility: visible;
  }
  99% {
    visibility: visible;
  }
  100% {
    clip-path: inset(0 0 100%);
    visibility: hidden;
  }
}
@keyframes aurum-signature {
  from {
    opacity: 0.5;
    transform: translateY(5px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
