html {
  scroll-behavior: smooth;
}
body {
  background-color: #fbf6ec;
  color: #2b2118;
}
.font-display {
  font-family: "DM Serif Display", serif;
}

::selection {
  background: #e0932e;
  color: #fffdf9;
}

.rule-spice {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0932e, transparent);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.12);
}
.hero-slide.is-active {
  opacity: 1;
}

.nav-link {
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: #e0932e;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.nav-link:hover::after {
  transform: scaleX(1);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.pill {
  border: 1px solid rgba(224, 147, 46, 0.35);
}

#gallery-extra {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}

#review-track {
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #fbf6ec;
}
::-webkit-scrollbar-thumb {
  background: #C1452B;
  border-radius: 8px;
}

#mobile-panel {
  transform: translateX(100%);
}
#mobile-overlay {
  opacity: 0;
  pointer-events: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #e0932e;
  outline-offset: 3px;
}

.line-clamp-6 {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spin-slow {
  animation: spin 16s linear infinite;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
