/* ── Base & Reset ── */
*, *::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 { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
  .reveal.revealed { opacity: 1; transform: translateY(0); }
  .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; }
}

/* ── Geometric Background Shapes ── */
.geo-shape { position: fixed; pointer-events: none; z-index: 0; }
.circle-1 { top: 15%; left: -8%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(192,96,58,0.07) 0%, transparent 70%); border-radius: 50%; }
.circle-2 { top: 55%; right: -5%; width: 350px; height: 350px; background: radial-gradient(circle, rgba(212,180,120,0.1) 0%, transparent 70%); border-radius: 50%; }
.circle-3 { bottom: 10%; left: 20%; width: 250px; height: 250px; background: radial-gradient(circle, rgba(192,96,58,0.05) 0%, transparent 70%); border-radius: 50%; }
.triangle { top: 40%; right: 8%; width: 0; height: 0; border-left: 60px solid transparent; border-right: 60px solid transparent; border-bottom: 104px solid rgba(192,96,58,0.04); transform: rotate(15deg); }

/* ── Navbar ── */
#navbar { background: transparent; }
#navbar.scrolled {
  background: rgba(253,251,247,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.06);
}

/* ── Service Cards ── */
.service-card { will-change: transform; }

/* ── Mobile Menu Animation ── */
#mobile-menu { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease; opacity: 0; }
#mobile-menu.open { max-height: 500px; opacity: 1; }

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FAF5EC; }
::-webkit-scrollbar-thumb { background: #D4B478; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #C0603A; }

/* ── Selection ── */
::selection { background: rgba(192,96,58,0.2); color: #372E25; }

/* ── Focus visible ── */
:focus-visible { outline: 2px solid #C0603A; outline-offset: 2px; border-radius: 4px; }
