.site-loader {
  display: none;
}

@media (hover: hover) and (min-width: 1025px) and (pointer: fine) {
  html {
    scrollbar-gutter: stable;
  }

  html.is-loading {
    overflow: hidden;
    padding-right: var(--scrollbar-w, 0px);
  }

  html.is-loading,
  html.is-loading body {
    height: 100%;
  }

  html.is-loading body {
    overflow: hidden;
  }

  html.is-loading body > *:not(.site-loader) {
    visibility: hidden;
  }

  .site-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    background: #fff8ee;
    transition: opacity 0.55s ease, visibility 0.55s ease;
  }

  .site-loader.is-gone {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .site-loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    max-width: 320px;
    text-align: center;
  }

  .loader-rings {
    position: relative;
    width: min(260px, 48vw);
    aspect-ratio: 1;
  }

  .loader-rings img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
  }

  .loader-rings-ghost {
    opacity: 0.16;
    filter: grayscale(0.15);
  }

  .loader-rings-fill {
    position: absolute;
    inset: 0;
    clip-path: inset(calc((1 - var(--load, 0)) * 100%) 0 0 0);
    transition: clip-path 0.28s ease;
  }

  .loader-label {
    margin: 0;
    font-family: "Festus", "Nunito", sans-serif;
    font-size: clamp(18px, 2.2vw, 26px);
    letter-spacing: 0.04em;
    color: var(--ink-soft, #5c3318);
  }

  .loader-names {
    margin: 0;
    font-family: "Bimbo", "Festus", cursive;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 400;
    color: var(--ink, #2a1108);
  }
}
