/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ── Eyebrow utility ── */
.eyebrow { letter-spacing: 0.2em; }

/* ── Hero animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadeUp 0.8s ease both; }
.hero-headline { animation: fadeUp 0.8s 0.15s ease both; }
.hero-sub      { animation: fadeUp 0.8s 0.3s ease both; }
.hero-cta      { animation: fadeUp 0.8s 0.45s ease both; }

/* ── Scroll reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal-up,
  .reveal-left,
  .reveal-right {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal-up   { transform: translateY(28px); }
  .reveal-left  { transform: translateX(-28px); }
  .reveal-right { transform: translateX(28px); }

  .reveal-up.visible,
  .reveal-left.visible,
  .reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
  }
}

/* Content always visible when JS is disabled — default state is visible */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Nav scroll state ── */
#nav.scrolled {
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(193, 102, 107, 0.08);
}

/* ── Mobile menu ── */
#mobile-menu.open {
  opacity: 1 !important;
  pointer-events: all !important;
}
#mobile-menu.open .menu-line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
#mobile-menu.open .menu-line:nth-child(2) {
  opacity: 0;
}
#mobile-menu.open .menu-line:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
  width: 5px;
}

/* ── Gallery strip scroll ── */
@keyframes scrollGallery {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.gallery-strip {
  display: flex;
  gap: 1rem;
  animation: scrollGallery 40s linear infinite;
}
.gallery-strip:hover {
  animation-play-state: paused;
}
.gallery-img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  flex-shrink: 0;
}
.gallery-img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(109, 50, 51, 0.15);
}

/* ── Menu item hover ── */
.group:hover .h-px {
  background-color: rgba(193, 102, 107, 0.25) !important;
}

/* ── Focus styles ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #C1666B;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Selection ── */
::selection {
  background: rgba(193, 102, 107, 0.2);
  color: #542828;
}
