  /* ─── Base ─── */
  html {
    scroll-behavior: smooth;
  }

  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  ::selection {
    background: #e9b4a4;
    color: #522b22;
  }

  /* ─── 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:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
  }

  /* ─── Navbar scroll state ─── */
  #nav.scrolled {
    background: rgba(253, 252, 250, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  }

  #nav.scrolled .font-display {
    color: #1c1917;
  }

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

  #mobileMenu .menu-line.active:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  #mobileMenu .menu-line.active:nth-child(2) {
    opacity: 0;
  }

  #mobileMenu .menu-line.active:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    width: 20px;
  }

  /* ─── Gallery hover images ─── */
  .rounded-2xl.overflow-hidden {
    will-change: transform;
  }

  /* ─── Custom scrollbar ─── */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #faf5ee;
  }

  ::-webkit-scrollbar-thumb {
    background: #e9b4a4;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #c4775b;
  }
