.site-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #fdf3f4 0%, #faecef 42%, #f8e8ec 100%);
  transition: opacity 0.42s ease, visibility 0.42s ease;
}

.site-loader--quick {
  background: rgba(253, 243, 244, 0.92);
  transition: opacity 0.26s ease, visibility 0.26s ease;
}

.site-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.is-loading {
  overflow: hidden;
}

.site-loader__petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-loader__petal {
  position: absolute;
  width: 34px;
  height: 22px;
  border-radius: 80% 20% 80% 20%;
  background: linear-gradient(135deg, #f3b8c4 0%, #e8a0b0 55%, #dfa0b0 100%);
  box-shadow: 0 10px 22px rgba(210, 130, 150, 0.28);
  opacity: 0.82;
  will-change: transform;
}

.site-loader__petal--1 { left: 14%; top: 34%; --petal-rot: -24deg; animation: loaderPetalFloat 5.5s ease-in-out infinite; }
.site-loader__petal--2 { right: 16%; top: 30%; --petal-rot: 18deg; animation: loaderPetalFloat 6.2s ease-in-out 0.6s infinite; }
.site-loader__petal--3 { left: 22%; bottom: 28%; --petal-rot: 32deg; animation: loaderPetalFloat 5.8s ease-in-out 1.1s infinite; }
.site-loader__petal--4 { right: 20%; bottom: 26%; --petal-rot: -14deg; animation: loaderPetalFloat 6.4s ease-in-out 0.3s infinite; }

@keyframes loaderPetalFloat {
  0%, 100% { transform: translateY(0) rotate(var(--petal-rot, 0deg)); }
  50% { transform: translateY(-12px) rotate(calc(var(--petal-rot, 0deg) + 6deg)); }
}

.site-loader__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px;
  animation: loaderInnerIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes loaderInnerIn {
  from { opacity: 0; transform: translateY(14px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.site-loader__mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-loader__mark-img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.site-loader__brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.site-loader__wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-loader__brand-name {
  font-family: var(--merary-brand-serif, Georgia, "Times New Roman", serif);
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.28em;
  padding-left: 0.28em;
  color: #2f3528;
  white-space: nowrap;
}

.site-loader__brand-sub {
  margin-top: 8px;
  font-family: var(--merary-brand-serif, Georgia, "Times New Roman", serif);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  color: #d9a0ad;
  white-space: nowrap;
  text-align: center;
}

.site-loader__tagline {
  font-size: 14px;
  color: #8a8a8a;
  margin-bottom: 28px;
}

.site-loader__percent {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(42px, 7vw, 58px);
  font-weight: 500;
  color: #e8a5b0;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .site-loader,
  .site-loader--quick {
    transition: none !important;
  }

  .site-loader__petal,
  .site-loader__inner {
    animation: none !important;
  }
}
