/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: inherit; }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.4s; }
.reveal[data-reveal-delay="5"] { transition-delay: 0.5s; }

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

/* ── Nav ── */
#site-header {
  background: transparent;
}
#site-header.scrolled {
  background: rgba(253, 252, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(27, 67, 50, 0.08);
}
#site-header.scrolled #nav-bg {
  background: rgba(253, 252, 248, 0.8);
}

/* ── Mobile Menu ── */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
#mobile-menu:not(.open) {
  opacity: 0;
  pointer-events: none;
}
.mobile-link {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .mobile-link { font-size: 2.5rem; }
}

/* ── Decorative underline on CTA arrow ── */
a[href^="tel"] svg,
a[href^="mailto"] svg {
  flex-shrink: 0;
}

/* ── Selection ── */
::selection {
  background: rgba(27, 67, 50, 0.15);
  color: #1B4332;
}

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

/* ── Image hover containers ── */
.rounded-2xl {
  border-radius: 1rem;
}
