  /* ===== BASE ===== */
  *, *::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 {
    display: block;
    max-width: 100%;
  }

  ::selection {
    background-color: #7B2D3B;
    color: #f0d48a;
  }

  /* ===== SCROLLBAR ===== */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0d0a0b;
  }
  ::-webkit-scrollbar-thumb {
    background: #7B2D3B;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #a11636;
  }

  /* ===== NAVBAR ===== */
  #navbar.scrolled {
    background: rgba(8, 6, 7, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 168, 83, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  }

  #navbar.scrolled .menu-line {
    background: #f5f5f4;
  }

  /* ===== MOBILE MENU ===== */
  #mobileMenu.open {
    opacity: 1;
    pointer-events: all;
  }

  #mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
  }

  .mobile-link {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
  }

  #mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
  }

  #mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
  #mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
  #mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
  #mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
  #mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

  /* ===== HAMBURGER ===== */
  #menuBtn.active .menu-line:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }
  #menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  #menuBtn.active .menu-line:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
    width: 1.25rem;
  }

  /* ===== REVEAL ANIMATIONS ===== */
  .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,
    .reveal-left,
    .reveal-right {
      opacity: 0;
    }

    .reveal-up {
      transform: translateY(32px);
    }

    .reveal-left {
      transform: translateX(-32px);
    }

    .reveal-right {
      transform: translateX(32px);
    }

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

  /* ===== CARD HOVER GLOW ===== */
  .group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
  }

  /* ===== FOCUS VISIBLE ===== */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible {
    outline: 2px solid #D4A853;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* ===== RESPONSIVE TWEAKS ===== */
  @media (max-width: 640px) {
    html {
      scroll-padding-top: 72px;
    }
  }
