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

/* ── Scroll Reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  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; }

/* ── Hero Animations ────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* ── Hero Floating Circles ──────────────────────────────── */
.hero-circle {
  animation: float 8s ease-in-out infinite;
}
.c1 { animation-delay: 0s; }
.c2 { animation-delay: -2s; }
.c3 { animation-delay: -4s; }
.c4 { animation-delay: -6s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(18px, -20px) scale(1.04); }
  66% { transform: translate(-12px, 14px) scale(0.96); }
}

/* ── Header Scroll State ────────────────────────────────── */
#site-header.scrolled {
  background: rgba(253, 248, 240, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(107, 94, 87, 0.08), 0 4px 24px rgba(107, 94, 87, 0.06);
}
#site-header.scrolled .font-display { color: #6B5E57; }

/* ── Mobile Menu ────────────────────────────────────────── */
.mobile-link {
  position: relative;
}
.mobile-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #e76f58;
  transition: width 0.3s ease;
}
.mobile-link:hover::after { width: 100%; }

/* ── Menu Card Hover ────────────────────────────────────── */
#menu .bg-white {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
#menu .bg-white:hover {
  transform: translateY(-6px);
}

/* ── Image Hover ────────────────────────────────────────── */
.rounded-3xl.overflow-hidden > img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.rounded-3xl.overflow-hidden:hover > img {
  transform: scale(1.03);
}

/* ── Focus Styles ───────────────────────────────────────── */
input:focus, textarea:focus, button:focus {
  outline: none;
}

/* ── Selection ──────────────────────────────────────────── */
::selection {
  background: #f4c0b0;
  color: #6e2718;
}

/* ── Responsive Tweaks ──────────────────────────────────── */
@media (max-width: 767px) {
  html { scroll-padding-top: 72px; }
}
