  /* Base */
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

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

  /* Scroll reveal base — always visible by default */
  .reveal-up,
  .reveal-left,
  .reveal-right {
    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);
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal-up {
      opacity: 0;
      transform: translateY(32px);
    }
    .reveal-left {
      opacity: 0;
      transform: translateX(-32px);
    }
    .reveal-right {
      opacity: 0;
      transform: translateX(32px);
    }

    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
      opacity: 1;
      transform: none;
    }
  }

  /* Nav link underline animation */
  .nav-link {
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c48f52;
    transition: width 0.3s ease;
    border-radius: 1px;
  }
  .nav-link:hover::after {
    width: 100%;
  }

  /* Mobile link */
  .mobile-link {
    position: relative;
    padding-left: 0;
  }
  .mobile-link::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: #c48f52;
    border-radius: 2px;
    transition: height 0.2s ease;
  }
  .mobile-link:hover::before,
  .mobile-link.active::before {
    height: 60%;
  }

  /* Header shadow on scroll */
  #site-header.scrolled {
    box-shadow: 0 1px 20px rgba(17, 27, 46, 0.08);
  }

  /* Menu card hover */
  .menu-category li {
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
  }
  .menu-category li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Floating card animation */
  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
  }
  .floating-card {
    animation: float 4s ease-in-out infinite;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #f1f5f9;
  }
  ::-webkit-scrollbar-thumb {
    background: #b3c1cf;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #8da2cf;
  }

  /* Selection color */
  ::selection {
    background: #faf0d4;
    color: #1e2d4a;
  }
