:root {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.soft-lift {
  box-shadow: 0 14px 38px rgba(55, 42, 36, 0.09);
}

.gold-hover:hover {
  border-color: rgba(117, 90, 41, 0.48);
  transform: translateY(-4px);
}

.ledger-input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d2c4be;
  border-radius: 0;
  background: transparent;
  color: #201a17;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.ledger-input:focus {
  border-color: #755a29;
  box-shadow: 0 1px 0 #755a29;
  outline: none;
}

.testimonial-slides {
  display: grid;
  align-items: start;
}

.testimonial-slide {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-18px);
  transition: opacity 320ms ease, transform 320ms ease, visibility 0s linear 320ms;
}

.testimonial-slide.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s;
}

.testimonial-btn {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #d2c4be;
  border-radius: 999px;
  background: #fff8f5;
  color: #372a24;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.testimonial-btn:hover {
  border-color: #755a29;
  background: #fdd79b;
  color: #4e4039;
  transform: translateY(-2px);
}

.testimonial-btn:active {
  transform: translateY(0) scale(0.96);
}

.testimonial-btn:focus-visible,
.testimonial-dot:focus-visible {
  outline: 3px solid rgba(117, 90, 41, 0.35);
  outline-offset: 3px;
}

.testimonial-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: #d2c4be;
  transition: width 220ms ease, background-color 220ms ease;
}

.testimonial-dot.active {
  width: 28px;
  background: #755a29;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
