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

/* ── Font weight utility (Tailwind doesn't ship these by default) ── */
.font-400 { font-weight: 400; }
.font-500 { font-weight: 500; }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }
.font-800 { font-weight: 800; }

/* ── Navbar scroll state ── */
#nav.scrolled {
  background: rgba(26, 20, 16, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* ── Mobile menu transitions ── */
#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Scroll-triggered animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #faf8f5; }
::-webkit-scrollbar-thumb { background: #d4c0b4; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #b89a88; }

/* ── Selection ── */
::selection { background: #C4613A; color: #fff; }

/* ── Form focus styles ── */
input:focus, textarea:focus {
  outline: none;
}

/* ── Smooth image loading ── */
img {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* ── Print ── */
@media print {
  nav, #contact, #mobileMenu { display: none; }
  body { color: #000; background: #fff; }
}
