/* Loaded on every page after Next/Tailwind so type is not stuck at .875rem / .7rem */
html,
body,
body[class*="poppins"],
body[class*="Poppins"] {
  font-family: "Outfit", "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  line-height: 1.22 !important;
}

h1 {
  font-size: clamp(1.85rem, 3.2vw, 3.15rem) !important;
}

h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.35rem) !important;
}

p,
li,
label,
td,
th,
input,
textarea,
select,
button,
a {
  font-family: "Outfit", "Segoe UI", sans-serif !important;
}

p {
  font-size: 1.0625rem !important;
  line-height: 1.8 !important;
  font-weight: 400 !important;
}

@media (max-width: 640px) {
  html,
  body {
    font-size: 16px !important;
  }

  p {
    font-size: 1rem !important;
    line-height: 1.75 !important;
  }
}

#site-page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #0e4039 0%, #114034 55%, #0a2f2a 100%);
  color: #f5f3ee;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

#site-page-loader.site-page-loader--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-page-loader__inner {
  text-align: center;
  padding: 2rem;
}

.site-page-loader__spinner {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1.1rem;
  border: 2px solid rgba(191, 164, 99, 0.35);
  border-top-color: #bfa463;
  border-radius: 50%;
  animation: site-page-loader-spin 0.9s linear infinite;
}

.site-page-loader__title {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.site-page-loader__sub {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: rgba(245, 243, 238, 0.72);
}

@keyframes site-page-loader-spin {
  to {
    transform: rotate(360deg);
  }
}
