/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; }

/* ── Nav ── */
#nav {
  background: transparent;
  transition: background 0.5s ease, box-shadow 0.5s ease;
}
#nav.scrolled {
  background: rgba(250, 248, 246, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* ── Section Labels ── */
.section-label {
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #B85C38;
}

/* ── Section Headings ── */
.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  color: #2e2720;
  letter-spacing: -0.02em;
}

/* ── Hero Animations ── */
.hero-subtitle { animation: fadeUp 0.8s ease 0.3s both; }
.hero-title { animation: fadeUp 0.8s ease 0.5s both; }
.hero-desc { animation: fadeUp 0.8s ease 0.7s both; }
.hero-cta { animation: fadeUp 0.8s ease 0.9s both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Scroll Reveal (below-fold only) ── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-up {
    opacity: 0;
    transform: translateY(32px);
  }
  .reveal-left {
    opacity: 0;
    transform: translateX(-32px);
  }
  .reveal-right {
    opacity: 0;
    transform: translateX(32px);
  }
  .reveal-up.visible,
  .reveal-left.visible,
  .reveal-right.visible {
    opacity: 1;
    transform: none;
  }
}

/* ── Mobile Menu ── */
#mobile-menu {
  z-index: 40;
}
#mobile-menu.open {
  transform: translateX(0) !important;
}
body.menu-open {
  overflow: hidden;
}

/* ── Scroll Indicator ── */
.scroll-indicator {
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ── Menu Hover Lines ── */
.group:hover .group-hover\:text-terracotta-600 {
  transition: color 0.2s ease;
}

/* ── Utility ── */
@media (max-width: 767px) {
  .section-heading {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
}
