  /* Base */
  *, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

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

  body {
    overflow-x: hidden;
  }

  ::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #f5f0f7;
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #1a0f24;
  }
  ::-webkit-scrollbar-thumb {
    background: #572d5d;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #d4a843;
  }

  /* Hero zoom animation */
  @keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
  }

  .hero-zoom {
    animation: heroZoom 20s ease-in-out infinite alternate;
  }

  /* Scroll line animation */
  @keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
  }

  .scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
  }

  /* Scroll reveal base — progressive enhancement */
  .reveal-up,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal-up {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal-left {
      opacity: 0;
      transform: translateX(-40px);
      transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal-right {
      opacity: 0;
      transform: translateX(40px);
      transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
      opacity: 1;
      transform: translate(0, 0);
    }
  }

  /* Stagger children */
  .reveal-up:nth-child(1) { transition-delay: 0.05s; }
  .reveal-up:nth-child(2) { transition-delay: 0.12s; }
  .reveal-up:nth-child(3) { transition-delay: 0.19s; }
  .reveal-up:nth-child(4) { transition-delay: 0.26s; }
  .reveal-up:nth-child(5) { transition-delay: 0.33s; }
  .reveal-up:nth-child(6) { transition-delay: 0.40s; }

  /* Mobile menu */
  .mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s 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; }

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(13, 8, 18, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(87, 45, 93, 0.3);
  }

  /* Menu button animation */
  #menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  #menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
  }
  #menuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 5px;
  }

  /* Image hover overlay */
  .aspect-square:hover::after,
  .aspect-\[4\/3\]:hover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(45, 27, 61, 0.2);
    transition: background 0.3s ease;
  }

  /* Card hover glow */
  .group:hover {
    box-shadow: 0 0 60px rgba(212, 168, 67, 0.08);
  }

  /* Smooth focus for inputs */
  input:focus, textarea:focus {
    outline: none;
  }

  /* Loading state */
  @keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }

  /* Gold accent line animation */
  @keyframes goldLine {
    from { width: 0; }
    to { width: 48px; }
  }

  .gold-line {
    animation: goldLine 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
