  /* ========== 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;
  }

  ::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #f5f5f5;
  }

  /* ========== SCROLLBAR ========== */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0a0a0a;
  }
  ::-webkit-scrollbar-thumb {
    background: #2e2e2e;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #d4a853;
  }

  /* ========== NAVBAR ========== */
  #navbar {
    background: transparent;
  }

  #navbar.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 83, 0.1);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
  }

  .nav-link {
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #d4a853;
    transition: width 0.3s ease;
  }

  .nav-link:hover::after {
    width: 100%;
  }

  .nav-link:hover {
    color: #e8c45a !important;
  }

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

  .menu-line {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  #menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
  }
  #menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  #menu-toggle.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
    width: 1.25rem;
    margin-left: 0;
  }

  .mobile-link {
    position: relative;
  }

  .mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #d4a853;
    transition: width 0.3s ease;
  }

  .mobile-link:hover::after {
    width: 100%;
  }

  /* ========== REVEAL ANIMATIONS ========== */
  /* Default state: fully visible (progressive enhancement) */
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Animated state — applied via JS only when motion is preferred */
  @media (prefers-reduced-motion: no-preference) {
    .reveal.is-hidden {
      opacity: 0;
      transform: translateY(32px);
    }

    .reveal.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Staggered delays */
    .reveal.delay-100 { transition-delay: 0.1s; }
    .reveal.delay-200 { transition-delay: 0.2s; }
    .reveal.delay-300 { transition-delay: 0.3s; }
    .reveal.delay-400 { transition-delay: 0.4s; }
    .reveal.delay-500 { transition-delay: 0.5s; }
  }

  /* ========== GALLERY HOVER ========== */
  .overflow-hidden img {
    display: block;
  }

  /* ========== BUTTONS ========== */
  a, button {
    -webkit-tap-highlight-color: transparent;
  }

  /* ========== FORM ========== */
  input:focus,
  textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15);
  }

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

    #hero h1 {
      font-size: 2.75rem;
    }

    .floating-card {
      position: relative !important;
      bottom: auto !important;
      left: auto !important;
      margin-top: 1rem;
      max-width: 100%;
    }
  }

  @media (min-width: 768px) and (max-width: 1023px) {
    #hero h1 {
      font-size: 4rem;
    }
  }

  /* ========== FOCUS VISIBLE ========== */
  :focus-visible {
    outline: 2px solid #d4a853;
    outline-offset: 2px;
  }

  /* ========== REDUCED MOTION ========== */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }

    html {
      scroll-behavior: auto;
    }

    .overflow-hidden img {
      transition: none;
    }

    .overflow-hidden:hover img {
      transform: none;
    }
  }
