:root {
  --he-green: #08392f;
  --he-ink: #0d3029;
  --he-gold: #c3923e;
  --he-cream: #f7f2e8;
}

#he-page-loader.he-loader-redesign {
  display: grid !important;
  place-items: center !important;
  background: #06372e !important;
  overflow: hidden;
  transition: opacity .42s ease, visibility .42s ease;
}

#he-page-loader.he-loader-redesign.he-loader-done {
  opacity: 0 !important;
  visibility: hidden !important;
}

#he-page-loader.he-loader-redesign::before,
#he-page-loader.he-loader-redesign::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(202, 158, 73, .18), transparent),
    radial-gradient(circle at 50% 20%, rgba(202, 158, 73, .18), transparent 36%);
  opacity: .75;
}

#he-page-loader.he-loader-redesign::after {
  inset: auto 8% 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(202, 158, 73, .55), transparent);
}

.he-loader-frame {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 16px;
  color: #fffaf0;
  text-align: center;
}

.he-loader-logo {
  width: min(210px, 54vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, .22));
  animation: heLoaderLogo 1.8s ease-in-out infinite;
}

.he-loader-copy {
  display: grid;
  gap: 6px;
}

.he-loader-copy strong {
  color: #fffaf0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: .1em;
}

.he-loader-copy small {
  color: rgba(255, 250, 240, .72);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.he-loader-track {
  width: min(360px, 72vw);
  height: 2px;
  overflow: hidden;
  margin-top: 6px;
  background: rgba(255, 250, 240, .16);
}

.he-loader-track i {
  display: block;
  width: 44%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--he-gold), transparent);
  animation: heLoaderTrack 1.15s ease-in-out infinite;
}

#he-home-video-panel {
  display: none !important;
}

.he-home-stats-video-section {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(6, 45, 37, .94), rgba(6, 45, 37, .76)),
    url("/images/hero-kl.png") center / cover no-repeat !important;
}

.he-home-stats-video-section::before,
.he-home-stats-video-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.he-home-stats-video-section::before {
  background:
    linear-gradient(90deg, rgba(5, 35, 30, .92), rgba(7, 54, 45, .7) 48%, rgba(5, 35, 30, .9)),
    radial-gradient(circle at 50% 50%, rgba(203, 157, 70, .2), transparent 42%);
}

.he-home-stats-video-section::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .36));
}

#he-home-stats-video-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

#he-home-stats-video-bg video {
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .52;
  filter: saturate(.95) contrast(1.08) brightness(.72);
}

.he-home-stats-video-section > *:not(#he-home-stats-video-bg) {
  position: relative;
  z-index: 1;
}

body:not(.he-renovation-page) .he-renovation-film,
body:not(.he-renovation-page) .he-design-gallery {
  display: none !important;
}

.he-legal-page {
  min-height: 70vh;
  padding: clamp(70px, 9vw, 128px) 20px;
  background: #f8f4ec;
}

.he-legal-page__inner {
  width: min(980px, 100%);
  margin: 0 auto;
}

.he-legal-page__eyebrow {
  margin: 0 0 12px;
  color: var(--he-gold);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.he-legal-page h1 {
  margin: 0;
  color: var(--he-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1;
}

.he-legal-page__inner > span {
  display: block;
  margin-top: 14px;
  color: rgba(13, 48, 41, .62);
  font-family: Inter, system-ui, sans-serif;
}

.he-legal-page__body {
  display: grid;
  gap: 18px;
  margin-top: clamp(32px, 5vw, 58px);
}

.he-legal-page article {
  padding: clamp(20px, 3vw, 30px);
  background: #fffaf2;
  border: 1px solid rgba(13, 48, 41, .1);
}

.he-legal-page article strong {
  display: block;
  color: var(--he-ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.4;
}

.he-legal-page article p {
  margin: 10px 0 0;
  color: rgba(13, 48, 41, .72);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
}

@keyframes heLoaderTrack {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(260%);
  }
}

@keyframes heLoaderLogo {
  0%, 100% {
    opacity: .82;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@media (max-width: 760px) {
  #he-page-loader.he-loader-redesign {
    background: #06372e !important;
  }

  #he-home-stats-video-bg video {
    opacity: .36;
  }
}
