:root {
  color-scheme: light;
  --focus-ring: #f6a83b;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

body.has-open-menu {
  overflow: hidden;
}

main {
  display: block;
}

.navbar {
  z-index: 1000;
  isolation: isolate;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: #472145;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.mobile-menu-overflow[hidden] {
  display: none !important;
}

.mobile-menu-toggle {
  position: relative;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 11px;
  border: 0;
  background: transparent;
  align-content: center;
  gap: 6px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: #472145;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.is-menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.is-menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.is-menu-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.is-menu-open .mobile-menu-overflow {
  display: block;
  visibility: visible;
}

.birds-lottie {
  display: none;
}

.hero-logo,
.hero-compass-fade,
.hero-indiana,
.hero-barrels,
.hero-clouds,
.hero-charcuterie,
.hero-vine,
.hero-grapes-hold,
.hero-wine-pour,
.hero-vineyard-lower {
  animation: hero-settle 0.9s both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-clouds,
.hero-vine,
.hero-wine-pour {
  animation-delay: 0.12s;
}

@keyframes hero-settle {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (hover: hover) and (pointer: fine) {
  .hero-logo,
  .hero-compass-fade,
  .hero-indiana,
  .hero-barrels,
  .hero-clouds,
  .hero-charcuterie,
  .hero-vine,
  .hero-grapes-hold,
  .hero-sun,
  .hero-wine-pour,
  .hero-vineyard-lower {
    will-change: translate;
  }

  .hero-compass-fade {
    will-change: translate, rotate;
  }
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.form-optional {
  font-size: 0.8em;
  font-weight: 400;
}

.form-status {
  min-height: 1.5em;
  margin-top: 14px;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
