html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #f8f7f4;
  overscroll-behavior-x: none;
}

h1,
h2,
h3,
h4,
.font-serif {
  font-family: 'Playfair Display', serif;
}

.hero-kenburns {
  animation: kenburns 30s ease-in-out infinite alternate;
}

@keyframes kenburns {
  0% {
    transform: scale(1.0);
  }
  100% {
    transform: scale(1.15);
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hero-highlight {
  background: #d9381e;
  color: white;
  padding: 0 0.2em;
  display: inline-block;
}

.perspective-1000 {
  perspective: 1200px;
}

.preserve-3d {
  transform-style: preserve-3d;
}

.carousel-container {
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  transform-style: preserve-3d;
}

#carouselViewport {
  width: 300px;
  height: 420px;
}

.bento-card {
  overflow: hidden;
}

.bento-card img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bento-card:hover img {
  transform: scale(1.1);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c7c7c7;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (max-width: 900px) {
  .home-nav {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .home-nav-mobile-left {
    justify-self: start;
  }

  #homeBrand {
    justify-self: center;
    align-items: center !important;
    text-align: center;
    min-width: 0;
  }

  #homeBrandTitle {
    font-size: 1.45rem !important;
    line-height: 1 !important;
    white-space: nowrap;
  }

  #homeBrandTag {
    font-size: 0.48rem !important;
    letter-spacing: 0.18em !important;
    margin-top: 3px !important;
    white-space: nowrap;
  }

  .home-nav-right {
    gap: 8px !important;
    justify-self: end;
  }

  .home-cms-link {
    font-size: 0.62rem !important;
    letter-spacing: 0.12em !important;
  }

  #carouselViewport {
    width: 242px;
    height: 338px;
  }

}

@media (max-width: 480px) {
  #homeBrandTitle {
    font-size: 1.2rem !important;
  }

  #homeBrandTag {
    display: none;
  }

  #carouselViewport {
    width: 224px;
    height: 314px;
  }

}
